(self["webpackChunksist2"]=self["webpackChunksist2"]||[]).push([[998],{4713:function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?setTimeout(n,e):n()}}window.addEventListener("storage",a),t.addToWaiting(a);var s=setTimeout(a,Math.max(0,e-Date.now()))}))];case 1:return n.sent(),[2]}}))}))},t.addToWaiting=function(e){this.removeFromWaiting(e),void 0!==t.waiters&&t.waiters.push(e)},t.removeFromWaiting=function(e){void 0!==t.waiters&&(t.waiters=t.waiters.filter((function(t){return t!==e})))},t.notifyWaiters=function(){void 0!==t.waiters&&t.waiters.slice().forEach((function(t){return t()}))},t.prototype.releaseLock=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.releaseLock__private__(t)];case 1:return[2,e.sent()]}}))}))},t.prototype.releaseLock__private__=function(e){return n(this,void 0,void 0,(function(){var n,i,a;return r(this,(function(r){switch(r.label){case 0:return n=window.localStorage,i=o+"-"+e,null===(a=n.getItem(i))?[2]:(a=JSON.parse(a)).id!==this.id?[3,2]:[4,s.default().lock(a.iat)];case 1:r.sent(),this.acquiredIatSet.delete(a.iat),n.removeItem(i),s.default().unlock(a.iat),t.notifyWaiters(),r.label=2;case 2:return[2]}}))}))},t.lockCorrector=function(){for(var e=Date.now()-5e3,n=window.localStorage,r=Object.keys(n),i=!1,a=0;aDate.now();class h extends Error{constructor(t,e){super(e),this.error=t,this.error_description=e,Object.setPrototypeOf(this,h.prototype)}static fromPayload({error:t,error_description:e}){return new h(t,e)}}class d extends h{constructor(t,e,n,r=null){super(t,e),this.state=n,this.appState=r,Object.setPrototypeOf(this,d.prototype)}}class p extends h{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,p.prototype)}}class v extends p{constructor(t){super(),this.popup=t,Object.setPrototypeOf(this,v.prototype)}}class g extends h{constructor(t){super("cancelled","Popup closed"),this.popup=t,Object.setPrototypeOf(this,g.prototype)}}class m extends h{constructor(t,e,n){super(t,e),this.mfa_token=n,Object.setPrototypeOf(this,m.prototype)}}class b extends h{constructor(t,e){super("missing_refresh_token",`Missing Refresh Token (audience: '${y(t,["default"])}', scope: '${y(e)}')`),this.audience=t,this.scope=e,Object.setPrototypeOf(this,b.prototype)}}function y(t,e=[]){return t&&!e.includes(t)?t:""}const w=()=>window.crypto,_=()=>{const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let e="";return Array.from(w().getRandomValues(new Uint8Array(43))).forEach((n=>e+=t[n%t.length])),e},x=t=>btoa(t),O=t=>{var{clientId:e}=t,n=r(t,["clientId"]);return new URLSearchParams((t=>Object.keys(t).filter((e=>void 0!==t[e])).reduce(((e,n)=>Object.assign(Object.assign({},e),{[n]:t[n]})),{}))(Object.assign({client_id:e},n))).toString()},S=t=>(t=>decodeURIComponent(atob(t).split("").map((t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2))).join("")))(t.replace(/_/g,"/").replace(/-/g,"+")),k=async(t,e)=>{const n=await fetch(t,e);return{ok:n.ok,json:await n.json()}},C=async(t,e,n)=>{const r=new AbortController;let i;return e.signal=r.signal,Promise.race([k(t,e),new Promise(((t,e)=>{i=setTimeout((()=>{r.abort(),e(new Error("Timeout when executing 'fetch'"))}),n)}))]).finally((()=>{clearTimeout(i)}))},P=async(t,e,n,r,i,o,a)=>{return s={auth:{audience:e,scope:n},timeout:i,fetchUrl:t,fetchOptions:r,useFormData:a},c=o,new Promise((function(t,e){const n=new MessageChannel;n.port1.onmessage=function(r){r.data.error?e(new Error(r.data.error)):t(r.data),n.port1.close()},c.postMessage(s,[n.port2])}));var s,c},T=async(t,e,n,r,i,o,a=1e4)=>i?P(t,e,n,r,a,i,o):C(t,r,a);async function j(t,e){var{baseUrl:n,timeout:i,audience:o,scope:a,auth0Client:s,useFormData:c}=t,u=r(t,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);const f=c?O(u):JSON.stringify(u);return await async function(t,e,n,i,o,a,s){let c,u=null;for(let h=0;h<3;h++)try{c=await T(t,n,i,o,a,s,e),u=null;break}catch(r){u=r}if(u)throw u;const l=c.json,{error:f,error_description:d}=l,p=r(l,["error","error_description"]),{ok:v}=c;if(!v){const e=d||`HTTP error. Unable to fetch ${t}`;if("mfa_required"===f)throw new m(f,e,p.mfa_token);throw new h(f||"request_error",e)}return p}(`${n}/oauth/token`,i,o||"default",a,{method:"POST",body:f,headers:{"Content-Type":c?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(s||l))}},e,c)}const E=(...t)=>{return(e=t.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(e))).join(" ");var e};class D{constructor(t,e="@@auth0spajs@@",n){this.prefix=e,this.suffix=n,this.clientId=t.clientId,this.scope=t.scope,this.audience=t.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(t){const[e,n,r,i]=t.split("::");return new D({clientId:n,scope:i,audience:r},e)}static fromCacheEntry(t){const{scope:e,audience:n,client_id:r}=t;return new D({scope:e,audience:n,clientId:r})}}class A{set(t,e){localStorage.setItem(t,JSON.stringify(e))}get(t){const e=window.localStorage.getItem(t);if(e)try{return JSON.parse(e)}catch(t){return}}remove(t){localStorage.removeItem(t)}allKeys(){return Object.keys(window.localStorage).filter((t=>t.startsWith("@@auth0spajs@@")))}}class L{constructor(){this.enclosedCache=function(){let t={};return{set(e,n){t[e]=n},get(e){const n=t[e];if(n)return n},remove(e){delete t[e]},allKeys:()=>Object.keys(t)}}()}}class I{constructor(t,e,n){this.cache=t,this.keyManifest=e,this.nowProvider=n||f}async setIdToken(t,e,n){var r;const i=this.getIdTokenCacheKey(t);await this.cache.set(i,{id_token:e,decodedToken:n}),await(null===(r=this.keyManifest)||void 0===r?void 0:r.add(i))}async getIdToken(t){const e=await this.cache.get(this.getIdTokenCacheKey(t.clientId));if(!e&&t.scope&&t.audience){const e=await this.get(t);if(!e)return;if(!e.id_token||!e.decodedToken)return;return{id_token:e.id_token,decodedToken:e.decodedToken}}if(e)return{id_token:e.id_token,decodedToken:e.decodedToken}}async get(t,e=0){var n;let r=await this.cache.get(t.toKey());if(!r){const e=await this.getCacheKeys();if(!e)return;const n=this.matchExistingCacheKey(t,e);n&&(r=await this.cache.get(n))}if(!r)return;const i=await this.nowProvider(),o=Math.floor(i/1e3);return r.expiresAt-e!t||e.includes(t))).reduce((async(t,e)=>{await t,await this.cache.remove(e)}),Promise.resolve()),await(null===(e=this.keyManifest)||void 0===e?void 0:e.clear()))}async wrapCacheEntry(t){const e=await this.nowProvider();return{body:t,expiresAt:Math.floor(e/1e3)+t.expires_in}}async getCacheKeys(){var t;return this.keyManifest?null===(t=await this.keyManifest.get())||void 0===t?void 0:t.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(t){return new D({clientId:t},"@@auth0spajs@@","@@user@@").toKey()}matchExistingCacheKey(t,e){return e.filter((e=>{var n;const r=D.fromKey(e),i=new Set(r.scope&&r.scope.split(" ")),o=(null===(n=t.scope)||void 0===n?void 0:n.split(" "))||[],a=r.scope&&o.reduce(((t,e)=>t&&i.has(e)),!0);return"@@auth0spajs@@"===r.prefix&&r.clientId===t.clientId&&r.audience===t.audience&&a}))[0]}}class M{constructor(t,e){this.storage=t,this.clientId=e,this.storageKey=`a0.spajs.txs.${this.clientId}`,this.transaction=this.storage.get(this.storageKey)}create(t){this.transaction=t,this.storage.save(this.storageKey,t,{daysUntilExpire:1})}get(){return this.transaction}remove(){delete this.transaction,this.storage.remove(this.storageKey)}}const $=t=>"number"==typeof t,F=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],R=t=>{if(!t.id_token)throw new Error("ID token is required but missing");const e=(t=>{const e=t.split("."),[n,r,i]=e;if(3!==e.length||!n||!r||!i)throw new Error("ID token could not be decoded");const o=JSON.parse(S(r)),a={__raw:t},s={};return Object.keys(o).forEach((t=>{a[t]=o[t],F.includes(t)||(s[t]=o[t])})),{encoded:{header:n,payload:r,signature:i},header:JSON.parse(S(n)),claims:a,user:s}})(t.id_token);if(!e.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(e.claims.iss!==t.iss)throw new Error(`Issuer (iss) claim mismatch in the ID token; expected "${t.iss}", found "${e.claims.iss}"`);if(!e.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if("RS256"!==e.header.alg)throw new Error(`Signature algorithm of "${e.header.alg}" is not supported. Expected the ID token to be signed with "RS256".`);if(!e.claims.aud||"string"!=typeof e.claims.aud&&!Array.isArray(e.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(t.aud))throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but was not one of "${e.claims.aud.join(", ")}"`);if(e.claims.aud.length>1){if(!e.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(e.claims.azp!==t.aud)throw new Error(`Authorized Party (azp) claim mismatch in the ID token; expected "${t.aud}", found "${e.claims.azp}"`)}}else if(e.claims.aud!==t.aud)throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but found "${e.claims.aud}"`);if(t.nonce){if(!e.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(e.claims.nonce!==t.nonce)throw new Error(`Nonce (nonce) claim mismatch in the ID token; expected "${t.nonce}", found "${e.claims.nonce}"`)}if(t.max_age&&!$(e.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(null==e.claims.exp||!$(e.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!$(e.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const n=t.leeway||60,r=new Date(t.now||Date.now()),i=new Date(0);if(i.setUTCSeconds(e.claims.exp+n),r>i)throw new Error(`Expiration Time (exp) claim error in the ID token; current time (${r}) is after expiration time (${i})`);if(null!=e.claims.nbf&&$(e.claims.nbf)){const t=new Date(0);if(t.setUTCSeconds(e.claims.nbf-n),ri)throw new Error(`Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time (${r}) is after last auth at ${i}`)}if(t.organizationId){if(!e.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(t.organizationId!==e.claims.org_id)throw new Error(`Organization ID (org_id) claim mismatch in the ID token; expected "${t.organizationId}", found "${e.claims.org_id}"`)}return e};var N=a((function(t,e){var n=i&&i.__assign||function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0?await this.cache.set(this.manifestKey,{keys:[...n]}):await this.cache.remove(this.manifestKey)}}get(){return this.cache.get(this.manifestKey)}clear(){return this.cache.remove(this.manifestKey)}createManifestKeyFrom(t){return`@@auth0spajs@@::${t}`}}const tt={memory:()=>(new L).enclosedCache,localstorage:()=>new A},et=t=>tt[t],nt=t=>{const{openUrl:e,onRedirect:n}=t,i=r(t,["openUrl","onRedirect"]);return Object.assign(Object.assign({},i),{openUrl:!1===e||e?e:n})},rt=new c;class it{constructor(t){let e,n;if(this.userCache=(new L).enclosedCache,this.defaultOptions={authorizationParams:{scope:"openid profile email"},useRefreshTokensFallback:!1,useFormData:!0},this._releaseLockOnPageHide=async()=>{await rt.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)},this.options=Object.assign(Object.assign(Object.assign({},this.defaultOptions),t),{authorizationParams:Object.assign(Object.assign({},this.defaultOptions.authorizationParams),t.authorizationParams)}),"undefined"!=typeof window&&(()=>{if(!w())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(void 0===w().subtle)throw new Error("\n auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n ")})(),t.cache&&t.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),t.cache)n=t.cache;else{if(e=t.cacheLocation||"memory",!et(e))throw new Error(`Invalid cache location "${e}"`);n=et(e)()}this.httpTimeoutMs=t.httpTimeoutInSeconds?1e3*t.httpTimeoutInSeconds:1e4,this.cookieStorage=!1===t.legacySameSiteCookie?H:U,this.orgHintCookieName=`auth0.${this.options.clientId}.organization_hint`,this.isAuthenticatedCookieName=(t=>`auth0.${t}.is.authenticated`)(this.options.clientId),this.sessionCheckExpiryDays=t.sessionCheckExpiryDays||1;const r=t.useCookiesForTransactions?this.cookieStorage:W;var i;this.scope=E("openid",this.options.authorizationParams.scope,this.options.useRefreshTokens?"offline_access":""),this.transactionManager=new M(r,this.options.clientId),this.nowProvider=this.options.nowProvider||f,this.cacheManager=new I(n,n.allKeys?void 0:new Q(n,this.options.clientId),this.nowProvider),this.domainUrl=(i=this.options.domain,/^https?:\/\//.test(i)?i:`https://${i}`),this.tokenIssuer=((t,e)=>t?t.startsWith("https://")?t:`https://${t}/`:`${e}/`)(this.options.issuer,this.domainUrl),"undefined"!=typeof window&&window.Worker&&this.options.useRefreshTokens&&"memory"===e&&(this.worker=new Z)}_url(t){const e=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||l)));return`${this.domainUrl}${t}&auth0Client=${e}`}_authorizeUrl(t){return this._url(`/authorize?${O(t)}`)}async _verifyIdToken(t,e,n){const r=await this.nowProvider();return R({iss:this.tokenIssuer,aud:this.options.clientId,id_token:t,nonce:e,organizationId:n,leeway:this.options.leeway,max_age:(i=this.options.authorizationParams.max_age,"string"!=typeof i?i:parseInt(i,10)||void 0),now:r});var i}_processOrgIdHint(t){t?this.cookieStorage.save(this.orgHintCookieName,t,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}async _prepareAuthorizeUrl(t,e,n){const r=x(_()),i=x(_()),o=_(),a=(t=>{const e=new Uint8Array(t);return(t=>{const e={"+":"-","/":"_","=":""};return t.replace(/[+/=]/g,(t=>e[t]))})(window.btoa(String.fromCharCode(...Array.from(e))))})(await(async t=>{const e=w().subtle.digest({name:"SHA-256"},(new TextEncoder).encode(t));return await e})(o)),s=((t,e,n,r,i,o,a,s)=>Object.assign(Object.assign(Object.assign({client_id:t.clientId},t.authorizationParams),n),{scope:E(e,n.scope),response_type:"code",response_mode:s||"query",state:r,nonce:i,redirect_uri:a||t.authorizationParams.redirect_uri,code_challenge:o,code_challenge_method:"S256"}))(this.options,this.scope,t,r,i,a,t.redirect_uri||this.options.authorizationParams.redirect_uri||n,null==e?void 0:e.response_mode),c=this._authorizeUrl(s);return{nonce:i,code_verifier:o,scope:s.scope,audience:s.audience||"default",redirect_uri:s.redirect_uri,state:r,url:c}}async loginWithPopup(t,e){var n;if(t=t||{},!(e=e||{}).popup&&(e.popup=(t=>{const e=window.screenX+(window.innerWidth-400)/2,n=window.screenY+(window.innerHeight-600)/2;return window.open(t,"auth0:authorize:popup",`left=${e},top=${n},width=400,height=600,resizable,scrollbars=yes,status=1`)})(""),!e.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");const r=await this._prepareAuthorizeUrl(t.authorizationParams||{},{response_mode:"web_message"},window.location.origin);e.popup.location.href=r.url;const i=await(t=>new Promise(((e,n)=>{let r;const i=setInterval((()=>{t.popup&&t.popup.closed&&(clearInterval(i),clearTimeout(o),window.removeEventListener("message",r,!1),n(new g(t.popup)))}),1e3),o=setTimeout((()=>{clearInterval(i),n(new v(t.popup)),window.removeEventListener("message",r,!1)}),1e3*(t.timeoutInSeconds||60));r=function(a){if(a.data&&"authorization_response"===a.data.type){if(clearTimeout(o),clearInterval(i),window.removeEventListener("message",r,!1),t.popup.close(),a.data.response.error)return n(h.fromPayload(a.data.response));e(a.data.response)}},window.addEventListener("message",r)})))(Object.assign(Object.assign({},e),{timeoutInSeconds:e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}));if(r.state!==i.state)throw new Error("Invalid state");const o=(null===(n=t.authorizationParams)||void 0===n?void 0:n.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:r.audience,scope:r.scope,code_verifier:r.code_verifier,grant_type:"authorization_code",code:i.code,redirect_uri:r.redirect_uri},{nonceIn:r.nonce,organizationId:o})}async getUser(){var t;const e=await this._getIdTokenFromCache();return null===(t=null==e?void 0:e.decodedToken)||void 0===t?void 0:t.user}async getIdTokenClaims(){var t;const e=await this._getIdTokenFromCache();return null===(t=null==e?void 0:e.decodedToken)||void 0===t?void 0:t.claims}async loginWithRedirect(t={}){var e;const n=nt(t),{openUrl:i,fragment:o,appState:a}=n,s=r(n,["openUrl","fragment","appState"]),c=(null===(e=s.authorizationParams)||void 0===e?void 0:e.organization)||this.options.authorizationParams.organization,u=await this._prepareAuthorizeUrl(s.authorizationParams||{}),{url:l}=u,f=r(u,["url"]);this.transactionManager.create(Object.assign(Object.assign(Object.assign({},f),{appState:a}),c&&{organizationId:c}));const h=o?`${l}#${o}`:l;i?await i(h):window.location.assign(h)}async handleRedirectCallback(t=window.location.href){const e=t.split("?").slice(1);if(0===e.length)throw new Error("There are no query params available for parsing.");const{state:n,code:r,error:i,error_description:o}=(t=>{t.indexOf("#")>-1&&(t=t.substring(0,t.indexOf("#")));const e=new URLSearchParams(t);return{state:e.get("state"),code:e.get("code")||void 0,error:e.get("error")||void 0,error_description:e.get("error_description")||void 0}})(e.join("")),a=this.transactionManager.get();if(!a)throw new Error("Invalid state");if(this.transactionManager.remove(),i)throw new d(i,o||i,n,a.appState);if(!a.code_verifier||a.state&&a.state!==n)throw new Error("Invalid state");const s=a.organizationId,c=a.nonce,u=a.redirect_uri;return await this._requestToken(Object.assign({audience:a.audience,scope:a.scope,code_verifier:a.code_verifier,grant_type:"authorization_code",code:r},u?{redirect_uri:u}:{}),{nonceIn:c,organizationId:s}),{appState:a.appState}}async checkSession(t){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}try{await this.getTokenSilently(t)}catch(t){}}async getTokenSilently(t={}){var e;const n=Object.assign(Object.assign({cacheMode:"on"},t),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),t.authorizationParams),{scope:E(this.scope,null===(e=t.authorizationParams)||void 0===e?void 0:e.scope)})}),r=await((t,e)=>{let n=J[e];return n||(n=t().finally((()=>{delete J[e],n=null})),J[e]=n),n})((()=>this._getTokenSilently(n)),`${this.options.clientId}::${n.authorizationParams.audience}::${n.authorizationParams.scope}`);return t.detailedResponse?r:null==r?void 0:r.access_token}async _getTokenSilently(t){const{cacheMode:e}=t,n=r(t,["cacheMode"]);if("off"!==e){const t=await this._getEntryFromCache({scope:n.authorizationParams.scope,audience:n.authorizationParams.audience||"default",clientId:this.options.clientId});if(t)return t}if("cache-only"!==e){if(!await(async(t,e=3)=>{for(let n=0;nrt.acquireLock("auth0.lock.getTokenSilently",5e3)),10))throw new p;try{if(window.addEventListener("pagehide",this._releaseLockOnPageHide),"off"!==e){const t=await this._getEntryFromCache({scope:n.authorizationParams.scope,audience:n.authorizationParams.audience||"default",clientId:this.options.clientId});if(t)return t}const t=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(n):await this._getTokenFromIFrame(n),{id_token:r,access_token:i,oauthTokenScope:o,expires_in:a}=t;return Object.assign(Object.assign({id_token:r,access_token:i},o?{scope:o}:null),{expires_in:a})}finally{await rt.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)}}}async getTokenWithPopup(t={},e={}){var n;const r=Object.assign(Object.assign({},t),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),t.authorizationParams),{scope:E(this.scope,null===(n=t.authorizationParams)||void 0===n?void 0:n.scope)})});return e=Object.assign(Object.assign({},u),e),await this.loginWithPopup(r,e),(await this.cacheManager.get(new D({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId}))).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(t){null!==t.clientId?t.clientId=t.clientId||this.options.clientId:delete t.clientId;const e=t.logoutParams||{},{federated:n}=e,i=r(e,["federated"]),o=n?"&federated":"";return this._url(`/v2/logout?${O(Object.assign({clientId:t.clientId},i))}`)+o}async logout(t={}){const e=nt(t),{openUrl:n}=e,i=r(e,["openUrl"]);await this.cacheManager.clear(),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove("@@user@@");const o=this._buildLogoutUrl(i);n?await n(o):!1!==n&&window.location.assign(o)}async _getTokenFromIFrame(t){const e=Object.assign(Object.assign({},t.authorizationParams),{prompt:"none"}),n=this.cookieStorage.get(this.orgHintCookieName);n&&!e.organization&&(e.organization=n);const{url:r,state:i,nonce:o,code_verifier:a,redirect_uri:s,scope:c,audience:u}=await this._prepareAuthorizeUrl(e,{response_mode:"web_message"},window.location.origin);try{if(window.crossOriginIsolated)throw new h("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const e=t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,n=await((t,e,n=60)=>new Promise(((r,i)=>{const o=window.document.createElement("iframe");o.setAttribute("width","0"),o.setAttribute("height","0"),o.style.display="none";const a=()=>{window.document.body.contains(o)&&(window.document.body.removeChild(o),window.removeEventListener("message",s,!1))};let s;const c=setTimeout((()=>{i(new p),a()}),1e3*n);s=function(t){if(t.origin!=e)return;if(!t.data||"authorization_response"!==t.data.type)return;const n=t.source;n&&n.close(),t.data.response.error?i(h.fromPayload(t.data.response)):r(t.data.response),clearTimeout(c),window.removeEventListener("message",s,!1),setTimeout(a,2e3)},window.addEventListener("message",s,!1),window.document.body.appendChild(o),o.setAttribute("src",t)})))(r,this.domainUrl,e);if(i!==n.state)throw new Error("Invalid state");const l=await this._requestToken(Object.assign(Object.assign({},t.authorizationParams),{code_verifier:a,code:n.code,grant_type:"authorization_code",redirect_uri:s,timeout:t.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:o});return Object.assign(Object.assign({},l),{scope:c,oauthTokenScope:l.scope,audience:u})}catch(t){throw"login_required"===t.error&&this.logout({openUrl:!1}),t}}async _getTokenUsingRefreshToken(t){const e=await this.cacheManager.get(new D({scope:t.authorizationParams.scope,audience:t.authorizationParams.audience||"default",clientId:this.options.clientId}));if(!(e&&e.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);throw new b(t.authorizationParams.audience||"default",t.authorizationParams.scope)}const n=t.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,r="number"==typeof t.timeoutInSeconds?1e3*t.timeoutInSeconds:null;try{const i=await this._requestToken(Object.assign(Object.assign(Object.assign({},t.authorizationParams),{grant_type:"refresh_token",refresh_token:e&&e.refresh_token,redirect_uri:n}),r&&{timeout:r}));return Object.assign(Object.assign({},i),{scope:t.authorizationParams.scope,oauthTokenScope:i.scope,audience:t.authorizationParams.audience||"default"})}catch(e){if((e.message.indexOf("Missing Refresh Token")>-1||e.message&&e.message.indexOf("invalid refresh token")>-1)&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);throw e}}async _saveEntryInCache(t){const{id_token:e,decodedToken:n}=t,i=r(t,["id_token","decodedToken"]);this.userCache.set("@@user@@",{id_token:e,decodedToken:n}),await this.cacheManager.setIdToken(this.options.clientId,t.id_token,t.decodedToken),await this.cacheManager.set(i)}async _getIdTokenFromCache(){const t=this.options.authorizationParams.audience||"default",e=await this.cacheManager.getIdToken(new D({clientId:this.options.clientId,audience:t,scope:this.scope})),n=this.userCache.get("@@user@@");return e&&e.id_token===(null==n?void 0:n.id_token)?n:(this.userCache.set("@@user@@",e),e)}async _getEntryFromCache({scope:t,audience:e,clientId:n}){const r=await this.cacheManager.get(new D({scope:t,audience:e,clientId:n}),60);if(r&&r.access_token){const{access_token:t,oauthTokenScope:e,expires_in:n}=r,i=await this._getIdTokenFromCache();return i&&Object.assign(Object.assign({id_token:i.id_token,access_token:t},e?{scope:e}:null),{expires_in:n})}}async _requestToken(t,e){const{nonceIn:n,organizationId:r}=e||{},i=await j(Object.assign({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},t),this.worker),o=await this._verifyIdToken(i.id_token,n,r);return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({},i),{decodedToken:o,scope:t.scope,audience:t.audience||"default"}),i.scope?{oauthTokenScope:i.scope}:null),{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(o.claims.org_id),Object.assign(Object.assign({},i),{decodedToken:o})}}async function ot(t){const e=new it(t);return await e.checkSession(),e}},6981:function(t,e,n){"use strict";n(1983);var r=i(n(1543));function i(t){return t&&t.__esModule?t:{default:t}}r["default"]._babelPolyfill&&"undefined"!==typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r["default"]._babelPolyfill=!0},1983:function(t,e,n){"use strict";n(5033),n(8033),n(2863),n(6141),n(4316),n(117),n(6863),n(290),n(8652),n(1235),n(8930),n(1794),n(1523),n(5666)},5033:function(t,e,n){n(8997),n(7944),n(5388),n(266),n(7557),n(3386),n(81),n(4943),n(192),n(4371),n(7026),n(6736),n(7260),n(4649),n(8325),n(2798),n(6911),n(4394),n(8769),n(729),n(9383),n(9315),n(5072),n(348),n(1028),n(2610),n(4007),n(7616),n(6762),n(3316),n(3019),n(293),n(640),n(6589),n(3210),n(2372),n(511),n(6781),n(4434),n(4783),n(5521),n(4093),n(6378),n(2380),n(2803),n(3725),n(7977),n(4192),n(2940),n(5731),n(9382),n(8877),n(2539),n(9820),n(8417),n(4333),n(2858),n(2058),n(5472),n(7001),n(7492),n(447),n(5624),n(1263),n(5193),n(8241),n(6723),n(9394),n(6938),n(1961),n(9659),n(3354),n(9620),n(638),n(2338),n(641),n(1575),n(5611),n(1033),n(160),n(5271),n(8221),n(2523),n(5441),n(8375),n(9106),n(9139),n(3352),n(3289),n(5943),n(9483),n(8292),n(6174),n(6975),n(1412),n(360),n(8394),n(3118),n(8772),n(1308),n(7080),n(8615),n(5244),n(9544),n(5475),n(3770),n(5201),n(1385),n(2813),n(2509),n(8253),n(7391),n(3307),n(3315),n(2920),n(5443),n(9815),n(3771),n(6935),n(7846),n(6403),n(1200),n(951),n(29),n(9310),n(6722),n(8372),n(4604),n(4781),n(8416),n(4395),n(9649),n(2475),n(2924),n(6337),n(3286),n(7225),n(8766),t.exports=n(4411)},2863:function(t,e,n){n(8125),t.exports=n(4411).Array.flatMap},8033:function(t,e,n){n(9348),t.exports=n(4411).Array.includes},8930:function(t,e,n){n(1768),t.exports=n(4411).Object.entries},8652:function(t,e,n){n(9223),t.exports=n(4411).Object.getOwnPropertyDescriptors},1235:function(t,e,n){n(7442),t.exports=n(4411).Object.values},1794:function(t,e,n){"use strict";n(2813),n(4936),t.exports=n(4411).Promise["finally"]},4316:function(t,e,n){n(239),t.exports=n(4411).String.padEnd},6141:function(t,e,n){n(8755),t.exports=n(4411).String.padStart},6863:function(t,e,n){n(6948),t.exports=n(4411).String.trimRight},117:function(t,e,n){n(3412),t.exports=n(4411).String.trimLeft},290:function(t,e,n){n(8284),t.exports=n(8833).f("asyncIterator")},1543:function(t,e,n){n(4296),t.exports=n(1275).global},7411:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},3206:function(t,e,n){var r=n(700);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},1275:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},999:function(t,e,n){var r=n(7411);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},697:function(t,e,n){t.exports=!n(3834)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2394:function(t,e,n){var r=n(700),i=n(1075).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},4553:function(t,e,n){var r=n(1075),i=n(1275),o=n(999),a=n(2550),s=n(4324),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,v=t&u.S,g=t&u.P,m=t&u.B,b=t&u.W,y=p?i:i[e]||(i[e]={}),w=y[c],_=p?r:v?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&_&&void 0!==_[l],f&&s(y,l)||(h=f?_[l]:n[l],y[l]=p&&"function"!=typeof _[l]?n[l]:m&&f?o(h,r):b&&_[l]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[l]=h,t&u.R&&w&&!w[l]&&a(w,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},3834:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},1075:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},4324:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},2550:function(t,e,n){var r=n(249),i=n(3652);t.exports=n(697)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},3393:function(t,e,n){t.exports=!n(697)&&!n(3834)((function(){return 7!=Object.defineProperty(n(2394)("div"),"a",{get:function(){return 7}}).a}))},700:function(t){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},249:function(t,e,n){var r=n(3206),i=n(3393),o=n(3377),a=Object.defineProperty;e.f=n(697)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},3652:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3377:function(t,e,n){var r=n(700);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4296:function(t,e,n){var r=n(4553);r(r.G,{global:n(1075)})},3079:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},3373:function(t,e,n){var r=n(9426);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},2802:function(t,e,n){var r=n(9739)("unscopables"),i=Array.prototype;void 0==i[r]&&n(8442)(i,r,{}),t.exports=function(t){i[r][t]=!0}},9959:function(t,e,n){"use strict";var r=n(7384)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},599:function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},9719:function(t,e,n){var r=n(7481);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},4893:function(t,e,n){"use strict";var r=n(4200),i=n(5044),o=n(1838);t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),s=i(t,a),c=i(e,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:i(u,a))-c,a-s),f=1;c0)c in n?n[s]=n[c]:delete n[s],s+=f,c+=f;return n}},852:function(t,e,n){"use strict";var r=n(4200),i=n(5044),o=n(1838);t.exports=function(t){var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);while(u>s)e[s++]=t;return e}},1545:function(t,e,n){var r=n(8500),i=n(1838),o=n(5044);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},6934:function(t,e,n){var r=n(2794),i=n(975),o=n(4200),a=n(1838),s=n(4087);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,d=e||s;return function(e,s,p){for(var v,g,m=o(e),b=i(m),y=r(s,p,3),w=a(b.length),_=0,x=n?d(e,w):c?d(e,0):void 0;w>_;_++)if((h||_ in b)&&(v=b[_],g=y(v,_,m),t))if(n)x[_]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:x.push(v)}else if(l)return!1;return f?-1:u||l?l:x}}},9857:function(t,e,n){var r=n(3079),i=n(4200),o=n(975),a=n(1838);t.exports=function(t,e,n,s,c){r(e);var u=i(t),l=o(u),f=a(u.length),h=c?f-1:0,d=c?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=d;break}if(h+=d,c?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:f>h;h+=d)h in l&&(s=e(s,l[h],h,u));return s}},4849:function(t,e,n){var r=n(7481),i=n(689),o=n(9739)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},4087:function(t,e,n){var r=n(4849);t.exports=function(t,e){return new(r(t))(e)}},6966:function(t,e,n){"use strict";var r=n(3079),i=n(7481),o=n(3534),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!g(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=g(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},3503:function(t,e,n){"use strict";var r=n(4092),i=n(2153).getWeak,o=n(9719),a=n(7481),s=n(599),c=n(2971),u=n(6934),l=n(1063),f=n(1603),h=u(5),d=u(6),p=0,v=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},m=function(t,e){return h(t.a,(function(t){return t[0]===e}))};g.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=r&&c(r,n,t[o],t)}));return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e))["delete"](t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},8091:function(t,e,n){"use strict";var r=n(6341),i=n(5366),o=n(1564),a=n(4092),s=n(2153),c=n(2971),u=n(599),l=n(7481),f=n(1240),h=n(1461),d=n(1309),p=n(4805);t.exports=function(t,e,n,v,g,m){var b=r[t],y=b,w=g?"set":"add",_=y&&y.prototype,x={},O=function(t){var e=_[t];o(_,t,"delete"==t||"has"==t?function(t){return!(m&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof y&&(m||_.forEach&&!f((function(){(new y).entries().next()})))){var S=new y,k=S[w](m?{}:-0,1)!=S,C=f((function(){S.has(1)})),P=h((function(t){new y(t)})),T=!m&&f((function(){var t=new y,e=5;while(e--)t[w](e,e);return!t.has(-0)}));P||(y=e((function(e,n){u(e,y,t);var r=p(new b,e,y);return void 0!=n&&c(n,g,r[w],r),r})),y.prototype=_,_.constructor=y),(C||T)&&(O("delete"),O("has"),g&&O("get")),(T||k)&&O(w),m&&_.clear&&delete _.clear}else y=v.getConstructor(e,t,g,w),a(y.prototype,n),s.NEED=!0;return d(y,t),x[t]=y,i(i.G+i.W+i.F*(y!=b),x),m||v.setStrong(y,t,g),y}},4411:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1676:function(t,e,n){"use strict";var r=n(3530),i=n(1761);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},2794:function(t,e,n){var r=n(3079);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},1792:function(t,e,n){"use strict";var r=n(1240),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},7687:function(t,e,n){"use strict";var r=n(9719),i=n(9241),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},3589:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},1916:function(t,e,n){t.exports=!n(1240)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},3383:function(t,e,n){var r=n(7481),i=n(6341).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},7590:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4535:function(t,e,n){var r=n(5825),i=n(2520),o=n(1144);t.exports=function(t){var e=r(t),n=i.f;if(n){var a,s=n(t),c=o.f,u=0;while(s.length>u)c.call(t,a=s[u++])&&e.push(a)}return e}},5366:function(t,e,n){var r=n(6341),i=n(4411),o=n(8442),a=n(1564),s=n(2794),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,v=t&u.G,g=t&u.S,m=t&u.P,b=t&u.B,y=v?r:g?r[e]||(r[e]={}):(r[e]||{})[c],w=v?i:i[e]||(i[e]={}),_=w[c]||(w[c]={});for(l in v&&(n=e),n)f=!p&&y&&void 0!==y[l],h=(f?y:n)[l],d=b&&f?s(h,r):m&&"function"==typeof h?s(Function.call,h):h,y&&a(y,l,h,t&u.U),w[l]!=h&&o(w,l,d),m&&_[l]!=h&&(_[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6881:function(t,e,n){var r=n(9739)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},1240:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},5307:function(t,e,n){"use strict";n(8615);var r=n(1564),i=n(8442),o=n(1240),a=n(3589),s=n(9739),c=n(8868),u=s("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var v=/./[h],g=n(a,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),m=g[0],b=g[1];r(String.prototype,t,m),i(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},6439:function(t,e,n){"use strict";var r=n(9719);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},3885:function(t,e,n){"use strict";var r=n(689),i=n(7481),o=n(1838),a=n(2794),s=n(9739)("isConcatSpreadable");function c(t,e,n,u,l,f,h,d){var p,v,g=l,m=0,b=!!h&&a(h,d,3);while(m0)g=c(t,e,p,o(p.length),g,f-1)-1;else{if(g>=9007199254740991)throw TypeError();t[g]=p}g++}m++}return g}t.exports=c},2971:function(t,e,n){var r=n(2794),i=n(5539),o=n(3894),a=n(9719),s=n(1838),c=n(8444),u={},l={},f=t.exports=function(t,e,n,f,h){var d,p,v,g,m=h?function(){return t}:c(t),b=r(n,f,e?2:1),y=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=s(t.length);d>y;y++)if(g=e?b(a(p=t[y])[0],p[1]):b(t[y]),g===u||g===l)return g}else for(v=m.call(t);!(p=v.next()).done;)if(g=i(v,b,p.value,e),g===u||g===l)return g};f.BREAK=u,f.RETURN=l},5979:function(t,e,n){t.exports=n(7355)("native-function-to-string",Function.toString)},6341:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1063:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},8442:function(t,e,n){var r=n(3530),i=n(1761);t.exports=n(1916)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6137:function(t,e,n){var r=n(6341).document;t.exports=r&&r.documentElement},4352:function(t,e,n){t.exports=!n(1916)&&!n(1240)((function(){return 7!=Object.defineProperty(n(3383)("div"),"a",{get:function(){return 7}}).a}))},4805:function(t,e,n){var r=n(7481),i=n(7135).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},3534:function(t){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},975:function(t,e,n){var r=n(9426);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},3894:function(t,e,n){var r=n(4919),i=n(9739)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},689:function(t,e,n){var r=n(9426);t.exports=Array.isArray||function(t){return"Array"==r(t)}},2289:function(t,e,n){var r=n(7481),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},7481:function(t){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},9543:function(t,e,n){var r=n(7481),i=n(9426),o=n(9739)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},5539:function(t,e,n){var r=n(9719);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t["return"];throw void 0!==o&&r(o.call(t)),a}}},7938:function(t,e,n){"use strict";var r=n(2545),i=n(1761),o=n(1309),a={};n(8442)(a,n(9739)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},9121:function(t,e,n){"use strict";var r=n(5113),i=n(5366),o=n(1564),a=n(8442),s=n(4919),c=n(7938),u=n(1309),l=n(4408),f=n(9739)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,b,y,w){c(n,e,m);var _,x,O,S=function(t){if(!h&&t in T)return T[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",C=b==v,P=!1,T=t.prototype,j=T[f]||T[d]||b&&T[b],E=j||S(b),D=b?C?S("entries"):E:void 0,A="Array"==e&&T.entries||j;if(A&&(O=l(A.call(new t)),O!==Object.prototype&&O.next&&(u(O,k,!0),r||"function"==typeof O[f]||a(O,f,g))),C&&j&&j.name!==v&&(P=!0,E=function(){return j.call(this)}),r&&!w||!h&&!P&&T[f]||a(T,f,E),s[e]=E,s[k]=g,b)if(_={values:C?E:S(v),keys:y?E:S(p),entries:D},w)for(x in _)x in T||o(T,x,_[x]);else i(i.P+i.F*(h||P),e,_);return _}},1461:function(t,e,n){var r=n(9739)("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(a){}return n}},8611:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},4919:function(t){t.exports={}},5113:function(t){t.exports=!1},7117:function(t){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},9396:function(t,e,n){var r=n(4247),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126),u=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),l=r(t);return is||n!=n?l*(1/0):l*n)}},9007:function(t){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},4247:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},2153:function(t,e,n){var r=n(430)("meta"),i=n(7481),o=n(1063),a=n(3530).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(1240)((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},37:function(t,e,n){var r=n(6341),i=n(7122).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(9426)(a);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},3285:function(t,e,n){"use strict";var r=n(3079);function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},9821:function(t,e,n){"use strict";var r=n(1916),i=n(5825),o=n(2520),a=n(1144),s=n(4200),c=n(975),u=Object.assign;t.exports=!u||n(1240)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=s(t),u=arguments.length,l=1,f=o.f,h=a.f;while(u>l){var d,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,m=0;while(g>m)d=v[m++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},2545:function(t,e,n){var r=n(9719),i=n(413),o=n(7590),a=n(3548)("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n(3383)("iframe"),r=o.length,i="<",a=">";e.style.display="none",n(6137).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},3530:function(t,e,n){var r=n(9719),i=n(4352),o=n(9241),a=Object.defineProperty;e.f=n(1916)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},413:function(t,e,n){var r=n(3530),i=n(9719),o=n(5825);t.exports=n(1916)?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},7762:function(t,e,n){var r=n(1144),i=n(1761),o=n(8500),a=n(9241),s=n(1063),c=n(4352),u=Object.getOwnPropertyDescriptor;e.f=n(1916)?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},5009:function(t,e,n){var r=n(8500),i=n(4230).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},4230:function(t,e,n){var r=n(2851),i=n(7590).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2520:function(t,e){e.f=Object.getOwnPropertySymbols},4408:function(t,e,n){var r=n(1063),i=n(4200),o=n(3548)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},2851:function(t,e,n){var r=n(1063),i=n(8500),o=n(1545)(!1),a=n(3548)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},5825:function(t,e,n){var r=n(2851),i=n(7590);t.exports=Object.keys||function(t){return r(t,i)}},1144:function(t,e){e.f={}.propertyIsEnumerable},1025:function(t,e,n){var r=n(5366),i=n(4411),o=n(1240);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},5346:function(t,e,n){var r=n(1916),i=n(5825),o=n(8500),a=n(1144).f;t.exports=function(t){return function(e){var n,s=o(e),c=i(s),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},7285:function(t,e,n){var r=n(4230),i=n(2520),o=n(9719),a=n(6341).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},3765:function(t,e,n){var r=n(6341).parseFloat,i=n(7370).trim;t.exports=1/r(n(8275)+"-0")!==-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},500:function(t,e,n){var r=n(6341).parseInt,i=n(7370).trim,o=n(8275),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},8332:function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},8614:function(t,e,n){var r=n(9719),i=n(7481),o=n(3285);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},1761:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4092:function(t,e,n){var r=n(1564);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},1564:function(t,e,n){var r=n(6341),i=n(8442),o=n(1063),a=n(430)("src"),s=n(5979),c="toString",u=(""+s).split(c);n(4411).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},9073:function(t,e,n){"use strict";var r=n(2845),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},8868:function(t,e,n){"use strict";var r=n(6439),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(t){var e,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[s]),a=i.call(f,t),c&&a&&(f[s]=f.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},3256:function(t,e,n){var r=n(9543),i=n(3589);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},9048:function(t,e,n){var r=n(5366),i=n(1240),o=n(3589),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},9823:function(t,e,n){var r=n(1838),i=n(5),o=n(3589);t.exports=function(t,e,n,a){var s=String(o(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},5:function(t,e,n){"use strict";var r=n(1549),i=n(3589);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},7370:function(t,e,n){var r=n(5366),i=n(3589),o=n(1240),a=n(8275),s="["+a+"]",c="​…",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o((function(){return!!a[t]()||c[t]()!=c})),u=i[t]=s?e(h):a[t];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},h=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},8275:function(t){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},7122:function(t,e,n){var r,i,o,a=n(2794),s=n(3534),c=n(6137),u=n(3383),l=n(6341),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,m={},b="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){y.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete m[t]},"process"==n(9426)(f)?r=function(t){f.nextTick(a(y,t,1))}:v&&v.now?r=function(t){v.now(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=w,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=b in u("script")?function(t){c.appendChild(u("script"))[b]=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:h,clear:d}},5044:function(t,e,n){var r=n(1549),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},9707:function(t,e,n){var r=n(1549),i=n(1838);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},1549:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},8500:function(t,e,n){var r=n(975),i=n(3589);t.exports=function(t){return r(i(t))}},1838:function(t,e,n){var r=n(1549),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},4200:function(t,e,n){var r=n(3589);t.exports=function(t){return Object(r(t))}},9241:function(t,e,n){var r=n(7481);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},8754:function(t,e,n){"use strict";if(n(1916)){var r=n(5113),i=n(6341),o=n(1240),a=n(5366),s=n(7728),c=n(9895),u=n(2794),l=n(599),f=n(1761),h=n(8442),d=n(4092),p=n(1549),v=n(1838),g=n(9707),m=n(5044),b=n(9241),y=n(1063),w=n(2845),_=n(7481),x=n(4200),O=n(3894),S=n(2545),k=n(4408),C=n(4230).f,P=n(8444),T=n(430),j=n(9739),E=n(6934),D=n(1545),A=n(9789),L=n(1308),I=n(4919),M=n(1461),$=n(5993),F=n(852),R=n(4893),N=n(3530),B=n(7762),z=N.f,V=B.f,H=i.RangeError,U=i.TypeError,W=i.Uint8Array,G="ArrayBuffer",q="Shared"+G,Y="BYTES_PER_ELEMENT",K="prototype",X=Array[K],Z=c.ArrayBuffer,J=c.DataView,Q=E(0),tt=E(2),et=E(3),nt=E(4),rt=E(5),it=E(6),ot=D(!0),at=D(!1),st=L.values,ct=L.keys,ut=L.entries,lt=X.lastIndexOf,ft=X.reduce,ht=X.reduceRight,dt=X.join,pt=X.sort,vt=X.slice,gt=X.toString,mt=X.toLocaleString,bt=j("iterator"),yt=j("toStringTag"),wt=T("typed_constructor"),_t=T("def_constructor"),xt=s.CONSTR,Ot=s.TYPED,St=s.VIEW,kt="Wrong length!",Ct=E(1,(function(t,e){return Dt(A(t,t[_t]),e)})),Pt=o((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),Tt=!!W&&!!W[K].set&&o((function(){new W(1).set({})})),jt=function(t,e){var n=p(t);if(n<0||n%e)throw H("Wrong offset!");return n},Et=function(t){if(_(t)&&Ot in t)return t;throw U(t+" is not a typed array!")},Dt=function(t,e){if(!_(t)||!(wt in t))throw U("It is not a typed array constructor!");return new t(e)},At=function(t,e){return Lt(A(t,t[_t]),e)},Lt=function(t,e){var n=0,r=e.length,i=Dt(t,r);while(r>n)i[n]=e[n++];return i},It=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,i,o,a,s=x(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=P(s);if(void 0!=h&&!O(h)){for(a=h.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=v(s.length),i=Dt(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];return i},$t=function(){var t=0,e=arguments.length,n=Dt(this,e);while(e>t)n[t]=arguments[t++];return n},Ft=!!W&&o((function(){mt.call(new W(1))})),Rt=function(){return mt.apply(Ft?vt.call(Et(this)):Et(this),arguments)},Nt={copyWithin:function(t,e){return R.call(Et(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(Et(this),arguments)},filter:function(t){return At(this,tt(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Et(this),arguments)},lastIndexOf:function(t){return lt.apply(Et(this),arguments)},map:function(t){return Ct(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ft.apply(Et(this),arguments)},reduceRight:function(t){return ht.apply(Et(this),arguments)},reverse:function(){var t,e=this,n=Et(e).length,r=Math.floor(n/2),i=0;while(i1?arguments[1]:void 0)},sort:function(t){return pt.call(Et(this),t)},subarray:function(t,e){var n=Et(this),r=n.length,i=m(t,r);return new(A(n,n[_t]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},Bt=function(t,e){return At(this,vt.call(Et(this),t,e))},zt=function(t){Et(this);var e=jt(arguments[1],1),n=this.length,r=x(t),i=v(r.length),o=0;if(i+e>n)throw H(kt);while(o255?255:255&r),i.v[d](n*e+i.o,r,Pt)},j=function(t,e){z(t,e,{get:function(){return P(this,e)},set:function(t){return T(this,e,t)},enumerable:!0})};y?(p=n((function(t,n,r,i){l(t,p,u,"_d");var o,a,s,c,f=0,d=0;if(_(n)){if(!(n instanceof Z||(c=w(n))==G||c==q))return Ot in n?Lt(p,n):Mt.call(p,n);o=n,d=jt(r,e);var m=n.byteLength;if(void 0===i){if(m%e)throw H(kt);if(a=m-d,a<0)throw H(kt)}else if(a=v(i)*e,a+d>m)throw H(kt);s=a/e}else s=g(n),a=s*e,o=new Z(a);h(t,"_d",{b:o,o:d,l:a,e:s,v:new J(o)});while(f>1,l=23===e?E(2,-24)-E(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for(t=j(t),t!=t||t===P?(i=t!=t?1:0,r=c):(r=D(A(t)/L),t*(o=E(2,-r))<1&&(r--,o*=2),t+=r+u>=1?l/o:l*E(2,1-u),t*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*o-1)*E(2,e),r+=u):(i=t*E(2,u-1)*E(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*h,a}function z(t,e,n){var r,i=8*n-e-1,o=(1<>1,s=i-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:u?-P:P;r+=E(2,e),l-=a}return(u?-1:1)*r*E(2,l-e)}function V(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function H(t){return[255&t]}function U(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function G(t){return B(t,52,8)}function q(t){return B(t,23,4)}function Y(t,e,n){v(t[w],e,{get:function(){return this[n]}})}function K(t,e,n,r){var i=+n,o=d(i);if(o+e>t[R])throw C(x);var a=t[F]._b,s=o+t[N],c=a.slice(s,s+e);return r?c:c.reverse()}function X(t,e,n,r,i,o){var a=+n,s=d(a);if(s+e>t[R])throw C(x);for(var c=t[F]._b,u=s+t[N],l=r(+i),f=0;ftt;)(Z=Q[tt++])in O||s(O,Z,T[Z]);o||(J.constructor=O)}var et=new S(new O(2)),nt=S[w].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(S[w],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else O=function(t){l(this,O,b);var e=d(t);this._b=g.call(new Array(e),0),this[R]=e},S=function(t,e,n){l(this,S,y),l(t,O,y);var r=t[R],i=f(e);if(i<0||i>r)throw C("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw C(_);this[F]=t,this[N]=i,this[R]=n},i&&(Y(O,M,"_l"),Y(S,I,"_b"),Y(S,M,"_l"),Y(S,$,"_o")),c(S[w],{getInt8:function(t){return K(this,1,t)[0]<<24>>24},getUint8:function(t){return K(this,1,t)[0]},getInt16:function(t){var e=K(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=K(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return V(K(this,4,t,arguments[1]))},getUint32:function(t){return V(K(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return z(K(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return z(K(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){X(this,1,t,H,e)},setUint8:function(t,e){X(this,1,t,H,e)},setInt16:function(t,e){X(this,2,t,U,e,arguments[2])},setUint16:function(t,e){X(this,2,t,U,e,arguments[2])},setInt32:function(t,e){X(this,4,t,W,e,arguments[2])},setUint32:function(t,e){X(this,4,t,W,e,arguments[2])},setFloat32:function(t,e){X(this,4,t,q,e,arguments[2])},setFloat64:function(t,e){X(this,8,t,G,e,arguments[2])}});m(O,b),m(S,y),s(S[w],a.VIEW,!0),e[b]=O,e[y]=S},7728:function(t,e,n){var r,i=n(6341),o=n(8442),a=n(430),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(f1?arguments[1]:void 0)}}),n(2802)(o)},8394:function(t,e,n){"use strict";var r=n(5366),i=n(6934)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(2802)(o)},9106:function(t,e,n){"use strict";var r=n(5366),i=n(6934)(0),o=n(5139)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},5271:function(t,e,n){"use strict";var r=n(2794),i=n(5366),o=n(4200),a=n(5539),s=n(3894),c=n(1838),u=n(1676),l=n(8444);i(i.S+i.F*!n(1461)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,b=l(h);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==b||d==Array&&s(b))for(e=c(h.length),n=new d(e);e>m;m++)u(n,m,g?v(h[m],m):h[m]);else for(f=b.call(h),n=new d;!(i=f.next()).done;m++)u(n,m,g?a(f,v,[i.value,m],!0):i.value);return n.length=m,n}})},6174:function(t,e,n){"use strict";var r=n(5366),i=n(1545)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(5139)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},160:function(t,e,n){var r=n(5366);r(r.S,"Array",{isArray:n(689)})},1308:function(t,e,n){"use strict";var r=n(2802),i=n(8611),o=n(4919),a=n(8500);t.exports=n(9121)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},2523:function(t,e,n){"use strict";var r=n(5366),i=n(8500),o=[].join;r(r.P+r.F*(n(975)!=Object||!n(5139)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},6975:function(t,e,n){"use strict";var r=n(5366),i=n(8500),o=n(1549),a=n(1838),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(5139)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},9139:function(t,e,n){"use strict";var r=n(5366),i=n(6934)(1);r(r.P+r.F*!n(5139)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},8221:function(t,e,n){"use strict";var r=n(5366),i=n(1676);r(r.S+r.F*n(1240)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);while(e>t)i(n,t,arguments[t++]);return n.length=e,n}})},8292:function(t,e,n){"use strict";var r=n(5366),i=n(9857);r(r.P+r.F*!n(5139)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},9483:function(t,e,n){"use strict";var r=n(5366),i=n(9857);r(r.P+r.F*!n(5139)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},5441:function(t,e,n){"use strict";var r=n(5366),i=n(6137),o=n(9426),a=n(5044),s=n(1838),c=[].slice;r(r.P+r.F*n(1240)((function(){i&&c.call(i)})),"Array",{slice:function(t,e){var n=s(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=a(t,n),u=a(e,n),l=s(u-i),f=new Array(l),h=0;h0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},2372:function(t,e,n){var r=n(5366),i=n(9007),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},511:function(t,e,n){var r=n(5366),i=Math.asinh;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):Math.log(t+Math.sqrt(t*t+1)):t}r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:o})},6781:function(t,e,n){var r=n(5366),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},4434:function(t,e,n){var r=n(5366),i=n(4247);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},4783:function(t,e,n){var r=n(5366);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},5521:function(t,e,n){var r=n(5366),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},4093:function(t,e,n){var r=n(5366),i=n(7117);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},6378:function(t,e,n){var r=n(5366);r(r.S,"Math",{fround:n(9396)})},2380:function(t,e,n){var r=n(5366),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){var n,r,o=0,a=0,s=arguments.length,c=0;while(a0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*Math.sqrt(o)}})},2803:function(t,e,n){var r=n(5366),i=Math.imul;r(r.S+r.F*n(1240)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},3725:function(t,e,n){var r=n(5366);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},7977:function(t,e,n){var r=n(5366);r(r.S,"Math",{log1p:n(9007)})},4192:function(t,e,n){var r=n(5366);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},2940:function(t,e,n){var r=n(5366);r(r.S,"Math",{sign:n(4247)})},5731:function(t,e,n){var r=n(5366),i=n(7117),o=Math.exp;r(r.S+r.F*n(1240)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},9382:function(t,e,n){var r=n(5366),i=n(7117),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},8877:function(t,e,n){var r=n(5366);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},348:function(t,e,n){"use strict";var r=n(6341),i=n(1063),o=n(9426),a=n(4805),s=n(9241),c=n(1240),u=n(4230).f,l=n(7762).f,f=n(3530).f,h=n(7370).trim,d="Number",p=r[d],v=p,g=p.prototype,m=o(n(2545)(g))==d,b="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;ui)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?c((function(){g.valueOf.call(n)})):o(n)!=d)?a(new v(y(e)),n,p):y(e)};for(var w,_=n(1916)?u(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)i(v,w=_[x])&&!i(p,w)&&f(p,w,l(v,w));p.prototype=g,g.constructor=p,n(1564)(r,d,p)}},4007:function(t,e,n){var r=n(5366);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},7616:function(t,e,n){var r=n(5366),i=n(6341).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},6762:function(t,e,n){var r=n(5366);r(r.S,"Number",{isInteger:n(2289)})},3316:function(t,e,n){var r=n(5366);r(r.S,"Number",{isNaN:function(t){return t!=t}})},3019:function(t,e,n){var r=n(5366),i=n(2289),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},293:function(t,e,n){var r=n(5366);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},640:function(t,e,n){var r=n(5366);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},6589:function(t,e,n){var r=n(5366),i=n(3765);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},3210:function(t,e,n){var r=n(5366),i=n(500);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},1028:function(t,e,n){"use strict";var r=n(5366),i=n(1549),o=n(3373),a=n(5),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",h=function(t,e){var n=-1,r=e;while(++n<6)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){var e=6,n=0;while(--e>=0)n+=u[e],u[e]=c(n/t),n=n%t*1e7},p=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call(f,7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2===1?v(t,e-1,n*t):v(t*t,e/2,n)},g=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(1240)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=o(this,l),u=i(t),m="",b=f;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(e=g(c*v(2,69,1))-69,n=e<0?c*v(2,-e,1):c/v(2,e,1),n*=4503599627370496,e=52-e,e>0){h(0,n),r=u;while(r>=7)h(1e7,0),r-=7;h(v(10,r,1),0),r=e-1;while(r>=23)d(1<<23),r-=23;d(1<0?(s=b.length,b=m+(s<=u?"0."+a.call(f,u-s)+b:b.slice(0,s-u)+"."+b.slice(s-u))):b=m+b,b}})},2610:function(t,e,n){"use strict";var r=n(5366),i=n(1240),o=n(3373),a=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},8325:function(t,e,n){var r=n(5366);r(r.S+r.F,"Object",{assign:n(9821)})},7944:function(t,e,n){var r=n(5366);r(r.S,"Object",{create:n(2545)})},266:function(t,e,n){var r=n(5366);r(r.S+r.F*!n(1916),"Object",{defineProperties:n(413)})},5388:function(t,e,n){var r=n(5366);r(r.S+r.F*!n(1916),"Object",{defineProperty:n(3530).f})},192:function(t,e,n){var r=n(7481),i=n(2153).onFreeze;n(1025)("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},7557:function(t,e,n){var r=n(8500),i=n(7762).f;n(1025)("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},4943:function(t,e,n){n(1025)("getOwnPropertyNames",(function(){return n(5009).f}))},3386:function(t,e,n){var r=n(4200),i=n(4408);n(1025)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},4649:function(t,e,n){var r=n(7481);n(1025)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},6736:function(t,e,n){var r=n(7481);n(1025)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},7260:function(t,e,n){var r=n(7481);n(1025)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},2798:function(t,e,n){var r=n(5366);r(r.S,"Object",{is:n(1541)})},81:function(t,e,n){var r=n(4200),i=n(5825);n(1025)("keys",(function(){return function(t){return i(r(t))}}))},7026:function(t,e,n){var r=n(7481),i=n(2153).onFreeze;n(1025)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},4371:function(t,e,n){var r=n(7481),i=n(2153).onFreeze;n(1025)("seal",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},6911:function(t,e,n){var r=n(5366);r(r.S,"Object",{setPrototypeOf:n(7135).set})},4394:function(t,e,n){"use strict";var r=n(2845),i={};i[n(9739)("toStringTag")]="z",i+""!="[object z]"&&n(1564)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},5072:function(t,e,n){var r=n(5366),i=n(3765);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},9315:function(t,e,n){var r=n(5366),i=n(500);r(r.G+r.F*(parseInt!=i),{parseInt:i})},2813:function(t,e,n){"use strict";var r,i,o,a,s=n(5113),c=n(6341),u=n(2794),l=n(2845),f=n(5366),h=n(7481),d=n(3079),p=n(599),v=n(2971),g=n(9789),m=n(7122).set,b=n(37)(),y=n(3285),w=n(8332),_=n(3843),x=n(8614),O="Promise",S=c.TypeError,k=c.process,C=k&&k.versions,P=C&&C.v8||"",T=c[O],j="process"==l(k),E=function(){},D=i=y.f,A=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(9739)("species")]=function(t){t(E,E)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==P.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;b((function(){var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&F(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)}))}},M=function(t){m.call(c,(function(){var e,n,r,i=t._v,o=$(t);if(o&&(e=w((function(){j?k.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=j||$(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},$=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(c,(function(){var e;j?k.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=L(t))?b((function(){var r={_w:n,_d:!1};try{e.call(t,u(N,r,1),u(R,r,1))}catch(i){R.call(r,i)}})):(n._v=t,n._s=1,I(n,!1))}catch(r){R.call({_w:n,_d:!1},r)}}};A||(T=function(t){p(this,T,O,"_h"),d(t),r.call(this);try{t(u(N,this,1),u(R,this,1))}catch(e){R.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(4092)(T.prototype,{then:function(t,e){var n=D(g(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=j?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(N,t,1),this.reject=u(R,t,1)},y.f=D=function(t){return t===T||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!A,{Promise:T}),n(1309)(T,O),n(5993)(O),a=n(4411)[O],f(f.S+f.F*!A,O,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!A),O,{resolve:function(t){return x(s&&this===a?T:this,t)}}),f(f.S+f.F*!(A&&n(1461)((function(t){T.all(t)["catch"](E)}))),O,{all:function(t){var e=this,n=D(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},9310:function(t,e,n){var r=n(5366),i=n(3079),o=n(9719),a=(n(6341).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(1240)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return a?a(r,e,c):s.call(r,e,c)}})},6722:function(t,e,n){var r=n(5366),i=n(2545),o=n(3079),a=n(9719),s=n(7481),c=n(1240),u=n(6966),l=(n(6341).Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=i(s(c)?c:Object.prototype),p=Function.apply.call(t,d,e);return s(p)?p:d}})},8372:function(t,e,n){var r=n(3530),i=n(5366),o=n(9719),a=n(9241);i(i.S+i.F*n(1240)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},4604:function(t,e,n){var r=n(5366),i=n(7762).f,o=n(9719);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},4781:function(t,e,n){"use strict";var r=n(5366),i=n(9719),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(7938)(o,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},4395:function(t,e,n){var r=n(7762),i=n(5366),o=n(9719);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},9649:function(t,e,n){var r=n(5366),i=n(4408),o=n(9719);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},8416:function(t,e,n){var r=n(7762),i=n(4408),o=n(1063),a=n(5366),s=n(7481),c=n(9719);function u(t,e){var n,a,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=r.f(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:s(a=i(t))?u(a,e,l):void 0}a(a.S,"Reflect",{get:u})},2475:function(t,e,n){var r=n(5366);r(r.S,"Reflect",{has:function(t,e){return e in t}})},2924:function(t,e,n){var r=n(5366),i=n(9719),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},6337:function(t,e,n){var r=n(5366);r(r.S,"Reflect",{ownKeys:n(7285)})},3286:function(t,e,n){var r=n(5366),i=n(9719),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},8766:function(t,e,n){var r=n(5366),i=n(7135);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},7225:function(t,e,n){var r=n(3530),i=n(7762),o=n(4408),a=n(1063),s=n(5366),c=n(1761),u=n(9719),l=n(7481);function f(t,e,n){var s,h,d=arguments.length<4?t:arguments[3],p=i.f(u(t),e);if(!p){if(l(h=o(t)))return f(h,e,n,d);p=c(0)}if(a(p,"value")){if(!1===p.writable||!l(d))return!1;if(s=i.f(d,e)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,r.f(d,e,s)}else r.f(d,e,c(0,n));return!0}return void 0!==p.set&&(p.set.call(d,n),!0)}s(s.S,"Reflect",{set:f})},7080:function(t,e,n){var r=n(6341),i=n(4805),o=n(3530).f,a=n(4230).f,s=n(9543),c=n(6439),u=r.RegExp,l=u,f=u.prototype,h=/a/g,d=/a/g,p=new u(h)!==h;if(n(1916)&&(!p||n(1240)((function(){return d[n(9739)("match")]=!1,u(h)!=h||u(d)==d||"/a/i"!=u(h,"i")})))){u=function(t,e){var n=this instanceof u,r=s(t),o=void 0===e;return!n&&r&&t.constructor===u&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&o?c.call(t):e),n?this:f,u)};for(var v=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},g=a(l),m=0;g.length>m;)v(g[m++]);f.constructor=u,u.prototype=f,n(1564)(r,"RegExp",u)}n(5993)("RegExp")},8615:function(t,e,n){"use strict";var r=n(8868);n(5366)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},9544:function(t,e,n){n(1916)&&"g"!=/./g.flags&&n(3530).f(RegExp.prototype,"flags",{configurable:!0,get:n(6439)})},5475:function(t,e,n){"use strict";var r=n(9719),i=n(1838),o=n(9959),a=n(9073);n(5307)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;var f,h=[],d=0;while(null!==(f=a(c,u))){var p=String(f[0]);h[d]=p,""===p&&(c.lastIndex=o(u,i(c.lastIndex),l)),d++}return 0===d?null:h}]}))},3770:function(t,e,n){"use strict";var r=n(9719),i=n(4200),o=n(1838),a=n(1549),s=n(9959),c=n(9073),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n(5307)("replace",2,(function(t,e,n,v){return[function(r,i){var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=v(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var m=f.global;if(m){var b=f.unicode;f.lastIndex=0}var y=[];while(1){var w=c(f,h);if(null===w)break;if(y.push(w),!m)break;var _=String(w[0]);""===_&&(f.lastIndex=s(h,o(f.lastIndex),b))}for(var x="",O=0,S=0;S=O&&(x+=h.slice(O,C)+D,O=C+k.length)}return x+h.slice(O)}];function g(t,e,r,o,a,s){var c=r+t.length,u=o.length,l=d;return void 0!==a&&(a=i(a),l=h),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},5201:function(t,e,n){"use strict";var r=n(9719),i=n(1541),o=n(9073);n(5307)("search",1,(function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var l=o(s,c);return i(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},1385:function(t,e,n){"use strict";var r=n(9543),i=n(9719),o=n(9789),a=n(9959),s=n(1838),c=n(9073),u=n(8868),l=n(1240),f=Math.min,h=[].push,d="split",p="length",v="lastIndex",g=4294967295,m=!l((function(){RegExp(g,"y")}));n(5307)("split",2,(function(t,e,n,l){var b;return b="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?g:e>>>0,m=new RegExp(t.source,l+"g");while(o=u.call(m,i)){if(a=m[v],a>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index=d))break;m[v]===o.index&&m[v]++}return f===i[p]?!s&&m.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):b.call(String(i),n,r)},function(t,e){var r=l(b,t,this,e,b!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(m?"y":"g"),y=new d(m?u:"^(?:"+u.source+")",v),w=void 0===e?g:e>>>0;if(0===w)return[];if(0===h.length)return null===c(y,h)?[h]:[];var _=0,x=0,O=[];while(x0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},447:function(t,e,n){"use strict";n(9048)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},5624:function(t,e,n){"use strict";n(9048)("big",(function(t){return function(){return t(this,"big","","")}}))},1263:function(t,e,n){"use strict";n(9048)("blink",(function(t){return function(){return t(this,"blink","","")}}))},5193:function(t,e,n){"use strict";n(9048)("bold",(function(t){return function(){return t(this,"b","","")}}))},2858:function(t,e,n){"use strict";var r=n(5366),i=n(7384)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},2058:function(t,e,n){"use strict";var r=n(5366),i=n(1838),o=n(3256),a="endsWith",s=""[a];r(r.P+r.F*n(6881)(a),"String",{endsWith:function(t){var e=o(this,t,a),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),c=void 0===n?r:Math.min(i(n),r),u=String(t);return s?s.call(e,u,c):e.slice(c-u.length,c)===u}})},8241:function(t,e,n){"use strict";n(9048)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},6723:function(t,e,n){"use strict";n(9048)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},9394:function(t,e,n){"use strict";n(9048)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},2539:function(t,e,n){var r=n(5366),i=n(5044),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){var e,n=[],r=arguments.length,a=0;while(r>a){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},5472:function(t,e,n){"use strict";var r=n(5366),i=n(3256),o="includes";r(r.P+r.F*n(6881)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},6938:function(t,e,n){"use strict";n(9048)("italics",(function(t){return function(){return t(this,"i","","")}}))},4333:function(t,e,n){"use strict";var r=n(7384)(!0);n(9121)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1961:function(t,e,n){"use strict";n(9048)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},9820:function(t,e,n){var r=n(5366),i=n(8500),o=n(1838);r(r.S,"String",{raw:function(t){var e=i(t.raw),n=o(e.length),r=arguments.length,a=[],s=0;while(n>s)a.push(String(e[s++])),s1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},3354:function(t,e,n){"use strict";n(9048)("strike",(function(t){return function(){return t(this,"strike","","")}}))},9620:function(t,e,n){"use strict";n(9048)("sub",(function(t){return function(){return t(this,"sub","","")}}))},638:function(t,e,n){"use strict";n(9048)("sup",(function(t){return function(){return t(this,"sup","","")}}))},8417:function(t,e,n){"use strict";n(7370)("trim",(function(t){return function(){return t(this,3)}}))},8997:function(t,e,n){"use strict";var r=n(6341),i=n(1063),o=n(1916),a=n(5366),s=n(1564),c=n(2153).KEY,u=n(1240),l=n(7355),f=n(1309),h=n(430),d=n(9739),p=n(8833),v=n(8155),g=n(4535),m=n(689),b=n(9719),y=n(7481),w=n(4200),_=n(8500),x=n(9241),O=n(1761),S=n(2545),k=n(5009),C=n(7762),P=n(2520),T=n(3530),j=n(5825),E=C.f,D=T.f,A=k.f,L=r.Symbol,I=r.JSON,M=I&&I.stringify,$="prototype",F=d("_hidden"),R=d("toPrimitive"),N={}.propertyIsEnumerable,B=l("symbol-registry"),z=l("symbols"),V=l("op-symbols"),H=Object[$],U="function"==typeof L&&!!P.f,W=r.QObject,G=!W||!W[$]||!W[$].findChild,q=o&&u((function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=E(H,e);r&&delete H[e],D(t,e,n),r&&t!==H&&D(H,e,r)}:D,Y=function(t){var e=z[t]=S(L[$]);return e._k=t,e},K=U&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},X=function(t,e,n){return t===H&&X(V,e,n),b(t),e=x(e,!0),b(n),i(z,e)?(n.enumerable?(i(t,F)&&t[F][e]&&(t[F][e]=!1),n=S(n,{enumerable:O(0,!1)})):(i(t,F)||D(t,F,O(1,{})),t[F][e]=!0),q(t,e,n)):D(t,e,n)},Z=function(t,e){b(t);var n,r=g(e=_(e)),i=0,o=r.length;while(o>i)X(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?S(t):Z(S(t),e)},Q=function(t){var e=N.call(this,t=x(t,!0));return!(this===H&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,F)&&this[F][t])||e)},tt=function(t,e){if(t=_(t),e=x(e,!0),t!==H||!i(z,e)||i(V,e)){var n=E(t,e);return!n||!i(z,e)||i(t,F)&&t[F][e]||(n.enumerable=!0),n}},et=function(t){var e,n=A(_(t)),r=[],o=0;while(n.length>o)i(z,e=n[o++])||e==F||e==c||r.push(e);return r},nt=function(t){var e,n=t===H,r=A(n?V:_(t)),o=[],a=0;while(r.length>a)!i(z,e=r[a++])||n&&!i(H,e)||o.push(z[e]);return o};U||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(V,n),i(this,F)&&i(this[F],t)&&(this[F][t]=!1),q(this,t,O(1,n))};return o&&G&&q(H,t,{configurable:!0,set:e}),Y(t)},s(L[$],"toString",(function(){return this._k})),C.f=tt,T.f=X,n(4230).f=k.f=et,n(1144).f=Q,P.f=nt,o&&!n(5113)&&s(H,"propertyIsEnumerable",Q,!0),p.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!U,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=j(d.store),at=0;ot.length>at;)v(ot[at++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=L(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:J,defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){P.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),I&&a(a.S+a.F*(!U||u((function(){var t=L();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(y(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,M.apply(I,r)}}),L[$][R]||n(8442)(L[$],R,L[$].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},3315:function(t,e,n){"use strict";var r=n(5366),i=n(7728),o=n(9895),a=n(9719),s=n(5044),c=n(1838),u=n(7481),l=n(6341).ArrayBuffer,f=n(9789),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&l.isView,v=h.prototype.slice,g=i.VIEW,m="ArrayBuffer";r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,m,{isView:function(t){return p&&p(t)||u(t)&&g in t}}),r(r.P+r.U+r.F*n(1240)((function(){return!new h(2).slice(1,void 0).byteLength})),m,{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);var n=a(this).byteLength,r=s(t,n),i=s(void 0===e?n:e,n),o=new(f(this,h))(c(i-r)),u=new d(this),l=new d(o),p=0;while(r0?arguments[0]:void 0)}},y={get:function(t){if(l(t)){var e=v(t);return!0===e?m(f(this,p)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,p),t,e)}},w=t.exports=n(8091)(p,b,y,u,!0,!0);h&&d&&(r=u.getConstructor(b,p),c(r.prototype,y),s.NEED=!0,o(["delete","has","get","set"],(function(t){var e=w.prototype,n=e[t];a(e,t,(function(e,i){if(l(e)&&!g(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},3307:function(t,e,n){"use strict";var r=n(3503),i=n(1603),o="WeakSet";n(8091)(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},8125:function(t,e,n){"use strict";var r=n(5366),i=n(3885),o=n(4200),a=n(1838),s=n(3079),c=n(4087);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return s(t),e=a(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(2802)("flatMap")},9348:function(t,e,n){"use strict";var r=n(5366),i=n(1545)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(2802)("includes")},1768:function(t,e,n){var r=n(5366),i=n(5346)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},9223:function(t,e,n){var r=n(5366),i=n(7285),o=n(8500),a=n(7762),s=n(1676);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=a.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&s(l,e,n);return l}})},7442:function(t,e,n){var r=n(5366),i=n(5346)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},4936:function(t,e,n){"use strict";var r=n(5366),i=n(4411),o=n(6341),a=n(9789),s=n(8614);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},239:function(t,e,n){"use strict";var r=n(5366),i=n(9823),o=n(3843),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},8755:function(t,e,n){"use strict";var r=n(5366),i=n(9823),o=n(3843),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},3412:function(t,e,n){"use strict";n(7370)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},6948:function(t,e,n){"use strict";n(7370)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},8284:function(t,e,n){n(8155)("asyncIterator")},8745:function(t,e,n){for(var r=n(1308),i=n(5825),o=n(1564),a=n(6341),s=n(8442),c=n(4919),u=n(9739),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},1523:function(t,e,n){n(1629),n(25),n(8745),t.exports=n(4411)},5921:function(t,e,n){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ function r(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(t){return"undefined"===typeof t}n.d(e,{ZP:function(){return Fn}});var o=function(){function t(){this.options={},this._eventHandler={}}var e=t.prototype;return e.trigger=function(t){for(var e=this,n=[],r=1;r0;if(!o)return!0;var a=n[0]||{},s=n.slice(1);i=i.concat();var c=!1;a.eventType=t,a.stop=function(){c=!0},a.currentTarget=this;var u=[a];return s.length>=1&&(u=u.concat(s)),i.forEach((function(t){t.apply(e,u)})),!c},e.once=function(t,e){var n=this;if("object"===typeof t&&i(e)){var r=t;for(var o in r)this.once(o,r[o]);return this}if("string"===typeof t&&"function"===typeof e){var a=function(){for(var r=[],i=0;i0},n.clear=function(){this.isPreReadyOver=!1,this.totalCount=0,this.preReadyCount=0,this.readyCount=0,this.totalErrorCount=0,this.elementInfos.forEach((function(t){!t.isReady&&t.loader&&t.loader.destroy()})),this.elementInfos=[]},n.destroy=function(){this.clear(),this.off()},n.getLoader=function(t,e){var n=this,r=t.tagName.toLowerCase(),i=this.options.loaders,o=Object.keys(i);if(i[r])return new i[r](t,e);var a=new H(t,e),s=C(t.querySelectorAll(o.join(", ")));a.setHasLoading(s.some((function(t){return T(t)})));var c=!1,u=this.clone().on("error",(function(t){a.onError(t.target)})).on("ready",(function(){a.onReady(c)}));return a.on("requestChildren",(function(){var e=$(t,o,n.options.prefix);u.check(e).on("preReady",(function(t){c=t.isReady,c||a.onPreReady()}))})).on("reqeustReadyChildren",(function(){u.check(s)})).on("requestDestroy",(function(){u.destroy()})),a},n.clone=function(){return new e(g({},this.options))},n.checkPreReady=function(t){return this.elementInfos[t].isPreReady=!0,++this.preReadyCount,!(this.preReadyCount=1)&&(t.error?(this.onAlreadyError(t),!1):(this.addEvents(),!0))},e.EVENTS=["loadedmetadata","error"],e}(V),q=function(t){function e(e){return void 0===e&&(e={}),t.call(this,g({loaders:{img:W,video:G}},e))||this}return v(e,t),e}(U),Y=q,K=function(t,e){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},K(t,e)};function X(t,e){function n(){this.constructor=t}K(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Z,J=function(){return J=Object.assign||function(t){for(var e,n=1,r=arguments.length;n]*)>/)}function It(t,e){var n;if(void 0===e&&(e=!1),"string"===typeof t){var r=Lt(t);if(r){var i=et.createElement("div");i.innerHTML=t,n=i.childNodes}else n=et.querySelectorAll(t);return e?At(n):n&&n[0]}return ie(t)?n=t:re(t)?n=e?It(t.toArray(),!0):It(t.get(0),!1):Array.isArray(t)?(n=t.map((function(t){return It(t)})),e||(n=n.length>=1?n[0]:void 0)):n=!t.nodeName||1!==t.nodeType&&9!==t.nodeType?[].slice.call(n):t,n}function Mt(t,e,n,r){if(it){var i=r||!1;"object"===typeof r&&(i=!!ot&&r),t.addEventListener(e,n,i)}else t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n}function $t(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null}function Ft(t,e,n,r){var i=function(r){$t(t,e,i),n(r)};Mt(t,e,i,r)}function Rt(t,e){void 0===e&&(e=!1);var n="scroll"+(e?"Left":"Top");return ie(t)?Z[e?"pageXOffset":"pageYOffset"]||et.body[n]||et.documentElement[n]:t[n]}function Nt(t,e,n){ie(t)?t.scroll(e,n):(t.scrollLeft=e,t.scrollTop=n)}function Bt(t,e,n){ie(t)?t.scrollBy(e,n):(t.scrollLeft+=e,t.scrollTop+=n)}function zt(t){return(rt?Z.getComputedStyle(t):t.currentStyle)||{}}function Vt(t,e,n){if(ie(t))return Z["inner"+e]||et.body["client"+e];if(oe(t)){var r=t.documentElement,i=t.body;return Math.max(i["scroll"+e],r["scroll"+e],i["offset"+e],r["offset"+e],r["client"+e])}var o=0;if("rect"===n){var a=t.getBoundingClientRect();o="Width"===e?a.right-a.left:a.bottom-a.top}else o="offset"===n?t["offset"+e]||t["client"+e]:t["client"+e]||t["offset"+e];if(o)return o;var s=zt(t)[e.toLowerCase()];return~s.indexOf("px")&&parseFloat(s)||0}function Ht(t){return Vt(t,"Width","client")}function Ut(t){return Vt(t,"Height","client")}function Wt(t){return Vt(t,"Width","offset")}function Gt(t){return Vt(t,"Height","offset")}function qt(t){return Vt(t,"Width","rect")}function Yt(t){return Vt(t,"Height","rect")}function Kt(t){return{width:Wt(t),height:Gt(t)}}function Xt(t){return{width:qt(t),height:Yt(t)}}var Zt={vertical:{startPos1:"top",endPos1:"bottom",size1:"height",startPos2:"left",endPos2:"right",size2:"width"},horizontal:{startPos1:"left",endPos1:"right",size1:"width",startPos2:"top",endPos2:"bottom",size2:"height"}};function Jt(t){return Zt[t?ht:ft]}function Qt(t){for(var e=[],n=1;n=0;--r)t[r]=e;return t}function se(t){return"undefined"===typeof t}function ce(t,e){for(var n=t.length,r=0;r=0;--r)if(e(t[r]))return t[r];return null}function le(t){var e=[],n={};return t.forEach((function(t){var r=t.groupKey,i=n[r];i||(i={groupKey:r,items:[]},n[r]=i,e.push(i)),i.items.push(t)})),e}function fe(t){t.orgSize=null,t.size=null}function he(t,e){return{el:e,groupKey:t,mounted:!1,needUpdate:!0,content:e?e.outerHTML:"",rect:{top:dt,left:dt}}}function de(t,e){Object.keys(Dt).forEach((function(n){t[n]||(t[n]=function(){for(var t,r=[],i=0;is||"end"===t&&o=0;--n){var r=t[n].outlines.end;if(r.length){var i=Math.max.apply(Math,r);return i}}return 0},e.prependGroup=function(t){return this.insertGroup(t,0)},e.appendGroup=function(t){return this.insertGroup(t,this._groups.length)},e.insertGroup=function(t,e){var n=this;if(e<0)return this.appendGroup(t);var r=t.items||[],i=J(J({outlines:{start:[],end:[]}},t),{items:[],needUpdate:!0});return this._groups.splice(e,0,i),this._groupKeys[i.groupKey]=i,r.forEach((function(t,r){n.insert(t,e,r)})),i},e.sync=function(t){var e=this,n=this._groups,r=this._groupKeys,i=le(t),o=d(n,i,(function(t){return t.groupKey})),a=o.removed,s=o.added,c=o.maintained;a.forEach((function(t){var e=n[t];e&&delete r[e.groupKey]}));var u=[];return c.forEach((function(t){var e=t[0];u.push(n[e])})),this._groups=u,s.forEach((function(t){e.insertGroup(i[t],t)})),c.reverse().forEach((function(t){var n=t[1];e.syncItems(n,i[n].items)})),o},e.insert=function(t,e,n){void 0===e&&(e=-1),void 0===n&&(n=-1);var r=t.groupKey,i=this._groups,o=this._groupKeys,a=(e>-1?i[e]:o[r])||this.insertGroup({groupKey:r},e);if(!a)return null;a.needUpdate=!0;var s=J({content:"",mounted:!1,needUpdate:!0,rect:{top:dt,left:dt}},t),c=a.items;return-1===n?c.push(s):c.splice(n,0,s),s},e.removeGroup=function(t){var e=this._groups.splice(t,1)[0];return e?(delete this._groupKeys[e.groupKey],e):null},e.remove=function(t,e){var n=this.getGroup(t),r=null,i=[];return n?(n.needUpdate=!0,i=n.items.splice(e,1),n.items.length||(r=this.removeGroup(t)),{items:i,group:r}):{items:i,group:r}},e.indexOf=function(t){if("undefined"===typeof t)return-1;for(var e=""+("object"===typeof t?t.groupKey:t),n=this._groups,r=n.length,i=0;i-1)for(var i=this.getGroup(n),o=i.items.length,a=0;a-1,this._isPosPercentage=!0===a||a.indexOf("position")>-1),"static"===n.position&&(this._orgStyle.position=e.style.position,e.style.position="relative"),i){var s=o?["X","Y"]:["Y","X"];this._orgStyle.overflowX=e.style.overflowX,this._orgStyle.overflowY=e.style.overflowY,e.style["overflow"+s[0]]="scroll",e.style["overflow"+s[1]]="hidden",this.view=e,this.container=!0===i?_e(this.view):i}else this.view=Z,this.container=e},e._insert=function(t,e,n){var r=this,i=this.container,o=et.createDocumentFragment();t.forEach((function(t){n&&r.renderItem(t,n),e?o.appendChild(t.el):o.insertBefore(t.el,o.firstChild)})),e?i.appendChild(o):i.insertBefore(o,i.firstChild)},e._calcSize=function(){return this.options.horizontal?Ut(this.container):Ht(this.container)},e._render=function(t,e,n){var r=this._isSizePercentage,i=this._isPosPercentage,o=this.getViewportSize(),a=this.options.horizontal;t.forEach((function(t){if(t in e){var s=a&&(r&&"height"===t||i&&"top"===t),c=!a&&(r&&"width"===t||i&&"left"===t);n[t]=s||c?e[t]/o*100+"%":e[t]+"px"}}))},t}();function Oe(t,e,n,r){var i=t.items,o=t.outlines,a=o.start,s=o.end;if(0===a.length||0===s.length||!i.length||!i[0].el)return 2;var c=Math.min.apply(Math,a),u=Math.max.apply(Math,s);return r+eu?-1:0}var Se=function(){function t(t,e){this.options=Qt({useRecycle:!0,threshold:100,append:function(){},prepend:function(){},recycle:function(){}},e),this._itemManager=t,this.clear()}var e=t.prototype;return e.setSize=function(t){this._status.size=t},e.sync=function(t){var e=this._status,n=e.startCursor,r=e.endCursor,i=this._itemManager,o=i.sliceGroups(n,r+1),a=be.pluck(o,"items"),s=i.sync(t),c=ce(o,(function(t){var e=t.groupKey;return i.getGroupByKey(e)})),u=ue(o,(function(t){var e=t.groupKey;return i.getGroupByKey(e)})),l=c?i.indexOf(c):-1,f=u?i.indexOf(u):-1;if(l>-1&&f>-1){var h=Math.min(l,f),p=Math.max(l,f);l=h,f=p}else f>-1?l=f:l>-1&&(f=l);if(e.startCursor=l,e.endCursor=f,s.removed.length>0)return"relayout";var v=i.pluck("items",n,r),g=d(a,v,(function(t){var e=t.itemKey;return e})),m=g.added,b=g.removed,y=g.changed;return!m.length&&(y.length>0||b.length>0)?"layout":""},e.recycle=function(t,e){if(this.options.useRecycle&&"number"===typeof t){var n=this._status,r=n.startCursor,i=n.endCursor,o=n.size;if(-1!==r&&-1!==i){var a=t+o,s=this.options,c=s.threshold,u=s.recycle,l=this._itemManager.sliceGroups(r,i+1).map((function(e){return Oe(e,c,t,a)})),f=l.length,h=e?0:l.lastIndexOf(0),d=e?l.indexOf(0)-1:l.length-1;e||-1===h||(h+=1),h<0||d<0||h>d||d-h+1>=f||(h=r+h,d=r+d,e?this.setCursor("start",d+1):this.setCursor("end",h-1),u({start:h,end:d}))}}},e.scroll=function(t){var e=this.getCursors(),n=e[0],r=e[1],i=this._itemManager;if("number"===typeof t&&-1!==n&&-1!==r&&i.size()){var o=this._status.size,a=this.options,s=a.threshold,c=a.append,u=a.prepend,l=i.getGroups(),f=t+o,h=Math.max.apply(Math,l[n].outlines.start),d=Math.min.apply(Math,l[r].outlines.end),p=l.map((function(e,n){var r=e.outlines,i=r.start,o=r.end;if(!i.length||!o.length)return!1;var a=Math.min.apply(Math,i),c=Math.max.apply(Math,o);return a-s<=f&&t<=c+s})),v=p.indexOf(!0),g=p.lastIndexOf(!0);if(~v&&v=d-s&&(!y||m.length||!b.length)?c({cache:m}):y&&u({cache:b})}}},e.setCursor=function(t,e){var n=this._status,r=this._itemManager,i=r.size();if(!this.options.useRecycle){if(n.startCursor=0,r.getOutline(i-1,"end").length)return void(n.endCursor=i-1);if("end"!==t)return}"start"===t?n.startCursor=e:n.endCursor=Math.min(i-1,e),n.startCursor=Math.max(0,n.startCursor)},e.setStatus=function(t){this._status=Qt(this._status,t)},e.getStatus=function(t,e){var n=this._status,r=n.startCursor,i=n.endCursor,o=n.size,a=Math.max(this._itemManager.indexOf(t),0),s=(this._itemManager.indexOf(e)+1||this._itemManager.size())-1,c=Math.max(r-a,~r?0:-1),u=Math.max(Math.min(i-a,s-a),c);return{startCursor:c,endCursor:u,size:o}},e.getEdgeOutline=function(t){var e=this._status,n=e.startCursor,r=e.endCursor;return-1===n||-1===r?[]:this._itemManager.getOutline("start"===t?n:r,t)},e.getEdgeValue=function(t){var e=this.getEdgeOutline(t);return e.length?Math["start"===t?"min":"max"].apply(Math,e):0},e.getVisibleItems=function(){var t=this._status,e=t.startCursor,n=t.endCursor;return this._itemManager.pluck("items",e,n)},e.getCursors=function(){var t=this._status;return[t.startCursor,t.endCursor]},e.getCursor=function(t){return this._status["start"===t?"startCursor":"endCursor"]},e.getVisibleData=function(){var t=this._status,e=t.startCursor,n=t.endCursor;return this._itemManager.sliceGroups(e,n+1)},e.remove=function(t,e){var n=this._status,r=this._itemManager,i=n.startCursor,o=n.endCursor,a=r.remove(t,e);return a.group&&(tv+1||mm){var y=g;g=m,m=y}t.trigger("renderComplete",{start:g,end:m}),t.trigger("layoutComplete",{items:be.pluck(e,"items"),isAppend:!!r})},e._error=function(t,e,n,r,i,o){var a=this._itemManager,s=i[o],c=s.el,u=this.options.attributePrefix,l=function(){if(!ke(e,c)){e.push(c);var t=n.indexOf(o);-1!==t&&n.splice(t,1)}},f=function(){r!==c?ke(e,c)||(r.parentNode.removeChild(r),s.content=c.outerHTML,ke(n,o)||n.push(o)):l()},h=function(t){if(!ke(e,c)){if(t)if(Lt(t)||"object"===typeof t){var i=r.parentNode;i.insertBefore(It(t),r),i.removeChild(r),s.content=c.outerHTML}else r instanceof HTMLImageElement&&(r.src=t,r.getAttribute(u+"width")&&(r.removeAttribute(u+"width"),r.removeAttribute(u+"height")));s.content=c.outerHTML,ke(n,o)||n.push(o)}},d=function(t){ke(e,c)||(c.innerHTML=t,s.content=c.outerHTML,ke(n,o)||n.push(o))},p=a.pluck("items").indexOf(s);r instanceof HTMLImageElement&&t.trigger("imageError",{target:r,element:c,items:i,item:s,itemIndex:o,replace:h,replaceItem:d,remove:f,removeItem:l,totalIndex:p}),t.trigger("contentError",{target:r,element:c,items:i,item:s,itemIndex:o,replace:h,replaceItem:d,remove:f,removeItem:l,totalIndex:p})},e._readyElement=function(t,e){t.trigger("readyElement",{item:e})},e._ready=function(t,e,n,r){var i=this,o=this.options.attributePrefix,a=e.length,s=n.length;if(a||s){var c=n.map((function(t){return r[t]}));s?new Y({prefix:o}).check(c.map((function(t){return t.el}))).on("ready",(function(){i._renderer.updateSize(c),t.trigger("ready",{remove:e,layout:!0})})):t.trigger("ready",{remove:e,layout:!0})}else t.trigger("ready",{remove:[]})},t}(),Pe=function(){function t(t,e){var n=this;void 0===e&&(e={}),this._resizeTimer=0,this._maxResizeDebounceTimer=0,this._containerOffset=0,this._isScrollIssue=at,this._prevPos=null,this._onCheck=function(){var t=n.getScrollPos(),e=n.getOrgScrollPos();n.setScrollPos(e);var r=n.getScrollPos();null===t||n._isScrollIssue&&0===e||t===r?e&&(n._isScrollIssue=!1):(n._isScrollIssue=!1,n.options.check({isForward:t=e&&(n._maxResizeDebounceTimer=Z.setTimeout(i,r)),n._resizeTimer&&(clearTimeout(n._resizeTimer),n._resizeTimer=0),n._resizeTimer=Z.setTimeout(i,e)},Qt(this.options={container:t,resize:function(){},check:function(){},isOverflowScroll:!1,horizontal:!1,resizeDebounce:100,maxResizeDebounce:0},e),this._view=t,this.attachEvent(),this.resize(),this.setScrollPos()}var e=t.prototype;return e.getStatus=function(){return{_prevPos:this._prevPos,scrollPos:this.getOrgScrollPos()}},e.setStatus=function(t,e){void 0===e&&(e=!0),this._prevPos=t._prevPos,e&&this.scrollTo(t.scrollPos)},e.scrollBy=function(t){var e=this.options.horizontal?[t,0]:[0,t];Bt(this._view,e[0],e[1]),this.setScrollPos()},e.scrollTo=function(t){var e=this.options.horizontal?[t,0]:[0,t];Nt(this._view,e[0],e[1])},e.getScrollPos=function(){return this._prevPos},e.setScrollPos=function(t){void 0===t&&(t=this.getOrgScrollPos()),this._prevPos=t-this.getContainerOffset()},e.attachEvent=function(){Mt(this._view,"scroll",this._onCheck),Mt(Z,"resize",this._onResize)},e.getOrgScrollPos=function(){return Rt(this._view,this.options.horizontal)},e.reset=function(){this._prevPos=null},e.getContainerOffset=function(){return this._containerOffset},e.resize=function(){this._containerOffset=this.options.isOverflowScroll?0:this._getOffset()},e.detachEvent=function(){$t(this._view,"scroll",this._onCheck),$t(Z,"resize",this._onResize)},e.destroy=function(){this.detachEvent(),this.reset()},e._getOffset=function(){var t=this.options,e=t.container,n=t.horizontal,r=e.getBoundingClientRect();return r[n?"left":"top"]+this.getOrgScrollPos()},t}(),Te=function(t){function e(e,n){var r=t.call(this)||this;r._loadingBar={},r._requestGroups=[],Qt(r.options=J({},vt),n),kt&&(r.options.useFit=!1),st&&(r.options.isOverflowScroll=!1),r._reset();var i=r.options,o=i.isOverflowScroll,a=i.isEqualSize,s=i.isConstantSize,c=i.horizontal,u=i.threshold,l=i.useRecycle,f=i.attributePrefix,h=i.resizeDebounce,d=i.maxResizeDebounce,p=i.percentage,v=i.useOffset;return r._itemManager=new be,r._renderer=new xe(e,{isEqualSize:a,isConstantSize:s,horizontal:c,container:o,percentage:p,useOffset:v}),r._watcher=new Pe(r._renderer.view,{resizeDebounce:h,maxResizeDebounce:d,isOverflowScroll:o,horizontal:c,container:r._renderer.container,resize:function(){return r._onResize()},check:function(t){return r._onCheck(t)}}),r._infinite=new Se(r._itemManager,{useRecycle:l,threshold:u,append:function(t){return r._requestAppend(t)},prepend:function(t){return r._requestPrepend(t)},recycle:function(t){return r._recycle([t])}}),r._renderManager=new Ce(r._infinite,r._itemManager,r._renderer,{attributePrefix:f,isEqualSize:a,isConstantSize:s,horizontal:c}),r}X(e,t);var n=e.prototype;return n.append=function(t,e){return this._layout&&this._insert({elements:t,isAppend:!0,groupKey:e}),this},n.prepend=function(t,e){return this._layout&&this._insert({elements:t,isAppend:!1,groupKey:e}),this},n.setLayout=function(t,e){void 0===e&&(e={});var n=this.options.horizontal;return"function"===typeof t?this._layout=new t(Qt(e,{horizontal:n})):(t.options.horizontal=n,this._layout=t),this._renderManager.setLayout(this._layout),this._renderer.resize(),this._setSize(this._renderer.getViewportSize()),this},n.getItems=function(t){return void 0===t&&(t=!1),t?this._itemManager.pluck("items"):this._infinite.getVisibleItems()},n.getRenderingItems=function(){var t=this.getItems(),e={};t.forEach((function(t){e[t.itemKey]=!0}));var n=be.pluck(this._requestGroups,"items").filter((function(t){return!e[t.itemKey]&&(e[t.itemKey]=!0,!0)}));return t.concat(n)},n.beforeSync=function(t){return this._infinite.sync(t)},n.sync=function(t){var e=this,n=this._itemManager,r=this._infinite,i=this.getRenderingItems();if(i.forEach((function(n,r){var i=n.el!==t[r];n.el=t[r],i&&e._renderer.renderItem(n,n.rect)})),!this._isProcessing()){var o=i.filter((function(t){return t.needUpdate||!t.orgSize||!t.orgSize.width}));if(o.length)this._postLayout({fromCache:!1,groups:r.getVisibleData(),newItems:o,isAppend:!0,isTrusted:!1});else{var a=n.size();if(a)if(r.getCursor("start")<0){var s=n.getGroup(0);this._postLayout({groups:[s],hasChildren:!1,fromCache:!1,isAppend:!0})}else this._infinite.scroll(this._watcher.getScrollPos());else this._requestAppend({})}}},n.layout=function(t){if(void 0===t&&(t=!0),!this._layout)return this;var e=this._renderer,n=this._itemManager,r=this._infinite,i=e.resize(),o=this.getItems(),a=this.options,s=a.isEqualSize,c=a.isConstantSize,u=a.transitionDuration,l=t&&(s||c);if(this._watcher.resize(),t&&this._setSize(e.getViewportSize()),!o.length)return this._firstLayout();var f=r.getCursors(),h=f[0],d=f[1],p=!l&&t&&i?n.sliceGroups(h,d+1):n.getGroups();return this._relayout(t,p,i?o:[]),l?this._fit():t&&i&&n.clearOutlines(h,d),this._renderer.renderItems(o,u),t&&this._watcher.setScrollPos(),this._onLayoutComplete({items:o,isAppend:!0,fromCache:!0,isTrusted:!1,useRecycle:!1,isLayout:!0}),this},n.removeByIndex=function(t,e,n){void 0===n&&(n=!0);var r=this._infinite.remove(t,e),i=r.items,o=r.group;return i.forEach((function(t){xe.removeElement(t.el)})),i.length?(n&&this.layout(!!o),i):[]},n.remove=function(t,e){void 0===e&&(e=!0);var n=this._itemManager.indexesOfElement(t),r=n.groupIndex,i=n.itemIndex;return this.removeByIndex(r,i,e)},n.getGroupKeys=function(t){var e=t?this._itemManager.getGroups():this._infinite.getVisibleData();return e.map((function(t){return t.groupKey}))},n.getStatus=function(t,e){return{_status:Qt({},this._status),_itemManager:this._itemManager.getStatus(t,e),_renderer:this._renderer.getStatus(),_watcher:this._watcher.getStatus(),_infinite:this._infinite.getStatus(t,e)}},n.setStatus=function(t,e,n){if(void 0===e&&(e=!0),!t)return this;var r=t._status,i=t._renderer,o=t._itemManager,a=t._watcher,s=t._infinite;if(!r||!i||!o||!a||!s)return this;var c=this.options.renderExternal,u=this._itemManager,l=this._renderer,f=this._watcher,h=this._infinite;f.detachEvent(),Qt(this._status,r),this._status.processingStatus=yt,u.setStatus(o),l.setStatus(i),h.setStatus(s);var d=this.getItems(),p=d.length;c?(d.forEach((function(t,e){t.el=n[e]})),this._renderer.renderItems(d)):l.createAndInsert(d,!0);var v=l.isNeededResize();f.setStatus(a,e),f.attachEvent();var g=this.options,m=g.isConstantSize,b=g.isEqualSize;return p?v?(l.resize(),this._setSize(l.getViewportSize()),m?this.layout(!0):(this._itemManager.clearOutlines(),this._postLayout({fromCache:!0,groups:b?u.getGroups():h.getVisibleData(),items:d,newItems:d,isAppend:!0,isTrusted:!1}))):this.layout(!1):this._requestAppend({cache:[]}),this},n.clear=function(){return this._itemManager.clear(),this._renderer.clear(),this._infinite.clear(),this._reset(),this._appendLoadingBar(),this},n.setLoadingBar=function(t){void 0===t&&(t={});var e="object"===typeof t?t:{append:t,prepend:t};this._status.loadingSize=0,this._status.loadingStyle={};var n=this._loadingBar,r=!1;for(var i in e){var o=It(e[i]);n[i]!==o&&(n[i]=o,r=!0),pe(o,ut)||ve(o,ut)}return r&&this._renderLoading(),this._appendLoadingBar(),this},n.isProcessing=function(){return this._isProcessing()||this.isLoading()},n.isLoading=function(){return this._getLoadingStatus()>0},n.getLoadingBar=function(t){return void 0===t&&(t=this._getLoadingStatus()!==_t),this._loadingBar[t?"append":"prepend"]},n.startLoading=function(t,e){var n=this;if(void 0===e&&(e={display:"block"}),this.isLoading())return this;var r=t?"append":"prepend";if(this._process(t?wt:_t),!this._loadingBar[r])return this;var i=function(){n._renderLoading(e),n._status.loadingStyle=e,t?n._setContainerSize(n._getEdgeValue("end")+n._status.loadingSize):n._fit()};return this.options.renderExternal?this.trigger("render",{next:i}):i(),this},n.endLoading=function(t){var e;if(void 0===t&&(t={display:"none"}),!this.isLoading())return this;var n=this._getLoadingStatus()===wt,r=n?"append":"prepend",i=this._loadingBar[r],o=this._status,a=o.loadingSize;if(this._process(wt|_t,!1),o.loadingSize=0,o.loadingStyle={},i){var s=Qt((e={},e[this.options.horizontal?"left":"top"]=-a+"px",e),t);for(var c in s)i.style[c]=s[c];n?this._setContainerSize(this._getEdgeValue("end")):this._fitItems(a),this.options.renderExternal&&this.trigger("render",{next:function(){}})}return this.options.useRecycle&&!this.isProcessing()&&this._infinite.recycle(this._watcher.getScrollPos(),n),this},n.getItem=function(t,e){if(void 0===t&&(t=0),"object"!==typeof t){var n=this._itemManager.getGroup(t);return n&&n.items[e||0]}if(t)for(var r=this.getItems(),i=r.length,o=0;ol;return h||b?(this._scrollTo(g),this):(this._postLayout({fromCache:!0,groups:[r],items:a,newItems:[],isAppend:b,isTrusted:!1}).on("renderComplete",(function(t){var r=t.start,i=t.end,o=n._itemManager;if(o){var s=a[e].rect[v?"left":"top"];h||o.clearOutlines(r,i),n._scrollTo(s),n._setScrollPos(s)}})),this)}b=t>f||tdt/10}));if(!s.length)return[];var c=s[0].outlines.start;t&&(c=[c.length?Math.min.apply(Math,c):0],!a&&n.length&&(r.updateSize(n),o&&n[0].size&&be.pluck(s,"items").forEach((function(t){t.size=Qt({},n[0].size)})))),this._layout.layout(s,c),s.forEach((function(t){t.needUpdate=!1}))},n._setContainerSize=function(t){this._renderer.setContainerSize(Math.max(this._itemManager.getMaxEdgeValue(),t))},n._appendLoadingBar=function(){if(!this.options.renderExternal){var t=this._loadingBar,e=this._renderer.container;for(var n in t)e.appendChild(t[n])}},n._setSize=function(t){this._infinite.setSize(this._renderer.getViewSize()),this._layout.setSize(t)},n._fitItems=function(t,e){void 0===e&&(e=0),t>0&&this._watcher.scrollBy(-t),this._itemManager.fit(t,this.options.horizontal),this._renderer.renderItems(this.getItems()),this._setContainerSize(this._getEdgeValue("end")||e),t<0&&this._watcher.scrollBy(-t)},n._fit=function(t){void 0===t&&(t=this.options.useFit);var e=this._getEdgeValue("start"),n=this._getLoadingStatus()===_t&&this._status.loadingSize||0,r=this.options,i=r.isConstantSize,o=r.isEqualSize,a=r.useRecycle;if(!a||!t||i||o)e0},n._getLoadingStatus=function(){return this._status.processingStatus&(wt|_t)},n._process=function(t,e){void 0===e&&(e=!0),e?this._status.processingStatus|=t:this._status.processingStatus-=this._status.processingStatus&t},n._insert=function(t){var e=t.elements,n=t.isAppend,r=t.hasChildren,i=t.groupKey,o=void 0===i?this._getRandomKey():i;if(!this._isProcessing()&&0!==e.length){var a=be.toItems(It(e,!0),o);this._insertItems({items:a,isAppend:n,hasChildren:r,groupKey:o})}},n._insertItems=function(t){var e=t.items,n=t.isAppend,r=t.hasChildren,i=t.groupKey,o=void 0===i?this._getRandomKey():i;if(e.length){var a=this._itemManager[n?"appendGroup":"prependGroup"]({groupKey:o,items:e});if(!n){var s=this._infinite,c=s.getCursors(),u=c[0],l=c[1];s.setCursor("start",u+1),s.setCursor("end",l+1)}this._postLayout({fromCache:!1,groups:[a],items:a.items,newItems:a.items,isAppend:n,hasChildren:r,isTrusted:!1})}},n._recycle=function(t){var e=this,n=this.options,r=n.useRecycle,i=n.renderExternal;if(!r)return!1;var o=!1;return t.forEach((function(t){var n=t.start,r=t.end;if(!(-1===n||-1===r||r0&&!at&&this._scrollTo(p)),this.trigger("layoutComplete",{target:n.concat(),isAppend:!!r,isTrusted:o,fromCache:u,isLayout:f,isScroll:h0;if(n.size())o&&n.pluck("items").forEach((function(t,e){t.el=i[e]}));else{if(!o)return t.getContainerSize()&&t.setContainerSize(0),this._requestAppend({}),this;var a=""+this._getRandomKey();i.forEach((function(t){var e=t.getAttribute(r+"groupkey");"string"!==typeof e&&(e=a),a=e,n.insert({groupKey:e,el:t})}))}var s=n.getGroups();return e.setCursor("start",0),e.setCursor("end",s.length-1),this._postLayout({groups:s,hasChildren:o,fromCache:!1,isAppend:!0}),this},n._getRandomKey=function(){var t=this._itemManager;while(1){var e=(new Date).getTime()+Math.floor(1e3*Math.random());if(!t.getGroupByKey(e))return e}},n._reset=function(){this._status={processingStatus:yt,loadingSize:0,loadingStyle:{}}},e.VERSION="3.9.0",e}(a),je=bt.START,Ee=bt.CENTER,De=bt.END,Ae=bt.JUSTIFY,Le=function(){function t(t){void 0===t&&(t={}),this.options=te({margin:0,horizontal:!1,align:je,itemSize:0},t),this._size=0,this._columnSize=0,this._columnLength=0,this._style=Jt(this.options.horizontal)}var e=t.prototype;return e.append=function(t,e,n){return this._insert(t,e,!0,n)},e.prepend=function(t,e,n){return this._insert(t,e,!1,n)},e.layout=function(t,e){var n=this;void 0===t&&(t=[]),void 0===e&&(e=[]);var r,i=t.length&&t[0].items.length&&t[0].items[0];if(this.checkColumn(i),e.length!==this._columnLength){var o=0===e.length?0:Math.min.apply(Math,e);r=ae(new Array(this._columnLength),o)}else r=e.slice();return t.forEach((function(t){var e=t.items,i=n._layout(e,r,!0);t.outlines=i,r=i.end})),this},e.setSize=function(t){return this._size=t,this},e.checkColumn=function(t){var e=this.options,n=e.itemSize,r=e.margin,i=e.horizontal,o=i?"height":"width",a=Math.floor(n||t&&t.size[o]||0)||0;this._columnSize=a,this._columnLength=a?Math.max(Math.floor((this._size+r)/(a+r)),1):1},e._layout=function(t,e,n){for(var r,i=t.length,o=this.options.margin,a=this.options.align,s=this._style,c=s.size1,u=s.size2,l=s.startPos1,f=s.startPos2,h=this._columnSize,d=this._columnLength,p=this._size,v=p-(h+o)*d+o,g=n?"min":"max",m=n?"indexOf":"lastIndexOf",b=e.slice(),y=e.slice(),w=0;w1){for(var S=1;S=0);++S){if(!(r&&l[y+d*S]<=b||!r&&l[y+d*S]>=b))break;++O}r||(y-=O-1)}w.columnWidth=[c,O],h.push((i={width:O,height:O},i[v]=b-(r?0:O),i[g]=y,i.type=m+1,i.index=m,i));for(S=0;Sl)&&(i[p]=l,d.push({value:p,cost:l}),r[p]=a);if("undefined"===typeof i[n]){var v=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(v)}return r}function Ge(t,e){var n=[],r=e;while(r)n.push(r),r=t[r];return n.reverse(),n}function qe(t,e,n){var r=We(t,e,n);return Ge(r,n)}var Ye=function(){function t(t){this.content=[],this.scoreFunction=t}var e=t.prototype;return e.push=function(t){this.content.push(t),this.bubbleUp(this.content.length-1)},e.pop=function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.sinkDown(0)),t},e.size=function(){return this.content.length},e.bubbleUp=function(t){var e=t,n=this.content[e];while(e>0){var r=Math.floor((e+1)/2)-1,i=this.content[r];if(!(this.scoreFunction(n)a)break;var u=e._getCost(t,s,c);u<0&&c===n&&(u=0),i[""+c]=Math.pow(u,2)}return i};return qe(s,"0",""+n)},e._getRowPath=function(t){var e,n=this.options.column,r=this.options.row,i=ge(n)?n:[n,n],o=ge(r)?r:[r,r],a=this._getRowLink(t,{path:[0],cost:0,length:0,currentNode:0},i,o);return null!==(e=null===a||void 0===a?void 0:a.path.map((function(t){return""+t})))&&void 0!==e?e:[]},e._getRowLink=function(t,e,n,r){var i=n[0],o=r[0],a=r[1],s=t.length,c=e.path,u=e.length,l=e.cost,f=e.currentNode;if(fs)){var h=me(s-f,n),d=h*Math.abs(this._getCost(t,f,s));return J(J({},e),{length:u+1,path:Q(c,[s]),currentNode:s,cost:l+d,isOver:!0})}return f>=s?J(J({},e),{currentNode:s,isOver:o>u||ac?Math.pow(a-c,2)+Math.pow(c,2):Math.min(a-c,s-a):a1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(dn.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"===typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){return Qe({},t,r.value)}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return hn(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var i=Object.getPrototypeOf(t.prototype),o=i instanceof Ze["default"]?i.constructor:Ze["default"],a=o.extend(e);return gn(a,t,o),on()&&an(a,t),a}var vn={prototype:!0,arguments:!0,callee:!0,caller:!0};function gn(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!vn[r]){var i=Object.getOwnPropertyDescriptor(t,r);if(!i||i.configurable){var o=Object.getOwnPropertyDescriptor(e,r);if(!un){if("cid"===r)return;var a=Object.getOwnPropertyDescriptor(n,r);if(!fn(o.value)&&a&&a.value===o.value)return}0,Object.defineProperty(t,r,o)}}}))}function mn(t){return"function"===typeof t?pn(t):function(e){return pn(e,t)}}mn.registerHooks=function(t){dn.push.apply(dn,tn(t))};var bn=mn;var yn="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function wn(t,e,n){if(yn&&!Array.isArray(t)&&"function"!==typeof t&&"undefined"===typeof t.type){var r=Reflect.getMetadata("design:type",e,n);r!==Object&&(t.type=r)}}function _n(t){return void 0===t&&(t={}),function(e,n){wn(t,e,n),ln((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var xn=function(t,e){return xn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},xn(t,e)};function On(t,e){function n(){this.constructor=t}xn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Sn=function(){return Sn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function Cn(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)a.push(r.value)}catch(error){i={error:error}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return a}function Pn(){for(var t=[],e=0;e=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(a)})),t.exports=l},7288:function(t){t.exports={version:"0.25.0"}},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(7288).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function a(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),i=r.length;while(i-- >0){var o=r[i],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={assertOptions:a,validators:i}},4867:function(t,e,n){"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return Array.isArray(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"[object FormData]"===i.call(t)}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===i.call(t)}function g(t){return"[object File]"===i.call(t)}function m(t){return"[object Blob]"===i.call(t)}function b(t){return"[object Function]"===i.call(t)}function y(t){return d(t)&&b(t.pipe)}function w(t){return"[object URLSearchParams]"===i.call(t)}function _(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function O(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n0,v=(/msie|trident/.test(d),function(){var t=!1;if(u)try{var e={get passive(){t=!0}};l.addEventListener("test",e,e),l.removeEventListener("test",e,e)}catch(n){t=!1}return t}()),g=u&&("ontouchstart"in f.documentElement||h.maxTouchPoints>0),m=u&&Boolean(l.PointerEvent||l.MSPointerEvent),b=u&&"IntersectionObserver"in l&&"IntersectionObserverEntry"in l&&"intersectionRatio"in l.IntersectionObserverEntry.prototype,y="BvConfig",w="$bvConfig",_=["xs","sm","md","lg","xl"],x=/\[(\d+)]/g,O=/^(BV?)/,S=/^\d+$/,k=/^\..+/,C=/^#/,P=/^#[A-Za-z]+[\w\-:.]*$/,T=/(<([^>]+)>)/gi,j=/\B([A-Z])/g,E=/([a-z])([A-Z])/g,D=/^[0-9]*\.?[0-9]+$/,A=/\+/g,L=/[-/\\^$*+?.()|[\]{}]/g,I=/[\s\uFEFF\xA0]+/g,M=/\s+/,$=/\/\*$/,F=/(\s|^)(\w)/g,R=/^\s+/,N=/_/g,B=/-(\w)/g,z=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,V=/-|\s|T/,H=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,U=/^.*(#[^#]+)$/,W=/%2C/g,G=/[!'()*]/g,q=/^(\?|#|&)/,Y=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,K=/[/:]/,X=/^col-/,Z=/^BIcon/,J=/-u-.+/;function Q(t){return Q="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},Q(t)}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(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&&ut(t,e)}function nt(t){var e=st();return function(){var n,r=lt(t);if(e){var i=lt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return rt(this,n)}}function rt(t,e){return!e||"object"!==Q(e)&&"function"!==typeof e?it(t):e}function it(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ot(t){var e="function"===typeof Map?new Map:void 0;return ot=function(t){if(null===t||!ct(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return at(t,arguments,lt(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ut(n,t)},ot(t)}function at(t,e,n){return at=st()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r),o=new i;return n&&ut(o,n.prototype),o},at.apply(null,arguments)}function st(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(Ae){return!1}}function ct(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function ut(t,e){return ut=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ut(t,e)}function lt(t){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},lt(t)}var ft=i?l.Element:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ot(Object)),ht=i?l.HTMLElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ft),dt=i?l.SVGElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ft),pt=i?l.File:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ot(Object));function vt(t){return vt="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},vt(t)}var gt=function(t){return vt(t)},mt=function(t){return Object.prototype.toString.call(t).slice(8,-1)},bt=function(t){return void 0===t},yt=function(t){return null===t},wt=function(t){return bt(t)||yt(t)},_t=function(t){return"function"===gt(t)},xt=function(t){return"boolean"===gt(t)},Ot=function(t){return"string"===gt(t)},St=function(t){return"number"===gt(t)},kt=function(t){return D.test(String(t))},Ct=function(t){return Array.isArray(t)},Pt=function(t){return null!==t&&"object"===vt(t)},Tt=function(t){return"[object Object]"===Object.prototype.toString.call(t)},jt=function(t){return t instanceof Date},Et=function(t){return t instanceof Event},Dt=function(t){return t instanceof pt},At=function(t){return"RegExp"===mt(t)},Lt=function(t){return!wt(t)&&_t(t.then)&&_t(t.catch)};function It(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 Mt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:e;return Ct(e)?e.reduce((function(e,n){return[].concat(te(e),[t(n,n)])}),[]):Tt(e)?Vt(e).reduce((function(n,r){return Jt(Jt({},n),{},Qt({},r,t(e[r],e[r])))}),{}):n},se=function(t){return t},ce=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(e=Ct(e)?e.join("."):e,!e||!Pt(t))return n;if(e in t)return t[e];e=String(e).replace(x,".$1");var r=e.split(".").filter(se);return 0===r.length?n:r.every((function(e){return Pt(t)&&e in t&&!wt(t=t[e])}))?t:yt(t)?null:n},ue=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=ce(t,e);return wt(r)?n:r},le=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="undefined"!==typeof process&&process?{NODE_ENV:"production",BASE_URL:""}||0:{};return t?n[t]||e:n},fe=function(){return le("BOOTSTRAP_VUE_NO_WARN")||"production"===le("NODE_ENV")},he=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;fe()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},de=function(t){return!u&&(he("".concat(t,": Can not be called during SSR.")),!0)},pe=function(t){return!s&&(he("".concat(t,": Requires Promise support.")),!0)},ve=function(t){return!c&&(he("".concat(t,": Requires MutationObserver support.")),!0)};function ge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function me(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(Tt(e)){var n=zt(e);n.forEach((function(n){var r=e[n];"breakpoints"===n?!Ct(r)||r.length<2||r.some((function(t){return!Ot(t)||0===t.length}))?he('"breakpoints" must be an array of at least 2 breakpoint names',y):t.$_config[n]=ae(r):Tt(r)&&(t.$_config[n]=zt(r).reduce((function(t,e){return bt(r[e])||(t[e]=ae(r[e])),t}),t.$_config[n]||{}))}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return ae(this.$_config)}},{key:"getConfigValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return ae(ce(this.$_config,t,e))}}]),t}(),we=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r["default"];e.prototype[w]=r["default"].prototype[w]=e.prototype[w]||r["default"].prototype[w]||new ye,e.prototype[w].setConfig(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 xe(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,r=t.plugins,i=function t(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,Se(i),we(o,i),je(i,e),De(i,n),Pe(i,r))};return i.installed=!1,i},Ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return xe(xe({},e),{},{install:ke(t)})},Pe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},Te=function(t,e,n){t&&e&&n&&t.component(e,n)},je=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)Te(t,n,e[n])},Ee=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},De=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)Ee(t,n,e[n])},Ae=function(){return(Ae=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n},Qa=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},ts=function(t,e){return Qa(t).toFixed(Ja(e,0))},es=function(t){return t.replace(j,"-$1").toLowerCase()},ns=function(t){return t=es(t).replace(B,(function(t,e){return e?e.toUpperCase():""})),t.charAt(0).toUpperCase()+t.slice(1)},rs=function(t){return t.replace(N," ").replace(E,(function(t,e,n){return e+" "+n})).replace(F,(function(t,e,n){return e+n.toUpperCase()}))},is=function(t){return t=Ot(t)?t.trim():String(t),t.charAt(0).toLowerCase()+t.slice(1)},os=function(t){return t=Ot(t)?t.trim():String(t),t.charAt(0).toUpperCase()+t.slice(1)},as=function(t){return t.replace(L,"\\$&")},ss=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return wt(t)?"":Ct(t)||Tt(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},cs=function(t){return ss(t).replace(R,"")},us=function(t){return ss(t).trim()},ls=function(t){return ss(t).toLowerCase()},fs=ft.prototype,hs=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(t){return"".concat(t,":not(:disabled):not([disabled])")})).join(", "),ds=fs.matches||fs.msMatchesSelector||fs.webkitMatchesSelector,ps=fs.closest||function(t){var e=this;do{if(Ps(e,t))return e;e=e.parentElement||e.parentNode}while(!yt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},vs=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.msRequestAnimationFrame||l.oRequestAnimationFrame||function(t){return setTimeout(t,16)},gs=l.MutationObserver||l.WebKitMutationObserver||l.MozMutationObserver||null,ms=function(t){return t&&t.parentNode&&t.parentNode.removeChild(t)},bs=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},ys=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=f.activeElement;return e&&!t.some((function(t){return t===e}))?e:null},ws=function(t,e){return ss(t).toLowerCase()===ss(e).toLowerCase()},_s=function(t){return bs(t)&&t===ys()},xs=function(t){if(!bs(t)||!t.parentNode||!js(f.body,t))return!1;if("none"===Bs(t,"display"))return!1;var e=zs(t);return!!(e&&e.height>0&&e.width>0)},Os=function(t){return!bs(t)||t.disabled||Fs(t,"disabled")||Ls(t,"disabled")},Ss=function(t){return bs(t)&&t.offsetHeight},ks=function(t,e){return Ga((bs(e)?e:f).querySelectorAll(t))},Cs=function(t,e){return(bs(e)?e:f).querySelector(t)||null},Ps=function(t,e){return!!bs(t)&&ds.call(t,e)},Ts=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!bs(e))return null;var r=ps.call(e,t);return n?r:r===e?null:r},js=function(t,e){return!(!t||!_t(t.contains))&&t.contains(e)},Es=function(t){return f.getElementById(/^#/.test(t)?t.slice(1):t)||null},Ds=function(t,e){e&&bs(t)&&t.classList&&t.classList.add(e)},As=function(t,e){e&&bs(t)&&t.classList&&t.classList.remove(e)},Ls=function(t,e){return!!(e&&bs(t)&&t.classList)&&t.classList.contains(e)},Is=function(t,e,n){e&&bs(t)&&t.setAttribute(e,n)},Ms=function(t,e){e&&bs(t)&&t.removeAttribute(e)},$s=function(t,e){return e&&bs(t)?t.getAttribute(e):null},Fs=function(t,e){return e&&bs(t)?t.hasAttribute(e):null},Rs=function(t,e,n){e&&bs(t)&&(t.style[e]=n)},Ns=function(t,e){e&&bs(t)&&(t.style[e]="")},Bs=function(t,e){return e&&bs(t)&&t.style[e]||null},zs=function(t){return bs(t)?t.getBoundingClientRect():null},Vs=function(t){var e=l.getComputedStyle;return e&&bs(t)?e(t):{}},Hs=function(){var t=l.getSelection;return t?l.getSelection():null},Us=function(t){var e={top:0,left:0};if(!bs(t)||0===t.getClientRects().length)return e;var n=zs(t);if(n){var r=t.ownerDocument.defaultView;e.top=n.top+r.pageYOffset,e.left=n.left+r.pageXOffset}return e},Ws=function(t){var e={top:0,left:0};if(!bs(t))return e;var n={top:0,left:0},r=Vs(t);if("fixed"===r.position)e=zs(t)||e;else{e=Us(t);var i=t.ownerDocument,o=t.offsetParent||i.documentElement;while(o&&(o===i.body||o===i.documentElement)&&"static"===Vs(o).position)o=o.parentNode;if(o&&o!==t&&o.nodeType===Node.ELEMENT_NODE){n=Us(o);var a=Vs(o);n.top+=Qa(a.borderTopWidth,0),n.left+=Qa(a.borderLeftWidth,0)}}return{top:e.top-n.top-Qa(r.marginTop,0),left:e.left-n.left-Qa(r.marginLeft,0)}},Gs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return ks(hs,t).filter(xs).filter((function(t){return t.tabIndex>-1&&!t.disabled}))},qs=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(n){}return _s(t)},Ys=function(t){try{t.blur()}catch(e){}return!_s(t)},Ks=function(t){var e=Rt(null);return function(){for(var n=arguments.length,r=new Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:void 0,n=Xs[w];return n?n.getConfigValue(t,e):ae(e)},Js=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?Zs("".concat(t,".").concat(e),n):Zs(t,{})},Qs=function(){return Zs("breakpoints",_)},tc=Ks((function(){return Qs()})),ec=function(){return ae(tc())},nc=Ks((function(){var t=ec();return t[0]="",t}));function rc(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 ic(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:po,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=!0===n;return r=i?r:n,ic(ic(ic({},t?{type:t}:{}),i?{required:i}:bt(e)?{}:{default:Pt(e)?function(){return e}:e}),bt(r)?{}:{validator:r})},lc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:se;if(Ct(t))return t.map(e);var n={};for(var r in t)Ht(t,r)&&(n[e(r)]=Pt(t[r])?Wt(t[r]):t[r]);return n},fc=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:se;return(Ct(t)?t.slice():Vt(t)).reduce((function(t,r){return t[n(r)]=e[r],t}),{})},hc=function(t,e,n){return ic(ic({},ae(t)),{},{default:function(){var r=Js(n,e,t.default);return _t(r)?r():r}})},dc=function(t,e){return Vt(t).reduce((function(n,r){return ic(ic({},n),{},oc({},r,hc(t[r],r,e)))}),{})},pc=hc({},"","").default.name,vc=function(t){return _t(t)&&t.name!==pc};function gc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var mc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,i=void 0===n?po:n,o=e.defaultValue,a=void 0===o?void 0:o,s=e.validator,c=void 0===s?void 0:s,u=e.event,l=void 0===u?Ei:u,f=gc({},t,uc(i,a,c)),h=r["default"].extend({model:{prop:t,event:l},props:f});return{mixin:h,props:f,prop:t,event:l}},bc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=Ya(t).filter(se),t.some((function(t){return e[t]||n[t]}))},yc=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=Ya(t).filter(se);for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:Uo,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return bc(t,e,n)},normalizeSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Uo,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,i=yc(t,e,n,r);return i?Ya(i):i}}}),_c=function(t){return v?Pt(t)?t:{capture:!!t||!1}:!!(Pt(t)?t.capture:t)},xc=function(t,e,n,r){t&&t.addEventListener&&t.addEventListener(e,n,_c(r))},Oc=function(t,e,n,r){t&&t.removeEventListener&&t.removeEventListener(e,n,_c(r))},Sc=function(t){for(var e=t?xc:Oc,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,r=void 0===n||n,i=e.propagation,o=void 0===i||i,a=e.immediatePropagation,s=void 0!==a&&a;r&&t.preventDefault(),o&&t.stopPropagation(),s&&t.stopImmediatePropagation()},Cc=function(t){return es(t.replace(O,""))},Pc=function(t,e){return[uo,Cc(t),e].join(lo)},Tc=function(t,e){return[uo,e,Cc(t)].join(lo)};function jc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ec=dc({ariaLabel:uc(xo,"Close"),content:uc(xo,"×"),disabled:uc(go,!1),textVariant:uc(xo)},qe),Dc=r["default"].extend({name:qe,functional:!0,props:Ec,render:function(t,e){var n=e.props,r=e.data,i=e.slots,o=e.scopedSlots,a=i(),s=o||{},c={staticClass:"close",class:jc({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(t){n.disabled&&Et(t)&&kc(t)}}};return bc(Uo,s,a)||(c.domProps={innerHTML:n.content}),t("button",$e(r,c),yc(Uo,{},s,a))}});function Ac(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 Lc(t){for(var e=1;e0?t:0)},Kc=function(t){return""===t||!0===t||!(Ja(t,0)<1)&&!!t},Xc=dc(Kt(zc(zc({},Wc),{},{dismissLabel:uc(xo,"Close"),dismissible:uc(go,!1),fade:uc(go,!1),variant:uc(xo,"info")})),Re),Zc=r["default"].extend({name:Re,mixins:[Uc,wc],props:Xc,data:function(){return{countDown:0,localShow:Kc(this[Gc])}},watch:(Mc={},Vc(Mc,Gc,(function(t){this.countDown=Yc(t),this.localShow=Kc(t)})),Vc(Mc,"countDown",(function(t){var e=this;this.clearCountDownInterval();var n=this[Gc];kt(n)&&(this.$emit(yi,t),n!==t&&this.$emit(qc,t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){vs((function(){e.localShow=!1}))})))})),Vc(Mc,"localShow",(function(t){var e=this[Gc];t||!this.dismissible&&!kt(e)||this.$emit(bi),kt(e)||e===t||this.$emit(qc,t)})),Mc),created:function(){this.$_filterTimer=null;var t=this[Gc];this.countDown=Yc(t),this.localShow=Kc(t)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var e=t();if(this.localShow){var n=this.dismissible,r=this.variant,i=t();n&&(i=t(Dc,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(Go)])),e=t("div",{staticClass:"alert",class:Vc({"alert-dismissible":n},"alert-".concat(r),r),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[Fe]},[i,this.normalizeSlot()])}return t(Nc,{props:{noFade:!this.fade}},[e])}}),Jc=Ce({components:{BAlert:Zc}}),Qc=Math.min,tu=Math.max,eu=Math.abs,nu=Math.ceil,ru=Math.floor,iu=Math.pow,ou=Math.round;function au(t,e){return fu(t)||lu(t,e)||cu(t,e)||su()}function su(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cu(t,e){if(t){if("string"===typeof t)return uu(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)?uu(t,e):void 0}}function uu(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&&yt(n)?"noopener":n||null},Cu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gu,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(Ou(r))return null;if(Ot(n))return n||o;if(Tt(n)&&(n.path||n.query||n.hash)){var a=ss(n.path),s=wu(n.query),c=ss(n.hash);return c=c&&"#"!==c.charAt(0)?"#".concat(c):c,"".concat(a).concat(s).concat(c)||o}return i};function Pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tu={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},ju={width:null,height:null,focusable:null,role:null,"aria-label":null},Eu={animation:uc(xo),content:uc(xo),flipH:uc(go,!1),flipV:uc(go,!1),fontScale:uc(Ao,1),rotate:uc(Ao,0),scale:uc(Ao,1),shiftH:uc(Ao,0),shiftV:uc(Ao,0),stacked:uc(go,!1),title:uc(xo),variant:uc(xo)},Du=r["default"].extend({name:Gn,functional:!0,props:Eu,render:function(t,e){var n,r=e.data,i=e.props,o=e.children,a=i.animation,s=i.content,c=i.flipH,u=i.flipV,l=i.stacked,f=i.title,h=i.variant,d=tu(Qa(i.fontScale,1),0)||1,p=tu(Qa(i.scale,1),0)||1,v=Qa(i.rotate,0),g=Qa(i.shiftH,0),m=Qa(i.shiftV,0),b=c||u||1!==p,y=b||v,w=g||m,_=!wt(s),x=[y?"translate(8 8)":null,b?"scale(".concat((c?-1:1)*p," ").concat((u?-1:1)*p,")"):null,v?"rotate(".concat(v,")"):null,y?"translate(-8 -8)":null].filter(se),O=t("g",{attrs:{transform:x.join(" ")||null},domProps:_?{innerHTML:s||""}:{}},o);w&&(O=t("g",{attrs:{transform:"translate(".concat(16*g/16," ").concat(-16*m/16,")")}},[O])),l&&(O=t("g",[O]));var S=f?t("title",f):null,k=[S,O].filter(se);return t("svg",$e({staticClass:"b-icon bi",class:(n={},Pu(n,"text-".concat(h),h),Pu(n,"b-icon-animation-".concat(a),a),n),attrs:Tu,style:l?{}:{fontSize:1===d?null:"".concat(100*d,"%")}},r,l?{attrs:ju}:{},{attrs:{xmlns:l?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),k)}});function Au(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 Lu(t){for(var e=1;e'),Ru=Mu("CalendarFill",''),Nu=Mu("ChevronBarLeft",''),Bu=Mu("ChevronDoubleLeft",''),zu=Mu("ChevronDown",''),Vu=Mu("ChevronLeft",''),Hu=Mu("ChevronUp",''),Uu=Mu("CircleFill",''),Wu=Mu("Clock",''),Gu=Mu("ClockFill",''),qu=Mu("Dash",''),Yu=Mu("PersonFill",''),Ku=Mu("Plus",''),Xu=Mu("Star",''),Zu=Mu("StarFill",''),Ju=Mu("StarHalf",''),Qu=Mu("X",'');function tl(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 el(t){for(var e=1;e1?n-1:0),i=1;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(T,"")},Cf=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function Pf(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 Tf(t){for(var e=1;e-1&&(e=e.slice(0,n).reverse(),qs(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),qs(e[0]))},focusLast:function(){var t=this.getItems().reverse();qs(t[0])},onFocusin:function(t){var e=this.$el;t.target!==e||js(e,t.relatedTarget)||(kc(t),this.focusFirst(t))},onKeydown:function(t){var e=t.keyCode,n=t.shiftKey;e===yl||e===pl?(kc(t),n?this.focusFirst(t):this.focusPrev(t)):e!==ul&&e!==ml||(kc(t),n?this.focusLast(t):this.focusNext(t))}},render:function(t){var e=this.keyNav;return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:e?"0":null},on:e?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),Xf=Ce({components:{BButtonToolbar:Kf,BBtnToolbar:Kf}}),Zf="gregory",Jf="long",Qf="narrow",th="short",eh="2-digit",nh="numeric";function rh(t,e){return ch(t)||sh(t,e)||oh(t,e)||ih()}function ih(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function oh(t,e){if(t){if("string"===typeof t)return ah(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)?ah(t,e):void 0}}function ah(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:Zf;t=Ya(t).filter(se);var n=new Intl.DateTimeFormat(t,{calendar:e});return n.resolvedOptions().locale},mh=function(t,e){var n=new Intl.DateTimeFormat(t,e);return n.format},bh=function(t,e){return vh(t)===vh(e)},yh=function(t){return t=dh(t),t.setDate(1),t},wh=function(t){return t=dh(t),t.setMonth(t.getMonth()+1),t.setDate(0),t},_h=function(t,e){t=dh(t);var n=t.getMonth();return t.setFullYear(t.getFullYear()+e),t.getMonth()!==n&&t.setDate(0),t},xh=function(t){t=dh(t);var e=t.getMonth();return t.setMonth(e-1),t.getMonth()===e&&t.setDate(0),t},Oh=function(t){t=dh(t);var e=t.getMonth();return t.setMonth(e+1),t.getMonth()===(e+2)%12&&t.setDate(0),t},Sh=function(t){return _h(t,-1)},kh=function(t){return _h(t,1)},Ch=function(t){return _h(t,-10)},Ph=function(t){return _h(t,10)},Th=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=ph(t),e=ph(e)||t,n=ph(n)||t,t?tn?n:t:null},jh=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),Eh=function(t){var e=ss(t).toLowerCase().replace(J,"").split("-"),n=e.slice(0,2).join("-"),r=e[0];return qa(jh,n)||qa(jh,r)},Dh={id:uc(xo)},Ah=r["default"].extend({props:Dh,data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_,e=function(e){return t?(e=String(e||"").replace(/\s+/g,"_"),e?t+"_"+e:t):null};return e}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t[Fe])}))}});function Lh(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 Ih(t){for(var e=1;ee}},dateDisabled:function(){var t=this,e=this.dateOutOfRange;return function(n){n=ph(n);var r=vh(n);return!(!e(n)&&!t.computedDateDisabledFn(r,n))}},formatDateString:function(){return mh(this.calendarLocale,Ih(Ih({year:nh,month:eh,day:eh},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:Zf}))},formatYearMonth:function(){return mh(this.calendarLocale,{year:nh,month:Jf,calendar:Zf})},formatWeekdayName:function(){return mh(this.calendarLocale,{weekday:Jf,calendar:Zf})},formatWeekdayNameShort:function(){return mh(this.calendarLocale,{weekday:this.weekdayHeaderFormat||th,calendar:Zf})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&wh(Ch(this.activeDate))t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&yh(kh(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&yh(Ph(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,n=e.getFullYear(),r=e.getMonth(),i=this.calendarDaysInMonth,o=e.getDay(),a=(this.computedWeekStarts>o?7:0)-this.computedWeekStarts,s=0-a-o,c=0;c<6&&s0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),Ad=function(t){var e=t[Ed];e&&e.stop&&e.stop(),delete t[Ed]},Ld=function(t,e,n){var r=e.value,i=e.modifiers,o={margin:"0px",once:!1,callback:r};Vt(i).forEach((function(t){S.test(t)?o.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(o.once=!0)})),Ad(t),t[Ed]=new Dd(t,o,n),t[Ed]._prevModifiers=Wt(i)},Id=function(t,e,n){var r=e.value,i=e.oldValue,o=e.modifiers;o=Wt(o),!t||r===i&&t[Ed]&&_l(o,t[Ed]._prevModifiers)||Ld(t,{value:r,modifiers:o},n)},Md=function(t){Ad(t)},$d={bind:Ld,componentUpdated:Id,unbind:Md};function Fd(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 Rd(t){for(var e=1;e0||i.removedNodes.length>0))&&(n=!0)}n&&e()}));return r.observe(t,rp({childList:!0,subtree:!0},n)),r};function sp(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 cp(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(op={},up(op,dp,(function(t,e){t!==e&&this.setSlide(Ja(t,0))})),up(op,"interval",(function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))})),up(op,"isPaused",(function(t,e){t!==e&&this.$emit(t?Ri:io)})),up(op,"index",(function(t,e){t===e||this.isSliding||this.doSlide(t,e)})),op),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(Ja(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=_p(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=ap(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(u&&document.visibilityState&&document.hidden)){var r=this.noWrap,i=this.numSlides;t=ru(t),0!==i&&(this.isSliding?this.$once(Qi,(function(){vs((function(){return e.setSlide(t,n)}))})):(this.direction=n,this.index=t>=i?r?i-1:0:t<0?r?0:i-1:t,r&&this.index!==t&&this.index!==this[dp]&&this.$emit(pp,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,tu(1e3,this.interval)))},restart:function(){this.$el.contains(ys())||this.start()},doSlide:function(t,e){var n=this,r=Boolean(this.interval),i=this.calcDirection(this.direction,e,t),o=i.overlayClass,a=i.dirClass,s=this.slides[e],c=this.slides[t];if(s&&c){if(this.isSliding=!0,r&&this.pause(!1),this.$emit(to,t),this.$emit(pp,this.index),this.noAnimation)Ds(c,"active"),As(s,"active"),this.isSliding=!1,this.$nextTick((function(){return n.$emit(Qi,t)}));else{Ds(c,o),Ss(c),Ds(s,a),Ds(c,a);var u=!1,l=function e(){if(!u){if(u=!0,n.transitionEndEvent){var r=n.transitionEndEvent.split(/\s+/);r.forEach((function(t){return Oc(c,t,e,ho)}))}n.clearAnimationTimeout(),As(c,a),As(c,o),Ds(c,"active"),As(s,"active"),As(s,a),As(s,o),Is(s,"aria-current","false"),Is(c,"aria-current","true"),Is(s,"aria-hidden","true"),Is(c,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick((function(){return n.$emit(Qi,t)}))}};if(this.transitionEndEvent){var f=this.transitionEndEvent.split(/\s+/);f.forEach((function(t){return xc(c,t,l,ho)}))}this.$_animationTimeout=setTimeout(l,gp)}r&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=ks(".carousel-item",this.$refs.inner);var t=this.slides.length,e=tu(0,Qc(ru(this.index),t-1));this.slides.forEach((function(n,r){var i=r+1;r===e?(Ds(n,"active"),Is(n,"aria-current","true")):(As(n,"active"),Is(n,"aria-current","false")),Is(n,"aria-posinset",String(i)),Is(n,"aria-setsize",String(t))})),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?vp[t]:n>e?vp.next:vp.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==bl&&n!==fl||(kc(t),e())},handleSwipe:function(){var t=eu(this.touchDeltaX);if(!(t<=bp)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){m&&yp[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:m||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){m&&yp[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,mp+tu(1e3,this.interval))}},render:function(t){var e=this,n=this.indicators,r=this.background,i=this.noAnimation,o=this.noHoverPause,a=this.noTouch,s=this.index,c=this.isSliding,u=this.pause,l=this.restart,f=this.touchStart,h=this.touchEnd,d=this.safeId("__BV_inner_"),p=t("div",{staticClass:"carousel-inner",attrs:{id:d,role:"list"},ref:"inner"},[this.normalizeSlot()]),v=t();if(this.controls){var b=function(n,r,i){var o=function(t){c?kc(t,{propagation:!1}):e.handleClick(t,i)};return t("a",{staticClass:"carousel-control-".concat(n),attrs:{href:"#",role:"button","aria-controls":d,"aria-disabled":c?"true":null},on:{click:o,keydown:o}},[t("span",{staticClass:"carousel-control-".concat(n,"-icon"),attrs:{"aria-hidden":"true"}}),t("span",{class:"sr-only"},[r])])};v=[b("prev",this.labelPrev,this.prev),b("next",this.labelNext,this.next)]}var y=t("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":d}},this.slides.map((function(r,i){var o=function(t){e.handleClick(t,(function(){e.setSlide(i)}))};return t("li",{class:{active:i===s},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(i+1,"_")),tabindex:n?"0":"-1","aria-current":i===s?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(i+1),"aria-describedby":r.id||null,"aria-controls":d},on:{click:o,keydown:o},key:"slide_".concat(i)})}))),w={mouseenter:o?ep:u,mouseleave:o?ep:l,focusin:u,focusout:l,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==pl&&n!==ml||(kc(t),e[n===pl?"prev":"next"]())}}};return g&&!a&&(m?(w["&pointerdown"]=f,w["&pointerup"]=h):(w["&touchstart"]=f,w["&touchmove"]=this.touchMove,w["&touchend"]=h)),t("div",{staticClass:"carousel",class:{slide:!i,"carousel-fade":!i&&this.fade,"pointer-event":g&&m&&!a},style:{background:r},attrs:{role:"region",id:this.safeId(),"aria-busy":c?"true":"false"},on:w},[p,v,y])}});function Sp(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 kp(t){for(var e=1;e0?(Is(t,fv,r.join(" ")),Rs(t,vv,"none")):(Ms(t,fv),Ns(t,vv)),vs((function(){Sv(t,n)})),_l(r,t[cv])||(t[cv]=r,r.forEach((function(t){n.context.$root.$emit(yv,t)})))}},Ev={bind:function(t,e,n){t[sv]=!1,t[cv]=[],Cv(t,n),jv(t,e,n)},componentUpdated:jv,updated:jv,unbind:function(t,e,n){Ov(t),kv(t,n),Tv(t,ov),Tv(t,av),Tv(t,sv),Tv(t,cv),As(t,nv),As(t,rv),Ms(t,hv),Ms(t,fv),Ms(t,dv),Ns(t,vv)}},Dv=Ce({directives:{VBToggle:Ev}}),Av=Ce({components:{BCollapse:ev},plugins:{VBTogglePlugin:Dv}}),Lv="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,Iv=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();function Mv(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}function $v(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),Iv))}}var Fv=Lv&&window.Promise,Rv=Fv?Mv:$v;function Nv(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function Bv(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function zv(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Vv(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Bv(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:Vv(zv(t))}function Hv(t){return t&&t.referenceNode?t.referenceNode:t}var Uv=Lv&&!(!window.MSInputMethodContext||!document.documentMode),Wv=Lv&&/MSIE 10/.test(navigator.userAgent);function Gv(t){return 11===t?Uv:10===t?Wv:Uv||Wv}function qv(t){if(!t)return document.documentElement;var e=Gv(10)?document.body:null,n=t.offsetParent||null;while(n===e&&t.nextElementSibling)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Bv(n,"position")?qv(n):n:t?t.ownerDocument.documentElement:document.documentElement}function Yv(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||qv(t.firstElementChild)===t)}function Kv(t){return null!==t.parentNode?Kv(t.parentNode):t}function Xv(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return Yv(a)?a:qv(a);var s=Kv(t);return s.host?Xv(s.host,e):Xv(t,Kv(e).host)}function Zv(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function Jv(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Zv(e,"top"),i=Zv(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function Qv(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function tg(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Gv(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function eg(t){var e=t.body,n=t.documentElement,r=Gv(10)&&getComputedStyle(n);return{height:tg("Height",e,n,r),width:tg("Width",e,n,r)}}var ng=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},rg=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=Gv(10),i="HTML"===e.nodeName,o=sg(t),a=sg(e),s=Vv(t),c=Bv(e),u=parseFloat(c.borderTopWidth),l=parseFloat(c.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=ag({top:o.top-a.top-u,left:o.left-a.left-l,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var h=parseFloat(c.marginTop),d=parseFloat(c.marginLeft);f.top-=u-h,f.bottom-=u-h,f.left-=l-d,f.right-=l-d,f.marginTop=h,f.marginLeft=d}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(f=Jv(f,e)),f}function ug(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=cg(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:Zv(n),s=e?0:Zv(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return ag(c)}function lg(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===Bv(t,"position"))return!0;var n=zv(t);return!!n&&lg(n)}function fg(t){if(!t||!t.parentElement||Gv())return document.documentElement;var e=t.parentElement;while(e&&"none"===Bv(e,"transform"))e=e.parentElement;return e||document.documentElement}function hg(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?fg(t):Xv(t,Hv(e));if("viewport"===r)o=ug(a,i);else{var s=void 0;"scrollParent"===r?(s=Vv(zv(e)),"BODY"===s.nodeName&&(s=t.ownerDocument.documentElement)):s="window"===r?t.ownerDocument.documentElement:r;var c=cg(s,a,i);if("HTML"!==s.nodeName||lg(a))o=c;else{var u=eg(t.ownerDocument),l=u.height,f=u.width;o.top+=c.top-c.marginTop,o.bottom=l+c.top,o.left+=c.left-c.marginLeft,o.right=f+c.left}}n=n||0;var h="number"===typeof n;return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function dg(t){var e=t.width,n=t.height;return e*n}function pg(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=hg(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return og({key:t},s[t],{area:dg(s[t])})})).sort((function(t,e){return e.area-t.area})),u=c.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=u.length>0?u[0].key:c[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function vg(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?fg(e):Xv(e,Hv(n));return cg(n,i,r)}function gg(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),o={width:t.offsetWidth+i,height:t.offsetHeight+r};return o}function mg(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function bg(t,e,n){n=n.split("-")[0];var r=gg(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return i[a]=e[a]+e[c]/2-r[c]/2,i[s]=n===s?e[s]-r[u]:e[mg(s)],i}function yg(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function wg(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=yg(t,(function(t){return t[e]===n}));return t.indexOf(r)}function _g(t,e,n){var r=void 0===n?t:t.slice(0,wg(t,"name",n));return r.forEach((function(t){t["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t["function"]||t.fn;t.enabled&&Nv(n)&&(e.offsets.popper=ag(e.offsets.popper),e.offsets.reference=ag(e.offsets.reference),e=n(e,t))})),e}function xg(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=vg(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=pg(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=bg(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=_g(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Og(t,e){return t.some((function(t){var n=t.name,r=t.enabled;return r&&n===e}))}function Sg(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;ra[d]&&(t.offsets.popper[f]+=s[f]+p-a[d]),t.offsets.popper=ag(t.offsets.popper);var v=s[f]+s[u]/2-p/2,g=Bv(t.instance.popper),m=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),y=v-t.offsets.popper[f]-m-b;return y=Math.max(Math.min(a[u]-p,y),0),t.arrowElement=r,t.offsets.arrow=(n={},ig(n,f,Math.round(y)),ig(n,h,""),n),t}function Vg(t){return"end"===t?"start":"start"===t?"end":t}var Hg=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ug=Hg.slice(3);function Wg(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Ug.indexOf(t),r=Ug.slice(n+1).concat(Ug.slice(0,n));return e?r.reverse():r}var Gg={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function qg(t,e){if(Og(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=hg(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=mg(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Gg.FLIP:a=[r,i];break;case Gg.CLOCKWISE:a=Wg(r);break;case Gg.COUNTERCLOCKWISE:a=Wg(r,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],i=mg(r);var u=t.offsets.popper,l=t.offsets.reference,f=Math.floor,h="left"===r&&f(u.right)>f(l.left)||"right"===r&&f(u.left)f(l.top)||"bottom"===r&&f(u.top)f(n.right),v=f(u.top)f(n.bottom),m="left"===r&&d||"right"===r&&p||"top"===r&&v||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&d||b&&"end"===o&&p||!b&&"start"===o&&v||!b&&"end"===o&&g),w=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&d||!b&&"start"===o&&g||!b&&"end"===o&&v),_=y||w;(h||m||_)&&(t.flipped=!0,(h||m)&&(r=a[c+1]),_&&(o=Vg(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=og({},t.offsets.popper,bg(t.instance.popper,t.offsets.reference,t.placement)),t=_g(t.instance.modifiers,t,"flip"))})),t}function Yg(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[c]=o(r[s])),t}function Kg(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=ag(s);return c[e]/100*o}if("vh"===a||"vw"===a){var u=void 0;return u="vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*o}return o}function Xg(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(yg(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return u=u.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return Kg(t,i,e,n)}))})),u.forEach((function(t,e){t.forEach((function(n,r){Ag(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}function Zg(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],c=void 0;return c=Ag(+n)?[+n,0]:Xg(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t}function Jg(t,e){var n=e.boundariesElement||qv(t.instance.popper);t.instance.reference===n&&(n=qv(n));var r=Sg("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=hg(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=c;var u=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]c[t]&&!e.escapeWithReference&&(r=Math.min(l[n],c[t]-("right"===t?l.width:l.height))),ig({},n,r)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=og({},l,f[e](t))})),t.offsets.popper=l,t}function Qg(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",l={start:ig({},c,o[c]),end:ig({},c,o[c]+o[u]-a[u])};t.offsets.popper=og({},a,l[r])}return t}function tm(t){if(!Bg(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=yg(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};ng(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Rv(this.update.bind(this)),this.options=og({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(og({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=og({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return og({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&Nv(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return rg(t,[{key:"update",value:function(){return xg.call(this)}},{key:"destroy",value:function(){return kg.call(this)}},{key:"enableEventListeners",value:function(){return jg.call(this)}},{key:"disableEventListeners",value:function(){return Dg.call(this)}}]),t}();im.Utils=("undefined"!==typeof window?window:n.g).PopperUtils,im.placements=Hg,im.Defaults=rm;var om=im,am="top-start",sm="top-end",cm="bottom-start",um="bottom-end",lm="right-start",fm="left-start";function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dm(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(hm(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Ft(this,t.Defaults,this.constructor.Defaults,n,{type:e}),Nt(this,{type:Xt(),cancelable:Xt(),nativeEvent:Xt(),target:Xt(),relatedTarget:Xt(),vueTarget:Xt(),componentId:Xt()});var r=!1;this.preventDefault=function(){this.cancelable&&(r=!0)},Bt(this,"defaultPrevented",{enumerable:!0,get:function(){return r}})}return pm(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),gm=r["default"].extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Oc(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ho),t&&xc(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ho))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&xc(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ho)},beforeDestroy:function(){Oc(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ho)},methods:{isClickOut:function(t){return!js(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}}),mm=r["default"].extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Oc(this.focusInElement,"focusin",this._focusInHandler,ho),t&&xc(this.focusInElement,"focusin",this._focusInHandler,ho))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&xc(this.focusInElement,"focusin",this._focusInHandler,ho)},beforeDestroy:function(){Oc(this.focusInElement,"focusin",this._focusInHandler,ho)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}});function bm(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 ym(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once(Pi,this.focusToggler))},toggle:function(t){t=t||{};var e=t,n=e.type,r=e.keyCode;("click"===n||"keydown"===n&&-1!==[fl,bl,ul].indexOf(r))&&(this.disabled?this.visible=!1:(this.$emit(ro,t),kc(t),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){kc(t,{propagation:!1})},onKeydown:function(t){var e=t.keyCode;e===hl?this.onEsc(t):e===ul?this.focusNext(t,!1):e===yl&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,kc(t),this.$once(Pi,this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit(fi,t)},hideHandler:function(t){var e=this,n=t.target;!this.visible||js(this.$refs.menu,n)||js(this.toggler,n)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout((function(){return e.hide()}),this.inNavbar?300:0))},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var n=this,r=t.target;!this.visible||t&&Ts(Om,r)||(kc(t),this.$nextTick((function(){var t=n.getItems();if(!(t.length<1)){var i=t.indexOf(r);e&&i>0?i--:!e&&i1&&void 0!==arguments[1]?arguments[1]:null;if(Tt(t)){var n=ue(t,this.valueField),r=ue(t,this.textField);return{value:bt(n)?e||r:n,text:kf(String(bt(r)?e:r)),html:ue(t,this.htmlField),disabled:Boolean(ue(t,this.disabledField))}}return{value:e||t,text:kf(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return Ct(t)?t.map((function(t){return e.normalizeOption(t)})):Tt(t)?(he(_b,this.$options.name),Vt(t).map((function(n){return e.normalizeOption(t[n]||{},n)}))):[]}}});function Sb(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 kb(t){for(var e=1;e-1:_l(e,t)},isRadio:function(){return!1}},watch:ly({},fy,(function(t,e){_l(t,e)||this.setIndeterminate(t)})),mounted:function(){this.setIndeterminate(this[fy])},methods:{computedLocalCheckedWatcher:function(t,e){if(!_l(t,e)){this.$emit(oy,t);var n=this.$refs.input;n&&this.$emit(hy,n.indeterminate)}},handleChange:function(t){var e=this,n=t.target,r=n.checked,i=n.indeterminate,o=this.value,a=this.uncheckedValue,s=this.computedLocalChecked;if(Ct(s)){var c=zb(s,o);r&&c<0?s=s.concat(o):!r&&c>-1&&(s=s.slice(0,c).concat(s.slice(c+1)))}else s=r?o:a;this.computedLocalChecked=s,this.$nextTick((function(){e.$emit(ui,s),e.isGroup&&e.bvGroup.$emit(ui,s),e.$emit(hy,i)}))},setIndeterminate:function(t){Ct(this.computedLocalChecked)&&(t=!1);var e=this.$refs.input;e&&(e.indeterminate=t,this.$emit(hy,t))}}});function vy(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 gy(t){for(var e=1;e0&&(c=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":c.length>1,"justify-content-end":c.length<2}},c)]);var h=t(Vh,{staticClass:"b-form-date-calendar w-100",props:Qy(Qy({},fc(sw,o)),{},{hidden:!this.isVisible,value:e,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Gt(a,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},c);return t(Zy,{staticClass:"b-form-datepicker",props:Qy(Qy({},fc(cw,o)),{},{formattedValue:e?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":i,"text-light":i},this.menuClass],placeholder:s,rtl:this.isRTL,value:e}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:tw({},zo,a[zo]||this.defaultButtonFn),ref:"control"},[h])}}),fw=Ce({components:{BFormDatepicker:lw,BDatepicker:lw}});function hw(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 dw(t){for(var e=1;e1&&void 0!==arguments[1])||arguments[1];return Promise.all(Ga(t).filter((function(t){return"file"===t.kind})).map((function(t){var n=xw(t);if(n){if(n.isDirectory&&e)return Sw(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise((function(t){n.file((function(e){e.$path="",t(e)}))}))}return null})).filter(se))},Sw=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(r){var i=[],o=function o(){e.readEntries((function(e){0===e.length?r(Promise.all(i).then((function(t){return Xa(t)}))):(i.push(Promise.all(e.map((function(e){if(e){if(e.isDirectory)return t(e.createReader(),"".concat(n).concat(e.name,"/"));if(e.isFile)return new Promise((function(t){e.file((function(e){e.$path="".concat(n).concat(e.name),t(e)}))}))}return null})).filter(se))),o())}))};o()}))},kw=dc(Kt(dw(dw(dw(dw(dw(dw(dw({},Dh),mw),Hb),Wb),Kb),qb),{},{accept:uc(xo,""),browseText:uc(xo,"Browse"),capture:uc(go,!1),directory:uc(go,!1),dropPlaceholder:uc(xo,"Drop files here"),fileNameFormatter:uc(bo),multiple:uc(go,!1),noDrop:uc(go,!1),noDropPlaceholder:uc(xo,"Not allowed"),noTraverse:uc(go,!1),placeholder:uc(xo,"No file chosen")})),Pn),Cw=r["default"].extend({name:Pn,mixins:[Cl,Ah,gw,wc,Ub,Xb,Gb,wc],inheritAttrs:!1,props:kw,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var t=this.accept;return t=(t||"").trim().split(/[,\s]+/).filter(se),0===t.length?null:t.map((function(t){var e="name",n="^",r="$";k.test(t)?n="":(e="type",$.test(t)&&(r=".+$",t=t.slice(0,-1))),t=as(t);var i=new RegExp("".concat(n).concat(t).concat(r));return{rx:i,prop:e}}))},computedCapture:function(){var t=this.capture;return!0===t||""===t||(t||null)},computedAttrs:function(){var t=this.name,e=this.disabled,n=this.required,r=this.form,i=this.computedCapture,o=this.accept,a=this.multiple,s=this.directory;return dw(dw({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:t,disabled:e,required:n,form:r||null,capture:i,accept:o||null,multiple:a,directory:s,webkitdirectory:s,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var t=this.fileNameFormatter;return vc(t)?t:this.defaultFileNameFormatter},clonedFiles:function(){return ae(this.files)},flattenedFiles:function(){return Za(this.files)},fileNames:function(){return this.flattenedFiles.map((function(t){return t.name}))},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(qo,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot(Da)||this.placeholder;var t=this.flattenedFiles,e=this.clonedFiles,n=this.fileNames,r=this.computedFileNameFormatter;return this.hasNormalizedSlot(Zo)?this.normalizeSlot(Zo,{files:t,filesTraversed:e,names:n}):r(t,e,n)}},watch:(ew={},pw(ew,bw,(function(t){(!t||Ct(t)&&0===t.length)&&this.reset()})),pw(ew,"files",(function(t,e){if(!_l(t,e)){var n=this.multiple,r=this.noTraverse,i=!n||r?Za(t):t;this.$emit(yw,n?i:i[0]||null)}})),ew),created:function(){this.$_form=null},mounted:function(){var t=Ts("form",this.$el);t&&(xc(t,"reset",this.reset,fo),this.$_form=t)},beforeDestroy:function(){var t=this.$_form;t&&Oc(t,"reset",this.reset,fo)},methods:{isFileValid:function(t){if(!t)return!1;var e=this.computedAccept;return!e||e.some((function(e){return e.rx.test(t[e.prop])}))},isFilesArrayValid:function(t){var e=this;return Ct(t)?t.every((function(t){return e.isFileValid(t)})):this.isFileValid(t)},defaultFileNameFormatter:function(t,e,n){return n.join(", ")},setFiles:function(t){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?t:Za(t):Za(t).slice(0,1)},setInputFiles:function(t){try{var e=new ClipboardEvent("").clipboardData||new DataTransfer;Za(ae(t)).forEach((function(t){delete t.$path,e.items.add(t)})),this.$refs.input.files=e.files}catch(n){}},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(e){}this.files=[]},handleFiles:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=t.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(t)},focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(t){var e=this,n=t.type,r=t.target,i=t.dataTransfer,o=void 0===i?{}:i,a="drop"===n;this.$emit(ui,t);var c=Ga(o.items||[]);if(s&&c.length>0&&!yt(xw(c[0])))Ow(c,this.directory).then((function(t){return e.handleFiles(t,a)}));else{var u=Ga(r.files||o.files||[]).map((function(t){return t.$path=t.webkitRelativePath||"",t}));this.handleFiles(u,a)}},onDragenter:function(t){kc(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(t){kc(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(t){var e=this;kc(t),this.$nextTick((function(){e.dragging=!1,e.dropAllowed=!e.noDrop}))},onDrop:function(t){var e=this;kc(t),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){e.dropAllowed=!e.noDrop})):this.onChange(t)}},render:function(t){var e=this.custom,n=this.plain,r=this.size,i=this.dragging,o=this.stateClass,a=this.bvAttrs,s=t("input",{class:[{"form-control-file":n,"custom-file-input":e,focus:e&&this.hasFocus},o],style:e?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return s;var c=t("label",{staticClass:"custom-file-label",class:{dragging:i},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[t("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return t("div",{staticClass:"custom-file b-form-file",class:[pw({},"b-custom-control-".concat(r),r),o,a.class],style:a.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[s,c])}}),Pw=Ce({components:{BFormFile:Cw,BFile:Cw}}),Tw=function(t){return"\\"+t},jw=function(t){t=ss(t);var e=t.length,n=t.charCodeAt(0);return t.split("").reduce((function(r,i,o){var a=t.charCodeAt(o);return 0===a?r+"�":127===a||a>=1&&a<=31||0===o&&a>=48&&a<=57||1===o&&a>=48&&a<=57&&45===n?r+Tw("".concat(a.toString(16)," ")):0===o&&45===a&&1===e?r+Tw(i):a>=128||45===a||95===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?r+i:r+Tw(i)}),"")};function Ew(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 Dw(t){for(var e=1;e0||Vt(this.labelColProps).length>0}},watch:{ariaDescribedby:function(t,e){t!==e&&this.updateAriaDescribedby(t,e)}},mounted:function(){var t=this;this.$nextTick((function(){t.updateAriaDescribedby(t.ariaDescribedby)}))},methods:{getAlignClasses:function(t,e){return nc().reduce((function(n,r){var i=t[cc(r,"".concat(e,"Align"))]||null;return i&&n.push(["text",r,i].filter(se).join("-")),n}),[])},getColProps:function(t,e){return nc().reduce((function(n,r){var i=t[cc(r,"".concat(e,"Cols"))];return i=""===i||(i||!1),xt(i)||"auto"===i||(i=Ja(i,0),i=i>0&&i),i&&(n[r||(xt(i)?"col":"cols")]=i),n}),{})},updateAriaDescribedby:function(t,e){var n=this.labelFor;if(u&&n){var r=Cs("#".concat(jw(n)),this.$refs.content);if(r){var i="aria-describedby",o=(t||"").split(M),a=(e||"").split(M),s=($s(r,i)||"").split(M).filter((function(t){return!qa(a,t)})).concat(o).filter((function(t,e,n){return n.indexOf(t)===e})).filter(se).join(" ").trim();s?Is(r,i,s):Ms(r,i)}}},onLegendClick:function(t){if(!this.labelFor){var e=t.target,n=e?e.tagName:"";if(-1===Uw.indexOf(n)){var r=ks(Hw,this.$refs.content).filter(xs);1===r.length&&qs(r[0])}}}},render:function(t){var e=this.computedState,n=this.feedbackAriaLive,r=this.isHorizontal,i=this.labelFor,o=this.normalizeSlot,a=this.safeId,s=this.tooltip,c=a(),u=!i,l=t(),f=o(la)||this.label,h=f?a("_BV_label_"):null;if(f||r){var d=this.labelSize,p=this.labelColProps,v=u?"legend":"label";this.labelSrOnly?(f&&(l=t(v,{class:"sr-only",attrs:{id:h,for:i||null}},[f])),l=t(r?Rw:"div",{props:r?p:{}},[l])):l=t(r?Rw:v,{on:u?{click:this.onLegendClick}:{},props:r?Bw(Bw({},p),{},{tag:v}):{},attrs:{id:h,for:i||null,tabindex:u?"-1":null},class:[u?"bv-no-focus-ring":"",r||u?"col-form-label":"",!r&&u?"pt-0":"",r||u?"":"d-block",d?"col-form-label-".concat(d):"",this.labelAlignClasses,this.labelClass]},[f])}var g=t(),m=o(ua)||this.invalidFeedback,b=m?a("_BV_feedback_invalid_"):null;m&&(g=t(Mb,{props:{ariaLive:n,id:b,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:m?"-1":null}},[m]));var y=t(),w=o(Wa)||this.validFeedback,_=w?a("_BV_feedback_valid_"):null;w&&(y=t(Fb,{props:{ariaLive:n,id:_,role:n?"alert":null,state:e,tooltip:s},attrs:{tabindex:w?"-1":null}},[w]));var x=t(),O=o(Wo)||this.description,S=O?a("_BV_description_"):null;O&&(x=t(Lb,{attrs:{id:S,tabindex:"-1"}},[O]));var k=this.ariaDescribedby=[S,!1===e?b:null,!0===e?_:null].filter(se).join(" ")||null,C=t(r?Rw:"div",{props:r?this.contentColProps:{},ref:"content"},[o(Uo,{ariaDescribedby:k,descriptionId:S,id:c,labelId:h})||t(),g,y,x]);return t(u?"fieldset":r?Nb:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:c,disabled:u?this.disabled:null,role:u?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":u&&r?h:null}},r&&u?[t(Nb,[l,C])]:[l,C])}},qw=Ce({components:{BFormGroup:Gw,BFormFieldset:Gw}}),Yw=r["default"].extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}});function Kw(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 Xw(t){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2];return t=ss(t),!this.hasFormatter||this.lazyFormatter&&!n||(t=this.formatter(t,e)),t},modifyValue:function(t){return t=ss(t),this.trim&&(t=t.trim()),this.number&&(t=Qa(t,t)),t},updateValue:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.lazy;if(!r||n){this.clearDebounce();var i=function(){if(t=e.modifyValue(t),t!==e.vModelValue)e.vModelValue=t,e.$emit(n_,t);else if(e.hasFormatter){var n=e.$refs.input;n&&t!==n.value&&(n.value=t)}},o=this.computedDebounce;o>0&&!r&&!n?this.$_inputDebounceTimer=setTimeout(i,o):i()}},onInput:function(t){if(!t.target.composing){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?kc(t,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit(Ei,n))}},onChange:function(t){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?kc(t,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit(ui,n))},onBlur:function(t){var e=t.target.value,n=this.formatValue(e,t,!0);!1!==n&&(this.localValue=ss(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(si,t)},focus:function(){this.disabled||qs(this.$el)},blur:function(){this.disabled||Ys(this.$el)}}}),o_=r["default"].extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}});function a_(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 s_(t){for(var e=1;e=n?"full":e>=n-.5?"half":"empty",l={variant:o,disabled:a,readonly:s};return t("span",{staticClass:"b-rating-star",class:{focused:r&&e===n||!Ja(e)&&n===c,"b-rating-star-empty":"empty"===u,"b-rating-star-half":"half"===u,"b-rating-star-full":"full"===u},attrs:{tabindex:a||s?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(u,l)])])}}),E_=dc(Kt(b_(b_(b_(b_(b_({},Dh),x_),qt(Hb,["required","autofocus"])),qb),{},{color:uc(xo),iconClear:uc(xo,"x"),iconEmpty:uc(xo,"star"),iconFull:uc(xo,"star-fill"),iconHalf:uc(xo,"star-half"),inline:uc(go,!1),locale:uc(Co),noBorder:uc(go,!1),precision:uc(Ao),readonly:uc(go,!1),showClear:uc(go,!1),showValue:uc(go,!1),showValueMax:uc(go,!1),stars:uc(Ao,C_,(function(t){return Ja(t)>=k_})),variant:uc(xo)})),Ln),D_=r["default"].extend({name:Ln,components:{BIconStar:Xu,BIconStarHalf:Ju,BIconStarFill:Zu,BIconX:Qu},mixins:[Ah,__,Yb],props:E_,data:function(){var t=Qa(this[O_],null),e=P_(this.stars);return{localValue:yt(t)?null:T_(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return P_(this.stars)},computedRating:function(){var t=Qa(this.localValue,0),e=Ja(this.precision,3);return T_(Qa(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=Ya(this.locale).filter(se),e=new Intl.NumberFormat(t);return e.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Eh(this.computedLocale)},formattedRating:function(){var t=Ja(this.precision),e=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},i=this.computedStars.toLocaleString(n),o=this.localValue;return o=yt(o)?e?"-":"":o.toLocaleString(n,r),e?"".concat(o,"/").concat(i):o}},watch:(u_={},y_(u_,O_,(function(t,e){if(t!==e){var n=Qa(t,null);this.localValue=yt(n)?null:T_(n,0,this.computedStars)}})),y_(u_,"localValue",(function(t,e){t!==e&&t!==(this.value||0)&&this.$emit(S_,t||null)})),y_(u_,"disabled",(function(t){t&&(this.hasFocus=!1,this.blur())})),u_),methods:{focus:function(){this.disabled||qs(this.$el)},blur:function(){this.disabled||Ys(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&qa([pl,ul,ml,yl],e)){kc(t,{propagation:!1});var n=Ja(this.localValue,0),r=this.showClear?0:1,i=this.computedStars,o=this.isRTL?-1:1;e===pl?this.localValue=T_(n-o,r,i)||null:e===ml?this.localValue=T_(n+o,r,i):e===ul?this.localValue=T_(n-1,r,i)||null:e===yl&&(this.localValue=T_(n+1,r,i))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(al,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(al,{props:{icon:this.iconClear}})}},render:function(t){var e=this,n=this.disabled,r=this.readonly,i=this.name,o=this.form,a=this.inline,s=this.variant,c=this.color,u=this.noBorder,l=this.hasFocus,f=this.computedRating,h=this.computedStars,d=this.formattedRating,p=this.showClear,v=this.isRTL,g=this.isInteractive,m=this.$scopedSlots,b=[];if(p&&!n&&!r){var y=t("span",{staticClass:"b-rating-icon"},[(m[ra]||this.iconClearFn)()]);b.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:l&&0===f},attrs:{tabindex:g?"-1":null},on:{click:function(){return e.onSelected(null)}},key:"clear"},[y]))}for(var w=0;w1&&void 0!==arguments[1]?arguments[1]:null;if(Tt(t)){var n=ue(t,this.valueField),r=ue(t,this.textField),i=ue(t,this.optionsField,null);return yt(i)?{value:bt(n)?e||r:n,text:String(bt(r)?e:r),html:ue(t,this.htmlField),disabled:Boolean(ue(t,this.disabledField))}:{label:String(ue(t,this.labelField)||r),options:this.normalizeOptions(i)}}return{value:e||t,text:String(t),disabled:!1}}}}),H_=dc({disabled:uc(go,!1),value:uc(po,void 0,!0)},$n),U_=r["default"].extend({name:$n,functional:!0,props:H_,render:function(t,e){var n=e.props,r=e.data,i=e.children,o=n.value,a=n.disabled;return t("option",$e(r,{attrs:{disabled:a},domProps:{value:o}}),i)}});function W_(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 G_(t){for(var e=1;e0?t:px},computedInterval:function(){var t=Ja(this.repeatInterval,0);return t>0?t:vx},computedThreshold:function(){return tu(Ja(this.repeatThreshold,gx),1)},computedStepMultiplier:function(){return tu(Ja(this.repeatStepMultiplier,mx),1)},computedPrecision:function(){var t=this.computedStep;return ru(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return iu(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return yt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=Ya(this.locale).filter(se),e=new Intl.NumberFormat(t);return e.resolvedOptions().locale},computedRTL:function(){return Eh(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision,e=new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"});return e.format},computedFormatter:function(){var t=this.formatterFn;return vc(t)?t:this.defaultFormatter},computedAttrs:function(){return ix(ix({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,n=this.computedRequired,r=this.disabled,i=this.state,o=this.computedFormatter,a=!yt(e);return ix(ix({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===i||!a&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":ss(this.computedMin),"aria-valuemax":ss(this.computedMax),"aria-valuenow":a?e:null,"aria-valuetext":a?o(e):null})}},watch:(Q_={},ox(Q_,ux,(function(t){this.localValue=Qa(t,null)})),ox(Q_,"localValue",(function(t){this.$emit(lx,t)})),ox(Q_,"disabled",(function(t){t&&this.clearRepeat()})),ox(Q_,"readonly",(function(t){t&&this.clearRepeat()})),Q_),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||qs(this.$refs.spinner)},blur:function(){this.disabled||Ys(this.$refs.spinner)},emitChange:function(){this.$emit(ui,this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!yt(e)){var n=this.computedStep*t,r=this.computedMin,i=this.computedMax,o=this.computedMultiplier,a=this.wrap;e=ou((e-r)/n)*n+r+n,e=ou(e*o)/o,this.localValue=e>i?a?r:i:e0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;yt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;yt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;if(!(this.disabled||this.readonly||n||r||i)&&qa(bx,e)){if(kc(t,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),qa([yl,ul],e)?(this.$_keyIsDown=!0,e===yl?this.handleStepRepeat(t,this.stepUp):e===ul&&this.handleStepRepeat(t,this.stepDown)):e===gl?this.stepUp(this.computedStepMultiplier):e===vl?this.stepDown(this.computedStepMultiplier):e===dl?this.localValue=this.computedMin:e===ll&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;this.disabled||this.readonly||n||r||i||qa(bx,e)&&(kc(t,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(t,e){var n=this,r=t||{},i=r.type,o=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===i&&o)return;this.resetTimers(),e(1);var a=this.computedThreshold,s=this.computedStepMultiplier,c=this.computedDelay,u=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var t=0;n.$_autoRepeatTimer=setInterval((function(){e(tt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&n.indexOf(t)===e}))},Gx=function(t){return Ot(t)?t:Et(t)&&t.target.value||""},qx=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},Yx=dc(Kt(Mx(Mx(Mx(Mx(Mx(Mx({},Dh),Nx),Hb),qb),Kb),{},{addButtonText:uc(xo,"Add"),addButtonVariant:uc(xo,"outline-secondary"),addOnChange:uc(go,!1),duplicateTagText:uc(xo,"Duplicate tag(s)"),ignoreInputFocusSelector:uc(Co,Hx),inputAttrs:uc(wo,{}),inputClass:uc(ko),inputId:uc(xo),inputType:uc(xo,"text",(function(t){return qa(Vx,t)})),invalidTagText:uc(xo,"Invalid tag(s)"),limit:uc(yo),limitTagsText:uc(xo,"Tag limit reached"),noAddOnEnter:uc(go,!1),noOuterFocus:uc(go,!1),noTagRemove:uc(go,!1),placeholder:uc(xo,"Add tag..."),removeOnDelete:uc(go,!1),separator:uc(Co),tagClass:uc(ko),tagPills:uc(go,!1),tagRemoveLabel:uc(xo,"Remove tag"),tagRemovedLabel:uc(xo,"Tag removed"),tagValidator:uc(bo),tagVariant:uc(xo,"secondary")})),Bn),Kx=r["default"].extend({name:Bn,mixins:[Ah,Rx,Ub,Yb,Xb,wc],props:Yx,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:qx()}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return qa(Vx,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var t=this.disabled,e=this.form;return Mx(Mx({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:t,form:e})},computedInputHandlers:function(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown,reset:this.reset}},computedSeparator:function(){return Ya(this.separator).filter(Ot).filter(se).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(Ux(t),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector:function(){return Ya(this.ignoreInputFocusSelector).filter(se).join(",").trim()},disableAddButton:function(){var t=this,e=us(this.newTag);return""===e||!this.splitTags(e).some((function(e){return!qa(t.tags,e)&&t.validateTag(e)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var t=this.limit;return St(t)&&t>=0&&this.tags.length>=t}},watch:(kx={},$x(kx,Bx,(function(t){this.tags=Wx(t)})),$x(kx,"tags",(function(t,e){_l(t,this[Bx])||this.$emit(zx,t),_l(t,e)||(t=Ya(t).filter(se),e=Ya(e).filter(se),this.removedTags=e.filter((function(e){return!qa(t,e)})))})),$x(kx,"tagsState",(function(t,e){_l(t,e)||this.$emit(no,t.valid,t.invalid,t.duplicate)})),kx),created:function(){this.tags=Wx(this[Bx])},mounted:function(){var t=this,e=Ts("form",this.$el);e&&(xc(e,"reset",this.reset,fo),this.$on(ao,(function(){Oc(e,"reset",t.reset,fo)})))},methods:{addTag:function(t){if(t=Ot(t)?t:this.newTag,!this.disabled&&""!==us(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(Ps(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Tx(e.invalid),Tx(e.duplicate));this.newTag=e.all.filter((function(t){return qa(n,t)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=Ya(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){var e=this;this.disabled||(this.tags=this.tags.filter((function(e){return e!==t})),this.$nextTick((function(){e.focus()})))},reset:function(){var t=this;this.newTag="",this.tags=[],this.$nextTick((function(){t.removedTags=[],t.tagsState=qx()}))},onInputInput:function(t){if(!(this.disabled||Et(t)&&t.target.composing)){var e=Gx(t),n=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=cs(e),n&&n.test(e.slice(-1))?this.addTag():this.tagsState=""===e?qx():this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=Gx(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&Et(t)){var e=t.keyCode,n=t.target.value||"";this.noAddOnEnter||e!==fl?!this.removeOnDelete||e!==sl&&e!==cl||""!==n||(kc(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(kc(t,{propagation:!1}),this.addTag())}},onClick:function(t){var e=this,n=this.computeIgnoreInputFocusSelector,r=t.target;this.disabled||_s(r)||n&&Ts(n,r,!0)||this.$nextTick((function(){e.focus()}))},onFocusin:function(){this.hasFocus=!0},onFocusout:function(){this.hasFocus=!1},handleAutofocus:function(){var t=this;this.$nextTick((function(){vs((function(){t.autofocus&&!t.disabled&&t.focus()}))}))},focus:function(){this.disabled||qs(this.getInput())},blur:function(){this.disabled||Ys(this.getInput())},splitTags:function(t){t=ss(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(us).filter(se)},parseTags:function(t){var e=this,n=this.splitTags(t),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(t){qa(e.tags,t)||qa(r.valid,t)?qa(r.duplicate,t)||r.duplicate.push(t):e.validateTag(t)?r.valid.push(t):qa(r.invalid,t)||r.invalid.push(t)})),r},validateTag:function(t){var e=this.tagValidator;return!vc(e)||e(t)},getInput:function(){return Cs("#".concat(jw(this.computedInputId)),this.$el)},defaultRender:function(t){var e=t.addButtonText,n=t.addButtonVariant,r=t.addTag,i=t.disableAddButton,o=t.disabled,a=t.duplicateTagText,s=t.inputAttrs,c=t.inputClass,u=t.inputHandlers,l=t.inputType,f=t.invalidTagText,h=t.isDuplicate,d=t.isInvalid,p=t.isLimitReached,v=t.limitTagsText,g=t.noTagRemove,m=t.placeholder,b=t.removeTag,y=t.tagClass,w=t.tagPills,_=t.tagRemoveLabel,x=t.tagVariant,O=t.tags,S=this.$createElement,k=O.map((function(t){return t=ss(t),S(Px,{class:y,props:{disabled:o,noRemove:g,pill:w,removeLabel:_,tag:"li",title:t,variant:x},on:{remove:function(){return b(t)}},key:"tags_".concat(t)},t)})),C=f&&d?this.safeId("__invalid_feedback__"):null,P=a&&h?this.safeId("__duplicate_feedback__"):null,T=v&&p?this.safeId("__limit_feedback__"):null,j=[s["aria-describedby"],C,P,T].filter(se).join(" "),E=S("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:c,style:{outline:0,minWidth:"5rem"},attrs:Mx(Mx({},s),{},{"aria-describedby":j||null,type:l,placeholder:m||null}),domProps:{value:s.value},on:u,directives:[{name:"model",value:s.value}],ref:"input"}),D=S(nf,{staticClass:"b-form-tags-button py-0",class:{invisible:i},style:{fontSize:"90%"},props:{disabled:i||p,variant:n},on:{click:function(){return r()}},ref:"button"},[this.normalizeSlot($o)||e]),A=this.safeId("__tag_list__"),L=S("li",{staticClass:"b-from-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":A},key:"tags_field"},[S("div",{staticClass:"d-flex",attrs:{role:"group"}},[E,D])]),I=S("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:A},key:"tags_list"},[k,L]),M=S();if(f||a||v){var $=this.computedJoiner,F=S();C&&(F=S(Mb,{props:{id:C,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join($)]));var R=S();P&&(R=S(Lb,{props:{id:P},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join($)]));var N=S();T&&(N=S(Lb,{props:{id:T},key:"tags_limit_feedback"},[v])),M=S("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[F,R,N])}return[I,M]}},render:function(t){var e=this.name,n=this.disabled,r=this.required,i=this.form,o=this.tags,a=this.computedInputId,s=this.hasFocus,c=this.noOuterFocus,u=Mx({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:a,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Gt(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),l=this.normalizeSlot(Uo,u)||this.defaultRender(u),f=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:a,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),h=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),d=t();if(e&&!n){var p=o.length>0;d=(p?o:[""]).map((function(n){return t("input",{class:{"sr-only":!p},attrs:{type:p?"hidden":"text",value:n,required:r,name:e,form:i},key:"tag_input_".concat(n)})}))}return t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!c&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||c?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[f,h,l,d])}}),Xx=Ce({components:{BFormTags:Kx,BTags:Kx,BFormTag:Px,BTag:Px}});function Zx(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 Jx(t){for(var e=1;ef?s:"".concat(f,"px")}},render:function(t){return t("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),rO=Ce({components:{BFormTextarea:nO,BTextarea:nO}});function iO(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 oO(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]&&arguments[1];if(yt(e)||yt(n)||i&&yt(r))return"";var o=[e,n,i?r:0];return o.map(wO).join(":")},OO=dc(Kt(oO(oO(oO(oO({},Dh),gO),Gt(yx,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:uc(xo),disabled:uc(go,!1),hidden:uc(go,!1),hideHeader:uc(go,!1),hour12:uc(go,null),labelAm:uc(xo,"AM"),labelAmpm:uc(xo,"AM/PM"),labelHours:uc(xo,"Hours"),labelMinutes:uc(xo,"Minutes"),labelNoTimeSelected:uc(xo,"No time selected"),labelPm:uc(xo,"PM"),labelSeconds:uc(xo,"Seconds"),labelSelected:uc(xo,"Selected time"),locale:uc(Co),minutesStep:uc(Ao,1),readonly:uc(go,!1),secondsStep:uc(Ao,1),showSeconds:uc(go,!1)})),Vr),SO=r["default"].extend({name:Vr,mixins:[Ah,vO,wc],props:OO,data:function(){var t=_O(this[mO]||"");return{modelHours:t.hours,modelMinutes:t.minutes,modelSeconds:t.seconds,modelAmpm:t.ampm,isLive:!1}},computed:{computedHMS:function(){var t=this.modelHours,e=this.modelMinutes,n=this.modelSeconds;return xO({hours:t,minutes:e,seconds:n},this.showSeconds)},resolvedOptions:function(){var t=Ya(this.locale).filter(se),e={hour:yO,minute:yO,second:yO};wt(this.hour12)||(e.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(t,e),r=n.resolvedOptions(),i=r.hour12||!1,o=r.hourCycle||(i?"h12":"h23");return{locale:r.locale,hour12:i,hourCycle:o}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Eh(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(se).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:yO,minute:yO,timeZone:"UTC"};return this.showSeconds&&(t.second=yO),mh(this.computedLocale,t)},numberFormatter:function(){var t=new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return t.format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(dh(Date.UTC(0,0,1,t,e,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var n=e.hasFocus;return t(Hu,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var n=e.hasFocus;return t(Hu,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(tO={},aO(tO,mO,(function(t,e){if(t!==e&&!_l(_O(t),_O(this.computedHMS))){var n=_O(t),r=n.hours,i=n.minutes,o=n.seconds,a=n.ampm;this.modelHours=r,this.modelMinutes=i,this.modelSeconds=o,this.modelAmpm=a}})),aO(tO,"computedHMS",(function(t,e){t!==e&&this.$emit(bO,t)})),aO(tO,"context",(function(t,e){_l(t,e)||this.$emit(di,t)})),aO(tO,"modelAmpm",(function(t,e){var n=this;if(t!==e){var r=yt(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===t&&r>11?n.modelHours=r-12:1===t&&r<12&&(n.modelHours=r+12)}))}})),aO(tO,"modelHours",(function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)})),tO),created:function(){var t=this;this.$nextTick((function(){t.$emit(di,t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||qs(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=ys();js(this.$el,t)&&Ys(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=this.is12Hour&&t>12?t-12:t,t=0===t&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.keyCode;if(!this.disabled&&"keydown"===e&&(n===pl||n===ml)){kc(t);var r=this.$refs.spinners||[],i=r.map((function(t){return!!t.hasFocus})).indexOf(!0);i+=n===pl?-1:1,i=i>=r.length?0:i<0?r.length-1:i,qs(r[i])}},setLive:function(t){var e=this;t?this.$nextTick((function(){vs((function(){e.isLive=!0}))})):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var n=this.valueId,r=this.computedAriaLabelledby,i=[],o=function(r,o,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=e.safeId("_spinbutton_".concat(o,"_"))||null;return i.push(c),t(wx,{class:a,props:oO({id:c,placeholder:"--",vertical:!0,required:!0,disabled:e.disabled,readonly:e.readonly,locale:e.computedLocale,labelIncrement:e.labelIncrement,labelDecrement:e.labelDecrement,wrap:!0,ariaControls:n,min:0},s),scopedSlots:e.spinScopedSlots,on:{change:r},key:o,ref:"spinners",refInFor:!0})},a=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":e.disabled||e.readonly},attrs:{"aria-hidden":"true"}},[t(Uu,{props:{shiftV:4,scale:.5}}),t(Uu,{props:{shiftV:-4,scale:.5}})])},s=[];s.push(o(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),s.push(a()),s.push(o(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(s.push(a()),s.push(o(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&s.push(o(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),s=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:this.disabled||this.readonly?null:"-1","aria-labelledby":r},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&e.focus()}}},s);var c=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:this.disabled||this.readonly},attrs:{id:n,role:"status",for:i.filter(se).join(" ")||null,tabindex:this.disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:this.focus,focus:this.focus}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),u=t("header",{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[c]),l=this.normalizeSlot();return l=l?t("footer",{staticClass:"b-time-footer"},l):t(),t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":r||null,"aria-disabled":this.disabled?"true":null,"aria-readonly":this.readonly&&!this.disabled?"true":null}},[u,s,l])}});function kO(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 CO(t){for(var e=1;e0&&a.push(t("span"," "));var c=this.labelResetButton;a.push(t(nf,{props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onResetButton},key:"reset-btn"},c))}if(!this.noCloseButton){a.length>0&&a.push(t("span"," "));var u=this.labelCloseButton;a.push(t(nf,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onCloseButton},key:"close-btn"},u))}a.length>0&&(a=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":a.length>1,"justify-content-end":a.length<2}},a)]);var l=t(SO,{staticClass:"b-form-time-control",props:CO(CO({},fc(LO,i)),{},{value:e,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},a);return t(Zy,{staticClass:"b-form-timepicker",props:CO(CO({},fc(IO,i)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:o,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:PO({},zo,this.$scopedSlots[zo]||this.defaultButtonFn),ref:"control"},[l])}}),FO=Ce({components:{BFormTimepicker:$O,BTimepicker:$O}}),RO=Ce({components:{BImg:pd,BImgLazy:Ud}}),NO=dc({tag:uc(xo,"div")},Qn),BO=r["default"].extend({name:Qn,functional:!0,props:NO,render:function(t,e){var n=e.props,r=e.data,i=e.children;return t(n.tag,$e(r,{staticClass:"input-group-text"}),i)}}),zO=dc({append:uc(go,!1),id:uc(xo),isText:uc(go,!1),tag:uc(xo,"div")},Xn),VO=r["default"].extend({name:Xn,functional:!0,props:zO,render:function(t,e){var n=e.props,r=e.data,i=e.children,o=n.append;return t(n.tag,$e(r,{class:{"input-group-append":o,"input-group-prepend":!o},attrs:{id:n.id}}),n.isText?[t(BO,i)]:i)}});function HO(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 UO(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e};function WS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var GS=r["default"].extend({computed:{scopedStyleAttrs:function(){var t=US(this.$parent);return t?WS({},t,""):{}}}}),qS=r["default"].extend({abstract:!0,name:oi,props:{nodes:uc(Oo)},data:function(t){return{updatedNodes:t.nodes}},destroyed:function(){ms(this.$el)},render:function(t){var e=this.updatedNodes,n=_t(e)?e({}):e;return n=Ya(n).filter(se),n&&n.length>0&&!n[0].text?n[0]:t()}}),YS={container:uc([ht,xo],"body"),disabled:uc(go,!1),tag:uc(xo,"div")},KS=r["default"].extend({name:ii,mixins:[wc],props:YS,watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(u){var t=this.container;return Ot(t)?Cs(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=new qS({el:e,parent:this,propsData:{nodes:Ya(this.normalizeSlot())}})}}},updateTarget:function(){if(u&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=Ya(this.normalizeSlot()).filter(se);if(e.length>0&&!e[0].text)return e[0]}return t()}});function XS(t){return XS="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},XS(t)}function ZS(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 JS(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return tk(this,n),r=e.call(this,t,i),Nt(uk(r),{trigger:Xt()}),r}return nk(n,null,[{key:"Defaults",get:function(){return JS(JS({},rk(fk(n),"Defaults",this)),{},{trigger:null})}}]),n}(vm),dk=1040,pk=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vk=".sticky-top",gk=".navbar-toggler",mk=r["default"].extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(t,e){u&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),Ds(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),As(document.body,"modal-open")),Is(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),vs((function(){e.updateModals(t||[])}))}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once(ao,(function(){e.unregisterModal(t)})))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(yt(this.baseZIndex)&&u){var t=document.createElement("div");Ds(t,"modal-backdrop"),Ds(t,"d-none"),Rs(t,"display","none"),document.body.appendChild(t),this.baseZIndex=Ja(Vs(t).zIndex,dk),document.body.removeChild(t)}return this.baseZIndex||dk},getScrollbarWidth:function(){if(yt(this.scrollbarWidth)&&u){var t=document.createElement("div");Ds(t,"modal-scrollbar-measure"),document.body.appendChild(t),this.scrollbarWidth=zs(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();t.forEach((function(t,i){t.zIndex=n+i,t.scrollbarWidth=r,t.isTop=i===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing}))},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=zs(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=ap(this.$refs.content,this.checkModalOverflow.bind(this),Mk))},updateModel:function(t){t!==this[kk]&&this.$emit(Ck,t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new hk(t,wk(wk({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once(Pi,this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var t=this.buildEvent(Zi,{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent(Ti,{cancelable:t!==jk,trigger:t||null});if(t===Lk?this.$emit(Mi,e):t===Dk?this.$emit(ci,e):t===Ak&&this.$emit(hi,e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.$_returnFocus=t),this.isVisible?this.hide(Ek):this.show()},getActiveElement:function(){var t=ys(u?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;bk.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(Pc(sr,Pi),this.doShow):(bk.registerModal(this),this.isHidden=!1,this.$nextTick((function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick((function(){t.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,vs((function(){vs((function(){t.isShow=!0}))}))},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,vs((function(){t.emitEvent(t.buildEvent(Ji)),t.setEnforceFocus(!0),t.$nextTick((function(){t.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){t.isClosing=!1,bk.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent(Pi))}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Pc(sr,e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal,n=function n(r){Oc(e,"mouseup",n,ho),r.target===e&&(t.ignoreBackdropClick=!0)};xc(e,"mouseup",n,ho)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&js(document.body,t.target)&&(js(this.$refs.content,t.target)||this.hide(Pk))},onOk:function(){this.hide(Lk)},onCancel:function(){this.hide(Dk)},onClose:function(){this.hide(Ak)},onEsc:function(t){t.keyCode===hl&&this.isVisible&&!this.noCloseOnEsc&&this.hide(Tk)},focusHandler:function(t){var e=this.$refs.content,n=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!e||document===n||js(e,n)||this.computeIgnoreEnforceFocusSelector&&Ts(this.computeIgnoreEnforceFocusSelector,n,!0))){var r=Gs(this.$refs.content),i=this.$refs["bottom-trap"],o=this.$refs["top-trap"];if(i&&n===i){if(qs(r[0]))return}else if(o&&n===o&&qs(r[r.length-1]))return;qs(e,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.$_returnFocus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;u&&vs((function(){var e=t.$refs.modal,n=t.$refs.content,r=t.getActiveElement();if(e&&n&&(!r||!js(n,r))){var i=t.$refs["ok-button"],o=t.$refs["cancel-button"],a=t.$refs["close-button"],s=t.autoFocusButton,c=s===Lk&&i?i.$el||i:s===Dk&&o?o.$el||o:s===Ak&&a?a.$el||a:n;qs(c),c===n&&t.$nextTick((function(){e.scrollTop=0}))}}))},returnFocusTo:function(){var t=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){t=Ot(t)?Cs(t):t,t&&(t=t.$el||t,qs(t))}))},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var n=this.normalizeSlot(ma,this.slotScope);if(!n){var r=t();this.hideHeaderClose||(r=t(Dc,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(ba)])),n=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(wa)?{}:Cf(this.titleHtml,this.title)},this.normalizeSlot(wa,this.slotScope)),r]}e=t("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(Uo,this.slotScope)),o=t();if(!this.hideFooter){var a=this.normalizeSlot(ga,this.slotScope);if(!a){var s=t();this.okOnly||(s=t(nf,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(va)?{}:Cf(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(va)));var c=t(nf,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(ya)?{}:Cf(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(ya));a=[s,c]}o=t("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[a])}var u=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,i,o]),l=t(),f=t();this.isVisible&&!this.noEnforceFocus&&(l=t("span",{attrs:{tabindex:"0"},ref:"top-trap"}),f=t("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var h=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[l,u,f]),d=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[h]);d=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[d]);var p=t();return!this.hideBackdrop&&this.isVisible&&(p=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(pa))),p=t(Nc,{props:{noFade:this.noFade}},[p]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[Fe])},[d,p])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(KS,[this.makeModal(t)])}}),Rk=Tc(sr,Zi),Nk="__bv_modal_directive__",Bk=function(t){var e=t.modifiers,n=void 0===e?{}:e,r=t.arg,i=t.value;return Ot(i)?i:Ot(r)?r:Vt(n).reverse()[0]},zk=function(t){return t&&Ps(t,".dropdown-menu > li, li.nav-item")&&Cs("a, button",t)||t},Vk=function(t){t&&"BUTTON"!==t.tagName&&(Fs(t,"role")||Is(t,"role","button"),"A"===t.tagName||Fs(t,"tabindex")||Is(t,"tabindex","0"))},Hk=function(t,e,n){var r=Bk(e),i=zk(t);if(r&&i){var o=function(t){var e=t.currentTarget;if(!Os(e)){var i=t.type,o=t.keyCode;"click"!==i&&("keydown"!==i||o!==fl&&o!==bl)||n.context.$root.$emit(Rk,r,e)}};t[Nk]={handler:o,target:r,trigger:i},Vk(i),xc(i,"click",o,fo),"BUTTON"!==i.tagName&&"button"===$s(i,"role")&&xc(i,"keydown",o,fo)}},Uk=function(t){var e=t[Nk]||{},n=e.trigger,r=e.handler;n&&r&&(Oc(n,"click",r,fo),Oc(n,"keydown",r,fo),Oc(t,"click",r,fo),Oc(t,"keydown",r,fo)),delete t[Nk]},Wk=function(t,e,n){var r=t[Nk]||{},i=Bk(e),o=zk(t);i===r.target&&o===r.trigger||(Uk(t,e,n),Hk(t,e,n)),Vk(o)},Gk=function(){},qk={inserted:Wk,updated:Gk,componentUpdated:Wk,unbind:Uk};function Yk(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kk(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:uC;if(!de(aC)&&!pe(aC)){var i=new e({parent:t,propsData:Jk(Jk(Jk({},fC(Js(sr))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},qt(n,Vt(lC))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Vt(lC).forEach((function(t){bt(n[t])||(i.$slots[lC[t]]=Ya(n[t]))})),new Promise((function(t,e){var n=!1;i.$once(so,(function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))})),i.$on(Ti,(function(e){if(!e.defaultPrevented){var i=r(e);e.defaultPrevented||(n=!0,t(i))}}));var o=document.createElement("div");document.body.appendChild(o),i.$mount(o)}))}},r=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(e&&!pe(aC)&&!de(aC)&&_t(i))return n(t,Jk(Jk({},fC(r)),{},{msgBoxContent:e}),i)},i=function(){function t(e){Yk(this,t),Ft(this,{_vm:e,_root:e.$root}),Nt(this,{_vm:Xt(),_root:Xt()})}return Xk(t,[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=Jk(Jk({},e),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return r(this._vm,t,n,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Jk(Jk({},e),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return r(this._vm,t,n,(function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null}))}}]),t}();t.mixin({beforeCreate:function(){this[sC]=new i(this)}}),Ht(t.prototype,aC)||Bt(t.prototype,aC,{get:function(){return this&&this[sC]||he('"'.concat(aC,'" must be accessed from a Vue instance "this" context.'),sr),this[sC]}})},dC=Ce({plugins:{plugin:hC}}),pC=Ce({components:{BModal:Fk},directives:{VBModal:qk},plugins:{BVModalPlugin:dC}});function vC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gC=function(t){return t="left"===t?"start":"right"===t?"end":t,"justify-content-".concat(t)},mC=dc({align:uc(xo),cardHeader:uc(go,!1),fill:uc(go,!1),justified:uc(go,!1),pills:uc(go,!1),small:uc(go,!1),tabs:uc(go,!1),tag:uc(xo,"ul"),vertical:uc(go,!1)},ur),bC=r["default"].extend({name:ur,functional:!0,props:mC,render:function(t,e){var n,r=e.props,i=e.data,o=e.children,a=r.tabs,s=r.pills,c=r.vertical,u=r.align,l=r.cardHeader;return t(r.tag,$e(i,{staticClass:"nav",class:(n={"nav-tabs":a,"nav-pills":s&&!a,"card-header-tabs":!c&&l&&a,"card-header-pills":!c&&l&&s&&!a,"flex-column":c,"nav-fill":!c&&r.fill,"nav-justified":!c&&r.justified},vC(n,gC(u),!c&&u),vC(n,"small",r.small),n)}),o)}});function yC(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 wC(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0&&e<=1})),overlayTag:uc(xo,"div"),rounded:uc(jo,!1),show:uc(go,!1),spinnerSmall:uc(go,!1),spinnerType:uc(xo,"border"),spinnerVariant:uc(xo),variant:uc(xo,"light"),wrapTag:uc(xo,"div"),zIndex:uc(Ao,10)},br),yP=r["default"].extend({name:br,mixins:[wc],props:bP,computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){var t=this.variant;return t&&!this.bgColor?"bg-".concat(t):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,n=t.spinnerVariant,r=t.spinnerSmall;return this.$createElement(hP,{props:{type:e,variant:n,small:r}})}},render:function(t){var e=this,n=this.show,r=this.fixed,i=this.noFade,o=this.noWrap,a=this.slotScope,s=t();if(n){var c=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:pP(pP({},mP),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),u=t("div",{staticClass:"position-absolute",style:this.noCenter?pP({},mP):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(ja,a)||this.defaultOverlayFn(a)]);s=t(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!o||o&&!r,"position-fixed":o&&r},style:pP(pP({},mP),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit(fi,t)}},key:"overlay"},[c,u])}return s=t(Nc,{props:{noFade:i,appear:!0},on:{"after-enter":function(){return e.$emit(Ji)},"after-leave":function(){return e.$emit(Pi)}}},[s]),o?s:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},o?[s]:[this.normalizeSlot(),s])}}),wP=Ce({components:{BOverlay:yP}});function _P(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 xP(t){for(var e=1;ee?e:n<1?1:n},IP=function(t){if(t.keyCode===bl)return kc(t,{immediatePropagation:!0}),t.currentTarget.click(),!1},MP=dc(Kt(xP(xP({},CP),{},{align:uc(xo,"left"),ariaLabel:uc(xo,"Pagination"),disabled:uc(go,!1),ellipsisClass:uc(ko),ellipsisText:uc(xo,"…"),firstClass:uc(ko),firstNumber:uc(go,!1),firstText:uc(xo,"«"),hideEllipsis:uc(go,!1),hideGotoEndButtons:uc(go,!1),labelFirstPage:uc(xo,"Go to first page"),labelLastPage:uc(xo,"Go to last page"),labelNextPage:uc(xo,"Go to next page"),labelPage:uc(Do,"Go to page"),labelPrevPage:uc(xo,"Go to previous page"),lastClass:uc(ko),lastNumber:uc(go,!1),lastText:uc(xo,"»"),limit:uc(Ao,EP,(function(t){return!(Ja(t,0)<1)||(he('Prop "limit" must be a number greater than "0"',yr),!1)})),nextClass:uc(ko),nextText:uc(xo,"›"),pageClass:uc(ko),pills:uc(go,!1),prevClass:uc(ko),prevText:uc(xo,"‹"),size:uc(xo)})),"pagination"),$P=r["default"].extend({mixins:[kP,wc],props:MP,data:function(){var t=Ja(this[PP],0);return t=t>0?t:-1,{currentPage:t,localNumberOfPages:1,localLimit:EP}},computed:{btnSize:function(){var t=this.size;return t?"pagination-".concat(t):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return LP(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,i=this.firstNumber,o=this.lastNumber,a=!1,s=!1,c=t,u=1;e<=t?c=e:njP?(r&&!o||(s=!0,c=t-(i?0:1)),c=Qc(c,t)):e-n+2jP?(r&&!i||(a=!0,c=t-(o?0:1)),u=e-c+1):(t>jP&&(c=t-(r?0:2),a=!(r&&!i),s=!(r&&!o)),u=n-ru(c/2)),u<1?(u=1,a=!1):u>e-c&&(u=e-c+1,s=!1),a&&i&&u<4&&(c+=2,u=1,a=!1);var l=u+c-1;return s&&o&&l>e-3&&(c+=l===e-2?2:3,s=!1),t<=jP&&(i&&1===u?c=Qc(c+1,e,t+1):o&&e===u+c-1&&(u=tu(u-1,1),c=Qc(e-u+1,e,t+1))),c=Qc(c,e-u+1),{showFirstDots:a,showLastDots:s,numberOfLinks:c,startNumber:u}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,n=t.startNumber,r=this.computedCurrentPage,i=DP(n,e);if(i.length>3){var o=r-n,a="bv-d-xs-down-none";if(0===o)for(var s=3;so+1;l--)i[l].classes=a}}return i}},watch:(gP={},OP(gP,PP,(function(t,e){t!==e&&(this.currentPage=LP(t,this.localNumberOfPages))})),OP(gP,"currentPage",(function(t,e){t!==e&&this.$emit(TP,t>0?t:null)})),OP(gP,"limit",(function(t,e){t!==e&&(this.localLimit=AP(t))})),gP),created:function(){var t=this;this.localLimit=AP(this.limit),this.$nextTick((function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage}))},methods:{handleKeyNav:function(t){var e=t.keyCode,n=t.shiftKey;this.isNav||(e===pl||e===yl?(kc(t,{propagation:!1}),n?this.focusFirst():this.focusPrev()):e!==ml&&e!==ul||(kc(t,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return ks("button.page-link, a.page-link",this.$el).filter((function(t){return xs(t)}))},focusCurrent:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(e){return Ja($s(e,"aria-posinset"),0)===t.computedCurrentPage}));qs(e)||t.focusFirst()}))},focusFirst:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(t){return!Os(t)}));qs(e)}))},focusLast:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().reverse().find((function(t){return!Os(t)}));qs(e)}))},focusPrev:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(ys());n>0&&!Os(e[n-1])&&qs(e[n-1])}))},focusNext:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(ys());na,g=r<1?1:r>a?a:r,m={disabled:d,page:g,index:g-1},b=e.normalizeSlot(s,m)||ss(c)||t(),y=t(d?"span":o?Vl:"button",{staticClass:"page-link",class:{"flex-grow-1":!o&&!d&&h},props:d||!o?{}:e.linkProps(r),attrs:{role:o?null:"menuitem",type:o||d?null:"button",tabindex:d||o?null:"-1","aria-label":i,"aria-controls":e.ariaControls||null,"aria-disabled":d?"true":null},on:d?{}:{"!click":function(t){e.onClick(t,r)},keydown:IP}},[b]);return t("li",{key:f,staticClass:"page-item",class:[{disabled:d,"flex-fill":h,"d-flex":h&&!o&&!d},u],attrs:{role:o?null:"presentation","aria-hidden":d?"true":null}},[y])},m=function(n){return t("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",h?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[t("span",{staticClass:"page-link"},[e.normalizeSlot(Yo)||ss(e.ellipsisText)||t()])])},b=function(i,s){var c=i.number,u=p(c)&&!v,l=n?null:u||v&&0===s?"0":"-1",f={role:o?null:"menuitemradio",type:o||n?null:"button","aria-disabled":n?"true":null,"aria-controls":e.ariaControls||null,"aria-label":vc(r)?r(c):"".concat(_t(r)?r():r," ").concat(c),"aria-checked":o?null:u?"true":"false","aria-current":o&&u?"page":null,"aria-posinset":o?null:c,"aria-setsize":o?null:a,tabindex:o?null:l},d=ss(e.makePage(c)),g={page:c,index:c-1,content:d,active:u,disabled:n},m=t(n?"span":o?Vl:"button",{props:n||!o?{}:e.linkProps(c),staticClass:"page-link",class:{"flex-grow-1":!o&&!n&&h},attrs:f,on:n?{}:{"!click":function(t){e.onClick(t,c)},keydown:IP}},[e.normalizeSlot(Ea,g)||d]);return t("li",{staticClass:"page-item",class:[{disabled:n,active:u,"flex-fill":h,"d-flex":h&&!o&&!n},i.classes,e.pageClass],attrs:{role:o?null:"presentation"},key:"page-".concat(c)},[m])},y=t();this.firstNumber||this.hideGotoEndButtons||(y=g(1,this.labelFirstPage,Qo,this.firstText,this.firstClass,1,"pagination-goto-first")),d.push(y),d.push(g(s-1,this.labelPrevPage,La,this.prevText,this.prevClass,1,"pagination-goto-prev")),d.push(this.firstNumber&&1!==c[0]?b({number:1},0):t()),d.push(l?m(!1):t()),this.pageList.forEach((function(t,n){var r=l&&e.firstNumber&&1!==c[0]?1:0;d.push(b(t,n+r))})),d.push(f?m(!0):t()),d.push(this.lastNumber&&c[c.length-1]!==a?b({number:a},-1):t()),d.push(g(s+1,this.labelNextPage,Ta,this.nextText,this.nextClass,a,"pagination-goto-next"));var w=t();this.lastNumber||this.hideGotoEndButtons||(w=g(a,this.labelLastPage,fa,this.lastText,this.lastClass,a,"pagination-goto-last")),d.push(w);var _=t("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:o?null:"menubar","aria-disabled":n?"true":"false","aria-label":o?null:i||null},on:o?{}:{keydown:this.handleKeyNav},ref:"ul"},d);return o?t("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":o&&i||null}},[_]):_}});function FP(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 RP(t){for(var e=1;et.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=Ja(this[PP],0);e>0?this.currentPage=e:this.$nextTick((function(){t.currentPage=0}))},methods:{onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.target,i=new vm(Fi,{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(this.currentPage=e,this.$emit(ui,this.currentPage),this.$nextTick((function(){xs(r)&&n.$el.contains(r)?qs(r):n.focusCurrent()})))}},makePage:function(t){return t},linkProps:function(){return{}}}}),GP=Ce({components:{BPagination:WP}});function qP(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 YP(t){for(var e=1;e0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=XP(this.numberOfPages),this.$nextTick((function(){t.guessCurrentPage()}))},onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.currentTarget||t.target,i=new vm(Fi,{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(vs((function(){n.currentPage=e,n.$emit(ui,e)})),this.$nextTick((function(){Ys(r)})))}},getPageInfo:function(t){if(!Ct(this.pages)||0===this.pages.length||bt(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:ss(t)}}var n=this.pages[t-1];if(Pt(n)){var r=n.link;return{link:Pt(r)?r:this.useRouter?{path:r}:r,text:ss(n.text||t)}}return{link:ss(n),text:ss(t)}},makePage:function(t){var e=this.pageGen,n=this.getPageInfo(t);return vc(e)?e(t,n):n.text},makeLink:function(t){var e=this.linkGen,n=this.getPageInfo(t);return vc(e)?e(t,n):n.link},linkProps:function(t){var e=fc(ZP,this),n=this.makeLink(t);return this.useRouter||Pt(n)?e.to=n:e.href=n,e},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{t=document.createElement("a"),t.href=Cu({to:e},"a","/","/"),document.body.appendChild(t);var n=t,r=n.pathname,i=n.hash,o=n.search;return document.body.removeChild(t),{path:r,hash:i,query:_u(o)}}catch(Ae){try{t&&t.parentNode&&t.parentNode.removeChild(t)}catch(a){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(Ae){return{}}},guessCurrentPage:function(){var t=this.$router,e=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(u||!u&&t))for(var r=t&&e?{path:e.path,hash:e.hash,query:e.query}:{},i=u?window.location||document.location:null,o=i?{path:i.pathname,hash:i.hash,query:_u(i.search)}:{},a=1;!n&&a<=this.localNumberOfPages;a++){var s=this.makeLink(a);n=t&&(Pt(s)||this.useRouter)?_l(this.resolveRoute(s),r)?a:null:u?_l(this.resolveLink(s),o)?a:null:-1}this.currentPage=n>0?n:0}}}),tT=Ce({components:{BPaginationNav:QP}}),eT={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},nT={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},rT={arrowPadding:uc(Ao,6),boundary:uc([ht,xo],"scrollParent"),boundaryPadding:uc(Ao,5),fallbackPlacement:uc(Co,"flip"),offset:uc(Ao,0),placement:uc(xo,"top"),target:uc([ht,dt])},iT=r["default"].extend({name:Jr,props:rT,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t.popperPlacementChange(e)},onUpdate:function(e){t.popperPlacementChange(e)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on(Zi,(function(e){t.popperCreate(e)}));var e=function(){t.$nextTick((function(){vs((function(){t.$destroy()}))}))};this.$parent.$once(so,e),this.$once(Pi,e)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return eT[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||Cs(".arrow",this.$el),n=Qa(Vs(e).width,0)+Qa(this.arrowPadding,0);switch(nT[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new om(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(t){this.attachment=this.getAttachment(t.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this,n=this.noFade;return t(Nc,{props:{appear:!0,noFade:n},on:{beforeEnter:function(t){return e.$emit(Zi,t)},afterEnter:function(t){return e.$emit(Ji,t)},beforeLeave:function(t){return e.$emit(Ti,t)},afterLeave:function(t){return e.$emit(Pi,t)}}},[this.localShow?this.renderTemplate(t):t()])}});function oT(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 aT(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=!1;Vt(xT).forEach((function(r){bt(e[r])||t[r]===e[r]||(t[r]=e[r],"title"===r&&(n=!0))})),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),n=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Ja(this.offset,0),arrowPadding:Ja(this.arrowPadding,0),boundaryPadding:Ja(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(Zi,this.onTemplateShow),n.$once(Ji,this.onTemplateShown),n.$once(Ti,this.onTemplateHide),n.$once(Pi,this.onTemplateHidden),n.$once(so,this.destroyTemplate),n.$on(Si,this.handleEvent),n.$on(ki,this.handleEvent),n.$on(Ai,this.handleEvent),n.$on(Li,this.handleEvent),n.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){var n=["title","content","variant","customClass","noFade","interactive"];n.forEach((function(n){e[n]!==t[n]&&(e[n]=t[n])}))}},show:function(){var t=this.getTarget();if(t&&js(document.body,t)&&xs(t)&&!this.dropdownOpen()&&(!wt(this.title)&&""!==this.title||!wt(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent(Zi,{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getTemplateElement();if(e&&this.localShow){var n=this.buildEvent(Ti,{cancelable:!t});this.emitEvent(n),n.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){var t=this.getTemplateElement();t&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent(_i))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(mi))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent(Ji))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Pi))},getTarget:function(){var t=this.target;return Ot(t)?t=Es(t.replace(/^#/,"")):_t(t)?t=t():t&&(t=t.$el||t),bs(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),e=document.body,n=this.getTarget();return!1===t?Ts(bT,n)||e:Ot(t)&&Es(t.replace(/^#/,""))||e},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&Ts(vT,t)},isDropdown:function(){var t=this.getTarget();return t&&Ls(t,yT)},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&Cs(wT,t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),e=$s(t,"aria-describedby")||"";e=e.split(/\s+/).concat(this.computedId).join(" ").trim(),Is(t,"aria-describedby",e)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),n=$s(e,"aria-describedby")||"";n=n.split(/\s+/).filter((function(e){return e!==t.computedId})).join(" ").trim(),n?Is(e,"aria-describedby",n):Ms(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();if(Fs(t,"title")){var e=$s(t,"title");Is(t,"title",""),e&&Is(t,_T,e)}},restoreTitle:function(){var t=this.getTarget();if(Fs(t,_T)){var e=$s(t,_T);Ms(t,_T),e&&Is(t,"title",e)}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new vm(t,fT({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Pc(this.templateType,e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach((function(n){"click"===n?xc(e,"click",t.handleEvent,ho):"focus"===n?(xc(e,"focusin",t.handleEvent,ho),xc(e,"focusout",t.handleEvent,ho)):"blur"===n?xc(e,"focusout",t.handleEvent,ho):"hover"===n&&(xc(e,"mouseenter",t.handleEvent,ho),xc(e,"mouseleave",t.handleEvent,ho))}),this))},unListen:function(){var t=this,e=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),e.forEach((function(e){n&&Oc(n,e,t.handleEvent,ho)}),this)},setRootListener:function(t){var e=this.$root;if(e){var n=t?"$on":"$off",r=this.templateType;e[n](Tc(r,Ti),this.doHide),e[n](Tc(r,Zi),this.doShow),e[n](Tc(r,gi),this.doDisable),e[n](Tc(r,wi),this.doEnable)}},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var n=this.getTarget(),r=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval((function(){!r||!e.localShow||n.parentNode&&xs(n)||e.forceHide()}),100))},setModalListener:function(t){this.isInModal()&&this.$root[t?"$on":"$off"](gT,this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&Ga(document.body.children).forEach((function(n){Sc(t,n,"mouseover",e.$_noop)}))},setDropdownListener:function(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"](Ji,this.forceHide)},handleEvent:function(t){var e=this.getTarget();if(e&&!Os(e)&&this.$_enabled&&!this.dropdownOpen()){var n=t.type,r=this.computedTriggers;if("click"===n&&qa(r,"click"))this.click(t);else if("mouseenter"===n&&qa(r,"hover"))this.enter(t);else if("focusin"===n&&qa(r,"focus"))this.enter(t);else if("focusout"===n&&(qa(r,"focus")||qa(r,"blur"))||"mouseleave"===n&&qa(r,"hover")){var i=this.getTemplateElement(),o=t.target,a=t.relatedTarget;if(i&&js(i,o)&&js(e,a)||i&&js(e,o)&&js(i,a)||i&&js(i,o)&&js(i,a)||js(e,o)&&js(e,a))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&(qs(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&qa(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===t.$_hoverState&&t.hide()}),this.computedDelay.hide):this.hide())}}});function ST(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 kT(t){for(var e=1;e0&&t[HT].updateData(e)}))}var o={title:r.title,content:r.content,triggers:r.trigger,placement:r.placement,fallbackPlacement:r.fallbackPlacement,variant:r.variant,customClass:r.customClass,container:r.container,boundary:r.boundary,delay:r.delay,offset:r.offset,noFade:!r.animation,id:r.id,disabled:r.disabled,html:r.html},a=t[HT].__bv_prev_data__;if(t[HT].__bv_prev_data__=o,!_l(o,a)){var s={target:t};Vt(o).forEach((function(e){o[e]!==a[e]&&(s[e]="title"!==e&&"content"!==e||!_t(o[e])?o[e]:o[e](t))})),t[HT].updateData(s)}}},ij=function(t){t[HT]&&(t[HT].$destroy(),t[HT]=null),delete t[HT]},oj={bind:function(t,e,n){rj(t,e,n)},componentUpdated:function(t,e,n){n.context.$nextTick((function(){rj(t,e,n)}))},unbind:function(t){ij(t)}},aj=Ce({directives:{VBPopover:oj}}),sj=Ce({components:{BPopover:NT},plugins:{VBPopoverPlugin:aj}}),cj=dc({animated:uc(go,null),label:uc(xo),labelHtml:uc(xo),max:uc(Ao,null),precision:uc(Ao,null),showProgress:uc(go,null),showValue:uc(go,null),striped:uc(go,null),value:uc(Ao,0),variant:uc(xo)},Or),uj=r["default"].extend({name:Or,mixins:[wc],inject:{bvProgress:{default:function(){return{}}}},props:cj,computed:{progressBarClasses:function(){var t=this.computedAnimated,e=this.computedVariant;return[e?"bg-".concat(e):"",this.computedStriped||t?"progress-bar-striped":"",t?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return Qa(this.value,0)},computedMax:function(){var t=Qa(this.max)||Qa(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return tu(Ja(this.precision,Ja(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,e=iu(10,t);return ts(100*e*this.computedValue/this.computedMax/e,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return xt(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return xt(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return xt(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return xt(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e,n=this.label,r=this.labelHtml,i=this.computedValue,o=this.computedPrecision,a={};return this.hasNormalizedSlot()?e=this.normalizeSlot():n||r?a=Cf(r,n):this.computedShowProgress?e=this.computedProgress:this.computedShowValue&&(e=ts(i,o)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":ss(this.computedMax),"aria-valuenow":ts(i,o)},domProps:a},e)}});function lj(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 fj(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()})),dj),created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot(Oj,this.handleToggle),this.listenOnRoot(xj,this.handleSync),this.$nextTick((function(){t.emitState(t.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(Sj,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(kj,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick((function(){e.emitSync(e.localShow)}))},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&e===hl&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=Gs(this.$refs.content);this.enforceFocus(t.reverse()[0])},onBottomTrapFocus:function(){var t=Gs(this.$refs.content);this.enforceFocus(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=ys(u?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){js(t,ys())||this.enforceFocus(t),this.$emit(Ji)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Pi)},enforceFocus:function(t){this.noEnforceFocus||qs(t)}},render:function(t){var e,n=this.bgVariant,r=this.width,i=this.textVariant,o=this.localShow,a=""===this.shadow||this.shadow,s=t(this.tag,{staticClass:_j,class:[(e={shadow:!0===a},wj(e,"shadow-".concat(a),a&&!0!==a),wj(e,"".concat(_j,"-right"),this.right),wj(e,"bg-".concat(n),n),wj(e,"text-".concat(i),i),e),this.sidebarClass],style:{width:r},attrs:this.computedAttrs,directives:[{name:"show",value:o}],ref:"content"},[Fj(t,this)]);s=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var c=t(Nc,{props:{noFade:this.noSlide}},[Rj(t,this)]),u=t(),l=t();return this.backdrop&&o&&(u=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),l=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[u,s,l,c])}}),Bj=Ce({components:{BSidebar:Nj},plugins:{VBTogglePlugin:Dv}});function zj(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vj=dc({animation:uc(xo,"wave"),height:uc(xo),size:uc(xo),type:uc(xo,"text"),variant:uc(xo),width:uc(xo)},Cr),Hj=r["default"].extend({name:Cr,functional:!0,props:Vj,render:function(t,e){var n,r=e.data,i=e.props,o=i.size,a=i.animation,s=i.variant;return t("div",$e(r,{staticClass:"b-skeleton",style:{width:o||i.width,height:o||i.height},class:(n={},zj(n,"b-skeleton-".concat(i.type),!0),zj(n,"b-skeleton-animate-".concat(a),a),zj(n,"bg-".concat(s),s),n)}))}});function Uj(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 Wj(t){for(var e=1;e0}}});function Qj(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tE={stacked:uc(jo,!1)},eE=r["default"].extend({props:tE,computed:{isStacked:function(){var t=this.stacked;return""===t||t},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var t=this.isStackedAlways;return Qj({"b-table-stacked":t},"b-table-stacked-".concat(this.stacked),!t&&this.isStacked)}}});function nE(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 rE(t){for(var e=1;e0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},e?"".concat(this.dark?"bg":"table","-").concat(e):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=this.computedItems,e=this.filteredItems,n=this.computedFields,r=this.selectableTableAttrs,i=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":ss(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},o=t&&e&&e.length>t.length?ss(e.length):null;return rE(rE(rE({"aria-rowcount":o},this.bvAttrs),{},{id:this.safeId(),role:"table"},i),r)}},render:function(t){var e=this.wrapperClasses,n=this.renderCaption,r=this.renderColgroup,i=this.renderThead,o=this.renderTbody,a=this.renderTfoot,s=[];this.isTableSimple?s.push(this.normalizeSlot()):(s.push(n?n():null),s.push(r?r():null),s.push(i?i():null),s.push(o?o():null),s.push(a?a():null));var c=t("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},s.filter(se));return e.length>0?t("div",{class:e,style:this.wrapperStyles,key:"wrap"},[c]):c}});function sE(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 cE(t){for(var e=1;e0},gE=dc({animation:uc(xo),columns:uc(yo,5,vE),hideHeader:uc(go,!1),rows:uc(yo,3,vE),showFooter:uc(go,!1),tableProps:uc(wo,{})},jr),mE=r["default"].extend({name:jr,functional:!0,props:gE,render:function(t,e){var n=e.props,r=n.animation,i=n.columns,o=t("th",[t(Hj,{props:{animation:r}})]),a=t("tr",Ka(i,o)),s=t("td",[t(Hj,{props:{width:"75%",animation:r}})]),c=t("tr",Ka(i,s)),u=t("tbody",Ka(n.rows,c)),l=n.hideHeader?t():t("thead",[a]),f=n.showFooter?t("tfoot",[a]):t();return t(fE,{props:dE({},n.tableProps)},[l,u,f])}}),bE=dc({loading:uc(go,!1)},Er),yE=r["default"].extend({name:Er,functional:!0,props:bE,render:function(t,e){var n=e.data,r=e.props,i=e.slots,o=e.scopedSlots,a=i(),s=o||{},c={};return r.loading?t("div",$e(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),yc(da,c,s,a)):yc(Uo,c,s,a)}}),wE=Ce({components:{BSkeleton:Hj,BSkeletonIcon:Yj,BSkeletonImg:Zj,BSkeletonTable:mE,BSkeletonWrapper:yE}}),_E=Ce({components:{BSpinner:hP}});function xE(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 OE(t){for(var e=1;e0?t:null},ME=function(t){return wt(t)||IE(t)>0},$E=dc({colspan:uc(Ao,null,ME),rowspan:uc(Ao,null,ME),stackedHeading:uc(xo),stickyColumn:uc(go,!1),variant:uc(xo)},Ir),FE=r["default"].extend({name:Ir,mixins:[Cl,Tl,wc],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:$E,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return IE(this.colspan)},computedRowspan:function(){return IE(this.rowspan)},cellClasses:function(){var t=this.variant,e=this.headVariant,n=this.isStickyColumn;return(!t&&this.isStickyHeader&&!e||!t&&n&&this.inTfoot&&!this.footVariant||!t&&n&&this.inThead&&!e||!t&&n&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.stackedHeading,e=this.inThead||this.inTfoot,n=this.computedColspan,r=this.computedRowspan,i="cell",o=null;return e?(i="columnheader",o=n>0?"colspan":"col"):ws(this.tag,"th")&&(i="rowheader",o=r>0?"rowgroup":"row"),AE(AE({colspan:n,rowspan:r,role:i,scope:o},this.bvAttrs),{},{"data-label":this.isStackedCell&&!wt(t)?ss(t):null})}},render:function(t){var e=[this.normalizeSlot()];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[e]):e])}});function RE(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="busy",BE=co+NE,zE=RE({},NE,uc(go,!1)),VE=r["default"].extend({props:zE,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[NE]||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit(BE,t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(kc(t),!0)},renderBusy:function(){var t=this.tbodyTrClass,e=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(Ma)?n(TE,{staticClass:"b-table-busy-slot",class:[_t(t)?t(null,Ma):t],attrs:_t(e)?e(null,Ma):e,key:"table-busy-slot"},[n(FE,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Ma)])]):null}}}),HE={caption:uc(xo),captionHtml:uc(xo)},UE=r["default"].extend({props:HE,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.caption,e=this.captionHtml,n=this.$createElement,r=n(),i=this.hasNormalizedSlot($a);return(i||t||e)&&(r=n("caption",{attrs:{id:this.captionId},domProps:i?{}:Cf(e,t),key:"caption",ref:"caption"},this.normalizeSlot($a))),r}}}),WE={},GE=r["default"].extend({methods:{renderColgroup:function(){var t=this.computedFields,e=this.$createElement,n=e();return this.hasNormalizedSlot(Fa)&&(n=e("colgroup",{key:"colgroup"},[this.normalizeSlot(Fa,{columns:t.length,fields:t})])),n}}}),qE={emptyFilteredHtml:uc(xo),emptyFilteredText:uc(xo,"There are no records matching your request"),emptyHtml:uc(xo),emptyText:uc(xo,"There are no records to show"),showEmpty:uc(go,!1)},YE=r["default"].extend({props:qE,methods:{renderEmpty:function(){var t=this.computedItems,e=this.$createElement,n=e();if(this.showEmpty&&(!t||0===t.length)&&(!this.computedBusy||!this.hasNormalizedSlot(Ma))){var r=this.computedFields,i=this.isFiltered,o=this.emptyText,a=this.emptyHtml,s=this.emptyFilteredText,c=this.emptyFilteredHtml,u=this.tbodyTrClass,l=this.tbodyTrAttr;n=this.normalizeSlot(i?Xo:Ko,{emptyFilteredHtml:c,emptyFilteredText:s,emptyHtml:a,emptyText:o,fields:r,items:t}),n||(n=e("div",{class:["text-center","my-2"],domProps:i?Cf(c,s):Cf(a,o)})),n=e(FE,{props:{colspan:r.length||null}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=e(TE,{staticClass:"b-table-empty-row",class:[_t(u)?u(null,"row-empty"):u],attrs:_t(l)?l(null,"row-empty"):l,key:i?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),KE=function t(e){return wt(e)?"":Pt(e)&&!jt(e)?Vt(e).sort().map((function(n){return t(e[n])})).filter((function(t){return!!t})).join(" "):ss(e)};function XE(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 ZE(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:{},i=Vt(r).reduce((function(e,n){var i=r[n],o=i.filterByFormatted,a=_t(o)?o:o?i.formatter:null;return _t(a)&&(e[n]=a(t[n],n,t)),e}),Wt(t)),o=Vt(i).filter((function(t){return!nD[t]&&!(Ct(e)&&e.length>0&&qa(e,t))&&!(Ct(n)&&n.length>0&&!qa(n,t))}));return Gt(i,o)},oD=function(t,e,n,r){return Pt(t)?KE(iD(t,e,n,r)):""};function aD(t){return lD(t)||uD(t)||cD(t)||sD()}function sD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cD(t,e){if(t){if("string"===typeof t)return fD(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)?fD(t,e):void 0}}function uD(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function lD(t){if(Array.isArray(t))return fD(t)}function fD(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&he(hD,Lr),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){var t=this.filteredItems,e=this.localItems,n=this.localFilter;return{filteredItems:t,localItems:e,localFilter:n}},localFilterFn:function(){var t=this.filterFunction;return vc(t)?t:null},filteredItems:function(){var t=this.localItems,e=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return n&&t.length>0?t.filter(n):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),n):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,n=t.localFilter,r=!1;n?_l(n,[])||_l(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit(xi,e,e.length),this.isFiltered=r},isFiltered:function(t,e){if(!1===t&&!0===e){var n=this.localItems;this.$emit(xi,n,n.length)}}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick((function(){t.isFiltered=Boolean(t.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||Ot(t)||At(t)?ae(t):""},filterFnFactory:function(t,e){if(!t||!_t(t)||!e||_l(e,[])||_l(e,{}))return null;var n=function(n){return t(n,e)};return n},defaultFilterFnFactory:function(t){var e=this;if(!t||!Ot(t)&&!At(t))return null;var n=t;if(Ot(n)){var r=as(t).replace(I,"\\s+");n=new RegExp(".*".concat(r,".*"),"i")}var i=function(t){return n.lastIndex=0,n.test(oD(t,e.computedFilterIgnored,e.computedFilterIncluded,e.computedFieldsObj))};return i}}}),vD=function(t,e){var n=null;return Ot(e)?n={key:t,label:e}:_t(e)?n={key:t,formatter:e}:Pt(e)?(n=Wt(e),n.key=n.key||t):!1!==e&&(n={key:t}),n},gD=function(t,e){var n=[];if(Ct(t)&&t.filter(se).forEach((function(t){if(Ot(t))n.push({key:t,label:rs(t)});else if(Pt(t)&&t.key&&Ot(t.key))n.push(Wt(t));else if(Pt(t)&&1===Vt(t).length){var e=Vt(t)[0],r=vD(e,t[e]);r&&n.push(r)}})),0===n.length&&Ct(e)&&e.length>0){var r=e[0];Vt(r).forEach((function(t){nD[t]||n.push({key:t,label:rs(t)})}))}var i={};return n.filter((function(t){return!i[t.key]&&(i[t.key]=!0,t.label=Ot(t.label)?t.label:rs(t.key),!0)}))};function mD(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 bD(t){for(var e=1;e0&&t.some(se)},selectableIsMultiSelect:function(){return this.isSelectable&&qa(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t,e=this.isSelectable;return t={"b-table-selectable":e},LD(t,"b-table-select-".concat(this.selectMode),e),LD(t,"b-table-selecting",this.selectableHasSelection),LD(t,"b-table-selectable-no-click",e&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Ct(t)&&Ct(e)&&t.length===e.length;for(var r=0;n&&r=0&&t0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?Ka(t,!0):[!0])},isRowSelected:function(t){return!(!St(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return LD({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e](Hi,this.selectionHandler),this[e](xi,this.clearSelected),this[e](pi,this.clearSelected)},selectionHandler:function(t,e,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,i=this.selectedLastRow,o=this.selectedRows.slice(),a=!o[e];if("single"===r)o=[];else if("range"===r)if(i>-1&&n.shiftKey){for(var s=Qc(i,e);s<=tu(i,e);s++)o[s]=!0;a=!0}else n.ctrlKey||n.metaKey||(o=[],a=!0),this.selectedLastRow=a?e:-1;o[e]=a,this.selectedRows=o}else this.clearSelected()}}}),ND=function(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))},BD=function(t){return wt(t)?"":kt(t)?Qa(t,t):t},zD=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.sortBy,i=void 0===r?null:r,o=n.formatter,a=void 0===o?null:o,s=n.locale,c=void 0===s?void 0:s,u=n.localeOptions,l=void 0===u?{}:u,f=n.nullLast,h=void 0!==f&&f,d=ue(t,i,null),p=ue(e,i,null);return _t(a)&&(d=a(d,i,t),p=a(p,i,e)),d=BD(d),p=BD(p),jt(d)&&jt(p)||St(d)&&St(p)?dp?1:0:h&&""===d&&""!==p?1:h&&""!==d&&""===p?-1:KE(d).localeCompare(KE(p),c,l)};function VD(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 HD(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:document,e=Hs();return!!(e&&""!==e.toString().trim()&&e.containsNode&&bs(t))&&e.containsNode(t,!0)},uA=dc($E,Br),lA=r["default"].extend({name:Br,extends:FE,props:uA,computed:{tag:function(){return"th"}}});function fA(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 hA(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(m=String((a-1)*s+e+1));var b=ss(ue(t,o))||null,y=b||ss(e),w=b?this.safeId("_row_".concat(b)):null,_=this.selectableRowClasses?this.selectableRowClasses(e):{},x=this.selectableRowAttrs?this.selectableRowAttrs(e):{},O=_t(c)?c(t,"row"):c,S=_t(u)?u(t,"row"):u;if(p.push(l(TE,{class:[O,_,h?"b-table-has-details":""],props:{variant:t[tD]||null},attrs:hA(hA({id:w},S),{},{tabindex:d?"0":null,"data-pk":b||null,"aria-details":v,"aria-owns":v,"aria-rowindex":m},x),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(y,"__"),ref:"item-rows",refInFor:!0},g)),h){var k={item:t,index:e,fields:r,toggleDetails:this.toggleDetailsFactory(f,t)};this.supportsSelectableRows&&(k.rowSelected=this.isRowSelected(e),k.selectRow=function(){return n.selectRow(e)},k.unselectRow=function(){return n.unselectRow(e)});var C=l(FE,{props:{colspan:r.length},class:this.detailsTdClass},[this.normalizeSlot(Ia,k)]);i&&p.push(l("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(y)}));var P=_t(this.tbodyTrClass)?this.tbodyTrClass(t,Ia):this.tbodyTrClass,T=_t(this.tbodyTrAttr)?this.tbodyTrAttr(t,Ia):this.tbodyTrAttr;p.push(l(TE,{staticClass:"b-table-details",class:[P],props:{variant:t[tD]||null},attrs:hA(hA({},T),{},{id:v,tabindex:"-1"}),key:"__b-table-details__".concat(y)},[C]))}else f&&(p.push(l()),i&&p.push(l()));return p}}});function xA(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 OA(t){for(var e=1;e0&&n&&n.length>0?Ga(e.children).filter((function(t){return qa(n,t)})):[]},getTbodyTrIndex:function(t){if(!bs(t))return-1;var e="TR"===t.tagName?t:Ts("tr",t,!0);return e?this.getTbodyTrs().indexOf(e):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var n=this.getTbodyTrIndex(e.target);if(n>-1){var r=this.computedItems[n];this.$emit(t,r,n,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target,n=t.keyCode;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&_s(e)&&0===e.tabIndex)if(qa([fl,bl],n))kc(t),this.onTBodyRowClicked(t);else if(qa([yl,ul,dl,ll],n)){var r=this.getTbodyTrIndex(e);if(r>-1){kc(t);var i=this.getTbodyTrs(),o=t.shiftKey;n===dl||o&&n===yl?qs(i[0]):n===ll||o&&n===ul?qs(i[i.length-1]):n===yl&&r>0?qs(i[r-1]):n===ul&&rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]&&arguments[0],n=this.computedFields,r=this.isSortable,i=this.isSelectable,o=this.headVariant,a=this.footVariant,s=this.headRowVariant,c=this.footRowVariant,u=this.$createElement;if(this.isStackedAlways||0===n.length)return u();var l=r||this.hasListener(Ci),f=i?this.selectAllRows:ep,h=i?this.clearSelected:ep,d=function(n,i){var o=n.label,a=n.labelHtml,s=n.variant,c=n.stickyColumn,d=n.key,p=null;n.label.trim()||n.headerTitle||(p=rs(n.key));var v={};l&&(v.click=function(r){t.headClicked(r,n,e)},v.keydown=function(r){var i=r.keyCode;i!==fl&&i!==bl||t.headClicked(r,n,e)});var g=r?t.sortTheadThAttrs(d,n,e):{},m=r?t.sortTheadThClasses(d,n,e):null,b=r?t.sortTheadThLabel(d,n,e):null,y={class:[t.fieldClasses(n),m],props:{variant:s,stickyColumn:c},style:n.thStyle||{},attrs:qA(qA({tabindex:l&&n.sortable?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":i+1,"aria-label":p},t.getThValues(null,d,n.thAttr,e?"foot":"head",{})),g),on:v,key:d},w=[KA(d),KA(d.toLowerCase()),KA()];e&&(w=[XA(d),XA(d.toLowerCase()),XA()].concat(BA(w)));var _={label:o,column:d,field:n,isFoot:e,selectAllRows:f,clearSelected:h},x=t.normalizeSlot(w,_)||u("div",{domProps:Cf(a,o)}),O=b?u("span",{staticClass:"sr-only"}," (".concat(b,")")):null;return u(lA,y,[x,O].filter(se))},p=n.map(d).filter(se),v=[];if(e)v.push(u(TE,{class:this.tfootTrClass,props:{variant:wt(c)?s:c}},p));else{var g={columns:n.length,fields:n,selectAllRows:f,clearSelected:h};v.push(this.normalizeSlot(za,g)||u()),v.push(u(TE,{class:this.theadTrClass,props:{variant:s}},p))}return u(e?AA:NA,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:a||o||null}:{headVariant:o||null},key:e?"bv-tfoot":"bv-thead"},v)}}}),QA={},tL=r["default"].extend({methods:{renderTopRow:function(){var t=this.computedFields,e=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,i=this.$createElement;return this.hasNormalizedSlot(Ua)&&!0!==e&&""!==e?i(TE,{staticClass:"b-table-top-row",class:[_t(n)?n(null,"row-top"):n],attrs:_t(r)?r(null,"row-top"):r,key:"b-top-row"},[this.normalizeSlot(Ua,{columns:t.length,fields:t})]):i()}}});function eL(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 nL(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e){var n=function(){t.$nextTick((function(){vs((function(){t.updateTabs()}))}))};this.$_observer=ap(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var t=this.registeredTabs.filter((function(t){return 0===t.$children.filter((function(t){return t._isTab})).length})),e=[];if(u&&t.length>0){var n=t.map((function(t){return"#".concat(t.safeId())})).join(", ");e=ks(n,this.$el).map((function(t){return t.id})).filter(se)}return ND(t,(function(t,n){return e.indexOf(t.safeId())-e.indexOf(n.safeId())}))},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find((function(t){return t.localActive&&!t.disabled})));if(e<0){var n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(kL)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(kL))),t.forEach((function(t,n){t.localActive=n===e})),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find((function(e){return e.tab===t}))},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=this.currentTab,n=this.tabs,r=!1;if(t){var i=n.indexOf(t);if(i!==e&&i>-1&&!t.disabled){var o=new vm(ai,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(o.type,i,e,o),o.defaultPrevented||(this.currentTab=i,r=!0)}}return r||this[OL]===e||this.$emit(SL,e),r},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter((function(e){return e!==t})).find(kL))},focusButton:function(t){var e=this;this.$nextTick((function(){qs(e.getButtonForTab(t))}))},emitTabClick:function(t,e){Et(e)&&t&&t.$emit&&!t.disabled&&t.$emit(fi,e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(kL);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=tu(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(kL);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=tu(this.currentTab,-1),n=this.tabs.slice(e+1).find(kL);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(kL);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.align,r=this.card,i=this.end,o=this.fill,a=this.firstTab,s=this.justified,c=this.lastTab,u=this.nextTab,l=this.noKeyNav,f=this.noNavStyle,h=this.pills,d=this.previousTab,p=this.small,v=this.tabs,g=this.vertical,m=v.find((function(t){return t.localActive&&!t.disabled})),b=v.find((function(t){return!t.disabled})),y=v.map((function(n,r){var i,o=n.safeId,s=null;return l||(s=-1,(n===m||!m&&n===b)&&(s=null)),t(CL,{props:{controls:o?o():null,id:n.controlledBy||(o?o("_BV_tab_button_"):null),noKeyNav:l,posInSet:r+1,setSize:v.length,tab:n,tabIndex:s},on:(i={},mL(i,fi,(function(t){e.clickTab(n,t)})),mL(i,Oi,a),mL(i,Ni,d),mL(i,Ii,u),mL(i,Di,c),i),key:n[Fe]||r,ref:"buttons",refInFor:!0})})),w=t(bC,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:o,justified:s,align:n,tabs:!f&&!h,pills:!f&&h,vertical:g,small:p,cardHeader:r&&!g},ref:"nav"},[this.normalizeSlot(Na)||t(),y,this.normalizeSlot(Ra)||t()]);w=t("div",{class:[{"card-header":r&&!g&&!i,"card-footer":r&&!g&&i,"col-auto":g},this.navWrapperClass],key:"bv-tabs-nav"},[w]);var _=this.normalizeSlot()||[],x=t();0===_.length&&(x=t("div",{class:["tab-pane","active",{"card-body":r}],key:"bv-empty-tab"},this.normalizeSlot(Ko)));var O=t("div",{staticClass:"tab-content",class:[{col:g},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[_,x]);return t(this.tag,{staticClass:"tabs",class:{row:g,"no-gutters":g&&r},attrs:{id:this.safeId()}},[i?O:t(),w,i?t():O])}});function EL(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 DL(t){for(var e=1;e" with name "'.concat(e,'" already exists in the document.'),Ur),this.dead=!0):(this.doRender=!0,this.$once(ao,(function(){t.emitOnRoot(Pc(Ur,vi),e)})))},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=t(BL.YC,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:zL}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}});function UL(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 WL(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new vm(t,WL(WL({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Pc(Hr,e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static){var t=this.computedToaster;if(!BL.Df.hasTarget(t)){var e=document.createElement("div");document.body.appendChild(e);var n=new HL({parent:this.$root,propsData:{name:t}});n.$mount(e)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];Sc(t,e,"mouseenter",this.onPause,ho),Sc(t,e,"mouseleave",this.onUnPause,ho)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=tu(this.computedDuration-t,JL))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick((function(){vs((function(){t.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent(Ji);this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent(Pi);this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,n=this.title,r=this.slotScope,i=xu(this),o=[],a=this.normalizeSlot(Ha,r);a?o.push(a):n&&o.push(t("strong",{staticClass:"mr-2"},n)),this.noCloseButton||o.push(t(Dc,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var s=t();o.length>0&&(s=t("header",{staticClass:"toast-header",class:this.headerClass},o));var c=t(i?Vl:"div",{staticClass:"toast-body",class:this.bodyClass,props:i?fc(QL,this):{},on:i?{click:this.onLinkClick}:{}},this.normalizeSlot(Uo,r));return t("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[Fe]),ref:"toast"},[s,c])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e=this.order,n=this.static,r=this.isHiding,i=this.isStatus,o="b-toast-".concat(this[Fe]),a=t("div",{staticClass:"b-toast",class:this.toastClasses,attrs:WL(WL({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:r?null:i?"status":"alert","aria-live":r?null:i?"polite":"assertive","aria-atomic":r?null:"true"}),key:o,ref:"b-toast"},[t(Nc,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])]);return t(BL.h_,{props:{name:o,to:this.computedToaster,order:e,slim:!0,disabled:n}},[a])}});function nI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rI(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};t&&!de(pI)&&n(aI(aI({},bI(e)),{},{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit(Tc(Hr,Zi),t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Tc(Hr,Ti),t)}}]),t}();t.mixin({beforeCreate:function(){this[vI]=new r(this)}}),Ht(t.prototype,pI)||Bt(t.prototype,pI,{get:function(){return this&&this[vI]||he('"'.concat(pI,'" must be accessed from a Vue instance "this" context.'),Hr),this[vI]}})},wI=Ce({plugins:{plugin:yI}}),_I=Ce({components:{BToast:eI,BToaster:HL},plugins:{BVToastPlugin:wI}});function xI(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 OI(t){for(var e=1;e=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;){var o=this.$activeTarget!==this.$targets[i]&&t>=this.$offsets[i]&&(bt(this.$offsets[i+1])||t0&&this.$root&&this.$root.$emit(lM,t,n)}},{key:"clear",value:function(){var t=this;ks("".concat(this.$selector,", ").concat(oM),this.$el).filter((function(t){return Ls(t,nM)})).forEach((function(e){return t.setActiveState(e,!1)}))}},{key:"setActiveState",value:function(t,e){t&&(e?Ds(t,nM):As(t,nM))}}],[{key:"Name",get:function(){return tM}},{key:"Default",get:function(){return dM}},{key:"DefaultType",get:function(){return pM}}]),t}(),yM="__BV_ScrollSpy__",wM=/^\d+$/,_M=/^(auto|position|offset)$/,xM=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),Vt(t.modifiers).forEach((function(t){wM.test(t)?e.offset=Ja(t,0):_M.test(t)&&(e.method=t)})),Ot(t.value)?e.element=t.value:St(t.value)?e.offset=ou(t.value):Pt(t.value)&&Vt(t.value).filter((function(t){return!!bM.DefaultType[t]})).forEach((function(n){e[n]=t.value[n]})),e},OM=function(t,e,n){if(u){var r=xM(e);t[yM]?t[yM].updateConfig(r,n.context.$root):t[yM]=new bM(t,r,n.context.$root)}},SM=function(t){t[yM]&&(t[yM].dispose(),t[yM]=null,delete t[yM])},kM={bind:function(t,e,n){OM(t,e,n)},inserted:function(t,e,n){OM(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&OM(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&OM(t,e,n)},unbind:function(t){SM(t)}},CM=Ce({directives:{VBScrollspy:kM}}),PM=Ce({directives:{VBVisible:$d}}),TM=Ce({plugins:{VBHoverPlugin:GI,VBModalPlugin:qI,VBPopoverPlugin:aj,VBScrollspyPlugin:CM,VBTogglePlugin:Dv,VBTooltipPlugin:HI,VBVisiblePlugin:PM}}),jM="BootstrapVue",EM=ke({plugins:{componentsPlugin:WI,directivesPlugin:TM}}),DM={install:EM,NAME:jM},AM=DM},7254:function(t,e,n){"use strict";n.d(e,{j2p:function(){return r},LLu:function(){return M},y4O:function(){return $},F5q:function(){return I},gyn:function(){return go},Wem:function(){return u},WUZ:function(){return Ao},bT9:function(){return Zo},Ym7:function(){return fr},sN9:function(){return ws},Gii:function(){return ys},iAt:function(){return _s},GMc:function(){return os},S7V:function(){return rs},cUW:function(){return ss},_BJ:function(){return gs},Vaf:function(){return bs},aEZ:function(){return fs},HtN:function(){return us},Y_x:function(){return ds},cjJ:function(){return vs},Fp7:function(){return m},b1B:function(){return zi},VRg:function(){return y},w6H:function(){return w},tiA:function(){return ka},BYU:function(){return Ka},PKp:function(){return Sa},cJy:function(){return Ja},Cn1:function(){return ts},Ys:function(){return xs},i$Z:function(){return ic},pNI:function(){return ha},wLP:function(){return da},LQd:function(){return ia},Kmr:function(){return oa},E_0:function(){return pa},o$p:function(){return ca},wp9:function(){return oc}});function r(t,e){return te?1:t>=e?0:NaN}function i(t){return 1===t.length&&(t=o(t)),{left:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}function o(t){return function(e,n){return r(t(e),n)}}var a=i(r),s=a.right,c=(a.left,s);function u(t,e){var n,r,i,o=t.length,a=-1;if(null==e){while(++a=n){r=i=n;while(++an&&(r=n),i=n){r=i=n;while(++an&&(r=n),i0)return[t];if((r=e0){t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));while(++s=0?(o>=f?10:o>=h?5:o>=d?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=f?10:o>=h?5:o>=d?2:1)}function g(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=f?i*=10:o>=h?i*=5:o>=d&&(i*=2),e=n){r=n;while(++or&&(r=n)}}else while(++o=n){r=n;while(++or&&(r=n)}return r}function b(t){return null===t?NaN:+t}function y(t,e,n){if(null==n&&(n=b),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}function w(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);while(++r=_&&(_=w+1);while(!(y=g[_])&&++_=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this}function rt(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=it);for(var n=this._groups,r=n.length,i=new Array(r),o=0;oe?1:t>=e?0:NaN}function ot(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function at(){var t=new Array(this.size()),e=-1;return this.each((function(){t[++e]=this})),t}function st(){for(var t=this._groups,e=0,n=t.length;e=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ht.hasOwnProperty(e)?{space:ht[e],local:t}:t}function pt(t){return function(){this.removeAttribute(t)}}function vt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function gt(t,e){return function(){this.setAttribute(t,e)}}function mt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function bt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function yt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function wt(t,e){var n=dt(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?vt:pt:"function"===typeof e?n.local?yt:bt:n.local?mt:gt)(n,e))}function _t(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function xt(t){return function(){this.style.removeProperty(t)}}function Ot(t,e,n){return function(){this.style.setProperty(t,e,n)}}function St(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function kt(t,e,n){return arguments.length>1?this.each((null==e?xt:"function"===typeof e?St:Ot)(t,e,null==n?"":n)):Ct(this.node(),t)}function Ct(t,e){return t.style.getPropertyValue(e)||_t(t).getComputedStyle(t,null).getPropertyValue(e)}function Pt(t){return function(){delete this[t]}}function Tt(t,e){return function(){this[t]=e}}function jt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Et(t,e){return arguments.length>1?this.each((null==e?Pt:"function"===typeof e?jt:Tt)(t,e)):this.node()[t]}function Dt(t){return t.trim().split(/^|\s+/)}function At(t){return t.classList||new Lt(t)}function Lt(t){this._node=t,this._names=Dt(t.getAttribute("class")||"")}function It(t,e){var n=At(t),r=-1,i=e.length;while(++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var le={},fe=null;if("undefined"!==typeof document){var he=document.documentElement;"onmouseenter"in he||(le={mouseenter:"mouseover",mouseleave:"mouseout"})}function de(t,e,n){return t=pe(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function pe(t,e,n){return function(r){var i=fe;fe=r;try{t.call(this,this.__data__,e,n)}finally{fe=i}}}function ve(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function ge(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function De(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;o=0&&e._call.call(null,t),e=e._next;--$e}function Xe(){ze=(Be=He.now())+Ve,$e=Fe=0;try{Ke()}finally{$e=0,Je(),ze=0}}function Ze(){var t=He.now(),e=t-Be;e>Ne&&(Ve-=e,Be=t)}function Je(){var t,e,n=Le,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Le=e);Ie=t,Qe(r)}function Qe(t){if(!$e){Fe&&(Fe=clearTimeout(Fe));var e=t-ze;e>24?(t<1/0&&(Fe=setTimeout(Xe,t-He.now()-Ve)),Re&&(Re=clearInterval(Re))):(Re||(Be=He.now(),Re=setInterval(Ze,Ne)),$e=1,Ue(Xe))}}function tn(t,e,n){var r=new qe;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}qe.prototype=Ye.prototype={constructor:qe,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?We():+n)+(null==e?0:+e),this._next||Ie===this||(Ie?Ie._next=this:Le=this,Ie=this),this._call=t,this._time=n,Qe()},stop:function(){this._call&&(this._call=null,this._time=1/0,Qe())}};var en=Me("start","end","cancel","interrupt"),nn=[],rn=0,on=1,an=2,sn=3,cn=4,un=5,ln=6;function fn(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};vn(t,n,{name:e,index:r,group:i,on:en,tween:nn,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:rn})}function hn(t,e){var n=pn(t,e);if(n.state>rn)throw new Error("too late; already scheduled");return n}function dn(t,e){var n=pn(t,e);if(n.state>sn)throw new Error("too late; already running");return n}function pn(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function vn(t,e,n){var r,i=t.__transition;function o(t){n.state=on,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var u,l,f,h;if(n.state!==on)return c();for(u in i)if(h=i[u],h.name===n.name){if(h.state===sn)return tn(a);h.state===cn?(h.state=ln,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+uan&&n.state180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:bn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function s(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:bn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function c(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:bn(t,n)},{i:s-2,x:bn(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,i),a(e.rotate,n.rotate,r,i),s(e.skewX,n.skewX,r,i),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){var e,n=-1,o=i.length;while(++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?nr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?nr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Un.exec(t))?new or(e[1],e[2],e[3],1):(e=Wn.exec(t))?new or(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Gn.exec(t))?nr(e[1],e[2],e[3],e[4]):(e=qn.exec(t))?nr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Yn.exec(t))?ur(e[1],e[2]/100,e[3]/100,1):(e=Kn.exec(t))?ur(e[1],e[2]/100,e[3]/100,e[4]):Xn.hasOwnProperty(t)?er(Xn[t]):"transparent"===t?new or(NaN,NaN,NaN,0):null}function er(t){return new or(t>>16&255,t>>8&255,255&t,1)}function nr(t,e,n,r){return r<=0&&(t=e=n=NaN),new or(t,e,n,r)}function rr(t){return t instanceof Fn||(t=tr(t)),t?(t=t.rgb(),new or(t.r,t.g,t.b,t.opacity)):new or}function ir(t,e,n,r){return 1===arguments.length?rr(t):new or(t,e,n,null==r?1:r)}function or(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ar(){return"#"+cr(this.r)+cr(this.g)+cr(this.b)}function sr(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function cr(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function ur(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new hr(t,e,n,r)}function lr(t){if(t instanceof hr)return new hr(t.h,t.s,t.l,t.opacity);if(t instanceof Fn||(t=tr(t)),!t)return new hr;if(t instanceof hr)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&c<1?0:a,new hr(a,s,c,t.opacity)}function fr(t,e,n,r){return 1===arguments.length?lr(t):new hr(t,e,n,null==r?1:r)}function hr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function dr(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function pr(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function vr(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r=240?t-240:t+120,i,r),dr(t,i,r),dr(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var xr=function t(e){var n=wr(e);function r(t,e){var r=n((t=ir(t)).r,(e=ir(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=_r(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Or(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;no&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:bn(n,r)})),o=Cr.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))}function ti(t,e,n){var r,i,o=Qr(e)?hn:dn;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}function ei(t,e){var n=this._id;return arguments.length<2?pn(this.node(),n).on.on(t):this.each(ti(n,t,e))}function ni(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function ri(){return this.on("end.remove",ni(this._id))}function ii(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=R(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;var c,u,l,f=-1,h=n.length,d=r[i++],p=Bi(),v=a();while(++fr.length)return t;var o,s=i[n-1];return null!=e&&n>=r.length?o=t.entries():(o=[],t.each((function(t,e){o.push({key:e,values:a(t,n)})}))),null!=s?o.sort((function(t,e){return s(t.key,e.key)})):o}return n={object:function(t){return o(t,0,Vi,Hi)},map:function(t){return o(t,0,Ui,Wi)},entries:function(t){return a(o(t,0,Ui,Wi),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}function Vi(){return{}}function Hi(t,e,n){t[e]=n}function Ui(){return Bi()}function Wi(t,e,n){t.set(e,n)}function Gi(){}var qi=Bi.prototype;function Yi(t,e){var n=new Gi;if(t instanceof Gi)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)while(++r9999?"+"+io(t,6):io(t,4)}function ao(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":oo(t.getUTCFullYear(),4)+"-"+io(t.getUTCMonth()+1,2)+"-"+io(t.getUTCDate(),2)+(i?"T"+io(e,2)+":"+io(n,2)+":"+io(r,2)+"."+io(i,3)+"Z":r?"T"+io(e,2)+":"+io(n,2)+":"+io(r,2)+"Z":n||e?"T"+io(e,2)+":"+io(n,2)+"Z":"")}function so(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var n,r,o=i(t,(function(t,i){if(n)return n(t,i-1);r=t,n=e?no(t,e):eo(t)}));return o.columns=r||[],o}function i(t,e){var r,i=[],o=t.length,a=0,s=0,c=o<=0,u=!1;function l(){if(c)return Zi;if(u)return u=!1,Xi;var e,r,i=a;if(t.charCodeAt(i)===Ji){while(a++=o?c=!0:(r=t.charCodeAt(a++))===Qi?u=!0:r===to&&(u=!0,t.charCodeAt(a)===Qi&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}while(a=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function bo(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function yo(t){return t=bo(Math.abs(t)),t?t[1]:NaN}function wo(t,e){return function(n,r){var i=n.length,o=[],a=0,s=t[0],c=0;while(i>0&&s>0){if(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),(c+=s+1)>r)break;s=t[a=(a+1)%t.length]}return o.reverse().join(e)}}function _o(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}var xo,Oo=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function So(t){if(!(e=Oo.exec(t)))throw new Error("invalid format: "+t);var e;return new ko({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ko(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Co(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(e+1):t}function Po(t,e){var n=bo(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(xo=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+bo(t,Math.max(0,e+o-1))[0]}function To(t,e){var n=bo(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}So.prototype=ko.prototype,ko.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var jo={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:mo,e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return To(100*t,e)},r:To,s:Po,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Eo(t){return t}var Do,Ao,Lo,Io=Array.prototype.map,Mo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $o(t){var e=void 0===t.grouping||void 0===t.thousands?Eo:wo(Io.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?Eo:_o(Io.call(t.numerals,String)),a=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){t=So(t);var u=t.fill,l=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,v=t.comma,g=t.precision,m=t.trim,b=t.type;"n"===b?(v=!0,b="g"):jo[b]||(void 0===g&&(g=12),m=!0,b="g"),(d||"0"===u&&"="===l)&&(d=!0,u="0",l="=");var y="$"===h?n:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",w="$"===h?r:/[%p]/.test(b)?a:"",_=jo[b],x=/[defgprs%]/.test(b);function O(t){var n,r,a,h=y,O=w;if("c"===b)O=_(t)+O,t="";else{t=+t;var S=t<0||1/t<0;if(t=isNaN(t)?c:_(Math.abs(t),g),m&&(t=Co(t)),S&&0===+t&&"+"!==f&&(S=!1),h=(S?"("===f?f:s:"-"===f||"("===f?"":f)+h,O=("s"===b?Mo[8+xo/3]:"")+O+(S&&"("===f?")":""),x){n=-1,r=t.length;while(++na||a>57){O=(46===a?i+t.slice(n+1):t.slice(n))+O,t=t.slice(0,n);break}}}v&&!d&&(t=e(t,1/0));var k=h.length+t.length+O.length,C=k>1)+h+t+O+C.slice(k);break;default:t=C+h+t+O;break}return o(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}function l(t,e){var n=u((t=So(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(yo(e)/3))),i=Math.pow(10,-r),o=Mo[8+r/3];return function(t){return n(i*t)+o}}return{format:u,formatPrefix:l}}function Fo(t){return Do=$o(t),Ao=Do.format,Lo=Do.formatPrefix,Do}function Ro(t){var e=0,n=t.children,r=n&&n.length;if(r)while(--r>=0)e+=n[r].value;else e=1;t.value=e}function No(){return this.eachAfter(Ro)}function Bo(t){var e,n,r,i,o=this,a=[o];do{e=a.reverse(),a=[];while(o=e.pop())if(t(o),n=o.children,n)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this}function Vo(t){var e,n,r,i=this,o=[i],a=[];while(i=o.pop())if(a.push(i),e=i.children,e)for(n=0,r=e.length;n=0)n+=r[i].value;e.value=n}))}function Uo(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))}function Wo(t){var e=this,n=Go(e,t),r=[e];while(e!==n)e=e.parent,r.push(e);var i=r.length;while(t!==n)r.splice(i,0,t),t=t.parent;return r}function Go(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();while(t===e)i=t,t=n.pop(),e=r.pop();return i}function qo(){var t=this,e=[t];while(t=t.parent)e.push(t);return e}function Yo(){var t=[];return this.each((function(e){t.push(e)})),t}function Ko(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t}function Xo(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e}function Zo(t,e){var n,r,i,o,a,s=new na(t),c=+t.value&&(s.value=t.value),u=[s];null==e&&(e=Qo);while(n=u.pop())if(c&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)u.push(r=n.children[o]=new na(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ea)}function Jo(){return Zo(this).eachBefore(ta)}function Qo(t){return t.children}function ta(t){t.data=t.data.data}function ea(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function na(t){this.data=t,this.depth=this.height=0,this.parent=null}function ra(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function ia(t,e,n,r,i){var o,a=t.children,s=-1,c=a.length,u=t.value&&(r-e)/t.value;while(++sh&&(h=s),g=l*l*v,d=Math.max(h/g,g/f),d>p){l-=s;break}p=d}m.push(a={value:l,dice:c1?e:1)},n}(aa);function ua(t){if("function"!==typeof t)throw new Error;return t}function la(){return 0}function fa(t){return function(){return t}}function ha(){var t=ca,e=!1,n=1,r=1,i=[0],o=la,a=la,s=la,c=la,u=la;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(ra),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f=e-1){var c=s[t];return c.x0=r,c.y0=i,c.x1=o,void(c.y1=a)}var f=u[t],h=n/2+f,d=t+1,p=e-1;while(d>>1;u[v]a-i){var b=(r*m+o*g)/n;l(t,d,g,r,i,b,a),l(d,e,m,b,i,o,a)}else{var y=(i*m+a*g)/n;l(t,d,g,r,i,o,y),l(d,e,m,r,y,o,a)}}l(0,c,t.value,e,n,r,i)}function pa(t,e,n,r,i){(1&t.depth?oa:ia)(t,e,n,r,i)}function va(){return Math.random()}(function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n})(va);var ga=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*e()-1,o=2*e()-1,i=r*r+o*o}while(!i||i>1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(va),ma=(function t(e){function n(){var t=ga.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(va),function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function Na(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?Ba:Na,i=o=null,f}function f(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),s,c)))(t(u(e)))}return f.invert=function(n){return u(e((o||(o=r(s,a.map(t),bn)))(n)))},f.domain=function(t){return arguments.length?(a=_a.call(t,Ia),u===$a||(u=Ra(a)),l()):a.slice()},f.range=function(t){return arguments.length?(s=xa.call(t),l()):s.slice()},f.rangeRound=function(t){return s=xa.call(t),c=Aa,l()},f.clamp=function(t){return arguments.length?(u=t?Ra(a):$a,f):u!==$a},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Ha(t,e){return Va()(t,e)}function Ua(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(yo(e)/3)))-yo(Math.abs(t)))}function Wa(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,yo(e)-yo(t))+1}function Ga(t){return Math.max(0,-yo(Math.abs(t)))}function qa(t,e,n,r){var i,o=g(t,e,n);switch(r=So(null==r?",f":r),r.type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=Ua(o,a))||(r.precision=i),Lo(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Wa(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Ga(o))||(r.precision=i-2*("%"===r.type));break}return Ao(r)}function Ya(t){var e=t.domain;return t.ticks=function(t){var n=e();return p(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return qa(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],c=i[a];return c0?(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,r=v(s,c,n)):r<0&&(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,r=v(s,c,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,e(i)),t},t}function Ka(){var t=Ha($a,$a);return t.copy=function(){return za(t,Ka())},ba.apply(t,arguments),Ya(t)}function Xa(){var t,e,n,r,i,o=0,a=1,s=$a,c=!1;function u(e){return isNaN(e=+e)?i:s(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}return u.domain=function(i){return arguments.length?(t=r(o=+i[0]),e=r(a=+i[1]),n=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(c=!!t,u):c},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),u}}function Za(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Ja(){var t=Ya(Xa()($a));return t.copy=function(){return Za(t,Ja())},ya.apply(t,arguments)}function Qa(t){var e=t.length/6|0,n=new Array(e),r=0;while(r0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)while(t(e),!n(e))e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)while(++r<=0)while(e(t,-1),!n(t));else while(--r>=0)while(e(t,1),!n(t));}))},n&&(i.count=function(e,r){return Os.setTime(+e),Ss.setTime(+r),t(Os),t(Ss),Math.floor(n(Os,Ss))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t===0}:function(e){return i.count(0,e)%t===0}):i:null}),i}var Cs=6e4,Ps=864e5,Ts=6048e5;function js(t){return ks((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Ts}))}var Es=js(0),Ds=js(1),As=js(2),Ls=js(3),Is=js(4),Ms=js(5),$s=js(6),Fs=(Es.range,Ds.range,As.range,Ls.range,Is.range,Ms.range,$s.range,ks((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Ps}),(function(t){return t.getUTCDate()-1}))),Rs=Fs;Fs.range;function Ns(t){return ks((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Cs)/Ts}))}var Bs=Ns(0),zs=Ns(1),Vs=Ns(2),Hs=Ns(3),Us=Ns(4),Ws=Ns(5),Gs=Ns(6),qs=(Bs.range,zs.range,Vs.range,Hs.range,Us.range,Ws.range,Gs.range,ks((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Cs)/Ps}),(function(t){return t.getDate()-1}))),Ys=qs,Ks=(qs.range,ks((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));Ks.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ks((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Xs=Ks,Zs=(Ks.range,ks((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Zs.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ks((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Js=Zs;Zs.range;function Qs(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function tc(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ec(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function nc(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,c=t.shortMonths,u=hc(i),l=dc(i),f=hc(o),h=dc(o),d=hc(a),p=dc(a),v=hc(s),g=dc(s),m=hc(c),b=dc(c),y={a:L,A:I,b:M,B:$,c:null,d:Ic,e:Ic,f:Nc,g:Xc,G:Jc,H:Mc,I:$c,j:Fc,L:Rc,m:Bc,M:zc,p:F,q:R,Q:_u,s:xu,S:Vc,u:Hc,U:Uc,V:Gc,w:qc,W:Yc,x:null,X:null,y:Kc,Y:Zc,Z:Qc,"%":wu},w={a:N,A:B,b:z,B:V,c:null,d:tu,e:tu,f:ou,g:gu,G:bu,H:eu,I:nu,j:ru,L:iu,m:au,M:su,p:H,q:U,Q:_u,s:xu,S:cu,u:uu,U:lu,V:hu,w:du,W:pu,x:null,X:null,y:vu,Y:mu,Z:yu,"%":wu},_={a:C,A:P,b:T,B:j,c:E,d:Sc,e:Sc,f:Ec,g:wc,G:yc,H:Cc,I:Cc,j:kc,L:jc,m:Oc,M:Pc,p:k,q:xc,Q:Ac,s:Lc,S:Tc,u:vc,U:gc,V:mc,w:pc,W:bc,x:D,X:A,y:wc,Y:yc,Z:_c,"%":Dc};function x(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,u=t.length;n instanceof Date||(n=new Date(+n));while(++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=tc(ec(o.y,0,1)),i=r.getUTCDay(),r=i>4||0===i?Ds.ceil(r):Ds(r),r=Rs.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=Qs(ec(o.y,0,1)),i=r.getDay(),r=i>4||0===i?zs.ceil(r):zs(r),r=Ys.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?tc(ec(o.y,0,1)).getUTCDay():Qs(ec(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,tc(o)):Qs(o)}}function S(t,e,n,r){var i,o,a=0,s=e.length,c=n.length;while(a=c)return-1;if(i=e.charCodeAt(a++),37===i){if(i=e.charAt(a++),o=_[i in ac?e.charAt(a++):i],!o||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function k(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1}function C(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1}function P(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1}function T(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=b[r[0].toLowerCase()],n+r[0].length):-1}function j(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=g[r[0].toLowerCase()],n+r[0].length):-1}function E(t,n,r){return S(t,e,n,r)}function D(t,e,r){return S(t,n,e,r)}function A(t,e,n){return S(t,r,e,n)}function L(t){return a[t.getDay()]}function I(t){return o[t.getDay()]}function M(t){return c[t.getMonth()]}function $(t){return s[t.getMonth()]}function F(t){return i[+(t.getHours()>=12)]}function R(t){return 1+~~(t.getMonth()/3)}function N(t){return a[t.getUTCDay()]}function B(t){return o[t.getUTCDay()]}function z(t){return c[t.getUTCMonth()]}function V(t){return s[t.getUTCMonth()]}function H(t){return i[+(t.getUTCHours()>=12)]}function U(t){return 1+~~(t.getUTCMonth()/3)}return y.x=x(n,y),y.X=x(r,y),y.c=x(e,y),w.x=x(n,w),w.X=x(r,w),w.c=x(e,w),{format:function(t){var e=x(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=O(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=O(t+="",!0);return e.toString=function(){return t},e}}}var rc,ic,oc,ac={"-":"",_:" ",0:"0"},sc=/^\s*\d+/,cc=/^%/,uc=/[\\^$*+?|[\]().{}]/g;function lc(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function _c(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function xc(t,e,n){var r=sc.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Oc(t,e,n){var r=sc.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Sc(t,e,n){var r=sc.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function kc(t,e,n){var r=sc.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Cc(t,e,n){var r=sc.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Pc(t,e,n){var r=sc.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Tc(t,e,n){var r=sc.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function jc(t,e,n){var r=sc.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ec(t,e,n){var r=sc.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Dc(t,e,n){var r=cc.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Ac(t,e,n){var r=sc.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Lc(t,e,n){var r=sc.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ic(t,e){return lc(t.getDate(),e,2)}function Mc(t,e){return lc(t.getHours(),e,2)}function $c(t,e){return lc(t.getHours()%12||12,e,2)}function Fc(t,e){return lc(1+Ys.count(Xs(t),t),e,3)}function Rc(t,e){return lc(t.getMilliseconds(),e,3)}function Nc(t,e){return Rc(t,e)+"000"}function Bc(t,e){return lc(t.getMonth()+1,e,2)}function zc(t,e){return lc(t.getMinutes(),e,2)}function Vc(t,e){return lc(t.getSeconds(),e,2)}function Hc(t){var e=t.getDay();return 0===e?7:e}function Uc(t,e){return lc(Bs.count(Xs(t)-1,t),e,2)}function Wc(t){var e=t.getDay();return e>=4||0===e?Us(t):Us.ceil(t)}function Gc(t,e){return t=Wc(t),lc(Us.count(Xs(t),t)+(4===Xs(t).getDay()),e,2)}function qc(t){return t.getDay()}function Yc(t,e){return lc(zs.count(Xs(t)-1,t),e,2)}function Kc(t,e){return lc(t.getFullYear()%100,e,2)}function Xc(t,e){return t=Wc(t),lc(t.getFullYear()%100,e,2)}function Zc(t,e){return lc(t.getFullYear()%1e4,e,4)}function Jc(t,e){var n=t.getDay();return t=n>=4||0===n?Us(t):Us.ceil(t),lc(t.getFullYear()%1e4,e,4)}function Qc(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+lc(e/60|0,"0",2)+lc(e%60,"0",2)}function tu(t,e){return lc(t.getUTCDate(),e,2)}function eu(t,e){return lc(t.getUTCHours(),e,2)}function nu(t,e){return lc(t.getUTCHours()%12||12,e,2)}function ru(t,e){return lc(1+Rs.count(Js(t),t),e,3)}function iu(t,e){return lc(t.getUTCMilliseconds(),e,3)}function ou(t,e){return iu(t,e)+"000"}function au(t,e){return lc(t.getUTCMonth()+1,e,2)}function su(t,e){return lc(t.getUTCMinutes(),e,2)}function cu(t,e){return lc(t.getUTCSeconds(),e,2)}function uu(t){var e=t.getUTCDay();return 0===e?7:e}function lu(t,e){return lc(Es.count(Js(t)-1,t),e,2)}function fu(t){var e=t.getUTCDay();return e>=4||0===e?Is(t):Is.ceil(t)}function hu(t,e){return t=fu(t),lc(Is.count(Js(t),t)+(4===Js(t).getUTCDay()),e,2)}function du(t){return t.getUTCDay()}function pu(t,e){return lc(Ds.count(Js(t)-1,t),e,2)}function vu(t,e){return lc(t.getUTCFullYear()%100,e,2)}function gu(t,e){return t=fu(t),lc(t.getUTCFullYear()%100,e,2)}function mu(t,e){return lc(t.getUTCFullYear()%1e4,e,4)}function bu(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Is(t):Is.ceil(t),lc(t.getUTCFullYear()%1e4,e,4)}function yu(){return"+0000"}function wu(){return"%"}function _u(t){return+t}function xu(t){return Math.floor(+t/1e3)}function Ou(t){return rc=nc(t),ic=rc.format,rc.parse,rc.utcFormat,oc=rc.utcParse,rc}function Su(){this._=null}function ku(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Cu(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Pu(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function Tu(t){while(t.L)t=t.L;return t}Ou({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Su.prototype={constructor:Su,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){t=t.R;while(t.L)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Tu(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);e.L=e.R=null,e.U=n,e.C=!0,t=e;while(n&&n.C)r=n.U,n===r.L?(i=r.R,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(Cu(this,n),t=n,n=t.U),n.C=!1,r.C=!0,Pu(this,r))):(i=r.L,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(Pu(this,n),t=n,n=t.U),n.C=!1,r.C=!0,Cu(this,r))),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,a=t.R;if(n=o?a?Tu(a):o:a,i?i.L===t?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=a,a.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if(e=i.R,e.C&&(e.C=!1,i.C=!0,Cu(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Pu(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Cu(this,i),t=this._;break}}else if(e=i.L,e.C&&(e.C=!1,i.C=!0,Pu(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Cu(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,Pu(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var ju=Su;function Eu(t,e,n,r){var i=[null,null],o=il.push(i)-1;return i.left=t,i.right=e,n&&Au(i,t,e,n),r&&Au(i,e,t,r),nl[t.index].halfedges.push(o),nl[e.index].halfedges.push(o),i}function Du(t,e,n){var r=[e,n];return r.left=t,r}function Au(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function Lu(t,e,n,r,i){var o,a=t[0],s=t[1],c=a[0],u=a[1],l=s[0],f=s[1],h=0,d=1,p=l-c,v=f-u;if(o=e-c,p||!(o>0)){if(o/=p,p<0){if(o0){if(o>d)return;o>h&&(h=o)}if(o=r-c,p||!(o<0)){if(o/=p,p<0){if(o>d)return;o>h&&(h=o)}else if(p>0){if(o0)){if(o/=v,v<0){if(o0){if(o>d)return;o>h&&(h=o)}if(o=i-u,v||!(o<0)){if(o/=v,v<0){if(o>d)return;o>h&&(h=o)}else if(v>0){if(o0||d<1)||(h>0&&(t[0]=[c+h*p,u+h*v]),d<1&&(t[1]=[c+d*p,u+d*v]),!0)}}}}}function Iu(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,c=t[0],u=t.left,l=t.right,f=u[0],h=u[1],d=l[0],p=l[1],v=(f+d)/2,g=(h+p)/2;if(p===h){if(v=r)return;if(f>d){if(c){if(c[1]>=i)return}else c=[v,n];o=[v,i]}else{if(c){if(c[1]1)if(f>d){if(c){if(c[1]>=i)return}else c=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(c){if(c[1]=r)return}else c=[e,a*e+s];o=[r,a*r+s]}else{if(c){if(c[0]ol||Math.abs(i[0][1]-i[1][1])>ol)||delete il[o]}function $u(t){return nl[t.index]={site:t,halfedges:[]}}function Fu(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function Ru(t,e){return e[+(e.left!==t.site)]}function Nu(t,e){return e[+(e.left===t.site)]}function Bu(){for(var t,e,n,r,i=0,o=nl.length;iol||Math.abs(v-h)>ol)&&(c.splice(s,0,il.push(Du(a,d,Math.abs(p-t)ol?[t,Math.abs(f-t)ol?[Math.abs(h-r)ol?[n,Math.abs(f-n)ol?[Math.abs(h-e)=-al)){var d=c*c+u*u,p=l*l+f*f,v=(f*d-u*p)/h,g=(c*p-l*d)/h,m=Hu.pop()||new Uu;m.arc=t,m.site=i,m.x=v+a,m.y=(m.cy=g+s)+Math.sqrt(v*v+g*g),t.circle=m;var b=null,y=rl._;while(y)if(m.yol)s=s.L;else{if(i=o-tl(s,a),!(i>ol)){r>-ol?(e=s.P,n=s):i>-ol?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}$u(t);var c=Ku(t);if(el.insert(e,c),e||n){if(e===n)return Gu(e),n=Ku(e.site),el.insert(c,n),c.edge=n.edge=Eu(e.site,c.site),Wu(e),void Wu(n);if(n){Gu(e),Gu(n);var u=e.site,l=u[0],f=u[1],h=t[0]-l,d=t[1]-f,p=n.site,v=p[0]-l,g=p[1]-f,m=2*(h*g-d*v),b=h*h+d*d,y=v*v+g*g,w=[(g*b-d*y)/m+l,(h*y-v*b)/m+f];Au(n.edge,u,p,w),c.edge=Eu(u,t,null,w),n.edge=Eu(t,p,null,w),Wu(e),Wu(n)}else c.edge=Eu(e.site,c.site)}}function Qu(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;n=a.site;var s=n[0],c=n[1],u=c-e;if(!u)return s;var l=s-r,f=1/o-1/u,h=l/u;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*u)-c+u/2+i-o/2)))/f+r:(r+s)/2}function tl(t,e){var n=t.N;if(n)return Qu(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var el,nl,rl,il,ol=1e-6,al=1e-12;function sl(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function cl(t,e){return e[1]-t[1]||e[0]-t[0]}function ul(t,e){var n,r,i,o=t.sort(cl).pop();il=[],nl=new Array(t.length),el=new ju,rl=new ju;while(1)if(i=Vu,o&&(!i||o[1]=s)return null;var c=t-i.site[0],u=e-i.site[1],l=c*c+u*u;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var c=t-s[0],u=e-s[1],f=c*c+u*u;f1?"s":"")+" required, but only "+e.length+" present")}function i(t){r(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof 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://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function o(t){r(1,arguments);var e=i(t);return!isNaN(e)}n.d(e,{Z:function(){return At}});var a={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"}};function s(t,e,n){var r;return n=n||{},r="string"===typeof a[t]?a[t]:1===e?a[t].one:a[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r}function c(t){return function(e){var n=e||{},r=n.width?String(n.width):t.defaultWidth,i=t.formats[r]||t.formats[t.defaultWidth];return i}}var u={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},l={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},h={date:c({formats:u,defaultWidth:"full"}),time:c({formats:l,defaultWidth:"full"}),dateTime:c({formats:f,defaultWidth:"full"})},d=h,p={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function v(t,e,n,r){return p[t]}function g(t){return function(e,n){var r,i=n||{},o=i.context?String(i.context):"standalone";if("formatting"===o&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,s=i.width?String(i.width):a;r=t.formattingValues[s]||t.formattingValues[a]}else{var c=t.defaultWidth,u=i.width?String(i.width):t.defaultWidth;r=t.values[u]||t.values[c]}var l=t.argumentCallback?t.argumentCallback(e):e;return r[l]}}var m={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},b={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},y={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"]},w={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"]},_={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"}},x={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"}};function O(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"}var S={ordinalNumber:O,era:g({values:m,defaultWidth:"wide"}),quarter:g({values:b,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:g({values:y,defaultWidth:"wide"}),day:g({values:w,defaultWidth:"wide"}),dayPeriod:g({values:_,defaultWidth:"wide",formattingValues:x,defaultFormattingWidth:"wide"})},k=S;function C(t){return function(e,n){var r=String(e),i=n||{},o=r.match(t.matchPattern);if(!o)return null;var a=o[0],s=r.match(t.parsePattern);if(!s)return null;var c=t.valueCallback?t.valueCallback(s[0]):s[0];return c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:r.slice(a.length)}}}function P(t){return function(e,n){var r=String(e),i=n||{},o=i.width,a=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],s=r.match(a);if(!s)return null;var c,u=s[0],l=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth];return c="[object Array]"===Object.prototype.toString.call(l)?j(l,(function(t){return t.test(u)})):T(l,(function(t){return t.test(u)})),c=t.valueCallback?t.valueCallback(c):c,c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:r.slice(u.length)}}}function T(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function j(t,e){for(var n=0;n0?n:1-n;return K("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):K(n+1,2)},d:function(t,e){return K(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];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return K(t.getUTCHours()%12||12,e.length)},H:function(t,e){return K(t.getUTCHours(),e.length)},m:function(t,e){return K(t.getUTCMinutes(),e.length)},s:function(t,e){return K(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return K(i,e.length)}},Z=X,J=864e5;function Q(t){r(1,arguments);var e=i(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var o=e.getTime(),a=n-o;return Math.floor(a/J)+1}function tt(t){r(1,arguments);var e=1,n=i(t),o=n.getUTCDay(),a=(o=a.getTime()?n+1:e.getTime()>=c.getTime()?n:n-1}function nt(t){r(1,arguments);var e=et(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var i=tt(n);return i}var rt=6048e5;function it(t){r(1,arguments);var e=i(t),n=tt(e).getTime()-nt(e).getTime();return Math.round(n/rt)+1}function ot(t,e){r(1,arguments);var n=e||{},o=n.locale,a=o&&o.options&&o.options.weekStartsOn,s=null==a?0:G(a),c=null==n.weekStartsOn?s:G(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(t),l=u.getUTCDay(),f=(l=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(o+1,0,l),f.setUTCHours(0,0,0,0);var h=ot(f,e),d=new Date(0);d.setUTCFullYear(o,0,l),d.setUTCHours(0,0,0,0);var p=ot(d,e);return n.getTime()>=h.getTime()?o+1:n.getTime()>=p.getTime()?o:o-1}function st(t,e){r(1,arguments);var n=e||{},i=n.locale,o=i&&i.options&&i.options.firstWeekContainsDate,a=null==o?1:G(o),s=null==n.firstWeekContainsDate?a:G(n.firstWeekContainsDate),c=at(t,e),u=new Date(0);u.setUTCFullYear(c,0,s),u.setUTCHours(0,0,0,0);var l=ot(u,e);return l}var ct=6048e5;function ut(t,e){r(1,arguments);var n=i(t),o=ot(n,e).getTime()-st(n,e).getTime();return Math.round(o/ct)+1}var lt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ft={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"});case"GGGG":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 Z.y(t,e)},Y:function(t,e,n,r){var i=at(t,r),o=i>0?i:1-i;if("YY"===e){var a=o%100;return K(a,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):K(o,e.length)},R:function(t,e){var n=et(t);return K(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return K(n,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 K(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"});case"QQQQ":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 K(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"});case"qqqq":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 Z.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"});case"MMMM":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 K(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"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=ut(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):K(i,e.length)},I:function(t,e,n){var r=it(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):K(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Z.d(t,e)},D:function(t,e,n){var r=Q(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):K(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"});case"EEEE":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 K(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"});case"eeee":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 K(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"});case"cccc":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 K(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"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?lt.noon:0===i?lt.midnight: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"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?lt.evening:i>=12?lt.afternoon:i>=4?lt.morning:lt.night,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"});case"BBBB":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 Z.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Z.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):K(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):K(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Z.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Z.s(t,e)},S:function(t,e){return Z.S(t,e)},X:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return dt(o);case"XXXX":case"XX":return pt(o);case"XXXXX":case"XXX":default:return pt(o,":")}},x:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return dt(o);case"xxxx":case"xx":return pt(o);case"xxxxx":case"xxx":default:return pt(o,":")}},O:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ht(o,":");case"OOOO":default:return"GMT"+pt(o,":")}},z:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ht(o,":");case"zzzz":default:return"GMT"+pt(o,":")}},t:function(t,e,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return K(o,e.length)},T:function(t,e,n,r){var i=r._originalDate||t,o=i.getTime();return K(o,e.length)}};function ht(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+K(o,2)}function dt(t,e){if(t%60===0){var n=t>0?"-":"+";return n+K(Math.abs(t)/60,2)}return pt(t,e)}function pt(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=K(Math.floor(i/60),2),a=K(i%60,2);return r+o+n+a}var vt=ft;function gt(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"});case"PPPP":default:return e.date({width:"full"})}}function mt(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"});case"pppp":default:return e.time({width:"full"})}}function bt(t,e){var n,r=t.match(/(P+)(p+)?/),i=r[1],o=r[2];if(!o)return gt(t,e);switch(i){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",gt(i,e)).replace("{{time}}",mt(o,e))}var yt={p:mt,P:bt},wt=yt;function _t(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()}var xt=["D","DD"],Ot=["YY","YYYY"];function St(t){return-1!==xt.indexOf(t)}function kt(t){return-1!==Ot.indexOf(t)}function Ct(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://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));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://git.io/fxCyr"));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://git.io/fxCyr"))}var Pt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jt=/^'([^]*?)'?$/,Et=/''/g,Dt=/[a-zA-Z]/;function At(t,e,n){r(2,arguments);var a=String(e),s=n||{},c=s.locale||W,u=c.options&&c.options.firstWeekContainsDate,l=null==u?1:G(u),f=null==s.firstWeekContainsDate?l:G(s.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=c.options&&c.options.weekStartsOn,d=null==h?0:G(h),p=null==s.weekStartsOn?d:G(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!c.localize)throw new RangeError("locale must contain localize property");if(!c.formatLong)throw new RangeError("locale must contain formatLong property");var v=i(t);if(!o(v))throw new RangeError("Invalid time value");var g=_t(v),m=Y(v,g),b={firstWeekContainsDate:f,weekStartsOn:p,locale:c,_originalDate:v},y=a.match(Tt).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=wt[e];return n(t,c.formatLong,b)}return t})).join("").match(Pt).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return Lt(n);var i=vt[r];if(i)return!s.useAdditionalWeekYearTokens&&kt(n)&&Ct(n,e,t),!s.useAdditionalDayOfYearTokens&&St(n)&&Ct(n,e,t),i(m,n,c.localize,b);if(r.match(Dt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return y}function Lt(t){return t.match(jt)[1].replace(Et,"'")}},9306:function(t){(function(e){"use strict";var n=y(),r=w(),i=_(),o=x(),a={imagePlaceholder:void 0,cacheBust:!1},s={toSvg:c,toPng:l,toJpeg:f,toBlob:h,toPixelData:u,impl:{fontFaces:i,images:o,util:n,inliner:r,options:{}}};function c(t,e){return e=e||{},d(e),Promise.resolve(t).then((function(t){return v(t,e.filter,!0)})).then(g).then(m).then(r).then((function(r){return b(r,e.width||n.width(t),e.height||n.height(t))}));function r(t){return e.bgcolor&&(t.style.backgroundColor=e.bgcolor),e.width&&(t.style.width=e.width+"px"),e.height&&(t.style.height=e.height+"px"),e.style&&Object.keys(e.style).forEach((function(n){t.style[n]=e.style[n]})),t}}function u(t,e){return p(t,e||{}).then((function(e){return e.getContext("2d").getImageData(0,0,n.width(t),n.height(t)).data}))}function l(t,e){return p(t,e||{}).then((function(t){return t.toDataURL()}))}function f(t,e){return e=e||{},p(t,e).then((function(t){return t.toDataURL("image/jpeg",e.quality||1)}))}function h(t,e){return p(t,e||{}).then(n.canvasToBlob)}function d(t){"undefined"===typeof t.imagePlaceholder?s.impl.options.imagePlaceholder=a.imagePlaceholder:s.impl.options.imagePlaceholder=t.imagePlaceholder,"undefined"===typeof t.cacheBust?s.impl.options.cacheBust=a.cacheBust:s.impl.options.cacheBust=t.cacheBust}function p(t,e){return c(t,e).then(n.makeImage).then(n.delay(100)).then((function(e){var n=r(t);return n.getContext("2d").drawImage(e,0,0),n}));function r(t){var r=document.createElement("canvas");if(r.width=e.width||n.width(t),r.height=e.height||n.height(t),e.bgcolor){var i=r.getContext("2d");i.fillStyle=e.bgcolor,i.fillRect(0,0,r.width,r.height)}return r}}function v(t,e,r){return r||!e||e(t)?Promise.resolve(t).then(i).then((function(n){return o(t,n,e)})).then((function(e){return a(t,e)})):Promise.resolve();function i(t){return t instanceof HTMLCanvasElement?n.makeImage(t.toDataURL()):t.cloneNode(!1)}function o(t,e,r){var i=t.childNodes;return 0===i.length?Promise.resolve(e):o(e,n.asArray(i),r).then((function(){return e}));function o(t,e,n){var r=Promise.resolve();return e.forEach((function(e){r=r.then((function(){return v(e,n)})).then((function(e){e&&t.appendChild(e)}))})),r}}function a(t,e){return e instanceof Element?Promise.resolve().then(r).then(i).then(o).then(a).then((function(){return e})):e;function r(){function r(t,e){function r(t,e){n.asArray(t).forEach((function(n){e.setProperty(n,t.getPropertyValue(n),t.getPropertyPriority(n))}))}t.cssText?e.cssText=t.cssText:r(t,e)}r(window.getComputedStyle(t),e.style)}function i(){function r(r){var i=window.getComputedStyle(t,r),o=i.getPropertyValue("content");if(""!==o&&"none"!==o){var a=n.uid();e.className=e.className+" "+a;var s=document.createElement("style");s.appendChild(c(a,r,i)),e.appendChild(s)}function c(t,e,r){var i="."+t+":"+e,o=r.cssText?a(r):s(r);return document.createTextNode(i+"{"+o+"}");function a(t){var e=t.getPropertyValue("content");return t.cssText+" content: "+e+";"}function s(t){return n.asArray(t).map(e).join("; ")+";";function e(e){return e+": "+t.getPropertyValue(e)+(t.getPropertyPriority(e)?" !important":"")}}}}[":before",":after"].forEach((function(t){r(t)}))}function o(){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function a(){e instanceof SVGElement&&(e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e instanceof SVGRectElement&&["width","height"].forEach((function(t){var n=e.getAttribute(t);n&&e.style.setProperty(t,n)})))}}}function g(t){return i.resolveAll().then((function(e){var n=document.createElement("style");return t.appendChild(n),n.appendChild(document.createTextNode(e)),t}))}function m(t){return o.inlineAll(t).then((function(){return t}))}function b(t,e,r){return Promise.resolve(t).then((function(t){return t.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(t)})).then(n.escapeXhtml).then((function(t){return''+t+""})).then((function(t){return''+t+""})).then((function(t){return"data:image/svg+xml;charset=utf-8,"+t}))}function y(){return{escape:h,parseExtension:e,mimeType:n,dataAsUrl:f,isDataUrl:r,canvasToBlob:o,resolveUrl:a,getAndEncode:l,uid:c(),delay:d,asArray:p,escapeXhtml:v,makeImage:u,width:g,height:m};function t(){var t="application/font-woff",e="image/jpeg";return{woff:t,woff2:t,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:e,jpeg:e,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(t){var e=/\.([^\.\/]*?)$/g.exec(t);return e?e[1]:""}function n(n){var r=e(n).toLowerCase();return t()[r]||""}function r(t){return-1!==t.search(/^(data:)/)}function i(t){return new Promise((function(e){for(var n=window.atob(t.toDataURL().split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;ot.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:[];return function(){for(var r=arguments.length,i=new Array(r),o=0;o0?c.translateSourceMainWrapperAtIndexUsingMethod(s.previous,"negative"):void 0!==s.next&&a.swipedX<0&&c.translateSourceMainWrapperAtIndexUsingMethod(s.next,"positive")},this.runZoomSwipeActions=function(t){a.swipedX=(B(t)-a.downClientX)/i.zoom,a.swipedY=(F(t)-a.downClientY)/i.zoom,e[s.current].translate(a.upSwipedX+a.swipedX,a.upSwipedY+a.swipedY).zero()}}function V(){var t=!1;return function(){return!t&&(t=!0,requestAnimationFrame((function(){t=!1})),!0)}}function H(t){var e=V();return function(){return t.isPointering&&e()}}function U(t){return t.touches?t.touches.length:0}function W(t){var e=t.data,n=t.props,r=t.resolve,i=t.sourcesPointerProps,o=H(i),a=r(z);this.listener=function(t){o()&&(a.runActions(t),U(t)&&i.isPinching?a.runPinchActions(t):1===e.zoom?1===n.sources.length?i.swipedX=1:a.runNormalSwipeActions(t):a.runZoomSwipeActions(t))}}function G(t){var e=t.collections.sourceMainWrapperTransformers,n=t.core,r=n.slideIndexChanger,i=n.clickZoomer,o=t.data,a=t.elements.sourceMainWrappers,s=t.sourcesPointerProps,c=t.stageIndexes;this.runPositiveSwipedXActions=function(){void 0===c.previous||(l("positive"),r.changeTo(c.previous)),l("zero")},this.runNegativeSwipedXActions=function(){void 0===c.next||(l("negative"),r.changeTo(c.next)),l("zero")},this.saveCurrentsourceMainWrapperPosition=function(){s.upSwipedX=e[c.current].getTranslateX(),s.upSwipedY=e[c.current].getTranslateY()},this.runSourceDownEventTargetActions=function(){o.zoom<=1?i.zoomIn():i.zoomOut()};var l=function(t){a[c.current].classList.add(u),e[c.current][t]()}}function q(t){var e=t.componentsServices,n=t.core,r=n.lightboxCloser,i=n.pointeringBucket,o=t.data,a=t.elements,s=t.resolve,c=t.sourcesPointerProps,u=s(G);this.runActions=function(){e.hideSlideSwipingHoverer(),c.isPinching=!1,c.pinchedHypot=0,i.runSwipingTopActionsForPropsAndEvent(c),L(a.sourceWrappersContainer,y)},this.runSwipeActions=function(){1===o.zoom?c.swipedX>0?u.runPositiveSwipedXActions():u.runNegativeSwipedXActions():u.saveCurrentsourceMainWrapperPosition()},this.runNoSwipeActions=function(){c.isSourceDownEventTarget?u.runSourceDownEventTargetActions():r.closeLightbox()}}function Y(t){var e=t.data,n=t.resolve,r=t.sourcesPointerProps,i=t.core.zoomer,o=n(q);this.listener=function(t){r.isPointering&&(r.isPinching||(r.swipedX?o.runSwipeActions():o.runNoSwipeActions()),o.runActions(t),e.zoom<1&&(i.zoomTo(1),i.stopZooming()))}}function K(t){var e=t.componentsServices,n=t.core.pointeringBucket,r=t.data,i=t.elements,o=t.thumbsSwipingProps;this.runActions=function(t){n.runSwipingMoveActionsForPropsAndEvent(o,t),i.thumbsInner.style.transform="translateX(".concat(r.thumbsTransform+o.swipedX,"px)"),e.showThumbsCursorerIfNotYet()}}function X(t){var e=t.data,n=t.resolve,r=H(t.thumbsSwipingProps),i=n(K);this.listener=function(t){e.thumbsInnerWidth>innerWidth&&r()&&i.runActions(t)}}function Z(t){var e=t.componentsServices,n=t.data,r=t.core,i=r.slideIndexChanger,o=r.thumbsTransformTransitioner,a=r.pointeringBucket,s=t.elements,c=t.thumbsSwipingProps,u=s.thumbsWrappers;this.runNoSwipeActionsForEvent=function(t){c.isPointering=!1;for(var e=0;e0)return l(0);n.thumbsTransform0||navigator.msMaxTouchPoints>0}function et(t){return!t.touches||t.touches.length<=2}function nt(t){var e=t.core.zoomer,n=t.data;this.listener=function(t){if(1===n.zoom){if(t.deltaY>0)return;e.startZooming()}var r=.1*n.zoom,i=n.zoom;t.deltaY<0?i+=r:(i-=r)<1&&(i=1),e.zoomTo(i),1===i&&e.stopZooming()}}function rt(t){return!t.sourcesPointerProps.isPointering}function it(t){var e=t.core,n=e.slideshowManager,r=e.slideChangeFacade,i=t.componentsServices,o=t.elements,a=t.props,s=0,c=!1;function u(){o.slideshowBar.classList.remove(m),i.stopSlideshow(),c=!1}function l(){var t=(s+=16.67)/a.slideshowTime;o.slideshowBar.style.width=t*innerWidth+"px",t>=1&&(s=0,r.changeToNext()),c&&requestAnimationFrame(l)}n.toggleSlideshow=function(){c?u():(c=!0,o.slideshowBar.classList.add(m),i.startSlideshow(),l())},n.resetSlideshow=function(){s=0,c&&u()}}function ot(t){var e=t.data,n=t.elements,r=t.stageIndexes;this.runOpacity0ActionUsingMethod=function(t){n.slideButtonPrevious&&(n.slideButtonPrevious.classList[t](g),n.slideButtonNext.classList[t](g))},this.runActiveEnhancementActionUsingMethod=function(t){e.isThumbing?n.thumbsContainer.classList[t](_):n.captions[r.current]&&n.captions[r.current].classList[t](p)}}function at(t,e){var n=t.classList;n.contains(e)||n.add(e)}function st(t){var e=t.core.zoomer,n=t.data,r=t.elements,i=t.sourcesPointerProps;this.runPinchActions=function(t){i.isPinching=!0,i.pinchedHypot=N(t),at(r.sourceWrappersContainer,y),1===n.zoom&&e.startZooming()}}function ct(t){var e,n,r,i=t.data,o=t.elements,a=i.captionHeights,s=i.notThumbedSourceEnhancementWrapperScales,c=i.notThumbedSourceEnhancementWrapperTranslatesY,u=o.sourceEnhancementWrappers,l=o.sources;this.setUpThumbedEnhancementWrapperTransform=function(){e=o.thumbsContainer.offsetHeight,n=i.thumbedSourceEnhancementWrapperTranslateY,r="translateY(".concat(n,"px) scale(").concat(i.thumbedSourceEnhancementWrapperScale,")")},this.setUpNotThumbedEnhancementWrapperTransformAtIndex=function(t){e=a[t],n=c[t],r="translateY(".concat(n,"px) scale(").concat(s[t],")")},this.ifSourceIsLoadedTransformEnhancementWrapperAtIndex=function(t){l[t]&&(innerWidthl[t].offsetHeight+e?u[t].style.transform="translateY(".concat(n/2,"px) scale(1)"):u[t].style.transform=r)}}function ut(t){var e,n,r;n=(e=t).core.classFacade,r=e.elements,n.removeFromEachElementClassIfContains=function(t,e){for(var n=0;nwindow.innerHeight&&(document.body.style.marginRight=e.scrollbarWidth+"px")};n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(t),it(t),function(t){var e=t.core,n=e.slideChangeFacade,r=e.slideIndexChanger,i=e.stageManager;t.props.sources.length>1?(n.changeToPrevious=function(){r.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){r.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(t),function(t){var e=t.collections.sourceMainWrapperTransformers,n=t.componentsServices,r=t.core,i=r.classFacade,o=r.eventsDispatcher,a=r.slideIndexChanger,s=r.sourceDisplayFacade,c=r.stageManager,l=r.thumbsTransformer,h=r.zoomer,d=t.data,p=t.elements,v=p.sourceAnimationWrappers,g=p.thumbs,m=t.getQueuedAction,b=t.props,y=b.disableThumbs,w=b.initialAnimation,_=b.slideChangeAnimation,O=t.resolve,S=t.stageIndexes,k=t.timeout,C=O(M),P=m((function(){i.removeFromEachElementClassIfContains("sourceAnimationWrappers",f)}),250);a.changeTo=function(t){y||(g[S.current]&&g[S.current].classList.remove(x),g[t]&&g[t].classList.add(x)),h.ifZoomingResetZoom(),d.isThumbing||C.runSlideChangeActions(S.current,t),S.current=t,c.updateStageIndexes(),!y&&g[S.current]&&l.transformToCurrentWithTransition(),n.setSlideNumber(t+1),s.displaySourcesWhichShouldBeDisplayed(),o.dispatch("onSlideChange")},a.jumpTo=function(t){var n=S.current;a.changeTo(t),i.removeFromEachElementClassIfContains("sourceMainWrappers",u),L(v[n],w),L(v[n],_),v[n].classList.add(f),L(v[t],w),L(v[t],f),v[t].classList.add(_),P(),e[t].zero(),k((function(){n!==S.current&&e[n].negative()}),220)}}(t),function(t){var e=t.core.sourceEnhancementWrappersTransformer,n=t.data,r=(0,t.resolve)(ct);e.ifSourceIsLoadedTransformEnhancementWrapperAtIndex=function(t){n.isThumbing?r.setUpThumbedEnhancementWrapperTransform():r.setUpNotThumbedEnhancementWrapperTransformAtIndex(t),r.ifSourceIsLoadedTransformEnhancementWrapperAtIndex(t)},e.ifSourceIsLoadedTransformThumbedEnhancementWrapperAtIndex=function(t){r.setUpThumbedEnhancementWrapperTransform(t),r.ifSourceIsLoadedTransformEnhancementWrapperAtIndex(t)},e.ifSourceIsLoadedTransformNotThumbedEnhancementWrapperAtIndex=function(t){r.setUpNotThumbedEnhancementWrapperTransformAtIndex(t),r.ifSourceIsLoadedTransformEnhancementWrapperAtIndex(t)}}(t),function(t){var e=t.core.sourceDisplayFacade,n=t.componentsServices.updateSourceDirectWrapperCollection,r=t.stageIndexes,i=t.props.loadOnlyCurrentSource;e.displaySourcesWhichShouldBeDisplayed=function(){if(i)n[r.current]();else for(var t in r)void 0!==r[t]&&n[r[t]]()}}(t),function(t){var e=t.core,n=e.classFacade,r=e.sourcesPointerDown,i=e.pointeringBucket,o=t.elements.sources,a=t.resolve,s=t.sourcesPointerProps,c=t.stageIndexes,l=a(st);r.listener=function(t){"VIDEO"===t.target.tagName||t.touches||t.preventDefault(),i.runSwipingDownActionsForPropsAndEvent(s,t),s.isMoveCallFirst=!0,s.downClientY=F(t),2===U(t)?l.runPinchActions(t):n.removeFromEachElementClassIfContains("sourceMainWrappers",u);var e=o[c.current];e&&e.contains(t.target)?s.isSourceDownEventTarget=!0:s.isSourceDownEventTarget=!1}}(t),function(t){var e=t.stageIndexes,n=t.core.stageManager,r=t.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===e.current?r:e.current-1},n.getNextSlideIndex=function(){return e.current===r?0:e.current+1},n.updateStageIndexes=0===r?function(){}:1===r?function(){0===e.current?(e.next=1,delete e.previous):(e.previous=0,delete e.next)}:function(){e.previous=n.getPreviousSlideIndex(),e.next=n.getNextSlideIndex()},n.isSourceInStage=r<=2?function(){return!0}:function(t){var n=e.current;if(0===n&&t===r||n===r&&0===t)return!0;var i=n-t;return-1===i||0===i||1===i}}(t),function(t){var e=t.core.pointeringBucket,n=t.elements;e.runSwipingDownActionsForPropsAndEvent=function(t,e){t.isPointering=!0,t.downClientX=B(e),t.swipedX=0},e.runSwipingMoveActionsForPropsAndEvent=function(t,e){at(n.container,a),t.swipedX=B(e)-t.downClientX},e.runSwipingTopActionsForPropsAndEvent=function(t){L(n.container,a),t.isPointering=!1}}(t),function(t){var e=t.collections,n=e.sourceMainWrapperTransformers,r=e.sourceSizers,i=t.core,o=i.sourceEnhancementWrappersTransformer,a=i.windowResizeActioner,s=i.thumbsTransformer,c=t.data,l=t.elements,f=t.props,h=f.disableThumbs,d=f.sources,p=t.stageIndexes,v=c.captionHeights,g=c.notThumbedSourceEnhancementWrapperScales,m=c.notThumbedSourceEnhancementWrapperTranslatesY,b=l.captions,y=l.sourceMainWrappers,w=l.thumbs;a.runActions=function(){innerWidth<992?c.maxSourceWidth=innerWidth:c.maxSourceWidth=.9*innerWidth,c.maxSourceHeight=.9*innerHeight,h||(c.thumbedSourceEnhancementWrapperScale=1-l.thumbsContainer.offsetHeight/innerHeight,c.thumbedSourceEnhancementWrapperTranslateY=-l.thumbsContainer.offsetHeight/2),0===c.unloadedThumbsCount&&a.runThumbsActions();for(var t=0;tt&&c>t?i(t-a):a>t?i(innerWidth-e.thumbsInnerWidth-9):c>t&&i(0)},this.runToThinThumbsActions=function(){at(n.thumbsContainer,s),i(0)};var i=function(t){e.thumbsTransform=t,n.thumbsInner.style.transform="translateX(".concat(t,"px)")}}function ht(t){var e,n,r,i,o,a=t.core,s=t.collections,c=t.componentsServices,l=t.data,f=t.elements,h=t.props;c.showThumbsCursorerIfNotYet=null,c.hideThumbsLoader=null,c.hideThumbsCursorer=null,l.thumbsInnerWidth=null,l.unloadedThumbsCount=h.sources.length,l.thumbsTransform=0,l.isThumbing=h.showThumbsOnMount,l.thumbedSourcesOutersScale=null,t.thumbsSwipingProps={isPointering:!1,downClientX:null,swipedX:null},s.thumbsRenderFunctions=[],a.thumbLoadHandler={},a.thumbsOpeningActions={},a.thumbsTransformer={},a.thumbsTransformTransitioner={},a.thumbsToggler={},a.thumbsSwipingDown={},f.thumbsContainer=null,f.thumbs=[],f.thumbsWrappers=[],f.thumbsPropedComponents=[],f.thumbsInner=null,function(t){var e=t.core,n=e.thumbLoadHandler,r=e.windowResizeActioner,i=t.componentsServices,o=t.data,a=t.elements.thumbsWrappers;n.handleLoad=function(){if(o.unloadedThumbsCount--,0===o.unloadedThumbsCount){for(var t=0;tinnerWidth?o.runActions():o.runToThinThumbsActions()},n.transformToCurrentWithTransition=function(){i.thumbsInnerWidth>innerWidth&&r.callActionWithTransition(o.runActions)}}(t),function(t){var e=t.core.thumbsTransformTransitioner,n=t.elements,r=(0,t.getQueuedAction)((function(){n.thumbsInner.classList.remove(u)}),250);e.callActionWithTransition=function(t){n.thumbsInner.classList.add(u),t(),r()}}(t),n=(e=t).core,r=n.thumbsSwipingDown,i=n.pointeringBucket,o=e.thumbsSwipingProps,r.listener=function(t){i.runSwipingDownActionsForPropsAndEvent(o,t),t.touches||t.preventDefault()}}function dt(t){return(dt="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)}function pt(t,e){if("object"===dt(e))for(var n in t)"object"===dt(e[n])?pt(t[n],e[n]):e[n]&&(t[n]=e[n])}function vt(t){var e,n=t.props,r=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(t){return e[t]?e[t]:o(t)},this.handleReceivedSourceTypeForUrl=function(t,n){!1===i[n]&&(r--,"invalid"!==t?i[n]=t:delete i[n],0===r&&(function(t,e){for(var n in e)t[n]=e[n]}(e,i),localStorage.setItem("fslightbox-types",JSON.stringify(e))))};var o=function(t){r++,i[t]=!1};n.disableLocalStorage?(this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){}):(e=JSON.parse(localStorage.getItem("fslightbox-types")))||(e={},this.getSourceTypeFromLocalStorageByUrl=o)}function gt(t){var e=t.componentsServices,n=t.data,r=t.elements.thumbsPropedComponents,i=t.props,o=i.showThumbsOnMount,a=i.sources,s=i.thumbs;this.buildThumbForTypeAndIndex=function(t,i){s&&s[i]?r[i]={component:"Thumb",props:{i:i,src:s[i]}}:r[i]="image"===t?{component:"Thumb",props:{i:i,src:a[i]}}:{component:"InvalidThumb",props:{i:i}},e.isLightboxOpenManager.get()&&(o||n.isThumbing)&&e.updateThumbsInner()}}function mt(t){var e,n=t.componentsServices,r=n.isLightboxOpenManager,i=n.updateSourceDirectWrapperCollection,o=t.elements.sourceComponents,a=t.props.disableThumbs,s=t.resolve;a||(e=s(gt)),this.runActionsForSourceTypeAndIndex=function(t,n){var s;switch(t){case"image":s="Imager";break;case"video":s="Videor";break;case"youtube":s="Youtuber";break;case"custom":s="Customer";break;default:s="Invalider"}o[n]=s,r.get()&&i[n](),a||e.buildThumbForTypeAndIndex(t,n)}}function bt(){var t,e,n,r={isUrlYoutubeOne:function(t){var e=document.createElement("a");return e.href=t,"www.youtube.com"===e.hostname},getTypeFromResponseContentType:function(t){return t.slice(0,t.indexOf("/"))}};function i(){if(4!==n.readyState){if(2===n.readyState){var t;switch(r.getTypeFromResponseContentType(n.getResponseHeader("content-type"))){case"image":t="image";break;case"video":t="video";break;default:t="invalid"}n.onreadystatechange=null,n.abort(),e(t)}}else e("invalid")}this.setUrlToCheck=function(e){t=e},this.getSourceType=function(o){if(r.isUrlYoutubeOne(t))return o("youtube");e=o,(n=new XMLHttpRequest).onreadystatechange=i,n.open("GET",t,!0),n.send()}}function yt(t,e,n){var r=t.props,i=r.types,o=r.type,a=r.sources,s=t.resolve;this.getTypeSetByClientForIndex=function(t){var e;return i&&i[t]?e=i[t]:o&&(e=o),e},this.retrieveTypeWithXhrForIndex=function(t){var r=s(bt);r.setUrlToCheck(a[t]),r.getSourceType((function(r){e.handleReceivedSourceTypeForUrl(r,a[t]),n.runActionsForSourceTypeAndIndex(r,t)}))}}function wt(t,e,n){for(var r=0;ri.maxSourceHeight?i.maxSourceHeight:r,c()};var c=function(){var t=o[e].style;t.width=s*a+"px",t.height=s+"px"}}function xt(t,e){var n=this,r=t.collections.sourceSizers,i=t.componentsServices.hideSourceLoaderCollection,o=t.core.sourceEnhancementWrappersTransformer,a=t.elements,s=a.sourceAnimationWrappers,c=a.sources,u=t.resolve;function l(t,n){r[e]=u(_t,[e,t,n]),r[e].adjustSize()}this.runActions=function(t,r){c[e].classList.add(m),s[e].classList.add(h),i[e](),o.ifSourceIsLoadedTransformEnhancementWrapperAtIndex(e),l(t,r),n.runActions=l}}function Ot(t,e){var n,r=this,i=t.elements.sources,o=t.props,a=t.resolve,s=t.timeout,c=a(xt,[e]);this.handleImageLoad=function(t){var e=t.target,n=e.naturalWidth,r=e.naturalHeight;c.runActions(n,r)},this.handleVideoLoad=function(t){var e=t.target,r=e.videoWidth,i=e.videoHeight;n=!0,c.runActions(r,i)},this.handleNotMetaDatedVideoLoad=function(){n||r.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var t=1920,e=1080;o.maxYoutubeVideoDimensions&&(t=o.maxYoutubeVideoDimensions.width,e=o.maxYoutubeVideoDimensions.height),c.runActions(t,e)},this.handleCustomLoad=function(){s((function(){var t=i[e];c.runActions(t.offsetWidth,t.offsetHeight)}))}}function St(t,e){var n=this,r=t.elements.sourceMainWrappers,i=t.props,o=0,a=0,s=0;this.translate=function(t,e){return a=t,void 0!==e&&(s=e),n},this.getTranslateX=function(){return o},this.getTranslateY=function(){return s},this.negative=function(){c(-(1+i.slideDistance)*innerWidth)},this.zero=function(){c(0)},this.positive=function(){c((1+i.slideDistance)*innerWidth)};var c=function(t){o=t+a,u(),a=0},u=function(){r[e].style.transform="translate(".concat(o,"px, ").concat(s,"px)")}}function kt(t){var e=t.componentsServices.isLightboxOpenManager,n=t.core,r=n.eventsDispatcher,i=n.lightboxOpener,o=n.lightboxOpenActioner,a=t.data,s=t.props;i.openLightbox=function(){o.runBeforeRenderActions(),wt(t,"sourceLoadHandlers",Ot),r.dispatch("onShow"),e.set(!0,o.runAfterRenderActions)},i.initializeAndOpenLightbox=function(){a.isInitialized=!0,wt(t,"sourceLoadHandlers",Ot),wt(t,"sourceMainWrapperTransformers",St),pt(a.slideButtons,s.slideButtons),pt(a.toolbarButtons,s.toolbarButtons),s.disableThumbs||ht(t),ut(t),r.dispatch("onInit"),e.set(!0,(function(){o.runAfterRenderActions(),function(t){for(var e=t.props.sources,n=t.resolve,r=n(vt),i=n(mt),o=n(yt,[r,i]),a=0;at.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),Ct(t,jt(n))},this.requestAnimationFrame=function(t){window.requestAnimationFrame((function(){e.elements.container.current&&t()}))},this.timeout=function(t,n){setTimeout((function(){e.elements.container&&t()}),n)},A(this),kt(this)}var At=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"nav",staticClass:"fslightbox-nav"},[e("Toolbar",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),this.hasMoreThanSource?e("SlideNumber",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}):this._e()],1)};At._withStripped=!0;var Lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fslightbox-toolbar"},[t._l(t.customToolbarButtons,(function(e,r){return t.customToolbarButtons?n("OneStateButton",{key:r,attrs:{"button-data":e,"on-click":function(){return e.onClick(t.fsLightbox)}}}):t._e()})),t._v(" "),t.disableThumbs?t._e():n("OneStateButton",{attrs:{"button-data":t.toolbarButtonsData.thumbs,"on-click":t.toggleThumbs}}),t._v(" "),n("OneStateButton",{attrs:{"button-data":t.toolbarButtonsData.zoomIn,"on-click":t.zoomIn}}),t._v(" "),n("OneStateButton",{attrs:{"button-data":t.toolbarButtonsData.zoomOut,"on-click":t.zoomOut}}),t._v(" "),n("SlideshowButton",{attrs:{"fs-lightbox-index":t.fsLightboxIndex}}),t._v(" "),n("FullscreenButton",{attrs:{"fs-lightbox-index":t.fsLightboxIndex}}),t._v(" "),n("OneStateButton",{attrs:{"button-data":t.toolbarButtonsData.close,"on-click":t.closeLightbox}})],2)};Lt._withStripped=!0;var It=function(){var t=this.$createElement;return(this._self._c||t)("ToolbarButton",{attrs:{"on-click":this.getButtonData("onClick"),"view-box":this.getButtonData("viewBox"),width:this.getButtonData("width"),height:this.getButtonData("height"),d:this.getButtonData("d"),title:this.getButtonData("title")}})};It._withStripped=!0;var Mt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"fslightbox-toolbar-button fslightbox-flex-centered",attrs:{title:this.title},on:{click:this.onClick}},[e("Svger",{attrs:{"view-box":this.viewBox,width:this.width,height:this.height,d:this.d}})],1)};Mt._withStripped=!0;var $t=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:this.width,height:this.height,viewBox:this.viewBox,xmlns:"http://www.w3.org/2000/svg"}},[e("path",{staticClass:"fslightbox-svg-path",attrs:{d:this.d}})])};function Ft(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}$t._withStripped=!0;var Rt=Ft({props:{width:String,height:String,viewBox:String,d:String}},$t,[],!1,null,null,null);Rt.options.__file="src/components/helpers/Svger.vue";var Nt=Rt.exports,Bt=Ft({components:{Svger:Nt},props:{onClick:Function,width:String,height:String,viewBox:String,d:String,title:String}},Mt,[],!1,null,null,null);Bt.options.__file="src/components/nav/toolbar/ToolbarButton.vue";var zt=Bt.exports;function Vt(t,e){return{onClick:e,viewBox:t.viewBox,width:t.width,height:t.height,d:t.d,title:t.title}}var Ht=Ft({components:{ToolbarButton:zt},props:{fsLightboxIndex:Number},data:function(){return{isFullscreenOpen:!1}},methods:{getButtonData:function(t){var e=k[this.fsLightboxIndex],n=e.core.fullscreenToggler,r=n.exitFullscreen,i=n.enterFullscreen,o=e.data.toolbarButtons.fullscreen,a=o.enter,s=o.exit;return(this.isFullscreenOpen?Vt(s,r):Vt(a,i))[t]}},created:function(){var t=this,e=k[this.fsLightboxIndex].componentsServices.isFullscreenOpenManager;e.get=function(){return t.isFullscreenOpen},e.set=function(e){return t.isFullscreenOpen=e}}},It,[],!1,null,null,null);Ht.options.__file="src/components/nav/toolbar/toolbar-buttons/FullscreenButton.vue";var Ut=Ht.exports,Wt=function(){var t=this.$createElement;return(this._self._c||t)("ToolbarButton",{attrs:{"on-click":this.onClick,"view-box":this.buttonData.viewBox,width:this.buttonData.width,height:this.buttonData.height,d:this.buttonData.d,title:this.buttonData.title}})};Wt._withStripped=!0;var Gt=Ft({props:{buttonData:Object,onClick:Function},components:{ToolbarButton:zt}},Wt,[],!1,null,null,null);Gt.options.__file="src/components/nav/toolbar/toolbar-buttons/OneStateButton.vue";var qt=Gt.exports,Yt=function(){var t=this.$createElement;return(this._self._c||t)("ToolbarButton",{attrs:{"on-click":this.getButtonData("onClick"),"view-box":this.getButtonData("viewBox"),width:this.getButtonData("width"),height:this.getButtonData("height"),d:this.getButtonData("d"),title:this.getButtonData("title")}})};Yt._withStripped=!0;var Kt=Ft({components:{ToolbarButton:zt},props:{fsLightboxIndex:Number},data:function(){return{isSlideshowOn:!1}},methods:{getButtonData:function(t){var e=k[this.fsLightboxIndex],n=e.core.slideshowManager.toggleSlideshow,r=e.data.toolbarButtons.slideshow,i=r.start,o=r.pause;return(this.isSlideshowOn?Vt(o,n):Vt(i,n))[t]}},created:function(){var t=this,e=k[this.fsLightboxIndex].componentsServices;e.startSlideshow=function(){return t.isSlideshowOn=!0},e.stopSlideshow=function(){return t.isSlideshowOn=!1}}},Yt,[],!1,null,null,null);Kt.options.__file="src/components/nav/toolbar/toolbar-buttons/SlideshowButton.vue";var Xt=Ft({components:{SlideshowButton:Kt.exports,OneStateButton:qt,FullscreenButton:Ut},props:{fsLightboxIndex:Number},data:function(){var t=k[this.fsLightboxIndex],e=t.core,n=e.clickZoomer,r=n.zoomIn,i=n.zoomOut,o=e.lightboxCloser.closeLightbox,a=t.data.toolbarButtons,s=t.props,c=s.disableThumbs,u=s.customToolbarButtons,l={fsLightbox:k[this.fsLightboxIndex],toolbarButtonsData:a,customToolbarButtons:u,closeLightbox:o,zoomIn:r,zoomOut:i,disableThumbs:c};return c||(l.toggleThumbs=k[this.fsLightboxIndex].core.thumbsToggler.toggleThumbs),l}},Lt,[],!1,null,null,null);Xt.options.__file="src/components/nav/toolbar/Toolbar.vue";var Zt=Xt.exports,Jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"source-number-outer",staticClass:"fslightbox-slide-number-container"},[n("div",{ref:"source-number-inner",staticClass:"fslightbox-flex-centered"},[n("span",{attrs:{"data-test-id":"slide-number"}},[t._v(t._s(t.slide))]),t._v(" "),n("span",{staticClass:"fslightbox-slash"}),t._v(" "),n("span",[t._v(t._s(t.sourcesCount))])])])};Jt._withStripped=!0;var Qt=Ft({props:{fsLightboxIndex:Number},data:function(){return{slide:k[this.fsLightboxIndex].stageIndexes.current+1,sourcesCount:k[this.fsLightboxIndex].props.sources.length}},created:function(){var t=this;k[this.fsLightboxIndex].componentsServices.setSlideNumber=function(e){return t.slide=e}},mounted:function(){this.$refs["source-number-inner"].offsetWidth>55&&(this.$refs["source-number-outer"].style.justifyContent="flex-start")}},Jt,[],!1,null,null,null);Qt.options.__file="src/components/nav/SlideNumber.vue";var te=Ft({components:{SlideNumber:Qt.exports,Toolbar:Zt},props:{fsLightboxIndex:Number},data:function(){return{hasMoreThanSource:k[this.fsLightboxIndex].props.sources.length>1}},mounted:function(){k[this.fsLightboxIndex].elements.nav=this.$refs.nav}},At,[],!1,null,null,null);te.options.__file="src/components/nav/Naver.vue";var ee=te.exports,ne=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"ref",staticClass:"fslightbox-source-wrappers-container fslightbox-absoluted fslightbox-full-dimension",attrs:{"data-test-id":"source-wrappers-container"}},t._l(t.sourcesLength,(function(e,r){return n("SourceMainWrapper",{key:r,attrs:{i:r,"fs-lightbox-index":t.fsLightboxIndex}})})),1)};ne._withStripped=!0;var re=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref",staticClass:"fslightbox-absoluted fslightbox-full-dimension fslightbox-flex-centered",attrs:{"data-test-class":"source-main-wrapper"}},[e("SourceEnhancementWrapper",{attrs:{"fs-lightbox-index":this.fsLightboxIndex,i:this.i}}),this._v(" "),this.isSourceLoaded?this._e():e("Loader")],1)};re._withStripped=!0;var ie=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref",staticClass:"fslightbox-transform-transition",attrs:{"data-test-class":"source-enhancement-wrapper"}},[e("source-animation-wrapper",{attrs:{"fs-lightbox-index":this.fsLightboxIndex,i:this.i}})],1)};ie._withStripped=!0;var oe=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref"},[this.sourceComponent&&this.shouldSourceBeRendered?e(this.sourceComponent,{tag:"component",attrs:{"fs-lightbox-index":this.fsLightboxIndex,i:this.i}}):this._e()],1)};oe._withStripped=!0;var ae=function(){var t=this.$createElement;return(this._self._c||t)("img",this._b({ref:"ref",staticClass:"fslightbox-source",attrs:{src:this.src},on:{load:this.onLoad}},"img",this.customAttributes,!1))};ae._withStripped=!0;var se=Ft({props:{fsLightboxIndex:Number,i:Number},data:function(){var t=k[this.fsLightboxIndex],e=t.collections.sourceLoadHandlers,n=t.props,r=n.customAttributes,i=n.sources;return{onLoad:e[this.i].handleImageLoad,src:i[this.i],customAttributes:r&&r[this.i]}},mounted:function(){k[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},ae,[],!1,null,null,null);se.options.__file="src/components/sources/proper-sources/Imager.vue";var ce=se.exports,ue=function(){var t=this.$createElement,e=this._self._c||t;return e("video",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-video",attrs:{controls:""},on:{loadedmetadata:this.onLoad}},"video",this.customAttributes,!1),[e("source",{attrs:{src:this.src}})])};ue._withStripped=!0;var le=Ft({props:{fsLightboxIndex:Number,i:Number},data:function(){var t=k[this.fsLightboxIndex],e=t.collections.sourceLoadHandlers,n=t.props,r=n.customAttributes,i=n.sources;return{onLoad:e[this.i].handleVideoLoad,src:i[this.i],customAttributes:r&&r[this.i]}},mounted:function(){k[this.fsLightboxIndex].elements.sources[this.i]=this.$refs.ref}},ue,[],!1,null,null,null);le.options.__file="src/components/sources/proper-sources/Videor.vue";var fe=le.exports,he=function(){var t=this.$createElement;return(this._self._c||t)("iframe",this._b({ref:"ref",staticClass:"fslightbox-source fslightbox-youtube-iframe",attrs:{src:this.src,allowfullscreen:""}},"iframe",this.customAttributes,!1))};he._withStripped=!0;var de=Ft({props:{fsLightboxIndex:Number,i:Number},data:function(){var t,e=k[this.fsLightboxIndex].props,n=e.customAttributes,r=e.sources;return{src:"https://www.youtube.com/embed/".concat((t=r[this.i],t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2])),customAttributes:n&&n[this.i]}},mounted:function(){var t=k[this.fsLightboxIndex],e=t.collections.sourceLoadHandlers;t.elements.sources[this.i]=this.$refs.ref,e[this.i].handleYoutubeLoad()}},he,[],!1,null,null,null);de.options.__file="src/components/sources/proper-sources/Youtuber.vue";var pe=de.exports,ve=function(){var t=this.$createElement;return(this._self._c||t)(this.component,this._b({ref:"ref",tag:"component"},"component",this.componentProps,!1))};function ge(t){var e={component:t,componentProps:{}};return t.component&&(e.component=t.component,e.componentProps=t.props),e}ve._withStripped=!0;var me=Ft({props:{fsLightboxIndex:Number,i:Number},data:function(){return ge(k[this.fsLightboxIndex].props.sources[this.i])},mounted:function(){var t=k[this.fsLightboxIndex],e=t.collections.sourceLoadHandlers,n=t.elements.sources;n[this.i]=this.$refs.ref.$el,n[this.i].classList.add(b),e[this.i].handleCustomLoad()}},ve,[],!1,null,null,null);me.options.__file="src/components/sources/proper-sources/Customer.vue";var be=me.exports,ye=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"fslightbox-invalid-file-wrapper fslightbox-flex-centered"},[this._v("\n Invalid source\n")])};ye._withStripped=!0;var we=Ft({props:{fsLightboxIndex:Number,i:Number},mounted:function(){var t=k[this.fsLightboxIndex],e=t.componentsServices.hideSourceLoaderCollection,n=t.elements.sourceMainWrappers;e[this.i](),n[this.i].classList.add(h)}},ye,[],!1,null,null,null);we.options.__file="src/components/sources/proper-sources/Invalider.vue";var _e=we.exports,xe=Ft({props:{fsLightboxIndex:Number,i:Number},components:{Imager:ce,Videor:fe,Youtuber:pe,Customer:be,Invalider:_e},data:function(){var t={};return this.attachComponentDataToObject(t),t},created:function(){var t=this;k[this.fsLightboxIndex].componentsServices.updateSourceDirectWrapperCollection[this.i]=function(){t.attachComponentDataToObject(t)}},mounted:function(){k[this.fsLightboxIndex].elements.sourceAnimationWrappers[this.i]=this.$refs.ref},methods:{attachComponentDataToObject:function(t){var e=k[this.fsLightboxIndex],n=e.core.stageManager,r=e.elements.sourceComponents,i=e.props.loadOnlyCurrentSource,o=e.stageIndexes;t.sourceComponent=r[this.i],t.shouldSourceBeRendered=this.i===o.current||!i&&n.isSourceInStage(this.i)}}},oe,[],!1,null,null,null);xe.options.__file="src/components/sources/SourceAnimationWrapper.vue";var Oe=xe.exports,Se=Ft({props:{fsLightboxIndex:Number,i:Number},components:{SourceAnimationWrapper:Oe},mounted:function(){k[this.fsLightboxIndex].elements.sourceEnhancementWrappers[this.i]=this.$refs.ref}},ie,[],!1,null,null,null);Se.options.__file="src/components/sources/SourceEnhancementWrapper.vue";var ke=Se.exports,Ce=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:this.className,attrs:{"data-test-id":this.testId}},[e("div"),this._v(" "),e("div"),this._v(" "),e("div"),this._v(" "),e("div")])};Ce._withStripped=!0;var Pe=Ft({props:{additionalClassName:String,testId:String},data:function(){var t="fslightbox-loader";return this.additionalClassName&&(t+=" ".concat(this.additionalClassName)),{className:t}}},Ce,[],!1,null,null,null);Pe.options.__file="src/components/helpers/Loader.vue";var Te=Pe.exports,je=Ft({props:{fsLightboxIndex:Number,i:Number},components:{SourceEnhancementWrapper:ke,Loader:Te},data:function(){return{isSourceLoaded:!1}},created:function(){var t=this;k[this.fsLightboxIndex].componentsServices.hideSourceLoaderCollection[this.i]=function(){return t.isSourceLoaded=!0}},mounted:function(){k[this.fsLightboxIndex].elements.sourceMainWrappers[this.i]=this.$refs.ref}},re,[],!1,null,null,null);je.options.__file="src/components/sources/SourceMainWrapper.vue";var Ee=je.exports;function De(){this.getMouseDownListenerFunc=function(t){return tt()?void 0:E(t,et)},this.getTouchStartListenerForFunc=function(t){return tt()?E(t,et):void 0}}var Ae=Ft({props:{fsLightboxIndex:Number},components:{SourceMainWrapper:Ee},data:function(){return{sourcesLength:k[this.fsLightboxIndex].props.sources.length}},mounted:function(){var t=k[this.fsLightboxIndex],e=t.core.sourcesPointerDown.listener;t.elements.sourceWrappersContainer=this.$refs.ref;var n=new De;this.$refs.ref.addEventListener("mousedown",n.getMouseDownListenerFunc(e)),this.$refs.ref.addEventListener("touchstart",n.getTouchStartListenerForFunc(e))}},ne,[],!1,null,null,null);Ae.options.__file="src/components/sources/SourceWrappersContainer.vue";var Le=Ae.exports,Ie=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.sourcesLength>1?n("div",[n("SlideButton",{attrs:{"fs-lightbox-index":t.fsLightboxIndex,"on-click":t.changeToPrevious,"button-data":t.previousButtonData,name:"previous"}}),t._v(" "),n("SlideButton",{attrs:{"fs-lightbox-index":t.fsLightboxIndex,"on-click":t.changeToNext,"button-data":t.nextButtonData,name:"next"}})],1):t._e()};Ie._withStripped=!0;var Me=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref",class:"fslightbox-slide-btn-container fslightbox-slide-btn-container-"+this.name,attrs:{title:this.buttonData.title},on:{click:this.onClick}},[e("div",{staticClass:"fslightbox-slide-btn fslightbox-flex-centered"},[e("Svger",{attrs:{"view-box":this.buttonData.viewBox,width:this.buttonData.width,height:this.buttonData.height,d:this.buttonData.d}})],1)])};Me._withStripped=!0;var $e=Ft({components:{Svger:Nt},props:{fsLightboxIndex:Number,onClick:Function,buttonData:Object,name:String},mounted:function(){k[this.fsLightboxIndex].elements["slideButton".concat(this.name.toUpperCase().substr(0,1)+this.name.substr(1))]=this.$refs.ref}},Me,[],!1,null,null,null);$e.options.__file="src/components/SlideButton.vue";var Fe=$e.exports,Re=Ft({props:{fsLightboxIndex:Number},components:{SlideButton:Fe},data:function(){var t=k[this.fsLightboxIndex],e=t.core.slideChangeFacade,n=e.changeToPrevious,r=e.changeToNext,i=t.data.slideButtons,o=i.previous,a=i.next;return{sourcesLength:t.props.sources.length,changeToPrevious:n,changeToNext:r,previousButtonData:o,nextButtonData:a}}},Ie,[],!1,null,null,null);Re.options.__file="src/components/SlideButtons.vue";var Ne=Re.exports,Be=function(){var t=this.$createElement,e=this._self._c||t;return this.isSlideSwipingHovererShown?e("div",{staticClass:"fslightbox-slide-swiping-hoverer fslightbox-full-dimension fslightbox-absoluted"}):this._e()};Be._withStripped=!0;var ze=Ft({props:{fsLightboxIndex:Number},data:function(){return{isSlideSwipingHovererShown:!1}},created:function(){var t=this,e=k[this.fsLightboxIndex].componentsServices;e.showSlideSwipingHovererIfNotYet=function(){t.isSlideSwipingHovererShown||(t.isSlideSwipingHovererShown=!0)},e.hideSlideSwipingHoverer=function(){t.isSlideSwipingHovererShown=!1}}},Be,[],!1,null,null,null);ze.options.__file="src/components/SlideSwipingHoverer.vue";var Ve=ze.exports,He=function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"ref",staticClass:"fslightbox-slideshow-bar fslightbox-absoluted"})};He._withStripped=!0;var Ue=Ft({props:{fsLightboxIndex:Number},mounted:function(){k[this.fsLightboxIndex].elements.slideshowBar=this.$refs.ref}},He,[],!1,null,null,null);Ue.options.__file="src/components/SlideshowBar.vue";var We=Ue.exports;function Ge(t){var e=t.props.disableLocalStorage;if(!e){var n=localStorage.getItem("fslightbox-scrollbar-width");if(n)return n}var r=function(){var t=document.createElement("div"),e=t.style;return e.visibility="hidden",e.width="100px",e.msOverflowStyle="scrollbar",e.overflow="scroll",t}(),i=function(){var t=document.createElement("div");return t.style.width="100%",t}();document.body.appendChild(r);var o=r.offsetWidth;r.appendChild(i);var a=i.offsetWidth;document.body.removeChild(r);var s=o-a;return e||localStorage.setItem("fslightbox-scrollbar-width",s.toString()),s}function qe(t){var e=t.core.lightboxOpener,n=t.data,r=t.props.openOnMount;document.getElementsByClassName(o).length||O(),n.scrollbarWidth=Ge(t),r&&e.initializeAndOpenLightbox()}var Ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.captions,(function(e,r){return e?n("Caption",{key:r,attrs:{"fs-lightbox-index":t.fsLightboxIndex,i:r}}):t._e()})),1)};Ye._withStripped=!0;var Ke=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref",class:this.className},[e("div",{staticClass:"fslightbox-caption-inner"},[e(this.component,this._b({tag:"component"},"component",this.componentProps,!1))],1)])};Ke._withStripped=!0;var Xe=Ft({props:{fsLightboxIndex:Number,i:Number},data:function(){var t=k[this.fsLightboxIndex],e=t.data.isThumbing,n=t.props.captions,r=t.stageIndexes,i=ge(n[this.i]);return i.className="fslightbox-caption fslightbox-flex-centered",r.current!==this.i||e||(i.className+=" fslightbox-caption-active"),i},mounted:function(){k[this.fsLightboxIndex].elements.captions[this.i]=this.$refs.ref}},Ke,[],!1,null,null,null);Xe.options.__file="src/components/captions/Caption.vue";var Ze=Ft({components:{Caption:Xe.exports},props:{fsLightboxIndex:Number},data:function(){return{captions:k[this.fsLightboxIndex].props.captions}}},Ye,[],!1,null,null,null);Ze.options.__file="src/components/captions/Captions.vue";var Je=Ze.exports,Qe=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"ref",class:this.className},[e("ThumbsCursorer",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),e("ThumbsInner",{attrs:{"fs-lightbox-index":this.fsLightboxIndex}}),this._v(" "),this.areThumbsLoading?e("Loader",{attrs:{testId:"thumbs-loader","additional-class-name":"fslightbox-thumbs-loader"}}):this._e()],1)};Qe._withStripped=!0;var tn=function(){var t=this.$createElement,e=this._self._c||t;return this.isThumbsCursorerShown?e("div",{staticClass:"fslightbox-thumbs-cursorer fslightbox-full-dimension fslightbox-absoluted"}):this._e()};tn._withStripped=!0;var en=Ft({props:{fsLightboxIndex:Number},data:function(){return{isThumbsCursorerShown:!1}},created:function(){var t=this,e=k[this.fsLightboxIndex].componentsServices;e.showThumbsCursorerIfNotYet=function(){t.isThumbsCursorerShown||(t.isThumbsCursorerShown=!0)},e.hideThumbsCursorer=function(){t.isThumbsCursorerShown=!1}}},tn,[],!1,null,null,null);en.options.__file="src/components/thumbs/ThumbsCursorer.vue";var nn=en.exports,rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"ref",staticClass:"fslightbox-thumbs-inner",attrs:{"data-test-id":"thumbs-inner"}},t._l(t.children,(function(e,r){return e?n(e.component,t._b({key:r,tag:"component",attrs:{"fs-lightbox-index":t.fsLightboxIndex}},"component",e.props,!1)):t._e()})),1)};rn._withStripped=!0;var on=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"thumb-wrapper",staticClass:"fslightbox-thumb-invalid fslightbox-thumb-wrapper"},[e("div",{ref:"thumb",class:this.thumbClassName},[e("Svger",{attrs:{width:"22px",height:"22px","view-box":"0 0 30 30",d:"M15,3C8.373,3,3,8.373,3,15c0,6.627,5.373,12,12,12s12-5.373,12-12C27,8.373,21.627,3,15,3z M16.212,8l-0.2,9h-2.024l-0.2-9 H16.212z M15.003,22.189c-0.828,0-1.323-0.441-1.323-1.182c0-0.755,0.494-1.196,1.323-1.196c0.822,0,1.316,0.441,1.316,1.196 C16.319,21.748,15.825,22.189,15.003,22.189z"}})],1)])};on._withStripped=!0;var an=Ft({components:{Svger:Nt},props:{fsLightboxIndex:Number,i:Number},data:function(){var t={thumbClassName:"fslightbox-thumb fslightbox-flex-centered"};return this.i===k[this.fsLightboxIndex].stageIndexes.current&&(t.thumbClassName+=" fslightbox-thumb-active"),t},mounted:function(){var t=k[this.fsLightboxIndex],e=t.core.thumbLoadHandler.handleLoad,n=t.elements,r=n.thumbsWrappers,i=n.thumbs;r[this.i]=this.$refs["thumb-wrapper"],i[this.i]=this.$refs.thumb,e()}},on,[],!1,null,null,null);an.options.__file="src/components/thumbs/InvalidThumb.vue";var sn=an.exports,cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"thumb-wrapper",staticClass:"fslightbox-thumb-wrapper"},[t.thumbIcon?n("div",{staticClass:"fslightbox-thumb-wrapper-darkener"}):t._e(),t._v(" "),t.thumbIcon?n(t.thumbIcon.component,t._b({tag:"component"},"component",t.thumbIcon.componentProps,!1)):t._e(),t._v(" "),n("img",{ref:"thumb",class:t.thumbClassName,attrs:{src:t.src,alt:t.src},on:{load:t.onLoad}})],1)};cn._withStripped=!0;var un=Ft({props:{fsLightboxIndex:Number,i:Number,src:String},data:function(){var t=k[this.fsLightboxIndex],e=t.core.thumbLoadHandler.handleLoad,n=t.props.thumbsIcons,r=t.stageIndexes,i={thumbIcon:null},o=n&&n[this.i];return o&&(i.thumbIcon=ge(o)),i.onLoad=e,i.thumbClassName="fslightbox-thumb",this.i===r.current&&(i.thumbClassName+=" fslightbox-thumb-active"),i},mounted:function(){var t=k[this.fsLightboxIndex].elements,e=t.thumbsWrappers,n=t.thumbs;e[this.i]=this.$refs["thumb-wrapper"],n[this.i]=this.$refs.thumb}},cn,[],!1,null,null,null);un.options.__file="src/components/thumbs/Thumb.vue";var ln=un.exports,fn=Ft({props:{fsLightboxIndex:Number},components:{Loader:Te,Thumb:ln,InvalidThumb:sn},data:function(){return{children:this.getChildren().slice()}},created:function(){var t=this;k[this.fsLightboxIndex].componentsServices.updateThumbsInner=function(){t.children=t.getChildren().slice()}},mounted:function(){var t=k[this.fsLightboxIndex],e=t.core.thumbsSwipingDown.listener;t.elements.thumbsInner=this.$refs.ref;var n=new De;this.$refs.ref.addEventListener("mousedown",n.getMouseDownListenerFunc(e)),this.$refs.ref.addEventListener("touchstart",n.getTouchStartListenerForFunc(e))},methods:{getChildren:function(){return k[this.fsLightboxIndex].elements.thumbsPropedComponents}}},rn,[],!1,null,null,null);fn.options.__file="src/components/thumbs/ThumbsInner.vue";var hn=Ft({components:{Loader:Te,ThumbsInner:fn.exports,ThumbsCursorer:nn},props:{fsLightboxIndex:Number},data:function(){var t={areThumbsLoading:!0,className:"fslightbox-thumbs"};return k[this.fsLightboxIndex].data.isThumbing&&(t.className+=" fslightbox-thumbs-active"),t},mounted:function(){var t=this;k[this.fsLightboxIndex].elements.thumbsContainer=this.$refs.ref,k[this.fsLightboxIndex].componentsServices.hideThumbsLoader=function(){t.areThumbsLoading=!1}}},Qe,[],!1,null,null,null);hn.options.__file="src/components/thumbs/Thumbs.vue";var dn=hn.exports,pn=Ft({props:{toggler:Boolean,sources:Array,initialAnimation:{type:String,default:h},slideChangeAnimation:{type:String,default:l},captions:Array,onOpen:Function,onClose:Function,onInit:Function,onShow:Function,onSlideChange:Function,slide:Number,source:String,sourceIndex:Number,customAttributes:Array,maxYoutubeVideoDimensions:Object,slideButtons:Object,toolbarButtons:Object,disableLocalStorage:Boolean,types:Array,type:String,thumbs:Array,disableThumbs:Boolean,showThumbsOnMount:Boolean,thumbsIcons:Array,customToolbarButtons:Array,exitFullscreenOnClose:Boolean,loadOnlyCurrentSource:Boolean,openOnMount:Boolean,slideDistance:{type:Number,default:.3},slideshowTime:{type:Number,default:8e3},UIFadeOutTime:{type:Number,default:8e3},zoomIncrement:{type:Number,default:.25}},components:{Thumbs:dn,Captions:Je,Naver:ee,SlideButtons:Ne,SlideshowBar:We,SlideSwipingHoverer:Ve,SourceWrappersContainer:Le},data:function(){return{isOpen:!1,fsLightboxStore:k}},watch:{slide:function(){k[this.fsLightboxIndex].core.lightboxUpdater.handleSlideProp()},sourceIndex:function(){k[this.fsLightboxIndex].core.lightboxUpdater.handleSlideProp()},source:function(){k[this.fsLightboxIndex].core.lightboxUpdater.handleSlideProp()},toggler:function(){k[this.fsLightboxIndex].core.lightboxUpdater.handleSlideProp(),k[this.fsLightboxIndex].core.lightboxUpdater.handleTogglerUpdate()}},created:function(){var t=this;this.fsLightboxIndex=k.push(new Dt(this))-1;var e=k[this.fsLightboxIndex].componentsServices.isLightboxOpenManager;e.get=function(){return t.isOpen},e.set=function(e,n){t.isOpen=e,n&&(t.updatedCallback=n)}},mounted:function(){k[this.fsLightboxIndex].elements.container=this.$refs.container,qe(k[this.fsLightboxIndex])},updated:function(){k[this.fsLightboxIndex].elements.container=this.$refs.container,this.updatedCallback&&this.updatedCallback(),this.updatedCallback=null}},r,[],!1,null,null,null);pn.options.__file="src/FsLightbox.vue";var vn=pn.exports;e.default=vn}])},5770:function(t,e,n){ /* Inspire Tree DOM * @version 4.0.6 * https://github.com/helion3/inspire-tree-dom * @copyright Copyright 2015 Helion3, and other contributors * @license Licensed under MIT * see https://github.com/helion3/inspire-tree-dom/blob/master/LICENSE */ (function(e,r){t.exports=r(n(6486),n(1377))})(0,(function(t,e){"use strict";e=e&&e.hasOwnProperty("default")?e["default"]:e;var n="$NO_OP",r="a runtime error occured! Use Inferno in development environment to find the error.",i=!("undefined"===typeof window||!window.document),o=Array.isArray;function a(t){var e=typeof t;return"string"===e||"number"===e}function s(t){return p(t)||h(t)}function c(t){return h(t)||!1===t||d(t)||p(t)}function u(t){return"function"===typeof t}function l(t){return"string"===typeof t}function f(t){return"number"===typeof t}function h(t){return null===t}function d(t){return!0===t}function p(t){return void 0===t}function v(t){throw t||(t=r),new Error("Inferno Error: "+t)}function g(t,e){var n={};if(t)for(var r in t)n[r]=t[r];if(e)for(var i in e)n[i]=e[i];return n}var m="$";function b(t,e,n,r,i,o,a,s){return{childFlags:t,children:e,className:n,dom:null,flags:r,key:void 0===i?null:i,parentVNode:null,props:void 0===o?null:o,ref:void 0===a?null:a,type:s}}function y(t,e,n,r,i,o,a,s){var c=void 0===i?1:i,u=b(c,r,n,t,a,o,s,e);return 0===c&&C(u,u.children),u}function w(t,e,n,r,i){(2&t)>0&&(t=e.prototype&&u(e.prototype.render)?4:8);var o=e.defaultProps;if(!s(o))for(var a in n||(n={}),o)p(n[a])&&(n[a]=o[a]);if((8&t)>0){var c=e.defaultHooks;if(!s(c))if(i)for(var l in c)p(i[l])&&(i[l]=c[l]);else i=c}var f=b(1,null,null,t,r,n,i,e),h=P.createVNode;return u(h)&&h(f),f}function _(t,e){return b(1,s(t)?"":t,null,16,e,null,null,null)}function x(t){var e=t.props;if(e){var n=t.flags;481&n&&(void 0!==e.children&&s(t.children)&&C(t,e.children),void 0!==e.className&&(t.className=e.className||null,e.className=void 0)),void 0!==e.key&&(t.key=e.key,e.key=void 0),void 0!==e.ref&&(t.ref=8&n?g(t.ref,e.ref):e.ref,e.ref=void 0)}return t}function O(t){var e,n=t.flags;if(14&n){var r,i=t.props;if(!h(i))for(var o in r={},i)r[o]=i[o];e=w(n,t.type,r,t.key,t.ref)}else 481&n?e=y(n,t.type,t.className,t.children,t.childFlags,t.props,t.key,t.ref):16&n?e=_(t.children,t.key):1024&n&&(e=t);return e}function S(){return _("",null)}function k(t,e,n,r){for(var i=t.length;n0;for(var s in a&&(o=pt(n),o&&dt(e,r,n)),n)Ot(s,null,n[s],r,i,o,null);a&&ht(e,t,r,n,!0,o)}function kt(t,e,n,r){var i=new e(n,r);if(t.children=i,i.$V=t,i.$BS=!1,i.context=r,i.props===A&&(i.props=n),i.$UN=!1,u(i.componentWillMount)){if(i.$BR=!0,i.componentWillMount(),i.$PSS){var o=i.state,a=i.$PS;if(h(o))i.state=a;else for(var c in a)o[c]=a[c];i.$PSS=!1,i.$PS=null}i.$BR=!1}u(P.beforeRender)&&P.beforeRender(i);var l,f=Ct(i.render(n,i.state,r),t);return u(i.getChildContext)&&(l=i.getChildContext()),s(l)?i.$CX=r:i.$CX=g(r,l),u(P.afterRender)&&P.afterRender(i),i.$LI=f,i}function Ct(t,e){return c(t)?t=S():a(t)?t=_(t,null):(t.dom&&(t=O(t)),14&t.flags&&(t.parentVNode=e)),t}function Pt(t,e,n,r){var i=t.flags;return 481&i?jt(t,e,n,r):14&i?Dt(t,e,n,r,(4&i)>0):512&i||16&i?Tt(t,e):1024&i?(Pt(t.children,t.type,n,!1),t.dom=Tt(S(),e)):void 0}function Tt(t,e){var n=t.dom=document.createTextNode(t.children);return h(e)||I(e,n),n}function jt(t,e,n,r){var i=t.flags,o=t.children,a=t.props,c=t.className,l=t.ref,f=t.childFlags;r=r||(32&i)>0;var d=$(t.type,r);if(t.dom=d,s(c)||""===c||(r?d.setAttribute("class",c):d.className=c),h(e)||I(e,d),0===(1&f)){var p=!0===r&&"foreignObject"!==t.type;2===f?Pt(o,d,n,p):12&f&&Et(o,d,n,p)}return h(a)||St(t,i,a,d,r),u(l)&&$t(d,l),d}function Et(t,e,n,r){for(var i=0,o=t.length;i0,1!==e.nodeType||e.tagName.toLowerCase()!==t.type){var f=jt(t,null,n,r);t.dom=f,F(e.parentNode,f,e)}else{t.dom=e;var d=e.firstChild,p=t.childFlags;if(0===(1&p)){var v=null;while(d)v=d.nextSibling,8===d.nodeType&&("!"===d.data?e.replaceChild(document.createTextNode(""),d):e.removeChild(d)),d=v;if(d=e.firstChild,2===p)h(d)?Pt(i,e,n,r):(v=d.nextSibling,Bt(i,d,n,r),d=v);else if(12&p)for(var g=0,m=i.length;g0):481&i?Rt(t,e,n,r):16&i?Nt(t,e):512&i?t.dom=e:v()}function zt(t,e,n){var r=e.firstChild;if(!h(r)){c(t)||Bt(t,r,A,!1),r=e.firstChild;while(r=r.nextSibling)e.removeChild(r)}L.length>0&&N(L),e.$V=t,u(n)&&n()}function Vt(t,e,n,r,i){gt(t),F(n,Pt(e,null,r,i),t.dom)}function Ht(t,e,n,r,i){if(t!==e){var o=0|e.flags;t.flags!==o||2048&o?Vt(t,e,n,r,i):481&o?Wt(t,e,n,r,i):14&o?Yt(t,e,n,r,i,(4&o)>0):16&o?Kt(t,e,n):512&o?e.dom=t.dom:Ut(t,e,r)}}function Ut(t,e,n){var r=t.type,i=e.type,o=e.children;if(Gt(t.childFlags,e.childFlags,t.children,o,r,n,!1),e.dom=t.dom,r!==i&&!c(o)){var a=o.dom;r.removeChild(a),i.appendChild(a)}}function Wt(t,e,n,r,i){var o=e.type;if(t.type!==o)Vt(t,e,n,r,i);else{var a,c=t.dom,l=e.flags,f=t.props,h=e.props,d=!1,p=!1;if(e.dom=c,i=i||(32&l)>0,f!==h){var v=f||A;if(a=h||A,a!==A)for(var g in d=(448&l)>0,d&&(p=pt(a)),a){var m=v[g],b=a[g];m!==b&&Ot(g,m,b,c,i,p,t)}if(v!==A)for(var y in v)a.hasOwnProperty(y)||s(v[y])||Ot(y,v[y],null,c,i,p,t)}var w=t.children,_=e.children,x=e.ref,O=t.className,S=e.className;w!==_&&Gt(t.childFlags,e.childFlags,w,_,c,r,i&&"foreignObject"!==o),d&&ht(l,e,c,a,!1,p),O!==S&&(s(S)?c.removeAttribute("class"):i?c.setAttribute("class",S):c.className=S),u(x)&&t.ref!==x&&$t(c,x)}}function Gt(t,e,n,r,i,o,a){switch(t){case 2:switch(e){case 2:Ht(n,r,i,o,a);break;case 1:vt(n,i);break;default:vt(n,i),Et(r,i,o,a);break}break;case 1:switch(e){case 2:Pt(r,i,o,a);break;case 1:break;default:Et(r,i,o,a);break}break;default:if(12&e){var s=n.length,c=r.length;0===s?c>0&&Et(r,i,o,a):0===c?bt(i,n):8===e&&8===t?Zt(n,r,i,o,a,s,c):Xt(n,r,i,o,a,s,c)}else 1===e?bt(i,n):(bt(i,n),Pt(r,i,o,a));break}}function qt(t,e,r,i,o,a,c,l,f){var h,d=t.state,p=t.props;if(r.children=t,!t.$UN){if(p!==i||i===A){if(!f&&u(t.componentWillReceiveProps)){if(t.$BR=!0,t.componentWillReceiveProps(i,a),t.$UN)return;t.$BR=!1}t.$PSS&&(e=g(e,t.$PS),t.$PSS=!1,t.$PS=null)}var v=Boolean(t.shouldComponentUpdate);if(l||!v||v&&t.shouldComponentUpdate(i,e,a)){u(t.componentWillUpdate)&&(t.$BS=!0,t.componentWillUpdate(i,e,a),t.$BS=!1),t.props=i,t.state=e,t.context=a,u(P.beforeRender)&&P.beforeRender(t),h=t.render(i,e,a),u(P.afterRender)&&P.afterRender(t);var m,b=h!==n;if(u(t.getChildContext)&&(m=t.getChildContext()),m=s(m)?a:g(a,m),t.$CX=m,b){var y=t.$LI,w=t.$LI=Ct(h,r);Ht(y,w,o,m,c),u(t.componentDidUpdate)&&t.componentDidUpdate(p,d)}}else t.props=i,t.state=e,t.context=a;r.dom=t.$LI.dom}}function Yt(t,e,r,i,o,a){var c=e.type,l=t.key,f=e.key;if(t.type!==c||l!==f)Vt(t,e,r,i,o);else{var h=e.props||A;if(a){var d=t.children;d.$UPD=!0,d.$V=e,qt(d,d.state,e,h,r,i,o,!1,!1),d.$UPD=!1}else{var p=!0,v=t.props,g=e.ref,m=!s(g),b=t.children;if(e.dom=t.dom,e.children=b,m&&u(g.onComponentShouldUpdate)&&(p=g.onComponentShouldUpdate(v,h)),!1!==p){m&&u(g.onComponentWillUpdate)&&g.onComponentWillUpdate(v,h);var y=c(h,i);y!==n&&(y=Ct(y,e),Ht(b,y,r,i,o),e.children=y,e.dom=y.dom,m&&u(g.onComponentDidUpdate)&&g.onComponentDidUpdate(v,h))}else 14&b.flags&&(b.parentVNode=e)}}}function Kt(t,e,n){var r,i=e.children,o=n.firstChild;h(o)?(n.textContent=i,r=n.firstChild):(r=t.dom,i!==t.children&&(r.nodeValue=i)),e.dom=r}function Xt(t,e,n,r,i,o,a){for(var s,c,u=o>a?a:o,l=0;la)for(l=u;lu||f>l)break t;h=t[f],d=e[f]}h=t[u],d=e[l];while(h.key===d.key){if(d.dom&&(e[l]=d=O(d)),Ht(h,d,n,r,i),t[u]=d,u--,l--,f>u||f>l)break t;h=t[u],d=e[l]}}if(f>u){if(f<=l){c=l+1;var p=cl)while(f<=u)vt(t[f++],n);else{var v=f,g=f,m=u-f+1,b=l-f+1,y=[];for(s=0;sv)vt(t[v++],n)}x>f?_=!0:x=f,d.dom&&(e[f]=d=O(d)),Ht(h,d,n,r,i),S++;break}!w&&f>l&&vt(h,n)}else w||vt(h,n);else{var k={};for(s=g;s<=l;s++)k[e[s].key]=s;for(s=v;s<=u;s++)if(h=t[s],Sv)vt(t[v++],n)}d=e[f],y[f-g]=s+1,x>f?_=!0:x=f,d.dom&&(e[f]=d=O(d)),Ht(h,d,n,r,i),S++}else w||vt(h,n);else w||vt(h,n)}if(w)bt(n,t),Et(e,n,r,i);else if(_){var C=Jt(y);for(f=C.length-1,s=b-1;s>=0;s--)0===y[s]?(x=s+g,d=e[x],d.dom&&(e[x]=d=O(d)),c=x+1,M(n,Pt(d,null,r,i),c=0;s--)0===y[s]&&(x=s+g,d=e[x],d.dom&&(e[x]=d=O(d)),c=x+1,M(n,Pt(d,null,r,i),c0&&(a[e]=s[r-1]),s[r]=e)}}r=s.length,i=s[r-1];while(r-- >0)s[r]=i,i=a[i];return s}i&&document.body;function Qt(t,e,r){if(t!==n){var i=e.$V;return s(i)?c(t)||(t.dom&&(t=O(t)),h(e.firstChild)?(Pt(t,e,A,!1),e.$V=t):zt(t,e),i=t):s(t)?(vt(i,e),e.$V=null):(t.dom&&(t=O(t)),Ht(i,t,e,A,!1),i=e.$V=t),L.length>0&&N(L),u(r)&&r(),u(P.renderComplete)&&P.renderComplete(i),i&&14&i.flags?i.children:void 0}}var te="undefined"===typeof Promise?null:Promise.resolve(),ee="undefined"===typeof requestAnimationFrame?setTimeout:requestAnimationFrame.bind(window);function ne(t){return te?te.then(t):ee(t)}function re(t,e,n,r){u(e)&&(e=e(t.state,t.props,t.context));var i=t.$PS;if(s(i))t.$PS=e;else for(var o in e)i[o]=e[o];if(t.$PSS||t.$BR)t.$PSS=!0,t.$BR&&u(n)&&L.push(n.bind(t));else if(t.$UPD){var a=t.$QU;h(a)&&(a=t.$QU=[],ne(ie(t,a))),u(n)&&a.push(n)}else t.$PSS=!0,t.$UPD=!0,oe(t,r,n),t.$UPD=!1}function ie(t,e){return function(){t.$QU=null,t.$UPD=!0,oe(t,!1,(function(){for(var n=0,r=e.length;n0,e,!0),t.$UN)return;if(0===(1024&t.$LI.flags)){var d=t.$LI.dom;while(!h(c=c.parentVNode))(14&c.flags)>0&&(c.dom=d)}L.length>0&&N(L)}else t.state=t.$PS,t.$PS=null;u(n)&&n.call(t)}}var ae=function(t,e){this.state=null,this.$BR=!1,this.$BS=!0,this.$PSS=!1,this.$PS=null,this.$LI=null,this.$V=null,this.$UN=!1,this.$CX=null,this.$UPD=!0,this.$QU=null,this.props=t||A,this.context=e||A};ae.prototype.forceUpdate=function(t){this.$UN||re(this,{},t,!0)},ae.prototype.setState=function(t,e){this.$UN||this.$BS||re(this,t,e,!1)},ae.prototype.render=function(t,e,n){};var se=12,ce=37,ue=38,le=39,fe=40;function he(){return{text:"New Node",itree:{state:{editing:!0,focused:!0}}}}var de=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},pe=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"li",r=e.itree[n].attributes,i=[],o=r.class||r.className;return t.isFunction(o)&&(o=o(e)),t.isEmpty(o)||(t.isString(o)?i=i.concat(o.split(/[\s\.]+/)):t.isArray(o)&&(i=i.concat(o))),i},we=function(t){function e(){return de(this,e),me(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return ge(e,t),pe(e,[{key:"shouldComponentUpdate",value:function(){return!1}},{key:"add",value:function(t){t.stopPropagation(),this.props.node.addChild(he()),this.props.node.expand()}},{key:"edit",value:function(t){t.stopPropagation(),this.props.node.toggleEditing()}},{key:"remove",value:function(t){t.stopPropagation(),this.props.node.remove()}},{key:"render",value:function(){var t=[];return this.props.dom._tree.config.editing.edit&&t.push(y(1,"a","btn icon icon-pencil",null,1,{onclick:this.edit.bind(this),title:"Edit this node"})),this.props.dom._tree.config.editing.add&&t.push(y(1,"a","btn icon icon-plus",null,1,{onclick:this.add.bind(this),title:"Add a child node"})),this.props.dom._tree.config.editing.remove&&t.push(y(1,"a","btn icon icon-minus",null,1,{onclick:this.remove.bind(this),title:"Remove this node"})),y(1,"span","btn-group",t,0)}}]),e}(ae),_e=function(t){function e(){return de(this,e),me(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return ge(e,t),pe(e,[{key:"render",value:function(){return y(1,"ol",null,y(1,"li","leaf",y(1,"span","title icon icon-file-empty empty",this.props.text,0),2),2)}}]),e}(ae);function xe(e,n){var r=n.dirty||!1;return r||t.each(Object.keys(n),(function(t){if("dirty"!==t&&n[t]!==e[t])return r=!0,!1})),r}var Oe=function(t){function e(t){de(this,e);var n=me(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state=n.getStateFromNodes(t.node),n}return ge(e,t),pe(e,[{key:"getStateFromNodes",value:function(t){return{text:t.text}}},{key:"componentWillReceiveProps",value:function(t){this.setState(this.getStateFromNodes(t.node))}},{key:"shouldComponentUpdate",value:function(t,e){return xe(this.state,e)}},{key:"click",value:function(t){var e=this,n=function(){e.props.node.toggleCheck()};this.props.dom._tree.emit("node.click",t,this.props.node,n),t.treeDefaultPrevented||n()}},{key:"keypress",value:function(t){if(t.which===se)return this.save()}},{key:"input",value:function(t){this.setState({text:t.target.value})}},{key:"cancel",value:function(t){t&&t.stopPropagation(),this.props.node.toggleEditing()}},{key:"save",value:function(t){t&&t.stopPropagation();var e=this.props.node.text,n=this.ref.value;this.props.node.set("text",n),this.props.node.state("editing",!1),this.props.node.markDirty(),this.props.dom._tree.applyChanges(),e!==n&&this.props.dom._tree.emit("node.edited",this.props.node,e,n)}},{key:"render",value:function(){var t=this;return y(1,"form",null,[y(64,"input",null,null,1,{onClick:function(t){return t.stopPropagation},onInput:this.input.bind(this),onKeyPress:this.keypress.bind(this),value:this.state.text},null,(function(e){return t.ref=e})),y(1,"span","btn-group",[y(1,"button","btn icon icon-check",null,1,{onClick:this.save.bind(this),title:"Save",type:"button"}),y(1,"button","btn icon icon-cross",null,1,{onClick:this.cancel.bind(this),title:"Cancel",type:"button"})],4)],4,{onsubmit:function(t){return t.preventDefault}})}}]),e}(ae),Se=function(e){function n(){return de(this,n),me(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return ge(n,e),pe(n,[{key:"blur",value:function(){this.props.node.blur()}},{key:"click",value:function(t){var e=this,n=this.props,r=n.node,i=n.dom,o=function(){if(t.preventDefault(),!e.props.editing){if((t.metaKey||t.ctrlKey||t.shiftKey)&&i._tree.disableDeselection(),t.shiftKey){i.clearSelection();var n=i._tree.lastSelectedNode();n&&i._tree.selectBetween.apply(i._tree,i._tree.boundingNodes(n,r))}r.selected()?i._tree.config.selection.disableDirectDeselection||r.deselect():r.select(),i._tree.enableDeselection()}};i._tree.emit("node.click",t,r,o),t.treeDefaultPrevented||o()}},{key:"contextMenu",value:function(t){var e=this.props,n=e.node,r=e.dom;r._tree.emit("node.contextmenu",t,n)}},{key:"dblclick",value:function(t){var e=this.props,n=e.node,r=e.dom,i=function(){r.clearSelection(),n.toggleCollapse()};r._tree.emit("node.dblclick",t,n,i),t.treeDefaultPrevented||i()}},{key:"focus",value:function(t){this.props.node.focus(t)}},{key:"mousedown",value:function(){this.props.dom.isDragDropEnabled&&(this.props.dom.isMouseHeld=!0)}},{key:"render",value:function(){var e=this.props.node,n=t.clone(e.itree.a.attributes)||{};n.tabindex=1,n.unselectable="on";var r=ye(e,"a").concat(["title","icon"]);if(!this.props.dom.config.showCheckboxes){var i=this.props.expanded?"icon-folder-open":"icon-folder";r.push(e.itree.icon||(this.props.hasOrWillHaveChildren?i:"icon-file-empty"))}n.class=n.className=r.join(" ");var o=e.text;return e.editing()&&(o=w(2,Oe,{dom:this.props.dom,node:this.props.node})),x(y(1,"a",null,o,0,ve({"data-uid":e.id,onBlur:this.blur.bind(this),onClick:this.click.bind(this),onContextMenu:this.contextMenu.bind(this),onDblClick:this.dblclick.bind(this),onFocus:this.focus.bind(this),onMouseDown:this.mousedown.bind(this)},n)))}}]),n}(ae),ke=function(t){function e(){return de(this,e),me(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return ge(e,t),pe(e,[{key:"className",value:function(){return"toggle icon "+(this.props.collapsed?"icon-expand":"icon-collapse")}},{key:"render",value:function(){return y(1,"a",this.className(),null,1,{onClick:this.props.node.toggleCollapse.bind(this.props.node)})}}]),e}(ae),Ce=function(n){function r(t){de(this,r);var e=me(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,t));return e.state=e.stateFromNode(t.node),e}return ge(r,n),pe(r,[{key:"stateFromNode",value:function(t){return{dirty:t.itree.dirty}}},{key:"componentWillReceiveProps",value:function(t){this.setState(this.stateFromNode(t.node))}},{key:"shouldComponentUpdate",value:function(t,e){return e.dirty}},{key:"getAttributes",value:function(){var e=this.props.node,n=t.clone(e.itree.li.attributes)||{};return n.class=n.className=this.getClassNames(),n["data-uid"]=e.id,this.props.dom.config.dragAndDrop.enabled&&(n.draggable=e.state("draggable"),n.onDragEnd=this.onDragEnd.bind(this),n.onDragEnter=this.onDragEnter.bind(this),n.onDragLeave=this.onDragLeave.bind(this),n.onDragStart=this.onDragStart.bind(this),e.state("drop-target")?(n.onDragOver=this.onDragOver.bind(this),n.onDrop=this.onDrop.bind(this)):(n.onDragOver=null,n.onDrop=null)),n}},{key:"getClassNames",value:function(){var e=this.props.node,n=e.itree.state,r=ye(e);return t.each(Object.keys(n),(function(t){n[t]&&r.push(t)})),!e.hidden()&&e.removed()&&r.push("hidden"),e.expanded()&&r.push("expanded"),r.push(e.hasOrWillHaveChildren()?"folder":"leaf"),r.join(" ")}},{key:"getTargetDirection",value:function(t,e){var n=t.clientY,r=e.getBoundingClientRect(),i=r.top+r.height/3,o=r.bottom-r.height/3,a=0;return n<=i?a=-1:n>=o&&(a=1),a}},{key:"onDragStart",value:function(n){n.stopPropagation(),n.dataTransfer.effectAllowed="move",n.dataTransfer.dropEffect="move";var r=this.props.node;if(this.props.dom._activeDragNode=r,n.dataTransfer.setData("treeId",r.tree().id),n.dataTransfer.setData("nodeId",r.id),r.state("drop-target",!1),r.hasChildren()&&r.children.stateDeep("drop-target",!1),"dragstart"===this.props.dom.config.dragAndDrop.validateOn){var i=this.props.dom.config.dragAndDrop.validate,o=t.isFunction(i),a=function n(r,i){e.isTreeNodes(r)?t.each(r,(function(t){n(t,i)})):e.isTreeNode(r)&&!1!==i(r)&&r.hasChildren()&&n(r.children,i)};this.props.dom._tree.batch(),a(this.props.dom._tree.model,(function(t){var e=t.id!==r.id;return e&&(e=!t.hasAncestor(r)),e&&o&&(e=i(r,t)),t.state("drop-target",e),e})),this.props.dom._tree.end()}this.props.dom._tree.emit("node.dragstart",n)}},{key:"onDragEnd",value:function(t){t.preventDefault(),t.stopPropagation(),this.unhighlightTarget(),this.props.dom._tree.emit("node.dragend",t)}},{key:"onDragEnter",value:function(t){t.preventDefault(),t.stopPropagation(),this.props.node.recurseUp(this.unhighlightTarget),this.props.node.state("drag-targeting",!0),this.props.dom._tree.emit("node.dragenter",t)}},{key:"onDragLeave",value:function(t){t.preventDefault(),t.stopPropagation(),this.unhighlightTarget(),this.props.dom._tree.emit("node.dragleave",t)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();var n=this.props.dom._activeDragNode,r=this.props.node,i=this.getTargetDirection(e,r.itree.ref.querySelector("a"));if("dragover"===this.props.dom.config.dragAndDrop.validateOn){var o=this.props.dom.config.dragAndDrop.validate,a=t.isFunction(o),s=n.id!==r.id;if(s&&(s=!r.hasAncestor(n)),s&&a&&(s=o(n,r,i)),r.state("drop-target",s),this.props.dom._tree.applyChanges(),!s)return}this.props.dom._tree.batch(),r.state("drag-targeting",!0),r.state("drag-targeting-above",-1===i),r.state("drag-targeting-below",1===i),r.state("drag-targeting-insert",0===i),this.props.dom._tree.end(),this.props.dom._tree.emit("node.dragover",e,i)}},{key:"onDrop",value:function(t){t.preventDefault(),t.stopPropagation(),this.unhighlightTarget();var e=t.dataTransfer.getData("treeId"),n=t.dataTransfer.getData("nodeId"),r=this.props.node;this.props.dom._activeDragNode=null;var i=this.getTargetDirection(t,t.target),o=void 0;e===this.props.dom._tree.id?o=this.props.dom._tree:e&&(o=document.querySelector('[data-uid="'+e+'"]').inspireTree);var a=void 0,s=void 0;if(o){var c=o.node(n);c.state("drop-target",!0);var u=c.remove(!0),l=r.context().indexOf(r);0===i?(a=r.addChild(u),s=r.children.indexOf(a),r.expand()):(s=1===i?++l:l,a=r.context().insertAt(s,u))}this.props.dom._tree.emit("node.drop",t,a,r,s)}},{key:"unhighlightTarget",value:function(t){(t||this.props.node).states(["drag-targeting","drag-targeting-above","drag-targeting-below","drag-targeting-insert"],!1)}},{key:"renderCheckbox",value:function(){var t=this.props.node;if(this.props.dom.config.showCheckboxes)return w(2,be,{checked:t.checked(),dom:this.props.dom,indeterminate:t.indeterminate(),node:t})}},{key:"renderChildren",value:function(){var t=this.props,e=t.node,n=t.dom;if(e.hasChildren()){var r=e.children,i=n.loading,o=r.pagination();return w(2,Pe,{context:e,dom:n,limit:o.limit,loading:i,nodes:r,total:o.total})}if(this.props.dom.isDynamic&&e.children)return e.hasLoadedChildren()?w(2,_e,{text:"No Results"}):w(2,_e,{text:"Loading..."})}},{key:"renderEditToolbar",value:function(){if(this.props.dom._tree.config.editing.edit&&!this.props.node.editing())return w(2,we,{dom:this.props.dom,node:this.props.node})}},{key:"renderToggle",value:function(){var t=this.props.node,e=this.props.dom.isDynamic?Boolean(t.children):t.hasVisibleChildren();if(e)return w(2,ke,{collapsed:t.collapsed(),node:t})}},{key:"render",value:function(){var t=this,e=this.props.node,n=x(y(1,"li",null,[this.renderEditToolbar(),y(1,"div","title-wrap",[this.renderToggle(),this.renderCheckbox(),w(2,Se,{dom:this.props.dom,editing:e.editing(),expanded:e.expanded(),hasOrWillHaveChildren:e.hasOrWillHaveChildren(),node:e,text:e.text})],0),y(1,"div","wholerow"),this.renderChildren()],0,ve({},this.getAttributes()),null,(function(e){return t.node=t.props.node.itree.ref=e})));return this.props.node.state("rendered",!0),this.props.node.itree.dirty=!1,n}}]),r}(ae),Pe=function(e){function n(){return de(this,n),me(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return ge(n,e),pe(n,[{key:"shouldComponentUpdate",value:function(e){return t.find(e.nodes,"itree.dirty")||xe(this.props,e)}},{key:"isDeferred",value:function(){return this.props.dom.config.deferredRendering||this.props.dom._tree.config.deferredLoading}},{key:"loadMore",value:function(t){t.preventDefault(),this.props.context?this.props.context.loadMore(t):this.props.dom._tree.loadMore(t)}},{key:"renderLoadMoreNode",value:function(){return y(1,"li","leaf detached",y(1,"a","title icon icon-more load-more",_("Load More"),2,{onClick:this.loadMore.bind(this)}),2)}},{key:"renderLoadingTextNode",value:function(){return y(1,"li","leaf",y(1,"span","title icon icon-more",_("Loading..."),2),2)}},{key:"render",value:function(){var e=this,n=this.props.nodes,r=n.pagination();if(this.props.dom.config.deferredRendering){var i=0;n=this.props.nodes.filter((function(t){var e=!(t.hidden()||t.removed());return e&&i++,i<=r.limit&&e}))}var o=t.map(n,(function(t){return w(2,Ce,{dom:e.props.dom,node:t},t.id)}));return this.isDeferred()&&r.limit0?r:t.ceil(this.$scrollLayer.clientHeight/this.config.nodeHeight),this.config.autoLoadMore&&this.$target.addEventListener("scroll",t.throttle(this.scrollListener.bind(this),20))}this.$target.inspireTree=this._tree}},{key:"clearSelection",value:function(){document.selection&&document.selection.empty?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}},{key:"getElement",value:function(e){var n=void 0;if(e instanceof HTMLElement)n=e;else if(t.isObject(e)&&t.isObject(e[0]))n=e[0];else if(t.isString(e)){var r=document.querySelector(e);r&&(n=r)}return n}},{key:"getScrollableAncestor",value:function(t){if(t instanceof Element){var e=getComputedStyle(t);"auto"!==e.overflow&&t.parentNode&&(t=this.getScrollableAncestor(t.parentNode))}return t}},{key:"keyboardListener",value:function(t){if(t.stopPropagation(),!([fe,se,ce,le,ue].indexOf(t.which)<0)){var e=this._tree.focused();if(e.length)switch(t.preventDefault(),t.which){case fe:this.moveFocusDownFrom(e[0]);break;case se:e[0].toggleSelect();break;case ce:e[0].collapse();break;case le:e[0].expand();break;case ue:this.moveFocusUpFrom(e[0]);break;default:}}}},{key:"moveFocusDownFrom",value:function(t){var e=t.nextVisibleNode();e&&e.focus()}},{key:"moveFocusUpFrom",value:function(t){var e=t.previousVisibleNode();e&&e.focus()}},{key:"nodeFromTitleDOMElement",value:function(t){var e=t.parentNode.parentNode.getAttribute("data-uid");return this._tree.node(e)}},{key:"onDragEnter",value:function(t){t.preventDefault(),t.target.classList.add("drag-targeting","drag-targeting-insert")}},{key:"onDragLeave",value:function(t){t.preventDefault(),this.unhighlightTarget(t.target)}},{key:"onDragOver",value:function(t){t.preventDefault()}},{key:"onDrop",value:function(t){t.preventDefault(),this.unhighlightTarget(t.target);var e=t.dataTransfer.getData("treeId"),r=t.dataTransfer.getData("nodeId"),i=n.getTreeById(e),o=i.node(r);o.state("drop-target",!0);var a=o.remove(!0),s=this._tree.addNode(a),c=this._tree.indexOf(s);this._tree.emit("node.drop",t,s,null,c)}},{key:"renderNodes",value:function(t){Qt(w(2,Te,{dom:this,nodes:t||this._tree.nodes()}),this.$target)}},{key:"scrollListener",value:function(e){var n=this;if(!this.rendering&&!this.loading){var r=this.$scrollLayer.getBoundingClientRect(),i=document.querySelectorAll(".load-more");t.each(i,(function(t){var i=t.getBoundingClientRect(),o=!(r.righti.right||r.bottomi.bottom);if(o){var a=void 0,s=t.parentNode.parentNode.parentNode;"LI"===s.tagName&&(a=n._tree.node(s.getAttribute("data-uid"))),n._tree.loadMore(a,e)}}))}}},{key:"scrollSelectedIntoView",value:function(){var t=this.$target.querySelector(".selected");t&&this.$scrollLayer&&(this.$scrollLayer.scrollTop=t.offsetTop)}},{key:"unhighlightTarget",value:function(t){t&&t.classList.remove("drag-targeting","drag-targeting-insert")}}],[{key:"getTreeById",value:function(t){var e=document.querySelector('[data-uid="'+t+'"]');if(e)return e.inspireTree}}]),n}();return je}))},1377:function(t,e,n){ /* Inspire Tree * @version 4.3.1 * https://github.com/helion3/inspire-tree * @copyright Copyright 2015 Helion3, and other contributors * @license Licensed under MIT * see https://github.com/helion3/inspire-tree/blob/master/LICENSE */ (function(e,r){t.exports=r(n(6486))})(0,(function(t){"use strict";var e="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{};function r(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function i(t,e){return e={exports:{}},t(e,e.exports),e.exports}for(var o=i((function(t){var e="undefined"!=typeof crypto&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&msCrypto.getRandomValues.bind(msCrypto);if(e){var n=new Uint8Array(16);t.exports=function(){return e(n),n}}else{var r=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0===(3&e)&&(t=4294967296*Math.random()),r[e]=t>>>((3&e)<<3)&255;return r}}})),a=[],s=0;s<256;++s)a[s]=(s+256).toString(16).substr(1);function c(t,e){var n=e||0,r=a;return r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]}var u=c;function l(t,e,n){var r=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null),t=t||{};var i=t.random||(t.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var a=0;a<16;++a)e[r+a]=i[a];return e||u(i)}var f=l;function h(e){return t.each(e._tree.defaultState,(function(t,n){e.state(n,t)})),e}function d(t,e,n,r,i){return r.state(t)!==e&&(r._tree.batch(),r._tree.config.nodes.resetStateOnRestore&&"restored"===n&&h(r),r.state(t,e),r._tree.emit("node."+n,r,!1),i&&r.hasChildren()&&r.children.recurseDown((function(r){d(t,e,n,r)})),r.markDirty(),r._tree.end()),r}var p=i((function(t,n){ /*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.2+97478eb6 */ (function(e,n){t.exports=n()})(0,(function(){function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function n(t){return"function"===typeof t}var i=void 0;i=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var o=i,a=0,s=void 0,c=void 0,u=function(t,e){x[a]=t,x[a+1]=e,a+=2,2===a&&(c?c(O):k())};function l(t){c=t}function f(t){u=t}var h="undefined"!==typeof window?window:void 0,d=h||{},p=d.MutationObserver||d.WebKitMutationObserver,v="undefined"===typeof self&&"undefined"!==typeof process&&"[object process]"==={}.toString.call(process),g="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel;function m(){return function(){return process.nextTick(O)}}function b(){return"undefined"!==typeof s?function(){s(O)}:_()}function y(){var t=0,e=new p(O),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function w(){var t=new MessageChannel;return t.port1.onmessage=O,function(){return t.port2.postMessage(0)}}function _(){var t=setTimeout;return function(){return t(O,1)}}var x=new Array(1e3);function O(){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:this;this._tree.batch();var r=this[t].remove(),i=n.insertAt(e,r);return this._tree.emit("node.moved",i,this,t,n,e),this._tree.end(),i}},{key:"node",value:function(t){var e=void 0;return this.recurseDown((function(n){if(n.id===t)return e=n,!1})),e}},{key:"nodes",value:function(e){var r=void 0;return t.isArray(e)&&(r=new n(this._tree),this.recurseDown((function(t){e.indexOf(t.id)>-1&&r.push(t)}))),t.isArray(e)?r:this}},{key:"pagination",value:function(){return this._pagination}},{key:"recurseDown",value:function(t){return C(this,t),this}},{key:"remove",value:function(e){return t.remove(this,{id:e.id}),t.invoke(this._context,"markDirty"),this._tree.applyChanges(),this}},{key:"removed",value:function(t){return x.call(this,"removed",t)}},{key:"restore",value:function(){return this.invoke("restore")}},{key:"restoreDeep",value:function(){return this.invokeDeep("restore")}},{key:"select",value:function(){return this.invoke("select")}},{key:"selectable",value:function(t){return x.call(this,"selectable",t)}},{key:"selectDeep",value:function(){return this.invokeDeep("select")}},{key:"selected",value:function(t){return x.call(this,"selected",t)}},{key:"show",value:function(){return this.invoke("show")}},{key:"showDeep",value:function(){return this.invokeDeep("show")}},{key:"softRemove",value:function(){return this.invoke("softRemove")}},{key:"sortBy",value:function(e){var n=this;if(e=e||this._tree.config.sort,e){var r=t.sortBy(this,e);this.length=0,t.each(r,(function(t){n.push(t)}))}return this}},{key:"state",value:function(){return this.invoke("state",arguments)}},{key:"stateDeep",value:function(){return this.invokeDeep("state",arguments)}},{key:"swap",value:function(t,e){this._tree.batch();var n=t.context(),r=e.context(),i=n.indexOf(t),o=r.indexOf(e);return n===r?(this[i]=e,this[o]=t,this._tree.emit("node.moved",t,n,i,r,o),this._tree.emit("node.moved",e,r,o,n,i)):(n.move(i,r.indexOf(e),r),r.move(r.indexOf(e),i,n)),this._tree.end(),this._tree.emit("node.swapped",t,n,i,e,r,o),this}},{key:"tree",value:function(){return this._tree}},{key:"toArray",value:function(){var e=[];return t.each(this,(function(t){e.push(t.toObject())})),e}},{key:"visible",value:function(t){return x.call(this,"visible",t)}}]),n}(_(Array));function C(e,n){var r=void 0;return e instanceof k?t.each(e,(function(t){return r=C(t,n),r})):e instanceof j&&(r=n(e),!1!==r&&e.hasChildren()&&(r=C(e.children,n))),r}function P(e){return new v((function(n,r){if(!t.isObject(e))return r(new Error("Invalid Promise"));t.isFunction(e.then)&&e.then(n),t.isFunction(e.error)?e.error(r):t.isFunction(e.catch)&&e.catch(r)}))}function T(e,n){var r={};return n=t.castArray(n),n.push("ref"),t.each(e,(function(e,i){t.includes(n,i)||(r[i]=t.cloneDeep(e))})),r}var j=function(){function e(n,r,i){var o=this;g(this,e),this._tree=n,r instanceof e&&(i=t.castArray(i),i.push("_tree"),t.each(r,(function(e,n){t.includes(i,n)||(t.isObject(e)?o[n]=e instanceof k?e.clone():"itree"===n?T(e):t.cloneDeep(e):o[n]=e)})))}return m(e,[{key:"addChild",value:function(e){return!t.isArray(this.children)&&t.isArrayLike(this.children)||(this.children=new k(this._tree),this.children._context=this),this.children.addNode(e)}},{key:"addChildren",value:function(e){var n=this,r=new k(this._tree);return this._tree.batch(),t.each(e,(function(t){r.push(n.addChild(t))})),this._tree.end(),r}},{key:"allowDynamicLoad",value:function(){return this._tree.isDynamic&&(t.isArrayLike(this.children)||!0===this.children)}},{key:"available",value:function(){return!this.hidden()&&!this.removed()}},{key:"blur",value:function(){return this.state("editing",!1),d("focused",!1,"blurred",this)}},{key:"check",value:function(t){this._tree.batch();var e=!t&&this._tree.config.checkbox.autoCheckChildren;return d("checked",!0,"checked",this,e),this.state("indeterminate",!1),this.hasParent()&&this.getParent().refreshIndeterminateState(),this._tree.end(),this}},{key:"checked",value:function(){return this.state("checked")}},{key:"clean",value:function(){return this.recurseUp((function(t){if(t.hasParent()){var e=t.getParent();e.hasVisibleChildren()||e.hide()}})),this}},{key:"clone",value:function(t){return new e(this._tree,this,t)}},{key:"collapse",value:function(){return d("collapsed",!0,"collapsed",this)}},{key:"collapsed",value:function(){return this.state("collapsed")}},{key:"context",value:function(){return this.hasParent()?this.getParent().children:this._tree.model}},{key:"copy",value:function(e){var n=this;return e&&(n=n.copyHierarchy()),{to:function(e){if(!t.isFunction(e.addNode))throw new Error("Destination must be an Inspire Tree instance.");return e.addNode(n.toObject())}}}},{key:"copyHierarchy",value:function(e){var n=[],r=this.getParents();if(t.each(r,(function(t){n.push(t.toObject(e))})),r=n.reverse(),!e){var i=this.toObject(!0);this.hasChildren()&&(i.children=this.children.filterBy((function(t){return!t.state("hidden")})).toArray(),i.children._context=i),n.push(i)}var o=n[0],a=o,s=n.length;return t.each(n,(function(t,e){var r=[];e+11)){this._tree.batch();var e=!t&&this._tree.config.selection.autoSelectChildren;d("selected",!1,"deselected",this,e),this._tree.end()}return this}},{key:"editable",value:function(){return this._tree.config.editable&&this._tree.config.editing.edit&&this.state("editable")}},{key:"editing",value:function(){return this.state("editing")}},{key:"expand",value:function(){var t=this;return new v((function(e,n){var r=t.hasChildren()||t._tree.isDynamic&&!0===t.children;r&&(t.collapsed()||t.hidden())?(t.state("collapsed",!1),t.state("hidden",!1),t._tree.emit("node.expanded",t),t._tree.isDynamic&&!0===t.children?t.loadChildren().then(e).catch(n):(t.markDirty(),t._tree.applyChanges(),e(t))):e(t)}))}},{key:"expanded",value:function(){return!this.collapsed()}},{key:"expandParents",value:function(){return this.hasParent()&&this.getParent().recurseUp((function(t){t.expand()})),this}},{key:"focus",value:function(){return this.focused()||(this._tree.batch(),this._tree.blurDeep(),this.state("focused",!0),this._tree.emit("node.focused",this),this.markDirty(),this._tree.end()),this}},{key:"focused",value:function(){return this.state("focused")}},{key:"getChildren",value:function(){return this.hasChildren()?this.children:new k(this._tree)}},{key:"getParent",value:function(){return this.itree.parent}},{key:"getParents",value:function(){var t=new k(this._tree);return this.hasParent()&&this.getParent().recurseUp((function(e){t.push(e)})),t}},{key:"getTextualHierarchy",value:function(){var t=[];return this.recurseUp((function(e){t.unshift(e.text)})),t}},{key:"hasAncestor",value:function(t){var e=!1;return this.recurseUp((function(n){return!(e=n.id===t.id)})),e}},{key:"hasChildren",value:function(){return t.isArrayLike(this.children)&&this.children.length>0}},{key:"hasLoadedChildren",value:function(){return t.isArrayLike(this.children)}},{key:"hasOrWillHaveChildren",value:function(){return t.isArrayLike(this.children)?Boolean(this.children.length):this.allowDynamicLoad()}},{key:"hasParent",value:function(){return Boolean(this.itree.parent)}},{key:"hasVisibleChildren",value:function(){var t=!1;return this.hasChildren()&&(t=this.children.filterBy("available").length>0),t}},{key:"hide",value:function(){var t=d("hidden",!0,"hidden",this);return t.hasChildren()&&t.children.hide(),t}},{key:"hidden",value:function(){return this.state("hidden")}},{key:"indexPath",value:function(){var e=[];return this.recurseUp((function(n){e.push(t.indexOf(n.context(),n))})),e.reverse().join(".")}},{key:"indeterminate",value:function(){return this.state("indeterminate")}},{key:"lastDeepestVisibleChild",value:function(){var e=void 0;if(this.hasChildren()&&!this.collapsed()){e=t.findLast(this.children,(function(t){return t.visible()}));var n=e.lastDeepestVisibleChild();n&&(e=n)}return e}},{key:"loadChildren",value:function(){var e=this;return new v((function(n,r){if(!e.allowDynamicLoad())return r(new Error("Node does not have or support dynamic children."));e.state("loading",!0),e.markDirty(),e._tree.applyChanges();var i=function(i,o){if(!t.isArrayLike(i))return r(new TypeError("Loader requires an array-like `nodes` parameter."));e._tree.batch(),e.state("loading",!1);var a=D(e._tree,i,e);t.isArrayLike(e.children)?e.children=e.children.concat(a):e.children=a,t.parseInt(o)>i.length&&(e.children._pagination.total=t.parseInt(o)),"checkbox"===e._tree.config.selection.mode&&e.selected()&&e.children.select(),e.markDirty(),e._tree.end(),n(e.children),e._tree.emit("children.loaded",e)},o=function(t){e.state("loading",!1),e.children=new k(e._tree),e.children._context=e,e.markDirty(),e._tree.applyChanges(),r(t),e._tree.emit("tree.loaderror",t)},a=e._tree.constructor.isTreeNodes(e.children)?e.children.pagination():null,s=e._tree.config.data(e,i,o,a);t.isObject(s)&&P(s).then(i).catch(o)}))}},{key:"loading",value:function(){return this.state("loading")}},{key:"loadMore",value:function(){return this.children&&!0!==this.children?this.children.loadMore():v.reject(new Error("Children have not yet been loaded."))}},{key:"markDirty",value:function(){return this.itree.dirty||(this.itree.dirty=!0,this.hasParent()&&this.getParent().markDirty()),this}},{key:"matched",value:function(){return this.state("matched")}},{key:"nextVisibleAncestralSiblingNode",value:function(){var t=void 0;if(this.hasParent()){var e=this.getParent();t=e.nextVisibleSiblingNode(),t||(t=e.nextVisibleAncestralSiblingNode())}return t}},{key:"nextVisibleChildNode",value:function(){var e=void 0;return this.hasChildren()&&(e=t.find(this.children,(function(t){return t.visible()}))),e}},{key:"nextVisibleNode",value:function(){var t=void 0;return t=this.nextVisibleChildNode(),t||(t=this.nextVisibleSiblingNode()),t||(t=this.nextVisibleAncestralSiblingNode()),t}},{key:"nextVisibleSiblingNode",value:function(){var e=this.hasParent()?this.getParent().children:this._tree.nodes(),n=t.findIndex(e,{id:this.id});return t.find(t.slice(e,n+1),(function(t){return t.visible()}))}},{key:"pagination",value:function(){return t.get(this,"children._pagination")}},{key:"previousVisibleNode",value:function(){var t=void 0;return t=this.previousVisibleSiblingNode(),t&&t.hasChildren()&&!t.collapsed()&&(t=t.lastDeepestVisibleChild()),!t&&this.hasParent()&&(t=this.getParent()),t}},{key:"previousVisibleSiblingNode",value:function(){var e=this.hasParent()?this.getParent().children:this._tree.nodes(),n=t.findIndex(e,{id:this.id});return t.findLast(t.slice(e,0,n),(function(t){return t.visible()}))}},{key:"recurseDown",value:function(t){return C(this,t),this}},{key:"recurseUp",value:function(t){var e=t(this);return!1!==e&&this.hasParent()&&this.getParent().recurseUp(t),this}},{key:"refreshIndeterminateState",value:function(){var t=this.indeterminate();if(this.state("indeterminate",!1),this.hasChildren()){var e=this.children.length,n=0,r=0;this.children.each((function(t){t.checked()&&r++,t.indeterminate()&&n++})),r===e?d("checked",!0,"checked",this):d("checked",!1,"unchecked",this),this.checked()||this.state("indeterminate",n>0||e>0&&r>0&&r0&&void 0!==arguments[0]&&arguments[0],e=this.getParent();this.context().remove(this),e&&(e.refreshIndeterminateState(),e.markDirty());var n=e?e.pagination():this._tree.pagination();n.total--;var r=this.toObject(!1,t);return this._tree.emit("node.removed",r,e),this._tree.applyChanges(),r}},{key:"removed",value:function(){return this.state("removed")}},{key:"rendered",value:function(){return this.state("rendered")}},{key:"restore",value:function(){return d("removed",!1,"restored",this)}},{key:"select",value:function(t){if(!this.selected()&&this.selectable()){if(this._tree.batch(),this._tree.canAutoDeselect()){var e=this._tree.config.selection.require;this._tree.config.selection.require=!1,this._tree.deselectDeep(),this._tree.config.selection.require=e}var n=!t&&this._tree.config.selection.autoSelectChildren;d("selected",!0,"selected",this,n),this._tree._lastSelectedNode=this,this.markDirty(),this._tree.end()}return this}},{key:"selectable",value:function(){var t=this._tree.config.selection.allow(this);return"boolean"===typeof t?t:this.state("selectable")}},{key:"selected",value:function(){return this.state("selected")}},{key:"set",value:function(t,e){return this[t]=e,this.markDirty(),this._tree.applyChanges(),this}},{key:"show",value:function(){return d("hidden",!1,"shown",this)}},{key:"state",value:function(t,e){var n=this.itree.state[t];return"undefined"!==typeof e&&n!==e&&(this.itree.state[t]=e,"rendered"!==t&&this.markDirty(),this._tree.emit("node.state.changed",this,t,n,e)),n}},{key:"states",value:function(e,n){var r=this,i=[];return this._tree.batch(),t.each(e,(function(t){i.push(r.state(t,n))})),this._tree.end(),i}},{key:"swap",value:function(t){return this.context().swap(this,t),this}},{key:"softRemove",value:function(){return d("removed",!0,"softremoved",this,"softRemove")}},{key:"toggleCheck",value:function(){return this.checked()?this.uncheck():this.check()}},{key:"toggleCollapse",value:function(){return this.collapsed()?this.expand():this.collapse()}},{key:"toggleEditing",value:function(){return this.state("editing",!this.state("editing")),this.markDirty(),this._tree.applyChanges(),this}},{key:"toggleSelect",value:function(){return this.selected()?this.deselect():this.select()}},{key:"toObject",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={},o=t.pull(Object.keys(this),"_tree","children","itree");t.each(o,(function(t){i[t]=e[t]}));var a=i.itree={};return a.a=this.itree.a,a.icon=this.itree.icon,a.li=this.itree.li,r&&(a.state=this.itree.state),!n&&this.hasChildren()&&t.isFunction(this.children.toArray)&&(i.children=this.children.toArray()),i}},{key:"toString",value:function(){return this.text}},{key:"tree",value:function(){return this.context().tree()}},{key:"uncheck",value:function(t){this._tree.batch();var e=!t&&this._tree.config.checkbox.autoCheckChildren;return d("checked",!1,"unchecked",this,e),this.state("indeterminate",!1),this.hasParent()&&this.getParent().refreshIndeterminateState(),this._tree.end(),this}},{key:"visible",value:function(){var t=!0;return t=!(this.hidden()||this.removed()||this._tree.usesNativeDOM&&!this.rendered())&&(!this.hasParent()||!this.getParent().collapsed()&&this.getParent().visible()),t}}]),e}();function E(e,n,r){n.id=n.id||f(),"string"!==typeof n.id&&"number"!==typeof n.id&&(n.id=n.id.toString());var i=n.itree=n.itree||{};i.icon=i.icon||!1,i.dirty=!1;var o=i.li=i.li||{};o.attributes=o.attributes||{};var a=i.a=i.a||{};a.attributes=a.attributes||{};var s=i.state=i.state||{};return s.collapsed="boolean"===typeof s.collapsed?s.collapsed:e.defaultState.collapsed,s.selectable="boolean"===typeof s.selectable?s.selectable:e.defaultState.selectable,s.draggable="boolean"===typeof s.draggable?s.draggable:e.defaultState.draggable,s["drop-target"]="boolean"===typeof s["drop-target"]?s["drop-target"]:e.defaultState["drop-target"],s.checked="boolean"===typeof s.checked&&s.checked,s.editable="boolean"===typeof s.editable?s.editable:e.defaultState.editable,s.editing="boolean"===typeof s.editing?s.editing:e.defaultState.editing,s.focused=s.focused||e.defaultState.focused,s.hidden=s.hidden||e.defaultState.hidden,s.indeterminate=s.indeterminate||e.defaultState.indeterminate,s.loading=s.loading||e.defaultState.loading,s.removed=s.removed||e.defaultState.removed,s.rendered=s.rendered||e.defaultState.rendered,s.selected=s.selected||e.defaultState.selected,n.itree.parent=r,n=t.assign(new j(e),n),t.isArrayLike(n.children)&&(n.children=D(e,n.children,n)),e.allowsLoadEvents&&t.each(e.config.allowLoadEvents,(function(t){s[t]&&e.emit("node."+t,n,!0)})),n}function D(e,n,r){var i=new k(e);return e.config.sort&&(n=t.sortBy(n,e.config.sort)),t.each(n,(function(t){i.push(E(e,t,r))})),i._context=r,i}var A=i((function(t,e){ /*! * EventEmitter2 * https://github.com/hij1nx/EventEmitter2 * * Copyright (c) 2013 hij1nx * Licensed under the MIT license. */ !function(e){var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=10;function i(){this._events={},this._conf&&o.call(this,this._conf)}function o(t){t?(this._conf=t,t.delimiter&&(this.delimiter=t.delimiter),this._maxListeners=t.maxListeners!==e?t.maxListeners:r,t.wildcard&&(this.wildcard=t.wildcard),t.newListener&&(this._newListener=t.newListener),t.removeListener&&(this._removeListener=t.removeListener),t.verboseMemoryLeak&&(this.verboseMemoryLeak=t.verboseMemoryLeak),this.wildcard&&(this.listenerTree={})):this._maxListeners=r}function a(t,e){var n="(node) warning: possible EventEmitter memory leak detected. "+t+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n+=" Event name: "+e+"."),"undefined"!==typeof process&&process.emitWarning){var r=new Error(n);r.name="MaxListenersExceededWarning",r.emitter=this,r.count=t,process.emitWarning(r)}else console.error(n),console.trace&&console.trace()}function s(t){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,o.call(this,t)}function c(t,e,n,r){if(!n)return[];var i,o,a,s,u,l,f,h=[],d=e.length,p=e[r],v=e[r+1];if(r===d&&n._listeners){if("function"===typeof n._listeners)return t&&t.push(n._listeners),[n];for(i=0,o=n._listeners.length;i0&&o._listeners.length>this._maxListeners&&(o._listeners.warned=!0,a.call(this,o._listeners.length,s))):o._listeners=n,!0;s=t.shift()}return!0}s.EventEmitter2=s,s.prototype.delimiter=".",s.prototype.setMaxListeners=function(t){t!==e&&(this._maxListeners=t,this._conf||(this._conf={}),this._conf.maxListeners=t)},s.prototype.event="",s.prototype.once=function(t,e){return this._once(t,e,!1)},s.prototype.prependOnceListener=function(t,e){return this._once(t,e,!0)},s.prototype._once=function(t,e,n){return this._many(t,1,e,n),this},s.prototype.many=function(t,e,n){return this._many(t,e,n,!1)},s.prototype.prependMany=function(t,e,n){return this._many(t,e,n,!0)},s.prototype._many=function(t,e,n,r){var i=this;if("function"!==typeof n)throw new Error("many only accepts instances of Function");function o(){return 0===--e&&i.off(t,o),n.apply(this,arguments)}return o._origin=n,this._on(t,o,r),i},s.prototype.emit=function(){this._events||i.call(this);var t=arguments[0];if("newListener"===t&&!this._newListener&&!this._events.newListener)return!1;var e,n,r,o,a,s=arguments.length;if(this._all&&this._all.length){if(a=this._all.slice(),s>3)for(e=new Array(s),o=0;o3)for(e=new Array(s-1),o=1;o3)for(e=new Array(u),o=1;o3)for(e=new Array(u-1),o=1;o0&&this._events[t].length>this._maxListeners&&(this._events[t].warned=!0,a.call(this,this._events[t].length,t))):this._events[t]=e,this)},s.prototype.off=function(t,r){if("function"!==typeof r)throw new Error("removeListener only takes instances of Function");var i,o=[];if(this.wildcard){var a="string"===typeof t?t.split(this.delimiter):t.slice();o=c.call(this,null,a,this.listenerTree,0)}else{if(!this._events[t])return this;i=this._events[t],o.push({_listeners:i})}for(var s=0;s0&&d(t[i]),0===Object.keys(o).length&&delete t[i])}}}return d(this.listenerTree),this},s.prototype.offAny=function(t){var e,n=0,r=0;if(t&&this._all&&this._all.length>0){for(e=this._all,n=0,r=e.length;n0,i.isDynamic=t.isFunction(i.config.data);var o=i.emit;return i.emit=function(e){if(!i.isEventMuted(e)){if(t.isFunction(t.get(arguments,"[1].preventDefault"))){var n=arguments[1];n.treeDefaultPrevented=!1,n.preventTreeDefault=function(){n.treeDefaultPrevented=!0}}o.apply(i,arguments)}},i.model=new k(i),i.config.data&&i.load(i.config.data),i.initialized=!0,r}return b(n,e),m(n,[{key:"addNode",value:function(){return I(this,"addNode",arguments)}},{key:"addNodes",value:function(e){var n=this;this.batch();var r=new k(this);return t.each(e,(function(t){r.push(n.addNode(t))})),this.end(),r}},{key:"applyChanges",value:function(){this.batching>0||this.emit("changes.applied")}},{key:"available",value:function(){return I(this,"available",arguments)}},{key:"batch",value:function(){this.batching<0&&(this.batching=0),this.batching++}},{key:"blur",value:function(){return I(this,"blur",arguments)}},{key:"blurDeep",value:function(){return I(this,"blurDeep",arguments)}},{key:"boundingNodes",value:function(){var e=t.transform(arguments,(function(t,e){t[e.indexPath().replace(/\./g,"")]=e}),{}),n=t.sortBy(Object.keys(e)),r=w(n),i=r[0],o=r.slice(1);return[t.get(e,i),t.get(e,o)]}},{key:"canAutoDeselect",value:function(){return this.config.selection.autoDeselect&&!this.preventDeselection}},{key:"checked",value:function(){return I(this,"checked",arguments)}},{key:"clean",value:function(){return I(this,"clean",arguments)}},{key:"clearSearch",value:function(){return this.matched().state("matched",!1),this.showDeep().collapseDeep().tree()}},{key:"clone",value:function(){return I(this,"clone",arguments)}},{key:"collapse",value:function(){return I(this,"collapse",arguments)}},{key:"collapsed",value:function(){return I(this,"collapsed",arguments)}},{key:"collapseDeep",value:function(){return I(this,"collapseDeep",arguments)}},{key:"concat",value:function(){return I(this,"concat",arguments)}},{key:"copy",value:function(){return I(this,"copy",arguments)}},{key:"createNode",value:function(t){return n.isTreeNode(t)?t:E(this,t)}},{key:"deepest",value:function(){return I(this,"deepest",arguments)}},{key:"deselect",value:function(){return I(this,"deselect",arguments)}},{key:"deselectDeep",value:function(){return I(this,"deselectDeep",arguments)}},{key:"disableDeselection",value:function(){return this.config.selection.multiple&&(this.preventDeselection=!0),this}},{key:"each",value:function(){return I(this,"each",arguments)}},{key:"every",value:function(){return I(this,"every",arguments)}},{key:"editable",value:function(){return I(this,"editable",arguments)}},{key:"editing",value:function(){return I(this,"editing",arguments)}},{key:"enableDeselection",value:function(){return this.preventDeselection=!1,this}},{key:"end",value:function(){this.batching--,0===this.batching&&this.applyChanges()}},{key:"expand",value:function(){return I(this,"expand",arguments)}},{key:"expandDeep",value:function(){return I(this,"expandDeep",arguments)}},{key:"expanded",value:function(){return I(this,"expanded",arguments)}},{key:"extract",value:function(){return I(this,"extract",arguments)}},{key:"filter",value:function(){return I(this,"filter",arguments)}},{key:"filterBy",value:function(){return I(this,"filterBy",arguments)}},{key:"flatten",value:function(){return I(this,"flatten",arguments)}},{key:"focused",value:function(){return I(this,"focused",arguments)}},{key:"forEach",value:function(){return I(this,"each",arguments)}},{key:"get",value:function(){return I(this,"get",arguments)}},{key:"hidden",value:function(){return I(this,"hidden",arguments)}},{key:"hide",value:function(){return I(this,"hide",arguments)}},{key:"hideDeep",value:function(){return I(this,"hideDeep",arguments)}},{key:"indeterminate",value:function(){return I(this,"indeterminate",arguments)}},{key:"indexOf",value:function(){return I(this,"indexOf",arguments)}},{key:"insertAt",value:function(){return I(this,"insertAt",arguments)}},{key:"invoke",value:function(){return I(this,"invoke",arguments)}},{key:"invokeDeep",value:function(){return I(this,"invokeDeep",arguments)}},{key:"isEventMuted",value:function(e){return t.isBoolean(this.muted())?this.muted():t.includes(this.muted(),e)}},{key:"isTree",value:function(t){return t instanceof n}},{key:"join",value:function(){return I(this,"join",arguments)}},{key:"lastSelectedNode",value:function(){return this._lastSelectedNode}},{key:"load",value:function(e){var n=this,r=new v((function(r,i){var o=function(e,o){if(!t.isArrayLike(e))return i(new TypeError("Loader requires an array-like `nodes` parameter."));!n.initialized&&t.isArrayLike(e)?setTimeout((function(){n.emit("data.loaded",e)})):n.emit("data.loaded",e);var a=D(n,e);n.config.deferredLoading?n.model=n.model.concat(a):n.model=a,n.model._pagination.total=e.length,t.parseInt(o)>e.length&&(n.model._pagination.total=t.parseInt(o)),o||n.model.recurseDown((function(t){t.hasChildren()&&(t.children._pagination.total=t.children.length)})),n.config.selection.require&&!n.selected().length&&n.selectFirstAvailableNode();var s=function(){n.emit("model.loaded",n.model),r(n.model),n.applyChanges()};!n.initialized&&t.isArray(e)?setTimeout(s):s()};if(t.isArrayLike(e))o(e);else if(t.isFunction(e)){var a=e(null,o,i,n.pagination());a&&(e=a)}t.isObject(e)?P(e).then(o).catch(i):error(new Error("Invalid data loader."))}));return r.catch((function(t){n.emit("data.loaderror",t)})),this._loader={promise:r},r}},{key:"loading",value:function(){return I(this,"loading",arguments)}},{key:"loadMore",value:function(){return I(this,"loadMore",arguments)}},{key:"map",value:function(){return I(this,"map",arguments)}},{key:"matched",value:function(){return I(this,"matched",arguments)}},{key:"move",value:function(){return I(this,"move",arguments)}},{key:"mute",value:function(e){return t.isString(e)||t.isArray(e)?this._muted=t.castArray(e):this._muted=!0,this}},{key:"muted",value:function(){return this._muted}},{key:"node",value:function(){return I(this,"node",arguments)}},{key:"nodes",value:function(){return I(this,"nodes",arguments)}},{key:"pagination",value:function(){return I(this,"pagination",arguments)}},{key:"pop",value:function(){return I(this,"pop",arguments)}},{key:"push",value:function(){return I(this,"push",arguments)}},{key:"recurseDown",value:function(){return I(this,"recurseDown",arguments)}},{key:"reduce",value:function(){return I(this,"reduce",arguments)}},{key:"reduceRight",value:function(){return I(this,"reduceRight",arguments)}},{key:"reload",value:function(){return this.removeAll(),this.load(this.opts.data||this.config.data)}},{key:"remove",value:function(){return I(this,"remove",arguments)}},{key:"removeAll",value:function(){return this.model=new k(this),this.applyChanges(),this}},{key:"removed",value:function(){return I(this,"removed",arguments)}},{key:"restore",value:function(){return I(this,"restore",arguments)}},{key:"restoreDeep",value:function(){return I(this,"restoreDeep",arguments)}},{key:"reverse",value:function(){return I(this,"reverse",arguments)}},{key:"search",value:function(e){var r=this,i=this.config.search,o=i.matcher,a=i.matchProcessor;return!e||t.isString(e)&&t.isEmpty(e)?v.resolve(this.clearSearch()):(this.batch(),this.recurseDown((function(t){t.state("hidden",!0),t.state("matched",!1)})),this.end(),o=t.isFunction(o)?o:function(e,n){var i=new k(r);t.isString(e)&&(e=new RegExp(e,"i"));var o=void 0;o=t.isRegExp(e)?function(t){return e.test(t.text)}:e,r.model.recurseDown((function(t){t.removed()||o(t)&&i.push(t)})),n(i)},a=t.isFunction(a)?a:function(t){t.each((function(t){t.show().state("matched",!0),t.expandParents().collapse(),t.hasChildren()&&t.children.showDeep()}))},new v((function(i,s){o(e,(function(e){n.isTreeNodes(e)||(e=r.nodes(t.map(e,"id"))),r.batch(),a(e),r.end(),i(e)}),s)})))}},{key:"select",value:function(){return I(this,"select",arguments)}},{key:"selectable",value:function(){return I(this,"selectable",arguments)}},{key:"selectBetween",value:function(t,e){this.batch();var n=t.nextVisibleNode();while(n.id!==e.id)n.select(),n=n.nextVisibleNode();return this.end(),this}},{key:"selectDeep",value:function(){return I(this,"selectDeep",arguments)}},{key:"selected",value:function(){return I(this,"selected",arguments)}},{key:"selectFirstAvailableNode",value:function(){var t=this.model.filterBy("available").get(0);return t&&t.select(),t}},{key:"shift",value:function(){return I(this,"shift",arguments)}},{key:"show",value:function(){return I(this,"show",arguments)}},{key:"showDeep",value:function(){return I(this,"showDeep",arguments)}},{key:"slice",value:function(){return I(this,"slice",arguments)}},{key:"softRemove",value:function(){return I(this,"softRemove",arguments)}},{key:"some",value:function(){return I(this,"some",arguments)}},{key:"sort",value:function(){return I(this,"sort",arguments)}},{key:"sortBy",value:function(){return I(this,"sortBy",arguments)}},{key:"splice",value:function(){return I(this,"slice",arguments)}},{key:"state",value:function(){return I(this,"state",arguments)}},{key:"stateDeep",value:function(){return I(this,"stateDeep",arguments)}},{key:"swap",value:function(){return I(this,"swap",arguments)}},{key:"toArray",value:function(){return I(this,"toArray",arguments)}},{key:"toString",value:function(){return I(this,"toString",arguments)}},{key:"unmute",value:function(e){return t.isString(e)||t.isArray(e)?(this._muted=t.difference(this._muted,t.castArray(e)),this._muted.length||(this._muted=!1)):this._muted=!1,this}},{key:"unshift",value:function(){return I(this,"unshift",arguments)}},{key:"visible",value:function(){return I(this,"visible",arguments)}}],[{key:"isTreeNode",value:function(t){return t instanceof j}},{key:"isTreeNodes",value:function(t){return t instanceof k}}]),n}(L);return M}))},2705:function(t,e,n){var r=n(5639),i=r.Symbol;t.exports=i},4239:function(t,e,n){var r=n(2705),i=n(9607),o=n(2333),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function u(t){return null==t?void 0===t?s:a:c&&c in Object(t)?i(t):o(t)}t.exports=u},7561:function(t,e,n){var r=n(7990),i=/^\s+/;function o(t){return t?t.slice(0,r(t)+1).replace(i,""):t}t.exports=o},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},9607:function(t,e,n){var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function c(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(c){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=c},2333:function(t){var e=Object.prototype,n=e.toString;function r(t){return n.call(t)}t.exports=r},5639:function(t,e,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},7990:function(t){var e=/\s/;function n(t){var n=t.length;while(n--&&e.test(t.charAt(n)));return n}t.exports=n},3279:function(t,e,n){var r=n(3218),i=n(7771),o=n(4841),a="Expected a function",s=Math.max,c=Math.min;function u(t,e,n){var u,l,f,h,d,p,v=0,g=!1,m=!1,b=!0;if("function"!=typeof t)throw new TypeError(a);function y(e){var n=u,r=l;return u=l=void 0,v=e,h=t.apply(r,n),h}function w(t){return v=t,d=setTimeout(O,e),g?y(t):h}function _(t){var n=t-p,r=t-v,i=e-n;return m?c(i,f-r):i}function x(t){var n=t-p,r=t-v;return void 0===p||n>=e||n<0||m&&r>=f}function O(){var t=i();if(x(t))return S(t);d=setTimeout(O,_(t))}function S(t){return d=void 0,b&&u?y(t):(u=l=void 0,h)}function k(){void 0!==d&&clearTimeout(d),v=0,u=p=l=d=void 0}function C(){return void 0===d?h:S(i())}function P(){var t=i(),n=x(t);if(u=arguments,l=this,p=t,n){if(void 0===d)return w(p);if(m)return clearTimeout(d),d=setTimeout(O,e),y(p)}return void 0===d&&(d=setTimeout(O,e)),h}return e=o(e)||0,r(n)&&(g=!!n.leading,m="maxWait"in n,f=m?s(o(n.maxWait)||0,e):f,b="trailing"in n?!!n.trailing:b),P.cancel=k,P.flush=C,P}t.exports=u},3218:function(t){function e(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=e},7005:function(t){function e(t){return null!=t&&"object"==typeof t}t.exports=e},3448:function(t,e,n){var r=n(4239),i=n(7005),o="[object Symbol]";function a(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=a},6486:function(t,e,n){var r; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */t=n.nmd(t),function(){var i,o="4.17.21",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",d=1,p=2,v=4,g=1,m=2,b=1,y=2,w=4,_=8,x=16,O=32,S=64,k=128,C=256,P=512,T=30,j="...",E=800,D=16,A=1,L=2,I=3,M=1/0,$=9007199254740991,F=17976931348623157e292,R=NaN,N=4294967295,B=N-1,z=N>>>1,V=[["ary",k],["bind",b],["bindKey",y],["curry",_],["curryRight",x],["flip",P],["partial",O],["partialRight",S],["rearg",C]],H="[object Arguments]",U="[object Array]",W="[object AsyncFunction]",G="[object Boolean]",q="[object Date]",Y="[object DOMException]",K="[object Error]",X="[object Function]",Z="[object GeneratorFunction]",J="[object Map]",Q="[object Number]",tt="[object Null]",et="[object Object]",nt="[object Promise]",rt="[object Proxy]",it="[object RegExp]",ot="[object Set]",at="[object String]",st="[object Symbol]",ct="[object Undefined]",ut="[object WeakMap]",lt="[object WeakSet]",ft="[object ArrayBuffer]",ht="[object DataView]",dt="[object Float32Array]",pt="[object Float64Array]",vt="[object Int8Array]",gt="[object Int16Array]",mt="[object Int32Array]",bt="[object Uint8Array]",yt="[object Uint8ClampedArray]",wt="[object Uint16Array]",_t="[object Uint32Array]",xt=/\b__p \+= '';/g,Ot=/\b(__p \+=) '' \+/g,St=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,Pt=RegExp(kt.source),Tt=RegExp(Ct.source),jt=/<%-([\s\S]+?)%>/g,Et=/<%([\s\S]+?)%>/g,Dt=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,It=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,$t=RegExp(Mt.source),Ft=/^\s+/,Rt=/\s/,Nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/[()=,{}\[\]\/\s]/,Ut=/\\(\\)?/g,Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Zt=/^(?:0|[1-9]\d*)$/,Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,te=/['\n\r\u2028\u2029\\]/g,ee="\\ud800-\\udfff",ne="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",ie="\\u20d0-\\u20ff",oe=ne+re+ie,ae="\\u2700-\\u27bf",se="a-z\\xdf-\\xf6\\xf8-\\xff",ce="\\xac\\xb1\\xd7\\xf7",ue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",le="\\u2000-\\u206f",fe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="A-Z\\xc0-\\xd6\\xd8-\\xde",de="\\ufe0e\\ufe0f",pe=ce+ue+le+fe,ve="['’]",ge="["+ee+"]",me="["+pe+"]",be="["+oe+"]",ye="\\d+",we="["+ae+"]",_e="["+se+"]",xe="[^"+ee+pe+ye+ae+se+he+"]",Oe="\\ud83c[\\udffb-\\udfff]",Se="(?:"+be+"|"+Oe+")",ke="[^"+ee+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Te="["+he+"]",je="\\u200d",Ee="(?:"+_e+"|"+xe+")",De="(?:"+Te+"|"+xe+")",Ae="(?:"+ve+"(?:d|ll|m|re|s|t|ve))?",Le="(?:"+ve+"(?:D|LL|M|RE|S|T|VE))?",Ie=Se+"?",Me="["+de+"]?",$e="(?:"+je+"(?:"+[ke,Ce,Pe].join("|")+")"+Me+Ie+")*",Fe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ne=Me+Ie+$e,Be="(?:"+[we,Ce,Pe].join("|")+")"+Ne,ze="(?:"+[ke+be+"?",be,Ce,Pe,ge].join("|")+")",Ve=RegExp(ve,"g"),He=RegExp(be,"g"),Ue=RegExp(Oe+"(?="+Oe+")|"+ze+Ne,"g"),We=RegExp([Te+"?"+_e+"+"+Ae+"(?="+[me,Te,"$"].join("|")+")",De+"+"+Le+"(?="+[me,Te+Ee,"$"].join("|")+")",Te+"?"+Ee+"+"+Ae,Te+"+"+Le,Re,Fe,ye,Be].join("|"),"g"),Ge=RegExp("["+je+ee+oe+de+"]"),qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ye=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,Xe={};Xe[dt]=Xe[pt]=Xe[vt]=Xe[gt]=Xe[mt]=Xe[bt]=Xe[yt]=Xe[wt]=Xe[_t]=!0,Xe[H]=Xe[U]=Xe[ft]=Xe[G]=Xe[ht]=Xe[q]=Xe[K]=Xe[X]=Xe[J]=Xe[Q]=Xe[et]=Xe[it]=Xe[ot]=Xe[at]=Xe[ut]=!1;var Ze={};Ze[H]=Ze[U]=Ze[ft]=Ze[ht]=Ze[G]=Ze[q]=Ze[dt]=Ze[pt]=Ze[vt]=Ze[gt]=Ze[mt]=Ze[J]=Ze[Q]=Ze[et]=Ze[it]=Ze[ot]=Ze[at]=Ze[st]=Ze[bt]=Ze[yt]=Ze[wt]=Ze[_t]=!0,Ze[K]=Ze[X]=Ze[ut]=!1;var Je={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Qe={"&":"&","<":"<",">":">",'"':""","'":"'"},tn={"&":"&","<":"<",">":">",""":'"',"'":"'"},en={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),cn=e&&!e.nodeType&&e,un=cn&&t&&!t.nodeType&&t,ln=un&&un.exports===cn,fn=ln&&on.process,hn=function(){try{var t=un&&un.require&&un.require("util").types;return t||fn&&fn.binding&&fn.binding("util")}catch(e){}}(),dn=hn&&hn.isArrayBuffer,pn=hn&&hn.isDate,vn=hn&&hn.isMap,gn=hn&&hn.isRegExp,mn=hn&&hn.isSet,bn=hn&&hn.isTypedArray;function yn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function wn(t,e,n,r){var i=-1,o=null==t?0:t.length;while(++i-1}function Cn(t,e,n){var r=-1,i=null==t?0:t.length;while(++r-1);return n}function Qn(t,e){var n=t.length;while(n--&&Fn(e,t[n],0)>-1);return n}function tr(t,e){var n=t.length,r=0;while(n--)t[n]===e&&++r;return r}var er=Vn(Je),nr=Vn(Qe);function rr(t){return"\\"+en[t]}function ir(t,e){return null==t?i:t[e]}function or(t){return Ge.test(t)}function ar(t){return qe.test(t)}function sr(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function cr(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ur(t,e){return function(n){return t(e(n))}}function lr(t,e){var n=-1,r=t.length,i=0,o=[];while(++n-1}function Vr(t,e){var n=this.__data__,r=li(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Hr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e=e?t:e)),t}function mi(t,e,n,r,o,a){var s,c=e&d,u=e&p,l=e&v;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!Sl(t))return t;var f=cl(t);if(f){if(s=es(t),!c)return ia(t,s)}else{var h=Za(t),g=h==X||h==Z;if(dl(t))return Yo(t,c);if(h==et||h==H||g&&!o){if(s=u||g?{}:ns(t),!c)return u?sa(t,di(s,t)):aa(t,hi(s,t))}else{if(!Ze[h])return o?t:{};s=rs(t,h,c)}}a||(a=new Jr);var m=a.get(t);if(m)return m;a.set(t,s),Fl(t)?t.forEach((function(r){s.add(mi(r,e,n,r,t,a))})):Cl(t)&&t.forEach((function(r,i){s.set(i,mi(r,e,n,i,t,a))}));var b=l?u?Ba:Na:u?Sf:Of,y=f?i:b(t);return _n(y||t,(function(r,i){y&&(i=r,r=t[i]),ui(s,i,mi(r,e,n,i,t,a))})),s}function bi(t){var e=Of(t);return function(n){return yi(n,t,e)}}function yi(t,e,n){var r=n.length;if(null==t)return!r;t=ne(t);while(r--){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function wi(t,e,n){if("function"!=typeof t)throw new oe(c);return ks((function(){t.apply(i,n)}),e)}function _i(t,e,n,r){var i=-1,o=kn,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Pn(e,Kn(n))),r?(o=Cn,s=!1):e.length>=a&&(o=Zn,s=!1,e=new Kr(e));t:while(++io?0:o+n),r=r===i||r>o?o:Yl(r),r<0&&(r+=o),r=n>r?0:Kl(r);while(n0&&n(s)?e>1?Ti(s,e-1,n,r,i):Tn(i,s):r||(i[i.length]=s)}return i}var ji=fa(),Ei=fa(!0);function Di(t,e){return t&&ji(t,e,Of)}function Ai(t,e){return t&&Ei(t,e,Of)}function Li(t,e){return Sn(e,(function(e){return _l(t[e])}))}function Ii(t,e){e=Uo(e,t);var n=0,r=e.length;while(null!=t&&ne}function Ri(t,e){return null!=t&&fe.call(t,e)}function Ni(t,e){return null!=t&&e in ne(t)}function Bi(t,e,n){return t>=ze(e,n)&&t=120&&h.length>=120)?new Kr(c&&h):i}h=t[0];var d=-1,p=u[0];t:while(++d-1)s!==t&&ke.call(s,c,1),ke.call(t,c,1)}return t}function mo(t,e){var n=t?e.length:0,r=n-1;while(n--){var i=e[n];if(n==r||i!==o){var o=i;as(i)?ke.call(t,i,1):$o(t,i)}}return t}function bo(t,e){return t+Ie(Ge()*(e-t+1))}function yo(t,e,r,i){var o=-1,a=Be(Le((e-t)/(r||1)),0),s=n(a);while(a--)s[i?a:++o]=t,t+=r;return s}function wo(t,e){var n="";if(!t||e<1||e>$)return n;do{e%2&&(n+=t),e=Ie(e/2),e&&(t+=t)}while(e);return n}function _o(t,e){return Cs(ws(t,e,Dh),t+"")}function xo(t){return oi(Vf(t))}function Oo(t,e){var n=Vf(t);return js(n,gi(e,0,n.length))}function So(t,e,n,r){if(!Sl(t))return t;e=Uo(e,t);var o=-1,a=e.length,s=a-1,c=t;while(null!=c&&++oo?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;var a=n(o);while(++i>>1,a=t[o];null!==a&&!Nl(a)&&(n?a<=e:a=a){var l=e?null:ja(t);if(l)return fr(l);s=!1,i=Zn,u=new Kr}else u=e?[]:c;t:while(++r=r?t:To(t,e,n)}var qo=Ee||function(t){return sn.clearTimeout(t)};function Yo(t,e){if(e)return t.slice();var n=t.length,r=_e?_e(n):new t.constructor(n);return t.copy(r),r}function Ko(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}function Xo(t,e){var n=e?Ko(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Zo(t){var e=new t.constructor(t.source,Gt.exec(t));return e.lastIndex=t.lastIndex,e}function Jo(t){return yr?ne(yr.call(t)):{}}function Qo(t,e){var n=e?Ko(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ta(t,e){if(t!==e){var n=t!==i,r=null===t,o=t===t,a=Nl(t),s=e!==i,c=null===e,u=e===e,l=Nl(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!l&&t=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}function na(t,e,r,i){var o=-1,a=t.length,s=r.length,c=-1,u=e.length,l=Be(a-s,0),f=n(u+l),h=!i;while(++c1?n[o-1]:i,s=o>2?n[2]:i;a=t.length>3&&"function"==typeof a?(o--,a):i,s&&ss(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=ne(e);while(++r-1?o[a?e[s]:s]:i}}function ba(t){return Ra((function(e){var n=e.length,r=n,o=Cr.prototype.thru;t&&e.reverse();while(r--){var a=e[r];if("function"!=typeof a)throw new oe(c);if(o&&!s&&"wrapper"==Va(a))var s=new Cr([],!0)}r=s?r:n;while(++r1&&b.reverse(),h&&lc))return!1;var l=a.get(t),f=a.get(e);if(l&&f)return l==e&&f==t;var h=-1,d=!0,p=n&m?new Kr:i;a.set(t,e),a.set(e,t);while(++h1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Nt,"{\n/* [wrapped with "+e+"] */\n")}function os(t){return cl(t)||sl(t)||!!(Ce&&t&&t[Ce])}function as(t,e){var n=typeof t;return e=null==e?$:e,!!e&&("number"==n||"symbol"!=n&&Zt.test(t))&&t>-1&&t%1==0&&t0){if(++e>=E)return arguments[0]}else e=0;return t.apply(i,arguments)}}function js(t,e){var n=-1,r=t.length,o=r-1;e=e===i?r:e;while(++n1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,$c(t,n)}));function Wc(t){var e=xr(t);return e.__chain__=!0,e}function Gc(t,e){return e(t),t}function qc(t,e){return e(t)}var Yc=Ra((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return vi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Pr&&as(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:qc,args:[o],thisArg:i}),new Cr(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));function Kc(){return Wc(this)}function Xc(){return new Cr(this.value(),this.__chain__)}function Zc(){this.__values__===i&&(this.__values__=Gl(this.value()));var t=this.__index__>=this.__values__.length,e=t?i:this.__values__[this.__index__++];return{done:t,value:e}}function Jc(){return this}function Qc(t){var e,n=this;while(n instanceof kr){var r=Is(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e}function tu(){var t=this.__wrapped__;if(t instanceof Pr){var e=t;return this.__actions__.length&&(e=new Pr(this)),e=e.reverse(),e.__actions__.push({func:qc,args:[pc],thisArg:i}),new Cr(e,this.__chain__)}return this.thru(pc)}function eu(){return No(this.__wrapped__,this.__actions__)}var nu=ca((function(t,e,n){fe.call(t,n)?++t[n]:pi(t,n,1)}));function ru(t,e,n){var r=cl(t)?On:Si;return n&&ss(t,e,n)&&(e=i),r(t,Ua(e,3))}function iu(t,e){var n=cl(t)?Sn:Pi;return n(t,Ua(e,3))}var ou=ma(Gs),au=ma(qs);function su(t,e){return Ti(gu(t,e),1)}function cu(t,e){return Ti(gu(t,e),M)}function uu(t,e,n){return n=n===i?1:Yl(n),Ti(gu(t,e),n)}function lu(t,e){var n=cl(t)?_n:xi;return n(t,Ua(e,3))}function fu(t,e){var n=cl(t)?xn:Oi;return n(t,Ua(e,3))}var hu=ca((function(t,e,n){fe.call(t,n)?t[n].push(e):pi(t,n,[e])}));function du(t,e,n,r){t=ll(t)?t:Vf(t),n=n&&!r?Yl(n):0;var i=t.length;return n<0&&(n=Be(i+n,0)),Rl(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Fn(t,e,n)>-1}var pu=_o((function(t,e,r){var i=-1,o="function"==typeof e,a=ll(t)?n(t.length):[];return xi(t,(function(t){a[++i]=o?yn(e,t,r):Hi(t,e,r)})),a})),vu=ca((function(t,e,n){pi(t,n,e)}));function gu(t,e){var n=cl(t)?Pn:oo;return n(t,Ua(e,3))}function mu(t,e,n,r){return null==t?[]:(cl(e)||(e=null==e?[]:[e]),n=r?i:n,cl(n)||(n=null==n?[]:[n]),fo(t,e,n))}var bu=ca((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function yu(t,e,n){var r=cl(t)?jn:Hn,i=arguments.length<3;return r(t,Ua(e,4),n,i,xi)}function wu(t,e,n){var r=cl(t)?En:Hn,i=arguments.length<3;return r(t,Ua(e,4),n,i,Oi)}function _u(t,e){var n=cl(t)?Sn:Pi;return n(t,zu(Ua(e,3)))}function xu(t){var e=cl(t)?oi:xo;return e(t)}function Ou(t,e,n){e=(n?ss(t,e,n):e===i)?1:Yl(e);var r=cl(t)?ai:Oo;return r(t,e)}function Su(t){var e=cl(t)?si:Po;return e(t)}function ku(t){if(null==t)return 0;if(ll(t))return Rl(t)?vr(t):t.length;var e=Za(t);return e==J||e==ot?t.size:no(t).length}function Cu(t,e,n){var r=cl(t)?Dn:jo;return n&&ss(t,e,n)&&(e=i),r(t,Ua(e,3))}var Pu=_o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ss(t,e[0],e[1])?e=[]:n>2&&ss(e[0],e[1],e[2])&&(e=[e[0]]),fo(t,Ti(e,1),[])})),Tu=De||function(){return sn.Date.now()};function ju(t,e){if("function"!=typeof e)throw new oe(c);return t=Yl(t),function(){if(--t<1)return e.apply(this,arguments)}}function Eu(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Da(t,k,i,i,i,i,e)}function Du(t,e){var n;if("function"!=typeof e)throw new oe(c);return t=Yl(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Au=_o((function(t,e,n){var r=b;if(n.length){var i=lr(n,Ha(Au));r|=O}return Da(t,r,e,n,i)})),Lu=_o((function(t,e,n){var r=b|y;if(n.length){var i=lr(n,Ha(Lu));r|=O}return Da(e,r,t,n,i)}));function Iu(t,e,n){e=n?i:e;var r=Da(t,_,i,i,i,i,i,e);return r.placeholder=Iu.placeholder,r}function Mu(t,e,n){e=n?i:e;var r=Da(t,x,i,i,i,i,i,e);return r.placeholder=Mu.placeholder,r}function $u(t,e,n){var r,o,a,s,u,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new oe(c);function v(e){var n=r,a=o;return r=o=i,f=e,s=t.apply(a,n),s}function g(t){return f=t,u=ks(y,e),h?v(t):s}function m(t){var n=t-l,r=t-f,i=e-n;return d?ze(i,a-r):i}function b(t){var n=t-l,r=t-f;return l===i||n>=e||n<0||d&&r>=a}function y(){var t=Tu();if(b(t))return w(t);u=ks(y,m(t))}function w(t){return u=i,p&&r?v(t):(r=o=i,s)}function _(){u!==i&&qo(u),f=0,r=l=o=u=i}function x(){return u===i?s:w(Tu())}function O(){var t=Tu(),n=b(t);if(r=arguments,o=this,l=t,n){if(u===i)return g(l);if(d)return qo(u),u=ks(y,e),v(l)}return u===i&&(u=ks(y,e)),s}return e=Xl(e)||0,Sl(n)&&(h=!!n.leading,d="maxWait"in n,a=d?Be(Xl(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),O.cancel=_,O.flush=x,O}var Fu=_o((function(t,e){return wi(t,1,e)})),Ru=_o((function(t,e,n){return wi(t,Xl(e)||0,n)}));function Nu(t){return Da(t,P)}function Bu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(c);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Bu.Cache||Hr),n}function zu(t){if("function"!=typeof t)throw new oe(c);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Vu(t){return Du(2,t)}Bu.Cache=Hr;var Hu=Wo((function(t,e){e=1==e.length&&cl(e[0])?Pn(e[0],Kn(Ua())):Pn(Ti(e,1),Kn(Ua()));var n=e.length;return _o((function(r){var i=-1,o=ze(r.length,n);while(++i=e})),sl=Ui(function(){return arguments}())?Ui:function(t){return kl(t)&&fe.call(t,"callee")&&!Se.call(t,"callee")},cl=n.isArray,ul=dn?Kn(dn):Wi;function ll(t){return null!=t&&Ol(t.length)&&!_l(t)}function fl(t){return kl(t)&&ll(t)}function hl(t){return!0===t||!1===t||kl(t)&&$i(t)==G}var dl=$e||Kh,pl=pn?Kn(pn):Gi;function vl(t){return kl(t)&&1===t.nodeType&&!Il(t)}function gl(t){if(null==t)return!0;if(ll(t)&&(cl(t)||"string"==typeof t||"function"==typeof t.splice||dl(t)||Bl(t)||sl(t)))return!t.length;var e=Za(t);if(e==J||e==ot)return!t.size;if(ds(t))return!no(t).length;for(var n in t)if(fe.call(t,n))return!1;return!0}function ml(t,e){return qi(t,e)}function bl(t,e,n){n="function"==typeof n?n:i;var r=n?n(t,e):i;return r===i?qi(t,e,i,n):!!r}function yl(t){if(!kl(t))return!1;var e=$i(t);return e==K||e==Y||"string"==typeof t.message&&"string"==typeof t.name&&!Il(t)}function wl(t){return"number"==typeof t&&Fe(t)}function _l(t){if(!Sl(t))return!1;var e=$i(t);return e==X||e==Z||e==W||e==rt}function xl(t){return"number"==typeof t&&t==Yl(t)}function Ol(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$}function Sl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function kl(t){return null!=t&&"object"==typeof t}var Cl=vn?Kn(vn):Ki;function Pl(t,e){return t===e||Xi(t,e,Ga(e))}function Tl(t,e,n){return n="function"==typeof n?n:i,Xi(t,e,Ga(e),n)}function jl(t){return Ll(t)&&t!=+t}function El(t){if(hs(t))throw new Rt(s);return Zi(t)}function Dl(t){return null===t}function Al(t){return null==t}function Ll(t){return"number"==typeof t||kl(t)&&$i(t)==Q}function Il(t){if(!kl(t)||$i(t)!=et)return!1;var e=xe(t);if(null===e)return!0;var n=fe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==ve}var Ml=gn?Kn(gn):Ji;function $l(t){return xl(t)&&t>=-$&&t<=$}var Fl=mn?Kn(mn):Qi;function Rl(t){return"string"==typeof t||!cl(t)&&kl(t)&&$i(t)==at}function Nl(t){return"symbol"==typeof t||kl(t)&&$i(t)==st}var Bl=bn?Kn(bn):to;function zl(t){return t===i}function Vl(t){return kl(t)&&Za(t)==ut}function Hl(t){return kl(t)&&$i(t)==lt}var Ul=Ca(io),Wl=Ca((function(t,e){return t<=e}));function Gl(t){if(!t)return[];if(ll(t))return Rl(t)?gr(t):ia(t);if(Pe&&t[Pe])return sr(t[Pe]());var e=Za(t),n=e==J?cr:e==ot?fr:Vf;return n(t)}function ql(t){if(!t)return 0===t?t:0;if(t=Xl(t),t===M||t===-M){var e=t<0?-1:1;return e*F}return t===t?t:0}function Yl(t){var e=ql(t),n=e%1;return e===e?n?e-n:e:0}function Kl(t){return t?gi(Yl(t),0,N):0}function Xl(t){if("number"==typeof t)return t;if(Nl(t))return R;if(Sl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Sl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Yn(t);var n=Yt.test(t);return n||Xt.test(t)?rn(t.slice(2),n?2:8):qt.test(t)?R:+t}function Zl(t){return oa(t,Sf(t))}function Jl(t){return t?gi(Yl(t),-$,$):0===t?t:0}function Ql(t){return null==t?"":Io(t)}var tf=ua((function(t,e){if(ds(e)||ll(e))oa(e,Of(e),t);else for(var n in e)fe.call(e,n)&&ui(t,n,e[n])})),ef=ua((function(t,e){oa(e,Sf(e),t)})),nf=ua((function(t,e,n,r){oa(e,Sf(e),t,r)})),rf=ua((function(t,e,n,r){oa(e,Of(e),t,r)})),of=Ra(vi);function af(t,e){var n=Sr(t);return null==e?n:hi(n,e)}var sf=_o((function(t,e){t=ne(t);var n=-1,r=e.length,o=r>2?e[2]:i;o&&ss(e[0],e[1],o)&&(r=1);while(++n1),e})),oa(t,Ba(t),n),r&&(n=mi(n,d|p|v,Ia));var i=e.length;while(i--)$o(n,e[i]);return n}));function Ef(t,e){return Af(t,zu(Ua(e)))}var Df=Ra((function(t,e){return null==t?{}:ho(t,e)}));function Af(t,e){if(null==t)return{};var n=Pn(Ba(t),(function(t){return[t]}));return e=Ua(e),po(t,n,(function(t,n){return e(t,n[0])}))}function Lf(t,e,n){e=Uo(e,t);var r=-1,o=e.length;o||(o=1,t=i);while(++re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Ge();return ze(t+o*(e-t+nn("1e-"+((o+"").length-1))),e)}return bo(t,e)}var qf=pa((function(t,e,n){return e=e.toLowerCase(),t+(n?Yf(e):e)}));function Yf(t){return _h(Ql(t).toLowerCase())}function Kf(t){return t=Ql(t),t&&t.replace(Jt,er).replace(He,"")}function Xf(t,e,n){t=Ql(t),e=Io(e);var r=t.length;n=n===i?r:gi(Yl(n),0,r);var o=n;return n-=e.length,n>=0&&t.slice(n,o)==e}function Zf(t){return t=Ql(t),t&&Tt.test(t)?t.replace(Ct,nr):t}function Jf(t){return t=Ql(t),t&&$t.test(t)?t.replace(Mt,"\\$&"):t}var Qf=pa((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),th=pa((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),eh=da("toLowerCase");function nh(t,e,n){t=Ql(t),e=Yl(e);var r=e?vr(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Oa(Ie(i),n)+t+Oa(Le(i),n)}function rh(t,e,n){t=Ql(t),e=Yl(e);var r=e?vr(t):0;return e&&r>>0,n?(t=Ql(t),t&&("string"==typeof e||null!=e&&!Ml(e))&&(e=Io(e),!e&&or(t))?Go(gr(t),0,n):t.split(e,n)):[]}var lh=pa((function(t,e,n){return t+(n?" ":"")+_h(e)}));function fh(t,e,n){return t=Ql(t),n=null==n?0:gi(Yl(n),0,t.length),e=Io(e),t.slice(n,n+e.length)==e}function hh(t,e,n){var r=xr.templateSettings;n&&ss(t,e,n)&&(e=i),t=Ql(t),e=nf({},e,r,Aa);var o,a,s=nf({},e.imports,r.imports,Aa),c=Of(s),l=Xn(s,c),f=0,h=e.interpolate||Qt,d="__p += '",p=re((e.escape||Qt).source+"|"+h.source+"|"+(h===Dt?Wt:Qt).source+"|"+(e.evaluate||Qt).source+"|$","g"),v="//# sourceURL="+(fe.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+"\n";t.replace(p,(function(e,n,r,i,s,c){return r||(r=i),d+=t.slice(f,c).replace(te,rr),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+e.length,e})),d+="';\n";var g=fe.call(e,"variable")&&e.variable;if(g){if(Ht.test(g))throw new Rt(u)}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(xt,""):d).replace(Ot,"$1").replace(St,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Oh((function(){return Vt(c,v+"return "+d).apply(i,l)}));if(m.source=d,yl(m))throw m;return m}function dh(t){return Ql(t).toLowerCase()}function ph(t){return Ql(t).toUpperCase()}function vh(t,e,n){if(t=Ql(t),t&&(n||e===i))return Yn(t);if(!t||!(e=Io(e)))return t;var r=gr(t),o=gr(e),a=Jn(r,o),s=Qn(r,o)+1;return Go(r,a,s).join("")}function gh(t,e,n){if(t=Ql(t),t&&(n||e===i))return t.slice(0,mr(t)+1);if(!t||!(e=Io(e)))return t;var r=gr(t),o=Qn(r,gr(e))+1;return Go(r,0,o).join("")}function mh(t,e,n){if(t=Ql(t),t&&(n||e===i))return t.replace(Ft,"");if(!t||!(e=Io(e)))return t;var r=gr(t),o=Jn(r,gr(e));return Go(r,o).join("")}function bh(t,e){var n=T,r=j;if(Sl(e)){var o="separator"in e?e.separator:o;n="length"in e?Yl(e.length):n,r="omission"in e?Io(e.omission):r}t=Ql(t);var a=t.length;if(or(t)){var s=gr(t);a=s.length}if(n>=a)return t;var c=n-vr(r);if(c<1)return r;var u=s?Go(s,0,c).join(""):t.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),Ml(o)){if(t.slice(c).search(o)){var l,f=u;o.global||(o=re(o.source,Ql(Gt.exec(o))+"g")),o.lastIndex=0;while(l=o.exec(f))var h=l.index;u=u.slice(0,h===i?c:h)}}else if(t.indexOf(Io(o),c)!=c){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r}function yh(t){return t=Ql(t),t&&Pt.test(t)?t.replace(kt,br):t}var wh=pa((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),_h=da("toUpperCase");function xh(t,e,n){return t=Ql(t),e=n?i:e,e===i?ar(t)?_r(t):In(t):t.match(e)||[]}var Oh=_o((function(t,e){try{return yn(t,i,e)}catch(n){return yl(n)?n:new Rt(n)}})),Sh=Ra((function(t,e){return _n(e,(function(e){e=Ds(e),pi(t,e,Au(t[e],t))})),t}));function kh(t){var e=null==t?0:t.length,n=Ua();return t=e?Pn(t,(function(t){if("function"!=typeof t[1])throw new oe(c);return[n(t[0]),t[1]]})):[],_o((function(n){var r=-1;while(++r$)return[];var n=N,r=ze(t,N);e=Ua(e),t-=N;var i=Gn(r,e);while(++n0||e<0)?new Pr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(e=Yl(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Pr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Pr.prototype.toArray=function(){return this.take(N)},Di(Pr.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=xr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(xr.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof Pr,u=s[0],l=c||cl(e),f=function(t){var e=o.apply(xr,Tn([t],s));return r&&h?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,v=c&&!d;if(!a&&l){e=v?e:new Pr(this);var g=t.apply(e,s);return g.__actions__.push({func:qc,args:[f],thisArg:i}),new Cr(g,h)}return p&&v?t.apply(this,s):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),_n(["pop","push","shift","sort","splice","unshift"],(function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);xr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(cl(i)?i:[],t)}return this[n]((function(n){return e.apply(cl(n)?n:[],t)}))}})),Di(Pr.prototype,(function(t,e){var n=xr[e];if(n){var r=n.name+"";fe.call(un,r)||(un[r]=[]),un[r].push({name:e,func:n})}})),un[ya(i,y).name]=[{name:"wrapper",func:i}],Pr.prototype.clone=Tr,Pr.prototype.reverse=jr,Pr.prototype.value=Er,xr.prototype.at=Yc,xr.prototype.chain=Kc,xr.prototype.commit=Xc,xr.prototype.next=Zc,xr.prototype.plant=Qc,xr.prototype.reverse=tu,xr.prototype.toJSON=xr.prototype.valueOf=xr.prototype.value=eu,xr.prototype.first=xr.prototype.head,Pe&&(xr.prototype[Pe]=Jc),xr},Or=xr();sn._=Or,r=function(){return Or}.call(e,n,e,t),r===i||(t.exports=r)}.call(this)},7771:function(t,e,n){var r=n(5639),i=function(){return r.Date.now()};t.exports=i},4841:function(t,e,n){var r=n(7561),i=n(3218),o=n(3448),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function f(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?a:+t}t.exports=f},537:function(){window.MutationObserver||(window.MutationObserver=function(t){function e(t){this.i=[],this.m=t}function n(t){(function n(){var r=t.takeRecords();r.length&&t.m(r,t),t.h=setTimeout(n,e._period)})()}function r(e){var n,r={type:null,target:null,addedNodes:[],removedNodes:[],previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};for(n in e)r[n]!==t&&e[n]!==t&&(r[n]=e[n]);return r}function i(t,e){var n=u(t,e);return function(i){var o=i.length;if(e.a&&3===t.nodeType&&t.nodeValue!==n.a&&i.push(new r({type:"characterData",target:t,oldValue:n.a})),e.b&&n.b&&s(i,t,n.b,e.f),e.c||e.g)var a=c(i,t,n,e);(a||i.length!==o)&&(n=u(t,e))}}function o(t,e){return e.value}function a(t,e){return"style"!==e.name?e.value:t.style.cssText}function s(e,n,i,o){for(var a,s,c={},u=n.attributes,l=u.length;l--;)a=u[l],s=a.name,o&&o[s]===t||(v(n,a)!==i[s]&&e.push(r({type:"attributes",target:n,attributeName:s,oldValue:i[s],attributeNamespace:a.namespaceURI})),c[s]=!0);for(s in i)c[s]||e.push(r({target:n,type:"attributes",attributeName:s,oldValue:i[s]}))}function c(e,n,i,o){function a(t,n,i,a,u){var l,f,h,d=t.length-1;for(u=-~((d-u)/2);h=t.pop();)l=i[h.j],f=a[h.l],o.c&&u&&Math.abs(h.j-h.l)>=d&&(e.push(r({type:"childList",target:n,addedNodes:[l],removedNodes:[l],nextSibling:l.nextSibling,previousSibling:l.previousSibling})),u--),o.b&&f.b&&s(e,l,f.b,o.f),o.a&&3===l.nodeType&&l.nodeValue!==f.a&&e.push(r({type:"characterData",target:l,oldValue:f.a})),o.g&&c(l,f)}function c(n,i){for(var f,h,p,v,g,m=n.childNodes,b=i.c,y=m.length,w=b?b.length:0,_=0,x=0,O=0;x0&&(p(t,e),setTimeout((function(){v(t,e)}),n))}function f(t){return Math.max(Math.min(t,100),0)}function h(t){return Array.isArray(t)?t:[t]}function d(t){t=String(t);var e=t.split(".");return e.length>1?e[1].length:0}function p(t,e){t.classList&&!/\s/.test(e)?t.classList.add(e):t.className+=" "+e}function v(t,e){t.classList&&!/\s/.test(e)?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function g(t,e){return t.classList?t.classList.contains(e):new RegExp("\\b"+e+"\\b").test(t.className)}function m(t){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(t.compatMode||""),r=e?window.pageXOffset:n?t.documentElement.scrollLeft:t.body.scrollLeft,i=e?window.pageYOffset:n?t.documentElement.scrollTop:t.body.scrollTop;return{x:r,y:i}}function b(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function y(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}function w(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function _(t,e){return 100/(e-t)}function x(t,e,n){return 100*e/(t[n+1]-t[n])}function O(t,e){return x(t,t[0]<0?e+Math.abs(t[0]):e-t[0],0)}function S(t,e){return e*(t[1]-t[0])/100+t[0]}function k(t,e){var n=1;while(t>=e[n])n+=1;return n}function C(t,e,n){if(n>=t.slice(-1)[0])return 100;var r=k(n,t),i=t[r-1],o=t[r],a=e[r-1],s=e[r];return a+O([i,o],n)/_(a,s)}function P(t,e,n){if(n>=100)return t.slice(-1)[0];var r=k(n,e),i=t[r-1],o=t[r],a=e[r-1],s=e[r];return S([i,o],(n-a)*_(a,s))}function T(t,e,n,r){if(100===r)return r;var i=k(r,t),o=t[i-1],a=t[i];return n?r-o>(a-o)/2?a:o:e[i-1]?t[i-1]+s(r-t[i-1],e[i-1]):r}t.PipsMode=void 0,function(t){t["Range"]="range",t["Steps"]="steps",t["Positions"]="positions",t["Count"]="count",t["Values"]="values"}(t.PipsMode||(t.PipsMode={})),t.PipsType=void 0,function(t){t[t["None"]=-1]="None",t[t["NoValue"]=0]="NoValue",t[t["LargeValue"]=1]="LargeValue",t[t["SmallValue"]=2]="SmallValue"}(t.PipsType||(t.PipsType={}));var j=function(){function t(t,e,n){var r;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=e;var i=[];for(Object.keys(t).forEach((function(e){i.push([h(t[e]),e])})),i.sort((function(t,e){return t[0][0]-e[0][0]})),r=0;rthis.xPct[i+1])i++;else t===this.xPct[this.xPct.length-1]&&(i=this.xPct.length-2);n||t!==this.xPct[i+1]||i++,null===e&&(e=[]);var o=1,a=e[i],s=0,c=0,u=0,l=0;r=n?(t-this.xPct[i])/(this.xPct[i+1]-this.xPct[i]):(this.xPct[i+1]-t)/(this.xPct[i+1]-this.xPct[i]);while(a>0)s=this.xPct[i+1+l]-this.xPct[i+l],e[i+l]*o+100-100*r>100?(c=s*r,o=(a-100*r)/e[i+l],r=1):(c=e[i+l]*s/100*o,o=0),n?(u-=c,this.xPct.length+l>=1&&l--):(u+=c,this.xPct.length-l>=1&&l++),a=e[i+l]*o;return t+u},t.prototype.toStepping=function(t){return t=C(this.xVal,this.xPct,t),t},t.prototype.fromStepping=function(t){return P(this.xVal,this.xPct,t)},t.prototype.getStep=function(t){return t=T(this.xPct,this.xSteps,this.snap,t),t},t.prototype.getDefaultStep=function(t,e,n){var r=k(t,this.xPct);return(100===t||e&&t===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/n},t.prototype.getNearbySteps=function(t){var e=k(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},t.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(d);return Math.max.apply(null,t)},t.prototype.convert=function(t){return this.getStep(this.toStepping(t))},t.prototype.handleEntryPoint=function(t,e){var n;if(n="min"===t?0:"max"===t?100:parseFloat(t),!u(n)||!u(e[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(e[0]);var r=Number(e[1]);n?this.xSteps.push(!isNaN(r)&&r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},t.prototype.handleStepPoint=function(t,e){if(e)if(this.xVal[t]!==this.xVal[t+1]){this.xSteps[t]=x([this.xVal[t],this.xVal[t+1]],e,0)/_(this.xPct[t],this.xPct[t+1]);var n=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],r=Math.ceil(Number(n.toFixed(3))-1),i=this.xVal[t]+this.xNumSteps[t]*r;this.xHighestCompleteStep[t]=i}else this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t]},t}(),E={to:function(t){return void 0===t?"":t.toFixed(2)},from:Number},D={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},A={tooltips:".__tooltips",aria:".__aria"};function L(t,e){if(!u(e))throw new Error("noUiSlider: 'step' is not numeric.");t.singleStep=e}function I(t,e){if(!u(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");t.keyboardPageMultiplier=e}function M(t,e){if(!u(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");t.keyboardDefaultStep=e}function $(t,e){if("object"!==typeof e||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");if(e.min===e.max)throw new Error("noUiSlider: 'range' 'min' and 'max' cannot be equal.");t.spectrum=new j(e,t.snap||!1,t.singleStep)}function F(t,e){if(e=h(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=e.length,t.start=e}function R(t,e){if("boolean"!==typeof e)throw new Error("noUiSlider: 'snap' option must be a boolean.");t.snap=e}function N(t,e){if("boolean"!==typeof e)throw new Error("noUiSlider: 'animate' option must be a boolean.");t.animate=e}function B(t,e){if("number"!==typeof e)throw new Error("noUiSlider: 'animationDuration' option must be a number.");t.animationDuration=e}function z(t,e){var n,r=[!1];if("lower"===e?e=[!0,!1]:"upper"===e&&(e=[!1,!0]),!0===e||!1===e){for(n=1;n1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function G(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function q(t,e){if("string"!==typeof e)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=e.indexOf("tap")>=0,r=e.indexOf("drag")>=0,i=e.indexOf("fixed")>=0,o=e.indexOf("snap")>=0,a=e.indexOf("hover")>=0,s=e.indexOf("unconstrained")>=0;if(i){if(2!==t.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");H(t,t.start[1]-t.start[0])}if(s&&(t.margin||t.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");t.events={tap:n||o,drag:r,fixed:i,snap:o,hover:a,unconstrained:s}}function Y(t,e){if(!1!==e)if(!0===e||n(e)){t.tooltips=[];for(var r=0;r= 2) required for mode 'count'.");var n=e.values-1,r=100/n,i=[];while(n--)i[n]=n*r;return i.push(100),Z(i,e.stepped)}return e.mode===t.PipsMode.Positions?Z(e.values,e.stepped):e.mode===t.PipsMode.Values?e.stepped?e.values.map((function(t){return T.fromStepping(T.getStep(T.toStepping(t)))})):e.values:[]}function Z(t,e){return t.map((function(t){return T.fromStepping(e?T.getStep(t):t)}))}function J(e){function n(t,e){return Number((t+e).toFixed(7))}var r=X(e),i={},o=T.xVal[0],s=T.xVal[T.xVal.length-1],c=!1,u=!1,l=0;return r=a(r.slice().sort((function(t,e){return t-e}))),r[0]!==o&&(r.unshift(o),c=!0),r[r.length-1]!==s&&(r.push(s),u=!0),r.forEach((function(o,a){var s,f,h,d,p,v,g,m,b,y,w=o,_=r[a+1],x=e.mode===t.PipsMode.Steps;for(x&&(s=T.xNumSteps[a]),s||(s=_-w),void 0===_&&(_=w),s=Math.max(s,1e-7),f=w;f<=_;f=n(f,s)){for(d=T.toStepping(f),p=d-l,m=p/(e.density||1),b=Math.round(m),y=p/b,h=1;h<=b;h+=1)v=l+h*y,i[v.toFixed(5)]=[T.fromStepping(v),0];g=r.indexOf(f)>-1?t.PipsType.LargeValue:x?t.PipsType.SmallValue:t.PipsType.NoValue,!a&&c&&f!==_&&(g=0),f===_&&u||(i[d.toFixed(5)]=[f,g]),l=d}})),i}function Q(e,r,i){var o,a,s=M.createElement("div"),c=(o={},o[t.PipsType.None]="",o[t.PipsType.NoValue]=n.cssClasses.valueNormal,o[t.PipsType.LargeValue]=n.cssClasses.valueLarge,o[t.PipsType.SmallValue]=n.cssClasses.valueSub,o),u=(a={},a[t.PipsType.None]="",a[t.PipsType.NoValue]=n.cssClasses.markerNormal,a[t.PipsType.LargeValue]=n.cssClasses.markerLarge,a[t.PipsType.SmallValue]=n.cssClasses.markerSub,a),l=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],f=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function h(t,e){var r=e===n.cssClasses.value,i=r?l:f,o=r?c:u;return e+" "+i[n.ort]+" "+o[t]}function d(e,o,a){if(a=r?r(o,a):a,a!==t.PipsType.None){var c=N(s,!1);c.className=h(a,n.cssClasses.marker),c.style[n.style]=e+"%",a>t.PipsType.NoValue&&(c=N(s,!1),c.className=h(a,n.cssClasses.value),c.setAttribute("data-value",String(o)),c.style[n.style]=e+"%",c.innerHTML=String(i.to(o)))}}return p(s,n.cssClasses.pips),p(s,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(e).forEach((function(t){d(t,e[t][0],e[t][1])})),s}function tt(){x&&(r(x),x=null)}function nt(t){tt();var e=J(t),n=t.filter,r=t.format||{to:function(t){return String(Math.round(t))}};return x=P.appendChild(Q(e,n,r)),x}function rt(){var t=u.getBoundingClientRect(),e="offset"+["Width","Height"][n.ort];return 0===n.ort?t.width||u[e]:t.height||u[e]}function it(t,e,r,i){var o=function(o){var a=ot(o,i.pageOffset,i.target||e);return!!a&&(!(W()&&!i.doNotReject)&&(!(g(P,n.cssClasses.tap)&&!i.doNotReject)&&(!(t===S.start&&void 0!==a.buttons&&a.buttons>1)&&((!i.hover||!a.buttons)&&(C||a.preventDefault(),a.calcPoint=a.points[n.ort],void r(a,i))))))},a=[];return t.split(" ").forEach((function(t){e.addEventListener(t,o,!!C&&{passive:!0}),a.push([t,o])})),a}function ot(t,e,n){var r=0===t.type.indexOf("touch"),i=0===t.type.indexOf("mouse"),o=0===t.type.indexOf("pointer"),a=0,s=0;if(0===t.type.indexOf("MSPointer")&&(o=!0),"mousedown"===t.type&&!t.buttons&&!t.touches)return!1;if(r){var c=function(e){var r=e.target;return r===n||n.contains(r)||t.composed&&t.composedPath().shift()===n};if("touchstart"===t.type){var u=Array.prototype.filter.call(t.touches,c);if(u.length>1)return!1;a=u[0].pageX,s=u[0].pageY}else{var l=Array.prototype.find.call(t.changedTouches,c);if(!l)return!1;a=l.pageX,s=l.pageY}}return e=e||m(M),(i||o)&&(a=t.clientX+e.x,s=t.clientY+e.y),t.pageOffset=e,t.points=[a,s],t.cursor=i||o,t}function at(t){var e=t-c(u,n.ort),r=100*e/rt();return r=f(r),n.dir?100-r:r}function st(t){var e=100,n=!1;return d.forEach((function(r,i){if(!G(i)){var o=E[i],a=Math.abs(o-t),s=100===a&&100===e,c=ao;(c||u||s)&&(n=i,e=a)}})),n}function ct(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&<(t,e)}function ut(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return lt(t,e);var r=(n.dir?-1:1)*(t.calcPoint-e.startCalcPoint),i=100*r/e.baseSize;xt(r>0,i,e.locations,e.handleNumbers,e.connect)}function lt(t,e){e.handle&&(v(e.handle,n.cssClasses.active),L-=1),e.listeners.forEach((function(t){$.removeEventListener(t[0],t[1])})),0===L&&(v(P,n.cssClasses.drag),kt(),t.cursor&&(F.style.cursor="",F.removeEventListener("selectstart",o))),e.handleNumbers.forEach((function(t){yt("change",t),yt("set",t),yt("end",t)}))}function ft(t,e){if(!e.handleNumbers.some(G)){var r;if(1===e.handleNumbers.length){var i=d[e.handleNumbers[0]];r=i.children[0],L+=1,p(r,n.cssClasses.active)}t.stopPropagation();var a=[],s=it(S.move,$,ut,{target:t.target,handle:r,connect:e.connect,listeners:a,startCalcPoint:t.calcPoint,baseSize:rt(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:E.slice()}),c=it(S.end,$,lt,{target:t.target,handle:r,listeners:a,doNotReject:!0,handleNumbers:e.handleNumbers}),u=it("mouseout",$,ct,{target:t.target,handle:r,listeners:a,doNotReject:!0,handleNumbers:e.handleNumbers});a.push.apply(a,s.concat(c,u)),t.cursor&&(F.style.cursor=getComputedStyle(t.target).cursor,d.length>1&&p(P,n.cssClasses.drag),F.addEventListener("selectstart",o,!1)),e.handleNumbers.forEach((function(t){yt("start",t)}))}}function ht(t){t.stopPropagation();var e=at(t.calcPoint),r=st(e);!1!==r&&(n.events.snap||l(P,n.cssClasses.tap,n.animationDuration),Ct(r,e,!0,!0),kt(),yt("slide",r,!0),yt("update",r,!0),yt("change",r,!0),yt("set",r,!0),n.events.snap&&ft(t,{handleNumbers:[r]}))}function dt(t){var e=at(t.calcPoint),n=T.getStep(e),r=T.fromStepping(n);Object.keys(I).forEach((function(t){"hover"===t.split(".")[0]&&I[t].forEach((function(t){t.call(Rt,r)}))}))}function pt(t,e){if(W()||G(e))return!1;var r=["Left","Right"],i=["Down","Up"],o=["PageDown","PageUp"],a=["Home","End"];n.dir&&!n.ort?r.reverse():n.ort&&!n.dir&&(i.reverse(),o.reverse());var s,c=t.key.replace("Arrow",""),u=c===o[0],l=c===o[1],f=c===i[0]||c===r[0]||u,h=c===i[1]||c===r[1]||l,d=c===a[0],p=c===a[1];if(!f&&!h&&!d&&!p)return!0;if(t.preventDefault(),h||f){var v=n.keyboardPageMultiplier,g=f?0:1,m=It(e),b=m[g];if(null===b)return!1;!1===b&&(b=T.getDefaultStep(E[e],f,n.keyboardDefaultStep)),(l||u)&&(b*=v),b=Math.max(b,1e-7),b*=f?-1:1,s=j[e]+b}else s=p?n.spectrum.xVal[n.spectrum.xVal.length-1]:n.spectrum.xVal[0];return Ct(e,T.toStepping(s),!0,!0),yt("slide",e),yt("update",e),yt("change",e),yt("set",e),!1}function vt(t){t.fixed||d.forEach((function(t,e){it(S.start,t.children[0],ft,{handleNumbers:[e]})})),t.tap&&it(S.start,u,ht,{}),t.hover&&it(S.move,u,dt,{hover:!0}),t.drag&&_.forEach((function(e,r){if(!1!==e&&0!==r&&r!==_.length-1){var i=d[r-1],o=d[r],a=[e];p(e,n.cssClasses.draggable),t.fixed&&(a.push(i.children[0]),a.push(o.children[0])),a.forEach((function(t){it(S.start,t,ft,{handles:[i,o],handleNumbers:[r-1,r],connect:e})}))}}))}function gt(t,e){I[t]=I[t]||[],I[t].push(e),"update"===t.split(".")[0]&&d.forEach((function(t,e){yt("update",e)}))}function mt(t){return t===A.aria||t===A.tooltips}function bt(t){var e=t&&t.split(".")[0],n=e?t.substring(e.length):t;Object.keys(I).forEach((function(t){var r=t.split(".")[0],i=t.substring(r.length);e&&e!==r||n&&n!==i||mt(i)&&n!==i||delete I[t]}))}function yt(t,e,r){Object.keys(I).forEach((function(i){var o=i.split(".")[0];t===o&&I[i].forEach((function(t){t.call(Rt,j.map(n.format.to),e,j.slice(),r||!1,E.slice(),Rt)}))}))}function wt(t,e,r,i,o,a){var s;return d.length>1&&!n.events.unconstrained&&(i&&e>0&&(s=T.getAbsoluteDistance(t[e-1],n.margin,!1),r=Math.max(r,s)),o&&e1&&n.limit&&(i&&e>0&&(s=T.getAbsoluteDistance(t[e-1],n.limit,!1),r=Math.min(r,s)),o&&e1?r.forEach((function(t,n){var r=wt(o,t,o[t]+e,s[n],c[n],!1);!1===r?e=0:(e=r-o[t],o[t]=r)})):s=c=[!0];var u=!1;r.forEach((function(t,r){u=Ct(t,n[t]+e,s[r],c[r])||u})),u&&(r.forEach((function(t){yt("update",t),yt("slide",t)})),void 0!=i&&yt("drag",a))}function Ot(t,e){return n.dir?100-t-e:t}function St(t,e){E[t]=e,j[t]=T.fromStepping(e);var r=10*(Ot(e,0)-R),i="translate("+_t(r+"%","0")+")";d[t].style[n.transformRule]=i,Pt(t),Pt(t+1)}function kt(){D.forEach((function(t){var e=E[t]>50?-1:1,n=3+(d.length+e*t);d[t].style.zIndex=String(n)}))}function Ct(t,e,n,r,i){return i||(e=wt(E,t,e,n,r,!1)),!1!==e&&(St(t,e),!0)}function Pt(t){if(_[t]){var e=0,r=100;0!==t&&(e=E[t-1]),t!==_.length-1&&(r=E[t]);var i=r-e,o="translate("+_t(Ot(e,i)+"%","0")+")",a="scale("+_t(i/100,"1")+")";_[t].style[n.transformRule]=o+" "+a}}function Tt(t,e){return null===t||!1===t||void 0===t?E[e]:("number"===typeof t&&(t=String(t)),t=n.format.from(t),!1!==t&&(t=T.toStepping(t)),!1===t||isNaN(t)?E[e]:t)}function jt(t,e,r){var i=h(t),o=void 0===E[0];e=void 0===e||e,n.animate&&!o&&l(P,n.cssClasses.tap,n.animationDuration),D.forEach((function(t){Ct(t,Tt(i[t],t),!0,!1,r)}));for(var a=1===D.length?0:1;a=0&&tr.stepAfter.startValue&&(o=r.stepAfter.startValue-i),a=i>r.thisStep.startValue?r.thisStep.step:!1!==r.stepBefore.step&&i-r.stepBefore.highestStep,100===e?o=null:0===e&&(a=null);var s=T.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,o]}function Mt(){return D.map(It)}function $t(t,e){var r=At(),o=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];o.forEach((function(e){void 0!==t[e]&&(s[e]=t[e])}));var a=et(s);o.forEach((function(e){void 0!==t[e]&&(n[e]=a[e])})),T=a.spectrum,n.margin=a.margin,n.limit=a.limit,n.padding=a.padding,n.pips?nt(n.pips):tt(),n.tooltips?Y():q(),E=[],jt(i(t.start)?t.start:r,e)}function Ft(){u=H(P),V(n.connect,u),vt(n.events),jt(n.start),n.pips&&nt(n.pips),n.tooltips&&Y(),K()}Ft();var Rt={destroy:Lt,steps:Mt,on:gt,off:bt,get:At,set:jt,setHandle:Dt,reset:Et,__moveHandles:function(t,e,n){xt(t,e,E,n)},options:s,updateOptions:$t,target:P,removePips:tt,removeTooltips:q,getTooltips:function(){return O},getOrigins:function(){return d},pips:nt};return Rt}function rt(t,e){if(!t||!t.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=et(e),r=nt(t,n,e);return t.noUiSlider=r,r}var it={__spectrum:j,cssClasses:D,create:rt};t.create=rt,t.cssClasses=D,t.default=it,Object.defineProperty(t,"__esModule",{value:!0})}))},2433:function(t,e,n){"use strict";function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var i=r(n(144));function o(t){return o="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},o(t)}function a(t){return s(t)||c(t)||u()}function s(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"===typeof r?r(e):n.passengers;return t.concat(i)}),[])}function d(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var v={},g={},m={},b=i.extend({data:function(){return{transports:v,targets:g,sources:m,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,r=t.passengers,o=t.order,a=void 0===o?1/0:o;if(e&&n&&r){var s={to:e,from:n,passengers:f(r),order:a},c=Object.keys(this.transports);-1===c.indexOf(e)&&i.set(this.transports,e,[]);var u=this.$_getTransportIndex(s),h=this.transports[e].slice(0);-1===u?h.push(s):h[u]=s,this.transports[e]=d(h,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){l&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),y=new b(v),w=1,_=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(w++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){y.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){y.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};y.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};y.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),x=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:y.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){y.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){y.unregisterTarget(e),y.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){y.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return h(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),O=0,S=["disabled","name","order","slim","slotProps","tag","to"],k=["multiple","transition"],C=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(O++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(y.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=y.targets[e.name];else{var n=e.append;if(n){var r="string"===typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=p(this.$props,k);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new x({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,S);return t(_,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",_),t.component(e.portalTargetName||"PortalTarget",x),t.component(e.MountingPortalName||"MountingPortal",C)}var T={install:P};e.h_=_,e.YC=x,e.Df=y},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(L){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),s=new E(r||[]);return i(a,"_invoke",{value:C(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",v="completed",g={};function m(){}function b(){}function y(){}var w={};u(w,a,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(D([])));x&&x!==n&&r.call(x,a)&&(w=x);var O=y.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(i,o,a,s){var c=f(t[i],t,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;function a(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}i(this,"_invoke",{value:a})}function C(t,e,n){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return A()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=f(t,e,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}function P(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,P(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;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,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(t){if(t){var n=t[a];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){while(++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),g}},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;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},4023:function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=60)}([function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}))).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i0?(0,o.default)(t.hex):t&&t.hsv?(0,o.default)(t.hsv):t&&t.rgba?(0,o.default)(t.rgba):t&&t.rgb?(0,o.default)(t.rgb):(0,o.default)(t))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1);var i=n.toHsl(),a=n.toHsv();return 0===i.s&&(a.h=i.h=t.h||t.hsl&&t.hsl.h||e||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:a,oldHue:t.h||e||i.h,source:t.source,a:t.a||n.getAlpha()}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(65),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={props:["value"],data:function(){return{val:r(this.value)}},computed:{colors:{get:function(){return this.val},set:function(t){this.val=t,this.$emit("input",t)}}},watch:{value:function(t){this.val=r(t)}},methods:{colorChange:function(t,e){this.oldHue=this.colors.hsl.h,this.colors=r(t,e||this.oldHue)},isValidHex:function(t){return(0,o.default)(t).isValid()},simpleCheckForValidColor:function(t){for(var e=["r","g","b","a","h","s","l","v"],n=0,r=0,i=0;i0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports={}},function(t,e,n){var r=n(46),i=n(30);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(29)("keys"),i=n(19);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(15),i=n(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(8).f,i=n(6),o=n(11)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){e.f=n(11)},function(t,e,n){var r=n(4),i=n(15),o=n(14),a=n(32),s=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(5),s=r(a),c=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];e.default={name:"Compact",mixins:[o.default],props:{palette:{type:Array,default:function(){return c}}},components:{"ed-in":s.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(t){this.colorChange({hex:t,source:"hex"})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(t){if(!(void 0!==this.max&&+t>this.max))return t;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(t){this.handleChange(t.target.value)},handleChange:function(t){var e={};e[this.label]=t,(void 0===e.hex&&void 0===e["#"]||t.length>5)&&this.$emit("change",e)},handleKeyDown:function(t){var e=this.val,n=Number(e);if(n){var r=this.arrowOffset||1;38===t.keyCode&&(e=n+r,this.handleChange(e),t.preventDefault()),40===t.keyCode&&(e=n-r,this.handleChange(e),t.preventDefault())}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=function(t){return t&&t.__esModule?t:{default:t}}(r),o=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];e.default={name:"Grayscale",mixins:[i.default],props:{palette:{type:Array,default:function(){return o}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(t){this.colorChange({hex:t,source:"hex"})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),o=r(i),a=n(3),s=r(a);e.default={name:"Material",mixins:[s.default],components:{"ed-in":o.default},methods:{onChange:function(t){t&&(t.hex?this.isValidHex(t.hex)&&this.colorChange({hex:t.hex,source:"hex"}):(t.r||t.g||t.b)&&this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"}))}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(81),o=r(i),a=n(3),s=r(a),c=n(13),u=r(c);e.default={name:"Slider",mixins:[s.default],props:{swatches:{type:Array,default:function(){return[{s:.5,l:.8},{s:.5,l:.65},{s:.5,l:.5},{s:.5,l:.35},{s:.5,l:.2}]}}},components:{hue:u.default},computed:{normalizedSwatches:function(){return this.swatches.map((function(t){return"object"!==(void 0===t?"undefined":(0,o.default)(t))?{s:.5,l:t}:t}))}},methods:{isActive:function(t,e){var n=this.colors.hsl;return 1===n.l&&1===t.l||0===n.l&&0===t.l||Math.abs(n.l-t.l)<.01&&Math.abs(n.s-t.s)<.01},hueChange:function(t){this.colorChange(t)},handleSwClick:function(t,e){this.colorChange({h:this.colors.hsl.h,s:e.s,l:e.l,source:"hsl"})}}}},function(t,e,n){"use strict";var r=n(14),i=n(41),o=n(44),a=n(7),s=n(26),c=n(88),u=n(31),l=n(95),f=n(11)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,v,g,m){c(n,e,p);var b,y,w,_=function(t){if(!h&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",O="values"==v,S=!1,k=t.prototype,C=k[f]||k["@@iterator"]||v&&k[v],P=C||_(v),T=v?O?_("entries"):P:void 0,j="Array"==e&&k.entries||C;if(j&&(w=l(j.call(new t)))!==Object.prototype&&w.next&&(u(w,x,!0),r||"function"==typeof w[f]||a(w,f,d)),O&&C&&"values"!==C.name&&(S=!0,P=function(){return C.call(this)}),r&&!m||!h&&!S&&k[f]||a(k,f,P),s[e]=P,s[x]=d,v)if(b={values:O?P:_("values"),keys:g?P:_("keys"),entries:T},m)for(y in b)y in k||o(k,y,b[y]);else i(i.P+i.F*(h||S),e,b);return b}},function(t,e,n){var r=n(4),i=n(15),o=n(86),a=n(7),s=n(6),c=function(t,e,n){var u,l,f,h=t&c.F,d=t&c.G,p=t&c.S,v=t&c.P,g=t&c.B,m=t&c.W,b=d?i:i[e]||(i[e]={}),y=b.prototype,w=d?r:p?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!h&&w&&void 0!==w[u])&&s(b,u)||(f=l?w[u]:n[u],b[u]=d&&"function"!=typeof w[u]?n[u]:g&&l?o(f,r):m&&w[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[u]=f,t&c.R&&y&&!y[u]&&a(y,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(9)&&!n(17)((function(){return 7!=Object.defineProperty(n(43)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(12),i=n(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(16),i=n(89),o=n(30),a=n(28)("IE_PROTO"),s=function(){},c=function(){var t,e=n(43)("iframe"),r=o.length;for(e.style.display="none",n(94).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("