var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),i=e.split(",");for(let e=0;e<i.length;e++)n[i[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),i=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){return!!e||""===e}function r(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=P(i)?l(i):r(i);if(s)for(const e in s)t[e]=s[e]}return t}return P(e)||D(e)?e:void 0}const o=/;(?![^(]*\))/g,a=/:(.+)/;function l(e){const t={};return e.split(o).forEach((e=>{if(e){const n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(P(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){const i=c(e[n]);i&&(t+=i+" ")}else if(D(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const u=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),h=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),d=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function f(e,t){if(e===t)return!0;let n=M(e),i=M(t);if(n||i)return!(!n||!i)&&e.getTime()===t.getTime();if(n=k(e),i=k(t),n||i)return!(!n||!i)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=f(e[i],t[i]);return n}(e,t);if(n=D(e),i=D(t),n||i){if(!n||!i)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const i=e.hasOwnProperty(n),s=t.hasOwnProperty(n);if(i&&!s||!i&&s||!f(e[n],t[n]))return!1}}return String(e)===String(t)}function p(e,t){return e.findIndex((e=>f(e,t)))}const g=(e,t)=>t&&t.__v_isRef?g(e,t.value):O(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:A(t)?{[`Set(${t.size})`]:[...t.values()]}:!D(t)||k(t)||z(t)?t:String(t),m={},v=[],y=()=>{},_=()=>!1,b=/^on[^a-z]/,w=e=>b.test(e),x=e=>e.startsWith("onUpdate:"),S=Object.assign,T=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,C=(e,t)=>E.call(e,t),k=Array.isArray,O=e=>"[object Map]"===R(e),A=e=>"[object Set]"===R(e),M=e=>e instanceof Date,L=e=>"function"==typeof e,P=e=>"string"==typeof e,N=e=>"symbol"==typeof e,D=e=>null!==e&&"object"==typeof e,I=e=>D(e)&&L(e.then)&&L(e.catch),B=Object.prototype.toString,R=e=>B.call(e),z=e=>"[object Object]"===R(e),F=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),H=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},V=/-(\w)/g,W=H((e=>e.replace(V,((e,t)=>t?t.toUpperCase():"")))),q=/\B([A-Z])/g,Y=H((e=>e.replace(q,"-$1").toLowerCase())),X=H((e=>e.charAt(0).toUpperCase()+e.slice(1))),U=H((e=>e?`on${X(e)}`:"")),K=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let J,ee;class te{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&ee&&(this.parent=ee,this.index=(ee.scopes||(ee.scopes=[])).push(this)-1)}run(e){if(this.active)try{return ee=this,e()}finally{ee=this.parent}}on(){ee=this}off(){ee=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function ne(e,t=ee){t&&t.active&&t.effects.push(e)}const ie=e=>{const t=new Set(e);return t.w=0,t.n=0,t},se=e=>(e.w&ce)>0,re=e=>(e.n&ce)>0,oe=new WeakMap;let ae,le=0,ce=1;const ue=Symbol(""),he=Symbol("");class de{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,ne(this,n)}run(){if(!this.active)return this.fn();let e=ae,t=pe;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ae,ae=this,pe=!0,ce=1<<++le,le<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ce})(this):fe(this),this.fn()}finally{le<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i<t.length;i++){const s=t[i];se(s)&&!re(s)?s.delete(e):t[n++]=s,s.w&=~ce,s.n&=~ce}t.length=n}})(this),ce=1<<--le,ae=this.parent,pe=t,this.parent=void 0}}stop(){this.active&&(fe(this),this.onStop&&this.onStop(),this.active=!1)}}function fe(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let pe=!0;const ge=[];function me(){ge.push(pe),pe=!1}function ve(){const e=ge.pop();pe=void 0===e||e}function ye(e,t,n){if(pe&&ae){let t=oe.get(e);t||oe.set(e,t=new Map);let i=t.get(n);i||t.set(n,i=ie()),_e(i)}}function _e(e,t){let n=!1;le<=30?re(e)||(e.n|=ce,n=!se(e)):n=!e.has(ae),n&&(e.add(ae),ae.deps.push(e))}function be(e,t,n,i,s,r){const o=oe.get(e);if(!o)return;let a=[];if("clear"===t)a=[...o.values()];else if("length"===n&&k(e))o.forEach(((e,t)=>{("length"===t||t>=i)&&a.push(e)}));else switch(void 0!==n&&a.push(o.get(n)),t){case"add":k(e)?F(n)&&a.push(o.get("length")):(a.push(o.get(ue)),O(e)&&a.push(o.get(he)));break;case"delete":k(e)||(a.push(o.get(ue)),O(e)&&a.push(o.get(he)));break;case"set":O(e)&&a.push(o.get(ue))}if(1===a.length)a[0]&&we(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);we(ie(e))}}function we(e,t){for(const t of k(e)?e:[...e])(t!==ae||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const xe=t("__proto__,__v_isRef,__isVue"),Se=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(N)),Te=Ae(),Ee=Ae(!1,!0),Ce=Ae(!0),ke=Ae(!0,!0),Oe=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=pt(this);for(let e=0,t=this.length;e<t;e++)ye(n,0,e+"");const i=n[t](...e);return-1===i||!1===i?n[t](...e.map(pt)):i}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){me();const n=pt(this)[t].apply(this,e);return ve(),n}})),e}();function Ae(e=!1,t=!1){return function(n,i,s){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_isShallow"===i)return t;if("__v_raw"===i&&s===(e?t?rt:st:t?it:nt).get(n))return n;const r=k(n);if(!e&&r&&C(Oe,i))return Reflect.get(Oe,i,s);const o=Reflect.get(n,i,s);return(N(i)?Se.has(i):xe(i))?o:(e||ye(n,0,i),t?o:bt(o)?r&&F(i)?o:o.value:D(o)?e?lt(o):ot(o):o)}}function Me(e=!1){return function(t,n,i,s){let r=t[n];if(ht(r)&&bt(r)&&!bt(i))return!1;if(!e&&!ht(i)&&(dt(i)||(i=pt(i),r=pt(r)),!k(t)&&bt(r)&&!bt(i)))return r.value=i,!0;const o=k(t)&&F(n)?Number(n)<t.length:C(t,n),a=Reflect.set(t,n,i,s);return t===pt(s)&&(o?K(i,r)&&be(t,"set",n,i):be(t,"add",n,i)),a}}const Le={get:Te,set:Me(),deleteProperty:function(e,t){const n=C(e,t),i=Reflect.deleteProperty(e,t);return i&&n&&be(e,"delete",t,void 0),i},has:function(e,t){const n=Reflect.has(e,t);return N(t)&&Se.has(t)||ye(e,0,t),n},ownKeys:function(e){return ye(e,0,k(e)?"length":ue),Reflect.ownKeys(e)}},Pe={get:Ce,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ne=S({},Le,{get:Ee,set:Me(!0)}),De=S({},Pe,{get:ke}),Ie=e=>e,Be=e=>Reflect.getPrototypeOf(e);function Re(e,t,n=!1,i=!1){const s=pt(e=e.__v_raw),r=pt(t);t!==r&&!n&&ye(s,0,t),!n&&ye(s,0,r);const{has:o}=Be(s),a=i?Ie:n?vt:mt;return o.call(s,t)?a(e.get(t)):o.call(s,r)?a(e.get(r)):void(e!==s&&e.get(t))}function ze(e,t=!1){const n=this.__v_raw,i=pt(n),s=pt(e);return e!==s&&!t&&ye(i,0,e),!t&&ye(i,0,s),e===s?n.has(e):n.has(e)||n.has(s)}function Fe(e,t=!1){return e=e.__v_raw,!t&&ye(pt(e),0,ue),Reflect.get(e,"size",e)}function je(e){e=pt(e);const t=pt(this);return Be(t).has.call(t,e)||(t.add(e),be(t,"add",e,e)),this}function $e(e,t){t=pt(t);const n=pt(this),{has:i,get:s}=Be(n);let r=i.call(n,e);r||(e=pt(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?K(t,o)&&be(n,"set",e,t):be(n,"add",e,t),this}function He(e){const t=pt(this),{has:n,get:i}=Be(t);let s=n.call(t,e);s||(e=pt(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&be(t,"delete",e,void 0),r}function Ve(){const e=pt(this),t=0!==e.size,n=e.clear();return t&&be(e,"clear",void 0,void 0),n}function We(e,t){return function(n,i){const s=this,r=s.__v_raw,o=pt(r),a=t?Ie:e?vt:mt;return!e&&ye(o,0,ue),r.forEach(((e,t)=>n.call(i,a(e),a(t),s)))}}function qe(e,t,n){return function(...i){const s=this.__v_raw,r=pt(s),o=O(r),a="entries"===e||e===Symbol.iterator&&o,l="keys"===e&&o,c=s[e](...i),u=n?Ie:t?vt:mt;return!t&&ye(r,0,l?he:ue),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return"delete"!==e&&this}}const[Xe,Ue,Ke,Ge]=function(){const e={get(e){return Re(this,e)},get size(){return Fe(this)},has:ze,add:je,set:$e,delete:He,clear:Ve,forEach:We(!1,!1)},t={get(e){return Re(this,e,!1,!0)},get size(){return Fe(this)},has:ze,add:je,set:$e,delete:He,clear:Ve,forEach:We(!1,!0)},n={get(e){return Re(this,e,!0)},get size(){return Fe(this,!0)},has(e){return ze.call(this,e,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:We(!0,!1)},i={get(e){return Re(this,e,!0,!0)},get size(){return Fe(this,!0)},has(e){return ze.call(this,e,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:We(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((s=>{e[s]=qe(s,!1,!1),n[s]=qe(s,!0,!1),t[s]=qe(s,!1,!0),i[s]=qe(s,!0,!0)})),[e,n,t,i]}();function Qe(e,t){const n=t?e?Ge:Ke:e?Ue:Xe;return(t,i,s)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(C(n,i)&&i in t?n:t,i,s)}const Ze={get:Qe(!1,!1)},Je={get:Qe(!1,!0)},et={get:Qe(!0,!1)},tt={get:Qe(!0,!0)},nt=new WeakMap,it=new WeakMap,st=new WeakMap,rt=new WeakMap;function ot(e){return ht(e)?e:ct(e,!1,Le,Ze,nt)}function at(e){return ct(e,!1,Ne,Je,it)}function lt(e){return ct(e,!0,Pe,et,st)}function ct(e,t,n,i,s){if(!D(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}(e);if(0===o)return e;const a=new Proxy(e,2===o?i:n);return s.set(e,a),a}function ut(e){return ht(e)?ut(e.__v_raw):!(!e||!e.__v_isReactive)}function ht(e){return!(!e||!e.__v_isReadonly)}function dt(e){return!(!e||!e.__v_isShallow)}function ft(e){return ut(e)||ht(e)}function pt(e){const t=e&&e.__v_raw;return t?pt(t):e}function gt(e){return Q(e,"__v_skip",!0),e}const mt=e=>D(e)?ot(e):e,vt=e=>D(e)?lt(e):e;function yt(e){pe&&ae&&_e((e=pt(e)).dep||(e.dep=ie()))}function _t(e,t){(e=pt(e)).dep&&we(e.dep)}function bt(e){return!(!e||!0!==e.__v_isRef)}function wt(e){return xt(e,!1)}function xt(e,t){return bt(e)?e:new St(e,t)}class St{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:pt(e),this._value=t?e:mt(e)}get value(){return yt(this),this._value}set value(e){e=this.__v_isShallow?e:pt(e),K(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:mt(e),_t(this))}}function Tt(e){return bt(e)?e.value:e}const Et={get:(e,t,n)=>Tt(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return bt(s)&&!bt(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function Ct(e){return ut(e)?e:new Proxy(e,Et)}class kt{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>yt(this)),(()=>_t(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class Ot{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function At(e,t,n){const i=e[t];return bt(i)?i:new Ot(e,t,n)}class Mt{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new de(e,(()=>{this._dirty||(this._dirty=!0,_t(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=pt(this);return yt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}const Lt=[];function Pt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Nt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Nt(e,t,n){return P(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:bt(t)?(t=Nt(e,pt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=pt(t),n?t:[`${e}=`,t])}function Dt(e,t,n,i){let s;try{s=i?e(...i):e()}catch(e){Bt(e,t,n)}return s}function It(e,t,n,i){if(L(e)){const s=Dt(e,t,n,i);return s&&I(s)&&s.catch((e=>{Bt(e,t,n)})),s}const s=[];for(let r=0;r<e.length;r++)s.push(It(e[r],t,n,i));return s}function Bt(e,t,n,i=!0){if(t){let i=t.parent;const s=t.proxy,r=n;for(;i;){const t=i.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,s,r))return;i=i.parent}const o=t.appContext.config.errorHandler;if(o)return void Dt(o,null,10,[e,s,r])}!function(e,t,n,i=!0){console.error(e)}(e,0,0,i)}let Rt=!1,zt=!1;const Ft=[];let jt=0;const $t=[];let Ht=null,Vt=0;const Wt=[];let qt=null,Yt=0;const Xt=Promise.resolve();let Ut=null,Kt=null;function Gt(e){const t=Ut||Xt;return e?t.then(this?e.bind(this):e):t}function Qt(e){Ft.length&&Ft.includes(e,Rt&&e.allowRecurse?jt+1:jt)||e===Kt||(null==e.id?Ft.push(e):Ft.splice(function(e){let t=jt+1,n=Ft.length;for(;t<n;){const i=t+n>>>1;sn(Ft[i])<e?t=i+1:n=i}return t}(e.id),0,e),Zt())}function Zt(){Rt||zt||(zt=!0,Ut=Xt.then(rn))}function Jt(e,t,n,i){k(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?i+1:i)||n.push(e),Zt()}function en(e){Jt(e,qt,Wt,Yt)}function tn(e,t=null){if($t.length){for(Kt=t,Ht=[...new Set($t)],$t.length=0,Vt=0;Vt<Ht.length;Vt++)Ht[Vt]();Ht=null,Vt=0,Kt=null,tn(e,t)}}function nn(e){if(Wt.length){const e=[...new Set(Wt)];if(Wt.length=0,qt)return void qt.push(...e);for(qt=e,qt.sort(((e,t)=>sn(e)-sn(t))),Yt=0;Yt<qt.length;Yt++)qt[Yt]();qt=null,Yt=0}}const sn=e=>null==e.id?1/0:e.id;function rn(e){zt=!1,Rt=!0,tn(e),Ft.sort(((e,t)=>sn(e)-sn(t)));try{for(jt=0;jt<Ft.length;jt++){const e=Ft[jt];e&&!1!==e.active&&Dt(e,null,14)}}finally{jt=0,Ft.length=0,nn(),Rt=!1,Ut=null,(Ft.length||$t.length||Wt.length)&&rn(e)}}let on=[];function an(e,t,...n){const i=e.vnode.props||m;let s=n;const r=t.startsWith("update:"),o=r&&t.slice(7);if(o&&o in i){const e=`${"modelValue"===o?"model":o}Modifiers`,{number:t,trim:r}=i[e]||m;r?s=n.map((e=>e.trim())):t&&(s=n.map(Z))}let a,l=i[a=U(t)]||i[a=U(W(t))];!l&&r&&(l=i[a=U(Y(t))]),l&&It(l,e,6,s);const c=i[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,It(c,e,6,s)}}function ln(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(void 0!==s)return s;const r=e.emits;let o={},a=!1;if(!L(e)){const i=e=>{const n=ln(e,t,!0);n&&(a=!0,S(o,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return r||a?(k(r)?r.forEach((e=>o[e]=null)):S(o,r),i.set(e,o),o):(i.set(e,null),null)}function cn(e,t){return!(!e||!w(t))&&(t=t.slice(2).replace(/Once$/,""),C(e,t[0].toLowerCase()+t.slice(1))||C(e,Y(t))||C(e,t))}let un=null,hn=null;function dn(e){const t=un;return un=e,hn=e&&e.type.__scopeId||null,t}function fn(e,t=un,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&ps(-1);const s=dn(t),r=e(...n);return dn(s),i._d&&ps(1),r};return i._n=!0,i._c=!0,i._d=!0,i}function pn(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:d,setupState:f,ctx:p,inheritAttrs:g}=e;let m,v;const y=dn(e);try{if(4&n.shapeFlag){const e=s||i;m=ks(u.call(e,e,h,r,f,d,p)),v=l}else{m=ks(t(r,t.length>1?{attrs:l,slots:a,emit:c}:null)),v=t.props?l:gn(l)}}catch(t){cs.length=0,Bt(t,e,1),m=Ss(as)}let _=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=_;e.length&&7&t&&(o&&e.some(x)&&(v=mn(v,o)),_=Es(_,v))}return n.dirs&&(_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,dn(y),m}const gn=e=>{let t;for(const n in e)("class"===n||"style"===n||w(n))&&((t||(t={}))[n]=e[n]);return t},mn=(e,t)=>{const n={};for(const i in e)x(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function vn(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(t[r]!==e[r]&&!cn(n,r))return!0}return!1}function yn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const _n={name:"Suspense",__isSuspense:!0,process(e,t,n,i,s,r,o,a,l,c){null==e?function(e,t,n,i,s,r,o,a,l){const{p:c,o:{createElement:u}}=l,h=u("div"),d=e.suspense=wn(e,s,i,t,h,n,r,o,a,l);c(null,d.pendingBranch=e.ssContent,h,null,i,d,r,o),d.deps>0?(bn(e,"onPending"),bn(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,r,o),Tn(d,e.ssFallback)):d.resolve()}(t,n,i,s,r,o,a,l,c):function(e,t,n,i,s,r,o,a,{p:l,um:c,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,f=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:m,isHydrating:v}=h;if(g)h.pendingBranch=d,ys(d,g)?(l(g,d,h.hiddenContainer,null,s,h,r,o,a),h.deps<=0?h.resolve():m&&(l(p,f,n,i,s,null,r,o,a),Tn(h,f))):(h.pendingId++,v?(h.isHydrating=!1,h.activeBranch=g):c(g,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),m?(l(null,d,h.hiddenContainer,null,s,h,r,o,a),h.deps<=0?h.resolve():(l(p,f,n,i,s,null,r,o,a),Tn(h,f))):p&&ys(d,p)?(l(p,d,n,i,s,h,r,o,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,s,h,r,o,a),h.deps<=0&&h.resolve()));else if(p&&ys(d,p))l(p,d,n,i,s,h,r,o,a),Tn(h,d);else if(bn(t,"onPending"),h.pendingBranch=d,h.pendingId++,l(null,d,h.hiddenContainer,null,s,h,r,o,a),h.deps<=0)h.resolve();else{const{timeout:e,pendingId:t}=h;e>0?setTimeout((()=>{h.pendingId===t&&h.fallback(f)}),e):0===e&&h.fallback(f)}}(e,t,n,i,s,o,a,l,c)},hydrate:function(e,t,n,i,s,r,o,a,l){const c=t.suspense=wn(t,i,n,e.parentNode,document.createElement("div"),null,s,r,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,r,o);return 0===c.deps&&c.resolve(),u},create:wn,normalize:function(e){const{shapeFlag:t,children:n}=e,i=32&t;e.ssContent=xn(i?n.default:n),e.ssFallback=i?xn(n.fallback):Ss(as)}};function bn(e,t){const n=e.props&&e.props[t];L(n)&&n()}function wn(e,t,n,i,s,r,o,a,l,c,u=!1){const{p:h,m:d,um:f,n:p,o:{parentNode:g,remove:m}}=c,v=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:o,container:i,hiddenContainer:s,anchor:r,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:i,pendingId:s,effects:r,parentComponent:o,container:a}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&i.transition&&"out-in"===i.transition.mode;e&&(n.transition.afterLeave=()=>{s===y.pendingId&&d(i,a,t,0)});let{anchor:t}=y;n&&(t=p(n),f(n,o,y,!0)),e||d(i,a,t,0)}Tn(y,i),y.pendingBranch=null,y.isInFallback=!1;let l=y.parent,c=!1;for(;l;){if(l.pendingBranch){l.effects.push(...r),c=!0;break}l=l.parent}c||en(r),y.effects=[],bn(t,"onResolve")},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:i,container:s,isSVG:r}=y;bn(t,"onFallback");const o=p(n),c=()=>{y.isInFallback&&(h(null,e,s,o,i,null,r,a,l),Tn(y,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),y.isInFallback=!0,f(n,i,null,!0),u||c()},move(e,t,n){y.activeBranch&&d(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&p(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const i=e.vnode.el;e.asyncDep.catch((t=>{Bt(t,e,0)})).then((s=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:r}=e;Xs(e,s,!1),i&&(r.el=i);const a=!i&&e.subTree.el;t(e,r,g(i||e.subTree.el),i?null:p(e.subTree),y,o,l),a&&m(a),yn(e,r.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&f(y.activeBranch,n,e,t),y.pendingBranch&&f(y.pendingBranch,n,e,t)}};return y}function xn(e){let t;if(L(e)){const n=fs&&e._c;n&&(e._d=!1,hs()),e=e(),n&&(e._d=!0,t=us,ds())}if(k(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const i=e[n];if(!vs(i))return;if(i.type!==as||"v-if"===i.children){if(t)return;t=i}}return t}(e);e=t}return e=ks(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Sn(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):en(e)}function Tn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e,s=n.el=t.el;i&&i.subTree===n&&(i.vnode.el=s,yn(i,s))}function En(e,t){if(Fs){let n=Fs.provides;const i=Fs.parent&&Fs.parent.provides;i===n&&(n=Fs.provides=Object.create(i)),n[e]=t}}function Cn(e,t,n=!1){const i=Fs||un;if(i){const s=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&L(t)?t.call(i.proxy):t}}function kn(e,t){return Mn(e,null,{flush:"post"})}const On={};function An(e,t,n){return Mn(e,t,n)}function Mn(e,t,{immediate:n,deep:i,flush:s}=m){const r=Fs;let o,a,l=!1,c=!1;if(bt(e)?(o=()=>e.value,l=dt(e)):ut(e)?(o=()=>e,i=!0):k(e)?(c=!0,l=e.some(ut),o=()=>e.map((e=>bt(e)?e.value:ut(e)?Nn(e):L(e)?Dt(e,r,2):void 0))):o=L(e)?t?()=>Dt(e,r,2):()=>{if(!r||!r.isUnmounted)return a&&a(),It(e,r,3,[u])}:y,t&&i){const e=o;o=()=>Nn(e())}let u=e=>{a=p.onStop=()=>{Dt(e,r,4)}},h=c?[]:On;const d=()=>{if(p.active)if(t){const e=p.run();(i||l||(c?e.some(((e,t)=>K(e,h[t]))):K(e,h)))&&(a&&a(),It(t,r,3,[e,h===On?void 0:h,u]),h=e)}else p.run()};let f;d.allowRecurse=!!t,f="sync"===s?d:"post"===s?()=>Wi(d,r&&r.suspense):()=>{!r||r.isMounted?function(e){Jt(e,Ht,$t,Vt)}(d):d()};const p=new de(o,f);return t?n?d():h=p.run():"post"===s?Wi(p.run.bind(p),r&&r.suspense):p.run(),()=>{p.stop(),r&&r.scope&&T(r.scope.effects,p)}}function Ln(e,t,n){const i=this.proxy,s=P(e)?e.includes(".")?Pn(i,e):()=>i[e]:e.bind(i,i);let r;L(t)?r=t:(r=t.handler,n=t);const o=Fs;$s(this);const a=Mn(s,r.bind(i),n);return o?$s(o):Hs(),a}function Pn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Nn(e,t){if(!D(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),bt(e))Nn(e.value,t);else if(k(e))for(let n=0;n<e.length;n++)Nn(e[n],t);else if(A(e)||O(e))e.forEach((e=>{Nn(e,t)}));else if(z(e))for(const n in e)Nn(e[n],t);return e}function Dn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return si((()=>{e.isMounted=!0})),ai((()=>{e.isUnmounting=!0})),e}const In=[Function,Array],Bn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:In,onEnter:In,onAfterEnter:In,onEnterCancelled:In,onBeforeLeave:In,onLeave:In,onAfterLeave:In,onLeaveCancelled:In,onBeforeAppear:In,onAppear:In,onAfterAppear:In,onAppearCancelled:In},setup(e,{slots:t}){const n=js(),i=Dn();let s;return()=>{const r=t.default&&Hn(t.default(),!0);if(!r||!r.length)return;const o=pt(e),{mode:a}=o,l=r[0];if(i.isLeaving)return Fn(l);const c=jn(l);if(!c)return Fn(l);const u=zn(c,o,i,n);$n(c,u);const h=n.subTree,d=h&&jn(h);let f=!1;const{getTransitionKey:p}=c.type;if(p){const e=p();void 0===s?s=e:e!==s&&(s=e,f=!0)}if(d&&d.type!==as&&(!ys(c,d)||f)){const e=zn(d,o,i,n);if($n(d,e),"out-in"===a)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,n.update()},Fn(l);"in-out"===a&&c.type!==as&&(e.delayLeave=(e,t,n)=>{Rn(i,d)[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}};function Rn(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function zn(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:f,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=Rn(n,e),w=(e,t)=>{e&&It(e,i,9,t)},x={mode:r,persisted:o,beforeEnter(t){let i=a;if(!n.isMounted){if(!s)return;i=g||a}t._leaveCb&&t._leaveCb(!0);const r=b[_];r&&ys(e,r)&&r.el._leaveCb&&r.el._leaveCb(),w(i,[t])},enter(e){let t=l,i=c,r=u;if(!n.isMounted){if(!s)return;t=m||l,i=v||c,r=y||u}let o=!1;const a=e._enterCb=t=>{o||(o=!0,w(t?r:i,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?(t(e,a),t.length<=1&&a()):a()},leave(t,i){const s=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return i();w(h,[t]);let r=!1;const o=t._leaveCb=n=>{r||(r=!0,i(),w(n?p:f,[t]),t._leaveCb=void 0,b[s]===e&&delete b[s])};b[s]=e,d?(d(t,o),d.length<=1&&o()):o()},clone:e=>zn(e,t,n,i)};return x}function Fn(e){if(Yn(e))return(e=Es(e)).children=null,e}function jn(e){return Yn(e)?e.children?e.children[0]:void 0:e}function $n(e,t){6&e.shapeFlag&&e.component?$n(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Hn(e,t=!1){let n=[],i=0;for(let s=0;s<e.length;s++){const r=e[s];r.type===rs?(128&r.patchFlag&&i++,n=n.concat(Hn(r.children,t))):(t||r.type!==as)&&n.push(r)}if(i>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Vn(e){return L(e)?{setup:e,name:e.name}:e}const Wn=e=>!!e.type.__asyncLoader;function qn(e,{vnode:{ref:t,props:n,children:i}}){const s=Ss(e,n,i);return s.ref=t,s}const Yn=e=>e.type.__isKeepAlive,Xn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=js(),i=n.ctx;if(!i.renderer)return t.default;const s=new Map,r=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=i,d=h("div");function f(e){Jn(e),u(e,n,a,!0)}function p(e){s.forEach(((t,n)=>{const i=Js(t.type);!i||e&&e(i)||g(n)}))}function g(e){const t=s.get(e);o&&t.type===o.type?o&&Jn(o):f(t),s.delete(e),r.delete(e)}i.activate=(e,t,n,i,s)=>{const r=e.component;c(e,t,n,0,a),l(r.vnode,e,t,n,r,a,i,e.slotScopeIds,s),Wi((()=>{r.isDeactivated=!1,r.a&&G(r.a);const t=e.props&&e.props.onVnodeMounted;t&&Ls(t,r.parent,e)}),a)},i.deactivate=e=>{const t=e.component;c(e,d,null,1,a),Wi((()=>{t.da&&G(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ls(n,t.parent,e),t.isDeactivated=!0}),a)},An((()=>[e.include,e.exclude]),(([e,t])=>{e&&p((t=>Un(e,t))),t&&p((e=>!Un(t,e)))}),{flush:"post",deep:!0});let m=null;const v=()=>{null!=m&&s.set(m,ei(n.subTree))};return si(v),oi(v),ai((()=>{s.forEach((e=>{const{subTree:t,suspense:i}=n,s=ei(t);if(e.type!==s.type)f(e);else{Jn(s);const e=s.component.da;e&&Wi(e,i)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),i=n[0];if(n.length>1)return o=null,n;if(!vs(i)||!(4&i.shapeFlag||128&i.shapeFlag))return o=null,i;let a=ei(i);const l=a.type,c=Js(Wn(a)?a.type.__asyncResolved||{}:l),{include:u,exclude:h,max:d}=e;if(u&&(!c||!Un(u,c))||h&&c&&Un(h,c))return o=a,i;const f=null==a.key?l:a.key,p=s.get(f);return a.el&&(a=Es(a),128&i.shapeFlag&&(i.ssContent=a)),m=f,p?(a.el=p.el,a.component=p.component,a.transition&&$n(a,a.transition),a.shapeFlag|=512,r.delete(f),r.add(f)):(r.add(f),d&&r.size>parseInt(d,10)&&g(r.values().next().value)),a.shapeFlag|=256,o=a,i}}};function Un(e,t){return k(e)?e.some((e=>Un(e,t))):P(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Kn(e,t){Qn(e,"a",t)}function Gn(e,t){Qn(e,"da",t)}function Qn(e,t,n=Fs){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ti(t,i,n),n){let e=n.parent;for(;e&&e.parent;)Yn(e.parent.vnode)&&Zn(i,t,n,e),e=e.parent}}function Zn(e,t,n,i){const s=ti(t,e,i,!0);li((()=>{T(i[t],s)}),n)}function Jn(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function ei(e){return 128&e.shapeFlag?e.ssContent:e}function ti(e,t,n=Fs,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;me(),$s(n);const s=It(t,n,e,i);return Hs(),ve(),s});return i?s.unshift(r):s.push(r),r}}const ni=e=>(t,n=Fs)=>(!Ys||"sp"===e)&&ti(e,t,n),ii=ni("bm"),si=ni("m"),ri=ni("bu"),oi=ni("u"),ai=ni("bum"),li=ni("um"),ci=ni("sp"),ui=ni("rtg"),hi=ni("rtc");function di(e,t=Fs){ti("ec",e,t)}let fi=!0;function pi(e,t,n){It(k(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function gi(e,t,n,i){const s=i.includes(".")?Pn(n,i):()=>n[i];if(P(e)){const n=t[e];L(n)&&An(s,n)}else if(L(e))An(s,e.bind(n));else if(D(e))if(k(e))e.forEach((e=>gi(e,t,n,i)));else{const i=L(e.handler)?e.handler.bind(n):t[e.handler];L(i)&&An(s,i,e)}}function mi(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:s.length||n||i?(l={},s.length&&s.forEach((e=>vi(l,e,o,!0))),vi(l,t,o)):l=t,r.set(t,l),l}function vi(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&vi(e,r,n,!0),s&&s.forEach((t=>vi(e,t,n,!0)));for(const s in t)if(i&&"expose"===s);else{const i=yi[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const yi={data:_i,props:xi,emits:xi,methods:xi,computed:xi,beforeCreate:wi,created:wi,beforeMount:wi,mounted:wi,beforeUpdate:wi,updated:wi,beforeDestroy:wi,beforeUnmount:wi,destroyed:wi,unmounted:wi,activated:wi,deactivated:wi,errorCaptured:wi,serverPrefetch:wi,components:xi,directives:xi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=S(Object.create(null),e);for(const i in t)n[i]=wi(e[i],t[i]);return n},provide:_i,inject:function(e,t){return xi(bi(e),bi(t))}};function _i(e,t){return t?e?function(){return S(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function bi(e){if(k(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wi(e,t){return e?[...new Set([].concat(e,t))]:t}function xi(e,t){return e?S(S(Object.create(null),e),t):t}function Si(e,t,n,i){const[s,r]=e.propsOptions;let o,a=!1;if(t)for(let l in t){if(j(l))continue;const c=t[l];let u;s&&C(s,u=W(l))?r&&r.includes(u)?(o||(o={}))[u]=c:n[u]=c:cn(e.emitsOptions,l)||l in i&&c===i[l]||(i[l]=c,a=!0)}if(r){const t=pt(n),i=o||m;for(let o=0;o<r.length;o++){const a=r[o];n[a]=Ti(s,t,a,i[a],e,!C(i,a))}}return a}function Ti(e,t,n,i,s,r){const o=e[n];if(null!=o){const e=C(o,"default");if(e&&void 0===i){const e=o.default;if(o.type!==Function&&L(e)){const{propsDefaults:r}=s;n in r?i=r[n]:($s(s),i=r[n]=e.call(null,t),Hs())}else i=e}o[0]&&(r&&!e?i=!1:!o[1]||""!==i&&i!==Y(n)||(i=!0))}return i}function Ei(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const r=e.props,o={},a=[];let l=!1;if(!L(e)){const i=e=>{l=!0;const[n,i]=Ei(e,t,!0);S(o,n),i&&a.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!r&&!l)return i.set(e,v),v;if(k(r))for(let e=0;e<r.length;e++){const t=W(r[e]);Ci(t)&&(o[t]=m)}else if(r)for(const e in r){const t=W(e);if(Ci(t)){const n=r[e],i=o[t]=k(n)||L(n)?{type:n}:n;if(i){const e=Ai(Boolean,i.type),n=Ai(String,i.type);i[0]=e>-1,i[1]=n<0||e<n,(e>-1||C(i,"default"))&&a.push(t)}}}const c=[o,a];return i.set(e,c),c}function Ci(e){return"$"!==e[0]}function ki(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Oi(e,t){return ki(e)===ki(t)}function Ai(e,t){return k(t)?t.findIndex((t=>Oi(t,e))):L(t)&&Oi(t,e)?0:-1}const Mi=e=>"_"===e[0]||"$stable"===e,Li=e=>k(e)?e.map(ks):[ks(e)],Pi=(e,t,n)=>{const i=fn(((...e)=>Li(t(...e))),n);return i._c=!1,i},Ni=(e,t,n)=>{const i=e._ctx;for(const n in e){if(Mi(n))continue;const s=e[n];if(L(s))t[n]=Pi(0,s,i);else if(null!=s){const e=Li(s);t[n]=()=>e}}},Di=(e,t)=>{const n=Li(t);e.slots.default=()=>n};function Ii(e,t,n,i){const s=e.dirs,r=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];r&&(a.oldValue=r[o].value);let l=a.dir[i];l&&(me(),It(l,n,8,[e.el,a,e,t]),ve())}}function Bi(){return{app:null,config:{isNativeTag:_,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ri=0;function zi(e,t){return function(n,i=null){null==i||D(i)||(i=null);const s=Bi(),r=new Set;let o=!1;const a=s.app={_uid:Ri++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:or,get config(){return s.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&L(e.install)?(r.add(e),e.install(a,...t)):L(e)&&(r.add(e),e(a,...t))),a),mixin:e=>(s.mixins.includes(e)||s.mixins.push(e),a),component:(e,t)=>t?(s.components[e]=t,a):s.components[e],directive:(e,t)=>t?(s.directives[e]=t,a):s.directives[e],mount(r,l,c){if(!o){const u=Ss(n,i);return u.appContext=s,l&&t?t(u,r):e(u,r,c),o=!0,a._container=r,r.__vue_app__=a,Qs(u.component)||u.component.proxy}},unmount(){o&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(s.provides[e]=t,a)};return a}}function Fi(e,t,n,i,s=!1){if(k(e))return void e.forEach(((e,r)=>Fi(e,t&&(k(t)?t[r]:t),n,i,s)));if(Wn(i)&&!s)return;const r=4&i.shapeFlag?Qs(i.component)||i.component.proxy:i.el,o=s?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===m?a.refs={}:a.refs,h=a.setupState;if(null!=c&&c!==l&&(P(c)?(u[c]=null,C(h,c)&&(h[c]=null)):bt(c)&&(c.value=null)),L(l))Dt(l,a,12,[o,u]);else{const t=P(l),i=bt(l);if(t||i){const i=()=>{if(e.f){const n=t?u[l]:l.value;s?k(n)&&T(n,r):k(n)?n.includes(r)||n.push(r):t?u[l]=[r]:(l.value=[r],e.k&&(u[e.k]=l.value))}else t?(u[l]=o,C(h,l)&&(h[l]=o)):bt(l)&&(l.value=o,e.k&&(u[e.k]=o))};o?(i.id=-1,Wi(i,n)):i()}}}let ji=!1;const $i=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Hi=e=>8===e.nodeType;function Vi(e){const{mt:t,p:n,o:{patchProp:i,nextSibling:s,parentNode:r,remove:o,insert:a,createComment:l}}=e,c=(n,i,o,a,l,g=!1)=>{const m=Hi(n)&&"["===n.data,v=()=>f(n,i,o,a,l,m),{type:y,ref:_,shapeFlag:b}=i,w=n.nodeType;i.el=n;let x=null;switch(y){case os:3!==w?x=v():(n.data!==i.children&&(ji=!0,n.data=i.children),x=s(n));break;case as:x=8!==w||m?v():s(n);break;case ls:if(1===w){x=n;const e=!i.children.length;for(let t=0;t<i.staticCount;t++)e&&(i.children+=x.outerHTML),t===i.staticCount-1&&(i.anchor=x),x=s(x);return x}x=v();break;case rs:x=m?d(n,i,o,a,l,g):v();break;default:if(1&b)x=1!==w||i.type.toLowerCase()!==n.tagName.toLowerCase()?v():u(n,i,o,a,l,g);else if(6&b){i.slotScopeIds=l;const e=r(n);if(t(i,e,null,o,a,$i(e),g),x=m?p(n):s(n),Wn(i)){let t;m?(t=Ss(rs),t.anchor=x?x.previousSibling:e.lastChild):t=3===n.nodeType?Cs(""):Ss("div"),t.el=n,i.component.subTree=t}}else 64&b?x=8!==w?v():i.type.hydrate(n,i,o,a,l,g,e,h):128&b&&(x=i.type.hydrate(n,i,o,a,$i(r(n)),l,g,e,c))}return null!=_&&Fi(_,null,a,i),x},u=(e,t,n,s,r,a)=>{a=a||!!t.dynamicChildren;const{type:l,props:c,patchFlag:u,shapeFlag:d,dirs:f}=t,p="input"===l&&f||"option"===l;if(p||-1!==u){if(f&&Ii(t,null,n,"created"),c)if(p||!a||48&u)for(const t in c)(p&&t.endsWith("value")||w(t)&&!j(t))&&i(e,t,null,c[t],!1,void 0,n);else c.onClick&&i(e,"onClick",null,c.onClick,!1,void 0,n);let l;if((l=c&&c.onVnodeBeforeMount)&&Ls(l,n,t),f&&Ii(t,null,n,"beforeMount"),((l=c&&c.onVnodeMounted)||f)&&Sn((()=>{l&&Ls(l,n,t),f&&Ii(t,null,n,"mounted")}),s),16&d&&(!c||!c.innerHTML&&!c.textContent)){let i=h(e.firstChild,t,e,n,s,r,a);for(;i;){ji=!0;const e=i;i=i.nextSibling,o(e)}}else 8&d&&e.textContent!==t.children&&(ji=!0,e.textContent=t.children)}return e.nextSibling},h=(e,t,i,s,r,o,a)=>{a=a||!!t.dynamicChildren;const l=t.children,u=l.length;for(let t=0;t<u;t++){const u=a?l[t]:l[t]=ks(l[t]);if(e)e=c(e,u,s,r,o,a);else{if(u.type===os&&!u.children)continue;ji=!0,n(null,u,i,null,s,r,$i(i),o)}}return e},d=(e,t,n,i,o,c)=>{const{slotScopeIds:u}=t;u&&(o=o?o.concat(u):u);const d=r(e),f=h(s(e),t,d,n,i,o,c);return f&&Hi(f)&&"]"===f.data?s(t.anchor=f):(ji=!0,a(t.anchor=l("]"),d,f),f)},f=(e,t,i,a,l,c)=>{if(ji=!0,t.el=null,c){const t=p(e);for(;;){const n=s(e);if(!n||n===t)break;o(n)}}const u=s(e),h=r(e);return o(e),n(null,t,h,u,i,a,$i(h),l),u},p=e=>{let t=0;for(;e;)if((e=s(e))&&Hi(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return s(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),void nn();ji=!1,c(t.firstChild,e,null,null,null),nn(),ji&&console.error("Hydration completed but contains mismatches.")},c]}const Wi=Sn;function qi(e){return Xi(e)}function Yi(e){return Xi(e,Vi)}function Xi(e,t){(J||(J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:r,createText:o,createComment:a,setText:l,setElementText:c,parentNode:u,nextSibling:h,setScopeId:d=y,cloneNode:f,insertStaticContent:p}=e,g=(e,t,n,i=null,s=null,r=null,o=!1,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ys(e,t)&&(i=Z(e),V(e,s,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=t;switch(c){case os:_(e,t,n,i);break;case as:b(e,t,n,i);break;case ls:null==e&&w(t,n,i,o);break;case rs:L(e,t,n,i,s,r,o,a,l);break;default:1&h?x(e,t,n,i,s,r,o,a,l):6&h?P(e,t,n,i,s,r,o,a,l):(64&h||128&h)&&c.process(e,t,n,i,s,r,o,a,l,ne)}null!=u&&s&&Fi(u,e&&e.ref,r,t||e,!t)},_=(e,t,i,s)=>{if(null==e)n(t.el=o(t.children),i,s);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},b=(e,t,i,s)=>{null==e?n(t.el=a(t.children||""),i,s):t.el=e.el},w=(e,t,n,i)=>{[e.el,e.anchor]=p(e.children,t,n,i,e.el,e.anchor)},x=(e,t,n,i,s,r,o,a,l)=>{o=o||"svg"===t.type,null==e?T(t,n,i,s,r,o,a,l):O(e,t,s,r,o,a,l)},T=(e,t,i,o,a,l,u,h)=>{let d,p;const{type:g,props:m,shapeFlag:v,transition:y,patchFlag:_,dirs:b}=e;if(e.el&&void 0!==f&&-1===_)d=e.el=f(e.el);else{if(d=e.el=r(e.type,l,m&&m.is,m),8&v?c(d,e.children):16&v&&k(e.children,d,null,o,a,l&&"foreignObject"!==g,u,h),b&&Ii(e,null,o,"created"),m){for(const t in m)"value"===t||j(t)||s(d,t,null,m[t],l,e.children,o,a,K);"value"in m&&s(d,"value",null,m.value),(p=m.onVnodeBeforeMount)&&Ls(p,o,e)}E(d,e,e.scopeId,u,o)}b&&Ii(e,null,o,"beforeMount");const w=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(d),n(d,t,i),((p=m&&m.onVnodeMounted)||w||b)&&Wi((()=>{p&&Ls(p,o,e),w&&y.enter(d),b&&Ii(e,null,o,"mounted")}),a)},E=(e,t,n,i,s)=>{if(n&&d(e,n),i)for(let t=0;t<i.length;t++)d(e,i[t]);if(s&&t===s.subTree){const t=s.vnode;E(e,t,t.scopeId,t.slotScopeIds,s.parent)}},k=(e,t,n,i,s,r,o,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Os(e[c]):ks(e[c]);g(null,l,t,n,i,s,r,o,a)}},O=(e,t,n,i,r,o,a)=>{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:d}=t;u|=16&e.patchFlag;const f=e.props||m,p=t.props||m;let g;n&&Ui(n,!1),(g=p.onVnodeBeforeUpdate)&&Ls(g,n,t,e),d&&Ii(t,e,n,"beforeUpdate"),n&&Ui(n,!0);const v=r&&"foreignObject"!==t.type;if(h?A(e.dynamicChildren,h,l,n,i,v,o):a||z(e,t,l,null,n,i,v,o,!1),u>0){if(16&u)M(l,t,f,p,n,i,r);else if(2&u&&f.class!==p.class&&s(l,"class",null,p.class,r),4&u&&s(l,"style",f.style,p.style,r),8&u){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const a=o[t],c=f[a],u=p[a];u===c&&"value"!==a||s(l,a,c,u,r,e.children,n,i,K)}}1&u&&e.children!==t.children&&c(l,t.children)}else a||null!=h||M(l,t,f,p,n,i,r);((g=p.onVnodeUpdated)||d)&&Wi((()=>{g&&Ls(g,n,t,e),d&&Ii(t,e,n,"updated")}),i)},A=(e,t,n,i,s,r,o)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],h=l.el&&(l.type===rs||!ys(l,c)||70&l.shapeFlag)?u(l.el):n;g(l,c,h,null,i,s,r,o,!0)}},M=(e,t,n,i,r,o,a)=>{if(n!==i){for(const l in i){if(j(l))continue;const c=i[l],u=n[l];c!==u&&"value"!==l&&s(e,l,u,c,a,t.children,r,o,K)}if(n!==m)for(const l in n)j(l)||l in i||s(e,l,n[l],null,a,t.children,r,o,K);"value"in i&&s(e,"value",n.value,i.value)}},L=(e,t,i,s,r,a,l,c,u)=>{const h=t.el=e?e.el:o(""),d=t.anchor=e?e.anchor:o("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(h,i,s),n(d,i,s),k(t.children,i,d,r,a,l,c,u)):f>0&&64&f&&p&&e.dynamicChildren?(A(e.dynamicChildren,p,i,r,a,l,c),(null!=t.key||r&&t===r.subTree)&&Ki(e,t,!0)):z(e,t,i,d,r,a,l,c,u)},P=(e,t,n,i,s,r,o,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?s.ctx.activate(t,n,i,o,l):N(t,n,i,s,r,o,l):D(e,t,l)},N=(e,t,n,i,s,r,o)=>{const a=e.component=function(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||Rs,r={uid:zs++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new te(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ei(i,s),emitsOptions:ln(i,s),emit:null,emitted:null,propsDefaults:m,inheritAttrs:i.inheritAttrs,ctx:m,data:m,props:m,attrs:m,slots:m,refs:m,setupState:m,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=an.bind(null,r),e.ce&&e.ce(r),r}(e,i,s);if(Yn(e)&&(a.ctx.renderer=ne),function(e,t=!1){Ys=t;const{props:n,children:i}=e.vnode,s=Vs(e);(function(e,t,n,i=!1){const s={},r={};Q(r,_s,1),e.propsDefaults=Object.create(null),Si(e,t,s,r);for(const t in e.propsOptions[0])t in s||(s[t]=void 0);e.props=n?i?s:at(s):e.type.props?s:r,e.attrs=r})(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=pt(t),Q(t,"_",n)):Ni(t,e.slots={})}else e.slots={},t&&Di(e,t);Q(e.slots,_s,1)})(e,i);s&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gt(new Proxy(e.ctx,Is));const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?Gs(e):null;$s(e),me();const s=Dt(i,e,0,[e.props,n]);if(ve(),Hs(),I(s)){if(s.then(Hs,Hs),t)return s.then((n=>{Xs(e,n,t)})).catch((t=>{Bt(t,e,0)}));e.asyncDep=s}else Xs(e,s,t)}else Ks(e,t)}(e,t);Ys=!1}(a),a.asyncDep){if(s&&s.registerDep(a,B),!e.el){const e=a.subTree=Ss(as);b(null,e,t,n)}}else B(a,e,t,n,s,r,o)},D=(e,t,n)=>{const i=t.component=e.component;if(function(e,t,n){const{props:i,children:s,component:r}=e,{props:o,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!s&&!a||a&&a.$stable)||i!==o&&(i?!o||vn(i,o,c):!!o);if(1024&l)return!0;if(16&l)return i?vn(i,o,c):!!o;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(o[n]!==i[n]&&!cn(c,n))return!0}}return!1}(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void R(i,t,n);i.next=t,function(e){const t=Ft.indexOf(e);t>jt&&Ft.splice(t,1)}(i.update),i.update()}else t.component=e.component,t.el=e.el,i.vnode=t},B=(e,t,n,i,s,r,o)=>{const a=e.effect=new de((()=>{if(e.isMounted){let t,{next:n,bu:i,u:a,parent:l,vnode:c}=e,h=n;Ui(e,!1),n?(n.el=c.el,R(e,n,o)):n=c,i&&G(i),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Ls(t,l,n,c),Ui(e,!0);const d=pn(e),f=e.subTree;e.subTree=d,g(f,d,u(f.el),Z(f),e,s,r),n.el=d.el,null===h&&yn(e,d.el),a&&Wi(a,s),(t=n.props&&n.props.onVnodeUpdated)&&Wi((()=>Ls(t,l,n,c)),s)}else{let o;const{el:a,props:l}=t,{bm:c,m:u,parent:h}=e,d=Wn(t);if(Ui(e,!1),c&&G(c),!d&&(o=l&&l.onVnodeBeforeMount)&&Ls(o,h,t),Ui(e,!0),a&&se){const n=()=>{e.subTree=pn(e),se(a,e.subTree,e,s,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const o=e.subTree=pn(e);g(null,o,n,i,e,s,r),t.el=o.el}if(u&&Wi(u,s),!d&&(o=l&&l.onVnodeMounted)){const e=t;Wi((()=>Ls(o,h,e)),s)}256&t.shapeFlag&&e.a&&Wi(e.a,s),e.isMounted=!0,t=n=i=null}}),(()=>Qt(e.update)),e.scope),l=e.update=a.run.bind(a);l.id=e.uid,Ui(e,!0),l()},R=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=e,a=pt(s),[l]=e.propsOptions;let c=!1;if(!(i||o>0)||16&o){let i;Si(e,t,s,r)&&(c=!0);for(const r in a)t&&(C(t,r)||(i=Y(r))!==r&&C(t,i))||(l?!n||void 0===n[r]&&void 0===n[i]||(s[r]=Ti(l,a,r,void 0,e,!0)):delete s[r]);if(r!==a)for(const e in r)t&&C(t,e)||(delete r[e],c=!0)}else if(8&o){const n=e.vnode.dynamicProps;for(let i=0;i<n.length;i++){let o=n[i];const u=t[o];if(l)if(C(r,o))u!==r[o]&&(r[o]=u,c=!0);else{const t=W(o);s[t]=Ti(l,a,t,u,e,!1)}else u!==r[o]&&(r[o]=u,c=!0)}}c&&be(e,"set","$attrs")}(e,t.props,i,n),((e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=m;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:(S(s,t),n||1!==e||delete s._):(r=!t.$stable,Ni(t,s)),o=t}else t&&(Di(e,t),o={default:1});if(r)for(const e in s)Mi(e)||e in o||delete s[e]})(e,t.children,n),me(),tn(void 0,e.update),ve()},z=(e,t,n,i,s,r,o,a,l=!1)=>{const u=e&&e.children,h=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void $(u,d,n,i,s,r,o,a,l);if(256&f)return void F(u,d,n,i,s,r,o,a,l)}8&p?(16&h&&K(u,s,r),d!==u&&c(n,d)):16&h?16&p?$(u,d,n,i,s,r,o,a,l):K(u,s,r,!0):(8&h&&c(n,""),16&p&&k(d,n,i,s,r,o,a,l))},F=(e,t,n,i,s,r,o,a,l)=>{const c=(e=e||v).length,u=(t=t||v).length,h=Math.min(c,u);let d;for(d=0;d<h;d++){const i=t[d]=l?Os(t[d]):ks(t[d]);g(e[d],i,n,null,s,r,o,a,l)}c>u?K(e,s,r,!0,!1,h):k(t,n,i,s,r,o,a,l,h)},$=(e,t,n,i,s,r,o,a,l)=>{let c=0;const u=t.length;let h=e.length-1,d=u-1;for(;c<=h&&c<=d;){const i=e[c],u=t[c]=l?Os(t[c]):ks(t[c]);if(!ys(i,u))break;g(i,u,n,null,s,r,o,a,l),c++}for(;c<=h&&c<=d;){const i=e[h],c=t[d]=l?Os(t[d]):ks(t[d]);if(!ys(i,c))break;g(i,c,n,null,s,r,o,a,l),h--,d--}if(c>h){if(c<=d){const e=d+1,h=e<u?t[e].el:i;for(;c<=d;)g(null,t[c]=l?Os(t[c]):ks(t[c]),n,h,s,r,o,a,l),c++}}else if(c>d)for(;c<=h;)V(e[c],s,r,!0),c++;else{const f=c,p=c,m=new Map;for(c=p;c<=d;c++){const e=t[c]=l?Os(t[c]):ks(t[c]);null!=e.key&&m.set(e.key,c)}let y,_=0;const b=d-p+1;let w=!1,x=0;const S=new Array(b);for(c=0;c<b;c++)S[c]=0;for(c=f;c<=h;c++){const i=e[c];if(_>=b){V(i,s,r,!0);continue}let u;if(null!=i.key)u=m.get(i.key);else for(y=p;y<=d;y++)if(0===S[y-p]&&ys(i,t[y])){u=y;break}void 0===u?V(i,s,r,!0):(S[u-p]=c+1,u>=x?x=u:w=!0,g(i,t[u],n,null,s,r,o,a,l),_++)}const T=w?function(e){const t=e.slice(),n=[0];let i,s,r,o,a;const l=e.length;for(i=0;i<l;i++){const l=e[i];if(0!==l){if(s=n[n.length-1],e[s]<l){t[i]=s,n.push(i);continue}for(r=0,o=n.length-1;r<o;)a=r+o>>1,e[n[a]]<l?r=a+1:o=a;l<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}(S):v;for(y=T.length-1,c=b-1;c>=0;c--){const e=p+c,h=t[e],d=e+1<u?t[e+1].el:i;0===S[c]?g(null,h,n,d,s,r,o,a,l):w&&(y<0||c!==T[y]?H(h,n,d,2):y--)}}},H=(e,t,i,s,r=null)=>{const{el:o,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)H(e.component.subTree,t,i,s);else if(128&u)e.suspense.move(t,i,s);else if(64&u)a.move(e,t,i,ne);else if(a!==rs)if(a!==ls)if(2!==s&&1&u&&l)if(0===s)l.beforeEnter(o),n(o,t,i),Wi((()=>l.enter(o)),r);else{const{leave:e,delayLeave:s,afterLeave:r}=l,a=()=>n(o,t,i),c=()=>{e(o,(()=>{a(),r&&r()}))};s?s(o,a,c):c()}else n(o,t,i);else(({el:e,anchor:t},i,s)=>{let r;for(;e&&e!==t;)r=h(e),n(e,i,s),e=r;n(t,i,s)})(e,t,i);else{n(o,t,i);for(let e=0;e<c.length;e++)H(c[e],t,i,s);n(e.anchor,t,i)}},V=(e,t,n,i=!1,s=!1)=>{const{type:r,props:o,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d}=e;if(null!=a&&Fi(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&d,p=!Wn(e);let g;if(p&&(g=o&&o.onVnodeBeforeUnmount)&&Ls(g,t,e),6&u)U(e.component,n,i);else{if(128&u)return void e.suspense.unmount(n,i);f&&Ii(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,s,ne,i):c&&(r!==rs||h>0&&64&h)?K(c,t,n,!1,!0):(r===rs&&384&h||!s&&16&u)&&K(l,t,n),i&&q(e)}(p&&(g=o&&o.onVnodeUnmounted)||f)&&Wi((()=>{g&&Ls(g,t,e),f&&Ii(e,null,t,"unmounted")}),n)},q=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===rs)return void X(n,s);if(t===ls)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),i(e),e=n;i(t)})(e);const o=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:i}=r,s=()=>t(n,o);i?i(e.el,o,s):s()}else o()},X=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},U=(e,t,n)=>{const{bum:i,scope:s,update:r,subTree:o,um:a}=e;i&&G(i),s.stop(),r&&(r.active=!1,V(o,e,t,n)),a&&Wi(a,t),Wi((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,i=!1,s=!1,r=0)=>{for(let o=r;o<e.length;o++)V(e[o],t,n,i,s)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():h(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&V(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),nn(),t._vnode=e},ne={p:g,um:V,m:H,r:q,mt:N,mc:k,pc:z,pbc:A,n:Z,o:e};let ie,se;return t&&([ie,se]=t(ne)),{render:ee,hydrate:ie,createApp:zi(ee,ie)}}function Ui({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ki(e,t,n=!1){const i=e.children,s=t.children;if(k(i)&&k(s))for(let e=0;e<i.length;e++){const t=i[e];let r=s[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=s[e]=Os(s[e]),r.el=t.el),n||Ki(t,r))}}const Gi=e=>e&&(e.disabled||""===e.disabled),Qi=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Zi=(e,t)=>{const n=e&&e.to;return P(n)?t?t(n):null:n};function Ji(e,t,n,{o:{insert:i},m:s},r=2){0===r&&i(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,h=2===r;if(h&&i(o,t,n),(!h||Gi(u))&&16&l)for(let e=0;e<c.length;e++)s(c[e],t,n,2);h&&i(a,t,n)}const es={__isTeleport:!0,process(e,t,n,i,s,r,o,a,l,c){const{mc:u,pc:h,pbc:d,o:{insert:f,querySelector:p,createText:g}}=c,m=Gi(t.props);let{shapeFlag:v,children:y,dynamicChildren:_}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");f(e,n,i),f(c,n,i);const h=t.target=Zi(t.props,p),d=t.targetAnchor=g("");h&&(f(d,h),o=o||Qi(h));const _=(e,t)=>{16&v&&u(y,e,t,s,r,o,a,l)};m?_(n,c):h&&_(h,d)}else{t.el=e.el;const i=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=Gi(e.props),v=g?n:u,y=g?i:f;if(o=o||Qi(u),_?(d(e.dynamicChildren,_,v,s,r,o,a),Ki(e,t,!0)):l||h(e,t,v,y,s,r,o,a,!1),m)g||Ji(t,n,i,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Zi(t.props,p);e&&Ji(t,e,null,c,0)}else g&&Ji(t,u,f,c,1)}},remove(e,t,n,i,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:h,props:d}=e;if(h&&r(u),(o||!Gi(d))&&(r(c),16&a))for(let e=0;e<l.length;e++){const i=l[e];s(i,t,n,!0,!!i.dynamicChildren)}},move:Ji,hydrate:function(e,t,n,i,s,r,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=Zi(t.props,l);if(u){const l=u._lpa||u.firstChild;16&t.shapeFlag&&(Gi(t.props)?(t.anchor=c(o(e),t,a(e),n,i,s,r),t.targetAnchor=l):(t.anchor=o(e),t.targetAnchor=c(l,t,u,n,i,s,r)),u._lpa=t.targetAnchor&&o(t.targetAnchor))}return t.anchor&&o(t.anchor)}},ts="components",ns=Symbol();function is(e,t,n=!0,i=!1){const s=un||Fs;if(s){const n=s.type;if(e===ts){const e=Js(n);if(e&&(e===t||e===W(t)||e===X(W(t))))return n}const r=ss(s[e]||n[e],t)||ss(s.appContext[e],t);return!r&&i?n:r}}function ss(e,t){return e&&(e[t]||e[W(t)]||e[X(W(t))])}const rs=Symbol(void 0),os=Symbol(void 0),as=Symbol(void 0),ls=Symbol(void 0),cs=[];let us=null;function hs(e=!1){cs.push(us=e?null:[])}function ds(){cs.pop(),us=cs[cs.length-1]||null}let fs=1;function ps(e){fs+=e}function gs(e){return e.dynamicChildren=fs>0?us||v:null,ds(),fs>0&&us&&us.push(e),e}function ms(e,t,n,i,s){return gs(Ss(e,t,n,i,s,!0))}function vs(e){return!!e&&!0===e.__v_isVNode}function ys(e,t){return e.type===t.type&&e.key===t.key}const _s="__vInternal",bs=({key:e})=>null!=e?e:null,ws=({ref:e,ref_key:t,ref_for:n})=>null!=e?P(e)||bt(e)||L(e)?{i:un,r:e,k:t,f:!!n}:e:null;function xs(e,t=null,n=null,i=0,s=null,r=(e===rs?0:1),o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bs(t),ref:t&&ws(t),scopeId:hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(As(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=P(n)?8:16),fs>0&&!o&&us&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&us.push(l),l}const Ss=function(e,t=null,n=null,i=0,s=null,o=!1){if(e&&e!==ns||(e=as),vs(e)){const i=Es(e,t,!0);return n&&As(i,n),i}var a;if(L(a=e)&&"__vccOpts"in a&&(e=e.__vccOpts),t){t=Ts(t);let{class:e,style:n}=t;e&&!P(e)&&(t.class=c(e)),D(n)&&(ft(n)&&!k(n)&&(n=S({},n)),t.style=r(n))}return xs(e,t,n,i,s,P(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:D(e)?4:L(e)?2:0,o,!0)};function Ts(e){return e?ft(e)||_s in e?S({},e):e:null}function Es(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,a=t?Ms(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&bs(a),ref:t&&t.ref?n&&s?k(s)?s.concat(ws(t)):[s,ws(t)]:ws(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rs?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Es(e.ssContent),ssFallback:e.ssFallback&&Es(e.ssFallback),el:e.el,anchor:e.anchor}}function Cs(e=" ",t=0){return Ss(os,null,e,t)}function ks(e){return null==e||"boolean"==typeof e?Ss(as):k(e)?Ss(rs,null,e.slice()):"object"==typeof e?Os(e):Ss(os,null,String(e))}function Os(e){return null===e.el||e.memo?e:Es(e)}function As(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if(k(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),As(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||_s in t?3===i&&un&&(1===un.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=un}}else L(t)?(t={default:t,_ctx:un},n=32):(t=String(t),64&i?(n=16,t=[Cs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ms(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const e in i)if("class"===e)t.class!==i.class&&(t.class=c([t.class,i.class]));else if("style"===e)t.style=r([t.style,i.style]);else if(w(e)){const n=t[e],s=i[e];!s||n===s||k(n)&&n.includes(s)||(t[e]=n?[].concat(n,s):s)}else""!==e&&(t[e]=i[e])}return t}function Ls(e,t,n,i=null){It(e,t,7,[n,i])}function Ps(e){return e.some((e=>!vs(e)||e.type!==as&&!(e.type===rs&&!Ps(e.children))))?e:null}const Ns=e=>e?Vs(e)?Qs(e)||e.proxy:Ns(e.parent):null,Ds=S(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ns(e.parent),$root:e=>Ns(e.root),$emit:e=>e.emit,$options:e=>mi(e),$forceUpdate:e=>()=>Qt(e.update),$nextTick:e=>Gt.bind(e.proxy),$watch:e=>Ln.bind(e)}),Is={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=o[t];if(void 0!==a)switch(a){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(i!==m&&C(i,t))return o[t]=1,i[t];if(s!==m&&C(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&C(c,t))return o[t]=3,r[t];if(n!==m&&C(n,t))return o[t]=4,n[t];fi&&(o[t]=0)}}const u=Ds[t];let h,d;return u?("$attrs"===t&&ye(e,0,t),u(e)):(h=a.__cssModules)&&(h=h[t])?h:n!==m&&C(n,t)?(o[t]=4,n[t]):(d=l.config.globalProperties,C(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return s!==m&&C(s,t)?(s[t]=n,!0):i!==m&&C(i,t)?(i[t]=n,!0):!(C(e.props,t)||"$"===t[0]&&t.slice(1)in e||(r[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let a;return!!n[o]||e!==m&&C(e,o)||t!==m&&C(t,o)||(a=r[0])&&C(a,o)||C(i,o)||C(Ds,o)||C(s.config.globalProperties,o)},defineProperty(e,t,n){return null!=n.get?this.set(e,t,n.get(),null):null!=n.value&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Bs=S({},Is,{get(e,t){if(t!==Symbol.unscopables)return Is.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)}),Rs=Bi();let zs=0,Fs=null;const js=()=>Fs||un,$s=e=>{Fs=e,e.scope.on()},Hs=()=>{Fs&&Fs.scope.off(),Fs=null};function Vs(e){return 4&e.vnode.shapeFlag}let Ws,qs,Ys=!1;function Xs(e,t,n){L(t)?e.render=t:D(t)&&(e.setupState=Ct(t)),Ks(e,n)}function Us(e){Ws=e,qs=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Bs))}}function Ks(e,t,n){const i=e.type;if(!e.render){if(!t&&Ws&&!i.render){const t=i.template;if(t){const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:r,compilerOptions:o}=i,a=S(S({isCustomElement:n,delimiters:r},s),o);i.render=Ws(t,a)}}e.render=i.render||y,qs&&qs(e)}$s(e),me(),function(e){const t=mi(e),n=e.proxy,i=e.ctx;fi=!1,t.beforeCreate&&pi(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:f,updated:p,activated:g,deactivated:m,beforeUnmount:v,unmounted:_,render:b,renderTracked:w,renderTriggered:x,errorCaptured:S,serverPrefetch:T,expose:E,inheritAttrs:C,components:O,directives:A}=t;if(c&&function(e,t,n=y,i=!1){k(e)&&(e=bi(e));for(const n in e){const s=e[n];let r;r=D(s)?"default"in s?Cn(s.from||n,s.default,!0):Cn(s.from||n):Cn(s),bt(r)&&i?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(c,i,null,e.appContext.config.unwrapInjectedRef),o)for(const e in o){const t=o[e];L(t)&&(i[e]=t.bind(n))}if(s){const t=s.call(n,n);D(t)&&(e.data=ot(t))}if(fi=!0,r)for(const e in r){const t=r[e],s=L(t)?t.bind(n,n):L(t.get)?t.get.bind(n,n):y,o=!L(t)&&L(t.set)?t.set.bind(n):y,a=tr({get:s,set:o});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)gi(a[e],i,n,e);if(l){const e=L(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{En(t,e[t])}))}function M(e,t){k(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&pi(u,e,"c"),M(ii,h),M(si,d),M(ri,f),M(oi,p),M(Kn,g),M(Gn,m),M(di,S),M(hi,w),M(ui,x),M(ai,v),M(li,_),M(ci,T),k(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});b&&e.render===y&&(e.render=b),null!=C&&(e.inheritAttrs=C),O&&(e.components=O),A&&(e.directives=A)}(e),ve(),Hs()}function Gs(e){let t;return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ye(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Qs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ct(gt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ds?Ds[n](e):void 0}))}const Zs=/(?:^|[-_])(\w)/g;function Js(e){return L(e)&&e.displayName||e.name}function er(e,t,n=!1){let i=Js(t);if(!i&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(i=e[1])}if(!i&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};i=n(e.components||e.parent.type.components)||n(e.appContext.components)}return i?i.replace(Zs,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}const tr=(e,t)=>function(e,t,n=!1){let i,s;const r=L(e);return r?(i=e,s=y):(i=e.get,s=e.set),new Mt(i,s,r||!s,n)}(e,0,Ys);function nr(){const e=js();return e.setupContext||(e.setupContext=Gs(e))}function ir(e,t,n){const i=arguments.length;return 2===i?D(t)&&!k(t)?vs(t)?Ss(e,null,[t]):Ss(e,t):Ss(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&vs(n)&&(n=[n]),Ss(e,t,n))}const sr=Symbol("");function rr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return fs>0&&us&&us.push(e),!0}const or="3.2.31",ar="undefined"!=typeof document?document:null,lr=ar&&ar.createElement("template"),cr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?ar.createElementNS("http://www.w3.org/2000/svg",e):ar.createElement(e,n?{is:n}:void 0);return"select"===e&&i&&null!=i.multiple&&s.setAttribute("multiple",i.multiple),s},createText:e=>ar.createTextNode(e),createComment:e=>ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),s!==r&&(s=s.nextSibling););else{lr.innerHTML=i?`<svg>${e}</svg>`:e;const s=lr.content;if(i){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ur=/\s*!important$/;function hr(e,t,n){if(k(n))n.forEach((n=>hr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const i=function(e,t){const n=fr[t];if(n)return n;let i=W(t);if("filter"!==i&&i in e)return fr[t]=i;i=X(i);for(let n=0;n<dr.length;n++){const s=dr[n]+i;if(s in e)return fr[t]=s}return t}(e,t);ur.test(n)?e.setProperty(Y(i),n.replace(ur,""),"important"):e[i]=n}}const dr=["Webkit","Moz","ms"],fr={},pr="http://www.w3.org/1999/xlink";let gr=Date.now,mr=!1;if("undefined"!=typeof window){gr()>document.createEvent("Event").timeStamp&&(gr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);mr=!!(e&&Number(e[1])<=53)}let vr=0;const yr=Promise.resolve(),_r=()=>{vr=0};function br(e,t,n,i){e.addEventListener(t,n,i)}const wr=/(?:Once|Passive|Capture)$/,xr=/^on[a-z]/;function Sr(e,t){const n=Vn(e);class i extends Er{constructor(e){super(n,e,t)}}return i.def=n,i}const Tr="undefined"!=typeof HTMLElement?HTMLElement:class{};class Er extends Tr{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Gt((()=>{this._connected||(xo(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,i=!k(t),s=t?i?Object.keys(t):t:[];let r;if(i)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=Z(this._props[e]),(r||(r=Object.create(null)))[e]=!0)}this._numberProps=r;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of s.map(W))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=Z(t)),this._setProp(W(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,i=!0){t!==this._props[e]&&(this._props[e]=t,i&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(Y(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(Y(e),t+""):t||this.removeAttribute(Y(e))))}_update(){xo(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Ss(this._def,S({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Er){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Cr(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Cr(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)kr(e.el,t);else if(e.type===rs)e.children.forEach((e=>Cr(e,t)));else if(e.type===ls){let{el:n,anchor:i}=e;for(;n&&(kr(n,t),n!==i);)n=n.nextSibling}}function kr(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Or="transition",Ar="animation",Mr=(e,{slots:t})=>ir(Bn,Ir(e),t);Mr.displayName="Transition";const Lr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Pr=Mr.props=S({},Bn.props,Lr),Nr=(e,t=[])=>{k(e)?e.forEach((e=>e(...t))):e&&e(...t)},Dr=e=>!!e&&(k(e)?e.some((e=>e.length>1)):e.length>1);function Ir(e){const t={};for(const n in e)n in Lr||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,p=function(e){if(null==e)return null;if(D(e))return[Br(e.enter),Br(e.leave)];{const t=Br(e);return[t,t]}}(s),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:T=y,onAppearCancelled:E=_}=t,C=(e,t,n)=>{zr(e,t?u:a),zr(e,t?c:o),n&&n()},k=(e,t)=>{zr(e,f),zr(e,d),t&&t()},O=e=>(t,n)=>{const s=e?T:y,o=()=>C(t,e,n);Nr(s,[t,o]),Fr((()=>{zr(t,e?l:r),Rr(t,e?u:a),Dr(s)||$r(t,i,g,o)}))};return S(t,{onBeforeEnter(e){Nr(v,[e]),Rr(e,r),Rr(e,o)},onBeforeAppear(e){Nr(x,[e]),Rr(e,l),Rr(e,c)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){const n=()=>k(e,t);Rr(e,h),qr(),Rr(e,d),Fr((()=>{zr(e,h),Rr(e,f),Dr(b)||$r(e,i,m,n)})),Nr(b,[e,n])},onEnterCancelled(e){C(e,!1),Nr(_,[e])},onAppearCancelled(e){C(e,!0),Nr(E,[e])},onLeaveCancelled(e){k(e),Nr(w,[e])}})}function Br(e){return Z(e)}function Rr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function zr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Fr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let jr=0;function $r(e,t,n,i){const s=e._endId=++jr,r=()=>{s===e._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=Hr(e,t);if(!o)return i();const c=o+"end";let u=0;const h=()=>{e.removeEventListener(c,d),r()},d=t=>{t.target===e&&++u>=l&&h()};setTimeout((()=>{u<l&&h()}),a+1),e.addEventListener(c,d)}function Hr(e,t){const n=window.getComputedStyle(e),i=e=>(n[e]||"").split(", "),s=i("transitionDelay"),r=i("transitionDuration"),o=Vr(s,r),a=i("animationDelay"),l=i("animationDuration"),c=Vr(a,l);let u=null,h=0,d=0;return t===Or?o>0&&(u=Or,h=o,d=r.length):t===Ar?c>0&&(u=Ar,h=c,d=l.length):(h=Math.max(o,c),u=h>0?o>c?Or:Ar:null,d=u?u===Or?r.length:l.length:0),{type:u,timeout:h,propCount:d,hasTransform:u===Or&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function Vr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Wr(t)+Wr(e[n]))))}function Wr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function qr(){return document.body.offsetHeight}const Yr=new WeakMap,Xr=new WeakMap,Ur={name:"TransitionGroup",props:S({},Pr,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=js(),i=Dn();let s,r;return oi((()=>{if(!s.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const i=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&i.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&i.classList.add(e))),i.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(i);const{hasTransform:r}=Hr(i);return s.removeChild(i),r}(s[0].el,n.vnode.el,t))return;s.forEach(Kr),s.forEach(Gr);const i=s.filter(Qr);qr(),i.forEach((e=>{const n=e.el,i=n.style;Rr(n,t),i.transform=i.webkitTransform=i.transitionDuration="";const s=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",s),n._moveCb=null,zr(n,t))};n.addEventListener("transitionend",s)}))})),()=>{const o=pt(e),a=Ir(o);let l=o.tag||rs;s=r,r=t.default?Hn(t.default()):[];for(let e=0;e<r.length;e++){const t=r[e];null!=t.key&&$n(t,zn(t,a,i,n))}if(s)for(let e=0;e<s.length;e++){const t=s[e];$n(t,zn(t,a,i,n)),Yr.set(t,t.el.getBoundingClientRect())}return Ss(l,null,r)}}};function Kr(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Gr(e){Xr.set(e,e.el.getBoundingClientRect())}function Qr(e){const t=Yr.get(e),n=Xr.get(e),i=t.left-n.left,s=t.top-n.top;if(i||s){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${i}px,${s}px)`,t.transitionDuration="0s",e}}const Zr=e=>{const t=e.props["onUpdate:modelValue"];return k(t)?e=>G(t,e):t};function Jr(e){e.target.composing=!0}function eo(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent("input",!0,!0),e.dispatchEvent(n)}(t))}const to={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e._assign=Zr(s);const r=i||s.props&&"number"===s.props.type;br(e,t?"change":"input",(t=>{if(t.target.composing)return;let i=e.value;n?i=i.trim():r&&(i=Z(i)),e._assign(i)})),n&&br(e,"change",(()=>{e.value=e.value.trim()})),t||(br(e,"compositionstart",Jr),br(e,"compositionend",eo),br(e,"change",eo))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e._assign=Zr(r),e.composing)return;if(document.activeElement===e){if(n)return;if(i&&e.value.trim()===t)return;if((s||"number"===e.type)&&Z(e.value)===t)return}const o=null==t?"":t;e.value!==o&&(e.value=o)}},no={deep:!0,created(e,t,n){e._assign=Zr(n),br(e,"change",(()=>{const t=e._modelValue,n=ao(e),i=e.checked,s=e._assign;if(k(t)){const e=p(t,n),r=-1!==e;if(i&&!r)s(t.concat(n));else if(!i&&r){const n=[...t];n.splice(e,1),s(n)}}else if(A(t)){const e=new Set(t);i?e.add(n):e.delete(n),s(e)}else s(lo(e,i))}))},mounted:io,beforeUpdate(e,t,n){e._assign=Zr(n),io(e,t,n)}};function io(e,{value:t,oldValue:n},i){e._modelValue=t,k(t)?e.checked=p(t,i.props.value)>-1:A(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=f(t,lo(e,!0)))}const so={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=Zr(n),br(e,"change",(()=>{e._assign(ao(e))}))},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=Zr(i),t!==n&&(e.checked=f(t,i.props.value))}},ro={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=A(t);br(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Z(ao(e)):ao(e)));e._assign(e.multiple?s?new Set(t):t:t[0])})),e._assign=Zr(i)},mounted(e,{value:t}){oo(e,t)},beforeUpdate(e,t,n){e._assign=Zr(n)},updated(e,{value:t}){oo(e,t)}};function oo(e,t){const n=e.multiple;if(!n||k(t)||A(t)){for(let i=0,s=e.options.length;i<s;i++){const s=e.options[i],r=ao(s);if(n)s.selected=k(t)?p(t,r)>-1:t.has(r);else if(f(ao(s),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ao(e){return"_value"in e?e._value:e.value}function lo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const co={created(e,t,n){uo(e,t,n,null,"created")},mounted(e,t,n){uo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){uo(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){uo(e,t,n,i,"updated")}};function uo(e,t,n,i,s){let r;switch(e.tagName){case"SELECT":r=ro;break;case"TEXTAREA":r=to;break;default:switch(n.props&&n.props.type){case"checkbox":r=no;break;case"radio":r=so;break;default:r=to}}const o=r[s];o&&o(e,t,n,i)}const ho=["ctrl","shift","alt","meta"],fo={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ho.some((n=>e[`${n}Key`]&&!t.includes(n)))},po={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},go={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):mo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),mo(e,!0),i.enter(e)):i.leave(e,(()=>{mo(e,!1)})):mo(e,t))},beforeUnmount(e,{value:t}){mo(e,t)}};function mo(e,t){e.style.display=t?e._vod:"none"}const vo=S({patchProp:(e,t,n,r,o=!1,a,l,c,u)=>{"class"===t?function(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,o):"style"===t?function(e,t,n){const i=e.style,s=P(n);if(n&&!s){for(const e in n)hr(i,e,n[e]);if(t&&!P(t))for(const e in t)null==n[e]&&hr(i,e,"")}else{const r=i.display;s?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}(e,n,r):w(t)?x(t)||function(e,t,n,i,s=null){const r=e._vei||(e._vei={}),o=r[t];if(i&&o)o.value=i;else{const[n,a]=function(e){let t;if(wr.test(e)){let n;for(t={};n=e.match(wr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Y(e.slice(2)),t]}(t);if(i){const o=r[t]=function(e,t){const n=e=>{const i=e.timeStamp||gr();(mr||i>=n.attached-1)&&It(function(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=vr||(yr.then(_r),vr=gr()),n}(i,s);br(e,n,o,a)}else o&&(function(e,t,n,i){e.removeEventListener(t,n,i)}(e,n,o,a),r[t]=void 0)}}(e,t,0,r,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,i){return i?"innerHTML"===t||"textContent"===t||!!(t in e&&xr.test(t)&&L(n)):"spellcheck"!==t&&"draggable"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!xr.test(t)||!P(n))&&t in e))))}(e,t,r,o))?function(e,t,n,i,r,o,a){if("innerHTML"===t||"textContent"===t)return i&&a(i,r,o),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const i=null==n?"":n;return e.value===i&&"OPTION"!==e.tagName||(e.value=i),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const i=typeof e[t];if("boolean"===i)return void(e[t]=s(n));if(null==n&&"string"===i)return e[t]="",void e.removeAttribute(t);if("number"===i){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,t,r,a,l,c,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(pr,t.slice(6,t.length)):e.setAttributeNS(pr,t,n);else{const r=i(t);null==n||r&&!s(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))}},cr);let yo,_o=!1;function bo(){return yo||(yo=qi(vo))}function wo(){return yo=_o?yo:Yi(vo),_o=!0,yo}const xo=(...e)=>{bo().render(...e)},So=(...e)=>{wo().hydrate(...e)};function To(e){return P(e)?document.querySelector(e):e}const Eo=y;function Co(e){throw e}function ko(e){}function Oo(e,t,n,i){const s=new SyntaxError(String(e));return s.code=e,s.loc=t,s}const Ao=Symbol(""),Mo=Symbol(""),Lo=Symbol(""),Po=Symbol(""),No=Symbol(""),Do=Symbol(""),Io=Symbol(""),Bo=Symbol(""),Ro=Symbol(""),zo=Symbol(""),Fo=Symbol(""),jo=Symbol(""),$o=Symbol(""),Ho=Symbol(""),Vo=Symbol(""),Wo=Symbol(""),qo=Symbol(""),Yo=Symbol(""),Xo=Symbol(""),Uo=Symbol(""),Ko=Symbol(""),Go=Symbol(""),Qo=Symbol(""),Zo=Symbol(""),Jo=Symbol(""),ea=Symbol(""),ta=Symbol(""),na=Symbol(""),ia=Symbol(""),sa=Symbol(""),ra=Symbol(""),oa=Symbol(""),aa=Symbol(""),la=Symbol(""),ca=Symbol(""),ua=Symbol(""),ha=Symbol(""),da=Symbol(""),fa=Symbol(""),pa={[Ao]:"Fragment",[Mo]:"Teleport",[Lo]:"Suspense",[Po]:"KeepAlive",[No]:"BaseTransition",[Do]:"openBlock",[Io]:"createBlock",[Bo]:"createElementBlock",[Ro]:"createVNode",[zo]:"createElementVNode",[Fo]:"createCommentVNode",[jo]:"createTextVNode",[$o]:"createStaticVNode",[Ho]:"resolveComponent",[Vo]:"resolveDynamicComponent",[Wo]:"resolveDirective",[qo]:"resolveFilter",[Yo]:"withDirectives",[Xo]:"renderList",[Uo]:"renderSlot",[Ko]:"createSlots",[Go]:"toDisplayString",[Qo]:"mergeProps",[Zo]:"normalizeClass",[Jo]:"normalizeStyle",[ea]:"normalizeProps",[ta]:"guardReactiveProps",[na]:"toHandlers",[ia]:"camelize",[sa]:"capitalize",[ra]:"toHandlerKey",[oa]:"setBlockTracking",[aa]:"pushScopeId",[la]:"popScopeId",[ca]:"withCtx",[ua]:"unref",[ha]:"isRef",[da]:"withMemo",[fa]:"isMemoSame"},ga={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ma(e,t,n,i,s,r,o,a=!1,l=!1,c=!1,u=ga){return e&&(a?(e.helper(Do),e.helper(qa(e.inSSR,c))):e.helper(Wa(e.inSSR,c)),o&&e.helper(Yo)),{type:13,tag:t,props:n,children:i,patchFlag:s,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function va(e,t=ga){return{type:17,loc:t,elements:e}}function ya(e,t=ga){return{type:15,loc:t,properties:e}}function _a(e,t){return{type:16,loc:ga,key:P(e)?ba(e,!0):e,value:t}}function ba(e,t=!1,n=ga,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function wa(e,t=ga){return{type:8,loc:t,children:e}}function xa(e,t=[],n=ga){return{type:14,loc:n,callee:e,arguments:t}}function Sa(e,t,n=!1,i=!1,s=ga){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:s}}function Ta(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:ga}}const Ea=e=>4===e.type&&e.isStatic,Ca=(e,t)=>e===t||e===Y(t);function ka(e){return Ca(e,"Teleport")?Mo:Ca(e,"Suspense")?Lo:Ca(e,"KeepAlive")?Po:Ca(e,"BaseTransition")?No:void 0}const Oa=/^\d|[^\$\w]/,Aa=e=>!Oa.test(e),Ma=/[A-Za-z_$\xA0-\uFFFF]/,La=/[\.\?\w$\xA0-\uFFFF]/,Pa=/\s+[.[]\s*|\s*[.[]\s+/g,Na=e=>{e=e.trim().replace(Pa,(e=>e.trim()));let t=0,n=[],i=0,s=0,r=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if("["===a)n.push(t),t=1,i++;else if("("===a)n.push(t),t=2,s++;else if(!(0===o?Ma:La).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(t),t=3,r=a):"["===a?i++:"]"===a&&(--i||(t=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(t),t=3,r=a;else if("("===a)s++;else if(")"===a){if(o===e.length-1)return!1;--s||(t=n.pop())}break;case 3:a===r&&(t=n.pop(),r=null)}}return!i&&!s};function Da(e,t,n){const i={source:e.source.slice(t,t+n),start:Ia(e.start,e.source,t),end:e.end};return null!=n&&(i.end=Ia(e.start,e.source,t+n)),i}function Ia(e,t,n=t.length){return Ba(S({},e),t,n)}function Ba(e,t,n=t.length){let i=0,s=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(i++,s=e);return e.offset+=n,e.line+=i,e.column=-1===s?e.column+n:n-s,e}function Ra(e,t,n=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(7===s.type&&(n||s.exp)&&(P(t)?s.name===t:t.test(s.name)))return s}}function za(e,t,n=!1,i=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(6===r.type){if(n)continue;if(r.name===t&&(r.value||i))return r}else if("bind"===r.name&&(r.exp||i)&&Fa(r.arg,t))return r}}function Fa(e,t){return!(!e||!Ea(e)||e.content!==t)}function ja(e){return 5===e.type||2===e.type}function $a(e){return 7===e.type&&"slot"===e.name}function Ha(e){return 1===e.type&&3===e.tagType}function Va(e){return 1===e.type&&2===e.tagType}function Wa(e,t){return e||t?Ro:zo}function qa(e,t){return e||t?Io:Bo}const Ya=new Set([ea,ta]);function Xa(e,t=[]){if(e&&!P(e)&&14===e.type){const n=e.callee;if(!P(n)&&Ya.has(n))return Xa(e.arguments[0],t.concat(e))}return[e,t]}function Ua(e,t,n){let i,s,r=13===e.type?e.props:e.arguments[2],o=[];if(r&&!P(r)&&14===r.type){const e=Xa(r);r=e[0],o=e[1],s=o[o.length-1]}if(null==r||P(r))i=ya([t]);else if(14===r.type){const e=r.arguments[0];P(e)||15!==e.type?r.callee===na?i=xa(n.helper(Qo),[ya([t]),r]):r.arguments.unshift(ya([t])):e.properties.unshift(t),!i&&(i=r)}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some((e=>4===e.key.type&&e.key.content===n))}e||r.properties.unshift(t),i=r}else i=xa(n.helper(Qo),[ya([t]),r]),s&&s.callee===ta&&(s=o[o.length-2]);13===e.type?s?s.arguments[0]=i:e.props=i:s?s.arguments[0]=i:e.arguments[2]=i}function Ka(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function Ga(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(Wa(i,e.isComponent)),t(Do),t(qa(i,e.isComponent)))}const Qa=/&(gt|lt|amp|apos|quot);/g,Za={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ja={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:_,isPreTag:_,isCustomElement:_,decodeEntities:e=>e.replace(Qa,((e,t)=>Za[t])),onError:Co,onWarn:ko,comments:!1};function el(e,t,n){const i=gl(n),s=i?i.ns:0,r=[];for(;!bl(e,t,n);){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&ml(o,e.options.delimiters[0]))a=ul(e,t);else if(0===t&&"<"===o[0])if(1===o.length);else if("!"===o[1])a=ml(o,"\x3c!--")?il(e):ml(o,"<!DOCTYPE")?sl(e):ml(o,"<![CDATA[")&&0!==s?nl(e,n):sl(e);else if("/"===o[1])if(2===o.length);else{if(">"===o[2]){vl(e,3);continue}if(/[a-z]/i.test(o[2])){al(e,1,i);continue}a=sl(e)}else/[a-z]/i.test(o[1])?a=rl(e,n):"?"===o[1]&&(a=sl(e));if(a||(a=hl(e,t)),k(a))for(let e=0;e<a.length;e++)tl(r,a[e]);else tl(r,a)}let o=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<r.length;n++){const i=r[n];if(e.inPre||2!==i.type)3!==i.type||e.options.comments||(o=!0,r[n]=null);else if(/[^\t\r\n\f ]/.test(i.content))t&&(i.content=i.content.replace(/[\t\r\n\f ]+/g," "));else{const e=r[n-1],s=r[n+1];!e||!s||t&&(3===e.type||3===s.type||1===e.type&&1===s.type&&/[\r\n]/.test(i.content))?(o=!0,r[n]=null):i.content=" "}}if(e.inPre&&i&&e.options.isPreTag(i.tag)){const e=r[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return o?r.filter(Boolean):r}function tl(e,t){if(2===t.type){const n=gl(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function nl(e,t){vl(e,9);const n=el(e,3,t);return 0===e.source.length||vl(e,3),n}function il(e){const t=fl(e);let n;const i=/--(\!)?>/.exec(e.source);if(i){n=e.source.slice(4,i.index);const t=e.source.slice(0,i.index);let s=1,r=0;for(;-1!==(r=t.indexOf("\x3c!--",s));)vl(e,r-s+1),s=r+1;vl(e,i.index+i[0].length-s+1)}else n=e.source.slice(4),vl(e,e.source.length);return{type:3,content:n,loc:pl(e,t)}}function sl(e){const t=fl(e),n="?"===e.source[1]?1:2;let i;const s=e.source.indexOf(">");return-1===s?(i=e.source.slice(n),vl(e,e.source.length)):(i=e.source.slice(n,s),vl(e,s+1)),{type:3,content:i,loc:pl(e,t)}}function rl(e,t){const n=e.inPre,i=e.inVPre,s=gl(t),r=al(e,0,s),o=e.inPre&&!n,a=e.inVPre&&!i;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),r;t.push(r);const l=e.options.getTextMode(r,s),c=el(e,l,t);if(t.pop(),r.children=c,wl(e.source,r.tag))al(e,1,s);else if(0===e.source.length&&"script"===r.tag.toLowerCase()){const e=c[0];e&&ml(e.loc.source,"\x3c!--")}return r.loc=pl(e,r.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),r}const ol=t("if,else,else-if,for,slot");function al(e,t,n){const i=fl(e),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),r=s[1],o=e.options.getNamespace(r,n);vl(e,s[0].length),yl(e);const a=fl(e),l=e.source;e.options.isPreTag(r)&&(e.inPre=!0);let c=ll(e,t);0===t&&!e.inVPre&&c.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,S(e,a),e.source=l,c=ll(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=ml(e.source,"/>"),vl(e,u?2:1)),1===t)return;let h=0;return e.inVPre||("slot"===r?h=2:"template"===r?c.some((e=>7===e.type&&ol(e.name)))&&(h=3):function(e,t,n){const i=n.options;if(i.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||ka(e)||i.isBuiltInComponent&&i.isBuiltInComponent(e)||i.isNativeTag&&!i.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value&&n.value.content.startsWith("vue:"))return!0}else{if("is"===n.name)return!0;"bind"===n.name&&Fa(n.arg,"is")}}}(r,c,e)&&(h=1)),{type:1,ns:o,tag:r,tagType:h,props:c,isSelfClosing:u,children:[],loc:pl(e,i),codegenNode:void 0}}function ll(e,t){const n=[],i=new Set;for(;e.source.length>0&&!ml(e.source,">")&&!ml(e.source,"/>");){if(ml(e.source,"/")){vl(e,1),yl(e);continue}const s=cl(e,i);6===s.type&&s.value&&"class"===s.name&&(s.value.content=s.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(s),/^[^\t\r\n\f />]/.test(e.source),yl(e)}return n}function cl(e,t){const n=fl(e),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(i),t.add(i);{const e=/["'<]/g;let t;for(;t=e.exec(i););}let s;vl(e,i.length),/^[\t\r\n\f ]*=/.test(e.source)&&(yl(e),vl(e,1),yl(e),s=function(e){const t=fl(e);let n;const i=e.source[0],s='"'===i||"'"===i;if(s){vl(e,1);const t=e.source.indexOf(i);-1===t?n=dl(e,e.source.length,4):(n=dl(e,t,4),vl(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const i=/["'<=`]/g;let s;for(;s=i.exec(t[0]););n=dl(e,t[0].length,4)}return{content:n,isQuoted:s,loc:pl(e,t)}}(e));const r=pl(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(i)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(i);let o,a=ml(i,"."),l=t[1]||(a||ml(i,":")?"bind":ml(i,"@")?"on":"slot");if(t[2]){const s="slot"===l,r=i.lastIndexOf(t[2]),a=pl(e,_l(e,n,r),_l(e,n,r+t[2].length+(s&&t[3]||"").length));let c=t[2],u=!0;c.startsWith("[")?(u=!1,c=c.endsWith("]")?c.slice(1,c.length-1):c.slice(1)):s&&(c+=t[3]||""),o={type:4,content:c,isStatic:u,constType:u?3:0,loc:a}}if(s&&s.isQuoted){const e=s.loc;e.start.offset++,e.start.column++,e.end=Ia(e.start,s.content),e.source=e.source.slice(1,-1)}const c=t[3]?t[3].slice(1).split("."):[];return a&&c.push("prop"),{type:7,name:l,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:o,modifiers:c,loc:r}}return!e.inVPre&&ml(i,"v-"),{type:6,name:i,value:s&&{type:2,content:s.content,loc:s.loc},loc:r}}function ul(e,t){const[n,i]=e.options.delimiters,s=e.source.indexOf(i,n.length);if(-1===s)return;const r=fl(e);vl(e,n.length);const o=fl(e),a=fl(e),l=s-n.length,c=e.source.slice(0,l),u=dl(e,l,t),h=u.trim(),d=u.indexOf(h);return d>0&&Ba(o,c,d),Ba(a,c,l-(u.length-h.length-d)),vl(e,i.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:pl(e,o,a)},loc:pl(e,r)}}function hl(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let i=e.source.length;for(let t=0;t<n.length;t++){const s=e.source.indexOf(n[t],1);-1!==s&&i>s&&(i=s)}const s=fl(e);return{type:2,content:dl(e,i,t),loc:pl(e,s)}}function dl(e,t,n){const i=e.source.slice(0,t);return vl(e,t),2!==n&&3!==n&&i.includes("&")?e.options.decodeEntities(i,4===n):i}function fl(e){const{column:t,line:n,offset:i}=e;return{column:t,line:n,offset:i}}function pl(e,t,n){return{start:t,end:n=n||fl(e),source:e.originalSource.slice(t.offset,n.offset)}}function gl(e){return e[e.length-1]}function ml(e,t){return e.startsWith(t)}function vl(e,t){const{source:n}=e;Ba(e,n,t),e.source=n.slice(t)}function yl(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&vl(e,t[0].length)}function _l(e,t,n){return Ia(t,e.originalSource.slice(t.offset,n),n)}function bl(e,t,n){const i=e.source;switch(t){case 0:if(ml(i,"</"))for(let e=n.length-1;e>=0;--e)if(wl(i,n[e].tag))return!0;break;case 1:case 2:{const e=gl(n);if(e&&wl(i,e.tag))return!0;break}case 3:if(ml(i,"]]>"))return!0}return!i}function wl(e,t){return ml(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function xl(e,t){Tl(e,t,Sl(e,e.children[0]))}function Sl(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Va(t)}function Tl(e,t,n=!1){const{children:i}=e,s=i.length;let r=0;for(let e=0;e<i.length;e++){const s=i[e];if(1===s.type&&0===s.tagType){const e=n?0:El(s,t);if(e>0){if(e>=2){s.codegenNode.patchFlag="-1",s.codegenNode=t.hoist(s.codegenNode),r++;continue}}else{const e=s.codegenNode;if(13===e.type){const n=Ml(e);if((!n||512===n||1===n)&&Ol(s,t)>=2){const n=Al(s);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}else 12===s.type&&El(s.content,t)>=2&&(s.codegenNode=t.hoist(s.codegenNode),r++);if(1===s.type){const e=1===s.tagType;e&&t.scopes.vSlot++,Tl(s,t),e&&t.scopes.vSlot--}else if(11===s.type)Tl(s,t,1===s.children.length);else if(9===s.type)for(let e=0;e<s.branches.length;e++)Tl(s.branches[e],t,1===s.branches[e].children.length)}r&&t.transformHoist&&t.transformHoist(i,t,e),r&&r===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&k(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(va(e.codegenNode.children)))}function El(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const i=n.get(e);if(void 0!==i)return i;const s=e.codegenNode;if(13!==s.type)return 0;if(s.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Ml(s))return n.set(e,0),0;{let i=3;const r=Ol(e,t);if(0===r)return n.set(e,0),0;r<i&&(i=r);for(let s=0;s<e.children.length;s++){const r=El(e.children[s],t);if(0===r)return n.set(e,0),0;r<i&&(i=r)}if(i>1)for(let s=0;s<e.props.length;s++){const r=e.props[s];if(7===r.type&&"bind"===r.name&&r.exp){const s=El(r.exp,t);if(0===s)return n.set(e,0),0;s<i&&(i=s)}}return s.isBlock&&(t.removeHelper(Do),t.removeHelper(qa(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(Wa(t.inSSR,s.isComponent))),n.set(e,i),i}case 2:case 3:return 3;default:return 0;case 5:case 12:return El(e.content,t);case 4:return e.constType;case 8:let r=3;for(let n=0;n<e.children.length;n++){const i=e.children[n];if(P(i)||N(i))continue;const s=El(i,t);if(0===s)return 0;s<r&&(r=s)}return r}}const Cl=new Set([Zo,Jo,ea,ta]);function kl(e,t){if(14===e.type&&!P(e.callee)&&Cl.has(e.callee)){const n=e.arguments[0];if(4===n.type)return El(n,t);if(14===n.type)return kl(n,t)}return 0}function Ol(e,t){let n=3;const i=Al(e);if(i&&15===i.type){const{properties:e}=i;for(let i=0;i<e.length;i++){const{key:s,value:r}=e[i],o=El(s,t);if(0===o)return o;let a;if(o<n&&(n=o),a=4===r.type?El(r,t):14===r.type?kl(r,t):0,0===a)return a;a<n&&(n=a)}}return n}function Al(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ml(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ll(e,t){const n=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,cacheHandlers:s=!1,nodeTransforms:r=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:l=y,isCustomElement:c=y,expressionPlugins:u=[],scopeId:h=null,slotted:d=!0,ssr:f=!1,inSSR:p=!1,ssrCssVars:g="",bindingMetadata:v=m,inline:_=!1,isTS:b=!1,onError:w=Co,onWarn:x=ko,compatConfig:S}){const T=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:T&&X(W(T[1])),prefixIdentifiers:n,hoistStatic:i,cacheHandlers:s,nodeTransforms:r,directiveTransforms:o,transformHoist:a,isBuiltInComponent:l,isCustomElement:c,expressionPlugins:u,scopeId:h,slotted:d,ssr:f,inSSR:p,ssrCssVars:g,bindingMetadata:v,inline:_,isTS:b,onError:w,onWarn:x,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){const t=E.helpers.get(e);if(t){const n=t-1;n?E.helpers.set(e,n):E.helpers.delete(e)}},helperString:e=>`_${pa[E.helper(e)]}`,replaceNode(e){E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){const t=e?E.parent.children.indexOf(e):E.currentNode?E.childIndex:-1;e&&e!==E.currentNode?E.childIndex>t&&(E.childIndex--,E.onNodeRemoved()):(E.currentNode=null,E.onNodeRemoved()),E.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){P(e)&&(e=ba(e)),E.hoists.push(e);const t=ba(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ga}}(E.cached++,e,t)};return E}(e,t);Pl(e,n),t.hoistStatic&&xl(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:i}=e;if(1===i.length){const n=i[0];if(Sl(e,n)&&n.codegenNode){const i=n.codegenNode;13===i.type&&Ga(i,t),e.codegenNode=i}else e.codegenNode=n}else if(i.length>1){let i=64;e.codegenNode=ma(t,n(Ao),void 0,e.children,i+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function Pl(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(k(r)?i.push(...r):i.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Fo);break;case 5:t.ssr||t.helper(Go);break;case 9:for(let n=0;n<e.branches.length;n++)Pl(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];P(s)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=i,Pl(s,t))}}(e,t)}t.currentNode=e;let s=i.length;for(;s--;)i[s]()}function Nl(e,t){const n=P(e)?t=>t===e:t=>e.test(t);return(e,i)=>{if(1===e.type){const{props:s}=e;if(3===e.tagType&&s.some($a))return;const r=[];for(let o=0;o<s.length;o++){const a=s[o];if(7===a.type&&n(a.name)){s.splice(o,1),o--;const n=t(e,a,i);n&&r.push(n)}}return r}}}const Dl="/*#__PURE__*/";function Il(e,t,{helper:n,push:i,newline:s,isTS:r}){const o=n("component"===t?Ho:Wo);for(let n=0;n<e.length;n++){let a=e[n];const l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${Ka(a,t)} = ${o}(${JSON.stringify(a)}${l?", true":""})${r?"!":""}`),n<e.length-1&&s()}}function Bl(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Rl(e,t,n),n&&t.deindent(),t.push("]")}function Rl(e,t,n=!1,i=!0){const{push:s,newline:r}=t;for(let o=0;o<e.length;o++){const a=e[o];P(a)?s(a):k(a)?Bl(a,t):zl(a,t),o<e.length-1&&(n?(i&&s(","),r()):i&&s(", "))}}function zl(e,t){if(P(e))t.push(e);else if(N(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:zl(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Fl(e,t);break;case 5:!function(e,t){const{push:n,helper:i,pure:s}=t;s&&n(Dl),n(`${i(Go)}(`),zl(e.content,t),n(")")}(e,t);break;case 8:jl(e,t);break;case 3:!function(e,t){const{push:n,helper:i,pure:s}=t;s&&n(Dl),n(`${i(Fo)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:i,pure:s}=t,{tag:r,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:h,disableTracking:d,isComponent:f}=e;u&&n(i(Yo)+"("),h&&n(`(${i(Do)}(${d?"true":""}), `),s&&n(Dl);n(i(h?qa(t.inSSR,f):Wa(t.inSSR,f))+"(",e),Rl(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([r,o,a,l,c]),t),n(")"),h&&n(")"),u&&(n(", "),zl(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:i,pure:s}=t,r=P(e.callee)?e.callee:i(e.callee);s&&n(Dl),n(r+"(",e),Rl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:i,deindent:s,newline:r}=t,{properties:o}=e;if(!o.length)return void n("{}",e);const a=o.length>1||!1;n(a?"{":"{ "),a&&i();for(let e=0;e<o.length;e++){const{key:i,value:s}=o[e];$l(i,t),n(": "),zl(s,t),e<o.length-1&&(n(","),r())}a&&s(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){Bl(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:i,deindent:s}=t,{params:r,returns:o,body:a,newline:l,isSlot:c}=e;c&&n(`_${pa[ca]}(`),n("(",e),k(r)?Rl(r,t):r&&zl(r,t),n(") => "),(l||a)&&(n("{"),i()),o?(l&&n("return "),k(o)?Bl(o,t):zl(o,t)):a&&zl(a,t),(l||a)&&(s(),n("}")),c&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:i,alternate:s,newline:r}=e,{push:o,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Aa(n.content);e&&o("("),Fl(n,t),e&&o(")")}else o("("),zl(n,t),o(")");r&&a(),t.indentLevel++,r||o(" "),o("? "),zl(i,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=19===s.type;u||t.indentLevel++,zl(s,t),u||t.indentLevel--,r&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:i,indent:s,deindent:r,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(s(),n(`${i(oa)}(-1),`),o()),n(`_cache[${e.index}] = `),zl(e.value,t),e.isVNode&&(n(","),o(),n(`${i(oa)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")")}(e,t);break;case 21:Rl(e.body,t,!0,!1)}}function Fl(e,t){const{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,e)}function jl(e,t){for(let n=0;n<e.children.length;n++){const i=e.children[n];P(i)?t.push(i):zl(i,t)}}function $l(e,t){const{push:n}=t;8===e.type?(n("["),jl(e,t),n("]")):e.isStatic?n(Aa(e.content)?e.content:JSON.stringify(e.content),e):n(`[${e.content}]`,e)}const Hl=Nl(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,i){if("else"===t.name||t.exp&&t.exp.content.trim()||(t.exp=ba("true",!1,t.exp?t.exp.loc:e.loc)),"if"===t.name){const s=Vl(e,t),r={type:9,loc:e.loc,branches:[s]};if(n.replaceNode(r),i)return i(r,s,!0)}else{const s=n.parent.children;let r=s.indexOf(e);for(;r-- >=-1;){const o=s[r];if(!o||2!==o.type||o.content.trim().length){if(o&&9===o.type){n.removeNode();const s=Vl(e,t);o.branches.push(s);const r=i&&i(o,s,!1);Pl(s,n),r&&r(),n.currentNode=null}break}n.removeNode(o)}}}(e,t,n,((e,t,i)=>{const s=n.parent.children;let r=s.indexOf(e),o=0;for(;r-- >=0;){const e=s[r];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(i)e.codegenNode=Wl(t,o,n);else{const i=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);i.alternate=Wl(t,o+e.branches.length-1,n)}}}))));function Vl(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ra(e,"for")?[e]:e.children,userKey:za(e,"key")}}function Wl(e,t,n){return e.condition?Ta(e.condition,ql(e,t,n),xa(n.helper(Fo),['""',"true"])):ql(e,t,n)}function ql(e,t,n){const{helper:i}=n,s=_a("key",ba(`${t}`,!1,ga,2)),{children:r}=e,o=r[0];if(1!==r.length||1!==o.type){if(1===r.length&&11===o.type){const e=o.codegenNode;return Ua(e,s,n),e}{let t=64;return ma(n,i(Ao),ya([s]),r,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=14===(a=e).type&&a.callee===da?a.arguments[1].returns:a;return 13===t.type&&Ga(t,n),Ua(t,s,n),e}var a}const Yl=Nl("for",((e,t,n)=>{const{helper:i,removeHelper:s}=n;return function(e,t,n,i){if(!t.exp)return;const s=Gl(t.exp);if(!s)return;const{scopes:r}=n,{source:o,value:a,key:l,index:c}=s,u={type:11,loc:t.loc,source:o,valueAlias:a,keyAlias:l,objectIndexAlias:c,parseResult:s,children:Ha(e)?e.children:[e]};n.replaceNode(u),r.vFor++;const h=i&&i(u);return()=>{r.vFor--,h&&h()}}(e,t,n,(t=>{const r=xa(i(Xo),[t.source]),o=Ha(e),a=Ra(e,"memo"),l=za(e,"key"),c=l&&(6===l.type?ba(l.value.content,!0):l.exp),u=l?_a("key",c):null,h=4===t.source.type&&t.source.constType>0,d=h?64:l?128:256;return t.codegenNode=ma(n,i(Ao),void 0,r,d+"",void 0,void 0,!0,!h,!1,e.loc),()=>{let l;const{children:d}=t,f=1!==d.length||1!==d[0].type,p=Va(e)?e:o&&1===e.children.length&&Va(e.children[0])?e.children[0]:null;if(p?(l=p.codegenNode,o&&u&&Ua(l,u,n)):f?l=ma(n,i(Ao),u?ya([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,o&&u&&Ua(l,u,n),l.isBlock!==!h&&(l.isBlock?(s(Do),s(qa(n.inSSR,l.isComponent))):s(Wa(n.inSSR,l.isComponent))),l.isBlock=!h,l.isBlock?(i(Do),i(qa(n.inSSR,l.isComponent))):i(Wa(n.inSSR,l.isComponent))),a){const e=Sa(Zl(t.parseResult,[ba("_cached")]));e.body={type:21,body:[wa(["const _memo = (",a.exp,")"]),wa(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(fa)}(_cached, _memo)) return _cached`]),wa(["const _item = ",l]),ba("_item.memo = _memo"),ba("return _item")],loc:ga},r.arguments.push(e,ba("_cache"),ba(String(n.cached++)))}else r.arguments.push(Sa(Zl(t.parseResult),l,!0))}}))})),Xl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ul=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Kl=/^\(|\)$/g;function Gl(e,t){const n=e.loc,i=e.content,s=i.match(Xl);if(!s)return;const[,r,o]=s,a={source:Ql(n,o.trim(),i.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0};let l=r.trim().replace(Kl,"").trim();const c=r.indexOf(l),u=l.match(Ul);if(u){l=l.replace(Ul,"").trim();const e=u[1].trim();let t;if(e&&(t=i.indexOf(e,c+l.length),a.key=Ql(n,e,t)),u[2]){const s=u[2].trim();s&&(a.index=Ql(n,s,i.indexOf(s,a.key?t+e.length:c+l.length)))}}return l&&(a.value=Ql(n,l,c)),a}function Ql(e,t,n){return ba(t,!1,Da(e,n,t.length))}function Zl({value:e,key:t,index:n},i=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||ba("_".repeat(t+1),!1)))}([e,t,n,...i])}const Jl=ba("undefined",!1),ec=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){if(Ra(e,"slot"))return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},tc=(e,t,n)=>Sa(e,t,!1,!0,t.length?t[0].loc:n);function nc(e,t,n=tc){t.helper(ca);const{children:i,loc:s}=e,r=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ra(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Ea(e)&&(a=!0),r.push(_a(e||ba("default",!0),n(t,i,s)))}let c=!1,u=!1;const h=[],d=new Set;for(let e=0;e<i.length;e++){const s=i[e];let f;if(!Ha(s)||!(f=Ra(s,"slot",!0))){3!==s.type&&h.push(s);continue}if(l)break;c=!0;const{children:p,loc:g}=s,{arg:m=ba("default",!0),exp:v}=f;let y;Ea(m)?y=m?m.content:"default":a=!0;const _=n(v,p,g);let b,w,x;if(b=Ra(s,"if"))a=!0,o.push(Ta(b.exp,ic(m,_),Jl));else if(w=Ra(s,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=i[n],3===t.type););if(t&&Ha(t)&&Ra(t,"if")){i.splice(e,1),e--;let t=o[o.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=w.exp?Ta(w.exp,ic(m,_),Jl):ic(m,_)}}else if(x=Ra(s,"for")){a=!0;const e=x.parseResult||Gl(x.exp);e&&o.push(xa(t.helper(Xo),[e.source,Sa(Zl(e),ic(m,_),!0)]))}else{if(y){if(d.has(y))continue;d.add(y),"default"===y&&(u=!0)}r.push(_a(m,_))}}if(!l){const e=(e,t)=>_a("default",n(e,t,s));c?h.length&&h.some((e=>rc(e)))&&(u||r.push(e(void 0,h))):r.push(e(void 0,i))}const f=a?2:sc(e.children)?3:1;let p=ya(r.concat(_a("_",ba(f+"",!1))),s);return o.length&&(p=xa(t.helper(Ko),[p,va(o)])),{slots:p,hasDynamicSlots:a}}function ic(e,t){return ya([_a("name",e),_a("fn",t)])}function sc(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||sc(n.children))return!0;break;case 9:if(sc(n.branches))return!0;break;case 10:case 11:if(sc(n.children))return!0}}return!1}function rc(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():rc(e.content))}const oc=new WeakMap,ac=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:i}=e,s=1===e.tagType;let r,o,a,l,c,u,h=s?function(e,t,n=!1){let{tag:i}=e;const s=hc(i),r=za(e,"is");if(r)if(s){const e=6===r.type?r.value&&ba(r.value.content,!0):r.exp;if(e)return xa(t.helper(Vo),[e])}else 6===r.type&&r.value.content.startsWith("vue:")&&(i=r.value.content.slice(4));const o=!s&&Ra(e,"is");if(o&&o.exp)return xa(t.helper(Vo),[o.exp]);const a=ka(i)||t.isBuiltInComponent(i);return a?(n||t.helper(a),a):(t.helper(Ho),t.components.add(i),Ka(i,"component"))}(e,t):`"${n}"`,d=0,f=D(h)&&h.callee===Vo||h===Mo||h===Lo||!s&&("svg"===n||"foreignObject"===n);if(i.length>0){const n=lc(e,t);r=n.props,d=n.patchFlag,c=n.dynamicPropNames;const i=n.directives;u=i&&i.length?va(i.map((e=>function(e,t){const n=[],i=oc.get(e);i?n.push(t.helperString(i)):(t.helper(Wo),t.directives.add(e.name),n.push(Ka(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=ba("true",!1,s);n.push(ya(e.modifiers.map((e=>_a(e,t))),s))}return va(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(h===Po&&(f=!0,d|=1024),s&&h!==Mo&&h!==Po){const{slots:n,hasDynamicSlots:i}=nc(e,t);o=n,i&&(d|=1024)}else if(1===e.children.length&&h!==Mo){const n=e.children[0],i=n.type,s=5===i||8===i;s&&0===El(n,t)&&(d|=1),o=s||2===i?n:e.children}else o=e.children;0!==d&&(a=String(d),c&&c.length&&(l=function(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}(c))),e.codegenNode=ma(t,h,r,o,a,l,u,!!f,!1,s,e.loc)};function lc(e,t,n=e.props,i=!1){const{tag:s,loc:r,children:o}=e,a=1===e.tagType;let l=[];const c=[],u=[],h=o.length>0;let d=!1,f=0,p=!1,g=!1,m=!1,v=!1,y=!1,_=!1;const b=[],x=({key:e,value:n})=>{if(Ea(e)){const i=e.content,s=w(i);if(a||!s||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||j(i)||(v=!0),s&&j(i)&&(_=!0),20===n.type||(4===n.type||8===n.type)&&El(n,t)>0)return;"ref"===i?p=!0:"class"===i?g=!0:"style"===i?m=!0:"key"===i||b.includes(i)||b.push(i),!a||"class"!==i&&"style"!==i||b.includes(i)||b.push(i)}else y=!0};for(let o=0;o<n.length;o++){const a=n[o];if(6===a.type){const{loc:e,name:n,value:i}=a;let r=!0;if("ref"===n&&(p=!0,t.scopes.vFor>0&&l.push(_a(ba("ref_for",!0),ba("true")))),"is"===n&&(hc(s)||i&&i.content.startsWith("vue:")))continue;l.push(_a(ba(n,!0,Da(e,0,n.length)),ba(i?i.content:"",r,i?i.loc:e)))}else{const{name:n,arg:o,exp:f,loc:p}=a,g="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Fa(o,"is")&&hc(s))continue;if(m&&i)continue;if((g&&Fa(o,"key")||m&&h&&Fa(o,"vue:before-update"))&&(d=!0),g&&Fa(o,"ref")&&t.scopes.vFor>0&&l.push(_a(ba("ref_for",!0),ba("true"))),!o&&(g||m)){y=!0,f&&(l.length&&(c.push(ya(cc(l),r)),l=[]),c.push(g?f:{type:14,loc:p,callee:t.helper(na),arguments:[f]}));continue}const v=t.directiveTransforms[n];if(v){const{props:n,needRuntime:s}=v(a,e,t);!i&&n.forEach(x),l.push(...n),s&&(u.push(a),N(s)&&oc.set(a,s))}else $(n)||(u.push(a),h&&(d=!0))}}let S;if(c.length?(l.length&&c.push(ya(cc(l),r)),S=c.length>1?xa(t.helper(Qo),c,r):c[0]):l.length&&(S=ya(cc(l),r)),y?f|=16:(g&&!a&&(f|=2),m&&!a&&(f|=4),b.length&&(f|=8),v&&(f|=32)),d||0!==f&&32!==f||!(p||_||u.length>0)||(f|=512),!t.inSSR&&S)switch(S.type){case 15:let e=-1,n=-1,i=!1;for(let t=0;t<S.properties.length;t++){const s=S.properties[t].key;Ea(s)?"class"===s.content?e=t:"style"===s.content&&(n=t):s.isHandlerKey||(i=!0)}const s=S.properties[e],r=S.properties[n];i?S=xa(t.helper(ea),[S]):(s&&!Ea(s.value)&&(s.value=xa(t.helper(Zo),[s.value])),!r||Ea(r.value)||!m&&17!==r.value.type||(r.value=xa(t.helper(Jo),[r.value])));break;case 14:break;default:S=xa(t.helper(ea),[xa(t.helper(ta),[S])])}return{props:S,directives:u,patchFlag:f,dynamicPropNames:b,shouldUseBlock:d}}function cc(e){const t=new Map,n=[];for(let i=0;i<e.length;i++){const s=e[i];if(8===s.key.type||!s.key.isStatic){n.push(s);continue}const r=s.key.content,o=t.get(r);o?("style"===r||"class"===r||w(r))&&uc(o,s):(t.set(r,s),n.push(s))}return n}function uc(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=va([e.value,t.value],e.loc)}function hc(e){return"component"===e||"Component"===e}const dc=(e,t)=>{if(Va(e)){const{children:n,loc:i}=e,{slotName:s,slotProps:r}=function(e,t){let n,i='"default"';const s=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=W(n.name),s.push(n))):"bind"===n.name&&Fa(n.arg,"name")?n.exp&&(i=n.exp):("bind"===n.name&&n.arg&&Ea(n.arg)&&(n.arg.content=W(n.arg.content)),s.push(n))}if(s.length>0){const{props:i,directives:r}=lc(e,t,s);n=i}return{slotName:i,slotProps:n}}(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),n.length&&(o[3]=Sa([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=xa(t.helper(Uo),o,i)}},fc=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,pc=(e,t,n,i)=>{const{loc:s,modifiers:r,arg:o}=e;let a;if(4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=ba(U(W(e)),!0,o.loc)}else a=wa([`${n.helperString(ra)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(ra)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Na(l.content),t=!(e||fc.test(l.content)),n=l.content.includes(";");(t||c&&e)&&(l=wa([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[_a(a,l||ba("() => {}",!1,s))]};return i&&(u=i(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},gc=(e,t,n)=>{const{exp:i,modifiers:s,loc:r}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),s.includes("camel")&&(4===o.type?o.content=o.isStatic?W(o.content):`${n.helperString(ia)}(${o.content})`:(o.children.unshift(`${n.helperString(ia)}(`),o.children.push(")"))),n.inSSR||(s.includes("prop")&&mc(o,"."),s.includes("attr")&&mc(o,"^")),!i||4===i.type&&!i.content.trim()?{props:[_a(o,ba("",!0,r))]}:{props:[_a(o,i)]}},mc=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},vc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let i,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ja(t)){s=!0;for(let s=e+1;s<n.length;s++){const r=n[s];if(!ja(r)){i=void 0;break}i||(i=n[e]={type:8,loc:t.loc,children:[t]}),i.children.push(" + ",r),n.splice(s,1),s--}}}if(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name])))))for(let e=0;e<n.length;e++){const i=n[e];if(ja(i)||8===i.type){const s=[];2===i.type&&" "===i.content||s.push(i),t.ssr||0!==El(i,t)||s.push("1"),n[e]={type:12,content:i,loc:i.loc,codegenNode:xa(t.helper(jo),s)}}}}},yc=new WeakSet,_c=(e,t)=>{if(1===e.type&&Ra(e,"once",!0)){if(yc.has(e)||t.inVOnce)return;return yc.add(e),t.inVOnce=!0,t.helper(oa),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},bc=(e,t,n)=>{const{exp:i,arg:s}=e;if(!i)return wc();const r=i.loc.source,o=4===i.type?i.content:r;if(!o.trim()||!Na(o))return wc();const a=s||ba("modelValue",!0),l=s?Ea(s)?`onUpdate:${s.content}`:wa(['"onUpdate:" + ',s]):"onUpdate:modelValue";let c;c=wa([(n.isTS?"($event: any)":"$event")+" => ((",i,") = $event)"]);const u=[_a(a,e.exp),_a(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Aa(e)?e:JSON.stringify(e))+": true")).join(", "),n=s?Ea(s)?`${s.content}Modifiers`:wa([s,' + "Modifiers"']):"modelModifiers";u.push(_a(n,ba(`{ ${t} }`,!1,e.loc,2)))}return wc(u)};function wc(e=[]){return{props:e}}const xc=new WeakSet,Sc=(e,t)=>{if(1===e.type){const n=Ra(e,"memo");if(!n||xc.has(e))return;return xc.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&Ga(i,t),e.codegenNode=xa(t.helper(da),[n.exp,Sa(void 0,i),"_cache",String(t.cached++)]))}}};function Tc(e,t={}){const n=t.onError||Co,i="module"===t.mode;!0===t.prefixIdentifiers?n(Oo(46)):i&&n(Oo(47)),t.cacheHandlers&&n(Oo(48)),t.scopeId&&!i&&n(Oo(49));const s=P(e)?function(e,t={}){const n=function(e,t){const n=S({},Ja);let i;for(i in t)n[i]=void 0===t[i]?Ja[i]:t[i];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),i=fl(n);return function(e,t=ga){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(el(n,0,[]),pl(n,i))}(e,t):e,[r,o]=[[_c,Hl,Sc,Yl,dc,ac,ec,vc],{on:pc,bind:gc,model:bc}];return Ll(s,S({},t,{prefixIdentifiers:!1,nodeTransforms:[...r,...t.nodeTransforms||[]],directiveTransforms:S({},o,t.directiveTransforms||{})})),function(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:i=!1,filename:s="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:h=!1,inSSR:d=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:r,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:h,inSSR:d,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${pa[e]}`,push(e,t){f.code+=e},indent(){p(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:p(--f.indentLevel)},newline(){p(f.indentLevel)}};function p(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:r,indent:o,deindent:a,newline:l,ssr:c}=n,u=e.helpers.length>0,h=!r&&"module"!==i;if(function(e,t){const{push:n,newline:i,runtimeGlobalName:s}=t,r=s,o=e=>`${pa[e]}: _${pa[e]}`;e.helpers.length>0&&(n(`const _Vue = ${r}\n`),e.hoists.length)&&n(`const { ${[Ro,zo,Fo,jo,$o].filter((t=>e.helpers.includes(t))).map(o).join(", ")} } = _Vue\n`),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:i}=t;i();for(let s=0;s<e.length;s++){const r=e[s];r&&(n(`const _hoisted_${s+1} = `),zl(r,t),i())}t.pure=!1}(e.hoists,t),i(),n("return ")}(e,n),s(`function ${c?"ssrRender":"render"}(${(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),o(),h&&(s("with (_ctx) {"),o(),u&&(s(`const { ${e.helpers.map((e=>`${pa[e]}: _${pa[e]}`)).join(", ")} } = _Vue`),s("\n"),l())),e.components.length&&(Il(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Il(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){s("let ");for(let t=0;t<e.temps;t++)s(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(s("\n"),l()),c||s("return "),e.codegenNode?zl(e.codegenNode,n):s("null"),h&&(a(),s("}")),a(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(s,S({},t,{prefixIdentifiers:!1}))}const Ec=Symbol(""),Cc=Symbol(""),kc=Symbol(""),Oc=Symbol(""),Ac=Symbol(""),Mc=Symbol(""),Lc=Symbol(""),Pc=Symbol(""),Nc=Symbol(""),Dc=Symbol("");var Ic;let Bc;Ic={[Ec]:"vModelRadio",[Cc]:"vModelCheckbox",[kc]:"vModelText",[Oc]:"vModelSelect",[Ac]:"vModelDynamic",[Mc]:"withModifiers",[Lc]:"withKeys",[Pc]:"vShow",[Nc]:"Transition",[Dc]:"TransitionGroup"},Object.getOwnPropertySymbols(Ic).forEach((e=>{pa[e]=Ic[e]}));const Rc=t("style,iframe,script,noscript",!0),zc={isVoidTag:d,isNativeTag:e=>u(e)||h(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Bc||(Bc=document.createElement("div")),t?(Bc.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Bc.children[0].getAttribute("foo")):(Bc.innerHTML=e,Bc.textContent)},isBuiltInComponent:e=>Ca(e,"Transition")?Nc:Ca(e,"TransitionGroup")?Dc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Rc(e))return 2}return 0}},Fc=(e,t)=>{const n=l(e);return ba(JSON.stringify(n),!1,t,3)},jc=t("passive,once,capture"),$c=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Hc=t("left,right"),Vc=t("onkeyup,onkeydown,onkeypress",!0),Wc=(e,t)=>Ea(e)&&"onclick"===e.content.toLowerCase()?ba(t,!0):4!==e.type?wa(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,qc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:ba("style",!0,t.loc),exp:Fc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:i,loc:s}=e;return t.children.length&&(t.children.length=0),{props:[_a(ba("innerHTML",!0,s),i||ba("",!0))]}},text:(e,t,n)=>{const{exp:i,loc:s}=e;return t.children.length&&(t.children.length=0),{props:[_a(ba("textContent",!0),i?xa(n.helperString(Go),[i],s):ba("",!0))]}},model:(e,t,n)=>{const i=bc(e,t,n);if(!i.props.length||1===t.tagType)return i;const{tag:s}=t,r=n.isCustomElement(s);if("input"===s||"textarea"===s||"select"===s||r){let e=kc,o=!1;if("input"===s||r){const n=za(t,"type");if(n){if(7===n.type)e=Ac;else if(n.value)switch(n.value.content){case"radio":e=Ec;break;case"checkbox":e=Cc;break;case"file":o=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Ac)}else"select"===s&&(e=Oc);o||(i.needRuntime=n.helper(e))}return i.props=i.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),i},on:(e,t,n)=>pc(e,0,n,(t=>{const{modifiers:i}=e;if(!i.length)return t;let{key:s,value:r}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=((e,t,n,i)=>{const s=[],r=[],o=[];for(let n=0;n<t.length;n++){const i=t[n];jc(i)?o.push(i):Hc(i)?Ea(e)?Vc(e.content)?s.push(i):r.push(i):(s.push(i),r.push(i)):$c(i)?r.push(i):s.push(i)}return{keyModifiers:s,nonKeyModifiers:r,eventOptionModifiers:o}})(s,i);if(a.includes("right")&&(s=Wc(s,"onContextmenu")),a.includes("middle")&&(s=Wc(s,"onMouseup")),a.length&&(r=xa(n.helper(Mc),[r,JSON.stringify(a)])),!o.length||Ea(s)&&!Vc(s.content)||(r=xa(n.helper(Lc),[r,JSON.stringify(o)])),l.length){const e=l.map(X).join("");s=Ea(s)?ba(`${s.content}${e}`,!0):wa(["(",s,`) + "${e}"`])}return{props:[_a(s,r)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Pc)})},Uc=Object.create(null);function Kc(e,t){if(!P(e)){if(!e.nodeType)return y;e=e.innerHTML}const n=e,i=Uc[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:s}=function(e,t={}){return Tc(e,S({},zc,t,{nodeTransforms:[qc,...Yc,...t.nodeTransforms||[]],directiveTransforms:S({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,S({hoistStatic:!0,onError:void 0,onWarn:y},t)),r=new Function(s)();return r._rc=!0,Uc[n]=r}return Us(Kc),e.BaseTransition=Bn,e.Comment=as,e.EffectScope=te,e.Fragment=rs,e.KeepAlive=Xn,e.ReactiveEffect=de,e.Static=ls,e.Suspense=_n,e.Teleport=es,e.Text=os,e.Transition=Mr,e.TransitionGroup=Ur,e.VueElement=Er,e.callWithAsyncErrorHandling=It,e.callWithErrorHandling=Dt,e.camelize=W,e.capitalize=X,e.cloneVNode=Es,e.compatUtils=null,e.compile=Kc,e.computed=tr,e.createApp=(...e)=>{const t=bo().createApp(...e),{mount:n}=t;return t.mount=e=>{const i=To(e);if(!i)return;const s=t._component;L(s)||s.render||s.template||(s.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t},e.createBlock=ms,e.createCommentVNode=function(e="",t=!1){return t?(hs(),ms(as,null,e)):Ss(as,null,e)},e.createElementBlock=function(e,t,n,i,s,r){return gs(xs(e,t,n,i,s,r,!0))},e.createElementVNode=xs,e.createHydrationRenderer=Yi,e.createPropsRestProxy=function(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n},e.createRenderer=qi,e.createSSRApp=(...e)=>{const t=wo().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=To(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(k(i))for(let t=0;t<i.length;t++)e[i[t].name]=i[t].fn;else i&&(e[i.name]=i.fn)}return e},e.createStaticVNode=function(e,t){const n=Ss(ls,null,e);return n.staticCount=t,n},e.createTextVNode=Cs,e.createVNode=Ss,e.customRef=function(e){return new kt(e)},e.defineAsyncComponent=function(e){L(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:r,suspensible:o=!0,onError:a}=e;let l,c=null,u=0;const h=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,h()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Vn({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return l},setup(){const e=Fs;if(l)return()=>qn(l,e);const t=t=>{c=null,Bt(t,e,13,!i)};if(o&&e.suspense)return h().then((t=>()=>qn(t,e))).catch((e=>(t(e),()=>i?Ss(i,{error:e}):null)));const a=wt(!1),u=wt(),d=wt(!!s);return s&&setTimeout((()=>{d.value=!1}),s),null!=r&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}}),r),h().then((()=>{a.value=!0,e.parent&&Yn(e.parent.vnode)&&Qt(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?qn(l,e):u.value&&i?Ss(i,{error:u.value}):n&&!d.value?Ss(n):void 0}})},e.defineComponent=Vn,e.defineCustomElement=Sr,e.defineEmits=function(){return null},e.defineExpose=function(e){},e.defineProps=function(){return null},e.defineSSRCustomElement=e=>Sr(e,So),e.effect=function(e,t){e.effect&&(e=e.effect.fn);const n=new de(e);t&&(S(n,t),t.scope&&ne(n,t.scope)),t&&t.lazy||n.run();const i=n.run.bind(n);return i.effect=n,i},e.effectScope=function(e){return new te(e)},e.getCurrentInstance=js,e.getCurrentScope=function(){return ee},e.getTransitionRawChildren=Hn,e.guardReactiveProps=Ts,e.h=ir,e.handleError=Bt,e.hydrate=So,e.initCustomFormatter=function(){},e.initDirectivesForSSR=Eo,e.inject=Cn,e.isMemoSame=rr,e.isProxy=ft,e.isReactive=ut,e.isReadonly=ht,e.isRef=bt,e.isRuntimeOnly=()=>!Ws,e.isShallow=dt,e.isVNode=vs,e.markRaw=gt,e.mergeDefaults=function(e,t){const n=k(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const i=n[e];i?k(i)||L(i)?n[e]={type:i,default:t[e]}:i.default=t[e]:null===i&&(n[e]={default:t[e]})}return n},e.mergeProps=Ms,e.nextTick=Gt,e.normalizeClass=c,e.normalizeProps=function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!P(t)&&(e.class=c(t)),n&&(e.style=r(n)),e},e.normalizeStyle=r,e.onActivated=Kn,e.onBeforeMount=ii,e.onBeforeUnmount=ai,e.onBeforeUpdate=ri,e.onDeactivated=Gn,e.onErrorCaptured=di,e.onMounted=si,e.onRenderTracked=hi,e.onRenderTriggered=ui,e.onScopeDispose=function(e){ee&&ee.cleanups.push(e)},e.onServerPrefetch=ci,e.onUnmounted=li,e.onUpdated=oi,e.openBlock=hs,e.popScopeId=function(){hn=null},e.provide=En,e.proxyRefs=Ct,e.pushScopeId=function(e){hn=e},e.queuePostFlushCb=en,e.reactive=ot,e.readonly=lt,e.ref=wt,e.registerRuntimeCompiler=Us,e.render=xo,e.renderList=function(e,t,n,i){let s;const r=n&&n[i];if(k(e)||P(e)){s=new Array(e.length);for(let n=0,i=e.length;n<i;n++)s[n]=t(e[n],n,void 0,r&&r[n])}else if("number"==typeof e){s=new Array(e);for(let n=0;n<e;n++)s[n]=t(n+1,n,void 0,r&&r[n])}else if(D(e))if(e[Symbol.iterator])s=Array.from(e,((e,n)=>t(e,n,void 0,r&&r[n])));else{const n=Object.keys(e);s=new Array(n.length);for(let i=0,o=n.length;i<o;i++){const o=n[i];s[i]=t(e[o],o,i,r&&r[i])}}else s=[];return n&&(n[i]=s),s},e.renderSlot=function(e,t,n={},i,s){if(un.isCE)return Ss("slot","default"===t?null:{name:t},i&&i());let r=e[t];r&&r._c&&(r._d=!1),hs();const o=r&&Ps(r(n)),a=ms(rs,{key:n.key||`_${t}`},o||(i?i():[]),o&&1===e._?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a},e.resolveComponent=function(e,t){return is(ts,e,!0,t)||e},e.resolveDirective=function(e){return is("directives",e)},e.resolveDynamicComponent=function(e){return P(e)?is(ts,e,!1)||e:e||ns},e.resolveFilter=null,e.resolveTransitionHooks=zn,e.setBlockTracking=ps,e.setDevtoolsHook=function t(n,i){var s,r;e.devtools=n,e.devtools?(e.devtools.enabled=!0,on.forEach((({event:t,args:n})=>e.devtools.emit(t,...n))),on=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(s=window.navigator)||void 0===s?void 0:s.userAgent)||void 0===r?void 0:r.includes("jsdom"))?((i.__VUE_DEVTOOLS_HOOK_REPLAY__=i.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{t(e,i)})),setTimeout((()=>{e.devtools||(i.__VUE_DEVTOOLS_HOOK_REPLAY__=null,on=[])}),3e3)):on=[]},e.setTransitionHooks=$n,e.shallowReactive=at,e.shallowReadonly=function(e){return ct(e,!0,De,tt,rt)},e.shallowRef=function(e){return xt(e,!0)},e.ssrContextKey=sr,e.ssrUtils=null,e.stop=function(e){e.effect.stop()},e.toDisplayString=e=>P(e)?e:null==e?"":k(e)||D(e)&&(e.toString===B||!L(e.toString))?JSON.stringify(e,g,2):String(e),e.toHandlerKey=U,e.toHandlers=function(e){const t={};for(const n in e)t[U(n)]=e[n];return t},e.toRaw=pt,e.toRef=At,e.toRefs=function(e){const t=k(e)?new Array(e.length):{};for(const n in e)t[n]=At(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){_t(e)},e.unref=Tt,e.useAttrs=function(){return nr().attrs},e.useCssModule=function(e="$style"){return m},e.useCssVars=function(e){const t=js();if(!t)return;const n=()=>Cr(t.subTree,e(t.proxy));kn(n),si((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),li((()=>e.disconnect()))}))},e.useSSRContext=()=>{},e.useSlots=function(){return nr().slots},e.useTransitionState=Dn,e.vModelCheckbox=no,e.vModelDynamic=co,e.vModelRadio=so,e.vModelSelect=ro,e.vModelText=to,e.vShow=go,e.version=or,e.warn=function(e,...t){me();const n=Lt.length?Lt[Lt.length-1].component:null,i=n&&n.appContext.config.warnHandler,s=function(){let e=Lt[Lt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}();if(i)Dt(i,n,11,[e+t.join(""),n&&n.proxy,s.map((({vnode:e})=>`at <${er(n,e.type)}>`)).join("\n"),s]);else{const n=[`[Vue warn]: ${e}`,...t];s.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=` at <${er(e.component,e.type,!!e.component&&null==e.component.parent)}`,s=">"+n;return e.props?[i,...Pt(e.props),s]:[i+s]}(e))})),t}(s)),console.warn(...n)}ve()},e.watch=An,e.watchEffect=function(e,t){return Mn(e,null,t)},e.watchPostEffect=kn,e.watchSyncEffect=function(e,t){return Mn(e,null,{flush:"sync"})},e.withAsyncContext=function(e){const t=js();let n=e();return Hs(),I(n)&&(n=n.catch((e=>{throw $s(t),e}))),[n,()=>$s(t)]},e.withCtx=fn,e.withDefaults=function(e,t){return null},e.withDirectives=function(e,t){if(null===un)return e;const n=un.proxy,i=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[s,r,o,a=m]=t[e];L(s)&&(s={mounted:s,updated:s}),s.deep&&Nn(r),i.push({dir:s,instance:n,value:r,oldValue:void 0,arg:o,modifiers:a})}return e},e.withKeys=(e,t)=>n=>{if(!("key"in n))return;const i=Y(n.key);return t.some((e=>e===i||po[e]===i))?e(n):void 0},e.withMemo=function(e,t,n,i){const s=n[i];if(s&&rr(s,e))return s;const r=t();return r.memo=e.slice(),n[i]=r},e.withModifiers=(e,t)=>(n,...i)=>{for(let e=0;e<t.length;e++){const i=fo[t[e]];if(i&&i(n,t))return}return e(n,...i)},e.withScopeId=e=>fn,Object.defineProperty(e,"__esModule",{value:!0}),e}({}),VanillaTilt=function(){"use strict";class e{constructor(t,n={}){if(!(t instanceof Node))throw"Can't initialize VanillaTilt because "+t+" is not a Node.";this.width=null,this.height=null,this.clientWidth=null,this.clientHeight=null,this.left=null,this.top=null,this.gammazero=null,this.betazero=null,this.lastgammazero=null,this.lastbetazero=null,this.transitionTimeout=null,this.updateCall=null,this.event=null,this.updateBind=this.update.bind(this),this.resetBind=this.reset.bind(this),this.element=t,this.settings=this.extendSettings(n),this.reverse=this.settings.reverse?-1:1,this.glare=e.isSettingTrue(this.settings.glare),this.glarePrerender=e.isSettingTrue(this.settings["glare-prerender"]),this.fullPageListening=e.isSettingTrue(this.settings["full-page-listening"]),this.gyroscope=e.isSettingTrue(this.settings.gyroscope),this.gyroscopeSamples=this.settings.gyroscopeSamples,this.elementListener=this.getElementListener(),this.glare&&this.prepareGlare(),this.fullPageListening&&this.updateClientSize(),this.addEventListeners(),this.reset(),this.updateInitialPosition()}static isSettingTrue(e){return""===e||!0===e||1===e}getElementListener(){if(this.fullPageListening)return window.document;if("string"==typeof this.settings["mouse-event-element"]){const e=document.querySelector(this.settings["mouse-event-element"]);if(e)return e}return this.settings["mouse-event-element"]instanceof Node?this.settings["mouse-event-element"]:this.element}addEventListeners(){this.onMouseEnterBind=this.onMouseEnter.bind(this),this.onMouseMoveBind=this.onMouseMove.bind(this),this.onMouseLeaveBind=this.onMouseLeave.bind(this),this.onWindowResizeBind=this.onWindowResize.bind(this),this.onDeviceOrientationBind=this.onDeviceOrientation.bind(this),this.elementListener.addEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.addEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.addEventListener("mousemove",this.onMouseMoveBind),(this.glare||this.fullPageListening)&&window.addEventListener("resize",this.onWindowResizeBind),this.gyroscope&&window.addEventListener("deviceorientation",this.onDeviceOrientationBind)}removeEventListeners(){this.elementListener.removeEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.removeEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.removeEventListener("mousemove",this.onMouseMoveBind),this.gyroscope&&window.removeEventListener("deviceorientation",this.onDeviceOrientationBind),(this.glare||this.fullPageListening)&&window.removeEventListener("resize",this.onWindowResizeBind)}destroy(){clearTimeout(this.transitionTimeout),null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.reset(),this.removeEventListeners(),this.element.vanillaTilt=null,delete this.element.vanillaTilt,this.element=null}onDeviceOrientation(e){if(null===e.gamma||null===e.beta)return;this.updateElementPosition(),this.gyroscopeSamples>0&&(this.lastgammazero=this.gammazero,this.lastbetazero=this.betazero,null===this.gammazero?(this.gammazero=e.gamma,this.betazero=e.beta):(this.gammazero=(e.gamma+this.lastgammazero)/2,this.betazero=(e.beta+this.lastbetazero)/2),this.gyroscopeSamples-=1);const t=this.settings.gyroscopeMaxAngleX-this.settings.gyroscopeMinAngleX,n=this.settings.gyroscopeMaxAngleY-this.settings.gyroscopeMinAngleY,i=t/this.width,s=n/this.height,r=(e.gamma-(this.settings.gyroscopeMinAngleX+this.gammazero))/i,o=(e.beta-(this.settings.gyroscopeMinAngleY+this.betazero))/s;null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event={clientX:r+this.left,clientY:o+this.top},this.updateCall=requestAnimationFrame(this.updateBind)}onMouseEnter(){this.updateElementPosition(),this.element.style.willChange="transform",this.setTransition()}onMouseMove(e){null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event=e,this.updateCall=requestAnimationFrame(this.updateBind)}onMouseLeave(){this.setTransition(),this.settings.reset&&requestAnimationFrame(this.resetBind)}reset(){this.event={clientX:this.left+this.width/2,clientY:this.top+this.height/2},this.element&&this.element.style&&(this.element.style.transform=`perspective(${this.settings.perspective}px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)`),this.resetGlare()}resetGlare(){this.glare&&(this.glareElement.style.transform="rotate(180deg) translate(-50%, -50%)",this.glareElement.style.opacity="0")}updateInitialPosition(){if(0===this.settings.startX&&0===this.settings.startY)return;this.onMouseEnter(),this.fullPageListening?this.event={clientX:(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.clientWidth,clientY:(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.clientHeight}:this.event={clientX:this.left+(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.width,clientY:this.top+(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.height};let e=this.settings.scale;this.settings.scale=1,this.update(),this.settings.scale=e,this.resetGlare()}getValues(){let e,t;return this.fullPageListening?(e=this.event.clientX/this.clientWidth,t=this.event.clientY/this.clientHeight):(e=(this.event.clientX-this.left)/this.width,t=(this.event.clientY-this.top)/this.height),e=Math.min(Math.max(e,0),1),t=Math.min(Math.max(t,0),1),{tiltX:(this.reverse*(this.settings.max-e*this.settings.max*2)).toFixed(2),tiltY:(this.reverse*(t*this.settings.max*2-this.settings.max)).toFixed(2),percentageX:100*e,percentageY:100*t,angle:Math.atan2(this.event.clientX-(this.left+this.width/2),-(this.event.clientY-(this.top+this.height/2)))*(180/Math.PI)}}updateElementPosition(){let e=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=e.left,this.top=e.top}update(){let e=this.getValues();this.element.style.transform="perspective("+this.settings.perspective+"px) rotateX("+("x"===this.settings.axis?0:e.tiltY)+"deg) rotateY("+("y"===this.settings.axis?0:e.tiltX)+"deg) scale3d("+this.settings.scale+", "+this.settings.scale+", "+this.settings.scale+")",this.glare&&(this.glareElement.style.transform=`rotate(${e.angle}deg) translate(-50%, -50%)`,this.glareElement.style.opacity=""+e.percentageY*this.settings["max-glare"]/100),this.element.dispatchEvent(new CustomEvent("tiltChange",{detail:e})),this.updateCall=null}prepareGlare(){if(!this.glarePrerender){const e=document.createElement("div");e.classList.add("js-tilt-glare");const t=document.createElement("div");t.classList.add("js-tilt-glare-inner"),e.appendChild(t),this.element.appendChild(e)}this.glareElementWrapper=this.element.querySelector(".js-tilt-glare"),this.glareElement=this.element.querySelector(".js-tilt-glare-inner"),this.glarePrerender||(Object.assign(this.glareElementWrapper.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}),Object.assign(this.glareElement.style,{position:"absolute",top:"50%",left:"50%","pointer-events":"none","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",transform:"rotate(180deg) translate(-50%, -50%)","transform-origin":"0% 0%",opacity:"0"}),this.updateGlareSize())}updateGlareSize(){if(this.glare){const e=2*(this.element.offsetWidth>this.element.offsetHeight?this.element.offsetWidth:this.element.offsetHeight);Object.assign(this.glareElement.style,{width:`${e}px`,height:`${e}px`})}}updateClientSize(){this.clientWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}onWindowResize(){this.updateGlareSize(),this.updateClientSize()}setTransition(){clearTimeout(this.transitionTimeout),this.element.style.transition=this.settings.speed+"ms "+this.settings.easing,this.glare&&(this.glareElement.style.transition=`opacity ${this.settings.speed}ms ${this.settings.easing}`),this.transitionTimeout=setTimeout((()=>{this.element.style.transition="",this.glare&&(this.glareElement.style.transition="")}),this.settings.speed)}extendSettings(e){let t={reverse:!1,max:15,startX:0,startY:0,perspective:1e3,easing:"cubic-bezier(.03,.98,.52,.99)",scale:1,speed:300,transition:!0,axis:null,glare:!1,"max-glare":1,"glare-prerender":!1,"full-page-listening":!1,"mouse-event-element":null,reset:!0,gyroscope:!0,gyroscopeMinAngleX:-45,gyroscopeMaxAngleX:45,gyroscopeMinAngleY:-45,gyroscopeMaxAngleY:45,gyroscopeSamples:10},n={};for(var i in t)if(i in e)n[i]=e[i];else if(this.element.hasAttribute("data-tilt-"+i)){let e=this.element.getAttribute("data-tilt-"+i);try{n[i]=JSON.parse(e)}catch(t){n[i]=e}}else n[i]=t[i];return n}static init(t,n){t instanceof Node&&(t=[t]),t instanceof NodeList&&(t=[].slice.call(t)),t instanceof Array&&t.forEach((t=>{"vanillaTilt"in t||(t.vanillaTilt=new e(t,n))}))}}return"undefined"!=typeof document&&(window.VanillaTilt=e,e.init(document.querySelectorAll("[data-tilt]"))),e}();!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function i(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var r=Math.max,o=Math.min,a=Math.round;function l(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),s=1,r=1;if(i(e)&&t){var o=e.offsetHeight,l=e.offsetWidth;l>0&&(s=a(n.width)/l||1),o>0&&(r=a(n.height)/o||1)}return{width:n.width/s,height:n.height/r,top:n.top/r,right:n.right/s,bottom:n.bottom/r,left:n.left/s,x:n.left/s,y:n.top/r}}function c(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function u(e){return e?(e.nodeName||"").toLowerCase():null}function h(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return l(h(e)).left+c(e).scrollLeft}function f(e){return t(e).getComputedStyle(e)}function p(e){var t=f(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function g(e,n,s){void 0===s&&(s=!1);var r,o,f=i(n),g=i(n)&&function(e){var t=e.getBoundingClientRect(),n=a(t.width)/e.offsetWidth||1,i=a(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(n),m=h(n),v=l(e,g),y={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(f||!f&&!s)&&(("body"!==u(n)||p(m))&&(y=(r=n)!==t(r)&&i(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:c(r)),i(n)?((_=l(n,!0)).x+=n.clientLeft,_.y+=n.clientTop):m&&(_.x=d(m))),{x:v.left+y.scrollLeft-_.x,y:v.top+y.scrollTop-_.y,width:v.width,height:v.height}}function m(e){var t=l(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function v(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||h(e)}function y(e){return["html","body","#document"].indexOf(u(e))>=0?e.ownerDocument.body:i(e)&&p(e)?e:y(v(e))}function _(e,n){var i;void 0===n&&(n=[]);var s=y(e),r=s===(null==(i=e.ownerDocument)?void 0:i.body),o=t(s),a=r?[o].concat(o.visualViewport||[],p(s)?s:[]):s,l=n.concat(a);return r?l:l.concat(_(v(a)))}function b(e){return["table","td","th"].indexOf(u(e))>=0}function w(e){return i(e)&&"fixed"!==f(e).position?e.offsetParent:null}function x(e){for(var n=t(e),s=w(e);s&&b(s)&&"static"===f(s).position;)s=w(s);return s&&("html"===u(s)||"body"===u(s)&&"static"===f(s).position)?n:s||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&i(e)&&"fixed"===f(e).position)return null;for(var n=v(e);i(n)&&["html","body"].indexOf(u(n))<0;){var s=f(n);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return n;n=n.parentNode}return null}(e)||n}var S="top",T="bottom",E="right",C="left",k="auto",O=[S,T,E,C],A="start",M="end",L="viewport",P="popper",N=O.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+M])}),[]),D=[].concat(O,[k]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+M])}),[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}function R(e){return e.split("-")[0]}function z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function F(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function j(e,i){return i===L?F(function(e){var n=t(e),i=h(e),s=n.visualViewport,r=i.clientWidth,o=i.clientHeight,a=0,l=0;return s&&(r=s.width,o=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=s.offsetLeft,l=s.offsetTop)),{width:r,height:o,x:a+d(e),y:l}}(e)):n(i)?function(e){var t=l(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(i):F(function(e){var t,n=h(e),i=c(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=r(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=r(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),l=-i.scrollLeft+d(e),u=-i.scrollTop;return"rtl"===f(s||n).direction&&(l+=r(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:l,y:u}}(h(e)))}function $(e,t,s){var a="clippingParents"===t?function(e){var t=_(v(e)),s=["absolute","fixed"].indexOf(f(e).position)>=0&&i(e)?x(e):e;return n(s)?t.filter((function(e){return n(e)&&z(e,s)&&"body"!==u(e)})):[]}(e):[].concat(t),l=[].concat(a,[s]),c=l[0],h=l.reduce((function(t,n){var i=j(e,n);return t.top=r(i.top,t.top),t.right=o(i.right,t.right),t.bottom=o(i.bottom,t.bottom),t.left=r(i.left,t.left),t}),j(e,c));return h.width=h.right-h.left,h.height=h.bottom-h.top,h.x=h.left,h.y=h.top,h}function H(e){return e.split("-")[1]}function V(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function W(e){var t,n=e.reference,i=e.element,s=e.placement,r=s?R(s):null,o=s?H(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case S:t={x:a,y:n.y-i.height};break;case T:t={x:a,y:n.y+n.height};break;case E:t={x:n.x+n.width,y:l};break;case C:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?V(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case A:t[c]=t[c]-(n[u]/2-i[u]/2);break;case M:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function q(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Y(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function X(e,t){void 0===t&&(t={});var i=t,s=i.placement,r=void 0===s?e.placement:s,o=i.boundary,a=void 0===o?"clippingParents":o,c=i.rootBoundary,u=void 0===c?L:c,d=i.elementContext,f=void 0===d?P:d,p=i.altBoundary,g=void 0!==p&&p,m=i.padding,v=void 0===m?0:m,y=q("number"!=typeof v?v:Y(v,O)),_=f===P?"reference":P,b=e.rects.popper,w=e.elements[g?_:f],x=$(n(w)?w:w.contextElement||h(e.elements.popper),a,u),C=l(e.elements.reference),k=W({reference:C,element:b,strategy:"absolute",placement:r}),A=F(Object.assign({},b,k)),M=f===P?A:C,N={top:x.top-M.top+y.top,bottom:M.bottom-x.bottom+y.bottom,left:x.left-M.left+y.left,right:M.right-x.right+y.right},D=e.modifiersData.offset;if(f===P&&D){var I=D[r];Object.keys(N).forEach((function(e){var t=[E,T].indexOf(e)>=0?1:-1,n=[S,T].indexOf(e)>=0?"y":"x";N[e]+=I[n]*t}))}return N}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function G(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,s=void 0===i?[]:i,r=t.defaultOptions,o=void 0===r?U:r;return function(e,t,i){void 0===i&&(i=o);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,h={state:l,setOptions:function(i){var r="function"==typeof i?i(l.options):i;d(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:n(e)?_(e):e.contextElement?_(e.contextElement):[],popper:_(t)};var a,u,f=function(e){var t=B(e);return I.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(s,l.options.modifiers),u=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var r=s({state:l,name:t,instance:h,options:i});c.push(r||function(){})}})),h.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(K(t,n)){l.rects={reference:g(t,x(n),"fixed"===l.options.strategy),popper:m(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var s=l.orderedModifiers[i],r=s.fn,o=s.options,a=void 0===o?{}:o,c=s.name;"function"==typeof r&&(l=r({state:l,options:a,name:c,instance:h})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){h.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){d(),u=!0}};if(!K(e,t))return h;function d(){c.forEach((function(e){return e()})),c=[]}return h.setOptions(i).then((function(e){!u&&i.onFirstUpdate&&i.onFirstUpdate(e)})),h}}var Q={passive:!0},Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,i=e.instance,s=e.options,r=s.scroll,o=void 0===r||r,a=s.resize,l=void 0===a||a,c=t(n.elements.popper),u=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",i.update,Q)})),l&&c.addEventListener("resize",i.update,Q),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",i.update,Q)})),l&&c.removeEventListener("resize",i.update,Q)}},data:{}},J={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=W({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var n,i=e.popper,s=e.popperRect,r=e.placement,o=e.variation,l=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,g=e.isFixed,m=l.x,v=void 0===m?0:m,y=l.y,_=void 0===y?0:y,b="function"==typeof p?p({x:v,y:_}):{x:v,y:_};v=b.x,_=b.y;var w=l.hasOwnProperty("x"),k=l.hasOwnProperty("y"),O=C,A=S,L=window;if(d){var P=x(i),N="clientHeight",D="clientWidth";P===t(i)&&"static"!==f(P=h(i)).position&&"absolute"===c&&(N="scrollHeight",D="scrollWidth"),P=P,(r===S||(r===C||r===E)&&o===M)&&(A=T,_-=(g&&L.visualViewport?L.visualViewport.height:P[N])-s.height,_*=u?1:-1),r!==C&&(r!==S&&r!==T||o!==M)||(O=E,v-=(g&&L.visualViewport?L.visualViewport.width:P[D])-s.width,v*=u?1:-1)}var I,B=Object.assign({position:c},d&&ee),R=!0===p?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:a(t*i)/i||0,y:a(n*i)/i||0}}({x:v,y:_}):{x:v,y:_};return v=R.x,_=R.y,u?Object.assign({},B,((I={})[A]=k?"0":"",I[O]=w?"0":"",I.transform=(L.devicePixelRatio||1)<=1?"translate("+v+"px, "+_+"px)":"translate3d("+v+"px, "+_+"px, 0)",I)):Object.assign({},B,((n={})[A]=k?_+"px":"",n[O]=w?v+"px":"",n.transform="",n))}var ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,r=n.adaptive,o=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:R(t.placement),variation:H(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ie={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},s=t.attributes[e]||{},r=t.elements[e];i(r)&&u(r)&&(Object.assign(r.style,n),Object.keys(s).forEach((function(e){var t=s[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var s=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(s)&&u(s)&&(Object.assign(s.style,o),Object.keys(r).forEach((function(e){s.removeAttribute(e)})))}))}},requires:["computeStyles"]},se={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,r=void 0===s?[0,0]:s,o=D.reduce((function(e,n){return e[n]=function(e,t,n){var i=R(e),s=[C,S].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[C,E].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,r),e}),{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},re={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return re[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,r=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?D:l,u=H(i),h=u?a?N:N.filter((function(e){return H(e)===u})):O,d=h.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=h);var f=d.reduce((function(t,n){return t[n]=X(e,{placement:n,boundary:s,rootBoundary:r,padding:o})[R(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var ue={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,r=void 0===s||s,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,v=R(m),y=l||(v!==m&&p?function(e){if(R(e)===k)return[];var t=oe(e);return[le(e),t,le(t)]}(m):[oe(m)]),_=[m].concat(y).reduce((function(e,n){return e.concat(R(n)===k?ce(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),b=t.rects.reference,w=t.rects.popper,x=new Map,O=!0,M=_[0],L=0;L<_.length;L++){var P=_[L],N=R(P),D=H(P)===A,I=[S,T].indexOf(N)>=0,B=I?"width":"height",z=X(t,{placement:P,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),F=I?D?E:C:D?T:S;b[B]>w[B]&&(F=oe(F));var j=oe(F),$=[];if(r&&$.push(z[N]<=0),a&&$.push(z[F]<=0,z[j]<=0),$.every((function(e){return e}))){M=P,O=!1;break}x.set(P,$)}if(O)for(var V=function(e){var t=_.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},W=p?3:1;W>0&&"break"!==V(W);W--);t.placement!==M&&(t.modifiersData[i]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function he(e,t,n){return r(e,o(t,n))}var de={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,a=void 0===s||s,l=n.altAxis,c=void 0!==l&&l,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,g=void 0===p||p,v=n.tetherOffset,y=void 0===v?0:v,_=X(t,{boundary:u,rootBoundary:h,padding:f,altBoundary:d}),b=R(t.placement),w=H(t.placement),k=!w,O=V(b),M="x"===O?"y":"x",L=t.modifiersData.popperOffsets,P=t.rects.reference,N=t.rects.popper,D="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,I="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(L){if(a){var F,j="y"===O?S:C,$="y"===O?T:E,W="y"===O?"height":"width",q=L[O],Y=q+_[j],U=q-_[$],K=g?-N[W]/2:0,G=w===A?P[W]:N[W],Q=w===A?-N[W]:-P[W],Z=t.elements.arrow,J=g&&Z?m(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[j],ne=ee[$],ie=he(0,P[W],J[W]),se=k?P[W]/2-K-ie-te-I.mainAxis:G-ie-te-I.mainAxis,re=k?-P[W]/2+K+ie+ne+I.mainAxis:Q+ie+ne+I.mainAxis,oe=t.elements.arrow&&x(t.elements.arrow),ae=oe?"y"===O?oe.clientTop||0:oe.clientLeft||0:0,le=null!=(F=null==B?void 0:B[O])?F:0,ce=q+re-le,ue=he(g?o(Y,q+se-le-ae):Y,q,g?r(U,ce):U);L[O]=ue,z[O]=ue-q}if(c){var de,fe="x"===O?S:C,pe="x"===O?T:E,ge=L[M],me="y"===M?"height":"width",ve=ge+_[fe],ye=ge-_[pe],_e=-1!==[S,C].indexOf(b),be=null!=(de=null==B?void 0:B[M])?de:0,we=_e?ve:ge-P[me]-N[me]-be+I.altAxis,xe=_e?ge+P[me]+N[me]-be-I.altAxis:ye,Se=g&&_e?function(e,t,n){var i=he(e,t,n);return i>n?n:i}(we,ge,xe):he(g?we:ve,ge,g?xe:ye);L[M]=Se,z[M]=Se-ge}t.modifiersData[i]=z}},requiresIfExists:["offset"]},fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,s=e.options,r=n.elements.arrow,o=n.modifiersData.popperOffsets,a=R(n.placement),l=V(a),c=[C,E].indexOf(a)>=0?"height":"width";if(r&&o){var u=function(e,t){return q("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Y(e,O))}(s.padding,n),h=m(r),d="y"===l?S:C,f="y"===l?T:E,p=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],g=o[l]-n.rects.reference[l],v=x(r),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,_=p/2-g/2,b=u[d],w=y-h[c]-u[f],k=y/2-h[c]/2+_,A=he(b,k,w),M=l;n.modifiersData[i]=((t={})[M]=A,t.centerOffset=A-k,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&z(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[S,E,T,C].some((function(t){return e[t]>=0}))}var me={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=X(t,{elementContext:"reference"}),a=X(t,{altBoundary:!0}),l=pe(o,i),c=pe(a,s,r),u=ge(l),h=ge(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},ve=G({defaultModifiers:[Z,J,ne,ie]}),ye=[Z,J,ne,ie,se,ue,de,fe,me],_e=G({defaultModifiers:ye});e.applyStyles=ie,e.arrow=fe,e.computeStyles=ne,e.createPopper=_e,e.createPopperLite=ve,e.defaultModifiers=ye,e.detectOverflow=X,e.eventListeners=Z,e.flip=ue,e.hide=me,e.offset=se,e.popperGenerator=G,e.popperOffsets=J,e.preventOverflow=de,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).GLightbox=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}var s=Date.now();function r(){var e={},t=!0,n=0,i=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],n++);for(var s=function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t&&"[object Object]"===Object.prototype.toString.call(n[i])?e[i]=r(!0,e[i],n[i]):e[i]=n[i])};n<i;n++){var o=arguments[n];s(o)}return e}function o(e,t){if((E(e)||e===window||e===document)&&(e=[e]),k(e)||O(e)||(e=[e]),0!=L(e))if(k(e)&&!O(e))for(var n=e.length,i=0;i<n&&!1!==t.call(e[i],e[i],i,e);i++);else if(O(e))for(var s in e)if(M(e,s)&&!1===t.call(e[s],e[s],s,e))break}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e[s]=e[s]||[],r={all:i,evt:null,found:null};return t&&n&&L(i)>0&&o(i,(function(e,i){if(e.eventName==t&&e.fn.toString()==n.toString())return r.found=!0,r.evt=i,!1})),r}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.onElement,i=t.withCallback,s=t.avoidDuplicate,r=void 0===s||s,l=t.once,c=void 0!==l&&l,u=t.useCapture,h=void 0!==u&&u,d=arguments.length>2?arguments[2]:void 0,f=n||[];function p(e){S(i)&&i.call(d,e,this),c&&p.destroy()}return T(f)&&(f=document.querySelectorAll(f)),p.destroy=function(){o(f,(function(t){var n=a(t,e,p);n.found&&n.all.splice(n.evt,1),t.removeEventListener&&t.removeEventListener(e,p,h)}))},o(f,(function(t){var n=a(t,e,p);(t.addEventListener&&r&&!n.found||!r)&&(t.addEventListener(e,p,h),n.all.push({eventName:e,fn:p}))})),p}function c(e,t){o(t.split(" "),(function(t){return e.classList.add(t)}))}function u(e,t){o(t.split(" "),(function(t){return e.classList.remove(t)}))}function h(e,t){return e.classList.contains(t)}function d(e,t){for(;e!==document.body;){if(!(e=e.parentElement))return!1;if("function"==typeof e.matches?e.matches(t):e.msMatchesSelector(t))return e}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||""===t)return!1;if("none"==t)return S(n)&&n(),!1;var i=_(),s=t.split(" ");o(s,(function(t){c(e,"g"+t)})),l(i,{onElement:e,avoidDuplicate:!1,once:!0,withCallback:function(e,t){o(s,(function(e){u(t,"g"+e)})),S(n)&&n()}})}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""==t)return e.style.webkitTransform="",e.style.MozTransform="",e.style.msTransform="",e.style.OTransform="",e.style.transform="",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function g(e){e.style.display="block"}function m(e){e.style.display="none"}function v(e){var t=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=e;n.firstChild;)t.appendChild(n.firstChild);return t}function y(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function _(){var e,t=document.createElement("fakeelement"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in n)if(void 0!==t.style[e])return n[e]}function b(e,t,n,i){if(e())t();else{var s;n||(n=100);var r=setInterval((function(){e()&&(clearInterval(r),s&&clearTimeout(s),t())}),n);i&&(s=setTimeout((function(){clearInterval(r)}),i))}}function w(e,t,n){if(A(e))console.error("Inject assets error");else if(S(t)&&(n=t,t=!1),T(t)&&t in window)S(n)&&n();else{var i;if(-1!==e.indexOf(".css")){if((i=document.querySelectorAll('link[href="'+e+'"]'))&&i.length>0)return void(S(n)&&n());var s=document.getElementsByTagName("head")[0],r=s.querySelectorAll('link[rel="stylesheet"]'),o=document.createElement("link");return o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",r?s.insertBefore(o,r[0]):s.appendChild(o),void(S(n)&&n())}if((i=document.querySelectorAll('script[src="'+e+'"]'))&&i.length>0){if(S(n)){if(T(t))return b((function(){return void 0!==window[t]}),(function(){n()})),!1;n()}}else{var a=document.createElement("script");a.type="text/javascript",a.src=e,a.onload=function(){if(S(n)){if(T(t))return b((function(){return void 0!==window[t]}),(function(){n()})),!1;n()}},document.body.appendChild(a)}}}function x(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function S(e){return"function"==typeof e}function T(e){return"string"==typeof e}function E(e){return!(!e||!e.nodeType||1!=e.nodeType)}function C(e){return Array.isArray(e)}function k(e){return e&&e.length&&isFinite(e.length)}function O(t){return"object"===e(t)&&null!=t&&!S(t)&&!C(t)}function A(e){return null==e}function M(e,t){return null!==e&&hasOwnProperty.call(e,t)}function L(e){if(O(e)){if(e.keys)return e.keys().length;var t=0;for(var n in e)M(e,n)&&t++;return t}return e.length}function P(e){return!isNaN(parseFloat(e))&&isFinite(e)}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!t.length)return!1;if(1==t.length)return t[0];"string"==typeof e&&(e=parseInt(e));var n=e<0?1:e+1;n>t.length&&(n="1");var i=[];o(t,(function(e){i.push(e.getAttribute("data-taborder"))}));var s=i.filter((function(e){return e>=parseInt(n)})),r=s.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(r,'"]'))}function D(e){if(e.events.hasOwnProperty("keyboard"))return!1;e.events.keyboard=l("keydown",{onElement:window,withCallback:function(t,n){var i=(t=t||window.event).keyCode;if(9==i){var s=document.querySelector(".gbtn.focused");if(!s){var r=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==r||"textarea"==r||"button"==r)return}t.preventDefault();var o=document.querySelectorAll(".gbtn[data-taborder]");if(!o||o.length<=0)return;if(!s){var a=N();return void(a&&(a.focus(),c(a,"focused")))}var l=N(s.getAttribute("data-taborder"));u(s,"focused"),l&&(l.focus(),c(l,"focused"))}39==i&&e.nextSlide(),37==i&&e.prevSlide(),27==i&&e.close()}})}function I(e){return Math.sqrt(e.x*e.x+e.y*e.y)}var B=function(){function e(n){t(this,e),this.handlers=[],this.el=n}return i(e,[{key:"add",value:function(e){this.handlers.push(e)}},{key:"del",value:function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)}},{key:"dispatch",value:function(){for(var e=0,t=this.handlers.length;e<t;e++){var n=this.handlers[e];"function"==typeof n&&n.apply(this.el,arguments)}}}]),e}();function R(e,t){var n=new B(e);return n.add(t),n}var z=function(){function e(n,i){t(this,e),this.element="string"==typeof n?document.querySelector(n):n,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var s=function(){};this.rotate=R(this.element,i.rotate||s),this.touchStart=R(this.element,i.touchStart||s),this.multipointStart=R(this.element,i.multipointStart||s),this.multipointEnd=R(this.element,i.multipointEnd||s),this.pinch=R(this.element,i.pinch||s),this.swipe=R(this.element,i.swipe||s),this.tap=R(this.element,i.tap||s),this.doubleTap=R(this.element,i.doubleTap||s),this.longTap=R(this.element,i.longTap||s),this.singleTap=R(this.element,i.singleTap||s),this.pressMove=R(this.element,i.pressMove||s),this.twoFingerPressMove=R(this.element,i.twoFingerPressMove||s),this.touchMove=R(this.element,i.touchMove||s),this.touchEnd=R(this.element,i.touchEnd||s),this.touchCancel=R(this.element,i.touchCancel||s),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return i(e,[{key:"start",value:function(e){if(e.touches)if(e.target&&e.target.nodeName&&["a","button","input"].indexOf(e.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",e.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var n={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=n.x,t.y=n.y,this.pinchStartLen=I(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(e,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(e){if(e.touches){var t=this.preV,n=e.touches.length,i=e.touches[0].pageX,s=e.touches[0].pageY;if(this.isDoubleTap=!1,n>1){var r=e.touches[1].pageX,o=e.touches[1].pageY,a={x:e.touches[1].pageX-i,y:e.touches[1].pageY-s};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=I(a)/this.pinchStartLen,this.pinch.dispatch(e,this.element)),e.angle=function(e,t){var n=function(e,t){var n=I(e)*I(t);if(0===n)return 0;var i=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/n;return i>1&&(i=1),Math.acos(i)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(n*=-1),180*n/Math.PI}(a,t),this.rotate.dispatch(e,this.element)),t.x=a.x,t.y=a.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(i-this.x2+r-this.sx2)/2,e.deltaY=(s-this.y2+o-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=r,this.sy2=o}else{if(null!==this.x2){e.deltaX=i-this.x2,e.deltaY=s-this.y2;var l=Math.abs(this.x1-this.x2),c=Math.abs(this.y1-this.y2);(l>10||c>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=i,this.y2=s,n>1&&e.preventDefault()}}},{key:"end",value:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(e,t,n,i){return Math.abs(e-t)>=Math.abs(n-i)?e-t>0?"Left":"Right":n-i>0?"Up":"Down"}},{key:"on",value:function(e,t){this[e]&&this[e].add(t)}},{key:"off",value:function(e,t){this[e]&&this[e].del(t)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),e}();function F(e){var t=function(){var e,t=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(void 0!==t.style[e])return n[e]}(),n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=h(e,"gslide-media")?e:e.querySelector(".gslide-media"),s=d(i,".ginner-container"),r=e.querySelector(".gslide-description");n>769&&(i=s),c(i,"greset"),p(i,"translate3d(0, 0, 0)"),l(t,{onElement:i,once:!0,withCallback:function(e,t){u(i,"greset")}}),i.style.opacity="",r&&(r.style.opacity="")}function j(e){if(e.events.hasOwnProperty("touch"))return!1;var t,n,i,s=y(),r=s.width,o=s.height,a=!1,l=null,f=null,g=null,m=!1,v=1,_=1,b=!1,w=!1,x=null,S=null,T=null,E=null,C=0,k=0,O=!1,A=!1,M={},L={},P=0,N=0,D=document.getElementById("glightbox-slider"),I=document.querySelector(".goverlay"),B=new z(D,{touchStart:function(t){if(a=!0,(h(t.targetTouches[0].target,"ginner-container")||d(t.targetTouches[0].target,".gslide-desc")||"a"==t.targetTouches[0].target.nodeName.toLowerCase())&&(a=!1),d(t.targetTouches[0].target,".gslide-inline")&&!h(t.targetTouches[0].target.parentNode,"gslide-inline")&&(a=!1),a){if(L=t.targetTouches[0],M.pageX=t.targetTouches[0].pageX,M.pageY=t.targetTouches[0].pageY,P=t.targetTouches[0].clientX,N=t.targetTouches[0].clientY,l=e.activeSlide,f=l.querySelector(".gslide-media"),i=l.querySelector(".gslide-inline"),g=null,h(f,"gslide-image")&&(g=f.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(f=l.querySelector(".ginner-container")),u(I,"greset"),t.pageX>20&&t.pageX<window.innerWidth-20)return;t.preventDefault()}},touchMove:function(s){if(a&&(L=s.targetTouches[0],!b&&!w)){if(i&&i.offsetHeight>o){var l=M.pageX-L.pageX;if(Math.abs(l)<=13)return!1}m=!0;var c,u=s.targetTouches[0].clientX,h=s.targetTouches[0].clientY,d=P-u,v=N-h;if(Math.abs(d)>Math.abs(v)?(O=!1,A=!0):(A=!1,O=!0),t=L.pageX-M.pageX,C=100*t/r,n=L.pageY-M.pageY,k=100*n/o,O&&g&&(c=1-Math.abs(n)/o,I.style.opacity=c,e.settings.touchFollowAxis&&(C=0)),A&&(c=1-Math.abs(t)/r,f.style.opacity=c,e.settings.touchFollowAxis&&(k=0)),!g)return p(f,"translate3d(".concat(C,"%, 0, 0)"));p(f,"translate3d(".concat(C,"%, ").concat(k,"%, 0)"))}},touchEnd:function(){if(a){if(m=!1,w||b)return T=x,void(E=S);var t=Math.abs(parseInt(k)),n=Math.abs(parseInt(C));if(!(t>29&&g))return t<29&&n<25?(c(I,"greset"),I.style.opacity=1,F(f)):void 0;e.close()}},multipointEnd:function(){setTimeout((function(){b=!1}),50)},multipointStart:function(){b=!0,v=_||1},pinch:function(e){if(!g||m)return!1;b=!0,g.scaleX=g.scaleY=v*e.zoom;var t=v*e.zoom;if(w=!0,t<=1)return w=!1,t=1,E=null,T=null,x=null,S=null,void g.setAttribute("style","");t>4.5&&(t=4.5),g.style.transform="scale3d(".concat(t,", ").concat(t,", 1)"),_=t},pressMove:function(e){if(w&&!b){var t=L.pageX-M.pageX,n=L.pageY-M.pageY;T&&(t+=T),E&&(n+=E),x=t,S=n;var i="translate3d(".concat(t,"px, ").concat(n,"px, 0)");_&&(i+=" scale3d(".concat(_,", ").concat(_,", 1)")),p(g,i)}},swipe:function(t){if(!w)if(b)b=!1;else{if("Left"==t.direction){if(e.index==e.elements.length-1)return F(f);e.nextSlide()}if("Right"==t.direction){if(0==e.index)return F(f);e.prevSlide()}}}});e.events.touch=B}var $=function(){function e(n,i){var s=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t(this,e),this.img=n,this.slide=i,this.onclose=r,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",(function(e){return s.dragStart(e)}),!1),this.img.addEventListener("mouseup",(function(e){return s.dragEnd(e)}),!1),this.img.addEventListener("mousemove",(function(e){return s.drag(e)}),!1),this.img.addEventListener("click",(function(e){return s.slide.classList.contains("dragging-nav")?(s.zoomOut(),!1):s.zoomedIn?void(s.zoomedIn&&!s.dragging&&s.zoomOut()):s.zoomIn()}),!1),this.img.setZoomEvents=!0}return i(e,[{key:"zoomIn",value:function(){var e=this.widowWidth();if(!(this.zoomedIn||e<=768)){var t=this.img;if(t.setAttribute("data-style",t.getAttribute("style")),t.style.maxWidth=t.naturalWidth+"px",t.style.maxHeight=t.naturalHeight+"px",t.naturalWidth>e){var n=e/2-t.naturalWidth/2;this.setTranslate(this.img.parentNode,n,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(e){e.preventDefault(),this.zoomedIn?("touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove("dragging")}),100)}},{key:"drag",value:function(e){this.active&&(e.preventDefault(),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(e){if(this.zoomedIn){var t=e.clientX-this.img.naturalWidth/2,n=e.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,t,n)}}},{key:"setTranslate",value:function(e,t,n){e.style.transform="translate3d("+t+"px, "+n+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),e}(),H=function(){function e(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e);var s=i.dragEl,r=i.toleranceX,o=void 0===r?40:r,a=i.toleranceY,l=void 0===a?65:a,c=i.slide,u=void 0===c?null:c,h=i.instance,d=void 0===h?null:h;this.el=s,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=o,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=u,this.instance=d,this.el.addEventListener("mousedown",(function(e){return n.dragStart(e)}),!1),this.el.addEventListener("mouseup",(function(e){return n.dragEnd(e)}),!1),this.el.addEventListener("mousemove",(function(e){return n.drag(e)}),!1)}return i(e,[{key:"dragStart",value:function(e){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset);var t=e.target.nodeName.toLowerCase();e.target.classList.contains("nodrag")||d(e.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(t)?this.active=!1:(e.preventDefault(),(e.target===this.el||"img"!==t&&d(e.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=d(e.target,".ginner-container")))}}},{key:"dragEnd",value:function(e){var t=this;e&&e.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){t.instance.preventOutsideClick=!1,t.toleranceReached=!1,t.lastDirection=null,t.dragging=!1,t.el.isDragging=!1,t.el.classList.remove("dragging"),t.slide.classList.remove("dragging-nav"),t.dragContainer.style.transform="",t.dragContainer.style.transition=""}),100)}},{key:"drag",value:function(e){if(this.active){e.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var t=Math.abs(this.currentX),n=Math.abs(this.currentY);if(t>0&&t>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var i=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&i&&(this.doSlideChange=i),this.instance.settings.dragAutoSnap&&i)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==i&&this.instance.prevSlide(),void("left"==i&&this.instance.nextSlide())}if(this.toleranceY>0&&n>0&&n>=t&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var s=this.shouldClose();return!this.instance.settings.dragAutoSnap&&s&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&s&&this.instance.close())}}}},{key:"shouldChange",value:function(){var e=!1;if(Math.abs(this.currentX)>=this.toleranceX){var t=this.currentX>0?"right":"left";("left"==t&&this.slide!==this.slide.parentNode.lastChild||"right"==t&&this.slide!==this.slide.parentNode.firstChild)&&(e=t)}return e}},{key:"shouldClose",value:function(){var e=!1;return Math.abs(this.currentY)>=this.toleranceY&&(e=!0),e}},{key:"setTranslate",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.style.transition=i?"all .2s ease":"",e.style.transform="translate3d(".concat(t,"px, ").concat(n,"px, 0)")}}]),e}();function V(e,t,n,i){var s=e.querySelector(".gslide-media"),r=new Image,o="gSlideTitle_"+n,a="gSlideDesc_"+n;r.addEventListener("load",(function(){S(i)&&i()}),!1),r.src=t.href,""!=t.sizes&&""!=t.srcset&&(r.sizes=t.sizes,r.srcset=t.srcset),r.alt="",A(t.alt)||""===t.alt||(r.alt=t.alt),""!==t.title&&r.setAttribute("aria-labelledby",o),""!==t.description&&r.setAttribute("aria-describedby",a),t.hasOwnProperty("_hasCustomWidth")&&t._hasCustomWidth&&(r.style.width=t.width),t.hasOwnProperty("_hasCustomHeight")&&t._hasCustomHeight&&(r.style.height=t.height),s.insertBefore(r,s.firstChild)}function W(e,t,n,i){var s=this,r=e.querySelector(".ginner-container"),o="gvideo"+n,a=e.querySelector(".gslide-media"),l=this.getAllPlayers();c(r,"gvideo-container"),a.insertBefore(v('<div class="gvideo-wrapper"></div>'),a.firstChild);var u=e.querySelector(".gvideo-wrapper");w(this.settings.plyr.css,"Plyr");var h=t.href,d=location.protocol.replace(":",""),f="",p="",g=!1;"file"==d&&(d="http"),a.style.maxWidth=t.width,w(this.settings.plyr.js,"Plyr",(function(){if(h.match(/vimeo\.com\/([0-9]*)/)){var r=/vimeo.*\/(\d+)/i.exec(h);f="vimeo",p=r[1]}if(h.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||h.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||h.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)){var a=function(e){return void 0!==(e=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/))[2]?e[2].split(/[^0-9a-z_\-]/i)[0]:e}(h);f="youtube",p=a}if(null!==h.match(/\.(mp4|ogg|webm|mov)$/)){f="local";var d='<video id="'+o+'" ';d+='style="background:#000; max-width: '.concat(t.width,';" '),d+='preload="metadata" ',d+='x-webkit-airplay="allow" ',d+="playsinline ",d+="controls ",d+='class="gvideo-local">';var m=h.toLowerCase().split(".").pop(),y={mp4:"",ogg:"",webm:""};for(var _ in y[m="mov"==m?"mp4":m]=h,y)if(y.hasOwnProperty(_)){var w=y[_];t.hasOwnProperty(_)&&(w=t[_]),""!==w&&(d+='<source src="'.concat(w,'" type="video/').concat(_,'">'))}g=v(d+="</video>")}var x=g||v('<div id="'.concat(o,'" data-plyr-provider="').concat(f,'" data-plyr-embed-id="').concat(p,'"></div>'));c(u,"".concat(f,"-video gvideo")),u.appendChild(x),u.setAttribute("data-id",o),u.setAttribute("data-index",n);var T=M(s.settings.plyr,"config")?s.settings.plyr.config:{},E=new Plyr("#"+o,T);E.on("ready",(function(e){var t=e.detail.plyr;l[o]=t,S(i)&&i()})),b((function(){return e.querySelector("iframe")&&"true"==e.querySelector("iframe").dataset.ready}),(function(){s.resize(e)})),E.on("enterfullscreen",q),E.on("exitfullscreen",q)}))}function q(e){var t=d(e.target,".gslide-media");"enterfullscreen"==e.type&&c(t,"fullscreen"),"exitfullscreen"==e.type&&u(t,"fullscreen")}function Y(e,t,n,i){var s,r=this,o=e.querySelector(".gslide-media"),a=!(!M(t,"href")||!t.href)&&t.href.split("#").pop().trim(),u=!(!M(t,"content")||!t.content)&&t.content;if(u&&(T(u)&&(s=v('<div class="ginlined-content">'.concat(u,"</div>"))),E(u))){"none"==u.style.display&&(u.style.display="block");var h=document.createElement("div");h.className="ginlined-content",h.appendChild(u),s=h}if(a){var d=document.getElementById(a);if(!d)return!1;var f=d.cloneNode(!0);f.style.height=t.height,f.style.maxWidth=t.width,c(f,"ginlined-content"),s=f}if(!s)return console.error("Unable to append inline slide content",t),!1;o.style.height=t.height,o.style.width=t.width,o.appendChild(s),this.events["inlineclose"+a]=l("click",{onElement:o.querySelectorAll(".gtrigger-close"),withCallback:function(e){e.preventDefault(),r.close()}}),S(i)&&i()}function X(e,t,n,i){var s=e.querySelector(".gslide-media"),r=function(e){var t=e.url,n=e.allow,i=e.callback,s=e.appendTo,r=document.createElement("iframe");return r.className="vimeo-video gvideo",r.src=t,r.style.width="100%",r.style.height="100%",n&&r.setAttribute("allow",n),r.onload=function(){c(r,"node-ready"),S(i)&&i()},s&&s.appendChild(r),r}({url:t.href,callback:i});s.parentNode.style.maxWidth=t.width,s.parentNode.style.height=t.height,s.appendChild(r)}var U=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},O(n)&&(this.defaults=r(this.defaults,n))}return i(e,[{key:"sourceType",value:function(e){var t=e;return null!==(e=e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?"image":e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||null!==e.match(/\.(mp4|ogg|webm|mov)/)?"video":null!==e.match(/\.(mp3|wav|wma|aac|ogg)/)?"audio":e.indexOf("#")>-1&&""!==t.split("#").pop().trim()?"inline":e.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(e,t){var n=this,i=r({descPosition:t.descPosition},this.defaults);if(O(e)&&!E(e)){M(e,"type")||(M(e,"content")&&e.content?e.type="inline":M(e,"href")&&(e.type=this.sourceType(e.href)));var s=r(i,e);return this.setSize(s,t),s}var a="",l=e.getAttribute("data-glightbox"),c=e.nodeName.toLowerCase();if("a"===c&&(a=e.href),"img"===c&&(a=e.src,i.alt=e.alt),i.href=a,o(i,(function(s,r){M(t,r)&&"width"!==r&&(i[r]=t[r]);var o=e.dataset[r];A(o)||(i[r]=n.sanitizeValue(o))})),i.content&&(i.type="inline"),!i.type&&a&&(i.type=this.sourceType(a)),A(l)){if(!i.title&&"a"==c){var u=e.title;A(u)||""===u||(i.title=u)}if(!i.title&&"img"==c){var h=e.alt;A(h)||""===h||(i.title=h)}}else{var d=[];o(i,(function(e,t){d.push(";\\s?"+t)})),d=d.join("\\s?:|"),""!==l.trim()&&o(i,(function(e,t){var s=l,r=new RegExp("s?"+t+"s?:s?(.*?)("+d+"s?:|$)"),o=s.match(r);if(o&&o.length&&o[1]){var a=o[1].trim().replace(/;\s*$/,"");i[t]=n.sanitizeValue(a)}}))}if(i.description&&"."===i.description.substring(0,1)){var f;try{f=document.querySelector(i.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}f&&(i.description=f)}if(!i.description){var p=e.querySelector(".glightbox-desc");p&&(i.description=p.innerHTML)}return this.setSize(i,t,e),this.slideConfig=i,i}},{key:"setSize",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i="video"==e.type?this.checkSize(t.videosWidth):this.checkSize(t.width),s=this.checkSize(t.height);return e.width=M(e,"width")&&""!==e.width?this.checkSize(e.width):i,e.height=M(e,"height")&&""!==e.height?this.checkSize(e.height):s,n&&"image"==e.type&&(e._hasCustomWidth=!!n.dataset.width,e._hasCustomHeight=!!n.dataset.height),e}},{key:"checkSize",value:function(e){return P(e)?"".concat(e,"px"):e}},{key:"sanitizeValue",value:function(e){return"true"!==e&&"false"!==e?e:"true"===e}}]),e}(),K=function(){function e(n,i,s){t(this,e),this.element=n,this.instance=i,this.index=s}return i(e,[{key:"setContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h(t,"loaded"))return!1;var i=this.instance.settings,s=this.slideConfig,r=x();S(i.beforeSlideLoad)&&i.beforeSlideLoad({index:this.index,slide:t,player:!1});var o=s.type,a=s.descPosition,l=t.querySelector(".gslide-media"),u=t.querySelector(".gslide-title"),d=t.querySelector(".gslide-desc"),f=t.querySelector(".gdesc-inner"),p=n,g="gSlideTitle_"+this.index,m="gSlideDesc_"+this.index;if(S(i.afterSlideLoad)&&(p=function(){S(n)&&n(),i.afterSlideLoad({index:e.index,slide:t,player:e.instance.getSlidePlayerInstance(e.index)})}),""==s.title&&""==s.description?f&&f.parentNode.parentNode.removeChild(f.parentNode):(u&&""!==s.title?(u.id=g,u.innerHTML=s.title):u.parentNode.removeChild(u),d&&""!==s.description?(d.id=m,r&&i.moreLength>0?(s.smallDescription=this.slideShortDesc(s.description,i.moreLength,i.moreText),d.innerHTML=s.smallDescription,this.descriptionEvents(d,s)):d.innerHTML=s.description):d.parentNode.removeChild(d),c(l.parentNode,"desc-".concat(a)),c(f.parentNode,"description-".concat(a))),c(l,"gslide-".concat(o)),c(t,"loaded"),"video"!==o){if("external"!==o)return"inline"===o?(Y.apply(this.instance,[t,s,this.index,p]),void(s.draggable&&new H({dragEl:t.querySelector(".gslide-inline"),toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:t,instance:this.instance}))):void("image"!==o?S(p)&&p():V(t,s,this.index,(function(){var n=t.querySelector("img");s.draggable&&new H({dragEl:n,toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:t,instance:e.instance}),s.zoomable&&n.naturalWidth>n.offsetWidth&&(c(n,"zoomable"),new $(n,t,(function(){e.instance.resize()}))),S(p)&&p()})));X.apply(this,[t,s,this.index,p])}else W.apply(this.instance,[t,s,this.index,p])}},{key:"slideShortDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.createElement("div");i.innerHTML=e;var s=i.innerText,r=n;if((e=s.trim()).length<=t)return e;var o=e.substr(0,t-1);return r?(i=null,o+'... <a href="#" class="desc-more">'+n+"</a>"):o}},{key:"descriptionEvents",value:function(e,t){var n=this,i=e.querySelector(".desc-more");if(!i)return!1;l("click",{onElement:i,withCallback:function(e,i){e.preventDefault();var s=document.body,r=d(i,".gslide-desc");if(!r)return!1;r.innerHTML=t.description,c(s,"gdesc-open");var o=l("click",{onElement:[s,d(r,".gslide-description")],withCallback:function(e,i){"a"!==e.target.nodeName.toLowerCase()&&(u(s,"gdesc-open"),c(s,"gdesc-closed"),r.innerHTML=t.smallDescription,n.descriptionEvents(r,t),setTimeout((function(){u(s,"gdesc-closed")}),400),o.destroy())}})}})}},{key:"create",value:function(){return v(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){E(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var e=new U(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),e}(),G=x(),Q=null!==x()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,Z=document.getElementsByTagName("html")[0],J={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.8/plyr.css",js:"https://cdn.plyr.io/3.6.8/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:'<div class="gslide">\n <div class="gslide-inner-content">\n <div class="ginner-container">\n <div class="gslide-media">\n </div>\n <div class="gslide-description">\n <div class="gdesc-inner">\n <h4 class="gslide-title"></h4>\n <div class="gslide-desc"></div>\n </div>\n </div>\n </div>\n </div>\n</div>',lightboxHTML:'<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">\n <div class="gloader visible"></div>\n <div class="goverlay"></div>\n <div class="gcontainer">\n <div id="glightbox-slider" class="gslider"></div>\n <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>\n <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>\n <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>\n</div>\n</div>'},ee=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.customOptions=n,this.settings=r(J,n),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return i(e,[{key:"init",value:function(){var e=this,t=this.getSelector();t&&(this.baseEvents=l("click",{onElement:t,withCallback:function(t,n){t.preventDefault(),e.open(n)}})),this.elements=this.getElements()}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0==this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var n=P(t)?t:this.settings.startAt;if(E(e)){var i=e.getAttribute("data-gallery");i&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,i)),A(n)&&(n=this.getElementIndex(e))<0&&(n=0)}P(n)||(n=0),this.build(),f(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var s=document.body,r=window.innerWidth-document.documentElement.clientWidth;if(r>0){var o=document.createElement("style");o.type="text/css",o.className="gcss-styles",o.innerText=".gscrollbar-fixer {margin-right: ".concat(r,"px}"),document.head.appendChild(o),c(s,"gscrollbar-fixer")}c(s,"glightbox-open"),c(Z,"glightbox-open"),G&&(c(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(n,!0),1==this.elements.length?(c(this.prevButton,"glightbox-button-hidden"),c(this.nextButton,"glightbox-button-hidden")):(u(this.prevButton,"glightbox-button-hidden"),u(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),S(this.settings.onOpen)&&this.settings.onOpen(),Q&&this.settings.touchNavigation&&j(this),this.settings.keyboardNavigation&&D(this)}},{key:"openAt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,e)}},{key:"showSlide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this.loader),this.index=parseInt(t);var i=this.slidesContainer.querySelector(".current");i&&u(i,"current"),this.slideAnimateOut();var s=this.slidesContainer.querySelectorAll(".gslide")[t];if(h(s,"loaded"))this.slideAnimateIn(s,n),m(this.loader);else{g(this.loader);var r=this.elements[t],o={index:this.index,slide:s,slideNode:s,slideConfig:r.slideConfig,slideIndex:this.index,trigger:r.node,player:null};this.trigger("slide_before_load",o),r.instance.setContent(s,(function(){m(e.loader),e.resize(),e.slideAnimateIn(s,n),e.trigger("slide_after_load",o)}))}this.slideDescription=s.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&h(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(t+1),this.preloadSlide(t-1)),this.updateNavigationClasses(),this.activeSlide=s}},{key:"preloadSlide",value:function(e){var t=this;if(e<0||e>this.elements.length-1)return!1;if(A(this.elements[e]))return!1;var n=this.slidesContainer.querySelectorAll(".gslide")[e];if(h(n,"loaded"))return!1;var i=this.elements[e],s=i.type,r={index:e,slide:n,slideNode:n,slideConfig:i.slideConfig,slideIndex:e,trigger:i.node,player:null};this.trigger("slide_before_load",r),"video"==s||"external"==s?setTimeout((function(){i.instance.setContent(n,(function(){t.trigger("slide_after_load",r)}))}),200):i.instance.setContent(n,(function(){t.trigger("slide_after_load",r)}))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(e<0||e>this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:"insertSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t<0&&(t=this.elements.length);var n=new K(e,this,t),i=n.getConfig(),s=r({},i),o=n.create(),a=this.elements.length-1;s.index=t,s.node=!1,s.instance=n,s.slideConfig=i,this.elements.splice(t,0,s);var l=null,c=null;if(this.slidesContainer){if(t>a)this.slidesContainer.appendChild(o);else{var u=this.slidesContainer.querySelectorAll(".gslide")[t];this.slidesContainer.insertBefore(o,u)}(this.settings.preload&&0==this.index&&0==t||this.index-1==t||this.index+1==t)&&this.preloadSlide(t),0==this.index&&0==t&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(".gslide")[t],c=this.getSlidePlayerInstance(t),s.slideNode=l}this.trigger("slide_inserted",{index:t,slide:l,slideNode:l,slideConfig:i,slideIndex:t,trigger:null,player:c}),S(this.settings.slideInserted)&&this.settings.slideInserted({index:t,slide:l,player:c})}},{key:"removeSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||e>this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger("slide_removed",e),S(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:"slideAnimateIn",value:function(e,t){var n=this,i=e.querySelector(".gslide-media"),s=e.querySelector(".gslide-description"),r={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},o={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(i.offsetWidth>0&&s&&(m(s),s.style.display=""),u(e,this.effectsClasses),t)f(e,this.settings.cssEfects[this.settings.openEffect].in,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(e),n.trigger("slide_changed",{prev:r,current:o}),S(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[r,o])}));else{var a=this.settings.slideEffect,l="none"!==a?this.settings.cssEfects[a].in:a;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),f(e,l,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(e),n.trigger("slide_changed",{prev:r,current:o}),S(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[r,o])}))}setTimeout((function(){n.resize(e)}),100),c(e,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var e=this.prevActiveSlide;u(e,this.effectsClasses),c(e,"prev");var t=this.settings.slideEffect,n="none"!==t?this.settings.cssEfects[t].out:t;this.slidePlayerPause(e),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),S(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(n=this.settings.cssEfects.slideBack.out),f(e,n,(function(){var t=e.querySelector(".ginner-container"),n=e.querySelector(".gslide-media"),i=e.querySelector(".gslide-description");t.style.transform="",n.style.transform="",u(n,"greset"),n.style.opacity="",i&&(i.style.opacity=""),u(e,"prev")}))}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(e){var t="gvideo"+e,n=this.getAllPlayers();return!(!M(n,t)||!n[t])&&n[t]}},{key:"stopSlideVideo",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var n=this.getSlidePlayerInstance(e);n&&n.playing&&n.pause()}},{key:"slidePlayerPause",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(e);n&&n.playing&&n.pause()}},{key:"playSlideVideo",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var n=this.getSlidePlayerInstance(e);n&&!n.playing&&n.play()}},{key:"slidePlayerPlay",value:function(e){if(E(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(e);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}},{key:"setElements",value:function(e){var t=this;this.settings.elements=!1;var n=[];e&&e.length&&o(e,(function(e,i){var s=new K(e,t,i),o=s.getConfig(),a=r({},o);a.slideConfig=o,a.instance=s,a.index=i,n.push(a)})),this.elements=n,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(o(this.elements,(function(){var e=v(t.settings.slideHTML);t.slidesContainer.appendChild(e)})),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(e){var t=!1;return o(this.elements,(function(n,i){if(M(n,"node")&&n.node==e)return t=i,!0})),t}},{key:"getElements",value:function(){var e=this,t=[];this.elements=this.elements?this.elements:[],!A(this.settings.elements)&&C(this.settings.elements)&&this.settings.elements.length&&o(this.settings.elements,(function(n,i){var s=new K(n,e,i),o=s.getConfig(),a=r({},o);a.node=!1,a.index=i,a.instance=s,a.slideConfig=o,t.push(a)}));var n=!1;return this.getSelector()&&(n=document.querySelectorAll(this.getSelector())),n?(o(n,(function(n,i){var s=new K(n,e,i),o=s.getConfig(),a=r({},o);a.node=n,a.index=i,a.instance=s,a.slideConfig=o,a.gallery=n.getAttribute("data-gallery"),t.push(a)})),t):t}},{key:"getGalleryElements",value:function(e,t){return e.filter((function(e){return e.gallery==t}))}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var e=[];for(var t in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(t)){var n=this.settings.cssEfects[t];e.push("g".concat(n.in)),e.push("g".concat(n.out))}return e.join(" ")}},{key:"build",value:function(){var e=this;if(this.built)return!1;var t=document.body.childNodes,n=[];o(t,(function(e){e.parentNode==document.body&&"#"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(n.push(e),e.setAttribute("aria-hidden","true"))}));var i=M(this.settings.svg,"next")?this.settings.svg.next:"",s=M(this.settings.svg,"prev")?this.settings.svg.prev:"",r=M(this.settings.svg,"close")?this.settings.svg.close:"",a=this.settings.lightboxHTML;a=v(a=(a=(a=a.replace(/{nextSVG}/g,i)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,r)),document.body.appendChild(a);var u=document.getElementById("glightbox-body");this.modal=u;var f=u.querySelector(".gclose");this.prevButton=u.querySelector(".gprev"),this.nextButton=u.querySelector(".gnext"),this.overlay=u.querySelector(".goverlay"),this.loader=u.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=n,this.events={},c(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&f&&(this.events.close=l("click",{onElement:f,withCallback:function(t,n){t.preventDefault(),e.close()}})),f&&!this.settings.closeButton&&f.parentNode.removeChild(f),this.nextButton&&(this.events.next=l("click",{onElement:this.nextButton,withCallback:function(t,n){t.preventDefault(),e.nextSlide()}})),this.prevButton&&(this.events.prev=l("click",{onElement:this.prevButton,withCallback:function(t,n){t.preventDefault(),e.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=l("click",{onElement:u,withCallback:function(t,n){e.preventOutsideClick||h(document.body,"glightbox-mobile")||d(t.target,".ginner-container")||d(t.target,".gbtn")||h(t.target,"gnext")||h(t.target,"gprev")||e.close()}})),o(this.elements,(function(t,n){e.slidesContainer.appendChild(t.instance.create()),t.slideNode=e.slidesContainer.querySelectorAll(".gslide")[n]})),Q&&c(document.body,"glightbox-touch"),this.events.resize=l("resize",{onElement:window,withCallback:function(){e.resize()}}),this.built=!0}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((e=e||this.activeSlide)&&!h(e,"zoomed")){var t=y(),n=e.querySelector(".gvideo-wrapper"),i=e.querySelector(".gslide-image"),s=this.slideDescription,r=t.width,o=t.height;if(r<=768?c(document.body,"glightbox-mobile"):u(document.body,"glightbox-mobile"),n||i){var a=!1;if(s&&(h(s,"description-bottom")||h(s,"description-top"))&&!h(s,"gabsolute")&&(a=!0),i)if(r<=768)i.querySelector("img");else if(a){var l=s.offsetHeight,d=i.querySelector("img");d.setAttribute("style","max-height: calc(100vh - ".concat(l,"px)")),s.setAttribute("style","max-width: ".concat(d.offsetWidth,"px;"))}if(n){var f=M(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!f){var p=n.clientWidth,g=n.clientHeight,m=p/g;f="".concat(p/m,":").concat(g/m)}var v=f.split(":"),_=this.settings.videosWidth,b=this.settings.videosWidth,w=(b=P(_)||-1!==_.indexOf("px")?parseInt(_):-1!==_.indexOf("vw")?r*parseInt(_)/100:-1!==_.indexOf("vh")?o*parseInt(_)/100:-1!==_.indexOf("%")?r*parseInt(_)/100:parseInt(n.clientWidth))/(parseInt(v[0])/parseInt(v[1]));if(w=Math.floor(w),a&&(o-=s.offsetHeight),b>r||w>o||o<w&&r>b){var x=n.offsetWidth,S=n.offsetHeight,T=o/S,E={width:x*T,height:S*T};n.parentNode.setAttribute("style","max-width: ".concat(E.width,"px")),a&&s.setAttribute("style","max-width: ".concat(E.width,"px;"))}else n.parentNode.style.maxWidth="".concat(_),a&&s.setAttribute("style","max-width: ".concat(_,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var e=this.loop();u(this.nextButton,"disabled"),u(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(c(this.prevButton,"disabled"),c(this.nextButton,"disabled")):0!==this.index||e?this.index!==this.elements.length-1||e||c(this.nextButton,"disabled"):c(this.prevButton,"disabled")}},{key:"loop",value:function(){var e=M(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return e=M(this.settings,"loop")?this.settings.loop:e}},{key:"close",value:function(){var e=this;if(!this.lightboxOpen){if(this.events){for(var t in this.events)this.events.hasOwnProperty(t)&&this.events[t].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&o(this.bodyHiddenChildElms,(function(e){e.removeAttribute("aria-hidden")})),c(this.modal,"glightbox-closing"),f(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),f(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(e.activeSlide=null,e.prevActiveSlideIndex=null,e.prevActiveSlide=null,e.built=!1,e.events){for(var t in e.events)e.events.hasOwnProperty(t)&&e.events[t].destroy();e.events=null}var n=document.body;u(Z,"glightbox-open"),u(n,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),e.modal.parentNode.removeChild(e.modal),e.trigger("close"),S(e.settings.onClose)&&e.settings.onClose();var i=document.querySelector(".gcss-styles");i&&i.parentNode.removeChild(i),e.lightboxOpen=!1,e.closing=null}))}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!S(t))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:e,once:n,callback:t})}},{key:"once",value:function(e,t){this.on(e,t,!0)}},{key:"trigger",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=[];o(this.apiEvents,(function(t,s){var r=t.evt,o=t.once,a=t.callback;r==e&&(a(n),o&&i.push(s))})),i.length&&o(i,(function(e){return t.apiEvents.splice(e,1)}))}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.1.1"}}]),e}();return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ee(e);return t.init(),t}})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";function t(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e){return"string"==typeof e}function s(e){return"function"==typeof e}function r(e){return"number"==typeof e}function o(e){return void 0===e}function a(e){return"object"==typeof e}function l(e){return!1!==e}function c(){return"undefined"!=typeof window}function u(e){return s(e)||i(e)}function h(e){return(ye=ft(e,st))&&gn}function d(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")}function f(e,t){return!t&&console.warn(e)}function p(e,t){return e&&(st[e]=t)&&ye&&(ye[e]=t)||st}function g(){return 0}function m(e){var t,n,i=e[0];if(a(i)||s(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=ht.length;n--&&!ht[n].targetTest(i););t=ht[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Rt(e[n],t)))||e.splice(n,1);return e}function v(e){return e._gsap||m(bt(e))[0]._gsap}function y(e,t,n){return(n=e[t])&&s(n)?e[t]():o(n)&&e.getAttribute&&e.getAttribute(t)||n}function _(e,t){return(e=e.split(",")).forEach(t)||e}function b(e){return Math.round(1e5*e)/1e5||0}function w(e){return Math.round(1e7*e)/1e7||0}function x(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n}function S(){var e,t,n=ot.length,i=ot.slice(0);for(at={},e=ot.length=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)}function T(e,t,n,i){ot.length&&S(),e.render(t,n,i),ot.length&&S()}function E(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(nt).length<2?t:i(e)?e.trim():e}function C(e){return e}function k(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}function O(e,t){for(var n in t)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(e[n]=a(t[n])?O(e[n]||(e[n]={}),t[n]):t[n]);return e}function A(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i}function M(e){var t=e.parent||pe,n=e.keyframes?function(e){return function(t,n){for(var i in n)i in t||"duration"===i&&e||"ease"===i||(t[i]=n[i])}}(Ge(e.keyframes)):k;if(l(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e}function L(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var s=t._prev,r=t._next;s?s._next=r:e[n]===t&&(e[n]=r),r?r._prev=s:e[i]===t&&(e[i]=s),t._next=t._prev=t.parent=null}function P(e,t){!e.parent||t&&!e.parent.autoRemoveChildren||e.parent.remove(e),e._act=0}function N(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e}function D(e){return e._repeat?pt(e._tTime,e=e.duration()+e._rDelay)*e:0}function I(e,t){return(e-t._start)*t._ts+(0<=t._ts?0:t._dirty?t.totalDuration():t._tDur)}function B(e){return e._end=w(e._start+(e._tDur/Math.abs(e._ts||e._rts||He)||0))}function R(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=w(n._time-(0<e._ts?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),B(e),n._dirty||N(n,e)),e}function z(e,t){var n;if((t._time||t._initted&&!t._dur)&&(n=I(e.rawTime(),t),(!t._dur||yt(0,t.totalDuration(),n)-t._tTime>He)&&t.render(n,!0)),N(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)0<=n.rawTime()&&n.totalTime(n._tTime),n=n._dp;e._zTime=-He}}function F(e,t,n,i){return t.parent&&P(t),t._start=w((r(n)?n:n||e!==pe?vt(e,n,t):e._time)+t._delay),t._end=w(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),function(e,t,n,i,s){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r,o=e[i];if(s)for(r=t[s];o&&o[s]>r;)o=o._prev;o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e}(e,t,"_first","_last",e._sort?"_start":0),gt(t)||(e._recent=t),i||z(e,t),e}function j(e,t){return(st.ScrollTrigger||d("scrollTrigger",t))&&st.ScrollTrigger.create(t,e)}function $(e,t,n,i){return qt(e,t),e._initted?!n&&e._pt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&be!==kt.frame?(ot.push(e),e._lazy=[t,i],1):void 0:1}function H(e,t,n,i){var s=e._repeat,r=w(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=r/e._dur),e._dur=r,e._tDur=s?s<0?1e10:w(r*(s+1)+e._rDelay*s):r,0<o&&!i?R(e,e._tTime=e._tDur*o):e.parent&&B(e),n||N(e.parent,e),e}function V(e){return e instanceof jt?N(e):H(e,e._dur)}function W(e,t,n){var i,s,o=r(t[1]),a=(o?2:1)+(e<2?0:1),c=t[a];if(o&&(c.duration=t[1]),c.parent=n,e){for(i=c,s=n;s&&!("immediateRender"in i);)i=s.vars.defaults||{},s=l(s.vars.inherit)&&s.parent;c.immediateRender=l(i.immediateRender),e<2?c.runBackwards=1:c.startAt=t[a-1]}return new Kt(t[0],c,t[1+a])}function q(e,t){return e||0===e?t(e):t}function Y(e,t){return i(e)&&(t=it.exec(e))?e.substr(t.index+t[0].length):""}function X(e,t){return e&&a(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&a(e[0]))&&!e.nodeType&&e!==ge}function U(e){return e.sort((function(){return.5-Math.random()}))}function K(e){if(s(e))return e;var t=a(e)?e:{each:e},n=Nt(t.ease),r=t.from||0,o=parseFloat(t.base)||0,l={},c=0<r&&r<1,u=isNaN(r)||c,h=t.axis,d=r,f=r;return i(r)?d=f={center:.5,edges:.5,end:1}[r]||0:!c&&u&&(d=r[0],f=r[1]),function(e,i,s){var a,c,p,g,m,v,y,_,b,x=(s||t).length,S=l[x];if(!S){if(!(b="auto"===t.grid?0:(t.grid||[1,$e])[1])){for(y=-$e;y<(y=s[b++].getBoundingClientRect().left)&&b<x;);b--}for(S=l[x]=[],a=u?Math.min(b,x)*d-.5:r%b,c=b===$e?0:u?x*f/b-.5:r/b|0,_=$e,v=y=0;v<x;v++)p=v%b-a,g=c-(v/b|0),S[v]=m=h?Math.abs("y"===h?g:p):Ye(p*p+g*g),y<m&&(y=m),m<_&&(_=m);"random"===r&&U(S),S.max=y-_,S.min=_,S.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(x<b?x-1:h?"y"===h?x/b:b:Math.max(b,x/b))||0)*("edges"===r?-1:1),S.b=x<0?o-x:o,S.u=Y(t.amount||t.each)||0,n=n&&x<0?Pt(n):n}return x=(S[e]-S.min)/S.max||0,w(S.b+(n?n(x):x)*S.v)+S.u}}function G(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Math.round(parseFloat(n)/e)*e*t;return(i-i%1)/t+(r(n)?0:Y(n))}}function Q(e,t){var n,i,o=Ge(e);return!o&&a(e)&&(n=o=e.radius||$e,e.values?(e=bt(e.values),(i=!r(e[0]))&&(n*=n)):e=G(e.increment)),q(t,o?s(e)?function(t){return i=e(t),Math.abs(i-t)<=n?i:t}:function(t){for(var s,o,a=parseFloat(i?t.x:t),l=parseFloat(i?t.y:0),c=$e,u=0,h=e.length;h--;)(s=i?(s=e[h].x-a)*s+(o=e[h].y-l)*o:Math.abs(e[h]-a))<c&&(c=s,u=h);return u=!n||c<=n?e[u]:t,i||u===t||r(t)?u:u+Y(t)}:G(e))}function Z(e,t,n,i){return q(Ge(e)?!t:!0===n?!!(n=0):!i,(function(){return Ge(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*i)/i}))}function J(e,t,n){return q(n,(function(n){return e[~~t(n)]}))}function ee(e){for(var t,n,i,s,r=0,o="";~(t=e.indexOf("random(",r));)i=e.indexOf(")",t),s="["===e.charAt(t+7),n=e.substr(t+7,i-t-7).match(s?nt:Qe),o+=e.substr(r,t-r)+Z(s?n:+n[0],s?0:+n[1],+n[2]||1e-5),r=i+1;return o+e.substr(r,e.length-r)}function te(e,t,n){var i,s,r,o=e.labels,a=$e;for(i in o)(s=o[i]-t)<0==!!n&&s&&a>(s=Math.abs(s))&&(r=i,a=s);return r}function ne(e){return P(e),e.scrollTrigger&&e.scrollTrigger.kill(!1),e.progress()<1&&xt(e,"onInterrupt"),e}function ie(e,t,n){return(6*(e+=e<0?1:1<e?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*St+.5|0}function se(e,t,n){var i,s,o,a,l,c,u,h,d,f,p=e?r(e)?[e>>16,e>>8&St,e&St]:0:Tt.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Tt[e])p=Tt[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(i=e.charAt(1))+i+(s=e.charAt(2))+s+(o=e.charAt(3))+o+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&St,p&St,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&St,e&St]}else if("hsl"===e.substr(0,3))if(p=f=e.match(Qe),t){if(~e.indexOf("="))return p=e.match(Ze),n&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,l=p[1]/100,i=2*(c=p[2]/100)-(s=c<=.5?c*(l+1):c+l-c*l),3<p.length&&(p[3]*=1),p[0]=ie(a+1/3,i,s),p[1]=ie(a,i,s),p[2]=ie(a-1/3,i,s);else p=e.match(Qe)||Tt.transparent;p=p.map(Number)}return t&&!f&&(i=p[0]/St,s=p[1]/St,o=p[2]/St,c=((u=Math.max(i,s,o))+(h=Math.min(i,s,o)))/2,u===h?a=l=0:(d=u-h,l=.5<c?d/(2-u-h):d/(u+h),a=u===i?(s-o)/d+(s<o?6:0):u===s?(o-i)/d+2:(i-s)/d+4,a*=60),p[0]=~~(a+.5),p[1]=~~(100*l+.5),p[2]=~~(100*c+.5)),n&&p.length<4&&(p[3]=1),p}function re(e){var t=[],n=[],i=-1;return e.split(Et).forEach((function(e){var s=e.match(Je)||[];t.push.apply(t,s),n.push(i+=s.length+1)})),t.c=n,t}function oe(e,t,n){var i,s,r,o,a="",l=(e+a).match(Et),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map((function(e){return(e=se(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&&(r=re(e),(i=n.c).join(a)!==r.c.join(a)))for(o=(s=e.replace(Et,"1").split(Je)).length-1;u<o;u++)a+=s[u]+(~i.indexOf(u)?l.shift()||c+"0,0,0,0)":(r.length?r:l.length?l:n).shift());if(!s)for(o=(s=e.split(Et)).length-1;u<o;u++)a+=s[u]+l[u];return a+s[o]}function ae(e){var t,n=e.join(" ");if(Et.lastIndex=0,Et.test(n))return t=Ct.test(n),e[1]=oe(e[1],t),e[0]=oe(e[0],t,re(e[1])),!0}function le(e,t){for(var n,i=e._first;i;)i instanceof jt?le(i,t):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===t||(i.timeline?le(i.timeline,t):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=t)),i=i._next}function ce(e,t,n,i){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===i&&(i=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var s,r={easeIn:t,easeOut:n,easeInOut:i};return _(e,(function(e){for(var t in At[e]=st[e]=r,At[s=e.toLowerCase()]=n,r)At[s+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=At[e+"."+t]=r[t]})),r}function ue(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function he(e,t,n){function i(e){return 1===e?1:s*Math.pow(2,-10*e)*Ue((e-o)*r)+1}var s=1<=t?t:1,r=(n||(e?.3:.45))/(t<1?t:1),o=r/Ve*(Math.asin(1/s)||0),a="out"===e?i:"in"===e?function(e){return 1-i(1-e)}:ue(i);return r=Ve/r,a.config=function(t,n){return he(e,t,n)},a}function de(e,t){function n(e){return e?--e*e*((t+1)*e+t)+1:0}void 0===t&&(t=1.70158);var i="out"===e?n:"in"===e?function(e){return 1-n(1-e)}:ue(n);return i.config=function(t){return de(e,t)},i}var fe,pe,ge,me,ve,ye,_e,be,we,xe,Se,Te,Ee,Ce,ke,Oe,Ae,Me,Le,Pe,Ne,De,Ie,Be,Re,ze,Fe={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},je={duration:.5,overwrite:!1,delay:0},$e=1e8,He=1/$e,Ve=2*Math.PI,We=Ve/4,qe=0,Ye=Math.sqrt,Xe=Math.cos,Ue=Math.sin,Ke="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Ge=Array.isArray,Qe=/(?:-?\.?\d|\.)+/gi,Ze=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Je=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,tt=/[+-]=-?[.\d]+/,nt=/[^,'"\[\]\s]+/gi,it=/[\d.+\-=]+(?:e[-+]\d*)*/i,st={},rt={},ot=[],at={},lt={},ct={},ut=30,ht=[],dt="",ft=function(e,t){for(var n in t)e[n]=t[n];return e},pt=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},gt=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},mt={_start:0,endTime:g,totalDuration:g},vt=function e(t,n,s){var r,o,a,l=t.labels,c=t._recent||mt,u=t.duration()>=$e?c.endTime(!1):t._dur;return i(n)&&(isNaN(n)||n in l)?(o=n.charAt(0),a="%"===n.substr(-1),r=n.indexOf("="),"<"===o||">"===o?(0<=r&&(n=n.replace(/=/,"")),("<"===o?c._start:c.endTime(0<=c._repeat))+(parseFloat(n.substr(1))||0)*(a?(r<0?c:s).totalDuration()/100:1)):r<0?(n in l||(l[n]=u),l[n]):(o=parseFloat(n.charAt(r-1)+n.substr(r+1)),a&&s&&(o=o/100*(Ge(s)?s[0]:s).totalDuration()),1<r?e(t,n.substr(0,r-1),s)+o:u+o)):null==n?u:+n},yt=function(e,t,n){return n<e?e:t<n?t:n},_t=[].slice,bt=function(e,t,n){return!i(e)||n||!me&&Ot()?Ge(e)?function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){return i(e)&&!t||X(e,1)?n.push.apply(n,bt(e)):n.push(e)}))||n}(e,n):X(e)?_t.call(e,0):e?[e]:[]:_t.call((t||ve).querySelectorAll(e),0)},wt=function(e,t,n,i,s){var r=t-e,o=i-n;return q(s,(function(t){return n+((t-e)/r*o||0)}))},xt=function(e,t,n){var i,s,r=e.vars,o=r[t];if(o)return i=r[t+"Params"],s=r.callbackScope||e,n&&ot.length&&S(),i?o.apply(s,i):o.call(s)},St=255,Tt={aqua:[0,St,St],lime:[0,St,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,St],navy:[0,0,128],white:[St,St,St],olive:[128,128,0],yellow:[St,St,0],orange:[St,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[St,0,0],pink:[St,192,203],cyan:[0,St,St],transparent:[St,St,St,0]},Et=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Tt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Ct=/hsl[a]?\(/,kt=(Ae=Date.now,Me=500,Le=33,Pe=Ae(),Ne=Pe,Ie=De=1e3/240,Ce={time:0,frame:0,tick:function(){Dt(!0)},deltaRatio:function(e){return ke/(1e3/(e||60))},wake:function(){_e&&(!me&&c()&&(ge=me=window,ve=ge.document||{},st.gsap=gn,(ge.gsapVersions||(ge.gsapVersions=[])).push(gn.version),h(ye||ge.GreenSockGlobals||!ge.gsap&&ge||{}),Ee=ge.requestAnimationFrame),Se&&Ce.sleep(),Te=Ee||function(e){return setTimeout(e,Ie-1e3*Ce.time+1|0)},xe=1,Dt(2))},sleep:function(){(Ee?ge.cancelAnimationFrame:clearTimeout)(Se),xe=0,Te=g},lagSmoothing:function(e,t){Me=e||1e8,Le=Math.min(t,Me,0)},fps:function(e){De=1e3/(e||240),Ie=1e3*Ce.time+De},add:function(e){Be.indexOf(e)<0&&Be.push(e),Ot()},remove:function(e,t){~(t=Be.indexOf(e))&&Be.splice(t,1)&&t<=Oe&&Oe--},_listeners:Be=[]}),Ot=function(){return!xe&&kt.wake()},At={},Mt=/^[\d.\-M][\d.\-,\s]/,Lt=/["']/g,Pt=function(e){return function(t){return 1-e(1-t)}},Nt=function(e,t){return e&&(s(e)?e:At[e]||function(e){var t=(e+"").split("("),n=At[t[0]];return n&&1<t.length&&n.config?n.config.apply(null,~e.indexOf("{")?[function(e){for(var t,n,i,s={},r=e.substr(1,e.length-3).split(":"),o=r[0],a=1,l=r.length;a<l;a++)n=r[a],t=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,t),s[o]=isNaN(i)?i.replace(Lt,"").trim():+i,o=n.substr(t+1).trim();return s}(t[1])]:function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<n?e.indexOf(")",n+1):n)}(e).split(",").map(E)):At._CE&&Mt.test(e)?At._CE("",e):n}(e))||t};function Dt(e){var t,n,i,s,r=Ae()-Ne,o=!0===e;if(Me<r&&(Pe+=r-Le),(0<(t=(i=(Ne+=r)-Pe)-Ie)||o)&&(s=++Ce.frame,ke=i-1e3*Ce.time,Ce.time=i/=1e3,Ie+=t+(De<=t?4:De-t),n=1),o||(Se=Te(Dt)),n)for(Oe=0;Oe<Be.length;Oe++)Be[Oe](i,ke,s,e)}function It(e){return e<ze?Re*e*e:e<.7272727272727273?Re*Math.pow(e-1.5/2.75,2)+.75:e<.9090909090909092?Re*(e-=2.25/2.75)*e+.9375:Re*Math.pow(e-2.625/2.75,2)+.984375}_("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;ce(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),At.Linear.easeNone=At.none=At.Linear.easeIn,ce("Elastic",he("in"),he("out"),he()),Re=7.5625,ze=1/2.75,ce("Bounce",(function(e){return 1-It(1-e)}),It),ce("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),ce("Circ",(function(e){return-(Ye(1-e*e)-1)})),ce("Sine",(function(e){return 1===e?1:1-Xe(e*We)})),ce("Back",de("in"),de("out"),de()),At.SteppedEase=At.steps=st.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,i=e+(t?0:1),s=t?1:0;return function(e){return((i*yt(0,.99999999,e)|0)+s)*n}}},je.ease=At["quad.out"],_("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return dt+=e+","+e+"Params,"}));var Bt,Rt=function(e,t){this.id=qe++,(e._gsap=this).target=e,this.harness=t,this.get=t?t.get:y,this.set=t?t.getSetter:tn},zt=((Bt=Ft.prototype).delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},Bt.duration=function(e){return arguments.length?this.totalDuration(0<this._repeat?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},Bt.totalDuration=function(e){return arguments.length?(this._dirty=0,H(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Bt.totalTime=function(e,t){if(Ot(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(R(this,e),!n._dp||n.parent||z(n,this);n&&n.parent;)n.parent._time!==n._start+(0<=n._ts?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&e<this._tDur||this._ts<0&&0<e||!this._tDur&&!e)&&F(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===He||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),T(this,e,t)),this},Bt.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+D(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},Bt.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Bt.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+D(this),t):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Bt.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?pt(this._tTime,n)+1:1},Bt.timeScale=function(e){if(!arguments.length)return this._rts===-He?0:this._rts;if(this._rts===e)return this;var t=this.parent&&this._ts?I(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-He?0:this._rts,function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent}(this.totalTime(yt(-this._delay,this._tDur,t),!0)),B(this),this},Bt.paused=function(e){return arguments.length?(this._ps!==e&&((this._ps=e)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ot(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==He&&(this._tTime-=He)))),this):this._ps},Bt.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return!t||!t._sort&&this.parent||F(t,this,e-this._delay),this}return this._start},Bt.endTime=function(e){return this._start+(l(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Bt.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?I(t.rawTime(e),this):this._tTime:this._tTime},Bt.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(t._ts||1),t=t._dp;return n},Bt.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,V(this)):-2===this._repeat?1/0:this._repeat},Bt.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,V(this),t?this.time(t):this}return this._rDelay},Bt.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},Bt.seek=function(e,t){return this.totalTime(vt(this,e),l(t))},Bt.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,l(t))},Bt.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},Bt.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},Bt.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},Bt.resume=function(){return this.paused(!1)},Bt.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-He:0)),this):this._rts<0},Bt.invalidate=function(){return this._initted=this._act=0,this._zTime=-He,this},Bt.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-He))},Bt.eventCallback=function(e,t,n){var i=this.vars;return 1<arguments.length?(t?(i[e]=t,n&&(i[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete i[e],this):i[e]},Bt.then=function(e){var t=this;return new Promise((function(n){function i(){var e=t.then;t.then=null,s(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e}var r=s(e)?e:C;t._initted&&1===t.totalProgress()&&0<=t._ts||!t._tTime&&t._ts<0?i():t._prom=i}))},Bt.kill=function(){ne(this)},Ft);function Ft(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,H(this,+e.duration,1,1),this.data=e.data,xe||kt.wake()}k(zt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-He,_prom:0,_ps:!1,_rts:1});var jt=function(e){function o(t,i){var s;return void 0===t&&(t={}),(s=e.call(this,t)||this).labels={},s.smoothChildTiming=!!t.smoothChildTiming,s.autoRemoveChildren=!!t.autoRemoveChildren,s._sort=l(t.sortChildren),pe&&F(t.parent||pe,n(s),i),t.reversed&&s.reverse(),t.paused&&s.paused(!0),t.scrollTrigger&&j(n(s),t.scrollTrigger),s}t(o,e);var a=o.prototype;return a.to=function(e,t,n){return W(0,arguments,this),this},a.from=function(e,t,n){return W(1,arguments,this),this},a.fromTo=function(e,t,n,i){return W(2,arguments,this),this},a.set=function(e,t,n){return t.duration=0,t.parent=this,M(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Kt(e,t,vt(this,n),1),this},a.call=function(e,t,n){return F(this,Kt.delayedCall(0,e,t),n)},a.staggerTo=function(e,t,n,i,s,r,o){return n.duration=t,n.stagger=n.stagger||i,n.onComplete=r,n.onCompleteParams=o,n.parent=this,new Kt(e,n,vt(this,s)),this},a.staggerFrom=function(e,t,n,i,s,r,o){return n.runBackwards=1,M(n).immediateRender=l(n.immediateRender),this.staggerTo(e,t,n,i,s,r,o)},a.staggerFromTo=function(e,t,n,i,s,r,o,a){return i.startAt=n,M(i).immediateRender=l(i.immediateRender),this.staggerTo(e,t,i,s,r,o,a)},a.render=function(e,t,n){var i,s,r,o,a,l,c,u,h,d,f,p,g=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:w(e),_=this._zTime<0!=e<0&&(this._initted||!v);if(this!==pe&&m<y&&0<=e&&(y=m),y!==this._tTime||n||_){if(g!==this._time&&v&&(y+=this._time-g,e+=this._time-g),i=y,h=this._start,l=!(u=this._ts),_&&(v||(g=this._zTime),!e&&t||(this._zTime=e)),this._repeat){if(f=this._yoyo,a=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*a+e,t,n);if(i=w(y%a),y===m?(o=this._repeat,i=v):((o=~~(y/a))&&o===y/a&&(i=v,o--),v<i&&(i=v)),d=pt(this._tTime,a),!g&&this._tTime&&d!==o&&(d=o),f&&1&o&&(i=v-i,p=1),o!==d&&!this._lock){var b=f&&1&d,x=b===(f&&1&o);if(o<d&&(b=!b),g=b?0:v,this._lock=1,this.render(g||(p?0:w(o*a)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&xt(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),g&&g!==this._time||l!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,m=this._tDur,x&&(this._lock=2,g=b?v:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;le(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(e,t,n){var i;if(t<n)for(i=e._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<t)return i;i=i._prev}}(this,w(g),w(i)))&&(y-=i-(i=c._start)),this._tTime=y,this._time=i,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,g=0),!g&&i&&!t&&(xt(this,"onStart"),this._tTime!==y))return this;if(g<=i&&0<=e)for(s=this._first;s;){if(r=s._next,(s._act||i>=s._start)&&s._ts&&c!==s){if(s.parent!==this)return this.render(e,t,n);if(s.render(0<s._ts?(i-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(i-s._start)*s._ts,t,n),i!==this._time||!this._ts&&!l){c=0,r&&(y+=this._zTime=-He);break}}s=r}else{s=this._last;for(var S=e<0?e:i;s;){if(r=s._prev,(s._act||S<=s._end)&&s._ts&&c!==s){if(s.parent!==this)return this.render(e,t,n);if(s.render(0<s._ts?(S-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(S-s._start)*s._ts,t,n),i!==this._time||!this._ts&&!l){c=0,r&&(y+=this._zTime=S?-He:He);break}}s=r}}if(c&&!t&&(this.pause(),c.render(g<=i?0:-He)._zTime=g<=i?1:-1,this._ts))return this._start=h,B(this),this.render(e,t,n);this._onUpdate&&!t&&xt(this,"onUpdate",!0),(y===m&&m>=this.totalDuration()||!y&&g)&&(h!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||(!e&&v||!(y===m&&0<this._ts||!y&&this._ts<0)||P(this,1),t||e<0&&!g||!y&&!g&&m||(xt(this,y===m&&0<=e?"onComplete":"onReverseComplete",!0),!this._prom||y<m&&0<this.timeScale()||this._prom())))}return this},a.add=function(e,t){var n=this;if(r(t)||(t=vt(this,t,e)),!(e instanceof zt)){if(Ge(e))return e.forEach((function(e){return n.add(e,t)})),this;if(i(e))return this.addLabel(e,t);if(!s(e))return this;e=Kt.delayedCall(0,e)}return this!==e?F(this,e,t):this},a.getChildren=function(e,t,n,i){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===i&&(i=-$e);for(var s=[],r=this._first;r;)r._start>=i&&(r instanceof Kt?t&&s.push(r):(n&&s.push(r),e&&s.push.apply(s,r.getChildren(!0,t,n)))),r=r._next;return s},a.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},a.remove=function(e){return i(e)?this.removeLabel(e):s(e)?this.killTweensOf(e):(L(this,e),e===this._recent&&(this._recent=this._last),N(this))},a.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=w(kt.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},a.addLabel=function(e,t){return this.labels[e]=vt(this,t),this},a.removeLabel=function(e){return delete this.labels[e],this},a.addPause=function(e,t,n){var i=Kt.delayedCall(0,t||g,n);return i.data="isPause",this._hasPause=1,F(this,i,vt(this,e))},a.removePause=function(e){var t=this._first;for(e=vt(this,e);t;)t._start===e&&"isPause"===t.data&&P(t),t=t._next},a.killTweensOf=function(e,t,n){for(var i=this.getTweensOf(e,n),s=i.length;s--;)Vt!==i[s]&&i[s].kill(e,t);return this},a.getTweensOf=function(e,t){for(var n,i=[],s=bt(e),o=this._first,a=r(t);o;)o instanceof Kt?x(o._targets,s)&&(a?(!Vt||o._initted&&o._ts)&&o.globalTime(0)<=t&&o.globalTime(o.totalDuration())>t:!t||o.isActive())&&i.push(o):(n=o.getTweensOf(s,t)).length&&i.push.apply(i,n),o=o._next;return i},a.tweenTo=function(e,t){t=t||{};var n,i=this,s=vt(i,e),r=t.startAt,o=t.onStart,a=t.onStartParams,l=t.immediateRender,c=Kt.to(i,k({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:t.duration||Math.abs((s-(r&&"time"in r?r.time:i._time))/i.timeScale())||He,onStart:function(){if(i.pause(),!n){var e=t.duration||Math.abs((s-(r&&"time"in r?r.time:i._time))/i.timeScale());c._dur!==e&&H(c,e,0,1).render(c._time,!0,!0),n=1}o&&o.apply(c,a||[])}},t));return l?c.render(0):c},a.tweenFromTo=function(e,t,n){return this.tweenTo(t,k({startAt:{time:vt(this,e)}},n))},a.recent=function(){return this._recent},a.nextLabel=function(e){return void 0===e&&(e=this._time),te(this,vt(this,e))},a.previousLabel=function(e){return void 0===e&&(e=this._time),te(this,vt(this,e),1)},a.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+He)},a.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var i,s=this._first,r=this.labels;s;)s._start>=n&&(s._start+=e,s._end+=e),s=s._next;if(t)for(i in r)r[i]>=n&&(r[i]+=e);return N(this)},a.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},a.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),N(this)},a.totalDuration=function(e){var t,n,i,s=0,r=this,o=r._last,a=$e;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-e:e));if(r._dirty){for(i=r.parent;o;)t=o._prev,o._dirty&&o.totalDuration(),a<(n=o._start)&&r._sort&&o._ts&&!r._lock?(r._lock=1,F(r,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(s-=n,(!i&&!r._dp||i&&i.smoothChildTiming)&&(r._start+=n/r._ts,r._time-=n,r._tTime-=n),r.shiftChildren(-n,!1,-1/0),a=0),o._end>s&&o._ts&&(s=o._end),o=t;H(r,r===pe&&r._time>s?r._time:s,1,1),r._dirty=0}return r._tDur},o.updateRoot=function(e){if(pe._ts&&(T(pe,I(e,pe)),be=kt.frame),kt.frame>=ut){ut+=Fe.autoSleep||120;var t=pe._first;if((!t||!t._ts)&&Fe.autoSleep&&kt._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||kt.sleep()}}},o}(zt);function $t(e,t,n,r,o,l){var c,u,h,d;if(lt[e]&&!1!==(c=new lt[e]).init(o,c.rawVars?t[e]:function(e,t,n,r,o){if(s(e)&&(e=Yt(e,o,t,n,r)),!a(e)||e.style&&e.nodeType||Ge(e)||Ke(e))return i(e)?Yt(e,o,t,n,r):e;var l,c={};for(l in e)c[l]=Yt(e[l],o,t,n,r);return c}(t[e],r,o,l,n),n,r,l)&&(n._pt=u=new un(n._pt,o,e,0,1,c.render,c,0,c.priority),n!==we))for(h=n._ptLookup[n._targets.indexOf(o)],d=c._props.length;d--;)h[c._props[d]]=u;return c}function Ht(e,t,n,i){var s,r,o=t.ease||i||"power1.inOut";if(Ge(t))r=n[e]||(n[e]=[]),t.forEach((function(e,n){return r.push({t:n/(t.length-1)*100,v:e,e:o})}));else for(s in t)r=n[s]||(n[s]=[]),"ease"===s||r.push({t:parseFloat(e),v:t[s],e:o})}k(jt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Vt,Wt=function(e,t,n,r,o,a,l,c,u){s(r)&&(r=r(o||0,e,a));var h,f=e[t],p="get"!==n?n:s(f)?u?e[t.indexOf("set")||!s(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():f,g=s(f)?u?en:Jt:Zt;if(i(r)&&(~r.indexOf("random(")&&(r=ee(r)),"="===r.charAt(1)&&(!(h=parseFloat(p)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(Y(p)||0))&&0!==h||(r=h))),p!==r)return isNaN(p*r)||""===r?(f||t in e||d(t,r),function(e,t,n,i,s,r,o){var a,l,c,u,h,d,f,p,g=new un(this._pt,e,t,0,1,rn,null,s),m=0,v=0;for(g.b=n,g.e=i,n+="",(f=~(i+="").indexOf("random("))&&(i=ee(i)),r&&(r(p=[n,i],e,t),n=p[0],i=p[1]),l=n.match(et)||[];a=et.exec(i);)u=a[0],h=i.substring(m,a.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),u!==l[v++]&&(d=parseFloat(l[v-1])||0,g._pt={_next:g._pt,p:h||1===v?h:",",s:d,c:"="===u.charAt(1)?parseFloat(u.substr(2))*("-"===u.charAt(0)?-1:1):parseFloat(u)-d,m:c&&c<4?Math.round:0},m=et.lastIndex);return g.c=m<i.length?i.substring(m,i.length):"",g.fp=o,(tt.test(i)||f)&&(g.e=0),this._pt=g}.call(this,e,t,p,r,g,c||Fe.stringFilter,u)):(h=new un(this._pt,e,t,+p||0,r-(p||0),"boolean"==typeof f?sn:nn,0,g),u&&(h.fp=u),l&&h.modifier(l,this,e),this._pt=h)},qt=function e(t,n){var i,s,r,o,a,c,u,h,d,f,p,g,y,_=t.vars,b=_.ease,w=_.startAt,x=_.immediateRender,T=_.lazy,E=_.onUpdate,C=_.onUpdateParams,O=_.callbackScope,M=_.runBackwards,L=_.yoyoEase,N=_.keyframes,D=_.autoRevert,I=t._dur,B=t._startAt,R=t._targets,z=t.parent,F=z&&"nested"===z.data?z.parent._targets:R,j="auto"===t._overwrite&&!fe,$=t.timeline;if(!$||N&&b||(b="none"),t._ease=Nt(b,je.ease),t._yEase=L?Pt(Nt(!0===L?b:L,je.ease)):0,L&&t._yoyo&&!t._repeat&&(L=t._yEase,t._yEase=t._ease,t._ease=L),t._from=!$&&!!_.runBackwards,!$||N&&!_.stagger){if(g=(h=R[0]?v(R[0]).harness:0)&&_[h.prop],i=A(_,rt),B&&P(B.render(-1,!0)),w)if(P(t._startAt=Kt.set(R,k({data:"isStart",overwrite:!1,parent:z,immediateRender:!0,lazy:l(T),startAt:null,delay:0,onUpdate:E,onUpdateParams:C,callbackScope:O,stagger:0},w))),n<0&&!x&&!D&&t._startAt.render(-1,!0),x){if(0<n&&!D&&(t._startAt=0),I&&n<=0)return void(n&&(t._zTime=n))}else!1===D&&(t._startAt=0);else if(M&&I)if(B)D||(t._startAt=0);else if(n&&(x=!1),r=k({overwrite:!1,data:"isFromStart",lazy:x&&l(T),immediateRender:x,stagger:0,parent:z},i),g&&(r[h.prop]=g),P(t._startAt=Kt.set(R,r)),n<0&&t._startAt.render(-1,!0),t._zTime=n,x){if(!n)return}else e(t._startAt,He);for(t._pt=0,T=I&&l(T)||T&&!I,s=0;s<R.length;s++){if(u=(a=R[s])._gsap||m(R)[s]._gsap,t._ptLookup[s]=f={},at[u.id]&&ot.length&&S(),p=F===R?s:F.indexOf(a),h&&!1!==(d=new h).init(a,g||i,t,p,F)&&(t._pt=o=new un(t._pt,a,d.name,0,1,d.render,d,0,d.priority),d._props.forEach((function(e){f[e]=o})),d.priority&&(c=1)),!h||g)for(r in i)lt[r]&&(d=$t(r,i,t,p,a,F))?d.priority&&(c=1):f[r]=o=Wt.call(t,a,r,"get",i[r],p,F,0,_.stringFilter);t._op&&t._op[s]&&t.kill(a,t._op[s]),j&&t._pt&&(Vt=t,pe.killTweensOf(a,f,t.globalTime(n)),y=!t.parent,Vt=0),t._pt&&T&&(at[u.id]=1)}c&&cn(t),t._onInit&&t._onInit(t)}t._onUpdate=E,t._initted=(!t._op||t._pt)&&!y,N&&n<=0&&$.render($e,!0,!0)},Yt=function(e,t,n,r,o){return s(e)?e.call(t,n,r,o):i(e)&&~e.indexOf("random(")?ee(e):e},Xt=dt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Ut={};_(Xt+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Ut[e]=1}));var Kt=function(e){function s(t,i,s,o){var c;"number"==typeof i&&(s.duration=i,i=s,s=null);var h,d,p,g,v,y,_,b,x=(c=e.call(this,o?i:M(i))||this).vars,S=x.duration,T=x.delay,E=x.immediateRender,C=x.stagger,O=x.overwrite,L=x.keyframes,P=x.defaults,N=x.scrollTrigger,D=x.yoyoEase,I=i.parent||pe,B=(Ge(t)||Ke(t)?r(t[0]):"length"in i)?[t]:bt(t);if(c._targets=B.length?m(B):f("GSAP target "+t+" not found. https://greensock.com",!Fe.nullTargetWarn)||[],c._ptLookup=[],c._overwrite=O,L||C||u(S)||u(T)){if(i=c.vars,(h=c.timeline=new jt({data:"nested",defaults:P||{}})).kill(),h.parent=h._dp=n(c),h._start=0,C||u(S)||u(T)){if(g=B.length,_=C&&K(C),a(C))for(v in C)~Xt.indexOf(v)&&((b=b||{})[v]=C[v]);for(d=0;d<g;d++)(p=A(i,Ut)).stagger=0,D&&(p.yoyoEase=D),b&&ft(p,b),y=B[d],p.duration=+Yt(S,n(c),d,y,B),p.delay=(+Yt(T,n(c),d,y,B)||0)-c._delay,!C&&1===g&&p.delay&&(c._delay=T=p.delay,c._start+=T,p.delay=0),h.to(y,p,_?_(d,y,B):0),h._ease=At.none;h.duration()?S=T=0:c.timeline=0}else if(L){M(k(h.vars.defaults,{ease:"none"})),h._ease=Nt(L.ease||i.ease||"none");var R,z,$,H=0;if(Ge(L))L.forEach((function(e){return h.to(B,e,">")}));else{for(v in p={},L)"ease"===v||"easeEach"===v||Ht(v,L[v],p,L.easeEach);for(v in p)for(R=p[v].sort((function(e,t){return e.t-t.t})),d=H=0;d<R.length;d++)($={ease:(z=R[d]).e,duration:(z.t-(d?R[d-1].t:0))/100*S})[v]=z.v,h.to(B,$,H),H+=$.duration;h.duration()<S&&h.to({},{duration:S-h.duration()})}}S||c.duration(S=h.duration())}else c.timeline=0;return!0!==O||fe||(Vt=n(c),pe.killTweensOf(B),Vt=0),F(I,n(c),s),i.reversed&&c.reverse(),i.paused&&c.paused(!0),(E||!S&&!L&&c._start===w(I._time)&&l(E)&&function e(t){return!t||t._ts&&e(t.parent)}(n(c))&&"nested"!==I.data)&&(c._tTime=-He,c.render(Math.max(0,-T))),N&&j(n(c),N),c}t(s,e);var o=s.prototype;return o.render=function(e,t,n){var i,s,r,o,a,l,c,u,h,d=this._time,f=this._tDur,p=this._dur,g=f-He<e&&0<=e?f:e<He?0:e;if(p){if(g!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=e<0){if(i=g,u=this.timeline,this._repeat){if(o=p+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,n);if(i=w(g%o),g===f?(r=this._repeat,i=p):((r=~~(g/o))&&r===g/o&&(i=p,r--),p<i&&(i=p)),(l=this._yoyo&&1&r)&&(h=this._yEase,i=p-i),a=pt(this._tTime,o),i===d&&!n&&this._initted)return this;r!==a&&(u&&this._yEase&&le(u,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=n=1,this.render(w(o*r),!0).invalidate()._lock=0))}if(!this._initted){if($(this,e<0?e:i,n,t))return this._tTime=0,this;if(p!==this._dur)return this.render(e,t,n)}if(this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(i/p),this._from&&(this.ratio=c=1-c),i&&!d&&!t&&(xt(this,"onStart"),this._tTime!==g))return this;for(s=this._pt;s;)s.r(c,s.d),s=s._next;u&&u.render(e<0?e:!i&&l?-He:u._dur*u._ease(i/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(e<0&&this._startAt&&this._startAt.render(e,!0,n),xt(this,"onUpdate")),this._repeat&&r!==a&&this.vars.onRepeat&&!t&&this.parent&&xt(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(e<0&&this._startAt&&!this._onUpdate&&this._startAt.render(e,!0,!0),!e&&p||!(g===this._tDur&&0<this._ts||!g&&this._ts<0)||P(this,1),t||e<0&&!d||!g&&!d||(xt(this,g===f?"onComplete":"onReverseComplete",!0),!this._prom||g<f&&0<this.timeScale()||this._prom()))}}else!function(e,t,n,i){var s,r,o,a=e.ratio,l=t<0||!t&&(!e._start&&function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))}(e)&&(e._initted||!gt(e))||(e._ts<0||e._dp._ts<0)&&!gt(e))?0:1,c=e._rDelay,u=0;if(c&&e._repeat&&(u=yt(0,e._tDur,t),r=pt(u,c),e._yoyo&&1&r&&(l=1-l),r!==pt(e._tTime,c)&&(a=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==a||i||e._zTime===He||!t&&e._zTime){if(!e._initted&&$(e,t,i,n))return;for(o=e._zTime,e._zTime=t||(n?He:0),n=n||t&&!o,e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=u,s=e._pt;s;)s.r(l,s.d),s=s._next;e._startAt&&t<0&&e._startAt.render(t,!0,!0),e._onUpdate&&!n&&xt(e,"onUpdate"),u&&e._repeat&&!n&&e.parent&&xt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&P(e,1),n||(xt(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},o.targets=function(){return this._targets},o.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),e.prototype.invalidate.call(this)},o.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?ne(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Vt&&!0!==Vt.vars.overwrite)._first||ne(this),this.parent&&n!==this.timeline.totalDuration()&&H(this,this._dur*this.timeline._tDur/n,0,1),this}var s,r,o,a,l,c,u,h=this._targets,d=e?bt(e):h,f=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0}(h,d))return"all"===t&&(this._pt=0),ne(this);for(s=this._op=this._op||[],"all"!==t&&(i(t)&&(l={},_(t,(function(e){return l[e]=1})),t=l),t=function(e,t){var n,i,s,r,o=e[0]?v(e[0]).harness:0,a=o&&o.aliases;if(!a)return t;for(i in n=ft({},t),a)if(i in n)for(s=(r=a[i].split(",")).length;s--;)n[r[s]]=n[i];return n}(h,t)),u=h.length;u--;)if(~d.indexOf(h[u]))for(l in r=f[u],"all"===t?(s[u]=t,a=r,o={}):(o=s[u]=s[u]||{},a=t),a)(c=r&&r[l])&&("kill"in c.d&&!0!==c.d.kill(l)||L(this,c,"_pt"),delete r[l]),"all"!==o&&(o[l]=1);return this._initted&&!this._pt&&p&&ne(this),this},s.to=function(e,t,n){return new s(e,t,n)},s.from=function(e,t){return W(1,arguments)},s.delayedCall=function(e,t,n,i){return new s(t,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:t,onReverseComplete:t,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},s.fromTo=function(e,t,n){return W(2,arguments)},s.set=function(e,t){return t.duration=0,t.repeatDelay||(t.repeat=0),new s(e,t)},s.killTweensOf=function(e,t,n){return pe.killTweensOf(e,t,n)},s}(zt);function Gt(e,t,n){return e.setAttribute(t,n)}function Qt(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)}k(Kt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_("staggerTo,staggerFrom,staggerFromTo",(function(e){Kt[e]=function(){var t=new jt,n=_t.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var Zt=function(e,t,n){return e[t]=n},Jt=function(e,t,n){return e[t](n)},en=function(e,t,n,i){return e[t](i.fp,n)},tn=function(e,t){return s(e[t])?Jt:o(e[t])&&e.setAttribute?Gt:Zt},nn=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},sn=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},rn=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(1===e&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},on=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},an=function(e,t,n,i){for(var s,r=this._pt;r;)s=r._next,r.p===i&&r.modifier(e,t,n),r=s},ln=function(e){for(var t,n,i=this._pt;i;)n=i._next,i.p===e&&!i.op||i.op===e?L(this,i,"_pt"):i.dep||(t=1),i=n;return!t},cn=function(e){for(var t,n,i,s,r=e._pt;r;){for(t=r._next,n=i;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:s)?r._prev._next=r:i=r,(r._next=n)?n._prev=r:s=r,r=t}e._pt=i},un=(hn.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Qt,this.m=e,this.mt=n,this.tween=t},hn);function hn(e,t,n,i,s,r,o,a,l){this.t=t,this.s=i,this.c=s,this.p=n,this.r=r||nn,this.d=o||this,this.set=a||Zt,this.pr=l||0,(this._next=e)&&(e._prev=this)}_(dt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return rt[e]=1})),st.TweenMax=st.TweenLite=Kt,st.TimelineLite=st.TimelineMax=jt,pe=new jt({sortChildren:!1,defaults:je,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Fe.stringFilter=ae;var dn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return function(e){var t=(e=!e.name&&e.default||e).name,n=s(e),i=t&&!n&&e.init?function(){this._props=[]}:e,r={init:g,render:on,add:Wt,kill:ln,modifier:an,rawVars:0},o={targetTest:0,get:0,getSetter:tn,aliases:{},register:0};if(Ot(),e!==i){if(lt[t])return;k(i,k(A(e,r),o)),ft(i.prototype,ft(r,A(e,o))),lt[i.prop=t]=i,e.targetTest&&(ht.push(i),rt[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}p(t,i),e.register&&e.register(gn,i,un)}(e)}))},timeline:function(e){return new jt(e)},getTweensOf:function(e,t){return pe.getTweensOf(e,t)},getProperty:function(e,t,n,s){i(e)&&(e=bt(e)[0]);var r=v(e||{}).get,o=n?C:E;return"native"===n&&(n=""),e?t?o((lt[t]&<[t].get||r)(e,t,n,s)):function(t,n,i){return o((lt[t]&<[t].get||r)(e,t,n,i))}:e},quickSetter:function(e,t,n){if(1<(e=bt(e)).length){var i=e.map((function(e){return gn.quickSetter(e,t,n)})),s=i.length;return function(e){for(var t=s;t--;)i[t](e)}}e=e[0]||{};var r=lt[t],o=v(e),a=o.harness&&(o.harness.aliases||{})[t]||t,l=r?function(t){var i=new r;we._pt=0,i.init(e,n?t+n:t,we,0,[e]),i.render(1,i),we._pt&&on(1,we)}:o.set(e,a);return r?l:function(t){return l(e,a,n?t+n:t,o,1)}},isTweening:function(e){return 0<pe.getTweensOf(e,!0).length},defaults:function(e){return e&&e.ease&&(e.ease=Nt(e.ease,je.ease)),O(je,e||{})},config:function(e){return O(Fe,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,s=e.defaults,r=e.extendTimeline;(i||"").split(",").forEach((function(e){return e&&!lt[e]&&!st[e]&&f(t+" effect requires "+e+" plugin.")})),ct[t]=function(e,t,i){return n(bt(e),k(t||{},s),i)},r&&(jt.prototype[t]=function(e,n,i){return this.add(ct[t](e,a(n)?n:(i=n)&&{},this),i)})},registerEase:function(e,t){At[e]=Nt(t)},parseEase:function(e,t){return arguments.length?Nt(e,t):At},getById:function(e){return pe.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,i,s=new jt(e);for(s.smoothChildTiming=l(e.smoothChildTiming),pe.remove(s),s._dp=0,s._time=s._tTime=pe._time,n=pe._first;n;)i=n._next,!t&&!n._dur&&n instanceof Kt&&n.vars.onComplete===n._targets[0]||F(s,n,n._start-n._delay),n=i;return F(pe,s,0),s},utils:{wrap:function e(t,n,i){var s=n-t;return Ge(t)?J(t,e(0,t.length),n):q(i,(function(e){return(s+(e-t)%s)%s+t}))},wrapYoyo:function e(t,n,i){var s=n-t,r=2*s;return Ge(t)?J(t,e(0,t.length-1),n):q(i,(function(e){return t+(s<(e=(r+(e-t)%r)%r||0)?r-e:e)}))},distribute:K,random:Z,snap:Q,normalize:function(e,t,n){return wt(e,t,0,1,n)},getUnit:Y,clamp:function(e,t,n){return q(n,(function(n){return yt(e,t,n)}))},splitColor:se,toArray:bt,selector:function(e){return e=bt(e)[0]||f("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return bt(t,n.querySelectorAll?n:n===e?f("Invalid scope")||ve.createElement("div"):e)}},mapRange:wt,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||Y(n))}},interpolate:function e(t,n,s,r){var o=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!o){var a,l,c,u,h,d=i(t),f={};if(!0===s&&(r=1)&&(s=null),d)t={p:t},n={p:n};else if(Ge(t)&&!Ge(n)){for(c=[],u=t.length,h=u-2,l=1;l<u;l++)c.push(e(t[l-1],t[l]));u--,o=function(e){e*=u;var t=Math.min(h,~~e);return c[t](e-t)},s=n}else r||(t=ft(Ge(t)?[]:{},t));if(!c){for(a in n)Wt.call(f,t,a,"get",n[a]);o=function(e){return on(e,f)||(d?t.p:t)}}}return q(s,o)},shuffle:U},install:h,effects:ct,ticker:kt,updateRoot:jt.updateRoot,plugins:lt,globalTimeline:pe,core:{PropTween:un,globals:p,Tween:Kt,Timeline:jt,Animation:zt,getCache:v,_removeLinkedListItem:L,suppressOverwrites:function(e){return fe=e}}};function fn(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n}function pn(e,t){return{name:e,rawVars:1,init:function(e,n,s){s._onInit=function(e){var s,r;if(i(n)&&(s={},_(n,(function(e){return s[e]=1})),n=s),t){for(r in s={},n)s[r]=t(n[r]);n=s}!function(e,t){var n,i,s,r=e._targets;for(n in t)for(i=r.length;i--;)(s=(s=e._ptLookup[i][n])&&s.d)&&(s._pt&&(s=fn(s,n)),s&&s.modifier&&s.modifier(t[n],e,r[i],n))}(e,n)}}}}_("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return dn[e]=Kt[e]})),kt.add(jt.updateRoot),we=dn.to({},{duration:0});var gn=dn.registerPlugin({name:"attr",init:function(e,t,n,i,s){var r,o;for(r in t)(o=this.add(e,"setAttribute",(e.getAttribute(r)||0)+"",t[r],i,s,0,0,r))&&(o.op=r),this._props.push(r)}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n])}},pn("roundProps",G),pn("modifiers"),pn("snap",Q))||dn;function mn(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)}function vn(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)}function yn(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)}function _n(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)}function bn(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)}function wn(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)}function xn(e,t,n){return e.style[t]=n}function Sn(e,t,n){return e.style.setProperty(t,n)}function Tn(e,t,n){return e._gsap[t]=n}function En(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n}function Cn(e,t,n,i,s){var r=e._gsap;r.scaleX=r.scaleY=n,r.renderTransform(s,r)}function kn(e,t,n,i,s){var r=e._gsap;r[t]=n,r.renderTransform(s,r)}function On(e,t){var n=Qn.createElementNS?Qn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Qn.createElement(e);return n.style?n:Qn.createElement(e)}function An(e,t,n){var i=getComputedStyle(e);return i[t]||i.getPropertyValue(t.replace(Ei,"-$1").toLowerCase())||i.getPropertyValue(t)||!n&&An(e,Pi(t)||t,1)||""}function Mn(){"undefined"!=typeof window&&window.document&&(Gn=window,Qn=Gn.document,Zn=Qn.documentElement,ei=On("div")||{style:{}},On("div"),Ai=Pi(Ai),Mi=Ai+"Origin",ei.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ni=!!Pi("perspective"),Jn=1)}function Ln(e){var t,n=On("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,r=this.style.cssText;if(Zn.appendChild(n),n.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Ln}catch(e){}else this._gsapBBox&&(t=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),Zn.removeChild(n),this.style.cssText=r,t}function Pn(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])}function Nn(e){var t;try{t=e.getBBox()}catch(n){t=Ln.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ln||(t=Ln.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+Pn(e,["x","cx","x1"])||0,y:+Pn(e,["y","cy","y1"])||0,width:0,height:0}}function Dn(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Nn(e))}function In(e,t){if(t){var n=e.style;t in wi&&t!==Mi&&(t=Ai),n.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),n.removeProperty(t.replace(Ei,"-$1").toLowerCase())):n.removeAttribute(t)}}function Bn(e,t,n,i,s,r){var o=new un(e._pt,t,n,0,1,r?wn:bn);return(e._pt=o).b=i,o.e=s,e._props.push(n),o}function Rn(e,t,n,i){var s,r,o,a,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",u=ei.style,h=Ci.test(t),d="svg"===e.tagName.toLowerCase(),f=(d?"client":"offset")+(h?"Width":"Height"),p="px"===i,g="%"===i;return i===c||!l||Ni[i]||Ni[c]?l:("px"===c||p||(l=Rn(e,t,n,"px")),a=e.getCTM&&Dn(e),!g&&"%"!==c||!wi[t]&&!~t.indexOf("adius")?(u[h?"width":"height"]=100+(p?c:i),r=~t.indexOf("adius")||"em"===i&&e.appendChild&&!d?e:e.parentNode,a&&(r=(e.ownerSVGElement||{}).parentNode),r&&r!==Qn&&r.appendChild||(r=Qn.body),(o=r._gsap)&&g&&o.width&&h&&o.time===kt.time?b(l/o.width*100):(!g&&"%"!==c||(u.position=An(e,"position")),r===e&&(u.position="static"),r.appendChild(ei),s=ei[f],r.removeChild(ei),u.position="absolute",h&&g&&((o=v(r)).time=kt.time,o.width=r[f]),b(p?s*l/100:s&&l?100/s*l:0))):(s=a?e.getBBox()[h?"width":"height"]:e[f],b(g?l/s*100:l/100*s)))}function zn(e,t,n,i){var s;return Jn||Mn(),t in Oi&&"transform"!==t&&~(t=Oi[t]).indexOf(",")&&(t=t.split(",")[0]),wi[t]&&"transform"!==t?(s=zi(e,i),s="transformOrigin"!==t?s[t]:s.svg?s.origin:Fi(An(e,Mi))+" "+s.zOrigin+"px"):(s=e.style[t])&&"auto"!==s&&!i&&!~(s+"").indexOf("calc(")||(s=Ii[t]&&Ii[t](e,t,n)||An(e,t)||y(e,t)||("opacity"===t?1:0)),n&&!~(s+"").trim().indexOf(" ")?Rn(e,t,s,n)+n:s}function Fn(e,t,n,i){if(!n||"none"===n){var s=Pi(t,e,1),r=s&&An(e,s,1);r&&r!==n?(t=s,n=r):"borderColor"===t&&(n=An(e,"borderTopColor"))}var o,a,l,c,u,h,d,f,p,g,m,v,y=new un(this._pt,e.style,t,0,1,rn),_=0,b=0;if(y.b=n,y.e=i,n+="","auto"==(i+="")&&(e.style[t]=i,i=An(e,t)||i,e.style[t]=n),ae(o=[n,i]),i=o[1],l=(n=o[0]).match(Je)||[],(i.match(Je)||[]).length){for(;a=Je.exec(i);)d=a[0],p=i.substring(_,a.index),u?u=(u+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(u=1),d!==(h=l[b++]||"")&&(c=parseFloat(h)||0,m=h.substr((c+"").length),(v="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),f=parseFloat(d),g=d.substr((f+"").length),_=Je.lastIndex-g.length,g||(g=g||Fe.units[t]||m,_===i.length&&(i+=g,y.e+=g)),m!==g&&(c=Rn(e,t,h,g)||0),y._pt={_next:y._pt,p:p||1===b?p:",",s:c,c:v?v*f:f-c,m:u&&u<4||"zIndex"===t?Math.round:0});y.c=_<i.length?i.substring(_,i.length):""}else y.r="display"===t&&"none"===i?wn:bn;return tt.test(i)&&(y.e=0),this._pt=y}function jn(e){var t=e.split(" "),n=t[0],i=t[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==i&&"right"!==i||(e=n,n=i,i=e),t[0]=Di[n]||n,t[1]=Di[i]||i,t.join(" ")}function $n(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,i,s,r=t.t,o=r.style,a=t.u,l=r._gsap;if("all"===a||!0===a)o.cssText="",i=1;else for(s=(a=a.split(",")).length;-1<--s;)n=a[s],wi[n]&&(i=1,n="transformOrigin"===n?Mi:Ai),In(r,n);i&&(In(r,Ai),l&&(l.svg&&r.removeAttribute("transform"),zi(r,1),l.uncache=1))}}function Hn(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e}function Vn(e){var t=An(e,Ai);return Hn(t)?Bi:t.substr(7).match(Ze).map(b)}function Wn(e,t){var n,i,s,r,o=e._gsap||v(e),a=e.style,l=Vn(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(s=e.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?Bi:l:(l!==Bi||e.offsetParent||e===Zn||o.svg||(s=a.display,a.display="block",(n=e.parentNode)&&e.offsetParent||(r=1,i=e.nextSibling,Zn.appendChild(e)),l=Vn(e),s?a.display=s:In(e,"display"),r&&(i?n.insertBefore(e,i):n?n.appendChild(e):Zn.removeChild(e))),t&&6<l.length?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)}function qn(e,t,n,i,s,r){var o,a,l,c=e._gsap,u=s||Wn(e,!0),h=c.xOrigin||0,d=c.yOrigin||0,f=c.xOffset||0,p=c.yOffset||0,g=u[0],m=u[1],v=u[2],y=u[3],_=u[4],b=u[5],w=t.split(" "),x=parseFloat(w[0])||0,S=parseFloat(w[1])||0;n?u!==Bi&&(a=g*y-m*v)&&(l=x*(-m/a)+S*(g/a)-(g*b-m*_)/a,x=x*(y/a)+S*(-v/a)+(v*b-y*_)/a,S=l):(x=(o=Nn(e)).x+(~w[0].indexOf("%")?x/100*o.width:x),S=o.y+(~(w[1]||w[0]).indexOf("%")?S/100*o.height:S)),i||!1!==i&&c.smooth?(_=x-h,b=S-d,c.xOffset=f+(_*g+b*v)-_,c.yOffset=p+(_*m+b*y)-b):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=S,c.smooth=!!i,c.origin=t,c.originIsAbsolute=!!n,e.style[Mi]="0px 0px",r&&(Bn(r,c,"xOrigin",h,x),Bn(r,c,"yOrigin",d,S),Bn(r,c,"xOffset",f,c.xOffset),Bn(r,c,"yOffset",p,c.yOffset)),e.setAttribute("data-svg-origin",x+" "+S)}function Yn(e,t,n){var i=Y(t);return b(parseFloat(t)+parseFloat(Rn(e,"x",n+"px",i)))+i}function Xn(e,t,n,s,r,o){var a,l,c=360,u=i(r),h=parseFloat(r)*(u&&~r.indexOf("rad")?xi:1),d=o?h*o:h-s,f=s+d+"deg";return u&&("short"===(a=r.split("_")[1])&&(d%=c)!=d%180&&(d+=d<0?c:-c),"cw"===a&&d<0?d=(d+36e9)%c-~~(d/c)*c:"ccw"===a&&0<d&&(d=(d-36e9)%c-~~(d/c)*c)),e._pt=l=new un(e._pt,t,n,s,d,vn),l.e=f,l.u="deg",e._props.push(n),l}function Un(e,t){for(var n in t)e[n]=t[n];return e}function Kn(e,t,n){var i,s,r,o,a,l,c,u=Un({},n._gsap),h=n.style;for(s in u.svg?(r=n.getAttribute("transform"),n.setAttribute("transform",""),h[Ai]=t,i=zi(n,1),In(n,Ai),n.setAttribute("transform",r)):(r=getComputedStyle(n)[Ai],h[Ai]=t,i=zi(n,1),h[Ai]=r),wi)(r=u[s])!==(o=i[s])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(s)<0&&(a=Y(r)!==(c=Y(o))?Rn(n,s,r,c):parseFloat(r),l=parseFloat(o),e._pt=new un(e._pt,i,s,a,l-a,mn),e._pt.u=c||0,e._props.push(s));Un(i,u)}Kt.version=jt.version=gn.version="3.9.1",_e=1,c()&&Ot();var Gn,Qn,Zn,Jn,ei,ti,ni,ii=At.Power0,si=At.Power1,ri=At.Power2,oi=At.Power3,ai=At.Power4,li=At.Linear,ci=At.Quad,ui=At.Cubic,hi=At.Quart,di=At.Quint,fi=At.Strong,pi=At.Elastic,gi=At.Back,mi=At.SteppedEase,vi=At.Bounce,yi=At.Sine,_i=At.Expo,bi=At.Circ,wi={},xi=180/Math.PI,Si=Math.PI/180,Ti=Math.atan2,Ei=/([A-Z])/g,Ci=/(?:left|right|width|margin|padding|x)/i,ki=/[\s,\(]\S/,Oi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ai="transform",Mi=Ai+"Origin",Li="O,Moz,ms,Ms,Webkit".split(","),Pi=function(e,t,n){var i=(t||ei).style,s=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Li[s]+e in i););return s<0?null:(3===s?"ms":0<=s?Li[s]:"")+e},Ni={deg:1,rad:1,turn:1},Di={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ii={clearProps:function(e,t,n,i,s){if("isFromStart"!==s.data){var r=e._pt=new un(e._pt,t,n,0,0,$n);return r.u=i,r.pr=-10,r.tween=s,e._props.push(n),1}}},Bi=[1,0,0,1,0,0],Ri={},zi=function(e,t){var n=e._gsap||new Rt(e);if("x"in n&&!t&&!n.uncache)return n;var i,s,r,o,a,l,c,u,h,d,f,p,g,m,v,y,_,w,x,S,T,E,C,k,O,A,M,L,P,N,D,I,B=e.style,R=n.scaleX<0,z="deg",F=An(e,Mi)||"0";return i=s=r=l=c=u=h=d=f=0,o=a=1,n.svg=!(!e.getCTM||!Dn(e)),m=Wn(e,n.svg),n.svg&&(k=(!n.uncache||"0px 0px"===F)&&!t&&e.getAttribute("data-svg-origin"),qn(e,k||F,!!k||n.originIsAbsolute,!1!==n.smooth,m)),p=n.xOrigin||0,g=n.yOrigin||0,m!==Bi&&(w=m[0],x=m[1],S=m[2],T=m[3],i=E=m[4],s=C=m[5],6===m.length?(o=Math.sqrt(w*w+x*x),a=Math.sqrt(T*T+S*S),l=w||x?Ti(x,w)*xi:0,(h=S||T?Ti(S,T)*xi+l:0)&&(a*=Math.abs(Math.cos(h*Si))),n.svg&&(i-=p-(p*w+g*S),s-=g-(p*x+g*T))):(I=m[6],N=m[7],M=m[8],L=m[9],P=m[10],D=m[11],i=m[12],s=m[13],r=m[14],c=(v=Ti(I,P))*xi,v&&(k=E*(y=Math.cos(-v))+M*(_=Math.sin(-v)),O=C*y+L*_,A=I*y+P*_,M=E*-_+M*y,L=C*-_+L*y,P=I*-_+P*y,D=N*-_+D*y,E=k,C=O,I=A),u=(v=Ti(-S,P))*xi,v&&(y=Math.cos(-v),D=T*(_=Math.sin(-v))+D*y,w=k=w*y-M*_,x=O=x*y-L*_,S=A=S*y-P*_),l=(v=Ti(x,w))*xi,v&&(k=w*(y=Math.cos(v))+x*(_=Math.sin(v)),O=E*y+C*_,x=x*y-w*_,C=C*y-E*_,w=k,E=O),c&&359.9<Math.abs(c)+Math.abs(l)&&(c=l=0,u=180-u),o=b(Math.sqrt(w*w+x*x+S*S)),a=b(Math.sqrt(C*C+I*I)),v=Ti(E,C),h=2e-4<Math.abs(v)?v*xi:0,f=D?1/(D<0?-D:D):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Hn(An(e,Ai)),k&&e.setAttribute("transform",k))),90<Math.abs(h)&&Math.abs(h)<270&&(R?(o*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),n.x=i-((n.xPercent=i&&(n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-i)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=s-((n.yPercent=s&&(n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-s)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=r+"px",n.scaleX=b(o),n.scaleY=b(a),n.rotation=b(l)+z,n.rotationX=b(c)+z,n.rotationY=b(u)+z,n.skewX=h+z,n.skewY=d+z,n.transformPerspective=f+"px",(n.zOrigin=parseFloat(F.split(" ")[2])||0)&&(B[Mi]=Fi(F)),n.xOffset=n.yOffset=0,n.force3D=Fe.force3D,n.renderTransform=n.svg?qi:ni?Wi:ji,n.uncache=0,n},Fi=function(e){return(e=e.split(" "))[0]+" "+e[1]},ji=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Wi(e,t)},$i="0deg",Hi="0px",Vi=") ",Wi=function(e,t){var n=t||this,i=n.xPercent,s=n.yPercent,r=n.x,o=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,h=n.skewX,d=n.skewY,f=n.scaleX,p=n.scaleY,g=n.transformPerspective,m=n.force3D,v=n.target,y=n.zOrigin,_="",b="auto"===m&&e&&1!==e||!0===m;if(y&&(u!==$i||c!==$i)){var w,x=parseFloat(c)*Si,S=Math.sin(x),T=Math.cos(x);x=parseFloat(u)*Si,r=Yn(v,r,S*(w=Math.cos(x))*-y),o=Yn(v,o,-Math.sin(x)*-y),a=Yn(v,a,T*w*-y+y)}g!==Hi&&(_+="perspective("+g+Vi),(i||s)&&(_+="translate("+i+"%, "+s+"%) "),!b&&r===Hi&&o===Hi&&a===Hi||(_+=a!==Hi||b?"translate3d("+r+", "+o+", "+a+") ":"translate("+r+", "+o+Vi),l!==$i&&(_+="rotate("+l+Vi),c!==$i&&(_+="rotateY("+c+Vi),u!==$i&&(_+="rotateX("+u+Vi),h===$i&&d===$i||(_+="skew("+h+", "+d+Vi),1===f&&1===p||(_+="scale("+f+", "+p+Vi),v.style[Ai]=_||"translate(0, 0)"},qi=function(e,t){var n,i,s,r,o,a=t||this,l=a.xPercent,c=a.yPercent,u=a.x,h=a.y,d=a.rotation,f=a.skewX,p=a.skewY,g=a.scaleX,m=a.scaleY,v=a.target,y=a.xOrigin,_=a.yOrigin,w=a.xOffset,x=a.yOffset,S=a.forceCSS,T=parseFloat(u),E=parseFloat(h);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=Si,f*=Si,n=Math.cos(d)*g,i=Math.sin(d)*g,s=Math.sin(d-f)*-m,r=Math.cos(d-f)*m,f&&(p*=Si,o=Math.tan(f-p),s*=o=Math.sqrt(1+o*o),r*=o,p&&(o=Math.tan(p),n*=o=Math.sqrt(1+o*o),i*=o)),n=b(n),i=b(i),s=b(s),r=b(r)):(n=g,r=m,i=s=0),(T&&!~(u+"").indexOf("px")||E&&!~(h+"").indexOf("px"))&&(T=Rn(v,"x",u,"px"),E=Rn(v,"y",h,"px")),(y||_||w||x)&&(T=b(T+y-(y*n+_*s)+w),E=b(E+_-(y*i+_*r)+x)),(l||c)&&(T=b(T+l/100*(o=v.getBBox()).width),E=b(E+c/100*o.height)),o="matrix("+n+","+i+","+s+","+r+","+T+","+E+")",v.setAttribute("transform",o),S&&(v.style[Ai]=o)};_("padding,margin,Width,Radius",(function(e,t){var n="Right",i="Bottom",s="Left",r=(t<3?["Top",n,i,s]:["Top"+s,"Top"+n,i+n,i+s]).map((function(n){return t<2?e+n:"border"+n+e}));Ii[1<t?"border"+e:e]=function(e,t,n,i,s){var o,a;if(arguments.length<4)return o=r.map((function(t){return zn(e,t,n)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={},r.forEach((function(e,t){return a[e]=o[t]=o[t]||o[(t-1)/2|0]})),e.init(t,a,s)}}));var Yi,Xi,Ui={name:"css",register:Mn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,s,r){var o,a,l,c,u,h,f,p,g,m,v,y,_,b,w,x=this._props,S=e.style,T=n.vars.startAt;for(f in Jn||Mn(),t)if("autoRound"!==f&&(a=t[f],!lt[f]||!$t(f,t,n,s,e,r)))if(u=typeof a,h=Ii[f],"function"===u&&(u=typeof(a=a.call(n,s,e,r))),"string"===u&&~a.indexOf("random(")&&(a=ee(a)),h)h(this,e,f,a,n)&&(w=1);else if("--"===f.substr(0,2))o=(getComputedStyle(e).getPropertyValue(f)+"").trim(),a+="",Et.lastIndex=0,Et.test(o)||(p=Y(o),g=Y(a)),g?p!==g&&(o=Rn(e,f,o,g)+g):p&&(a+=p),this.add(S,"setProperty",o,a,s,r,0,0,f),x.push(f);else if("undefined"!==u){if(T&&f in T?(i(o="function"==typeof T[f]?T[f].call(n,s,e,r):T[f])&&~o.indexOf("random(")&&(o=ee(o)),Y(o+"")||(o+=Fe.units[f]||Y(zn(e,f))||""),"="===(o+"").charAt(1)&&(o=zn(e,f))):o=zn(e,f),c=parseFloat(o),(m="string"===u&&"="===a.charAt(1)?+(a.charAt(0)+"1"):0)&&(a=a.substr(2)),l=parseFloat(a),f in Oi&&("autoAlpha"===f&&(1===c&&"hidden"===zn(e,"visibility")&&l&&(c=0),Bn(this,S,"visibility",c?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==f&&"transform"!==f&&~(f=Oi[f]).indexOf(",")&&(f=f.split(",")[0])),v=f in wi)if(y||((_=e._gsap).renderTransform&&!t.parseTransform||zi(e,t.parseTransform),b=!1!==t.smoothOrigin&&_.smooth,(y=this._pt=new un(this._pt,S,Ai,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===f)this._pt=new un(this._pt,_,"scaleY",_.scaleY,(m?m*l:l-_.scaleY)||0),x.push("scaleY",f),f+="X";else{if("transformOrigin"===f){a=jn(a),_.svg?qn(e,a,0,b,0,this):((g=parseFloat(a.split(" ")[2])||0)!==_.zOrigin&&Bn(this,_,"zOrigin",_.zOrigin,g),Bn(this,S,f,Fi(o),Fi(a)));continue}if("svgOrigin"===f){qn(e,a,1,b,0,this);continue}if(f in Ri){Xn(this,_,f,c,a,m);continue}if("smoothOrigin"===f){Bn(this,_,"smooth",_.smooth,a);continue}if("force3D"===f){_[f]=a;continue}if("transform"===f){Kn(this,a,e);continue}}else f in S||(f=Pi(f)||f);if(v||(l||0===l)&&(c||0===c)&&!ki.test(a)&&f in S)l=l||0,(p=(o+"").substr((c+"").length))!==(g=Y(a)||(f in Fe.units?Fe.units[f]:p))&&(c=Rn(e,f,o,g)),this._pt=new un(this._pt,v?_:S,f,c,m?m*l:l-c,v||"px"!==g&&"zIndex"!==f||!1===t.autoRound?mn:_n),this._pt.u=g||0,p!==g&&"%"!==g&&(this._pt.b=o,this._pt.r=yn);else if(f in S)Fn.call(this,e,f,o,a);else{if(!(f in e)){d(f,a);continue}this.add(e,f,o||e[f],a,s,r)}x.push(f)}w&&cn(this)},get:zn,aliases:Oi,getSetter:function(e,t,n){var i=Oi[t];return i&&i.indexOf(",")<0&&(t=i),t in wi&&t!==Mi&&(e._gsap.x||zn(e,"x"))?n&&ti===n?"scale"===t?En:Tn:(ti=n||{})&&("scale"===t?Cn:kn):e.style&&!o(e.style[t])?xn:~t.indexOf("-")?Sn:tn(e,t)},core:{_removeProperty:In,_getMatrix:Wn}};gn.utils.checkPrefix=Pi,Xi=_("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(Yi="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){wi[e]=1})),_(Yi,(function(e){Fe.units[e]="deg",Ri[e]=1})),Oi[Xi[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Yi,_("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");Oi[t[1]]=Xi[t[0]]})),_("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){Fe.units[e]="px"})),gn.registerPlugin(Ui);var Ki=gn.registerPlugin(Ui)||gn,Gi=Ki.core.Tween;e.Back=gi,e.Bounce=vi,e.CSSPlugin=Ui,e.Circ=bi,e.Cubic=ui,e.Elastic=pi,e.Expo=_i,e.Linear=li,e.Power0=ii,e.Power1=si,e.Power2=ri,e.Power3=oi,e.Power4=ai,e.Quad=ci,e.Quart=hi,e.Quint=di,e.Sine=yi,e.SteppedEase=mi,e.Strong=fi,e.TimelineLite=jt,e.TimelineMax=jt,e.TweenLite=Kt,e.TweenMax=Gi,e.default=Ki,e.gsap=Ki,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";function t(e){return e}function n(e){return U(e)[0]||(_e(e)&&!1!==j.config().nullTargetWarn?console.warn("Element not found:",e):null)}function i(e){return Math.round(1e5*e)/1e5||0}function s(){return"undefined"!=typeof window}function r(){return j||s()&&(j=window.gsap)&&j.registerPlugin&&j}function o(e){return!!~Y.indexOf(e)}function a(e,t){return~fe.indexOf(e)&&fe[fe.indexOf(e)+1][t]}function l(e,t){var n=t.s,i=t.sc,s=pe.indexOf(e),r=i===ze.sc?1:2;return~s||(s=pe.push(e)-1),pe[s+r]||(pe[s+r]=a(e,n)||(o(e)?i:function(t){return arguments.length?e[n]=t:e[n]}))}function c(e){return a(e,"getBoundingClientRect")||(o(e)?function(){return at.width=H.innerWidth,at.height=H.innerHeight,at}:function(){return Fe(e)})}function u(e,t){var n=t.s,i=t.d2,s=t.d,r=t.a;return(n="scroll"+i)&&(r=a(e,n))?r()-c(e)()[s]:o(e)?(q[n]||W[n])-(H["inner"+i]||W["client"+i]||q["client"+i]):e[n]-e["offset"+i]}function h(e,t){for(var n=0;n<se.length;n+=3)t&&!~t.indexOf(se[n+1])||e(se[n],se[n+1],se[n+2])}function d(e){return"function"==typeof e}function f(e){return"number"==typeof e}function p(e){return"object"==typeof e}function g(e){return d(e)&&e()}function m(e,t){return function(){var n=g(e),i=g(t);return function(){g(n),g(i)}}}function v(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()}function y(e,t){if(e.enabled){var n=t(e);n&&n.totalTime&&(e.callbackAnimation=n)}}function _(e){return H.getComputedStyle(e)}function b(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}function w(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0}function x(e){var t,n=[],i=e.labels,s=e.duration();for(t in i)n.push(i[t]/s);return n}function S(e){var t=j.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,i,s){var r;if(void 0===s&&(s=.001),!i)return t(e);if(0<i){for(e-=s,r=0;r<n.length;r++)if(n[r]>=e)return n[r];return n[r-1]}for(r=n.length,e+=s;r--;)if(n[r]<=e)return n[r];return n[0]}:function(n,i,s){void 0===s&&(s=.001);var r=t(n);return!i||Math.abs(r-n)<s||r-n<0==i<0?r:t(i<0?n-e:n+e)}}function T(e,t,n,i){return n.split(",").forEach((function(n){return e(t,n,i)}))}function E(e,t,n){return e.addEventListener(t,n,{passive:!0})}function C(e,t,n){return e.removeEventListener(t,n)}function k(e,t){if(_e(e)){var n=e.indexOf("="),i=~n?(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in He?He[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e}function O(e,t,n,i,s,r,l,c){var u=s.startColor,h=s.endColor,d=s.fontSize,f=s.indent,p=s.fontWeight,g=V.createElement("div"),m=o(n)||"fixed"===a(n,"pinType"),v=-1!==e.indexOf("scroller"),y=m?q:n,_=-1!==e.indexOf("start"),b=_?u:h,w="border-color:"+b+";font-size:"+d+";color:"+b+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((v||c)&&m?"fixed;":"absolute;"),!v&&!c&&m||(w+=(i===ze?Te:Ee)+":"+(r+parseFloat(f))+"px;"),l&&(w+="box-sizing:border-box;text-align:left;width:"+l.offsetWidth+"px;"),g._isStart=_,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=w,g.innerText=t||0===t?e+"-"+t:e,y.children[0]?y.insertBefore(g,y.children[0]):y.appendChild(g),g._offset=g["offset"+i.op.d2],Ve(g,0,i,_),g}function A(){return 34<ge()-ve&&nt()}function M(){nt(),ve||Ke("scrollStart"),ve=ge()}function L(){return!Z&&!ae&&!V.fullscreenElement&&X.restart(!0)}function P(e){var t,n=j.ticker.frame,i=[],s=0;if(ue!==n||de){for(Ze();s<Ue.length;s+=4)(t=H.matchMedia(Ue[s]).matches)!==Ue[s+3]&&((Ue[s+3]=t)?i.push(s):Ze(1,Ue[s])||d(Ue[s+2])&&Ue[s+2]());for(Qe(),s=0;s<i.length;s++)t=i[s],ce=Ue[t],Ue[t+2]=Ue[t+1](e);ce=0,$&&Je(0,1),ue=n,Ke("matchMedia")}}function N(){return C(ct,"scrollEnd",N)||Je(!0)}function D(){return pe.forEach((function(e){return"function"==typeof e&&(e.rec=0)}))}function I(e,t,n,i){if(e.parentNode!==t){for(var s,r=it.length,o=t.style,a=e.style;r--;)o[s=it[r]]=n[s];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),a[Ee]=a[Te]=o.flexBasis="auto",o.overflow="visible",o.boxSizing="border-box",o[Ce]=w(e,Re)+Be,o[ke]=w(e,ze)+Be,o[Pe]=a[Ne]=a.top=a[Se]="0",ot(i),a[Ce]=a.maxWidth=n[Ce],a[ke]=a.maxHeight=n[ke],a[Pe]=n[Pe],e.parentNode.insertBefore(t,e),t.appendChild(e)}}function B(e){for(var t=st.length,n=e.style,i=[],s=0;s<t;s++)i.push(st[s],n[st[s]]);return i.t=e,i}function R(e,t,i,s,r,o,a,l,c,u,h,p,g){d(e)&&(e=e(l)),_e(e)&&"max"===e.substr(0,3)&&(e=p+("="===e.charAt(4)?k("0"+e.substr(3),i):0));var m,v,y,b=g?g.time():0;if(g&&g.seek(0),f(e))a&&Ve(a,i,s,!0);else{d(t)&&(t=t(l));var w,x,S,T,E=e.split(" ");y=n(t)||q,(w=Fe(y)||{})&&(w.left||w.top)||"none"!==_(y).display||(T=y.style.display,y.style.display="block",w=Fe(y),T?y.style.display=T:y.style.removeProperty("display")),x=k(E[0],w[s.d]),S=k(E[1]||"0",i),e=w[s.p]-c[s.p]-u+x+r-S,a&&Ve(a,S,s,i-S<20||a._isStart&&20<S),i-=i-S}if(o){var C=e+i,O=o._isStart;m="scroll"+s.d2,Ve(o,C,s,O&&20<C||!O&&(h?Math.max(q[m],W[m]):o.parentNode[m])<=C+1),h&&(c=Fe(a),h&&(o.style[s.op.p]=c[s.op.p]-s.op.m-o._offset+Be))}return g&&y&&(m=Fe(y),g.seek(p),v=Fe(y),g._caScrollDist=m[s.p]-v[s.p],e=e/g._caScrollDist*p),g&&g.seek(b),g?e:Math.round(e)}function z(e,t,n,i){if(e.parentNode!==t){var s,r,o=e.style;if(t===q){for(s in e._stOrig=o.cssText,r=_(e))+s||lt.test(s)||!r[s]||"string"!=typeof o[s]||"0"===s||(o[s]=r[s]);o.top=n,o.left=i}else o.cssText=e._stOrig;j.core.getCache(e).uncache=1,t.appendChild(e)}}function F(e,t){function n(t,l,c,u,h){var d=n.tween,f=l.onComplete;return d&&d.kill(),s=Math.round(c),l[a]=t,(l.modifiers={})[a]=function(e){return(e=i(o()))!==s&&e!==r&&2<Math.abs(e-s)&&2<Math.abs(e-r)?(d.kill(),n.tween=0):e=c+u*d.ratio+h*d.ratio*d.ratio,r=s,s=i(e)},l.onComplete=function(){n.tween=0,f&&f.call(d)},d=n.tween=j.to(e,l)}var s,r,o=l(e,t),a="_scroll"+t.p2;return e[a]=o,E(e,"wheel",(function(){return n.tween&&n.tween.kill()&&(n.tween=0)})),n}var j,$,H,V,W,q,Y,X,U,K,G,Q,Z,J,ee,te,ne,ie,se,re,oe,ae,le,ce,ue,he,de=1,fe=[],pe=[],ge=Date.now,me=ge(),ve=0,ye=1,_e=function(e){return"string"==typeof e},be=Math.abs,we="scrollLeft",xe="scrollTop",Se="left",Te="right",Ee="bottom",Ce="width",ke="height",Oe="Right",Ae="Left",Me="Top",Le="Bottom",Pe="padding",Ne="margin",De="Width",Ie="Height",Be="px",Re={s:we,p:Se,p2:Ae,os:Te,os2:Oe,d:Ce,d2:De,a:"x",sc:function(e){return arguments.length?H.scrollTo(e,ze.sc()):H.pageXOffset||V[we]||W[we]||q[we]||0}},ze={s:xe,p:"top",p2:Me,os:Ee,os2:Le,d:ke,d2:Ie,a:"y",op:Re,sc:function(e){return arguments.length?H.scrollTo(Re.sc(),e):H.pageYOffset||V[xe]||W[xe]||q[xe]||0}},Fe=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==_(e)[ee]&&j.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return n&&n.progress(0).kill(),i},je={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},$e={toggleActions:"play",anticipatePin:0},He={top:0,left:0,center:.5,bottom:1,right:1},Ve=function(e,t,n,i){var s={display:"block"},r=n[i?"os2":"p2"],o=n[i?"p2":"os2"];e._isFlipped=i,s[n.a+"Percent"]=i?-100:0,s[n.a]=i?"1px":0,s["border"+r+De]=1,s["border"+o+De]=0,s[n.p]=t+"px",j.set(e,s)},We=[],qe={},Ye={},Xe=[],Ue=[],Ke=function(e){return Ye[e]&&Ye[e].map((function(e){return e()}))||Xe},Ge=[],Qe=function(e){for(var t=0;t<Ge.length;t+=5)e&&Ge[t+4]!==e||(Ge[t].style.cssText=Ge[t+1],Ge[t].getBBox&&Ge[t].setAttribute("transform",Ge[t+2]||""),Ge[t+3].uncache=1)},Ze=function(e,t){var n;for(te=0;te<We.length;te++)n=We[te],t&&n.media!==t||(e?n.kill(1):n.revert());t&&Qe(t),t||Ke("revert")},Je=function(e,t){if(!ve||e){he=!0;var n=Ke("refreshInit");re&&ct.sort(),t||Ze(),We.forEach((function(e){return e.refresh()})),We.forEach((function(e){return"max"===e.vars.end&&e.setPositions(e.start,u(e.scroller,e._dir))})),n.forEach((function(e){return e&&e.render&&e.render(-1)})),D(),X.pause(),he=!1,Ke("refresh")}else E(ct,"scrollEnd",N)},et=0,tt=1,nt=function(){if(!he){var e=We.length,t=ge(),n=50<=t-me,i=e&&We[0].scroll();if(tt=i<et?-1:1,et=i,n&&(ve&&!J&&200<t-ve&&(ve=0,Ke("scrollEnd")),G=me,me=t),tt<0){for(te=e;0<te--;)We[te]&&We[te].update(0,n);tt=1}else for(te=0;te<e;te++)We[te]&&We[te].update(0,n)}},it=[Se,"top",Ee,Te,Ne+Le,Ne+Oe,Ne+Me,Ne+Ae,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],st=it.concat([Ce,ke,"boxSizing","max"+De,"max"+Ie,"position",Ne,Pe,Pe+Me,Pe+Oe,Pe+Le,Pe+Ae]),rt=/([A-Z])/g,ot=function(e){if(e){var t,n,i=e.t.style,s=e.length,r=0;for((e.t._gsap||j.core.getCache(e.t)).uncache=1;r<s;r+=2)n=e[r+1],t=e[r],n?i[t]=n:i[t]&&i.removeProperty(t.replace(rt,"-$1").toLowerCase())}},at={left:0,top:0},lt=/(?:webkit|moz|length|cssText|inset)/i;Re.op=ze;var ct=(ut.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(1),ye){var s,r,h,g,m,T,A,P,D,$,Y,X,Q,ee,ne,ie,se,ae,ue,he,pe,me,we,xe,Se,Te,Ee,Ie,He,Ve,Ye,Xe,Ue,Ke,Ge,Qe,Ze,Je=(e=b(_e(e)||f(e)||e.nodeType?{trigger:e}:e,$e)).onUpdate,et=e.toggleClass,nt=e.id,it=e.onToggle,st=e.onRefresh,rt=e.scrub,lt=e.trigger,ct=e.pin,ht=e.pinSpacing,dt=e.invalidateOnRefresh,ft=e.anticipatePin,pt=e.onScrubComplete,gt=e.onSnapComplete,mt=e.once,vt=e.snap,yt=e.pinReparent,_t=e.pinSpacer,bt=e.containerAnimation,wt=e.fastScrollEnd,xt=e.preventOverlaps,St=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Re:ze,Tt=!rt&&0!==rt,Et=n(e.scroller||H),Ct=j.core.getCache(Et),kt=o(Et),Ot="fixed"===("pinType"in e?e.pinType:a(Et,"pinType")||kt&&"fixed"),At=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],Mt=Tt&&e.toggleActions.split(" "),Lt="markers"in e?e.markers:$e.markers,Pt=kt?0:parseFloat(_(Et)["border"+St.p2+De])||0,Nt=this,Dt=e.onRefreshInit&&function(){return e.onRefreshInit(Nt)},It=function(e,t,n){var i=n.d,s=n.d2,r=n.a;return(r=a(e,"getBoundingClientRect"))?function(){return r()[i]}:function(){return(t?H["inner"+s]:e["client"+s])||0}}(Et,kt,St),Bt=function(e,t){return!t||~fe.indexOf(e)?c(e):function(){return at}}(Et,kt),Rt=0,zt=l(Et,St);if(Nt.media=ce,Nt._dir=St,ft*=45,Nt.scroller=Et,Nt.scroll=bt?bt.time.bind(bt):zt,g=zt(),Nt.vars=e,i=i||e.animation,"refreshPriority"in e&&(re=1),Ct.tweenScroll=Ct.tweenScroll||{top:F(Et,ze),left:F(Et,Re)},Nt.tweenTo=s=Ct.tweenScroll[St.p],i&&(i.vars.lazy=!1,i._initted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.render(0,!0,!0),Nt.animation=i.pause(),i.scrollTrigger=Nt,(Ye=f(rt)&&rt)&&(Ve=j.to(i,{ease:"power3",duration:Ye,onComplete:function(){return pt&&pt(Nt)}})),Ie=0,nt=nt||i.vars.id),We.push(Nt),vt&&(p(vt)&&!vt.push||(vt={snapTo:vt}),"scrollBehavior"in q.style&&j.set(kt?[q,W]:Et,{scrollBehavior:"auto"}),h=d(vt.snapTo)?vt.snapTo:"labels"===vt.snapTo?function(e){return function(t){return j.utils.snap(x(e),t)}}(i):"labelsDirectional"===vt.snapTo?function(e){return function(t,n){return S(x(e))(t,n.direction)}}(i):!1!==vt.directional?function(e,t){return S(vt.snapTo)(e,t.direction)}:j.utils.snap(vt.snapTo),Xe=p(Xe=vt.duration||{min:.1,max:2})?K(Xe.min,Xe.max):K(Xe,Xe),Ue=j.delayedCall(vt.delay||Ye/2||.1,(function(){if(Math.abs(Nt.getVelocity())<10&&!J&&Rt!==zt()){var e=i&&!Tt?i.totalProgress():Nt.progress,t=(e-He)/(ge()-G)*1e3||0,n=j.utils.clamp(-Nt.progress,1-Nt.progress,be(t/2)*t/.185),r=Nt.progress+(!1===vt.inertia?0:n),o=K(0,1,h(r,Nt)),a=zt(),l=Math.round(T+o*Q),c=vt.onStart,u=vt.onInterrupt,d=vt.onComplete,f=s.tween;if(a<=A&&T<=a&&l!==a){if(f&&!f._initted&&f.data<=be(l-a))return;!1===vt.inertia&&(n=o-Nt.progress),s(l,{duration:Xe(be(.185*Math.max(be(r-e),be(o-e))/t/.05||0)),ease:vt.ease||"power3",data:be(l-a),onInterrupt:function(){return Ue.restart(!0)&&u&&u(Nt)},onComplete:function(){Nt.update(),Rt=zt(),Ie=He=i&&!Tt?i.totalProgress():Nt.progress,gt&>(Nt),d&&d(Nt)}},a,n*Q,l-a-n*Q),c&&c(Nt,s.tween)}}else Nt.isActive&&Ue.restart(!0)})).pause()),nt&&(qe[nt]=Nt),lt=Nt.trigger=n(lt||ct),ct=!0===ct?lt:n(ct),_e(et)&&(et={targets:lt,className:et}),ct&&(!1===ht||ht===Ne||(ht=!(!ht&&"flex"===_(ct.parentNode).display)&&Pe),Nt.pin=ct,!1!==e.force3D&&j.set(ct,{force3D:!0}),(r=j.core.getCache(ct)).spacer?ee=r.pinState:(_t&&((_t=n(_t))&&!_t.nodeType&&(_t=_t.current||_t.nativeElement),r.spacerIsNative=!!_t,_t&&(r.spacerState=B(_t))),r.spacer=se=_t||V.createElement("div"),se.classList.add("pin-spacer"),nt&&se.classList.add("pin-spacer-"+nt),r.pinState=ee=B(ct)),Nt.spacer=se=r.spacer,Ee=_(ct),we=Ee[ht+St.os2],ue=j.getProperty(ct),he=j.quickSetter(ct,St.a,Be),I(ct,se,Ee),ie=B(ct)),Lt&&(X=p(Lt)?b(Lt,je):je,$=O("scroller-start",nt,Et,St,X,0),Y=O("scroller-end",nt,Et,St,X,0,$),ae=$["offset"+St.op.d2],P=O("start",nt,Et,St,X,ae,0,bt),D=O("end",nt,Et,St,X,ae,0,bt),bt&&(Ze=j.quickSetter([P,D],St.a,Be)),Ot||fe.length&&!0===a(Et,"fixedMarkers")||(function(e){var t=_(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(kt?q:Et),j.set([$,Y],{force3D:!0}),Se=j.quickSetter($,St.a,Be),Te=j.quickSetter(Y,St.a,Be))),bt){var Ft=bt.vars.onUpdate,jt=bt.vars.onUpdateParams;bt.eventCallback("onUpdate",(function(){Nt.update(0,0,1),Ft&&Ft.apply(jt||[])}))}Nt.previous=function(){return We[We.indexOf(Nt)-1]},Nt.next=function(){return We[We.indexOf(Nt)+1]},Nt.revert=function(e){var t=!1!==e||!Nt.enabled,n=Z;t!==Nt.isReverted&&(t&&(Nt.scroll.rec||(Nt.scroll.rec=zt()),Ge=Math.max(zt(),Nt.scroll.rec||0),Ke=Nt.progress,Qe=i&&i.progress()),P&&[P,D,$,Y].forEach((function(e){return e.style.display=t?"none":"block"})),t&&(Z=1),Nt.update(t),Z=n,ct&&(t?function(e,t,n){ot(n);var i=e._gsap;if(i.spacerIsNative)ot(i.spacerState);else if(e.parentNode===t){var s=t.parentNode;s&&(s.insertBefore(e,t),s.removeChild(t))}}(ct,se,ee):yt&&Nt.isActive||I(ct,se,_(ct),xe)),Nt.isReverted=t)},Nt.refresh=function(t,s){if(!Z&&Nt.enabled||s)if(ct&&t&&ve)E(ut,"scrollEnd",N);else{Z=1,Ve&&Ve.pause(),dt&&i&&i.time(-.01,!0).invalidate(),Nt.isReverted||Nt.revert();for(var r,o,a,c,h,p,v,y,b,x,S=It(),C=Bt(),O=bt?bt.duration():u(Et,St),M=0,L=0,z=e.end,F=e.endTrigger||lt,H=e.start||(0!==e.start&<?ct?"0 0":"0 100%":0),V=e.pinnedContainer&&n(e.pinnedContainer),W=lt&&Math.max(0,We.indexOf(Nt))||0,X=W;X--;)(p=We[X]).end||p.refresh(0,1)||(Z=1),!(v=p.pin)||v!==lt&&v!==ct||p.isReverted||((x=x||[]).unshift(p),p.revert());for(d(H)&&(H=H(Nt)),T=R(H,lt,S,St,zt(),P,$,Nt,C,Pt,Ot,O,bt)||(ct?-.001:0),d(z)&&(z=z(Nt)),_e(z)&&!z.indexOf("+=")&&(~z.indexOf(" ")?z=(_e(H)?H.split(" ")[0]:"")+z:(M=k(z.substr(2),S),z=_e(H)?H:T+M,F=lt)),A=Math.max(T,R(z||(F?"100% 0":O),F,S,St,zt()+M,D,Y,Nt,C,Pt,Ot,O,bt))||-.001,Q=A-T||(T-=.01)&&.001,M=0,X=W;X--;)(v=(p=We[X]).pin)&&p.start-p._pinPush<T&&!bt&&(r=p.end-p.start,v!==lt&&v!==V||f(H)||(M+=r*(1-p.progress)),v===ct&&(L+=r));if(T+=M,A+=M,Nt._pinPush=L,P&&M&&((r={})[St.a]="+="+M,V&&(r[St.p]="-="+zt()),j.set([P,D],r)),ct)r=_(ct),c=St===ze,a=zt(),pe=parseFloat(ue(St.a))+L,!O&&1<A&&((kt?q:Et).style["overflow-"+St.a]="scroll"),I(ct,se,r),ie=B(ct),o=Fe(ct,!0),y=Ot&&l(Et,c?Re:ze)(),ht&&((xe=[ht+St.os2,Q+L+Be]).t=se,(X=ht===Pe?w(ct,St)+Q+L:0)&&xe.push(St.d,X+Be),ot(xe),Ot&&zt(Ge)),Ot&&((h={top:o.top+(c?a-T:y)+Be,left:o.left+(c?y:a-T)+Be,boxSizing:"border-box",position:"fixed"})[Ce]=h.maxWidth=Math.ceil(o.width)+Be,h[ke]=h.maxHeight=Math.ceil(o.height)+Be,h[Ne]=h[Ne+Me]=h[Ne+Oe]=h[Ne+Le]=h[Ne+Ae]="0",h[Pe]=r[Pe],h[Pe+Me]=r[Pe+Me],h[Pe+Oe]=r[Pe+Oe],h[Pe+Le]=r[Pe+Le],h[Pe+Ae]=r[Pe+Ae],ne=function(e,t,n){for(var i,s=[],r=e.length,o=n?8:0;o<r;o+=2)i=e[o],s.push(i,i in t?t[i]:e[o+1]);return s.t=e.t,s}(ee,h,yt)),i?(b=i._initted,oe(1),i.render(i.duration(),!0,!0),me=ue(St.a)-pe+Q+L,Q!==me&&ne.splice(ne.length-2,2),i.render(0,!0,!0),b||i.invalidate(),oe(0)):me=Q;else if(lt&&zt()&&!bt)for(o=lt.parentNode;o&&o!==q;)o._pinOffset&&(T-=o._pinOffset,A-=o._pinOffset),o=o.parentNode;x&&x.forEach((function(e){return e.revert(!1)})),Nt.start=T,Nt.end=A,g=m=zt(),bt||(g<Ge&&zt(Ge),Nt.scroll.rec=0),Nt.revert(!1),Z=0,i&&Tt&&i._initted&&i.progress()!==Qe&&i.progress(Qe,!0).render(i.time(),!0,!0),Ke===Nt.progress&&!bt||(i&&!Tt&&i.totalProgress(Ke,!0),Nt.progress=Ke,Nt.update(0,0,1)),ct&&ht&&(se._pinOffset=Math.round(Nt.progress*me)),st&&st(Nt)}},Nt.getVelocity=function(){return(zt()-m)/(ge()-G)*1e3||0},Nt.endAnimation=function(){v(Nt.callbackAnimation),i&&(Ve?Ve.progress(1):i.paused()?Tt||v(i,Nt.direction<0,1):v(i,i.reversed()))},Nt.labelToScroll=function(e){return i&&i.labels&&(T||Nt.refresh()||T)+i.labels[e]/i.duration()*Q||0},Nt.getTrailing=function(e){var t=We.indexOf(Nt),n=0<Nt.direction?We.slice(0,t).reverse():We.slice(t+1);return _e(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n},Nt.update=function(e,t,n){if(!bt||n||e){var r,o,a,l,c,h,p,_=Nt.scroll(),b=e?0:(_-T)/Q,w=b<0?0:1<b?1:b||0,x=Nt.progress;if(t&&(m=g,g=bt?zt():_,vt&&(He=Ie,Ie=i&&!Tt?i.totalProgress():w)),ft&&!w&&ct&&!Z&&!de&&ve&&T<_+(_-m)/(ge()-G)*ft&&(w=1e-4),w!==x&&Nt.enabled){if(l=(c=(r=Nt.isActive=!!w&&w<1)!=(!!x&&x<1))||!!w!=!!x,Nt.direction=x<w?1:-1,Nt.progress=w,l&&!Z&&(o=w&&!x?0:1===w?1:1===x?2:3,Tt&&(a=!c&&"none"!==Mt[o+1]&&Mt[o+1]||Mt[o],p=i&&("complete"===a||"reset"===a||a in i))),xt&&c&&(p||rt||!i)&&(d(xt)?xt(Nt):Nt.getTrailing(xt).forEach((function(e){return e.endAnimation()}))),Tt||(!Ve||Z||de?i&&i.totalProgress(w,!!Z):(Ve.vars.totalProgress=w,Ve.invalidate().restart())),ct)if(e&&ht&&(se.style[ht+St.os2]=we),Ot){if(l){if(h=!e&&x<w&&_<A+1&&_+1>=u(Et,St),yt)if(e||!r&&!h)z(ct,se);else{var S=Fe(ct,!0),E=_-T;z(ct,q,S.top+(St===ze?E:0)+Be,S.left+(St===ze?0:E)+Be)}ot(r||h?ne:ie),me!==Q&&w<1&&r||he(pe+(1!==w||h?0:me))}}else he(pe+me*w);!vt||s.tween||Z||de||Ue.restart(!0),et&&(c||mt&&w&&(w<1||!le))&&U(et.targets).forEach((function(e){return e.classList[r||mt?"add":"remove"](et.className)})),!Je||Tt||e||Je(Nt),l&&!Z?(Tt&&(p&&("complete"===a?i.pause().totalProgress(1):"reset"===a?i.restart(!0).pause():"restart"===a?i.restart(!0):i[a]()),Je&&Je(Nt)),!c&&le||(it&&c&&y(Nt,it),At[o]&&y(Nt,At[o]),mt&&(1===w?Nt.kill(!1,1):At[o]=0),c||At[o=1===w?1:3]&&y(Nt,At[o])),wt&&!r&&Math.abs(Nt.getVelocity())>(f(wt)?wt:2500)&&(v(Nt.callbackAnimation),Ve?Ve.progress(1):v(i,!w,1))):Tt&&Je&&!Z&&Je(Nt)}if(Te){var C=bt?_/bt.duration()*(bt._caScrollDist||0):_;Se(C+($._isFlipped?1:0)),Te(C)}Ze&&Ze(-_/bt.duration()*(bt._caScrollDist||0))}},Nt.enable=function(e,t){Nt.enabled||(Nt.enabled=!0,E(Et,"resize",L),E(Et,"scroll",M),Dt&&E(ut,"refreshInit",Dt),!1!==e&&(Nt.progress=Ke=0,g=m=Rt=zt()),!1!==t&&Nt.refresh())},Nt.getTween=function(e){return e&&s?s.tween:Ve},Nt.setPositions=function(e,t){ct&&(pe+=e-T,me+=t-e-Q),Nt.start=T=e,Nt.end=A=t,Q=t-e,Nt.update()},Nt.disable=function(e,t){if(Nt.enabled&&(!1!==e&&Nt.revert(),Nt.enabled=Nt.isActive=!1,t||Ve&&Ve.pause(),Ge=0,r&&(r.uncache=1),Dt&&C(ut,"refreshInit",Dt),Ue&&(Ue.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!kt)){for(var n=We.length;n--;)if(We[n].scroller===Et&&We[n]!==Nt)return;C(Et,"resize",L),C(Et,"scroll",M)}},Nt.kill=function(e,t){Nt.disable(e,t),Ve&&Ve.kill(),nt&&delete qe[nt];var n=We.indexOf(Nt);0<=n&&We.splice(n,1),n===te&&0<tt&&te--,n=0,We.forEach((function(e){return e.scroller===Nt.scroller&&(n=1)})),n||(Nt.scroll.rec=0),i&&(i.scrollTrigger=null,e&&i.render(-1),t||i.kill()),P&&[P,D,$,Y].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),ct&&(r&&(r.uncache=1),n=0,We.forEach((function(e){return e.pin===ct&&n++})),n||(r.spacer=0))},Nt.enable(!1,!1),i&&i.add&&!Q?j.delayedCall(.01,(function(){return T||A||Nt.refresh()}))&&(Q=.01)&&(T=A=0):Nt.refresh()}else this.update=this.refresh=this.kill=t},ut.register=function(e){if(!$&&(j=e||r(),s()&&window.document&&(H=window,V=document,W=V.documentElement,q=V.body),j&&(U=j.utils.toArray,K=j.utils.clamp,oe=j.core.suppressOverwrites||t,j.core.globals("ScrollTrigger",ut),q))){E(H,"wheel",M),Y=[H,V,W,q],E(V,"scroll",M);var n,i=q.style,o=i.borderTopStyle;i.borderTopStyle="solid",n=Fe(q),ze.m=Math.round(n.top+ze.sc())||0,Re.m=Math.round(n.left+Re.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),Q=setInterval(A,200),j.delayedCall(.5,(function(){return de=0})),E(V,"touchcancel",t),E(q,"touchstart",t),T(E,V,"pointerdown,touchstart,mousedown",(function(){return J=1})),T(E,V,"pointerup,touchend,mouseup",(function(){return J=0})),ee=j.utils.checkPrefix("transform"),st.push(ee),$=ge(),X=j.delayedCall(.2,Je).pause(),se=[V,"visibilitychange",function(){var e=H.innerWidth,t=H.innerHeight;V.hidden?(ne=e,ie=t):ne===e&&ie===t||L()},V,"DOMContentLoaded",Je,H,"load",function(){return ve||Je()},H,"resize",L],h(E)}return $},ut.defaults=function(e){if(e)for(var t in e)$e[t]=e[t];return $e},ut.kill=function(){ye=0,We.slice(0).forEach((function(e){return e.kill(1)}))},ut.config=function(e){"limitCallbacks"in e&&(le=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(Q)||(Q=t)&&setInterval(A,t),"autoRefreshEvents"in e&&(h(C)||h(E,e.autoRefreshEvents||"none"),ae=-1===(e.autoRefreshEvents+"").indexOf("resize"))},ut.scrollerProxy=function(e,t){var i=n(e),s=pe.indexOf(i),r=o(i);~s&&pe.splice(s,r?6:2),t&&(r?fe.unshift(H,t,q,t,W,t):fe.unshift(i,t))},ut.matchMedia=function(e){var t,n,i,s,r;for(n in e)i=Ue.indexOf(n),s=e[n],"all"===(ce=n)?s():(t=H.matchMedia(n))&&(t.matches&&(r=s()),~i?(Ue[i+1]=m(Ue[i+1],s),Ue[i+2]=m(Ue[i+2],r)):(i=Ue.length,Ue.push(n,s,r),t.addListener?t.addListener(P):t.addEventListener("change",P)),Ue[i+3]=t.matches),ce=0;return Ue},ut.clearMatchMedia=function(e){e||(Ue.length=0),0<=(e=Ue.indexOf(e))&&Ue.splice(e,4)},ut.isInViewport=function(e,t,i){var s=(_e(e)?n(e):e).getBoundingClientRect(),r=s[i?Ce:ke]*t||0;return i?0<s.right-r&&s.left+r<H.innerWidth:0<s.bottom-r&&s.top+r<H.innerHeight},ut.positionInViewport=function(e,t,i){_e(e)&&(e=n(e));var s=e.getBoundingClientRect(),r=s[i?Ce:ke],o=null==t?r/2:t in He?He[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return i?(s.left+o)/H.innerWidth:(s.top+o)/H.innerHeight},ut);function ut(e,t){$||ut.register(j)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,t)}ct.version="3.9.1",ct.saveStyles=function(e){return e?U(e).forEach((function(e){if(e&&e.style){var t=Ge.indexOf(e);0<=t&&Ge.splice(t,5),Ge.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),j.core.getCache(e),ce)}})):Ge},ct.revert=function(e,t){return Ze(!e,t)},ct.create=function(e,t){return new ct(e,t)},ct.refresh=function(e){return e?L():($||ct.register())&&Je(!0)},ct.update=nt,ct.clearScrollMemory=D,ct.maxScroll=function(e,t){return u(e,t?Re:ze)},ct.getScrollFunc=function(e,t){return l(n(e),t?Re:ze)},ct.getById=function(e){return qe[e]},ct.getAll=function(){return We.slice(0)},ct.isScrolling=function(){return!!ve},ct.snapDirectional=S,ct.addEventListener=function(e,t){var n=Ye[e]||(Ye[e]=[]);~n.indexOf(t)||n.push(t)},ct.removeEventListener=function(e,t){var n=Ye[e],i=n&&n.indexOf(t);0<=i&&n.splice(i,1)},ct.batch=function(e,t){function n(e,t){var n=[],i=[],s=j.delayedCall(o,(function(){t(n,i),n=[],i=[]})).pause();return function(e){n.length||s.restart(!0),n.push(e.trigger),i.push(e),a<=n.length&&s.progress(1)}}var i,s=[],r={},o=t.interval||.016,a=t.batchMax||1e9;for(i in t)r[i]="on"===i.substr(0,2)&&d(t[i])&&"onRefreshInit"!==i?n(0,t[i]):t[i];return d(a)&&(a=a(),E(ct,"refresh",(function(){return a=t.batchMax()}))),U(e).forEach((function(e){var t={};for(i in r)t[i]=r[i];t.trigger=e,s.push(ct.create(t))})),s},ct.sort=function(e){return We.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},r()&&j.registerPlugin(ct),e.ScrollTrigger=ct,e.default=ct,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},n=e=>{const n=t(e);return n&&document.querySelector(n)?n:null},i=e=>{const n=t(e);return n?document.querySelector(n):null},s=t=>{t.dispatchEvent(new Event(e))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=(e,t,n)=>{Object.keys(n).forEach((i=>{const s=n[i],o=t[i],a=o&&r(o)?"element":null==(l=o)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(a))throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${s}".`)}))},l=e=>!(!r(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),u=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?u(e.parentNode):null},h=()=>{},d=e=>{e.offsetHeight},f=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},p=[],g=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=f();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",(()=>{p.forEach((e=>e()))})),p.push(t)):t()},v=e=>{"function"==typeof e&&e()},y=(t,n,i=!0)=>{if(!i)return void v(t);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),s=Number.parseFloat(n);return i||s?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(n)+5;let o=!1;const a=({target:i})=>{i===n&&(o=!0,n.removeEventListener(e,a),v(t))};n.addEventListener(e,a),setTimeout((()=>{o||s(n)}),r)},_=(e,t,n,i)=>{let s=e.indexOf(t);if(-1===s)return e[!n&&i?e.length-1:0];const r=e.length;return s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))]},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,x=/::\d+$/,S={};let T=1;const E={mouseenter:"mouseover",mouseleave:"mouseout"},C=/^(mouseenter|mouseleave)/i,k=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(e,t){return t&&`${t}::${T++}`||e.uidEvent||T++}function A(e){const t=O(e);return e.uidEvent=t,S[t]=S[t]||{},S[t]}function M(e,t,n=null){const i=Object.keys(e);for(let s=0,r=i.length;s<r;s++){const r=e[i[s]];if(r.originalHandler===t&&r.delegationSelector===n)return r}return null}function L(e,t,n){const i="string"==typeof t,s=i?n:t;let r=D(e);return k.has(r)||(r=e),[i,s,r]}function P(e,t,n,i,s){if("string"!=typeof t||!e)return;if(n||(n=i,i=null),C.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i?i=e(i):n=e(n)}const[r,o,a]=L(t,n,i),l=A(e),c=l[a]||(l[a]={}),u=M(c,o,r?n:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=O(o,t.replace(b,"")),d=r?function(e,t,n){return function i(s){const r=e.querySelectorAll(t);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(let a=r.length;a--;)if(r[a]===o)return s.delegateTarget=o,i.oneOff&&I.off(e,s.type,t,n),n.apply(o,[s]);return null}}(e,n,i):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&I.off(e,i.type,t),t.apply(e,[i])}}(e,n);d.delegationSelector=r?n:null,d.originalHandler=o,d.oneOff=s,d.uidEvent=h,c[h]=d,e.addEventListener(a,d,r)}function N(e,t,n,i,s){const r=M(t[n],i,s);r&&(e.removeEventListener(n,r,Boolean(s)),delete t[n][r.uidEvent])}function D(e){return e=e.replace(w,""),E[e]||e}const I={on(e,t,n,i){P(e,t,n,i,!1)},one(e,t,n,i){P(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[s,r,o]=L(t,n,i),a=o!==t,l=A(e),c=t.startsWith(".");if(void 0!==r){if(!l||!l[o])return;return void N(e,l,o,r,s?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,i){const s=t[n]||{};Object.keys(s).forEach((r=>{if(r.includes(i)){const i=s[r];N(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));const u=l[o]||{};Object.keys(u).forEach((n=>{const i=n.replace(x,"");if(!a||t.includes(i)){const t=u[n];N(e,l,o,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=f(),s=D(t),r=t!==s,o=k.has(s);let a,l=!0,c=!0,u=!1,h=null;return r&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),o?(h=document.createEvent("HTMLEvents"),h.initEvent(s,l,!0)):h=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(h,e,{get:()=>n[e]})})),u&&h.preventDefault(),c&&e.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}},B=new Map,R={set(e,t,n){B.has(e)||B.set(e,new Map);const i=B.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>B.has(e)&&B.get(e).get(t)||null,remove(e,t){if(!B.has(e))return;const n=B.get(e);n.delete(t),0===n.size&&B.delete(e)}};class z{constructor(e){(e=o(e))&&(this._element=e,R.set(this._element,this.constructor.DATA_KEY,this))}dispose(){R.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){y(e,t,n)}static getInstance(e){return R.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const F=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;I.on(document,n,`[data-bs-dismiss="${s}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),c(this))return;const r=i(this)||this.closest(`.${s}`);e.getOrCreateInstance(r)[t]()}))};class j extends z{static get NAME(){return"alert"}close(){if(I.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),I.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=j.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(j,"close"),m(j);const $='[data-bs-toggle="button"]';class H extends z{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=H.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function V(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function W(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}I.on(document,"click.bs.button.data-api",$,(e=>{e.preventDefault();const t=e.target.closest($);H.getOrCreateInstance(t).toggle()})),m(H);const q={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${W(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${W(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=V(e.dataset[n])})),t},getDataAttribute:(e,t)=>V(e.getAttribute(`data-bs-${W(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},Y={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!c(e)&&l(e)))}},X="carousel",U={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},K={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},G="next",Q="prev",Z="left",J="right",ee={ArrowLeft:J,ArrowRight:Z},te="slid.bs.carousel",ne="active",ie=".active.carousel-item";class se extends z{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=Y.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return U}static get NAME(){return X}next(){this._slide(G)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(Q)}pause(e){e||(this._isPaused=!0),Y.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=Y.findOne(ie,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void I.one(this._element,te,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?G:Q;this._slide(n,this._items[e])}_getConfig(e){return e={...U,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(X,e,K),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?J:Z)}_addEventListeners(){this._config.keyboard&&I.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(I.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),I.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};Y.find(".carousel-item img",this._element).forEach((e=>{I.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(I.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),I.on(this._element,"pointerup.bs.carousel",(e=>i(e))),this._element.classList.add("pointer-event")):(I.on(this._element,"touchstart.bs.carousel",(e=>t(e))),I.on(this._element,"touchmove.bs.carousel",(e=>n(e))),I.on(this._element,"touchend.bs.carousel",(e=>i(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ee[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?Y.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===G;return _(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),i=this._getItemIndex(Y.findOne(ie,this._element));return I.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=Y.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const n=Y.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<n.length;t++)if(Number.parseInt(n[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[t].classList.add(ne),n[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||Y.findOne(ie,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const n=this._directionToOrder(e),i=Y.findOne(ie,this._element),s=this._getItemIndex(i),r=t||this._getItemByOrder(n,i),o=this._getItemIndex(r),a=Boolean(this._interval),l=n===G,c=l?"carousel-item-start":"carousel-item-end",u=l?"carousel-item-next":"carousel-item-prev",h=this._orderToDirection(n);if(r&&r.classList.contains(ne))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(r,h).defaultPrevented)return;if(!i||!r)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const f=()=>{I.trigger(this._element,te,{relatedTarget:r,direction:h,from:s,to:o})};if(this._element.classList.contains("slide")){r.classList.add(u),d(r),i.classList.add(c),r.classList.add(c);const e=()=>{r.classList.remove(c,u),r.classList.add(ne),i.classList.remove(ne,u,c),this._isSliding=!1,setTimeout(f,0)};this._queueCallback(e,i,!0)}else i.classList.remove(ne),r.classList.add(ne),this._isSliding=!1,f();a&&this.cycle()}_directionToOrder(e){return[J,Z].includes(e)?g()?e===Z?Q:G:e===Z?G:Q:e}_orderToDirection(e){return[G,Q].includes(e)?g()?e===Q?Z:J:e===Q?J:Z:e}static carouselInterface(e,t){const n=se.getOrCreateInstance(e,t);let{_config:i}=n;"object"==typeof t&&(i={...i,...t});const s="string"==typeof t?t:i.slide;if("number"==typeof t)n.to(t);else if("string"==typeof s){if(void 0===n[s])throw new TypeError(`No method named "${s}"`);n[s]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){se.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=i(this);if(!t||!t.classList.contains("carousel"))return;const n={...q.getDataAttributes(t),...q.getDataAttributes(this)},s=this.getAttribute("data-bs-slide-to");s&&(n.interval=!1),se.carouselInterface(t,n),s&&se.getInstance(t).to(s),e.preventDefault()}}I.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",se.dataApiClickHandler),I.on(window,"load.bs.carousel.data-api",(()=>{const e=Y.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;t<n;t++)se.carouselInterface(e[t],se.getInstance(e[t]))})),m(se);const re="collapse",oe={toggle:!0,parent:null},ae={toggle:"boolean",parent:"(null|element)"},le="show",ce="collapse",ue="collapsing",he="collapsed",de=":scope .collapse .collapse",fe='[data-bs-toggle="collapse"]';class pe extends z{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const i=Y.find(fe);for(let e=0,t=i.length;e<t;e++){const t=i[e],s=n(t),r=Y.find(s).filter((e=>e===this._element));null!==s&&r.length&&(this._selector=s,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return oe}static get NAME(){return re}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=Y.find(de,this._config.parent);t=Y.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=Y.findOne(this._selector);if(t.length){const i=t.find((e=>n!==e));if(e=i?pe.getInstance(i):null,e&&e._isTransitioning)return}if(I.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&pe.getOrCreateInstance(t,{toggle:!1}).hide(),e||R.set(t,"bs.collapse",null)}));const i=this._getDimension();this._element.classList.remove(ce),this._element.classList.add(ue),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(ce,le),this._element.style[i]="",I.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(ue),this._element.classList.remove(ce,le);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],n=i(t);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(ce),I.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(le)}_getConfig(e){return(e={...oe,...q.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=o(e.parent),a(re,e,ae),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=Y.find(de,this._config.parent);Y.find(fe,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(he):e.classList.add(he),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=pe.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}I.on(document,"click.bs.collapse.data-api",fe,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=n(this);Y.find(t).forEach((e=>{pe.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),m(pe);var ge="top",me="bottom",ve="right",ye="left",_e="auto",be=[ge,me,ve,ye],we="start",xe="end",Se="clippingParents",Te="viewport",Ee="popper",Ce="reference",ke=be.reduce((function(e,t){return e.concat([t+"-"+we,t+"-"+xe])}),[]),Oe=[].concat(be,[_e]).reduce((function(e,t){return e.concat([t,t+"-"+we,t+"-"+xe])}),[]),Ae="beforeRead",Me="read",Le="afterRead",Pe="beforeMain",Ne="main",De="afterMain",Ie="beforeWrite",Be="write",Re="afterWrite",ze=[Ae,Me,Le,Pe,Ne,De,Ie,Be,Re];function Fe(e){return e?(e.nodeName||"").toLowerCase():null}function je(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return e instanceof je(e).Element||e instanceof Element}function He(e){return e instanceof je(e).HTMLElement||e instanceof HTMLElement}function Ve(e){return"undefined"!=typeof ShadowRoot&&(e instanceof je(e).ShadowRoot||e instanceof ShadowRoot)}const We={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},s=t.elements[e];He(s)&&Fe(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],s=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});He(i)&&Fe(i)&&(Object.assign(i.style,r),Object.keys(s).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function qe(e){return e.split("-")[0]}function Ye(e,t){var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Xe(e){var t=Ye(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ue(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ve(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ke(e){return je(e).getComputedStyle(e)}function Ge(e){return["table","td","th"].indexOf(Fe(e))>=0}function Qe(e){return(($e(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return"html"===Fe(e)?e:e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||Qe(e)}function Je(e){return He(e)&&"fixed"!==Ke(e).position?e.offsetParent:null}function et(e){for(var t=je(e),n=Je(e);n&&Ge(n)&&"static"===Ke(n).position;)n=Je(n);return n&&("html"===Fe(n)||"body"===Fe(n)&&"static"===Ke(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&He(e)&&"fixed"===Ke(e).position)return null;for(var n=Ze(e);He(n)&&["html","body"].indexOf(Fe(n))<0;){var i=Ke(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function tt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var nt=Math.max,it=Math.min,st=Math.round;function rt(e,t,n){return nt(e,it(t,n))}function ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function at(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const lt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,s=e.options,r=n.elements.arrow,o=n.modifiersData.popperOffsets,a=qe(n.placement),l=tt(a),c=[ye,ve].indexOf(a)>=0?"height":"width";if(r&&o){var u=function(e,t){return ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:at(e,be))}(s.padding,n),h=Xe(r),d="y"===l?ge:ye,f="y"===l?me:ve,p=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],g=o[l]-n.rects.reference[l],m=et(r),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=p/2-g/2,_=u[d],b=v-h[c]-u[f],w=v/2-h[c]/2+y,x=rt(_,w,b),S=l;n.modifiersData[i]=((t={})[S]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ue(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ct(e){return e.split("-")[1]}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ht(e){var t,n=e.popper,i=e.popperRect,s=e.placement,r=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=!0===u?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:st(st(t*i)/i)||0,y:st(st(n*i)/i)||0}}(o):"function"==typeof u?u(o):o,d=h.x,f=void 0===d?0:d,p=h.y,g=void 0===p?0:p,m=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),y=ye,_=ge,b=window;if(c){var w=et(n),x="clientHeight",S="clientWidth";w===je(n)&&"static"!==Ke(w=Qe(n)).position&&"absolute"===a&&(x="scrollHeight",S="scrollWidth"),w=w,s!==ge&&(s!==ye&&s!==ve||r!==xe)||(_=me,g-=w[x]-i.height,g*=l?1:-1),s!==ye&&(s!==ge&&s!==me||r!==xe)||(y=ve,f-=w[S]-i.width,f*=l?1:-1)}var T,E=Object.assign({position:a},c&&ut);return l?Object.assign({},E,((T={})[_]=v?"0":"",T[y]=m?"0":"",T.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",T)):Object.assign({},E,((t={})[_]=v?g+"px":"",t[y]=m?f+"px":"",t.transform="",t))}const dt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=void 0===i||i,r=n.adaptive,o=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:qe(t.placement),variation:ct(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ht(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ht(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ft={passive:!0};const pt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,r=void 0===s||s,o=i.resize,a=void 0===o||o,l=je(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,ft)})),a&&l.addEventListener("resize",n.update,ft),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ft)})),a&&l.removeEventListener("resize",n.update,ft)}},data:{}};var gt={left:"right",right:"left",bottom:"top",top:"bottom"};function mt(e){return e.replace(/left|right|bottom|top/g,(function(e){return gt[e]}))}var vt={start:"end",end:"start"};function yt(e){return e.replace(/start|end/g,(function(e){return vt[e]}))}function _t(e){var t=je(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bt(e){return Ye(Qe(e)).left+_t(e).scrollLeft}function wt(e){var t=Ke(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function xt(e){return["html","body","#document"].indexOf(Fe(e))>=0?e.ownerDocument.body:He(e)&&wt(e)?e:xt(Ze(e))}function St(e,t){var n;void 0===t&&(t=[]);var i=xt(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),r=je(i),o=s?[r].concat(r.visualViewport||[],wt(i)?i:[]):i,a=t.concat(o);return s?a:a.concat(St(Ze(o)))}function Tt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Et(e,t){return t===Te?Tt(function(e){var t=je(e),n=Qe(e),i=t.visualViewport,s=n.clientWidth,r=n.clientHeight,o=0,a=0;return i&&(s=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,a=i.offsetTop)),{width:s,height:r,x:o+bt(e),y:a}}(e)):He(t)?function(e){var t=Ye(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Tt(function(e){var t,n=Qe(e),i=_t(e),s=null==(t=e.ownerDocument)?void 0:t.body,r=nt(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=nt(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+bt(e),l=-i.scrollTop;return"rtl"===Ke(s||n).direction&&(a+=nt(n.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}(Qe(e)))}function Ct(e){var t,n=e.reference,i=e.element,s=e.placement,r=s?qe(s):null,o=s?ct(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case ge:t={x:a,y:n.y-i.height};break;case me:t={x:a,y:n.y+n.height};break;case ve:t={x:n.x+n.width,y:l};break;case ye:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?tt(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case we:t[c]=t[c]-(n[u]/2-i[u]/2);break;case xe:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function kt(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,r=n.boundary,o=void 0===r?Se:r,a=n.rootBoundary,l=void 0===a?Te:a,c=n.elementContext,u=void 0===c?Ee:c,h=n.altBoundary,d=void 0!==h&&h,f=n.padding,p=void 0===f?0:f,g=ot("number"!=typeof p?p:at(p,be)),m=u===Ee?Ce:Ee,v=e.rects.popper,y=e.elements[d?m:u],_=function(e,t,n){var i="clippingParents"===t?function(e){var t=St(Ze(e)),n=["absolute","fixed"].indexOf(Ke(e).position)>=0&&He(e)?et(e):e;return $e(n)?t.filter((function(e){return $e(e)&&Ue(e,n)&&"body"!==Fe(e)})):[]}(e):[].concat(t),s=[].concat(i,[n]),r=s[0],o=s.reduce((function(t,n){var i=Et(e,n);return t.top=nt(i.top,t.top),t.right=it(i.right,t.right),t.bottom=it(i.bottom,t.bottom),t.left=nt(i.left,t.left),t}),Et(e,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}($e(y)?y:y.contextElement||Qe(e.elements.popper),o,l),b=Ye(e.elements.reference),w=Ct({reference:b,element:v,strategy:"absolute",placement:s}),x=Tt(Object.assign({},v,w)),S=u===Ee?x:b,T={top:_.top-S.top+g.top,bottom:S.bottom-_.bottom+g.bottom,left:_.left-S.left+g.left,right:S.right-_.right+g.right},E=e.modifiersData.offset;if(u===Ee&&E){var C=E[s];Object.keys(T).forEach((function(e){var t=[ve,me].indexOf(e)>=0?1:-1,n=[ge,me].indexOf(e)>=0?"y":"x";T[e]+=C[n]*t}))}return T}const Ot={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,r=void 0===s||s,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,v=qe(m),y=l||(v!==m&&p?function(e){if(qe(e)===_e)return[];var t=mt(e);return[yt(e),t,yt(t)]}(m):[mt(m)]),_=[m].concat(y).reduce((function(e,n){return e.concat(qe(n)===_e?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=n.boundary,r=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Oe:l,u=ct(i),h=u?a?ke:ke.filter((function(e){return ct(e)===u})):be,d=h.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=h);var f=d.reduce((function(t,n){return t[n]=kt(e,{placement:n,boundary:s,rootBoundary:r,padding:o})[qe(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),b=t.rects.reference,w=t.rects.popper,x=new Map,S=!0,T=_[0],E=0;E<_.length;E++){var C=_[E],k=qe(C),O=ct(C)===we,A=[ge,me].indexOf(k)>=0,M=A?"width":"height",L=kt(t,{placement:C,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),P=A?O?ve:ye:O?me:ge;b[M]>w[M]&&(P=mt(P));var N=mt(P),D=[];if(r&&D.push(L[k]<=0),a&&D.push(L[P]<=0,L[N]<=0),D.every((function(e){return e}))){T=C,S=!1;break}x.set(C,D)}if(S)for(var I=function(e){var t=_.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},B=p?3:1;B>0&&"break"!==I(B);B--);t.placement!==T&&(t.modifiersData[i]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function At(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Mt(e){return[ge,ve,me,ye].some((function(t){return e[t]>=0}))}const Lt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=kt(t,{elementContext:"reference"}),a=kt(t,{altBoundary:!0}),l=At(o,i),c=At(a,s,r),u=Mt(l),h=Mt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},Pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.offset,r=void 0===s?[0,0]:s,o=Oe.reduce((function(e,n){return e[n]=function(e,t,n){var i=qe(e),s=[ye,ge].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[ye,ve].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,r),e}),{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},Nt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ct({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Dt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,r=void 0===s||s,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,g=void 0===p?0:p,m=kt(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=qe(t.placement),y=ct(t.placement),_=!y,b=tt(v),w="x"===b?"y":"x",x=t.modifiersData.popperOffsets,S=t.rects.reference,T=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C={x:0,y:0};if(x){if(r||a){var k="y"===b?ge:ye,O="y"===b?me:ve,A="y"===b?"height":"width",M=x[b],L=x[b]+m[k],P=x[b]-m[O],N=f?-T[A]/2:0,D=y===we?S[A]:T[A],I=y===we?-T[A]:-S[A],B=t.elements.arrow,R=f&&B?Xe(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=z[k],j=z[O],$=rt(0,S[A],R[A]),H=_?S[A]/2-N-$-F-E:D-$-F-E,V=_?-S[A]/2+N+$+j+E:I+$+j+E,W=t.elements.arrow&&et(t.elements.arrow),q=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,Y=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,X=x[b]+H-Y-q,U=x[b]+V-Y;if(r){var K=rt(f?it(L,X):L,M,f?nt(P,U):P);x[b]=K,C[b]=K-M}if(a){var G="x"===b?ge:ye,Q="x"===b?me:ve,Z=x[w],J=Z+m[G],ee=Z-m[Q],te=rt(f?it(J,X):J,Z,f?nt(ee,U):ee);x[w]=te,C[w]=te-Z}}t.modifiersData[i]=C}},requiresIfExists:["offset"]};function It(e,t,n){void 0===n&&(n=!1);var i=He(t);He(t)&&function(e){var t=e.getBoundingClientRect();t.width,e.offsetWidth,t.height,e.offsetHeight}(t);var s,r,o=Qe(t),a=Ye(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!n)&&(("body"!==Fe(t)||wt(o))&&(l=(s=t)!==je(s)&&He(s)?{scrollLeft:(r=s).scrollLeft,scrollTop:r.scrollTop}:_t(s)),He(t)?((c=Ye(t)).x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=bt(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Bt(e){var t=new Map,n=new Set,i=[];function s(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&s(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||s(e)})),i}var Rt={placement:"bottom",modifiers:[],strategy:"absolute"};function zt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ft(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,s=t.defaultOptions,r=void 0===s?Rt:s;return function(e,t,n){void 0===n&&(n=r);var s,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rt,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},r,a.options,s),a.scrollParents={reference:$e(e)?St(e):e.contextElement?St(e.contextElement):[],popper:St(t)};var o,c,d=function(e){var t=Bt(e);return ze.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(i,a.options.modifiers),c=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=d.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var r=s({state:a,name:t,instance:u,options:i});l.push(r||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(zt(t,n)){a.rects={reference:It(t,et(n),"fixed"===a.options.strategy),popper:Xe(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],r=s.fn,o=s.options,l=void 0===o?{}:o,h=s.name;"function"==typeof r&&(a=r({state:a,options:l,name:h,instance:u})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(s())}))}))),o}),destroy:function(){h(),c=!0}};if(!zt(e,t))return u;function h(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var jt=Ft(),$t=Ft({defaultModifiers:[pt,Nt,dt,We]}),Ht=Ft({defaultModifiers:[pt,Nt,dt,We,Pt,Ot,Dt,lt,Lt]});const Vt=Object.freeze({__proto__:null,popperGenerator:Ft,detectOverflow:kt,createPopperBase:jt,createPopper:Ht,createPopperLite:$t,top:ge,bottom:me,right:ve,left:ye,auto:_e,basePlacements:be,start:we,end:xe,clippingParents:Se,viewport:Te,popper:Ee,reference:Ce,variationPlacements:ke,placements:Oe,beforeRead:Ae,read:Me,afterRead:Le,beforeMain:Pe,main:Ne,afterMain:De,beforeWrite:Ie,write:Be,afterWrite:Re,modifierPhases:ze,applyStyles:We,arrow:lt,computeStyles:dt,eventListeners:pt,flip:Ot,hide:Lt,offset:Pt,popperOffsets:Nt,preventOverflow:Dt}),Wt="dropdown",qt="Escape",Yt="Space",Xt="ArrowUp",Ut="ArrowDown",Kt=new RegExp("ArrowUp|ArrowDown|Escape"),Gt="click.bs.dropdown.data-api",Qt="keydown.bs.dropdown.data-api",Zt="show",Jt='[data-bs-toggle="dropdown"]',en=".dropdown-menu",tn=g()?"top-end":"top-start",nn=g()?"top-start":"top-end",sn=g()?"bottom-end":"bottom-start",rn=g()?"bottom-start":"bottom-end",on=g()?"left-start":"right-start",an=g()?"right-start":"left-start",ln={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},cn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class un extends z{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return Wt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(c(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(I.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=un.getParentFromElement(this._element);this._inNavbar?q.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>I.on(e,"mouseover",h))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Zt),this._element.classList.add(Zt),I.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(c(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){I.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>I.off(e,"mouseover",h))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Zt),this._element.classList.remove(Zt),this._element.setAttribute("aria-expanded","false"),q.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...q.getDataAttributes(this._element),...e},a(Wt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!r(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Wt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Vt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:r(this._config.reference)?t=o(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Ht(t,this._menu,n),i&&q.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Zt)}_getMenuElement(){return Y.next(this._element,en)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return on;if(e.classList.contains("dropstart"))return an;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?nn:tn:t?rn:sn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=Y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);n.length&&_(n,t,e===Ut,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=Y.find(Jt);for(let n=0,i=t.length;n<i;n++){const i=un.getInstance(t[n]);if(!i||!1===i._config.autoClose)continue;if(!i._isShown())continue;const s={relatedTarget:i._element};if(e){const t=e.composedPath(),n=t.includes(i._menu);if(t.includes(i._element)||"inside"===i._config.autoClose&&!n||"outside"===i._config.autoClose&&n)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(s.clickEvent=e)}i._completeHide(s)}}static getParentFromElement(e){return i(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Yt||e.key!==qt&&(e.key!==Ut&&e.key!==Xt||e.target.closest(en)):!Kt.test(e.key))return;const t=this.classList.contains(Zt);if(!t&&e.key===qt)return;if(e.preventDefault(),e.stopPropagation(),c(this))return;const n=this.matches(Jt)?this:Y.prev(this,Jt)[0],i=un.getOrCreateInstance(n);if(e.key!==qt)return e.key===Xt||e.key===Ut?(t||i.show(),void i._selectMenuItem(e)):void(t&&e.key!==Yt||un.clearMenus());i.hide()}}I.on(document,Qt,Jt,un.dataApiKeydownHandler),I.on(document,Qt,en,un.dataApiKeydownHandler),I.on(document,Gt,un.clearMenus),I.on(document,"keyup.bs.dropdown.data-api",un.clearMenus),I.on(document,Gt,Jt,(function(e){e.preventDefault(),un.getOrCreateInstance(this).toggle()})),m(un);const hn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dn=".sticky-top";class fn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t=>t+e)),this._setElementAttributes(hn,"paddingRight",(t=>t+e)),this._setElementAttributes(dn,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(hn,"paddingRight"),this._resetElementAttributes(dn,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&q.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=q.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(q.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){r(e)?t(e):Y.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const pn={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},gn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},mn="show",vn="mousedown.bs.backdrop";class yn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&d(this._getElement()),this._getElement().classList.add(mn),this._emulateAnimation((()=>{v(e)}))):v(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(mn),this._emulateAnimation((()=>{this.dispose(),v(e)}))):v(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...pn,..."object"==typeof e?e:{}}).rootElement=o(e.rootElement),a("backdrop",e,gn),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),I.on(this._getElement(),vn,(()=>{v(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(I.off(this._element,vn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const _n={trapElement:null,autofocus:!0},bn={trapElement:"element",autofocus:"boolean"},wn=".bs.focustrap",xn="backward";class Sn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),I.off(document,wn),I.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),I.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,wn))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const i=Y.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===xn?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?xn:"forward")}_getConfig(e){return e={..._n,..."object"==typeof e?e:{}},a("focustrap",e,bn),e}}const Tn="modal",En="Escape",Cn={backdrop:!0,keyboard:!0,focus:!0},kn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},On="hidden.bs.modal",An="show.bs.modal",Mn="resize.bs.modal",Ln="click.dismiss.bs.modal",Pn="keydown.dismiss.bs.modal",Nn="mousedown.dismiss.bs.modal",Dn="modal-open",In="show",Bn="modal-static";class Rn extends z{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=Y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new fn}static get Default(){return Cn}static get NAME(){return Tn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||I.trigger(this._element,An,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Dn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),I.on(this._dialog,Nn,(()=>{I.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(I.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(In),I.off(this._element,Ln),I.off(this._dialog,Nn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>I.off(e,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new yn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Sn({trapElement:this._element})}_getConfig(e){return e={...Cn,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(Tn,e,kn),e}_showElement(e){const t=this._isAnimated(),n=Y.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&d(this._element),this._element.classList.add(In),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?I.on(this._element,Pn,(e=>{this._config.keyboard&&e.key===En?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==En||this._triggerBackdropTransition()})):I.off(this._element,Pn)}_setResizeEvent(){this._isShown?I.on(window,Mn,(()=>this._adjustDialog())):I.off(window,Mn)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Dn),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,On)}))}_showBackdrop(e){I.on(this._element,Ln,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,i=t>document.documentElement.clientHeight;!i&&"hidden"===n.overflowY||e.contains(Bn)||(i||(n.overflowY="hidden"),e.add(Bn),this._queueCallback((()=>{e.remove(Bn),i||this._queueCallback((()=>{n.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!g()||n&&!e&&g())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!g()||!n&&e&&g())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Rn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}I.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=i(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),I.one(t,An,(e=>{e.defaultPrevented||I.one(t,On,(()=>{l(this)&&this.focus()}))}));const n=Y.findOne(".modal.show");n&&Rn.getInstance(n).hide(),Rn.getOrCreateInstance(t).toggle(this)})),F(Rn),m(Rn);const zn="offcanvas",Fn={backdrop:!0,keyboard:!0,scroll:!1},jn={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},$n="show",Hn=".offcanvas.show",Vn="hidden.bs.offcanvas";class Wn extends z{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return zn}static get Default(){return Fn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||I.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new fn).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add($n),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),I.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove($n),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new fn).reset(),I.trigger(this._element,Vn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Fn,...q.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(zn,e,jn),e}_initializeBackDrop(){return new yn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Sn({trapElement:this._element})}_addEventListeners(){I.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Wn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}I.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=i(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this))return;I.one(t,Vn,(()=>{l(this)&&this.focus()}));const n=Y.findOne(Hn);n&&n!==t&&Wn.getInstance(n).hide(),Wn.getOrCreateInstance(t).toggle(this)})),I.on(window,"load.bs.offcanvas.data-api",(()=>Y.find(Hn).forEach((e=>Wn.getOrCreateInstance(e).show())))),F(Wn),m(Wn);const qn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Un=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!qn.has(n)||Boolean(Yn.test(e.nodeValue)||Xn.test(e.nodeValue));const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e<t;e++)if(i[e].test(n))return!0;return!1};function Kn(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(let e=0,n=s.length;e<n;e++){const n=s[e],i=n.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){n.remove();continue}const r=[].concat(...n.attributes),o=[].concat(t["*"]||[],t[i]||[]);r.forEach((e=>{Un(e,o)||n.removeAttribute(e.nodeName)}))}return i.body.innerHTML}const Gn="tooltip",Qn=new Set(["sanitize","allowList","sanitizeFn"]),Zn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Jn={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},ei={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},ti={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ni="fade",ii="show",si="show",ri="out",oi=".tooltip-inner",ai=".modal",li="hide.bs.modal",ci="hover",ui="focus";class hi extends z{constructor(e,t){if(void 0===Vt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return ei}static get NAME(){return Gn}static get Event(){return ti}static get DefaultType(){return Zn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(ii))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(ai),li,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=I.trigger(this._element,this.constructor.Event.SHOW),t=u(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(oi).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const i=this.getTipElement(),s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);i.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&i.classList.add(ni);const r="function"==typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,o=this._getAttachment(r);this._addAttachmentClass(o);const{container:a}=this._config;R.set(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),I.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ht(this._element,i,this._getPopperConfig(o)),i.classList.add(ii);const l=this._resolvePossibleFunction(this._config.customClass);l&&i.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{I.on(e,"mouseover",h)}));const c=this.tip.classList.contains(ni);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,I.trigger(this._element,this.constructor.Event.SHOWN),e===ri&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(I.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(ii),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>I.off(e,"mouseover",h))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(ni);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==si&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(ni,ii),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),oi)}_sanitizeAndSetContent(e,t,n){const i=Y.findOne(n,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){if(null!==e)return r(t)?(t=o(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Kn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Jn[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)I.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===ci?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===ci?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;I.on(this._element,t,this._config.selector,(e=>this._enter(e))),I.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(ai),li,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?ui:ci]=!0),t.getTipElement().classList.contains(ii)||t._hoverState===si?t._hoverState=si:(clearTimeout(t._timeout),t._hoverState=si,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===si&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?ui:ci]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=ri,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===ri&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=q.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{Qn.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:o(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),a(Gn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Kn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=hi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(hi);const di={...hi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},fi={...hi.DefaultType,content:"(string|element|function)"},pi={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class gi extends hi{static get Default(){return di}static get NAME(){return"popover"}static get Event(){return pi}static get DefaultType(){return fi}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=gi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(gi);const mi="scrollspy",vi={offset:10,method:"auto",target:""},yi={offset:"number",method:"string",target:"(string|element)"},_i="active",bi=".nav-link, .list-group-item, .dropdown-item",wi="position";class xi extends z{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,I.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return vi}static get NAME(){return mi}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":wi,t="auto"===this._config.method?e:this._config.method,i=t===wi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Y.find(bi,this._config.target).map((e=>{const s=n(e),r=s?Y.findOne(s):null;if(r){const e=r.getBoundingClientRect();if(e.width||e.height)return[q[t](r).top+i,s]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){I.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...vi,...q.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=o(e.target)||document.documentElement,a(mi,e,yi),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}_activate(e){this._activeTarget=e,this._clear();const t=bi.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),n=Y.findOne(t.join(","),this._config.target);n.classList.add(_i),n.classList.contains("dropdown-item")?Y.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(_i):Y.parents(n,".nav, .list-group").forEach((e=>{Y.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(_i))),Y.prev(e,".nav-item").forEach((e=>{Y.children(e,".nav-link").forEach((e=>e.classList.add(_i)))}))})),I.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){Y.find(bi,this._config.target).filter((e=>e.classList.contains(_i))).forEach((e=>e.classList.remove(_i)))}static jQueryInterface(e){return this.each((function(){const t=xi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(window,"load.bs.scrollspy.data-api",(()=>{Y.find('[data-bs-spy="scroll"]').forEach((e=>new xi(e)))})),m(xi);const Si="active",Ti="fade",Ei="show",Ci=".active",ki=":scope > li > .active";class Oi extends z{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Si))return;let e;const t=i(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?ki:Ci;e=Y.find(t,n),e=e[e.length-1]}const s=e?I.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(I.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,n);const r=()=>{I.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),I.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,r):r()}_activate(e,t,n){const i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?Y.children(t,Ci):Y.find(ki,t))[0],s=n&&i&&i.classList.contains(Ti),r=()=>this._transitionComplete(e,i,n);i&&s?(i.classList.remove(Ei),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,t,n){if(t){t.classList.remove(Si);const e=Y.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Si),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Si),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),d(e),e.classList.contains(Ti)&&e.classList.add(Ei);let i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&Y.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Si))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=Oi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this)||Oi.getOrCreateInstance(this).show()})),m(Oi);const Ai="toast",Mi="hide",Li="show",Pi="showing",Ni={animation:"boolean",autohide:"boolean",delay:"number"},Di={animation:!0,autohide:!0,delay:5e3};class Ii extends z{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Ni}static get Default(){return Di}static get NAME(){return Ai}show(){I.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Mi),d(this._element),this._element.classList.add(Li),this._element.classList.add(Pi),this._queueCallback((()=>{this._element.classList.remove(Pi),I.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(Li)&&(I.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Pi),this._queueCallback((()=>{this._element.classList.add(Mi),this._element.classList.remove(Pi),this._element.classList.remove(Li),I.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Li)&&this._element.classList.remove(Li),super.dispose()}_getConfig(e){return e={...Di,...q.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},a(Ai,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),I.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),I.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),I.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Ii.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return F(Ii),m(Ii),{Alert:j,Button:H,Carousel:se,Collapse:pe,Dropdown:un,Modal:Rn,Offcanvas:Wn,Popover:gi,ScrollSpy:xi,Tab:Oi,Toast:Ii,Tooltip:hi}}));