iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://directory.static.partnerpage.io/_nuxt/BRlUhGDV.js
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DvLIVRgO.js","./CnJENjUy.js","./DYfoKEFt.js","./BfNY6Ash.js","./x6jBt31N.js","./CA9x98gW.js","./DlA3Zajd.js","./C-LOr9OT.js","./Cm3SVEIR.js","./AniTWkCy.js","./BdzZSmnS.js","./C78zZGgJ.js","./538v-czj.js","./CC8G09AA.js","./DUlE0FoY.js","./mQ3dsUjm.js","./index.wB9KKuwG.css","./DejajCHn.js","./DjoyEHXQ.js","./mKp45S2Q.js"])))=>i.map(i=>d[i]); /** * @vue/shared v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function jx(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Rt={},Du=[],ys=()=>{},cq=()=>!1,$p=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Wx=e=>e.startsWith("onUpdate:"),In=Object.assign,Fx=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uq=Object.prototype.hasOwnProperty,Nt=(e,t)=>uq.call(e,t),Fe=Array.isArray,Qu=e=>zd(e)==="[object Map]",Bd=e=>zd(e)==="[object Set]",w5=e=>zd(e)==="[object Date]",dq=e=>zd(e)==="[object RegExp]",Xe=e=>typeof e=="function",pn=e=>typeof e=="string",Mi=e=>typeof e=="symbol",Ut=e=>e!==null&&typeof e=="object",T4=e=>(Ut(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),C4=Object.prototype.toString,zd=e=>C4.call(e),fq=e=>zd(e).slice(8,-1),P4=e=>zd(e)==="[object Object]",qx=e=>pn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bu=jx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),SO=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hq=/-(\w)/g,Uo=SO(e=>e.replace(hq,(t,n)=>n?n.toUpperCase():"")),pq=/\B([A-Z])/g,va=SO(e=>e.replace(pq,"-$1").toLowerCase()),_O=SO(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ng=SO(e=>e?`on${_O(e)}`:""),uo=(e,t)=>!Object.is(e,t),zu=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},xb=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$4=e=>{const t=pn(e)?Number(e):NaN;return isNaN(t)?e:t};let S5;const kO=()=>S5||(S5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ro(e){if(Fe(e)){const t={};for(let n=0;n{if(n){const r=n.split(gq);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function it(e){let t="";if(pn(e))t=e;else if(Fe(e))for(let n=0;nPc(n,t))}const R4=e=>!!(e&&e.__v_isRef===!0),rt=e=>pn(e)?e:e==null?"":Fe(e)||Ut(e)&&(e.toString===C4||!Xe(e.toString))?R4(e)?rt(e.value):JSON.stringify(e,I4,2):String(e),I4=(e,t)=>R4(t)?I4(e,t.value):Qu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[mv(r,i)+" =>"]=o,n),{})}:Bd(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mv(n))}:Mi(t)?mv(t):Ut(t)&&!Fe(t)&&!P4(t)?String(t):t,mv=(e,t="")=>{var n;return Mi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ur;class L4{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ur,!t&&Ur&&(this.index=(Ur.scopes||(Ur.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(ih){let t=ih;for(ih=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;oh;){let t=oh;for(oh=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function B4(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function z4(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Xx(r),Sq(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function _1(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(j4(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function j4(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Nh))return;e.globalVersion=Nh;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!_1(e)){e.flags&=-3;return}const n=sn,r=Pi;sn=e,Pi=!0;try{B4(e);const o=e.fn(e._value);(t.version===0||uo(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{sn=n,Pi=r,z4(e),e.flags&=-3}}function Xx(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Xx(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sq(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Pi=!0;const W4=[];function Pl(){W4.push(Pi),Pi=!1}function Al(){const e=W4.pop();Pi=e===void 0?!0:e}function _5(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=sn;sn=void 0;try{t()}finally{sn=n}}}let Nh=0;class _q{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class TO{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!sn||!Pi||sn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==sn)n=this.activeLink=new _q(sn,this),sn.deps?(n.prevDep=sn.depsTail,sn.depsTail.nextDep=n,sn.depsTail=n):sn.deps=sn.depsTail=n,F4(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=sn.depsTail,n.nextDep=void 0,sn.depsTail.nextDep=n,sn.depsTail=n,sn.deps===n&&(sn.deps=r)}return n}trigger(t){this.version++,Nh++,this.notify(t)}notify(t){Zx();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Vx()}}}function F4(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)F4(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Eb=new WeakMap,vc=Symbol(""),k1=Symbol(""),Dh=Symbol("");function Cr(e,t,n){if(Pi&&sn){let r=Eb.get(e);r||Eb.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new TO),o.map=r,o.key=n),o.track()}}function Vs(e,t,n,r,o,i){const s=Eb.get(e);if(!s){Nh++;return}const a=l=>{l&&l.trigger()};if(Zx(),t==="clear")s.forEach(a);else{const l=Fe(e),c=l&&qx(n);if(l&&n==="length"){const u=Number(r);s.forEach((d,f)=>{(f==="length"||f===Dh||!Mi(f)&&f>=u)&&a(d)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),c&&a(s.get(Dh)),t){case"add":l?c&&a(s.get("length")):(a(s.get(vc)),Qu(e)&&a(s.get(k1)));break;case"delete":l||(a(s.get(vc)),Qu(e)&&a(s.get(k1)));break;case"set":Qu(e)&&a(s.get(vc));break}}Vx()}function kq(e,t){const n=Eb.get(e);return n&&n.get(t)}function su(e){const t=kt(e);return t===e?t:(Cr(t,"iterate",Dh),ii(e)?t:t.map(Pr))}function CO(e){return Cr(e=kt(e),"iterate",Dh),e}const xq={__proto__:null,[Symbol.iterator](){return bv(this,Symbol.iterator,Pr)},concat(...e){return su(this).concat(...e.map(t=>Fe(t)?su(t):t))},entries(){return bv(this,"entries",e=>(e[1]=Pr(e[1]),e))},every(e,t){return Ls(this,"every",e,t,void 0,arguments)},filter(e,t){return Ls(this,"filter",e,t,n=>n.map(Pr),arguments)},find(e,t){return Ls(this,"find",e,t,Pr,arguments)},findIndex(e,t){return Ls(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ls(this,"findLast",e,t,Pr,arguments)},findLastIndex(e,t){return Ls(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ls(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ov(this,"includes",e)},indexOf(...e){return Ov(this,"indexOf",e)},join(e){return su(this).join(e)},lastIndexOf(...e){return Ov(this,"lastIndexOf",e)},map(e,t){return Ls(this,"map",e,t,void 0,arguments)},pop(){return gf(this,"pop")},push(...e){return gf(this,"push",e)},reduce(e,...t){return k5(this,"reduce",e,t)},reduceRight(e,...t){return k5(this,"reduceRight",e,t)},shift(){return gf(this,"shift")},some(e,t){return Ls(this,"some",e,t,void 0,arguments)},splice(...e){return gf(this,"splice",e)},toReversed(){return su(this).toReversed()},toSorted(e){return su(this).toSorted(e)},toSpliced(...e){return su(this).toSpliced(...e)},unshift(...e){return gf(this,"unshift",e)},values(){return bv(this,"values",Pr)}};function bv(e,t,n){const r=CO(e),o=r[t]();return r!==e&&!ii(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Eq=Array.prototype;function Ls(e,t,n,r,o,i){const s=CO(e),a=s!==e&&!ii(e),l=s[t];if(l!==Eq[t]){const d=l.apply(e,i);return a?Pr(d):d}let c=n;s!==e&&(a?c=function(d,f){return n.call(this,Pr(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function k5(e,t,n,r){const o=CO(e);let i=n;return o!==e&&(ii(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,Pr(a),l,e)}),o[t](i,...r)}function Ov(e,t,n){const r=kt(e);Cr(r,"iterate",Dh);const o=r[t](...n);return(o===-1||o===!1)&&Kx(n[0])?(n[0]=kt(n[0]),r[t](...n)):o}function gf(e,t,n=[]){Pl(),Zx();const r=kt(e)[t].apply(e,n);return Vx(),Al(),r}const Tq=jx("__proto__,__v_isRef,__isVue"),q4=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mi));function Cq(e){Mi(e)||(e=String(e));const t=kt(this);return Cr(t,"has",e),t.hasOwnProperty(e)}class U4{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Qq:H4:i?X4:V4).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Fe(t);if(!o){let l;if(s&&(l=xq[n]))return l;if(n==="hasOwnProperty")return Cq}const a=Reflect.get(t,n,Jt(t)?t:r);return(Mi(n)?q4.has(n):Tq(n))||(o||Cr(t,"get",n),i)?a:Jt(a)?s&&qx(n)?a:a.value:Ut(a)?o?Yx(a):Kn(a):a}}class Z4 extends U4{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=ua(i);if(!ii(r)&&!ua(r)&&(i=kt(i),r=kt(r)),!Fe(t)&&Jt(i)&&!Jt(r))return l?!1:(i.value=r,!0)}const s=Fe(t)&&qx(n)?Number(n)e,Mm=e=>Reflect.getPrototypeOf(e);function Rq(e,t,n){return function(...r){const o=this.__v_raw,i=kt(o),s=Qu(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?x1:t?E1:Pr;return!t&&Cr(i,"iterate",l?k1:vc),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Rm(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Iq(e,t){const n={get(o){const i=this.__v_raw,s=kt(i),a=kt(o);e||(uo(o,a)&&Cr(s,"get",o),Cr(s,"get",a));const{has:l}=Mm(s),c=t?x1:e?E1:Pr;if(l.call(s,o))return c(i.get(o));if(l.call(s,a))return c(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Cr(kt(o),"iterate",vc),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,s=kt(i),a=kt(o);return e||(uo(o,a)&&Cr(s,"has",o),Cr(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=kt(a),c=t?x1:e?E1:Pr;return!e&&Cr(l,"iterate",vc),a.forEach((u,d)=>o.call(i,c(u),c(d),s))}};return In(n,e?{add:Rm("add"),set:Rm("set"),delete:Rm("delete"),clear:Rm("clear")}:{add(o){!t&&!ii(o)&&!ua(o)&&(o=kt(o));const i=kt(this);return Mm(i).has.call(i,o)||(i.add(o),Vs(i,"add",o,o)),this},set(o,i){!t&&!ii(i)&&!ua(i)&&(i=kt(i));const s=kt(this),{has:a,get:l}=Mm(s);let c=a.call(s,o);c||(o=kt(o),c=a.call(s,o));const u=l.call(s,o);return s.set(o,i),c?uo(i,u)&&Vs(s,"set",o,i):Vs(s,"add",o,i),this},delete(o){const i=kt(this),{has:s,get:a}=Mm(i);let l=s.call(i,o);l||(o=kt(o),l=s.call(i,o)),a&&a.call(i,o);const c=i.delete(o);return l&&Vs(i,"delete",o,void 0),c},clear(){const o=kt(this),i=o.size!==0,s=o.clear();return i&&Vs(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Rq(o,e,t)}),n}function Hx(e,t){const n=Iq(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Nt(n,o)&&o in r?n:r,o,i)}const Lq={get:Hx(!1,!1)},Nq={get:Hx(!1,!0)},Dq={get:Hx(!0,!1)};const V4=new WeakMap,X4=new WeakMap,H4=new WeakMap,Qq=new WeakMap;function Bq(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zq(e){return e.__v_skip||!Object.isExtensible(e)?0:Bq(fq(e))}function Kn(e){return ua(e)?e:Gx(e,!1,Aq,Lq,V4)}function ps(e){return Gx(e,!1,Mq,Nq,X4)}function Yx(e){return Gx(e,!0,$q,Dq,H4)}function Gx(e,t,n,r,o){if(!Ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=zq(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function vs(e){return ua(e)?vs(e.__v_raw):!!(e&&e.__v_isReactive)}function ua(e){return!!(e&&e.__v_isReadonly)}function ii(e){return!!(e&&e.__v_isShallow)}function Kx(e){return e?!!e.__v_raw:!1}function kt(e){const t=e&&e.__v_raw;return t?kt(t):e}function PO(e){return!Nt(e,"__v_skip")&&Object.isExtensible(e)&&A4(e,"__v_skip",!0),e}const Pr=e=>Ut(e)?Kn(e):e,E1=e=>Ut(e)?Yx(e):e;function Jt(e){return e?e.__v_isRef===!0:!1}function ge(e){return Y4(e,!1)}function Ai(e){return Y4(e,!0)}function Y4(e,t){return Jt(e)?e:new jq(e,t)}class jq{constructor(t,n){this.dep=new TO,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:kt(t),this._value=n?t:Pr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ii(t)||ua(t);t=r?t:kt(t),uo(t,n)&&(this._rawValue=t,this._value=r?t:Pr(t),this.dep.trigger())}}function U(e){return Jt(e)?e.value:e}function V7e(e){return Xe(e)?e():U(e)}const Wq={get:(e,t,n)=>t==="__v_raw"?e:U(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Jt(o)&&!Jt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function G4(e){return vs(e)?e:new Proxy(e,Wq)}class Fq{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new TO,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Jx(e){return new Fq(e)}function qq(e){const t=Fe(e)?new Array(e.length):{};for(const n in e)t[n]=K4(e,n);return t}class Uq{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return kq(kt(this._object),this._key)}}class Zq{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function e2(e,t,n){return Jt(e)?e:Xe(e)?new Zq(e):Ut(e)&&arguments.length>1?K4(e,t,n):ge(e)}function K4(e,t,n){const r=e[t];return Jt(r)?r:new Uq(e,t,n)}class Vq{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new TO(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Nh-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&sn!==this)return Q4(this,!0),!0}get value(){const t=this.dep.track();return j4(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xq(e,t,n=!1){let r,o;return Xe(e)?r=e:(r=e.get,o=e.set),new Vq(r,o,n)}const Im={},Tb=new WeakMap;let tc;function Hq(e,t=!1,n=tc){if(n){let r=Tb.get(n);r||Tb.set(n,r=[]),r.push(e)}}function Yq(e,t,n=Rt){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,c=y=>o?y:ii(y)||o===!1||o===0?Xs(y,1):Xs(y);let u,d,f,h,p=!1,m=!1;if(Jt(e)?(d=()=>e.value,p=ii(e)):vs(e)?(d=()=>c(e),p=!0):Fe(e)?(m=!0,p=e.some(y=>vs(y)||ii(y)),d=()=>e.map(y=>{if(Jt(y))return y.value;if(vs(y))return c(y);if(Xe(y))return l?l(y,2):y()})):Xe(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){Pl();try{f()}finally{Al()}}const y=tc;tc=u;try{return l?l(e,3,[h]):e(h)}finally{tc=y}}:d=ys,t&&o){const y=d,w=o===!0?1/0:o;d=()=>Xs(y(),w)}const O=Mp(),g=()=>{u.stop(),O&&Fx(O.effects,u)};if(i&&t){const y=t;t=(...w)=>{y(...w),g()}}let b=m?new Array(e.length).fill(Im):Im;const v=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const w=u.run();if(o||p||(m?w.some((S,_)=>uo(S,b[_])):uo(w,b))){f&&f();const S=tc;tc=u;try{const _=[w,b===Im?void 0:m&&b[0]===Im?[]:b,h];l?l(t,3,_):t(..._),b=w}finally{tc=S}}}else u.run()};return a&&a(v),u=new N4(d),u.scheduler=s?()=>s(v,!1):v,h=y=>Hq(y,!1,u),f=u.onStop=()=>{const y=Tb.get(u);if(y){if(l)l(y,4);else for(const w of y)w();Tb.delete(u)}},t?r?v(!0):b=u.run():s?s(v.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function Xs(e,t=1/0,n){if(t<=0||!Ut(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Jt(e))Xs(e.value,t,n);else if(Fe(e))for(let r=0;r{Xs(r,t,n)});else if(P4(e)){for(const r in e)Xs(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xs(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Rp(e,t,n,r){try{return r?e(...r):e()}catch(o){jd(o,t,n)}}function Ri(e,t,n,r){if(Xe(e)){const o=Rp(e,t,n,r);return o&&T4(o)&&o.catch(i=>{jd(i,t,n)}),o}if(Fe(e)){const o=[];for(let i=0;i>>1,o=Zr[r],i=Qh(o);i=Qh(n)?Zr.push(e):Zr.splice(Kq(t),0,e),e.flags|=1,e8()}}function e8(){Cb||(Cb=J4.then(t8))}function T1(e){Fe(e)?ju.push(...e):ja&&e.id===-1?ja.splice(bu+1,0,e):e.flags&1||(ju.push(e),e.flags|=1),e8()}function x5(e,t,n=is+1){for(;nQh(n)-Qh(r));if(ju.length=0,ja){ja.push(...t);return}for(ja=t,bu=0;bue.id==null?e.flags&2?-1:1/0:e.id;function t8(e){try{for(is=0;isNe;function Ne(e,t=Hn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Q5(-1);const i=Ab(t);let s;try{s=e(...o)}finally{Ab(i),r._d&&Q5(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function bl(e,t){if(Hn===null)return e;const n=IO(Hn),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,sh=e=>e&&(e.disabled||e.disabled===""),nU=e=>e&&(e.defer||e.defer===""),E5=e=>typeof SVGElement<"u"&&e instanceof SVGElement,T5=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,C1=(e,t)=>{const n=e&&e.to;return pn(n)?t?t(n):null:n},rU={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:O}}=c,g=sh(t.props);let{shapeFlag:b,children:v,dynamicChildren:y}=t;if(e==null){const w=t.el=m(""),S=t.anchor=m("");h(w,n,r),h(S,n,r);const _=(A,C)=>{b&16&&(o&&o.isCE&&(o.ce._teleportTarget=A),u(v,A,C,o,i,s,a,l))},T=()=>{const A=t.target=C1(t.props,p),C=o8(A,t,m,h);A&&(s!=="svg"&&E5(A)?s="svg":s!=="mathml"&&T5(A)&&(s="mathml"),g||(_(A,C),Dg(t,!1)))};g&&(_(n,S),Dg(t,!0)),nU(t.props)?ar(T,i):T()}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,S=t.target=e.target,_=t.targetAnchor=e.targetAnchor,T=sh(e.props),A=T?n:S,C=T?w:_;if(s==="svg"||E5(S)?s="svg":(s==="mathml"||T5(S))&&(s="mathml"),y?(f(e.dynamicChildren,y,A,o,i,s,a),f2(e,t,!0)):l||d(e,t,A,C,o,i,s,a,!1),g)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Lm(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=C1(t.props,p);$&&Lm(t,$,null,c,0)}else T&&Lm(t,S,_,c,1);Dg(t,g)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(o(c),o(u)),i&&o(l),s&16){const h=i||!sh(f);for(let p=0;p{e.isMounted=!0}),Cs(()=>{e.isUnmounting=!0}),e}const Xo=[Function,Array],i8={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xo,onEnter:Xo,onAfterEnter:Xo,onEnterCancelled:Xo,onBeforeLeave:Xo,onLeave:Xo,onAfterLeave:Xo,onLeaveCancelled:Xo,onBeforeAppear:Xo,onAppear:Xo,onAfterAppear:Xo,onAppearCancelled:Xo},s8=e=>{const t=e.subTree;return t.component?s8(t.component):t},aU={name:"BaseTransition",props:i8,setup(e,{slots:t}){const n=Rr(),r=sU();return()=>{const o=t.default&&c8(t.default(),!0);if(!o||!o.length)return;const i=a8(o),s=kt(e),{mode:a}=s;if(r.isLeaving)return yv(i);const l=C5(i);if(!l)return yv(i);let c=P1(l,s,r,n,f=>c=f);l.type!==Zn&&Ju(l,c);const u=n.subTree,d=u&&C5(u);if(d&&d.type!==Zn&&!xi(l,d)&&s8(n).type!==Zn){const f=P1(d,s,r,n);if(Ju(d,f),a==="out-in"&&l.type!==Zn)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave},yv(i);a==="in-out"&&l.type!==Zn&&(f.delayLeave=(h,p,m)=>{const O=l8(r,d);O[String(d.key)]=d,h[Wa]=()=>{p(),h[Wa]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return i}}};function a8(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Zn){t=n;break}}return t}const lU=aU;function l8(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function P1(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:O,onAppear:g,onAfterAppear:b,onAppearCancelled:v}=t,y=String(e.key),w=l8(n,e),S=(A,C)=>{A&&Ri(A,r,9,C)},_=(A,C)=>{const $=C[1];S(A,C),Fe(A)?A.every(E=>E.length<=1)&&$():A.length<=1&&$()},T={mode:s,persisted:a,beforeEnter(A){let C=l;if(!n.isMounted)if(i)C=O||l;else return;A[Wa]&&A[Wa](!0);const $=w[y];$&&xi(e,$)&&$.el[Wa]&&$.el[Wa](),S(C,[A])},enter(A){let C=c,$=u,E=d;if(!n.isMounted)if(i)C=g||c,$=b||u,E=v||d;else return;let Q=!1;const X=A[Nm]=Y=>{Q||(Q=!0,Y?S(E,[A]):S($,[A]),T.delayedLeave&&T.delayedLeave(),A[Nm]=void 0)};C?_(C,[A,X]):X()},leave(A,C){const $=String(e.key);if(A[Nm]&&A[Nm](!0),n.isUnmounting)return C();S(f,[A]);let E=!1;const Q=A[Wa]=X=>{E||(E=!0,C(),X?S(m,[A]):S(p,[A]),A[Wa]=void 0,w[$]===e&&delete w[$])};w[$]=e,h?_(h,[A,Q]):Q()},clone(A){const C=P1(A,t,n,r,o);return o&&o(C),C}};return T}function yv(e){if(Ip(e))return e=Li(e),e.children=null,e}function C5(e){if(!Ip(e))return r8(e.type)&&e.children?a8(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Xe(n.default))return n.default()}}function Ju(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ju(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function c8(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i$b(p,t&&(Fe(t)?t[m]:t),n,r,o));return}if(fl(r)&&!o)return;const i=r.shapeFlag&4?IO(r.component):r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Rt?a.refs={}:a.refs,d=a.setupState,f=kt(d),h=d===Rt?()=>!1:p=>Nt(f,p);if(c!=null&&c!==l&&(pn(c)?(u[c]=null,h(c)&&(d[c]=null)):Jt(c)&&(c.value=null)),Xe(l))Rp(l,a,12,[s,u]);else{const p=pn(l),m=Jt(l);if(p||m){const O=()=>{if(e.f){const g=p?h(l)?d[l]:u[l]:l.value;o?Fe(g)&&Fx(g,i):Fe(g)?g.includes(i)||g.push(i):p?(u[l]=[i],h(l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else p?(u[l]=s,h(l)&&(d[l]=s)):m&&(l.value=s,e.k&&(u[e.k]=s))};s?(O.id=-1,ar(O,n)):O()}}}let P5=!1;const au=()=>{P5||(console.error("Hydration completed but contains mismatches."),P5=!0)},cU=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uU=e=>e.namespaceURI.includes("MathML"),Dm=e=>{if(e.nodeType===1){if(cU(e))return"svg";if(uU(e))return"mathml"}},Eu=e=>e.nodeType===8;function dU(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(v,y)=>{if(!y.hasChildNodes()){n(null,v,y),Pb(),y._vnode=v;return}d(y.firstChild,v,null,null,null),Pb(),y._vnode=v},d=(v,y,w,S,_,T=!1)=>{T=T||!!y.dynamicChildren;const A=Eu(v)&&v.data==="[",C=()=>m(v,y,w,S,_,A),{type:$,ref:E,shapeFlag:Q,patchFlag:X}=y;let Y=v.nodeType;y.el=v,X===-2&&(T=!1,y.dynamicChildren=null);let B=null;switch($){case ra:Y!==3?y.children===""?(l(y.el=o(""),s(v),v),B=v):B=C():(v.data!==y.children&&(au(),v.data=y.children),B=i(v));break;case Zn:b(v)?(B=i(v),g(y.el=v.content.firstChild,v,w)):Y!==8||A?B=C():B=i(v);break;case lh:if(A&&(v=i(v),Y=v.nodeType),Y===1||Y===3){B=v;const ee=!y.children.length;for(let te=0;te{T=T||!!y.dynamicChildren;const{type:A,props:C,patchFlag:$,shapeFlag:E,dirs:Q,transition:X}=y,Y=A==="input"||A==="option";if(Y||$!==-1){Q&&as(y,null,w,"created");let B=!1;if(b(v)){B=C8(null,X)&&w&&w.vnode.props&&w.vnode.props.appear;const te=v.content.firstChild;B&&X.beforeEnter(te),g(te,v,w),y.el=v=te}if(E&16&&!(C&&(C.innerHTML||C.textContent))){let te=h(v.firstChild,y,v,w,S,_,T);for(;te;){Qm(v,1)||au();const ye=te;te=te.nextSibling,a(ye)}}else if(E&8){let te=y.children;te[0]===` `&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(te=te.slice(1)),v.textContent!==te&&(Qm(v,0)||au(),v.textContent=y.children)}if(C){if(Y||!T||$&48){const te=v.tagName.includes("-");for(const ye in C)(Y&&(ye.endsWith("value")||ye==="indeterminate")||$p(ye)&&!Bu(ye)||ye[0]==="."||te)&&r(v,ye,null,C[ye],void 0,w)}else if(C.onClick)r(v,"onClick",null,C.onClick,void 0,w);else if($&4&&vs(C.style))for(const te in C.style)C.style[te]}let ee;(ee=C&&C.onVnodeBeforeMount)&&co(ee,w,y),Q&&as(y,null,w,"beforeMount"),((ee=C&&C.onVnodeMounted)||Q||B)&&I8(()=>{ee&&co(ee,w,y),B&&X.enter(v),Q&&as(y,null,w,"mounted")},S)}return v.nextSibling},h=(v,y,w,S,_,T,A)=>{A=A||!!y.dynamicChildren;const C=y.children,$=C.length;for(let E=0;E<$;E++){const Q=A?C[E]:C[E]=Ro(C[E]),X=Q.type===ra;v?(X&&!A&&E+1<$&&Ro(C[E+1]).type===ra&&(l(o(v.data.slice(Q.children.length)),w,i(v)),v.data=Q.children),v=d(v,Q,S,_,T,A)):X&&!Q.children?l(Q.el=o(""),w):(Qm(w,1)||au(),n(null,Q,w,null,S,_,Dm(w),T))}return v},p=(v,y,w,S,_,T)=>{const{slotScopeIds:A}=y;A&&(_=_?_.concat(A):A);const C=s(v),$=h(i(v),y,C,w,S,_,T);return $&&Eu($)&&$.data==="]"?i(y.anchor=$):(au(),l(y.anchor=c("]"),C,$),$)},m=(v,y,w,S,_,T)=>{if(Qm(v.parentElement,1)||au(),y.el=null,T){const $=O(v);for(;;){const E=i(v);if(E&&E!==$)a(E);else break}}const A=i(v),C=s(v);return a(v),n(null,y,C,A,w,S,Dm(C),_),A},O=(v,y="[",w="]")=>{let S=0;for(;v;)if(v=i(v),v&&Eu(v)&&(v.data===y&&S++,v.data===w)){if(S===0)return i(v);S--}return v},g=(v,y,w)=>{const S=y.parentNode;S&&S.replaceChild(v,y);let _=w;for(;_;)_.vnode.el===y&&(_.vnode.el=_.subTree.el=v),_=_.parent},b=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[u,d]}const A5="data-allow-mismatch",fU={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Qm(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(A5);)e=e.parentElement;const n=e&&e.getAttribute(A5);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(fU[t])}}kO().requestIdleCallback;kO().cancelIdleCallback;function hU(e,t){if(Eu(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Eu(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const fl=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function r2(e){Xe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,d=0;const f=()=>(d++,c=null,h()),h=()=>{let p;return c||(p=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((O,g)=>{l(m,()=>O(f()),()=>g(m),d+1)});throw m}).then(m=>p!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return Qe({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,O){const g=i?()=>{const b=i(O,v=>hU(p,v));b&&(m.bum||(m.bum=[])).push(b)}:O;u?g():h().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const p=Vn;if(n2(p),u)return()=>vv(u,p);const m=v=>{c=null,jd(v,p,13,!r)};if(a&&p.suspense||nd)return h().then(v=>()=>vv(v,p)).catch(v=>(m(v),()=>r?De(r,{error:v}):null));const O=ge(!1),g=ge(),b=ge(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!O.value&&!g.value){const v=new Error(`Async component timed out after ${s}ms.`);m(v),g.value=v}},s),h().then(()=>{O.value=!0,p.parent&&Ip(p.parent.vnode)&&p.parent.update()}).catch(v=>{m(v),g.value=v}),()=>{if(O.value&&u)return vv(u,p);if(g.value&&r)return De(r,{error:g.value});if(n&&!b.value)return De(n)}}})}function vv(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=De(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ip=e=>e.type.__isKeepAlive,pU={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rr(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,f=d("div");r.activate=(b,v,y,w,S)=>{const _=b.component;c(b,v,y,0,a),l(_.vnode,b,v,y,_,a,w,b.slotScopeIds,S),ar(()=>{_.isDeactivated=!1,_.a&&zu(_.a);const T=b.props&&b.props.onVnodeMounted;T&&co(T,_.parent,b)},a)},r.deactivate=b=>{const v=b.component;Ib(v.m),Ib(v.a),c(b,f,null,1,a),ar(()=>{v.da&&zu(v.da);const y=b.props&&b.props.onVnodeUnmounted;y&&co(y,v.parent,b),v.isDeactivated=!0},a)};function h(b){wv(b),u(b,n,a,!0)}function p(b){o.forEach((v,y)=>{const w=D1(v.type);w&&!b(w)&&m(y)})}function m(b){const v=o.get(b);v&&(!s||!xi(v,s))?h(v):s&&wv(s),o.delete(b),i.delete(b)}We(()=>[e.include,e.exclude],([b,v])=>{b&&p(y=>Ff(b,y)),v&&p(y=>!Ff(v,y))},{flush:"post",deep:!0});let O=null;const g=()=>{O!=null&&(Lb(n.subTree.type)?ar(()=>{o.set(O,Bm(n.subTree))},n.subTree.suspense):o.set(O,Bm(n.subTree)))};return Zo(g),f8(g),Cs(()=>{o.forEach(b=>{const{subTree:v,suspense:y}=n,w=Bm(v);if(b.type===w.type&&b.key===w.key){wv(w);const S=w.component.da;S&&ar(S,y);return}h(b)})}),()=>{if(O=null,!t.default)return s=null;const b=t.default(),v=b[0];if(b.length>1)return s=null,b;if(!Ac(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return s=null,v;let y=Bm(v);if(y.type===Zn)return s=null,y;const w=y.type,S=D1(fl(y)?y.type.__asyncResolved||{}:w),{include:_,exclude:T,max:A}=e;if(_&&(!S||!Ff(_,S))||T&&S&&Ff(T,S))return y.shapeFlag&=-257,s=y,v;const C=y.key==null?w:y.key,$=o.get(C);return y.el&&(y=Li(y),v.shapeFlag&128&&(v.ssContent=y)),O=C,$?(y.el=$.el,y.component=$.component,y.transition&&Ju(y,y.transition),y.shapeFlag|=512,i.delete(C),i.add(C)):(i.add(C),A&&i.size>parseInt(A,10)&&m(i.values().next().value)),y.shapeFlag|=256,s=y,Lb(v.type)?v:y}}},mU=pU;function Ff(e,t){return Fe(e)?e.some(n=>Ff(n,t)):pn(e)?e.split(",").includes(t):dq(e)?(e.lastIndex=0,e.test(t)):!1}function o2(e,t){u8(e,"a",t)}function i2(e,t){u8(e,"da",t)}function u8(e,t,n=Vn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($O(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ip(o.parent.vnode)&&gU(r,t,n,o),o=o.parent}}function gU(e,t,n,r){const o=$O(t,e,r,!0);qc(()=>{Fx(r[t],o)},n)}function wv(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bm(e){return e.shapeFlag&128?e.ssContent:e}function $O(e,t,n=Vn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Pl();const a=Lp(n),l=Ri(t,n,e,s);return a(),Al(),l});return r?o.unshift(i):o.push(i),i}}const wa=e=>(t,n=Vn)=>{(!nd||e==="sp")&&$O(e,(...r)=>t(...r),n)},d8=wa("bm"),Zo=wa("m"),bU=wa("bu"),f8=wa("u"),Cs=wa("bum"),qc=wa("um"),OU=wa("sp"),yU=wa("rtg"),vU=wa("rtc");function h8(e,t=Vn){$O("ec",e,t)}const s2="components",wU="directives";function Bh(e,t){return a2(s2,e,!0,t)||e}const p8=Symbol.for("v-ndc");function Ii(e){return pn(e)?a2(s2,e,!1)||e:e||p8}function SU(e){return a2(wU,e)}function a2(e,t,n=!0,r=!1){const o=Hn||Vn;if(o){const i=o.type;if(e===s2){const a=D1(i,!1);if(a&&(a===t||a===Uo(t)||a===_O(Uo(t))))return i}const s=$5(o[e]||i[e],t)||$5(o.appContext[e],t);return!s&&r?i:s}}function $5(e,t){return e&&(e[t]||e[Uo(t)]||e[_O(Uo(t))])}function si(e,t,n,r){let o;const i=n,s=Fe(e);if(s||pn(e)){const a=s&&vs(e);let l=!1;a&&(l=!ii(e),e=CO(e)),o=new Array(e.length);for(let c=0,u=e.length;ct(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function Ve(e,t,n={},r,o){if(Hn.ce||Hn.parent&&fl(Hn.parent)&&Hn.parent.ce)return t!=="default"&&(n.name=t),W(),Me(wt,null,[De("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),W();const s=i&&m8(i(n)),a=n.key||s&&s.key,l=Me(wt,{key:(a&&!Mi(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function m8(e){return e.some(t=>Ac(t)?!(t.type===Zn||t.type===wt&&!m8(t.children)):!0)?e:null}function _U(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Ng(r)]=e[r];return n}const A1=e=>e?Q8(e)?IO(e):A1(e.parent):null,ah=In(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=>A1(e.parent),$root:e=>A1(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>c2(e),$forceUpdate:e=>e.f||(e.f=()=>{t2(e.update)}),$nextTick:e=>e.n||(e.n=wr.bind(e.proxy)),$watch:e=>UU.bind(e)}),Sv=(e,t)=>e!==Rt&&!e.__isScriptSetup&&Nt(e,t),kU={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Sv(r,t))return s[t]=1,r[t];if(o!==Rt&&Nt(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&Nt(c,t))return s[t]=3,i[t];if(n!==Rt&&Nt(n,t))return s[t]=4,n[t];$1&&(s[t]=0)}}const u=ah[t];let d,f;if(u)return t==="$attrs"&&Cr(e.attrs,"get",""),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Rt&&Nt(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,Nt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Sv(o,t)?(o[t]=n,!0):r!==Rt&&Nt(r,t)?(r[t]=n,!0):Nt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==Rt&&Nt(e,s)||Sv(t,s)||(a=i[0])&&Nt(a,s)||Nt(r,s)||Nt(ah,s)||Nt(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Nt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function l2(){return xU().slots}function xU(){const e=Rr();return e.setupContext||(e.setupContext=z8(e))}function Mb(e){return Fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function er(e,t){return!e||!t?e||t:Fe(e)&&Fe(t)?e.concat(t):In({},Mb(e),Mb(t))}let $1=!0;function EU(e){const t=c2(e),n=e.proxy,r=e.ctx;$1=!1,t.beforeCreate&&M5(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:O,beforeDestroy:g,beforeUnmount:b,destroyed:v,unmounted:y,render:w,renderTracked:S,renderTriggered:_,errorCaptured:T,serverPrefetch:A,expose:C,inheritAttrs:$,components:E,directives:Q,filters:X}=t;if(c&&TU(c,r,null),s)for(const ee in s){const te=s[ee];Xe(te)&&(r[ee]=te.bind(n))}if(o){const ee=o.call(n,n);Ut(ee)&&(e.data=Kn(ee))}if($1=!0,i)for(const ee in i){const te=i[ee],ye=Xe(te)?te.bind(n,n):Xe(te.get)?te.get.bind(n,n):ys,ve=!Xe(te)&&Xe(te.set)?te.set.bind(n):ys,pe=q({get:ye,set:ve});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>pe.value,set:de=>pe.value=de})}if(a)for(const ee in a)g8(a[ee],r,n,ee);if(l){const ee=Xe(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(te=>{Ft(te,ee[te])})}u&&M5(u,e,"c");function B(ee,te){Fe(te)?te.forEach(ye=>ee(ye.bind(n))):te&&ee(te.bind(n))}if(B(d8,d),B(Zo,f),B(bU,h),B(f8,p),B(o2,m),B(i2,O),B(h8,T),B(vU,S),B(yU,_),B(Cs,b),B(qc,y),B(OU,A),Fe(C))if(C.length){const ee=e.exposed||(e.exposed={});C.forEach(te=>{Object.defineProperty(ee,te,{get:()=>n[te],set:ye=>n[te]=ye})})}else e.exposed||(e.exposed={});w&&e.render===ys&&(e.render=w),$!=null&&(e.inheritAttrs=$),E&&(e.components=E),Q&&(e.directives=Q),A&&n2(e)}function TU(e,t,n=ys){Fe(e)&&(e=M1(e));for(const r in e){const o=e[r];let i;Ut(o)?"default"in o?i=qe(o.from||r,o.default,!0):i=qe(o.from||r):i=qe(o),Jt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function M5(e,t,n){Ri(Fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function g8(e,t,n,r){let o=r.includes(".")?A8(n,r):()=>n[r];if(pn(e)){const i=t[e];Xe(i)&&We(o,i)}else if(Xe(e))We(o,e.bind(n));else if(Ut(e))if(Fe(e))e.forEach(i=>g8(i,t,n,r));else{const i=Xe(e.handler)?e.handler.bind(n):t[e.handler];Xe(i)&&We(o,i,e)}}function c2(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Rb(l,c,s,!0)),Rb(l,t,s)),Ut(t)&&i.set(t,l),l}function Rb(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Rb(e,i,n,!0),o&&o.forEach(s=>Rb(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=CU[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const CU={data:R5,props:I5,emits:I5,methods:qf,computed:qf,beforeCreate:jr,created:jr,beforeMount:jr,mounted:jr,beforeUpdate:jr,updated:jr,beforeDestroy:jr,beforeUnmount:jr,destroyed:jr,unmounted:jr,activated:jr,deactivated:jr,errorCaptured:jr,serverPrefetch:jr,components:qf,directives:qf,watch:AU,provide:R5,inject:PU};function R5(e,t){return t?e?function(){return In(Xe(e)?e.call(this,this):e,Xe(t)?t.call(this,this):t)}:t:e}function PU(e,t){return qf(M1(e),M1(t))}function M1(e){if(Fe(e)){const t={};for(let n=0;n1)return n&&Xe(t)?t.call(r&&r.proxy):t}}function u2(){return!!(Vn||Hn||wc)}const O8={},y8=()=>Object.create(O8),v8=e=>Object.getPrototypeOf(e)===O8;function RU(e,t,n,r=!1){const o={},i=y8();e.propsDefaults=Object.create(null),w8(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:ps(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function IU(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=kt(o),[l]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=S8(d,t,!0);In(s,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Ut(e)&&r.set(e,Du),Du;if(Fe(i))for(let u=0;ue[0]==="_"||e==="$stable",d2=e=>Fe(e)?e.map(Ro):[Ro(e)],NU=(e,t,n)=>{if(t._n)return t;const r=Ne((...o)=>d2(t(...o)),n);return r._c=!1,r},k8=(e,t,n)=>{const r=e._ctx;for(const o in e){if(_8(o))continue;const i=e[o];if(Xe(i))t[o]=NU(o,i,r);else if(i!=null){const s=d2(i);t[o]=()=>s}}},x8=(e,t)=>{const n=d2(t);e.slots.default=()=>n},E8=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},DU=(e,t,n)=>{const r=e.slots=y8();if(e.vnode.shapeFlag&32){const o=t._;o?(E8(r,t,n),n&&A4(r,"_",o,!0)):k8(t,r)}else t&&x8(e,t)},QU=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=Rt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:E8(o,t,n):(i=!t.$stable,k8(t,o)),s=t}else t&&(x8(e,t),s={default:1});if(i)for(const a in o)!_8(a)&&s[a]==null&&delete o[a]},ar=I8;function BU(e){return T8(e)}function zU(e){return T8(e,dU)}function T8(e,t){const n=kO();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=ys,insertStaticContent:p}=e,m=(I,R,Z,ie=null,re=null,k=null,x=void 0,M=null,z=!!R.dynamicChildren)=>{if(I===R)return;I&&!xi(I,R)&&(ie=J(I),de(I,re,k,!0),I=null),R.patchFlag===-2&&(z=!1,R.dynamicChildren=null);const{type:L,ref:j,shapeFlag:N}=R;switch(L){case ra:O(I,R,Z,ie);break;case Zn:g(I,R,Z,ie);break;case lh:I==null&&b(R,Z,ie,x);break;case wt:E(I,R,Z,ie,re,k,x,M,z);break;default:N&1?w(I,R,Z,ie,re,k,x,M,z):N&6?Q(I,R,Z,ie,re,k,x,M,z):(N&64||N&128)&&L.process(I,R,Z,ie,re,k,x,M,z,he)}j!=null&&re&&$b(j,I&&I.ref,k,R||I,!R)},O=(I,R,Z,ie)=>{if(I==null)r(R.el=a(R.children),Z,ie);else{const re=R.el=I.el;R.children!==I.children&&c(re,R.children)}},g=(I,R,Z,ie)=>{I==null?r(R.el=l(R.children||""),Z,ie):R.el=I.el},b=(I,R,Z,ie)=>{[I.el,I.anchor]=p(I.children,R,Z,ie,I.el,I.anchor)},v=({el:I,anchor:R},Z,ie)=>{let re;for(;I&&I!==R;)re=f(I),r(I,Z,ie),I=re;r(R,Z,ie)},y=({el:I,anchor:R})=>{let Z;for(;I&&I!==R;)Z=f(I),o(I),I=Z;o(R)},w=(I,R,Z,ie,re,k,x,M,z)=>{R.type==="svg"?x="svg":R.type==="math"&&(x="mathml"),I==null?S(R,Z,ie,re,k,x,M,z):A(I,R,re,k,x,M,z)},S=(I,R,Z,ie,re,k,x,M)=>{let z,L;const{props:j,shapeFlag:N,transition:K,dirs:we}=I;if(z=I.el=s(I.type,k,j&&j.is,j),N&8?u(z,I.children):N&16&&T(I.children,z,null,ie,re,_v(I,k),x,M),we&&as(I,null,ie,"created"),_(z,I,I.scopeId,x,ie),j){for(const He in j)He!=="value"&&!Bu(He)&&i(z,He,null,j[He],k,ie);"value"in j&&i(z,"value",null,j.value,k),(L=j.onVnodeBeforeMount)&&co(L,ie,I)}we&&as(I,null,ie,"beforeMount");const Ie=C8(re,K);Ie&&K.beforeEnter(z),r(z,R,Z),((L=j&&j.onVnodeMounted)||Ie||we)&&ar(()=>{L&&co(L,ie,I),Ie&&K.enter(z),we&&as(I,null,ie,"mounted")},re)},_=(I,R,Z,ie,re)=>{if(Z&&h(I,Z),ie)for(let k=0;k{for(let L=z;L{const M=R.el=I.el;let{patchFlag:z,dynamicChildren:L,dirs:j}=R;z|=I.patchFlag&16;const N=I.props||Rt,K=R.props||Rt;let we;if(Z&&Zl(Z,!1),(we=K.onVnodeBeforeUpdate)&&co(we,Z,R,I),j&&as(R,I,Z,"beforeUpdate"),Z&&Zl(Z,!0),(N.innerHTML&&K.innerHTML==null||N.textContent&&K.textContent==null)&&u(M,""),L?C(I.dynamicChildren,L,M,Z,ie,_v(R,re),k):x||te(I,R,M,null,Z,ie,_v(R,re),k,!1),z>0){if(z&16)$(M,N,K,Z,re);else if(z&2&&N.class!==K.class&&i(M,"class",null,K.class,re),z&4&&i(M,"style",N.style,K.style,re),z&8){const Ie=R.dynamicProps;for(let He=0;He{we&&co(we,Z,R,I),j&&as(R,I,Z,"updated")},ie)},C=(I,R,Z,ie,re,k,x)=>{for(let M=0;M{if(R!==Z){if(R!==Rt)for(const k in R)!Bu(k)&&!(k in Z)&&i(I,k,R[k],null,re,ie);for(const k in Z){if(Bu(k))continue;const x=Z[k],M=R[k];x!==M&&k!=="value"&&i(I,k,M,x,re,ie)}"value"in Z&&i(I,"value",R.value,Z.value,re)}},E=(I,R,Z,ie,re,k,x,M,z)=>{const L=R.el=I?I.el:a(""),j=R.anchor=I?I.anchor:a("");let{patchFlag:N,dynamicChildren:K,slotScopeIds:we}=R;we&&(M=M?M.concat(we):we),I==null?(r(L,Z,ie),r(j,Z,ie),T(R.children||[],Z,j,re,k,x,M,z)):N>0&&N&64&&K&&I.dynamicChildren?(C(I.dynamicChildren,K,Z,re,k,x,M),(R.key!=null||re&&R===re.subTree)&&f2(I,R,!0)):te(I,R,Z,j,re,k,x,M,z)},Q=(I,R,Z,ie,re,k,x,M,z)=>{R.slotScopeIds=M,I==null?R.shapeFlag&512?re.ctx.activate(R,Z,ie,x,z):X(R,Z,ie,re,k,x,z):Y(I,R,z)},X=(I,R,Z,ie,re,k,x)=>{const M=I.component=aZ(I,ie,re);if(Ip(I)&&(M.ctx.renderer=he),lZ(M,!1,x),M.asyncDep){if(re&&re.registerDep(M,B,x),!I.el){const z=M.subTree=De(Zn);g(null,z,R,Z)}}else B(M,I,R,Z,re,k,x)},Y=(I,R,Z)=>{const ie=R.component=I.component;if(YU(I,R,Z))if(ie.asyncDep&&!ie.asyncResolved){ee(ie,R,Z);return}else ie.next=R,ie.update();else R.el=I.el,ie.vnode=R},B=(I,R,Z,ie,re,k,x)=>{const M=()=>{if(I.isMounted){let{next:N,bu:K,u:we,parent:Ie,vnode:He}=I;{const Qr=P8(I);if(Qr){N&&(N.el=He.el,ee(I,N,x)),Qr.asyncDep.then(()=>{I.isUnmounted||M()});return}}let ht=N,tn;Zl(I,!1),N?(N.el=He.el,ee(I,N,x)):N=He,K&&zu(K),(tn=N.props&&N.props.onVnodeBeforeUpdate)&&co(tn,Ie,N,He),Zl(I,!0);const Pn=kv(I),Dr=I.subTree;I.subTree=Pn,m(Dr,Pn,d(Dr.el),J(Dr),I,re,k),N.el=Pn.el,ht===null&&p2(I,Pn.el),we&&ar(we,re),(tn=N.props&&N.props.onVnodeUpdated)&&ar(()=>co(tn,Ie,N,He),re)}else{let N;const{el:K,props:we}=R,{bm:Ie,m:He,parent:ht,root:tn,type:Pn}=I,Dr=fl(R);if(Zl(I,!1),Ie&&zu(Ie),!Dr&&(N=we&&we.onVnodeBeforeMount)&&co(N,ht,R),Zl(I,!0),K&&ze){const Qr=()=>{I.subTree=kv(I),ze(K,I.subTree,I,re,null)};Dr&&Pn.__asyncHydrate?Pn.__asyncHydrate(K,I,Qr):Qr()}else{tn.ce&&tn.ce._injectChildStyle(Pn);const Qr=I.subTree=kv(I);m(null,Qr,Z,ie,I,re,k),R.el=Qr.el}if(He&&ar(He,re),!Dr&&(N=we&&we.onVnodeMounted)){const Qr=R;ar(()=>co(N,ht,Qr),re)}(R.shapeFlag&256||ht&&fl(ht.vnode)&&ht.vnode.shapeFlag&256)&&I.a&&ar(I.a,re),I.isMounted=!0,R=Z=ie=null}};I.scope.on();const z=I.effect=new N4(M);I.scope.off();const L=I.update=z.run.bind(z),j=I.job=z.runIfDirty.bind(z);j.i=I,j.id=I.uid,z.scheduler=()=>t2(j),Zl(I,!0),L()},ee=(I,R,Z)=>{R.component=I;const ie=I.vnode.props;I.vnode=R,I.next=null,IU(I,R.props,ie,Z),QU(I,R.children,Z),Pl(),x5(I),Al()},te=(I,R,Z,ie,re,k,x,M,z=!1)=>{const L=I&&I.children,j=I?I.shapeFlag:0,N=R.children,{patchFlag:K,shapeFlag:we}=R;if(K>0){if(K&128){ve(L,N,Z,ie,re,k,x,M,z);return}else if(K&256){ye(L,N,Z,ie,re,k,x,M,z);return}}we&8?(j&16&&ne(L,re,k),N!==L&&u(Z,N)):j&16?we&16?ve(L,N,Z,ie,re,k,x,M,z):ne(L,re,k,!0):(j&8&&u(Z,""),we&16&&T(N,Z,ie,re,k,x,M,z))},ye=(I,R,Z,ie,re,k,x,M,z)=>{I=I||Du,R=R||Du;const L=I.length,j=R.length,N=Math.min(L,j);let K;for(K=0;Kj?ne(I,re,k,!0,!1,N):T(R,Z,ie,re,k,x,M,z,N)},ve=(I,R,Z,ie,re,k,x,M,z)=>{let L=0;const j=R.length;let N=I.length-1,K=j-1;for(;L<=N&&L<=K;){const we=I[L],Ie=R[L]=z?Fa(R[L]):Ro(R[L]);if(xi(we,Ie))m(we,Ie,Z,null,re,k,x,M,z);else break;L++}for(;L<=N&&L<=K;){const we=I[N],Ie=R[K]=z?Fa(R[K]):Ro(R[K]);if(xi(we,Ie))m(we,Ie,Z,null,re,k,x,M,z);else break;N--,K--}if(L>N){if(L<=K){const we=K+1,Ie=weK)for(;L<=N;)de(I[L],re,k,!0),L++;else{const we=L,Ie=L,He=new Map;for(L=Ie;L<=K;L++){const rr=R[L]=z?Fa(R[L]):Ro(R[L]);rr.key!=null&&He.set(rr.key,L)}let ht,tn=0;const Pn=K-Ie+1;let Dr=!1,Qr=0;const Fl=new Array(Pn);for(L=0;L=Pn){de(rr,re,k,!0);continue}let Vo;if(rr.key!=null)Vo=He.get(rr.key);else for(ht=Ie;ht<=K;ht++)if(Fl[ht-Ie]===0&&xi(rr,R[ht])){Vo=ht;break}Vo===void 0?de(rr,re,k,!0):(Fl[Vo-Ie]=L+1,Vo>=Qr?Qr=Vo:Dr=!0,m(rr,R[Vo],Z,null,re,k,x,M,z),tn++)}const Yi=Dr?jU(Fl):Du;for(ht=Yi.length-1,L=Pn-1;L>=0;L--){const rr=Ie+L,Vo=R[rr],ff=rr+1{const{el:k,type:x,transition:M,children:z,shapeFlag:L}=I;if(L&6){pe(I.component.subTree,R,Z,ie);return}if(L&128){I.suspense.move(R,Z,ie);return}if(L&64){x.move(I,R,Z,he);return}if(x===wt){r(k,R,Z);for(let N=0;NM.enter(k),re);else{const{leave:N,delayLeave:K,afterLeave:we}=M,Ie=()=>r(k,R,Z),He=()=>{N(k,()=>{Ie(),we&&we()})};K?K(k,Ie,He):He()}else r(k,R,Z)},de=(I,R,Z,ie=!1,re=!1)=>{const{type:k,props:x,ref:M,children:z,dynamicChildren:L,shapeFlag:j,patchFlag:N,dirs:K,cacheIndex:we}=I;if(N===-2&&(re=!1),M!=null&&$b(M,null,Z,I,!0),we!=null&&(R.renderCache[we]=void 0),j&256){R.ctx.deactivate(I);return}const Ie=j&1&&K,He=!fl(I);let ht;if(He&&(ht=x&&x.onVnodeBeforeUnmount)&&co(ht,R,I),j&6)Ee(I.component,Z,ie);else{if(j&128){I.suspense.unmount(Z,ie);return}Ie&&as(I,null,R,"beforeUnmount"),j&64?I.type.remove(I,R,Z,he,ie):L&&!L.hasOnce&&(k!==wt||N>0&&N&64)?ne(L,R,Z,!1,!0):(k===wt&&N&384||!re&&j&16)&&ne(z,R,Z),ie&&V(I)}(He&&(ht=x&&x.onVnodeUnmounted)||Ie)&&ar(()=>{ht&&co(ht,R,I),Ie&&as(I,null,R,"unmounted")},Z)},V=I=>{const{type:R,el:Z,anchor:ie,transition:re}=I;if(R===wt){ue(Z,ie);return}if(R===lh){y(I);return}const k=()=>{o(Z),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(I.shapeFlag&1&&re&&!re.persisted){const{leave:x,delayLeave:M}=re,z=()=>x(Z,k);M?M(I.el,k,z):z()}else k()},ue=(I,R)=>{let Z;for(;I!==R;)Z=f(I),o(I),I=Z;o(R)},Ee=(I,R,Z)=>{const{bum:ie,scope:re,job:k,subTree:x,um:M,m:z,a:L}=I;Ib(z),Ib(L),ie&&zu(ie),re.stop(),k&&(k.flags|=8,de(x,I,R,Z)),M&&ar(M,R),ar(()=>{I.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},ne=(I,R,Z,ie=!1,re=!1,k=0)=>{for(let x=k;x{if(I.shapeFlag&6)return J(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const R=f(I.anchor||I.el),Z=R&&R[n8];return Z?f(Z):R};let me=!1;const fe=(I,R,Z)=>{I==null?R._vnode&&de(R._vnode,null,null,!0):m(R._vnode||null,I,R,null,null,null,Z),R._vnode=I,me||(me=!0,x5(),Pb(),me=!1)},he={p:m,um:de,m:pe,r:V,mt:X,mc:T,pc:te,pbc:C,n:J,o:e};let Te,ze;return t&&([Te,ze]=t(he)),{render:fe,hydrate:Te,createApp:MU(fe,Te)}}function _v({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Zl({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function C8(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function f2(e,t,n=!1){const r=e.children,o=t.children;if(Fe(r)&&Fe(o))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function P8(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:P8(t)}function Ib(e){if(e)for(let t=0;tqe(WU);function h2(e,t){return MO(e,null,t)}function qU(e,t){return MO(e,null,{flush:"sync"})}function We(e,t,n){return MO(e,t,n)}function MO(e,t,n=Rt){const{immediate:r,deep:o,flush:i,once:s}=n,a=In({},n),l=t&&r||!t&&i!=="post";let c;if(nd){if(i==="sync"){const h=FU();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=ys,h.resume=ys,h.pause=ys,h}}const u=Vn;a.call=(h,p,m)=>Ri(h,u,p,m);let d=!1;i==="post"?a.scheduler=h=>{ar(h,u&&u.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(h,p)=>{p?h():t2(h)}),a.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=Yq(e,t,a);return nd&&(c?c.push(f):l&&f()),f}function UU(e,t,n){const r=this.proxy,o=pn(e)?e.includes(".")?A8(r,e):()=>r[e]:e.bind(r,r);let i;Xe(t)?i=t:(i=t.handler,n=t);const s=Lp(this),a=MO(o,i.bind(r),n);return s(),a}function A8(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{let u,d=Rt,f;return qU(()=>{const h=e[o];uo(u,h)&&(u=h,c())}),{get(){return l(),n.get?n.get(u):u},set(h){const p=n.set?n.set(h):h;if(!uo(p,u)&&!(d!==Rt&&uo(h,d)))return;const m=r.vnode.props;m&&(t in m||o in m||i in m)&&(`onUpdate:${t}`in m||`onUpdate:${o}`in m||`onUpdate:${i}`in m)||(u=h,c()),r.emit(`update:${t}`,p),uo(h,p)&&uo(h,d)&&!uo(p,f)&&c(),d=h,f=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||Rt:a,done:!1}:{done:!0}}}},a}const $8=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Uo(t)}Modifiers`]||e[`${va(t)}Modifiers`];function ZU(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Rt;let o=n;const i=t.startsWith("update:"),s=i&&$8(r,t.slice(7));s&&(s.trim&&(o=n.map(u=>pn(u)?u.trim():u)),s.number&&(o=n.map(xb)));let a,l=r[a=Ng(t)]||r[a=Ng(Uo(t))];!l&&i&&(l=r[a=Ng(va(t))]),l&&Ri(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ri(c,e,6,o)}}function M8(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Xe(e)){const l=c=>{const u=M8(c,t,!0);u&&(a=!0,In(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Ut(e)&&r.set(e,null),null):(Fe(i)?i.forEach(l=>s[l]=null):In(s,i),Ut(e)&&r.set(e,s),s)}function RO(e,t){return!e||!$p(t)?!1:(t=t.slice(2).replace(/Once$/,""),Nt(e,t[0].toLowerCase()+t.slice(1))||Nt(e,va(t))||Nt(e,t))}function kv(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:m}=e,O=Ab(e);let g,b;try{if(n.shapeFlag&4){const y=o||r,w=y;g=Ro(c.call(w,y,u,d,h,f,p)),b=a}else{const y=t;g=Ro(y.length>1?y(d,{attrs:a,slots:s,emit:l}):y(d,null)),b=t.props?a:XU(a)}}catch(y){ch.length=0,jd(y,e,1),g=De(Zn)}let v=g;if(b&&m!==!1){const y=Object.keys(b),{shapeFlag:w}=v;y.length&&w&7&&(i&&y.some(Wx)&&(b=HU(b,i)),v=Li(v,b,!1,!0))}return n.dirs&&(v=Li(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Ju(v,n.transition),g=v,Ab(O),g}function VU(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||$p(n))&&((t||(t={}))[n]=e[n]);return t},HU=(e,t)=>{const n={};for(const r in e)(!Wx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function YU(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?N5(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;let I1=0;const GU={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(e==null)KU(t,n,r,o,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}JU(e,t,n,r,o,s,a,l,c)}},hydrate:eZ,normalize:tZ},m2=GU;function zh(e,t){const n=e.props&&e.props[t];Xe(n)&&n()}function KU(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=R8(e,o,r,t,d,n,i,s,a,l);c(null,f.pendingBranch=e.ssContent,d,null,r,f,i,s),f.deps>0?(zh(e,"onPending"),zh(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Wu(f,e.ssFallback)):f.resolve(!1,!0)}function JU(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:O,isHydrating:g}=d;if(m)d.pendingBranch=f,xi(f,m)?(l(m,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():O&&(g||(l(p,h,n,r,o,null,i,s,a),Wu(d,h)))):(d.pendingId=I1++,g?(d.isHydrating=!1,d.activeBranch=m):c(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),O?(l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():(l(p,h,n,r,o,null,i,s,a),Wu(d,h))):p&&xi(f,p)?(l(p,f,n,r,o,d,i,s,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0&&d.resolve()));else if(p&&xi(f,p))l(p,f,n,r,o,d,i,s,a),Wu(d,f);else if(zh(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=I1++,l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:v}=d;b>0?setTimeout(()=>{d.pendingId===v&&d.fallback(h)},b):b===0&&d.fallback(h)}}function R8(e,t,n,r,o,i,s,a,l,c,u=!1){const{p:d,m:f,um:h,n:p,o:{parentNode:m,remove:O}}=c;let g;const b=nZ(e);b&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const v=e.props?$4(e.props.timeout):void 0,y=i,w={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:I1++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,_=!1){const{vnode:T,activeBranch:A,pendingBranch:C,pendingId:$,effects:E,parentComponent:Q,container:X}=w;let Y=!1;w.isHydrating?w.isHydrating=!1:S||(Y=A&&C.transition&&C.transition.mode==="out-in",Y&&(A.transition.afterLeave=()=>{$===w.pendingId&&(f(C,X,i===y?p(A):i,0),T1(E))}),A&&(m(A.el)===X&&(i=p(A)),h(A,Q,w,!0)),Y||f(C,X,i,0)),Wu(w,C),w.pendingBranch=null,w.isInFallback=!1;let B=w.parent,ee=!1;for(;B;){if(B.pendingBranch){B.effects.push(...E),ee=!0;break}B=B.parent}!ee&&!Y&&T1(E),w.effects=[],b&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,t.deps===0&&!_&&t.resolve()),zh(T,"onResolve")},fallback(S){if(!w.pendingBranch)return;const{vnode:_,activeBranch:T,parentComponent:A,container:C,namespace:$}=w;zh(_,"onFallback");const E=p(T),Q=()=>{w.isInFallback&&(d(null,S,C,E,A,null,$,a,l),Wu(w,S))},X=S.transition&&S.transition.mode==="out-in";X&&(T.transition.afterLeave=Q),w.isInFallback=!0,h(T,A,null,!0),X||Q()},move(S,_,T){w.activeBranch&&f(w.activeBranch,S,_,T),w.container=S},next(){return w.activeBranch&&p(w.activeBranch)},registerDep(S,_,T){const A=!!w.pendingBranch;A&&w.deps++;const C=S.vnode.el;S.asyncDep.catch($=>{jd($,S,0)}).then($=>{if(S.isUnmounted||w.isUnmounted||w.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:E}=S;N1(S,$,!1),C&&(E.el=C);const Q=!C&&S.subTree.el;_(S,E,m(C||S.subTree.el),C?null:p(S.subTree),w,s,T),Q&&O(Q),p2(S,E.el),A&&--w.deps===0&&w.resolve()})},unmount(S,_){w.isUnmounted=!0,w.activeBranch&&h(w.activeBranch,n,S,_),w.pendingBranch&&h(w.pendingBranch,n,S,_)}};return w}function eZ(e,t,n,r,o,i,s,a,l){const c=t.suspense=R8(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function tZ(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=D5(r?n.default:n),e.ssFallback=r?D5(n.fallback):De(Zn)}function D5(e){let t;if(Xe(e)){const n=td&&e._c;n&&(e._d=!1,W()),e=e(),n&&(e._d=!0,t=po,L8())}return Fe(e)&&(e=VU(e)),e=Ro(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function I8(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):T1(e)}function Wu(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,p2(r,o))}function nZ(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const wt=Symbol.for("v-fgt"),ra=Symbol.for("v-txt"),Zn=Symbol.for("v-cmt"),lh=Symbol.for("v-stc"),ch=[];let po=null;function W(e=!1){ch.push(po=e?null:[])}function L8(){ch.pop(),po=ch[ch.length-1]||null}let td=1;function Q5(e){td+=e,e<0&&po&&(po.hasOnce=!0)}function N8(e){return e.dynamicChildren=td>0?po||Du:null,L8(),td>0&&po&&po.push(e),e}function oe(e,t,n,r,o,i){return N8(Oe(e,t,n,r,o,i,!0))}function Me(e,t,n,r,o){return N8(De(e,t,n,r,o,!0))}function Ac(e){return e?e.__v_isVNode===!0:!1}function xi(e,t){return e.type===t.type&&e.key===t.key}const D8=({key:e})=>e??null,Qg=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pn(e)||Jt(e)||Xe(e)?{i:Hn,r:e,k:t,f:!!n}:e:null);function Oe(e,t=null,n=null,r=0,o=null,i=e===wt?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&D8(t),ref:t&&Qg(t),scopeId:AO,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Hn};return a?(g2(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=pn(n)?8:16),td>0&&!s&&po&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&po.push(l),l}const De=rZ;function rZ(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===p8)&&(e=Zn),Ac(e)){const a=Li(e,t,!0);return n&&g2(a,n),td>0&&!i&&po&&(a.shapeFlag&6?po[po.indexOf(e)]=a:po.push(a)),a.patchFlag=-2,a}if(dZ(e)&&(e=e.__vccOpts),t){t=Jr(t);let{class:a,style:l}=t;a&&!pn(a)&&(t.class=it(a)),Ut(l)&&(Kx(l)&&!Fe(l)&&(l=In({},l)),t.style=ro(l))}const s=pn(e)?1:Lb(e)?128:r8(e)?64:Ut(e)?4:Xe(e)?2:0;return Oe(e,t,n,r,o,s,i,!0)}function Jr(e){return e?Kx(e)||v8(e)?In({},e):e:null}function Li(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?Ce(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&D8(c),ref:t&&t.ref?n&&i?Fe(i)?i.concat(Qg(t)):[i,Qg(t)]:Qg(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Li(e.ssContent),ssFallback:e.ssFallback&&Li(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ju(u,l.clone(u)),u}function Dn(e=" ",t=0){return De(ra,null,e,t)}function oZ(e,t){const n=De(lh,null,e);return n.staticCount=t,n}function xe(e="",t=!1){return t?(W(),Me(Zn,null,e)):De(Zn,null,e)}function Ro(e){return e==null||typeof e=="boolean"?De(Zn):Fe(e)?De(wt,null,e.slice()):Ac(e)?Fa(e):De(ra,null,String(e))}function Fa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Li(e)}function g2(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),g2(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!v8(t)?t._ctx=Hn:o===3&&Hn&&(Hn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Xe(t)?(t={default:t,_ctx:Hn},n=32):(t=String(t),r&64?(n=16,t=[Dn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ce(...e){const t={};for(let n=0;nVn||Hn;let Nb,L1;{const e=kO(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Nb=t("__VUE_INSTANCE_SETTERS__",n=>Vn=n),L1=t("__VUE_SSR_SETTERS__",n=>nd=n)}const Lp=e=>{const t=Vn;return Nb(e),e.scope.on(),()=>{e.scope.off(),Nb(t)}},B5=()=>{Vn&&Vn.scope.off(),Nb(null)};function Q8(e){return e.vnode.shapeFlag&4}let nd=!1;function lZ(e,t=!1,n=!1){t&&L1(t);const{props:r,children:o}=e.vnode,i=Q8(e);RU(e,r,i,t),DU(e,o,n);const s=i?cZ(e,t):void 0;return t&&L1(!1),s}function cZ(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kU);const{setup:r}=n;if(r){Pl();const o=e.setupContext=r.length>1?z8(e):null,i=Lp(e),s=Rp(r,e,0,[e.props,o]),a=T4(s);if(Al(),i(),(a||e.sp)&&!fl(e)&&n2(e),a){if(s.then(B5,B5),t)return s.then(l=>{N1(e,l,t)}).catch(l=>{jd(l,e,0)});e.asyncDep=s}else N1(e,s,t)}else B8(e,t)}function N1(e,t,n){Xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ut(t)&&(e.setupState=G4(t)),B8(e,n)}let z5;function B8(e,t,n){const r=e.type;if(!e.render){if(!t&&z5&&!r.render){const o=r.template||c2(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=In(In({isCustomElement:i,delimiters:a},s),l);r.render=z5(o,c)}}e.render=r.render||ys}{const o=Lp(e);Pl();try{EU(e)}finally{Al(),o()}}}const uZ={get(e,t){return Cr(e,"get",""),e[t]}};function z8(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,uZ),slots:e.slots,emit:e.emit,expose:t}}function IO(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(G4(PO(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ah)return ah[n](e)},has(t,n){return n in t||n in ah}})):e.proxy}function D1(e,t=!0){return Xe(e)?e.displayName||e.name:e.name||t&&e.__name}function dZ(e){return Xe(e)&&"__vccOpts"in e}const q=(e,t)=>Xq(e,t,nd);function Dt(e,t,n){const r=arguments.length;return r===2?Ut(t)&&!Fe(t)?Ac(t)?De(e,null,[t]):De(e,t):De(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ac(n)&&(n=[n]),De(e,t,n))}const j8="3.5.12";/** * @vue/runtime-dom v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Q1;const j5=typeof window<"u"&&window.trustedTypes;if(j5)try{Q1=j5.createPolicy("vue",{createHTML:e=>e})}catch{}const W8=Q1?e=>Q1.createHTML(e):e=>e,fZ="http://www.w3.org/2000/svg",hZ="http://www.w3.org/1998/Math/MathML",Ws=typeof document<"u"?document:null,W5=Ws&&Ws.createElement("template"),pZ={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ws.createElementNS(fZ,e):t==="mathml"?Ws.createElementNS(hZ,e):n?Ws.createElement(e,{is:n}):Ws.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ws.createTextNode(e),createComment:e=>Ws.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ws.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{W5.innerHTML=W8(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=W5.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Aa="transition",bf="animation",jh=Symbol("_vtc"),F8={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},mZ=In({},i8,F8),gZ=e=>(e.displayName="Transition",e.props=mZ,e),rd=gZ((e,{slots:t})=>Dt(lU,bZ(e),t)),Vl=(e,t=[])=>{Fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},F5=e=>e?Fe(e)?e.some(t=>t.length>1):e.length>1:!1;function bZ(e){const t={};for(const E in e)E in F8||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=OZ(o),m=p&&p[0],O=p&&p[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:v,onLeave:y,onLeaveCancelled:w,onBeforeAppear:S=g,onAppear:_=b,onAppearCancelled:T=v}=t,A=(E,Q,X)=>{Xl(E,Q?u:a),Xl(E,Q?c:s),X&&X()},C=(E,Q)=>{E._isLeaving=!1,Xl(E,d),Xl(E,h),Xl(E,f),Q&&Q()},$=E=>(Q,X)=>{const Y=E?_:b,B=()=>A(Q,E,X);Vl(Y,[Q,B]),q5(()=>{Xl(Q,E?l:i),$a(Q,E?u:a),F5(Y)||U5(Q,r,m,B)})};return In(t,{onBeforeEnter(E){Vl(g,[E]),$a(E,i),$a(E,s)},onBeforeAppear(E){Vl(S,[E]),$a(E,l),$a(E,c)},onEnter:$(!1),onAppear:$(!0),onLeave(E,Q){E._isLeaving=!0;const X=()=>C(E,Q);$a(E,d),$a(E,f),wZ(),q5(()=>{E._isLeaving&&(Xl(E,d),$a(E,h),F5(y)||U5(E,r,O,X))}),Vl(y,[E,X])},onEnterCancelled(E){A(E,!1),Vl(v,[E])},onAppearCancelled(E){A(E,!0),Vl(T,[E])},onLeaveCancelled(E){C(E),Vl(w,[E])}})}function OZ(e){if(e==null)return null;if(Ut(e))return[xv(e.enter),xv(e.leave)];{const t=xv(e);return[t,t]}}function xv(e){return $4(e)}function $a(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[jh]||(e[jh]=new Set)).add(t)}function Xl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[jh];n&&(n.delete(t),n.size||(e[jh]=void 0))}function q5(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let yZ=0;function U5(e,t,n,r){const o=e._endId=++yZ,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=vZ(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[p]||"").split(", "),o=r(`${Aa}Delay`),i=r(`${Aa}Duration`),s=Z5(o,i),a=r(`${bf}Delay`),l=r(`${bf}Duration`),c=Z5(a,l);let u=null,d=0,f=0;t===Aa?s>0&&(u=Aa,d=s,f=i.length):t===bf?c>0&&(u=bf,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Aa:bf:null,f=u?u===Aa?i.length:l.length:0);const h=u===Aa&&/\b(transform|all)(,|$)/.test(r(`${Aa}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Z5(e,t){for(;e.lengthV5(n)+V5(e[r])))}function V5(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wZ(){return document.body.offsetHeight}function SZ(e,t,n){const r=e[jh];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Db=Symbol("_vod"),q8=Symbol("_vsh"),B1={beforeMount(e,{value:t},{transition:n}){e[Db]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Of(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Of(e,!0),r.enter(e)):r.leave(e,()=>{Of(e,!1)}):Of(e,t))},beforeUnmount(e,{value:t}){Of(e,t)}};function Of(e,t){e.style.display=t?e[Db]:"none",e[q8]=!t}const _Z=Symbol(""),kZ=/(^|;)\s*display\s*:/;function xZ(e,t,n){const r=e.style,o=pn(n);let i=!1;if(n&&!o){if(t)if(pn(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Bg(r,a,"")}else for(const s in t)n[s]==null&&Bg(r,s,"");for(const s in n)s==="display"&&(i=!0),Bg(r,s,n[s])}else if(o){if(t!==n){const s=r[_Z];s&&(n+=";"+s),r.cssText=n,i=kZ.test(n)}}else t&&e.removeAttribute("style");Db in e&&(e[Db]=i?r.display:"",e[q8]&&(r.display="none"))}const X5=/\s*!important$/;function Bg(e,t,n){if(Fe(n))n.forEach(r=>Bg(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=EZ(e,t);X5.test(n)?e.setProperty(va(r),n.replace(X5,""),"important"):e[r]=n}}const H5=["Webkit","Moz","ms"],Ev={};function EZ(e,t){const n=Ev[t];if(n)return n;let r=Uo(t);if(r!=="filter"&&r in e)return Ev[t]=r;r=_O(r);for(let o=0;oTv||(AZ.then(()=>Tv=0),Tv=Date.now());function MZ(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ri(RZ(r,n.value),t,5,[r])};return n.value=e,n.attached=$Z(),n}function RZ(e,t){if(Fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const tC=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,IZ=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?SZ(e,r,s):t==="style"?xZ(e,n,r):$p(t)?Wx(t)||CZ(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):LZ(e,t,r,s))?(K5(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&G5(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pn(r))?K5(e,Uo(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),G5(e,t,r,s))};function LZ(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&tC(t)&&Xe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return tC(t)&&pn(n)?!1:t in e}const Ol=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Fe(t)?n=>zu(t,n):t};function NZ(e){e.target.composing=!0}function nC(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ai=Symbol("_assign"),z1={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[ai]=Ol(o);const i=r||o.props&&o.props.type==="number";Hs(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=xb(a)),e[ai](a)}),n&&Hs(e,"change",()=>{e.value=e.value.trim()}),t||(Hs(e,"compositionstart",NZ),Hs(e,"compositionend",nC),Hs(e,"change",nC))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[ai]=Ol(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?xb(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},DZ={deep:!0,created(e,t,n){e[ai]=Ol(n),Hs(e,"change",()=>{const r=e._modelValue,o=od(e),i=e.checked,s=e[ai];if(Fe(r)){const a=Ux(r,o),l=a!==-1;if(i&&!l)s(r.concat(o));else if(!i&&l){const c=[...r];c.splice(a,1),s(c)}}else if(Bd(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(U8(e,i))})},mounted:rC,beforeUpdate(e,t,n){e[ai]=Ol(n),rC(e,t,n)}};function rC(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Fe(t))o=Ux(t,r.props.value)>-1;else if(Bd(t))o=t.has(r.props.value);else{if(t===n)return;o=Pc(t,U8(e,!0))}e.checked!==o&&(e.checked=o)}const QZ={created(e,{value:t},n){e.checked=Pc(t,n.props.value),e[ai]=Ol(n),Hs(e,"change",()=>{e[ai](od(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ai]=Ol(r),t!==n&&(e.checked=Pc(t,r.props.value))}},BZ={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Bd(t);Hs(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?xb(od(s)):od(s));e[ai](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,wr(()=>{e._assigning=!1})}),e[ai]=Ol(r)},mounted(e,{value:t}){oC(e,t)},beforeUpdate(e,t,n){e[ai]=Ol(n)},updated(e,{value:t}){e._assigning||oC(e,t)}};function oC(e,t){const n=e.multiple,r=Fe(t);if(!(n&&!r&&!Bd(t))){for(let o=0,i=e.options.length;oString(c)===String(a)):s.selected=Ux(t,a)>-1}else s.selected=t.has(a);else if(Pc(od(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function od(e){return"_value"in e?e._value:e.value}function U8(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const zZ={created(e,t,n){zm(e,t,n,null,"created")},mounted(e,t,n){zm(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){zm(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){zm(e,t,n,r,"updated")}};function jZ(e,t){switch(e){case"SELECT":return BZ;case"TEXTAREA":return z1;default:switch(t){case"checkbox":return DZ;case"radio":return QZ;default:return z1}}}function zm(e,t,n,r,o){const s=jZ(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}const WZ=["ctrl","shift","alt","meta"],FZ={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>WZ.some(n=>e[`${n}Key`]&&!t.includes(n))},xr=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=va(o.key);if(t.some(s=>s===i||qZ[s]===i))return e(o)})},Z8=In({patchProp:IZ},pZ);let uh,iC=!1;function UZ(){return uh||(uh=BU(Z8))}function ZZ(){return uh=iC?uh:zU(Z8),iC=!0,uh}const b2=(...e)=>{const t=UZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=X8(r);if(!o)return;const i=t._component;!Xe(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,V8(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},VZ=(...e)=>{const t=ZZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=X8(r);if(o)return n(o,!0,V8(o))},t};function V8(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function X8(e){return pn(e)?document.querySelector(e):e}const XZ=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,HZ=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,YZ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function GZ(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){KZ(e);return}return t}function KZ(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Qb(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!YZ.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(XZ.test(e)||HZ.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,GZ)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const JZ=/#/g,eV=/&/g,tV=/\//g,nV=/=/g,O2=/\+/g,rV=/%5e/gi,oV=/%60/gi,iV=/%7c/gi,sV=/%20/gi;function aV(e){return encodeURI(""+e).replace(iV,"|")}function j1(e){return aV(typeof e=="string"?e:JSON.stringify(e)).replace(O2,"%2B").replace(sV,"+").replace(JZ,"%23").replace(eV,"%26").replace(oV,"`").replace(rV,"^").replace(tV,"%2F")}function Cv(e){return j1(e).replace(nV,"%3D")}function Bb(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function lV(e){return Bb(e.replace(O2," "))}function cV(e){return Bb(e.replace(O2," "))}function H8(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=lV(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=cV(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function uV(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Cv(e)}=${j1(n)}`).join("&"):`${Cv(e)}=${j1(t)}`:Cv(e)}function dV(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>uV(t,e[t])).filter(Boolean).join("&")}const fV=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,hV=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pV=/^([/\\]\s*){2,}[^/\\]/,mV=/^[\s\0]*(blob|data|javascript|vbscript):$/i,gV=/\/$|\/\?|\/#/,bV=/^\.?\//;function Sa(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fV.test(e):hV.test(e)||(t.acceptRelative?pV.test(e):!1)}function OV(e){return!!e&&mV.test(e)}function W1(e="",t){return t?gV.test(e):e.endsWith("/")}function LO(e="",t){if(!t)return(W1(e)?e.slice(0,-1):e)||"/";if(!W1(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function zb(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(W1(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function yV(e=""){return e.startsWith("/")}function sC(e=""){return yV(e)?e:"/"+e}function vV(e,t){if(G8(t)||Sa(e))return e;const n=LO(t);return e.startsWith(n)?e:NO(n,e)}function aC(e,t){if(G8(t))return e;const n=LO(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Y8(e,t){const n=_V(e),r={...H8(n.search),...t};return n.search=dV(r),kV(n)}function G8(e){return!e||e==="/"}function wV(e){return e&&e!=="/"}function NO(e,...t){let n=e||"";for(const r of t.filter(o=>wV(o)))if(n){const o=r.replace(bV,"");n=zb(n)+o}else n=r;return n}function K8(...e){var s,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[d,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(r.length===1&&Sa(r[0]))continue;r.pop(),o--;continue}if(d===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+f;continue}r.push(f),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function SV(e,t,n={}){return n.trailingSlash||(e=zb(e),t=zb(t)),n.leadingSlash||(e=sC(e),t=sC(t)),n.encoding||(e=Bb(e),t=Bb(t)),e===t}const J8=Symbol.for("ufo:protocolRelative");function _V(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!Sa(e,{acceptRelative:!0}))return lC(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=lC(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u,[J8]:!r}}function lC(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function kV(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[J8]?(e.protocol||"")+"//":"")+o+i+t+n+r}class xV extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function EV(e){var l,c,u,d,f;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((d=e.options)==null?void 0:d.method)||"GET",r=((f=e.request)==null?void 0:f.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",s=`${o}: ${i}${t?` ${t}`:""}`,a=new xV(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[p]}});return a}const TV=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function cC(e="GET"){return TV.has(e.toUpperCase())}function CV(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const PV=new Set(["image/svg","application/xml","application/xhtml","application/html"]),AV=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function $V(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return AV.test(t)?"json":PV.has(t)||t.startsWith("text/")?"text":"blob"}function MV(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const RV=new Set([408,409,425,429,500,502,503,504]),IV=new Set([101,204,205,304]);function eI(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=cC(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):RV.has(d))){const f=a.options.retryDelay||0;return f>0&&await new Promise(h=>setTimeout(h,f)),i(a.request,{...a.options,retry:u-1})}}const c=EV(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){var h;const u={request:l,options:MV(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vV(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Y8(u.request,{...u.options.params,...u.options.query}))),u.options.body&&cC(u.options.method)&&(CV(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let d;if(!u.options.signal&&u.options.timeout){const p=new r;d=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{d&&clearTimeout(d)}if(u.response.body&&!IV.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||$V(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),O=u.options.parseResponse||Qb;u.response._data=O(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={})=>eI({...e,defaults:{...e.defaults,...a}}),s}const y2=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),LV=y2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),NV=y2.Headers,DV=y2.AbortController,QV=eI({fetch:LV,Headers:NV,AbortController:DV}),tI=QV,BV=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},jb=BV().app,zV=()=>jb.baseURL,jV=()=>jb.buildAssetsDir,v2=(...e)=>K8(nI(),jV(),...e),nI=(...e)=>{const t=jb.cdnURL||jb.baseURL;return e.length?K8(t,...e):t};globalThis.__buildAssetsURL=v2,globalThis.__publicAssetsURL=nI;globalThis.$fetch||(globalThis.$fetch=tI.create({baseURL:zV()}));function F1(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?F1(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const WV={run:e=>e()},FV=()=>WV,rI=typeof console.createTask<"u"?console.createTask:FV;function qV(e,t){const n=t.shift(),r=rI(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function UV(e,t){const n=t.shift(),r=rI(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Pv(e,t){for(const n of[...e])n(t)}class ZV{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=F1(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=F1(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(qV,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(UV,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Pv(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Pv(this._after,o)}):(this._after&&o&&Pv(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function oI(){return new ZV}function VV(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;q1.add(c);try{const u=o?o.run(s,a):a();return n||(t=void 0),await u}finally{q1.delete(c)}}}}function XV(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=VV({...e,...r})),t[n],t[n]}}}const Wb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},uC="__unctx__",HV=Wb[uC]||(Wb[uC]=XV()),YV=(e,t={})=>HV.get(e,t),dC="__unctx_async_handlers__",q1=Wb[dC]||(Wb[dC]=new Set);function Sc(e){const t=[];for(const o of q1){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const GV=!1,U1=!1,KV=!1,JV={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},X7e={deep:!1},eX=void 0,H7e={},tX="#__nuxt",iI="nuxt-app",fC=36e5,nX="vite:preloadError";function sI(e=iI){return YV(e,{asyncContext:!1})}const rX="__nuxt_plugin";function oX(e){var o;let t=0;const n={_id:e.id||iI||"nuxt-app",_scope:xO(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.2"},get vue(){return n.vueApp.version}},payload:ps({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:ps({}),state:Kn({}),once:new Set,_errors:ps({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Mp()?n._scope.run(()=>hC(n,i)):hC(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:ps({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=oI(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;jm(n,a,s),jm(n.vueApp.config.globalProperties,a,s)},jm(n.vueApp,"$nuxt",n),jm(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(nX,s=>{n.callHook("app:chunkError",{error:s.payload}),(n.isHydrating||s.payload.message.includes("Unable to preload CSS"))&&s.preventDefault()}),window.useNuxtApp=window.useNuxtApp||en;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function iX(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function sX(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function aX(e,t){const n=[],r=[],o=[],i=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>t.some(f=>f._name===d)&&!n.includes(d)))??[];if(c.length>0)r.push([new Set(c),l]);else{const d=sX(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(s++,await a(h)))})))});l.parallel?o.push(d.catch(f=>i.push(f))):await d}}for(const l of t)iX(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l{}),e,{[rX]:!0,_name:t})}function hC(e,t,n){const r=()=>t();return sI(e._id).set(e),e.vueApp.runWithContext(r)}function lX(e){var n;let t;return u2()&&(t=(n=Rr())==null?void 0:n.appContext.app.$nuxt),t=t||sI(e).tryUse(),t||null}function en(e){const t=lX(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Ps(e){return en().$config}function jm(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function cX(e,t){return{ctx:{table:e},matchAll:n=>lI(n,e)}}function aI(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,aI(o)])):new Map(Object.entries(e[n]));return t}function uX(e){return cX(aI(e))}function lI(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of pC(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of pC(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...lI(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function pC(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Av(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Z1(e,t,n=".",r){if(!Av(t))return Z1(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Av(s)&&Av(o[i])?o[i]=Z1(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function cI(e){return(...t)=>t.reduce((n,r)=>Z1(n,r,"",e),{})}const uI=cI(),dX=cI((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function fX(e,t){try{return t in e}catch{return!1}}var hX=Object.defineProperty,pX=(e,t,n)=>t in e?hX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nc=(e,t,n)=>(pX(e,typeof t!="symbol"?t+"":t,n),n);class V1 extends Error{constructor(t,n={}){super(t,n),nc(this,"statusCode",500),nc(this,"fatal",!1),nc(this,"unhandled",!1),nc(this,"statusMessage"),nc(this,"data"),nc(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:H1(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=dI(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}nc(V1,"__h3_error__",!0);function X1(e){if(typeof e=="string")return new V1(e);if(mX(e))return e;const t=new V1(e.message??e.statusMessage??"",{cause:e.cause||e});if(fX(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=H1(e.statusCode,t.statusCode):e.status&&(t.statusCode=H1(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;dI(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function mX(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gX=/[^\u0009\u0020-\u007E]/g;function dI(e=""){return e.replace(gX,"")}function H1(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const fI=Symbol("layout-meta"),Np=Symbol("route"),Ir=()=>{var e;return(e=en())==null?void 0:e.$router},Dp=()=>u2()?qe(Np,en()._route):en()._route;const bX=()=>{try{if(en()._processingMiddleware)return!0}catch{return!1}return!1},OX=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Y1(e):Ir().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([d,f])=>f!==void 0).map(([d,f])=>`${d.toLowerCase()}=${f}`).join(", ");return open(n,l,u),Promise.resolve()}const r=Sa(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&OV(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=bX();if(!o&&i)return e;const s=Ir(),a=en();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},yX=e=>!1;function Y1(e){return Y8(e.path||"",e.query||{})+(e.hash||"")}const hI="__nuxt_error",DO=()=>e2(en().payload,"error"),Tu=e=>{const t=Ei(e);try{const n=en(),r=DO();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},vX=async(e={})=>{const t=en(),n=DO();t.callHook("app:error:cleared",e),e.redirect&&await Ir().replace(e.redirect),n.value=eX},wX=e=>!!e&&typeof e=="object"&&hI in e,Ei=e=>{const t=X1(e);return Object.defineProperty(t,hI,{value:!0,configurable:!1,writable:!1}),t},SX=-1,_X=-2,kX=-3,xX=-4,EX=-5,TX=-6;function CX(e,t){return PX(JSON.parse(e),t)}function PX(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===SX)return;if(i===kX)return NaN;if(i===xX)return 1/0;if(i===EX)return-1/0;if(i===TX)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h>>9)+65536).toString(16).substring(1,8).toLowerCase()}function G1(e){if(e._h)return e._h;if(e._d)return Fb(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Fb(t)}function mI(e,t){const n=[],r=t.resolveKeyData||(i=>i.key),o=t.resolveValueData||(i=>i.value);for(const[i,s]of Object.entries(e))n.push(...(Array.isArray(s)?s:[s]).map(a=>{const l={key:i,value:a},c=o(l);return typeof c=="object"?mI(c,t):Array.isArray(c)?c:{[typeof t.key=="function"?t.key(l):t.key]:r(l),[typeof t.value=="function"?t.value(l):t.value]:c}}).flat());return n}function gI(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=gI(r,t)),t.resolve){const o=t.resolve({key:n,value:r});if(typeof o<"u")return o}return typeof r=="number"&&(r=r.toString()),typeof r=="string"&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${r}`}).join(t.entrySeparator||"")}const Br=e=>({keyValue:e,metaKey:"property"}),$v=e=>({keyValue:e}),w2={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${Ys(e)}=${t}`}}},articleExpirationTime:Br("article:expiration_time"),articleModifiedTime:Br("article:modified_time"),articlePublishedTime:Br("article:published_time"),bookReleaseDate:Br("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${Ys(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:Br("fb:app_id"),msapplicationConfig:$v("msapplication-Config"),msapplicationTileColor:$v("msapplication-TileColor"),msapplicationTileImage:$v("msapplication-TileImage"),ogAudioSecureUrl:Br("og:audio:secure_url"),ogAudioUrl:Br("og:audio"),ogImageSecureUrl:Br("og:image:secure_url"),ogImageUrl:Br("og:image"),ogSiteName:Br("og:site_name"),ogVideoSecureUrl:Br("og:video:secure_url"),ogVideoUrl:Br("og:video"),profileFirstName:Br("profile:first_name"),profileLastName:Br("profile:last_name"),profileUsername:Br("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${Ys(e)}`:`${Ys(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},bI=new Set(["og","book","article","profile"]);function OI(e){var r;const t=Ys(e),n=t.indexOf(":");return bI.has(t.substring(0,n))?"property":((r=w2[e])==null?void 0:r.metaKey)||"name"}function IX(e){var t;return((t=w2[e])==null?void 0:t.keyValue)||Ys(e)}function Ys(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),r=t.substring(0,n);return r==="twitter"||bI.has(r)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function K1(e){if(Array.isArray(e))return e.map(n=>K1(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[Ys(n)]=K1(e[n]));return t}function LX(e,t){const n=w2[t];return t==="refresh"?`${e.seconds};url=${e.url}`:gI(K1(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:r,key:o}){if(r===null)return"";if(typeof r=="boolean")return`${o}`},...n==null?void 0:n.unpack})}const yI=new Set(["og:image","og:video","og:audio","twitter:image"]);function vI(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n];String(r)!=="false"&&n&&(t[n]=r)}return t}function mC(e,t){const n=vI(t),r=Ys(e),o=OI(r);if(yI.has(r)){const i={};for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`]=n[s]);return wI(i).sort((s,a)=>{var l,c;return(((l=s[o])==null?void 0:l.length)||0)-(((c=a[o])==null?void 0:c.length)||0)})}return[{[o]:r,...n}]}function wI(e){const t=[],n={};for(const o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const i=e[o];if(!Array.isArray(i)){if(typeof i=="object"&&i){if(yI.has(Ys(o))){t.push(...mC(o,i));continue}n[o]=vI(i)}else n[o]=i;continue}for(const s of i)t.push(...typeof s=="string"?wI({[o]:s}):mC(o,s))}const r=mI(n,{key({key:o}){return OI(o)},value({key:o}){return o==="charset"?"charset":"content"},resolveKeyData({key:o}){return IX(o)},resolveValueData({value:o,key:i}){return o===null?"_null":typeof o=="object"?LX(o,i):typeof o=="number"?o.toString():o}});return[...t,...r].map(o=>(o.content==="_null"&&(o.content=null),o))}function NX(e,t){return e instanceof Promise?e.then(t):t(e)}function J1(e,t,n,r){const o=r||_I(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(s=>J1(e,t,n,s));const i={tag:e,props:o};for(const s of pI){const a=i.props[s]!==void 0?i.props[s]:n[s];a!==void 0&&((!(s==="innerHTML"||s==="textContent"||s==="children")||AX.has(i.tag))&&(i[s==="children"?"innerHTML":s]=a),delete i.props[s])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function DX(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function SI(e,t,n,r){for(let o=r;o(e[i]=s,SI(e,t,n,o)));if(!t&&!pI.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function _I(e,t=!1){const n=SI(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const QX=10;function kI(e,t,n){for(let r=n;r(t[r]=i,kI(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function BX(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const i=n[o];if(!(i===void 0||!$X.has(o))){if(Array.isArray(i)){for(const s of i)t.push(J1(o,s,e));continue}t.push(J1(o,i,e))}}if(t.length===0)return[];const r=[];return NX(kI(r,t,0),()=>r.map((o,i)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<{if(s===qa||!o.includes(s))return s;const a=WX(t,s.slice(1));return a!==void 0?a:s}).trim(),i&&(e.endsWith(qa)&&(e=e.slice(0,-qa.length)),e.startsWith(qa)&&(e=e.slice(qa.length)),e=e.replace(FX,n).trim()),e}function yC(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function EI(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var d;const i=(await e.resolveTags()).map(f=>({tag:f,id:zg.has(f.tag)?G1(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const h of["body","head"]){const p=(d=n[h])==null?void 0:d.children;for(const m of p){const O=m.tagName.toLowerCase();if(!zg.has(O))continue;const g={tag:O,props:await _I(m.getAttributeNames().reduce((w,S)=>({...w,[S]:m.getAttribute(S)}),{})),innerHTML:m.innerHTML},b=xI(g);let v=b,y=1;for(;v&&f.has(v);)v=`${b}:${y++}`;v&&(g._d=v,f.add(v)),s.elMap[m.getAttribute("data-hid")||G1(g)]=m}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(f,h,p){const m=`${f}:${h}`;s.sideEffects[m]=p,delete s.pendingSideEffects[m]}function l({id:f,$el:h,tag:p}){const m=p.tag.endsWith("Attrs");if(s.elMap[f]=h,m||(p.textContent&&p.textContent!==h.textContent&&(h.textContent=p.textContent),p.innerHTML&&p.innerHTML!==h.innerHTML&&(h.innerHTML=p.innerHTML),a(f,"el",()=>{var O;(O=s.elMap[f])==null||O.remove(),delete s.elMap[f]})),p._eventHandlers)for(const O in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,O)&&h.getAttribute(`data-${O}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:h).addEventListener(O.substring(2),p._eventHandlers[O].bind(h)),h.setAttribute(`data-${O}`,""));for(const O in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,O))continue;const g=p.props[O],b=`attr:${O}`;if(O==="class"){if(!g)continue;for(const v of g.split(" "))m&&a(f,`${b}:${v}`,()=>h.classList.remove(v)),!h.classList.contains(v)&&h.classList.add(v)}else if(O==="style"){if(!g)continue;for(const v of g.split(";")){const y=v.indexOf(":"),w=v.substring(0,y).trim(),S=v.substring(y+1).trim();a(f,`${b}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,S)}}else h.getAttribute(O)!==g&&h.setAttribute(O,g===!0?"":String(g)),m&&a(f,b,()=>h.removeAttribute(O))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of i){const{tag:h,shouldRender:p,id:m}=f;if(p){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||s.elMap[m],f.$el?l(f):zg.has(h.tag)&&c.push(f)}}for(const f of c){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(f.$el)}for(const f of i)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const f in s.pendingSideEffects)s.pendingSideEffects[f]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function qX(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>EI(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function UX(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{qX(i,e)}}}}}const ZX=new Set(["templateParams","htmlAttrs","bodyAttrs"]),VX={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=xI(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||G1(r),i=t[o];if(i){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&ZX.has(r.tag)&&(a="merge"),a==="merge"){const l=i.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);continue}else if(qb(r)>qb(i))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&zg.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],i=o._duped;n.push(o),i&&(delete o._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},XX=new Set(["script","link","bodyAttrs"]),HX=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!XX.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const i=r[o];typeof i=="function"&&(e.ssr&&gC.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Fb(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,i;const r=t==null?void 0:t.dataset;if(r)for(const s in r){if(!s.endsWith("fired"))continue;const a=s.slice(0,-5);gC.has(a)&&((i=(o=n._eventHandlers)==null?void 0:o[a])==null||i.call(t,new Event(a.substring(2))))}}}}),YX=new Set(["link","style","script","noscript"]),GX={hooks:{"tag:normalise":({tag:e})=>{e.key&&YX.has(e.tag)&&(e.props["data-hid"]=e._h=Fb(e.key))}}},KX={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},JX={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of zX){if(!n.tagPriority.startsWith(r))continue;const i=n.tagPriority.substring(r.length),s=(t=e.tags.find(a=>a._d===i))==null?void 0:t._p;if(s!==void 0){n._p=s+o;break}}e.tags.sort((n,r)=>{const o=qb(n),i=qb(r);return oi?1:n._p-r._p})}}},eH={meta:"content",link:"href",htmlAttrs:"lang"},tH=["innerHTML","textContent"],nH=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t;let r;for(let a=0;aa.tag==="title"))==null?void 0:s.textContent)||"",o,i);for(const a of n){if(a.processTemplateParams===!1)continue;const l=eH[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Wm(a.props[l],o,i);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of tH)typeof a[c]=="string"&&(a[c]=Wm(a[c],o,i))}e._templateParams=o,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r{const{tags:t}=e;let n,r;for(let o=0;o{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),vC(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return vC(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(d=>d._i!==u._i),r()},patch(d){for(const f of i)f._i===u._i&&(f.input=u.input=d);r()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await BX(c)){const f={tag:d,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[VX,KX,HX,GX,JX,nH,rH,oH,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function aH(){return TI}const lH=j8[0]==="3";function cH(e){return typeof e=="function"?e():U(e)}function Ub(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=cH(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Ub(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=U(t[r]);continue}n[r]=Ub(t[r])}return n}return t}const uH={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Ub(t.input)}}},CI="usehead";function dH(e){return{install(n){lH&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(CI,e))}}.install}function fH(e={}){e.domDelayFn=e.domDelayFn||(n=>wr(()=>setTimeout(()=>n(),0)));const t=iH(e);return t.use(uH),t.install=dH(t),t}const eS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tS="__unhead_injection_handler__";function hH(e){eS[tS]=e}function pH(){if(tS in eS)return eS[tS]();const e=qe(CI);return e||aH()}function Qp(e,t={}){const n=t.head||pH();if(n)return n.ssr?n.push(e,t):mH(n,e,t)}function mH(e,t,n={}){const r=ge(!1),o=ge({});h2(()=>{o.value=r.value?{}:Ub(t)});const i=e.push(o.value,n);return We(o,a=>{i.patch(a)}),Rr()&&(Cs(()=>{i.dispose()}),i2(()=>{r.value=!0}),o2(()=>{r.value=!1})),i}let jg,Wg;function gH(){return jg=$fetch(v2(`builds/meta/${Ps().app.buildId}.json`),{responseType:"json"}),jg.then(e=>{Wg=uX(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),jg}function QO(){return jg||gH()}async function S2(e){if(await QO(),!Wg)return console.error("[nuxt] Error creating app manifest matcher.",Wg),{};try{return uI({},...Wg.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function wC(e,t={}){const n=await OH(e,t),r=en(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=AI(e).then(i=>i?PI(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const bH="_payload.json";async function OH(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Sa(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Ps(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await AI(e)?i:r.app.baseURL;return NO(s,n.pathname,bH+(o?`?${o}`:""))}async function PI(e){const t=fetch(e).then(n=>n.text().then($I));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function AI(e=Dp().path){if(e=LO(e),(await QO()).prerendered.includes(e))return!0;const n=await S2(e);return!!n.prerender&&!n.redirect}let Hl=null;async function yH(){var r;if(Hl)return Hl;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await $I(e.textContent||""),n=e.dataset.src?await PI(e.dataset.src):void 0;return Hl={...t,...n,...window.__NUXT__},(r=Hl.config)!=null&&r.public&&(Hl.config.public=Kn(Hl.config.public)),Hl}async function $I(e){return await CX(e,en()._payloadRevivers)}function vH(e,t){en()._payloadRevivers[e]=t}const SC={NuxtError:e=>Ei(e),EmptyShallowRef:e=>Ai(e==="_"?void 0:e==="0n"?BigInt(0):Qb(e)),EmptyRef:e=>ge(e==="_"?void 0:e==="0n"?BigInt(0):Qb(e)),ShallowRef:e=>Ai(e),ShallowReactive:e=>ps(e),Ref:e=>ge(e),Reactive:e=>Kn(e)},wH=Xt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in SC)vH(r,SC[r]);Object.assign(e.payload,([t,n]=Sc(()=>e.runWithContext(yH)),t=await t,n(),t)),window.__NUXT__=e.payload}}),SH=[],_H=Xt({name:"nuxt:head",enforce:"pre",setup(e){const t=fH({plugins:SH});hH(()=>en().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await EI(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Ou=typeof document<"u";function kH(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Bt=Object.assign;function Mv(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ni(o)?o.map(e):e(o)}return n}const dh=()=>{},Ni=Array.isArray,MI=/#/g,xH=/&/g,EH=/\//g,TH=/=/g,CH=/\?/g,RI=/\+/g,PH=/%5B/g,AH=/%5D/g,II=/%5E/g,$H=/%60/g,LI=/%7B/g,MH=/%7C/g,NI=/%7D/g,RH=/%20/g;function _2(e){return encodeURI(""+e).replace(MH,"|").replace(PH,"[").replace(AH,"]")}function IH(e){return _2(e).replace(LI,"{").replace(NI,"}").replace(II,"^")}function nS(e){return _2(e).replace(RI,"%2B").replace(RH,"+").replace(MI,"%23").replace(xH,"%26").replace($H,"`").replace(LI,"{").replace(NI,"}").replace(II,"^")}function LH(e){return nS(e).replace(TH,"%3D")}function NH(e){return _2(e).replace(MI,"%23").replace(CH,"%3F")}function DH(e){return e==null?"":NH(e).replace(EH,"%2F")}function Wh(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const QH=/\/$/,BH=e=>e.replace(QH,"");function Rv(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=FH(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Wh(s)}}function zH(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _C(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jH(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&id(t.matched[r],n.matched[o])&&DI(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function id(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function DI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!WH(e[n],t[n]))return!1;return!0}function WH(e,t){return Ni(e)?kC(e,t):Ni(t)?kC(t,e):e===t}function kC(e,t){return Ni(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function FH(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const Si={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fh;(function(e){e.pop="pop",e.push="push"})(Fh||(Fh={}));var fh;(function(e){e.back="back",e.forward="forward",e.unknown=""})(fh||(fh={}));function qH(e){if(!e)if(Ou){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),BH(e)}const UH=/^[^#]+#/;function ZH(e,t){return e.replace(UH,"#")+t}function VH(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const BO=()=>({left:window.scrollX,top:window.scrollY});function XH(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=VH(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function xC(e,t){return(history.state?history.state.position-t:-1)+e}const rS=new Map;function HH(e,t){rS.set(e,t)}function YH(e){const t=rS.get(e);return rS.delete(e),t}let GH=()=>location.protocol+"//"+location.host;function QI(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),_C(l,"")}return _C(n,e)+r+o}function KH(e,t,n,r){let o=[],i=[],s=null;const a=({state:f})=>{const h=QI(e,location),p=n.value,m=t.value;let O=0;if(f){if(n.value=h,t.value=f,s&&s===p){s=null;return}O=m?f.position-m.position:0}else r(h);o.forEach(g=>{g(n.value,p,{delta:O,type:Fh.pop,direction:O?O>0?fh.forward:fh.back:fh.unknown})})};function l(){s=n.value}function c(f){o.push(f);const h=()=>{const p=o.indexOf(f);p>-1&&o.splice(p,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(Bt({},f.state,{scroll:BO()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function EC(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?BO():null}}function JH(e){const{history:t,location:n}=window,r={value:QI(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:GH()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function s(l,c){const u=Bt({},t.state,EC(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=Bt({},o.value,t.state,{forward:l,scroll:BO()});i(u.current,u,!0);const d=Bt({},EC(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function BI(e){e=qH(e);const t=JH(e),n=KH(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Bt({location:"",base:e,go:r,createHref:ZH.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function eY(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),BI(e)}function tY(e){return typeof e=="string"||e&&typeof e=="object"}function zI(e){return typeof e=="string"||typeof e=="symbol"}const jI=Symbol("");var TC;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(TC||(TC={}));function sd(e,t){return Bt(new Error,{type:e,[jI]:!0},t)}function Ns(e,t){return e instanceof Error&&jI in e&&(t==null||!!(e.type&t))}const CC="[^/]+?",nY={sensitive:!1,strict:!1,start:!0,end:!0},rY=/[.+*?^${}()[\]/\\]/g;function oY(e,t){const n=Bt({},nY,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function WI(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const sY={type:0,value:""},aY=/[a-zA-Z0-9_]/;function lY(e){if(!e)return[[]];if(e==="/")return[[sY]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{s(v)}:dh}function s(d){if(zI(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function a(){return n}function l(d){const f=pY(d,n);n.splice(f,0,d),d.record.name&&!$C(d)&&r.set(d.record.name,d)}function c(d,f){let h,p={},m,O;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw sd(1,{location:d});O=h.record.name,p=Bt(AC(f.params,h.keys.filter(v=>!v.optional).concat(h.parent?h.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),d.params&&AC(d.params,h.keys.map(v=>v.name))),m=h.stringify(p)}else if(d.path!=null)m=d.path,h=n.find(v=>v.re.test(m)),h&&(p=h.parse(m),O=h.record.name);else{if(h=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!h)throw sd(1,{location:d,currentLocation:f});O=h.record.name,p=Bt({},f.params,d.params),m=h.stringify(p)}const g=[];let b=h;for(;b;)g.unshift(b.record),b=b.parent;return{name:O,path:m,params:p,matched:g,meta:hY(g)}}e.forEach(d=>i(d));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function AC(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function dY(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fY(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function fY(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function $C(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hY(e){return e.reduce((t,n)=>Bt(t,n.meta),{})}function MC(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pY(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;WI(e,t[i])<0?r=i:n=i+1}const o=mY(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function mY(e){let t=e;for(;t=t.parent;)if(FI(t)&&WI(e,t)===0)return t}function FI({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gY(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&nS(i)):[r&&nS(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function bY(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ni(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const qI=Symbol(""),IC=Symbol(""),zO=Symbol(""),k2=Symbol(""),oS=Symbol("");function yf(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function OY(e,t,n){const r=()=>{e[t].delete(n)};qc(r),i2(r),o2(()=>{e[t].add(n)}),e[t].add(n)}function Y7e(e){const t=qe(qI,{}).value;t&&OY(t,"leaveGuards",e)}function Ua(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(sd(4,{from:n,to:t})):f instanceof Error?l(f):tY(f)?l(sd(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),a())},u=i(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Iv(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(yY(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Ua(u,n,r,s,a,o))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const d=kH(u)?u.default:u;s.components[a]=d;const h=(d.__vccOpts||d)[t];return h&&Ua(h,n,r,s,a,o)()}))}}return i}function yY(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function LC(e){const t=qe(zO),n=qe(k2),r=q(()=>{const l=U(e.to);return t.resolve(l)}),o=q(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(id.bind(null,u));if(f>-1)return f;const h=NC(l[c-2]);return c>1&&NC(u)===h&&d[d.length-1].path!==h?d.findIndex(id.bind(null,l[c-2])):f}),i=q(()=>o.value>-1&&SY(n.params,r.value.params)),s=q(()=>o.value>-1&&o.value===n.matched.length-1&&DI(n.params,r.value.params));function a(l={}){return wY(l)?t[U(e.replace)?"replace":"push"](U(e.to)).catch(dh):Promise.resolve()}return{route:r,href:q(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}const vY=Qe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:LC,setup(e,{slots:t}){const n=Kn(LC(e)),{options:r}=qe(zO),o=q(()=>({[DC(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[DC(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Dt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),UI=vY;function wY(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function SY(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ni(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function NC(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const DC=(e,t,n)=>e??t??n,_Y=Qe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=qe(oS),o=q(()=>e.route||r.value),i=qe(IC,0),s=q(()=>{let c=U(i);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=q(()=>o.value.matched[s.value]);Ft(IC,q(()=>s.value+1)),Ft(qI,a),Ft(oS,o);const l=ge();return We(()=>[l.value,a.value,e.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!id(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return QC(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,O=Dt(f,Bt({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return QC(n.default,{Component:O,route:c})||O}}});function QC(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ZI=_Y;function kY(e){const t=uY(e.routes,e),n=e.parseQuery||gY,r=e.stringifyQuery||RC,o=e.history,i=yf(),s=yf(),a=yf(),l=Ai(Si);let c=Si;Ou&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mv.bind(null,J=>""+J),d=Mv.bind(null,DH),f=Mv.bind(null,Wh);function h(J,me){let fe,he;return zI(J)?(fe=t.getRecordMatcher(J),he=me):he=J,t.addRoute(he,fe)}function p(J){const me=t.getRecordMatcher(J);me&&t.removeRoute(me)}function m(){return t.getRoutes().map(J=>J.record)}function O(J){return!!t.getRecordMatcher(J)}function g(J,me){if(me=Bt({},me||l.value),typeof J=="string"){const R=Rv(n,J,me.path),Z=t.resolve({path:R.path},me),ie=o.createHref(R.fullPath);return Bt(R,Z,{params:f(Z.params),hash:Wh(R.hash),redirectedFrom:void 0,href:ie})}let fe;if(J.path!=null)fe=Bt({},J,{path:Rv(n,J.path,me.path).path});else{const R=Bt({},J.params);for(const Z in R)R[Z]==null&&delete R[Z];fe=Bt({},J,{params:d(R)}),me.params=d(me.params)}const he=t.resolve(fe,me),Te=J.hash||"";he.params=u(f(he.params));const ze=zH(r,Bt({},J,{hash:IH(Te),path:he.path})),I=o.createHref(ze);return Bt({fullPath:ze,hash:Te,query:r===RC?bY(J.query):J.query||{}},he,{redirectedFrom:void 0,href:I})}function b(J){return typeof J=="string"?Rv(n,J,l.value.path):Bt({},J)}function v(J,me){if(c!==J)return sd(8,{from:me,to:J})}function y(J){return _(J)}function w(J){return y(Bt(b(J),{replace:!0}))}function S(J){const me=J.matched[J.matched.length-1];if(me&&me.redirect){const{redirect:fe}=me;let he=typeof fe=="function"?fe(J):fe;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=b(he):{path:he},he.params={}),Bt({query:J.query,hash:J.hash,params:he.path!=null?{}:J.params},he)}}function _(J,me){const fe=c=g(J),he=l.value,Te=J.state,ze=J.force,I=J.replace===!0,R=S(fe);if(R)return _(Bt(b(R),{state:typeof R=="object"?Bt({},Te,R.state):Te,force:ze,replace:I}),me||fe);const Z=fe;Z.redirectedFrom=me;let ie;return!ze&&jH(r,he,fe)&&(ie=sd(16,{to:Z,from:he}),pe(he,he,!0,!1)),(ie?Promise.resolve(ie):C(Z,he)).catch(re=>Ns(re)?Ns(re,2)?re:ve(re):te(re,Z,he)).then(re=>{if(re){if(Ns(re,2))return _(Bt({replace:I},b(re.to),{state:typeof re.to=="object"?Bt({},Te,re.to.state):Te,force:ze}),me||Z)}else re=E(Z,he,!0,I,Te);return $(Z,he,re),re})}function T(J,me){const fe=v(J,me);return fe?Promise.reject(fe):Promise.resolve()}function A(J){const me=ue.values().next().value;return me&&typeof me.runWithContext=="function"?me.runWithContext(J):J()}function C(J,me){let fe;const[he,Te,ze]=xY(J,me);fe=Iv(he.reverse(),"beforeRouteLeave",J,me);for(const R of he)R.leaveGuards.forEach(Z=>{fe.push(Ua(Z,J,me))});const I=T.bind(null,J,me);return fe.push(I),ne(fe).then(()=>{fe=[];for(const R of i.list())fe.push(Ua(R,J,me));return fe.push(I),ne(fe)}).then(()=>{fe=Iv(Te,"beforeRouteUpdate",J,me);for(const R of Te)R.updateGuards.forEach(Z=>{fe.push(Ua(Z,J,me))});return fe.push(I),ne(fe)}).then(()=>{fe=[];for(const R of ze)if(R.beforeEnter)if(Ni(R.beforeEnter))for(const Z of R.beforeEnter)fe.push(Ua(Z,J,me));else fe.push(Ua(R.beforeEnter,J,me));return fe.push(I),ne(fe)}).then(()=>(J.matched.forEach(R=>R.enterCallbacks={}),fe=Iv(ze,"beforeRouteEnter",J,me,A),fe.push(I),ne(fe))).then(()=>{fe=[];for(const R of s.list())fe.push(Ua(R,J,me));return fe.push(I),ne(fe)}).catch(R=>Ns(R,8)?R:Promise.reject(R))}function $(J,me,fe){a.list().forEach(he=>A(()=>he(J,me,fe)))}function E(J,me,fe,he,Te){const ze=v(J,me);if(ze)return ze;const I=me===Si,R=Ou?history.state:{};fe&&(he||I?o.replace(J.fullPath,Bt({scroll:I&&R&&R.scroll},Te)):o.push(J.fullPath,Te)),l.value=J,pe(J,me,fe,I),ve()}let Q;function X(){Q||(Q=o.listen((J,me,fe)=>{if(!Ee.listening)return;const he=g(J),Te=S(he);if(Te){_(Bt(Te,{replace:!0}),he).catch(dh);return}c=he;const ze=l.value;Ou&&HH(xC(ze.fullPath,fe.delta),BO()),C(he,ze).catch(I=>Ns(I,12)?I:Ns(I,2)?(_(I.to,he).then(R=>{Ns(R,20)&&!fe.delta&&fe.type===Fh.pop&&o.go(-1,!1)}).catch(dh),Promise.reject()):(fe.delta&&o.go(-fe.delta,!1),te(I,he,ze))).then(I=>{I=I||E(he,ze,!1),I&&(fe.delta&&!Ns(I,8)?o.go(-fe.delta,!1):fe.type===Fh.pop&&Ns(I,20)&&o.go(-1,!1)),$(he,ze,I)}).catch(dh)}))}let Y=yf(),B=yf(),ee;function te(J,me,fe){ve(J);const he=B.list();return he.length?he.forEach(Te=>Te(J,me,fe)):console.error(J),Promise.reject(J)}function ye(){return ee&&l.value!==Si?Promise.resolve():new Promise((J,me)=>{Y.add([J,me])})}function ve(J){return ee||(ee=!J,X(),Y.list().forEach(([me,fe])=>J?fe(J):me()),Y.reset()),J}function pe(J,me,fe,he){const{scrollBehavior:Te}=e;if(!Ou||!Te)return Promise.resolve();const ze=!fe&&YH(xC(J.fullPath,0))||(he||!fe)&&history.state&&history.state.scroll||null;return wr().then(()=>Te(J,me,ze)).then(I=>I&&XH(I)).catch(I=>te(I,J,me))}const de=J=>o.go(J);let V;const ue=new Set,Ee={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:O,getRoutes:m,resolve:g,options:e,push:y,replace:w,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:B.add,isReady:ye,install(J){const me=this;J.component("RouterLink",UI),J.component("RouterView",ZI),J.config.globalProperties.$router=me,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>U(l)}),Ou&&!V&&l.value===Si&&(V=!0,y(o.location).catch(Te=>{}));const fe={};for(const Te in Si)Object.defineProperty(fe,Te,{get:()=>l.value[Te],enumerable:!0});J.provide(zO,me),J.provide(k2,ps(fe)),J.provide(oS,l);const he=J.unmount;ue.add(J),J.unmount=function(){ue.delete(J),ue.size<1&&(c=Si,Q&&Q(),Q=null,l.value=Si,V=!1,ee=!1),he()}}};function ne(J){return J.reduce((me,fe)=>me.then(()=>A(fe)),Promise.resolve())}return Ee}function xY(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sid(c,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>id(c,l))||o.push(l))}return[n,r,o]}function VI(){return qe(zO)}function x2(e){return qe(k2)}const EY=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),iS=(e,t)=>{const n=e.route.matched.find(o=>{var i;return((i=o.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&EY(e.route,n));return typeof r=="function"?r(e.route):r},TY=(e,t)=>({default:()=>e?Dt(mU,e===!0?{}:e,t):t});function E2(e){return Array.isArray(e)?e:[e]}const CY="modulepreload",PY=function(e,t){return new URL(e,t).href},BC={},Gs=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=PY(c,r),c in BC)return;BC[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const m=s[p];if(m.href===c&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="?x=http://directory.static.partnerpage.io${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":CY,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((p,m)=>{h.addEventListener("load",p),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},AY={layout:"empty"},Lv=[{name:"entryTypePath-entrySlug-contact",path:"/:entryTypePath()/:entrySlug()/contact",component:()=>Gs(()=>import("./DvLIVRgO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},{name:"entryTypePath-entrySlug",path:"/:entryTypePath()/:entrySlug()",component:()=>Gs(()=>import("./Cm3SVEIR.js"),__vite__mapDeps([8,1,9,10,2,11,3,4,6,7]),import.meta.url)},{name:"get-listed-form",path:"/get-listed/form",meta:AY||{},component:()=>Gs(()=>import("./538v-czj.js"),__vite__mapDeps([12,9,5,11,6]),import.meta.url)},{name:"index",path:"/",component:()=>Gs(()=>import("./CC8G09AA.js"),__vite__mapDeps([13,14,9,2,11,10,7,5,3,6]),import.meta.url)}],XI=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Dt(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function zC(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function $Y(e,t){return e===t||t===Si?!1:zC(e)!==zC(t)?!0:!e.matched.every((r,o)=>{var i,s;return r.components&&r.components.default===((s=(i=t.matched[o])==null?void 0:i.components)==null?void 0:s.default)})}const MY={scrollBehavior(e,t,n){var c;const r=en(),o=((c=Ir().options)==null?void 0:c.scrollBehaviorType)??"auto";let i=n||void 0;const s=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&s!==!1&&$Y(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:jC(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??U1),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await new Promise(d=>setTimeout(d,0)),e.hash&&(i={el:e.hash,top:jC(e.hash),behavior:o}),u(i)})})}};function jC(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function RY(e){return Array.isArray(e)?e:[e]}const IY="$s";function _s(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=IY+n,i=en(),s=e2(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(Jt(a))return i.payload.state[o]=a,a;s.value=a}return s}const LY={async routes(e){const t=_s("rootPath");if(t.value!=="/")return e.map(n=>({...n,path:`${t.value}${n.path!=="/"?n.path:""}`}))}},NY={hashMode:!1,scrollBehaviorType:"auto"},Ho={...NY,...MY,...LY},DY=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=en(),o=Ir(),i=([t,n]=Sc(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(i===!0)return;const s=Ei({statusCode:i&&i.statusCode||404,statusMessage:i&&i.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(c=>{if(a(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>Tu(s)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},QY=!1;function WC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Za(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=U(e[r])),n),{})}function Zb(e){return typeof e=="function"}function zY(e){return vs(e)||ua(e)}function HI(e,t,n){let r=e;const o=t.split(".");for(let i=0;ie.some(r=>HI(t,r,{[n]:!1})[n]))}function qC(e,t,n){return q(()=>e.reduce((r,o)=>{const i=HI(t,o,{[n]:!1})[n]||[];return r.concat(i)},[]))}function YI(e,t,n,r){return e.call(r,U(t),U(n),r)}function GI(e){return e.$valid!==void 0?!e.$valid:!e}function jY(e,t,n,r,o,i,s){let{$lazy:a,$rewardEarly:l}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,f=arguments.length>10?arguments[10]:void 0;const h=ge(!!r.value),p=ge(0);n.value=!1;const m=We([t,r].concat(c,f),()=>{if(a&&!r.value||l&&!d.value&&!n.value)return;let O;try{O=YI(e,t,u,s)}catch(g){O=Promise.reject(g)}p.value++,n.value=!!p.value,h.value=!1,Promise.resolve(O).then(g=>{p.value--,n.value=!!p.value,i.value=g,h.value=GI(g)}).catch(g=>{p.value--,n.value=!!p.value,i.value=g,h.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:h,$unwatch:m}}function WY(e,t,n,r,o,i,s,a){let{$lazy:l,$rewardEarly:c}=r;const u=()=>({}),d=q(()=>{if(l&&!n.value||c&&!a.value)return!1;let f=!0;try{const h=YI(e,t,s,i);o.value=h,f=GI(h)}catch(h){o.value=h}return f});return{$unwatch:u,$invalid:d}}function FY(e,t,n,r,o,i,s,a,l,c,u){const d=ge(!1),f=e.$params||{},h=ge(null);let p,m;e.$async?{$invalid:p,$unwatch:m}=jY(e.$validator,t,d,n,r,h,o,e.$watchTargets,l,c,u):{$invalid:p,$unwatch:m}=WY(e.$validator,t,n,r,h,o,l,c);const O=e.$message;return{$message:Zb(O)?q(()=>O(FC({$pending:d,$invalid:p,$params:FC(f),$model:t,$response:h,$validator:i,$propertyPath:a,$property:s}))):O||"",$params:f,$pending:d,$invalid:p,$response:h,$unwatch:m}}function qY(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=U(e),n=Object.keys(t),r={},o={},i={};let s=null;return n.forEach(a=>{const l=t[a];switch(!0){case Zb(l.$validator):r[a]=l;break;case Zb(l):r[a]={$validator:l};break;case a==="$validationGroups":s=l;break;case a.startsWith("$"):i[a]=l;break;default:o[a]=l}}),{rules:r,nestedValidators:o,config:i,validationGroups:s}}const UY="__root";function ZY(e,t,n,r,o,i,s,a,l){const c=Object.keys(e),u=r.get(o,e),d=ge(!1),f=ge(!1),h=ge(0);if(u){if(!u.$partial)return u;u.$unwatch(),d.value=u.$dirty.value}const p={$dirty:d,$path:o,$touch:()=>{d.value||(d.value=!0)},$reset:()=>{d.value&&(d.value=!1)},$commit:()=>{}};return c.length?(c.forEach(m=>{p[m]=FY(e[m],t,p.$dirty,i,s,m,n,o,l,f,h)}),p.$externalResults=q(()=>a.value?[].concat(a.value).map((m,O)=>({$propertyPath:o,$property:n,$validator:"$externalResults",$uid:`${o}-externalResult-${O}`,$message:m,$params:{},$response:null,$pending:!1})):[]),p.$invalid=q(()=>{const m=c.some(O=>U(p[O].$invalid));return f.value=m,!!p.$externalResults.value.length||m}),p.$pending=q(()=>c.some(m=>U(p[m].$pending))),p.$error=q(()=>p.$dirty.value?p.$pending.value||p.$invalid.value:!1),p.$silentErrors=q(()=>c.filter(m=>U(p[m].$invalid)).map(m=>{const O=p[m];return Kn({$propertyPath:o,$property:n,$validator:m,$uid:`${o}-${m}`,$message:O.$message,$params:O.$params,$response:O.$response,$pending:O.$pending})}).concat(p.$externalResults.value)),p.$errors=q(()=>p.$dirty.value?p.$silentErrors.value:[]),p.$unwatch=()=>c.forEach(m=>{p[m].$unwatch()}),p.$commit=()=>{f.value=!0,h.value=Date.now()},r.set(o,e,p),p):(u&&r.set(o,e,p),p)}function VY(e,t,n,r,o,i,s){const a=Object.keys(e);return a.length?a.reduce((l,c)=>(l[c]=sS({validations:e[c],state:t,key:c,parentKey:n,resultsCache:r,globalConfig:o,instance:i,externalResults:s}),l),{}):{}}function XY(e,t,n){const r=q(()=>[t,n].filter(p=>p).reduce((p,m)=>p.concat(Object.values(U(m))),[])),o=q({get(){return e.$dirty.value||(r.value.length?r.value.every(p=>p.$dirty):!1)},set(p){e.$dirty.value=p}}),i=q(()=>{const p=U(e.$silentErrors)||[],m=r.value.filter(O=>(U(O).$silentErrors||[]).length).reduce((O,g)=>O.concat(...g.$silentErrors),[]);return p.concat(m)}),s=q(()=>{const p=U(e.$errors)||[],m=r.value.filter(O=>(U(O).$errors||[]).length).reduce((O,g)=>O.concat(...g.$errors),[]);return p.concat(m)}),a=q(()=>r.value.some(p=>p.$invalid)||U(e.$invalid)||!1),l=q(()=>r.value.some(p=>U(p.$pending))||U(e.$pending)||!1),c=q(()=>r.value.some(p=>p.$dirty)||r.value.some(p=>p.$anyDirty)||o.value),u=q(()=>o.value?l.value||a.value:!1),d=()=>{e.$touch(),r.value.forEach(p=>{p.$touch()})},f=()=>{e.$commit(),r.value.forEach(p=>{p.$commit()})},h=()=>{e.$reset(),r.value.forEach(p=>{p.$reset()})};return r.value.length&&r.value.every(p=>p.$dirty)&&d(),{$dirty:o,$errors:s,$invalid:a,$anyDirty:c,$error:u,$pending:l,$touch:d,$reset:h,$silentErrors:i,$commit:f}}function sS(e){let{validations:t,state:n,key:r,parentKey:o,childResults:i,resultsCache:s,globalConfig:a={},instance:l,externalResults:c}=e;const u=o?`${o}.${r}`:r,{rules:d,nestedValidators:f,config:h,validationGroups:p}=qY(t),m=Za(Za({},a),h),O=r?q(()=>{const ve=U(n);return ve?U(ve[r]):void 0}):n,g=Za({},U(c)||{}),b=q(()=>{const ve=U(c);return r?ve?U(ve[r]):void 0:ve}),v=ZY(d,O,r,s,u,m,l,b,n),y=VY(f,O,u,s,m,l,b),w={};p&&Object.entries(p).forEach(ve=>{let[pe,de]=ve;w[pe]={$invalid:Nv(de,y,"$invalid"),$error:Nv(de,y,"$error"),$pending:Nv(de,y,"$pending"),$errors:qC(de,y,"$errors"),$silentErrors:qC(de,y,"$silentErrors")}});const{$dirty:S,$errors:_,$invalid:T,$anyDirty:A,$error:C,$pending:$,$touch:E,$reset:Q,$silentErrors:X,$commit:Y}=XY(v,y,i),B=r?q({get:()=>U(O),set:ve=>{S.value=!0;const pe=U(n),de=U(c);de&&(de[r]=g[r]),Jt(pe[r])?pe[r].value=ve:pe[r]=ve}}):null;r&&m.$autoDirty&&We(O,()=>{S.value||E();const ve=U(c);ve&&(ve[r]=g[r])},{flush:"sync"});async function ee(){return E(),m.$rewardEarly&&(Y(),await wr()),await wr(),new Promise(ve=>{if(!$.value)return ve(!T.value);const pe=We($,()=>{ve(!T.value),pe()})})}function te(ve){return(i.value||{})[ve]}function ye(){Jt(c)?c.value=g:Object.keys(g).length===0?Object.keys(c).forEach(ve=>{delete c[ve]}):Object.assign(c,g)}return Kn(Za(Za(Za({},v),{},{$model:B,$dirty:S,$error:C,$errors:_,$invalid:T,$anyDirty:A,$pending:$,$touch:E,$reset:Q,$path:u||UY,$silentErrors:X,$validate:ee,$commit:Y},i&&{$getResultsForChild:te,$clearExternalResults:ye,$validationGroups:w}),y))}class HY{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const o=Object.keys(r),i=Object.keys(n);return i.length!==o.length||!i.every(a=>o.includes(a))?!1:i.every(a=>n[a].$params?Object.keys(n[a].$params).every(l=>U(r[a].$params[l])===U(n[a].$params[l])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:o,result:i}=r,s=this.checkRulesValidity(t,n,o),a=i.$unwatch?i.$unwatch:()=>({});return s?i:{$dirty:i.$dirty,$partial:!0,$unwatch:a}}}const Fg={COLLECT_ALL:!0,COLLECT_NONE:!1},UC=Symbol("vuelidate#injectChildResults"),ZC=Symbol("vuelidate#removeChildResults");function YY(e){let{$scope:t,instance:n}=e;const r={},o=ge([]),i=q(()=>o.value.reduce((u,d)=>(u[d]=U(r[d]),u),{}));function s(u,d){let{$registerAs:f,$scope:h,$stopPropagation:p}=d;p||t===Fg.COLLECT_NONE||h===Fg.COLLECT_NONE||t!==Fg.COLLECT_ALL&&t!==h||(r[f]=u,o.value.push(f))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],s);function a(u){o.value=o.value.filter(d=>d!==u),delete r[u]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],a);const l=qe(UC,[]);Ft(UC,n.__vuelidateInjectInstances);const c=qe(ZC,[]);return Ft(ZC,n.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:l,removeValidationResultsFromParent:c}}function KI(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?KI(t[n]):q(()=>t[n])}})}let VC=0;function GY(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:o,$scope:i=Fg.COLLECT_ALL,$stopPropagation:s,$externalResults:a,currentVueInstance:l}=r;const c=l||((n=Rr())===null||n===void 0?void 0:n.proxy),u=c?c.$options:{};o||(VC+=1,o=`_vuelidate_${VC}`);const d=ge({}),f=new HY,{childResults:h,sendValidationResultsToParent:p,removeValidationResultsFromParent:m}=c?YY({$scope:i,instance:c}):{childResults:ge({})};if(!e&&u.validations){const O=u.validations;t=ge({}),d8(()=>{t.value=c,We(()=>Zb(O)?O.call(t.value,new KI(t.value)):O,g=>{d.value=sS({validations:g,state:t,childResults:h,resultsCache:f,globalConfig:r,instance:c,externalResults:a||c.vuelidateExternalResults})},{immediate:!0})}),r=u.validationsConfig||r}else{const O=Jt(e)||zY(e)?e:Kn(e||{});We(O,g=>{d.value=sS({validations:g,state:t,childResults:h,resultsCache:f,globalConfig:r,instance:c??{},externalResults:a})},{immediate:!0})}return c&&(p.forEach(O=>O(d,{$registerAs:o,$scope:i,$stopPropagation:s})),Cs(()=>m.forEach(O=>O(o)))),q(()=>Za(Za({},U(d.value)),h.value))}/*! * pinia v2.2.4 * (c) 2024 Eduardo San Martin Morote * @license MIT */let JI;const Bp=e=>JI=e,e7=Symbol();function aS(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var hh;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(hh||(hh={}));function KY(){const e=xO(!0),t=e.run(()=>ge({}));let n=[],r=[];const o=PO({install(i){Bp(o),o._a=i,i.provide(e7,o),i.config.globalProperties.$pinia=o,r.forEach(s=>n.push(s)),r=[]},use(i){return!this._a&&!QY?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const t7=()=>{};function XC(e,t,n,r=t7){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Mp()&&EO(o),o}function lu(e,...t){e.slice().forEach(n=>{n(...t)})}const JY=e=>e(),HC=Symbol(),Dv=Symbol();function lS(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];aS(o)&&aS(r)&&e.hasOwnProperty(n)&&!Jt(r)&&!vs(r)?e[n]=lS(o,r):e[n]=r}return e}const eG=Symbol();function tG(e){return!aS(e)||!e.hasOwnProperty(eG)}const{assign:Ba}=Object;function nG(e){return!!(Jt(e)&&e.effect)}function rG(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=qq(n.state.value[e]);return Ba(u,i,Object.keys(s||{}).reduce((d,f)=>(d[f]=PO(q(()=>{Bp(n);const h=n._s.get(e);return s[f].call(h,h)})),d),{}))}return l=n7(e,c,t,n,r,!0),l}function n7(e,t,n={},r,o,i){let s;const a=Ba({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),ge({});let m;function O(T){let A;c=u=!1,typeof T=="function"?(T(r.state.value[e]),A={type:hh.patchFunction,storeId:e,events:h}):(lS(r.state.value[e],T),A={type:hh.patchObject,payload:T,storeId:e,events:h});const C=m=Symbol();wr().then(()=>{m===C&&(c=!0)}),u=!0,lu(d,A,r.state.value[e])}const g=i?function(){const{state:A}=n,C=A?A():{};this.$patch($=>{Ba($,C)})}:t7;function b(){s.stop(),d=[],f=[],r._s.delete(e)}const v=(T,A="")=>{if(HC in T)return T[Dv]=A,T;const C=function(){Bp(r);const $=Array.from(arguments),E=[],Q=[];function X(ee){E.push(ee)}function Y(ee){Q.push(ee)}lu(f,{args:$,name:C[Dv],store:w,after:X,onError:Y});let B;try{B=T.apply(this&&this.$id===e?this:w,$)}catch(ee){throw lu(Q,ee),ee}return B instanceof Promise?B.then(ee=>(lu(E,ee),ee)).catch(ee=>(lu(Q,ee),Promise.reject(ee))):(lu(E,B),B)};return C[HC]=!0,C[Dv]=A,C},y={_p:r,$id:e,$onAction:XC.bind(null,f),$patch:O,$reset:g,$subscribe(T,A={}){const C=XC(d,T,A.detached,()=>$()),$=s.run(()=>We(()=>r.state.value[e],E=>{(A.flush==="sync"?u:c)&&T({storeId:e,type:hh.direct,events:h},E)},Ba({},l,A)));return C},$dispose:b},w=Kn(y);r._s.set(e,w);const _=(r._a&&r._a.runWithContext||JY)(()=>r._e.run(()=>(s=xO()).run(()=>t({action:v}))));for(const T in _){const A=_[T];if(Jt(A)&&!nG(A)||vs(A))i||(p&&tG(A)&&(Jt(A)?A.value=p[T]:lS(A,p[T])),r.state.value[e][T]=A);else if(typeof A=="function"){const C=v(A,T);_[T]=C,a.actions[T]=A}}return Ba(w,_),Ba(kt(w),_),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:T=>{O(A=>{Ba(A,T)})}}),r._p.forEach(T=>{Ba(w,s.run(()=>T({store:w,app:r._a,pinia:r,options:a})))}),p&&i&&n.hydrate&&n.hydrate(w.$state,p),c=!0,u=!0,w}function oG(e,t,n){let r,o;const i=typeof t=="function";r=e,o=i?n:t;function s(a,l){const c=u2();return a=a||(c?qe(e7,null):null),a&&Bp(a),a=JI,a._s.has(r)||(i?n7(r,t,o,a):rG(r,o,a)),a._s.get(r)}return s.$id=r,s}var iG=Object.defineProperty,sG=(e,t,n)=>t in e?iG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,YC=(e,t,n)=>sG(e,typeof t!="symbol"?t+"":t,n),vf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},aG={exports:{}};(function(e,t){(function(n,r){r()})(vf,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,d){var f=new XMLHttpRequest;f.open("GET",c),f.responseType="blob",f.onload=function(){l(f.response,u,d)},f.onerror=function(){console.error("could not download file")},f.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof vf=="object"&&vf.global===vf?vf:void 0,a=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,u,d){var f=s.URL||s.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?i(h):o(h.href)?r(c,u,d):i(h,h.target="_blank")):(h.href=f.createObjectURL(c),setTimeout(function(){f.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,d){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,d),u);else if(o(c))r(c,u,d);else{var f=document.createElement("a");f.href=c,f.target="_blank",setTimeout(function(){i(f)})}}:function(c,u,d,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,d);var h=c.type==="application/octet-stream",p=/constructor/i.test(s.HTMLElement)||s.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&p||a)&&typeof FileReader<"u"){var O=new FileReader;O.onloadend=function(){var v=O.result;v=m?v:v.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=v:location=v,f=null},O.readAsDataURL(c)}else{var g=s.URL||s.webkitURL,b=g.createObjectURL(c);f?f.location=b:location.href=b,f=null,setTimeout(function(){g.revokeObjectURL(b)},4e4)}});s.saveAs=l.saveAs=l,e.exports=l})})(aG);function r7(e,t){return function(){return e.apply(t,arguments)}}const{toString:lG}=Object.prototype,{getPrototypeOf:T2}=Object,jO=(e=>t=>{const n=lG.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fi=e=>(e=e.toLowerCase(),t=>jO(t)===e),WO=e=>t=>typeof t===e,{isArray:Wd}=Array,qh=WO("undefined");function cG(e){return e!==null&&!qh(e)&&e.constructor!==null&&!qh(e.constructor)&&zo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const o7=Fi("ArrayBuffer");function uG(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&o7(e.buffer),t}const dG=WO("string"),zo=WO("function"),i7=WO("number"),FO=e=>e!==null&&typeof e=="object",fG=e=>e===!0||e===!1,qg=e=>{if(jO(e)!=="object")return!1;const t=T2(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},hG=Fi("Date"),pG=Fi("File"),mG=Fi("Blob"),gG=Fi("FileList"),bG=e=>FO(e)&&zo(e.pipe),OG=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||zo(e.append)&&((t=jO(e))==="formdata"||t==="object"&&zo(e.toString)&&e.toString()==="[object FormData]"))},yG=Fi("URLSearchParams"),[vG,wG,SG,_G]=["ReadableStream","Request","Response","Headers"].map(Fi),kG=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zp(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Wd(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const dc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,a7=e=>!qh(e)&&e!==dc;function cS(){const{caseless:e}=a7(this)&&this||{},t={},n=(r,o)=>{const i=e&&s7(t,o)||o;qg(t[i])&&qg(r)?t[i]=cS(t[i],r):qg(r)?t[i]=cS({},r):Wd(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(zp(t,(o,i)=>{n&&zo(o)?e[i]=r7(o,n):e[i]=o},{allOwnKeys:r}),e),EG=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),TG=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},CG=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&T2(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},PG=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},AG=e=>{if(!e)return null;if(Wd(e))return e;let t=e.length;if(!i7(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},$G=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&T2(Uint8Array)),MG=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},RG=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},IG=Fi("HTMLFormElement"),LG=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),GC=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),NG=Fi("RegExp"),l7=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};zp(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},DG=e=>{l7(e,(t,n)=>{if(zo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(zo(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},QG=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Wd(e)?r(e):r(String(e).split(t)),n},BG=()=>{},zG=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Qv="abcdefghijklmnopqrstuvwxyz",KC="0123456789",c7={DIGIT:KC,ALPHA:Qv,ALPHA_DIGIT:Qv+Qv.toUpperCase()+KC},jG=(e=16,t=c7.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function WG(e){return!!(e&&zo(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const FG=e=>{const t=new Array(10),n=(r,o)=>{if(FO(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Wd(r)?[]:{};return zp(r,(s,a)=>{const l=n(s,o+1);!qh(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},qG=Fi("AsyncFunction"),UG=e=>e&&(FO(e)||zo(e))&&zo(e.then)&&zo(e.catch),u7=((e,t)=>e?setImmediate:t?((n,r)=>(dc.addEventListener("message",({source:o,data:i})=>{o===dc&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),dc.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",zo(dc.postMessage)),ZG=typeof queueMicrotask<"u"?queueMicrotask.bind(dc):typeof process<"u"&&process.nextTick||u7,ae={isArray:Wd,isArrayBuffer:o7,isBuffer:cG,isFormData:OG,isArrayBufferView:uG,isString:dG,isNumber:i7,isBoolean:fG,isObject:FO,isPlainObject:qg,isReadableStream:vG,isRequest:wG,isResponse:SG,isHeaders:_G,isUndefined:qh,isDate:hG,isFile:pG,isBlob:mG,isRegExp:NG,isFunction:zo,isStream:bG,isURLSearchParams:yG,isTypedArray:$G,isFileList:gG,forEach:zp,merge:cS,extend:xG,trim:kG,stripBOM:EG,inherits:TG,toFlatObject:CG,kindOf:jO,kindOfTest:Fi,endsWith:PG,toArray:AG,forEachEntry:MG,matchAll:RG,isHTMLForm:IG,hasOwnProperty:GC,hasOwnProp:GC,reduceDescriptors:l7,freezeMethods:DG,toObjectSet:QG,toCamelCase:LG,noop:BG,toFiniteNumber:zG,findKey:s7,global:dc,isContextDefined:a7,ALPHABET:c7,generateString:jG,isSpecCompliantForm:WG,toJSONObject:FG,isAsyncFn:qG,isThenable:UG,setImmediate:u7,asap:ZG};function ct(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}ae.inherits(ct,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ae.toJSONObject(this.config),code:this.code,status:this.status}}});const d7=ct.prototype,f7={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{f7[e]={value:e}});Object.defineProperties(ct,f7);Object.defineProperty(d7,"isAxiosError",{value:!0});ct.from=(e,t,n,r,o,i)=>{const s=Object.create(d7);return ae.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),ct.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const VG=null;function uS(e){return ae.isPlainObject(e)||ae.isArray(e)}function h7(e){return ae.endsWith(e,"[]")?e.slice(0,-2):e}function JC(e,t,n){return e?e.concat(t).map(function(r,o){return r=h7(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function XG(e){return ae.isArray(e)&&!e.some(uS)}const HG=ae.toFlatObject(ae,{},null,function(e){return/^is[A-Z]/.test(e)});function qO(e,t,n){if(!ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,p){return!ae.isUndefined(p[h])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&ae.isSpecCompliantForm(t);if(!ae.isFunction(o))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(ae.isDate(h))return h.toISOString();if(!a&&ae.isBlob(h))throw new ct("Blob is not supported. Use a Buffer instead.");return ae.isArrayBuffer(h)||ae.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,p,m){let O=h;if(h&&!m&&typeof h=="object"){if(ae.endsWith(p,"{}"))p=r?p:p.slice(0,-2),h=JSON.stringify(h);else if(ae.isArray(h)&&XG(h)||(ae.isFileList(h)||ae.endsWith(p,"[]"))&&(O=ae.toArray(h)))return p=h7(p),O.forEach(function(g,b){!(ae.isUndefined(g)||g===null)&&t.append(s===!0?JC([p],b,i):s===null?p:p+"[]",l(g))}),!1}return uS(h)?!0:(t.append(JC(m,p,i),l(h)),!1)}const u=[],d=Object.assign(HG,{defaultVisitor:c,convertValue:l,isVisitable:uS});function f(h,p){if(!ae.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+p.join("."));u.push(h),ae.forEach(h,function(m,O){(!(ae.isUndefined(m)||m===null)&&o.call(t,m,ae.isString(O)?O.trim():O,p,d))===!0&&f(m,p?p.concat(O):[O])}),u.pop()}}if(!ae.isObject(e))throw new TypeError("data must be an object");return f(e),t}function eP(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function C2(e,t){this._pairs=[],e&&qO(e,this,t)}const p7=C2.prototype;p7.append=function(e,t){this._pairs.push([e,t])};p7.toString=function(e){const t=e?function(n){return e.call(this,n,eP)}:eP;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function YG(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function m7(e,t,n){if(!t)return e;const r=n&&n.encode||YG,o=n&&n.serialize;let i;if(o?i=o(t,n):i=ae.isURLSearchParams(t)?t.toString():new C2(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}let tP=class{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ae.forEach(this.handlers,function(n){n!==null&&t(n)})}};const g7={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},GG=typeof URLSearchParams<"u"?URLSearchParams:C2,KG=typeof FormData<"u"?FormData:null,JG=typeof Blob<"u"?Blob:null,eK={isBrowser:!0,classes:{URLSearchParams:GG,FormData:KG,Blob:JG},protocols:["http","https","file","blob","url","data"]},P2=typeof window<"u"&&typeof document<"u",dS=typeof navigator=="object"&&navigator||void 0,tK=P2&&(!dS||["ReactNative","NativeScript","NS"].indexOf(dS.product)<0),nK=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rK=P2&&window.location.href||"http://localhost",oK=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:P2,hasStandardBrowserEnv:tK,hasStandardBrowserWebWorkerEnv:nK,navigator:dS,origin:rK},Symbol.toStringTag,{value:"Module"})),bo={...oK,...eK};function iK(e,t){return qO(e,new bo.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return bo.isNode&&ae.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function sK(e){return ae.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function aK(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&ae.isArray(o)?o.length:s,l?(ae.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!ae.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&ae.isArray(o[s])&&(o[s]=aK(o[s])),!a)}if(ae.isFormData(e)&&ae.isFunction(e.entries)){const n={};return ae.forEachEntry(e,(r,o)=>{t(sK(r),o,n,0)}),n}return null}function lK(e,t,n){if(ae.isString(e))try{return(t||JSON.parse)(e),ae.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const jp={transitional:g7,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ae.isObject(e);if(o&&ae.isHTMLForm(e)&&(e=new FormData(e)),ae.isFormData(e))return r?JSON.stringify(b7(e)):e;if(ae.isArrayBuffer(e)||ae.isBuffer(e)||ae.isStream(e)||ae.isFile(e)||ae.isBlob(e)||ae.isReadableStream(e))return e;if(ae.isArrayBufferView(e))return e.buffer;if(ae.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return iK(e,this.formSerializer).toString();if((i=ae.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return qO(i?{"files[]":e}:e,s&&new s,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),lK(e)):e}],transformResponse:[function(e){const t=this.transitional||jp.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(ae.isResponse(e)||ae.isReadableStream(e))return e;if(e&&ae.isString(e)&&(n&&!this.responseType||r)){const o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o)throw i.name==="SyntaxError"?ct.from(i,ct.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bo.classes.FormData,Blob:bo.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ae.forEach(["delete","get","head","post","put","patch"],e=>{jp.headers[e]={}});const cK=ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uK=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&cK[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nP=Symbol("internals");function wf(e){return e&&String(e).trim().toLowerCase()}function Ug(e){return e===!1||e==null?e:ae.isArray(e)?e.map(Ug):String(e)}function dK(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const fK=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bv(e,t,n,r,o){if(ae.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ae.isString(t)){if(ae.isString(r))return t.indexOf(r)!==-1;if(ae.isRegExp(r))return r.test(t)}}function hK(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function pK(e,t){const n=ae.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Oo{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const u=wf(l);if(!u)throw new Error("header name must be a non-empty string");const d=ae.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Ug(a))}const s=(a,l)=>ae.forEach(a,(c,u)=>i(c,u,l));if(ae.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(ae.isString(t)&&(t=t.trim())&&!fK(t))s(uK(t),n);else if(ae.isHeaders(t))for(const[a,l]of t.entries())i(l,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=wf(t),t){const r=ae.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return dK(o);if(ae.isFunction(n))return n.call(this,o,r);if(ae.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wf(t),t){const r=ae.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bv(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=wf(s),s){const a=ae.findKey(r,s);a&&(!n||Bv(r,r[a],a,n))&&(delete r[a],o=!0)}}return ae.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Bv(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ae.forEach(this,(o,i)=>{const s=ae.findKey(r,i);if(s){n[s]=Ug(o),delete n[i];return}const a=t?hK(i):String(i).trim();a!==i&&delete n[i],n[a]=Ug(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ae.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ae.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const n=(this[nP]=this[nP]={accessors:{}}).accessors,r=this.prototype;function o(i){const s=wf(i);n[s]||(pK(r,i),n[s]=!0)}return ae.isArray(t)?t.forEach(o):o(t),this}}Oo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ae.reduceDescriptors(Oo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ae.freezeMethods(Oo);function zv(e,t){const n=this||jp,r=t||n,o=Oo.from(r.headers);let i=r.data;return ae.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function O7(e){return!!(e&&e.__CANCEL__)}function Fd(e,t,n){ct.call(this,e??"canceled",ct.ERR_CANCELED,t,n),this.name="CanceledError"}ae.inherits(Fd,ct,{__CANCEL__:!0});function y7(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ct("Request failed with status code "+n.status,[ct.ERR_BAD_REQUEST,ct.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function mK(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gK(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const l=Date.now(),c=r[i];s||(s=l),n[o]=a,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u=u%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-s{n=l,o=null,i&&(clearTimeout(i),i=null),e.apply(null,a)};return[(...a)=>{const l=Date.now(),c=l-n;c>=r?s(a,l):(o=a,i||(i=setTimeout(()=>{i=null,s(o)},r-c)))},()=>o&&s(o)]}const Vb=(e,t,n=3)=>{let r=0;const o=gK(50,250);return bK(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-r,c=o(l),u=s<=a;r=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},rP=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},oP=e=>(...t)=>ae.asap(()=>e(...t)),OK=bo.hasStandardBrowserEnv?function(){const e=bo.navigator&&/(msie|trident)/i.test(bo.navigator.userAgent),t=document.createElement("a");let n;function r(o){let i=o;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(o){const i=ae.isString(o)?r(o):o;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),yK=bo.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];ae.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),ae.isString(r)&&s.push("path="+r),ae.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vK(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wK(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function v7(e,t){return e&&!vK(t)?wK(e,t):t}const iP=e=>e instanceof Oo?{...e}:e;function $c(e,t){t=t||{};const n={};function r(c,u,d){return ae.isPlainObject(c)&&ae.isPlainObject(u)?ae.merge.call({caseless:d},c,u):ae.isPlainObject(u)?ae.merge({},u):ae.isArray(u)?u.slice():u}function o(c,u,d){if(ae.isUndefined(u)){if(!ae.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ae.isUndefined(u))return r(void 0,u)}function s(c,u){if(ae.isUndefined(u)){if(!ae.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>o(iP(c),iP(u),!0)};return ae.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=l[c]||o,d=u(e[c],t[c],c);ae.isUndefined(d)&&u!==a||(n[c]=d)}),n}const w7=e=>{const t=$c({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;t.headers=s=Oo.from(s),t.url=m7(v7(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(ae.isFormData(n)){if(bo.hasStandardBrowserEnv||bo.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...u].join("; "))}}if(bo.hasStandardBrowserEnv&&(r&&ae.isFunction(r)&&(r=r(t)),r||r!==!1&&OK(t.url))){const c=o&&i&&yK.read(i);c&&s.set(o,c)}return t},SK=typeof XMLHttpRequest<"u",_K=SK&&function(e){return new Promise(function(t,n){const r=w7(e);let o=r.data;const i=Oo.from(r.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:l}=r,c,u,d,f,h;function p(){f&&f(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function O(){if(!m)return;const b=Oo.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:b,config:e,request:m};y7(function(y){t(y),p()},function(y){n(y),p()},v),m=null}"onloadend"in m?m.onloadend=O:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(O)},m.onabort=function(){m&&(n(new ct("Request aborted",ct.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new ct("Network Error",ct.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const v=r.transitional||g7;r.timeoutErrorMessage&&(b=r.timeoutErrorMessage),n(new ct(b,v.clarifyTimeoutError?ct.ETIMEDOUT:ct.ECONNABORTED,e,m)),m=null},o===void 0&&i.setContentType(null),"setRequestHeader"in m&&ae.forEach(i.toJSON(),function(b,v){m.setRequestHeader(v,b)}),ae.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),l&&([d,h]=Vb(l,!0),m.addEventListener("progress",d)),a&&m.upload&&([u,f]=Vb(a),m.upload.addEventListener("progress",u),m.upload.addEventListener("loadend",f)),(r.cancelToken||r.signal)&&(c=b=>{m&&(n(!b||b.type?new Fd(null,e,m):b),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const g=mK(r.url);if(g&&bo.protocols.indexOf(g)===-1){n(new ct("Unsupported protocol "+g+":",ct.ERR_BAD_REQUEST,e));return}m.send(o||null)})},kK=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ct?u:new Fd(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new ct(`timeout ${t} of ms exceeded`,ct.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>ae.asap(a),l}},xK=function*(e,t){let n=e.byteLength;if(n{const o=EK(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},UO=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",S7=UO&&typeof ReadableStream=="function",CK=UO&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_7=(e,...t)=>{try{return!!e(...t)}catch{return!1}},PK=S7&&_7(()=>{let e=!1;const t=new Request(bo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),aP=64*1024,fS=S7&&_7(()=>ae.isReadableStream(new Response("").body)),Xb={stream:fS&&(e=>e.body)};UO&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Xb[t]&&(Xb[t]=ae.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ct(`Response type '${t}' is not supported`,ct.ERR_NOT_SUPPORT,r)})})})(new Response);const AK=async e=>{if(e==null)return 0;if(ae.isBlob(e))return e.size;if(ae.isSpecCompliantForm(e))return(await new Request(bo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(ae.isArrayBufferView(e)||ae.isArrayBuffer(e))return e.byteLength;if(ae.isURLSearchParams(e)&&(e=e+""),ae.isString(e))return(await CK(e)).byteLength},$K=async(e,t)=>ae.toFiniteNumber(e.getContentLength())??AK(t),MK=UO&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=w7(e);c=c?(c+"").toLowerCase():"text";let h=kK([o,i&&i.toAbortSignal()],s),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let O;try{if(l&&PK&&n!=="get"&&n!=="head"&&(O=await $K(u,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(ae.isFormData(r)&&(S=w.headers.get("content-type"))&&u.setContentType(S),w.body){const[_,T]=rP(O,Vb(oP(l)));r=sP(w.body,aP,_,T)}}ae.isString(d)||(d=d?"include":"omit");const g="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:g?d:void 0});let b=await fetch(p);const v=fS&&(c==="stream"||c==="response");if(fS&&(a||v&&m)){const w={};["status","statusText","headers"].forEach(A=>{w[A]=b[A]});const S=ae.toFiniteNumber(b.headers.get("content-length")),[_,T]=a&&rP(S,Vb(oP(a),!0))||[];b=new Response(sP(b.body,aP,_,()=>{T&&T(),m&&m()}),w)}c=c||"text";let y=await Xb[ae.findKey(Xb,c)||"text"](b,e);return!v&&m&&m(),await new Promise((w,S)=>{y7(w,S,{data:y,headers:Oo.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:p})})}catch(g){throw m&&m(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new ct("Network Error",ct.ERR_NETWORK,e,p),{cause:g.cause||g}):ct.from(g,g&&g.code,e,p)}}),hS={http:VG,xhr:_K,fetch:MK};ae.forEach(hS,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lP=e=>`- ${e}`,RK=e=>ae.isFunction(e)||e===null||e===!1,k7={getAdapter:e=>{e=ae.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(lP).join(` `):" "+lP(i[0]):"as no adapter specified";throw new ct("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:hS};function jv(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fd(null,e)}function cP(e){return jv(e),e.headers=Oo.from(e.headers),e.data=zv.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),k7.getAdapter(e.adapter||jp.adapter)(e).then(function(t){return jv(e),t.data=zv.call(e,e.transformResponse,t),t.headers=Oo.from(t.headers),t},function(t){return O7(t)||(jv(e),t&&t.response&&(t.response.data=zv.call(e,e.transformResponse,t.response),t.response.headers=Oo.from(t.response.headers))),Promise.reject(t)})}const x7="1.7.7",A2={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{A2[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const uP={};A2.transitional=function(e,t,n){function r(o,i){return"[Axios v"+x7+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,s)=>{if(e===!1)throw new ct(r(i," has been removed"+(t?" in "+t:"")),ct.ERR_DEPRECATED);return t&&!uP[i]&&(uP[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,i,s):!0}};function IK(e,t,n){if(typeof e!="object")throw new ct("options must be an object",ct.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new ct("option "+i+" must be "+l,ct.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ct("Unknown option "+i,ct.ERR_BAD_OPTION)}}const pS={assertOptions:IK,validators:A2},Ma=pS.validators;let _c=class{constructor(t){this.defaults=t,this.interceptors={request:new tP,response:new tP}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$c(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&pS.assertOptions(r,{silentJSONParsing:Ma.transitional(Ma.boolean),forcedJSONParsing:Ma.transitional(Ma.boolean),clarifyTimeoutError:Ma.transitional(Ma.boolean)},!1),o!=null&&(ae.isFunction(o)?n.paramsSerializer={serialize:o}:pS.assertOptions(o,{encode:Ma.function,serialize:Ma.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&ae.merge(i.common,i[n.method]);i&&ae.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Oo.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!l){const p=[cP.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(o,i,s){r.reason||(r.reason=new Fd(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new E7(function(n){t=n}),cancel:t}}};function NK(e){return function(t){return e.apply(null,t)}}function DK(e){return ae.isObject(e)&&e.isAxiosError===!0}const mS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mS).forEach(([e,t])=>{mS[t]=e});function T7(e){const t=new _c(e),n=r7(_c.prototype.request,t);return ae.extend(n,_c.prototype,t,{allOwnKeys:!0}),ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return T7($c(e,r))},n}const tr=T7(jp);tr.Axios=_c;tr.CanceledError=Fd;tr.CancelToken=LK;tr.isCancel=O7;tr.VERSION=x7;tr.toFormData=qO;tr.AxiosError=ct;tr.Cancel=tr.CanceledError;tr.all=function(e){return Promise.all(e)};tr.spread=NK;tr.isAxiosError=DK;tr.mergeConfig=$c;tr.AxiosHeaders=Oo;tr.formToJSON=e=>b7(ae.isHTMLForm(e)?new FormData(e):e);tr.getAdapter=k7.getAdapter;tr.HttpStatusCode=mS;tr.default=tr;function C7(e){return Mp()?(EO(e),!0):!1}function Hb(e){return typeof e=="function"?e():U(e)}const QK=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const BK=Object.prototype.toString,zK=e=>BK.call(e)==="[object Object]",jK=()=>{},WK=QK?window:void 0;function FK(e){var t;const n=Hb(e);return(t=n==null?void 0:n.$el)!=null?t:n}function qK(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=WK):[t,n,r,o]=e,!t)return jK;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=We(()=>[FK(t),Hb(o)],([u,d])=>{if(s(),!u)return;const f=zK(d)?{...d}:d;i.push(...n.flatMap(h=>r.map(p=>a(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return C7(c),c}var P7=typeof global=="object"&&global&&global.Object===Object&&global,UK=typeof self=="object"&&self&&self.Object===Object&&self,As=P7||UK||Function("return this")(),ad=As.Symbol,A7=Object.prototype,ZK=A7.hasOwnProperty,VK=A7.toString,Sf=ad?ad.toStringTag:void 0;function XK(e){var t=ZK.call(e,Sf),n=e[Sf];try{e[Sf]=void 0;var r=!0}catch{}var o=VK.call(e);return r&&(t?e[Sf]=n:delete e[Sf]),o}var HK=Object.prototype,YK=HK.toString;function GK(e){return YK.call(e)}var KK="[object Null]",JK="[object Undefined]",dP=ad?ad.toStringTag:void 0;function Wp(e){return e==null?e===void 0?JK:KK:dP&&dP in Object(e)?XK(e):GK(e)}function Fp(e){return e!=null&&typeof e=="object"}var $2=Array.isArray;function ZO(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var eJ="[object AsyncFunction]",tJ="[object Function]",nJ="[object GeneratorFunction]",rJ="[object Proxy]";function $7(e){if(!ZO(e))return!1;var t=Wp(e);return t==tJ||t==nJ||t==eJ||t==rJ}var Wv=As["__core-js_shared__"],fP=function(){var e=/[^.]+$/.exec(Wv&&Wv.keys&&Wv.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oJ(e){return!!fP&&fP in e}var iJ=Function.prototype,sJ=iJ.toString;function Uc(e){if(e!=null){try{return sJ.call(e)}catch{}try{return e+""}catch{}}return""}var aJ=/[\\^$.*+?()[\]{}|]/g,lJ=/^\[object .+?Constructor\]$/,cJ=Function.prototype,uJ=Object.prototype,dJ=cJ.toString,fJ=uJ.hasOwnProperty,hJ=RegExp("^"+dJ.call(fJ).replace(aJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pJ(e){if(!ZO(e)||oJ(e))return!1;var t=$7(e)?hJ:lJ;return t.test(Uc(e))}function mJ(e,t){return e==null?void 0:e[t]}function Zc(e,t){var n=mJ(e,t);return pJ(n)?n:void 0}var gS=Zc(As,"WeakMap"),hP=Object.create,gJ=function(){function e(){}return function(t){if(!ZO(t))return{};if(hP)return hP(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),pP=function(){try{var e=Zc(Object,"defineProperty");return e({},"",{}),e}catch{}}();function bJ(e,t){for(var n=-1,r=e==null?0:e.length;++n-1&&e%1==0&&e-1&&e%1==0&&e<=xJ}function EJ(e){return e!=null&&R7(e.length)&&!$7(e)}var TJ=Object.prototype;function I7(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||TJ;return e===n}function CJ(e,t){for(var n=-1,r=Array(e);++n-1}function Iee(e,t){var n=this.__data__,r=VO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function _a(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{let n=e;Array.isArray(n)&&(n=[...n].sort());let r=t;return Array.isArray(r)&&(r=[...r].sort()),JSON.stringify(n)===JSON.stringify(r)};function One(e,t){return e in t}function yne(e,t,n={}){const r={};for(const o in t){if(n[o]==="exclude")continue;if(n[o]==="include"){r[o]=t[o];continue}if(t[o]===void 0)continue;const i=One(o,e)?e[o]:void 0,s=t[o];(n[o]||bne)(i,s)||(r[o]=s)}return r}function q7(e){e!==void 0&&(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{e[t]!==null&&typeof e[t]=="object"&&!Object.isFrozen(e[t])&&q7(e[t])}))}function vne(e){return q7(e.data),e}function Yb(e){"@babel/helpers - typeof";return Yb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yb(e)}var wne=/^\s+/,Sne=/\s+$/;function Be(e,t){if(e=e||"",t=t||{},e instanceof Be)return e;if(!(this instanceof Be))return new Be(e,t);var n=_ne(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}Be.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),t,n,r,o,i,s;return t=e.r/255,n=e.g/255,r=e.b/255,t<=.03928?o=t/12.92:o=Math.pow((t+.055)/1.055,2.4),n<=.03928?i=n/12.92:i=Math.pow((n+.055)/1.055,2.4),r<=.03928?s=r/12.92:s=Math.pow((r+.055)/1.055,2.4),.2126*o+.7152*i+.0722*s},setAlpha:function(e){return this._a=U7(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=IP(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=IP(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=RP(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=RP(this._r,this._g,this._b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return LP(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return Tne(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(yn(this._r,255)*100)+"%",g:Math.round(yn(this._g,255)*100)+"%",b:Math.round(yn(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(yn(this._r,255)*100)+"%, "+Math.round(yn(this._g,255)*100)+"%, "+Math.round(yn(this._b,255)*100)+"%)":"rgba("+Math.round(yn(this._r,255)*100)+"%, "+Math.round(yn(this._g,255)*100)+"%, "+Math.round(yn(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Bne[LP(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t="#"+NP(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Be(e);n="#"+NP(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,o=!t&&r&&(e==="hex"||e==="hex6"||e==="hex3"||e==="hex4"||e==="hex8"||e==="name");return o?e==="name"&&this._a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return Be(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification($ne,arguments)},brighten:function(){return this._applyModification(Mne,arguments)},darken:function(){return this._applyModification(Rne,arguments)},desaturate:function(){return this._applyModification(Cne,arguments)},saturate:function(){return this._applyModification(Pne,arguments)},greyscale:function(){return this._applyModification(Ane,arguments)},spin:function(){return this._applyModification(Ine,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Dne,arguments)},complement:function(){return this._applyCombination(Lne,arguments)},monochromatic:function(){return this._applyCombination(Qne,arguments)},splitcomplement:function(){return this._applyCombination(Nne,arguments)},triad:function(){return this._applyCombination(DP,[3])},tetrad:function(){return this._applyCombination(DP,[4])}};Be.fromRatio=function(e,t){if(Yb(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?n[r]=e[r]:n[r]=Uf(e[r]));e=n}return Be(e,t)};function _ne(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,s=!1,a=!1;return typeof e=="string"&&(e=Fne(e)),Yb(e)=="object"&&(Ds(e.r)&&Ds(e.g)&&Ds(e.b)?(t=kne(e.r,e.g,e.b),s=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ds(e.h)&&Ds(e.s)&&Ds(e.v)?(r=Uf(e.s),o=Uf(e.v),t=Ene(e.h,r,o),s=!0,a="hsv"):Ds(e.h)&&Ds(e.s)&&Ds(e.l)&&(r=Uf(e.s),i=Uf(e.l),t=xne(e.h,r,i),s=!0,a="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=U7(n),{ok:s,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function kne(e,t,n){return{r:yn(e,255)*255,g:yn(t,255)*255,b:yn(n,255)*255}}function RP(e,t,n){e=yn(e,255),t=yn(t,255),n=yn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,s,a=(r+o)/2;if(r==o)i=s=0;else{var l=r-o;switch(s=a>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(d-=1),d<1/6?c+(u-c)*6*d:d<1/2?u:d<2/3?c+(u-c)*(2/3-d)*6:c}if(t===0)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=s(l,a,e+1/3),o=s(l,a,e),i=s(l,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function IP(e,t,n){e=yn(e,255),t=yn(t,255),n=yn(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i,s,a=r,l=r-o;if(s=r===0?0:l/r,r==o)i=0;else{switch(r){case e:i=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(Be(r));return i}function Qne(e,t){t=t||6;for(var n=Be(e).toHsv(),r=n.h,o=n.s,i=n.v,s=[],a=1/t;t--;)s.push(Be({h:r,s:o,v:i})),i=(i+a)%1;return s}Be.mix=function(e,t,n){n=n===0?0:n||50;var r=Be(e).toRgb(),o=Be(t).toRgb(),i=n/100,s={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return Be(s)};Be.readability=function(e,t){var n=Be(e),r=Be(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)};Be.isReadable=function(e,t,n){var r=Be.readability(e,t),o,i;switch(i=!1,o=qne(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=r>=4.5;break;case"AAlarge":i=r>=3;break;case"AAAsmall":i=r>=7;break}return i};Be.mostReadable=function(e,t,n){var r=null,o=0,i,s,a,l;n=n||{},s=n.includeFallbackColors,a=n.level,l=n.size;for(var c=0;co&&(o=i,r=Be(t[c]));return Be.isReadable(e,r,{level:a,size:l})||!s?r:(n.includeFallbackColors=!1,Be.mostReadable(e,["#fff","#000"],n))};var vS=Be.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Bne=Be.hexNames=zne(vS);function zne(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function U7(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function yn(e,t){jne(e)&&(e="100%");var n=Wne(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function HO(e){return Math.min(1,Math.max(0,e))}function To(e){return parseInt(e,16)}function jne(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function Wne(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Ti(e){return e.length==1?"0"+e:""+e}function Uf(e){return e<=1&&(e=e*100+"%"),e}function Z7(e){return Math.round(parseFloat(e)*255).toString(16)}function QP(e){return To(e)/255}var vi=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ds(e){return!!vi.CSS_UNIT.exec(e)}function Fne(e){e=e.replace(wne,"").replace(Sne,"").toLowerCase();var t=!1;if(vS[e])e=vS[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=vi.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=vi.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=vi.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=vi.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=vi.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=vi.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=vi.hex8.exec(e))?{r:To(n[1]),g:To(n[2]),b:To(n[3]),a:QP(n[4]),format:t?"name":"hex8"}:(n=vi.hex6.exec(e))?{r:To(n[1]),g:To(n[2]),b:To(n[3]),format:t?"name":"hex"}:(n=vi.hex4.exec(e))?{r:To(n[1]+""+n[1]),g:To(n[2]+""+n[2]),b:To(n[3]+""+n[3]),a:QP(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=vi.hex3.exec(e))?{r:To(n[1]+""+n[1]),g:To(n[2]+""+n[2]),b:To(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function qne(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}function Une(e){return wS(e)?"#ffffff":"#000000"}function wS(e){return Be.isReadable("#fff",e)}function Gb(e,t){const{r:n,g:r,b:o,a:i}=Be(e).toRgb();return Be({r:n-n*t,g:r-r*t,b:o-o*t,a:i}).toString("hex6")}function qv(e,t){const{r:n,g:r,b:o,a:i}=Be(e).toRgb();return Be({r:n+(255-n)*t,g:r+(255-r)*t,b:o+(255-o)*t,a:i}).toString("hex6")}function Fm(e){return t=>Object.keys(t).some(n=>e[n]===t[n])}const J7e={isMailchimp:Fm({directoryId:"380f17d2-140a-428d-a31c-21ee9e4ccaab",vendorId:"d9d2d02b-c84c-4dbf-8702-b4c50bae5f0a"}),isMailchimpProfile:Fm({directoryId:"a71925e1-6a6c-4ceb-87d1-a204bee4e10e",vendorId:"c36e6669-bd08-4885-8055-45d6fa3d2c7a"}),isBluevine:Fm({genericDirectoryId:null,directoryId:"f373d7b8-ec9c-40ef-9fa0-2584d70f1d61",vendorId:"cb45a022-e12e-4009-8d83-8e7718afc79d"}),isGlide:Fm({directoryId:"4e420d00-87d0-4e00-bb01-68cb44fb7f3c",vendorId:"a0b4ffae-88cb-4b3c-8d95-052f8e823bf0"})},V7=6048e5,Zne=864e5,BP=Symbol.for("constructDateFrom");function yl(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&BP in e?e[BP](t):e instanceof Date?new e.constructor(t):new Date(t)}function qi(e,t){return yl(t||e,e)}let Vne={};function YO(){return Vne}function Vh(e,t){var n,r,o,i;const s=YO(),a=(t==null?void 0:t.weekStartsOn)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.weekStartsOn)??s.weekStartsOn??((i=(o=s.locale)==null?void 0:o.options)==null?void 0:i.weekStartsOn)??0,l=qi(e,t==null?void 0:t.in),c=l.getDay(),u=(c=i.getTime()?r+1:n.getTime()>=a.getTime()?r:r-1}function zP(e){const t=qi(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Xne(e,...t){const n=yl.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function jP(e,t){const n=qi(e,void 0);return n.setHours(0,0,0,0),n}function Hne(e,t,n){const[r,o]=Xne(void 0,e,t),i=jP(r),s=jP(o),a=+i-zP(i),l=+s-zP(s);return Math.round((a-l)/Zne)}function Yne(e,t){const n=X7(e),r=yl(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Kb(r)}function Gne(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Kne(e){return!(!Gne(e)&&typeof e!="number"||isNaN(+qi(e)))}function Jne(e,t){const n=qi(e,void 0);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const ere={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tre=(e,t,n)=>{let r;const o=ere[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Uv(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const nre={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rre={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ore={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ire={date:Uv({formats:nre,defaultWidth:"full"}),time:Uv({formats:rre,defaultWidth:"full"}),dateTime:Uv({formats:ore,defaultWidth:"full"})},sre={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},are=(e,t,n,r)=>sre[e];function _f(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):s;o=e.formattingValues[a]||e.formattingValues[s]}else{const s=e.defaultWidth,a=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[a]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const lre={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cre={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ure={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dre={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},fre={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},hre={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},pre=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},mre={ordinalNumber:pre,era:_f({values:lre,defaultWidth:"wide"}),quarter:_f({values:cre,defaultWidth:"wide",argumentCallback:e=>e-1}),month:_f({values:ure,defaultWidth:"wide"}),day:_f({values:dre,defaultWidth:"wide"}),dayPeriod:_f({values:fre,defaultWidth:"wide",formattingValues:hre,defaultFormattingWidth:"wide"})};function kf(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const s=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?bre(a,d=>d.test(s)):gre(a,d=>d.test(s));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(s.length);return{value:c,rest:u}}}function gre(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function bre(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const a=t.slice(o.length);return{value:s,rest:a}}}const yre=/^(\d+)(th|st|nd|rd)?/i,vre=/\d+/i,wre={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Sre={any:[/^b/i,/^(a|c)/i]},_re={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kre={any:[/1/i,/2/i,/3/i,/4/i]},xre={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ere={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tre={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Cre={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Pre={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Are={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$re={ordinalNumber:Ore({matchPattern:yre,parsePattern:vre,valueCallback:e=>parseInt(e,10)}),era:kf({matchPatterns:wre,defaultMatchWidth:"wide",parsePatterns:Sre,defaultParseWidth:"any"}),quarter:kf({matchPatterns:_re,defaultMatchWidth:"wide",parsePatterns:kre,defaultParseWidth:"any",valueCallback:e=>e+1}),month:kf({matchPatterns:xre,defaultMatchWidth:"wide",parsePatterns:Ere,defaultParseWidth:"any"}),day:kf({matchPatterns:Tre,defaultMatchWidth:"wide",parsePatterns:Cre,defaultParseWidth:"any"}),dayPeriod:kf({matchPatterns:Pre,defaultMatchWidth:"any",parsePatterns:Are,defaultParseWidth:"any"})},Mre={code:"en-US",formatDistance:tre,formatLong:ire,formatRelative:are,localize:mre,match:$re,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Rre(e,t){const n=qi(e,void 0);return Hne(n,Jne(n))+1}function Ire(e,t){const n=qi(e,void 0),r=+Kb(n)-+Yne(n);return Math.round(r/V7)+1}function H7(e,t){var n,r,o,i;const s=qi(e,t==null?void 0:t.in),a=s.getFullYear(),l=YO(),c=(t==null?void 0:t.firstWeekContainsDate)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.firstWeekContainsDate)??l.firstWeekContainsDate??((i=(o=l.locale)==null?void 0:o.options)==null?void 0:i.firstWeekContainsDate)??1,u=yl((t==null?void 0:t.in)||e,0);u.setFullYear(a+1,0,c),u.setHours(0,0,0,0);const d=Vh(u,t),f=yl((t==null?void 0:t.in)||e,0);f.setFullYear(a,0,c),f.setHours(0,0,0,0);const h=Vh(f,t);return+s>=+d?a+1:+s>=+h?a:a-1}function Lre(e,t){var n,r,o,i;const s=YO(),a=(t==null?void 0:t.firstWeekContainsDate)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.firstWeekContainsDate)??s.firstWeekContainsDate??((i=(o=s.locale)==null?void 0:o.options)==null?void 0:i.firstWeekContainsDate)??1,l=H7(e,t),c=yl((t==null?void 0:t.in)||e,0);return c.setFullYear(l,0,a),c.setHours(0,0,0,0),Vh(c,t)}function Nre(e,t){const n=qi(e,t==null?void 0:t.in),r=+Vh(n,t)-+Lre(n,t);return Math.round(r/V7)+1}function Qt(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Ra={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Qt(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Qt(n+1,2)},d(e,t){return Qt(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Qt(e.getHours()%12||12,t.length)},H(e,t){return Qt(e.getHours(),t.length)},m(e,t){return Qt(e.getMinutes(),t.length)},s(e,t){return Qt(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Qt(o,t.length)}},cu={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},WP={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Ra.y(e,t)},Y:function(e,t,n,r){const o=H7(e,r),i=o>0?o:1-o;if(t==="YY"){const s=i%100;return Qt(s,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):Qt(i,t.length)},R:function(e,t){const n=X7(e);return Qt(n,t.length)},u:function(e,t){const n=e.getFullYear();return Qt(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Qt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Qt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Ra.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Qt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=Nre(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Qt(o,t.length)},I:function(e,t,n){const r=Ire(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Qt(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Ra.d(e,t)},D:function(e,t,n){const r=Rre(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Qt(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Qt(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Qt(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Qt(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=cu.noon:r===0?o=cu.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=cu.evening:r>=12?o=cu.afternoon:r>=4?o=cu.morning:o=cu.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Ra.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Ra.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Qt(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Qt(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Ra.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Ra.s(e,t)},S:function(e,t){return Ra.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return qP(r);case"XXXX":case"XX":return rc(r);case"XXXXX":case"XXX":default:return rc(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return qP(r);case"xxxx":case"xx":return rc(r);case"xxxxx":case"xxx":default:return rc(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+FP(r,":");case"OOOO":default:return"GMT"+rc(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+FP(r,":");case"zzzz":default:return"GMT"+rc(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Qt(r,t.length)},T:function(e,t,n){return Qt(+e,t.length)}};function FP(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+Qt(i,2)}function qP(e,t){return e%60===0?(e>0?"-":"+")+Qt(Math.abs(e)/60,2):rc(e,t)}function rc(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Qt(Math.trunc(r/60),2),i=Qt(r%60,2);return n+o+t+i}const UP=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Y7=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Dre=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return UP(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",UP(r,t)).replace("{{time}}",Y7(o,t))},Qre={p:Y7,P:Dre},Bre=/^D+$/,zre=/^Y+$/,jre=["D","DD","YY","YYYY"];function Wre(e){return Bre.test(e)}function Fre(e){return zre.test(e)}function qre(e,t,n){const r=Ure(e,t,n);if(console.warn(r),jre.includes(e))throw new RangeError(r)}function Ure(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Zre=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vre=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xre=/^'([^]*?)'?$/,Hre=/''/g,Yre=/[a-zA-Z]/;function Gre(e,t,n){var r,o,i,s;const a=YO(),l=a.locale??Mre,c=a.firstWeekContainsDate??((o=(r=a.locale)==null?void 0:r.options)==null?void 0:o.firstWeekContainsDate)??1,u=a.weekStartsOn??((s=(i=a.locale)==null?void 0:i.options)==null?void 0:s.weekStartsOn)??0,d=qi(e,void 0);if(!Kne(d))throw new RangeError("Invalid time value");let f=t.match(Vre).map(p=>{const m=p[0];if(m==="p"||m==="P"){const O=Qre[m];return O(p,l.formatLong)}return p}).join("").match(Zre).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const m=p[0];if(m==="'")return{isToken:!1,value:Kre(p)};if(WP[m])return{isToken:!0,value:p};if(m.match(Yre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:p}});l.localize.preprocessor&&(f=l.localize.preprocessor(d,f));const h={firstWeekContainsDate:c,weekStartsOn:u,locale:l};return f.map(p=>{if(!p.isToken)return p.value;const m=p.value;(Fre(m)||Wre(m))&&qre(m,t,String(e));const O=WP[m[0]];return O(d,m,l.localize,h)}).join("")}function Kre(e){const t=e.match(Xre);return t?t[1].replace(Hre,"'"):e}function Jre(e,t){return Gre(e,t)}function eLe(e){return Jre(e,"MMM dd, yyyy")}function tLe(e,t){return!e.order&&e.order!==0?-1:!t.order&&t.order!==0?1:!e&&!t?0:e.order-t.order}function eoe(e,t,n={}){return Object.keys(yne(e,t,n)).length>0}const nLe={text:e=>e||"",boolean:e=>e||!1,file:e=>e||null,select:e=>e||null};function toe(){const e=document.createElement("script");e.setAttribute("type","text/javascript"),e.text='(function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"fpState")&&(j=JSON.parse(decodeURIComponent(d(f,"fpState"))),"fpeditor"===j.action&&(b.sessionStorage.setItem("_fpcehash",f),history.replaceState(j.desiredHash||"",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.freshpaint=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments,0)))}}var e=a;"undefined"!==typeof g?e=a[g]=[]:g="freshpaint";e.people=e.people||[];e.toString=function(b){var a="freshpaint";"freshpaint"!==g&&(a+="."+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove people group page alias ready addEventProperties addInitialEventProperties removeEventProperty addPageviewProperties".split(" ");for(h=0;hr.index||0);t.unshift(-1);const n=SS(t,0,t.length);return r=>G7(n,r)}function SS(e,t,n){if(n-t==1)return{offset:e[t],index:t+1};const r=Math.ceil((t+n)/2),o=SS(e,t,r),i=SS(e,r,n);return{offset:o.offset,low:o,high:i}}function G7(e,t){return function(n){return Object.prototype.hasOwnProperty.call(n,"index")}(e)?{line:e.index,column:t-e.offset}:G7(e.high.offset({line:0,column:0});let u=l;const d=[];e:for(;u0){if(!h.discard){const m=c(u),O=typeof h.replace=="string"?p[0].replace(new RegExp(h.regex.source,h.regex.flags),h.replace):p[0];d.push({state:o,name:h.name,text:O,offset:u,len:p[0].length,line:m.line,column:m.column})}if(u=h.regex.lastIndex,f=!0,h.push){const m=h.push(a,u);d.push(...m.tokens),u=m.offset}if(h.pop)break e;break}}if(!f)break}return{tokens:d,offset:u,complete:a.length<=u}}}function ioe(e,t){return{...e,regex:soe(e,t)}}function soe(e,t){if(e.name.length===0)throw new Error(`Rule #${t} has empty name, which is not allowed.`);if(function(n){return Object.prototype.hasOwnProperty.call(n,"regex")}(e))return function(n){if(n.global)throw new Error(`Regular expression /${n.source}/${n.flags} contains the global flag, which is not allowed.`);return n.sticky?n:new RegExp(n.source,n.flags+"y")}(e.regex);if(function(n){return Object.prototype.hasOwnProperty.call(n,"str")}(e)){if(e.str.length===0)throw new Error(`Rule #${t} ("${e.name}") has empty "str" property, which is not allowed.`);return new RegExp(ZP(e.str),"y")}return new RegExp(ZP(e.name),"y")}function ZP(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function ka(e,t){return(n,r)=>{let o=r,i;return rI2(e(n,r),(o,i)=>t(o,n,r,i))}function Jb(e,t){return(n,r)=>{const o=e(n,r);return o.matched?o:{matched:!0,position:r,value:t}}}function L2(...e){return(t,n)=>{for(const r of e){const o=r(t,n);if(o.matched)return o}return{matched:!1}}}function Zd(e,t){return(n,r)=>{const o=e(n,r);return o.matched?o:t(n,r)}}function aoe(e,t){return(n,r)=>{const o=[];let i=!0;do{const s=e(n,r);s.matched&&t(s.value,o.length+1,n,r,s.position)?(o.push(s.value),r=s.position):i=!1}while(i);return{matched:!0,position:r,value:o}}}function N2(e){return aoe(e,()=>!0)}function loe(e){return Io(e,N2(e),(t,n)=>[t,...n])}function Io(e,t,n){return(r,o)=>_S(e(r,o),i=>I2(t(r,i.position),(s,a)=>n(i.value,s,r,o,a)))}function coe(e,t){return Io(e,t,n=>n)}function VP(e,t){return Io(e,t,(n,r)=>r)}function D2(e,t,n,r){return(o,i)=>_S(e(o,i),s=>_S(t(o,s.position),a=>I2(n(o,a.position),(l,c)=>r(s.value,a.value,l,o,i,c))))}function J7(e,t,n){return D2(e,t,n,(r,o)=>o)}function uoe(...e){return(t,n)=>{const r=[];let o=n;for(const i of e){const s=i(t,o);if(s.matched)r.push(s.value),o=s.position;else return{matched:!1}}return{matched:!0,position:o,value:r}}}function doe(...e){return foe(uoe(...e))}function foe(e){return $l(e,t=>t.flatMap(n=>n))}const hoe="(?:[ \\t\\r\\n\\f]*)",eL="(?:\\n|\\r\\n|\\r|\\f)",GO="[^\\x00-\\x7F]",qp="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",Up="(?:\\\\[^\\n\\r\\f0-9a-f])",poe=`(?:[_a-z]|${GO}|${qp}|${Up})`,tL=`(?:[_a-z0-9-]|${GO}|${qp}|${Up})`,moe=`(?:${tL}+)`,goe=`(?:[-]?${poe}${tL}*)`,boe=`'([^\\n\\r\\f\\\\']|\\\\${eL}|${GO}|${qp}|${Up})*'`,Ooe=`"([^\\n\\r\\f\\\\"]|\\\\${eL}|${GO}|${qp}|${Up})*"`;K7([{name:"ws",regex:new RegExp(hoe)},{name:"hash",regex:new RegExp(`#${moe}`,"i")},{name:"ident",regex:new RegExp(goe,"i")},{name:"str1",regex:new RegExp(boe,"i")},{name:"str2",regex:new RegExp(Ooe,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]);const yoe=K7([{name:"unicode",regex:new RegExp(qp,"i")},{name:"escape",regex:new RegExp(Up,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function voe([e,t,n],[r,o,i]){return[e+r,t+o,n+i]}function woe(e){return e.reduce(voe,[0,0,0])}const Soe=ka(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),_oe=ka(e=>e.name==="escape"?e.text.slice(1):void 0),koe=ka(e=>e.name==="any"?e.text:void 0),xoe=$l(N2(L2(Soe,_oe,koe)),e=>e.join(""));function Q2(e){const t=yoe(e);return xoe({tokens:t.tokens,options:void 0},0).value}function zn(e){return ka(t=>t.name===e?!0:void 0)}const nL=ka(e=>e.name==="ws"?null:void 0),kS=Jb(nL,null);function xS(e){return J7(kS,e,kS)}const Xh=ka(e=>e.name==="ident"?Q2(e.text):void 0),Eoe=ka(e=>e.name==="hash"?Q2(e.text.slice(1)):void 0),Toe=ka(e=>e.name.startsWith("str")?Q2(e.text.slice(1,-1)):void 0),rL=coe(Jb(Xh,""),zn("|")),B2=Zd(Io(rL,Xh,(e,t)=>({name:t,namespace:e})),$l(Xh,e=>({name:e,namespace:null}))),Coe=Zd(Io(rL,zn("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),$l(zn("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),Poe=$l(B2,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),Aoe=Io(zn("."),Xh,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),$oe=$l(Eoe,e=>({type:"id",name:e,specificity:[1,0,0]})),XP=ka(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),Moe=Zd(Io(Toe,Jb(VP(kS,XP),null),(e,t)=>({value:e,modifier:t})),Io(Xh,Jb(VP(nL,XP),null),(e,t)=>({value:e,modifier:t}))),Roe=L2($l(zn("="),()=>"="),Io(zn("~"),zn("="),()=>"~="),Io(zn("|"),zn("="),()=>"|="),Io(zn("^"),zn("="),()=>"^="),Io(zn("$"),zn("="),()=>"$="),Io(zn("*"),zn("="),()=>"*=")),Ioe=D2(zn("["),xS(B2),zn("]"),(e,{name:t,namespace:n})=>({type:"attrPresence",name:t,namespace:n,specificity:[0,1,0]})),Loe=J7(zn("["),D2(xS(B2),Roe,xS(Moe),({name:e,namespace:t},n,{value:r,modifier:o})=>({type:"attrValue",name:e,namespace:t,matcher:n,value:r,modifier:o,specificity:[0,1,0]})),zn("]")),Noe=Zd(Ioe,Loe),Doe=Zd(Coe,Poe),HP=L2($oe,Aoe,Noe);$l(Zd(doe(Doe,N2(HP)),loe(HP)),e=>({type:"compound",list:e,specificity:woe(e.map(t=>t.specificity))}));const Qoe=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Boe=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Zv;const zoe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),joe=(Zv=String.fromCodePoint)!==null&&Zv!==void 0?Zv:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Woe(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=zoe.get(e))!==null&&t!==void 0?t:e}var lr;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(lr||(lr={}));const Foe=32;var ol;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ol||(ol={}));function ES(e){return e>=lr.ZERO&&e<=lr.NINE}function qoe(e){return e>=lr.UPPER_A&&e<=lr.UPPER_F||e>=lr.LOWER_A&&e<=lr.LOWER_F}function Uoe(e){return e>=lr.UPPER_A&&e<=lr.UPPER_Z||e>=lr.LOWER_A&&e<=lr.LOWER_Z||ES(e)}function Zoe(e){return e===lr.EQUALS||Uoe(e)}var or;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(or||(or={}));var ic;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ic||(ic={}));class Voe{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=or.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ic.Strict}startEntity(t){this.decodeMode=t,this.state=or.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case or.EntityStart:return t.charCodeAt(n)===lr.NUM?(this.state=or.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=or.NamedEntity,this.stateNamedEntity(t,n));case or.NumericStart:return this.stateNumericStart(t,n);case or.NumericDecimal:return this.stateNumericDecimal(t,n);case or.NumericHex:return this.stateNumericHex(t,n);case or.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Foe)===lr.LOWER_X?(this.state=or.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=or.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const i=r-n;this.result=this.result*Math.pow(o,i)+parseInt(t.substr(n,i),o),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,i!==0){if(s===lr.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==ic.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&ol.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~ol.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case or.NamedEntity:return this.result!==0&&(this.decodeMode!==ic.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case or.NumericDecimal:return this.emitNumericEntity(0,2);case or.NumericHex:return this.emitNumericEntity(0,3);case or.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case or.EntityStart:return 0}}}function oL(e){let t="";const n=new Voe(e,r=>t+=joe(r));return function(r,o){let i=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(i,s),n.startEntity(o);const l=n.write(r,s+1);if(l<0){i=s+n.end();break}i=s+l,s=l===0?i+1:i}const a=t+r.slice(i);return t="",a}}function Xoe(e,t,n,r){const o=(t&ol.BRANCH_LENGTH)>>7,i=t&ol.JUMP_TABLE;if(o===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=o?-1:e[n+l]-1}let s=n,a=s+o-1;for(;s<=a;){const l=s+a>>>1,c=e[l];if(cr)a=l-1;else return e[l+o]}return-1}oL(Qoe);oL(Boe);var YP;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(YP||(YP={}));var GP;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"})(GP||(GP={}));var KP;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(KP||(KP={}));new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e]));new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));function Hoe(e){return typeof window>"u"?Buffer.from(e).toString("base64"):window.btoa(e)}function iL(e){return(t,n,r={})=>{const{width:o,height:i,fit:s="contain",quality:a,position:l="centre"}=r,c=n.split("?")[0].split(".").pop()||"",u={bucket:t,key:n,edits:{...["gif","svg"].includes(c)?{}:{toFormat:"webp",...a!==void 0?{webp:{quality:a}}:{}},resize:{...o!==void 0?{width:o}:{},...i!==void 0?{height:i}:{},fit:s,background:{r:255,g:255,b:255,alpha:0},position:l}}};return`${e}/${Hoe(JSON.stringify(u))}`}}function Yoe(e,t,n,r,o=[1,1.5,2,3,4]){if(o.length===0)throw new Error("pixelRatios can't be empty");const i=o.sort((s,a)=>s-a).map(s=>({url:e(t,n,{...r,...r.width?{width:r.width*s}:{},...r.height?{height:r.height*s}:{}}),ratio:s}));return{src:i[0].url,srcset:i.map(s=>`${s.url} ${s.ratio}x`).join(",")}}function oLe(e,t){return!e||e.length<=t?e:`${e.substring(0,t-1)}…`}function iLe(e){return e&&(e.startsWith("http://")||e.startsWith("https://")?e:`https://${e}`)}function Goe(e){e.$touch()}function Koe(e){e.$reset()}const Joe=/(?=.*[a-z])/,eie=/(?=.*[A-Z])/,tie=/(?=.*[0-9])/,nie=/^(?:(?:(?:http|https):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;function JP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Hh(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[];const n=KO(e);return Hh(Hh({},n),{},{$async:!0,$watchTargets:t})}function iie(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{const l=Object.entries(s).reduce((c,u)=>{let[d,f]=u;const h=e[d]||{},p=Object.entries(h).reduce((m,O)=>{let[g,b]=O;const v=ey(b).call(this,f,s,a,...r),y=JO(v);if(m.$data[g]=v,m.$data.$invalid=!y||!!m.$data.$invalid,m.$data.$error=m.$data.$invalid,!y){let w=b.$message||"";const S=b.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!y,$params:S,$model:f,$response:v})),m.$errors.push({$property:d,$message:w,$params:S,$response:v,$model:f,$pending:!1,$validator:g})}return{$valid:m.$valid&&y,$data:m.$data,$errors:m.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[d]=p.$data,c.$errors[d]=p.$errors,{$valid:c.$valid&&p.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:i.$valid&&l.$valid,$data:i.$data.concat(l.$data),$errors:i.$errors.concat(l.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:t=>{let{$response:n}=t;return n?n.$errors.map(r=>Object.values(r).map(o=>o.map(i=>i.$message)).reduce((o,i)=>o.concat(i),[])):[]}}}const ty=e=>{if(e=U(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},lL=e=>(e=U(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function Ml(){for(var e=arguments.length,t=new Array(e),n=0;n(r=U(r),!ty(r)||t.every(o=>(o.lastIndex=0,o.test(r))))}var $n=Object.freeze({__proto__:null,forEach:iie,len:lL,normalizeValidatorObject:KO,regex:Ml,req:ty,unwrap:U,unwrapNormalizedValidator:ey,unwrapValidatorResponse:JO,withAsync:oie,withMessage:aL,withParams:sL});Ml(/^[a-zA-Z]*$/);Ml(/^[a-zA-Z0-9]*$/);Ml(/^\d*(\.\d+)?$/);const sie=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;var aie=Ml(sie),lie={$validator:aie,$message:"Value is not a valid email address",$params:{type:"email"}};function cie(e){return t=>!ty(t)||lL(t)>=U(e)}function uie(e){return{$validator:cie(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function die(e){return typeof e=="string"&&(e=e.trim()),ty(e)}var cL={$validator:die,$message:"Value is required",$params:{type:"required"}};function fie(e){return t=>U(t)===U(e)}function hie(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:fie(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const pie=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;Ml(pie);function mie(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;rJO(o)?ey(i).apply(this,n):o,!0)}}function gie(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r{const s=await o;return JO(s)?ey(i).apply(this,n):s},Promise.resolve(!0))}}function bie(){for(var e=arguments.length,t=new Array(e),n=0;ns.$async),o=t.reduce((s,a)=>a.$watchTargets?s.concat(a.$watchTargets):s,[]);let i=()=>!1;return t.length&&(i=r?gie(t):mie(t)),{$async:r,$validator:i,$watchTargets:o}}function Oie(){return sL({type:"and"},aL("The value does not match all of the provided validators",bie(...arguments)))}Ml(/(^[0-9]*$)|(^-[0-9]+$)/);Ml(/^[-]?\d*(\.\d+)?$/);function Vc(e){return JSON.stringify(e)}function yie(e){return JSON.parse(e)}function sLe(e,t,n){return $n.withParams({field:t},$n.withMessage(({$params:r})=>{const o=U(r.field);return Vc({banner:e.t("shared.validators.textRequired.banner",{field:o}),field:e.t("shared.validators.textRequired.field",{field:o})})},cL))}function aLe(e,t){return $n.withParams({field:t},$n.withMessage(({$params:n})=>{const r=U(n.field);return Vc({banner:e.t("shared.validators.validEmail.banner",{field:r}),field:e.t("shared.validators.validEmail.field",{field:r})})},lie))}const vie=[$n.withMessage("Eight or more letters",uie(8)),$n.withMessage("One lowercase letter",$n.regex(Joe)),$n.withMessage("One capital letter",$n.regex(eie)),$n.withMessage("One number",$n.regex(tie))];function lLe(e,t){return $n.withParams({field:t},$n.withMessage(({$params:n})=>{const r=U(n.field);return Vc({banner:e.t("shared.validators.validPassword.banner",{field:r}),field:e.t("shared.validators.validPassword.field",{field:r})})},Oie(...vie)))}function cLe(e,t){return $n.withParams({field:t},$n.withMessage(({$params:n})=>{const r=U(n.field);return Vc({banner:e.t("shared.validators.validUrl.banner",{field:r}),field:e.t("shared.validators.validUrl.field",{field:r})})},$n.regex(nie)))}function uLe(e,t,n,r){return $n.withParams({field:t,targetField:n},$n.withMessage(({$params:o})=>{const i=U(o.field),s=U(o.targetField);return Vc({banner:e.t("shared.validators.repeatedPassword.banner",{field:i,otherField:s}),field:e.t("shared.validators.repeatedPassword.field",{field:i,otherField:s})})},hie(r)))}function dLe(e){return $n.withMessage(()=>Vc({banner:e.t("shared.validators.captchaRequired.banner"),field:e.t("shared.validators.captchaRequired.field")}),cL)}function fLe(e,t){return $n.withParams({requiredItems:t},$n.withMessage(()=>Vc({banner:e.t("shared.validators.checkboxGroupRequired.banner"),field:e.t("shared.validators.checkboxGroupRequired.banner")}),n=>t.every(r=>n.includes(r))))}function wie(e,t,n={}){const{scrollToTopOnError:r=!1,getScrollContainer:o,getScrollTarget:i,$externalResults:s,$stopPropagation:a=!1}=n,l=GY(e,t,{$autoDirty:!0,$externalResults:s,$stopPropagation:a}),c=ge([]),u=()=>{c.value=[]};return{onInit:()=>{Goe(l.value),u()},v$:l,validationErrors:c,validate:async()=>{const d=await l.value.$validate();return d?u():(r&&setTimeout(()=>{var f;i?(f=i())==null||f.scrollIntoView({behavior:"smooth"}):((o==null?void 0:o())||window).scrollTo({top:0,behavior:"smooth"})}),c.value=l.value.$silentErrors.map(f=>yie(U(f.$message)))),Koe(l.value),d}}}function hLe(e,t){var n,r;const o=Ai(),{onInit:i,v$:s,validate:a,validationErrors:l}=wie(((n=t==null?void 0:t.validation)==null?void 0:n.rules)||{},e,(r=t==null?void 0:t.validation)==null?void 0:r.options),c=()=>{o.value=MP(e),i()},u=()=>{if(!o.value)throw new Error("Form not initialized");Object.assign(e,MP(o.value)),i()},d=q(()=>o.value?eoe(o.value,e,t==null?void 0:t.comparators):!1);return{form:e,init:c,hasChanges:d,discardChanges:u,v$:s,validate:a,validationErrors:l}}const Vv=new WeakMap;function pLe(e,t,n={}){const{mode:r="replace",route:o=x2(),router:i=VI(),transform:s={get:f=>f,set:f=>f}}=n;Vv.has(i)||Vv.set(i,new Map);const a=Vv.get(i),l=o.path;let c=o.query[e];C7(()=>{c=void 0});let u;const d=Jx((f,h)=>(u=h,{get(){return f(),s.get(c!==void 0?c:Hb(t))},set(p){const m=s.set(p);c!==m&&(c=m===t||m===null?void 0:m,a.set(e,m===t||m===null?void 0:m),h(),wr(()=>{if(a.size===0)return;const O=Object.fromEntries(a.entries());a.clear();const{params:g,query:b,hash:v}=o;i[Hb(r)]({params:g,query:{...b,...O},hash:v})}))}}));return We(()=>o.query[e],f=>{o.path===l&&(c=f,u())},{flush:"sync"}),d}function Sie(e,t,n=!1){const r=ge(n),o=q(()=>r.value?U(e):t),i=q(()=>U(e)>t);return{showMore:r,canShowMore:i,currentLimit:o}}function mLe(e,t,n=!1){const{showMore:r,canShowMore:o,currentLimit:i}=Sie(q(()=>U(e).length),t,n),s=q(()=>U(e).slice(0,i.value));return{showMore:r,canShowMore:o,displayedItems:s}}const uL=oG("unsavedChanges",()=>{const e=ge(0);return qK(window,"beforeunload",t=>{e.value>0&&t.preventDefault()}),{formsWithChanges:e}});function gLe(e){const t=uL();We(q(()=>U(e)),(n,r)=>{n&&!r?t.formsWithChanges++:!n&&r&&t.formsWithChanges--},{immediate:!0}),Cs(()=>{U(e)&&t.formsWithChanges--})}const _ie=()=>new Promise(e=>{e(confirm("Leave page and discard changes? Recent changes you have made will not be saved."))});async function kie(e=_ie){return uL().formsWithChanges===0?!0:await e()}const Zp=window.setInterval,Rc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),z2=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)});var CS={},xie=Object.defineProperty,Eie=(e,t,n)=>t in e?xie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ht=(e,t,n)=>Eie(e,typeof t!="symbol"?t+"":t,n);/*! * shared v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const e3=typeof window<"u",Xc=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Tie=(e,t,n)=>Cie({l:e,k:t,s:n}),Cie=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ar=e=>typeof e=="number"&&isFinite(e),Pie=e=>j2(e)==="[object Date]",t0=e=>j2(e)==="[object RegExp]",ny=e=>It(e)&&Object.keys(e).length===0,eo=Object.assign;let t3;const fc=()=>t3||(t3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function n3(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Aie=Object.prototype.hasOwnProperty;function n0(e,t){return Aie.call(e,t)}const yr=Array.isArray,Sn=e=>typeof e=="function",Ue=e=>typeof e=="string",Mn=e=>typeof e=="boolean",qt=e=>e!==null&&typeof e=="object",$ie=e=>qt(e)&&Sn(e.then)&&Sn(e.catch),dL=Object.prototype.toString,j2=e=>dL.call(e),It=e=>j2(e)==="[object Object]",Mie=e=>e==null?"":yr(e)||It(e)&&e.toString===dL?JSON.stringify(e,null,2):String(e);function W2(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Rie(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const qm=e=>!qt(e)||yr(e);function Vg(e,t){if(qm(e)||qm(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{qt(r[i])&&!qt(o[i])&&(o[i]=Array.isArray(r[i])?[]:{}),qm(o[i])||qm(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]})})}}/*! * message-compiler v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function Iie(e,t,n){return{line:e,column:t,offset:n}}function PS(e,t,n){return{start:e,end:t}}const zt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Lie=17;function ry(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function Nie(e){throw e}const Qs=" ",Die="\r",lo=` `,Qie="\u2028",Bie="\u2029";function zie(e){const t=e;let n=0,r=1,o=1,i=0;const s=_=>t[_]===Die&&t[_+1]===lo,a=_=>t[_]===lo,l=_=>t[_]===Bie,c=_=>t[_]===Qie,u=_=>s(_)||a(_)||l(_)||c(_),d=()=>n,f=()=>r,h=()=>o,p=()=>i,m=_=>s(_)||l(_)||c(_)?lo:t[_],O=()=>m(n),g=()=>m(n+i);function b(){return i=0,u(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function v(){return s(n+i)&&i++,i++,t[n+i]}function y(){n=0,r=1,o=1,i=0}function w(_=0){i=_}function S(){const _=n+i;for(;_!==n;)b();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:O,currentPeek:g,next:b,peek:v,reset:y,resetPeek:w,skipToPeek:S}}const Ia=void 0,r3="'",jie="tokenizer";function Wie(e,t={}){const n=t.location!==!1,r=zie(e),o=()=>r.index(),i=()=>Iie(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(k,x,M,...z){const L=c();if(x.column+=M,x.offset+=M,u){const j=n?PS(L.startLoc,x):null,N=ry(k,j,{domain:jie,args:z});u(N)}}function f(k,x,M){k.endLoc=i(),k.currentType=x;const z={type:x};return n&&(z.loc=PS(k.startLoc,k.endLoc)),M!=null&&(z.value=M),z}const h=k=>f(k,13);function p(k,x){return k.currentChar()===x?(k.next(),x):(d(zt.EXPECTED_TOKEN,i(),0,x),"")}function m(k){let x="";for(;k.currentPeek()===Qs||k.currentPeek()===lo;)x+=k.currentPeek(),k.peek();return x}function O(k){const x=m(k);return k.skipToPeek(),x}function g(k){if(k===Ia)return!1;const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function b(k){if(k===Ia)return!1;const x=k.charCodeAt(0);return x>=48&&x<=57}function v(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=g(k.currentPeek());return k.resetPeek(),z}function y(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=k.currentPeek()==="-"?k.peek():k.currentPeek(),L=b(z);return k.resetPeek(),L}function w(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=k.currentPeek()===r3;return k.resetPeek(),z}function S(k,x){const{currentType:M}=x;if(M!==7)return!1;m(k);const z=k.currentPeek()===".";return k.resetPeek(),z}function _(k,x){const{currentType:M}=x;if(M!==8)return!1;m(k);const z=g(k.currentPeek());return k.resetPeek(),z}function T(k,x){const{currentType:M}=x;if(!(M===7||M===11))return!1;m(k);const z=k.currentPeek()===":";return k.resetPeek(),z}function A(k,x){const{currentType:M}=x;if(M!==9)return!1;const z=()=>{const j=k.currentPeek();return j==="{"?g(k.peek()):j==="@"||j==="|"||j===":"||j==="."||j===Qs||!j?!1:j===lo?(k.peek(),z()):$(k,!1)},L=z();return k.resetPeek(),L}function C(k){m(k);const x=k.currentPeek()==="|";return k.resetPeek(),x}function $(k,x=!0){const M=(L=!1,j="")=>{const N=k.currentPeek();return N==="{"||N==="@"||!N?L:N==="|"?!(j===Qs||j===lo):N===Qs?(k.peek(),M(!0,Qs)):N===lo?(k.peek(),M(!0,lo)):!0},z=M();return x&&k.resetPeek(),z}function E(k,x){const M=k.currentChar();return M===Ia?Ia:x(M)?(k.next(),M):null}function Q(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36}function X(k){return E(k,Q)}function Y(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36||x===45}function B(k){return E(k,Y)}function ee(k){const x=k.charCodeAt(0);return x>=48&&x<=57}function te(k){return E(k,ee)}function ye(k){const x=k.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102}function ve(k){return E(k,ye)}function pe(k){let x="",M="";for(;x=te(k);)M+=x;return M}function de(k){let x="";for(;;){const M=k.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M===Qs||M===lo)if($(k))x+=M,k.next();else{if(C(k))break;x+=M,k.next()}else x+=M,k.next()}return x}function V(k){O(k);let x="",M="";for(;x=B(k);)M+=x;return k.currentChar()===Ia&&d(zt.UNTERMINATED_CLOSING_BRACE,i(),0),M}function ue(k){O(k);let x="";return k.currentChar()==="-"?(k.next(),x+=`-${pe(k)}`):x+=pe(k),k.currentChar()===Ia&&d(zt.UNTERMINATED_CLOSING_BRACE,i(),0),x}function Ee(k){return k!==r3&&k!==lo}function ne(k){O(k),p(k,"'");let x="",M="";for(;x=E(k,Ee);)x==="\\"?M+=J(k):M+=x;const z=k.currentChar();return z===lo||z===Ia?(d(zt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),z===lo&&(k.next(),p(k,"'")),M):(p(k,"'"),M)}function J(k){const x=k.currentChar();switch(x){case"\\":case"'":return k.next(),`\\${x}`;case"u":return me(k,x,4);case"U":return me(k,x,6);default:return d(zt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,x),""}}function me(k,x,M){p(k,x);let z="";for(let L=0;L{const z=k.currentChar();return z==="{"||z==="@"||z==="|"||z==="("||z===")"||!z||z===Qs?M:(M+=z,k.next(),x(M))};return x("")}function I(k){O(k);const x=p(k,"|");return O(k),x}function R(k,x){let M=null;switch(k.currentChar()){case"{":return x.braceNest>=1&&d(zt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),k.next(),M=f(x,2,"{"),O(k),x.braceNest++,M;case"}":return x.braceNest>0&&x.currentType===2&&d(zt.EMPTY_PLACEHOLDER,i(),0),k.next(),M=f(x,3,"}"),x.braceNest--,x.braceNest>0&&O(k),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),M;case"@":return x.braceNest>0&&d(zt.UNTERMINATED_CLOSING_BRACE,i(),0),M=Z(k,x)||h(x),x.braceNest=0,M;default:{let z=!0,L=!0,j=!0;if(C(k))return x.braceNest>0&&d(zt.UNTERMINATED_CLOSING_BRACE,i(),0),M=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,M;if(x.braceNest>0&&(x.currentType===4||x.currentType===5||x.currentType===6))return d(zt.UNTERMINATED_CLOSING_BRACE,i(),0),x.braceNest=0,ie(k,x);if(z=v(k,x))return M=f(x,4,V(k)),O(k),M;if(L=y(k,x))return M=f(x,5,ue(k)),O(k),M;if(j=w(k,x))return M=f(x,6,ne(k)),O(k),M;if(!z&&!L&&!j)return M=f(x,12,he(k)),d(zt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,M.value),O(k),M;break}}return M}function Z(k,x){const{currentType:M}=x;let z=null;const L=k.currentChar();switch((M===7||M===8||M===11||M===9)&&(L===lo||L===Qs)&&d(zt.INVALID_LINKED_FORMAT,i(),0),L){case"@":return k.next(),z=f(x,7,"@"),x.inLinked=!0,z;case".":return O(k),k.next(),f(x,8,".");case":":return O(k),k.next(),f(x,9,":");default:return C(k)?(z=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,z):S(k,x)||T(k,x)?(O(k),Z(k,x)):_(k,x)?(O(k),f(x,11,Te(k))):A(k,x)?(O(k),L==="{"?R(k,x)||z:f(x,10,ze(k))):(M===7&&d(zt.INVALID_LINKED_FORMAT,i(),0),x.braceNest=0,x.inLinked=!1,ie(k,x))}}function ie(k,x){let M={type:13};if(x.braceNest>0)return R(k,x)||h(x);if(x.inLinked)return Z(k,x)||h(x);switch(k.currentChar()){case"{":return R(k,x)||h(x);case"}":return d(zt.UNBALANCED_CLOSING_BRACE,i(),0),k.next(),f(x,3,"}");case"@":return Z(k,x)||h(x);default:{if(C(k))return M=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,M;if($(k))return f(x,0,de(k));break}}return M}function re(){const{currentType:k,offset:x,startLoc:M,endLoc:z}=l;return l.lastType=k,l.lastOffset=x,l.lastStartLoc=M,l.lastEndLoc=z,l.offset=o(),l.startLoc=i(),r.currentChar()===Ia?f(l,13):ie(r,l)}return{nextToken:re,currentOffset:o,currentPosition:i,context:c}}const Fie="parser",qie=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Uie(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Zie(e={}){const t=e.location!==!1,{onError:n}=e;function r(g,b,v,y,...w){const S=g.currentPosition();if(S.offset+=y,S.column+=y,n){const _=t?PS(v,S):null,T=ry(b,_,{domain:Fie,args:w});n(T)}}function o(g,b,v){const y={type:g};return t&&(y.start=b,y.end=b,y.loc={start:v,end:v}),y}function i(g,b,v,y){t&&(g.end=b,g.loc&&(g.loc.end=v))}function s(g,b){const v=g.context(),y=o(3,v.offset,v.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function a(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(5,y,w);return S.index=parseInt(b,10),g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function l(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(4,y,w);return S.key=b,g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function c(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(9,y,w);return S.value=b.replace(qie,Uie),g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function u(g){const b=g.nextToken(),v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(8,y,w);return b.type!==11?(r(g,zt.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),S.value="",i(S,y,w),{nextConsumeToken:b,node:S}):(b.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Gi(b)),S.value=b.value||"",i(S,g.currentOffset(),g.currentPosition()),{node:S})}function d(g,b){const v=g.context(),y=o(7,v.offset,v.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function f(g){const b=g.context(),v=o(6,b.offset,b.startLoc);let y=g.nextToken();if(y.type===8){const w=u(g);v.modifier=w.node,y=w.nextConsumeToken||g.nextToken()}switch(y.type!==9&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(y)),v.key=d(g,y.value||"");break;case 4:y.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(y)),v.key=l(g,y.value||"");break;case 5:y.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(y)),v.key=a(g,y.value||"");break;case 6:y.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(y)),v.key=c(g,y.value||"");break;default:{r(g,zt.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const w=g.context(),S=o(7,w.offset,w.startLoc);return S.value="",i(S,w.offset,w.startLoc),v.key=S,i(v,w.offset,w.startLoc),{nextConsumeToken:y,node:v}}}return i(v,g.currentOffset(),g.currentPosition()),{node:v}}function h(g){const b=g.context(),v=b.currentType===1?g.currentOffset():b.offset,y=b.currentType===1?b.endLoc:b.startLoc,w=o(2,v,y);w.items=[];let S=null;do{const A=S||g.nextToken();switch(S=null,A.type){case 0:A.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(A)),w.items.push(s(g,A.value||""));break;case 5:A.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(A)),w.items.push(a(g,A.value||""));break;case 4:A.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(A)),w.items.push(l(g,A.value||""));break;case 6:A.value==null&&r(g,zt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Gi(A)),w.items.push(c(g,A.value||""));break;case 7:{const C=f(g);w.items.push(C.node),S=C.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const _=b.currentType===1?b.lastOffset:g.currentOffset(),T=b.currentType===1?b.lastEndLoc:g.currentPosition();return i(w,_,T),w}function p(g,b,v,y){const w=g.context();let S=y.items.length===0;const _=o(1,b,v);_.cases=[],_.cases.push(y);do{const T=h(g);S||(S=T.items.length===0),_.cases.push(T)}while(w.currentType!==13);return S&&r(g,zt.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),i(_,g.currentOffset(),g.currentPosition()),_}function m(g){const b=g.context(),{offset:v,startLoc:y}=b,w=h(g);return b.currentType===13?w:p(g,v,y,w)}function O(g){const b=Wie(g,eo({},e)),v=b.context(),y=o(0,v.offset,v.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=m(b),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),v.currentType!==13&&r(b,zt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,g[v.offset]||""),i(y,b.currentOffset(),b.currentPosition()),y}return{parse:O}}function Gi(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Vie(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function o3(e,t){for(let n=0;ni3(n)),e}function i3(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function c(p,m){a.code+=p}function u(p,m=!0){const O=m?o:"";c(i?O+" ".repeat(p):O)}function d(p=!0){const m=++a.indentLevel;p&&u(m)}function f(p=!0){const m=--a.indentLevel;p&&u(m)}function h(){u(a.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:h,helper:p=>`_${p}`,needIndent:()=>a.needIndent}}function Gie(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),cd(e,t.key),t.modifier?(e.push(", "),cd(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Kie(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i{const n=Ue(t.mode)?t.mode:"normal",r=Ue(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Yie(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${W2(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),cd(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function nse(e,t={}){const n=eo({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,s=Zie(n).parse(e);return r?(i&&Hie(s),o&&yu(s),{ast:s,code:""}):(Xie(s,n),tse(s,n))}/*! * core-base v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function rse(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fc().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(fc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Xv(e){return t=>ose(t,e)}function ose(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((i,s)=>[...i,s3(e,s)],[]))}else return s3(e,n)}function s3(e,t){const n=t.s||t.static;if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,i)=>[...o,AS(e,i)],[]);return e.normalize(r)}}function AS(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,o=r.m||r.modifier;return e.linked(AS(e,r.k||r.key),o?AS(e,o):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const ise=e=>e;let Um=Object.create(null);const ud=e=>qt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function sse(e,t={}){let n=!1;const r=t.onError||Nie;return t.onError=o=>{n=!0,r(o)},{...nse(e,t),detectError:n}}function ase(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ue(e)){Mn(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||ise)(e),r=Um[n];if(r)return r;const{ast:o,detectError:i}=sse(e,{...t,location:!1,jit:!0}),s=Xv(o);return i?s:Um[n]=s}else{const n=e.cacheKey;return n?Um[n]||(Um[n]=Xv(e)):Xv(e)}}let Yh=null;function lse(e){Yh=e}function cse(e,t,n){Yh&&Yh.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const use=dse("function:translate");function dse(e){return t=>Yh&&Yh.emit(e,t)}const Ks={INVALID_ARGUMENT:Lie,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},fse=24;function Js(e){return ry(e,null,void 0)}function q2(e,t){return t.locale!=null?a3(t.locale):a3(e.locale)}let Hv;function a3(e){if(Ue(e))return e;if(Sn(e)){if(e.resolvedOnce&&Hv!=null)return Hv;if(e.constructor.name==="Function"){const t=e();if($ie(t))throw Js(Ks.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hv=t}else throw Js(Ks.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Js(Ks.NOT_SUPPORT_LOCALE_TYPE)}function hse(e,t,n){return[...new Set([n,...yr(t)?t:qt(t)?Object.keys(t):Ue(t)?[t]:[n]])]}function fL(e,t,n){const r=Ue(n)?n:r0,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;yr(s);)s=l3(i,s,t);const a=yr(t)||!It(t)?t:t.default?t.default:null;s=Ue(a)?[a]:a,yr(s)&&l3(i,s,!1),o.__localeChainCache.set(r,i)}return i}function l3(e,t,n){let r=!0;for(let o=0;o{s===void 0?s=a:s+=a},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,s===void 0||(s=vse(s),s===!1))return!1;f[1]()}};function h(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,a="\\"+p,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(l=yse(i),d=Rl[r],c=d[l]||d.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(a=i,u()===!1))))return;if(r===7)return t}}const c3=new Map;function Sse(e,t){return qt(e)?e[t]:null}function _se(e,t){if(!qt(e))return null;let n=c3.get(t);if(n||(n=wse(t),n&&c3.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function xse(){return{upper:(e,t)=>t==="text"&&Ue(e)?e.toUpperCase():t==="vnode"&&qt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ue(e)?e.toLowerCase():t==="vnode"&&qt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ue(e)?d3(e):t==="vnode"&&qt(e)&&"__v_isVNode"in e?d3(e.children):e}}let hL;function Ese(e){hL=e}let pL;function Tse(e){pL=e}let mL;function Cse(e){mL=e}let gL=null;const f3=e=>{gL=e},Pse=()=>gL;let h3=0;function Ase(e={}){const t=Sn(e.onWarn)?e.onWarn:Rie,n=Ue(e.version)?e.version:kse,r=Ue(e.locale)||Sn(e.locale)?e.locale:r0,o=Sn(r)?r0:r,i=yr(e.fallbackLocale)||It(e.fallbackLocale)||Ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=It(e.messages)?e.messages:{[o]:{}},a=It(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=It(e.numberFormats)?e.numberFormats:{[o]:{}},c=eo({},e.modifiers||{},xse()),u=e.pluralRules||{},d=Sn(e.missing)?e.missing:null,f=Mn(e.missingWarn)||t0(e.missingWarn)?e.missingWarn:!0,h=Mn(e.fallbackWarn)||t0(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,m=!!e.unresolving,O=Sn(e.postTranslation)?e.postTranslation:null,g=It(e.processor)?e.processor:null,b=Mn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,y=Sn(e.messageCompiler)?e.messageCompiler:hL,w=Sn(e.messageResolver)?e.messageResolver:pL||Sse,S=Sn(e.localeFallbacker)?e.localeFallbacker:mL||hse,_=qt(e.fallbackContext)?e.fallbackContext:void 0,T=e,A=qt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,C=qt(T.__numberFormatters)?T.__numberFormatters:new Map,$=qt(T.__meta)?T.__meta:{};h3++;const E={version:n,cid:h3,locale:r,fallbackLocale:i,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:O,processor:g,warnHtmlMessage:b,escapeParameter:v,messageCompiler:y,messageResolver:w,localeFallbacker:S,fallbackContext:_,onWarn:t,__meta:$};return E.datetimeFormats=a,E.numberFormats=l,E.__datetimeFormatters=A,E.__numberFormatters=C,__INTLIFY_PROD_DEVTOOLS__&&cse(E,n,$),E}function U2(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return Ue(a)?a:t}else return t}function xf(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function $se(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Mse(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Rse.includes(l)?s[l]=n[l]:i[l]=n[l]}),Ue(r)?i.locale=r:It(r)&&(s=r),It(o)&&(s=o),[i.key||"",a,i,s]}function m3(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function g3(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,c,u,d]=MS(...t),f=Mn(u.missingWarn)?u.missingWarn:e.missingWarn;Mn(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=q2(e,u),m=s(e,o,p);if(!Ue(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let O={},g,b=null;const v="number format";for(let S=0;S{Ise.includes(l)?s[l]=n[l]:i[l]=n[l]}),Ue(r)?i.locale=r:It(r)&&(s=r),It(o)&&(s=o),[i.key||"",a,i,s]}function b3(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const Lse=e=>e,Nse=e=>"",Dse="text",Qse=e=>e.length===0?"":W2(e),Bse=Mie;function O3(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function zse(e){const t=Ar(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ar(e.named.count)||Ar(e.named.n))?Ar(e.named.count)?e.named.count:Ar(e.named.n)?e.named.n:t:t}function jse(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Wse(e={}){const t=e.locale,n=zse(e),r=qt(e.pluralRules)&&Ue(t)&&Sn(e.pluralRules[t])?e.pluralRules[t]:O3,o=qt(e.pluralRules)&&Ue(t)&&Sn(e.pluralRules[t])?O3:void 0,i=O=>O[r(n,O.length,o)],s=e.list||[],a=O=>s[O],l=e.named||{};Ar(e.pluralIndex)&&jse(n,l);const c=O=>l[O];function u(O,g){return(Sn(e.messages)?e.messages(O,!!g):qt(e.messages)?e.messages[O]:!1)||(e.parent?e.parent.message(O):Nse)}const d=O=>e.modifiers?e.modifiers[O]:Lse,f=It(e.processor)&&Sn(e.processor.normalize)?e.processor.normalize:Qse,h=It(e.processor)&&Sn(e.processor.interpolate)?e.processor.interpolate:Bse,p=It(e.processor)&&Ue(e.processor.type)?e.processor.type:Dse,m={list:a,named:c,plural:i,linked:(O,...g)=>{const[b,v]=g;let y="text",w="";g.length===1?qt(b)?(w=b.modifier||w,y=b.type||y):Ue(b)&&(w=b||w):g.length===2&&(Ue(b)&&(w=b||w),Ue(v)&&(y=v||y));const S=u(O,!0)(m),_=y==="vnode"&&yr(S)&&w?S[0]:S;return w?d(w)(_,y):_},message:u,type:p,interpolate:h,normalize:f,values:eo({},s,l)};return m}const y3=()=>"",_i=e=>Sn(e);function v3(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,c]=RS(...t),u=Mn(c.missingWarn)?c.missingWarn:e.missingWarn,d=Mn(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Mn(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=Ue(c.default)||Mn(c.default)?Mn(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:null,m=n||p!=null&&(Ue(p)||Sn(p)),O=q2(e,c);f&&Fse(c);let[g,b,v]=h?[l,O,a[O]||{}]:bL(e,l,O,s,d,u),y=g,w=l;if(!h&&!(Ue(y)||ud(y)||_i(y))&&m&&(y=p,w=y),!h&&(!(Ue(y)||ud(y)||_i(y))||!Ue(b)))return o?oy:l;let S=!1;const _=()=>{S=!0},T=_i(y)?y:OL(e,l,b,y,w,_);if(S)return y;const A=Zse(e,b,v,c),C=Wse(A),$=qse(e,T,C),E=r?r($,l):$;if(__INTLIFY_PROD_DEVTOOLS__){const Q={timestamp:Date.now(),key:Ue(l)?l:_i(y)?y.key:"",locale:b||(_i(y)?y.locale:""),format:Ue(y)?y:_i(y)?y.source:"",message:E};Q.meta=eo({},e.__meta,{}),use(Q)}return E}function Fse(e){yr(e.list)?e.list=e.list.map(t=>Ue(t)?n3(t):t):qt(e.named)&&Object.keys(e.named).forEach(t=>{Ue(e.named[t])&&(e.named[t]=n3(e.named[t]))})}function bL(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let d={},f,h=null;const p="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const l=s(r,Use(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function qse(e,t,n){return t(n)}function RS(...e){const[t,n,r]=e,o={};if(!Ue(t)&&!Ar(t)&&!_i(t)&&!ud(t))throw Js(Ks.INVALID_ARGUMENT);const i=Ar(t)?String(t):t;return Ar(n)?o.plural=n:Ue(n)?o.default=n:It(n)&&!ny(n)?o.named=n:yr(n)&&(o.list=n),Ar(r)?o.plural=r:Ue(r)?o.default=r:It(r)&&eo(o,r),[i,o]}function Use(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>Tie(t,n,s)}}function Zse(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:i,messages:(f,h)=>{let p=s(n,f);if(p==null&&(u||h)){const[,,m]=bL(u||e,f,t,a,l,c);p=s(m,f)}if(Ue(p)||ud(p)){let m=!1;const O=OL(e,f,t,p,f,()=>{m=!0});return m?y3:O}else return _i(p)?p:y3}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ar(r.plural)&&(d.pluralIndex=r.plural),d}rse();/*! * vue-i18n v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const Vse="10.0.4";function Xse(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(fc().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(fc().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(fc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fc().__INTLIFY_PROD_DEVTOOLS__=!1)}const dd={UNEXPECTED_RETURN_TYPE:fse,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Gh(e,...t){return ry(e,null,void 0)}const w3=Xc("__translateVNode"),S3=Xc("__datetimeParts"),_3=Xc("__numberParts"),Hse=Xc("__setPluralRules"),yL=Xc("__injectWithOption"),IS=Xc("__dispose");function Kh(e){if(!qt(e))return e;for(const t in e)if(n0(e,t))if(!t.includes("."))qt(e[t])&&Kh(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(s[l]=s[l]||{},Vg(c,s[l])):Vg(c,s)}else Ue(a)&&Vg(JSON.parse(a),s)}),o==null&&i)for(const a in s)n0(s,a)&&Kh(s[a]);return s}function Yse(e){return e.type}function Gse(e,t,n){let r=qt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=vL(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(qt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(qt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function k3(e){return De(ra,null,e,0)}const x3=()=>[],Kse=()=>!1;let E3=0;function T3(e){return(t,n,r,o)=>e(n,r,Rr()||void 0,o)}function Jse(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=e3?ge:Ai;let s=Mn(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:Ue(e.locale)?e.locale:r0),l=i(t&&s?t.fallbackLocale.value:Ue(e.fallbackLocale)||yr(e.fallbackLocale)||It(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=i(vL(a.value,e)),u=i(It(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),d=i(It(e.numberFormats)?e.numberFormats:{[a.value]:{}});let f=t?t.missingWarn:Mn(e.missingWarn)||t0(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Mn(e.fallbackWarn)||t0(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:Mn(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,O=Sn(e.missing)?e.missing:null,g=Sn(e.missing)?T3(e.missing):null,b=Sn(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:Mn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const w=t?t.modifiers:It(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,_;_=(()=>{r&&f3(null);const L={version:Vse,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:w,pluralRules:S,missing:g===null?void 0:g,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:v,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=It(_)?_.__datetimeFormatters:void 0,L.__numberFormatters=It(_)?_.__numberFormatters:void 0;const j=Ase(L);return r&&f3(j),j})(),xf(_,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,d.value]}const A=q({get:()=>a.value,set:L=>{a.value=L,_.locale=a.value}}),C=q({get:()=>l.value,set:L=>{l.value=L,_.fallbackLocale=l.value,xf(_,a.value,L)}}),$=q(()=>c.value),E=q(()=>u.value),Q=q(()=>d.value);function X(){return Sn(b)?b:null}function Y(L){b=L,_.postTranslation=L}function B(){return O}function ee(L){L!==null&&(g=T3(L)),O=L,_.missing=g}const te=(L,j,N,K,we,Ie)=>{T();let He;try{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=t?Pse():void 0),He=L(_)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=void 0)}if(N!=="translate exists"&&Ar(He)&&He===oy||N==="translate exists"&&!He){const[ht,tn]=j();return t&&p?K(t):we(ht)}else{if(Ie(He))return He;throw Gh(dd.UNEXPECTED_RETURN_TYPE)}};function ye(...L){return te(j=>Reflect.apply(v3,null,[j,...L]),()=>RS(...L),"translate",j=>Reflect.apply(j.t,j,[...L]),j=>j,j=>Ue(j))}function ve(...L){const[j,N,K]=L;if(K&&!qt(K))throw Gh(dd.INVALID_ARGUMENT);return ye(j,N,eo({resolvedMessage:!0},K||{}))}function pe(...L){return te(j=>Reflect.apply(p3,null,[j,...L]),()=>$S(...L),"datetime format",j=>Reflect.apply(j.d,j,[...L]),()=>u3,j=>Ue(j))}function de(...L){return te(j=>Reflect.apply(g3,null,[j,...L]),()=>MS(...L),"number format",j=>Reflect.apply(j.n,j,[...L]),()=>u3,j=>Ue(j))}function V(L){return L.map(j=>Ue(j)||Ar(j)||Mn(j)?k3(String(j)):j)}const ue={normalize:V,interpolate:L=>L,type:"vnode"};function Ee(...L){return te(j=>{let N;const K=j;try{K.processor=ue,N=Reflect.apply(v3,null,[K,...L])}finally{K.processor=null}return N},()=>RS(...L),"translate",j=>j[w3](...L),j=>[k3(j)],j=>yr(j))}function ne(...L){return te(j=>Reflect.apply(g3,null,[j,...L]),()=>MS(...L),"number format",j=>j[_3](...L),x3,j=>Ue(j)||yr(j))}function J(...L){return te(j=>Reflect.apply(p3,null,[j,...L]),()=>$S(...L),"datetime format",j=>j[S3](...L),x3,j=>Ue(j)||yr(j))}function me(L){S=L,_.pluralRules=S}function fe(L,j){return te(()=>{if(!L)return!1;const N=Ue(j)?j:a.value,K=ze(N),we=_.messageResolver(K,L);return ud(we)||_i(we)||Ue(we)},()=>[L],"translate exists",N=>Reflect.apply(N.te,N,[L,j]),Kse,N=>Mn(N))}function he(L){let j=null;const N=fL(_,l.value,a.value);for(let K=0;K{s&&(a.value=L,_.locale=L,xf(_,a.value,l.value))}),We(t.fallbackLocale,L=>{s&&(l.value=L,_.fallbackLocale=L,xf(_,a.value,l.value))}));const z={id:E3,locale:A,fallbackLocale:C,get inheritLocale(){return s},set inheritLocale(L){s=L,L&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,xf(_,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:$,get modifiers(){return w},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(L){f=L,_.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,_.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,_.fallbackFormat=m},get warnHtmlMessage(){return v},set warnHtmlMessage(L){v=L,_.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,_.escapeParameter=L},t:ye,getLocaleMessage:ze,setLocaleMessage:I,mergeLocaleMessage:R,getPostTranslationHandler:X,setPostTranslationHandler:Y,getMissingHandler:B,setMissingHandler:ee,[Hse]:me};return z.datetimeFormats=E,z.numberFormats=Q,z.rt=ve,z.te=fe,z.tm=Te,z.d=pe,z.n=de,z.getDateTimeFormat=Z,z.setDateTimeFormat=ie,z.mergeDateTimeFormat=re,z.getNumberFormat=k,z.setNumberFormat=x,z.mergeNumberFormat=M,z[yL]=n,z[w3]=Ee,z[S3]=J,z[_3]=ne,z}const Z2={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};eo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ar(e)||!isNaN(e)}},Z2);eo({value:{type:Number,required:!0},format:{type:[String,Object]}},Z2);eo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Z2);const eae=Xc("global-vue-i18n");function Vd(e={}){const t=Rr();if(t==null)throw Gh(dd.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gh(dd.NOT_INSTALLED);const n=tae(t),r=rae(n),o=Yse(t),i=nae(e,o);if(i==="global")return Gse(r,e,o),r;if(i==="parent"){let l=oae(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=eo({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Jse(l),s.__composerExtend&&(a[IS]=s.__composerExtend(a)),sae(s,t,a),s.__setInstance(t,a)}return a}function tae(e){const t=qe(e.isCE?eae:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gh(e.isCE?dd.NOT_INSTALLED_WITH_PROVIDE:dd.UNEXPECTED_ERROR);return t}function nae(e,t){return ny(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function rae(e){return e.mode==="composition"?e.global:e.global.__composer}function oae(e,t,n=!1){let r=null;const o=t.root;let i=iae(t,n);for(;i!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[yL]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function iae(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function sae(e,t,n){Zo(()=>{},t),qc(()=>{const r=n;e.__deleteInstance(t);const o=r[IS];o&&(o(),delete r[IS])},t)}Xse();Ese(ase);Tse(_se);Cse(fL);if(__INTLIFY_PROD_DEVTOOLS__){const e=fc();e.__INTLIFY__=!0,lse(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function C3(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z","clip-rule":"evenodd"})])}function P3(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10Z","clip-rule":"evenodd"})])}function aae(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z","clip-rule":"evenodd"})])}function V2(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function wL(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z","clip-rule":"evenodd"})])}function lae(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495ZM10 5a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 10 5Zm0 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}function iy(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z","clip-rule":"evenodd"})])}function cae(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{d:"M6.5 9a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z"}),Oe("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM9 5a4 4 0 1 0 2.248 7.309l1.472 1.471a.75.75 0 1 0 1.06-1.06l-1.471-1.472A4 4 0 0 0 9 5Z","clip-rule":"evenodd"})])}function SL(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z","clip-rule":"evenodd"})])}function X2(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"})])}const uae={class:"flex h-10 grow flex-col justify-center overflow-hidden"},dae=["innerHTML"],fae=["innerHTML"],hae=Qe({__name:"UiAutocompleteItem",props:{title:{},selected:{type:Boolean},subtitle:{},imageSrc:{},imageSrcset:{},to:{},hideImage:{type:Boolean},href:{}},emits:["click"],setup(e){const t=e,n=q(()=>t.href?"a":t.to?"router-link":"div");return(r,o)=>(W(),Me(Ii(n.value),Ce(r.$qa("uiautocompleteitem"),{class:["flex gap-2 rounded p-2 hover:cursor-pointer hover:bg-surface-hover active:bg-surface-pressed",r.selected?"ring-2 ring-inset ring-focused":""],to:r.to,href:r.href,target:r.href?"_blank":void 0,rel:"noopener",onClick:o[0]||(o[0]=i=>r.$emit("click"))}),{default:Ne(()=>[r.hideImage?xe("",!0):(W(),Me(U(nfe),{key:0,class:"shrink-0","image-src":r.imageSrc,"image-srcset":r.imageSrcset},null,8,["image-src","image-srcset"])),Oe("div",uae,[Oe("div",{class:"h-5 truncate font-semibold text-text",innerHTML:r.title},null,8,dae),r.subtitle?(W(),oe("div",{key:0,class:"h-5 truncate text-text [&_div]:truncate",innerHTML:r.subtitle},null,8,fae)):xe("",!0)])]),_:1},16,["class","to","href","target"]))}}),pae={key:0,class:"flex flex-col gap-y-1"},mae={key:1,class:"flex h-20 flex-col items-center justify-center"},gae={key:1,class:"flex size-full flex-col items-center justify-center gap-y-2 rounded bg-surface-active-subtle"},bae={class:"text-center"},Oae={class:"typography-h6"},bLe=Qe({__name:"UiAutocomplete",props:{modelValue:{},placeholder:{default:void 0},items:{default:void 0},popoverMinSearchLength:{default:3},searchLoading:{type:Boolean},hideItemImage:{type:Boolean},inputClass:{default:void 0}},emits:["update:modelValue","selected","suggestionsQueryChange"],setup(e,{emit:t}){const{t:n}=Vd(),r=e,o=t,i=VI(),s=ge(""),a=ge(!1),l=ge(!1),c=q(()=>s.value.length>=r.popoverMinSearchLength);We(c,()=>{if(a.value){c.value||(a.value=!1);return}c.value&&l.value&&(a.value=!0)}),We(l,()=>{a.value||l.value&&c.value&&(a.value=!0)});const u=()=>{l.value=!1,s.value=r.modelValue||""},d=()=>{var w;f.value=void 0,(w=h.value)==null||w.blurInput()},f=ge();We(s,()=>{f.value=void 0}),We(()=>r.modelValue,w=>{s.value=w||""},{immediate:!0});const h=ge();We(a,w=>{w||(f.value=void 0)}),h2(()=>{o("suggestionsQueryChange",a.value?s.value:"")});const p=()=>{!a.value||!r.items||(f.value=f.value!==void 0?f.value===r.items.length-1?void 0:f.value+1:0)},m=()=>{!a.value||!r.items||(f.value=f.value!==void 0?f.value===0?void 0:f.value-1:r.items.length-1)},O=w=>{o("selected",w)},g=w=>{if(!r.items)return;const S=r.items[w];S.to?i.push(S.to):S.href&&window.open(S.href,"_blank"),O(S.id)},b=()=>{var w;o("update:modelValue",s.value),(w=h.value)==null||w.blurInput(),a.value=!1},v=()=>{f.value!==void 0?g(f.value):b()},y=()=>{wr(()=>{b()})};return(w,S)=>{var _;return W(),Me(U(Oy),Ce({modelValue:a.value,"onUpdate:modelValue":S[5]||(S[5]=T=>a.value=T)},w.$qa("uiautocomplete"),{"disable-click-outside":l.value,"full-width":"",target:(_=h.value)==null?void 0:_.$el,onClose:d}),{activator:Ne(()=>[De(U(_E),{ref_key:"input",ref:h,modelValue:s.value,"onUpdate:modelValue":S[0]||(S[0]=T=>s.value=T),class:it(w.inputClass),maxlength:"200",clearable:"",placeholder:w.placeholder,"left-icon":U(SL),autocomplete:"off",onKeydown:[Er(xr(m,["prevent"]),["up"]),Er(xr(p,["prevent"]),["down"])],onKeypress:S[1]||(S[1]=Er(T=>v(),["enter"])),onClear:S[2]||(S[2]=T=>y()),onFocus:S[3]||(S[3]=T=>l.value=!0),onBlur:u},null,8,["modelValue","class","placeholder","left-icon","onKeydown"])]),default:Ne(()=>[Oe("div",{class:"p-2",onMousedown:S[4]||(S[4]=xr(()=>{},["prevent"]))},[!w.searchLoading&&w.items&&w.items.length>0?(W(),oe("div",pae,[(W(!0),oe(wt,null,si(w.items,(T,A)=>(W(),Me(hae,{key:T.id,title:T.title,selected:f.value===A,subtitle:T.subtitle,"image-src":T.imageSrc,"image-srcset":T.imageSrcset,to:T.to,href:T.href,"hide-image":w.hideItemImage,onClick:C=>O(T.id)},null,8,["title","selected","subtitle","image-src","image-srcset","to","href","hide-image","onClick"]))),128))])):(W(),oe("div",mae,[w.searchLoading?(W(),Me(U(Xp),{key:0})):(W(),oe("div",gae,[De(U(cae),{class:"size-5 text-icon"}),Oe("div",bae,[Oe("div",Oae,rt(U(n)("ui.components.uiAutocomplete.noResults.text")),1)])]))]))],32)]),_:1},16,["modelValue","disable-click-outside","target"])}}});function yae(e){return e.replace(/-/,"").toUpperCase()}function H2(e){return e.replace(/-\w/g,yae)}const vae={"1dp":["0px 1px 2px rgba(0, 0, 0, 0.2)"],"2dp":["0px 0px 2px rgba(0, 0, 0, 0.4)","0px 1px 2px rgba(0, 0, 0, 0.15)"],"2dp-hover":["0px 0px 2px rgba(0, 0, 0, 0.4)","0px 2px 8px rgba(0, 0, 0, 0.15)"],"4dp":["0px 0px 2px rgba(0, 0, 0, 0.2)","0px 2px 8px rgba(0, 0, 0, 0.15)"],"8dp":["0px 0px 4px rgba(0, 0, 0, 0.1)","0px 4px 8px rgba(0, 0, 0, 0.25)"],"inner-1dp":["inset 0 0 1px rgba(0, 0, 0, 0.2)"]};function wae(e){return`--boxShadow-${H2(e)}`}function Sae(e){return e.join(", ")}function _ae(e){return Object.entries(e).map(([t,n])=>({name:wae(t),value:Sae(n)}))}const kae={background:"#F6F6F6",divider:"#E1E3E5",text:"#202223",textSubtle:"#6D7175",textDisabled:"#8C9196",textPlaceholder:"#969BA0",textHeading:"#202223",textHelper:"#969BA0",textCritical:"#A11500",textCriticalActive:"#2F0A04",textCriticalDark:"#FF6044",textCriticalHover:"#5F1507",textWarning:"#C57400",textSuccess:"#00634A",textHighlight:"#347C84",textAward:"#B6A300",textInverse:"#E3E3E3",textOnInteractive:"#FFFFFF",textOnPrimary:"#FFFFFF",textOnCritical:"#FFFFFF",textOnReversed:"#FFFFFF",textOnReversedSubtle:"#D2D9E0",textOnInput:"#202223",textOnTag:"#202223",textOnTooltip:"#202223",iconOnPrimary:"#FFFFFF",surface:"#FFFFFF",surfaceHover:"#F6F6F7",surfaceHoverDark:"#2F3133",surfacePressed:"#F1F2F3",surfaceActive:"#EDEEEF",surfaceActiveSubtle:"#F1F2F3",surfaceDisabled:"#FAFBFB",surfaceSubtle:"#F9FAFB",surfaceDark:"#202123",surfaceBadge:"#C9CCCF",surfaceInverse:"#303030",surfaceNeutral:"#E4E5E7",surfaceNeutralHover:"#DBDDDF",surfaceNeutralPressed:"#C9CCD0",surfaceNeutralSelected:"#6D7175",surfaceNeutralSubtle:"#F6F6F7",surfaceNeutralSubtleHover:"#EFEFEF",surfaceNeutralDisabled:"#F1F2F3",surfaceSelected:"#F2F7FE",surfaceSelectedHover:"#EDF4FE",surfaceSelectedPressed:"#E5EFFD",surfaceCritical:"#FED3D1",surfaceCriticalSubtle:"#FFF4F4",surfaceCriticalSubtleHover:"#FFF0F0",surfaceCriticalSubtlePressed:"#FFE9E8",surfaceSuccess:"#AEE9D1",surfaceSuccessSubtle:"#F1F8F5",surfaceSuccessSubtleHover:"#ECF6F1",surfaceSuccessSubtlePressed:"#E2F1EA",surfaceWarning:"#FFD79D",surfaceWarningSubtle:"#FFF5EA",surfaceWarningSubtleHover:"#FFF2E2",surfaceWarningSubtlePressed:"#FFEBD3",surfaceHighlight:"#A4E8F2",surfaceHighlightSubtle:"#EBF9FC",surfaceHighlightSubtleHover:"#E4F7FA",surfaceHighlightSubtlePressed:"#D5F3F8",surfaceAward:"#FFF6A9",surfaceAwardSubtle:"#FFFCE4",surfaceAwardSubtleHover:"#FFFBD3",surfaceAwardSubtlePressed:"#FFF9C6",border:"#C9CCCF",borderSubtle:"#E5E7EB",borderHover:"#999EA1",borderDisabled:"#D2D5D8",borderNeutral:"#B9BFC6",borderNeutralSubtle:"#B8BDC1",borderCritical:"#FD5749",borderCriticalSubtle:"#E0B3B2",borderCriticalDisabled:"#FFA7A3",borderSuccess:"#00A47C",borderSuccessSubtle:"#95C9B4",borderWarning:"#E08D15",borderWarningSubtle:"#E1B878",borderHighlight:"#449DA7",borderHighlightSubtle:"#98C6CD",borderDropzoneDragging:"#2C6ECB",borderDropzoneCritical:"#FD5749",actionPrimary:"#6544AB",actionPrimaryHover:"#5B37A8",actionPrimaryPressed:"#412284",actionPrimaryDisabled:"#F1F1F1",actionPrimarySubtle:"#F4EEFF",actionSecondary:"#FFFFFF",actionSecondaryHover:"#F6F6F7",actionSecondaryPressed:"#F1F2F3",actionSecondaryDisabled:"#FFFFFF",actionCritical:"#D82C0D",actionCriticalHover:"#BC2200",actionCriticalPressed:"#A21B00",actionCriticalDisabled:"#F1F1F1",interactive:"#0046A8",interactiveDark:"#36A3FF",interactiveHover:"#0E4698",interactivePressed:"#103262",interactivePressedDark:"#88BCFF",interactiveDisabled:"#BDC1CC",interactiveCritical:"#A11500",interactiveCriticalHover:"#CD290C",interactiveCriticalPressed:"#670F03",interactiveCriticalDisabled:"#FD938D",focused:"#458FFF",overlayDark:"#00000080",overlayDarkHover:"#000000BF",overlayLight:"#FFFFFF80",icon:"#5C5F62",iconDark:"#A6ACB2",iconSubtle:"#8C9196",iconDisabled:"#BABEC3",iconReversed:"#FFFFFF",iconCritical:"#D72C0D",iconCriticalDark:"#FF6044",iconWarning:"#B98900",iconSuccess:"#007F5F",iconHighlight:"#00A0AC",iconAward:"#EEC200",iconHover:"#1A1C1D",iconPressed:"#44474A",logoDark:"#102142",logoPurple:"#545AA8",logoPink:"#EF509C",skeleton:"#0000000D",skeletonDark:"#FFFFFF0D",listedItemOverlay:"#3F4B6626"};function xae(e){return`--color-${H2(e)}`}function Eae(e){return Object.entries(e).map(([t,n])=>({name:xae(t),value:n}))}var Cu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tae(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _L={},kL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return t}});function t(n){return Array.isArray(n)?n.map(r=>t(r)):typeof n=="object"&&n!==null?Object.fromEntries(Object.entries(n).map(([r,o])=>[r,t(o)])):n}})(kL);var Cae={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=kL,n=r(Cae);function r(i){return i&&i.__esModule?i:{default:i}}const o=(0,t.cloneDeep)(n.default.theme)})(_L);let Yv=_L;var xL=(Yv.__esModule?Yv:{default:Yv}).default;const Gv=Tae(xL),Pae={display:Gv.fontFamily.sans,body:Gv.fontFamily.sans,mono:Gv.fontFamily.mono},Aae={display:["Inter"],body:["Inter"],mono:[]};function $ae(e){return`--fontFamily-${e}`}function Mae(e,t){return[...t,...Pae[e]].join(", ")}function Rae(e){return Object.entries(e).map(([t,n])=>({name:$ae(t),value:Mae(t,n)}))}var Jh=(e=>(e.NORMAL="normal",e.MEDIUM="medium",e.SEMIBOLD="semibold",e.BOLD="bold",e))(Jh||{});const Iae={normal:"400",medium:"500",semibold:"600",bold:"700"};function Lae(e){return`--fontWeight-${H2(e)}`}function Nae(e){return Object.entries(e).map(([t,n])=>({name:Lae(t),value:n}))}function _r(e){switch(e){case"bold":return"font-bold";case"medium":return"font-medium";case"normal":return"font-normal";case"semibold":return"font-semibold"}}const Dae={shadow:!1,border:!0};function Qae(){return{...Dae}}function Bae(e,t={}){return{...e,...t}}function zae(){return{...vae}}function jae(e,t={}){return{...e,...t}}const Wae=/[^\s(]+(\(.+\))?/g;function Fae(e){e.startsWith("inset")&&(e=e.substring(6,e.length));const t=e.match(Wae);return t&&t.length==5?`drop-shadow(${t[0]} ${t[1]} ${t[2]} ${t[4]})`:`drop-shadow(${e})`}var qae={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi},Kv=qae,Y2={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function Uae(e){return e.trim().replace(Y2.whitespace," ")}function Zae(e){return encodeURIComponent(e).replace(Y2.urlHexPairs,Xae)}function Vae(e){return Object.keys(Kv).forEach(function(t){Kv[t].test(e)&&(e=e.replace(Kv[t],t))}),e}function Xae(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function LS(e){if(typeof e!="string")throw new TypeError("Expected a string, but received "+typeof e);e.charCodeAt(0)===65279&&(e=e.slice(1));var t=Vae(Uae(e)).replace(Y2.quotes,"'");return"data:image/svg+xml,"+Zae(t)}LS.toSrcset=function(e){return LS(e).replace(/ /g,"%20")};var Hae=LS,EL={},TL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});function t(r,o){return{handler:r,config:o}}t.withOptions=function(r,o=()=>({})){const i=function(s){return{__options:s,handler:r(s),config:o(s)}};return i.__isOptionsFunction=!0,i.__pluginFunction=r,i.__configFunction=o,i};const n=t})(TL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const t=n(TL);function n(o){return o&&o.__esModule?o:{default:o}}const r=t.default})(EL);let Jv=EL;var CL=(Jv.__esModule?Jv:{default:Jv}).default,PL={},AL={},G2={exports:{}},pt=String,$L=function(){return{isColorSupported:!1,reset:pt,bold:pt,dim:pt,italic:pt,underline:pt,inverse:pt,hidden:pt,strikethrough:pt,black:pt,red:pt,green:pt,yellow:pt,blue:pt,magenta:pt,cyan:pt,white:pt,gray:pt,bgBlack:pt,bgRed:pt,bgGreen:pt,bgYellow:pt,bgBlue:pt,bgMagenta:pt,bgCyan:pt,bgWhite:pt,blackBright:pt,redBright:pt,greenBright:pt,yellowBright:pt,blueBright:pt,magentaBright:pt,cyanBright:pt,whiteBright:pt,bgBlackBright:pt,bgRedBright:pt,bgGreenBright:pt,bgYellowBright:pt,bgBlueBright:pt,bgMagentaBright:pt,bgCyanBright:pt,bgWhiteBright:pt}};G2.exports=$L();G2.exports.createColors=$L;var Yae=G2.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var u in c)Object.defineProperty(l,u,{enumerable:!0,get:c[u]})}t(e,{dim:function(){return s},default:function(){return a}});const n=r(Yae);function r(l){return l&&l.__esModule?l:{default:l}}let o=new Set;function i(l,c,u){typeof process<"u"&&CS.JEST_WORKER_ID||u&&o.has(u)||(u&&o.add(u),console.warn(""),c.forEach(d=>console.warn(l,"-",d)))}function s(l){return n.default.dim(l)}const a={info(l,c){i(n.default.bold(n.default.cyan("info")),...Array.isArray(l)?[l]:[c,l])},warn(l,c){i(n.default.bold(n.default.yellow("warn")),...Array.isArray(l)?[l]:[c,l])},risk(l,c){i(n.default.bold(n.default.magenta("risk")),...Array.isArray(l)?[l]:[c,l])}}})(AL);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=n(AL);function n(i){return i&&i.__esModule?i:{default:i}}function r({version:i,from:s,to:a}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${a}\`.`,"Update your configuration file to silence this warning."])}const o={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(PL);let ew=PL;var ML=(ew.__esModule?ew:{default:ew}).default;const Zm=Hae,Gae=CL,RL=xL,La=ML,[Kae,{lineHeight:Jae}]=RL.fontSize.base,{spacing:Bs,borderWidth:A3,borderRadius:$3}=RL;function Yl(e,t){return e.replace("",`var(${t}, 1)`)}Gae.withOptions(function(e={strategy:void 0}){return function({addBase:t,addComponents:n,theme:r}){function o(l,c){let u=r(l);return!u||u.includes("var(")?c:u.replace("","1")}const i=e.strategy===void 0?["base","class"]:[e.strategy],s=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":Yl(r("colors.gray.500",La.gray[500]),"--tw-border-opacity"),"border-width":A3.DEFAULT,"border-radius":$3.none,"padding-top":Bs[2],"padding-right":Bs[3],"padding-bottom":Bs[2],"padding-left":Bs[3],"font-size":Kae,"line-height":Jae,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":Yl(r("colors.blue.600",La.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":Yl(r("colors.blue.600",La.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:Yl(r("colors.gray.500",La.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${Zm(``)}")`,"background-position":`right ${Bs[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":Bs[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":Bs[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:Bs[4],width:Bs[4],color:Yl(r("colors.blue.600",La.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":Yl(r("colors.gray.500",La.gray[500]),"--tw-border-opacity"),"border-width":A3.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":$3.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":Yl(r("colors.blue.600",La.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${Zm('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${Zm('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${Zm('')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],a=l=>s.map(c=>c[l]===null?null:{[c[l]]:c.styles}).filter(Boolean);i.includes("base")&&t(a("base")),i.includes("class")&&n(a("class"))}});var o0={exports:{}};o0.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",o=800,i=16,s=9007199254740991,a="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",p="[object GeneratorFunction]",m="[object Map]",O="[object Number]",g="[object Null]",b="[object Object]",v="[object Proxy]",y="[object RegExp]",w="[object Set]",S="[object String]",_="[object Undefined]",T="[object WeakMap]",A="[object ArrayBuffer]",C="[object DataView]",$="[object Float32Array]",E="[object Float64Array]",Q="[object Int8Array]",X="[object Int16Array]",Y="[object Int32Array]",B="[object Uint8Array]",ee="[object Uint8ClampedArray]",te="[object Uint16Array]",ye="[object Uint32Array]",ve=/[\\^$.*+?()[\]{}|]/g,pe=/^\[object .+?Constructor\]$/,de=/^(?:0|[1-9]\d*)$/,V={};V[$]=V[E]=V[Q]=V[X]=V[Y]=V[B]=V[ee]=V[te]=V[ye]=!0,V[a]=V[l]=V[A]=V[u]=V[C]=V[d]=V[f]=V[h]=V[m]=V[O]=V[b]=V[y]=V[w]=V[S]=V[T]=!1;var ue=typeof Cu=="object"&&Cu&&Cu.Object===Object&&Cu,Ee=typeof self=="object"&&self&&self.Object===Object&&self,ne=ue||Ee||Function("return this")(),J=t&&!t.nodeType&&t,me=J&&!0&&e&&!e.nodeType&&e,fe=me&&me.exports===J,he=fe&&ue.process,Te=function(){try{var D=me&&me.require&&me.require("util").types;return D||he&&he.binding&&he.binding("util")}catch{}}(),ze=Te&&Te.isTypedArray;function I(D,G,se){switch(se.length){case 0:return D.call(G);case 1:return D.call(G,se[0]);case 2:return D.call(G,se[0],se[1]);case 3:return D.call(G,se[0],se[1],se[2])}return D.apply(G,se)}function R(D,G){for(var se=-1,je=Array(D);++se-1}function yF(D,G){var se=this.__data__,je=Cm(se,D);return je<0?(++this.size,se.push([D,G])):se[je][1]=G,this}Is.prototype.clear=mF,Is.prototype.delete=gF,Is.prototype.get=bF,Is.prototype.has=OF,Is.prototype.set=yF;function ou(D){var G=-1,se=D==null?0:D.length;for(this.clear();++G1?se[_t-1]:void 0,mn=_t>2?se[2]:void 0;for(nn=D.length>3&&typeof nn=="function"?(_t--,nn):void 0,mn&&XF(se[0],se[1],mn)&&(nn=_t<3?void 0:nn,_t=1),G=Object(G);++je<_t;){var At=se[je];At&&D(G,At,je,nn)}return G})}function UF(D){return function(G,se,je){for(var _t=-1,nn=Object(G),mn=je(G),At=mn.length;At--;){var gn=mn[++_t];if(se(nn[gn],gn,nn)===!1)break}return G}}function Am(D,G){var se=D.__data__;return HF(G)?se[typeof G=="string"?"string":"hash"]:se.map}function av(D,G){var se=ie(D,G);return RF(se)?se:void 0}function ZF(D){var G=j.call(D,Yi),se=D[Yi];try{D[Yi]=void 0;var je=!0}catch{}var _t=K.call(D);return je&&(G?D[Yi]=se:delete D[Yi]),_t}function VF(D){return typeof D.constructor=="function"&&!p5(D)?cF(Pn(D)):{}}function h5(D,G){var se=typeof D;return G=G??s,!!G&&(se=="number"||se!="symbol"&&de.test(D))&&D>-1&&D%1==0&&D0){if(++G>=o)return arguments[0]}else G=0;return D.apply(void 0,arguments)}}function nq(D){if(D!=null){try{return L.call(D)}catch{}try{return D+""}catch{}}return""}function $m(D,G){return D===G||D!==D&&G!==G}var cv=d5(function(){return arguments}())?d5:function(D){return pf(D)&&j.call(D,"callee")&&!Qr.call(D,"callee")},uv=Array.isArray;function dv(D){return D!=null&&g5(D.length)&&!fv(D)}function rq(D){return pf(D)&&dv(D)}var m5=Vo||lq;function fv(D){if(!Ul(D))return!1;var G=Pm(D);return G==h||G==p||G==c||G==v}function g5(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=s}function Ul(D){var G=typeof D;return D!=null&&(G=="object"||G=="function")}function pf(D){return D!=null&&typeof D=="object"}function oq(D){if(!pf(D)||Pm(D)!=b)return!1;var G=Pn(D);if(G===null)return!0;var se=j.call(G,"constructor")&&G.constructor;return typeof se=="function"&&se instanceof se&&L.call(se)==we}var b5=ze?Z(ze):IF;function iq(D){return FF(D,O5(D))}function O5(D){return dv(D)?AF(D):LF(D)}var sq=qF(function(D,G,se){f5(D,G,se)});function aq(D){return function(){return D}}function y5(D){return D}function lq(){return!1}e.exports=sq})(o0,o0.exports);var ele=o0.exports;function tle(){if(!arguments.length)return[];var e=arguments[0];return nle(e)?e:[e]}var nle=Array.isArray,rle=tle;const F=ML,Je=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),zr=e=>`${Je(e/16)}rem`,P=(e,t)=>`${Je(e/t)}em`,Ki=e=>{e=e.replace("#",""),e=e.length===3?e.replace(/./g,"$&$&"):e;const t=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),r=parseInt(e.substring(4,6),16);return`${t} ${n} ${r}`};let tw={sm:{css:[{fontSize:zr(14),lineHeight:Je(24/14),p:{marginTop:P(16,14),marginBottom:P(16,14)},'[class~="lead"]':{fontSize:P(18,14),lineHeight:Je(28/18),marginTop:P(16,18),marginBottom:P(16,18)},blockquote:{marginTop:P(24,18),marginBottom:P(24,18),paddingInlineStart:P(20,18)},h1:{fontSize:P(30,14),marginTop:"0",marginBottom:P(24,30),lineHeight:Je(36/30)},h2:{fontSize:P(20,14),marginTop:P(32,20),marginBottom:P(16,20),lineHeight:Je(28/20)},h3:{fontSize:P(18,14),marginTop:P(28,18),marginBottom:P(8,18),lineHeight:Je(28/18)},h4:{marginTop:P(20,14),marginBottom:P(8,14),lineHeight:Je(20/14)},img:{marginTop:P(24,14),marginBottom:P(24,14)},picture:{marginTop:P(24,14),marginBottom:P(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:P(24,14),marginBottom:P(24,14)},kbd:{fontSize:P(12,14),borderRadius:zr(5),paddingTop:P(2,14),paddingInlineEnd:P(5,14),paddingBottom:P(2,14),paddingInlineStart:P(5,14)},code:{fontSize:P(12,14)},"h2 code":{fontSize:P(18,20)},"h3 code":{fontSize:P(16,18)},pre:{fontSize:P(12,14),lineHeight:Je(20/12),marginTop:P(20,12),marginBottom:P(20,12),borderRadius:zr(4),paddingTop:P(8,12),paddingInlineEnd:P(12,12),paddingBottom:P(8,12),paddingInlineStart:P(12,12)},ol:{marginTop:P(16,14),marginBottom:P(16,14),paddingInlineStart:P(22,14)},ul:{marginTop:P(16,14),marginBottom:P(16,14),paddingInlineStart:P(22,14)},li:{marginTop:P(4,14),marginBottom:P(4,14)},"ol > li":{paddingInlineStart:P(6,14)},"ul > li":{paddingInlineStart:P(6,14)},"> ul > li p":{marginTop:P(8,14),marginBottom:P(8,14)},"> ul > li > p:first-child":{marginTop:P(16,14)},"> ul > li > p:last-child":{marginBottom:P(16,14)},"> ol > li > p:first-child":{marginTop:P(16,14)},"> ol > li > p:last-child":{marginBottom:P(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:P(8,14),marginBottom:P(8,14)},dl:{marginTop:P(16,14),marginBottom:P(16,14)},dt:{marginTop:P(16,14)},dd:{marginTop:P(4,14),paddingInlineStart:P(22,14)},hr:{marginTop:P(40,14),marginBottom:P(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:P(12,14),lineHeight:Je(18/12)},"thead th":{paddingInlineEnd:P(12,12),paddingBottom:P(8,12),paddingInlineStart:P(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:P(8,12),paddingInlineEnd:P(12,12),paddingBottom:P(8,12),paddingInlineStart:P(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:P(24,14),marginBottom:P(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:P(12,14),lineHeight:Je(16/12),marginTop:P(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:zr(16),lineHeight:Je(28/16),p:{marginTop:P(20,16),marginBottom:P(20,16)},'[class~="lead"]':{fontSize:P(20,16),lineHeight:Je(32/20),marginTop:P(24,20),marginBottom:P(24,20)},blockquote:{marginTop:P(32,20),marginBottom:P(32,20),paddingInlineStart:P(20,20)},h1:{fontSize:P(36,16),marginTop:"0",marginBottom:P(32,36),lineHeight:Je(40/36)},h2:{fontSize:P(24,16),marginTop:P(48,24),marginBottom:P(24,24),lineHeight:Je(32/24)},h3:{fontSize:P(20,16),marginTop:P(32,20),marginBottom:P(12,20),lineHeight:Je(32/20)},h4:{marginTop:P(24,16),marginBottom:P(8,16),lineHeight:Je(24/16)},img:{marginTop:P(32,16),marginBottom:P(32,16)},picture:{marginTop:P(32,16),marginBottom:P(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:P(32,16),marginBottom:P(32,16)},kbd:{fontSize:P(14,16),borderRadius:zr(5),paddingTop:P(3,16),paddingInlineEnd:P(6,16),paddingBottom:P(3,16),paddingInlineStart:P(6,16)},code:{fontSize:P(14,16)},"h2 code":{fontSize:P(21,24)},"h3 code":{fontSize:P(18,20)},pre:{fontSize:P(14,16),lineHeight:Je(24/14),marginTop:P(24,14),marginBottom:P(24,14),borderRadius:zr(6),paddingTop:P(12,14),paddingInlineEnd:P(16,14),paddingBottom:P(12,14),paddingInlineStart:P(16,14)},ol:{marginTop:P(20,16),marginBottom:P(20,16),paddingInlineStart:P(26,16)},ul:{marginTop:P(20,16),marginBottom:P(20,16),paddingInlineStart:P(26,16)},li:{marginTop:P(8,16),marginBottom:P(8,16)},"ol > li":{paddingInlineStart:P(6,16)},"ul > li":{paddingInlineStart:P(6,16)},"> ul > li p":{marginTop:P(12,16),marginBottom:P(12,16)},"> ul > li > p:first-child":{marginTop:P(20,16)},"> ul > li > p:last-child":{marginBottom:P(20,16)},"> ol > li > p:first-child":{marginTop:P(20,16)},"> ol > li > p:last-child":{marginBottom:P(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:P(12,16),marginBottom:P(12,16)},dl:{marginTop:P(20,16),marginBottom:P(20,16)},dt:{marginTop:P(20,16)},dd:{marginTop:P(8,16),paddingInlineStart:P(26,16)},hr:{marginTop:P(48,16),marginBottom:P(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:P(14,16),lineHeight:Je(24/14)},"thead th":{paddingInlineEnd:P(8,14),paddingBottom:P(8,14),paddingInlineStart:P(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:P(8,14),paddingInlineEnd:P(8,14),paddingBottom:P(8,14),paddingInlineStart:P(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:P(32,16),marginBottom:P(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:P(14,16),lineHeight:Je(20/14),marginTop:P(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:zr(18),lineHeight:Je(32/18),p:{marginTop:P(24,18),marginBottom:P(24,18)},'[class~="lead"]':{fontSize:P(22,18),lineHeight:Je(32/22),marginTop:P(24,22),marginBottom:P(24,22)},blockquote:{marginTop:P(40,24),marginBottom:P(40,24),paddingInlineStart:P(24,24)},h1:{fontSize:P(48,18),marginTop:"0",marginBottom:P(40,48),lineHeight:Je(48/48)},h2:{fontSize:P(30,18),marginTop:P(56,30),marginBottom:P(32,30),lineHeight:Je(40/30)},h3:{fontSize:P(24,18),marginTop:P(40,24),marginBottom:P(16,24),lineHeight:Je(36/24)},h4:{marginTop:P(32,18),marginBottom:P(8,18),lineHeight:Je(28/18)},img:{marginTop:P(32,18),marginBottom:P(32,18)},picture:{marginTop:P(32,18),marginBottom:P(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:P(32,18),marginBottom:P(32,18)},kbd:{fontSize:P(16,18),borderRadius:zr(5),paddingTop:P(4,18),paddingInlineEnd:P(8,18),paddingBottom:P(4,18),paddingInlineStart:P(8,18)},code:{fontSize:P(16,18)},"h2 code":{fontSize:P(26,30)},"h3 code":{fontSize:P(21,24)},pre:{fontSize:P(16,18),lineHeight:Je(28/16),marginTop:P(32,16),marginBottom:P(32,16),borderRadius:zr(6),paddingTop:P(16,16),paddingInlineEnd:P(24,16),paddingBottom:P(16,16),paddingInlineStart:P(24,16)},ol:{marginTop:P(24,18),marginBottom:P(24,18),paddingInlineStart:P(28,18)},ul:{marginTop:P(24,18),marginBottom:P(24,18),paddingInlineStart:P(28,18)},li:{marginTop:P(12,18),marginBottom:P(12,18)},"ol > li":{paddingInlineStart:P(8,18)},"ul > li":{paddingInlineStart:P(8,18)},"> ul > li p":{marginTop:P(16,18),marginBottom:P(16,18)},"> ul > li > p:first-child":{marginTop:P(24,18)},"> ul > li > p:last-child":{marginBottom:P(24,18)},"> ol > li > p:first-child":{marginTop:P(24,18)},"> ol > li > p:last-child":{marginBottom:P(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:P(16,18),marginBottom:P(16,18)},dl:{marginTop:P(24,18),marginBottom:P(24,18)},dt:{marginTop:P(24,18)},dd:{marginTop:P(12,18),paddingInlineStart:P(28,18)},hr:{marginTop:P(56,18),marginBottom:P(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:P(16,18),lineHeight:Je(24/16)},"thead th":{paddingInlineEnd:P(12,16),paddingBottom:P(12,16),paddingInlineStart:P(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:P(12,16),paddingInlineEnd:P(12,16),paddingBottom:P(12,16),paddingInlineStart:P(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:P(32,18),marginBottom:P(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:P(16,18),lineHeight:Je(24/16),marginTop:P(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:zr(20),lineHeight:Je(36/20),p:{marginTop:P(24,20),marginBottom:P(24,20)},'[class~="lead"]':{fontSize:P(24,20),lineHeight:Je(36/24),marginTop:P(24,24),marginBottom:P(24,24)},blockquote:{marginTop:P(48,30),marginBottom:P(48,30),paddingInlineStart:P(32,30)},h1:{fontSize:P(56,20),marginTop:"0",marginBottom:P(48,56),lineHeight:Je(56/56)},h2:{fontSize:P(36,20),marginTop:P(56,36),marginBottom:P(32,36),lineHeight:Je(40/36)},h3:{fontSize:P(30,20),marginTop:P(48,30),marginBottom:P(20,30),lineHeight:Je(40/30)},h4:{marginTop:P(36,20),marginBottom:P(12,20),lineHeight:Je(32/20)},img:{marginTop:P(40,20),marginBottom:P(40,20)},picture:{marginTop:P(40,20),marginBottom:P(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:P(40,20),marginBottom:P(40,20)},kbd:{fontSize:P(18,20),borderRadius:zr(5),paddingTop:P(5,20),paddingInlineEnd:P(8,20),paddingBottom:P(5,20),paddingInlineStart:P(8,20)},code:{fontSize:P(18,20)},"h2 code":{fontSize:P(31,36)},"h3 code":{fontSize:P(27,30)},pre:{fontSize:P(18,20),lineHeight:Je(32/18),marginTop:P(36,18),marginBottom:P(36,18),borderRadius:zr(8),paddingTop:P(20,18),paddingInlineEnd:P(24,18),paddingBottom:P(20,18),paddingInlineStart:P(24,18)},ol:{marginTop:P(24,20),marginBottom:P(24,20),paddingInlineStart:P(32,20)},ul:{marginTop:P(24,20),marginBottom:P(24,20),paddingInlineStart:P(32,20)},li:{marginTop:P(12,20),marginBottom:P(12,20)},"ol > li":{paddingInlineStart:P(8,20)},"ul > li":{paddingInlineStart:P(8,20)},"> ul > li p":{marginTop:P(16,20),marginBottom:P(16,20)},"> ul > li > p:first-child":{marginTop:P(24,20)},"> ul > li > p:last-child":{marginBottom:P(24,20)},"> ol > li > p:first-child":{marginTop:P(24,20)},"> ol > li > p:last-child":{marginBottom:P(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:P(16,20),marginBottom:P(16,20)},dl:{marginTop:P(24,20),marginBottom:P(24,20)},dt:{marginTop:P(24,20)},dd:{marginTop:P(12,20),paddingInlineStart:P(32,20)},hr:{marginTop:P(56,20),marginBottom:P(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:P(18,20),lineHeight:Je(28/18)},"thead th":{paddingInlineEnd:P(12,18),paddingBottom:P(16,18),paddingInlineStart:P(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:P(16,18),paddingInlineEnd:P(12,18),paddingBottom:P(16,18),paddingInlineStart:P(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:P(40,20),marginBottom:P(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:P(18,20),lineHeight:Je(28/18),marginTop:P(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:zr(24),lineHeight:Je(40/24),p:{marginTop:P(32,24),marginBottom:P(32,24)},'[class~="lead"]':{fontSize:P(30,24),lineHeight:Je(44/30),marginTop:P(32,30),marginBottom:P(32,30)},blockquote:{marginTop:P(64,36),marginBottom:P(64,36),paddingInlineStart:P(40,36)},h1:{fontSize:P(64,24),marginTop:"0",marginBottom:P(56,64),lineHeight:Je(64/64)},h2:{fontSize:P(48,24),marginTop:P(72,48),marginBottom:P(40,48),lineHeight:Je(52/48)},h3:{fontSize:P(36,24),marginTop:P(56,36),marginBottom:P(24,36),lineHeight:Je(44/36)},h4:{marginTop:P(40,24),marginBottom:P(16,24),lineHeight:Je(36/24)},img:{marginTop:P(48,24),marginBottom:P(48,24)},picture:{marginTop:P(48,24),marginBottom:P(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:P(48,24),marginBottom:P(48,24)},kbd:{fontSize:P(20,24),borderRadius:zr(6),paddingTop:P(6,24),paddingInlineEnd:P(8,24),paddingBottom:P(6,24),paddingInlineStart:P(8,24)},code:{fontSize:P(20,24)},"h2 code":{fontSize:P(42,48)},"h3 code":{fontSize:P(32,36)},pre:{fontSize:P(20,24),lineHeight:Je(36/20),marginTop:P(40,20),marginBottom:P(40,20),borderRadius:zr(8),paddingTop:P(24,20),paddingInlineEnd:P(32,20),paddingBottom:P(24,20),paddingInlineStart:P(32,20)},ol:{marginTop:P(32,24),marginBottom:P(32,24),paddingInlineStart:P(38,24)},ul:{marginTop:P(32,24),marginBottom:P(32,24),paddingInlineStart:P(38,24)},li:{marginTop:P(12,24),marginBottom:P(12,24)},"ol > li":{paddingInlineStart:P(10,24)},"ul > li":{paddingInlineStart:P(10,24)},"> ul > li p":{marginTop:P(20,24),marginBottom:P(20,24)},"> ul > li > p:first-child":{marginTop:P(32,24)},"> ul > li > p:last-child":{marginBottom:P(32,24)},"> ol > li > p:first-child":{marginTop:P(32,24)},"> ol > li > p:last-child":{marginBottom:P(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:P(16,24),marginBottom:P(16,24)},dl:{marginTop:P(32,24),marginBottom:P(32,24)},dt:{marginTop:P(32,24)},dd:{marginTop:P(12,24),paddingInlineStart:P(38,24)},hr:{marginTop:P(72,24),marginBottom:P(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:P(20,24),lineHeight:Je(28/20)},"thead th":{paddingInlineEnd:P(12,20),paddingBottom:P(16,20),paddingInlineStart:P(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:P(16,20),paddingInlineEnd:P(12,20),paddingBottom:P(16,20),paddingInlineStart:P(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:P(48,24),marginBottom:P(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:P(20,24),lineHeight:Je(32/20),marginTop:P(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":F.slate[700],"--tw-prose-headings":F.slate[900],"--tw-prose-lead":F.slate[600],"--tw-prose-links":F.slate[900],"--tw-prose-bold":F.slate[900],"--tw-prose-counters":F.slate[500],"--tw-prose-bullets":F.slate[300],"--tw-prose-hr":F.slate[200],"--tw-prose-quotes":F.slate[900],"--tw-prose-quote-borders":F.slate[200],"--tw-prose-captions":F.slate[500],"--tw-prose-kbd":F.slate[900],"--tw-prose-kbd-shadows":Ki(F.slate[900]),"--tw-prose-code":F.slate[900],"--tw-prose-pre-code":F.slate[200],"--tw-prose-pre-bg":F.slate[800],"--tw-prose-th-borders":F.slate[300],"--tw-prose-td-borders":F.slate[200],"--tw-prose-invert-body":F.slate[300],"--tw-prose-invert-headings":F.white,"--tw-prose-invert-lead":F.slate[400],"--tw-prose-invert-links":F.white,"--tw-prose-invert-bold":F.white,"--tw-prose-invert-counters":F.slate[400],"--tw-prose-invert-bullets":F.slate[600],"--tw-prose-invert-hr":F.slate[700],"--tw-prose-invert-quotes":F.slate[100],"--tw-prose-invert-quote-borders":F.slate[700],"--tw-prose-invert-captions":F.slate[400],"--tw-prose-invert-kbd":F.white,"--tw-prose-invert-kbd-shadows":Ki(F.white),"--tw-prose-invert-code":F.white,"--tw-prose-invert-pre-code":F.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":F.slate[600],"--tw-prose-invert-td-borders":F.slate[700]}},gray:{css:{"--tw-prose-body":F.gray[700],"--tw-prose-headings":F.gray[900],"--tw-prose-lead":F.gray[600],"--tw-prose-links":F.gray[900],"--tw-prose-bold":F.gray[900],"--tw-prose-counters":F.gray[500],"--tw-prose-bullets":F.gray[300],"--tw-prose-hr":F.gray[200],"--tw-prose-quotes":F.gray[900],"--tw-prose-quote-borders":F.gray[200],"--tw-prose-captions":F.gray[500],"--tw-prose-kbd":F.gray[900],"--tw-prose-kbd-shadows":Ki(F.gray[900]),"--tw-prose-code":F.gray[900],"--tw-prose-pre-code":F.gray[200],"--tw-prose-pre-bg":F.gray[800],"--tw-prose-th-borders":F.gray[300],"--tw-prose-td-borders":F.gray[200],"--tw-prose-invert-body":F.gray[300],"--tw-prose-invert-headings":F.white,"--tw-prose-invert-lead":F.gray[400],"--tw-prose-invert-links":F.white,"--tw-prose-invert-bold":F.white,"--tw-prose-invert-counters":F.gray[400],"--tw-prose-invert-bullets":F.gray[600],"--tw-prose-invert-hr":F.gray[700],"--tw-prose-invert-quotes":F.gray[100],"--tw-prose-invert-quote-borders":F.gray[700],"--tw-prose-invert-captions":F.gray[400],"--tw-prose-invert-kbd":F.white,"--tw-prose-invert-kbd-shadows":Ki(F.white),"--tw-prose-invert-code":F.white,"--tw-prose-invert-pre-code":F.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":F.gray[600],"--tw-prose-invert-td-borders":F.gray[700]}},zinc:{css:{"--tw-prose-body":F.zinc[700],"--tw-prose-headings":F.zinc[900],"--tw-prose-lead":F.zinc[600],"--tw-prose-links":F.zinc[900],"--tw-prose-bold":F.zinc[900],"--tw-prose-counters":F.zinc[500],"--tw-prose-bullets":F.zinc[300],"--tw-prose-hr":F.zinc[200],"--tw-prose-quotes":F.zinc[900],"--tw-prose-quote-borders":F.zinc[200],"--tw-prose-captions":F.zinc[500],"--tw-prose-kbd":F.zinc[900],"--tw-prose-kbd-shadows":Ki(F.zinc[900]),"--tw-prose-code":F.zinc[900],"--tw-prose-pre-code":F.zinc[200],"--tw-prose-pre-bg":F.zinc[800],"--tw-prose-th-borders":F.zinc[300],"--tw-prose-td-borders":F.zinc[200],"--tw-prose-invert-body":F.zinc[300],"--tw-prose-invert-headings":F.white,"--tw-prose-invert-lead":F.zinc[400],"--tw-prose-invert-links":F.white,"--tw-prose-invert-bold":F.white,"--tw-prose-invert-counters":F.zinc[400],"--tw-prose-invert-bullets":F.zinc[600],"--tw-prose-invert-hr":F.zinc[700],"--tw-prose-invert-quotes":F.zinc[100],"--tw-prose-invert-quote-borders":F.zinc[700],"--tw-prose-invert-captions":F.zinc[400],"--tw-prose-invert-kbd":F.white,"--tw-prose-invert-kbd-shadows":Ki(F.white),"--tw-prose-invert-code":F.white,"--tw-prose-invert-pre-code":F.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":F.zinc[600],"--tw-prose-invert-td-borders":F.zinc[700]}},neutral:{css:{"--tw-prose-body":F.neutral[700],"--tw-prose-headings":F.neutral[900],"--tw-prose-lead":F.neutral[600],"--tw-prose-links":F.neutral[900],"--tw-prose-bold":F.neutral[900],"--tw-prose-counters":F.neutral[500],"--tw-prose-bullets":F.neutral[300],"--tw-prose-hr":F.neutral[200],"--tw-prose-quotes":F.neutral[900],"--tw-prose-quote-borders":F.neutral[200],"--tw-prose-captions":F.neutral[500],"--tw-prose-kbd":F.neutral[900],"--tw-prose-kbd-shadows":Ki(F.neutral[900]),"--tw-prose-code":F.neutral[900],"--tw-prose-pre-code":F.neutral[200],"--tw-prose-pre-bg":F.neutral[800],"--tw-prose-th-borders":F.neutral[300],"--tw-prose-td-borders":F.neutral[200],"--tw-prose-invert-body":F.neutral[300],"--tw-prose-invert-headings":F.white,"--tw-prose-invert-lead":F.neutral[400],"--tw-prose-invert-links":F.white,"--tw-prose-invert-bold":F.white,"--tw-prose-invert-counters":F.neutral[400],"--tw-prose-invert-bullets":F.neutral[600],"--tw-prose-invert-hr":F.neutral[700],"--tw-prose-invert-quotes":F.neutral[100],"--tw-prose-invert-quote-borders":F.neutral[700],"--tw-prose-invert-captions":F.neutral[400],"--tw-prose-invert-kbd":F.white,"--tw-prose-invert-kbd-shadows":Ki(F.white),"--tw-prose-invert-code":F.white,"--tw-prose-invert-pre-code":F.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":F.neutral[600],"--tw-prose-invert-td-borders":F.neutral[700]}},stone:{css:{"--tw-prose-body":F.stone[700],"--tw-prose-headings":F.stone[900],"--tw-prose-lead":F.stone[600],"--tw-prose-links":F.stone[900],"--tw-prose-bold":F.stone[900],"--tw-prose-counters":F.stone[500],"--tw-prose-bullets":F.stone[300],"--tw-prose-hr":F.stone[200],"--tw-prose-quotes":F.stone[900],"--tw-prose-quote-borders":F.stone[200],"--tw-prose-captions":F.stone[500],"--tw-prose-kbd":F.stone[900],"--tw-prose-kbd-shadows":Ki(F.stone[900]),"--tw-prose-code":F.stone[900],"--tw-prose-pre-code":F.stone[200],"--tw-prose-pre-bg":F.stone[800],"--tw-prose-th-borders":F.stone[300],"--tw-prose-td-borders":F.stone[200],"--tw-prose-invert-body":F.stone[300],"--tw-prose-invert-headings":F.white,"--tw-prose-invert-lead":F.stone[400],"--tw-prose-invert-links":F.white,"--tw-prose-invert-bold":F.white,"--tw-prose-invert-counters":F.stone[400],"--tw-prose-invert-bullets":F.stone[600],"--tw-prose-invert-hr":F.stone[700],"--tw-prose-invert-quotes":F.stone[100],"--tw-prose-invert-quote-borders":F.stone[700],"--tw-prose-invert-captions":F.stone[400],"--tw-prose-invert-kbd":F.white,"--tw-prose-invert-kbd-shadows":Ki(F.white),"--tw-prose-invert-code":F.white,"--tw-prose-invert-pre-code":F.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":F.stone[600],"--tw-prose-invert-td-borders":F.stone[700]}},red:{css:{"--tw-prose-links":F.red[600],"--tw-prose-invert-links":F.red[500]}},orange:{css:{"--tw-prose-links":F.orange[600],"--tw-prose-invert-links":F.orange[500]}},amber:{css:{"--tw-prose-links":F.amber[600],"--tw-prose-invert-links":F.amber[500]}},yellow:{css:{"--tw-prose-links":F.yellow[600],"--tw-prose-invert-links":F.yellow[500]}},lime:{css:{"--tw-prose-links":F.lime[600],"--tw-prose-invert-links":F.lime[500]}},green:{css:{"--tw-prose-links":F.green[600],"--tw-prose-invert-links":F.green[500]}},emerald:{css:{"--tw-prose-links":F.emerald[600],"--tw-prose-invert-links":F.emerald[500]}},teal:{css:{"--tw-prose-links":F.teal[600],"--tw-prose-invert-links":F.teal[500]}},cyan:{css:{"--tw-prose-links":F.cyan[600],"--tw-prose-invert-links":F.cyan[500]}},sky:{css:{"--tw-prose-links":F.sky[600],"--tw-prose-invert-links":F.sky[500]}},blue:{css:{"--tw-prose-links":F.blue[600],"--tw-prose-invert-links":F.blue[500]}},indigo:{css:{"--tw-prose-links":F.indigo[600],"--tw-prose-invert-links":F.indigo[500]}},violet:{css:{"--tw-prose-links":F.violet[600],"--tw-prose-invert-links":F.violet[500]}},purple:{css:{"--tw-prose-links":F.purple[600],"--tw-prose-invert-links":F.purple[500]}},fuchsia:{css:{"--tw-prose-links":F.fuchsia[600],"--tw-prose-invert-links":F.fuchsia[500]}},pink:{css:{"--tw-prose-links":F.pink[600],"--tw-prose-invert-links":F.pink[500]}},rose:{css:{"--tw-prose-links":F.rose[600],"--tw-prose-invert-links":F.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};var ole={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:P(32,16),marginBottom:P(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},tw.gray.css,...tw.base.css]},...tw},ile="[object Object]";function sle(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function ale(e,t){return function(n){return e(t(n))}}var lle=Function.prototype,IL=Object.prototype,LL=lle.toString,cle=IL.hasOwnProperty,ule=LL.call(Object),dle=IL.toString,fle=ale(Object.getPrototypeOf,Object);function hle(e){return!!e&&typeof e=="object"}function ple(e){if(!hle(e)||dle.call(e)!=ile||sle(e))return!1;var t=fle(e);if(t===null)return!0;var n=cle.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&LL.call(n)==ule}var mle=ple,NS={exports:{}},DS={exports:{}},QS={exports:{}},BS={exports:{}},zS={exports:{}},jS={exports:{}},Qo={},WS={exports:{}};(function(e,t){t.__esModule=!0,t.default=o;function n(i){for(var s=i.toLowerCase(),a="",l=!1,c=0;c<6&&s[c]!==void 0;c++){var u=s.charCodeAt(c),d=u>=97&&u<=102||u>=48&&u<=57;if(l=u===32,!d)break;a+=s[c]}if(a.length!==0){var f=parseInt(a,16),h=f>=55296&&f<=57343;return h||f===0||f>1114111?["�",a.length+(l?1:0)]:[String.fromCodePoint(f),a.length+(l?1:0)]}}var r=/\\/;function o(i){var s=r.test(i);if(!s)return i;for(var a="",l=0;l1?o-1:0),s=1;s0;){var a=i.shift();if(!r[a])return;r=r[a]}return r}e.exports=t.default})(FS,FS.exports);var gle=FS.exports,qS={exports:{}};(function(e,t){t.__esModule=!0,t.default=n;function n(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s0;){var a=i.shift();r[a]||(r[a]={}),r=r[a]}}e.exports=t.default})(qS,qS.exports);var ble=qS.exports,US={exports:{}};(function(e,t){t.__esModule=!0,t.default=n;function n(r){for(var o="",i=r.indexOf("/*"),s=0;i>=0;){o=o+r.slice(s,i);var a=r.indexOf("*/",i+2);if(a<0)return o;s=a+2,i=r.indexOf("/*",s)}return o=o+r.slice(s),o}e.exports=t.default})(US,US.exports);var Ole=US.exports;Qo.__esModule=!0;Qo.stripComments=Qo.ensureObject=Qo.getProp=Qo.unesc=void 0;var yle=sy(NL);Qo.unesc=yle.default;var vle=sy(gle);Qo.getProp=vle.default;var wle=sy(ble);Qo.ensureObject=wle.default;var Sle=sy(Ole);Qo.stripComments=Sle.default;function sy(e){return e&&e.__esModule?e:{default:e}}(function(e,t){t.__esModule=!0,t.default=void 0;var n=Qo;function r(a,l){for(var c=0;cc||this.source.end.lineu||this.source.end.line===c&&this.source.end.column"u"||m[Symbol.iterator]==null){if(Array.isArray(m)||(g=l(m))||O){g&&(m=g);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return g=m[Symbol.iterator](),g.next.bind(g)}function l(m,O){if(m){if(typeof m=="string")return c(m,O);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(m,O)}}function c(m,O){(O==null||O>m.length)&&(O=m.length);for(var g=0,b=new Array(O);g=b&&(this.indexes[y]=v-1);return this},g.removeAll=function(){for(var b=a(this.nodes),v;!(v=b()).done;){var y=v.value;y.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(b,v){v.parent=this;var y=this.index(b);this.nodes.splice(y+1,0,v),v.parent=this;var w;for(var S in this.indexes)w=this.indexes[S],y<=w&&(this.indexes[S]=w+1);return this},g.insertBefore=function(b,v){v.parent=this;var y=this.index(b);this.nodes.splice(y,0,v),v.parent=this;var w;for(var S in this.indexes)w=this.indexes[S],w<=y&&(this.indexes[S]=w+1);return this},g._findChildAtPosition=function(b,v){var y=void 0;return this.each(function(w){if(w.atPosition){var S=w.atPosition(b,v);if(S)return y=S,!1}else if(w.isAtPosition(b,v))return y=w,!1}),y},g.atPosition=function(b,v){if(this.isAtPosition(b,v))return this._findChildAtPosition(b,v)||this},g._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},g.each=function(b){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var v=this.lastEach;if(this.indexes[v]=0,!!this.length){for(var y,w;this.indexes[v]126){if(u>=55296&&u<=56319&&a0&&!T.quoted&&$.before.length===0&&!(T.spaces.value&&T.spaces.value.after)&&($.before=" "),y(C,$)}))),A.push("]"),A.push(this.rawSpaceAfter),A.join("")},l(S,[{key:"quoted",get:function(){var T=this.quoteMark;return T==="'"||T==='"'},set:function(T){p()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(T){if(!this._constructed){this._quoteMark=T;return}this._quoteMark!==T&&(this._quoteMark=T,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(T){if(this._constructed){var A=O(T),C=A.deprecatedUsage,$=A.unescaped,E=A.quoteMark;if(C&&h(),$===this._value&&E===this._quoteMark)return;this._value=$,this._quoteMark=E,this._syncRawValue()}else this._value=T}},{key:"attribute",get:function(){return this._attribute},set:function(T){this._handleEscapes("attribute",T),this._attribute=T}}]),S}(r.default);e.default=b,b.NO_QUOTE=null,b.SINGLE_QUOTE="'",b.DOUBLE_QUOTE='"';var v=(i={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},i[null]={isIdentifier:!0},i);function y(w,S){return""+S.before+w+S.after}})(nE);var e_={exports:{}};(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(tE),r=mt;function o(l){return l&&l.__esModule?l:{default:l}}function i(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf||function(u,d){return u.__proto__=d,u},s(l,c)}var a=function(l){i(c,l);function c(u){var d;return d=l.call(this,u)||this,d.type=r.UNIVERSAL,d.value="*",d}return c}(n.default);t.default=a,e.exports=t.default})(e_,e_.exports);var UL=e_.exports,t_={exports:{}};(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(Il),r=mt;function o(l){return l&&l.__esModule?l:{default:l}}function i(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf||function(u,d){return u.__proto__=d,u},s(l,c)}var a=function(l){i(c,l);function c(u){var d;return d=l.call(this,u)||this,d.type=r.COMBINATOR,d}return c}(n.default);t.default=a,e.exports=t.default})(t_,t_.exports);var ZL=t_.exports,n_={exports:{}};(function(e,t){t.__esModule=!0,t.default=void 0;var n=o(Il),r=mt;function o(l){return l&&l.__esModule?l:{default:l}}function i(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf||function(u,d){return u.__proto__=d,u},s(l,c)}var a=function(l){i(c,l);function c(u){var d;return d=l.call(this,u)||this,d.type=r.NESTING,d.value="&",d}return c}(n.default);t.default=a,e.exports=t.default})(n_,n_.exports);var VL=n_.exports,r_={exports:{}};(function(e,t){t.__esModule=!0,t.default=n;function n(r){return r.sort(function(o,i){return o-i})}e.exports=t.default})(r_,r_.exports);var Fle=r_.exports,XL={},Le={};Le.__esModule=!0;Le.combinator=Le.word=Le.comment=Le.str=Le.tab=Le.newline=Le.feed=Le.cr=Le.backslash=Le.bang=Le.slash=Le.doubleQuote=Le.singleQuote=Le.space=Le.greaterThan=Le.pipe=Le.equals=Le.plus=Le.caret=Le.tilde=Le.dollar=Le.closeSquare=Le.openSquare=Le.closeParenthesis=Le.openParenthesis=Le.semicolon=Le.colon=Le.comma=Le.at=Le.asterisk=Le.ampersand=void 0;var qle=38;Le.ampersand=qle;var Ule=42;Le.asterisk=Ule;var Zle=64;Le.at=Zle;var Vle=44;Le.comma=Vle;var Xle=58;Le.colon=Xle;var Hle=59;Le.semicolon=Hle;var Yle=40;Le.openParenthesis=Yle;var Gle=41;Le.closeParenthesis=Gle;var Kle=91;Le.openSquare=Kle;var Jle=93;Le.closeSquare=Jle;var ece=36;Le.dollar=ece;var tce=126;Le.tilde=tce;var nce=94;Le.caret=nce;var rce=43;Le.plus=rce;var oce=61;Le.equals=oce;var ice=124;Le.pipe=ice;var sce=62;Le.greaterThan=sce;var ace=32;Le.space=ace;var HL=39;Le.singleQuote=HL;var lce=34;Le.doubleQuote=lce;var cce=47;Le.slash=cce;var uce=33;Le.bang=uce;var dce=92;Le.backslash=dce;var fce=13;Le.cr=fce;var hce=12;Le.feed=hce;var pce=10;Le.newline=pce;var mce=9;Le.tab=mce;var gce=HL;Le.str=gce;var bce=-1;Le.comment=bce;var Oce=-2;Le.word=Oce;var yce=-3;Le.combinator=yce;(function(e){e.__esModule=!0,e.default=p,e.FIELDS=void 0;var t=i(Le),n,r;function o(){if(typeof WeakMap!="function")return null;var m=new WeakMap;return o=function(){return m},m}function i(m){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var O=o();if(O&&O.has(m))return O.get(m);var g={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){var y=b?Object.getOwnPropertyDescriptor(m,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=m[v]}return g.default=m,O&&O.set(m,g),g}for(var s=(n={},n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n),a=(r={},r[t.space]=!0,r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r[t.ampersand]=!0,r[t.asterisk]=!0,r[t.bang]=!0,r[t.comma]=!0,r[t.colon]=!0,r[t.semicolon]=!0,r[t.openParenthesis]=!0,r[t.closeParenthesis]=!0,r[t.openSquare]=!0,r[t.closeSquare]=!0,r[t.singleQuote]=!0,r[t.doubleQuote]=!0,r[t.plus]=!0,r[t.pipe]=!0,r[t.tilde]=!0,r[t.greaterThan]=!0,r[t.equals]=!0,r[t.dollar]=!0,r[t.caret]=!0,r[t.slash]=!0,r),l={},c="0123456789abcdefABCDEF",u=0;u0?(ee=w+X,te=B-Y[X].length):(ee=w,te=y),ve=t.comment,w=ee,$=ee,C=B-te):T===t.slash?(B=S,ve=T,$=w,C=S-y,_=B+1):(B=d(g,S),ve=t.word,$=w,C=B-y),_=B+1;break}O.push([ve,w,S-y,$,C,S,_]),te&&(y=te,te=null),S=_}return O}})(XL);(function(e,t){t.__esModule=!0,t.default=void 0;var n=_(DL),r=_(QL),o=_(BL),i=_(zL),s=_(jL),a=_(WL),l=_(FL),c=_(qL),u=S(nE),d=_(UL),f=_(ZL),h=_(VL),p=_(Fle),m=S(XL),O=S(Le),g=S(mt),b=Qo,v,y;function w(){if(typeof WeakMap!="function")return null;var pe=new WeakMap;return w=function(){return pe},pe}function S(pe){if(pe&&pe.__esModule)return pe;if(pe===null||typeof pe!="object"&&typeof pe!="function")return{default:pe};var de=w();if(de&&de.has(pe))return de.get(pe);var V={},ue=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ee in pe)if(Object.prototype.hasOwnProperty.call(pe,Ee)){var ne=ue?Object.getOwnPropertyDescriptor(pe,Ee):null;ne&&(ne.get||ne.set)?Object.defineProperty(V,Ee,ne):V[Ee]=pe[Ee]}return V.default=pe,de&&de.set(pe,V),V}function _(pe){return pe&&pe.__esModule?pe:{default:pe}}function T(pe,de){for(var V=0;V0){var ne=this.current.last;if(ne){var J=this.convertWhitespaceNodesToSpace(Ee),me=J.space,fe=J.rawSpace;fe!==void 0&&(ne.rawSpaceAfter+=fe),ne.spaces.after+=me}else Ee.forEach(function(z){return V.newNode(z)})}return}var he=this.currToken,Te=void 0;ue>this.position&&(Te=this.parseWhitespaceEquivalentTokens(ue));var ze;if(this.isNamedCombinator()?ze=this.namedCombinator():this.currToken[m.FIELDS.TYPE]===O.combinator?(ze=new f.default({value:this.content(),source:Y(this.currToken),sourceIndex:this.currToken[m.FIELDS.START_POS]}),this.position++):C[this.currToken[m.FIELDS.TYPE]]||Te||this.unexpected(),ze){if(Te){var I=this.convertWhitespaceNodesToSpace(Te),R=I.space,Z=I.rawSpace;ze.spaces.before=R,ze.rawSpaceBefore=Z}}else{var ie=this.convertWhitespaceNodesToSpace(Te,!0),re=ie.space,k=ie.rawSpace;k||(k=re);var x={},M={spaces:{}};re.endsWith(" ")&&k.endsWith(" ")?(x.before=re.slice(0,re.length-1),M.spaces.before=k.slice(0,k.length-1)):re.startsWith(" ")&&k.startsWith(" ")?(x.after=re.slice(1),M.spaces.after=k.slice(1)):M.value=k,ze=new f.default({value:" ",source:B(he,this.tokens[this.position-1]),sourceIndex:he[m.FIELDS.START_POS],spaces:x,raws:M})}return this.currToken&&this.currToken[m.FIELDS.TYPE]===O.space&&(ze.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(ze)},de.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var V=new r.default({source:{start:E(this.tokens[this.position+1])}});this.current.parent.append(V),this.current=V,this.position++},de.comment=function(){var V=this.currToken;this.newNode(new i.default({value:this.content(),source:Y(V),sourceIndex:V[m.FIELDS.START_POS]})),this.position++},de.error=function(V,ue){throw this.root.error(V,ue)},de.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[m.FIELDS.START_POS]})},de.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[m.FIELDS.START_POS])},de.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[m.FIELDS.START_POS])},de.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[m.FIELDS.START_POS])},de.namespace=function(){var V=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[m.FIELDS.TYPE]===O.word)return this.position++,this.word(V);if(this.nextToken[m.FIELDS.TYPE]===O.asterisk)return this.position++,this.universal(V)},de.nesting=function(){if(this.nextToken){var V=this.content(this.nextToken);if(V==="|"){this.position++;return}}var ue=this.currToken;this.newNode(new h.default({value:this.content(),source:Y(ue),sourceIndex:ue[m.FIELDS.START_POS]})),this.position++},de.parentheses=function(){var V=this.current.last,ue=1;if(this.position++,V&&V.type===g.PSEUDO){var Ee=new r.default({source:{start:E(this.tokens[this.position-1])}}),ne=this.current;for(V.append(Ee),this.current=Ee;this.position1&&V.nextToken&&V.nextToken[m.FIELDS.TYPE]===O.openParenthesis&&V.error("Misplaced parenthesis.",{index:V.nextToken[m.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[m.FIELDS.START_POS])},de.space=function(){var V=this.content();this.position===0||this.prevToken[m.FIELDS.TYPE]===O.comma||this.prevToken[m.FIELDS.TYPE]===O.openParenthesis||this.current.nodes.every(function(ue){return ue.type==="comment"})?(this.spaces=this.optionalSpace(V),this.position++):this.position===this.tokens.length-1||this.nextToken[m.FIELDS.TYPE]===O.comma||this.nextToken[m.FIELDS.TYPE]===O.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(V),this.position++):this.combinator()},de.string=function(){var V=this.currToken;this.newNode(new l.default({value:this.content(),source:Y(V),sourceIndex:V[m.FIELDS.START_POS]})),this.position++},de.universal=function(V){var ue=this.nextToken;if(ue&&this.content(ue)==="|")return this.position++,this.namespace();var Ee=this.currToken;this.newNode(new d.default({value:this.content(),source:Y(Ee),sourceIndex:Ee[m.FIELDS.START_POS]}),V),this.position++},de.splitWord=function(V,ue){for(var Ee=this,ne=this.nextToken,J=this.content();ne&&~[O.dollar,O.caret,O.equals,O.word].indexOf(ne[m.FIELDS.TYPE]);){this.position++;var me=this.content();if(J+=me,me.lastIndexOf("\\")===me.length-1){var fe=this.nextToken;fe&&fe[m.FIELDS.TYPE]===O.space&&(J+=this.requiredSpace(this.content(fe)),this.position++)}ne=this.nextToken}var he=te(J,".").filter(function(R){var Z=J[R-1]==="\\",ie=/^\d+\.\d+%$/.test(J);return!Z&&!ie}),Te=te(J,"#").filter(function(R){return J[R-1]!=="\\"}),ze=te(J,"#{");ze.length&&(Te=Te.filter(function(R){return!~ze.indexOf(R)}));var I=(0,p.default)(ye([0].concat(he,Te)));I.forEach(function(R,Z){var ie=I[Z+1]||J.length,re=J.slice(R,ie);if(Z===0&&ue)return ue.call(Ee,re,I.length);var k,x=Ee.currToken,M=x[m.FIELDS.START_POS]+I[Z],z=X(x[1],x[2]+R,x[3],x[2]+(ie-1));if(~he.indexOf(R)){var L={value:re.slice(1),source:z,sourceIndex:M};k=new o.default(ee(L,"value"))}else if(~Te.indexOf(R)){var j={value:re.slice(1),source:z,sourceIndex:M};k=new s.default(ee(j,"value"))}else{var N={value:re,source:z,sourceIndex:M};ee(N,"value"),k=new a.default(N)}Ee.newNode(k,V),V=null}),this.position++},de.word=function(V){var ue=this.nextToken;return ue&&this.content(ue)==="|"?(this.position++,this.namespace()):this.splitWord(V)},de.loop=function(){for(;this.positioni.value)]).size>1)break;o.forEach(i=>i.remove()),r.prepend(o[0])}return r.nodes.length?[r.toString(),t.toString()]:[null,e]}};const cue=CL,uue=ele,due=rle,fue=ole,{commonTrailingPseudos:hue}=lue,M3={};function o_(e,{className:t,modifier:n,prefix:r}){let o=r(`.not-${t}`).slice(1),i=e.startsWith(">")?`${n==="DEFAULT"?`.${t}`:`.${t}-${n}`} `:"",[s,a]=hue(e);return s?`:where(${i}${a}):not(:where([class~="${o}"],[class~="${o}"] *))${s}`:`:where(${i}${e}):not(:where([class~="${o}"],[class~="${o}"] *))`}function R3(e){return typeof e=="object"&&e!==null}function pue(e={},{target:t,className:n,modifier:r,prefix:o}){function i(s,a){return t==="legacy"?[s,a]:Array.isArray(a)?[s,a]:R3(a)?Object.values(a).some(R3)?[o_(s,{className:n,modifier:r,prefix:o}),a,Object.fromEntries(Object.entries(a).map(([l,c])=>i(l,c)))]:[o_(s,{className:n,modifier:r,prefix:o}),a]:[s,a]}return Object.fromEntries(Object.entries(uue({},...Object.keys(e).filter(s=>M3[s]).map(s=>M3[s](e[s])),...due(e.css||{}))).map(([s,a])=>i(s,a)))}cue.withOptions(({className:e="prose",target:t="modern"}={})=>function({addVariant:n,addComponents:r,theme:o,prefix:i}){let s=o("typography"),a={className:e,prefix:i};for(let[l,...c]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){c=c.length===0?[l]:c;let u=t==="legacy"?c.map(d=>`& ${d}`):c.join(", ");n(`${e}-${l}`,t==="legacy"?u:`& :is(${o_(u,a)})`)}r(Object.keys(s).map(l=>({[l==="DEFAULT"?`.${e}`:`.${e}-${l}`]:pue(s[l],{target:t,className:e,modifier:l,prefix:i})})))},()=>({theme:{typography:fue}}));const mue={shadow:!1,smallPaddingX:12,smallPaddingY:6,mediumPaddingX:16,mediumPaddingY:8,fontWeightOnPrimary:Jh.SEMIBOLD,fontWeightOnNonPrimary:Jh.NORMAL};function gue(){return{...mue}}function bue(e,t={}){return{...e,...t}}const Oue={shadow:!0,border:!1};function yue(){return{...Oue}}function vue(e,t={}){return{...e,...t}}function wue(){return{...kae}}function Sue(e,t={}){return{...e,...t}}const _ue={shadow:!1,border:!0,backgroundColor:"default",labelFontWeight:Jh.NORMAL,inputFontWeight:Jh.NORMAL,showRequiredIndicator:!0};function kue(){return{..._ue}}function xue(e,t={}){return{...e,...t}}function Eue(){return{...Aae}}function Tue(e,t={}){return{...e,...t}}function Cue(){return{...Iae}}function Pue(e,t={}){return{...e,...t}}const Aue={shadow:!1,border:!0};function $ue(){return{...Aue}}function Mue(e,t={}){return{...e,...t}}const Rue={pill:!1,small:!1};function Iue(){return{...Rue}}function Lue(e,t={}){return{...e,...t}}function Nue(){return{colors:wue(),boxShadow:zae(),fontFamily:Eue(),fontWeight:Cue(),button:gue(),card:yue(),field:kue(),banner:Qae(),tag:Iue(),mediaThumbnail:$ue()}}function i_(e,t){const n={...e};return t.colors&&(n.colors=Sue(n.colors,t.colors)),t.boxShadow&&(n.boxShadow=jae(n.boxShadow,t.boxShadow)),t.fontFamily&&(n.fontFamily=Tue(n.fontFamily,t.fontFamily)),t.fontWeight&&(n.fontWeight=Pue(n.fontWeight,t.fontWeight)),t.button&&(n.button=bue(n.button,t.button)),t.card&&(n.card=vue(n.card,t.card)),t.field&&(n.field=xue(n.field,t.field)),t.banner&&(n.banner=Bae(n.banner,t.banner)),t.tag&&(n.tag=Lue(n.tag,t.tag)),t.mediaThumbnail&&(n.mediaThumbnail=Mue(n.mediaThumbnail,t.mediaThumbnail)),n}function tN(e){return[...Eae(e.colors||{}),..._ae(e.boxShadow||{}),...Nae(e.fontWeight||{}),...Rae(e.fontFamily||{})]}const Vp=Symbol("themePlugin"),mi=Symbol("theme"),iE=Symbol("themeRouterLinkComponent"),Due={install(e,t={}){const{overrides:n={},addToDocument:r=!0,routerLinkComponent:o=UI}=t,i=()=>i_(Nue(),n),s=ge(i()),a=c=>{s.value=i_(s.value,c)},l=q(()=>`:root { ${tN(s.value).map(({name:c,value:u})=>`${c}: ${u};`).join(" ")} }`);We(l,()=>{if(!r)return;let c=document.getElementById("theme");c||(c=document.createElement("style"),c.id="theme",document.head.appendChild(c)),c.textContent=l.value},{immediate:!0}),e.provide(Vp,{overrideGlobalTheme:a,buildCleanTheme:i,globalCss:l,theme:s}),e.provide(mi,s),e.provide(iE,o)}},ay=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Que={};function Bue(e,t){return W(),oe("div",Ce(e.$qa("uiskeleton"),{class:"bg-skeleton"}),[Ve(e.$slots,"default")],16)}const ks=ay(Que,[["render",Bue]]),zue={key:0,class:"animate-spin",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jue={key:1,class:"animate-spin",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Xp=Qe({__name:"UiSpinner",props:{color:{default:"default"},small:{type:Boolean}},setup(e){const t=e,n=q(()=>{switch(t.color){case"primary":return"text-icon-on-primary";case"reversed":return"text-icon-reversed";case"success":return"text-icon-success";case"critical":return"text-icon-critical";case"warning":return"text-icon-warning";case"highlight":return"text-icon-highlight";case"default dark:reversed":return"text-icon dark:text-icon-reversed";case"interactive dark:focused":return"text-interactive dark:text-focused";case"critical dark:default":return"critical dark:text-icon";case"default":default:return"text-icon"}});return(r,o)=>(W(),oe("div",Ce(r.$qa("uispinner"),{class:[n.value,r.small?"size-5":"size-8"]}),[r.small?(W(),oe("svg",zue,o[0]||(o[0]=[Oe("path",{fill:"currentColor",d:"M7.229 1.173C5.70419 1.65241 4.32963 2.51877 3.23934 3.68759C2.14905 4.85642 1.38025 6.28783 1.00788 7.84225C0.635519 9.39667 0.672305 11.0211 1.11465 12.557C1.55701 14.093 2.38982 15.4881 3.5319 16.6064C4.67399 17.7247 6.08636 18.5279 7.63131 18.9378C9.17626 19.3477 10.8011 19.3503 12.3473 18.9452C13.8935 18.5402 15.3084 17.7414 16.454 16.6267C17.5996 15.5121 18.4368 14.1196 18.884 12.585C18.9338 12.4263 18.9515 12.2592 18.9359 12.0935C18.9203 11.9279 18.8718 11.767 18.7932 11.6204C18.7147 11.4737 18.6076 11.3442 18.4784 11.2394C18.3491 11.1347 18.2002 11.0568 18.0405 11.0103C17.8807 10.9639 17.7133 10.9498 17.548 10.9689C17.3827 10.9879 17.2229 11.0398 17.0779 11.1215C16.933 11.2031 16.8058 11.3129 16.7038 11.4444C16.6018 11.5758 16.5271 11.7263 16.484 11.887C16.1574 13.0066 15.5463 14.0225 14.7103 14.8356C13.8742 15.6487 12.8418 16.2314 11.7135 16.5267C10.5853 16.8221 9.39978 16.8201 8.27255 16.5209C7.14532 16.2217 6.11484 15.6356 5.28155 14.8196C4.44826 14.0037 3.84059 12.9858 3.51779 11.8651C3.19498 10.7444 3.16805 9.55917 3.43962 8.42498C3.71119 7.29078 4.27199 6.2463 5.06736 5.39334C5.86273 4.54039 6.86553 3.90806 7.978 3.558C8.1346 3.50875 8.27997 3.42915 8.40581 3.32372C8.53164 3.21829 8.63548 3.08912 8.71139 2.94356C8.7873 2.798 8.8338 2.63892 8.84823 2.47539C8.86267 2.31187 8.84475 2.1471 8.7955 1.9905C8.74626 1.8339 8.66665 1.68853 8.56122 1.56269C8.4558 1.43686 8.32662 1.33302 8.18106 1.25711C8.03551 1.1812 7.87642 1.1347 7.7129 1.12027C7.54937 1.10584 7.3846 1.12375 7.228 1.173H7.229Z"},null,-1)]))):(W(),oe("svg",jue,o[1]||(o[1]=[Oe("path",{fill:"currentColor",d:"M11.3033 1.08145C8.13028 2.08151 5.3588 4.06721 3.39149 6.75006C1.42418 9.43291 0.36353 12.6731 0.363637 16C0.363637 24.6356 7.36436 31.6364 16 31.6364C23.1615 31.6364 29.3556 26.7818 31.1338 19.9476C31.2067 19.6676 31.1654 19.37 31.0189 19.1204C30.8724 18.8708 30.6328 18.6896 30.3527 18.6167C30.0727 18.5438 29.7751 18.5852 29.5255 18.7316C29.2759 18.8781 29.0947 19.1178 29.0218 19.3978C27.4931 25.2764 22.1622 29.4545 16 29.4545C8.56945 29.4545 2.54545 23.4305 2.54545 16C2.54545 10.0822 6.4 4.91127 11.9578 3.16364C12.2339 3.07684 12.4643 2.88391 12.5981 2.62729C12.732 2.37067 12.7584 2.07139 12.6716 1.79527C12.5848 1.51916 12.3919 1.28883 12.1353 1.15497C11.8787 1.0211 11.5794 0.994657 11.3033 1.08145V1.08145Z"},null,-1)])))],16))}});class nN{constructor(t){Ht(this,"params"),this.params=t}get iconSizeClasses(){switch(this.params.size){case"small":return"h-4 w-4";case"medium":default:return"w-5 h-5"}}get textSizeClasses(){switch(this.params.size){case"small":return"text-12";case"medium":default:return"text-14"}}}class Ui extends nN{get contentClasses(){return""}get contentStyle(){if(this.params.onlyIcon)switch(this.params.size){case"small":return{padding:`${this.params.theme.smallPaddingY}px`};case"medium":default:return{padding:`${this.params.theme.mediumPaddingY}px`}}switch(this.params.size){case"small":return{padding:`${this.params.theme.smallPaddingY}px ${this.params.theme.smallPaddingX}px`};case"medium":default:return{padding:`${this.params.theme.mediumPaddingY}px ${this.params.theme.mediumPaddingX}px`}}}}class rN extends nN{get contentClasses(){return this.params.noPadding?"":this.params.onlyIcon?"py-0.5 py-0.5":"px-1 py-0.5"}get contentStyle(){return{}}}class Wue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface hover:bg-surface-critical-subtle-hover active:bg-surface-critical-subtle-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border-critical-subtle"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text hover:text-text active:text-text"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"critical"}}class Fue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface hover:bg-surface-hover active:bg-surface-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text hover:text-text active:text-text"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"default"}}class que extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface hover:bg-surface-highlight-subtle-hover active:bg-surface-highlight-subtle-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border-highlight-subtle"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text hover:text-text active:text-text"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"highlight"}}class Uue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface hover:bg-surface-success-subtle-hover active:bg-surface-success-subtle-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border-success-subtle"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text hover:text-text active:text-text"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"success"}}class Zue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface hover:bg-surface-warning-subtle-hover active:bg-surface-warning-subtle-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border-warning-subtle"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text hover:text-text active:text-text"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"warning"}}class Vue extends Ui{get backgroundColorClasses(){return"bg-transparent hover:bg-surface-hover dark:hover:bg-transparent active:bg-surface-active dark:active:bg-surface-inverse"}get borderColorClasses(){return"border-transparent"}get shadowClasses(){return""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text-critical dark:text-icon-critical group-hover/button:text-critical-hover dark:group-hover/button:text-icon-critical group-active/button:text-text-critical-active dark:group-active/button:text-text-inverse"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text-critical dark:text-icon-critical hover:text-critical-hover dark:hover:text-icon-critical active:text-text-critical-active dark:active:text-text-inverse"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"critical dark:default"}}class Xue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-action-critical-disabled":"bg-action-critical hover:bg-action-critical-hover active:bg-action-critical-pressed"}get borderColorClasses(){return"border-transparent focus:border-text-critical"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-icon-reversed"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text-on-critical hover:text-text-on-critical active:text-text-on-critical"}get fontClasses(){return _r(this.params.theme.fontWeightOnPrimary)}get spinnerColor(){return"reversed"}}class Hue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-transparent":"bg-transparent hover:bg-surface-critical-subtle-hover dark:hover:bg-transparent active:bg-surface-critical-subtle-pressed dark:active:bg-action-critical-pressed"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-action-critical focus:border-text-critical dark:focus:border-action-critical dark:hover:border-action-critical-hover active:border-action-critical-pressed dark:active:border-action-critical-pressed"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-interactive-critical dark:text-icon-reversed dark:group-hover/button:text-icon-critical-dark group-active/button:text-interactive-critical-pressed dark:group-active/button:text-icon-critical-dark"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-interactive-critical dark:text-text-on-critical hover:text-interactive-critical dark:hover:text-text-critical-dark focus:text-interactive-critical active:text-interactive-critical-pressed dark:active:text-text-critical-dark"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"critical"}}class Yue extends Ui{get backgroundColorClasses(){return"bg-transparent hover:bg-surface-hover dark:hover:bg-surface-hover-dark active:bg-transparent dark:active:bg-transparent"}get borderColorClasses(){return"border-transparent"}get shadowClasses(){return""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text dark:text-icon-reversed dark:group-hover/button:text-icon-reversed dark:group-active/button:text-icon-reversed"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text dark:text-text-on-interactive hover:text-text dark:hover:text-text-on-interactive active:text-text dark:active:text-text-on-interactive"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"default dark:reversed"}}class Gue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-action-primary-disabled":"bg-action-primary hover:bg-action-primary-hover active:bg-action-primary-pressed"}get borderColorClasses(){return"border-transparent"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-icon-on-primary"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text-on-primary hover:text-text-on-primary active:text-text-on-primary"}get fontClasses(){return _r(this.params.theme.fontWeightOnPrimary)}get spinnerColor(){return"primary"}}class Kue extends Ui{get backgroundColorClasses(){return this.params.disabled?"bg-surface-disabled":"bg-surface dark:bg-transparent hover:bg-surface-hover dark:hover:bg-surface-hover-dark active:bg-surface-pressed dark:active:bg-transparent"}get borderColorClasses(){return this.params.disabled?"border-border-disabled":"border-border hover:border-border-hover active:border-border"}get shadowClasses(){return this.params.theme.shadow?"shadow-1dp":""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text dark:text-icon-reversed dark:group-hover/button:text-icon-reversed dark:group-active/button:text-icon-reversed"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text dark:text-text-on-interactive hover:text-text dark:hover:text-text-on-interactive active:text-text dark:active:text-text-on-interactive"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"default dark:reversed"}}class Jue extends rN{get backgroundColorClasses(){return"bg-transparent"}get borderColorClasses(){return"border-transparent"}get shadowClasses(){return""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-interactive dark:text-interactive-dark group-hover/button:text-interactive-hover dark:group-hover/button:text-interactive-dark dark:group-focus/button:text-focused group-active/button:text-interactive-pressed dark:group-active/button:text-interactive-pressed-dark"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-interactive dark:text-interactive-dark hover:text-interactive-hover dark:hover:text-interactive-dark hover:underline dark:focus:text-focused active:text-interactive-pressed dark:active:text-interactive-pressed-dark active:underline"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"interactive dark:focused"}}class ede extends rN{get backgroundColorClasses(){return"bg-transparent"}get borderColorClasses(){return"border-transparent"}get shadowClasses(){return""}get iconClasses(){return this.params.disabled?"text-icon-disabled":"text-text dark:text-icon-reversed dark:group-active/button:text-interactive-pressed-dark"}get textClasses(){return this.params.disabled?"text-text-disabled":"text-text dark:text-text-on-interactive hover:text-text dark:hover:text-text-on-interactive hover:underline active:text-text dark:active:text-interactive-pressed-dark active:underline"}get fontClasses(){return _r(this.params.theme.fontWeightOnNonPrimary)}get spinnerColor(){return"default dark:reversed"}}const tde={key:0,class:"absolute left-0 top-0 flex size-full items-center justify-center"},ei=Qe({__name:"UiButton",props:{to:{default:void 0},type:{default:"button"},variant:{default:"secondary"},href:{default:void 0},rel:{default:void 0},target:{default:void 0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},block:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},icon:{default:void 0},iconPosition:{default:"left"},grouped:{type:Boolean,default:!1},wrap:{type:Boolean,default:!1},rounded:{type:Boolean},noPadding:{type:Boolean,default:!1},size:{default:"medium"},skeleton:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=e,r=qe(mi),o=qe(iE),i=t,s=l2(),a=q(()=>n.disabled?"button":n.to?o:n.href?"a":"button"),l=q(()=>{const u={noPadding:n.noPadding,disabled:n.disabled,size:n.size,onlyIcon:!s.default,theme:r.value.button};switch(n.variant){case"primary":return new Gue(u);case"secondary":return new Kue(u);case"ghost":return new Yue(u);case"text":return new Jue(u);case"text-monochrome":return new ede(u);case"destructive-primary":return new Xue(u);case"destructive-secondary":return new Hue(u);case"destructive-ghost":return new Vue(u);case"banner-default":return new Fue(u);case"banner-success":return new Uue(u);case"banner-critical":return new Wue(u);case"banner-warning":return new Zue(u);case"banner-informational":return new que(u);default:throw new Error(`Variant ${n.variant} does not exist`)}}),c=u=>{if(n.loading){u.preventDefault();return}i("click",u)};return(u,d)=>u.skeleton?(W(),Me(ks,{key:0,class:it(["border border-transparent",[l.value.contentClasses,u.rounded?"rounded-full":"rounded",u.block?"w-full":"w-24"]]),style:ro({...l.value.contentStyle})},{default:Ne(()=>[Oe("div",{class:it(l.value.iconSizeClasses)},null,2)]),_:1},8,["class","style"])):(W(),Me(Ii(a.value),Ce({key:1,to:u.to},{...u.href&&!u.disabled?{href:u.href}:{},...u.$qa("uibutton")},{type:a.value==="button"?u.type:void 0,disabled:u.disabled,rel:u.rel,target:u.target,replace:u.replace,class:["group/button relative inline-flex min-w-0 items-center justify-center transition-all duration-75 focus:outline-none focus:ring-2 focus:ring-focused active:ring-0",[u.grouped?[u.rounded?"first:rounded-full-l last:rounded-full-r ":"first:rounded-l last:rounded-r ","border-y border-l last:border-r focus:z-10"]:[u.rounded?"rounded-full":"rounded","border"].join(" "),u.block?"w-full":"",u.disabled?"pointer-events-none cursor-default":"cursor-pointer",l.value.backgroundColorClasses,l.value.borderColorClasses,l.value.shadowClasses,l.value.textClasses,l.value.fontClasses,l.value.contentClasses]],style:{...l.value.contentStyle},onClick:c,onMouseup:d[0]||(d[0]=f=>f.currentTarget.blur())}),{default:Ne(()=>[Oe("div",{class:it(["flex justify-center gap-1",[u.loading?"invisible":"visible",u.iconPosition==="left"?"flex-row":"flex-row-reverse",u.wrap?"items-start":"items-center"]])},[u.icon?(W(),oe("div",Kr(Ce({key:0},u.$qa("icon"))),[(W(),Me(Ii(u.icon),{class:it(["transition-colors",[l.value.iconClasses,l.value.iconSizeClasses]])},null,8,["class"]))],16)):xe("",!0),u.$slots.default?(W(),oe("div",Ce({key:1},u.$qa("text"),{class:[l.value.textSizeClasses,u.wrap?"whitespace-normal text-start":"truncate whitespace-nowrap"]}),[Ve(u.$slots,"default")],16)):xe("",!0)],2),u.loading?(W(),oe("div",tde,[De(Xp,{small:"",color:l.value.spinnerColor},null,8,["color"])])):xe("",!0)]),_:3},16,["to","type","disabled","rel","target","replace","class","style"]))}});function nde(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"})])}function rde(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function ly(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function ode(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z","clip-rule":"evenodd"})])}function ide(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}const i0=Qe({__name:"UiCloseButton",props:{reversed:{type:Boolean},big:{type:Boolean}},emits:["click"],setup(e){const t=n=>{n.currentTarget&&n.currentTarget.blur()};return(n,r)=>(W(),oe("button",Ce(n.$qa("uiclosebutton"),{class:["shrink-0 rounded focus:outline-none focus:ring-2 focus:ring-focused",[n.reversed?"text-icon-reversed":"text-icon",n.big?"size-6":"size-5"]],onMouseup:t,onClick:r[0]||(r[0]=o=>n.$emit("click"))}),[n.big?(W(),Me(U(ide),{key:0,class:"size-full"})):(W(),Me(U(X2),{key:1,class:"size-full"}))],16))}});var da=(e=>(e.DEFAULT="default",e.NEUTRAL="neutral",e.HIGHLIGHT="highlight",e.SUCCESS="success",e.WARNING="warning",e.CRITICAL="critical",e))(da||{});const sE=Qe({__name:"UiTile",props:{color:{default:"default"},clickable:{type:Boolean,default:!1},tag:{default:"div"},skeleton:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!1},rounded:{default:"none"},to:{default:void 0},replace:{type:Boolean,default:void 0},href:{default:void 0},target:{default:void 0},rel:{default:void 0},flex:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},noStateEffectsBackground:{type:Boolean,default:!1},noStateEffectsShadow:{type:Boolean,default:!1}},setup(e){const t=e,n=qe(iE),r=q(()=>t.clickable||t.to||t.href),o=q(()=>{const c=r.value&&!t.noStateEffectsBackground;switch(t.color){case"default":{const u=["bg-surface"];return c&&u.push("hover:bg-surface-hover active:bg-surface-pressed"),u}case"neutral":{const u=["bg-surface-neutral-subtle"];return c&&u.push("hover:bg-surface-neutral-hover active:bg-surface-neutral-pressed"),u}case"highlight":{const u=["bg-surface-highlight-subtle"];return c&&u.push("hover:bg-surface-highlight-subtle-hover active:bg-surface-highlight-subtle-pressed"),u}case"success":{const u=["bg-surface-success-subtle"];return c&&u.push("hover:bg-surface-success-subtle-hover active:bg-surface-success-subtle-pressed"),u}case"warning":{const u=["bg-surface-warning-subtle"];return c&&u.push("hover:bg-surface-warning-subtle-hover active:bg-surface-warning-subtle-pressed"),u}case"critical":{const u=["bg-surface-critical-subtle"];return c&&u.push("hover:bg-surface-critical-subtle-hover active:bg-surface-critical-subtle-pressed"),u}default:return[]}}),i=q(()=>{if(!t.border)return[];const c=[];switch(c.push("border"),t.color){case"default":c.push("border-border-subtle");break;case"neutral":c.push("border-border-neutral-subtle");break;case"highlight":c.push("border-border-highlight-subtle");break;case"success":c.push("border-border-success-subtle");break;case"warning":c.push("border-border-warning-subtle");break;case"critical":c.push("border-border-warning-subtle");break}return c}),s=q(()=>{if(!t.shadow)return[];const c=["shadow-2dp"];return r.value&&!t.noStateEffectsShadow&&c.push("hover:shadow-2dp-hover"),c}),a=q(()=>{switch(t.rounded){case"sm":return["rounded-sm"];case"default":return["rounded"];case"md":return["rounded-md"];case"lg":return["rounded-lg"];case"xl":return["rounded-xl"];case"2xl":return["rounded-2xl"];case"3xl":return["rounded-3xl"];case"full":return["rounded-full"];case"none":default:return[]}}),l=q(()=>t.to?{tag:n,props:{to:t.to,replace:t.replace}}:t.href?{tag:"a",props:{href:t.href,rel:t.rel,target:t.target}}:{tag:t.clickable?"button":t.tag,props:{}});return(c,u)=>c.skeleton?(W(),Me(U(ks),{key:1,class:it(a.value)},null,8,["class"])):(W(),Me(Ii(l.value.tag),Ce({key:0,class:"bg-surface transition-all"},l.value.props,{class:[...o.value,...i.value,...s.value,...a.value,c.scrollable?"overflow-y-auto":"overflow-hidden",c.flex?"flex flex-col":"","rounded","focus:outline-none focus:ring-2 focus:ring-focused focus:ring-offset-1"]}),{default:Ne(()=>[Ve(c.$slots,"default")]),_:3},16,["class"]))}});class sde{get icon(){return{default:rde,small:lae}}get iconColor(){return"text-icon-critical"}get tileColor(){return da.CRITICAL}get buttonVariant(){return"banner-critical"}}class ade{get icon(){return{default:ly,small:iy}}get iconColor(){return"text-icon"}get tileColor(){return da.NEUTRAL}get buttonVariant(){return"banner-default"}}class lde{get icon(){return{default:ly,small:iy}}get iconColor(){return"text-icon-highlight"}get tileColor(){return da.HIGHLIGHT}get buttonVariant(){return"banner-informational"}}class cde{get icon(){return{default:ly,small:iy}}get iconColor(){return"text-icon"}get tileColor(){return da.DEFAULT}get buttonVariant(){return"banner-default"}}class ude{get icon(){return{default:nde,small:aae}}get iconColor(){return"text-icon-success"}get tileColor(){return da.SUCCESS}get buttonVariant(){return"banner-success"}}class dde{get icon(){return{default:ly,small:iy}}get iconColor(){return"text-icon-warning"}get tileColor(){return da.WARNING}get buttonVariant(){return"banner-warning"}}const fde={class:"flex grow flex-col gap-y-1 text-left"},hde={key:0},pde={key:0},mde=["href","target"],gde={key:1,class:"list-disc pl-6"},bde=["innerHTML"],OLe=Qe({__name:"UiBanner",props:{type:{default:"default"},dismissable:{type:Boolean,default:!1},small:{type:Boolean,default:!1},title:{default:void 0},bodyText:{default:void 0},list:{default:void 0},linkText:{default:void 0},linkTo:{default:void 0},linkHref:{default:void 0},target:{default:void 0},primaryActionText:{default:void 0},primaryActionTo:{default:void 0},primaryActionLoading:{type:Boolean,default:!1},secondaryActionText:{default:void 0},secondaryActionTo:{default:void 0},secondaryActionLoading:{type:Boolean,default:!1}},emits:["close","primary-action-click","secondary-action-click","link-click"],setup(e,{emit:t}){const n=e,r=t,o=ge(!1);We(o,(a,l)=>{l===!1&&a===!0&&r("close")},{immediate:!0});const i=q(()=>{switch(n.type){case"default":return new ade;case"public":return new cde;case"success":return new ude;case"critical":return new sde;case"warning":return new dde;case"informational":return new lde;default:throw new Error(`Type ${n.type} does not exist`)}}),s=qe(mi);return(a,l)=>{const c=Bh("router-link");return o.value?xe("",!0):(W(),Me(U(sE),Ce({key:0},{...a.$qa("banner-type",a.type),...a.$qa("uibanner")},{rounded:"lg",class:["flex items-center gap-x-4 p-4",[a.small?"":"lg:p-5"]],shadow:U(s).banner.shadow,border:U(s).banner.border}),{default:Ne(()=>[(W(),Me(Ii(a.small?i.value.icon.small:i.value.icon.default),{class:it([[a.small?"size-5":"size-6",i.value.iconColor],"shrink-0 self-start"])},null,8,["class"])),Oe("div",fde,[a.title?(W(),oe("div",Ce({key:0},a.$qa("title"),{class:"text-text-heading typography-h5"}),rt(a.title),17)):xe("",!0),Oe("div",Ce(a.$qa("body"),{class:"flex grow flex-col gap-y-4"}),[Ve(a.$slots,"body",{},()=>[a.bodyText||a.linkText||a.list?(W(),oe("div",hde,[a.bodyText||a.linkText?(W(),oe("span",pde,[Dn(rt(a.bodyText),1),a.linkTo?(W(),Me(c,Ce({key:0},a.$qa("link"),{to:a.linkTo,class:["text-text underline hover:text-text",[a.bodyText?"pl-1":""]],onClick:l[0]||(l[0]=u=>a.$emit("link-click",u))}),{default:Ne(()=>[Dn(rt(a.linkText),1)]),_:1},16,["to","class"])):a.linkHref?(W(),oe("a",Ce({key:1},a.$qa("link"),{href:a.linkHref,target:a.target,class:["text-text underline hover:text-text",[a.bodyText?"pl-1":""]],onClick:l[1]||(l[1]=u=>a.$emit("link-click",u))}),rt(a.linkText),17,mde)):xe("",!0)])):xe("",!0),a.list?(W(),oe("ul",gde,[(W(!0),oe(wt,null,si(a.list,(u,d)=>(W(),oe("li",{key:d,class:"prose",innerHTML:u},null,8,bde))),128))])):xe("",!0)])):xe("",!0)]),a.primaryActionText||a.secondaryActionText||a.$slots.actions?(W(),oe("div",Ce({key:0},a.$qa("actions"),{class:"flex items-center gap-x-2"}),[Ve(a.$slots,"actions",{},()=>[a.primaryActionText?(W(),Me(U(ei),Ce({key:0},a.$qa("primary-action"),{variant:i.value.buttonVariant,to:a.primaryActionTo,loading:a.primaryActionLoading,onClick:l[2]||(l[2]=u=>a.$emit("primary-action-click",u))}),{default:Ne(()=>[Dn(rt(a.primaryActionText),1)]),_:1},16,["variant","to","loading"])):xe("",!0),a.secondaryActionText?(W(),Me(U(ei),Ce({key:1},a.$qa("secondary-action"),{variant:"text-monochrome",to:a.secondaryActionTo,onClick:l[3]||(l[3]=u=>a.$emit("secondary-action-click",u))}),{default:Ne(()=>[Dn(rt(a.secondaryActionText),1)]),_:1},16,["to"])):xe("",!0)])],16)):xe("",!0)],16)]),a.dismissable?(W(),Me(U(i0),{key:0,class:"self-start",onClick:l[4]||(l[4]=u=>o.value=!0)})):xe("",!0)]),_:3},16,["shadow","border","class"]))}}}),Ode={};function yde(e,t){return W(),oe("div",Ce(e.$qa("uibuttongroup"),{class:"inline-flex"}),[Ve(e.$slots,"default")],16)}const vde=ay(Ode,[["render",yde]]),yLe=Qe({__name:"UiCard",props:{skeleton:{type:Boolean},tag:{},to:{},replace:{type:Boolean},href:{},target:{},rel:{},scrollable:{type:Boolean},flex:{type:Boolean},editable:{type:Boolean},noStateEffectsBackground:{type:Boolean},noStateEffectsShadow:{type:Boolean}},setup(e){const t=e;Ft("editable",q(()=>t.editable));const n=qe(mi);return(r,o)=>r.skeleton?(W(),Me(U(ks),{key:1,class:"rounded-lg"})):(W(),Me(U(sE),Ce({key:0},r.$qa("uicard"),{tag:r.tag,replace:r.replace,target:r.target,href:r.href,rel:r.rel,to:r.to,shadow:U(n).card.shadow,border:U(n).card.border,rounded:"lg","no-state-effects-background":r.noStateEffectsBackground,"no-state-effects-shadow":r.noStateEffectsShadow,color:r.editable?U(da).NEUTRAL:U(da).DEFAULT,scrollable:r.scrollable,flex:r.flex}),{default:Ne(()=>[Ve(r.$slots,"default")]),_:3},16,["tag","replace","target","href","rel","to","shadow","border","no-state-effects-background","no-state-effects-shadow","color","scrollable","flex"]))}}),vLe=Qe({__name:"UiCardContent",setup(e){const t=qe("editable");return(n,r)=>(W(),oe("div",Ce(n.$qa("uicardcontent"),{class:["px-5 py-0 last:pb-5",U(t)?"pt-5":"first:pt-5"]}),[Ve(n.$slots,"default")],16))}}),wde={class:"flex max-w-full grow items-baseline gap-x-2"},Sde={key:0,class:"text-sm not-sr-only ml-1 font-normal text-text-critical"},wLe=Qe({__name:"UiCardHeading",props:{title:{default:void 0},titleClass:{default:void 0},counter:{default:void 0},clickable:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t,r=e,o=()=>{r.clickable&&n("click")};return(i,s)=>(W(),oe("div",Ce(i.$qa("uicardheading"),{class:["flex justify-center gap-x-2 bg-surface p-5",i.clickable?"cursor-pointer":""],onClick:o}),[Oe("div",wde,[Ve(i.$slots,"default",{},()=>[Oe("div",Ce(i.$qa("title"),{class:["inline-flex items-start break-words text-text-heading typography-h5",i.titleClass]}),[Dn(rt(i.title)+" ",1),i.required?(W(),oe("span",Sde,"*")):xe("",!0)],16)]),i.counter!==void 0?(W(),oe("span",Ce({key:0},i.$qa("counter"),{class:"text-text-subtle"}),rt(i.counter),17)):xe("",!0)]),i.$slots.action?(W(),oe("div",Ce({key:0},i.$qa("action"),{class:"shrink-0"}),[Ve(i.$slots,"action")],16)):xe("",!0)],16))}});/** * Vue 3 Carousel 0.3.4 * (c) 2024 * @license MIT */const hr={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},I3={itemsToShow:{default:hr.itemsToShow,type:Number},itemsToScroll:{default:hr.itemsToScroll,type:Number},wrapAround:{default:hr.wrapAround,type:Boolean},throttle:{default:hr.throttle,type:Number},snapAlign:{default:hr.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:hr.transition,type:Number},breakpoints:{default:hr.breakpoints,type:Object},autoplay:{default:hr.autoplay,type:Number},pauseAutoplayOnHover:{default:hr.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:hr.mouseDrag,type:Boolean},touchDrag:{default:hr.touchDrag,type:Boolean},dir:{default:hr.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:hr.i18n,type:Object},settings:{default(){return{}},type:Object}};function _de({config:e,slidesCount:t}){const{snapAlign:n,wrapAround:r,itemsToShow:o=1}=e;if(r)return Math.max(t-1,0);let i;switch(n){case"start":i=t-o;break;case"end":i=t-1;break;case"center":case"center-odd":i=t-Math.ceil((o-.5)/2);break;case"center-even":i=t-Math.ceil(o/2);break;default:i=0;break}return Math.max(i,0)}function kde({config:e,slidesCount:t}){const{wrapAround:n,snapAlign:r,itemsToShow:o=1}=e;let i=0;if(n||o>t)return i;switch(r){case"start":i=0;break;case"end":i=o-1;break;case"center":case"center-odd":i=Math.floor((o-1)/2);break;case"center-even":i=Math.floor((o-2)/2);break;default:i=0;break}return i}function s_({val:e,max:t,min:n}){return t{var r;return n.type===wt?[...t,...oN(n.children)]:((r=n.type)===null||r===void 0?void 0:r.name)==="CarouselSlide"?[...t,n]:t},[]):[]}function a_({val:e,max:t,min:n=0}){return e>t?a_({val:e-(t+1),max:t,min:n}):en=!1,t))}:e}function Tde(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e(...r),n=null},t)}}function Cde(e="",t={}){return Object.entries(t).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}var Pde=Qe({name:"ARIA",setup(){const e=qe("config",Kn(Object.assign({},hr))),t=qe("currentSlide",ge(0)),n=qe("slidesCount",ge(0));return()=>Dt("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},Cde(e.i18n.itemXofY,{currentSlide:t.value+1,slidesCount:n.value}))}}),Ade=Qe({name:"Carousel",props:I3,setup(e,{slots:t,emit:n,expose:r}){var o;const i=ge(null),s=ge([]),a=ge(0),l=ge(0),c=Kn(Object.assign({},hr));let u=Object.assign({},hr),d;const f=ge((o=e.modelValue)!==null&&o!==void 0?o:0),h=ge(0),p=ge(0),m=ge(0),O=ge(0);let g,b;Ft("config",c),Ft("slidesCount",l),Ft("currentSlide",f),Ft("maxSlide",m),Ft("minSlide",O),Ft("slideWidth",a);function v(){d=Object.assign({},e.breakpoints),u=Object.assign(Object.assign(Object.assign({},u),e),{i18n:Object.assign(Object.assign({},u.i18n),e.i18n),breakpoints:void 0}),w(u)}function y(){if(!d||!Object.keys(d).length)return;const R=Object.keys(d).map(ie=>Number(ie)).sort((ie,re)=>+re-+ie);let Z=Object.assign({},u);R.some(ie=>{const re=window.matchMedia(`(min-width: ${ie}px)`).matches;return re&&(Z=Object.assign(Object.assign({},Z),d[ie])),re}),w(Z)}function w(R){Object.entries(R).forEach(([Z,ie])=>c[Z]=ie)}const S=Tde(()=>{y(),T(),_()},16);function _(){if(!i.value)return;const R=i.value.getBoundingClientRect();a.value=R.width/c.itemsToShow}function T(){l.value<=0||(p.value=Math.ceil((l.value-1)/2),m.value=_de({config:c,slidesCount:l.value}),O.value=kde({config:c,slidesCount:l.value}),c.wrapAround||(f.value=s_({val:f.value,max:m.value,min:O.value})))}Zo(()=>{wr(()=>_()),setTimeout(()=>_(),1e3),y(),ve(),window.addEventListener("resize",S,{passive:!0}),n("init")}),qc(()=>{b&&clearTimeout(b),g&&clearInterval(g),window.removeEventListener("resize",S,{passive:!0})});let A=!1;const C={x:0,y:0},$={x:0,y:0},E=Kn({x:0,y:0}),Q=ge(!1),X=ge(!1),Y=()=>{Q.value=!0},B=()=>{Q.value=!1};function ee(R){["INPUT","TEXTAREA","SELECT"].includes(R.target.tagName)||(A=R.type==="touchstart",A||R.preventDefault(),!(!A&&R.button!==0||de.value)&&(C.x=A?R.touches[0].clientX:R.clientX,C.y=A?R.touches[0].clientY:R.clientY,document.addEventListener(A?"touchmove":"mousemove",te,!0),document.addEventListener(A?"touchend":"mouseup",ye,!0)))}const te=Ede(R=>{X.value=!0,$.x=A?R.touches[0].clientX:R.clientX,$.y=A?R.touches[0].clientY:R.clientY;const Z=$.x-C.x,ie=$.y-C.y;E.y=ie,E.x=Z},c.throttle);function ye(){const R=c.dir==="rtl"?-1:1,Z=Math.sign(E.x)*.4,ie=Math.round(E.x/a.value+Z)*R;if(ie&&!A){const re=k=>{window.removeEventListener("click",re,!0)};window.addEventListener("click",re,!0)}V(f.value-ie),E.x=0,E.y=0,X.value=!1,document.removeEventListener(A?"touchmove":"mousemove",te,!0),document.removeEventListener(A?"touchend":"mouseup",ye,!0)}function ve(){!c.autoplay||c.autoplay<=0||(g=Zp(()=>{c.pauseAutoplayOnHover&&Q.value||ue()},c.autoplay))}function pe(){g&&(clearInterval(g),g=null),ve()}const de=ge(!1);function V(R){const Z=c.wrapAround?R:s_({val:R,max:m.value,min:O.value});f.value===Z||de.value||(n("slide-start",{slidingToIndex:R,currentSlideIndex:f.value,prevSlideIndex:h.value,slidesCount:l.value}),de.value=!0,h.value=f.value,f.value=Z,b=setTimeout(()=>{if(c.wrapAround){const ie=a_({val:Z,max:m.value,min:0});ie!==f.value&&(f.value=ie,n("loop",{currentSlideIndex:f.value,slidingToIndex:R}))}n("update:modelValue",f.value),n("slide-end",{currentSlideIndex:f.value,prevSlideIndex:h.value,slidesCount:l.value}),de.value=!1,pe()},c.transition))}function ue(){V(f.value+c.itemsToScroll)}function Ee(){V(f.value-c.itemsToScroll)}const ne={slideTo:V,next:ue,prev:Ee};Ft("nav",ne),Ft("isSliding",de);const J=q(()=>xde({config:c,currentSlide:f.value,slidesCount:l.value}));Ft("slidesToScroll",J);const me=q(()=>{const R=c.dir==="rtl"?-1:1,Z=J.value*a.value*R;return{transform:`translateX(${E.x-Z}px)`,transition:`${de.value?c.transition:0}ms`,margin:c.wrapAround?`0 -${l.value*a.value}px`:"",width:"100%"}});function fe(){v(),y(),T(),_(),pe()}Object.keys(I3).forEach(R=>{["modelValue"].includes(R)||We(()=>e[R],fe)}),We(()=>e.modelValue,R=>{R!==f.value&&V(Number(R))}),We(l,T),n("before-init"),v();const he={config:c,slidesCount:l,slideWidth:a,next:ue,prev:Ee,slideTo:V,currentSlide:f,maxSlide:m,minSlide:O,middleSlide:p};r({updateBreakpointsConfigs:y,updateSlidesData:T,updateSlideWidth:_,initDefaultConfigs:v,restartCarousel:fe,slideTo:V,next:ue,prev:Ee,nav:ne,data:he});const Te=t.default||t.slides,ze=t.addons,I=Kn(he);return()=>{const R=oN(Te==null?void 0:Te(I)),Z=(ze==null?void 0:ze(I))||[];R.forEach((x,M)=>x.props.index=M);let ie=R;if(c.wrapAround){const x=R.map((z,L)=>Li(z,{index:-R.length+L,isClone:!0,key:`clone-before-${L}`})),M=R.map((z,L)=>Li(z,{index:R.length+L,isClone:!0,key:`clone-after-${L}`}));ie=[...x,...R,...M]}s.value=R,l.value=Math.max(R.length,1);const re=Dt("ol",{class:"carousel__track",style:me.value,onMousedownCapture:c.mouseDrag?ee:null,onTouchstartPassiveCapture:c.touchDrag?ee:null},ie),k=Dt("div",{class:"carousel__viewport"},re);return Dt("section",{ref:i,class:{carousel:!0,"is-sliding":de.value,"is-dragging":X.value,"is-hover":Q.value,"carousel--rtl":c.dir==="rtl"},dir:c.dir,"aria-label":c.i18n.ariaGallery,tabindex:"0",onMouseenter:Y,onMouseleave:B},[k,Z,Dt(Pde)])}}}),L3;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(L3||(L3={}));var N3=Qe({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=qe("config",Kn(Object.assign({},hr))),r=qe("currentSlide",ge(0)),o=qe("slidesToScroll",ge(0)),i=qe("isSliding",ge(!1)),s=q(()=>e.index===r.value),a=q(()=>e.index===r.value-1),l=q(()=>e.index===r.value+1),c=q(()=>{const u=Math.floor(o.value),d=Math.ceil(o.value+n.itemsToShow-1);return e.index>=u&&e.index<=d});return()=>{var u;return Dt("li",{style:{width:`${100/n.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":c.value,"carousel__slide--active":s.value,"carousel__slide--prev":a.value,"carousel__slide--next":l.value,"carousel__slide--sliding":i.value},"aria-hidden":!c.value},(u=t.default)===null||u===void 0?void 0:u.call(t,{isActive:s.value,isClone:e.isClone,isPrev:a.value,isNext:l.value,isSliding:i.value,isVisible:c.value}))}}});function Xd(e){return Mp()?(EO(e),!0):!1}function jo(e){return typeof e=="function"?e():U(e)}const D3={mounted:"mounted",updated:"updated",unmounted:"unmounted"},aE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $de=e=>e!=null,Mde=Object.prototype.toString,iN=e=>Mde.call(e)==="[object Object]",Fu=()=>{},l_=Rde();function Rde(){var e,t;return aE&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ide(e){return Rr()}function Lde(...e){if(e.length!==1)return e2(...e);const t=e[0];return typeof t=="function"?Yx(Jx(()=>({get:t,set:Fu}))):ge(t)}function sN(e,t=!0,n){Ide()?Zo(e,n):t?e():wr(e)}const Hd=aE?window:void 0;function ea(e){var t;const n=jo(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Hp(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Hd):[t,n,r,o]=e,!t)return Fu;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=We(()=>[ea(t),jo(o)],([u,d])=>{if(s(),!u)return;const f=iN(d)?{...d}:d;i.push(...n.flatMap(h=>r.map(p=>a(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return Xd(c),c}function Nde(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Dde(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Hd,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=Nde(t);return Hp(o,i,c=>{c.repeat&&jo(a)||l(c)&&n(c)},s)}function Qde(){const e=ge(!1),t=Rr();return t&&Zo(()=>{e.value=!0},t),e}function aN(e){const t=Qde();return q(()=>(t.value,!!e()))}function Bde(e,t={}){const{window:n=Hd}=t,r=aN(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=ge(!1),s=c=>{i.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},l=h2(()=>{r.value&&(a(),o=n.matchMedia(jo(e)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),i.value=o.matches)});return Xd(()=>{l(),a(),o=void 0}),i}function zde(e,t,n={}){const{window:r=Hd,...o}=n;let i;const s=aN(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=q(()=>{const d=jo(e);return Array.isArray(d)?d.map(f=>ea(f)):[ea(d)]}),c=We(l,d=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const f of d)f&&i.observe(f,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Xd(u),{isSupported:s,stop:u}}function jde(e,t={width:0,height:0},n={}){const{window:r=Hd,box:o="content-box"}=n,i=q(()=>{var d,f;return(f=(d=ea(e))==null?void 0:d.namespaceURI)==null?void 0:f.includes("svg")}),s=ge(t.width),a=ge(t.height),{stop:l}=zde(e,([d])=>{const f=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&i.value){const h=ea(e);if(h){const p=h.getBoundingClientRect();s.value=p.width,a.value=p.height}}else if(f){const h=Array.isArray(f)?f:[f];s.value=h.reduce((p,{inlineSize:m})=>p+m,0),a.value=h.reduce((p,{blockSize:m})=>p+m,0)}else s.value=d.contentRect.width,a.value=d.contentRect.height},n);sN(()=>{const d=ea(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=We(()=>ea(e),d=>{s.value=d?t.width:0,a.value=d?t.height:0});function u(){l(),c()}return{width:s,height:a,stop:u}}function Wde(e={}){const{window:t=Hd,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=ge(n),l=ge(r),c=()=>{t&&(s==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),sN(c),Hp("resize",c,{passive:!0}),o){const u=Bde("(orientation: portrait)");We(u,()=>c())}return{width:a,height:l}}function Fde(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M14 8a.75.75 0 0 1-.75.75H4.56l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 1.06L4.56 7.25h8.69A.75.75 0 0 1 14 8Z","clip-rule":"evenodd"})])}function qde(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M2 8a.75.75 0 0 1 .75-.75h8.69L8.22 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06-1.06l3.22-3.22H2.75A.75.75 0 0 1 2 8Z","clip-rule":"evenodd"})])}function Ude(e,t){return W(),oe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[Oe("path",{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM8 4a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}const Zde=["disabled","aria-label"],Q3=Qe({__name:"UiCarouselNavigationButton",props:{disabled:{type:Boolean},direction:{}},emits:["click"],setup(e){return(t,n)=>(W(),oe("button",{disabled:t.disabled,class:it(["flex size-7 items-center justify-center rounded-full border transition-colors focus:outline-none focus:ring-2 focus:ring-focused active:ring-0",t.disabled?"bg-surface-disabled text-icon-disabled border-border-disabled":"bg-action-primary-subtle text-action-primary border-transparent hover:bg-action-primary hover:text-text-on-primary"]),"aria-label":t.direction==="previous"?"Navigate to previous slide":"Navigate to next slide",onClick:n[0]||(n[0]=r=>t.$emit("click",r))},[t.direction==="previous"?(W(),Me(U(Fde),{key:0,class:"size-4"})):(W(),Me(U(qde),{key:1,class:"size-4"}))],10,Zde))}}),Vde={class:"flex flex-col gap-y-12"},Xde={key:0,class:"flex items-start gap-x-4"},Hde={key:0,class:"text-text-heading typography-h5-public"},Yde={key:1,class:"flex h-9 items-center gap-x-4"},Gde={key:0,class:"mt-8 flex flex-wrap justify-center gap-px"},Kde=["aria-label","onClick"],Jde=Qe({__name:"UiCarousel",props:{title:{default:void 0},transition:{default:350},pageSize:{default:1},breakpoints:{default:void 0},spacing:{default:16},items:{},skeleton:{type:Boolean},rotate:{type:Boolean}},setup(e){const t=ge(null),n=e,r=q(()=>Math.max(n.pageSize,...Object.values(n.breakpoints||{}).map(y=>y.pageSize||1))),o=q(()=>({itemsToShow:n.pageSize,itemsToScroll:n.pageSize,snapAlign:"start",transition:n.transition,breakpoints:n.breakpoints?Object.entries(n.breakpoints).reduce((y,[w,S])=>({...y,[w]:{itemsToShow:S.pageSize,itemsToScroll:S.pageSize,transition:S.transition}}),{}):void 0,touchDrag:!n.skeleton,mouseDrag:!n.skeleton})),i=ge(0),s=q(()=>{var y,w;return((w=(y=t.value)==null?void 0:y.data)==null?void 0:w.config.itemsToShow)||n.pageSize}),a=y=>{var w;if(t.value===null)return;const S=(w=t.value)==null?void 0:w.data.currentSlide.value,_=t.value.data.currentSlide.value+t.value.data.config.itemsToShow;return y>=S&&y<_},{width:l}=Wde();We(l,()=>{c.value=0});const c=q({set(y){i.value=y*s.value},get(){return Math.floor(i.value/s.value)}}),u=q(()=>Math.ceil(n.items.length/s.value)),d=q(()=>!n.skeleton&&u.value>1),f=q(()=>c.value>0),h=q(()=>c.value+1{clearInterval(b),h.value&&c.value++},m=()=>{clearInterval(b),f.value&&c.value--},O=q(()=>new Array(u.value).fill(0).map((y,w)=>({index:w,active:w===c.value}))),g=y=>{c.value!=y&&(clearInterval(b),c.value=y)};let b;n.rotate&&Zo(()=>{b=window.setInterval(()=>{c.value=(c.value+1)%u.value},4e3)}),qc(()=>{clearInterval(b)});const v=y=>{y.currentTarget&&y.currentTarget.blur()};return(y,w)=>(W(),oe("div",Vde,[y.title||d.value?(W(),oe("div",Xde,[y.title?(W(),oe("div",Hde,rt(y.title),1)):xe("",!0),w[1]||(w[1]=Oe("div",{class:"grow"},null,-1)),d.value?(W(),oe("div",Yde,[De(Q3,{disabled:!f.value,direction:"previous",onClick:m},null,8,["disabled"]),De(Q3,{disabled:!h.value,direction:"next",onClick:p},null,8,["disabled"])])):xe("",!0)])):xe("",!0),Oe("div",null,[De(U(Ade),Ce({ref_key:"carouselRef",ref:t,modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=S=>i.value=S)},{...o.value,...y.$qa("uicarousel")},{tabindex:"-1",style:{"--ui-carousel-spacing":`${y.spacing}px`}}),{default:Ne(()=>[y.skeleton?(W(!0),oe(wt,{key:0},si(r.value,S=>(W(),Me(U(N3),{key:S},{default:Ne(()=>[Ve(y.$slots,"skeleton",{},void 0,!0)]),_:2},1024))),128)):(W(!0),oe(wt,{key:1},si(y.items,(S,_)=>(W(),Me(U(N3),{key:S.id},{default:Ne(()=>[Ve(y.$slots,"default",{item:S,hidden:!a(_)},void 0,!0)]),_:2},1024))),128))]),_:3},16,["modelValue","style"]),d.value?(W(),oe("div",Gde,[(W(!0),oe(wt,null,si(O.value,S=>(W(),oe("button",{key:S.index,class:"p-1 px-0.5 transition-colors duration-75 focus:rounded focus:outline-none focus:ring-2 focus:ring-focused","aria-label":`Page ${S.index+1}`,onClick:_=>g(S.index),onMouseup:v},[Oe("div",{class:it(["h-0.5 w-6 rounded-[1px] transition-all",S.active?"bg-interactive":"bg-surface-dark opacity-30"]),style:ro({transitionDuration:`${y.transition}ms`})},null,6)],40,Kde))),128))])):xe("",!0)])]))}}),SLe=ay(Jde,[["__scopeId","data-v-635e0d9d"]]),efe=["src","srcset"],tfe=["src","srcset"],nfe=Qe({__name:"UiThumbnail",props:{imageSrc:{default:void 0},imageSrcset:{default:void 0},noPadding:{type:Boolean},cover:{type:Boolean},loading:{type:Boolean},type:{default:"image"}},setup(e){return(t,n)=>t.type==="pdf"?(W(),oe("div",Ce({key:0},t.$qa("uithumbnail"),{class:"flex size-10 items-center justify-center text-icon"}),n[0]||(n[0]=[oZ('',1)]),16)):t.type==="video"?(W(),oe("div",Ce({key:1},t.$qa("uithumbnail"),{class:"relative flex size-10 items-center justify-center overflow-hidden rounded-lg border border-border bg-icon"}),[t.imageSrc?(W(),oe("img",{key:0,class:"size-full object-cover",src:t.imageSrc,srcset:t.imageSrcset},null,8,efe)):xe("",!0),n[1]||(n[1]=Oe("div",{class:"absolute flex size-full items-center justify-center"},[Oe("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Oe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.97504 1.60875C6.9931 1.00261 5.73056 0.946101 4.69005 1.46171C3.64955 1.97732 3 2.98135 3 4.07408V15.9259C3 17.0187 3.64955 18.0227 4.69005 18.5383C5.73056 19.0539 6.9931 18.9974 7.97504 18.3913L17.575 12.4653C18.4653 11.9158 19 10.9907 19 10C19 9.00933 18.4653 8.0842 17.575 7.53467L7.97504 1.60875Z",fill:"white"})])],-1))],16)):(W(),oe("div",Ce({key:2},t.$qa("uithumbnail"),{class:"relative flex size-10 items-center justify-center overflow-hidden rounded border border-border bg-surface"}),[!t.loading&&t.imageSrc?(W(),oe("div",{key:0,class:it(["size-full",t.noPadding?"":"p-1"])},[Oe("img",{class:it(["size-full",t.cover?"object-cover":"object-contain"]),src:t.imageSrc,srcset:t.imageSrcset},null,10,tfe)],2)):t.loading?xe("",!0):(W(),Me(U(ode),{key:1,class:"size-5 text-icon-subtle"}))],16))}});/*! * vue-draggable-next v2.2.0 * (c) 2023 Anish George * @license MIT *//**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT */function B3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function xs(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function ife(e,t){if(e==null)return{};var n=ofe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var sfe="1.14.0";function oa(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var xa=oa(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Yp=oa(/Edge/i),z3=oa(/firefox/i),mh=oa(/safari/i)&&!oa(/chrome/i)&&!oa(/android/i),lN=oa(/iP(ad|od|hone)/i),afe=oa(/chrome/i)&&oa(/android/i),cN={capture:!1,passive:!1};function $t(e,t,n){e.addEventListener(t,n,!xa&&cN)}function Et(e,t,n){e.removeEventListener(t,n,!xa&&cN)}function s0(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function lfe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ls(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&s0(e,t):s0(e,t))||r&&e===n)return e;if(e===n)break}while(e=lfe(e))}return null}var j3=/\s+/g;function Co(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(j3," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(j3," ")}}function Ye(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function qu(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ye(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function uN(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=i,!s)return r;if(r===ws())break;r=il(r,!1)}return!1}function fd(e,t,n,r){for(var o=0,i=0,s=e.children;i2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,o=ife(n,gfe);Gp.pluginEvent.bind(Ge)(e,t,xs({dragEl:_e,parentEl:xn,ghostEl:at,rootEl:bn,nextEl:oc,lastDownEl:Hg,cloneEl:En,cloneHidden:tl,dragStarted:Zf,putSortable:fr,activeSortable:Ge.active,originalEvent:r,oldIndex:Pu,oldDraggableIndex:bh,newIndex:Po,newDraggableIndex:Va,hideGhostForTarget:bN,unhideGhostForTarget:ON,cloneNowHidden:function(){tl=!0},cloneNowShown:function(){tl=!1},dispatchSortableEvent:function(i){Wr({sortable:t,name:i,originalEvent:r})}},o))};function Wr(e){mfe(xs({putSortable:fr,cloneEl:En,targetEl:_e,rootEl:bn,oldIndex:Pu,oldDraggableIndex:bh,newIndex:Po,newDraggableIndex:Va},e))}var _e,xn,at,bn,oc,Hg,En,tl,Pu,Po,bh,Va,Vm,fr,vu=!1,a0=!1,l0=[],Gl,yi,iw,sw,q3,U3,Zf,du,Oh,yh=!1,Xm=!1,Yg,kr,aw=[],c_=!1,c0=[],cy=typeof document<"u",Hm=lN,Z3=Yp||xa?"cssFloat":"float",bfe=cy&&!afe&&!lN&&"draggable"in document.createElement("div"),pN=function(){if(cy){if(xa)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),mN=function(e,t){var n=Ye(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=fd(e,0,t),i=fd(e,1,t),s=o&&Ye(o),a=i&&Ye(i),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Wn(o).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Wn(i).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&s.float!=="none"){var u=s.float==="left"?"left":"right";return i&&(a.clear==="both"||a.clear===u)?"vertical":"horizontal"}return o&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||l>=r&&n[Z3]==="none"||i&&n[Z3]==="none"&&l+c>r)?"vertical":"horizontal"},Ofe=function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,s=n?t.left:t.top,a=n?t.right:t.bottom,l=n?t.width:t.height;return r===s||o===a||r+i/2===s+l/2},yfe=function(e,t){var n;return l0.some(function(r){var o=r[Lo].options.emptyInsertThreshold;if(!(!o||lE(r))){var i=Wn(r),s=e>=i.left-o&&e<=i.right+o,a=t>=i.top-o&&t<=i.bottom+o;if(s&&a)return n=r}}),n},gN=function(e){function t(o,i){return function(s,a,l,c){var u=s.options.group.name&&a.options.group.name&&s.options.group.name===a.options.group.name;if(o==null&&(i||u))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return t(o(s,a,l,c),i)(s,a,l,c);var d=(i?s:a).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var n={},r=e.group;(!r||Xg(r)!="object")&&(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},bN=function(){!pN&&at&&Ye(at,"display","none")},ON=function(){!pN&&at&&Ye(at,"display","")};cy&&document.addEventListener("click",function(e){if(a0)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),a0=!1,!1},!0);var Kl=function(e){if(_e){e=e.touches?e.touches[0]:e;var t=yfe(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Lo]._onDragOver(n)}}},vfe=function(e){_e&&_e.parentNode[Lo]._isOutsideThisEl(e.target)};function Ge(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=fa({},t),e[Lo]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return mN(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,s){i.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!mh,emptyInsertThreshold:5};Gp.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);gN(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:bfe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?$t(e,"pointerdown",this._onTapStart):($t(e,"mousedown",this._onTapStart),$t(e,"touchstart",this._onTapStart)),this.nativeDraggable&&($t(e,"dragover",this),$t(e,"dragenter",this)),l0.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),fa(this,ffe())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(du=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,_e):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,a=(s||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,c=r.filter;if(Cfe(n),!_e&&!(/mousedown|pointerdown/.test(i)&&e.button!==0||r.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&mh&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=ls(a,r.draggable,n,!1),!(a&&a.animated)&&Hg!==a)){if(Pu=Yo(a),bh=Yo(a,r.draggable),typeof c=="function"){if(c.call(this,e,a,this)){Wr({sortable:t,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),ao("filter",t,{evt:e}),o&&e.cancelable&&e.preventDefault();return}}else if(c&&(c=c.split(",").some(function(u){if(u=ls(l,u.trim(),n,!1),u)return Wr({sortable:t,rootEl:u,name:"filter",targetEl:a,fromEl:n,toEl:n}),ao("filter",t,{evt:e}),!0}),c)){o&&e.cancelable&&e.preventDefault();return}r.handle&&!ls(l,r.handle,n,!1)||this._prepareDragStart(e,s,a)}}},_prepareDragStart:function(e,t,n){var r=this,o=r.el,i=r.options,s=o.ownerDocument,a;if(n&&!_e&&n.parentNode===o){var l=Wn(n);if(bn=o,_e=n,xn=_e.parentNode,oc=_e.nextSibling,Hg=n,Vm=i.group,Ge.dragged=_e,Gl={target:_e,clientX:(t||e).clientX,clientY:(t||e).clientY},q3=Gl.clientX-l.left,U3=Gl.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,_e.style["will-change"]="all",a=function(){if(ao("delayEnded",r,{evt:e}),Ge.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!z3&&r.nativeDraggable&&(_e.draggable=!0),r._triggerDragStart(e,t),Wr({sortable:r,name:"choose",originalEvent:e}),Co(_e,i.chosenClass,!0)},i.ignore.split(",").forEach(function(c){uN(_e,c.trim(),lw)}),$t(s,"dragover",Kl),$t(s,"mousemove",Kl),$t(s,"touchmove",Kl),$t(s,"mouseup",r._onDrop),$t(s,"touchend",r._onDrop),$t(s,"touchcancel",r._onDrop),z3&&this.nativeDraggable&&(this.options.touchStartThreshold=4,_e.draggable=!0),ao("delayStart",this,{evt:e}),i.delay&&(!i.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Yp||xa))){if(Ge.eventCanceled){this._onDrop();return}$t(s,"mouseup",r._disableDelayedDrag),$t(s,"touchend",r._disableDelayedDrag),$t(s,"touchcancel",r._disableDelayedDrag),$t(s,"mousemove",r._delayedDragTouchMoveHandler),$t(s,"touchmove",r._delayedDragTouchMoveHandler),i.supportPointer&&$t(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(a,i.delay)}else a()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){_e&&lw(_e),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Et(e,"mouseup",this._disableDelayedDrag),Et(e,"touchend",this._disableDelayedDrag),Et(e,"touchcancel",this._disableDelayedDrag),Et(e,"mousemove",this._delayedDragTouchMoveHandler),Et(e,"touchmove",this._delayedDragTouchMoveHandler),Et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?$t(document,"pointermove",this._onTouchMove):t?$t(document,"touchmove",this._onTouchMove):$t(document,"mousemove",this._onTouchMove):($t(_e,"dragend",this),$t(bn,"dragstart",this._onDragStart));try{document.selection?Gg(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(vu=!1,bn&&_e){ao("dragStarted",this,{evt:t}),this.nativeDraggable&&$t(document,"dragover",vfe);var n=this.options;!e&&Co(_e,n.dragClass,!1),Co(_e,n.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wr({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(yi){this._lastX=yi.clientX,this._lastY=yi.clientY,bN();for(var e=document.elementFromPoint(yi.clientX,yi.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(yi.clientX,yi.clientY),e!==t);)t=e;if(_e.parentNode[Lo]._isOutsideThisEl(e),t)do{if(t[Lo]){var n=void 0;if(n=t[Lo]._onDragOver({clientX:yi.clientX,clientY:yi.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);ON()}},_onTouchMove:function(e){if(Gl){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=at&&qu(at,!0),s=at&&i&&i.a,a=at&&i&&i.d,l=Hm&&kr&&F3(kr),c=(o.clientX-Gl.clientX+r.x)/(s||1)+(l?l[0]-aw[0]:0)/(s||1),u=(o.clientY-Gl.clientY+r.y)/(a||1)+(l?l[1]-aw[1]:0)/(a||1);if(!Ge.active&&!vu){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(Wr({rootEl:xn,name:"add",toEl:xn,fromEl:bn,originalEvent:e}),Wr({sortable:this,name:"remove",toEl:xn,originalEvent:e}),Wr({rootEl:xn,name:"sort",toEl:xn,fromEl:bn,originalEvent:e}),Wr({sortable:this,name:"sort",toEl:xn,originalEvent:e})),fr&&fr.save()):Po!==Pu&&Po>=0&&(Wr({sortable:this,name:"update",toEl:xn,originalEvent:e}),Wr({sortable:this,name:"sort",toEl:xn,originalEvent:e})),Ge.active&&((Po==null||Po===-1)&&(Po=Pu,Va=bh),Wr({sortable:this,name:"end",toEl:xn,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){ao("nulling",this),bn=_e=xn=at=oc=En=Hg=tl=Gl=yi=Zf=Po=Va=Pu=bh=du=Oh=fr=Vm=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,c0.forEach(function(e){e.checked=!0}),c0.length=iw=sw=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":_e&&(this._onDragOver(e),wfe(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,r=0,o=n.length,i=this.options;rr.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function xfe(e,t,n,r,o,i,s,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!s){if(a&&Ygu+c*i/2:ld-Yg)return-Oh}else if(l>u+c*(1-o)/2&&ld-c*i/2)?l>u+c/2?1:-1:0}function Efe(e){return Yo(_e)e.replace(Rfe,(t,n)=>n?n.toUpperCase():""));function fw(e){e.parentElement!==null&&e.parentElement.removeChild(e)}function H3(e,t,n){const r=n===0?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}function Ife(e,t){return Object.values(e).indexOf(t)}function Lfe(e,t,n,r){if(!e)return[];const o=Object.values(e),i=t.length-r;return[...t].map((s,a)=>a>=i?o.length:o.indexOf(s))}function vN(e,t){this.$nextTick(()=>this.$emit(e.toLowerCase(),t))}function Nfe(e){return t=>{this.realList!==null&&this["onDrag"+e](t),vN.call(this,e,t)}}function Dfe(e){return["transition-group","TransitionGroup"].includes(e)}function Qfe(e){if(!e||e.length!==1)return!1;const[{type:t}]=e;return t?Dfe(t.name):!1}function Bfe(e,t){return t?{...t.props,...t.attrs}:e}const h_=["Start","Add","Remove","Update","End"],p_=["Choose","Unchoose","Sort","Filter","Clone"],zfe=["Move",...h_,...p_].map(e=>"on"+e);let hw=null;const jfe={options:Object,list:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null},component:{type:String,default:null},modelValue:{type:Array,required:!1,default:null}};[...h_.map(e=>e.toLowerCase()),...p_.map(e=>e.toLowerCase())];var Wfe=Object.defineProperty,Ffe=(e,t,n)=>t in e?Wfe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y3=(e,t,n)=>Ffe(e,typeof t!="symbol"?t+"":t,n),Ef=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qfe={exports:{}};(function(e,t){(function(n,r){r()})(Ef,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,d){var f=new XMLHttpRequest;f.open("GET",c),f.responseType="blob",f.onload=function(){l(f.response,u,d)},f.onerror=function(){console.error("could not download file")},f.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ef=="object"&&Ef.global===Ef?Ef:void 0,a=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,u,d){var f=s.URL||s.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?i(h):o(h.href)?r(c,u,d):i(h,h.target="_blank")):(h.href=f.createObjectURL(c),setTimeout(function(){f.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,d){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,d),u);else if(o(c))r(c,u,d);else{var f=document.createElement("a");f.href=c,f.target="_blank",setTimeout(function(){i(f)})}}:function(c,u,d,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,d);var h=c.type==="application/octet-stream",p=/constructor/i.test(s.HTMLElement)||s.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&p||a)&&typeof FileReader<"u"){var O=new FileReader;O.onloadend=function(){var v=O.result;v=m?v:v.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=v:location=v,f=null},O.readAsDataURL(c)}else{var g=s.URL||s.webkitURL,b=g.createObjectURL(c);f?f.location=b:location.href=b,f=null,setTimeout(function(){g.revokeObjectURL(b)},4e4)}});s.saveAs=l.saveAs=l,e.exports=l})})(qfe);function wN(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ufe}=Object.prototype,{getPrototypeOf:dE}=Object,uy=(e=>t=>{const n=Ufe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Zi=e=>(e=e.toLowerCase(),t=>uy(t)===e),dy=e=>t=>typeof t===e,{isArray:Yd}=Array,ep=dy("undefined");function Zfe(e){return e!==null&&!ep(e)&&e.constructor!==null&&!ep(e.constructor)&&Wo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const SN=Zi("ArrayBuffer");function Vfe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&SN(e.buffer),t}const Xfe=dy("string"),Wo=dy("function"),_N=dy("number"),fy=e=>e!==null&&typeof e=="object",Hfe=e=>e===!0||e===!1,Jg=e=>{if(uy(e)!=="object")return!1;const t=dE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Yfe=Zi("Date"),Gfe=Zi("File"),Kfe=Zi("Blob"),Jfe=Zi("FileList"),ehe=e=>fy(e)&&Wo(e.pipe),the=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Wo(e.append)&&((t=uy(e))==="formdata"||t==="object"&&Wo(e.toString)&&e.toString()==="[object FormData]"))},nhe=Zi("URLSearchParams"),[rhe,ohe,ihe,she]=["ReadableStream","Request","Response","Headers"].map(Zi),ahe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kp(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Yd(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const hc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xN=e=>!ep(e)&&e!==hc;function m_(){const{caseless:e}=xN(this)&&this||{},t={},n=(r,o)=>{const i=e&&kN(t,o)||o;Jg(t[i])&&Jg(r)?t[i]=m_(t[i],r):Jg(r)?t[i]=m_({},r):Yd(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(Kp(t,(o,i)=>{n&&Wo(o)?e[i]=wN(o,n):e[i]=o},{allOwnKeys:r}),e),che=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uhe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},dhe=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&dE(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},fhe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},hhe=e=>{if(!e)return null;if(Yd(e))return e;let t=e.length;if(!_N(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},phe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dE(Uint8Array)),mhe=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},ghe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bhe=Zi("HTMLFormElement"),Ohe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),G3=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),yhe=Zi("RegExp"),EN=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Kp(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},vhe=e=>{EN(e,(t,n)=>{if(Wo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Wo(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},whe=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Yd(e)?r(e):r(String(e).split(t)),n},She=()=>{},_he=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pw="abcdefghijklmnopqrstuvwxyz",K3="0123456789",TN={DIGIT:K3,ALPHA:pw,ALPHA_DIGIT:pw+pw.toUpperCase()+K3},khe=(e=16,t=TN.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function xhe(e){return!!(e&&Wo(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ehe=e=>{const t=new Array(10),n=(r,o)=>{if(fy(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Yd(r)?[]:{};return Kp(r,(s,a)=>{const l=n(s,o+1);!ep(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},The=Zi("AsyncFunction"),Che=e=>e&&(fy(e)||Wo(e))&&Wo(e.then)&&Wo(e.catch),CN=((e,t)=>e?setImmediate:t?((n,r)=>(hc.addEventListener("message",({source:o,data:i})=>{o===hc&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),hc.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Wo(hc.postMessage)),Phe=typeof queueMicrotask<"u"?queueMicrotask.bind(hc):typeof process<"u"&&process.nextTick||CN,le={isArray:Yd,isArrayBuffer:SN,isBuffer:Zfe,isFormData:the,isArrayBufferView:Vfe,isString:Xfe,isNumber:_N,isBoolean:Hfe,isObject:fy,isPlainObject:Jg,isReadableStream:rhe,isRequest:ohe,isResponse:ihe,isHeaders:she,isUndefined:ep,isDate:Yfe,isFile:Gfe,isBlob:Kfe,isRegExp:yhe,isFunction:Wo,isStream:ehe,isURLSearchParams:nhe,isTypedArray:phe,isFileList:Jfe,forEach:Kp,merge:m_,extend:lhe,trim:ahe,stripBOM:che,inherits:uhe,toFlatObject:dhe,kindOf:uy,kindOfTest:Zi,endsWith:fhe,toArray:hhe,forEachEntry:mhe,matchAll:ghe,isHTMLForm:bhe,hasOwnProperty:G3,hasOwnProp:G3,reduceDescriptors:EN,freezeMethods:vhe,toObjectSet:whe,toCamelCase:Ohe,noop:She,toFiniteNumber:_he,findKey:kN,global:hc,isContextDefined:xN,ALPHABET:TN,generateString:khe,isSpecCompliantForm:xhe,toJSONObject:Ehe,isAsyncFn:The,isThenable:Che,setImmediate:CN,asap:Phe};function ut(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}le.inherits(ut,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:le.toJSONObject(this.config),code:this.code,status:this.status}}});const PN=ut.prototype,AN={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{AN[e]={value:e}});Object.defineProperties(ut,AN);Object.defineProperty(PN,"isAxiosError",{value:!0});ut.from=(e,t,n,r,o,i)=>{const s=Object.create(PN);return le.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),ut.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Ahe=null;function g_(e){return le.isPlainObject(e)||le.isArray(e)}function $N(e){return le.endsWith(e,"[]")?e.slice(0,-2):e}function J3(e,t,n){return e?e.concat(t).map(function(r,o){return r=$N(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function $he(e){return le.isArray(e)&&!e.some(g_)}const Mhe=le.toFlatObject(le,{},null,function(e){return/^is[A-Z]/.test(e)});function hy(e,t,n){if(!le.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=le.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,p){return!le.isUndefined(p[h])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&le.isSpecCompliantForm(t);if(!le.isFunction(o))throw new TypeError("visitor must be a function");function l(h){if(h===null)return"";if(le.isDate(h))return h.toISOString();if(!a&&le.isBlob(h))throw new ut("Blob is not supported. Use a Buffer instead.");return le.isArrayBuffer(h)||le.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,p,m){let O=h;if(h&&!m&&typeof h=="object"){if(le.endsWith(p,"{}"))p=r?p:p.slice(0,-2),h=JSON.stringify(h);else if(le.isArray(h)&&$he(h)||(le.isFileList(h)||le.endsWith(p,"[]"))&&(O=le.toArray(h)))return p=$N(p),O.forEach(function(g,b){!(le.isUndefined(g)||g===null)&&t.append(s===!0?J3([p],b,i):s===null?p:p+"[]",l(g))}),!1}return g_(h)?!0:(t.append(J3(m,p,i),l(h)),!1)}const u=[],d=Object.assign(Mhe,{defaultVisitor:c,convertValue:l,isVisitable:g_});function f(h,p){if(!le.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+p.join("."));u.push(h),le.forEach(h,function(m,O){(!(le.isUndefined(m)||m===null)&&o.call(t,m,le.isString(O)?O.trim():O,p,d))===!0&&f(m,p?p.concat(O):[O])}),u.pop()}}if(!le.isObject(e))throw new TypeError("data must be an object");return f(e),t}function eA(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function fE(e,t){this._pairs=[],e&&hy(e,this,t)}const MN=fE.prototype;MN.append=function(e,t){this._pairs.push([e,t])};MN.toString=function(e){const t=e?function(n){return e.call(this,n,eA)}:eA;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function Rhe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function RN(e,t,n){if(!t)return e;const r=n&&n.encode||Rhe,o=n&&n.serialize;let i;if(o?i=o(t,n):i=le.isURLSearchParams(t)?t.toString():new fE(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class tA{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){le.forEach(this.handlers,function(n){n!==null&&t(n)})}}const IN={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ihe=typeof URLSearchParams<"u"?URLSearchParams:fE,Lhe=typeof FormData<"u"?FormData:null,Nhe=typeof Blob<"u"?Blob:null,Dhe={isBrowser:!0,classes:{URLSearchParams:Ihe,FormData:Lhe,Blob:Nhe},protocols:["http","https","file","blob","url","data"]},hE=typeof window<"u"&&typeof document<"u",b_=typeof navigator=="object"&&navigator||void 0,Qhe=hE&&(!b_||["ReactNative","NativeScript","NS"].indexOf(b_.product)<0),Bhe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zhe=hE&&window.location.href||"http://localhost",jhe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hE,hasStandardBrowserEnv:Qhe,hasStandardBrowserWebWorkerEnv:Bhe,navigator:b_,origin:zhe},Symbol.toStringTag,{value:"Module"})),yo={...jhe,...Dhe};function Whe(e,t){return hy(e,new yo.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return yo.isNode&&le.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Fhe(e){return le.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qhe(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&le.isArray(o)?o.length:s,l?(le.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!le.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&le.isArray(o[s])&&(o[s]=qhe(o[s])),!a)}if(le.isFormData(e)&&le.isFunction(e.entries)){const n={};return le.forEachEntry(e,(r,o)=>{t(Fhe(r),o,n,0)}),n}return null}function Uhe(e,t,n){if(le.isString(e))try{return(t||JSON.parse)(e),le.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Jp={transitional:IN,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=le.isObject(e);if(o&&le.isHTMLForm(e)&&(e=new FormData(e)),le.isFormData(e))return r?JSON.stringify(LN(e)):e;if(le.isArrayBuffer(e)||le.isBuffer(e)||le.isStream(e)||le.isFile(e)||le.isBlob(e)||le.isReadableStream(e))return e;if(le.isArrayBufferView(e))return e.buffer;if(le.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Whe(e,this.formSerializer).toString();if((i=le.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return hy(i?{"files[]":e}:e,s&&new s,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),Uhe(e)):e}],transformResponse:[function(e){const t=this.transitional||Jp.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(le.isResponse(e)||le.isReadableStream(e))return e;if(e&&le.isString(e)&&(n&&!this.responseType||r)){const o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(i){if(o)throw i.name==="SyntaxError"?ut.from(i,ut.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yo.classes.FormData,Blob:yo.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};le.forEach(["delete","get","head","post","put","patch"],e=>{Jp.headers[e]={}});const Zhe=le.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vhe=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Zhe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nA=Symbol("internals");function Tf(e){return e&&String(e).trim().toLowerCase()}function eb(e){return e===!1||e==null?e:le.isArray(e)?e.map(eb):String(e)}function Xhe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Hhe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function mw(e,t,n,r,o){if(le.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!le.isString(t)){if(le.isString(r))return t.indexOf(r)!==-1;if(le.isRegExp(r))return r.test(t)}}function Yhe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ghe(e,t){const n=le.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class vo{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const u=Tf(l);if(!u)throw new Error("header name must be a non-empty string");const d=le.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=eb(a))}const s=(a,l)=>le.forEach(a,(c,u)=>i(c,u,l));if(le.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(le.isString(t)&&(t=t.trim())&&!Hhe(t))s(Vhe(t),n);else if(le.isHeaders(t))for(const[a,l]of t.entries())i(l,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=Tf(t),t){const r=le.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Xhe(o);if(le.isFunction(n))return n.call(this,o,r);if(le.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Tf(t),t){const r=le.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||mw(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Tf(s),s){const a=le.findKey(r,s);a&&(!n||mw(r,r[a],a,n))&&(delete r[a],o=!0)}}return le.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||mw(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return le.forEach(this,(o,i)=>{const s=le.findKey(r,i);if(s){n[s]=eb(o),delete n[i];return}const a=t?Yhe(i):String(i).trim();a!==i&&delete n[i],n[a]=eb(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return le.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&le.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const n=(this[nA]=this[nA]={accessors:{}}).accessors,r=this.prototype;function o(i){const s=Tf(i);n[s]||(Ghe(r,i),n[s]=!0)}return le.isArray(t)?t.forEach(o):o(t),this}}vo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);le.reduceDescriptors(vo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});le.freezeMethods(vo);function gw(e,t){const n=this||Jp,r=t||n,o=vo.from(r.headers);let i=r.data;return le.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function NN(e){return!!(e&&e.__CANCEL__)}function Gd(e,t,n){ut.call(this,e??"canceled",ut.ERR_CANCELED,t,n),this.name="CanceledError"}le.inherits(Gd,ut,{__CANCEL__:!0});function DN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ut("Request failed with status code "+n.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Khe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Jhe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const l=Date.now(),c=r[i];s||(s=l),n[o]=a,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u=u%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-s{n=l,o=null,i&&(clearTimeout(i),i=null),e.apply(null,a)};return[(...a)=>{const l=Date.now(),c=l-n;c>=r?s(a,l):(o=a,i||(i=setTimeout(()=>{i=null,s(o)},r-c)))},()=>o&&s(o)]}const d0=(e,t,n=3)=>{let r=0;const o=Jhe(50,250);return epe(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-r,c=o(l),u=s<=a;r=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},rA=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},oA=e=>(...t)=>le.asap(()=>e(...t)),tpe=yo.hasStandardBrowserEnv?function(){const e=yo.navigator&&/(msie|trident)/i.test(yo.navigator.userAgent),t=document.createElement("a");let n;function r(o){let i=o;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(o){const i=le.isString(o)?r(o):o;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),npe=yo.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];le.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),le.isString(r)&&s.push("path="+r),le.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rpe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ope(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function QN(e,t){return e&&!rpe(t)?ope(e,t):t}const iA=e=>e instanceof vo?{...e}:e;function Ic(e,t){t=t||{};const n={};function r(c,u,d){return le.isPlainObject(c)&&le.isPlainObject(u)?le.merge.call({caseless:d},c,u):le.isPlainObject(u)?le.merge({},u):le.isArray(u)?u.slice():u}function o(c,u,d){if(le.isUndefined(u)){if(!le.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!le.isUndefined(u))return r(void 0,u)}function s(c,u){if(le.isUndefined(u)){if(!le.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>o(iA(c),iA(u),!0)};return le.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=l[c]||o,d=u(e[c],t[c],c);le.isUndefined(d)&&u!==a||(n[c]=d)}),n}const BN=e=>{const t=Ic({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;t.headers=s=vo.from(s),t.url=RN(QN(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(le.isFormData(n)){if(yo.hasStandardBrowserEnv||yo.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...u].join("; "))}}if(yo.hasStandardBrowserEnv&&(r&&le.isFunction(r)&&(r=r(t)),r||r!==!1&&tpe(t.url))){const c=o&&i&&npe.read(i);c&&s.set(o,c)}return t},ipe=typeof XMLHttpRequest<"u",spe=ipe&&function(e){return new Promise(function(t,n){const r=BN(e);let o=r.data;const i=vo.from(r.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:l}=r,c,u,d,f,h;function p(){f&&f(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function O(){if(!m)return;const b=vo.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:b,config:e,request:m};DN(function(y){t(y),p()},function(y){n(y),p()},v),m=null}"onloadend"in m?m.onloadend=O:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(O)},m.onabort=function(){m&&(n(new ut("Request aborted",ut.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new ut("Network Error",ut.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let b=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const v=r.transitional||IN;r.timeoutErrorMessage&&(b=r.timeoutErrorMessage),n(new ut(b,v.clarifyTimeoutError?ut.ETIMEDOUT:ut.ECONNABORTED,e,m)),m=null},o===void 0&&i.setContentType(null),"setRequestHeader"in m&&le.forEach(i.toJSON(),function(b,v){m.setRequestHeader(v,b)}),le.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),l&&([d,h]=d0(l,!0),m.addEventListener("progress",d)),a&&m.upload&&([u,f]=d0(a),m.upload.addEventListener("progress",u),m.upload.addEventListener("loadend",f)),(r.cancelToken||r.signal)&&(c=b=>{m&&(n(!b||b.type?new Gd(null,e,m):b),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const g=Khe(r.url);if(g&&yo.protocols.indexOf(g)===-1){n(new ut("Unsupported protocol "+g+":",ut.ERR_BAD_REQUEST,e));return}m.send(o||null)})},ape=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ut?u:new Gd(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new ut(`timeout ${t} of ms exceeded`,ut.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>le.asap(a),l}},lpe=function*(e,t){let n=e.byteLength;if(n{const o=cpe(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},py=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",zN=py&&typeof ReadableStream=="function",dpe=py&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),jN=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fpe=zN&&jN(()=>{let e=!1;const t=new Request(yo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),aA=64*1024,O_=zN&&jN(()=>le.isReadableStream(new Response("").body)),f0={stream:O_&&(e=>e.body)};py&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!f0[t]&&(f0[t]=le.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ut(`Response type '${t}' is not supported`,ut.ERR_NOT_SUPPORT,r)})})})(new Response);const hpe=async e=>{if(e==null)return 0;if(le.isBlob(e))return e.size;if(le.isSpecCompliantForm(e))return(await new Request(yo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(le.isArrayBufferView(e)||le.isArrayBuffer(e))return e.byteLength;if(le.isURLSearchParams(e)&&(e=e+""),le.isString(e))return(await dpe(e)).byteLength},ppe=async(e,t)=>le.toFiniteNumber(e.getContentLength())??hpe(t),mpe=py&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=BN(e);c=c?(c+"").toLowerCase():"text";let h=ape([o,i&&i.toAbortSignal()],s),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let O;try{if(l&&fpe&&n!=="get"&&n!=="head"&&(O=await ppe(u,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(le.isFormData(r)&&(S=w.headers.get("content-type"))&&u.setContentType(S),w.body){const[_,T]=rA(O,d0(oA(l)));r=sA(w.body,aA,_,T)}}le.isString(d)||(d=d?"include":"omit");const g="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:g?d:void 0});let b=await fetch(p);const v=O_&&(c==="stream"||c==="response");if(O_&&(a||v&&m)){const w={};["status","statusText","headers"].forEach(A=>{w[A]=b[A]});const S=le.toFiniteNumber(b.headers.get("content-length")),[_,T]=a&&rA(S,d0(oA(a),!0))||[];b=new Response(sA(b.body,aA,_,()=>{T&&T(),m&&m()}),w)}c=c||"text";let y=await f0[le.findKey(f0,c)||"text"](b,e);return!v&&m&&m(),await new Promise((w,S)=>{DN(w,S,{data:y,headers:vo.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:p})})}catch(g){throw m&&m(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new ut("Network Error",ut.ERR_NETWORK,e,p),{cause:g.cause||g}):ut.from(g,g&&g.code,e,p)}}),y_={http:Ahe,xhr:spe,fetch:mpe};le.forEach(y_,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lA=e=>`- ${e}`,gpe=e=>le.isFunction(e)||e===null||e===!1,WN={getAdapter:e=>{e=le.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(lA).join(` `):" "+lA(i[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:y_};function bw(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gd(null,e)}function cA(e){return bw(e),e.headers=vo.from(e.headers),e.data=gw.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),WN.getAdapter(e.adapter||Jp.adapter)(e).then(function(t){return bw(e),t.data=gw.call(e,e.transformResponse,t),t.headers=vo.from(t.headers),t},function(t){return NN(t)||(bw(e),t&&t.response&&(t.response.data=gw.call(e,e.transformResponse,t.response),t.response.headers=vo.from(t.response.headers))),Promise.reject(t)})}const FN="1.7.7",pE={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{pE[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const uA={};pE.transitional=function(e,t,n){function r(o,i){return"[Axios v"+FN+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,s)=>{if(e===!1)throw new ut(r(i," has been removed"+(t?" in "+t:"")),ut.ERR_DEPRECATED);return t&&!uA[i]&&(uA[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,i,s):!0}};function bpe(e,t,n){if(typeof e!="object")throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new ut("option "+i+" must be "+l,ut.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ut("Unknown option "+i,ut.ERR_BAD_OPTION)}}const v_={assertOptions:bpe,validators:pE},Na=v_.validators;class kc{constructor(t){this.defaults=t,this.interceptors={request:new tA,response:new tA}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ic(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&v_.assertOptions(r,{silentJSONParsing:Na.transitional(Na.boolean),forcedJSONParsing:Na.transitional(Na.boolean),clarifyTimeoutError:Na.transitional(Na.boolean)},!1),o!=null&&(le.isFunction(o)?n.paramsSerializer={serialize:o}:v_.assertOptions(o,{encode:Na.function,serialize:Na.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&le.merge(i.common,i[n.method]);i&&le.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=vo.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!l){const p=[cA.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(o,i,s){r.reason||(r.reason=new Gd(o,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new mE(function(n){t=n}),cancel:t}}}function Ope(e){return function(t){return e.apply(null,t)}}function ype(e){return le.isObject(e)&&e.isAxiosError===!0}const w_={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(w_).forEach(([e,t])=>{w_[t]=e});function qN(e){const t=new kc(e),n=wN(kc.prototype.request,t);return le.extend(n,kc.prototype,t,{allOwnKeys:!0}),le.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return qN(Ic(e,r))},n}const nr=qN(Jp);nr.Axios=kc;nr.CanceledError=Gd;nr.CancelToken=mE;nr.isCancel=NN;nr.VERSION=FN;nr.toFormData=hy;nr.AxiosError=ut;nr.Cancel=nr.CanceledError;nr.all=function(e){return Promise.all(e)};nr.spread=Ope;nr.isAxiosError=ype;nr.mergeConfig=Ic;nr.AxiosHeaders=vo;nr.formToJSON=e=>LN(le.isHTMLForm(e)?new FormData(e):e);nr.getAdapter=WN.getAdapter;nr.HttpStatusCode=w_;nr.default=nr;typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;var UN=typeof global=="object"&&global&&global.Object===Object&&global,vpe=typeof self=="object"&&self&&self.Object===Object&&self,$s=UN||vpe||Function("return this")(),hd=$s.Symbol,ZN=Object.prototype,wpe=ZN.hasOwnProperty,Spe=ZN.toString,Cf=hd?hd.toStringTag:void 0;function _pe(e){var t=wpe.call(e,Cf),n=e[Cf];try{e[Cf]=void 0;var r=!0}catch{}var o=Spe.call(e);return r&&(t?e[Cf]=n:delete e[Cf]),o}var kpe=Object.prototype,xpe=kpe.toString;function Epe(e){return xpe.call(e)}var Tpe="[object Null]",Cpe="[object Undefined]",dA=hd?hd.toStringTag:void 0;function my(e){return e==null?e===void 0?Cpe:Tpe:dA&&dA in Object(e)?_pe(e):Epe(e)}function Ppe(e){return e!=null&&typeof e=="object"}function VN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ape="[object AsyncFunction]",$pe="[object Function]",Mpe="[object GeneratorFunction]",Rpe="[object Proxy]";function Ipe(e){if(!VN(e))return!1;var t=my(e);return t==$pe||t==Mpe||t==Ape||t==Rpe}var Ow=$s["__core-js_shared__"],fA=function(){var e=/[^.]+$/.exec(Ow&&Ow.keys&&Ow.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Lpe(e){return!!fA&&fA in e}var Npe=Function.prototype,Dpe=Npe.toString;function Hc(e){if(e!=null){try{return Dpe.call(e)}catch{}try{return e+""}catch{}}return""}var Qpe=/[\\^$.*+?()[\]{}|]/g,Bpe=/^\[object .+?Constructor\]$/,zpe=Function.prototype,jpe=Object.prototype,Wpe=zpe.toString,Fpe=jpe.hasOwnProperty,qpe=RegExp("^"+Wpe.call(Fpe).replace(Qpe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Upe(e){if(!VN(e)||Lpe(e))return!1;var t=Ipe(e)?qpe:Bpe;return t.test(Hc(e))}function Zpe(e,t){return e==null?void 0:e[t]}function Yc(e,t){var n=Zpe(e,t);return Upe(n)?n:void 0}var S_=Yc($s,"WeakMap");(function(){try{var e=Yc(Object,"defineProperty");return e({},"",{}),e}catch{}})();var Vpe="[object Arguments]";function Xpe(e){return Ppe(e)&&my(e)==Vpe}Xpe(function(){return arguments}());var XN=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hA=XN&&typeof module=="object"&&module&&!module.nodeType&&module,Hpe=hA&&hA.exports===XN,pA=Hpe?$s.Buffer:void 0;pA&&pA.isBuffer;var HN=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vh=HN&&typeof module=="object"&&module&&!module.nodeType&&module,Ype=vh&&vh.exports===HN,yw=Ype&&UN.process,pd=function(){try{var e=vh&&vh.require&&vh.require("util").types;return e||yw&&yw.binding&&yw.binding("util")}catch{}}();pd&&pd.isTypedArray;Yc(Object,"create");var __=Yc($s,"Map"),YN=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mA=YN&&typeof module=="object"&&module&&!module.nodeType&&module,Gpe=mA&&mA.exports===YN,gA=Gpe?$s.Buffer:void 0;gA&&gA.allocUnsafe;var k_=Yc($s,"DataView"),x_=Yc($s,"Promise"),E_=Yc($s,"Set"),bA="[object Map]",Kpe="[object Object]",OA="[object Promise]",yA="[object Set]",vA="[object WeakMap]",wA="[object DataView]",Jpe=Hc(k_),eme=Hc(__),tme=Hc(x_),nme=Hc(E_),rme=Hc(S_),fu=my;(k_&&fu(new k_(new ArrayBuffer(1)))!=wA||__&&fu(new __)!=bA||x_&&fu(x_.resolve())!=OA||E_&&fu(new E_)!=yA||S_&&fu(new S_)!=vA)&&(fu=function(e){var t=my(e),n=t==Kpe?e.constructor:void 0,r=n?Hc(n):"";if(r)switch(r){case Jpe:return wA;case eme:return bA;case tme:return OA;case nme:return yA;case rme:return vA}return t});$s.Uint8Array;var SA=hd?hd.prototype:void 0;SA&&SA.valueOf;pd&&pd.isMap;pd&&pd.isSet;var ome={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};ime(ome);function ime(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function sme(){const e=document.createElement("script");e.setAttribute("type","text/javascript"),e.text='(function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"fpState")&&(j=JSON.parse(decodeURIComponent(d(f,"fpState"))),"fpeditor"===j.action&&(b.sessionStorage.setItem("_fpcehash",f),history.replaceState(j.desiredHash||"",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.freshpaint=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments,0)))}}var e=a;"undefined"!==typeof g?e=a[g]=[]:g="freshpaint";e.people=e.people||[];e.toString=function(b){var a="freshpaint";"freshpaint"!==g&&(a+="."+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove people group page alias ready addEventProperties addInitialEventProperties removeEventProperty addPageviewProperties".split(" ");for(h=0;hr.index||0);t.unshift(-1);const n=T_(t,0,t.length);return r=>GN(n,r)}function T_(e,t,n){if(n-t==1)return{offset:e[t],index:t+1};const r=Math.ceil((t+n)/2),o=T_(e,t,r),i=T_(e,r,n);return{offset:o.offset,low:o,high:i}}function GN(e,t){return function(n){return Object.prototype.hasOwnProperty.call(n,"index")}(e)?{line:e.index,column:t-e.offset}:GN(e.high.offset({line:0,column:0});let u=l;const d=[];e:for(;u0){if(!h.discard){const m=c(u),O=typeof h.replace=="string"?p[0].replace(new RegExp(h.regex.source,h.regex.flags),h.replace):p[0];d.push({state:o,name:h.name,text:O,offset:u,len:p[0].length,line:m.line,column:m.column})}if(u=h.regex.lastIndex,f=!0,h.push){const m=h.push(a,u);d.push(...m.tokens),u=m.offset}if(h.pop)break e;break}}if(!f)break}return{tokens:d,offset:u,complete:a.length<=u}}}function ume(e,t){return{...e,regex:dme(e,t)}}function dme(e,t){if(e.name.length===0)throw new Error(`Rule #${t} has empty name, which is not allowed.`);if(function(n){return Object.prototype.hasOwnProperty.call(n,"regex")}(e))return function(n){if(n.global)throw new Error(`Regular expression /${n.source}/${n.flags} contains the global flag, which is not allowed.`);return n.sticky?n:new RegExp(n.source,n.flags+"y")}(e.regex);if(function(n){return Object.prototype.hasOwnProperty.call(n,"str")}(e)){if(e.str.length===0)throw new Error(`Rule #${t} ("${e.name}") has empty "str" property, which is not allowed.`);return new RegExp(_A(e.str),"y")}return new RegExp(_A(e.name),"y")}function _A(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function Ea(e,t){return(n,r)=>{let o=r,i;return rgE(e(n,r),(o,i)=>t(o,n,r,i))}function h0(e,t){return(n,r)=>{const o=e(n,r);return o.matched?o:{matched:!0,position:r,value:t}}}function bE(...e){return(t,n)=>{for(const r of e){const o=r(t,n);if(o.matched)return o}return{matched:!1}}}function Kd(e,t){return(n,r)=>{const o=e(n,r);return o.matched?o:t(n,r)}}function fme(e,t){return(n,r)=>{const o=[];let i=!0;do{const s=e(n,r);s.matched&&t(s.value,o.length+1,n,r,s.position)?(o.push(s.value),r=s.position):i=!1}while(i);return{matched:!0,position:r,value:o}}}function OE(e){return fme(e,()=>!0)}function hme(e){return No(e,OE(e),(t,n)=>[t,...n])}function No(e,t,n){return(r,o)=>C_(e(r,o),i=>gE(t(r,i.position),(s,a)=>n(i.value,s,r,o,a)))}function pme(e,t){return No(e,t,n=>n)}function kA(e,t){return No(e,t,(n,r)=>r)}function yE(e,t,n,r){return(o,i)=>C_(e(o,i),s=>C_(t(o,s.position),a=>gE(n(o,a.position),(l,c)=>r(s.value,a.value,l,o,i,c))))}function JN(e,t,n){return yE(e,t,n,(r,o)=>o)}function mme(...e){return(t,n)=>{const r=[];let o=n;for(const i of e){const s=i(t,o);if(s.matched)r.push(s.value),o=s.position;else return{matched:!1}}return{matched:!0,position:o,value:r}}}function gme(...e){return bme(mme(...e))}function bme(e){return Ll(e,t=>t.flatMap(n=>n))}const Ome="(?:[ \\t\\r\\n\\f]*)",eD="(?:\\n|\\r\\n|\\r|\\f)",gy="[^\\x00-\\x7F]",em="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",tm="(?:\\\\[^\\n\\r\\f0-9a-f])",yme=`(?:[_a-z]|${gy}|${em}|${tm})`,tD=`(?:[_a-z0-9-]|${gy}|${em}|${tm})`,vme=`(?:${tD}+)`,wme=`(?:[-]?${yme}${tD}*)`,Sme=`'([^\\n\\r\\f\\\\']|\\\\${eD}|${gy}|${em}|${tm})*'`,_me=`"([^\\n\\r\\f\\\\"]|\\\\${eD}|${gy}|${em}|${tm})*"`;KN([{name:"ws",regex:new RegExp(Ome)},{name:"hash",regex:new RegExp(`#${vme}`,"i")},{name:"ident",regex:new RegExp(wme,"i")},{name:"str1",regex:new RegExp(Sme,"i")},{name:"str2",regex:new RegExp(_me,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]);const kme=KN([{name:"unicode",regex:new RegExp(em,"i")},{name:"escape",regex:new RegExp(tm,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function xme([e,t,n],[r,o,i]){return[e+r,t+o,n+i]}function Eme(e){return e.reduce(xme,[0,0,0])}const Tme=Ea(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),Cme=Ea(e=>e.name==="escape"?e.text.slice(1):void 0),Pme=Ea(e=>e.name==="any"?e.text:void 0),Ame=Ll(OE(bE(Tme,Cme,Pme)),e=>e.join(""));function vE(e){const t=kme(e);return Ame({tokens:t.tokens,options:void 0},0).value}function jn(e){return Ea(t=>t.name===e?!0:void 0)}const nD=Ea(e=>e.name==="ws"?null:void 0),P_=h0(nD,null);function A_(e){return JN(P_,e,P_)}const tp=Ea(e=>e.name==="ident"?vE(e.text):void 0),$me=Ea(e=>e.name==="hash"?vE(e.text.slice(1)):void 0),Mme=Ea(e=>e.name.startsWith("str")?vE(e.text.slice(1,-1)):void 0),rD=pme(h0(tp,""),jn("|")),wE=Kd(No(rD,tp,(e,t)=>({name:t,namespace:e})),Ll(tp,e=>({name:e,namespace:null}))),Rme=Kd(No(rD,jn("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),Ll(jn("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),Ime=Ll(wE,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),Lme=No(jn("."),tp,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),Nme=Ll($me,e=>({type:"id",name:e,specificity:[1,0,0]})),xA=Ea(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),Dme=Kd(No(Mme,h0(kA(P_,xA),null),(e,t)=>({value:e,modifier:t})),No(tp,h0(kA(nD,xA),null),(e,t)=>({value:e,modifier:t}))),Qme=bE(Ll(jn("="),()=>"="),No(jn("~"),jn("="),()=>"~="),No(jn("|"),jn("="),()=>"|="),No(jn("^"),jn("="),()=>"^="),No(jn("$"),jn("="),()=>"$="),No(jn("*"),jn("="),()=>"*=")),Bme=yE(jn("["),A_(wE),jn("]"),(e,{name:t,namespace:n})=>({type:"attrPresence",name:t,namespace:n,specificity:[0,1,0]})),zme=JN(jn("["),yE(A_(wE),Qme,A_(Dme),({name:e,namespace:t},n,{value:r,modifier:o})=>({type:"attrValue",name:e,namespace:t,matcher:n,value:r,modifier:o,specificity:[0,1,0]})),jn("]")),jme=Kd(Bme,zme),Wme=Kd(Rme,Ime),EA=bE(Nme,Lme,jme);Ll(Kd(gme(Wme,OE(EA)),hme(EA)),e=>({type:"compound",list:e,specificity:Eme(e.map(t=>t.specificity))}));const Fme=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),qme=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var vw;const Ume=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Zme=(vw=String.fromCodePoint)!==null&&vw!==void 0?vw:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Vme(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Ume.get(e))!==null&&t!==void 0?t:e}var cr;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(cr||(cr={}));const Xme=32;var sl;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(sl||(sl={}));function $_(e){return e>=cr.ZERO&&e<=cr.NINE}function Hme(e){return e>=cr.UPPER_A&&e<=cr.UPPER_F||e>=cr.LOWER_A&&e<=cr.LOWER_F}function Yme(e){return e>=cr.UPPER_A&&e<=cr.UPPER_Z||e>=cr.LOWER_A&&e<=cr.LOWER_Z||$_(e)}function Gme(e){return e===cr.EQUALS||Yme(e)}var ir;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ir||(ir={}));var sc;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(sc||(sc={}));class Kme{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ir.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=sc.Strict}startEntity(t){this.decodeMode=t,this.state=ir.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ir.EntityStart:return t.charCodeAt(n)===cr.NUM?(this.state=ir.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ir.NamedEntity,this.stateNamedEntity(t,n));case ir.NumericStart:return this.stateNumericStart(t,n);case ir.NumericDecimal:return this.stateNumericDecimal(t,n);case ir.NumericHex:return this.stateNumericHex(t,n);case ir.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Xme)===cr.LOWER_X?(this.state=ir.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ir.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const i=r-n;this.result=this.result*Math.pow(o,i)+parseInt(t.substr(n,i),o),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,i!==0){if(s===cr.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==sc.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&sl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~sl.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case ir.NamedEntity:return this.result!==0&&(this.decodeMode!==sc.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ir.NumericDecimal:return this.emitNumericEntity(0,2);case ir.NumericHex:return this.emitNumericEntity(0,3);case ir.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ir.EntityStart:return 0}}}function oD(e){let t="";const n=new Kme(e,r=>t+=Zme(r));return function(r,o){let i=0,s=0;for(;(s=r.indexOf("&",s))>=0;){t+=r.slice(i,s),n.startEntity(o);const l=n.write(r,s+1);if(l<0){i=s+n.end();break}i=s+l,s=l===0?i+1:i}const a=t+r.slice(i);return t="",a}}function Jme(e,t,n,r){const o=(t&sl.BRANCH_LENGTH)>>7,i=t&sl.JUMP_TABLE;if(o===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=o?-1:e[n+l]-1}let s=n,a=s+o-1;for(;s<=a;){const l=s+a>>>1,c=e[l];if(cr)a=l-1;else return e[l+o]}return-1}oD(Fme);oD(qme);var TA;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(TA||(TA={}));var CA;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"})(CA||(CA={}));var PA;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(PA||(PA={}));new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e]));new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));const ege={liveValidation:!1},tge=!ege.liveValidation,nge=/(?=.*[a-z])/,rge=/(?=.*[A-Z])/,oge=/(?=.*[0-9])/;function AA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function np(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[];const n=by(e);return np(np({},n),{},{$async:!0,$watchTargets:t})}function cge(e){return{$validator(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{const l=Object.entries(s).reduce((c,u)=>{let[d,f]=u;const h=e[d]||{},p=Object.entries(h).reduce((m,O)=>{let[g,b]=O;const v=sD(b).call(this,f,s,a,...r),y=iD(v);if(m.$data[g]=v,m.$data.$invalid=!y||!!m.$data.$invalid,m.$data.$error=m.$data.$invalid,!y){let w=b.$message||"";const S=b.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!y,$params:S,$model:f,$response:v})),m.$errors.push({$property:d,$message:w,$params:S,$response:v,$model:f,$pending:!1,$validator:g})}return{$valid:m.$valid&&y,$data:m.$data,$errors:m.$errors}},{$valid:!0,$data:{},$errors:[]});return c.$data[d]=p.$data,c.$errors[d]=p.$errors,{$valid:c.$valid&&p.$valid,$data:c.$data,$errors:c.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:i.$valid&&l.$valid,$data:i.$data.concat(l.$data),$errors:i.$errors.concat(l.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:t=>{let{$response:n}=t;return n?n.$errors.map(r=>Object.values(r).map(o=>o.map(i=>i.$message)).reduce((o,i)=>o.concat(i),[])):[]}}}const SE=e=>{if(e=U(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},aD=e=>(e=U(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function Nl(){for(var e=arguments.length,t=new Array(e),n=0;n(r=U(r),!SE(r)||t.every(o=>(o.lastIndex=0,o.test(r))))}var Jl=Object.freeze({__proto__:null,forEach:cge,len:aD,normalizeValidatorObject:by,regex:Nl,req:SE,unwrap:U,unwrapNormalizedValidator:sD,unwrapValidatorResponse:iD,withAsync:lge,withMessage:age,withParams:sge});Nl(/^[a-zA-Z]*$/);Nl(/^[a-zA-Z0-9]*$/);Nl(/^\d*(\.\d+)?$/);const uge=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;Nl(uge);function dge(e){return t=>!SE(t)||aD(t)>=U(e)}function fge(e){return{$validator:dge(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}const hge=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;Nl(hge);Nl(/(^[0-9]*$)|(^-[0-9]+$)/);Nl(/^[-]?\d*(\.\d+)?$/);function pge(e){return JSON.parse(e)}Jl.withMessage("Eight or more letters",fge(8)),Jl.withMessage("One lowercase letter",Jl.regex(nge)),Jl.withMessage("One capital letter",Jl.regex(rge)),Jl.withMessage("One number",Jl.regex(oge));function $A(e){var t;const n=new RegExp(/(https?:\/\/)?(www.)?(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/);if(n.test(e))return(t=n.exec(e))==null?void 0:t[5]}function MA(e){const t=/^https?:\/\/(?:www\.youtube(?:-nocookie)?\.com\/|m\.youtube\.com\/|youtube\.com\/)?(?:ytscreeningroom\?vi?=|youtu\.be\/|vi?\/|user\/.+\/u\/\w{1,2}\/|embed\/|watch\?(?:.*&)?vi?=|&vi?=|\?(?:.*&)?vi?=)([^#&?\n/<>"']*)/i,n=e.match(t);return n&&n[1].length==11?n[1]:null}function mge(e,t="hqdefault"){return`https://img.youtube.com/vi/${e}/${t}.jpg`}function gge(e){return`https://www.youtube-nocookie.com/embed/${e}`}function bge(e,t=""){return`https://vumbnail.com/${e}${t}.jpg`}function Oge(e){return`https://player.vimeo.com/video/${e}?dnt=true`}const yge={YOUTUBE:{urlRegex:"youtu",thumbnailContainsPlayButton:!1,thumbnailType:"image",playerType:"iframe",getThumbnailUrl:e=>mge(MA(e)||""),getPlayerUrl:e=>gge(MA(e))},FACEBOOK:{urlRegex:"facebook",thumbnailContainsPlayButton:!0,thumbnailType:"iframe",playerType:"iframe",getThumbnailUrl:(e,t)=>{switch(t){case"1:1":return`${e}&width=360&height=360`;case"16:9":default:return`${e}&width=640&height=360`}},getPlayerUrl:(e,t)=>{switch(t){case"1:1":return`${e}&width=360&height=360`;case"16:9":default:return`${e}&width=640&height=360`}}},VIMEO:{urlRegex:"vimeo",thumbnailContainsPlayButton:!1,thumbnailType:"image",playerType:"iframe",getThumbnailUrl:e=>bge($A(e)||""),getPlayerUrl:e=>Oge($A(e))},MP4:{urlRegex:".mp4",thumbnailContainsPlayButton:!1,thumbnailType:"video",playerType:"video",getThumbnailUrl:e=>e,getPlayerUrl:e=>e},DEFAULT:{urlRegex:".*",thumbnailContainsPlayButton:!1,thumbnailType:"iframe",playerType:"iframe",getThumbnailUrl:e=>e,getPlayerUrl:e=>e}};function lD(e){return Object.values(yge).find(t=>new RegExp(t.urlRegex).test(e))}const cD=aE?window:void 0;function Hf(e){var t;const n=jo(e);return(t=n==null?void 0:n.$el)!=null?t:n}function tb(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=cD):[t,n,r,o]=e,!t)return Fu;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=We(()=>[Hf(t),jo(o)],([u,d])=>{if(s(),!u)return;const f=iN(d)?{...d}:d;i.push(...n.flatMap(h=>r.map(p=>a(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return Xd(c),c}let RA=!1;function IA(e,t,n={}){const{window:r=cD,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return Fu;l_&&!RA&&(RA=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Fu)),r.document.documentElement.addEventListener("click",Fu));let a=!0;const l=f=>jo(o).some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=Hf(h);return p&&(f.target===p||f.composedPath().includes(p))}}),c=f=>{const h=Hf(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}t(f)}};let u=!1;const d=[tb(r,"click",f=>{u||(u=!0,setTimeout(()=>{u=!1},0),c(f))},{passive:!0,capture:i}),tb(r,"pointerdown",f=>{const h=Hf(e);a=!l(f)&&!!(h&&!f.composedPath().includes(h))},{passive:!0}),s&&tb(r,"blur",f=>{setTimeout(()=>{var h;const p=Hf(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}const uD={[D3.mounted](e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=IA(e,t.value,{capture:n});else{const[r,o]=t.value;e.__onClickOutside_stop=IA(e,r,Object.assign({capture:n},o))}},[D3.unmounted](e){e.__onClickOutside_stop()}};function ww(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function dD(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Sw=new WeakMap;function wge(e,t=!1){const n=ge(t);let r=null,o="";We(Lde(e),a=>{const l=ww(jo(a));if(l){const c=l;if(Sw.get(c)||Sw.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(o=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const a=ww(jo(e));!a||n.value||(l_&&(r=tb(a,"touchmove",l=>{vge(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=ww(jo(e));!a||!n.value||(l_&&(r==null||r()),a.style.overflow=o,Sw.delete(a),n.value=!1)};return Xd(s),q({get(){return n.value},set(a){a?i():s()}})}function Sge(){let e=!1;const t=ge(!1);return(n,r)=>{if(t.value=r.value,e)return;e=!0;const o=wge(n,r.value);We(t,i=>o.value=i)}}Sge();/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var fD=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],m0=fD.join(","),hD=typeof Element>"u",Lc=hD?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,g0=!hD&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},b0=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=o===""||o==="true",s=i||n&&t&&e(t.parentNode);return s},_ge=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},pD=function(e,t,n){if(b0(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(m0));return t&&Lc.call(e,m0)&&r.unshift(e),r=r.filter(n),r},mD=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!b0(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:s,candidates:c})}else{var u=Lc.call(s,m0);u&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var d=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),f=!b0(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(d&&f){var h=e(d===!0?s.children:d.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:s,candidates:h})}else i.unshift.apply(i,s.children)}}return o},gD=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ac=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||_ge(e))&&!gD(e)?0:e.tabIndex},kge=function(e,t){var n=ac(e);return n<0&&t&&!gD(e)?0:n},xge=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},bD=function(e){return e.tagName==="INPUT"},Ege=function(e){return bD(e)&&e.type==="hidden"},Tge=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Cge=function(e,t){for(var n=0;nsummary:first-of-type"),i=o?e.parentElement:e;if(Lc.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof r=="function"){for(var s=e;e;){var a=e.parentElement,l=g0(e);if(a&&!a.shadowRoot&&r(a)===!0)return LA(e);e.assignedSlot?e=e.assignedSlot:!a&&l!==e.ownerDocument?e=l.host:e=a}e=s}if(Mge(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return LA(e);return!1},Ige=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},Nge=function e(t){var n=[],r=[];return t.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=kge(a,s),c=s?e(o.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:c})}),r.sort(xge).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},Dge=function(e,t){t=t||{};var n;return t.getShadowRoot?n=mD([e],t.includeContainer,{filter:R_.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Lge}):n=pD(e,t.includeContainer,R_.bind(null,t)),Nge(n)},Qge=function(e,t){t=t||{};var n;return t.getShadowRoot?n=mD([e],t.includeContainer,{filter:O0.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=pD(e,t.includeContainer,O0.bind(null,t)),n},hu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Lc.call(e,m0)===!1?!1:R_(t,e)},Bge=fD.concat("iframe").join(","),_w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Lc.call(e,Bge)===!1?!1:O0(t,e)};/*! * focus-trap 7.6.0 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */function zge(e,t,n){return(t=Wge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function DA(e){for(var t=1;t0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},Fge=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},qge=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},wh=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Uge=function(e){return wh(e)&&!e.shiftKey},Zge=function(e){return wh(e)&&e.shiftKey},BA=function(e){return setTimeout(e,0)},zA=function(e,t){var n=-1;return e.every(function(r,o){return t(r)?(n=o,!1):!0}),n},Pf=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?Q-1:0),Y=1;Y=0)$=n.activeElement;else{var E=i.tabbableGroups[0],Q=E&&E.firstTabbableNode;$=Q||c("fallbackFocus")}if(!$)throw new Error("Your focus-trap needs to have at least one focusable element");return $},d=function(){if(i.containerGroups=i.containers.map(function($){var E=Dge($,o.tabbableOptions),Q=Qge($,o.tabbableOptions),X=E.length>0?E[0]:void 0,Y=E.length>0?E[E.length-1]:void 0,B=Q.find(function(ye){return hu(ye)}),ee=Q.slice().reverse().find(function(ye){return hu(ye)}),te=!!E.find(function(ye){return ac(ye)>0});return{container:$,tabbableNodes:E,focusableNodes:Q,posTabIndexesFound:te,firstTabbableNode:X,lastTabbableNode:Y,firstDomTabbableNode:B,lastDomTabbableNode:ee,nextTabbableNode:function(ye){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,pe=E.indexOf(ye);return pe<0?ve?Q.slice(Q.indexOf(ye)+1).find(function(de){return hu(de)}):Q.slice(0,Q.indexOf(ye)).reverse().find(function(de){return hu(de)}):E[pe+(ve?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function($){return $.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function($){return $.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function($){var E=$.activeElement;if(E)return E.shadowRoot&&E.shadowRoot.activeElement!==null?f(E.shadowRoot):E},h=function($){if($!==!1&&$!==f(document)){if(!$||!$.focus){h(u());return}$.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=$,Fge($)&&$.select()}},p=function($){var E=c("setReturnFocus",$);return E||(E===!1?!1:$)},m=function($){var E=$.target,Q=$.event,X=$.isBackward,Y=X===void 0?!1:X;E=E||Gm(Q),d();var B=null;if(i.tabbableGroups.length>0){var ee=l(E,Q),te=ee>=0?i.containerGroups[ee]:void 0;if(ee<0)Y?B=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:B=i.tabbableGroups[0].firstTabbableNode;else if(Y){var ye=zA(i.tabbableGroups,function(Ee){var ne=Ee.firstTabbableNode;return E===ne});if(ye<0&&(te.container===E||_w(E,o.tabbableOptions)&&!hu(E,o.tabbableOptions)&&!te.nextTabbableNode(E,!1))&&(ye=ee),ye>=0){var ve=ye===0?i.tabbableGroups.length-1:ye-1,pe=i.tabbableGroups[ve];B=ac(E)>=0?pe.lastTabbableNode:pe.lastDomTabbableNode}else wh(Q)||(B=te.nextTabbableNode(E,!1))}else{var de=zA(i.tabbableGroups,function(Ee){var ne=Ee.lastTabbableNode;return E===ne});if(de<0&&(te.container===E||_w(E,o.tabbableOptions)&&!hu(E,o.tabbableOptions)&&!te.nextTabbableNode(E))&&(de=ee),de>=0){var V=de===i.tabbableGroups.length-1?0:de+1,ue=i.tabbableGroups[V];B=ac(E)>=0?ue.firstTabbableNode:ue.firstDomTabbableNode}else wh(Q)||(B=te.nextTabbableNode(E))}}else B=c("fallbackFocus");return B},O=function($){var E=Gm($);if(!(l(E,$)>=0)){if(Pf(o.clickOutsideDeactivates,$)){s.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Pf(o.allowOutsideClick,$)||$.preventDefault()}},g=function($){var E=Gm($),Q=l(E,$)>=0;if(Q||E instanceof Document)Q&&(i.mostRecentlyFocusedNode=E);else{$.stopImmediatePropagation();var X,Y=!0;if(i.mostRecentlyFocusedNode)if(ac(i.mostRecentlyFocusedNode)>0){var B=l(i.mostRecentlyFocusedNode),ee=i.containerGroups[B].tabbableNodes;if(ee.length>0){var te=ee.findIndex(function(ye){return ye===i.mostRecentlyFocusedNode});te>=0&&(o.isKeyForward(i.recentNavEvent)?te+1=0&&(X=ee[te-1],Y=!1))}}else i.containerGroups.some(function(ye){return ye.tabbableNodes.some(function(ve){return ac(ve)>0})})||(Y=!1);else Y=!1;Y&&(X=m({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(X||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},b=function($){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=$;var Q=m({event:$,isBackward:E});Q&&(wh($)&&$.preventDefault(),h(Q))},v=function($){(o.isKeyForward($)||o.isKeyBackward($))&&b($,o.isKeyBackward($))},y=function($){qge($)&&Pf(o.escapeDeactivates,$)!==!1&&($.preventDefault(),s.deactivate())},w=function($){var E=Gm($);l(E,$)>=0||Pf(o.clickOutsideDeactivates,$)||Pf(o.allowOutsideClick,$)||($.preventDefault(),$.stopImmediatePropagation())},S=function(){if(i.active)return QA.activateTrap(r,s),i.delayInitialFocusTimer=o.delayInitialFocus?BA(function(){h(u())}):h(u()),n.addEventListener("focusin",g,!0),n.addEventListener("mousedown",O,{capture:!0,passive:!1}),n.addEventListener("touchstart",O,{capture:!0,passive:!1}),n.addEventListener("click",w,{capture:!0,passive:!1}),n.addEventListener("keydown",v,{capture:!0,passive:!1}),n.addEventListener("keydown",y),s},_=function(){if(i.active)return n.removeEventListener("focusin",g,!0),n.removeEventListener("mousedown",O,!0),n.removeEventListener("touchstart",O,!0),n.removeEventListener("click",w,!0),n.removeEventListener("keydown",v,!0),n.removeEventListener("keydown",y),s},T=function($){var E=$.some(function(Q){var X=Array.from(Q.removedNodes);return X.some(function(Y){return Y===i.mostRecentlyFocusedNode})});E&&h(u())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,C=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function($){A.observe($,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function($){if(i.active)return this;var E=a($,"onActivate"),Q=a($,"onPostActivate"),X=a($,"checkCanFocusTrap");X||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=n.activeElement,E==null||E();var Y=function(){X&&d(),S(),C(),Q==null||Q()};return X?(X(i.containers.concat()).then(Y,Y),this):(Y(),this)},deactivate:function($){if(!i.active)return this;var E=DA({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},$);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,_(),i.active=!1,i.paused=!1,C(),QA.deactivateTrap(r,s);var Q=a(E,"onDeactivate"),X=a(E,"onPostDeactivate"),Y=a(E,"checkCanReturnFocus"),B=a(E,"returnFocus","returnFocusOnDeactivate");Q==null||Q();var ee=function(){BA(function(){B&&h(p(i.nodeFocusedBeforeActivation)),X==null||X()})};return B&&Y?(Y(p(i.nodeFocusedBeforeActivation)).then(ee,ee),this):(ee(),this)},pause:function($){if(i.paused||!i.active)return this;var E=a($,"onPause"),Q=a($,"onPostPause");return i.paused=!0,E==null||E(),_(),C(),Q==null||Q(),this},unpause:function($){if(!i.paused||!i.active)return this;var E=a($,"onUnpause"),Q=a($,"onPostUnpause");return i.paused=!1,E==null||E(),d(),S(),C(),Q==null||Q(),this},updateContainerElements:function($){var E=[].concat($).filter(Boolean);return i.containers=E.map(function(Q){return typeof Q=="string"?n.querySelector(Q):Q}),i.active&&d(),C(),this}},s.updateContainerElements(e),s};function Xge(e,t={}){let n;const{immediate:r,...o}=t,i=ge(!1),s=ge(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),s.value=!0)},u=()=>{n&&(n.unpause(),s.value=!1)},d=q(()=>{const f=jo(e);return(Array.isArray(f)?f:[f]).map(h=>{const p=jo(h);return typeof p=="string"?p:ea(p)}).filter($de)});return We(d,f=>{f.length&&(n=OD(f,{...o,onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),Xd(()=>l()),{hasFocus:i,isPaused:s,activate:a,deactivate:l,pause:c,unpause:u}}const yD=Symbol(),jA=20,pu=20,WA=1,Oy=Qe({inheritAttrs:!1,__name:"UiPopover",props:{fullWidth:{type:Boolean},modelValue:{type:Boolean,default:void 0},initialFocus:{type:Function,default:void 0},fixed:{type:Boolean},position:{default:"bottom"},alignment:{default:"left"},offset:{default:6},maxHeight:{default:void 0},noScroll:{type:Boolean},disableClickOutside:{type:Boolean,default:!1},disableClickOutsideOnTargetClick:{type:Boolean},zIndexClass:{default:"z-50"},displayArrow:{type:Boolean,default:!1},target:{default:void 0}},emits:["update:modelValue","close"],setup(e,{emit:t}){const{theme:n}=qe(Vp),r=e,o=t,i=ge(),s=r.modelValue!==void 0?q({get:()=>r.modelValue,set:Y=>o("update:modelValue",Y||!1)}):ge(!1),{prevent:a,reset:l}=qe(yD,{prevent:()=>{},reset:()=>{}}),{hasFocus:c,deactivate:u}=Xge(i,{immediate:!!r.initialFocus,initialFocus:()=>(r.initialFocus?r.initialFocus():void 0)||!1,allowOutsideClick:!0});We(s,Y=>{!Y&&c.value&&u()});const d=ge(),f=()=>{if(!r.target){d.value=void 0;return}d.value=r.target.getBoundingClientRect()},h=ge(),p=()=>{var Y;if(!i.value){h.value=void 0;return}h.value=(Y=i.value)==null?void 0:Y.getBoundingClientRect()},m=q(()=>h.value!==void 0),O=()=>{f(),p()};typeof process<"u"&&Hp(window,"resize",O);const g=ge(!0);We(s,Y=>{Y?(a(),g.value=!0,setTimeout(()=>{O(),g.value=!1})):(setTimeout(()=>{l()}),g.value=!1)});const b=()=>{p()},{width:v,height:y}=jde(i),w=r.displayArrow?6:0,S=q(()=>{if(!d.value)return{};if(!h.value)return{opacity:"0"};const Y=r.position==="left"?d.value.left-v.value-r.offset-w:r.position==="right"?d.value.right+r.offset+w:r.alignment==="left"?d.value.left:r.alignment==="center"?d.value.left+d.value.width/2-v.value/2:void 0,B=r.position==="right"||r.position==="left"?void 0:r.alignment==="right"?document.documentElement.clientWidth-d.value.right:void 0,ee=r.position==="bottom"?d.value.bottom+r.offset+w+(r.fixed?0:document.documentElement.scrollTop):void 0,te=r.position==="right"||r.position==="left"?document.documentElement.clientHeight-(r.fixed?0:document.documentElement.scrollTop)-d.value.bottom-y.value/2+d.value.height/2:r.position==="top"?document.documentElement.clientHeight-(r.fixed?0:document.documentElement.scrollTop)-d.value.top+r.offset+w:void 0,ye=r.fullWidth?d.value.width:void 0,ve=r.position==="bottom"?Math.min(r.maxHeight||1/0,document.documentElement.scrollHeight-(ee||0)-jA):Math.min(r.maxHeight||1/0,document.documentElement.clientHeight-(te||0)-jA),pe=pu+(B!==void 0?B:Y!==void 0?Y:pu);return{left:Y,right:B,top:ee,bottom:te,width:ye,maxHeight:ve,horizontalPadding:pe}}),_=q(()=>{if(!S.value)return{};const{left:Y,right:B,top:ee,bottom:te}=S.value;return{left:Y!==void 0?`${Y}px`:void 0,right:B!==void 0?`${B}px`:void 0,top:ee!==void 0?`${ee}px`:void 0,bottom:te!==void 0?`${te}px`:void 0,filter:n.value.boxShadow["2dp"].map(Fae).join(" ")}}),T=q(()=>{if(!S.value)return{};const{width:Y,maxHeight:B,horizontalPadding:ee}=S.value;return{width:Y!==void 0?`${Y}px`:void 0,maxHeight:B!==void 0?`${B}px`:void 0,maxWidth:`calc(100vw - ${ee}px)`}}),A=q(()=>{if(!d.value||!_.value)return{};if(!h.value)return{opacity:"0"};const Y=r.alignment==="left"&&(r.position=="top"||r.position=="bottom")?Math.floor((d.value.width-pu)/2):r.alignment==="center"&&(r.position=="top"||r.position=="bottom")?Math.floor((v.value-pu)/2):void 0,B=r.position==="left"?0:r.alignment==="right"&&(r.position==="top"||r.position==="bottom")?Math.floor((d.value.width-pu)/2):void 0,ee=r.position==="bottom"?-WA:r.position==="left"||r.position==="right"?Math.floor((y.value-pu)/2):void 0,te=r.position==="top"?-w/2+WA:void 0;return{left:Y!==void 0?`${Y}px`:void 0,right:B!==void 0?`${B}px`:void 0,top:ee!==void 0?`${ee}px`:void 0,bottom:te!==void 0?`${te}px`:void 0}}),C=q(()=>{if(!r.displayArrow)return"";switch(r.position){case"top":return"before:border-t-surface before:bottom-[-3px] before:border-x-[10px] before:border-t-[6px] before:border-x-transparent before:h-[6px]";case"bottom":return"before:border-b-surface before:top-[-5px] before:border-x-[10px] before:border-b-[6px] before:border-x-transparent before:h-[6px]";case"left":return"before:border-l-surface before:right-[-5px] before:border-y-[10px] before:border-l-[6px] before:border-y-transparent before:w-[6px]";case"right":return"before:border-r-surface before:left-[-5px] before:border-y-[10px] before:border-r-[6px] before:border-y-transparent before:w-[6px]"}return""}),$=()=>{s.value=!s.value},E=Y=>{var B;const ee=Y.target?Y.target:null;r.disableClickOutside||!s.value||r.disableClickOutsideOnTargetClick&&(B=r.target)!=null&&B.contains(ee)||Q()},Q=()=>{o("close"),setTimeout(()=>{s.value=!1})};Dde("Escape",()=>{Q()});const X=q(()=>{if(r.position==="top"){if(r.fullWidth)return"origin-bottom";if(r.alignment==="right")return"origin-bottom-right";if(r.alignment==="left")return"origin-bottom-left"}if(r.position==="bottom"){if(r.fullWidth)return"origin-top";if(r.alignment==="right")return"origin-top-right";if(r.alignment==="left")return"origin-top-left"}return""});return(Y,B)=>(W(),oe(wt,null,[Ve(Y.$slots,"activator",Kr(Jr({toggle:$}))),(W(),Me(iU,{to:"body"},[Oe("div",{class:it(m.value?"":"fixed")},[De(rd,{"enter-active-class":"transition-all duration-100 ease-out","leave-active-class":"transition-all duration-75 ease-in","enter-from-class":"opacity-0 scale-95","leave-to-class":"opacity-0 scale-95",onAfterLeave:b},{default:Ne(()=>[U(s)?(W(),oe("div",Ce({key:0},{...Y.$attrs,...Y.$qa("uipopover")},{class:[Y.zIndexClass,Y.fixed||g.value?"fixed":"absolute",Y.displayArrow?" before:absolute":""],style:_.value}),[bl((W(),oe("div",{ref_key:"containerRef",ref:i,style:ro(T.value),class:it([[g.value?"!scale-100":"",X.value,Y.noScroll?"":"overflow-y-auto"],"flex flex-col overflow-hidden rounded bg-surface"])},[Ve(Y.$slots,"default",Kr(Jr({close:Q})))],6)),[[U(uD),E]]),Y.displayArrow?(W(),oe("div",{key:0,class:it(["absolute -z-10 size-[20px] before:absolute",C.value]),style:ro(A.value)},null,6)):xe("",!0)],16)):xe("",!0)]),_:3})],2)]))],64))}}),Hge={key:1,class:"ml-1 inline-block align-top"},Yge={class:"flex h-5 items-center justify-center"},Gge={key:0,class:"flex gap-x-1"},Kge={key:1,class:"mt-2"},nm=Qe({__name:"UiField",props:{hideError:{type:Boolean},hideLabel:{type:Boolean},label:{},required:{type:Boolean},description:{},v$:{},modelValue:{type:[String,Number,Boolean]},focused:{type:Boolean},inline:{type:Boolean},disabled:{type:Boolean},fieldClass:{},labelClass:{},skeleton:{type:Boolean},showCounter:{type:Boolean},count:{},counterLimit:{}},setup(e){const t=e,n=l2(),r=q(()=>!!t.label||!!n.label),o=q(()=>!!t.description||!!n.description),i=q(()=>r.value&&!t.hideLabel),s=q(()=>o.value),a=qe(mi),l=q(()=>t.focused&&!!t.modelValue),c=q(()=>t.v$?t.v$.$anyDirty:null),u=q(()=>t.v$?t.v$.$silentErrors:null),d=q(()=>!(c.value===tge||!u.value||u.value.length===0)),f=q(()=>d.value?pge(U(u.value[0].$message)).field:null),h=ge();return(p,m)=>p.skeleton?(W(),oe("div",{key:1,class:it([!i.value&&s.value?"pt-[22px]":"",i.value&&!s.value?"pt-6":"",i.value&&s.value?"pt-[46px]":"",p.inline?"sm:pt-0":"",p.showCounter?"pb-[22px]":""])},[Ve(p.$slots,"default",Kr(Jr({error:d.value})))],2)):(W(),Me(U(Oy),{key:0,"model-value":!!(p.$slots.tooltip&&l.value),alignment:"right",position:"top",target:h.value},{activator:Ne(()=>[Oe("div",Ce({ref_key:"root",ref:h,class:["flex min-w-0 flex-col gap-x-4 gap-y-1",[p.inline?"justify-between sm:flex-row":"",p.fieldClass]]},{...p.$attrs,...p.$qa("uifield"),...p.$qa("label",p.label),...p.$qa("disabled",!!p.disabled)}),[r.value||o.value?(W(),oe("div",{key:0,class:it(["flex flex-col gap-y-1",[p.inline?"sm:w-56 sm:pt-2 ":""]])},[r.value?(W(),oe("div",Ce({key:0,class:p.hideLabel?"sr-only":""},p.$qa("label")),[Oe("label",{class:it([[p.labelClass,U(_r)(U(a).field.labelFontWeight),t.disabled?"text-text-disabled":"text-text"],"break-words typography-label"])},[Ve(p.$slots,"label",{},()=>[Dn(rt(p.label),1)])],2),p.required&&U(a).field.showRequiredIndicator?(W(),oe("span",Ce({key:0},p.$qa("required"),{class:"not-sr-only ml-1 text-14 text-text-critical"}),"*",16)):xe("",!0),p.$slots.labelHelper?(W(),oe("span",Hge,[Oe("div",Yge,[Ve(p.$slots,"labelHelper")])])):xe("",!0)],16)):xe("",!0),o.value?(W(),oe("div",Ce({key:"description"},p.$qa("description"),{class:"break-words text-12 text-text-helper"}),[Ve(p.$slots,"description",{},()=>[Dn(rt(p.description),1)])],16)):xe("",!0)],2)):xe("",!0),Oe("div",{class:it(p.inline?"grow":"")},[Ve(p.$slots,"default",Kr(Jr({error:d.value}))),d.value&&!p.hideError||p.showCounter?(W(),oe("div",Gge,[d.value&&!p.hideError?(W(),oe("div",Ce({key:"error"},p.$qa("error"),{class:"inline-flex grow pt-1 text-12 text-text-critical"}),[De(U(Ude),{class:"mr-1 size-4 shrink-0 text-icon-critical"}),Dn(rt(f.value),1)],16)):xe("",!0),p.showCounter?(W(),oe("div",Ce({key:1},p.$qa("counter"),{class:["shrink-0 grow pt-1 text-right text-12",p.count>p.counterLimit?"text-text-critical":"text-text-placeholder"]}),rt(`${p.count} / ${p.counterLimit}`),17)):xe("",!0)])):xe("",!0),p.$slots.bottom?(W(),oe("div",Kge,[Ve(p.$slots,"bottom")])):xe("",!0)],2)],16)]),default:Ne(()=>[Ve(p.$slots,"tooltip")]),_:3},8,["model-value","target"]))}}),Jge=["tabindex","required","disabled","autocomplete","type","min","max","maxlength","placeholder"],ebe=Qe({__name:"UiInput",props:er({error:{type:Boolean,default:!1},leftIcon:{default:void 0},rightIcon:{default:void 0},type:{default:"text"},required:{type:Boolean,default:!1},placeholder:{default:void 0},maxlength:{default:void 0},min:{default:void 0},max:{default:void 0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},autocomplete:{default:void 0},tabindex:{default:void 0},skeleton:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:er(["change","clear","focus","blur","keydown","keypress"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=Wi(e,"modelValue"),o=e,i=n,s=qe(mi),a=q(()=>o.error?["border-border-critical","focus:border-border-critical-subtle"]:o.disabled?["border-border-disabled"]:s.value.field.border?["border-border","focus:border-border-subtle"]:["border-transparent"]),l=q(()=>o.error?["bg-surface-critical-subtle"]:o.disabled?["bg-surface-disabled"]:[s.value.field.backgroundColor==="subtle"?"bg-surface-subtle":"bg-surface"]),c=l2(),u=ge(!1),d=q(()=>!!(o.leftIcon||c.left)),f=q(()=>!!(o.rightIcon||c.right||o.clearable)),h=ge(),p=()=>{var y;return(y=h.value)==null?void 0:y.focus()};t({inputElement:h,focusInput:p,blurInput:()=>{var y;return(y=h.value)==null?void 0:y.blur()},showDatePicker:()=>{var y;if(o.type==="date")try{(y=h.value)==null||y.showPicker()}catch{}else throw new Error("showDatePicker is only available for type date")}});const m=()=>{r.value="",i("clear"),p()},O=y=>{o.disabled||(i("focus",y),u.value=!0)},g=y=>{i("blur",y),u.value=!1},b=y=>i("change",y.target.value),v=y=>{o.type==="number"&&y.target.blur()};return(y,w)=>y.skeleton?(W(),Me(U(ks),{key:0,class:"h-[36px] rounded"})):(W(),oe("div",Ce({key:1},y.$qa("uiinput"),{class:["relative flex rounded border",[l.value,a.value,u.value?"ring-2 ring-focused":"",U(s).field.shadow?"shadow-2dp":""]]}),[d.value?(W(),oe("div",{key:0,class:"flex items-center",onClick:p},[Ve(y.$slots,"left",Kr(Jr({error:y.error})),()=>[y.leftIcon?(W(),Me(Ii(y.leftIcon),{key:0,class:"ml-3 size-5 text-icon","aria-hidden":"true"})):xe("",!0)],!0)])):xe("",!0),bl(Oe("input",{onWheel:v,ref_key:"inputElement",ref:h,"onUpdate:modelValue":w[0]||(w[0]=S=>r.value=S),tabindex:y.tabindex,required:y.required,disabled:y.disabled,autocomplete:y.autocomplete,type:y.type,min:y.min,max:y.max,maxlength:y.maxlength,placeholder:y.placeholder,class:it(["block w-full truncate border-none bg-transparent px-3 py-[7px] text-14 !ring-transparent placeholder:font-normal placeholder:text-text-placeholder",[y.disabled?"text-text-disabled":"text-text-on-input",U(_r)(U(s).field.inputFontWeight)]]),onChange:b,onKeydown:w[1]||(w[1]=S=>y.$emit("keydown",S)),onKeypress:w[2]||(w[2]=S=>y.$emit("keypress",S)),onFocus:w[3]||(w[3]=S=>O(S)),onBlur:w[4]||(w[4]=S=>g(S))},null,42,Jge),[[zZ,r.value]]),f.value?(W(),oe("div",{key:1,class:"flex items-center",onClick:p},[Ve(y.$slots,"right",Kr(Jr({error:y.error})),()=>[y.clearable?bl((W(),Me(U(X2),{key:0,class:"pointer-events-auto mr-3 size-5 cursor-pointer text-icon hover:text-icon",onClick:m},null,512)),[[B1,r.value]]):y.rightIcon?(W(),Me(Ii(y.rightIcon),{key:1,class:it(["mr-3 size-5 text-icon",{"cursor-pointer":y.type==="date"}]),"aria-hidden":"true"},null,8,["class"])):xe("",!0)],!0)])):xe("",!0)],16))}}),_E=ay(ebe,[["__scopeId","data-v-084e9d2c"]]);function tbe(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let nb;function I_(){I_.init||(I_.init=!0,nb=tbe()!==-1)}var yy={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){I_(),wr(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",nb&&this.$el.appendChild(e),e.data="about:blank",nb||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!nb&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const nbe=tU();Jq("data-v-b329ee4c");const rbe={class:"resize-observer",tabindex:"-1"};eU();const obe=nbe((e,t,n,r,o,i)=>(W(),Me("div",rbe)));yy.render=obe;yy.__scopeId="data-v-b329ee4c";yy.__file="src/components/ResizeObserver.vue";function rb(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?rb=function(t){return typeof t}:rb=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rb(e)}function ibe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sbe(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,s=function(a){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u1){var l=s.find(function(u){return u.isIntersecting});l&&(a=l)}if(r.callback){var c=a.isIntersecting&&a.intersectionRatio>=r.threshold;if(c===r.oldResult)return;r.oldResult=c,r.callback(c,a)}},this.options.intersection),wr(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function wD(e,t,n){var r=t.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var o=new pbe(e,r,n);e._vue_visibilityState=o}}function mbe(e,t,n){var r=t.value,o=t.oldValue;if(!vD(r,o)){var i=e._vue_visibilityState;if(!r){SD(e);return}i?i.createObserver(r,n):wD(e,{value:r},n)}}function SD(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var gbe={beforeMount:wD,updated:mbe,unmounted:SD},bbe={itemsLimit:1e3},Obe=/(auto|scroll)/;function _D(e,t){return e.parentNode===null?t:_D(e.parentNode,t.concat([e]))}var kw=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},ybe=function(e){return kw(e,"overflow")+kw(e,"overflow-y")+kw(e,"overflow-x")},vbe=function(e){return Obe.test(ybe(e))};function qA(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=_D(e.parentNode,[]),n=0;n{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,r,o){const i=PO({id:kbe++,index:t,used:!0,key:r,type:o}),s=ps({item:n,position:0,nr:i});return e.push(s),s},unuseView(e,t=!1){const n=this.$_unusedViews,r=e.nr.type;let o=n.get(r);o||(o=[],n.set(r,o)),o.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,r=this.gridItems||1,o=this.itemSecondarySize||n,i=this.$_computedMinItemSize,s=this.typeField,a=this.simpleArray?null:this.keyField,l=this.items,c=l.length,u=this.sizes,d=this.$_views,f=this.$_unusedViews,h=this.pool,p=this.itemIndexByKey;let m,O,g,b,v;if(!c)m=O=b=v=g=0;else if(this.$_prerender)m=b=0,O=v=Math.min(this.prerender,l.length),g=null;else{const C=this.getScroll();if(t){let Q=C.start-this.$_lastUpdateScrollPosition;if(Q<0&&(Q=-Q),n===null&&QC.start&&(Y=B),B=~~((X+Y)/2);while(B!==ee);for(B<0&&(B=0),m=B,g=u[c-1].accumulator,O=B;Oc&&(O=c)),b=m;bc&&(O=c),b<0&&(b=0),v>c&&(v=c),g=Math.ceil(c/r)*n}}O-m>bbe.itemsLimit&&this.itemsLimitError(),this.totalSize=g;let y;const w=m<=this.$_endIndex&&O>=this.$_startIndex;if(w)for(let C=0,$=h.length;C<$;C++)y=h[C],y.nr.used&&(e&&(y.nr.index=p[y.item[a]]),(y.nr.index==null||y.nr.index=O)&&this.unuseView(y));const S=w?null:new Map;let _,T,A;for(let C=m;C=E.length)&&(y=this.addView(h,C,_,$,T),this.unuseView(y,!0),E=f.get(T)),y=E[A],S.set(T,A+1)),d.delete(y.nr.key),y.nr.used=!0,y.nr.index=C,y.nr.key=$,y.nr.type=T,d.set($,y),Q=!0;else if(!y.nr.used&&(y.nr.used=!0,Q=!0,E)){const X=E.indexOf(y);X!==-1&&E.splice(X,1)}y.item=_,Q&&(C===l.length-1&&this.$emit("scroll-end"),C===0&&this.$emit("scroll-start")),n===null?(y.position=u[C-1].accumulator,y.offset=0):(y.position=Math.floor(C/r)*n,y.offset=C%r*o)}return this.$_startIndex=m,this.$_endIndex=O,this.emitUpdate&&this.$emit("update",m,O,b,v),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:w}},getListenerTarget(){let e=qA(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let r;if(this.pageMode){const o=e.getBoundingClientRect(),i=n?o.height:o.width;let s=-(n?o.top:o.left),a=n?window.innerHeight:window.innerWidth;s<0&&(a+=s,s=0),s+a>i&&(a=i-s),r={start:s,end:s+a}}else n?r={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:r={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,D_?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,o;if(this.pageMode){const i=qA(this.$el),s=i.tagName==="HTML"?0:i[t.scroll],a=i.getBoundingClientRect(),l=this.$el.getBoundingClientRect()[t.start]-a[t.start];n=i,r=t.scroll,o=e+s+l}else n=this.$el,r=t.scroll,o=e;n[r]=o},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const xbe={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Ebe={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Tbe(e,t,n,r,o,i){const s=Bh("ResizeObserver"),a=SU("observe-visibility");return bl((W(),oe("div",{class:it(["vue-recycle-scroller",{ready:o.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...l)=>i.handleScroll&&i.handleScroll(...l))},[e.$slots.before?(W(),oe("div",xbe,[Ve(e.$slots,"before")],512)):xe("v-if",!0),(W(),Me(Ii(n.listTag),{ref:"wrapper",style:ro({[e.direction==="vertical"?"minHeight":"minWidth"]:o.totalSize+"px"}),class:it(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:Ne(()=>[(W(!0),oe(wt,null,si(o.pool,l=>(W(),Me(Ii(n.itemTag),Ce({key:l.nr.id,style:o.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${l.position}px) translate${e.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&o.hoverKey===l.nr.key}]]},_U(n.skipHover?{}:{mouseenter:()=>{o.hoverKey=l.nr.key},mouseleave:()=>{o.hoverKey=null}})),{default:Ne(()=>[Ve(e.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),Ve(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(W(),oe("div",Ebe,[Ve(e.$slots,"after")],512)):xe("v-if",!0),De(s,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[a,i.handleVisibilityChange]])}kE.render=Tbe;kE.__file="src/components/RecycleScroller.vue";const Cbe=Qe({__name:"UiThemeProviderInternal",props:{clean:{type:Boolean},theme:{},overrides:{}},setup(e){const t=e,n=q(()=>tN(t.clean?o.value:t.overrides||{})),r=q(()=>n.value.reduce((i,{name:s,value:a})=>({...i,[s]:a}),{})),o=q(()=>i_(t.theme,t.overrides||{}));return Ft(mi,o),(i,s)=>(W(),oe("div",{style:ro(r.value)},[Ve(i.$slots,"default")],4))}}),Pbe=Qe({__name:"UiThemeProvider",props:{clean:{type:Boolean},overrides:{}},setup(e){const t=e,{buildCleanTheme:n}=qe(Vp),r=qe(mi),o=q(()=>t.clean?n():r.value);return(i,s)=>(W(),Me(Cbe,{theme:o.value,overrides:i.overrides,clean:i.clean},{default:Ne(()=>[Ve(i.$slots,"default")]),_:3},8,["theme","overrides","clean"]))}}),Abe={key:0,class:"px-2 pt-2"},$be=["tabindex","onKeydown"],Mbe={key:0,class:"bg-surface-neutral-subtle px-4 py-2 text-12 font-semibold uppercase"},Rbe={key:1},Ibe={key:0},Lbe={class:"p-2"},Nbe=Qe({__name:"UiOptionList",props:{clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},modelValue:{type:[Number,Boolean,Array,String,null],default:null},options:{},recycle:{type:Boolean,default:!1},recycleBuffer:{default:50},itemSize:{default:36},grouped:{type:Boolean,default:!1},emptyText:{default:void 0},loading:{type:Boolean,default:!1},arrowsNavigation:{type:Boolean,default:!1},twoLines:{type:Boolean,default:!1}},emits:["update:modelValue","close","search-change","selected"],setup(e,{expose:t,emit:n}){const r=e,{t:o}=Vd(),i=n,s=ge([]),a=ge(""),l=q(()=>r.grouped?r.options:[{title:void 0,options:r.options}]),c=q(()=>(a.value?l.value.map(E=>({...E,options:E.options.filter(Q=>{var X;return(X=Q.label)==null?void 0:X.toLocaleLowerCase().includes(a.value.toLocaleLowerCase())})})):l.value).filter(E=>E.options.length>0)),u=q(()=>c.value.flatMap(E=>E.options)),d=q(()=>u.value.filter(E=>!E.disabled)),f=(E,Q)=>{if(Q&&i("selected",E),r.multiple){const X=Q?[...r.modelValue||[],E]:(r.modelValue||[]).filter(Y=>Y!==E);i("update:modelValue",X)}else Q?i("update:modelValue",E):i("update:modelValue",r.clearable?null:E)};Ft("toggle",f),Ft("value",q(()=>r.modelValue===!1||typeof r.modelValue=="number"?r.modelValue:r.modelValue||(r.multiple?[]:null))),Ft("multiple",q(()=>r.multiple)),Ft("arrowsNavigation",q(()=>r.arrowsNavigation)),Ft("twoLines",q(()=>r.twoLines));const h=ge(null),p=ge(),m=q(()=>{var E;return(E=h.value)==null?void 0:E.inputElement}),O=q(()=>{var E;return r.searchable?(E=h.value)==null?void 0:E.inputElement:p.value}),g=()=>{var E;return(E=h.value)==null?void 0:E.focusInput()},b=()=>$(),v=ge(),y=q(()=>{if(v.value!==void 0)return d.value[v.value]}),w=q(()=>{if(y.value!==void 0)return y.value.value}),S=q(()=>{if(y.value===void 0)return;const E=u.value.findIndex(Q=>Q===y.value);return E>-1?E:void 0});Ft("focusedItemValue",w),We(a,()=>{v.value=void 0});const _=()=>{if(r.recycle||S.value===void 0||!s.value)return;const E=s.value[S.value];E&&E.scrollIntoView()},T=()=>{r.arrowsNavigation&&(v.value=v.value!==void 0?v.value===d.value.length-1?void 0:v.value+1:0,_())},A=()=>{r.arrowsNavigation&&(v.value=v.value!==void 0?v.value===0?void 0:v.value-1:d.value.length-1,_())},C=E=>r.multiple?r.modelValue instanceof Array&&r.modelValue.includes(E)||!1:r.modelValue===E,$=()=>{r.arrowsNavigation&&w.value!==void 0&&f(w.value,!C(w.value))};return t({inputElement:m,initialFocusElement:O,focusInput:g,focusNextItem:T,focusPreviousItem:A,selectFocusedItem:b}),(E,Q)=>(W(),oe("div",Ce(E.$qa("uioptionlist"),{class:"flex flex-col overflow-hidden"}),[E.searchable?(W(),oe("div",Abe,[De(U(Pbe),{overrides:{field:{shadow:!1,border:!0}}},{default:Ne(()=>[De(U(_E),{ref_key:"searchInput",ref:h,modelValue:a.value,"onUpdate:modelValue":[Q[0]||(Q[0]=X=>a.value=X),Q[2]||(Q[2]=X=>E.$emit("search-change",X))],"left-icon":U(SL),placeholder:U(o)("ui.components.uiOptionList.search.placeholder"),maxlength:"200",onKeydown:[Er(xr(A,["prevent"]),["up"]),Er(xr(T,["prevent"]),["down"])],onKeypress:Q[1]||(Q[1]=Er(xr(X=>$(),["prevent"]),["enter"]))},null,8,["modelValue","left-icon","placeholder","onKeydown"])]),_:1})])):xe("",!0),Oe("div",{ref_key:"itemsContainer",ref:p,class:"grow overflow-y-auto focus:outline-none",tabindex:E.arrowsNavigation&&!E.searchable?0:-1,onKeydown:[Er(xr(A,["prevent"]),["up"]),Er(xr(T,["prevent"]),["down"])],onKeypress:[Q[3]||(Q[3]=Er(xr(X=>$(),["prevent"]),["enter"])),Q[4]||(Q[4]=Er(xr(X=>$(),["prevent"]),["space"]))]},[(W(!0),oe(wt,null,si(c.value,(X,Y)=>(W(),oe("div",{key:Y},[X.title?(W(),oe("div",Mbe,rt(X.title),1)):xe("",!0),Oe("div",Ce({ref_for:!0},E.$qa("results"),{class:"p-2"}),[E.loading?(W(),Me(U(Xp),{key:0,class:"mx-auto",color:"default"})):X.options.length===0?(W(),oe("div",Rbe,rt(E.emptyText||U(o)("ui.components.uiOptionList.emptyPlaceholderText")),1)):E.recycle?(W(),Me(U(kE),{key:2,items:X.options,buffer:E.recycleBuffer,"item-size":E.multiple?E.itemSize+1:E.itemSize,"page-mode":"","key-field":"value"},{default:Ne(({item:B,index:ee})=>[Oe("div",{class:it(ee>0&&E.multiple?"mt-px":"")},[Ve(E.$slots,"default",Ce({ref_for:!0},{item:B,index:ee}),()=>[De(U(UA),{ref_for:!0,ref_key:"items",ref:s,item:B},null,8,["item"])])],2)]),_:2},1032,["items","buffer","item-size"])):(W(),oe("ul",{key:3,class:it(["flex flex-col rounded",E.multiple?"gap-y-px":""])},[(W(!0),oe(wt,null,si(X.options,(B,ee)=>(W(),oe("li",{key:`${typeof B.value}__${B.value}`},[Ve(E.$slots,"default",Ce({ref_for:!0},{item:B,index:ee}),()=>[De(U(UA),{ref_for:!0,ref_key:"items",ref:s,item:B},null,8,["item"])])]))),128))],2))],16)]))),128)),c.value.length===0?(W(),oe("div",Ibe,[Oe("div",Lbe,rt(E.emptyText||U(o)("ui.components.uiOptionList.emptyPlaceholderText")),1)])):xe("",!0)],40,$be)],16))}}),Dbe=["disabled","required","checked",".indeterminate"],kD=Qe({__name:"UiInputCheckbox",props:er({required:{type:Boolean},disabled:{type:Boolean},error:{type:Boolean},indeterminate:{type:Boolean}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Wi(e,"modelValue"),n=o=>{t.value=o.target.checked},r=o=>o.currentTarget.blur();return(o,i)=>(W(),oe("input",Ce(o.$qa("uiinputcheckbox"),{disabled:o.disabled,required:o.required,checked:t.value,type:"checkbox",class:[o.disabled?"pointer-events-none bg-surface-disabled border-border-disabled text-text-disabled":o.error?"bg-surface-critical-subtle border-border-critical":"border-border hover:border-border-hover","size-[18px] cursor-pointer rounded border-2 text-interactive ring-interactive focus:ring-offset-1"],".indeterminate":o.indeterminate,onChange:n,onMouseup:r}),null,48,Dbe))}}),Qbe=["tabindex","onKeypress"],Bbe={key:0,class:"flex size-5 shrink-0 items-center justify-center"},zbe=["title"],UA=Qe({__name:"UiOptionListItem",props:{item:{}},setup(e,{expose:t}){const n=e,r=ge();t({scrollIntoView:()=>{r.value&&r.value.scrollIntoView({block:"nearest",behavior:"smooth"})}});const o=qe("value",q(()=>[])),i=qe("toggle",()=>{}),s=qe("multiple",q(()=>!1)),a=qe("arrowsNavigation",q(()=>!1)),l=qe("twoLines",q(()=>!1)),c=qe("focusedItemValue",q(()=>{})),u=q(()=>n.item.value),d=q(()=>n.item.label),f=q(()=>n.item.disabled!==void 0&&n.item.disabled),h=q(()=>s.value?o.value instanceof Array&&o.value.includes(u.value):o.value===u.value),p=()=>{f.value||i(u.value,!h.value)},m=q(()=>c.value===u.value),O=g=>g.currentTarget.blur();return(g,b)=>(W(),oe("div",Ce({ref_key:"container",ref:r},{...g.$qa("uioptionlistitem"),...g.$qa("value",g.item.value),...g.$qa("disabled",!!f.value)},{tabindex:U(a)?-1:0,class:["flex gap-x-2 rounded px-2 py-[7px] ring-inset ring-focused transition-colors duration-75 focus:outline-none focus:ring",[m.value?"ring":"",h.value?"bg-surface-active":"hover:bg-surface-hover",f.value?"pointer-events-none text-text-disabled":"cursor-pointer"]],onKeypress:Er(xr(p,["prevent"]),["space","enter"]),onClick:p,onMouseup:O}),[U(s)?(W(),oe("div",Bbe,[De(U(kD),{"model-value":h.value,tabindex:"-1",disabled:f.value,class:it(f.value?"text-text-disabled":"")},null,8,["model-value","disabled","class"])])):xe("",!0),Oe("div",Ce(g.$qa("label",g.item.label),{class:U(l)?"line-clamp-2":"truncate",title:d.value}),rt(d.value),17,zbe)],16,Qbe))}}),jbe=["disabled"],Wbe=Qe({__name:"UiTag",props:{label:{},disabled:{type:Boolean},removable:{type:Boolean},skeleton:{type:Boolean},textColor:{},backgroundColor:{}},emits:["remove"],setup(e){const t=e,n=qe(mi),r=q(()=>t.textColor&&!t.removable&&!t.disabled?{color:t.textColor}:void 0),o=q(()=>t.backgroundColor&&!t.removable&&!t.disabled?{background:t.backgroundColor}:void 0),i=s=>s.currentTarget.blur();return(s,a)=>s.skeleton?(W(),Me(U(ks),Ce({key:1},s.$qa("uitag"),{class:["inline-flex w-24 rounded",[U(n).tag.pill?"rounded-full":"rounded",U(n).tag.small?"h-5":"h-6"]]}),null,16,["class"])):(W(),oe("div",Ce({key:0},s.$qa("uitag"),{class:["inline-flex min-w-0 items-center align-top",[s.disabled&&s.removable?"bg-surface-neutral-disabled":"bg-surface-neutral",U(n).tag.pill?"rounded-full":"rounded",U(n).tag.small?"h-5":"h-6"]],style:o.value}),[Oe("div",{class:it(["max-w-full truncate px-2",[s.disabled&&s.removable?"text-text-disabled":"text-text-on-tag",s.removable?"pr-1":"",U(n).tag.small?"text-13":"text-14"]]),style:ro(r.value)},[Ve(s.$slots,"default",{},()=>[Dn(rt(s.label),1)])],6),s.removable?(W(),oe("button",Ce({key:0},s.$qa("remove"),{disabled:s.disabled,class:[[U(n).tag.small?"size-5":"size-6",U(n).tag.pill?"rounded-full":"rounded",s.disabled?"pointer-events-none":"hover:bg-surface-neutral-hover focus:bg-surface-neutral-pressed active:bg-surface-neutral-pressed"],"flex items-center justify-center focus:outline-none focus:ring-2 focus:ring-focused"],onClick:a[0]||(a[0]=l=>s.$emit("remove")),onMouseup:i}),[De(U(X2),{class:it([s.disabled?"text-icon-disabled":"text-icon",U(n).tag.small?"size-[14px]":"size-5"])},null,8,["class"])],16,jbe)):xe("",!0)],16))}}),Fbe={class:"flex h-5 items-center"},qbe={class:"ml-3"},Ube={key:1,class:"relative flex items-start py-1"},ZA=Qe({__name:"UiFieldCheckboxGroupOption",props:{value:{},label:{},error:{type:Boolean},required:{type:Boolean},disabled:{type:Boolean},skeleton:{type:Boolean}},setup(e){const t=e,n=qe("checkboxGroup"),r=q(()=>((n==null?void 0:n.value.value)||[]).includes(t.value)),o=i=>{n==null||n.updateValue(t.value,i)};return(i,s)=>i.skeleton?(W(),oe("div",Ube,[De(U(ks),{class:"size-5 shrink-0 rounded"}),De(U(ks),{class:"ml-3 h-5 w-full"})])):(W(),oe("label",Ce({key:0},{...i.$qa("uifieldcheckboxgroupoption"),...i.$qa("value",i.value)},{class:"relative flex items-start py-1"}),[Oe("div",Fbe,[De(U(kD),{disabled:i.disabled,error:i.error&&i.required,"model-value":r.value,"onUpdate:modelValue":o},null,8,["disabled","error","model-value"])]),Oe("div",qbe,[Oe("div",{class:it(["text-14",i.disabled?"text-text-disabled":"text-text"])},[Ve(i.$slots,"default",{},()=>[Dn(rt(i.label),1)])],2)])],16))}}),Zbe={key:0,class:"flex flex-col gap-y-1"},Vbe={key:0,class:"mt-1"},Xbe={key:1,class:"flex flex-col gap-y-1"},_Le=Qe({__name:"UiFieldCheckboxGroup",props:er({required:{type:Boolean},disabled:{type:Boolean},label:{},description:{},v$:{},options:{},hideError:{type:Boolean},hideLabel:{type:Boolean},limit:{},fieldClass:{},labelClass:{},skeleton:{type:Boolean},skeletonOptions:{},inline:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const{t}=Vd(),n=Wi(e,"modelValue"),r=e,o=ge(!1),i=q(()=>{var a;return!r.limit||o.value?r.options:(a=r.options)==null?void 0:a.slice(0,r.limit)}),s=(a,l)=>{const c=l?[...n.value||[],a]:(n.value||[]).filter(u=>u!==a);n.value=c};return Ft("checkboxGroup",{value:q(()=>n.value),updateValue:s}),(a,l)=>(W(),Me(U(nm),Ce(a.$qa("uifieldcheckboxgroup"),{required:a.required,label:a.label,description:a.description,v$:a.v$,"hide-label":a.hideLabel,"hide-error":a.hideError,"label-class":a.labelClass,"field-class":a.fieldClass,skeleton:a.skeleton,inline:a.inline}),{default:Ne(({error:c})=>[a.skeleton?(W(),oe("div",Xbe,[(W(!0),oe(wt,null,si(a.skeletonOptions!==void 0?a.skeletonOptions:4,u=>(W(),Me(ZA,{key:u,skeleton:""}))),128))])):(W(),oe("div",Zbe,[Ve(a.$slots,"default",Kr(Jr({error:c})),()=>[a.options?(W(),oe(wt,{key:0},[(W(!0),oe(wt,null,si(i.value,u=>(W(),Me(ZA,{key:u.value,label:u.label,value:u.value,disabled:a.disabled,error:c,required:u.required},null,8,["label","value","disabled","error","required"]))),128)),a.limit?(W(),oe("div",Vbe,[De(U(ei),{variant:"text",icon:o.value?U(wL):U(V2),onClick:l[0]||(l[0]=u=>o.value=!o.value)},{default:Ne(()=>[Dn(rt(o.value?U(t)("ui.components.uiFieldCheckboxGroup.showLess"):U(t)("ui.components.uiFieldCheckboxGroup.showAll")),1)]),_:1},8,["icon"])])):xe("",!0)],64)):xe("",!0)])]))]),_:3},16,["required","label","description","v$","hide-label","hide-error","label-class","field-class","skeleton","inline"]))}});class Pt{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,r){[t,n]=md(this,t,n);let o=[];return this.decompose(0,t,o,2),r.length&&r.decompose(0,r.length,o,3),this.decompose(n,this.length,o,1),ds.from(o,this.length-(n-t)+r.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=md(this,t,n);let r=[];return this.decompose(t,n,r,0),ds.from(r,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),r=this.length-this.scanIdentical(t,-1),o=new Sh(this),i=new Sh(t);for(let s=n,a=n;;){if(o.next(s),i.next(s),s=0,o.lineBreak!=i.lineBreak||o.done!=i.done||o.value!=i.value)return!1;if(a+=o.value.length,o.done||a>=r)return!0}}iter(t=1){return new Sh(this,t)}iterRange(t,n=this.length){return new xD(this,t,n)}iterLines(t,n){let r;if(t==null)r=this.iter();else{n==null&&(n=this.lines+1);let o=this.line(t).from;r=this.iterRange(o,Math.max(o,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new ED(r)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?Pt.empty:t.length<=32?new An(t):ds.from(An.split(t,[]))}}class An extends Pt{constructor(t,n=Hbe(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,r,o){for(let i=0;;i++){let s=this.text[i],a=o+s.length;if((n?r:a)>=t)return new Ybe(o,a,r,s);o=a+1,r++}}decompose(t,n,r,o){let i=t<=0&&n>=this.length?this:new An(VA(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(o&1){let s=r.pop(),a=ob(i.text,s.text.slice(),0,i.length);if(a.length<=32)r.push(new An(a,s.length+i.length));else{let l=a.length>>1;r.push(new An(a.slice(0,l)),new An(a.slice(l)))}}else r.push(i)}replace(t,n,r){if(!(r instanceof An))return super.replace(t,n,r);[t,n]=md(this,t,n);let o=ob(this.text,ob(r.text,VA(this.text,0,t)),n),i=this.length+r.length-(n-t);return o.length<=32?new An(o,i):ds.from(An.split(o,[]),i)}sliceString(t,n=this.length,r=` `){[t,n]=md(this,t,n);let o="";for(let i=0,s=0;i<=n&&st&&s&&(o+=r),ti&&(o+=a.slice(Math.max(0,t-i),n-i)),i=l+1}return o}flatten(t){for(let n of this.text)t.push(n)}scanIdentical(){return 0}static split(t,n){let r=[],o=-1;for(let i of t)r.push(i),o+=i.length+1,r.length==32&&(n.push(new An(r,o)),r=[],o=-1);return o>-1&&n.push(new An(r,o)),n}}class ds extends Pt{constructor(t,n){super(),this.children=t,this.length=n,this.lines=0;for(let r of t)this.lines+=r.lines}lineInner(t,n,r,o){for(let i=0;;i++){let s=this.children[i],a=o+s.length,l=r+s.lines-1;if((n?l:a)>=t)return s.lineInner(t,n,r,o);o=a+1,r=l+1}}decompose(t,n,r,o){for(let i=0,s=0;s<=n&&i=s){let c=o&((s<=t?1:0)|(l>=n?2:0));s>=t&&l<=n&&!c?r.push(a):a.decompose(t-s,n-s,r,c)}s=l+1}}replace(t,n,r){if([t,n]=md(this,t,n),r.lines=i&&n<=a){let l=s.replace(t-i,n-i,r),c=this.lines-s.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[o]=l,new ds(u,this.length-(n-t)+r.length)}return super.replace(i,a,l)}i=a+1}return super.replace(t,n,r)}sliceString(t,n=this.length,r=` `){[t,n]=md(this,t,n);let o="";for(let i=0,s=0;it&&i&&(o+=r),ts&&(o+=a.sliceString(t-s,n-s,r)),s=l+1}return o}flatten(t){for(let n of this.children)n.flatten(t)}scanIdentical(t,n){if(!(t instanceof ds))return 0;let r=0,[o,i,s,a]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;o+=n,i+=n){if(o==s||i==a)return r;let l=this.children[o],c=t.children[i];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(t,n=t.reduce((r,o)=>r+o.length+1,-1)){let r=0;for(let h of t)r+=h.lines;if(r<32){let h=[];for(let p of t)p.flatten(h);return new An(h,n)}let o=Math.max(32,r>>5),i=o<<1,s=o>>1,a=[],l=0,c=-1,u=[];function d(h){let p;if(h.lines>i&&h instanceof ds)for(let m of h.children)d(m);else h.lines>s&&(l>s||!l)?(f(),a.push(h)):h instanceof An&&l&&(p=u[u.length-1])instanceof An&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new An(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>o&&f(),l+=h.lines,c+=h.length+1,u.push(h))}function f(){l!=0&&(a.push(u.length==1?u[0]:ds.from(u,c)),c=-1,l=u.length=0)}for(let h of t)d(h);return f(),a.length==1?a[0]:new ds(a,n)}}Pt.empty=new An([""],0);function Hbe(e){let t=-1;for(let n of e)t+=n.length+1;return t}function ob(e,t,n=0,r=1e9){for(let o=0,i=0,s=!0;i=n&&(l>r&&(a=a.slice(0,r-o)),o0?1:(t instanceof An?t.text.length:t.children.length)<<1]}nextInner(t,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,o=this.nodes[r],i=this.offsets[r],s=i>>1,a=o instanceof An?o.text.length:o.children.length;if(s==(n>0?a:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(n>0?0:1)){if(this.offsets[r]+=n,t==0)return this.lineBreak=!0,this.value=` `,this;t--}else if(o instanceof An){let l=o.text[s+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,t))return this.value=t==0?l:n>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=o.children[s+(n<0?-1:0)];t>l.length?(t-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof An?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class xD{constructor(t,n,r){this.value="",this.done=!1,this.cursor=new Sh(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(t,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;t>r&&(t=r),r-=t;let{value:o}=this.cursor.next(t);return this.pos+=(o.length+t)*n,this.value=o.length<=r?o:n<0?o.slice(o.length-r):o.slice(0,r),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class ED{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:n,lineBreak:r,value:o}=this.inner.next(t);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=o,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Pt.prototype[Symbol.iterator]=function(){return this.iter()},Sh.prototype[Symbol.iterator]=xD.prototype[Symbol.iterator]=ED.prototype[Symbol.iterator]=function(){return this});class Ybe{constructor(t,n,r,o){this.from=t,this.to=n,this.number=r,this.text=o}get length(){return this.to-this.from}}function md(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}let Uu="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=1;ee)return Uu[t-1]<=e;return!1}function XA(e){return e>=127462&&e<=127487}const HA=8205;function vr(e,t,n=!0,r=!0){return(n?TD:Kbe)(e,t,r)}function TD(e,t,n){if(t==e.length)return t;t&&CD(e.charCodeAt(t))&&PD(e.charCodeAt(t-1))&&t--;let r=gr(e,t);for(t+=Jo(r);t=0&&XA(gr(e,s));)i++,s-=2;if(i%2==0)break;t+=2}else break}return t}function Kbe(e,t,n){for(;t>0;){let r=TD(e,t-2,n);if(r=56320&&e<57344}function PD(e){return e>=55296&&e<56320}function gr(e,t){let n=e.charCodeAt(t);if(!PD(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return CD(r)?(n-55296<<10)+(r-56320)+65536:n}function xE(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Jo(e){return e<65536?1:2}const Q_=/\r\n?|\n/;var Hr=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Hr||(Hr={}));class Ss{constructor(t){this.sections=t}get length(){let t=0;for(let n=0;nt)return i+(t-o);i+=a}else{if(r!=Hr.Simple&&c>=t&&(r==Hr.TrackDel&&ot||r==Hr.TrackBefore&&ot))return null;if(c>t||c==t&&n<0&&!a)return t==o||n<0?i:i+l;i+=l}o=c}if(t>o)throw new RangeError(`Position ${t} is out of range for changeset of length ${o}`);return i}touchesRange(t,n=t){for(let r=0,o=0;r=0&&o<=n&&a>=t)return on?"cover":!0;o=a}return!1}toString(){let t="";for(let n=0;n=0?":"+o:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ss(t)}static create(t){return new Ss(t)}}class Fn extends Ss{constructor(t,n){super(t),this.inserted=n}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return B_(this,(n,r,o,i,s)=>t=t.replace(o,o+(r-n),s),!1),t}mapDesc(t,n=!1){return z_(this,t,n,!0)}invert(t){let n=this.sections.slice(),r=[];for(let o=0,i=0;o=0){n[o]=a,n[o+1]=s;let l=o>>1;for(;r.length0&&al(r,n,i.text),i.forward(u),a+=u}let c=t[s++];for(;a>1].toJSON()))}return t}static of(t,n,r){let o=[],i=[],s=0,a=null;function l(u=!1){if(!u&&!o.length)return;sf||d<0||f>n)throw new RangeError(`Invalid change range ${d} to ${f} (in doc of length ${n})`);let p=h?typeof h=="string"?Pt.of(h.split(r||Q_)):h:Pt.empty,m=p.length;if(d==f&&m==0)return;ds&&Tr(o,d-s,-1),Tr(o,f-d,m),al(i,o,p),s=f}}return c(t),l(!a),a}static empty(t){return new Fn(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let o=0;oa&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(i.length==1)n.push(i[0],0);else{for(;r.length=0&&n<=0&&n==e[o+1]?e[o]+=t:t==0&&e[o]==0?e[o+1]+=n:r?(e[o]+=t,e[o+1]+=n):e.push(t,n)}function al(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r>1])),!(n||s==e.sections.length||e.sections[s+1]<0);)a=e.sections[s++],l=e.sections[s++];t(o,c,i,u,d),o=c,i=u}}}function z_(e,t,n,r=!1){let o=[],i=r?[]:null,s=new rp(e),a=new rp(t);for(let l=-1;;)if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);Tr(o,c,-1),s.forward(c),a.forward(c)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len=0&&l=0){let c=0,u=s.len;for(;u;)if(a.ins==-1){let d=Math.min(u,a.len);c+=d,u-=d,a.forward(d)}else if(a.ins==0&&a.lenl||s.ins>=0&&s.len>l)&&(a||r.length>c),i.forward2(l),s.forward(l)}}}}class rp{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return n>=t.length?Pt.empty:t[n]}textBit(t){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!t?Pt.empty:n[r].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class pc{constructor(t,n,r){this.from=t,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,n=-1){let r,o;return this.empty?r=o=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),o=t.mapPos(this.to,-1)),r==this.from&&o==this.to?this:new pc(r,o,this.flags)}extend(t,n=t){if(t<=this.anchor&&n>=this.anchor)return be.range(t,n);let r=Math.abs(t-this.anchor)>Math.abs(n-this.anchor)?t:n;return be.range(this.anchor,r)}eq(t,n=!1){return this.anchor==t.anchor&&this.head==t.head&&(!n||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return be.range(t.anchor,t.head)}static create(t,n,r){return new pc(t,n,r)}}class be{constructor(t,n){this.ranges=t,this.mainIndex=n}map(t,n=-1){return t.empty?this:be.create(this.ranges.map(r=>r.map(t,n)),this.mainIndex)}eq(t,n=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let r=0;rt.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new be(t.ranges.map(n=>pc.fromJSON(n)),t.main)}static single(t,n=t){return new be([be.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,o=0;ot?8:0)|i)}static normalized(t,n=0){let r=t[n];t.sort((o,i)=>o.from-i.from),n=t.indexOf(r);for(let o=1;oi.head?be.range(l,a):be.range(a,l))}}return new be(t,n)}}function $D(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let EE=0;class Pe{constructor(t,n,r,o,i){this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=o,this.id=EE++,this.default=t([]),this.extensions=typeof i=="function"?i(this):i}get reader(){return this}static define(t={}){return new Pe(t.combine||(n=>n),t.compareInput||((n,r)=>n===r),t.compare||(t.combine?(n,r)=>n===r:TE),!!t.static,t.enables)}of(t){return new ib([],this,0,t)}compute(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ib(t,this,1,n)}computeN(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ib(t,this,2,n)}from(t,n){return n||(n=r=>r),this.compute([t],r=>n(r.field(t)))}}function TE(e,t){return e==t||e.length==t.length&&e.every((n,r)=>n===t[r])}class ib{constructor(t,n,r,o){this.dependencies=t,this.facet=n,this.type=r,this.value=o,this.id=EE++}dynamicSlot(t){var n;let r=this.value,o=this.facet.compareInput,i=this.id,s=t[i]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let d of this.dependencies)d=="doc"?l=!0:d=="selection"?c=!0:((n=t[d.id])!==null&&n!==void 0?n:1)&1||u.push(t[d.id]);return{create(d){return d.values[s]=r(d),1},update(d,f){if(l&&f.docChanged||c&&(f.docChanged||f.selection)||j_(d,u)){let h=r(d);if(a?!YA(h,d.values[s],o):!o(h,d.values[s]))return d.values[s]=h,1}return 0},reconfigure:(d,f)=>{let h,p=f.config.address[i];if(p!=null){let m=v0(f,p);if(this.dependencies.every(O=>O instanceof Pe?f.facet(O)===d.facet(O):O instanceof dr?f.field(O,!1)==d.field(O,!1):!0)||(a?YA(h=r(d),m,o):o(h=r(d),m)))return d.values[s]=m,0}else h=r(d);return d.values[s]=h,1}}}}function YA(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re[l.id]),o=n.map(l=>l.type),i=r.filter(l=>!(l&1)),s=e[t.id]>>1;function a(l){let c=[];for(let u=0;ur===o),t);return t.provide&&(n.provides=t.provide(n)),n}create(t){let n=t.facet(GA).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(t)}slot(t){let n=t[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,o)=>{let i=r.values[n],s=this.updateF(i,o);return this.compareF(i,s)?0:(r.values[n]=s,1)},reconfigure:(r,o)=>o.config.address[this.id]!=null?(r.values[n]=o.field(this),0):(r.values[n]=this.create(r),1)}}init(t){return[this,GA.of({field:this,create:t})]}get extension(){return this}}const lc={lowest:4,low:3,default:2,high:1,highest:0};function Af(e){return t=>new MD(t,e)}const Gc={highest:Af(lc.highest),high:Af(lc.high),default:Af(lc.default),low:Af(lc.low),lowest:Af(lc.lowest)};class MD{constructor(t,n){this.inner=t,this.prec=n}}class rm{of(t){return new W_(this,t)}reconfigure(t){return rm.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class W_{constructor(t,n){this.compartment=t,this.inner=n}}class y0{constructor(t,n,r,o,i,s){for(this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=o,this.staticValues=i,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,n,r){let o=[],i=Object.create(null),s=new Map;for(let f of e0e(t,n,s))f instanceof dr?o.push(f):(i[f.facet.id]||(i[f.facet.id]=[])).push(f);let a=Object.create(null),l=[],c=[];for(let f of o)a[f.id]=c.length<<1,c.push(h=>f.slot(h));let u=r==null?void 0:r.config.facets;for(let f in i){let h=i[f],p=h[0].facet,m=u&&u[f]||[];if(h.every(O=>O.type==0))if(a[p.id]=l.length<<1|1,TE(m,h))l.push(r.facet(p));else{let O=p.combine(h.map(g=>g.value));l.push(r&&p.compare(O,r.facet(p))?r.facet(p):O)}else{for(let O of h)O.type==0?(a[O.id]=l.length<<1|1,l.push(O.value)):(a[O.id]=c.length<<1,c.push(g=>O.dynamicSlot(g)));a[p.id]=c.length<<1,c.push(O=>Jbe(O,p,h))}}let d=c.map(f=>f(a));return new y0(t,s,d,a,l,i)}}function e0e(e,t,n){let r=[[],[],[],[],[]],o=new Map;function i(s,a){let l=o.get(s);if(l!=null){if(l<=a)return;let c=r[l].indexOf(s);c>-1&&r[l].splice(c,1),s instanceof W_&&n.delete(s.compartment)}if(o.set(s,a),Array.isArray(s))for(let c of s)i(c,a);else if(s instanceof W_){if(n.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(s.compartment)||s.inner;n.set(s.compartment,c),i(c,a)}else if(s instanceof MD)i(s.inner,s.prec);else if(s instanceof dr)r[a].push(s),s.provides&&i(s.provides,a);else if(s instanceof ib)r[a].push(s),s.facet.extensions&&i(s.facet.extensions,lc.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);i(c,a)}}return i(e,lc.default),r.reduce((s,a)=>s.concat(a))}function _h(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;e.status[n]=4;let o=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|o}function v0(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const RD=Pe.define(),F_=Pe.define({combine:e=>e.some(t=>t),static:!0}),ID=Pe.define({combine:e=>e.length?e[0]:void 0,static:!0}),LD=Pe.define(),ND=Pe.define(),DD=Pe.define(),QD=Pe.define({combine:e=>e.length?e[0]:!1});class Ta{constructor(t,n){this.type=t,this.value=n}static define(){return new t0e}}class t0e{of(t){return new Ta(this,t)}}class n0e{constructor(t){this.map=t}of(t){return new ft(this,t)}}class ft{constructor(t,n){this.type=t,this.value=n}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new ft(this.type,n)}is(t){return this.type==t}static define(t={}){return new n0e(t.map||(n=>n))}static mapEffects(t,n){if(!t.length)return t;let r=[];for(let o of t){let i=o.map(n);i&&r.push(i)}return r}}ft.reconfigure=ft.define();ft.appendConfig=ft.define();class Yn{constructor(t,n,r,o,i,s){this.startState=t,this.changes=n,this.selection=r,this.effects=o,this.annotations=i,this.scrollIntoView=s,this._doc=null,this._state=null,r&&$D(r,n.newLength),i.some(a=>a.type==Yn.time)||(this.annotations=i.concat(Yn.time.of(Date.now())))}static create(t,n,r,o,i,s){return new Yn(t,n,r,o,i,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let n of this.annotations)if(n.type==t)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(Yn.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]=="."))}}Yn.time=Ta.define();Yn.userEvent=Ta.define();Yn.addToHistory=Ta.define();Yn.remote=Ta.define();function r0e(e,t){let n=[];for(let r=0,o=0;;){let i,s;if(r=e[r]))i=e[r++],s=e[r++];else if(o=0;o--){let i=r[o](e);i instanceof Yn?e=i:Array.isArray(i)&&i.length==1&&i[0]instanceof Yn?e=i[0]:e=zD(t,Zu(i),!1)}return e}function i0e(e){let t=e.startState,n=t.facet(DD),r=e;for(let o=n.length-1;o>=0;o--){let i=n[o](e);i&&Object.keys(i).length&&(r=BD(r,q_(t,i,e.changes.newLength),!0))}return r==e?e:Yn.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}const s0e=[];function Zu(e){return e==null?s0e:Array.isArray(e)?e:[e]}var wn=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(wn||(wn={}));const a0e=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let U_;try{U_=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function l0e(e){if(U_)return U_.test(e);for(let t=0;t"€"&&(n.toUpperCase()!=n.toLowerCase()||a0e.test(n)))return!0}return!1}function c0e(e){return t=>{if(!/\S/.test(t))return wn.Space;if(l0e(t))return wn.Word;for(let n=0;n-1)return wn.Word;return wn.Other}}class bt{constructor(t,n,r,o,i,s){this.config=t,this.doc=n,this.selection=r,this.values=o,this.status=t.statusTemplate.slice(),this.computeSlot=i,s&&(s._state=this);for(let a=0;ao.set(c,l)),n=null),o.set(a.value.compartment,a.value.extension)):a.is(ft.reconfigure)?(n=null,r=a.value):a.is(ft.appendConfig)&&(n=null,r=Zu(r).concat(a.value));let i;n?i=t.startState.values.slice():(n=y0.resolve(r,o,this),i=new bt(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(a,l)=>l.reconfigure(a,this),null).values);let s=t.startState.facet(F_)?t.newSelection:t.newSelection.asSingle();new bt(n,t.newDoc,s,i,(a,l)=>l.update(a,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:t},range:be.cursor(n.from+t.length)}))}changeByRange(t){let n=this.selection,r=t(n.ranges[0]),o=this.changes(r.changes),i=[r.range],s=Zu(r.effects);for(let a=1;as.spec.fromJSON(a,l)))}}return bt.create({doc:t.doc,selection:be.fromJSON(t.selection),extensions:n.extensions?o.concat([n.extensions]):o})}static create(t={}){let n=y0.resolve(t.extensions||[],new Map),r=t.doc instanceof Pt?t.doc:Pt.of((t.doc||"").split(n.staticFacet(bt.lineSeparator)||Q_)),o=t.selection?t.selection instanceof be?t.selection:be.single(t.selection.anchor,t.selection.head):be.single(0);return $D(o,r.length),n.staticFacet(F_)||(o=o.asSingle()),new bt(n,r,o,n.dynamicSlots.map(()=>null),(i,s)=>s.create(i),null)}get tabSize(){return this.facet(bt.tabSize)}get lineBreak(){return this.facet(bt.lineSeparator)||` `}get readOnly(){return this.facet(QD)}phrase(t,...n){for(let r of this.facet(bt.phrases))if(Object.prototype.hasOwnProperty.call(r,t)){t=r[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(r,o)=>{if(o=="$")return"$";let i=+(o||1);return!i||i>n.length?r:n[i-1]})),t}languageDataAt(t,n,r=-1){let o=[];for(let i of this.facet(RD))for(let s of i(this,n,r))Object.prototype.hasOwnProperty.call(s,t)&&o.push(s[t]);return o}charCategorizer(t){return c0e(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:n,from:r,length:o}=this.doc.lineAt(t),i=this.charCategorizer(t),s=t-r,a=t-r;for(;s>0;){let l=vr(n,s,!1);if(i(n.slice(l,s))!=wn.Word)break;s=l}for(;ae.length?e[0]:4});bt.lineSeparator=ID;bt.readOnly=QD;bt.phrases=Pe.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(o=>e[o]==t[o])}});bt.languageData=RD;bt.changeFilter=LD;bt.transactionFilter=ND;bt.transactionExtender=DD;rm.reconfigure=ft.define();function Ms(e,t,n={}){let r={};for(let o of e)for(let i of Object.keys(o)){let s=o[i],a=r[i];if(a===void 0)r[i]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(n,i))r[i]=n[i](a,s);else throw new Error("Config merge conflict for field "+i)}for(let o in t)r[o]===void 0&&(r[o]=t[o]);return r}class vl{eq(t){return this==t}range(t,n=t){return Z_.create(t,n,this)}}vl.prototype.startSide=vl.prototype.endSide=0;vl.prototype.point=!1;vl.prototype.mapMode=Hr.TrackDel;let Z_=class jD{constructor(t,n,r){this.from=t,this.to=n,this.value=r}static create(t,n,r){return new jD(t,n,r)}};function V_(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class CE{constructor(t,n,r,o){this.from=t,this.to=n,this.value=r,this.maxPoint=o}get length(){return this.to[this.to.length-1]}findIndex(t,n,r,o=0){let i=r?this.to:this.from;for(let s=o,a=i.length;;){if(s==a)return s;let l=s+a>>1,c=i[l]-t||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(t,n,r,o){for(let i=this.findIndex(n,-1e9,!0),s=this.findIndex(r,1e9,!1,i);ih||f==h&&c.startSide>0&&c.endSide<=0)continue;(h-f||c.endSide-c.startSide)<0||(s<0&&(s=f),c.point&&(a=Math.max(a,h-f)),r.push(c),o.push(f-s),i.push(h-s))}return{mapped:r.length?new CE(o,i,r,a):null,pos:s}}}class Tt{constructor(t,n,r,o){this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=o}static create(t,n,r,o){return new Tt(t,n,r,o)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let n of this.chunk)t+=n.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:n=[],sort:r=!1,filterFrom:o=0,filterTo:i=this.length}=t,s=t.filter;if(n.length==0&&!s)return this;if(r&&(n=n.slice().sort(V_)),this.isEmpty)return n.length?Tt.of(n):this;let a=new WD(this,null,-1).goto(0),l=0,c=[],u=new wl;for(;a.value||l=0){let d=n[l++];u.addInner(d.from,d.to,d.value)||c.push(d)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||ia.to||i=i&&t<=i+s.length&&s.between(i,t-i,n-i,r)===!1)return}this.nextLayer.between(t,n,r)}}iter(t=0){return op.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,n=0){return op.from(t).goto(n)}static compare(t,n,r,o,i=-1){let s=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),a=n.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=i),l=KA(s,a,r),c=new $f(s,l,i),u=new $f(a,l,i);r.iterGaps((d,f,h)=>JA(c,d,u,f,h,o)),r.empty&&r.length==0&&JA(c,0,u,0,0,o)}static eq(t,n,r=0,o){o==null&&(o=999999999);let i=t.filter(u=>!u.isEmpty&&n.indexOf(u)<0),s=n.filter(u=>!u.isEmpty&&t.indexOf(u)<0);if(i.length!=s.length)return!1;if(!i.length)return!0;let a=KA(i,s),l=new $f(i,a,0).goto(r),c=new $f(s,a,0).goto(r);for(;;){if(l.to!=c.to||!X_(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>o)return!0;l.next(),c.next()}}static spans(t,n,r,o,i=-1){let s=new $f(t,null,i).goto(n),a=n,l=s.openStart;for(;;){let c=Math.min(s.to,r);if(s.point){let u=s.activeForPoint(s.to),d=s.pointFroma&&(o.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>r)return l+(s.point&&s.to>r?1:0);a=s.to,s.next()}}static of(t,n=!1){let r=new wl;for(let o of t instanceof Z_?[t]:n?u0e(t):t)r.add(o.from,o.to,o.value);return r.finish()}static join(t){if(!t.length)return Tt.empty;let n=t[t.length-1];for(let r=t.length-2;r>=0;r--)for(let o=t[r];o!=Tt.empty;o=o.nextLayer)n=new Tt(o.chunkPos,o.chunk,n,Math.max(o.maxPoint,n.maxPoint));return n}}Tt.empty=new Tt([],[],null,-1);function u0e(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(V_);t=r}return e}Tt.empty.nextLayer=Tt.empty;class wl{finishChunk(t){this.chunks.push(new CE(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,n,r){this.addInner(t,n,r)||(this.nextLayer||(this.nextLayer=new wl)).add(t,n,r)}addInner(t,n,r){let o=t-this.lastTo||r.startSide-this.last.endSide;if(o<=0&&(t-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return o<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=t,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-t)),!0)}addChunk(t,n){if((t-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(t);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+t,this.lastTo=n.to[r]+t,!0}finish(){return this.finishInner(Tt.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let n=Tt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,n}}function KA(e,t,n){let r=new Map;for(let i of e)for(let s=0;s=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&o.push(new WD(s,n,r,i));return o.length==1?o[0]:new op(o)}get startSide(){return this.value?this.value.startSide:0}goto(t,n=-1e9){for(let r of this.heap)r.goto(t,n);for(let r=this.heap.length>>1;r>=0;r--)xw(this.heap,r);return this.next(),this}forward(t,n){for(let r of this.heap)r.forward(t,n);for(let r=this.heap.length>>1;r>=0;r--)xw(this.heap,r);(this.to-t||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),xw(this.heap,0)}}}function xw(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let o=e[r];if(r+1=0&&(o=e[r+1],r++),n.compare(o)<0)break;e[r]=n,e[t]=o,t=r}}class $f{constructor(t,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=op.from(t,n,r)}goto(t,n=-1e9){return this.cursor.goto(t,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=n,this.openStart=-1,this.next(),this}forward(t,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(t,n)}removeActive(t){Km(this.active,t),Km(this.activeTo,t),Km(this.activeRank,t),this.minActive=e$(this.active,this.activeTo)}addActive(t){let n=0,{value:r,to:o,rank:i}=this.cursor;for(;n0;)n++;Jm(this.active,n,r),Jm(this.activeTo,n,o),Jm(this.activeRank,n,i),t&&Jm(t,n,this.cursor.from),this.minActive=e$(this.active,this.activeTo)}next(){let t=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let o=this.minActive;if(o>-1&&(this.activeTo[o]-this.cursor.from||this.active[o].endSide-this.cursor.startSide)<0){if(this.activeTo[o]>t){this.to=this.activeTo[o],this.endSide=this.active[o].endSide;break}this.removeActive(o),r&&Km(r,o)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let i=this.cursor.value;if(!i.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[o]=0&&!(this.activeRank[r]t||this.activeTo[r]==t&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(t){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>t;r--)n++;return n}}function JA(e,t,n,r,o,i){e.goto(t),n.goto(r);let s=r+o,a=r,l=r-t;for(;;){let c=e.to+l-n.to||e.endSide-n.endSide,u=c<0?e.to+l:n.to,d=Math.min(u,s);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&X_(e.activeForPoint(e.to),n.activeForPoint(n.to))||i.comparePoint(a,d,e.point,n.point):d>a&&!X_(e.active,n.active)&&i.compareRange(a,d,e.active,n.active),u>s)break;a=u,c<=0&&e.next(),c>=0&&n.next()}}function X_(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;r--)e[r+1]=e[r];e[t]=n}function e$(e,t){let n=-1,r=1e9;for(let o=0;o=t)return o;if(o==e.length)break;i+=e.charCodeAt(o)==9?n-i%n:1,o=vr(e,o)}return r===!0?-1:e.length}const Y_="ͼ",t$=typeof Symbol>"u"?"__"+Y_:Symbol.for(Y_),G_=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),n$=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Sl{constructor(t,n){this.rules=[];let{finish:r}=n||{};function o(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function i(s,a,l,c){let u=[],d=/^@(\w+)\b/.exec(s[0]),f=d&&d[1]=="keyframes";if(d&&a==null)return l.push(s[0]+";");for(let h in a){let p=a[h];if(/&/.test(h))i(h.split(/,\s*/).map(m=>s.map(O=>m.replace(/&/,O))).reduce((m,O)=>m.concat(O)),p,l);else if(p&&typeof p=="object"){if(!d)throw new RangeError("The value of a property ("+h+") should be a primitive value.");i(o(h),p,u,f)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(u.length||f)&&l.push((r&&!d&&!c?s.map(r):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in t)i(o(s),t[s],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let t=n$[t$]||1;return n$[t$]=t+1,Y_+t.toString(36)}static mount(t,n,r){let o=t[G_],i=r&&r.nonce;o?i&&o.setNonce(i):o=new d0e(t,i),o.mount(Array.isArray(n)?n:[n],t)}}let r$=new Map;class d0e{constructor(t,n){let r=t.ownerDocument||t,o=r.defaultView;if(!t.head&&t.adoptedStyleSheets&&o.CSSStyleSheet){let i=r$.get(r);if(i)return t[G_]=i;this.sheet=new o.CSSStyleSheet,r$.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],t[G_]=this}mount(t,n){let r=this.sheet,o=0,i=0;for(let s=0;s-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,a),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},f0e=typeof navigator<"u"&&/Mac/.test(navigator.platform),h0e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var br=0;br<10;br++)_l[48+br]=_l[96+br]=String(br);for(var br=1;br<=24;br++)_l[br+111]="F"+br;for(var br=65;br<=90;br++)_l[br]=String.fromCharCode(br+32),ip[br]=String.fromCharCode(br);for(var Ew in _l)ip.hasOwnProperty(Ew)||(ip[Ew]=_l[Ew]);function p0e(e){var t=f0e&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||h0e&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?ip:_l)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function sp(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function K_(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function m0e(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function sb(e,t){if(!t.anchorNode)return!1;try{return K_(e,t.anchorNode)}catch{return!1}}function gd(e){return e.nodeType==3?Dc(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function kh(e,t,n,r){return n?o$(e,t,n,r,-1)||o$(e,t,n,r,1):!1}function Nc(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function w0(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function o$(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:ha(e))){if(e.nodeName=="DIV")return!1;let i=e.parentNode;if(!i||i.nodeType!=1)return!1;t=Nc(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=o<0?ha(e):0}else return!1}}function ha(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function om(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function g0e(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function FD(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function b0e(e,t,n,r,o,i,s,a){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let f,h=u==l.body,p=1,m=1;if(h)f=g0e(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let b=u.getBoundingClientRect();({scaleX:p,scaleY:m}=FD(u,b)),f={left:b.left,right:b.left+u.clientWidth*p,top:b.top,bottom:b.top+u.clientHeight*m}}let O=0,g=0;if(o=="nearest")t.top0&&t.bottom>f.bottom+g&&(g=t.bottom-f.bottom+g+s)):t.bottom>f.bottom&&(g=t.bottom-f.bottom+s,n<0&&t.top-g0&&t.right>f.right+O&&(O=t.right-f.right+O+i)):t.right>f.right&&(O=t.right-f.right+i,n<0&&t.lefto.clientHeight&&(r=o),!n&&o.scrollWidth>o.clientWidth&&(n=o),o=o.assignedSlot||o.parentNode;else if(o.nodeType==11)o=o.host;else break;return{x:n,y:r}}class y0e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:n,focusNode:r}=t;this.set(n,Math.min(t.anchorOffset,n?ha(n):0),r,Math.min(t.focusOffset,r?ha(r):0))}set(t,n,r,o){this.anchorNode=t,this.anchorOffset=n,this.focusNode=r,this.focusOffset=o}}let mu=null;function qD(e){if(e.setActive)return e.setActive();if(mu)return e.focus(mu);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(mu==null?{get preventScroll(){return mu={preventScroll:!0},!0}}:void 0),!mu){mu=!1;for(let n=0;nMath.max(1,e.scrollHeight-e.clientHeight-4)}function VD(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=ha(n)}else if(n.parentNode&&!w0(n))r=Nc(n),n=n.parentNode;else return null}}function XD(e,t){for(let n=e,r=t;;){if(n.nodeType==3&&rn)return d.domBoundsAround(t,n,c);if(f>=t&&o==-1&&(o=l,i=c),c>n&&d.dom.parentNode==this.dom){s=l,a=u;break}u=f,c=f+d.breakAfter}return{from:i,to:a<0?r+this.length:a,startDOM:(o?this.children[o-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s=0?this.children[s].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let n=this.parent;n;n=n.parent){if(t&&(n.flags|=2),n.flags&1)return;n.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.flags&7&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let n=t.parent;if(!n)return t;t=n}}replaceChildren(t,n,r=PE){this.markDirty();for(let o=t;othis.pos||t==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function YD(e,t,n,r,o,i,s,a,l){let{children:c}=e,u=c.length?c[t]:null,d=i.length?i[i.length-1]:null,f=d?d.breakAfter:s;if(!(t==r&&u&&!s&&!f&&i.length<2&&u.merge(n,o,i.length?d:null,n==0,a,l))){if(r0&&(!s&&i.length&&u.merge(n,u.length,i[0],!1,a,0)?u.breakAfter=i.shift().breakAfter:(n2);var Re={mac:c$||/Mac/.test(fo.platform),windows:/Win/.test(fo.platform),linux:/Linux|X11/.test(fo.platform),ie:vy,ie_version:KD?J_.documentMode||6:tk?+tk[1]:ek?+ek[1]:0,gecko:a$,gecko_version:a$?+(/Firefox\/(\d+)/.exec(fo.userAgent)||[0,0])[1]:0,chrome:!!Tw,chrome_version:Tw?+Tw[1]:0,ios:c$,android:/Android\b/.test(fo.userAgent),webkit:l$,safari:JD,webkit_version:l$?+(/\bAppleWebKit\/(\d+)/.exec(fo.userAgent)||[0,0])[1]:0,tabSize:J_.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const S0e=256;class Bi extends Gt{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){t.nodeType==3&&this.createDOM(t)}merge(t,n,r){return this.flags&8||r&&(!(r instanceof Bi)||this.length-(n-t)+r.length>S0e||r.flags&8)?!1:(this.text=this.text.slice(0,t)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(t){let n=new Bi(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(t,n){return t==this.dom?n:n?this.text.length:0}domAtPos(t){return new $r(this.dom,t)}domBoundsAround(t,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,n){return _0e(this.dom,t,n)}}class pa extends Gt{constructor(t,n=[],r=0){super(),this.mark=t,this.children=n,this.length=r;for(let o of n)o.setParent(this)}setAttrs(t){if(UD(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)t.setAttribute(n,this.mark.attrs[n]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!((this.flags|t.flags)&8)}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,n)}merge(t,n,r,o,i,s){return r&&(!(r instanceof pa&&r.mark.eq(this.mark))||t&&i<=0||nt&&n.push(r=t&&(o=i),r=l,i++}let s=this.length-t;return this.length=t,o>-1&&(this.children.length=o,this.markDirty()),new pa(this.mark,n,s)}domAtPos(t){return e9(this,t)}coordsAt(t,n){return n9(this,t,n)}}function _0e(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let o=t,i=t,s=0;t==0&&n<0||t==r&&n>=0?Re.chrome||Re.gecko||(t?(o--,s=1):i=0)?0:a.length-1];return Re.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?om(l,s<0):l||null}class ll extends Gt{static create(t,n,r){return new ll(t,n,r)}constructor(t,n,r){super(),this.widget=t,this.length=n,this.side=r,this.prevWidget=null}split(t){let n=ll.create(this.widget,this.length-t,this.side);return this.length-=t,n}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,n,r,o,i,s){return r&&(!(r instanceof ll)||!this.widget.compare(r.widget)||t>0&&i<=0||n0)?$r.before(this.dom):$r.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,n){let r=this.widget.coordsAt(this.dom,t,n);if(r)return r;let o=this.dom.getClientRects(),i=null;if(!o.length)return null;let s=this.side?this.side<0:t>0;for(let a=s?o.length-1:0;i=o[a],!(t>0?a==0:a==o.length-1||i.top0?$r.before(this.dom):$r.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Pt.empty}get isHidden(){return!0}}Bi.prototype.children=ll.prototype.children=bd.prototype.children=PE;function e9(e,t){let n=e.dom,{children:r}=e,o=0;for(let i=0;oi&&t0;i--){let s=r[i-1];if(s.dom.parentNode==n)return s.domAtPos(s.length)}for(let i=o;i0&&t instanceof pa&&o.length&&(r=o[o.length-1])instanceof pa&&r.mark.eq(t.mark)?t9(r,t.children[0],n-1):(o.push(t),t.setParent(e)),e.length+=t.length}function n9(e,t,n){let r=null,o=-1,i=null,s=-1;function a(c,u){for(let d=0,f=0;d=u&&(h.children.length?a(h,u-f):(!i||i.isHidden&&n>0)&&(p>u||f==p&&h.getSide()>0)?(i=h,s=u-f):(f-1?1:0)!=o.length-(n&&o.indexOf(n)>-1?1:0))return!1;for(let i of r)if(i!=n&&(o.indexOf(i)==-1||e[i]!==t[i]))return!1;return!0}function rk(e,t,n){let r=!1;if(t)for(let o in t)n&&o in n||(r=!0,o=="style"?e.style.cssText="":e.removeAttribute(o));if(n)for(let o in n)t&&t[o]==n[o]||(r=!0,o=="style"?e.style.cssText=n[o]:e.setAttribute(o,n[o]));return r}function x0e(e){let t=Object.create(null);for(let n=0;n0?3e8:-4e8:n>0?1e8:-1e8,new kl(t,n,n,r,t.widget||null,!1)}static replace(t){let n=!!t.block,r,o;if(t.isBlockGap)r=-5e8,o=4e8;else{let{start:i,end:s}=r9(t,n);r=(i?n?-3e8:-1:5e8)-1,o=(s?n?2e8:1:-6e8)+1}return new kl(t,r,o,n,t.widget||null,!0)}static line(t){return new sm(t)}static set(t,n=!1){return Tt.of(t,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ze.none=Tt.empty;class im extends Ze{constructor(t){let{start:n,end:r}=r9(t);super(n?-1:5e8,r?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var n,r;return this==t||t instanceof im&&this.tagName==t.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(t.class||((r=t.attrs)===null||r===void 0?void 0:r.class))&&S0(this.attrs,t.attrs,"class")}range(t,n=t){if(t>=n)throw new RangeError("Mark decorations may not be empty");return super.range(t,n)}}im.prototype.point=!1;class sm extends Ze{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof sm&&this.spec.class==t.spec.class&&S0(this.spec.attributes,t.spec.attributes)}range(t,n=t){if(n!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,n)}}sm.prototype.mapMode=Hr.TrackBefore;sm.prototype.point=!0;class kl extends Ze{constructor(t,n,r,o,i,s){super(n,r,i,t),this.block=o,this.isReplace=s,this.mapMode=o?n<=0?Hr.TrackBefore:Hr.TrackAfter:Hr.TrackDel}get type(){return this.startSide!=this.endSide?to.WidgetRange:this.startSide<=0?to.WidgetBefore:to.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof kl&&E0e(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,n=t){if(this.isReplace&&(t>n||t==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,n)}}kl.prototype.point=!0;function r9(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n==null&&(n=e.inclusive),r==null&&(r=e.inclusive),{start:n??t,end:r??t}}function E0e(e,t){return e==t||!!(e&&t&&e.compare(t))}function ok(e,t,n,r=0){let o=n.length-1;o>=0&&n[o]+r>=e?n[o]=Math.max(n[o],t):n.push(e,t)}class Nn extends Gt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,n,r,o,i,s){if(r){if(!(r instanceof Nn))return!1;this.dom||r.transferDOM(this)}return o&&this.setDeco(r?r.attrs:null),GD(this,t,n,r?r.children.slice():[],i,s),!0}split(t){let n=new Nn;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:o}=this.childPos(t);o&&(n.append(this.children[r].split(o),0),this.children[r].merge(o,this.children[r].length,null,!1,0,0),r++);for(let i=r;i0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=t,n}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){S0(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,n){t9(this,t,n)}addLineDeco(t){let n=t.spec.attributes,r=t.spec.class;n&&(this.attrs=nk(n,this.attrs||{})),r&&(this.attrs=nk({class:r},this.attrs||{}))}domAtPos(t){return e9(this,t)}reuseDOM(t){t.nodeName=="DIV"&&(this.setDOM(t),this.flags|=6)}sync(t,n){var r;this.dom?this.flags&4&&(UD(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(rk(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,n);let o=this.dom.lastChild;for(;o&&Gt.get(o)instanceof pa;)o=o.lastChild;if(!o||!this.length||o.nodeName!="BR"&&((r=Gt.get(o))===null||r===void 0?void 0:r.isEditable)==!1&&(!Re.ios||!this.children.some(i=>i instanceof Bi))){let i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let t=0,n;for(let r of this.children){if(!(r instanceof Bi)||/[^ -~]/.test(r.text))return null;let o=gd(r.dom);if(o.length!=1)return null;t+=o[0].width,n=o[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:n}:null}coordsAt(t,n){let r=n9(this,t,n);if(!this.children.length&&r&&this.parent){let{heightOracle:o}=this.parent.view.viewState,i=r.bottom-r.top;if(Math.abs(i-o.lineHeight)<2&&o.textHeight=n){if(i instanceof Nn)return i;if(s>n)break}o=s+i.breakAfter}return null}}class ia extends Gt{constructor(t,n,r){super(),this.widget=t,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(t,n,r,o,i,s){return r&&(!(r instanceof ia)||!this.widget.compare(r.widget)||t>0&&i<=0||n0}}class ik extends Ca{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class xh{constructor(t,n,r,o){this.doc=t,this.pos=n,this.end=r,this.disallowBlockEffectsFor=o,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof ia&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Nn),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(eg(new bd(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(t&&this.content.length&&this.content[this.content.length-1]instanceof ia)&&this.getLine()}buildText(t,n,r){for(;t>0;){if(this.textOff==this.text.length){let{value:i,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}else this.text=i,this.textOff=0}let o=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(eg(new Bi(this.text.slice(this.textOff,this.textOff+o)),n),r),this.atCursorPos=!0,this.textOff+=o,t-=o,r=0}}span(t,n,r,o){this.buildText(n-t,r,o),this.pos=n,this.openStart<0&&(this.openStart=o)}point(t,n,r,o,i,s){if(this.disallowBlockEffectsFor[s]&&r instanceof kl){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=n-t;if(r instanceof kl)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new ia(r.widget||Od.block,a,r));else{let l=ll.create(r.widget||Od.inline,a,a?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&i<=o.length&&(t0),u=!l.isEditable&&(to.length||r.startSide<=0),d=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(o),c&&(d.append(eg(new bd(1),o),i),i=o.length+Math.max(0,i-o.length)),d.append(eg(l,o),i),this.atCursorPos=u,this.pendingBuffer=u?to.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=o.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=i)}static build(t,n,r,o,i){let s=new xh(t,n,r,i);return s.openEnd=Tt.spans(o,n,r,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}}function eg(e,t){for(let n of t)e=new pa(n,[e],e.length);return e}class Od extends Ca{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}Od.inline=new Od("span");Od.block=new Od("div");var Kt=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Kt||(Kt={}));const Qc=Kt.LTR,AE=Kt.RTL;function o9(e){let t=[];for(let n=0;n=n){if(a.level==r)return s;(i<0||(o!=0?o<0?a.fromn:t[i].level>a.level))&&(i=s)}}if(i<0)throw new RangeError("Index out of range");return i}}function s9(e,t){if(e.length!=t.length)return!1;for(let n=0;n=0;m-=3)if(Ji[m+1]==-h){let O=Ji[m+2],g=O&2?o:O&4?O&1?i:o:0;g&&(Yt[d]=Yt[Ji[m]]=g),a=m;break}}else{if(Ji.length==189)break;Ji[a++]=d,Ji[a++]=f,Ji[a++]=l}else if((p=Yt[d])==2||p==1){let m=p==o;l=m?0:1;for(let O=a-3;O>=0;O-=3){let g=Ji[O+2];if(g&2)break;if(m)Ji[O+2]|=2;else{if(g&4)break;Ji[O+2]|=4}}}}}function M0e(e,t,n,r){for(let o=0,i=r;o<=n.length;o++){let s=o?n[o-1].to:e,a=ol;)p==O&&(p=n[--m].from,O=m?n[m-1].to:e),Yt[--p]=h;l=u}else i=c,l++}}}function ak(e,t,n,r,o,i,s){let a=r%2?2:1;if(r%2==o%2)for(let l=t,c=0;ll&&s.push(new cl(l,m.from,h));let O=m.direction==Qc!=!(h%2);lk(e,O?r+1:r,o,m.inner,m.from,m.to,s),l=m.to}p=m.to}else{if(p==n||(u?Yt[p]!=a:Yt[p]==a))break;p++}f?ak(e,l,p,r+1,o,f,s):lt;){let u=!0,d=!1;if(!c||l>i[c-1].to){let m=Yt[l-1];m!=a&&(u=!1,d=m==16)}let f=!u&&a==1?[]:null,h=u?r:r+1,p=l;e:for(;;)if(c&&p==i[c-1].to){if(d)break e;let m=i[--c];if(!u)for(let O=m.from,g=c;;){if(O==t)break e;if(g&&i[g-1].to==O)O=i[--g].from;else{if(Yt[O-1]==a)break e;break}}if(f)f.push(m);else{m.toYt.length;)Yt[Yt.length]=256;let r=[],o=t==Qc?0:1;return lk(e,o,o,n,0,e.length,r),r}function a9(e){return[new cl(0,e,0)]}let l9="";function I0e(e,t,n,r,o){var i;let s=r.head-e.from,a=cl.find(t,s,(i=r.bidiLevel)!==null&&i!==void 0?i:-1,r.assoc),l=t[a],c=l.side(o,n);if(s==c){let f=a+=o?1:-1;if(f<0||f>=t.length)return null;l=t[a=f],s=l.side(!o,n),c=l.side(o,n)}let u=vr(e.text,s,l.forward(o,n));(ul.to)&&(u=c),l9=e.text.slice(Math.min(s,u),Math.max(s,u));let d=a==(o?t.length-1:0)?null:t[a+(o?1:-1)];return d&&u==c&&d.level+(o?0:1)e.some(t=>t)}),g9=Pe.define({combine:e=>e.some(t=>t)}),b9=Pe.define();class Xu{constructor(t,n="nearest",r="nearest",o=5,i=5,s=!1){this.range=t,this.y=n,this.x=r,this.yMargin=o,this.xMargin=i,this.isSnapshot=s}map(t){return t.empty?this:new Xu(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new Xu(be.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const tg=ft.define({map:(e,t)=>e.map(t)}),O9=ft.define();function Gr(e,t,n){let r=e.facet(f9);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}const nl=Pe.define({combine:e=>e.length?e[0]:!0});let N0e=0;const Yf=Pe.define();class Cn{constructor(t,n,r,o,i){this.id=t,this.create=n,this.domEventHandlers=r,this.domEventObservers=o,this.extension=i(this)}static define(t,n){const{eventHandlers:r,eventObservers:o,provide:i,decorations:s}=n||{};return new Cn(N0e++,t,r,o,a=>{let l=[Yf.of(a)];return s&&l.push(ap.of(c=>{let u=c.plugin(a);return u?s(u):Ze.none})),i&&l.push(i(a)),l})}static fromClass(t,n){return Cn.define(r=>new t(r),n)}}class Cw{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Gr(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(n){Gr(t.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Gr(t.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const y9=Pe.define(),RE=Pe.define(),ap=Pe.define(),v9=Pe.define(),IE=Pe.define(),w9=Pe.define();function d$(e,t){let n=e.state.facet(w9);if(!n.length)return n;let r=n.map(i=>i instanceof Function?i(e):i),o=[];return Tt.spans(r,t.from,t.to,{point(){},span(i,s,a,l){let c=i-t.from,u=s-t.from,d=o;for(let f=a.length-1;f>=0;f--,l--){let h=a[f].spec.bidiIsolate,p;if(h==null&&(h=L0e(t.text,c,u)),l>0&&d.length&&(p=d[d.length-1]).to==c&&p.direction==h)p.to=u,d=p.inner;else{let m={from:c,to:u,direction:h,inner:[]};d.push(m),d=m.inner}}}}),o}const S9=Pe.define();function _9(e){let t=0,n=0,r=0,o=0;for(let i of e.state.facet(S9)){let s=i(e);s&&(s.left!=null&&(t=Math.max(t,s.left)),s.right!=null&&(n=Math.max(n,s.right)),s.top!=null&&(r=Math.max(r,s.top)),s.bottom!=null&&(o=Math.max(o,s.bottom)))}return{left:t,right:n,top:r,bottom:o}}const Gf=Pe.define();class li{constructor(t,n,r,o){this.fromA=t,this.toA=n,this.fromB=r,this.toB=o}join(t){return new li(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let n=t.length,r=this;for(;n>0;n--){let o=t[n-1];if(!(o.fromA>r.toA)){if(o.toAu)break;i+=2}if(!l)return r;new li(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),s=l.toA,a=l.toB}}}class _0{constructor(t,n,r){this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=Fn.empty(this.startState.doc.length);for(let i of r)this.changes=this.changes.compose(i.changes);let o=[];this.changes.iterChangedRanges((i,s,a,l)=>o.push(new li(i,s,a,l))),this.changedRanges=o}static create(t,n,r){return new _0(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class f$ extends Gt{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=Ze.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new Nn],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new li(0,0,0,t.state.doc.length)],0,null)}update(t){var n;let r=t.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:u})=>uthis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let o=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?o=this.domChanged.newSel.head:!F0e(t.changes,this.hasComposition)&&!t.selectionSet&&(o=t.state.selection.main.head));let i=o>-1?Q0e(this.view,t.changes,o):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;r=new li(c,u,t.changes.mapPos(c,-1),t.changes.mapPos(u,1)).addToSet(r.slice())}this.hasComposition=i?{from:i.range.fromB,to:i.range.toB}:null,(Re.ie||Re.chrome)&&!i&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=j0e(s,a,t.changes);return r=li.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,t.startState.doc.length,i),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,n,r);let{observer:o}=this.view;o.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Re.chrome||Re.ios?{node:o.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||o.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let i=[];if(this.view.viewport.from||this.view.viewport.to=0?o[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:d}=a,f,h,p,m;if(r&&r.range.fromBu){let y=xh.build(this.view.state.doc,u,r.range.fromB,this.decorations,this.dynamicDecorationMap),w=xh.build(this.view.state.doc,r.range.toB,d,this.decorations,this.dynamicDecorationMap);h=y.breakAtStart,p=y.openStart,m=w.openEnd;let S=this.compositionView(r);w.breakAtStart?S.breakAfter=1:w.content.length&&S.merge(S.length,S.length,w.content[0],!1,w.openStart,0)&&(S.breakAfter=w.content[0].breakAfter,w.content.shift()),y.content.length&&S.merge(0,0,y.content[y.content.length-1],!0,0,y.openEnd)&&y.content.pop(),f=y.content.concat(S).concat(w.content)}else({content:f,breakAtStart:h,openStart:p,openEnd:m}=xh.build(this.view.state.doc,u,d,this.decorations,this.dynamicDecorationMap));let{i:O,off:g}=i.findPos(c,1),{i:b,off:v}=i.findPos(l,-1);YD(this,b,v,O,g,f,h,p,m)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let n of t.transactions)for(let r of n.effects)r.is(O9)&&(this.editContextFormatting=r.value)}compositionView(t){let n=new Bi(t.text.nodeValue);n.flags|=8;for(let{deco:o}of t.marks)n=new pa(o,[n],n.length);let r=new Nn;return r.append(n,0),r}fixCompositionDOM(t){let n=(i,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=Gt.get(i);a&&a!=s&&(a.dom=null),s.setDOM(i)},r=this.childPos(t.range.fromB,1),o=this.children[r.i];n(t.line,o);for(let i=t.marks.length-1;i>=-1;i--)r=o.childPos(r.off,1),o=o.children[r.i],n(i>=0?t.marks[i].node:t.text,o)}updateSelection(t=!1,n=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,o=r==this.dom,i=!o&&sb(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(o||n||i))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Re.gecko&&a.empty&&!this.hasComposition&&D0e(l)){let d=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(d,l.node.childNodes[l.offset]||null)),l=c=new $r(d,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!kh(l.node,l.offset,u.anchorNode,u.anchorOffset)||!kh(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Re.android&&Re.chrome&&this.dom.contains(u.focusNode)&&W0e(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let d=sp(this.view.root);if(d)if(a.empty){if(Re.gecko){let f=B0e(l.node,l.offset);if(f&&f!=3){let h=(f==1?VD:XD)(l.node,l.offset);h&&(l=new $r(h.node,h.offset))}}d.collapse(l.node,l.offset),a.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=a.bidiLevel)}else if(d.extend){d.collapse(l.node,l.offset);try{d.extend(c.node,c.offset)}catch{}}else{let f=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),f.setEnd(c.node,c.offset),f.setStart(l.node,l.offset),d.removeAllRanges(),d.addRange(f)}i&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new $r(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new $r(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(t,n){return this.hasComposition&&n.empty&&kh(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,n=t.state.selection.main,r=sp(t.root),{anchorNode:o,anchorOffset:i}=t.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let s=Nn.find(this,n.head);if(!s)return;let a=s.posAtStart;if(n.head==a||n.head==a+s.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(n.head+n.assoc);r.collapse(u.node,u.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let d=t.observer.selectionRange;t.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=n.from&&r.collapse(o,i)}moveToLine(t){let n=this.dom,r;if(t.node!=n)return t;for(let o=t.offset;!r&&o=0;o--){let i=Gt.get(n.childNodes[o]);i instanceof Nn&&(r=i.domAtPos(i.length))}return r?new $r(r.node,r.offset,!0):t}nearest(t){for(let n=t;n;){let r=Gt.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(t,n){let r=this.nearest(t);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(t,n)+r.posAtStart}domAtPos(t){let{i:n,off:r}=this.childCursor().findPos(t,-1);for(;n=0;s--){let a=this.children[s],l=i-a.breakAfter,c=l-a.length;if(lt||a.covers(1))&&(!r||a instanceof Nn&&!(r instanceof Nn&&n>=0)))r=a,o=c;else if(r&&c==t&&l==t&&a instanceof ia&&Math.abs(n)<2){if(a.deco.startSide<0)break;s&&(r=null)}i=c}return r?r.coordsAt(t-o,n):null}coordsForChar(t){let{i:n,off:r}=this.childPos(t,1),o=this.children[n];if(!(o instanceof Nn))return null;for(;o.children.length;){let{i:a,off:l}=o.childPos(r,1);for(;;a++){if(a==o.children.length)return null;if((o=o.children[a]).length)break}r=l}if(!(o instanceof Bi))return null;let i=vr(o.text,r);if(i==r)return null;let s=Dc(o.dom,r,i).getClientRects();for(let a=0;aMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==Kt.LTR;for(let c=0,u=0;uo)break;if(c>=r){let h=d.dom.getBoundingClientRect();if(n.push(h.height),s){let p=d.dom.lastChild,m=p?gd(p):[];if(m.length){let O=m[m.length-1],g=l?O.right-h.left:h.right-O.left;g>a&&(a=g,this.minWidth=i,this.minWidthFrom=c,this.minWidthTo=f)}}}c=f+d.breakAfter}return n}textDirectionAt(t){let{i:n}=this.childPos(t,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?Kt.RTL:Kt.LTR}measureTextSize(){for(let i of this.children)if(i instanceof Nn){let s=i.measureTextSize();if(s)return s}let t=document.createElement("div"),n,r,o;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);let i=gd(t.firstChild)[0];n=t.getBoundingClientRect().height,r=i?i.width/27:7,o=i?i.height:n,t.remove()}),{lineHeight:n,charWidth:r,textHeight:o}}childCursor(t=this.length){let n=this.children.length;return n&&(t-=this.children[--n].length),new HD(this.children,t,n)}computeBlockGapDeco(){let t=[],n=this.view.viewState;for(let r=0,o=0;;o++){let i=o==n.viewports.length?null:n.viewports[o],s=i?i.from-1:this.length;if(s>r){let a=(n.lineBlockAt(s).bottom-n.lineBlockAt(r).top)/this.view.scaleY;t.push(Ze.replace({widget:new ik(a),block:!0,inclusive:!0,isBlockGap:!0}).range(r,s))}if(!i)break;r=i.to+1}return Ze.set(t)}updateDeco(){let t=1,n=this.view.state.facet(ap).map(i=>(this.dynamicDecorationMap[t++]=typeof i=="function")?i(this.view):i),r=!1,o=this.view.state.facet(v9).map((i,s)=>{let a=typeof i=="function";return a&&(r=!0),a?i(this.view):i});for(o.length&&(this.dynamicDecorationMap[t++]=r,n.push(Tt.join(o))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];tn.anchor?-1:1),o;if(!r)return;!n.empty&&(o=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,o.left),top:Math.min(r.top,o.top),right:Math.max(r.right,o.right),bottom:Math.max(r.bottom,o.bottom)});let i=_9(this.view),s={left:r.left-i.left,top:r.top-i.top,right:r.right+i.right,bottom:r.bottom+i.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;b0e(this.view.scrollDOM,s,n.head{rt.from&&(n=!0)}),n}function q0e(e,t,n=1){let r=e.charCategorizer(t),o=e.doc.lineAt(t),i=t-o.from;if(o.length==0)return be.cursor(t);i==0?n=1:i==o.length&&(n=-1);let s=i,a=i;n<0?s=vr(o.text,i,!1):a=vr(o.text,i);let l=r(o.text.slice(s,a));for(;s>0;){let c=vr(o.text,s,!1);if(r(o.text.slice(c,s))!=l)break;s=c}for(;ae?t.left-e:Math.max(0,e-t.right)}function Z0e(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Pw(e,t){return e.topt.top+1}function h$(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function uk(e,t,n){let r,o,i,s,a=!1,l,c,u,d;for(let p=e.firstChild;p;p=p.nextSibling){let m=gd(p);for(let O=0;Ov||s==v&&i>b){r=p,o=g,i=b,s=v;let y=v?n0?O0)}b==0?n>g.bottom&&(!u||u.bottomg.top)&&(c=p,d=g):u&&Pw(u,g)?u=p$(u,g.bottom):d&&Pw(d,g)&&(d=h$(d,g.top))}}if(u&&u.bottom>=n?(r=l,o=u):d&&d.top<=n&&(r=c,o=d),!r)return{node:e,offset:0};let f=Math.max(o.left,Math.min(o.right,t));if(r.nodeType==3)return m$(r,f,n);if(a&&r.contentEditable!="false")return uk(r,f,n);let h=Array.prototype.indexOf.call(e.childNodes,r)+(t>=(o.left+o.right)/2?1:0);return{node:e,offset:h}}function m$(e,t,n){let r=e.nodeValue.length,o=-1,i=1e9,s=0;for(let a=0;an?u.top-n:n-u.bottom)-1;if(u.left-1<=t&&u.right+1>=t&&d=(u.left+u.right)/2,h=f;if((Re.chrome||Re.gecko)&&Dc(e,a).getBoundingClientRect().left==u.right&&(h=!f),d<=0)return{node:e,offset:a+(h?1:0)};o=a+(h?1:0),i=d}}}return{node:e,offset:o>-1?o:s>0?e.nodeValue.length:0}}function x9(e,t,n,r=-1){var o,i;let s=e.contentDOM.getBoundingClientRect(),a=s.top+e.viewState.paddingTop,l,{docHeight:c}=e.viewState,{x:u,y:d}=t,f=d-a;if(f<0)return 0;if(f>c)return e.state.doc.length;for(let y=e.viewState.heightOracle.textHeight/2,w=!1;l=e.elementAtHeight(f),l.type!=to.Text;)for(;f=r>0?l.bottom+y:l.top-y,!(f>=0&&f<=c);){if(w)return n?null:0;w=!0,r=-r}d=a+f;let h=l.from;if(he.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:g$(e,s,l,u,d);let p=e.dom.ownerDocument,m=e.root.elementFromPoint?e.root:p,O=m.elementFromPoint(u,d);O&&!e.contentDOM.contains(O)&&(O=null),O||(u=Math.max(s.left+1,Math.min(s.right-1,u)),O=m.elementFromPoint(u,d),O&&!e.contentDOM.contains(O)&&(O=null));let g,b=-1;if(O&&((o=e.docView.nearest(O))===null||o===void 0?void 0:o.isEditable)!=!1){if(p.caretPositionFromPoint){let y=p.caretPositionFromPoint(u,d);y&&({offsetNode:g,offset:b}=y)}else if(p.caretRangeFromPoint){let y=p.caretRangeFromPoint(u,d);y&&({startContainer:g,startOffset:b}=y,(!e.contentDOM.contains(g)||Re.safari&&V0e(g,b,u)||Re.chrome&&X0e(g,b,u))&&(g=void 0))}}if(!g||!e.docView.dom.contains(g)){let y=Nn.find(e.docView,h);if(!y)return f>l.top+l.height/2?l.to:l.from;({node:g,offset:b}=uk(y.dom,u,d))}let v=e.docView.nearest(g);if(!v)return null;if(v.isWidget&&((i=v.dom)===null||i===void 0?void 0:i.nodeType)==1){let y=v.dom.getBoundingClientRect();return t.ye.defaultLineHeight*1.5){let a=e.viewState.heightOracle.textHeight,l=Math.floor((o-n.top-(e.defaultLineHeight-a)*.5)/a);i+=l*e.viewState.heightOracle.lineLength}let s=e.state.sliceDoc(n.from,n.to);return n.from+H_(s,i,e.state.tabSize)}function V0e(e,t,n){let r;if(e.nodeType!=3||t!=(r=e.nodeValue.length))return!1;for(let o=e.nextSibling;o;o=o.nextSibling)if(o.nodeType!=1||o.nodeName!="BR")return!1;return Dc(e,r-1,r).getBoundingClientRect().left>n}function X0e(e,t,n){if(t!=0)return!1;for(let o=e;;){let i=o.parentNode;if(!i||i.nodeType!=1||i.firstChild!=o)return!1;if(i.classList.contains("cm-line"))break;o=i}let r=e.nodeType==1?e.getBoundingClientRect():Dc(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}function dk(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>t||r.to==t&&(r.to==n.to||r.type==to.Text))return r}return n}function H0e(e,t,n,r){let o=dk(e,t.head),i=!r||o.type!=to.Text||!(e.lineWrapping||o.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>o.from?t.head-1:t.head);if(i){let s=e.dom.getBoundingClientRect(),a=e.textDirectionAt(o.from),l=e.posAtCoords({x:n==(a==Kt.LTR)?s.right-1:s.left+1,y:(i.top+i.bottom)/2});if(l!=null)return be.cursor(l,n?-1:1)}return be.cursor(n?o.to:o.from,n?-1:1)}function b$(e,t,n,r){let o=e.state.doc.lineAt(t.head),i=e.bidiSpans(o),s=e.textDirectionAt(o.from);for(let a=t,l=null;;){let c=I0e(o,i,s,a,n),u=l9;if(!c){if(o.number==(n?e.state.doc.lines:1))return a;u=` `,o=e.state.doc.line(o.number+(n?1:-1)),i=e.bidiSpans(o),c=e.visualLineSide(o,!n)}if(l){if(!l(u))return a}else{if(!r)return c;l=r(u)}a=c}}function Y0e(e,t,n){let r=e.state.charCategorizer(t),o=r(n);return i=>{let s=r(i);return o==wn.Space&&(o=s),o==s}}function G0e(e,t,n,r){let o=t.head,i=n?1:-1;if(o==(n?e.state.doc.length:0))return be.cursor(o,t.assoc);let s=t.goalColumn,a,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(o,t.assoc||-1),u=e.documentTop;if(c)s==null&&(s=c.left-l.left),a=i<0?c.top:c.bottom;else{let h=e.viewState.lineBlockAt(o);s==null&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(o-h.from))),a=(i<0?h.top:h.bottom)+u}let d=l.left+s,f=r??e.viewState.heightOracle.textHeight>>1;for(let h=0;;h+=10){let p=a+(f+h)*i,m=x9(e,{x:d,y:p},!1,i);if(pl.bottom||(i<0?mo)){let O=e.docView.coordsForChar(m),g=!O||p{if(t>i&&to(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:be.cursor(r,ri)&&this.lineBreak(),o=s}return this.findPointBefore(r,n),this}readTextNode(t){let n=t.nodeValue;for(let r of this.points)r.node==t&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,o=this.lineSeparator?null:/\r\n?|\n/g;;){let i=-1,s=1,a;if(this.lineSeparator?(i=n.indexOf(this.lineSeparator,r),s=this.lineSeparator.length):(a=o.exec(n))&&(i=a.index,s=a[0].length),this.append(n.slice(r,i<0?n.length:i)),i<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=s-1);r=i+s}}readNode(t){if(t.cmIgnore)return;let n=Gt.get(t),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(t,r.length);for(let o=r.iter();!o.next().done;)o.lineBreak?this.lineBreak():this.append(o.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,n){for(let r of this.points)r.node==t&&t.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(t,n){for(let r of this.points)(t.nodeType==3?r.node==t:t.contains(r.node))&&(r.pos=this.text.length+(J0e(t,r.node,r.offset)?n:0))}}function J0e(e,t,n){for(;;){if(!t||n-1;let{impreciseHead:i,impreciseAnchor:s}=t.docView;if(t.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=t.docView.domBoundsAround(n,r,0))){let a=i||s?[]:rOe(t),l=new K0e(a,t.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=oOe(a,this.bounds.from)}else{let a=t.observer.selectionRange,l=i&&i.node==a.focusNode&&i.offset==a.focusOffset||!K_(t.contentDOM,a.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(a.focusNode,a.focusOffset),c=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!K_(t.contentDOM,a.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=t.viewport;if((Re.ios||Re.chrome)&&t.state.selection.main.empty&&l!=c&&(u.from>0||u.toDate.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:s,to:a}=t.bounds,l=o.from,c=null;(i===8||Re.android&&t.text.length=o.from&&n.to<=o.to&&(n.from!=o.from||n.to!=o.to)&&o.to-o.from-(n.to-n.from)<=4?n={from:o.from,to:o.to,insert:e.state.doc.slice(o.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,o.to))}:(Re.mac||Re.android)&&n&&n.from==n.to&&n.from==o.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=be.single(r.main.anchor-1,r.main.head-1)),n={from:o.from,to:o.to,insert:Pt.of([" "])}):Re.chrome&&n&&n.from==n.to&&n.from==o.head&&n.insert.toString()==` `&&e.lineWrapping&&(r&&(r=be.single(r.main.anchor-1,r.main.head-1)),n={from:o.from,to:o.to,insert:Pt.of([" "])}),n)return LE(e,n,r,i);if(r&&!r.main.eq(o)){let s=!1,a="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(s=!0),a=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:s,userEvent:a}),!0}else return!1}function LE(e,t,n,r=-1){if(Re.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main;if(Re.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&e.state.sliceDoc(t.from,o.from)==" ")&&t.insert.length==1&&t.insert.lines==2&&Vu(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&t.insert.length==0||r==8&&t.insert.lengtho.head)&&Vu(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&t.insert.length==0&&Vu(e.contentDOM,"Delete",46)))return!0;let i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let s,a=()=>s||(s=tOe(e,t,n));return e.state.facet(h9).some(l=>l(e,t.from,t.to,i,a))||e.dispatch(a()),!0}function tOe(e,t,n){let r,o=e.state,i=o.selection.main;if(t.from>=i.from&&t.to<=i.to&&t.to-t.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let a=i.fromt.to?o.sliceDoc(t.to,i.to):"";r=o.replaceSelection(e.state.toText(a+t.insert.sliceString(0,void 0,e.state.lineBreak)+l))}else{let a=o.changes(t),l=n&&n.main.to<=a.newLength?n.main:void 0;if(o.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=i.to&&t.to>=i.to-10){let c=e.state.sliceDoc(t.from,t.to),u,d=n&&k9(e,n.main.head);if(d){let p=t.insert.length-(t.to-t.from);u={from:d.from,to:d.to-p}}else u=e.state.doc.lineAt(i.head);let f=i.to-t.to,h=i.to-i.from;r=o.changeByRange(p=>{if(p.from==i.from&&p.to==i.to)return{changes:a,range:l||p.map(a)};let m=p.to-f,O=m-c.length;if(p.to-p.from!=h||e.state.sliceDoc(O,m)!=c||p.to>=u.from&&p.from<=u.to)return{range:p};let g=o.changes({from:O,to:m,insert:t.insert}),b=p.to-i.to;return{changes:g,range:l?be.range(Math.max(0,l.anchor+b),Math.max(0,l.head+b)):p.map(g)}})}else r={changes:a,selection:l&&o.selection.replaceRange(l)}}let s="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,s+=".compose",e.inputState.compositionFirstChange&&(s+=".start",e.inputState.compositionFirstChange=!1)),o.update(r,{userEvent:s,scrollIntoView:!0})}function nOe(e,t,n,r){let o=Math.min(e.length,t.length),i=0;for(;i0&&a>0&&e.charCodeAt(s-1)==t.charCodeAt(a-1);)s--,a--;if(r=="end"){let l=Math.max(0,i-Math.min(s,a));n-=s+l-i}if(s=s?i-n:0;i-=l,a=i+(a-s),s=i}else if(a=a?i-n:0;i-=l,s=i+(s-a),a=i}return{from:i,toA:s,toB:a}}function rOe(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}=e.observer.selectionRange;return n&&(t.push(new O$(n,r)),(o!=n||i!=r)&&t.push(new O$(o,i))),t}function oOe(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?be.single(n+t,r+t):null}class iOe{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,Re.safari&&t.contentDOM.addEventListener("input",()=>null),Re.gecko&&wOe(t.contentDOM.ownerDocument)}handleEvent(t){!hOe(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||this.runHandlers(t.type,t)}runHandlers(t,n){let r=this.handlers[t];if(r){for(let o of r.observers)o(this.view,n);for(let o of r.handlers){if(n.defaultPrevented)break;if(o(this.view,n)){n.preventDefault();break}}}}ensureHandlers(t){let n=sOe(t),r=this.handlers,o=this.view.contentDOM;for(let i in n)if(i!="scroll"){let s=!n[i].handlers.length,a=r[i];a&&s!=!a.handlers.length&&(o.removeEventListener(i,this.handleEvent),a=null),a||o.addEventListener(i,this.handleEvent,{passive:s})}for(let i in r)i!="scroll"&&!n[i]&&o.removeEventListener(i,this.handleEvent);this.handlers=n}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&t.keyCode!=27&&C9.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),Re.android&&Re.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let n;return Re.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((n=T9.find(r=>r.keyCode==t.keyCode))&&!t.ctrlKey||aOe.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(t){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&t&&t.from0?!0:Re.safari&&!Re.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function y$(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(o){Gr(n.state,o)}}}function sOe(e){let t=Object.create(null);function n(r){return t[r]||(t[r]={observers:[],handlers:[]})}for(let r of e){let o=r.spec;if(o&&o.domEventHandlers)for(let i in o.domEventHandlers){let s=o.domEventHandlers[i];s&&n(i).handlers.push(y$(r.value,s))}if(o&&o.domEventObservers)for(let i in o.domEventObservers){let s=o.domEventObservers[i];s&&n(i).observers.push(y$(r.value,s))}}for(let r in zi)n(r).handlers.push(zi[r]);for(let r in di)n(r).observers.push(di[r]);return t}const T9=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],aOe="dthko",C9=[16,17,18,20,91,92,224,225],ng=6;function rg(e){return Math.max(0,e)*.7+8}function lOe(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class cOe{constructor(t,n,r,o){this.view=t,this.startEvent=n,this.style=r,this.mustSelect=o,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=O0e(t.contentDOM),this.atoms=t.state.facet(IE).map(s=>s(t));let i=t.contentDOM.ownerDocument;i.addEventListener("mousemove",this.move=this.move.bind(this)),i.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(bt.allowMultipleSelections)&&uOe(t,n),this.dragging=fOe(t,n)&&$9(n)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&lOe(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let n=0,r=0,o=0,i=0,s=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:i,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=_9(this.view);t.clientX-l.left<=o+ng?n=-rg(o-t.clientX):t.clientX+l.right>=s-ng&&(n=rg(t.clientX-s)),t.clientY-l.top<=i+ng?r=-rg(i-t.clientY):t.clientY+l.bottom>=a-ng&&(r=rg(t.clientY-a)),this.setScrollSpeed(n,r)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,n){this.scrollSpeed={x:t,y:n},t||n?this.scrolling<0&&(this.scrolling=Zp(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:n}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(t||n)&&this.view.win.scrollBy(t,n),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(t){let n=null;for(let r=0;rn.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function uOe(e,t){let n=e.state.facet(c9);return n.length?n[0](t):Re.mac?t.metaKey:t.ctrlKey}function dOe(e,t){let n=e.state.facet(u9);return n.length?n[0](t):Re.mac?!t.altKey:!t.ctrlKey}function fOe(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=sp(e.root);if(!r||r.rangeCount==0)return!0;let o=r.getRangeAt(0).getClientRects();for(let i=0;i=t.clientX&&s.top<=t.clientY&&s.bottom>=t.clientY)return!0}return!1}function hOe(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Gt.get(n))&&r.ignoreEvent(t))return!1;return!0}const zi=Object.create(null),di=Object.create(null),P9=Re.ie&&Re.ie_version<15||Re.ios&&Re.webkit_version<604;function pOe(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),A9(e,n.value)},50)}function wy(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function A9(e,t){t=wy(e.state,$E,t);let{state:n}=e,r,o=1,i=n.toText(t),s=i.lines==n.selection.ranges.length;if(fk!=null&&n.selection.ranges.every(a=>a.empty)&&fk==i.toString()){let a=-1;r=n.changeByRange(l=>{let c=n.doc.lineAt(l.from);if(c.from==a)return{range:l};a=c.from;let u=n.toText((s?i.line(o++).text:t)+n.lineBreak);return{changes:{from:c.from,insert:u},range:be.cursor(l.from+u.length)}})}else s?r=n.changeByRange(a=>{let l=i.line(o++);return{changes:{from:a.from,to:a.to,insert:l.text},range:be.cursor(a.from+l.length)}}):r=n.replaceSelection(i);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}di.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft};zi.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1);di.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")};di.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};zi.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(d9))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=bOe(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new cOe(e,t,n,r)),r&&e.observer.ignore(()=>{qD(e.contentDOM);let i=e.root.activeElement;i&&!i.contains(e.contentDOM)&&i.blur()});let o=e.inputState.mouseSelection;if(o)return o.start(t),o.dragging===!1}return!1};function v$(e,t,n,r){if(r==1)return be.cursor(t,n);if(r==2)return q0e(e.state,t,n);{let o=Nn.find(e.docView,t),i=e.state.doc.lineAt(o?o.posAtEnd:t),s=o?o.posAtStart:i.from,a=o?o.posAtEnd:i.to;return at>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right;function mOe(e,t,n,r){let o=Nn.find(e.docView,t);if(!o)return 1;let i=t-o.posAtStart;if(i==0)return 1;if(i==o.length)return-1;let s=o.coordsAt(i,-1);if(s&&w$(n,r,s))return-1;let a=o.coordsAt(i,1);return a&&w$(n,r,a)?1:s&&s.bottom>=r?-1:1}function S$(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:mOe(e,n,t.clientX,t.clientY)}}const gOe=Re.ie&&Re.ie_version<=11;let _$=null,k$=0,x$=0;function $9(e){if(!gOe)return e.detail;let t=_$,n=x$;return _$=e,x$=Date.now(),k$=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(k$+1)%3:1}function bOe(e,t){let n=S$(e,t),r=$9(t),o=e.state.selection;return{update(i){i.docChanged&&(n.pos=i.changes.mapPos(n.pos),o=o.map(i.changes))},get(i,s,a){let l=S$(e,i),c,u=v$(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!s){let d=v$(e,n.pos,n.bias,r),f=Math.min(d.from,u.from),h=Math.max(d.to,u.to);u=f1&&(c=OOe(o,l.pos))?c:a?o.addRange(u):be.create([u])}}}function OOe(e,t){for(let n=0;n=t)return be.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}zi.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let o=e.docView.nearest(t.target);if(o&&o.isWidget){let i=o.posAtStart,s=i+o.length;(i>=n.to||s<=n.from)&&(n=be.range(i,s))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",wy(e.state,ME,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1};zi.dragend=e=>(e.inputState.draggedContent=null,!1);function E$(e,t,n,r){if(n=wy(e.state,$E,n),!n)return;let o=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:i}=e.inputState,s=r&&i&&dOe(e,t)?{from:i.from,to:i.to}:null,a={from:o,insert:n},l=e.state.changes(s?[s,a]:a);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:s?"move.drop":"input.drop"}),e.inputState.draggedContent=null}zi.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),o=0,i=()=>{++o==n.length&&E$(e,t,r.filter(s=>s!=null).join(e.state.lineBreak),!1)};for(let s=0;s{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(r[s]=a.result),i()},a.readAsText(n[s])}return!0}else{let r=t.dataTransfer.getData("Text");if(r)return E$(e,t,r,!0),!0}return!1};zi.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=P9?null:t.clipboardData;return n?(A9(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(pOe(e),!1)};function yOe(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function vOe(e){let t=[],n=[],r=!1;for(let o of e.selection.ranges)o.empty||(t.push(e.sliceDoc(o.from,o.to)),n.push(o));if(!t.length){let o=-1;for(let{from:i}of e.selection.ranges){let s=e.doc.lineAt(i);s.number>o&&(t.push(s.text),n.push({from:s.from,to:Math.min(e.doc.length,s.to+1)})),o=s.number}r=!0}return{text:wy(e,ME,t.join(e.lineBreak)),ranges:n,linewise:r}}let fk=null;zi.copy=zi.cut=(e,t)=>{let{text:n,ranges:r,linewise:o}=vOe(e.state);if(!n&&!o)return!1;fk=o?n:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let i=P9?null:t.clipboardData;return i?(i.clearData(),i.setData("text/plain",n),!0):(yOe(e,n),!1)};const M9=Ta.define();function R9(e,t){let n=[];for(let r of e.facet(p9)){let o=r(e,t);o&&n.push(o)}return n?e.update({effects:n,annotations:M9.of(!0)}):null}function I9(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=R9(e.state,t);n?e.dispatch(n):e.update([])}},10)}di.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),I9(e)};di.blur=e=>{e.observer.clearSelectionRange(),I9(e)};di.compositionstart=di.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))};di.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Re.chrome&&Re.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))};di.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};zi.beforeinput=(e,t)=>{var n,r;if(t.inputType=="insertReplacementText"&&e.observer.editContext){let i=(n=t.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),s=t.getTargetRanges();if(i&&s.length){let a=s[0],l=e.posAtDOM(a.startContainer,a.startOffset),c=e.posAtDOM(a.endContainer,a.endOffset);return LE(e,{from:l,to:c,insert:e.state.toText(i)},null),!0}}let o;if(Re.chrome&&Re.android&&(o=T9.find(i=>i.inputType==t.inputType))&&(e.observer.delayAndroidKey(o.key,o.keyCode),o.key=="Backspace"||o.key=="Delete")){let i=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Re.ios&&t.inputType=="deleteContentForward"&&e.observer.flushSoon(),Re.safari&&t.inputType=="insertText"&&e.inputState.composing>=0&&setTimeout(()=>di.compositionend(e,t),20),!1};const T$=new Set;function wOe(e){T$.has(e)||(T$.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const C$=["pre-wrap","normal","pre-line","break-spaces"];let yd=!1;function P$(){yd=!1}class SOe{constructor(t){this.lineWrapping=t,this.doc=Pt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-t-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return C$.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let n=!1;for(let r=0;r-1,l=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=n,this.charWidth=r,this.textHeight=o,this.lineLength=i,l){this.heightSamples={};for(let c=0;c0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>lb&&(yd=!0),this.height=t)}replace(t,n,r){return no.of(r)}decomposeLeft(t,n){n.push(this)}decomposeRight(t,n){n.push(this)}applyChanges(t,n,r,o){let i=this,s=r.doc;for(let a=o.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:d}=o[a],f=i.lineAt(l,fn.ByPosNoHeight,r.setDoc(n),0,0),h=f.to>=c?f:i.lineAt(c,fn.ByPosNoHeight,r,0,0);for(d+=h.to-c,c=h.to;a>0&&f.from<=o[a-1].toA;)l=o[a-1].fromA,u=o[a-1].fromB,a--,li*2){let a=t[n-1];a.break?t.splice(--n,1,a.left,null,a.right):t.splice(--n,1,a.left,a.right),r+=1+a.break,o-=a.size}else if(i>o*2){let a=t[r];a.break?t.splice(r,1,a.left,null,a.right):t.splice(r,1,a.left,a.right),r+=2+a.break,i-=a.size}else break;else if(o=i&&s(this.blockAt(0,r,o,i))}updateHeight(t,n=0,r=!1,o){return o&&o.from<=n&&o.more&&this.setHeight(o.heights[o.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Ao extends L9{constructor(t,n){super(t,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,n,r,o){return new fs(o,this.length,r,this.height,this.breaks)}replace(t,n,r){let o=r[0];return r.length==1&&(o instanceof Ao||o instanceof mr&&o.flags&4)&&Math.abs(this.length-o.length)<10?(o instanceof mr?o=new Ao(o.length,this.height):o.height=this.height,this.outdated||(o.outdated=!1),o):no.of(r)}updateHeight(t,n=0,r=!1,o){return o&&o.from<=n&&o.more?this.setHeight(o.heights[o.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class mr extends no{constructor(t){super(t,0)}heightMetrics(t,n){let r=t.doc.lineAt(n).number,o=t.doc.lineAt(n+this.length).number,i=o-r+1,s,a=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*i);s=l/i,this.length>i+1&&(a=(this.height-l)/(this.length-i-1))}else s=this.height/i;return{firstLine:r,lastLine:o,perLine:s,perChar:a}}blockAt(t,n,r,o){let{firstLine:i,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(n,o);if(n.lineWrapping){let c=o+(t0){let i=r[r.length-1];i instanceof mr?r[r.length-1]=new mr(i.length+o):r.push(null,new mr(o-1))}if(t>0){let i=r[0];i instanceof mr?r[0]=new mr(t+i.length):r.unshift(new mr(t-1),null)}return no.of(r)}decomposeLeft(t,n){n.push(new mr(t-1),null)}decomposeRight(t,n){n.push(null,new mr(this.length-t-1))}updateHeight(t,n=0,r=!1,o){let i=n+this.length;if(o&&o.from<=n+this.length&&o.more){let s=[],a=Math.max(n,o.from),l=-1;for(o.from>n&&s.push(new mr(o.from-n-1).updateHeight(t,n));a<=i&&o.more;){let u=t.doc.lineAt(a).length;s.length&&s.push(null);let d=o.heights[o.index++];l==-1?l=d:Math.abs(d-l)>=lb&&(l=-2);let f=new Ao(u,d);f.outdated=!1,s.push(f),a+=u+1}a<=i&&s.push(null,new mr(i-a).updateHeight(t,a));let c=no.of(s);return(l<0||Math.abs(c.height-this.height)>=lb||Math.abs(l-this.heightMetrics(t,n).perLine)>=lb)&&(yd=!0),k0(this,c)}else(r||this.outdated)&&(this.setHeight(t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class kOe extends no{constructor(t,n,r){super(t.length+n+r.length,t.height+r.height,n|(t.outdated||r.outdated?2:0)),this.left=t,this.right=r,this.size=t.size+r.size}get break(){return this.flags&1}blockAt(t,n,r,o){let i=r+this.left.height;return ta))return c;let u=n==fn.ByPosNoHeight?fn.ByPosNoHeight:fn.ByPos;return l?c.join(this.right.lineAt(a,u,r,s,a)):this.left.lineAt(a,u,r,o,i).join(c)}forEachLine(t,n,r,o,i,s){let a=o+this.left.height,l=i+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,n,r,a,l,s);else{let c=this.lineAt(l,fn.ByPos,r,o,i);t=t&&c.from<=n&&s(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,a,l,s)}}replace(t,n,r){let o=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(t-o,n-o,r));let i=[];t>0&&this.decomposeLeft(t,i);let s=i.length;for(let a of r)i.push(a);if(t>0&&A$(i,s-1),n=r&&n.push(null)),t>r&&this.right.decomposeLeft(t-r,n)}decomposeRight(t,n){let r=this.left.length,o=r+this.break;if(t>=o)return this.right.decomposeRight(t-o,n);t2*n.size||n.size>2*t.size?no.of(this.break?[t,null,n]:[t,n]):(this.left=k0(this.left,t),this.right=k0(this.right,n),this.setHeight(t.height+n.height),this.outdated=t.outdated||n.outdated,this.size=t.size+n.size,this.length=t.length+this.break+n.length,this)}updateHeight(t,n=0,r=!1,o){let{left:i,right:s}=this,a=n+i.length+this.break,l=null;return o&&o.from<=n+i.length&&o.more?l=i=i.updateHeight(t,n,r,o):i.updateHeight(t,n,r),o&&o.from<=a+s.length&&o.more?l=s=s.updateHeight(t,a,r,o):s.updateHeight(t,a,r),l?this.balanced(i,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function A$(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof mr&&(r=e[t+1])instanceof mr&&e.splice(t-1,3,new mr(n.length+1+r.length))}const xOe=5;class NE{constructor(t,n){this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),o=this.nodes[this.nodes.length-1];o instanceof Ao?o.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new Ao(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(t,n,r){if(t=xOe)&&this.addLineDeco(o,i,s)}else n>t&&this.span(t,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=n,this.writtenTot&&this.nodes.push(new Ao(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,n){let r=new mr(n-t);return this.oracle.doc.lineAt(t).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Ao)return t;let n=new Ao(0,-1);return this.nodes.push(n),n}addBlock(t){this.enterLine();let n=t.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,n&&n.endSide>0&&(this.covering=t)}addLineDeco(t,n,r){let o=this.ensureLine();o.length+=r,o.collapsed+=r,o.widgetHeight=Math.max(o.widgetHeight,t),o.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(t){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Ao)&&!this.isCovered?this.nodes.push(new Ao(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&d.overflow!="visible"){let f=u.getBoundingClientRect();i=Math.max(i,f.left),s=Math.min(s,f.right),a=Math.max(a,f.top),l=Math.min(c==e.parentNode?o.innerHeight:l,f.bottom)}c=d.position=="absolute"||d.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:i-n.left,right:Math.max(i,s)-n.left,top:a-(n.top+t),bottom:Math.max(a,l)-(n.top+t)}}function POe(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class $w{constructor(t,n,r){this.from=t,this.to=n,this.size=r}static same(t,n){if(t.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new SOe(n),this.stateDeco=t.facet(ap).filter(r=>typeof r!="function"),this.heightMap=no.empty().applyChanges(this.stateDeco,Pt.empty,this.heightOracle.setDoc(t.doc),[new li(0,0,0,t.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ze.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let o=r?n.head:n.anchor;if(!t.some(({from:i,to:s})=>o>=i&&o<=s)){let{from:i,to:s}=this.lineBlockAt(o);t.push(new og(i,s))}}return this.viewports=t.sort((r,o)=>r.from-o.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?M$:new DE(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(Jf(t,this.scaler))})}update(t,n=null){this.state=t.state;let r=this.stateDeco;this.stateDeco=this.state.facet(ap).filter(u=>typeof u!="function");let o=t.changedRanges,i=li.extendWithRanges(o,EOe(r,this.stateDeco,t?t.changes:Fn.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);P$(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),i),(this.heightMap.height!=s||yd)&&(t.flags|=2),a?(this.scrollAnchorPos=t.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=i.length?this.mapViewport(this.viewport,t.changes):this.viewport;(n&&(n.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||t.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(g9)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let n=t.contentDOM,r=window.getComputedStyle(n),o=this.heightOracle,i=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?Kt.RTL:Kt.LTR;let s=this.heightOracle.mustRefreshForWrapping(i),a=n.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:y,scaleY:w}=FD(n,a);(y>.005&&Math.abs(this.scaleX-y)>.005||w>.005&&Math.abs(this.scaleY-w)>.005)&&(this.scaleX=y,this.scaleY=w,c|=8,s=l=!0)}let d=(parseInt(r.paddingTop)||0)*this.scaleY,f=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=f)&&(this.paddingTop=d,this.paddingBottom=f,c|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(o.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=8);let h=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=ZD(t.scrollDOM);let p=(this.printing?POe:COe)(n,this.paddingTop),m=p.top-this.pixelViewport.top,O=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(g!=this.inView&&(this.inView=g,g&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let b=a.width;if((this.contentDOMWidth!=b||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=t.scrollDOM.clientHeight,c|=8),l){let y=t.docView.measureVisibleLineHeights(this.viewport);if(o.mustRefreshForHeights(y)&&(s=!0),s||o.lineWrapping&&Math.abs(b-this.contentDOMWidth)>o.charWidth){let{lineHeight:w,charWidth:S,textHeight:_}=t.docView.measureTextSize();s=w>0&&o.refresh(i,w,S,_,b/S,y),s&&(t.docView.minWidth=0,c|=8)}m>0&&O>0?u=Math.max(m,O):m<0&&O<0&&(u=Math.min(m,O)),P$();for(let w of this.viewports){let S=w.from==this.viewport.from?y:t.docView.measureVisibleLineHeights(w);this.heightMap=(s?no.empty().applyChanges(this.stateDeco,Pt.empty,this.heightOracle,[new li(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(o,0,s,new _Oe(w.from,S))}yd&&(c|=2)}let v=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return v&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,n){let r=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),o=this.heightMap,i=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new og(o.lineAt(s-r*1e3,fn.ByHeight,i,0,0).from,o.lineAt(a+(1-r)*1e3,fn.ByHeight,i,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=o.lineAt(c,fn.ByPos,i,0,0),f;n.y=="center"?f=(d.top+d.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c=a+Math.max(10,Math.min(r,250)))&&o>s-2*1e3&&i>1,s=o<<1;if(this.defaultTextDirection!=Kt.LTR&&!r)return[];let a=[],l=(u,d,f,h)=>{if(d-uu&&gg.from>=f.from&&g.to<=f.to&&Math.abs(g.from-u)g.fromb));if(!O){if(dg.from<=d&&g.to>=d)){let g=n.moveToLineBoundary(be.cursor(d),!1,!0).head;g>u&&(d=g)}O=new $w(u,d,this.gapSize(f,u,d,h))}a.push(O)},c=u=>{if(u.lengthu.from&&l(u.from,h,u,d),pn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];Tt.spans(t,this.viewport.from,this.viewport.to,{span(o,i){n.push({from:o,to:i})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((o,i)=>o.from!=n[i].from||o.to!=n[i].to);return this.visibleRanges=n,r?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(n=>n.from<=t&&n.to>=t)||Jf(this.heightMap.lineAt(t,fn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=t&&n.bottom>=t)||Jf(this.heightMap.lineAt(this.scaler.fromDOM(t),fn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let n=this.lineBlockAtHeight(t+8);return n.from>=this.viewport.from||this.viewportLines[0].top-t>200?n:this.viewportLines[0]}elementAtHeight(t){return Jf(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class og{constructor(t,n){this.from=t,this.to=n}}function $Oe(e,t,n){let r=[],o=e,i=0;return Tt.spans(n,e,t,{span(){},point(s,a){s>o&&(r.push({from:o,to:s}),i+=s-o),o=a}},20),o=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let o=0;;o++){let{from:i,to:s}=t[o],a=s-i;if(r<=a)return i+r;r-=a}}function sg(e,t){let n=0;for(let{from:r,to:o}of e.ranges){if(t<=o){n+=t-r;break}n+=o-r}return n/e.total}function MOe(e,t){for(let n of e)if(t(n))return n}const M$={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};class DE{constructor(t,n,r){let o=0,i=0,s=0;this.viewports=r.map(({from:a,to:l})=>{let c=n.lineAt(a,fn.ByPos,t,0,0).top,u=n.lineAt(l,fn.ByPos,t,0,0).bottom;return o+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-o)/(n.height-o);for(let a of this.viewports)a.domTop=s+(a.top-i)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),i=a.bottom}toDOM(t){for(let n=0,r=0,o=0;;n++){let i=nn.from==t.viewports[r].from&&n.to==t.viewports[r].to):!1}}function Jf(e,t){if(t.scale==1)return e;let n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new fs(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map(o=>Jf(o,t)):e._content)}const ag=Pe.define({combine:e=>e.join(" ")}),hk=Pe.define({combine:e=>e.indexOf(!0)>-1}),pk=Sl.newName(),N9=Sl.newName(),D9=Sl.newName(),Q9={"&light":"."+N9,"&dark":"."+D9};function mk(e,t,n){return new Sl(t,{finish(r){return/&/.test(r)?r.replace(/&\w*/,o=>{if(o=="&")return e;if(!n||!n[o])throw new RangeError(`Unsupported selector: ${o}`);return n[o]}):e+" "+r}})}const ROe=mk("."+pk,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Q9),IOe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Mw=Re.ie&&Re.ie_version<=11;class LOe{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new y0e,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(Re.ie&&Re.ie_version<=11||Re.ios&&t.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&t.constructor.EDIT_CONTEXT!==!1&&!(Re.chrome&&Re.chrome_version<126)&&(this.editContext=new DOe(t),t.state.facet(nl)&&(t.contentDOM.editContext=this.editContext.editContext)),Mw&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){(t.type=="change"||!t.type)&&!t.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((n,r)=>n!=t[r]))){this.gapIntersection.disconnect();for(let n of t)this.gapIntersection.observe(n);this.gaps=t}}onSelectionChange(t){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,o=this.selectionRange;if(r.state.facet(nl)?r.root.activeElement!=this.dom:!sb(r.dom,o))return;let i=o.anchorNode&&r.docView.nearest(o.anchorNode);if(i&&i.ignoreEvent(t)){n||(this.selectionChanged=!1);return}(Re.ie&&Re.ie_version<=11||Re.android&&Re.chrome)&&!r.state.selection.main.empty&&o.focusNode&&kh(o.focusNode,o.focusOffset,o.anchorNode,o.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,n=sp(t.root);if(!n)return!1;let r=Re.safari&&t.root.nodeType==11&&m0e(this.dom.ownerDocument)==this.dom&&NOe(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let o=sb(this.dom,r);return o&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let i=this.delayedAndroidKey;i&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=i.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&i.force&&Vu(this.dom,i.key,i.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(o)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let n=-1,r=-1,o=!1;for(let i of t){let s=this.readMutation(i);s&&(s.typeOver&&(o=!0),n==-1?{from:n,to:r}=s:(n=Math.min(s.from,n),r=Math.max(s.to,r)))}return{from:n,to:r,typeOver:o}}readChange(){let{from:t,to:n,typeOver:r}=this.processRecords(),o=this.selectionChanged&&sb(this.dom,this.selectionRange);if(t<0&&!o)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let i=new eOe(this.view,t,n,r);return this.view.docView.domChanged={newSel:i.newSel?i.newSel.main:null},i}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,o=E9(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!n.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),o}readMutation(t){let n=this.view.docView.nearest(t.target);if(!n||n.ignoreMutation(t))return null;if(n.markDirty(t.type=="attributes"),t.type=="attributes"&&(n.flags|=4),t.type=="childList"){let r=R$(n,t.previousSibling||t.target.previousSibling,-1),o=R$(n,t.nextSibling||t.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:o?n.posBefore(o):n.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(nl)!=t.state.facet(nl)&&(t.view.contentDOM.editContext=t.state.facet(nl)?this.editContext.editContext:null))}destroy(){var t,n,r;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let o of this.scrollTargets)o.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function R$(e,t,n){for(;t;){let r=Gt.get(t);if(r&&r.parent==e)return r;let o=t.parentNode;t=o!=e.dom?o:n>0?t.nextSibling:t.previousSibling}return null}function I$(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,s=e.docView.domAtPos(e.state.selection.main.anchor);return kh(s.node,s.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function NOe(e,t){if(t.getComposedRanges){let o=t.getComposedRanges(e.root)[0];if(o)return I$(e,o)}let n=null;function r(o){o.preventDefault(),o.stopImmediatePropagation(),n=o.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),n?I$(e,n):null}class DOe{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(t.state);let n=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:o}=t.state.selection.main,i={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:Pt.of(r.text.split(` `))};i.from==this.from&&othis.to&&(i.to=o),!(i.from==i.to&&!i.insert.length)&&(this.pendingContextChange=i,t.state.readOnly||LE(t,i,be.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state)))},this.handlers.characterboundsupdate=r=>{let o=[],i=null;for(let s=this.toEditorPos(r.rangeStart),a=this.toEditorPos(r.rangeEnd);s{let o=[];for(let i of r.getTextFormats()){let s=i.underlineStyle,a=i.underlineThickness;if(s!="None"&&a!="None"){let l=`text-decoration: underline ${s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${a=="Thin"?1:2}px`;o.push(Ze.mark({attributes:{style:l}}).range(this.toEditorPos(i.rangeStart),this.toEditorPos(i.rangeEnd)))}}t.dispatch({effects:O9.of(Ze.set(o))})},this.handlers.compositionstart=()=>{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{t.inputState.composing=-1,t.inputState.compositionFirstChange=null};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let o=sp(r.root);o&&o.rangeCount&&this.editContext.updateSelectionBounds(o.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let n=0,r=!1,o=this.pendingContextChange;return t.changes.iterChanges((i,s,a,l,c)=>{if(r)return;let u=c.length-(s-i);if(o&&s>=o.to)if(o.from==i&&o.to==s&&o.insert.eq(c)){o=this.pendingContextChange=null,n+=u,this.to+=u;return}else o=null,this.revertPending(t.state);if(i+=n,s+=n,s<=this.from)this.from+=u,this.to+=u;else if(ithis.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(i),this.toContextPos(s),c.toString()),this.to+=u}n+=u}),o&&!r&&this.revertPending(t.state),!r}update(t){let n=this.pendingContextChange;!this.applyEdits(t)||!this.rangeIsValid(t.state)?(this.pendingContextChange=null,this.resetRange(t.state),this.editContext.updateText(0,this.editContext.text.length,t.state.doc.sliceString(this.from,this.to)),this.setSelection(t.state)):(t.docChanged||t.selectionSet||n)&&this.setSelection(t.state),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:n}=t.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(t.doc.length,n+1e4)}revertPending(t){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),t.doc.sliceString(n.from,n.to))}setSelection(t){let{main:n}=t.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),o=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=o)&&this.editContext.updateSelection(r,o)}rangeIsValid(t){let{head:n}=t.selection.main;return!(this.from>0&&n-this.from<500||this.to1e4*3)}toEditorPos(t){return t+this.from}toContextPos(t){return t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class Ae{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:r}=t;this.dispatchTransactions=t.dispatchTransactions||r&&(o=>o.forEach(i=>r(i,this)))||(o=>this.update(o)),this.dispatch=this.dispatch.bind(this),this._root=t.root||v0e(t.parent)||document,this.viewState=new $$(t.state||bt.create(t)),t.scrollTo&&t.scrollTo.is(tg)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Yf).map(o=>new Cw(o));for(let o of this.plugins)o.update(this);this.observer=new LOe(this),this.inputState=new iOe(this),this.inputState.ensureHandlers(this.plugins),this.docView=new f$(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...t){let n=t.length==1&&t[0]instanceof Yn?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(n,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,o,i=this.state;for(let f of t){if(f.startState!=i)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");i=f.state}if(this.destroyed){this.viewState.state=i;return}let s=this.hasFocus,a=0,l=null;t.some(f=>f.annotation(M9))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=R9(i,s),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(i.doc)||!this.state.selection.eq(i.selection))&&(u=null)):this.observer.clear(),i.facet(bt.phrases)!=this.state.facet(bt.phrases))return this.setState(i);o=_0.create(this,i,t),o.flags|=a;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let f of t){if(d&&(d=d.map(f.changes)),f.scrollIntoView){let{main:h}=f.state.selection;d=new Xu(h.empty?h:be.cursor(h.head,h.head>h.anchor?-1:1))}for(let h of f.effects)h.is(tg)&&(d=h.value.clip(this.state))}this.viewState.update(o,d),this.bidiCache=x0.update(this.bidiCache,o.changes),o.empty||(this.updatePlugins(o),this.inputState.update(o)),n=this.docView.update(o),this.state.facet(Gf)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(o.startState.facet(ag)!=o.state.facet(ag)&&(this.viewState.mustMeasureContent=!0),(n||r||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!o.empty)for(let f of this.state.facet(ck))try{f(o)}catch(h){Gr(this.state,h,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!E9(this,u)&&c.force&&Vu(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new $$(t),this.plugins=t.facet(Yf).map(r=>new Cw(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new f$(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(t){let n=t.startState.facet(Yf),r=t.state.facet(Yf);if(n!=r){let o=[];for(let i of r){let s=n.indexOf(i);if(s<0)o.push(new Cw(i));else{let a=this.plugins[s];a.mustUpdate=t,o.push(a)}}for(let i of this.plugins)i.mustUpdate!=t&&i.destroy(this);this.plugins=o,this.pluginMap.clear()}else for(let o of this.plugins)o.mustUpdate=t;for(let o=0;o-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let n=null,r=this.scrollDOM,o=r.scrollTop*this.scaleY,{scrollAnchorPos:i,scrollAnchorHeight:s}=this.viewState;Math.abs(o-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(ZD(r))i=-1,s=this.viewState.heightMap.height;else{let h=this.viewState.scrollAnchorAt(o);i=h.from,s=h.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(h=>{try{return h.read(this)}catch(p){return Gr(this.state,p),L$}}),d=_0.create(this,this.state,[]),f=!1;d.flags|=l,n?n.flags|=l:n=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),f=this.docView.update(d),f&&this.docViewUpdate());for(let h=0;h1||h<-1){o=o+h,r.scrollTop=o/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let a of this.state.facet(ck))a(n)}get themeClasses(){return pk+" "+(this.state.facet(hk)?D9:N9)+" "+this.state.facet(ag)}updateAttrs(){let t=N$(this,y9,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(nl)?"true":"false",class:"cm-content",style:`${Re.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),N$(this,RE,n);let r=this.observer.ignore(()=>{let o=rk(this.contentDOM,this.contentAttrs,n),i=rk(this.dom,this.editorAttrs,t);return o||i});return this.editorAttrs=t,this.contentAttrs=n,r}showAnnouncements(t){let n=!0;for(let r of t)for(let o of r.effects)if(o.is(Ae.announce)){n&&(this.announceDOM.textContent=""),n=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=o.value}}mountStyles(){this.styleModules=this.state.facet(Gf);let t=this.state.facet(Ae.cspNonce);Sl.mount(this.root,this.styleModules.concat(ROe).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let n=0;nr.spec==t)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,n,r){return Aw(this,t,b$(this,t,n,r))}moveByGroup(t,n){return Aw(this,t,b$(this,t,n,r=>Y0e(this,t.head,r)))}visualLineSide(t,n){let r=this.bidiSpans(t),o=this.textDirectionAt(t.from),i=r[n?r.length-1:0];return be.cursor(i.side(n,o)+t.from,i.forward(!n,o)?1:-1)}moveToLineBoundary(t,n,r=!0){return H0e(this,t,n,r)}moveVertically(t,n,r){return Aw(this,t,G0e(this,t,n,r))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,n=0){return this.docView.posFromDOM(t,n)}posAtCoords(t,n=!0){return this.readMeasured(),x9(this,t,n)}coordsAtPos(t,n=1){this.readMeasured();let r=this.docView.coordsAt(t,n);if(!r||r.left==r.right)return r;let o=this.state.doc.lineAt(t),i=this.bidiSpans(o),s=i[cl.find(i,t-o.from,-1,n)];return om(r,s.dir==Kt.LTR==n>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(m9)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>QOe)return a9(t.length);let n=this.textDirectionAt(t.from),r;for(let i of this.bidiCache)if(i.from==t.from&&i.dir==n&&(i.fresh||s9(i.isolates,r=d$(this,t))))return i.order;r||(r=d$(this,t));let o=R0e(t.text,n,r);return this.bidiCache.push(new x0(t.from,t.to,n,r,!0,o)),o}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||Re.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{qD(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,n={}){return tg.of(new Xu(typeof t=="number"?be.cursor(t):t,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(t);return tg.of(new Xu(be.cursor(r.from),"start","start",r.top-t,n,!0))}setTabFocusMode(t){t==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof t=="boolean"?this.inputState.tabFocusMode=t?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return Cn.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return Cn.define(()=>({}),{eventObservers:t})}static theme(t,n){let r=Sl.newName(),o=[ag.of(r),Gf.of(mk(`.${r}`,t))];return n&&n.dark&&o.push(hk.of(!0)),o}static baseTheme(t){return Gc.lowest(Gf.of(mk("."+pk,t,Q9)))}static findFromDOM(t){var n;let r=t.querySelector(".cm-content"),o=r&&Gt.get(r)||Gt.get(t);return((n=o==null?void 0:o.rootView)===null||n===void 0?void 0:n.view)||null}}Ae.styleModule=Gf;Ae.inputHandler=h9;Ae.clipboardInputFilter=$E;Ae.clipboardOutputFilter=ME;Ae.scrollHandler=b9;Ae.focusChangeEffect=p9;Ae.perLineTextDirection=m9;Ae.exceptionSink=f9;Ae.updateListener=ck;Ae.editable=nl;Ae.mouseSelectionStyle=d9;Ae.dragMovesSelection=u9;Ae.clickAddsSelectionRange=c9;Ae.decorations=ap;Ae.outerDecorations=v9;Ae.atomicRanges=IE;Ae.bidiIsolatedRanges=w9;Ae.scrollMargins=S9;Ae.darkTheme=hk;Ae.cspNonce=Pe.define({combine:e=>e.length?e[0]:""});Ae.contentAttributes=RE;Ae.editorAttributes=y9;Ae.lineWrapping=Ae.contentAttributes.of({class:"cm-lineWrapping"});Ae.announce=ft.define();const QOe=4096,L$={};class x0{constructor(t,n,r,o,i,s){this.from=t,this.to=n,this.dir=r,this.isolates=o,this.fresh=i,this.order=s}static update(t,n){if(n.empty&&!t.some(i=>i.fresh))return t;let r=[],o=t.length?t[t.length-1].dir:Kt.LTR;for(let i=Math.max(0,t.length-10);i=0;o--){let i=r[o],s=typeof i=="function"?i(e):i;s&&nk(s,n)}return n}const BOe=Re.mac?"mac":Re.windows?"win":Re.linux?"linux":"key";function zOe(e,t){const n=e.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let o,i,s,a;for(let l=0;lr.concat(o),[]))),n}function WOe(e,t,n){return z9(B9(e.state),t,e,n)}let rl=null;const FOe=4e3;function qOe(e,t=BOe){let n=Object.create(null),r=Object.create(null),o=(s,a)=>{let l=r[s];if(l==null)r[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},i=(s,a,l,c,u)=>{var d,f;let h=n[s]||(n[s]=Object.create(null)),p=a.split(/ (?!$)/).map(g=>zOe(g,t));for(let g=1;g{let y=rl={view:v,prefix:b,scope:s};return setTimeout(()=>{rl==y&&(rl=null)},FOe),!0}]})}let m=p.join(" ");o(m,!1);let O=h[m]||(h[m]={preventDefault:!1,stopPropagation:!1,run:((f=(d=h._any)===null||d===void 0?void 0:d.run)===null||f===void 0?void 0:f.slice())||[]});l&&O.run.push(l),c&&(O.preventDefault=!0),u&&(O.stopPropagation=!0)};for(let s of e){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of a){let u=n[c]||(n[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:d}=s;for(let f in u)u[f].run.push(h=>d(h,gk))}let l=s[t]||s.key;if(l)for(let c of a)i(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&i(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return n}let gk=null;function z9(e,t,n,r){gk=t;let o=p0e(t),i=gr(o,0),s=Jo(i)==o.length&&o!=" ",a="",l=!1,c=!1,u=!1;rl&&rl.view==n&&rl.scope==r&&(a=rl.prefix+" ",C9.indexOf(t.keyCode)<0&&(c=!0,rl=null));let d=new Set,f=O=>{if(O){for(let g of O.run)if(!d.has(g)&&(d.add(g),g(n)))return O.stopPropagation&&(u=!0),!0;O.preventDefault&&(O.stopPropagation&&(u=!0),c=!0)}return!1},h=e[r],p,m;return h&&(f(h[a+lg(o,t,!s)])?l=!0:s&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Re.windows&&t.ctrlKey&&t.altKey)&&(p=_l[t.keyCode])&&p!=o?(f(h[a+lg(p,t,!0)])||t.shiftKey&&(m=ip[t.keyCode])!=o&&m!=p&&f(h[a+lg(m,t,!1)]))&&(l=!0):s&&t.shiftKey&&f(h[a+lg(o,t,!0)])&&(l=!0),!l&&f(h._any)&&(l=!0)),c&&(l=!0),l&&u&&t.stopPropagation(),gk=null,l}class am{constructor(t,n,r,o,i){this.className=t,this.left=n,this.top=r,this.width=o,this.height=i}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,n){return n.className!=this.className?!1:(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width!=null&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,n,r){if(r.empty){let o=t.coordsAtPos(r.head,r.assoc||1);if(!o)return[];let i=j9(t);return[new am(n,o.left-i.left,o.top-i.top,null,o.bottom-o.top)]}else return UOe(t,n,r)}}function j9(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Kt.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function Q$(e,t,n,r){let o=e.coordsAtPos(t,n*2);if(!o)return r;let i=e.dom.getBoundingClientRect(),s=(o.top+o.bottom)/2,a=e.posAtCoords({x:i.left+1,y:s}),l=e.posAtCoords({x:i.right-1,y:s});return a==null||l==null?r:{from:Math.max(r.from,Math.min(a,l)),to:Math.min(r.to,Math.max(a,l))}}function UOe(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),o=Math.min(n.to,e.viewport.to),i=e.textDirection==Kt.LTR,s=e.contentDOM,a=s.getBoundingClientRect(),l=j9(e),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),f=a.right-(u?parseInt(u.paddingRight):0),h=dk(e,r),p=dk(e,o),m=h.type==to.Text?h:null,O=p.type==to.Text?p:null;if(m&&(e.lineWrapping||h.widgetLineBreaks)&&(m=Q$(e,r,1,m)),O&&(e.lineWrapping||p.widgetLineBreaks)&&(O=Q$(e,o,-1,O)),m&&O&&m.from==O.from&&m.to==O.to)return b(v(n.from,n.to,m));{let w=m?v(n.from,null,m):y(h,!1),S=O?v(null,n.to,O):y(p,!0),_=[];return(m||h).to<(O||p).from-(m&&O?1:0)||h.widgetLineBreaks>1&&w.bottom+e.defaultLineHeight/2E&&X.from=B)break;ve>Y&&$(Math.max(ye,Y),w==null&&ye<=E,Math.min(ve,B),S==null&&ve>=Q,te.dir)}if(Y=ee.to+1,Y>=B)break}return C.length==0&&$(E,w==null,Q,S==null,e.textDirection),{top:T,bottom:A,horizontal:C}}function y(w,S){let _=a.top+(S?w.top:w.bottom);return{top:_,bottom:_,horizontal:[]}}}function ZOe(e,t){return e.constructor==t.constructor&&e.eq(t)}class VOe{constructor(t,n){this.view=t,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,t)}update(t){t.startState.facet(cb)!=t.state.facet(cb)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}docViewUpdate(t){this.layer.updateOnDocViewUpdate!==!1&&t.requestMeasure(this.measureReq)}setOrder(t){let n=0,r=t.facet(cb);for(;n!ZOe(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let o of t)o.update&&n&&o.constructor&&this.drawn[r].constructor&&o.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(o.draw(),n);for(;n;){let o=n.nextSibling;n.remove(),n=o}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const cb=Pe.define();function W9(e){return[Cn.define(t=>new VOe(t,e)),cb.of(e)]}const F9=!Re.ios,lp=Pe.define({combine(e){return Ms(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,n)=>Math.min(t,n),drawRangeCursor:(t,n)=>t||n})}});function XOe(e={}){return[lp.of(e),HOe,YOe,GOe,g9.of(!0)]}function q9(e){return e.startState.facet(lp)!=e.state.facet(lp)}const HOe=W9({above:!0,markers(e){let{state:t}=e,n=t.facet(lp),r=[];for(let o of t.selection.ranges){let i=o==t.selection.main;if(o.empty?!i||F9:n.drawRangeCursor){let s=i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=o.empty?o:be.cursor(o.head,o.head>o.anchor?-1:1);for(let l of am.forRange(e,s,a))r.push(l)}}return r},update(e,t){e.transactions.some(r=>r.selection)&&(t.style.animationName=t.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=q9(e);return n&&B$(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){B$(t.state,e)},class:"cm-cursorLayer"});function B$(e,t){t.style.animationDuration=e.facet(lp).cursorBlinkRate+"ms"}const YOe=W9({above:!1,markers(e){return e.state.selection.ranges.map(t=>t.empty?[]:am.forRange(e,"cm-selectionBackground",t)).reduce((t,n)=>t.concat(n))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||q9(e)},class:"cm-selectionLayer"}),bk={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};F9&&(bk[".cm-line"].caretColor=bk[".cm-content"].caretColor="transparent !important");const GOe=Gc.highest(Ae.theme(bk)),U9=ft.define({map(e,t){return e==null?null:t.mapPos(e)}}),eh=dr.define({create(){return null},update(e,t){return e!=null&&(e=t.changes.mapPos(e)),t.effects.reduce((n,r)=>r.is(U9)?r.value:n,e)}}),KOe=Cn.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(eh);n==null?this.cursor!=null&&((t=this.cursor)===null||t===void 0||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(eh)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(eh),n=t!=null&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(eh)!=e&&this.view.dispatch({effects:U9.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){(e.target==this.view.contentDOM||!this.view.contentDOM.contains(e.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function JOe(){return[eh,KOe]}function z$(e,t,n,r,o){t.lastIndex=0;for(let i=e.iterRange(n,r),s=n,a;!i.next().done;s+=i.value.length)if(!i.lineBreak)for(;a=t.exec(i.value);)o(s+a.index,a)}function eye(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:o,to:i}of n)o=Math.max(e.state.doc.lineAt(o).from,o-t),i=Math.min(e.state.doc.lineAt(i).to,i+t),r.length&&r[r.length-1].to>=o?r[r.length-1].to=i:r.push({from:o,to:i});return r}class tye{constructor(t){const{regexp:n,decoration:r,decorate:o,boundary:i,maxLength:s=1e3}=t;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,o)this.addMatch=(a,l,c,u)=>o(u,c,c+a[0].length,a,l);else if(typeof r=="function")this.addMatch=(a,l,c,u)=>{let d=r(a,l,c);d&&u(c,c+a[0].length,d)};else if(r)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=i,this.maxLength=s}createDeco(t){let n=new wl,r=n.add.bind(n);for(let{from:o,to:i}of eye(t,this.maxLength))z$(t.state.doc,this.regexp,o,i,(s,a)=>this.addMatch(a,t,s,r));return n.finish()}updateDeco(t,n){let r=1e9,o=-1;return t.docChanged&&t.changes.iterChanges((i,s,a,l)=>{l>t.view.viewport.from&&a1e3?this.createDeco(t.view):o>-1?this.updateRange(t.view,n.map(t.changes),r,o):n}updateRange(t,n,r,o){for(let i of t.visibleRanges){let s=Math.max(i.from,r),a=Math.min(i.to,o);if(a>s){let l=t.state.doc.lineAt(s),c=l.tol.from;s--)if(this.boundary.test(l.text[s-1-l.from])){u=s;break}for(;af.push(g.range(m,O));if(l==c)for(this.regexp.lastIndex=u-l.from;(h=this.regexp.exec(l.text))&&h.indexthis.addMatch(O,t,m,p));n=n.update({filterFrom:u,filterTo:d,filter:(m,O)=>md,add:f})}}return n}}const Ok=/x/.unicode!=null?"gu":"g",nye=new RegExp(`[\0-\b --Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,Ok),rye={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Rw=null;function oye(){var e;if(Rw==null&&typeof document<"u"&&document.body){let t=document.body.style;Rw=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return Rw||!1}const ub=Pe.define({combine(e){let t=Ms(e,{render:null,specialChars:nye,addSpecialChars:null});return(t.replaceTabs=!oye())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,Ok)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Ok)),t}});function iye(e={}){return[ub.of(e),sye()]}let j$=null;function sye(){return j$||(j$=Cn.fromClass(class{constructor(e){this.view=e,this.decorations=Ze.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(ub)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new tye({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:o}=n.state,i=gr(t[0],0);if(i==9){let s=o.lineAt(r),a=n.state.tabSize,l=Kc(s.text,a,r-s.from);return Ze.replace({widget:new uye((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[i]||(this.decorationCache[i]=Ze.replace({widget:new cye(e,i)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(ub);e.startState.facet(ub)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const aye="•";function lye(e){return e>=32?aye:e==10?"␤":String.fromCharCode(9216+e)}class cye extends Ca{constructor(t,n){super(),this.options=t,this.code=n}eq(t){return t.code==this.code}toDOM(t){let n=lye(this.code),r=t.state.phrase("Control character")+" "+(rye[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,r,n);if(o)return o;let i=document.createElement("span");return i.textContent=n,i.title=r,i.setAttribute("aria-label",r),i.className="cm-specialChar",i}ignoreEvent(){return!1}}class uye extends Ca{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function dye(){return hye}const fye=Ze.line({class:"cm-activeLine"}),hye=Cn.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let o=e.lineBlockAt(r.head);o.from>t&&(n.push(fye.range(o.from)),t=o.from)}return Ze.set(n)}},{decorations:e=>e.decorations});class pye extends Ca{constructor(t){super(),this.content=t}toDOM(){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}coordsAt(t){let n=t.firstChild?gd(t.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(t.parentNode),o=om(n[0],r.direction!="rtl"),i=parseInt(r.lineHeight);return o.bottom-o.top>i*1.5?{left:o.left,right:o.right,top:o.top,bottom:o.top+i}:o}ignoreEvent(){return!1}}function mye(e){return Cn.fromClass(class{constructor(t){this.view=t,this.placeholder=e?Ze.set([Ze.widget({widget:new pye(e),side:1}).range(0)]):Ze.none}get decorations(){return this.view.state.doc.length?Ze.none:this.placeholder}},{decorations:t=>t.decorations})}const yk=2e3;function gye(e,t,n){let r=Math.min(t.line,n.line),o=Math.max(t.line,n.line),i=[];if(t.off>yk||n.off>yk||t.col<0||n.col<0){let s=Math.min(t.off,n.off),a=Math.max(t.off,n.off);for(let l=r;l<=o;l++){let c=e.doc.line(l);c.length<=a&&i.push(be.range(c.from+s,c.to+a))}}else{let s=Math.min(t.col,n.col),a=Math.max(t.col,n.col);for(let l=r;l<=o;l++){let c=e.doc.line(l),u=H_(c.text,s,e.tabSize,!0);if(u<0)i.push(be.cursor(c.to));else{let d=H_(c.text,a,e.tabSize);i.push(be.range(c.from+u,c.from+d))}}}return i}function bye(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}function W$(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),o=n-r.from,i=o>yk?-1:o==r.length?bye(e,t.clientX):Kc(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:i,off:o}}function Oye(e,t){let n=W$(e,t),r=e.state.selection;return n?{update(o){if(o.docChanged){let i=o.changes.mapPos(o.startState.doc.line(n.line).from),s=o.state.doc.lineAt(i);n={line:s.number,col:n.col,off:Math.min(n.off,s.length)},r=r.map(o.changes)}},get(o,i,s){let a=W$(e,o);if(!a)return r;let l=gye(e.state,n,a);return l.length?s?be.create(l.concat(r.ranges)):be.create(l):r}}:null}function yye(e){let t=n=>n.altKey&&n.button==0;return Ae.mouseSelectionStyle.of((n,r)=>t(r)?Oye(n,r):null)}const vye={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},wye={style:"cursor: crosshair"};function Sye(e={}){let[t,n]=vye[e.key||"Alt"],r=Cn.fromClass(class{constructor(o){this.view=o,this.isDown=!1}set(o){this.isDown!=o&&(this.isDown=o,this.view.update([]))}},{eventObservers:{keydown(o){this.set(o.keyCode==t||n(o))},keyup(o){(o.keyCode==t||!n(o))&&this.set(!1)},mousemove(o){this.set(n(o))}}});return[r,Ae.contentAttributes.of(o=>{var i;return!((i=o.plugin(r))===null||i===void 0)&&i.isDown?wye:null})]}const Mf="-10000px";class Z9{constructor(t,n,r,o){this.facet=n,this.createTooltipView=r,this.removeTooltipView=o,this.input=t.state.facet(n),this.tooltips=this.input.filter(s=>s);let i=null;this.tooltipViews=this.tooltips.map(s=>i=r(s,i))}update(t,n){var r;let o=t.state.facet(this.facet),i=o.filter(l=>l);if(o===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let s=[],a=n?[]:null;for(let l=0;ln[c]=l),n.length=a.length),this.input=o,this.tooltips=i,this.tooltipViews=s,!0}}function _ye(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const Iw=Pe.define({combine:e=>{var t,n,r;return{position:Re.ios?"absolute":((t=e.find(o=>o.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((n=e.find(o=>o.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=e.find(o=>o.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||_ye}}}),F$=new WeakMap,QE=Cn.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(Iw);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new Z9(e,BE,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(Iw);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let o of this.manager.tooltipViews)o.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let o of this.manager.tooltipViews)this.container.appendChild(o.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),r=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let o=document.createElement("div");o.className="cm-tooltip-arrow",n.dom.appendChild(o)}return n.dom.style.position=this.position,n.dom.style.top=Mf,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(e=r.destroy)===null||e===void 0||e.call(r);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=this.view.dom.getBoundingClientRect(),t=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:o}=this.manager.tooltipViews[0];if(Re.gecko)r=o.offsetParent!=this.container.ownerDocument.body;else if(o.style.top==Mf&&o.style.left=="0px"){let i=o.getBoundingClientRect();r=Math.abs(i.top+1e4)>1||Math.abs(i.left)>1}}if(r||this.position=="absolute")if(this.parent){let o=this.parent.getBoundingClientRect();o.width&&o.height&&(t=o.width/this.parent.offsetWidth,n=o.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:n}=this.view.viewState);return{editor:e,parent:this.parent?this.container.getBoundingClientRect():e,pos:this.manager.tooltips.map((o,i)=>{let s=this.manager.tooltipViews[i];return s.getCoords?s.getCoords(o.pos):this.view.coordsAtPos(o.pos)}),size:this.manager.tooltipViews.map(({dom:o})=>o.getBoundingClientRect()),space:this.view.state.facet(Iw).tooltipSpace(this.view),scaleX:t,scaleY:n,makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{editor:n,space:r,scaleX:o,scaleY:i}=e,s=[];for(let a=0;a=Math.min(n.bottom,r.bottom)||d.rightMath.min(n.right,r.right)+.1){u.style.top=Mf;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=f.right-f.left,O=(t=F$.get(c))!==null&&t!==void 0?t:f.bottom-f.top,g=c.offset||xye,b=this.view.textDirection==Kt.LTR,v=f.width>r.right-r.left?b?r.left:r.right-f.width:b?Math.max(r.left,Math.min(d.left-(h?14:0)+g.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-g.x),r.right-m),y=this.above[a];!l.strictSide&&(y?d.top-(f.bottom-f.top)-g.yr.bottom)&&y==r.bottom-d.bottom>d.top-r.top&&(y=this.above[a]=!y);let w=(y?d.top-r.top:r.bottom-d.bottom)-p;if(wv&&T.topS&&(S=y?T.top-O-2-p:T.bottom+p+2);if(this.position=="absolute"?(u.style.top=(S-e.parent.top)/i+"px",u.style.left=(v-e.parent.left)/o+"px"):(u.style.top=S/i+"px",u.style.left=v/o+"px"),h){let T=d.left+(b?g.x:-g.x)-(v+14-7);h.style.left=T/o+"px"}c.overlap!==!0&&s.push({left:v,top:S,right:_,bottom:S+O}),u.classList.toggle("cm-tooltip-above",y),u.classList.toggle("cm-tooltip-below",!y),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=Mf}},{eventObservers:{scroll(){this.maybeMeasure()}}}),kye=Ae.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),xye={x:0,y:0},BE=Pe.define({enables:[QE,kye]}),E0=Pe.define({combine:e=>e.reduce((t,n)=>t.concat(n),[])});class _y{static create(t){return new _y(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Z9(t,E0,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(t,n){let r=t.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(t){for(let n of this.manager.tooltipViews)n.mount&&n.mount(t);this.mounted=!0}positioned(t){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let n of this.manager.tooltipViews)(t=n.destroy)===null||t===void 0||t.call(n)}passProp(t){let n;for(let r of this.manager.tooltipViews){let o=r[t];if(o!==void 0){if(n===void 0)n=o;else if(n!==o)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Eye=BE.compute([E0],e=>{let t=e.facet(E0);return t.length===0?null:{pos:Math.min(...t.map(n=>n.pos)),end:Math.max(...t.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:_y.create,above:t[0].above,arrow:t.some(n=>n.arrow)}});class Tye{constructor(t,n,r,o,i){this.view=t,this.source=n,this.field=r,this.setHover=o,this.hoverTime=i,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;ta.bottom||n.xa.right+t.defaultCharacterWidth)return;let l=t.bidiSpans(t.state.doc.lineAt(o)).find(u=>u.from<=o&&u.to>=o),c=l&&l.dir==Kt.RTL?-1:1;i=n.x{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>Gr(t.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let t=this.view.plugin(QE),n=t?t.manager.tooltips.findIndex(r=>r.create==_y.create):-1;return n>-1?t.manager.tooltipViews[n]:null}mousemove(t){var n,r;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:o,tooltip:i}=this;if(o.length&&i&&!Cye(i.dom,t)||this.pending){let{pos:s}=o[0]||this.pending,a=(r=(n=o[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!Pye(this.view,s,a,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length){let{tooltip:r}=this;r&&r.dom.contains(t.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let n=r=>{t.removeEventListener("mouseleave",n),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const cg=4;function Cye(e,t){let{left:n,right:r,top:o,bottom:i}=e.getBoundingClientRect(),s;if(s=e.querySelector(".cm-tooltip-arrow")){let a=s.getBoundingClientRect();o=Math.min(a.top,o),i=Math.max(a.bottom,i)}return t.clientX>=n-cg&&t.clientX<=r+cg&&t.clientY>=o-cg&&t.clientY<=i+cg}function Pye(e,t,n,r,o,i){let s=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(s.left>r||s.righto||Math.min(s.bottom,a)=t&&l<=n}function Aye(e,t={}){let n=ft.define(),r=dr.define({create(){return[]},update(o,i){if(o.length&&(t.hideOnChange&&(i.docChanged||i.selection)?o=[]:t.hideOn&&(o=o.filter(s=>!t.hideOn(i,s))),i.docChanged)){let s=[];for(let a of o){let l=i.changes.mapPos(a.pos,-1,Hr.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=i.changes.mapPos(c.end)),s.push(c)}}o=s}for(let s of i.effects)s.is(n)&&(o=s.value),s.is($ye)&&(o=[]);return o},provide:o=>E0.from(o)});return{active:r,extension:[r,Cn.define(o=>new Tye(o,e,r,n,t.hoverTime||300)),Eye]}}function V9(e,t){let n=e.plugin(QE);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const $ye=ft.define(),q$=Pe.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function cp(e,t){let n=e.plugin(X9),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}const X9=Cn.fromClass(class{constructor(e){this.input=e.state.facet(up),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(e));let t=e.state.facet(q$);this.top=new ug(e,!0,t.topContainer),this.bottom=new ug(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(q$);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new ug(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new ug(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(up);if(n!=this.input){let r=n.filter(l=>l),o=[],i=[],s=[],a=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(e.view),a.push(u)):(u=this.panels[c],u.update&&u.update(e)),o.push(u),(u.top?i:s).push(u)}this.specs=r,this.panels=o,this.top.sync(i),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>Ae.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class ug{constructor(t,n,r){this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let n of this.panels)n.destroy&&t.indexOf(n)<0&&n.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let t=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;t!=n.dom;)t=U$(t);t=t.nextSibling}else this.dom.insertBefore(n.dom,t);for(;t;)t=U$(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function U$(e){let t=e.nextSibling;return e.remove(),t}const up=Pe.define({enables:X9});class ma extends vl{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}ma.prototype.elementClass="";ma.prototype.toDOM=void 0;ma.prototype.mapMode=Hr.TrackBefore;ma.prototype.startSide=ma.prototype.endSide=-1;ma.prototype.point=!0;const db=Pe.define(),Mye=Pe.define(),Rye={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Tt.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Eh=Pe.define();function Iye(e){return[H9(),Eh.of(Object.assign(Object.assign({},Rye),e))]}const Z$=Pe.define({combine:e=>e.some(t=>t)});function H9(e){return[Lye]}const Lye=Cn.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Eh).map(t=>new X$(e,t));for(let t of this.gutters)this.dom.appendChild(t.dom);this.fixed=!e.state.facet(Z$),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Z$)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=Tt.iter(this.view.state.facet(db),this.view.viewport.from),r=[],o=this.gutters.map(i=>new Nye(i,this.view.viewport,-this.view.documentPadding.top));for(let i of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(i.type)){let s=!0;for(let a of i.type)if(a.type==to.Text&&s){vk(n,r,a.from);for(let l of o)l.line(this.view,a,r);s=!1}else if(a.widget)for(let l of o)l.widget(this.view,a)}else if(i.type==to.Text){vk(n,r,i.from);for(let s of o)s.line(this.view,i,r)}else if(i.widget)for(let s of o)s.widget(this.view,i);for(let i of o)i.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(Eh),n=e.state.facet(Eh),r=e.docChanged||e.heightChanged||e.viewportChanged||!Tt.eq(e.startState.facet(db),e.state.facet(db),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let o of this.gutters)o.update(e)&&(r=!0);else{r=!0;let o=[];for(let i of n){let s=t.indexOf(i);s<0?o.push(new X$(this.view,i)):(this.gutters[s].update(e),o.push(this.gutters[s]))}for(let i of this.gutters)i.dom.remove(),o.indexOf(i)<0&&i.destroy();for(let i of o)this.dom.appendChild(i.dom);this.gutters=o}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>Ae.scrollMargins.of(t=>{let n=t.plugin(e);return!n||n.gutters.length==0||!n.fixed?null:t.textDirection==Kt.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}})});function V$(e){return Array.isArray(e)?e:[e]}function vk(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class Nye{constructor(t,n,r){this.gutter=t,this.height=r,this.i=0,this.cursor=Tt.iter(t.markers,n.from)}addElement(t,n,r){let{gutter:o}=this,i=(n.top-this.height)/t.scaleY,s=n.height/t.scaleY;if(this.i==o.elements.length){let a=new Y9(t,s,i,r);o.elements.push(a),o.dom.appendChild(a.dom)}else o.elements[this.i].update(t,s,i,r);this.height=n.bottom,this.i++}line(t,n,r){let o=[];vk(this.cursor,o,n.from),r.length&&(o=o.concat(r));let i=this.gutter.config.lineMarker(t,n,o);i&&o.unshift(i);let s=this.gutter;o.length==0&&!s.config.renderEmptyElements||this.addElement(t,n,o)}widget(t,n){let r=this.gutter.config.widgetMarker(t,n.widget,n),o=r?[r]:null;for(let i of t.state.facet(Mye)){let s=i(t,n.widget,n);s&&(o||(o=[])).push(s)}o&&this.addElement(t,n,o)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let n=t.elements.pop();t.dom.removeChild(n.dom),n.destroy()}}}class X${constructor(t,n){this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,o=>{let i=o.target,s;if(i!=this.dom&&this.dom.contains(i)){for(;i.parentNode!=this.dom;)i=i.parentNode;let l=i.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=o.clientY;let a=t.lineBlockAtHeight(s-t.documentTop);n.domEventHandlers[r](t,a,o)&&o.preventDefault()});this.markers=V$(n.markers(t)),n.initialSpacer&&(this.spacer=new Y9(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let n=this.markers;if(this.markers=V$(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let o=this.config.updateSpacer(this.spacer.markers[0],t);o!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[o])}let r=t.view.viewport;return!Tt.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class Y9{constructor(t,n,r,o){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,o)}update(t,n,r,o){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),Dye(this.markers,o)||this.setMarkers(t,o)}setMarkers(t,n){let r="cm-gutterElement",o=this.dom.firstChild;for(let i=0,s=0;;){let a=s,l=ii(a,l,c)||s(a,l,c):s}return r}})}});class Lw extends ma{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function Nw(e,t){return e.state.facet(Au).formatNumber(t,e.state)}const zye=Eh.compute([Au],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Qye)},lineMarker(t,n,r){return r.some(o=>o.toDOM)?null:new Lw(Nw(t,t.state.doc.lineAt(n.from).number))},widgetMarker:(t,n,r)=>{for(let o of t.state.facet(Bye)){let i=o(t,n,r);if(i)return i}return null},lineMarkerChange:t=>t.startState.facet(Au)!=t.state.facet(Au),initialSpacer(t){return new Lw(Nw(t,H$(t.state.doc.lines)))},updateSpacer(t,n){let r=Nw(n.view,H$(n.view.state.doc.lines));return r==t.number?t:new Lw(r)},domEventHandlers:e.facet(Au).domEventHandlers}));function jye(e={}){return[Au.of(e),H9(),zye]}function H$(e){let t=9;for(;t{let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.head).from;o>n&&(n=o,t.push(Wye.range(o)))}return Tt.of(t)});function qye(){return Fye}const G9=1024;let Uye=0;class Dw{constructor(t,n){this.from=t,this.to=n}}class st{constructor(t={}){this.id=Uye++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=Sr.match(t)),n=>{let r=t(n);return r===void 0?null:[this,r]}}}st.closedBy=new st({deserialize:e=>e.split(" ")});st.openedBy=new st({deserialize:e=>e.split(" ")});st.group=new st({deserialize:e=>e.split(" ")});st.isolate=new st({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});st.contextHash=new st({perNode:!0});st.lookAhead=new st({perNode:!0});st.mounted=new st({perNode:!0});class T0{constructor(t,n,r){this.tree=t,this.overlay=n,this.parser=r}static get(t){return t&&t.props&&t.props[st.mounted.id]}}const Zye=Object.create(null);class Sr{constructor(t,n,r,o=0){this.name=t,this.props=n,this.id=r,this.flags=o}static define(t){let n=t.props&&t.props.length?Object.create(null):Zye,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),o=new Sr(t.name||"",n,t.id,r);if(t.props){for(let i of t.props)if(Array.isArray(i)||(i=i(o)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[i[0].id]=i[1]}}return o}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let n=this.prop(st.group);return n?n.indexOf(t)>-1:!1}return this.id==t}static match(t){let n=Object.create(null);for(let r in t)for(let o of r.split(" "))n[o]=t[r];return r=>{for(let o=r.prop(st.group),i=-1;i<(o?o.length:0);i++){let s=n[i<0?r.name:o[i]];if(s)return s}}}}Sr.none=new Sr("",Object.create(null),0,8);class zE{constructor(t){this.types=t;for(let n=0;n0;for(let l=this.cursor(s|Un.IncludeAnonymous);;){let c=!1;if(l.from<=i&&l.to>=o&&(!a&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(a||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let n in this.props)t.push([+n,this.props[n]]);return t}balance(t={}){return this.children.length<=8?this:FE(Sr.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,o)=>new un(this.type,n,r,o,this.propValues),t.makeTree||((n,r,o)=>new un(Sr.none,n,r,o)))}static build(t){return Yye(t)}}un.empty=new un(Sr.none,[],[],0);class jE{constructor(t,n){this.buffer=t,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new jE(this.buffer,this.index)}}class xl{constructor(t,n,r){this.buffer=t,this.length=n,this.set=r}get type(){return Sr.none}toString(){let t=[];for(let n=0;n0));l=s[l+3]);return a}slice(t,n,r){let o=this.buffer,i=new Uint16Array(n-t),s=0;for(let a=t,l=0;a=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function dp(e,t,n,r){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;t!=c;t+=n){let u=a[t],d=l[t]+s.from;if(K9(o,r,d,d+u.length)){if(u instanceof xl){if(i&Un.ExcludeBuffers)continue;let f=u.findChild(0,u.buffer.length,n,r-d,o);if(f>-1)return new ul(new Vye(s,u,t,d),null,f)}else if(i&Un.IncludeAnonymous||!u.type.isAnonymous||WE(u)){let f;if(!(i&Un.IgnoreMounts)&&(f=T0.get(u))&&!f.overlay)return new ci(f.tree,d,t,s);let h=new ci(u,d,t,s);return i&Un.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,r,o)}}}if(i&Un.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?t=s.index+n:t=n<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,n,r=0){let o;if(!(r&Un.IgnoreOverlays)&&(o=T0.get(this._tree))&&o.overlay){let i=t-this.from;for(let{from:s,to:a}of o.overlay)if((n>0?s<=i:s=i:a>i))return new ci(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function G$(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(n!=null){for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i}for(;;){if(r!=null&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return r==null?i:[]}}function wk(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class Vye{constructor(t,n,r,o){this.parent=t,this.buffer=n,this.index=r,this.start=o}}class ul extends J9{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,n,r){super(),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}child(t,n,r){let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],t,n-this.context.start,r);return i<0?null:new ul(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,n,r=0){if(r&Un.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return i<0?null:new ul(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ul(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new ul(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],n=[],{buffer:r}=this.context,o=this.index+4,i=r.buffer[this.index+3];if(i>o){let s=r.buffer[this.index+1];t.push(r.slice(o,i,s)),n.push(0)}return new un(this.type,t,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function eQ(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;in.from||s.to=t){let a=new ci(s.tree,s.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(dp(a,t,n,!1))}}return o?eQ(o):r}class Sk{get name(){return this.type.name}constructor(t,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof ci)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,n){this.index=t;let{start:r,buffer:o}=this.buffer;return this.type=n||o.set.types[o.buffer[t]],this.from=r+o.buffer[t+1],this.to=r+o.buffer[t+2],!0}yield(t){return t?t instanceof ci?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,n,r,this.mode));let{buffer:o}=this.buffer,i=o.findChild(this.index+4,o.buffer[this.index+3],t,n-this.buffer.start,r);return i<0?!1:(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,n,r=this.mode){return this.buffer?r&Un.ExcludeBuffers?!1:this.enterChild(1,t,n):this.yield(this._tree.enter(t,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Un.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&Un.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(t<0){let o=r<0?0:this.stack[r]+4;if(this.index!=o)return this.yieldBuf(n.findChild(o,this.index,-1,0,4))}else{let o=n.buffer[this.index+3];if(o<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(o)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let n,r,{buffer:o}=this;if(o){if(t>0){if(this.index-1)for(let i=n+t,s=t<0?-1:r._tree.children.length;i!=s;i+=t){let a=r._tree.children[i];if(this.mode&Un.IncludeAnonymous||a instanceof xl||!a.type.isAnonymous||WE(a))return!1}return!0}move(t,n){if(n&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,n=0){for(;(this.from==this.to||(n<1?this.from>=t:this.from>t)||(n>-1?this.to<=t:this.to=0;){for(let s=t;s;s=s._parent)if(s.index==o){if(o==this.index)return s;n=s,r=i+1;break e}o=this.stack[--i]}for(let o=r;o=0;i--){if(i<0)return wk(this.node,t,o);let s=r[n.buffer[this.stack[i]]];if(!s.isAnonymous){if(t[o]&&t[o]!=s.name)return!1;o--}}return!0}}function WE(e){return e.children.some(t=>t instanceof xl||!t.type.isAnonymous||WE(t))}function Yye(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:o=G9,reused:i=[],minRepeatType:s=r.types.length}=e,a=Array.isArray(n)?new jE(n,n.length):n,l=r.types,c=0,u=0;function d(w,S,_,T,A,C){let{id:$,start:E,end:Q,size:X}=a,Y=u;for(;X<0;)if(a.next(),X==-1){let ve=i[$];_.push(ve),T.push(E-w);return}else if(X==-3){c=$;return}else if(X==-4){u=$;return}else throw new RangeError(`Unrecognized record size: ${X}`);let B=l[$],ee,te,ye=E-w;if(Q-E<=o&&(te=O(a.pos-S,A))){let ve=new Uint16Array(te.size-te.skip),pe=a.pos-te.size,de=ve.length;for(;a.pos>pe;)de=g(te.start,ve,de);ee=new xl(ve,Q-te.start,r),ye=te.start-w}else{let ve=a.pos-X;a.next();let pe=[],de=[],V=$>=s?$:-1,ue=0,Ee=Q;for(;a.pos>ve;)V>=0&&a.id==V&&a.size>=0?(a.end<=Ee-o&&(p(pe,de,E,ue,a.end,Ee,V,Y),ue=pe.length,Ee=a.end),a.next()):C>2500?f(E,ve,pe,de):d(E,ve,pe,de,V,C+1);if(V>=0&&ue>0&&ue-1&&ue>0){let ne=h(B);ee=FE(B,pe,de,0,pe.length,0,Q-E,ne,ne)}else ee=m(B,pe,de,Q-E,Y-Q)}_.push(ee),T.push(ye)}function f(w,S,_,T){let A=[],C=0,$=-1;for(;a.pos>S;){let{id:E,start:Q,end:X,size:Y}=a;if(Y>4)a.next();else{if($>-1&&Q<$)break;$<0&&($=X-o),A.push(E,Q,X),C++,a.next()}}if(C){let E=new Uint16Array(C*4),Q=A[A.length-2];for(let X=A.length-3,Y=0;X>=0;X-=3)E[Y++]=A[X],E[Y++]=A[X+1]-Q,E[Y++]=A[X+2]-Q,E[Y++]=Y;_.push(new xl(E,A[2]-Q,r)),T.push(Q-w)}}function h(w){return(S,_,T)=>{let A=0,C=S.length-1,$,E;if(C>=0&&($=S[C])instanceof un){if(!C&&$.type==w&&$.length==T)return $;(E=$.prop(st.lookAhead))&&(A=_[C]+$.length+E)}return m(w,S,_,T,A)}}function p(w,S,_,T,A,C,$,E){let Q=[],X=[];for(;w.length>T;)Q.push(w.pop()),X.push(S.pop()+_-A);w.push(m(r.types[$],Q,X,C-A,E-C)),S.push(A-_)}function m(w,S,_,T,A=0,C){if(c){let $=[st.contextHash,c];C=C?[$].concat(C):[$]}if(A>25){let $=[st.lookAhead,A];C=C?[$].concat(C):[$]}return new un(w,S,_,T,C)}function O(w,S){let _=a.fork(),T=0,A=0,C=0,$=_.end-o,E={size:0,start:0,skip:0};e:for(let Q=_.pos-w;_.pos>Q;){let X=_.size;if(_.id==S&&X>=0){E.size=T,E.start=A,E.skip=C,C+=4,T+=4,_.next();continue}let Y=_.pos-X;if(X<0||Y=s?4:0,ee=_.start;for(_.next();_.pos>Y;){if(_.size<0)if(_.size==-3)B+=4;else break e;else _.id>=s&&(B+=4);_.next()}A=ee,T+=X,C+=B}return(S<0||T==w)&&(E.size=T,E.start=A,E.skip=C),E.size>4?E:void 0}function g(w,S,_){let{id:T,start:A,end:C,size:$}=a;if(a.next(),$>=0&&T4){let Q=a.pos-($-4);for(;a.pos>Q;)_=g(w,S,_)}S[--_]=E,S[--_]=C-w,S[--_]=A-w,S[--_]=T}else $==-3?c=T:$==-4&&(u=T);return _}let b=[],v=[];for(;a.pos>0;)d(e.start||0,e.bufferStart||0,b,v,-1,0);let y=(t=e.length)!==null&&t!==void 0?t:b.length?v[0]+b[0].length:0;return new un(l[e.topID],b.reverse(),v.reverse(),y)}const K$=new WeakMap;function fb(e,t){if(!e.isAnonymous||t instanceof xl||t.type!=e)return 1;let n=K$.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof un)){n=1;break}n+=fb(e,r)}K$.set(t,n)}return n}function FE(e,t,n,r,o,i,s,a,l){let c=0;for(let p=r;p=u)break;S+=_}if(v==y+1){if(S>u){let _=p[y];h(_.children,_.positions,0,_.children.length,m[y]+b);continue}d.push(p[y])}else{let _=m[v-1]+p[v-1].length-w;d.push(FE(e,p,m,y,v,w,_,null,l))}f.push(w+b-i)}}return h(t,n,r,o,0),(a||l)(d,f,s)}class $i{constructor(t,n,r,o,i=!1,s=!1){this.from=t,this.to=n,this.tree=r,this.offset=o,this.open=(i?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let o=[new $i(0,t.length,t,0,!1,r)];for(let i of n)i.to>t.length&&o.push(i);return o}static applyChanges(t,n,r=128){if(!n.length)return t;let o=[],i=1,s=t.length?t[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=r)for(;s&&s.from=f.from||d<=f.to||c){let h=Math.max(f.from,l)-c,p=Math.min(f.to,d)-c;f=h>=p?null:new $i(h,p,f.tree,f.offset+c,a>0,!!u)}if(f&&o.push(f),s.to>d)break;s=inew Dw(o.from,o.to)):[new Dw(0,0)]:[new Dw(0,t.length)],this.createParse(t,n||[],r)}parse(t,n,r){let o=this.startParse(t,n,r);for(;;){let i=o.advance();if(i)return i}}}class Gye{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,n){return this.string.slice(t,n)}}new st({perNode:!0});let Kye=0;class cs{constructor(t,n,r){this.set=t,this.base=n,this.modified=r,this.id=Kye++}static define(t){if(t!=null&&t.base)throw new Error("Can not derive from a modified tag");let n=new cs([],null,[]);if(n.set.push(n),t)for(let r of t.set)n.set.push(r);return n}static defineModifier(){let t=new C0;return n=>n.modified.indexOf(t)>-1?n:C0.get(n.base||n,n.modified.concat(t).sort((r,o)=>r.id-o.id))}}let Jye=0;class C0{constructor(){this.instances=[],this.id=Jye++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(a=>a.base==t&&eve(n,a.modified));if(r)return r;let o=[],i=new cs(o,t,n);for(let a of n)a.instances.push(i);let s=tve(n);for(let a of t.set)if(!a.modified.length)for(let l of s)o.push(C0.get(a,l));return i}}function eve(e,t){return e.length==t.length&&e.every((n,r)=>n==t[r])}function tve(e){let t=[[]];for(let n=0;nr.length-n.length)}function lm(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let o of n.split(" "))if(o){let i=[],s=2,a=o;for(let d=0;;){if(a=="..."&&d>0&&d+3==o.length){s=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!f)throw new RangeError("Invalid path: "+o);if(i.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),d+=f[0].length,d==o.length)break;let h=o[d++];if(d==o.length&&h=="!"){s=0;break}if(h!="/")throw new RangeError("Invalid path: "+o);a=o.slice(d)}let l=i.length-1,c=i[l];if(!c)throw new RangeError("Invalid path: "+o);let u=new P0(r,s,l>0?i.slice(0,l):null);t[c]=u.sort(t[c])}}return tQ.add(t)}const tQ=new st;class P0{constructor(t,n,r,o){this.tags=t,this.mode=n,this.context=r,this.next=o}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth{let s=o;for(let a of i)for(let l of a.set){let c=n[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:r}}function nve(e,t){let n=null;for(let r of e){let o=r.style(t);o&&(n=n?n+" "+o:o)}return n}function rve(e,t,n,r=0,o=e.length){let i=new ove(r,Array.isArray(t)?t:[t],n);i.highlightRange(e.cursor(),r,o,"",i.highlighters),i.flush(o)}class ove{constructor(t,n,r){this.at=t,this.highlighters=n,this.span=r,this.class=""}startSpan(t,n){n!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=n)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,n,r,o,i){let{type:s,from:a,to:l}=t;if(a>=r||l<=n)return;s.isTop&&(i=this.highlighters.filter(h=>!h.scope||h.scope(s)));let c=o,u=ive(t)||P0.empty,d=nve(i,u.tags);if(d&&(c&&(c+=" "),c+=d,u.mode==1&&(o+=(o?" ":"")+d)),this.startSpan(Math.max(n,a),c),u.opaque)return;let f=t.tree&&t.tree.prop(st.mounted);if(f&&f.overlay){let h=t.node.enter(f.overlay[0].from+a,1),p=this.highlighters.filter(O=>!O.scope||O.scope(f.tree.type)),m=t.firstChild();for(let O=0,g=a;;O++){let b=O=v||!t.nextSibling())););if(!b||v>r)break;g=b.to+a,g>n&&(this.highlightRange(h.cursor(),Math.max(n,b.from+a),Math.min(r,g),"",p),this.startSpan(Math.min(r,g),c))}m&&t.parent()}else if(t.firstChild()){f&&(o="");do if(!(t.to<=n)){if(t.from>=r)break;this.highlightRange(t,n,r,o,i),this.startSpan(Math.min(r,t.to),c)}while(t.nextSibling());t.parent()}}}function ive(e){let t=e.type.prop(tQ);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const ke=cs.define,fg=ke(),Xa=ke(),J$=ke(Xa),eM=ke(Xa),Ha=ke(),hg=ke(Ha),Qw=ke(Ha),os=ke(),ec=ke(os),es=ke(),ts=ke(),_k=ke(),Rf=ke(_k),pg=ke(),H={comment:fg,lineComment:ke(fg),blockComment:ke(fg),docComment:ke(fg),name:Xa,variableName:ke(Xa),typeName:J$,tagName:ke(J$),propertyName:eM,attributeName:ke(eM),className:ke(Xa),labelName:ke(Xa),namespace:ke(Xa),macroName:ke(Xa),literal:Ha,string:hg,docString:ke(hg),character:ke(hg),attributeValue:ke(hg),number:Qw,integer:ke(Qw),float:ke(Qw),bool:ke(Ha),regexp:ke(Ha),escape:ke(Ha),color:ke(Ha),url:ke(Ha),keyword:es,self:ke(es),null:ke(es),atom:ke(es),unit:ke(es),modifier:ke(es),operatorKeyword:ke(es),controlKeyword:ke(es),definitionKeyword:ke(es),moduleKeyword:ke(es),operator:ts,derefOperator:ke(ts),arithmeticOperator:ke(ts),logicOperator:ke(ts),bitwiseOperator:ke(ts),compareOperator:ke(ts),updateOperator:ke(ts),definitionOperator:ke(ts),typeOperator:ke(ts),controlOperator:ke(ts),punctuation:_k,separator:ke(_k),bracket:Rf,angleBracket:ke(Rf),squareBracket:ke(Rf),paren:ke(Rf),brace:ke(Rf),content:os,heading:ec,heading1:ke(ec),heading2:ke(ec),heading3:ke(ec),heading4:ke(ec),heading5:ke(ec),heading6:ke(ec),contentSeparator:ke(os),list:ke(os),quote:ke(os),emphasis:ke(os),strong:ke(os),link:ke(os),monospace:ke(os),strikethrough:ke(os),inserted:ke(),deleted:ke(),changed:ke(),invalid:ke(),meta:pg,documentMeta:ke(pg),annotation:ke(pg),processingInstruction:ke(pg),definition:cs.defineModifier(),constant:cs.defineModifier(),function:cs.defineModifier(),standard:cs.defineModifier(),local:cs.defineModifier(),special:cs.defineModifier()};nQ([{tag:H.link,class:"tok-link"},{tag:H.heading,class:"tok-heading"},{tag:H.emphasis,class:"tok-emphasis"},{tag:H.strong,class:"tok-strong"},{tag:H.keyword,class:"tok-keyword"},{tag:H.atom,class:"tok-atom"},{tag:H.bool,class:"tok-bool"},{tag:H.url,class:"tok-url"},{tag:H.labelName,class:"tok-labelName"},{tag:H.inserted,class:"tok-inserted"},{tag:H.deleted,class:"tok-deleted"},{tag:H.literal,class:"tok-literal"},{tag:H.string,class:"tok-string"},{tag:H.number,class:"tok-number"},{tag:[H.regexp,H.escape,H.special(H.string)],class:"tok-string2"},{tag:H.variableName,class:"tok-variableName"},{tag:H.local(H.variableName),class:"tok-variableName tok-local"},{tag:H.definition(H.variableName),class:"tok-variableName tok-definition"},{tag:H.special(H.variableName),class:"tok-variableName2"},{tag:H.definition(H.propertyName),class:"tok-propertyName tok-definition"},{tag:H.typeName,class:"tok-typeName"},{tag:H.namespace,class:"tok-namespace"},{tag:H.className,class:"tok-className"},{tag:H.macroName,class:"tok-macroName"},{tag:H.propertyName,class:"tok-propertyName"},{tag:H.operator,class:"tok-operator"},{tag:H.comment,class:"tok-comment"},{tag:H.meta,class:"tok-meta"},{tag:H.invalid,class:"tok-invalid"},{tag:H.punctuation,class:"tok-punctuation"}]);var Bw;const $u=new st;function sve(e){return Pe.define({combine:e?t=>t.concat(e):void 0})}const ave=new st;let Ci=class{constructor(e,t,n=[],r=""){this.data=e,this.name=r,bt.prototype.hasOwnProperty("tree")||Object.defineProperty(bt.prototype,"tree",{get(){return Lr(this)}}),this.parser=t,this.extension=[El.of(this),bt.languageData.of((o,i,s)=>{let a=tM(o,i,s),l=a.type.prop($u);if(!l)return[];let c=o.facet(l),u=a.type.prop(ave);if(u){let d=a.resolve(i-a.from,s);for(let f of u)if(f.test(d,o)){let h=o.facet(f.facet);return f.type=="replace"?h:h.concat(c)}}return c})].concat(n)}isActiveAt(e,t,n=-1){return tM(e,t,n).type.prop($u)==this.data}findRegions(e){let t=e.facet(El);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(o,i)=>{if(o.prop($u)==this.data){n.push({from:i,to:i+o.length});return}let s=o.prop(st.mounted);if(s){if(s.tree.prop($u)==this.data){if(s.overlay)for(let a of s.overlay)n.push({from:a.from+i,to:a.to+i});else n.push({from:i,to:i+o.length});return}else if(s.overlay){let a=n.length;if(r(s.tree,s.overlay[0].from+i),n.length>a)return}}for(let a=0;ar.isTop?n:void 0)]}),t.name)}configure(t,n){return new kk(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function Lr(e){let t=e.field(Ci.state,!1);return t?t.tree:un.empty}let cve=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}},If=null,uve=class xk{constructor(t,n,r=[],o,i,s,a,l){this.parser=t,this.state=n,this.fragments=r,this.tree=o,this.treeLen=i,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new xk(t,n,[],un.empty,0,r,[],null)}startParse(){return this.parser.startParse(new cve(this.state.doc),this.fragments)}work(t,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=un.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof t=="number"){let o=Date.now()+t;t=()=>Date.now()>o}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=t,this.tree=n,this.fragments=this.withoutTempSkipped($i.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let n=If;If=this;try{return t()}finally{If=n}}withoutTempSkipped(t){for(let n;n=this.tempSkipped.pop();)t=nM(t,n.from,n.to);return t}changes(t,n){let{fragments:r,tree:o,treeLen:i,viewport:s,skipped:a}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,f)=>l.push({fromA:c,toA:u,fromB:d,toB:f})),r=$i.applyChanges(r,l),o=un.empty,i=0,s={from:t.mapPos(s.from,-1),to:t.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);ut.from&&(this.fragments=nM(this.fragments,o,i),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,n){this.skipped.push({from:t,to:n})}static getSkippingParser(t){return new class extends qE{createParse(n,r,o){let i=o[0].from,s=o[o.length-1].to;return{parsedPos:i,advance(){let a=If;if(a){for(let l of o)a.tempSkipped.push(l);t&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,t]):t)}return this.parsedPos=s,new un(Sr.none,[],[],s-i)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let n=this.fragments;return this.treeLen>=t&&n.length&&n[0].from==0&&n[0].to>=t}static get(){return If}};function nM(e,t,n){return $i.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}let Ek=class Tk{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new Tk(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=uve.create(t.facet(El).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new Tk(r)}};Ci.state=dr.define({create:Ek.init,update(e,t){for(let n of t.effects)if(n.is(Ci.setState))return n.value;return t.startState.facet(El)!=t.state.facet(El)?Ek.init(t.state):e.apply(t)}});let rQ=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof Rc<"u"&&(rQ=e=>{let t=-1,n=setTimeout(()=>{t=Rc(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):z2(t)});const zw=typeof navigator<"u"&&!((Bw=navigator.scheduling)===null||Bw===void 0)&&Bw.isInputPending?()=>navigator.scheduling.isInputPending():null,dve=Cn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Ci.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Ci.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=rQ(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=o.context.work(()=>zw&&zw()||Date.now()>i,r+(s?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Ci.setState.of(new Ek(o.context))})),this.chunkBudget>0&&!(a&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Gr(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),El=Pe.define({combine(e){return e.length?e[0]:null},enables:e=>[Ci.state,dve,Ae.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),fve=Pe.define(),UE=Pe.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(n=>n!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function A0(e){let t=e.facet(UE);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function fp(e,t){let n="",r=e.tabSize,o=e.facet(UE)[0];if(o==" "){for(;t>=r;)n+=" ",t-=r;o=" "}for(let i=0;i=t?hve(e,n,t):null}class ky{constructor(t,n={}){this.state=t,this.options=n,this.unit=A0(t)}lineAt(t,n=1){let r=this.state.doc.lineAt(t),{simulateBreak:o,simulateDoubleBreak:i}=this.options;return o!=null&&o>=r.from&&o<=r.to?i&&o==t?{text:"",from:t}:(n<0?o-1&&(i+=s-this.countColumn(r,r.search(/\S|$/))),i}countColumn(t,n=t.length){return Kc(t,this.state.tabSize,n)}lineIndent(t,n=1){let{text:r,from:o}=this.lineAt(t,n),i=this.options.overrideIndentation;if(i){let s=i(o);if(s>-1)return s}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const oQ=new st;function hve(e,t,n){let r=t.resolveStack(n),o=r.node.enterUnfinishedNodesBefore(n);if(o!=r.node){let i=[];for(let s=o;s!=r.node;s=s.parent)i.push(s);for(let s=i.length-1;s>=0;s--)r={node:i[s],next:r}}return iQ(r,e,n)}function iQ(e,t,n){for(let r=e;r;r=r.next){let o=mve(r.node);if(o)return o(VE.create(t,n,r))}return 0}function pve(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function mve(e){let t=e.type.prop(oQ);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(st.closedBy))){let o=e.lastChild,i=o&&r.indexOf(o.name)>-1;return s=>yve(s,!0,1,void 0,i&&!pve(s)?o.from:void 0)}return e.parent==null?gve:null}function gve(){return 0}class VE extends ky{constructor(t,n,r){super(t.state,t.options),this.base=t,this.pos=n,this.context=r}get node(){return this.context.node}static create(t,n,r){return new VE(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let n=this.state.doc.lineAt(t.from);for(;;){let r=t.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(bve(r,t))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return iQ(this.context.next,this.base,this.pos)}}function bve(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function Ove(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let o=e.options.simulateBreak,i=e.state.doc.lineAt(n.from),s=o==null||o<=i.from?i.to:Math.min(i.to,o);for(let a=n.to;;){let l=t.childAfter(a);if(!l||l==r)return null;if(!l.type.isSkipped)return l.from{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const wve=200;function Sve(){return bt.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,o=n.lineAt(r);if(r>o.from+wve)return e;let i=n.sliceString(o.from,r);if(!t.some(c=>c.test(i)))return e;let{state:s}=e,a=-1,l=[];for(let{head:c}of s.selection.ranges){let u=s.doc.lineAt(c);if(u.from==a)continue;a=u.from;let d=ZE(s,u.from);if(d==null)continue;let f=/^\s*/.exec(u.text)[0],h=fp(s,d);f!=h&&l.push({from:u.from,to:u.from+f.length,insert:h})}return l.length?[e,{changes:l,sequential:!0}]:e})}const _ve=Pe.define(),sQ=new st;function kve(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(i&&a.from=t&&c.to>n&&(i=c)}}return i}function Eve(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function $0(e,t,n){for(let r of e.facet(_ve)){let o=r(e,t,n);if(o)return o}return xve(e,t,n)}function aQ(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const xy=ft.define({map:aQ}),cm=ft.define({map:aQ});function lQ(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(r=>r.from<=n&&r.to>=n)||t.push(e.lineBlockAt(n));return t}const Bc=dr.define({create(){return Ze.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(xy)&&!Tve(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(dQ),o=r?Ze.replace({widget:new Ive(r(t.state,n.value))}):rM;e=e.update({add:[o.range(n.value.from,n.value.to)]})}else n.is(cm)&&(e=e.update({filter:(r,o)=>n.value.from!=r||n.value.to!=o,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(o,i)=>{or&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(o,i)=>i<=r||o>=r}))}return e},provide:e=>Ae.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(r,o)=>{n.push(r,o)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!o||o.from>i)&&(o={from:i,to:s})}),o}function Tve(e,t,n){let r=!1;return e.between(t,t,(o,i)=>{o==t&&i==n&&(r=!0)}),r}function cQ(e,t){return e.field(Bc,!1)?t:t.concat(ft.appendConfig.of(fQ()))}const Cve=e=>{for(let t of lQ(e)){let n=$0(e.state,t.from,t.to);if(n)return e.dispatch({effects:cQ(e.state,[xy.of(n),uQ(e,n)])}),!0}return!1},Pve=e=>{if(!e.state.field(Bc,!1))return!1;let t=[];for(let n of lQ(e)){let r=M0(e.state,n.from,n.to);r&&t.push(cm.of(r),uQ(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function uQ(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,o=e.state.doc.lineAt(t.to).number;return Ae.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${o}.`)}const Ave=e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(Bc,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(r,o)=>{n.push(cm.of({from:r,to:o}))}),e.dispatch({effects:n}),!0},Mve=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Cve},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Pve},{key:"Ctrl-Alt-[",run:Ave},{key:"Ctrl-Alt-]",run:$ve}],Rve={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},dQ=Pe.define({combine(e){return Ms(e,Rve)}});function fQ(e){return[Bc,Dve]}function hQ(e,t){let{state:n}=e,r=n.facet(dQ),o=s=>{let a=e.lineBlockAt(e.posAtDOM(s.target)),l=M0(e.state,a.from,a.to);l&&e.dispatch({effects:cm.of(l)}),s.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,o,t);let i=document.createElement("span");return i.textContent=r.placeholderText,i.setAttribute("aria-label",n.phrase("folded code")),i.title=n.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=o,i}const rM=Ze.replace({widget:new class extends Ca{toDOM(e){return hQ(e,null)}}});class Ive extends Ca{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return hQ(t,this.value)}}const Lve={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class jw extends ma{constructor(t,n){super(),this.config=t,this.open=n}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=t.state.phrase(this.open?"Fold line":"Unfold line"),n}}function Nve(e={}){let t=Object.assign(Object.assign({},Lve),e),n=new jw(t,!0),r=new jw(t,!1),o=Cn.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(El)!=s.state.facet(El)||s.startState.field(Bc,!1)!=s.state.field(Bc,!1)||Lr(s.startState)!=Lr(s.state)||t.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new wl;for(let l of s.viewportLineBlocks){let c=M0(s.state,l.from,l.to)?r:$0(s.state,l.from,l.to)?n:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:i}=t;return[o,Iye({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(o))===null||a===void 0?void 0:a.markers)||Tt.empty},initialSpacer(){return new jw(t,!1)},domEventHandlers:Object.assign(Object.assign({},i),{click:(s,a,l)=>{if(i.click&&i.click(s,a,l))return!0;let c=M0(s.state,a.from,a.to);if(c)return s.dispatch({effects:cm.of(c)}),!0;let u=$0(s.state,a.from,a.to);return u?(s.dispatch({effects:xy.of(u)}),!0):!1}})}),fQ()]}const Dve=Ae.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Ey{constructor(t,n){this.specs=t;let r;function o(a){let l=Sl.newName();return(r||(r=Object.create(null)))["."+l]=a,l}const i=typeof n.all=="string"?n.all:n.all?o(n.all):void 0,s=n.scope;this.scope=s instanceof Ci?a=>a.prop($u)==s.data:s?a=>a==s:void 0,this.style=nQ(t.map(a=>({tag:a.tag,class:a.class||o(Object.assign({},a,{tag:null}))})),{all:i}).style,this.module=r?new Sl(r):null,this.themeType=n.themeType}static define(t,n){return new Ey(t,n||{})}}const Ck=Pe.define(),pQ=Pe.define({combine(e){return e.length?[e[0]]:null}});function Ww(e){let t=e.facet(Ck);return t.length?t:e.facet(pQ)}function Qve(e,t){let n=[zve],r;return e instanceof Ey&&(e.module&&n.push(Ae.styleModule.of(e.module)),r=e.themeType),t!=null&&t.fallback?n.push(pQ.of(e)):r?n.push(Ck.computeN([Ae.darkTheme],o=>o.facet(Ae.darkTheme)==(r=="dark")?[e]:[])):n.push(Ck.of(e)),n}class Bve{constructor(t){this.markCache=Object.create(null),this.tree=Lr(t.state),this.decorations=this.buildDeco(t,Ww(t.state)),this.decoratedTo=t.viewport.to}update(t){let n=Lr(t.state),r=Ww(t.state),o=r!=Ww(t.startState),{viewport:i}=t.view,s=t.changes.mapPos(this.decoratedTo,1);n.length=i.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=s):(n!=this.tree||t.viewportChanged||o)&&(this.tree=n,this.decorations=this.buildDeco(t.view,r),this.decoratedTo=i.to)}buildDeco(t,n){if(!n||!this.tree.length)return Ze.none;let r=new wl;for(let{from:o,to:i}of t.visibleRanges)rve(this.tree,n,(s,a,l)=>{r.add(s,a,this.markCache[l]||(this.markCache[l]=Ze.mark({class:l})))},o,i);return r.finish()}}const zve=Gc.high(Cn.fromClass(Bve,{decorations:e=>e.decorations})),jve=Ey.define([{tag:H.meta,color:"#404740"},{tag:H.link,textDecoration:"underline"},{tag:H.heading,textDecoration:"underline",fontWeight:"bold"},{tag:H.emphasis,fontStyle:"italic"},{tag:H.strong,fontWeight:"bold"},{tag:H.strikethrough,textDecoration:"line-through"},{tag:H.keyword,color:"#708"},{tag:[H.atom,H.bool,H.url,H.contentSeparator,H.labelName],color:"#219"},{tag:[H.literal,H.inserted],color:"#164"},{tag:[H.string,H.deleted],color:"#a11"},{tag:[H.regexp,H.escape,H.special(H.string)],color:"#e40"},{tag:H.definition(H.variableName),color:"#00f"},{tag:H.local(H.variableName),color:"#30a"},{tag:[H.typeName,H.namespace],color:"#085"},{tag:H.className,color:"#167"},{tag:[H.special(H.variableName),H.macroName],color:"#256"},{tag:H.definition(H.propertyName),color:"#00c"},{tag:H.comment,color:"#940"},{tag:H.invalid,color:"#f00"}]),Wve=Ae.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),mQ=1e4,gQ="()[]{}",bQ=Pe.define({combine(e){return Ms(e,{afterCursor:!0,brackets:gQ,maxScanDistance:mQ,renderMatch:Uve})}}),Fve=Ze.mark({class:"cm-matchingBracket"}),qve=Ze.mark({class:"cm-nonmatchingBracket"});function Uve(e){let t=[],n=e.matched?Fve:qve;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const Zve=dr.define({create(){return Ze.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(bQ);for(let o of t.state.selection.ranges){if(!o.empty)continue;let i=ms(t.state,o.head,-1,r)||o.head>0&&ms(t.state,o.head-1,1,r)||r.afterCursor&&(ms(t.state,o.head,1,r)||o.headAe.decorations.from(e)}),Vve=[Zve,Wve];function Xve(e={}){return[bQ.of(e),Vve]}const Hve=new st;function Pk(e,t,n){let r=e.prop(t<0?st.openedBy:st.closedBy);if(r)return r;if(e.name.length==1){let o=n.indexOf(e.name);if(o>-1&&o%2==(t<0?1:0))return[n[o+t]]}return null}function Ak(e){let t=e.type.prop(Hve);return t?t(e.node):e}function ms(e,t,n,r={}){let o=r.maxScanDistance||mQ,i=r.brackets||gQ,s=Lr(e),a=s.resolveInner(t,n);for(let l=a;l;l=l.parent){let c=Pk(l.type,n,i);if(c&&l.from0?t>=u.from&&tu.from&&t<=u.to))return Yve(e,t,n,l,u,c,i)}}return Gve(e,t,n,s,a.type,o,i)}function Yve(e,t,n,r,o,i,s){let a=r.parent,l={from:o.from,to:o.to},c=0,u=a==null?void 0:a.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(c==0&&i.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let f=0;!u.next().done&&f<=i;){let h=u.value;n<0&&(f+=h.length);let p=t+f*n;for(let m=n>0?0:h.length-1,O=n>0?h.length:-1;m!=O;m+=n){let g=s.indexOf(h[m]);if(!(g<0||r.resolveInner(p+m,1).type!=o))if(g%2==0==n>0)d++;else{if(d==1)return{start:c,end:{from:p+m,to:p+m+1},matched:g>>1==l>>1};d--}}n>0&&(f+=h.length)}return u.done?{start:c,matched:!1}:null}const Kve=Object.create(null),oM=[Sr.none],iM=[],sM=Object.create(null),Jve=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Jve[e]=ewe(Kve,t);function Fw(e,t){iM.indexOf(e)>-1||(iM.push(e),console.warn(t))}function ewe(e,t){let n=[];for(let a of t.split(" ")){let l=[];for(let c of a.split(".")){let u=e[c]||H[c];u?typeof u=="function"?l.length?l=l.map(u):Fw(c,`Modifier ${c} used at start of tag`):l.length?Fw(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:Fw(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(a=>a.id),i=sM[o];if(i)return i.id;let s=sM[o]=Sr.define({id:oM.length,name:r,props:[lm({[r]:n})]});return oM.push(s),s.id}Kt.RTL,Kt.LTR;const twe=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=HE(e.state,n.from);return r.line?nwe(e):r.block?owe(e):!1};function XE(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let o=e(t,n);return o?(r(n.update(o)),!0):!1}}const nwe=XE(awe,0),rwe=XE(OQ,0),owe=XE((e,t)=>OQ(e,t,swe(t)),0);function HE(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const Lf=50;function iwe(e,{open:t,close:n},r,o){let i=e.sliceDoc(r-Lf,r),s=e.sliceDoc(o,o+Lf),a=/\s*$/.exec(i)[0].length,l=/^\s*/.exec(s)[0].length,c=i.length-a;if(i.slice(c-t.length,c)==t&&s.slice(l,l+n.length)==n)return{open:{pos:r-a,margin:a&&1},close:{pos:o+l,margin:l&&1}};let u,d;o-r<=2*Lf?u=d=e.sliceDoc(r,o):(u=e.sliceDoc(r,r+Lf),d=e.sliceDoc(o-Lf,o));let f=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(d)[0].length,p=d.length-h-n.length;return u.slice(f,f+t.length)==t&&d.slice(p,p+n.length)==n?{open:{pos:r+f+t.length,margin:/\s/.test(u.charAt(f+t.length))?1:0},close:{pos:o-h-n.length,margin:/\s/.test(d.charAt(p-1))?1:0}}:null}function swe(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),o=n.to<=r.to?r:e.doc.lineAt(n.to),i=t.length-1;i>=0&&t[i].to>r.from?t[i].to=o.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function OQ(e,t,n=t.selection.ranges){let r=n.map(i=>HE(t,i.from).block);if(!r.every(i=>i))return null;let o=n.map((i,s)=>iwe(t,r[s],i.from,i.to));if(e!=2&&!o.every(i=>i))return{changes:t.changes(n.map((i,s)=>o[s]?[]:[{from:i.from,insert:r[s].open+" "},{from:i.to,insert:" "+r[s].close}]))};if(e!=1&&o.some(i=>i)){let i=[];for(let s=0,a;so&&(i==s||s>d.from)){o=d.from;let f=/^\s*/.exec(d.text)[0].length,h=f==d.length,p=d.text.slice(f,f+c.length)==c?f:-1;fi.comment<0&&(!i.empty||i.single))){let i=[];for(let{line:a,token:l,indent:c,empty:u,single:d}of r)(d||!u)&&i.push({from:a.from+c,insert:l+" "});let s=t.changes(i);return{changes:s,selection:t.selection.map(s,1)}}else if(e!=1&&r.some(i=>i.comment>=0)){let i=[];for(let{line:s,comment:a,token:l}of r)if(a>=0){let c=s.from+a,u=c+l.length;s.text[u-s.from]==" "&&u++,i.push({from:c,to:u})}return{changes:i}}return null}const $k=Ta.define(),lwe=Ta.define(),cwe=Pe.define(),yQ=Pe.define({combine(e){return Ms(e,{minDepth:100,newGroupDelay:500,joinToEvent:(t,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,n)=>(r,o)=>t(r,o)||n(r,o)})}}),vQ=dr.define({create(){return gs.empty},update(e,t){let n=t.state.facet(yQ),r=t.annotation($k);if(r){let l=mo.fromTransaction(t,r.selection),c=r.side,u=c==0?e.undone:e.done;return l?u=R0(u,u.length,n.minDepth,l):u=_Q(u,t.startState.selection),new gs(c==0?r.rest:u,c==0?u:r.rest)}let o=t.annotation(lwe);if((o=="full"||o=="before")&&(e=e.isolate()),t.annotation(Yn.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let i=mo.fromTransaction(t),s=t.annotation(Yn.time),a=t.annotation(Yn.userEvent);return i?e=e.addChanges(i,s,a,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,a,n.newGroupDelay)),(o=="full"||o=="after")&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(t=>t.toJSON()),undone:e.undone.map(t=>t.toJSON())}},fromJSON(e){return new gs(e.done.map(mo.fromJSON),e.undone.map(mo.fromJSON))}});function uwe(e={}){return[vQ,yQ.of(e),Ae.domEventHandlers({beforeinput(t,n){let r=t.inputType=="historyUndo"?wQ:t.inputType=="historyRedo"?Mk:null;return r?(t.preventDefault(),r(n)):!1}})]}function Ty(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let o=n.field(vQ,!1);if(!o)return!1;let i=o.pop(e,n,t);return i?(r(i),!0):!1}}const wQ=Ty(0,!1),Mk=Ty(1,!1),dwe=Ty(0,!0),fwe=Ty(1,!0);class mo{constructor(t,n,r,o,i){this.changes=t,this.effects=n,this.mapped=r,this.startSelection=o,this.selectionsAfter=i}setSelAfter(t){return new mo(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,n,r;return{changes:(t=this.changes)===null||t===void 0?void 0:t.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(o=>o.toJSON())}}static fromJSON(t){return new mo(t.changes&&Fn.fromJSON(t.changes),[],t.mapped&&Ss.fromJSON(t.mapped),t.startSelection&&be.fromJSON(t.startSelection),t.selectionsAfter.map(be.fromJSON))}static fromTransaction(t,n){let r=ti;for(let o of t.startState.facet(cwe)){let i=o(t);i.length&&(r=r.concat(i))}return!r.length&&t.changes.empty?null:new mo(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,ti)}static selection(t){return new mo(void 0,ti,void 0,void 0,t)}}function R0(e,t,n,r){let o=t+1>n+20?t-n-1:0,i=e.slice(o,t);return i.push(r),i}function hwe(e,t){let n=[],r=!1;return e.iterChangedRanges((o,i)=>n.push(o,i)),t.iterChangedRanges((o,i,s,a)=>{for(let l=0;l=c&&s<=u&&(r=!0)}}),r}function pwe(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((n,r)=>n.empty!=t.ranges[r].empty).length===0}function SQ(e,t){return e.length?t.length?e.concat(t):e:t}const ti=[],mwe=200;function _Q(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-mwe));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),R0(e,e.length-1,1e9,n.setSelAfter(r)))}else return[mo.selection([t])]}function gwe(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function qw(e,t){if(!e.length)return e;let n=e.length,r=ti;for(;n;){let o=bwe(e[n-1],t,r);if(o.changes&&!o.changes.empty||o.effects.length){let i=e.slice(0,n);return i[n-1]=o,i}else t=o.mapped,n--,r=o.selectionsAfter}return r.length?[mo.selection(r)]:ti}function bwe(e,t,n){let r=SQ(e.selectionsAfter.length?e.selectionsAfter.map(a=>a.map(t)):ti,n);if(!e.changes)return mo.selection(r);let o=e.changes.map(t),i=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(i):i;return new mo(o,ft.mapEffects(e.effects,t),s,e.startSelection.map(i),r)}const Owe=/^(input\.type|delete)($|\.)/;class gs{constructor(t,n,r=0,o=void 0){this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=o}isolate(){return this.prevTime?new gs(this.done,this.undone):this}addChanges(t,n,r,o,i){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&t.changes&&(!r||Owe.test(r))&&(!a.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?e.moveByChar(n,t):Cy(n,t))}function Nr(e){return e.textDirectionAt(e.state.selection.main.head)==Kt.LTR}const xQ=e=>kQ(e,!Nr(e)),EQ=e=>kQ(e,Nr(e));function TQ(e,t){return Vi(e,n=>n.empty?e.moveByGroup(n,t):Cy(n,t))}const vwe=e=>TQ(e,!Nr(e)),wwe=e=>TQ(e,Nr(e));function Swe(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function Py(e,t,n){let r=Lr(e).resolveInner(t.head),o=n?st.closedBy:st.openedBy;for(let l=t.head;;){let c=n?r.childAfter(l):r.childBefore(l);if(!c)break;Swe(e,c,o)?r=c:l=n?c.to:c.from}let i=r.type.prop(o),s,a;return i&&(s=n?ms(e,r.from,1):ms(e,r.to,-1))&&s.matched?a=n?s.end.to:s.end.from:a=n?r.to:r.from,be.cursor(a,n?-1:1)}const _we=e=>Vi(e,t=>Py(e.state,t,!Nr(e))),kwe=e=>Vi(e,t=>Py(e.state,t,Nr(e)));function CQ(e,t){return Vi(e,n=>{if(!n.empty)return Cy(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}const PQ=e=>CQ(e,!1),AQ=e=>CQ(e,!0);function $Q(e){let t=e.scrollDOM.clientHeights.empty?e.moveVertically(s,t,n.height):Cy(s,t));if(o.eq(r.selection))return!1;let i;if(n.selfScroll){let s=e.coordsAtPos(r.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),l=a.top+n.marginTop,c=a.bottom-n.marginBottom;s&&s.top>l&&s.bottomMQ(e,!1),Rk=e=>MQ(e,!0);function Dl(e,t,n){let r=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,n);if(o.head==t.head&&o.head!=(n?r.to:r.from)&&(o=e.moveToLineBoundary(t,n,!1)),!n&&o.head==r.from&&r.length){let i=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;i&&t.head!=r.from+i&&(o=be.cursor(r.from+i))}return o}const xwe=e=>Vi(e,t=>Dl(e,t,!0)),Ewe=e=>Vi(e,t=>Dl(e,t,!1)),Twe=e=>Vi(e,t=>Dl(e,t,!Nr(e))),Cwe=e=>Vi(e,t=>Dl(e,t,Nr(e))),Pwe=e=>Vi(e,t=>be.cursor(e.lineBlockAt(t.head).from,1)),Awe=e=>Vi(e,t=>be.cursor(e.lineBlockAt(t.head).to,-1));function $we(e,t,n){let r=!1,o=Jd(e.selection,i=>{let s=ms(e,i.head,-1)||ms(e,i.head,1)||i.head>0&&ms(e,i.head-1,1)||i.head$we(e,t);function gi(e,t){let n=Jd(e.state.selection,r=>{let o=t(r);return be.range(r.anchor,o.head,o.goalColumn,o.bidiLevel||void 0)});return n.eq(e.state.selection)?!1:(e.dispatch(Rs(e.state,n)),!0)}function RQ(e,t){return gi(e,n=>e.moveByChar(n,t))}const IQ=e=>RQ(e,!Nr(e)),LQ=e=>RQ(e,Nr(e));function NQ(e,t){return gi(e,n=>e.moveByGroup(n,t))}const Rwe=e=>NQ(e,!Nr(e)),Iwe=e=>NQ(e,Nr(e)),Lwe=e=>gi(e,t=>Py(e.state,t,!Nr(e))),Nwe=e=>gi(e,t=>Py(e.state,t,Nr(e)));function DQ(e,t){return gi(e,n=>e.moveVertically(n,t))}const QQ=e=>DQ(e,!1),BQ=e=>DQ(e,!0);function zQ(e,t){return gi(e,n=>e.moveVertically(n,t,$Q(e).height))}const lM=e=>zQ(e,!1),cM=e=>zQ(e,!0),Dwe=e=>gi(e,t=>Dl(e,t,!0)),Qwe=e=>gi(e,t=>Dl(e,t,!1)),Bwe=e=>gi(e,t=>Dl(e,t,!Nr(e))),zwe=e=>gi(e,t=>Dl(e,t,Nr(e))),jwe=e=>gi(e,t=>be.cursor(e.lineBlockAt(t.head).from)),Wwe=e=>gi(e,t=>be.cursor(e.lineBlockAt(t.head).to)),uM=({state:e,dispatch:t})=>(t(Rs(e,{anchor:0})),!0),dM=({state:e,dispatch:t})=>(t(Rs(e,{anchor:e.doc.length})),!0),fM=({state:e,dispatch:t})=>(t(Rs(e,{anchor:e.selection.main.anchor,head:0})),!0),hM=({state:e,dispatch:t})=>(t(Rs(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),Fwe=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),qwe=({state:e,dispatch:t})=>{let n=Ay(e).map(({from:r,to:o})=>be.range(r,Math.min(o+1,e.doc.length)));return t(e.update({selection:be.create(n),userEvent:"select"})),!0},Uwe=({state:e,dispatch:t})=>{let n=Jd(e.selection,r=>{var o;let i=Lr(e).resolveStack(r.from,1);for(let s=i;s;s=s.next){let{node:a}=s;if((a.from=r.to||a.to>r.to&&a.from<=r.from)&&!((o=a.parent)===null||o===void 0)&&o.parent)return be.range(a.to,a.from)}return r});return t(Rs(e,n)),!0},Zwe=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=be.create([n.main]):n.main.empty||(r=be.create([be.cursor(n.main.head)])),r?(t(Rs(e,r)),!0):!1};function um(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,o=r.changeByRange(i=>{let{from:s,to:a}=i;if(s==a){let l=t(i);ls&&(n="delete.forward",l=mg(e,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=mg(e,s,!1),a=mg(e,a,!0);return s==a?{range:i}:{changes:{from:s,to:a},range:be.cursor(s,so(e)))r.between(t,t,(o,i)=>{ot&&(t=n?i:o)});return t}const jQ=(e,t,n)=>um(e,r=>{let o=r.from,{state:i}=e,s=i.doc.lineAt(o),a,l;if(n&&!t&&o>s.from&&ojQ(e,!1,!0),WQ=e=>jQ(e,!0,!1),FQ=(e,t)=>um(e,n=>{let r=n.head,{state:o}=e,i=o.doc.lineAt(r),s=o.charCategorizer(r);for(let a=null;;){if(r==(t?i.to:i.from)){r==n.head&&i.number!=(t?o.doc.lines:1)&&(r+=t?1:-1);break}let l=vr(i.text,r-i.from,t)+i.from,c=i.text.slice(Math.min(r,l)-i.from,Math.max(r,l)-i.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||r!=n.head)&&(a=u),r=l}return r}),qQ=e=>FQ(e,!1),Vwe=e=>FQ(e,!0),Xwe=e=>um(e,t=>{let n=e.lineBlockAt(t.head).to;return t.headum(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),Ywe=e=>um(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head{if(e.readOnly)return!1;let n=e.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:Pt.of(["",""])},range:be.cursor(r.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},Kwe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{if(!r.empty||r.from==0||r.from==e.doc.length)return{range:r};let o=r.from,i=e.doc.lineAt(o),s=o==i.from?o-1:vr(i.text,o-i.from,!1)+i.from,a=o==i.to?o+1:vr(i.text,o-i.from,!0)+i.from;return{changes:{from:s,to:a,insert:e.doc.slice(o,a).append(e.doc.slice(s,o))},range:be.cursor(a)}});return n.changes.empty?!1:(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Ay(e){let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.from),i=e.doc.lineAt(r.to);if(!r.empty&&r.to==i.from&&(i=e.doc.lineAt(r.to-1)),n>=o.number){let s=t[t.length-1];s.to=i.to,s.ranges.push(r)}else t.push({from:o.from,to:i.to,ranges:[r]});n=i.number+1}return t}function UQ(e,t,n){if(e.readOnly)return!1;let r=[],o=[];for(let i of Ay(e)){if(n?i.to==e.doc.length:i.from==0)continue;let s=e.doc.lineAt(n?i.to+1:i.from-1),a=s.length+1;if(n){r.push({from:i.to,to:s.to},{from:i.from,insert:s.text+e.lineBreak});for(let l of i.ranges)o.push(be.range(Math.min(e.doc.length,l.anchor+a),Math.min(e.doc.length,l.head+a)))}else{r.push({from:s.from,to:i.from},{from:i.to,insert:e.lineBreak+s.text});for(let l of i.ranges)o.push(be.range(l.anchor-a,l.head-a))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:be.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0):!1}const Jwe=({state:e,dispatch:t})=>UQ(e,t,!1),e1e=({state:e,dispatch:t})=>UQ(e,t,!0);function ZQ(e,t,n){if(e.readOnly)return!1;let r=[];for(let o of Ay(e))n?r.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak}):r.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const t1e=({state:e,dispatch:t})=>ZQ(e,t,!1),n1e=({state:e,dispatch:t})=>ZQ(e,t,!0),r1e=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Ay(t).map(({from:o,to:i})=>(o>0?o--:i{let i;if(e.lineWrapping){let s=e.lineBlockAt(o.head),a=e.coordsAtPos(o.head,o.assoc||1);a&&(i=s.bottom+e.documentTop-a.bottom+e.defaultLineHeight/2)}return e.moveVertically(o,!0,i)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function o1e(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=Lr(e).resolveInner(t),r=n.childBefore(t),o=n.childAfter(t),i;return r&&o&&r.to<=t&&o.from>=t&&(i=r.type.prop(st.closedBy))&&i.indexOf(o.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(r.to,o.from))?{from:r.to,to:o.from}:null}const i1e=VQ(!1),s1e=VQ(!0);function VQ(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(o=>{let{from:i,to:s}=o,a=t.doc.lineAt(i),l=!e&&i==s&&o1e(t,i);e&&(i=s=(s<=a.to?a:t.doc.lineAt(s)).to);let c=new ky(t,{simulateBreak:i,simulateDoubleBreak:!!l}),u=ZE(c,i);for(u==null&&(u=Kc(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));sa.from&&i{let o=[];for(let s=r.from;s<=r.to;){let a=e.doc.lineAt(s);a.number>n&&(r.empty||r.to>a.from)&&(t(a,o,r),n=a.number),s=a.to+1}let i=e.changes(o);return{changes:o,range:be.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}const a1e=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new ky(e,{overrideIndentation:i=>n[i]??-1}),o=YE(e,(i,s,a)=>{let l=ZE(r,i.from);if(l==null)return;/\S/.test(i.text)||(l=0);let c=/^\s*/.exec(i.text)[0],u=fp(e,l);(c!=u||a.frome.readOnly?!1:(t(e.update(YE(e,(n,r)=>{r.push({from:n.from,insert:e.facet(UE)})}),{userEvent:"input.indent"})),!0),c1e=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(YE(e,(n,r)=>{let o=/^\s*/.exec(n.text)[0];if(!o)return;let i=Kc(o,e.tabSize),s=0,a=fp(e,Math.max(0,i-A0(e)));for(;s(e.setTabFocusMode(),!0),d1e=[{key:"Ctrl-b",run:xQ,shift:IQ,preventDefault:!0},{key:"Ctrl-f",run:EQ,shift:LQ},{key:"Ctrl-p",run:PQ,shift:QQ},{key:"Ctrl-n",run:AQ,shift:BQ},{key:"Ctrl-a",run:Pwe,shift:jwe},{key:"Ctrl-e",run:Awe,shift:Wwe},{key:"Ctrl-d",run:WQ},{key:"Ctrl-h",run:Ik},{key:"Ctrl-k",run:Xwe},{key:"Ctrl-Alt-h",run:qQ},{key:"Ctrl-o",run:Gwe},{key:"Ctrl-t",run:Kwe},{key:"Ctrl-v",run:Rk}],f1e=[{key:"ArrowLeft",run:xQ,shift:IQ,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:vwe,shift:Rwe,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:Twe,shift:Bwe,preventDefault:!0},{key:"ArrowRight",run:EQ,shift:LQ,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:wwe,shift:Iwe,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Cwe,shift:zwe,preventDefault:!0},{key:"ArrowUp",run:PQ,shift:QQ,preventDefault:!0},{mac:"Cmd-ArrowUp",run:uM,shift:fM},{mac:"Ctrl-ArrowUp",run:aM,shift:lM},{key:"ArrowDown",run:AQ,shift:BQ,preventDefault:!0},{mac:"Cmd-ArrowDown",run:dM,shift:hM},{mac:"Ctrl-ArrowDown",run:Rk,shift:cM},{key:"PageUp",run:aM,shift:lM},{key:"PageDown",run:Rk,shift:cM},{key:"Home",run:Ewe,shift:Qwe,preventDefault:!0},{key:"Mod-Home",run:uM,shift:fM},{key:"End",run:xwe,shift:Dwe,preventDefault:!0},{key:"Mod-End",run:dM,shift:hM},{key:"Enter",run:i1e},{key:"Mod-a",run:Fwe},{key:"Backspace",run:Ik,shift:Ik},{key:"Delete",run:WQ},{key:"Mod-Backspace",mac:"Alt-Backspace",run:qQ},{key:"Mod-Delete",mac:"Alt-Delete",run:Vwe},{mac:"Mod-Backspace",run:Hwe},{mac:"Mod-Delete",run:Ywe}].concat(d1e.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),h1e=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:_we,shift:Lwe},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:kwe,shift:Nwe},{key:"Alt-ArrowUp",run:Jwe},{key:"Shift-Alt-ArrowUp",run:t1e},{key:"Alt-ArrowDown",run:e1e},{key:"Shift-Alt-ArrowDown",run:n1e},{key:"Escape",run:Zwe},{key:"Mod-Enter",run:s1e},{key:"Alt-l",mac:"Ctrl-l",run:qwe},{key:"Mod-i",run:Uwe,preventDefault:!0},{key:"Mod-[",run:c1e},{key:"Mod-]",run:l1e},{key:"Mod-Alt-\\",run:a1e},{key:"Shift-Mod-k",run:r1e},{key:"Shift-Mod-\\",run:Mwe},{key:"Mod-/",run:twe},{key:"Alt-A",run:rwe},{key:"Ctrl-m",mac:"Shift-Alt-m",run:u1e}].concat(f1e);function cn(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r];typeof o=="string"?e.setAttribute(r,o):o!=null&&(e[r]=o)}t++}for(;te.normalize("NFKD"):e=>e;class vd{constructor(t,n,r=0,o=t.length,i,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(r,o),this.bufferStart=r,this.normalize=i?a=>i(pM(a)):pM,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return gr(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let n=xE(t),r=this.bufferStart+this.bufferPos;this.bufferPos+=Jo(t);let o=this.normalize(n);for(let i=0,s=r;;i++){let a=o.charCodeAt(i),l=this.match(a,s,this.bufferPos+this.bufferStart);if(i==o.length-1){if(l)return this.value=l,this;break}s==r&&ithis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,o=r+n[0].length;if(this.matchPos=I0(this.text,o+(r==o?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(rthis.value.to)&&(!this.test||this.test(r,o,n)))return this.value={from:r,to:o,match:n},this;t=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=r||o.to<=n){let a=new hb(n,t.sliceString(n,r));return Uw.set(t,a),a}if(o.from==n&&o.to==r)return o;let{text:i,from:s}=o;return s>n&&(i=t.sliceString(n,s)+i,s=n),o.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==t&&(this.re.lastIndex=t+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,o=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,o,n)))return this.value={from:r,to:o,match:n},this.matchPos=I0(this.text,o+(r==o?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=mM.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(YQ.prototype[Symbol.iterator]=GQ.prototype[Symbol.iterator]=function(){return this});function p1e(e){try{return new RegExp(e,GE),!0}catch{return!1}}function I0(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t=56320&&r<57344;)t++;return t}function Lk(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),n=cn("input",{class:"cm-textfield",name:"line",value:t}),r=cn("form",{class:"cm-gotoLine",onkeydown:i=>{i.keyCode==27?(i.preventDefault(),e.dispatch({effects:L0.of(!1)}),e.focus()):i.keyCode==13&&(i.preventDefault(),o())},onsubmit:i=>{i.preventDefault(),o()}},cn("label",e.state.phrase("Go to line"),": ",n)," ",cn("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function o(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!i)return;let{state:s}=e,a=s.doc.lineAt(s.selection.main.head),[,l,c,u,d]=i,f=u?+u.slice(1):0,h=c?+c:a.number;if(c&&d){let O=h/100;l&&(O=O*(l=="-"?-1:1)+a.number/s.doc.lines),h=Math.round(s.doc.lines*O)}else c&&l&&(h=h*(l=="-"?-1:1)+a.number);let p=s.doc.line(Math.max(1,Math.min(s.doc.lines,h))),m=be.cursor(p.from+Math.max(0,Math.min(f,p.length)));e.dispatch({effects:[L0.of(!1),Ae.scrollIntoView(m.from,{y:"center"})],selection:m}),e.focus()}return{dom:r}}const L0=ft.define(),gM=dr.define({create(){return!0},update(e,t){for(let n of t.effects)n.is(L0)&&(e=n.value);return e},provide:e=>up.from(e,t=>t?Lk:null)}),m1e=e=>{let t=cp(e,Lk);if(!t){let n=[L0.of(!0)];e.state.field(gM,!1)==null&&n.push(ft.appendConfig.of([gM,g1e])),e.dispatch({effects:n}),t=cp(e,Lk)}return t&&t.dom.querySelector("input").select(),!0},g1e=Ae.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),b1e={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},O1e=Pe.define({combine(e){return Ms(e,b1e,{highlightWordAroundCursor:(t,n)=>t||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function y1e(e){return[k1e,_1e]}const v1e=Ze.mark({class:"cm-selectionMatch"}),w1e=Ze.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function bM(e,t,n,r){return(n==0||e(t.sliceDoc(n-1,n))!=wn.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=wn.Word)}function S1e(e,t,n,r){return e(t.sliceDoc(n,n+1))==wn.Word&&e(t.sliceDoc(r-1,r))==wn.Word}const _1e=Cn.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(O1e),{state:n}=e,r=n.selection;if(r.ranges.length>1)return Ze.none;let o=r.main,i,s=null;if(o.empty){if(!t.highlightWordAroundCursor)return Ze.none;let l=n.wordAt(o.head);if(!l)return Ze.none;s=n.charCategorizer(o.head),i=n.sliceDoc(l.from,l.to)}else{let l=o.to-o.from;if(l200)return Ze.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),s=n.charCategorizer(o.head),!(bM(s,n,o.from,o.to)&&S1e(s,n,o.from,o.to)))return Ze.none}else if(i=n.sliceDoc(o.from,o.to),!i)return Ze.none}let a=[];for(let l of e.visibleRanges){let c=new vd(n.doc,i,l.from,l.to);for(;!c.next().done;){let{from:u,to:d}=c.value;if((!s||bM(s,n,u,d))&&(o.empty&&u<=o.from&&d>=o.to?a.push(w1e.range(u,d)):(u>=o.to||d<=o.from)&&a.push(v1e.range(u,d)),a.length>t.maxMatches))return Ze.none}}return Ze.set(a)}},{decorations:e=>e.decorations}),k1e=Ae.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),x1e=({state:e,dispatch:t})=>{let{selection:n}=e,r=be.create(n.ranges.map(o=>e.wordAt(o.head)||be.cursor(o.head)),n.mainIndex);return r.eq(n)?!1:(t(e.update({selection:r})),!0)};function E1e(e,t){let{main:n,ranges:r}=e.selection,o=e.wordAt(n.head),i=o&&o.from==n.from&&o.to==n.to;for(let s=!1,a=new vd(e.doc,t,r[r.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new vd(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),s=!0}else{if(s&&r.some(l=>l.from==a.value.from))continue;if(i){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const T1e=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(i=>i.from===i.to))return x1e({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(i=>e.sliceDoc(i.from,i.to)!=r))return!1;let o=E1e(e,r);return o?(t(e.update({selection:e.selection.addRange(be.range(o.from,o.to),!1),effects:Ae.scrollIntoView(o.to)})),!0):!1},ef=Pe.define({combine(e){return Ms(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new B1e(t),scrollToMatch:t=>Ae.scrollIntoView(t)})}});class KQ{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||p1e(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?` `:r=="r"?"\r":r=="t"?" ":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new $1e(this):new P1e(this)}getCursor(t,n=0,r){let o=t.doc?t:bt.create({doc:t});return r==null&&(r=o.doc.length),this.regexp?Su(this,o,n,r):wu(this,o,n,r)}}class JQ{constructor(t){this.spec=t}}function wu(e,t,n,r){return new vd(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:o=>o.toLowerCase(),e.wholeWord?C1e(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function C1e(e,t){return(n,r,o,i)=>((i>n||i+o.length=n)return null;o.push(r.value)}return o}highlight(t,n,r,o){let i=wu(this.spec,t,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,t.doc.length));for(;!i.next().done;)o(i.value.from,i.value.to)}}function Su(e,t,n,r){return new YQ(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?A1e(t.charCategorizer(t.selection.main.head)):void 0},n,r)}function N0(e,t){return e.slice(vr(e,t,!1),t)}function D0(e,t){return e.slice(t,vr(e,t))}function A1e(e){return(t,n,r)=>!r[0].length||(e(N0(r.input,r.index))!=wn.Word||e(D0(r.input,r.index))!=wn.Word)&&(e(D0(r.input,r.index+r[0].length))!=wn.Word||e(N0(r.input,r.index+r[0].length))!=wn.Word)}class $1e extends JQ{nextMatch(t,n,r){let o=Su(this.spec,t,r,t.doc.length).next();return o.done&&(o=Su(this.spec,t,0,n).next()),o.done?null:o.value}prevMatchInRange(t,n,r){for(let o=1;;o++){let i=Math.max(n,r-o*1e4),s=Su(this.spec,t,i,r),a=null;for(;!s.next().done;)a=s.value;if(a&&(i==n||a.from>i+10))return a;if(i==n)return null}}prevMatch(t,n,r){return this.prevMatchInRange(t,0,n)||this.prevMatchInRange(t,r,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(n,r)=>r=="$"?"$":r=="&"?t.match[0]:r!="0"&&+r=n)return null;o.push(r.value)}return o}highlight(t,n,r,o){let i=Su(this.spec,t,Math.max(0,n-250),Math.min(r+250,t.doc.length));for(;!i.next().done;)o(i.value.from,i.value.to)}}const hp=ft.define(),KE=ft.define(),hl=dr.define({create(e){return new Zw(Nk(e).create(),null)},update(e,t){for(let n of t.effects)n.is(hp)?e=new Zw(n.value.create(),e.panel):n.is(KE)&&(e=new Zw(e.query,n.value?JE:null));return e},provide:e=>up.from(e,t=>t.panel)});class Zw{constructor(t,n){this.query=t,this.panel=n}}const M1e=Ze.mark({class:"cm-searchMatch"}),R1e=Ze.mark({class:"cm-searchMatch cm-searchMatch-selected"}),I1e=Cn.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(hl))}update(e){let t=e.state.field(hl);(t!=e.startState.field(hl)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return Ze.none;let{view:n}=this,r=new wl;for(let o=0,i=n.visibleRanges,s=i.length;oi[o+1].from-2*250;)l=i[++o].to;e.highlight(n.state,a,l,(c,u)=>{let d=n.state.selection.ranges.some(f=>f.from==c&&f.to==u);r.add(c,u,d?R1e:M1e)})}return r.finish()}},{decorations:e=>e.decorations});function dm(e){return t=>{let n=t.state.field(hl,!1);return n&&n.query.spec.valid?e(t,n):nB(t)}}const Q0=dm((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let o=be.single(r.from,r.to),i=e.state.facet(ef);return e.dispatch({selection:o,effects:[eT(e,r),i.scrollToMatch(o.main,e)],userEvent:"select.search"}),tB(e),!0}),B0=dm((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,o=t.prevMatch(n,r,r);if(!o)return!1;let i=be.single(o.from,o.to),s=e.state.facet(ef);return e.dispatch({selection:i,effects:[eT(e,o),s.scrollToMatch(i.main,e)],userEvent:"select.search"}),tB(e),!0}),L1e=dm((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!n||!n.length?!1:(e.dispatch({selection:be.create(n.map(r=>be.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),N1e=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:o}=n.main,i=[],s=0;for(let a=new vd(e.doc,e.sliceDoc(r,o));!a.next().done;){if(i.length>1e3)return!1;a.value.from==r&&(s=i.length),i.push(be.range(a.value.from,a.value.to))}return t(e.update({selection:be.create(i,s),userEvent:"select.search.matches"})),!0},OM=dm((e,{query:t})=>{let{state:n}=e,{from:r,to:o}=n.selection.main;if(n.readOnly)return!1;let i=t.nextMatch(n,r,r);if(!i)return!1;let s=[],a,l,c=[];if(i.from==r&&i.to==o&&(l=n.toText(t.getReplacement(i)),s.push({from:i.from,to:i.to,insert:l}),i=t.nextMatch(n,i.from,i.to),c.push(Ae.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),i){let u=s.length==0||s[0].from>=i.to?0:i.to-i.from-l.length;a=be.single(i.from-u,i.to-u),c.push(eT(e,i)),c.push(n.facet(ef).scrollToMatch(a.main,e))}return e.dispatch({changes:s,selection:a,effects:c,userEvent:"input.replace"}),!0}),D1e=dm((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(o=>{let{from:i,to:s}=o;return{from:i,to:s,insert:t.getReplacement(o)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:Ae.announce.of(r),userEvent:"input.replace.all"}),!0});function JE(e){return e.state.facet(ef).createPanel(e)}function Nk(e,t){var n,r,o,i,s;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let c=e.facet(ef);return new KQ({search:((n=t==null?void 0:t.literal)!==null&&n!==void 0?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=t==null?void 0:t.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(o=t==null?void 0:t.literal)!==null&&o!==void 0?o:c.literal,regexp:(i=t==null?void 0:t.regexp)!==null&&i!==void 0?i:c.regexp,wholeWord:(s=t==null?void 0:t.wholeWord)!==null&&s!==void 0?s:c.wholeWord})}function eB(e){let t=cp(e,JE);return t&&t.dom.querySelector("[main-field]")}function tB(e){let t=eB(e);t&&t==e.root.activeElement&&t.select()}const nB=e=>{let t=e.state.field(hl,!1);if(t&&t.panel){let n=eB(e);if(n&&n!=e.root.activeElement){let r=Nk(e.state,t.query.spec);r.valid&&e.dispatch({effects:hp.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[KE.of(!0),t?hp.of(Nk(e.state,t.query.spec)):ft.appendConfig.of(j1e)]});return!0},rB=e=>{let t=e.state.field(hl,!1);if(!t||!t.panel)return!1;let n=cp(e,JE);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:KE.of(!1)}),!0},Q1e=[{key:"Mod-f",run:nB,scope:"editor search-panel"},{key:"F3",run:Q0,shift:B0,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Q0,shift:B0,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:rB,scope:"editor search-panel"},{key:"Mod-Shift-l",run:N1e},{key:"Mod-Alt-g",run:m1e},{key:"Mod-d",run:T1e,preventDefault:!0}];class B1e{constructor(t){this.view=t;let n=this.query=t.state.field(hl).query.spec;this.commit=this.commit.bind(this),this.searchField=cn("input",{value:n.search,placeholder:xo(t,"Find"),"aria-label":xo(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=cn("input",{value:n.replace,placeholder:xo(t,"Replace"),"aria-label":xo(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=cn("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=cn("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=cn("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(o,i,s){return cn("button",{class:"cm-button",name:o,onclick:i,type:"button"},s)}this.dom=cn("div",{onkeydown:o=>this.keydown(o),class:"cm-search"},[this.searchField,r("next",()=>Q0(t),[xo(t,"next")]),r("prev",()=>B0(t),[xo(t,"previous")]),r("select",()=>L1e(t),[xo(t,"all")]),cn("label",null,[this.caseField,xo(t,"match case")]),cn("label",null,[this.reField,xo(t,"regexp")]),cn("label",null,[this.wordField,xo(t,"by word")]),...t.state.readOnly?[]:[cn("br"),this.replaceField,r("replace",()=>OM(t),[xo(t,"replace")]),r("replaceAll",()=>D1e(t),[xo(t,"replace all")])],cn("button",{name:"close",onclick:()=>rB(t),"aria-label":xo(t,"close"),type:"button"},["×"])])}commit(){let t=new KQ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:hp.of(t)}))}keydown(t){WOe(this.view,t,"search-panel")?t.preventDefault():t.keyCode==13&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?B0:Q0)(this.view)):t.keyCode==13&&t.target==this.replaceField&&(t.preventDefault(),OM(this.view))}update(t){for(let n of t.transactions)for(let r of n.effects)r.is(hp)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(ef).top}}function xo(e,t){return e.state.phrase(t)}const gg=30,bg=/[\s\.,:;?!]/;function eT(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),o=e.state.doc.lineAt(n).to,i=Math.max(r.from,t-gg),s=Math.min(o,n+gg),a=e.state.sliceDoc(i,s);if(i!=r.from){for(let l=0;la.length-gg;l--)if(!bg.test(a[l-1])&&bg.test(a[l])){a=a.slice(0,l);break}}return Ae.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${r.number}.`)}const z1e=Ae.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),j1e=[hl,Gc.low(I1e),z1e];class oB{constructor(t,n,r){this.state=t,this.pos=n,this.explicit=r,this.abortListeners=[]}tokenBefore(t){let n=Lr(this.state).resolveInner(this.pos,-1);for(;n&&t.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(t){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),o=n.text.slice(r-n.from,this.pos-n.from),i=o.search(iB(t,!1));return i<0?null:{from:r+i,to:this.pos,text:o.slice(i)}}get aborted(){return this.abortListeners==null}addEventListener(t,n){t=="abort"&&this.abortListeners&&this.abortListeners.push(n)}}function yM(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function W1e(e){let t=Object.create(null),n=Object.create(null);for(let{label:o}of e){t[o[0]]=!0;for(let i=1;itypeof o=="string"?{label:o}:o),[n,r]=t.every(o=>/^\w+$/.test(o.label))?[/\w*$/,/\w+$/]:W1e(t);return o=>{let i=o.matchBefore(r);return i||o.explicit?{from:i?i.from:o.pos,options:t,validFor:n}:null}}class vM{constructor(t,n,r,o){this.completion=t,this.source=n,this.match=r,this.score=o}}function pl(e){return e.selection.main.from}function iB(e,t){var n;let{source:r}=e,o=t&&r[0]!="^",i=r[r.length-1]!="$";return!o&&!i?e:new RegExp(`${o?"^":""}(?:${r})${i?"$":""}`,(n=e.flags)!==null&&n!==void 0?n:e.ignoreCase?"i":"")}const sB=Ta.define();function q1e(e,t,n,r){let{main:o}=e.selection,i=n-o.from,s=r-o.from;return Object.assign(Object.assign({},e.changeByRange(a=>a!=o&&n!=r&&e.sliceDoc(a.from+i,a.from+s)!=e.sliceDoc(n,r)?{range:a}:{changes:{from:a.from+i,to:r==o.from?a.to:a.from+s,insert:t},range:be.cursor(a.from+i+t.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const wM=new WeakMap;function U1e(e){if(!Array.isArray(e))return e;let t=wM.get(e);return t||wM.set(e,t=F1e(e)),t}const z0=ft.define(),pp=ft.define();class Z1e{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&w<=57||w>=97&&w<=122?2:w>=65&&w<=90?1:0:(S=xE(w))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!b||_==1&&O||y==0&&_!=0)&&(n[d]==w||r[d]==w&&(f=!0)?s[d++]=b:s.length&&(g=!1)),y=_,b+=Jo(w)}return d==l&&s[0]==0&&g?this.result(-100+(f?-200:0),s,t):h==l&&p==0?this.ret(-200-t.length+(m==t.length?0:-100),[0,m]):a>-1?this.ret(-700-t.length,[a,a+this.pattern.length]):h==l?this.ret(-900-t.length,[p,m]):d==l?this.result(-100+(f?-200:0)+-700+(g?0:-1100),s,t):n.length==2?null:this.result((o[0]?-700:0)+-200+-1100,o,t)}result(t,n,r){let o=[],i=0;for(let s of n){let a=s+(this.astral?Jo(gr(r,s)):1);i&&o[i-1]==s?o[i-1]=a:(o[i++]=s,o[i++]=a)}return this.ret(t-r.length,o)}}class V1e{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:X1e,filterStrict:!1,compareCompletions:(t,n)=>t.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,n)=>t&&n,closeOnBlur:(t,n)=>t&&n,icons:(t,n)=>t&&n,tooltipClass:(t,n)=>r=>SM(t(r),n(r)),optionClass:(t,n)=>r=>SM(t(r),n(r)),addToOptions:(t,n)=>t.concat(n),filterStrict:(t,n)=>t||n})}});function SM(e,t){return e?t?e+" "+t:e:t}function X1e(e,t,n,r,o,i){let s=e.textDirection==Kt.RTL,a=s,l=!1,c="top",u,d,f=t.left-o.left,h=o.right-t.right,p=r.right-r.left,m=r.bottom-r.top;if(a&&f=m||b>t.top?u=n.bottom-t.top:(c="bottom",u=t.bottom-n.top)}let O=(t.bottom-t.top)/i.offsetHeight,g=(t.right-t.left)/i.offsetWidth;return{style:`${c}: ${u/O}px; max-width: ${d/g}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function H1e(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(o=>"cm-completionIcon-"+o)),r.setAttribute("aria-hidden","true"),r},position:20}),t.push({render(n,r,o,i){let s=document.createElement("span");s.className="cm-completionLabel";let a=n.displayLabel||n.label,l=0;for(let c=0;cl&&s.appendChild(document.createTextNode(a.slice(l,u)));let f=s.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(a.slice(u,d))),f.className="cm-completionMatchedText",l=d}return ln.position-r.position).map(n=>n.render)}function Vw(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let o=Math.floor(t/n);return{from:o*n,to:(o+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class Y1e{constructor(t,n,r){this.view=t,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let o=t.state.field(n),{options:i,selected:s}=o.open,a=t.state.facet(Or);this.optionContent=H1e(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=Vw(i.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(n).open;for(let u=l.target,d;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(d=/-(\d+)$/.exec(u.id))&&+d[1]{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(Or).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:pp.of(null)})}),this.showOptions(i,o.id)}mount(){this.updateSel()}showOptions(t,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var n;let r=t.state.field(this.stateField),o=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),r!=o){let{options:i,selected:s,disabled:a}=r.open;(!o.open||o.open.options!=i)&&(this.range=Vw(i.length,s,t.state.facet(Or).maxRenderedOptions),this.showOptions(i,r.id)),this.updateSel(),a!=((n=o.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(t){let n=this.tooltipClass(t);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),n=t.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=Vw(n.options.length,n.selected,this.view.state.facet(Or).maxRenderedOptions),this.showOptions(n.options,t.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:o}=r;if(!o)return;let i=typeof o=="string"?document.createTextNode(o):o(r);if(!i)return;"then"in i?i.then(s=>{s&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(s,r)}).catch(s=>Gr(this.view.state,s,"completion info")):this.addInfoPane(i,r)}}addInfoPane(t,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",t.nodeType!=null)r.appendChild(t),this.infoDestroy=null;else{let{dom:o,destroy:i}=t;r.appendChild(o),this.infoDestroy=i||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let n=null;for(let r=this.list.firstChild,o=this.range.from;r;r=r.nextSibling,o++)r.nodeName!="LI"||!r.id?o--:o==t?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&K1e(this.list,n),n}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),o=t.getBoundingClientRect(),i=this.space;if(!i){let s=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:s.innerWidth,bottom:s.innerHeight}}return o.top>Math.min(i.bottom,n.bottom)-10||o.bottomr.from||r.from==0))if(i=f,typeof c!="string"&&c.header)o.appendChild(c.header(c));else{let h=o.appendChild(document.createElement("completion-section"));h.textContent=f}}const u=o.appendChild(document.createElement("li"));u.id=n+"-"+s,u.setAttribute("role","option");let d=this.optionClass(a);d&&(u.className=d);for(let f of this.optionContent){let h=f(a,this.view.state,this.view,l);h&&u.appendChild(h)}}return r.from&&o.classList.add("cm-completionListIncompleteTop"),r.tonew Y1e(n,e,t)}function K1e(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=n.height/e.offsetHeight;r.topn.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/o)}function _M(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function J1e(e,t){let n=[],r=null,o=c=>{n.push(c);let{section:u}=c.completion;if(u){r||(r=[]);let d=typeof u=="string"?u:u.name;r.some(f=>f.name==d)||r.push(typeof u=="string"?{name:d}:u)}},i=t.facet(Or);for(let c of e)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let d of c.result.options)o(new vM(d,c.source,u?u(d):[],1e9-n.length));else{let d=t.sliceDoc(c.from,c.to),f,h=i.filterStrict?new V1e(d):new Z1e(d);for(let p of c.result.options)if(f=h.match(p.label)){let m=p.displayLabel?u?u(p,f.matched):[]:f.matched;o(new vM(p,c.source,m,f.score+(p.boost||0)))}}}if(r){let c=Object.create(null),u=0,d=(f,h)=>{var p,m;return((p=f.rank)!==null&&p!==void 0?p:1e9)-((m=h.rank)!==null&&m!==void 0?m:1e9)||(f.named.score-u.score||l(u.completion,d.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?s.push(c):_M(c.completion)>_M(a)&&(s[s.length-1]=c),a=c.completion}return s}class Mu{constructor(t,n,r,o,i,s){this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=o,this.selected=i,this.disabled=s}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new Mu(this.options,kM(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,o,i){let s=J1e(t,n);if(!s.length)return o&&t.some(l=>l.state==1)?new Mu(o.options,o.attrs,o.tooltip,o.timestamp,o.selected,!0):null;let a=n.facet(Or).selectOnOpen?0:-1;if(o&&o.selected!=a&&o.selected!=-1){let l=o.options[o.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:iSe,above:i.aboveCursor},o?o.timestamp:Date.now(),a,!1)}map(t){return new Mu(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class j0{constructor(t,n,r){this.active=t,this.id=n,this.open=r}static start(){return new j0(rSe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(Or),o=(r.override||n.languageDataAt("autocomplete",pl(n)).map(U1e)).map(s=>(this.active.find(a=>a.source==s)||new Vr(s,this.active.some(a=>a.state!=0)?1:0)).update(t,r));o.length==this.active.length&&o.every((s,a)=>s==this.active[a])&&(o=this.active);let i=this.open;i&&t.docChanged&&(i=i.map(t.changes)),t.selection||o.some(s=>s.hasResult()&&t.changes.touchesRange(s.from,s.to))||!eSe(o,this.active)?i=Mu.build(o,n,this.id,i,r):i&&i.disabled&&!o.some(s=>s.state==1)&&(i=null),!i&&o.every(s=>s.state!=1)&&o.some(s=>s.hasResult())&&(o=o.map(s=>s.hasResult()?new Vr(s.source,0):s));for(let s of t.effects)s.is(lB)&&(i=i&&i.setSelected(s.value,this.id));return o==this.active&&i==this.open?this:new j0(o,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?tSe:nSe}}function eSe(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=e+"-"+t),n}const rSe=[];function Dk(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(sB);if(n&&t.activateOnCompletion(n))return"input"}return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class Vr{constructor(t,n,r=-1){this.source=t,this.state=n,this.explicitPos=r}hasResult(){return!1}update(t,n){let r=Dk(t,n),o=this;r?o=o.handleUserEvent(t,r,n):t.docChanged?o=o.handleChange(t):t.selection&&o.state!=0&&(o=new Vr(o.source,0));for(let i of t.effects)if(i.is(z0))o=new Vr(o.source,1,i.value?pl(t.state):-1);else if(i.is(pp))o=new Vr(o.source,0);else if(i.is(aB))for(let s of i.value)s.source==o.source&&(o=s);return o}handleUserEvent(t,n,r){return n=="delete"||!r.activateOnTyping?this.map(t.changes):new Vr(this.source,1)}handleChange(t){return t.changes.touchesRange(pl(t.startState))?new Vr(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new Vr(this.source,this.state,t.mapPos(this.explicitPos))}}class Hu extends Vr{constructor(t,n,r,o,i){super(t,2,n),this.result=r,this.from=o,this.to=i}hasResult(){return!0}handleUserEvent(t,n,r){var o;let i=this.result;i.map&&!t.changes.empty&&(i=i.map(i,t.changes));let s=t.changes.mapPos(this.from),a=t.changes.mapPos(this.to,1),l=pl(t.state);if((this.explicitPos<0?l<=s:la||!i||n=="delete"&&pl(t.startState)==this.from)return new Vr(this.source,n=="input"&&r.activateOnTyping?1:0);let c=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos);return oSe(i.validFor,t.state,s,a)?new Hu(this.source,c,i,s,a):i.update&&(i=i.update(i,s,a,new oB(t.state,l,c>=0)))?new Hu(this.source,c,i,i.from,(o=i.to)!==null&&o!==void 0?o:pl(t.state)):new Vr(this.source,1,c)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new Vr(this.source,0):this.map(t.changes)}map(t){return t.empty?this:(this.result.map?this.result.map(this.result,t):this.result)?new Hu(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new Vr(this.source,0)}}function oSe(e,t,n,r){if(!e)return!1;let o=t.sliceDoc(n,r);return typeof e=="function"?e(o,n,r,t):iB(e,!0).test(o)}const aB=ft.define({map(e,t){return e.map(n=>n.map(t))}}),lB=ft.define(),ho=dr.define({create(){return j0.start()},update(e,t){return e.update(t)},provide:e=>[BE.from(e,t=>t.tooltip),Ae.contentAttributes.from(e,t=>t.attrs)]});function tT(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(ho).active.find(o=>o.source==t.source);return r instanceof Hu?(typeof n=="string"?e.dispatch(Object.assign(Object.assign({},q1e(e.state,n,r.from,r.to)),{annotations:sB.of(t.completion)})):n(e,t.completion,r.from,r.to),!0):!1}const iSe=G1e(ho,tT);function Og(e,t="option"){return n=>{let r=n.state.field(ho,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+o*(e?1:-1):e?0:s-1;return a<0?a=t=="page"?0:s-1:a>=s&&(a=t=="page"?s-1:0),n.dispatch({effects:lB.of(a)}),!0}}const sSe=e=>{let t=e.state.field(ho,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.state.field(ho,!1)?(e.dispatch({effects:z0.of(!0)}),!0):!1,lSe=e=>{let t=e.state.field(ho,!1);return!t||!t.active.some(n=>n.state!=0)?!1:(e.dispatch({effects:pp.of(null)}),!0)};class cSe{constructor(t,n){this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const uSe=50,dSe=1e3,fSe=Cn.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(ho).active)t.state==1&&this.startQuery(t)}update(e){let t=e.state.field(ho),n=e.state.facet(Or);if(!e.selectionSet&&!e.docChanged&&e.startState.field(ho)==t)return;let r=e.transactions.some(i=>(i.selection||i.docChanged)&&!Dk(i,n));for(let i=0;iuSe&&Date.now()-s.time>dSe){for(let a of s.context.abortListeners)try{a()}catch(l){Gr(this.view.state,l)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(i=>i.effects.some(s=>s.is(z0)))&&(this.pendingStart=!0);let o=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(i=>i.state==1&&!this.running.some(s=>s.active.source==i.source))?setTimeout(()=>this.startUpdate(),o):-1,this.composing!=0)for(let i of e.transactions)Dk(i,n)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(ho);for(let n of t.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=pl(t),r=new oB(t,n,e.explicitPos==n),o=new cSe(e,r);this.running.push(o),Promise.resolve(e.source(r)).then(i=>{o.context.aborted||(o.done=i||null,this.scheduleAccept())},i=>{this.view.dispatch({effects:pp.of(null)}),Gr(this.view.state,i)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Or).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(Or);for(let r=0;rs.source==o.active.source);if(i&&i.state==1)if(o.done==null){let s=new Vr(o.active.source,0);for(let a of o.updates)s=s.update(a,n);s.state!=1&&t.push(s)}else this.startQuery(i)}t.length&&this.view.dispatch({effects:aB.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(ho,!1);if(t&&t.tooltip&&this.view.state.facet(Or).closeOnBlur){let n=t.open&&V9(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:pp.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:z0.of(!1)}),20),this.composing=0}}}),hSe=typeof navigator=="object"&&/Win/.test(navigator.platform),pSe=Gc.highest(Ae.domEventHandlers({keydown(e,t){let n=t.state.field(ho,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(hSe&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],o=n.active.find(s=>s.source==r.source),i=r.completion.commitCharacters||o.result.commitCharacters;return i&&i.indexOf(e.key)>-1&&tT(t,r),!1}})),mSe=Ae.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),mp={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},mc=ft.define({map(e,t){return t.mapPos(e,-1,Hr.TrackAfter)??void 0}}),nT=new class extends vl{};nT.startSide=1;nT.endSide=-1;const cB=dr.define({create(){return Tt.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of t.effects)n.is(mc)&&(e=e.update({add:[nT.range(n.value,n.value+1)]}));return e}});function gSe(){return[OSe,cB]}const Xw="()[]{}<>";function uB(e){for(let t=0;t{if((bSe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||r.length==2&&Jo(gr(r,0))==1||t!=o.from||n!=o.to)return!1;let i=wSe(e.state,r);return i?(e.dispatch(i),!0):!1}),ySe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=dB(e,e.selection.main.head).brackets||mp.brackets,r=null,o=e.changeByRange(i=>{if(i.empty){let s=SSe(e.doc,i.head);for(let a of n)if(a==s&&$y(e.doc,i.head)==uB(gr(a,0)))return{changes:{from:i.head-a.length,to:i.head+a.length},range:be.cursor(i.head-a.length)}}return{range:r=i}});return r||t(e.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},vSe=[{key:"Backspace",run:ySe}];function wSe(e,t){let n=dB(e,e.selection.main.head),r=n.brackets||mp.brackets;for(let o of r){let i=uB(gr(o,0));if(t==o)return i==o?xSe(e,o,r.indexOf(o+o+o)>-1,n):_Se(e,o,i,n.before||mp.before);if(t==i&&fB(e,e.selection.main.from))return kSe(e,o,i)}return null}function fB(e,t){let n=!1;return e.field(cB).between(0,e.doc.length,r=>{r==t&&(n=!0)}),n}function $y(e,t){let n=e.sliceString(t,t+2);return n.slice(0,Jo(gr(n,0)))}function SSe(e,t){let n=e.sliceString(t-2,t);return Jo(gr(n,0))==n.length?n:n.slice(1)}function _Se(e,t,n,r){let o=null,i=e.changeByRange(s=>{if(!s.empty)return{changes:[{insert:t,from:s.from},{insert:n,from:s.to}],effects:mc.of(s.to+t.length),range:be.range(s.anchor+t.length,s.head+t.length)};let a=$y(e.doc,s.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:s.head},effects:mc.of(s.head+t.length),range:be.cursor(s.head+t.length)}:{range:o=s}});return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function kSe(e,t,n){let r=null,o=e.changeByRange(i=>i.empty&&$y(e.doc,i.head)==n?{changes:{from:i.head,to:i.head+n.length,insert:n},range:be.cursor(i.head+n.length)}:r={range:i});return r?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function xSe(e,t,n,r){let o=r.stringPrefixes||mp.stringPrefixes,i=null,s=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:t,from:a.to}],effects:mc.of(a.to+t.length),range:be.range(a.anchor+t.length,a.head+t.length)};let l=a.head,c=$y(e.doc,l),u;if(c==t){if(xM(e,l))return{changes:{insert:t+t,from:l},effects:mc.of(l+t.length),range:be.cursor(l+t.length)};if(fB(e,l)){let d=n&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+d.length,insert:d},range:be.cursor(l+d.length)}}}else{if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=EM(e,l-2*t.length,o))>-1&&xM(e,u))return{changes:{insert:t+t+t+t,from:l},effects:mc.of(l+t.length),range:be.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=wn.Word&&EM(e,l,o)>-1&&!ESe(e,l,t,o))return{changes:{insert:t+t,from:l},effects:mc.of(l+t.length),range:be.cursor(l+t.length)}}return{range:i=a}});return i?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function xM(e,t){let n=Lr(e).resolveInner(t+1);return n.parent&&n.from==t}function ESe(e,t,n,r){let o=Lr(e).resolveInner(t,-1),i=r.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=e.sliceDoc(o.from,Math.min(o.to,o.from+n.length+i)),l=a.indexOf(n);if(!l||l>-1&&r.indexOf(a.slice(0,l))>-1){let u=o.firstChild;for(;u&&u.from==o.from&&u.to-u.from>n.length+l;){if(e.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}let c=o.to==t&&o.parent;if(!c)break;o=c}return!1}function EM(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=wn.Word)return t;for(let o of n){let i=t-o.length;if(e.sliceDoc(i,t)==o&&r(e.sliceDoc(i-1,i))!=wn.Word)return i}return-1}function TSe(e={}){return[pSe,ho,Or.of(e),fSe,CSe,mSe]}const hB=[{key:"Ctrl-Space",run:aSe},{key:"Escape",run:lSe},{key:"ArrowDown",run:Og(!0)},{key:"ArrowUp",run:Og(!1)},{key:"PageDown",run:Og(!0,"page")},{key:"PageUp",run:Og(!1,"page")},{key:"Enter",run:sSe}],CSe=Gc.highest(Sy.computeN([Or],e=>e.facet(Or).defaultKeymap?[hB]:[]));class PSe{constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class cc{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let o=t,i=r.facet(gp).markerFilter;i&&(o=i(o,r));let s=Ze.set(o.map(a=>a.from==a.to||a.from==a.to-1&&r.doc.lineAt(a.from).to==a.from?Ze.widget({widget:new QSe(a),diagnostic:a}).range(a.from):Ze.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity+(a.markClass?" "+a.markClass:"")},diagnostic:a}).range(a.from,a.to)),!0);return new cc(s,n,wd(s))}}function wd(e,t=null,n=0){let r=null;return e.between(n,1e9,(o,i,{spec:s})=>{if(!(t&&s.diagnostic!=t))return r=new PSe(o,i,s.diagnostic),!1}),r}function ASe(e,t){let n=t.pos,r=t.end||n,o=e.state.facet(gp).hideOn(e,n,r);if(o!=null)return o;let i=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(s=>s.is(pB))||e.changes.touchesRange(i.from,Math.max(i.to,r)))}function $Se(e,t){return e.field(Bo,!1)?t:t.concat(ft.appendConfig.of(jSe))}const pB=ft.define(),rT=ft.define(),mB=ft.define(),Bo=dr.define({create(){return new cc(Ze.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,o=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=wd(n,e.selected.diagnostic,i)||wd(n,null,i)}!n.size&&o&&t.state.facet(gp).autoPanel&&(o=null),e=new cc(n,o,r)}for(let n of t.effects)if(n.is(pB)){let r=t.state.facet(gp).autoPanel?n.value.length?bp.open:null:e.panel;e=cc.init(n.value,r,t.state)}else n.is(rT)?e=new cc(e.diagnostics,n.value?bp.open:null,e.selected):n.is(mB)&&(e=new cc(e.diagnostics,e.panel,n.value));return e},provide:e=>[up.from(e,t=>t.panel),Ae.decorations.from(e,t=>t.diagnostics)]}),MSe=Ze.mark({class:"cm-lintRange cm-lintRange-active"});function RSe(e,t,n){let{diagnostics:r}=e.state.field(Bo),o=[],i=2e8,s=0;r.between(t-(n<0?1:0),t+(n>0?1:0),(l,c,{spec:u})=>{t>=l&&t<=c&&(l==c||(t>l||n>0)&&(tbB(e,n,!1)))}const LSe=e=>{let t=e.state.field(Bo,!1);(!t||!t.panel)&&e.dispatch({effects:$Se(e.state,[rT.of(!0)])});let n=cp(e,bp.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},TM=e=>{let t=e.state.field(Bo,!1);return!t||!t.panel?!1:(e.dispatch({effects:rT.of(!1)}),!0)},NSe=e=>{let t=e.state.field(Bo,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!r.value&&(r=t.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)},DSe=[{key:"Mod-Shift-m",run:LSe,preventDefault:!0},{key:"F8",run:NSe}],gp=Pe.define({combine(e){return Object.assign({sources:e.map(t=>t.source).filter(t=>t!=null)},Ms(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n}))}});function gB(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;ri.toLowerCase()==o.toLowerCase())){t.push(o);continue e}}t.push("")}return t}function bB(e,t,n){var r;let o=n?gB(t.actions):[];return cn("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},cn("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((i,s)=>{let a=!1,l=f=>{if(f.preventDefault(),a)return;a=!0;let h=wd(e.state.field(Bo).diagnostics,t);h&&i.apply(e,h.from,h.to)},{name:c}=i,u=o[s]?c.indexOf(o[s]):-1,d=u<0?c:[c.slice(0,u),cn("u",c.slice(u,u+1)),c.slice(u+1)];return cn("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${o[s]})"`}.`},d)}),t.source&&cn("div",{class:"cm-diagnosticSource"},t.source))}class QSe extends Ca{constructor(t){super(),this.diagnostic=t}eq(t){return t.diagnostic==this.diagnostic}toDOM(){return cn("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class CM{constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=bB(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class bp{constructor(t){this.view=t,this.items=[];let n=o=>{if(o.keyCode==27)TM(this.view),this.view.focus();else if(o.keyCode==38||o.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(o.keyCode==40||o.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(o.keyCode==36)this.moveSelection(0);else if(o.keyCode==35)this.moveSelection(this.items.length-1);else if(o.keyCode==13)this.view.focus();else if(o.keyCode>=65&&o.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:i}=this.items[this.selectedIndex],s=gB(i.actions);for(let a=0;a{for(let i=0;iTM(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(Bo).selected;if(!t)return-1;for(let n=0;n{let c=-1,u;for(let d=r;dr&&(this.items.splice(r,c-r),o=!0)),n&&u.diagnostic==n.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),i=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),r++});r({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:a})=>{let l=a.height/this.list.offsetHeight;s.topa.bottom&&(this.list.scrollTop+=(s.bottom-a.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),o&&this.sync()}sync(){let t=this.list.firstChild;function n(){let r=t;t=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;t!=r.dom;)n();t=r.dom.nextSibling}else this.list.insertBefore(r.dom,t);for(;t;)n()}moveSelection(t){if(this.selectedIndex<0)return;let n=this.view.state.field(Bo),r=wd(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:mB.of(r)})}static open(t){return new bp(t)}}function BSe(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function yg(e){return BSe(``,'width="6" height="3"')}const zSe=Ae.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:yg("#d11")},".cm-lintRange-warning":{backgroundImage:yg("orange")},".cm-lintRange-info":{backgroundImage:yg("#999")},".cm-lintRange-hint":{backgroundImage:yg("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),jSe=[Bo,Ae.decorations.compute([Bo],e=>{let{selected:t,panel:n}=e.field(Bo);return!t||!n||t.from==t.to?Ze.none:Ze.set([MSe.range(t.from,t.to)])}),Aye(RSe,{hideOn:ASe}),zSe],WSe=[jye(),qye(),iye(),uwe(),Nve(),XOe(),JOe(),bt.allowMultipleSelections.of(!0),Sve(),Qve(jve,{fallback:!0}),Xve(),gSe(),TSe(),yye(),Sye(),dye(),y1e(),Sy.of([...vSe,...h1e,...Q1e,...ywe,...Mve,...hB,...DSe])];var Hw;const th=new st;function OB(e){return Pe.define({combine:e?t=>t.concat(e):void 0})}const oT=new st;class bs{constructor(t,n,r=[],o=""){this.data=t,this.name=o,bt.prototype.hasOwnProperty("tree")||Object.defineProperty(bt.prototype,"tree",{get(){return Qk(this)}}),this.parser=n,this.extension=[_d.of(this),bt.languageData.of((i,s,a)=>{let l=PM(i,s,a),c=l.type.prop(th);if(!c)return[];let u=i.facet(c),d=l.type.prop(oT);if(d){let f=l.resolve(s-l.from,a);for(let h of d)if(h.test(f,i)){let p=i.facet(h.facet);return h.type=="replace"?p:p.concat(u)}}return u})].concat(r)}isActiveAt(t,n,r=-1){return PM(t,n,r).type.prop(th)==this.data}findRegions(t){let n=t.facet(_d);if((n==null?void 0:n.data)==this.data)return[{from:0,to:t.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],o=(i,s)=>{if(i.prop(th)==this.data){r.push({from:s,to:s+i.length});return}let a=i.prop(st.mounted);if(a){if(a.tree.prop(th)==this.data){if(a.overlay)for(let l of a.overlay)r.push({from:l.from+s,to:l.to+s});else r.push({from:s,to:s+i.length});return}else if(a.overlay){let l=r.length;if(o(a.tree,a.overlay[0].from+s),r.length>l)return}}for(let l=0;lr.isTop?n:void 0)]}),t.name)}configure(t,n){return new W0(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Qk(e){let t=e.field(bs.state,!1);return t?t.tree:un.empty}class FSe{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,n){let r=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,n):this.string.slice(t-r,n-r)}}let Nf=null;class F0{constructor(t,n,r=[],o,i,s,a,l){this.parser=t,this.state=n,this.fragments=r,this.tree=o,this.treeLen=i,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new F0(t,n,[],un.empty,0,r,[],null)}startParse(){return this.parser.startParse(new FSe(this.state.doc),this.fragments)}work(t,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=un.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof t=="number"){let o=Date.now()+t;t=()=>Date.now()>o}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=t,this.tree=n,this.fragments=this.withoutTempSkipped($i.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let n=Nf;Nf=this;try{return t()}finally{Nf=n}}withoutTempSkipped(t){for(let n;n=this.tempSkipped.pop();)t=AM(t,n.from,n.to);return t}changes(t,n){let{fragments:r,tree:o,treeLen:i,viewport:s,skipped:a}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,f)=>l.push({fromA:c,toA:u,fromB:d,toB:f})),r=$i.applyChanges(r,l),o=un.empty,i=0,s={from:t.mapPos(s.from,-1),to:t.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);ut.from&&(this.fragments=AM(this.fragments,o,i),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,n){this.skipped.push({from:t,to:n})}static getSkippingParser(t){return new class extends qE{createParse(n,r,o){let i=o[0].from,s=o[o.length-1].to;return{parsedPos:i,advance(){let a=Nf;if(a){for(let l of o)a.tempSkipped.push(l);t&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,t]):t)}return this.parsedPos=s,new un(Sr.none,[],[],s-i)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let n=this.fragments;return this.treeLen>=t&&n.length&&n[0].from==0&&n[0].to>=t}static get(){return Nf}}function AM(e,t,n){return $i.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class Sd{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new Sd(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=F0.create(t.facet(_d).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new Sd(r)}}bs.state=dr.define({create:Sd.init,update(e,t){for(let n of t.effects)if(n.is(bs.setState))return n.value;return t.startState.facet(_d)!=t.state.facet(_d)?Sd.init(t.state):e.apply(t)}});let yB=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof Rc<"u"&&(yB=e=>{let t=-1,n=setTimeout(()=>{t=Rc(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):z2(t)});const Yw=typeof navigator<"u"&&!((Hw=navigator.scheduling)===null||Hw===void 0)&&Hw.isInputPending?()=>navigator.scheduling.isInputPending():null,qSe=Cn.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(bs.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(bs.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=yB(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=o.context.work(()=>Yw&&Yw()||Date.now()>i,r+(s?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:bs.setState.of(new Sd(o.context))})),this.chunkBudget>0&&!(a&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Gr(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),_d=Pe.define({combine(e){return e.length?e[0]:null},enables:e=>[bs.state,qSe,Ae.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),My=Pe.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(n=>n!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function USe(e){let t=e.facet(My);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function ZSe(e,t){let n="",r=e.tabSize,o=e.facet(My)[0];if(o==" "){for(;t>=r;)n+=" ",t-=r;o=" "}for(let i=0;iYSe(r,t,n,e)}function YSe(e,t,n,r,o){let i=e.textAfter,s=i.match(/^\s*/)[0].length,a=r&&i.slice(s,s+r.length)==r||o==e.pos+s,l=t?XSe(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*n)}const GSe=e=>e.baseIndent;function Gw({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const KSe=new st;function JSe(e){let t=e.firstChild,n=e.lastChild;return t&&t.to-1||(MM.push(e),console.warn(t))}function n_e(e,t){let n=[];for(let a of t.split(" ")){let l=[];for(let c of a.split(".")){let u=e[c]||H[c];u?typeof u=="function"?l.length?l=l.map(u):Kw(c,`Modifier ${c} used at start of tag`):l.length?Kw(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:Kw(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(a=>a.id),i=RM[o];if(i)return i.id;let s=RM[o]=Sr.define({id:$M.length,name:r,props:[lm({[r]:n})]});return $M.push(s),s.id}Kt.RTL,Kt.LTR;function vB(e,t){let n=-1;return e.changeByRange(r=>{let o=[];for(let s=r.from;s<=r.to;){let a=e.doc.lineAt(s);a.number>n&&(r.empty||r.to>a.from)&&(t(a,o,r),n=a.number),s=a.to+1}let i=e.changes(o);return{changes:o,range:be.range(i.mapPos(r.anchor,1),i.mapPos(r.head,1))}})}const r_e=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(vB(e,(n,r)=>{r.push({from:n.from,insert:e.facet(My)})}),{userEvent:"input.indent"})),!0),o_e=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(vB(e,(n,r)=>{let o=/^\s*/.exec(n.text)[0];if(!o)return;let i=Kc(o,e.tabSize),s=0,a=ZSe(e,Math.max(0,i-USe(e)));for(;sn%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let o=t.parser.context;return new q0(t,[],n,r,r,0,[],0,o?new LM(o,o.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,o=t&65535,{parser:i}=this.p,s=i.dynamicPrecedence(o);if(s&&(this.score+=s),r==0){this.pushState(i.getGoto(this.state,o,!0),this.reducePos),o=2e3&&!(!((n=this.p.parser.nodeSet.types[o])===null||n===void 0)&&n.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizea;)this.stack.pop();this.reduceContext(o,l)}storeNode(t,n,r,o=4,i=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(n==r)return;if(s.buffer[a-2]>=n){s.buffer[a-2]=r;return}}}if(!i||this.pos==r)this.buffer.push(t,n,r,o);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0)for(;s>0&&this.buffer[s-2]>r;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,o>4&&(o-=4);this.buffer[s]=t,this.buffer[s+1]=n,this.buffer[s+2]=r,this.buffer[s+3]=o}}shift(t,n,r,o){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=o,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,o,4);else{let i=t,{parser:s}=this.p;(o>this.pos||n<=s.maxNode)&&(this.pos=o,s.stateFlag(i,1)||(this.reducePos=o)),this.pushState(i,r),this.shiftContext(n,r),n<=s.maxNode&&this.buffer.push(n,r,o,4)}}apply(t,n,r,o){t&65536?this.reduce(t):this.shift(t,n,r,o)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let o=this.pos;this.reducePos=this.pos=o+t.length,this.pushState(n,o),this.buffer.push(r,o,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),o=t.bufferBase+n;for(;t&&o==t.bufferBase;)t=t.parent;return new q0(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,o,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new h_e(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let o=[];for(let i=0,s;il&1&&a==s)||o.push(n[i],s)}n=o}let r=[];for(let o=0;o>19,o=n&65535,i=this.stack.length-r*3;if(i<0||t.getGoto(this.stack[i],o,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;n=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(o,i)=>{if(!n.includes(o))return n.push(o),t.allActions(o,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-i;if(a>1){let l=s&65535,c=this.stack.length-a*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=r(s,i+1);if(a!=null)return a}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class LM{constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class h_e{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let o=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=o}}class U0{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new U0(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new U0(this.stack,this.pos,this.index)}}function nh(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,o=0;r=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),i+=l,a)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class pb{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const NM=new pb;class p_e{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=NM,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,o=this.rangeIndex,i=this.pos+t;for(;ir.to:i>=r.to;){if(o==this.ranges.length-1)return null;let s=this.ranges[++o];i+=s.from-r.to,r=s}return i}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,o;if(n>=0&&n=this.chunk2Pos&&ra.to&&(this.chunk2=this.chunk2.slice(0,a.to-r)),o=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),o}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=NM,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let o of this.ranges){if(o.from>=n)break;o.to>t&&(r+=this.input.read(Math.max(o.from,t),Math.min(o.to,n)))}return r}}class Yu{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;SB(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}Yu.prototype.contextual=Yu.prototype.fallback=Yu.prototype.extend=!1;class Z0{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?nh(t):t}token(t,n){let r=t.pos,o=0;for(;;){let i=t.next<0,s=t.resolveOffset(1,1);if(SB(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(i||o++,s==null)break;t.reset(s,t.token)}o&&(t.reset(r,t.token),t.acceptToken(this.elseToken,o))}}Z0.prototype.contextual=Yu.prototype.fallback=Yu.prototype.extend=!1;class Xi{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function SB(e,t,n,r,o,i){let s=0,a=1<0){let p=e[h];if(l.allows(p)&&(t.token.value==-1||t.token.value==p||m_e(p,t.token.value,o,i))){t.acceptToken(p);break}}let u=t.next,d=0,f=e[s+2];if(t.next<0&&f>d&&e[c+f*3-3]==65535){s=e[c+f*3-1];continue e}for(;d>1,p=c+h+(h<<1),m=e[p],O=e[p+1]||65536;if(u=O)d=h+1;else{s=e[p+2],t.advance();continue e}}break}}function DM(e,t,n){for(let r=t,o;(o=e[r])!=65535;r++)if(o==n)return r-t;return-1}function m_e(e,t,n,r){let o=DM(n,r,t);return o<0||DM(n,r,e)t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class g_e{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?QM(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?QM(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=s,null;if(i instanceof un){if(s==t){if(s=Math.max(this.safeFrom,t)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[n]++,this.nextStart=s+i.length}}}class b_e{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new pb)}getActions(t){let n=0,r=null,{parser:o}=t.p,{tokenizers:i}=o,s=o.stateSlot(t.state,3),a=t.curContext?t.curContext.hash:0,l=0;for(let c=0;cd.end+25&&(l=Math.max(d.lookAhead,l)),d.value!=0)){let f=n;if(d.extended>-1&&(n=this.addActions(t,d.extended,d.end,n)),n=this.addActions(t,d.value,d.end,n),!u.extend&&(r=d,n>f))break}}for(;this.actions.length>n;)this.actions.pop();return l&&t.setLookAhead(l),!r&&t.pos==this.stream.end&&(r=new pb,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new pb,{pos:r,p:o}=t;return n.start=r,n.end=Math.min(r+1,o.stream.end),n.value=r==o.stream.end?o.parser.eofTerm:0,n}updateCachedToken(t,n,r){let o=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(o,t),r),t.value>-1){let{parser:i}=r.p;for(let s=0;s=0&&r.p.parser.dialect.allows(a>>1)){a&1?t.extended=a>>1:t.value=a>>1;break}}}else t.value=0,t.end=this.stream.clipPos(o+1)}putAction(t,n,r,o){for(let i=0;it.bufferLength*4?new g_e(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],o,i;if(this.bigReductionCount>300&&t.length==1){let[s]=t;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;sn)r.push(a);else{if(this.advanceStack(a,r,t))continue;{o||(o=[],i=[]),o.push(a);let l=this.tokens.getMainToken(a);i.push(l.value,l.end)}}break}}if(!r.length){let s=o&&v_e(o);if(s)return Eo&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw Eo&&o&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&o){let s=this.stoppedAt!=null&&o[0].pos>this.stoppedAt?o[0]:this.runRecovery(o,i,r);if(s)return Eo&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(r.length>s)for(r.sort((a,l)=>l.score-a.score);r.length>s;)r.pop();r.some(a=>a.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let s=0;s500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(s--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let s=1;s ":"";if(this.stoppedAt!=null&&o>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,u=c?t.curContext.hash:0;for(let d=this.fragments.nodeAt(o);d;){let f=this.parser.nodeSet.types[d.type.id]==d.type?i.getGoto(t.state,d.type.id):-1;if(f>-1&&d.length&&(!c||(d.prop(st.contextHash)||0)==u))return t.useNode(d,f),Eo&&console.log(s+this.stackID(t)+` (via reuse of ${i.getName(d.type.id)})`),!0;if(!(d instanceof un)||d.children.length==0||d.positions[0]>0)break;let h=d.children[0];if(h instanceof un&&d.positions[0]==0)d=h;else break}}let a=i.stateSlot(t.state,4);if(a>0)return t.reduce(a),Eo&&console.log(s+this.stackID(t)+` (via always-reduce ${i.getName(a&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;co?n.push(p):r.push(p)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return BM(t,n),!0}}runRecovery(t,n,r){let o=null,i=!1;for(let s=0;s ":"";if(a.deadEnd&&(i||(i=!0,a.restart(),Eo&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,r))))continue;let d=a.split(),f=u;for(let h=0;d.forceReduce()&&h<10&&(Eo&&console.log(f+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,r));h++)Eo&&(f=this.stackID(d)+" -> ");for(let h of a.recoverByInsert(l))Eo&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,r);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),Eo&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),BM(a,r)):(!o||o.scoree;class _B{constructor(t){this.start=t.start,this.shift=t.shift||e1,this.reduce=t.reduce||e1,this.reuse=t.reuse||e1,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class kd extends qE{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let a=0;at.topRules[a][1]),o=[];for(let a=0;a=0)i(u,l,a[c++]);else{let d=a[c+-u];for(let f=-u;f>0;f--)i(a[c++],l,d);c++}}}this.nodeSet=new zE(n.map((a,l)=>Sr.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:o[l],top:r.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=G9;let s=nh(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new Yu(s,a):a),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let o=new O_e(this,t,n,r);for(let i of this.wrappers)o=i(o,t,n,r);return o}getGoto(t,n,r=!1){let o=this.goto;if(n>=o[0])return-1;for(let i=o[n+1];;){let s=o[i++],a=s&1,l=o[i++];if(a&&r)return l;for(let c=i+(s>>1);i0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),o=r?n(r):void 0;for(let i=this.stateSlot(t,1);o==null;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=Us(this.data,i+2);else break;o=n(Us(this.data,i+1))}return o}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Us(this.data,r+2);else break;if(!(this.data[r+2]&1)){let o=this.data[r+1];n.some((i,s)=>s&1&&i==o)||n.push(this.data[r],o)}}return n}configure(t){let n=Object.assign(Object.create(kd.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let o=t.tokenizers.find(i=>i.from==r);return o?o.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,o)=>{let i=t.specializers.find(a=>a.from==r.external);if(!i)return r;let s=Object.assign(Object.assign({},r),{external:i.to});return n.specializers[o]=zM(s),s})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let i of t.split(" ")){let s=n.indexOf(i);s>=0&&(r[s]=!0)}let o=null;for(let i=0;ir)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scoree.external(n,r)<<1|t}return e.get}const w_e=99,jM=1,S_e=100,__e=101,WM=2,kB=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],k_e=58,x_e=40,xB=95,E_e=91,mb=45,T_e=46,C_e=35,P_e=37,A_e=38,$_e=92,M_e=10;function Op(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function EB(e){return e>=48&&e<=57}const R_e=new Xi((e,t)=>{for(let n=!1,r=0,o=0;;o++){let{next:i}=e;if(Op(i)||i==mb||i==xB||n&&EB(i))!n&&(i!=mb||o>0)&&(n=!0),r===o&&i==mb&&r++,e.advance();else if(i==$_e&&e.peek(1)!=M_e)e.advance(),e.next>-1&&e.advance(),n=!0;else{n&&e.acceptToken(i==x_e?S_e:r==2&&t.canShift(WM)?WM:__e);break}}}),I_e=new Xi(e=>{if(kB.includes(e.peek(-1))){let{next:t}=e;(Op(t)||t==xB||t==C_e||t==T_e||t==E_e||t==k_e&&Op(e.peek(1))||t==mb||t==A_e)&&e.acceptToken(w_e)}}),L_e=new Xi(e=>{if(!kB.includes(e.peek(-1))){let{next:t}=e;if(t==P_e&&(e.advance(),e.acceptToken(jM)),Op(t)){do e.advance();while(Op(e.next)||EB(e.next));e.acceptToken(jM)}}}),N_e=lm({"AtKeyword import charset namespace keyframes media supports":H.definitionKeyword,"from to selector":H.keyword,NamespaceName:H.namespace,KeyframeName:H.labelName,KeyframeRangeName:H.operatorKeyword,TagName:H.tagName,ClassName:H.className,PseudoClassName:H.constant(H.className),IdName:H.labelName,"FeatureName PropertyName":H.propertyName,AttributeName:H.attributeName,NumberLiteral:H.number,KeywordQuery:H.keyword,UnaryQueryOp:H.operatorKeyword,"CallTag ValueName":H.atom,VariableName:H.variableName,Callee:H.operatorKeyword,Unit:H.unit,"UniversalSelector NestingSelector":H.definitionOperator,MatchOp:H.compareOperator,"ChildOp SiblingOp, LogicOp":H.logicOperator,BinOp:H.arithmeticOperator,Important:H.modifier,Comment:H.blockComment,ColorLiteral:H.color,"ParenthesizedContent StringLiteral":H.string,":":H.punctuation,"PseudoOp #":H.derefOperator,"; ,":H.separator,"( )":H.paren,"[ ]":H.squareBracket,"{ }":H.brace}),D_e={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Q_e={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},B_e={__proto__:null,not:132,only:132},z_e=kd.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[I_e,L_e,R_e,1,2,3,4,new Z0("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>D_e[e]||-1},{term:58,get:e=>Q_e[e]||-1},{term:101,get:e=>B_e[e]||-1}],tokenPrec:1200}),j_e=lve.define({name:"css",parser:z_e.configure({props:[oQ.add({Declaration:vve()}),sQ.add({"Block KeyframeList":kve})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),W_e=54,F_e=1,q_e=55,U_e=2,Z_e=56,V_e=3,FM=4,X_e=5,V0=6,TB=7,CB=8,PB=9,AB=10,H_e=11,Y_e=12,G_e=13,t1=57,K_e=14,qM=58,J_e=20,eke=36,tke=0,nke=1,rke={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},oke={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},UM={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function ike(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function $B(e){return e==9||e==10||e==13||e==32}let ZM=null,VM=null,XM=0;function Bk(e,t){let n=e.pos+t;if(XM==n&&VM==e)return ZM;let r=e.peek(t);for(;$B(r);)r=e.peek(++t);let o="";for(;ike(r);)o+=String.fromCharCode(r),r=e.peek(++t);return VM=e,XM=n,ZM=o?o.toLowerCase():r==ske||r==ake?void 0:null}const MB=60,X0=62,iT=47,ske=63,ake=33,lke=45;function HM(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;n-1?new HM(Bk(r,1)||"",e):e},reduce(e,t){return t==J_e&&e?e.parent:e},reuse(e,t,n,r){let o=t.type.id;return o==V0||o==eke?new HM(Bk(r,1)||"",e):e},hash(e){return e?e.hash:0},strict:!1}),dke=new Xi((e,t)=>{if(e.next!=MB){e.next<0&&t.context&&e.acceptToken(t1);return}e.advance();let n=e.next==iT;n&&e.advance();let r=Bk(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?K_e:V0);let o=t.context?t.context.name:null;if(n){if(r==o)return e.acceptToken(H_e);if(o&&oke[o])return e.acceptToken(t1,-2);if(t.dialectEnabled(tke))return e.acceptToken(Y_e);for(let i=t.context;i;i=i.parent)if(i.name==r)return;e.acceptToken(G_e)}else{if(r=="script")return e.acceptToken(TB);if(r=="style")return e.acceptToken(CB);if(r=="textarea")return e.acceptToken(PB);if(rke.hasOwnProperty(r))return e.acceptToken(AB);o&&UM[o]&&UM[o][r]?e.acceptToken(t1,-1):e.acceptToken(V0)}},{contextual:!0}),fke=new Xi(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(qM);break}if(e.next==lke)t++;else if(e.next==X0&&t>=2){n>=3&&e.acceptToken(qM,-2);break}else t=0;e.advance()}});function hke(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const pke=new Xi((e,t)=>{if(e.next==iT&&e.peek(1)==X0){let n=t.dialectEnabled(nke)||hke(t.context);e.acceptToken(n?X_e:FM,2)}else e.next==X0&&e.acceptToken(FM,1)});function sT(e,t,n){let r=2+e.length;return new Xi(o=>{for(let i=0,s=0,a=0;;a++){if(o.next<0){a&&o.acceptToken(t);break}if(i==0&&o.next==MB||i==1&&o.next==iT||i>=2&&is?o.acceptToken(t,-s):o.acceptToken(n,-(s-2));break}else if((o.next==10||o.next==13)&&a){o.acceptToken(t,1);break}else i=s=0;o.advance()}})}const mke=sT("script",W_e,F_e),gke=sT("style",q_e,U_e),bke=sT("textarea",Z_e,V_e),Oke=lm({"Text RawText":H.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":H.angleBracket,TagName:H.tagName,"MismatchedCloseTag/TagName":[H.tagName,H.invalid],AttributeName:H.attributeName,"AttributeValue UnquotedAttributeValue":H.attributeValue,Is:H.definitionOperator,"EntityReference CharacterReference":H.character,Comment:H.blockComment,ProcessingInst:H.processingInstruction,DoctypeDecl:H.documentMeta});kd.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:uke,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Oke],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let{next:n}=e;(n==RB||n==-1||t.context)&&e.acceptToken(Ske)},{contextual:!0,fallback:!0}),Nke=new Xi((e,t)=>{let{next:n}=e,r;zk.indexOf(n)>-1||n==jk&&((r=e.peek(1))==jk||r==Pke)||n!=RB&&n!=Cke&&n!=-1&&!t.context&&e.acceptToken(yke)},{contextual:!0}),Dke=new Xi((e,t)=>{let{next:n}=e;if((n==Ake||n==$ke)&&(e.advance(),n==e.next)){e.advance();let r=!t.context&&t.canShift(YM);e.acceptToken(r?YM:vke)}},{contextual:!0});function n1(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const Qke=new Xi((e,t)=>{if(e.next!=Mke||!t.dialectEnabled(Tke)||(e.advance(),e.next==jk))return;let n=0;for(;zk.indexOf(e.next)>-1;)e.advance(),n++;if(n1(e.next,!0)){for(e.advance(),n++;n1(e.next,!1);)e.advance(),n++;for(;zk.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==Rke)return;for(let r=0;;r++){if(r==7){if(!n1(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(wke,-n)}),Bke=lm({"get set async static":H.modifier,"for while do if else switch try catch finally return throw break continue default case":H.controlKeyword,"in of await yield void typeof delete instanceof":H.operatorKeyword,"let var const using function class extends":H.definitionKeyword,"import export from":H.moduleKeyword,"with debugger as new":H.keyword,TemplateString:H.special(H.string),super:H.atom,BooleanLiteral:H.bool,this:H.self,null:H.null,Star:H.modifier,VariableName:H.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":H.function(H.variableName),VariableDefinition:H.definition(H.variableName),Label:H.labelName,PropertyName:H.propertyName,PrivatePropertyName:H.special(H.propertyName),"CallExpression/MemberExpression/PropertyName":H.function(H.propertyName),"FunctionDeclaration/VariableDefinition":H.function(H.definition(H.variableName)),"ClassDeclaration/VariableDefinition":H.definition(H.className),PropertyDefinition:H.definition(H.propertyName),PrivatePropertyDefinition:H.definition(H.special(H.propertyName)),UpdateOp:H.updateOperator,"LineComment Hashbang":H.lineComment,BlockComment:H.blockComment,Number:H.number,String:H.string,Escape:H.escape,ArithOp:H.arithmeticOperator,LogicOp:H.logicOperator,BitOp:H.bitwiseOperator,CompareOp:H.compareOperator,RegExp:H.regexp,Equals:H.definitionOperator,Arrow:H.function(H.punctuation),": Spread":H.punctuation,"( )":H.paren,"[ ]":H.squareBracket,"{ }":H.brace,"InterpolationStart InterpolationEnd":H.special(H.brace),".":H.derefOperator,", ;":H.separator,"@":H.meta,TypeName:H.typeName,TypeDefinition:H.definition(H.typeName),"type enum interface implements namespace module declare":H.definitionKeyword,"abstract global Privacy readonly override":H.modifier,"is keyof unique infer":H.operatorKeyword,JSXAttributeValue:H.attributeValue,JSXText:H.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":H.angleBracket,"JSXIdentifier JSXNameSpacedName":H.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":H.attributeName,"JSXBuiltin/JSXIdentifier":H.standard(H.tagName)}),zke={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},jke={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},Wke={__proto__:null,"<":143},Fke=kd.deserialize({version:14,states:"$=WO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ08SO'#ChO+RO!bO'#CiO+aO#tO'#CiO+oO?MpO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DyO0fQ^O'#EROOQ07b'#EZ'#EZO1PQWO'#EWOOQO'#El'#ElOOQO'#Ie'#IeO1XQWO'#GmO1dQWO'#EkO1iQWO'#EkO3kQ08SO'#JiO6[Q08SO'#JjO6xQWO'#FZO6}Q&jO'#FqOOQ07b'#Fc'#FcO7YO,YO'#FcO7hQ7[O'#FxO9UQWO'#FwOOQ07b'#Jj'#JjOOQ07`'#Ji'#JiO9ZQWO'#GqOOQU'#KV'#KVO9fQWO'#IRO9kQ07hO'#ISOOQU'#JW'#JWOOQU'#IW'#IWQ`Q^OOO`Q^OOO%[Q^O'#DqO9sQ^O'#D}O9zQ^O'#EPO9aQWO'#GmO:RQ7[O'#CnO:aQWO'#EjO:lQWO'#EuO:qQ7[O'#FbO;`QWO'#GmOOQO'#KW'#KWO;eQWO'#KWO;sQWO'#GuO;sQWO'#GvO;sQWO'#GxO9aQWO'#G{ORQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?QQ07iO'#H{O?]Q07iO'#H}O9kQ07hO'#IPO?hQ08SO'#ChO@jQ`O'#DiQOQWOOO%[Q^O'#EPOAQQWO'#ESO:RQ7[O'#EjOA]QWO'#EjOAhQpO'#FbOOQU'#Cf'#CfOOQ07`'#Dn'#DnOOQ07`'#Jm'#JmO%[Q^O'#JmOOQO'#Jq'#JqOOQO'#Ib'#IbOBhQ`O'#EcOOQ07`'#Eb'#EbOOQ07`'#Jt'#JtOCdQ07pO'#EcOCnQ`O'#EVOOQO'#Jp'#JpODSQ`O'#JqOEaQ`O'#EVOCnQ`O'#EcPEnO!0LbO'#CaPOOO)CDu)CDuOOOO'#IX'#IXOEyO!bO,59TOOQ07b,59T,59TOOOO'#IY'#IYOFXO#tO,59TO%[Q^O'#D`OOOO'#I['#I[OFgO?MpO,59xOOQ07b,59x,59xOFuQ^O'#I]OGYQWO'#JkOI[QrO'#JkO+}Q^O'#JkOIcQWO,5:OOIyQWO'#ElOJWQWO'#JzOJcQWO'#JyOJcQWO'#JyOJkQWO,5;YOJpQWO'#JxOOQ07f,5:Z,5:ZOJwQ^O,5:ZOLxQ08SO,5:eOMiQWO,5:mONSQ07hO'#JwONZQWO'#JvO9ZQWO'#JvONoQWO'#JvONwQWO,5;XON|QWO'#JvO!#UQrO'#JjOOQ07b'#Ch'#ChO%[Q^O'#ERO!#tQpO,5:rOOQO'#Jr'#JrOOQO-EmOOQU'#J`'#J`OOQU,5>n,5>nOOQU-E_Q08SO,5:iO%[Q^O,5:iO!@xQ08SO,5:kOOQO,5@r,5@rO!AiQ7[O,5=XO!AwQ07hO'#JaO9UQWO'#JaO!BYQ07hO,59YO!BeQ`O,59YO!BmQ7[O,59YO:RQ7[O,59YO!BxQWO,5;VO!CQQWO'#HZO!CfQWO'#K[O%[Q^O,5;zO!9cQ`O,5;|O!CnQWO,5=tO!CsQWO,5=tO!CxQWO,5=tO9kQ07hO,5=tO;sQWO,5=dOOQO'#Cu'#CuO!DWQ`O,5=aO!D`Q7[O,5=bO!DkQWO,5=dO!DpQpO,5=gO!DxQWO'#KWO>pQWO'#HQO9aQWO'#HSO!D}QWO'#HSO:RQ7[O'#HUO!ESQWO'#HUOOQU,5=j,5=jO!EXQWO'#HVO!EjQWO'#CnO!EoQWO,59OO!EyQWO,59OO!HOQ^O,59OOOQU,59O,59OO!H`Q07hO,59OO%[Q^O,59OO!JkQ^O'#H^OOQU'#H_'#H_OOQU'#H`'#H`O`Q^O,5=vO!KRQWO,5=vO`Q^O,5=|O`Q^O,5>OO!KWQWO,5>QO`Q^O,5>SO!K]QWO,5>VO!KbQ^O,5>]OOQU,5>c,5>cO%[Q^O,5>cO9kQ07hO,5>eOOQU,5>g,5>gO# lQWO,5>gOOQU,5>i,5>iO# lQWO,5>iOOQU,5>k,5>kO#!YQ`O'#D[O%[Q^O'#JmO#!dQ`O'#JmO##RQ`O'#DjO##dQ`O'#DjO#%uQ^O'#DjO#%|QWO'#JlO#&UQWO,5:TO#&ZQWO'#EpO#&iQWO'#J{O#&qQWO,5;ZO#&vQ`O'#DjO#'TQ`O'#EUOOQ07b,5:n,5:nO%[Q^O,5:nO#'[QWO,5:nO>pQWO,5;UO!BeQ`O,5;UO!BmQ7[O,5;UO:RQ7[O,5;UO#'dQWO,5@XO#'iQ$ISO,5:rOOQO-E<`-E<`O#(oQ07pO,5:}OCnQ`O,5:qO#(yQ`O,5:qOCnQ`O,5:}O!BYQ07hO,5:qOOQ07`'#Ef'#EfOOQO,5:},5:}O%[Q^O,5:}O#)WQ07hO,5:}O#)cQ07hO,5:}O!BeQ`O,5:qOOQO,5;T,5;TO#)qQ07hO,5:}POOO'#IV'#IVP#*VO!0LbO,58{POOO,58{,58{OOOO-EwO+}Q^O,5>wOOQO,5>},5>}O#*qQ^O'#I]OOQO-EkQWO1G3lO$5qQ^O1G3nO$9uQ^O'#HmOOQU1G3q1G3qO$:SQWO'#HsO>pQWO'#HuOOQU1G3w1G3wO$:[Q^O1G3wO9kQ07hO1G3}OOQU1G4P1G4POOQ07`'#GY'#GYO9kQ07hO1G4RO9kQ07hO1G4TO$>cQWO,5@XO!*fQ^O,5;[O9ZQWO,5;[O>pQWO,5:UO!*fQ^O,5:UO!BeQ`O,5:UO$>hQ(CYO,5:UOOQO,5;[,5;[O$>rQ`O'#I^O$?YQWO,5@WOOQ07b1G/o1G/oO$?bQ`O'#IdO$?lQWO,5@gOOQ07`1G0u1G0uO##dQ`O,5:UOOQO'#Ia'#IaO$?tQ`O,5:pOOQ07f,5:p,5:pO#'_QWO1G0YOOQ07b1G0Y1G0YO%[Q^O1G0YOOQ07b1G0p1G0pO>pQWO1G0pO!BeQ`O1G0pO!BmQ7[O1G0pOOQ07`1G5s1G5sO!BYQ07hO1G0]OOQO1G0i1G0iO%[Q^O1G0iO$?{Q07hO1G0iO$@WQ07hO1G0iO!BeQ`O1G0]OCnQ`O1G0]O$@fQ07hO1G0iOOQO1G0]1G0]O$@zQ08SO1G0iPOOO-EwO$AhQWO1G5qO$ApQWO1G6PO$AxQrO1G6QO9ZQWO,5>}O$BSQ08SO1G5}O%[Q^O1G5}O$BdQ07hO1G5}O$BuQWO1G5|O$BuQWO1G5|O9ZQWO1G5|O$B}QWO,5?QO9ZQWO,5?QOOQO,5?Q,5?QO$CcQWO,5?QO$*hQWO,5?QOOQO-EXOOQU,5>X,5>XO%[Q^O'#HnO%;mQWO'#HpOOQU,5>_,5>_O9ZQWO,5>_OOQU,5>a,5>aOOQU7+)c7+)cOOQU7+)i7+)iOOQU7+)m7+)mOOQU7+)o7+)oO%;rQ`O1G5sO%pQWO1G/pO!*fQ^O'#DjOOQO,5>x,5>xOOQO-E<[-E<[OOQO,5?O,5?OOOQO-EpQWO7+&[O!BeQ`O7+&[OOQO7+%w7+%wO$@zQ08SO7+&TOOQO7+&T7+&TO%[Q^O7+&TO%YQWO<bQWO<mQ08SO,5?YO%@xQ08SO,5?[O%CTQ08SO1G2ZO%EfQ08SO1G2mO%GqQ08SO1G2oO%I|Q7[O,5>yOOQO-E<]-E<]O%JWQrO,5>zO%[Q^O,5>zOOQO-E<^-E<^O%JbQWO1G5uOOQ07b<YOOQU,5>[,5>[O&pQWO7+%[OOQ07b<pQWO<pQWO7+)eO'*rQWO<}AN>}O%[Q^OAN?ZOOQO<T#>Z#>a#>o#?U#@s#AR#AY#Bn#B|#Dh#Dv#D|#ES#EY#Ed#Ej#Ep#Ez#F^#FdPPPPPPPPPP#FjPPPPPPP#G_#Jf#Ku#K|#LUPPPP$#[$&S$,l$,o$,r$-_$-b$-e$-l$-tP$-zP$.h$.l$/d$0r$0w$1_PP$1d$1j$1nP$1q$1u$1y$2o$3W$3o$3s$3v$3y$4P$4S$4W$4[R!|RoqOXst!Z#d%k&n&p&q&s,k,p1}2QY!vQ'[-]1b5dQ%qvQ%yyQ&Q|Q&f!VS'S!e-TQ'b!iS'h!r!yU*f$}*W*kQ+i%zQ+v&SQ,[&`Q-Z'ZQ-e'cQ-m'iQ0S*mQ1l,]R;`:m%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#y#|$P$Q$R$S$T$U$V$W$X$Y$Z$b$f%k%q&O&g&j&n&p&q&s&w'P'^'n(O(Q(W(_(s(w({)z+R+V,h,k,p-a-i-w-}.o.v/g0b0g0w1e1u1v1x1z1}2Q2S2s2y3a5a5k5{5|6P6d7}8S8c8mS#q]:j!r)]$]$n'T)o,|-P/O2c3v5_6Z9^9o:i:l:m:p:q:r:s:t:u:v:w:x:y:z:{:|:};R;`;b;c;e;m;n;w;x < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:372,context:Ike,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[Bke],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$HR(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$.S!c!}Er!}#O$/^#O#P$0h#P#Q$6P#Q#R$7Z#R#SEr#S#T$8h#T#o$9r#o#p$>S#p#q$>x#q#r$@Y#r#s$Af#s$f%Z$f$g+g$g#BYEr#BY#BZ$Bp#BZ$ISEr$IS$I_$Bp$I_$I|Er$I|$I}$E{$I}$JO$E{$JO$JTEr$JT$JU$Bp$JU$KVEr$KV$KW$Bp$KW&FUEr&FU&FV$Bp&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$Bp?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y&n!?Td$f&j!USO!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@hX!USOY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@cS!AYW!US#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!ATS!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!ArS!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!ArS!BnP;=`<%l!ArS!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@cS!CTP;=`<%l!@c&n!C][$f&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW&n!DWX$f&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW&n!DvP;=`<%l!CW&n!EOX$f&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y&n!EnP;=`<%l!=y(Q!Ezl$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GyZ(R!b!USOY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr!f!Hse(R!b!USOY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}!f!JZX(R!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU!f!JyP;=`<%l!JU!f!KPP;=`<%l!Gr(Q!KZ^$f&j(R!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>j_$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?rd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#A]f$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Bzc$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Dbe$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#E|g$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Gpi$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#Il_!d$b$f&j#|%PP;=`<%l$9r!5p$>]X![!3l(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g&CO$?Ta(p&;`$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$,u#q;'S%Z;'S;=`+a<%lO%Z%#`$@g_!Z$I`r`$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(r$Aq_!pS$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$CR|$f&j(Op(R!b't(;d$Y#t'{&;d([!LYOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$Bp#BZ$ISEr$IS$I_$Bp$I_$JTEr$JT$JU$Bp$JU$KVEr$KV$KW$Bp$KW&FUEr&FU&FV$Bp&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$Bp?HUOEr(CS$F^k$f&j(Op(R!b'u(;d$Y#t'{&;d([!LYOY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[Nke,Dke,Qke,2,3,4,5,6,7,8,9,10,11,12,13,Lke,new Z0("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOt~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~",141,332),new Z0("j~RQYZXz{^~^O'x~~aP!P!Qd~iO'y~~",25,315)],topRules:{Script:[0,6],SingleExpression:[1,269],SingleClassItem:[2,270]},dialects:{jsx:0,ts:14826},dynamicPrecedences:{69:1,79:1,81:1,165:1,193:1},specialized:[{term:319,get:e=>zke[e]||-1},{term:334,get:e=>jke[e]||-1},{term:70,get:e=>Wke[e]||-1}],tokenPrec:14850}),IB=new class extends vl{};IB.startSide=1;IB.endSide=-1;const fm=W0.define({name:"javascript",parser:Fke.configure({props:[VSe.add({IfStatement:Gw({except:/^\s*({|else\b)/}),TryStatement:Gw({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:GSe,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:HSe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Gw({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),KSe.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":JSe,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),LB={test:e=>/^JSX/.test(e.name),facet:OB({commentTokens:{block:{open:"{/*",close:"*/}"}}})},qke=fm.configure({dialect:"ts"},"typescript"),Uke=fm.configure({dialect:"jsx",props:[oT.add(e=>e.isTop?[LB]:void 0)]}),Zke=fm.configure({dialect:"jsx ts",props:[oT.add(e=>e.isTop?[LB]:void 0)]},"typescript"),Vke="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of Vke);const Xke=fm.parser.configure({top:"SingleExpression"});qke.parser,Uke.parser,Zke.parser,fm.parser,j_e.parser;var aT={exports:{}};/*! * bytes * Copyright(c) 2012-2014 TJ Holowaychuk * Copyright(c) 2015 Jed Watson * MIT Licensed */aT.exports=Kke;aT.exports.format=NB;aT.exports.parse=DB;var Hke=/\B(?=(\d{3})+(?!\d))/g,Yke=/(?:\.0*|(\.[^0]+)0+)$/,za={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},Gke=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function Kke(e,t){return typeof e=="string"?DB(e):typeof e=="number"?NB(e,t):null}function NB(e,t){if(!Number.isFinite(e))return null;var n=Math.abs(e),r=t&&t.thousandsSeparator||"",o=t&&t.unitSeparator||"",i=t&&t.decimalPlaces!==void 0?t.decimalPlaces:2,s=!!(t&&t.fixedDecimals),a=t&&t.unit||"";(!a||!za[a.toLowerCase()])&&(n>=za.pb?a="PB":n>=za.tb?a="TB":n>=za.gb?a="GB":n>=za.mb?a="MB":n>=za.kb?a="KB":a="B");var l=e/za[a.toLowerCase()],c=l.toFixed(i);return s||(c=c.replace(Yke,"$1")),r&&(c=c.split(".").map(function(u,d){return d===0?u.replace(Hke,r):u}).join(".")),c+o+a}function DB(e){if(typeof e=="number"&&!isNaN(e))return e;if(typeof e!="string")return null;var t=Gke.exec(e),n,r="b";return t?(n=parseFloat(t[1]),r=t[4].toLowerCase()):(n=parseInt(e,10),r="b"),isNaN(n)?null:Math.floor(za[r]*n)}const Jke=["tabindex","onClick","onKeypress","onKeydown"],exe={key:0,class:"mr-1 text-text-subtle"},txe={class:"flex flex-wrap gap-2"},kLe=Qe({__name:"UiFieldOptionList",props:er({label:{default:void 0},hideLabel:{type:Boolean,default:!1},required:{type:Boolean,default:!1},description:{default:void 0},clearable:{type:Boolean,default:!1},v$:{default:void 0},options:{default:void 0},emptyText:{default:void 0},placeholder:{default:""},prefix:{default:void 0},disabled:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchLoading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},recycle:{type:Boolean,default:!1},grouped:{type:Boolean,default:!1},fieldClass:{default:void 0},labelClass:{default:void 0},loading:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},emptyOption:{default:void 0},twoLines:{type:Boolean,default:!1},customSelectedText:{default:void 0},showLabelInside:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},{modelValue:{type:[Number,Boolean,String,null,Array],required:!0},modelModifiers:{}}),emits:er(["close","search-change","selected"],["update:modelValue"]),setup(e){const t=e,n=Wi(e,"modelValue"),r=qe(mi),o=q(()=>b=>b?["border-border-critical","focus:border-border-critical-subtle"]:t.disabled?["border-border-disabled"]:r.value.field.border?["border-border","focus:border-border-subtle"]:["border-transparent"]),i=q(()=>b=>b?["bg-surface-critical-subtle"]:t.disabled?["bg-surface-disabled"]:[r.value.field.backgroundColor==="subtle"?"bg-surface-subtle":"bg-surface"]),s=ge(!1),a=q(()=>t.emptyOption?{value:null,label:t.emptyOption}:void 0),l=q(()=>[...a.value?[a.value]:[],...t.options||[]]),c=q(()=>t.grouped?t.options.flatMap(b=>b.options):l.value),u=q(()=>t.multiple?c.value.filter(b=>n.value instanceof Array&&n.value.includes(b.value)):c.value.find(b=>b.value===n.value)),d=q(()=>t.multiple?u.value.length>0?u.value.map(b=>b.label).join(", "):null:u.value?u.value.label:null),f=q(()=>{if(t.multiple){const b=u.value;return b.length>0?`${t.label} (${b.length})`:t.label}return u.value?`${t.label} (1)`:t.label}),h=b=>{n.value=b,t.multiple||(s.value=!1)},p=ge(null),m=()=>{var b;return(b=p.value)==null?void 0:b.initialFocusElement},O=q(()=>{if(!t.showTags)return;let b;if(t.multiple)b=n.value instanceof Array?n.value.map(v=>c.value.find(y=>y.value===v)).filter(Boolean):[];else{const v=c.value.find(y=>y.value===n.value);b=v?[v]:[]}return b.map(v=>({label:v.label,value:v.value,disabled:v.disabled,remove:()=>{t.multiple?n.value=(n.value||[]).filter(y=>y!==v.value):n.value=null}}))}),g=ge();return(b,v)=>(W(),Me(U(nm),Ce(b.$qa("uifieldoptionlist"),{skeleton:b.skeleton,label:b.label,required:b.required,description:b.description,v$:b.v$,"hide-label":b.hideLabel||b.showLabelInside,"label-class":b.labelClass,"field-class":b.fieldClass,disabled:b.disabled,inline:b.inline}),ed({default:Ne(({error:y})=>[De(U(Oy),{modelValue:s.value,"onUpdate:modelValue":v[2]||(v[2]=w=>s.value=w),"full-width":"","initial-focus":m,"max-height":520,"no-scroll":"",target:g.value,"z-index-class":"z-50",onClose:v[3]||(v[3]=w=>b.$emit("close"))},{activator:Ne(({toggle:w})=>[b.skeleton?(W(),Me(U(ks),{key:0,class:"h-[36px] rounded"})):(W(),oe("div",Ce({key:1,ref_key:"input",ref:g},b.$qa("input"),{tabindex:b.disabled?void 0:0,class:[[i.value(y),o.value(y),b.disabled?"pointer-events-none":"",U(r).field.shadow?"shadow-2dp":""],"flex items-center gap-x-2 rounded border py-[7px] pl-3 pr-2 text-14 focus:outline-none focus:ring-2 focus:ring-focused"],onClick:w,onKeypress:[Er(xr(w,["prevent"]),["space"]),Er(xr(w,["prevent"]),["enter"])],onKeydown:[Er(xr(w,["prevent"]),["up"]),Er(xr(w,["prevent"]),["down"])]}),[Oe("span",{class:it(["grow select-none overflow-hidden truncate text-14",b.disabled?"text-text-disabled":"text-text-on-input"])},[b.prefix?(W(),oe("span",exe,rt(b.prefix),1)):xe("",!0),b.customSelectedText||!(n.value&&b.loading)?(W(),oe("span",{key:1,class:it(U(_r)(b.showLabelInside?U(r).field.labelFontWeight:U(r).field.inputFontWeight))},rt(b.showLabelInside?f.value:b.customSelectedText||d.value?d.value:b.placeholder),3)):xe("",!0)],2),b.loading?(W(),Me(U(Xp),{key:0,small:"",color:"default"})):xe("",!0),De(U(V2),{class:it([b.disabled?"text-icon-disabled":"text-icon","size-5 shrink-0"])},null,8,["class"])],16,Jke))]),default:Ne(()=>[De(U(Nbe),{ref_key:"optionListRef",ref:p,"model-value":n.value,options:l.value,searchable:b.searchable,multiple:b.multiple,recycle:b.recycle,grouped:b.grouped,clearable:b.clearable,"empty-text":b.emptyText,loading:b.loading||b.searchLoading,"two-lines":b.twoLines,"arrows-navigation":"","onUpdate:modelValue":h,onSearchChange:v[0]||(v[0]=w=>b.$emit("search-change",w)),onSelected:v[1]||(v[1]=w=>b.$emit("selected",w))},null,8,["model-value","options","searchable","multiple","recycle","grouped","clearable","empty-text","loading","two-lines"])]),_:2},1032,["modelValue","target"])]),_:2},[b.$slots.labelHelper?{name:"labelHelper",fn:Ne(()=>[Ve(b.$slots,"labelHelper")]),key:"0"}:void 0,O.value&&O.value.length>0?{name:"bottom",fn:Ne(()=>[Oe("div",txe,[(W(!0),oe(wt,null,si(O.value,y=>(W(),Me(U(Wbe),{key:`${typeof y.value}__${y.value}`,removable:!y.disabled,disabled:b.disabled,onRemove:y.remove},{default:Ne(()=>[Dn(rt(y.label),1)]),_:2},1032,["removable","disabled","onRemove"]))),128))])]),key:"1"}:void 0]),1040,["skeleton","label","required","description","v$","hide-label","label-class","field-class","disabled","inline"]))}});function Wk(){return Wk=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.reset(t)}))},execute:function(t){typeof t>"u"||(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.execute(t)}))},checkRecaptchaLoad:function(){GM.call(window,"grecaptcha")&&GM.call(window.grecaptcha,"render")&&this.notify()},assertLoaded:function(){if(!e.resolved())throw new Error("ReCAPTCHA has not been loaded")}}}var rh=rxe();typeof window<"u"&&(window.vueRecaptchaApiLoaded=rh.notify);var oxe=Qe({name:"VueRecaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String},badge:{type:String},type:{type:String},size:{type:String},tabindex:{type:String},loadRecaptchaScript:{type:Boolean,default:!0},recaptchaScriptId:{type:String,default:"__RECAPTCHA_SCRIPT"},recaptchaHost:{type:String,default:"www.google.com"},language:{type:String,default:""}},emits:["render","verify","expired","error"],setup:function(e,t){var n=t.slots,r=t.emit,o=ge(null),i=ge(null),s=function(c){r("verify",c)},a=function(){r("expired")},l=function(){r("error")};return Zo(function(){if(rh.checkRecaptchaLoad(),e.loadRecaptchaScript&&!document.getElementById(e.recaptchaScriptId)){var c=document.createElement("script");c.id=e.recaptchaScriptId,c.src="https://"+e.recaptchaHost+"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl="+e.language,c.async=!0,c.defer=!0,document.head.appendChild(c)}var u=Wk({},e,{callback:s,"expired-callback":a,"error-callback":l}),d=o.value,f=n.default?d.children[0]:d;rh.render(f,u,function(h){i.value=h,r("render",h)})}),{root:o,widgetId:i,reset:function(){rh.reset(i.value)},execute:function(){rh.execute(i.value)}}},render:function(){var e=this.$slots.default,t;return typeof e=="function"?t=e():t=e,Dt("div",{ref:"root"},t)}});const ixe={class:"h-[78px] w-[304px]"},xLe=Qe({__name:"UiFieldReCaptcha",props:{modelValue:{default:void 0},v$:{default:void 0},fieldClass:{default:void 0},labelClass:{default:void 0},siteKey:{},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,{locale:r}=Vd();return(o,i)=>o.skeleton?(W(),Me(U(ks),{key:1,class:"h-[78px] w-[304px]"})):(W(),Me(U(nm),Ce({key:0},o.$qa("uifieldcaptcha"),{v$:o.v$,"field-class":o.fieldClass,"label-class":o.labelClass}),{default:Ne(()=>[Oe("div",ixe,[De(U(oxe),{language:U(r),sitekey:o.siteKey,onVerify:i[0]||(i[0]=s=>n("update:modelValue",s)),onExpired:i[1]||(i[1]=s=>o.$emit("update:modelValue",""))},null,8,["language","sitekey"])])]),_:1},16,["v$","field-class","label-class"]))}}),sxe={key:0},axe={class:"text-12 font-semibold uppercase"},ELe=Qe({__name:"UiFieldset",props:{legend:{},inline:{type:Boolean}},setup(e){return(t,n)=>(W(),oe("fieldset",Ce(t.$qa("uifieldset"),{class:"contents"}),[Oe("div",{class:it(["flex gap-4",t.inline?"flex-row [&>*]:flex-1 [&>*]:w-0":"flex-col"])},[t.legend?(W(),oe("div",sxe,[Oe("legend",axe,rt(t.legend),1)])):xe("",!0),Ve(t.$slots,"default")],2)],16))}}),TLe=Qe({__name:"UiFieldText",props:er({v$:{default:void 0},leftIcon:{default:void 0},rightIcon:{default:void 0},type:{default:"text"},required:{type:Boolean,default:!1},placeholder:{default:void 0},description:{default:void 0},label:{default:void 0},maxlength:{default:void 0},min:{default:void 0},max:{default:void 0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},autocomplete:{default:void 0},tabindex:{default:void 0},hideError:{type:Boolean,default:!1},hideLabel:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},fieldClass:{default:void 0},labelClass:{default:void 0},showCounter:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1}},{modelValue:{default:""},modelModifiers:{}}),emits:er(["focus","blur","keydown","keypress","clear"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=Wi(e,"modelValue"),o=e,i=n;let s=ge(!1);const a=h=>{s.value=!0,i("focus",h)},l=h=>{s.value=!1,i("blur",h)},c=ge(null),u=q(()=>{var h;return(h=c.value)==null?void 0:h.inputElement});t({inputElement:u,focusInput:()=>{var h;return(h=c.value)==null?void 0:h.focusInput()}});const d=q(()=>{var h;return((h=r.value)==null?void 0:h.length)||0}),f=q(()=>o.maxlength!==void 0?parseInt(o.maxlength.toString(),10):void 0);return(h,p)=>(W(),Me(U(nm),Ce(h.$qa("uifieldtext"),{label:h.label,required:h.required,description:h.description,v$:h.v$,"hide-label":h.hideLabel,"hide-error":h.hideError,focused:U(s),"model-value":r.value,inline:h.inline,disabled:h.disabled,"field-class":h.fieldClass,"label-class":h.labelClass,"show-counter":h.showCounter,"counter-limit":f.value,count:d.value,skeleton:h.skeleton}),ed({default:Ne(({error:m})=>[De(U(_E),{ref_key:"input",ref:c,modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=O=>r.value=O),skeleton:h.skeleton,autocomplete:h.autocomplete,error:m,type:h.type,disabled:h.disabled,required:h.required,"left-icon":h.leftIcon,"right-icon":h.rightIcon,placeholder:h.placeholder,maxlength:h.maxlength,clearable:h.clearable,tabindex:h.tabindex,max:h.max,min:h.min,onKeydown:p[1]||(p[1]=O=>h.$emit("keydown",O)),onKeypress:p[2]||(p[2]=O=>h.$emit("keypress",O)),onFocus:a,onBlur:l,onClear:p[3]||(p[3]=O=>h.$emit("clear"))},ed({_:2},[h.$slots.left?{name:"left",fn:Ne(O=>[Ve(h.$slots,"left",Kr(Jr(O)))]),key:"0"}:void 0,h.$slots.right?{name:"right",fn:Ne(O=>[Ve(h.$slots,"right",Kr(Jr(O)))]),key:"1"}:void 0]),1032,["modelValue","skeleton","autocomplete","error","type","disabled","required","left-icon","right-icon","placeholder","maxlength","clearable","tabindex","max","min"])]),_:2},[h.$slots.label?{name:"label",fn:Ne(()=>[Ve(h.$slots,"label")]),key:"0"}:void 0,h.$slots.labelHelper?{name:"labelHelper",fn:Ne(()=>[Ve(h.$slots,"labelHelper")]),key:"1"}:void 0,h.$slots.tooltip?{name:"tooltip",fn:Ne(()=>[Ve(h.$slots,"tooltip")]),key:"2"}:void 0,h.$slots.description?{name:"description",fn:Ne(()=>[Ve(h.$slots,"description")]),key:"3"}:void 0]),1040,["label","required","description","v$","hide-label","hide-error","focused","model-value","inline","disabled","field-class","label-class","show-counter","counter-limit","count","skeleton"]))}}),lxe={class:"relative"},cxe=["maxlength","rows","disabled","placeholder","onKeypress"],uxe={key:0,class:"px-3 py-2"},dxe=Qe({__name:"UiTextarea",props:er({placeholder:{default:void 0},maxlength:{default:void 0},rows:{default:5},noResize:{type:Boolean},error:{type:Boolean},disabled:{type:Boolean},captureEnter:{type:Boolean},autosize:{type:Boolean},minHeight:{default:void 0},maxHeight:{default:void 0},skeleton:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:er(["blur","focus","press-enter"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=Wi(e,"modelValue"),o=e,i=n,s=qe(mi),a=q(()=>o.error?["border-border-critical","focus:border-border-critical-subtle"]:o.disabled?["border-border-disabled"]:s.value.field.border?["border-border","focus:border-border-subtle"]:["border-transparent"]),l=q(()=>o.error?["bg-surface-critical-subtle"]:o.disabled?["bg-surface-disabled"]:[s.value.field.backgroundColor==="subtle"?"bg-surface-subtle":"bg-surface"]),c=ge(!1),u=ge(),d=()=>{var g;return(g=u.value)==null?void 0:g.focus()};t({textareaElement:u,focusInput:d});const f=g=>{o.disabled||(i("focus",g),c.value=!0)},h=g=>{i("blur",g),c.value=!1},p=g=>{o.captureEnter&&(g.preventDefault(),g.stopPropagation(),i("press-enter",g))},m=ge("auto"),O=ge(!1);if(o.autosize){const g=()=>{m.value="auto",wr(()=>{if(!u.value)return;let b=u.value.scrollHeight;o.minHeight&&(b=bo.maxHeight?(b=o.maxHeight,O.value=!0):O.value=!1),m.value=`${b}px`})};Hp(window,"resize",()=>{g()}),Zo(()=>{g()}),We(r,()=>{g()})}return(g,b)=>g.skeleton?(W(),Me(U(ks),{key:1,class:"py-2"},{default:Ne(()=>[Oe("div",{style:ro({height:`${parseInt(g.rows.toString())*20+2}px`})},null,4)]),_:1})):(W(),oe("div",Ce({key:0},g.$qa("uitextarea"),{class:["cursor-text rounded border",[l.value,a.value,c.value?"ring-2 ring-focused":"",U(s).field.shadow?"shadow-2dp":""]],onClick:d}),[Oe("div",lxe,[bl(Oe("textarea",{ref_key:"textareaElement",ref:u,"onUpdate:modelValue":b[0]||(b[0]=v=>r.value=v),maxlength:g.maxlength,rows:g.rows,disabled:g.disabled,placeholder:g.placeholder,class:it([[g.disabled?"text-text-disabled":"text-text-on-input",g.autosize||g.noResize?"resize-none":"",g.autosize&&O.value?"overflow-auto":"",U(_r)(U(s).field.inputFontWeight)],"block w-full border-none bg-transparent px-3 py-2 text-14 !ring-transparent placeholder:font-normal placeholder:text-text-placeholder"]),style:ro({height:m.value}),onFocus:f,onBlur:h,onKeypress:Er(xr(p,["exact"]),["enter"])},null,46,cxe),[[z1,r.value]])]),g.$slots.bottom?(W(),oe("div",uxe,[Ve(g.$slots,"bottom")])):xe("",!0)],16))}}),CLe=Qe({__name:"UiFieldTextarea",props:er({label:{default:void 0},required:{type:Boolean},placeholder:{default:void 0},description:{default:void 0},v$:{default:void 0},maxlength:{default:void 0},showCounter:{type:Boolean},rows:{default:void 0},noResize:{type:Boolean},fieldClass:{default:void 0},labelClass:{default:void 0},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},{modelValue:{default:""},modelModifiers:{}}),emits:er(["blur","focus"],["update:modelValue"]),setup(e){const t=Wi(e,"modelValue"),n=e,r=q(()=>{var i;return((i=t.value)==null?void 0:i.length)||0}),o=q(()=>n.maxlength!==void 0?parseInt(n.maxlength.toString(),10):void 0);return(i,s)=>(W(),Me(U(nm),Ce(i.$qa("uifieldtextarea"),{label:i.label,required:i.required,description:i.description,v$:i.v$,"field-class":i.fieldClass,"label-class":i.labelClass,"show-counter":i.showCounter,"counter-limit":o.value,count:r.value,disabled:i.disabled,skeleton:i.skeleton,inline:i.inline}),ed({default:Ne(({error:a})=>[De(U(dxe),{modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=l=>t.value=l),error:a,placeholder:i.placeholder,maxlength:i.maxlength,rows:i.rows,"no-resize":i.noResize,skeleton:i.skeleton,disabled:i.disabled,onFocus:s[1]||(s[1]=l=>i.$emit("focus",l)),onBlur:s[2]||(s[2]=l=>i.$emit("blur",l))},ed({_:2},[i.$slots.bottom?{name:"bottom",fn:Ne(l=>[Ve(i.$slots,"bottom",Kr(Jr(l)))]),key:"0"}:void 0]),1032,["modelValue","error","placeholder","maxlength","rows","no-resize","skeleton","disabled"])]),_:2},[i.$slots.labelHelper?{name:"labelHelper",fn:Ne(()=>[Ve(i.$slots,"labelHelper")]),key:"0"}:void 0,i.$slots.description?{name:"description",fn:Ne(()=>[Ve(i.$slots,"description")]),key:"1"}:void 0]),1040,["label","required","description","v$","field-class","label-class","show-counter","counter-limit","count","disabled","skeleton","inline"]))}}),fxe=["width","height","viewBox"],hxe=["fill"],pxe=["fill"],mxe=["fill"],gxe={key:0,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.90806 8.17143C10.1265 8.17143 10.3401 8.23623 10.5217 8.35764C10.7033 8.47904 10.8449 8.65159 10.9284 8.85346C11.012 9.05532 11.0337 9.27743 10.991 9.49168C10.9483 9.70593 10.843 9.90269 10.6884 10.0571C10.5338 10.2115 10.3369 10.3165 10.1226 10.359C9.90831 10.4014 9.68623 10.3793 9.48447 10.2955C9.28272 10.2117 9.11035 10.07 8.98918 9.88819C8.86801 9.7064 8.80349 9.49276 8.80377 9.27429C8.80639 8.98236 8.92361 8.70314 9.13018 8.49684C9.33675 8.29054 9.61612 8.17367 9.90806 8.17143Z",fill:"#7C5BC2"},bxe={key:1,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.5852 19.4657C18.3671 19.4657 18.1538 19.401 17.9725 19.2798C17.7911 19.1587 17.6498 18.9864 17.5663 18.7849C17.4828 18.5834 17.461 18.3616 17.5035 18.1477C17.5461 17.9338 17.6511 17.7373 17.8054 17.583C17.9596 17.4288 18.1561 17.3237 18.37 17.2812C18.584 17.2386 18.8057 17.2605 19.0072 17.3439C19.2088 17.4274 19.381 17.5688 19.5022 17.7501C19.6234 17.9315 19.6881 18.1447 19.6881 18.3629C19.6854 18.6545 19.5684 18.9335 19.3622 19.1398C19.1559 19.3461 18.8769 19.4631 18.5852 19.4657Z",fill:"#EF509C"},Oxe=["fill"],yxe=["fill"],vxe=["fill"],wxe=["fill"],Sxe=["fill"],_xe=["fill"],kxe=["fill"],xxe=["fill"],Exe=["fill"],Txe=["fill"],Cxe=["fill"],PLe=Qe({__name:"UiLogo",props:{iconOnly:{type:Boolean},noColor:{type:Boolean},type:{default:"default"},width:{},height:{}},setup(e){const t=e,n=q(()=>{switch(t.type){case"custom":return"currentColor";case"reversed":return"#FFFFFF";case"default":default:return"#102142"}});return(r,o)=>(W(),oe("svg",{width:r.width,height:r.height,viewBox:r.iconOnly?"0 0 28 28":"0 0 179 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",alt:"PartnerPage"},[Oe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.0338 25.91C13.1281 26.4286 10.1334 25.8449 7.6352 24.2729C7.73704 23.985 7.79108 23.6824 7.7952 23.3771C7.78849 22.6124 7.4817 21.8808 6.9409 21.34C6.4001 20.7992 5.66855 20.4924 4.90377 20.4857C4.56545 20.4886 4.23048 20.553 3.9152 20.6757C2.7074 18.8537 2.01618 16.7383 1.91512 14.5547C1.81405 12.371 2.30691 10.2008 3.34126 8.27507C4.3756 6.34928 5.91272 4.73997 7.78904 3.61838C9.66535 2.4968 11.8106 1.90491 13.9966 1.90571V0C11.4493 0.000614223 8.95046 0.696208 6.76921 2.01185C4.58797 3.3275 2.80701 5.21333 1.61818 7.4662C0.429356 9.71908 -0.12228 12.2536 0.0226963 14.7968C0.167673 17.34 1.00377 19.7954 2.44091 21.8986C2.16445 22.3425 2.01613 22.8542 2.01234 23.3771C2.01905 24.1419 2.32584 24.8735 2.86664 25.4143C3.40744 25.9551 4.13899 26.2619 4.90377 26.2686C5.46284 26.2672 6.00921 26.1018 6.4752 25.7929C9.36426 27.6677 12.8536 28.3854 16.2481 27.8029L16.0338 25.91ZM4.90377 24.4814C4.68571 24.4811 4.47262 24.4162 4.29145 24.2949C4.11027 24.1735 3.96914 24.0012 3.88588 23.7996C3.80263 23.5981 3.78099 23.3764 3.82371 23.1625C3.86642 22.9487 3.97157 22.7523 4.12587 22.5982C4.28016 22.4441 4.47667 22.3392 4.69057 22.2968C4.90446 22.2544 5.12614 22.2763 5.32757 22.3598C5.52901 22.4433 5.70117 22.5847 5.82229 22.766C5.94341 22.9473 6.00806 23.1605 6.00806 23.3786C6.00507 23.6703 5.88768 23.9491 5.68115 24.1551C5.47462 24.3611 5.19546 24.4778 4.90377 24.48V24.4814Z",fill:n.value},null,8,hxe),Oe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.8138 16.5586C21.2843 15.2828 21.3873 13.9007 21.1112 12.5692C20.8352 11.2378 20.191 10.0106 19.252 9.02712C18.3131 8.04365 17.117 7.3434 15.7997 7.006C14.4825 6.66861 13.0971 6.70761 11.8009 7.11857C11.2809 6.65061 10.6076 6.38895 9.90806 6.38286C9.14328 6.38957 8.41173 6.69636 7.87093 7.23716C7.33013 7.77796 7.02334 8.50951 7.01663 9.27429C7.01925 9.82679 7.18201 10.3667 7.4852 10.8286C6.82212 12.1649 6.58661 13.673 6.81069 15.1478C7.03476 16.6227 7.70756 17.9927 8.73762 19.0718C9.76767 20.1509 11.105 20.8866 12.5679 21.1789C14.0307 21.4712 15.5481 21.306 16.9138 20.7057C17.3979 21.0595 17.9813 21.2514 18.5809 21.2543C19.3457 21.2476 20.0772 20.9408 20.618 20.4C21.1588 19.8592 21.4656 19.1276 21.4723 18.3629C21.4676 17.7035 21.2349 17.066 20.8138 16.5586ZM9.90806 8.17143C10.1265 8.17143 10.3401 8.23623 10.5217 8.35763C10.7033 8.47904 10.8449 8.65159 10.9284 8.85345C11.012 9.05532 11.0337 9.27743 10.991 9.49168C10.9483 9.70593 10.843 9.90269 10.6884 10.0571C10.5338 10.2114 10.3369 10.3165 10.1226 10.359C9.90831 10.4014 9.68623 10.3793 9.48447 10.2955C9.28272 10.2117 9.11035 10.07 8.98918 9.88818C8.86801 9.7064 8.80349 9.49275 8.80377 9.27429C8.80639 8.98235 8.92361 8.70314 9.13018 8.49684C9.33675 8.29053 9.61612 8.17367 9.90806 8.17143ZM15.6938 18.3629C15.6976 18.6045 15.7326 18.8445 15.7981 19.0771C15.2217 19.2936 14.6122 19.4081 13.9966 19.4157C13.1155 19.4171 12.2476 19.2011 11.4699 18.7868C10.6922 18.3726 10.0287 17.7729 9.53812 17.0409C9.04758 16.3089 8.74518 15.4672 8.6577 14.5904C8.57022 13.7136 8.70038 12.8288 9.03663 12.0143C9.31726 12.1105 9.6114 12.1617 9.90806 12.1657C10.6728 12.159 11.4044 11.8522 11.9452 11.3114C12.486 10.7706 12.7928 10.0391 12.7995 9.27429C12.7956 9.13044 12.7803 8.98713 12.7538 8.84572C13.5418 8.64867 14.3645 8.63473 15.1587 8.80498C15.9529 8.97522 16.6976 9.32513 17.3357 9.82785C17.9737 10.3306 18.4881 10.9727 18.8394 11.7051C19.1907 12.4375 19.3696 13.2406 19.3623 14.0529C19.3554 14.5538 19.277 15.0512 19.1295 15.53C18.9503 15.4941 18.768 15.4754 18.5852 15.4743C17.8209 15.481 17.0898 15.7874 16.5491 16.3276C16.0083 16.8678 15.7012 17.5986 15.6938 18.3629ZM18.5852 19.4657C18.3671 19.4657 18.1538 19.401 17.9725 19.2798C17.7911 19.1587 17.6498 18.9864 17.5663 18.7849C17.4828 18.5834 17.461 18.3616 17.5035 18.1477C17.5461 17.9338 17.6511 17.7373 17.8054 17.583C17.9596 17.4288 18.1561 17.3237 18.37 17.2812C18.584 17.2386 18.8057 17.2605 19.0072 17.344C19.2088 17.4274 19.381 17.5688 19.5022 17.7501C19.6234 17.9315 19.6881 18.1447 19.6881 18.3629C19.6854 18.6545 19.5684 18.9335 19.3622 19.1398C19.1559 19.3461 18.8769 19.4631 18.5852 19.4657Z",fill:n.value},null,8,pxe),Oe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M25.6323 6.23143C25.9033 5.79027 26.0486 5.28344 26.0523 4.76572C26.0456 4.00094 25.7388 3.26939 25.198 2.72859C24.6572 2.18779 23.9257 1.881 23.1609 1.87429C22.6334 1.8781 22.1174 2.02899 21.6709 2.31C21.091 1.92765 20.4836 1.58863 19.8538 1.29572L19.0195 3.01C19.5158 3.23801 19.9959 3.49957 20.4566 3.79286C20.3375 4.10454 20.2746 4.43491 20.2709 4.76857C20.2784 5.53261 20.5853 6.26322 21.1257 6.80337C21.6661 7.34351 22.3969 7.65007 23.1609 7.65714C23.5033 7.65372 23.8422 7.58788 24.1609 7.46286C25.4226 9.40955 26.093 11.6802 26.0909 14C26.0866 14.6521 26.0298 15.3028 25.9209 15.9457L27.7981 16.2586C28.4005 12.7619 27.6242 9.1678 25.6323 6.23143ZM23.1609 5.86857C22.9428 5.86829 22.7298 5.80337 22.5486 5.68201C22.3674 5.56066 22.2263 5.38832 22.143 5.18677C22.0598 4.98523 22.0381 4.76352 22.0808 4.54968C22.1236 4.33585 22.2287 4.13947 22.383 3.98537C22.5373 3.83128 22.7338 3.72638 22.9477 3.68395C23.1616 3.64151 23.3833 3.66343 23.5847 3.74695C23.7862 3.83046 23.9583 3.97182 24.0794 4.15315C24.2006 4.33448 24.2652 4.54765 24.2652 4.76572C24.2626 5.05765 24.1454 5.33686 23.9388 5.54317C23.7322 5.74947 23.4528 5.86634 23.1609 5.86857Z",fill:n.value},null,8,mxe),r.noColor?xe("",!0):(W(),oe("path",gxe)),r.noColor?xe("",!0):(W(),oe("path",bxe)),r.iconOnly?xe("",!0):(W(),oe(wt,{key:2},[Oe("path",{d:"M47.0143 7.9369C46.2119 7.53305 45.3225 7.33242 44.4243 7.35261H38.6772V20.6583H42.2901V16.7083H44.2901C45.2096 16.7273 46.1208 16.5316 46.9515 16.1369C47.6862 15.783 48.3021 15.2231 48.7243 14.5255C49.1613 13.7755 49.3809 12.9188 49.3586 12.0512C49.3788 11.1862 49.1661 10.3316 48.7429 9.5769C48.3352 8.87639 47.7353 8.3073 47.0143 7.9369ZM45.3472 13.0369C45.1852 13.3151 44.9433 13.538 44.6529 13.6769C44.3131 13.8344 43.9416 13.9111 43.5672 13.9012H42.2929V10.2369H43.5672C43.9417 10.2269 44.3137 10.3011 44.6558 10.454C44.9442 10.5883 45.186 10.8057 45.3501 11.0783C45.5197 11.3759 45.6042 11.7145 45.5943 12.0569C45.602 12.3999 45.5166 12.7385 45.3472 13.0369Z",fill:n.value},null,8,Oxe),Oe("path",{d:"M53.9786 7.35262L49.5872 20.6583H53.4858L54.2543 18.1112H58.6415L59.4115 20.6583H63.3101L58.9172 7.35262H53.9786ZM55.0701 15.4083L56.3958 11.0169H56.5001L57.8258 15.4083H55.0701Z",fill:n.value},null,8,yxe),Oe("path",{d:"M75.6372 14.2912C76.0591 13.6369 76.2701 12.8331 76.2701 11.8798C76.2939 11.0286 76.0802 10.1877 75.6529 9.4512C75.2424 8.77272 74.6412 8.23015 73.9244 7.8912C73.113 7.51629 72.2265 7.33206 71.3329 7.35262H65.5886V20.6583H69.2015V16.2669H70.4515L72.7872 20.6583H76.7101L74.0072 15.6912C74.6708 15.3861 75.2355 14.9011 75.6372 14.2912ZM69.2015 10.2369H70.4744C70.8461 10.2273 71.2165 10.2858 71.5672 10.4098C71.8496 10.5093 72.0932 10.6959 72.2629 10.9426C72.436 11.2215 72.5207 11.5462 72.5058 11.8741C72.521 12.197 72.4362 12.5168 72.2629 12.7898C72.092 13.0302 71.848 13.2091 71.5672 13.2998C71.216 13.4143 70.8479 13.4684 70.4786 13.4598H69.2058L69.2015 10.2369Z",fill:n.value},null,8,vxe),Oe("path",{d:"M78.4458 10.2626H82.4486V20.6583H86.0101V10.2626H90.0115V7.35262H78.4458V10.2626Z",fill:n.value},null,8,wxe),Oe("path",{d:"M100.27 14.3169H100.166L95.4358 7.35262H92.3686V20.6583H95.9815V13.6683H96.0586L100.867 20.6583H103.883V7.35262H100.27V14.3169Z",fill:n.value},null,8,Sxe),Oe("path",{d:"M106.604 20.6583H116.169V17.7483H110.217V15.4612H115.701V12.5498H110.217V10.2626H116.194V7.35262H106.604V20.6583Z",fill:n.value},null,8,_xe),Oe("path",{d:"M129.043 14.2912C129.464 13.6369 129.675 12.8331 129.676 11.8798C129.7 11.0286 129.486 10.1877 129.059 9.45119C128.647 8.77536 128.046 8.23537 127.33 7.89834C126.519 7.52343 125.632 7.33921 124.739 7.35977H118.996V20.6655H122.609V16.2669H123.853L126.189 20.6583H130.113L127.411 15.6912C128.075 15.3861 128.641 14.9011 129.043 14.2912ZM122.607 10.2369H123.88C124.25 10.2278 124.619 10.2864 124.969 10.4098C125.251 10.5101 125.494 10.6965 125.664 10.9426C125.837 11.2217 125.921 11.5463 125.907 11.8741C125.922 12.197 125.838 12.5168 125.664 12.7898C125.493 13.03 125.249 13.2087 124.969 13.2998C124.617 13.4143 124.249 13.4684 123.88 13.4598H122.607V10.2369Z",fill:n.value},null,8,kxe),Oe("path",{d:"M140.483 7.92404C139.788 7.54309 138.931 7.35262 137.912 7.35262H132.917V20.6583H135.327V16.1626H137.874C138.902 16.1626 139.766 15.9721 140.466 15.5912C141.14 15.24 141.695 14.6959 142.059 14.0283C142.427 13.3277 142.613 12.5455 142.599 11.754C142.612 10.9662 142.428 10.1875 142.062 9.48976C141.701 8.82361 141.152 8.27886 140.483 7.92404ZM139.866 13.0055C139.679 13.372 139.383 13.6716 139.019 13.8626C138.563 14.0877 138.058 14.1953 137.55 14.1755H135.327V9.3669H137.537C138.047 9.34696 138.553 9.45037 139.014 9.66833C139.382 9.85107 139.682 10.1457 139.872 10.5098C140.059 10.8982 140.15 11.3258 140.139 11.7569C140.147 12.1888 140.054 12.6166 139.866 13.0055Z",fill:n.value},null,8,xxe),Oe("path",{d:"M147.281 7.35262L142.597 20.6583H145.169L146.269 17.3726H151.269L152.371 20.6583H154.943L150.252 7.35262H147.281ZM146.92 15.4412L148.719 10.0812H148.822L150.623 15.4412H146.92Z",fill:n.value},null,8,Exe),Oe("path",{d:"M162.187 15.5769H165.244C165.247 16.1351 165.112 16.6854 164.85 17.1783C164.587 17.653 164.19 18.0389 163.707 18.2869C163.162 18.5582 162.559 18.6921 161.95 18.6769C161.257 18.692 160.575 18.5032 159.989 18.134C159.402 17.7461 158.943 17.1934 158.669 16.5455C158.352 15.8483 158.194 14.9974 158.194 13.9926C158.194 12.9879 158.354 12.1421 158.673 11.4555C158.948 10.8113 159.406 10.2613 159.989 9.87262C160.559 9.5103 161.223 9.32306 161.899 9.33405C162.272 9.33085 162.644 9.38235 163.003 9.4869C163.328 9.58188 163.633 9.73482 163.903 9.93833C164.166 10.1379 164.394 10.3792 164.579 10.6526C164.773 10.9441 164.922 11.2628 165.023 11.5983H167.479C167.387 10.9654 167.173 10.3563 166.849 9.80548C166.531 9.26576 166.116 8.78962 165.624 8.40119C165.116 8.0002 164.541 7.69125 163.926 7.48833C163.261 7.26964 162.565 7.16106 161.866 7.1669C161.037 7.15883 160.215 7.3172 159.449 7.63262C158.713 7.93689 158.053 8.39755 157.513 8.98262C156.943 9.60624 156.505 10.3392 156.227 11.1369C155.909 12.0626 155.754 13.0367 155.77 14.0155C155.77 15.4202 156.029 16.6321 156.546 17.6512C157.026 18.6278 157.777 19.4452 158.71 20.0055C159.647 20.5208 160.694 20.8041 161.762 20.8314C162.831 20.8588 163.891 20.6294 164.853 20.1626C165.689 19.7263 166.383 19.0602 166.853 18.2426C167.339 17.4102 167.581 16.425 167.581 15.2869V13.694H162.183L162.187 15.5769Z",fill:n.value},null,8,Txe),Oe("path",{d:"M172.407 18.6383V15.0055H178.203V12.9855H172.407V9.37262H178.651V7.35262H169.997V20.6583H178.704V18.6383H172.407Z",fill:n.value},null,8,Cxe)],64))],8,fxe))}}),Fk=typeof window>"u",Pxe=["src","alt"],Axe=100,$xe=Qe({__name:"UiMediaLightboxImage",props:{src:{},title:{}},setup(e){const t=e,n=ge(),r=ge(!0),o=ge(!0);We(r,a=>{a?setTimeout(()=>{r.value&&(o.value=!0)},Axe):o.value=!1});const i=()=>{r.value=!1},s=ge();return We(()=>t.src,()=>{var a;r.value||(s.value=(a=n.value)==null?void 0:a.clientHeight),r.value=!0}),(a,l)=>(W(),oe(wt,null,[bl(Oe("img",{ref_key:"imgRef",ref:n,class:"w-full",src:a.src,alt:a.title,onLoad:i},null,40,Pxe),[[B1,!o.value]]),bl(Oe("div",{style:ro({height:s.value?`${s.value}px`:void 0}),class:it([s.value?"":"aspect-video","flex w-full items-center justify-center bg-skeleton"])},[De(U(Xp))],6),[[B1,o.value]])],64))}}),Mxe={class:"flex h-full grow flex-col gap-5 overflow-hidden overflow-y-auto xl:flex-row-reverse xl:overflow-y-hidden"},Rxe={key:0,class:"shrink-0 xl:w-80 xl:overflow-y-auto"},Ixe=["innerHTML"],Lxe={key:1,class:"grow xl:overflow-y-auto"},Nxe=["src"],Dxe={key:2,class:"aspect-video"},Qxe={class:"flex justify-end gap-x-2"},ALe=Qe({__name:"UiMediaLightbox",props:{modelValue:{},items:{},getTitle:{type:Function},getDescription:{type:Function},getSource:{type:Function},getType:{type:Function}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,{t:r}=Vd(),o=q(()=>n.modelValue!==null?n.items.findIndex(O=>O.id===n.modelValue):void 0),i=q(()=>n.items&&o.value!==void 0?n.items[o.value]:void 0),s=q(()=>n.getDescription&&i.value?n.getDescription(i.value):void 0),a=q(()=>n.getTitle&&i.value?n.getTitle(i.value):void 0),l=q(()=>n.getSource&&i.value?n.getSource(i.value):void 0),c=q(()=>n.getType&&i.value?n.getType(i.value):void 0),u=q(()=>n.items.length>1),d=q(()=>o.value===0),f=q(()=>o.value===n.items.length-1),h=t,p=()=>{o.value===void 0||f.value||h("update:modelValue",n.items[o.value+1].id)},m=()=>{o.value===void 0||d.value||h("update:modelValue",n.items[o.value-1].id)};return Fk||Hp(window,"keyup",O=>{if(n.modelValue!==null)switch(O.key){case"ArrowRight":p();break;case"ArrowLeft":m();break}}),(O,g)=>(W(),Me(U(QB),Ce(O.$qa("uimedialightbox"),{"model-value":!!i.value,title:a.value,large:"",scrollable:!1,"onUpdate:modelValue":g[0]||(g[0]=b=>O.$emit("update:modelValue",null))}),ed({default:Ne(()=>[Oe("div",Mxe,[s.value?(W(),oe("div",Rxe,[Oe("div",{class:"prose prose-sm",innerHTML:s.value},null,8,Ixe)])):xe("",!0),i.value?(W(),oe("div",Lxe,[c.value==="image"&&l.value?(W(),Me($xe,{key:0,src:l.value,alt:a.value},null,8,["src","alt"])):c.value==="pdf"&&l.value?(W(),oe("iframe",{key:1,class:"w-full sm:h-96",src:`${l.value}#toolbar=0`},null,8,Nxe)):c.value==="video"?(W(),oe("div",Dxe,[l.value?(W(),Me(U(f2e),{key:0,class:"size-full",src:l.value},null,8,["src"])):xe("",!0)])):xe("",!0)])):xe("",!0)])]),_:2},[u.value?{name:"actions",fn:Ne(()=>[Oe("div",Qxe,[De(U(ei),{disabled:d.value,onClick:m},{default:Ne(()=>[Dn(rt(U(r)("ui.components.uiMediaLightbox.previousButtonText")),1)]),_:1},8,["disabled"]),De(U(ei),{variant:"primary",disabled:f.value,onClick:p},{default:Ne(()=>[Dn(rt(U(r)("ui.components.uiMediaLightbox.nextButtonText")),1)]),_:1},8,["disabled"])])]),key:"0"}:void 0]),1040,["model-value","title"]))}}),Bxe=["src","srcset"],zxe={key:1,class:"absolute left-0 top-0 inline-flex size-full items-center justify-center"},jxe={key:0,class:"absolute z-20 inline-flex size-9 items-center justify-center rounded-full bg-overlay-dark"},Wxe=["src"],Fxe={key:2,class:"size-full object-cover"},qxe=["src"],Uxe=["src"],Zxe={class:"absolute left-0 top-0 z-20 flex size-full flex-col"},Vxe={key:0,class:"translate-y-full bg-surface px-3 py-2 text-left transition-transform group-hover:translate-y-0 group-focus:translate-y-0 group-active:translate-y-0"},$Le=Qe({__name:"UiMediaThumbnail",props:{type:{},src:{default:void 0},srcset:{default:void 0},videoUrl:{default:void 0},caption:{default:void 0},aspectRatio:{default:"16:9"}},emits:["click"],setup(e){const t=e,n=q(()=>t.type==="video"?lD(t.videoUrl||""):void 0),r=q(()=>{var i;return(i=n.value)==null?void 0:i.getThumbnailUrl(t.videoUrl||"",t.aspectRatio)}),o=qe(mi);return(i,s)=>(W(),Me(U(sE),{class:"group relative overflow-hidden",shadow:U(o).mediaThumbnail.shadow,border:U(o).mediaThumbnail.border,clickable:"",rounded:"lg",onClick:s[0]||(s[0]=a=>i.$emit("click"))},{default:Ne(()=>[i.type==="image"?(W(),oe("img",{key:0,class:"absolute top-0 size-full object-cover",src:i.src,srcset:i.srcset,alt:""},null,8,Bxe)):xe("",!0),s[3]||(s[3]=Oe("div",{class:"absolute left-0 top-0 z-10 size-full bg-transparent transition-colors group-hover:bg-overlay-dark group-focus:bg-overlay-dark group-active:bg-overlay-dark"},null,-1)),i.type==="video"?(W(),oe("div",zxe,[n.value&&!n.value.thumbnailContainsPlayButton?(W(),oe("div",jxe,s[1]||(s[1]=[Oe("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Oe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.97504 1.60875C6.9931 1.00261 5.73056 0.946101 4.69005 1.46171C3.64955 1.97732 3 2.98135 3 4.07408V15.9259C3 17.0187 3.64955 18.0227 4.69005 18.5383C5.73056 19.0539 6.9931 18.9974 7.97504 18.3913L17.575 12.4653C18.4653 11.9158 19 10.9907 19 10C19 9.00933 18.4653 8.0842 17.575 7.53467L7.97504 1.60875Z",fill:"white"})],-1)]))):xe("",!0),n.value&&n.value.thumbnailType==="image"?(W(),oe("img",{key:1,class:"size-full object-cover",src:r.value,alt:""},null,8,Wxe)):n.value&&n.value.thumbnailType==="video"?(W(),oe("video",Fxe,[Oe("source",{src:r.value},null,8,qxe)])):n.value&&n.value.thumbnailType==="iframe"?(W(),oe("iframe",{key:3,tabindex:"-1",class:"size-full",src:r.value},null,8,Uxe)):xe("",!0)])):xe("",!0),Oe("div",Zxe,[s[2]||(s[2]=Oe("div",{class:"grow"},null,-1)),i.caption?(W(),oe("div",Vxe,rt(i.caption),1)):xe("",!0)])]),_:1},8,["shadow","border"]))}}),Xxe=Qe({name:"UseFocusTrap",props:["as","options"],setup(e,{slots:t}){let n;const r=ge(),o=()=>n&&n.activate(),i=()=>n&&n.deactivate();return We(()=>ea(r),s=>{s&&(n=OD(s,e.options||{}),o())},{flush:"post"}),EO(()=>i()),()=>{if(t.default)return Dt(e.as||"div",{ref:r},t.default())}}}),Hxe={key:0,class:"fixed left-0 top-0 z-40 h-screen w-screen bg-overlay-dark-hover"},Yxe={key:0,class:"flex space-x-4 p-5 text-text-heading"},Gxe={key:1,class:"flex justify-between gap-x-2 p-5"},Kxe={class:"flex gap-x-2"},Jxe={class:"flex gap-x-2"},QB=Qe({__name:"UiModal",props:er({title:{default:void 0},icon:{default:void 0},initialFocus:{type:Function,default:void 0},padding:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!0},large:{type:Boolean},small:{type:Boolean},fullHeight:{type:Boolean},preventCloseOnClickOutside:{type:Boolean},dismissable:{type:Boolean,default:!0}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:er(["close"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=e,o=Wi(e,"modelValue"),i=n,s=ge(!1),a=ge(!1),l=ge(!1),c=ge(""),u=ge(""),d=ge(!1),f=ge(0),h=ge(),p=ge(),m=q(()=>({immediate:!0,fallbackFocus:p.value,initialFocus:()=>(r.initialFocus?r.initialFocus():void 0)||!1})),O=ge();t({scrollContainer:O});const g=q(()=>s.value===!0),b=q(()=>g.value&&!a.value),v=ge(r.preventCloseOnClickOutside);Ft(yD,{prevent:()=>v.value=!0,reset:()=>v.value=!1});const y=C=>{if(!(!g.value||!r.dismissable))switch(C.key){case"Escape":w();break}},w=()=>{l.value||a.value||(i("close"),a.value=!0)},S=()=>{s.value=!1,o.value=!1,a.value=!1},_=()=>{!r.dismissable||r.preventCloseOnClickOutside||v.value||w()},T=()=>{d.value=!0,!Fk&&(window.addEventListener("keyup",y),c.value=document.documentElement.style.overflow,u.value=document.documentElement.style.paddingRight,f.value=window.innerWidth-document.documentElement.clientWidth,document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${f.value}px`,h.value=document.activeElement)},A=()=>{d.value=!1,!Fk&&(document.documentElement.style.overflow=c.value,document.documentElement.style.paddingRight=u.value,document.body.classList.remove("overflow-hidden"),h.value&&h.value.focus(),window.removeEventListener("keyup",y))};return We(()=>o.value,C=>{s.value=C},{immediate:!0}),We(g,C=>{if(C&&!d.value){T();return}!C&&d.value&&A()},{immediate:!0}),Cs(()=>{d.value&&A()}),(C,$)=>(W(),oe("div",Ce(C.$qa("uimodal"),{class:"fixed z-50"}),[De(rd,{"enter-active-class":"transition-opacity duration-300 ease-out","leave-active-class":"transition-opacity duration-200 ease-in","enter-from-class":"opacity-0","leave-to-class":"opacity-0",appear:""},{default:Ne(()=>[b.value?(W(),oe("div",Hxe)):xe("",!0)]),_:1}),g.value?(W(),Me(U(Xxe),{key:0,options:m.value,class:"fixed left-0 top-0 z-50 inline-flex size-full items-end justify-center md:items-center"},{default:Ne(()=>[Oe("div",{ref_key:"initialFocusDefault",ref:p,tabindex:"-1",class:"opacity-0"},null,512),Oe("div",{class:it(["grow",C.large?"xl:max-w-screen-lg lg:max-w-screen-md md:max-w-screen-sm":C.small?"md:max-w-lg":"md:max-w-screen-sm"])},[De(rd,{"enter-active-class":"transition-all duration-300 ease-out","leave-active-class":"transition-all duration-200 ease-in","enter-from-class":"opacity-0 translate-y-4 md:scale-95","leave-to-class":"opacity-0 translate-y-4 md:scale-95",appear:"",onEnter:$[0]||($[0]=E=>l.value=!0),onAfterEnter:$[1]||($[1]=E=>l.value=!1),onEnterCancelled:$[2]||($[2]=E=>l.value=!1),onAfterLeave:S},{default:Ne(()=>[b.value?bl((W(),oe("div",Ce({key:0},C.$qa("modal"),{class:["relative inline-flex max-h-[80vh] w-full flex-col bg-surface md:rounded-lg",{"h-[80vh]":C.fullHeight}]}),[C.$slots.header||C.title?(W(),oe("div",Yxe,[Ve(C.$slots,"header",{},()=>[C.icon?(W(),Me(Ii(C.icon),{key:0,class:"size-6 shrink-0 self-start text-icon"})):xe("",!0),Oe("div",Ce({class:"grow overflow-hidden break-words typography-h4"},C.$qa("title")),rt(C.title),17)]),C.dismissable?(W(),Me(U(i0),{key:0,big:"",onClick:w})):xe("",!0)])):xe("",!0),Oe("div",{ref_key:"scrollContainer",ref:O,class:it(["break-words",[C.$slots.header||C.title?"":"min-h-[64px]",C.padding?"px-5":"",!(C.$slots.actions||C.$slots.secondaryActions)&&C.padding?"pb-5":"",!(C.$slots.header||C.title)&&C.padding?"pt-5":"",C.scrollable?"overflow-y-auto":"flex flex-col overflow-y-hidden",C.fullHeight?"grow":""]])},[Oe("div",{class:it(["flex justify-between gap-x-4",[C.scrollable?"":"overflow-hidden"]])},[Oe("div",{class:it([C.scrollable?"":"overflow-y-hidden","flex grow flex-col"])},[Ve(C.$slots,"default",Kr(Jr({close:w})))],2),!(C.$slots.header||C.title)&&C.dismissable?(W(),oe("div",{key:0,class:it(["size-5",C.padding?"self-start sticky top-0":"absolute top-5 right-5"])},[De(U(i0),{big:"",onClick:w})],2)):xe("",!0)],2)],2),C.$slots.actions||C.$slots.secondaryActions?(W(),oe("div",Gxe,[Oe("div",Kxe,[Ve(C.$slots,"secondaryActions",Kr(Jr({close:w})))]),Oe("div",Jxe,[Ve(C.$slots,"actions",Kr(Jr({close:w})))])])):xe("",!0)],16)),[[U(uD),_]]):xe("",!0)]),_:3})],2),Oe("div",{class:"hidden h-full md:block",style:ro({paddingRight:`${f.value}px`})},null,4)]),_:3},8,["options"])):xe("",!0)],16))}}),e2e={key:0,"aria-label":"Pagination Size",class:"inline-flex items-center justify-center gap-x-1"},t2e={class:"inline-flex items-center"},n2e={key:0,class:"flex min-w-[31px] items-center justify-center px-1 py-0.5 font-semibold text-text-heading"},r2e=["aria-label","onClick"],MLe=Qe({__name:"UiPageSize",props:er({options:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:er(["change"],["update:modelValue"]),setup(e,{emit:t}){const n=Wi(e,"modelValue"),r=t,o=i=>{i!==n.value&&(n.value=i,r("change",i))};return(i,s)=>i.options?(W(),oe("div",e2e,[s[0]||(s[0]=Oe("span",{class:"text-text-heading"},"Results per page:",-1)),Oe("div",t2e,[(W(!0),oe(wt,null,si(i.options,a=>(W(),oe(wt,{key:a},[a===n.value?(W(),oe("div",n2e,rt(a),1)):(W(),oe("button",Ce({key:1,ref_for:!0},i.$qa("page-size-nav",a),{class:"flex min-w-[31px] cursor-pointer items-center justify-center rounded px-1 py-0.5 font-semibold text-interactive transition-all duration-75 hover:text-interactive-hover focus:outline-none focus:ring-2 focus:ring-focused active:text-interactive-pressed active:ring-0","aria-label":`Page size ${a}`,onClick:l=>o(a)}),rt(a),17,r2e))],64))),128))])])):xe("",!0)}}),o2e={key:0,class:"text-text-subtle"},i2e={key:1,class:"flex items-center justify-between gap-x-4"},s2e={key:0,class:"text-text-subtle"},RLe=Qe({__name:"UiPagination",props:er({queryParam:{},count:{},pageSize:{},condensed:{type:Boolean},hideResults:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:er(["change"],["update:modelValue"]),setup(e,{emit:t}){const{t:n}=Vd(),r=Wi(e,"modelValue"),o=e,i=t,s=x2(),a=q(()=>o.queryParam?s.query[o.queryParam]!=null?parseInt(s.query[o.queryParam].toString(),10):1:r.value),l=q(()=>{if(o.queryParam)return{...s,query:{...s.query,[o.queryParam]:a.value+1}}}),c=q(()=>{if(o.queryParam)return{...s,query:{...s.query,[o.queryParam]:a.value!==2?a.value-1:void 0}}}),u=h=>{h!==a.value&&(o.queryParam||(r.value=h),i("change",h))},d=q(()=>Math.ceil(o.count/o.pageSize)),f=q(()=>`${n("ui.components.uiPagination.resultsText",{count:o.count})} ${d.value<=1?"":`- ${n("ui.components.uiPagination.currentPagination",{currentPage:a.value,totalPages:d.value})}`} `);return(h,p)=>h.condensed?(W(),oe("nav",Ce({key:0},h.$qa("uipagination"),{role:"navigation",class:"inline-flex items-center gap-x-4","aria-label":"Pagination Navigation"}),[De(U(vde),null,{default:Ne(()=>[De(U(ei),Ce(h.$qa("page-nav","previous"),{disabled:a.value<=1,icon:U(C3),grouped:"","aria-label":"Previous page",to:c.value,onClick:p[0]||(p[0]=m=>u(a.value-1))}),null,16,["disabled","icon","to"]),De(U(ei),Ce(h.$qa("page-nav","next"),{disabled:a.value>=d.value,icon:U(P3),grouped:"","aria-label":"Next page",to:l.value,onClick:p[1]||(p[1]=m=>u(a.value+1))}),null,16,["disabled","icon","to"])]),_:1}),h.hideResults?xe("",!0):(W(),oe("div",o2e,rt(f.value),1))],16)):(W(),oe("nav",i2e,[De(U(ei),Ce(h.$qa("page-nav","previous"),{disabled:a.value<=1,icon:U(C3),"aria-label":"Previous page",to:c.value,onClick:p[2]||(p[2]=m=>u(a.value-1))}),null,16,["disabled","icon","to"]),h.hideResults?xe("",!0):(W(),oe("div",s2e,rt(f.value),1)),De(U(ei),Ce(h.$qa("page-nav","next"),{disabled:a.value>=d.value,icon:U(P3),"aria-label":"Next page",to:l.value,onClick:p[3]||(p[3]=m=>u(a.value+1))}),null,16,["disabled","icon","to"])]))}}),ILe=Qe({__name:"UiShowMoreButton",props:er({noPadding:{type:Boolean},block:{type:Boolean}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Wi(e,"modelValue"),n=q(()=>t.value?wL:V2);return(r,o)=>(W(),Me(U(ei),{"no-padding":r.noPadding,block:r.block,variant:"text",icon:n.value,onClick:o[0]||(o[0]=i=>t.value=!t.value)},{default:Ne(()=>[Dn(rt(t.value?"Show less":"Show more"),1)]),_:1},8,["no-padding","block","icon"]))}}),a2e={class:"grow font-semibold text-text-on-reversed"},l2e=Qe({__name:"UiToast",props:{error:{type:Boolean,default:!1},text:{},timeout:{default:5e3},absolute:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=t,o=ge(!0),i=()=>{o.value=!1},s=setTimeout(i,n.timeout);Cs(()=>{window.clearTimeout(s)});const a=()=>{r("close")};return(l,c)=>(W(),oe("div",Ce(l.$qa("uitoast"),{class:[l.absolute?"absolute":"fixed","pointer-events-none bottom-0 left-0 top-auto z-50 flex size-full items-end justify-center pb-8"]}),[De(rd,{"enter-active-class":"transition-all duration-300 ease-out","leave-active-class":"transition-all duration-200 ease-in","enter-from-class":"opacity-0 translate-y-4 md:scale-95","leave-to-class":"opacity-0 translate-y-4 md:scale-95",appear:"",onAfterLeave:a},{default:Ne(()=>[o.value?(W(),oe("div",Ce({key:0},{...l.$qa("toast"),...l.$qa("type",l.error?"error":"default")},{class:["pointer-events-auto inline-flex items-center gap-x-5 rounded-lg p-4",l.error?"bg-interactive-critical":"bg-surface-dark"]}),[Oe("div",a2e,rt(l.text),1),De(U(i0),{big:"",reversed:"",onClick:i})],16)):xe("",!0)]),_:1})],16))}}),c2e={class:"max-w-xs p-4 text-text-on-tooltip"},LLe=Qe({__name:"UiTooltip",props:{text:{},position:{default:"top"},alignment:{default:"center"}},setup(e){function t(a){!i.value&&(a.currentTarget||a.target)&&(i.value=a.currentTarget||a.target)}function n(a){t(a),o.value=!0}function r(a){t(a),o.value=!1}const o=ge(!1),i=ge(),s={mouseenter:n,mouseleave:r,focus:n,blur:r,touchstart:a=>{t(a),o.value=!o.value}};return(a,l)=>(W(),Me(U(Oy),Ce({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value=c)},a.$qa("uitooltip"),{alignment:a.alignment,position:a.position,"z-index-class":"z-50","display-arrow":"","disable-click-outside-on-target-click":"",target:i.value}),{activator:Ne(()=>[Ve(a.$slots,"activator",Kr(Jr({on:s})))]),default:Ne(()=>[Oe("div",c2e,[Ve(a.$slots,"default",{},()=>[Dn(rt(a.text),1)])])]),_:3},16,["modelValue","alignment","position","target"]))}}),u2e=["src"],d2e=["src"],f2e=Qe({__name:"UiVideoPlayer",props:{src:{},aspectRatio:{default:"16:9"}},setup(e){const t=e,n=q(()=>lD(t.src||"")),r=q(()=>{var o;return(o=n.value)==null?void 0:o.getPlayerUrl(t.src,t.aspectRatio)});return(o,i)=>n.value&&n.value.playerType==="video"?(W(),oe("video",Ce({key:0},o.$qa("uivideoplayer"),{controls:""}),[Oe("source",{src:r.value},null,8,u2e)],16)):(W(),oe("iframe",{key:1,src:r.value},null,8,d2e))}});function lT(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Jc=lT();function BB(e){Jc=e}const zB=/[&<>"']/,h2e=new RegExp(zB.source,"g"),jB=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p2e=new RegExp(jB.source,"g"),m2e={"&":"&","<":"<",">":">",'"':""","'":"'"},KM=e=>m2e[e];function $o(e,t){if(t){if(zB.test(e))return e.replace(h2e,KM)}else if(jB.test(e))return e.replace(p2e,KM);return e}const g2e=/(^|[^\[])\^/g;function Zt(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(o,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(g2e,"$1"),n=n.replace(o,s),r},getRegex:()=>new RegExp(n,t)};return r}function JM(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Th={exec:()=>null};function eR(e,t){const n=e.replace(/\|/g,(i,s,a)=>{let l=!1,c=s;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let o=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length{const i=o.match(/^\s+/);if(i===null)return o;const[s]=i;return s.length>=r.length?o.slice(r.length):o}).join(` `)}class H0{constructor(t){Ht(this,"options"),Ht(this,"rules"),Ht(this,"lexer"),this.options=t||Jc}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Df(r,` `)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],o=O2e(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:o}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const o=Df(r,"#");(this.options.pedantic||!o||/ $/.test(o))&&(r=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:Df(n[0],` `)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=Df(n[0],` `).split(` `),o="",i="";const s=[];for(;r.length>0;){let a=!1;const l=[];let c;for(c=0;c/.test(r[c]))l.push(r[c]),a=!0;else if(!a)l.push(r[c]);else break;r=r.slice(c);const u=l.join(` `),d=u.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` $1`).replace(/^ {0,3}>[ \t]?/gm,"");o=o?`${o} ${u}`:u,i=i?`${i} ${d}`:d;const f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,s,!0),this.lexer.state.top=f,r.length===0)break;const h=s[s.length-1];if((h==null?void 0:h.type)==="code")break;if((h==null?void 0:h.type)==="blockquote"){const p=h,m=p.raw+` `+r.join(` `),O=this.blockquote(m);s[s.length-1]=O,o=o.substring(0,o.length-p.raw.length)+O.raw,i=i.substring(0,i.length-p.text.length)+O.text;break}else if((h==null?void 0:h.type)==="list"){const p=h,m=p.raw+` `+r.join(` `),O=this.list(m);s[s.length-1]=O,o=o.substring(0,o.length-h.raw.length)+O.raw,i=i.substring(0,i.length-p.raw.length)+O.raw,r=m.substring(s[s.length-1].raw.length).split(` `);continue}}return{type:"blockquote",raw:o,tokens:s,text:i}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const o=r.length>1,i={type:"list",raw:"",ordered:o,start:o?+r.slice(0,-1):"",loose:!1,items:[]};r=o?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=o?r:"[*+-]");const s=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;t;){let l=!1,c="",u="";if(!(n=s.exec(t))||this.rules.block.hr.test(t))break;c=n[0],t=t.substring(c.length);let d=n[2].split(` `,1)[0].replace(/^\t+/,g=>" ".repeat(3*g.length)),f=t.split(` `,1)[0],h=!d.trim(),p=0;if(this.options.pedantic?(p=2,u=d.trimStart()):h?p=n[1].length+1:(p=n[2].search(/[^ ]/),p=p>4?1:p,u=d.slice(p),p+=n[1].length),h&&/^[ \t]*$/.test(f)&&(c+=f+` `,t=t.substring(f.length+1),l=!0),!l){const g=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),b=new RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),v=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),y=new RegExp(`^ {0,${Math.min(3,p-1)}}#`),w=new RegExp(`^ {0,${Math.min(3,p-1)}}<[a-z].*>`,"i");for(;t;){const S=t.split(` `,1)[0];let _;if(f=S,this.options.pedantic?(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),_=f):_=f.replace(/\t/g," "),v.test(f)||y.test(f)||w.test(f)||g.test(f)||b.test(f))break;if(_.search(/[^ ]/)>=p||!f.trim())u+=` `+_.slice(p);else{if(h||d.replace(/\t/g," ").search(/[^ ]/)>=4||v.test(d)||y.test(d)||b.test(d))break;u+=` `+f}!h&&!f.trim()&&(h=!0),c+=S+` `,t=t.substring(S.length+1),d=_.slice(p)}}i.loose||(a?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(c)&&(a=!0));let m=null,O;this.options.gfm&&(m=/^\[[ xX]\] /.exec(u),m&&(O=m[0]!=="[ ] ",u=u.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:c,task:!!m,checked:O,loose:!1,text:u,tokens:[]}),i.raw+=c}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let l=0;ld.type==="space"),u=c.length>0&&c.some(d=>/\n.*\n/.test(d.raw));i.loose=u}if(i.loose)for(let l=0;l$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:o,title:i}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=eR(n[1]),o=n[2].replace(/^\||\| *$/g,"").split("|"),i=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` `):[],s={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===o.length){for(const a of o)/^ *-+: *$/.test(a)?s.align.push("right"):/^ *:-+: *$/.test(a)?s.align.push("center"):/^ *:-+ *$/.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[c]})));return s}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===` `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:$o(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^$/.test(r))return;const s=Df(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{const s=b2e(n[2],"()");if(s>-1){const a=(n[0].indexOf("!")===0?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,a).trim(),n[3]=""}}let o=n[2],i="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s&&(o=s[1],i=s[3])}else i=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^$/.test(r)?o=o.slice(1):o=o.slice(1,-1)),tR(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const o=(r[2]||r[1]).replace(/\s+/g," "),i=n[o.toLowerCase()];if(!i){const s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return tR(r,i,r[0],this.lexer)}}emStrong(t,n,r=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&r.match(/[\p{L}\p{N}]/u))&&(!(o[1]||o[2])||!r||this.rules.inline.punctuation.exec(r))){const i=[...o[0]].length-1;let s,a,l=i,c=0;const u=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,n=n.slice(-1*t.length+i);(o=u.exec(n))!=null;){if(s=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!s)continue;if(a=[...s].length,o[3]||o[4]){l+=a;continue}else if((o[5]||o[6])&&i%3&&!((i+a)%3)){c+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l+c);const d=[...o[0]][0].length,f=t.slice(0,i+o.index+d+a);if(Math.min(i,a)%2){const p=f.slice(1,-1);return{type:"em",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}const h=f.slice(2,-2);return{type:"strong",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const o=/[^ ]/.test(r),i=/^ /.test(r)&&/ $/.test(r);return o&&i&&(r=r.substring(1,r.length-1)),r=$o(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,o;return n[2]==="@"?(r=$o(n[1]),o="mailto:"+r):(r=$o(n[1]),o=r),{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let o,i;if(r[2]==="@")o=$o(r[0]),i="mailto:"+o;else{let s;do s=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(s!==r[0]);o=$o(r[0]),r[1]==="www."?i="http://"+r[0]:i=r[0]}return{type:"link",raw:r[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=$o(n[0]),{type:"text",raw:n[0],text:r}}}}const y2e=/^(?:[ \t]*(?:\n|$))+/,v2e=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,w2e=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hm=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S2e=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,WB=/(?:[*+-]|\d{1,9}[.)])/,FB=Zt(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,WB).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),cT=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,_2e=/^[^\n]+/,uT=/(?!\s*\])(?:\\.|[^\[\]\\])+/,k2e=Zt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",uT).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),x2e=Zt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,WB).getRegex(),Ry="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",dT=/|$))/,E2e=Zt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",dT).replace("tag",Ry).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qB=Zt(cT).replace("hr",hm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ry).getRegex(),T2e=Zt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",qB).getRegex(),fT={blockquote:T2e,code:v2e,def:k2e,fences:w2e,heading:S2e,hr:hm,html:E2e,lheading:FB,list:x2e,newline:y2e,paragraph:qB,table:Th,text:_2e},nR=Zt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ry).getRegex(),C2e={...fT,table:nR,paragraph:Zt(cT).replace("hr",hm).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",nR).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ry).getRegex()},P2e={...fT,html:Zt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",dT).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Th,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Zt(cT).replace("hr",hm).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",FB).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},UB=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,A2e=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ZB=/^( {2,}|\\)\n(?!\s*$)/,$2e=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,I2e=Zt(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,pm).getRegex(),L2e=Zt("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,pm).getRegex(),N2e=Zt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,pm).getRegex(),D2e=Zt(/\\([punct])/,"gu").replace(/punct/g,pm).getRegex(),Q2e=Zt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),B2e=Zt(dT).replace("(?:-->|$)","-->").getRegex(),z2e=Zt("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",B2e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Y0=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,j2e=Zt(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Y0).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),VB=Zt(/^!?\[(label)\]\[(ref)\]/).replace("label",Y0).replace("ref",uT).getRegex(),XB=Zt(/^!?\[(ref)\](?:\[\])?/).replace("ref",uT).getRegex(),W2e=Zt("reflink|nolink(?!\\()","g").replace("reflink",VB).replace("nolink",XB).getRegex(),hT={_backpedal:Th,anyPunctuation:D2e,autolink:Q2e,blockSkip:R2e,br:ZB,code:A2e,del:Th,emStrongLDelim:I2e,emStrongRDelimAst:L2e,emStrongRDelimUnd:N2e,escape:UB,link:j2e,nolink:XB,punctuation:M2e,reflink:VB,reflinkSearch:W2e,tag:z2e,text:$2e,url:Th},F2e={...hT,link:Zt(/^!?\[(label)\]\((.*?)\)/).replace("label",Y0).getRegex(),reflink:Zt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y0).getRegex()},qk={...hT,escape:Zt(UB).replace("])","~|])").getRegex(),url:Zt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\(o=a.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))){if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length),o.raw.length===1&&n.length>0?n[n.length-1].raw+=` `:n.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` `+o.raw,i.text+=` `+o.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=` `+o.raw,i.text+=` `+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),n.push(o);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(o=this.tokenizer.paragraph(s))){i=n[n.length-1],r&&(i==null?void 0:i.type)==="paragraph"?(i.raw+=` `+o.raw,i.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(o),r=s.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length),i=n[n.length-1],i&&i.type==="text"?(i.raw+=` `+o.raw,i.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(o);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,o,i,s=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(r=u.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),o=n[n.length-1],o&&r.type==="text"&&o.type==="text"?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),o=n[n.length-1],o&&r.type==="text"&&o.type==="text"?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,s,c)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const d=t.slice(1);let f;this.options.extensions.startInline.forEach(h=>{f=h.call({lexer:this},d),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(i=t.substring(0,u+1))}if(r=this.tokenizer.inlineText(i)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(c=r.raw.slice(-1)),l=!0,o=n[n.length-1],o&&o.type==="text"?(o.raw+=r.raw,o.text+=r.text):n.push(r);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}}class G0{constructor(t){Ht(this,"options"),Ht(this,"parser"),this.options=t||Jc}space(t){return""}code({text:t,lang:n,escaped:r}){var o;const i=(o=(n||"").match(/^\S*/))==null?void 0:o[0],s=t.replace(/\n$/,"")+` `;return i?'
'+(r?s:$o(s,!0))+`
`:"
"+(r?s:$o(s,!0))+`
`}blockquote({tokens:t}){return`
${this.parser.parse(t)}
`}html({text:t}){return t}heading({tokens:t,depth:n}){return`${this.parser.parseInline(t)} `}hr(t){return`
`}list(t){const n=t.ordered,r=t.start;let o="";for(let a=0;a `+o+" `}listitem(t){let n="";if(t.task){const r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`
  • ${n}
  • `}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    `}table(t){let n="",r="";for(let i=0;i${o}`),` `+n+` `+o+`
    `}tablerow({text:t}){return` ${t} `}tablecell(t){const n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+` `}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:n,tokens:r}){const o=this.parser.parseInline(r),i=JM(t);if(i===null)return o;t=i;let s='
    ",s}image({href:t,title:n,text:r}){const o=JM(t);if(o===null)return r;t=o;let i=`${r}{const c=a[l].flat(1/0);i=i.concat(this.walkTokens(c,n))}):a.tokens&&(i=i.concat(this.walkTokens(a.tokens,n)))}}return i}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const o={...r};if(o.async=this.defaults.async||o.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){const s=n.renderers[i.name];s?n.renderers[i.name]=function(...a){let l=i.renderer.apply(this,a);return l===!1&&(l=s.apply(this,a)),l}:n.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=n[i.level];s?s.unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),o.extensions=n),r.renderer){const i=this.defaults.renderer||new G0(this.defaults);for(const s in r.renderer){if(!(s in i))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const a=s,l=r.renderer[a],c=i[a];i[a]=(...u)=>{let d=l.apply(i,u);return d===!1&&(d=c.apply(i,u)),d||""}}o.renderer=i}if(r.tokenizer){const i=this.defaults.tokenizer||new H0(this.defaults);for(const s in r.tokenizer){if(!(s in i))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const a=s,l=r.tokenizer[a],c=i[a];i[a]=(...u)=>{let d=l.apply(i,u);return d===!1&&(d=c.apply(i,u)),d}}o.tokenizer=i}if(r.hooks){const i=this.defaults.hooks||new Ch;for(const s in r.hooks){if(!(s in i))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const a=s,l=r.hooks[a],c=i[a];Ch.passThroughHooks.has(s)?i[a]=u=>{if(this.defaults.async)return Promise.resolve(l.call(i,u)).then(f=>c.call(i,f));const d=l.call(i,u);return c.call(i,d)}:i[a]=(...u)=>{let d=l.apply(i,u);return d===!1&&(d=c.apply(i,u)),d}}o.hooks=i}if(r.walkTokens){const i=this.defaults.walkTokens,s=r.walkTokens;o.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),i&&(l=l.concat(i.call(this,a))),l}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return ni.lex(t,n??this.defaults)}parser(t,n){return ri.parse(t,n??this.defaults)}parseMarkdown(t){return(n,r)=>{const o={...r},i={...this.defaults,...o},s=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&o.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=t);const a=i.hooks?i.hooks.provideLexer():t?ni.lex:ni.lexInline,l=i.hooks?i.hooks.provideParser():t?ri.parse:ri.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then(c=>a(c,i)).then(c=>i.hooks?i.hooks.processAllTokens(c):c).then(c=>i.walkTokens?Promise.all(this.walkTokens(c,i.walkTokens)).then(()=>c):c).then(c=>l(c,i)).then(c=>i.hooks?i.hooks.postprocess(c):c).catch(s);try{i.hooks&&(n=i.hooks.preprocess(n));let c=a(n,i);i.hooks&&(c=i.hooks.processAllTokens(c)),i.walkTokens&&this.walkTokens(c,i.walkTokens);let u=l(c,i);return i.hooks&&(u=i.hooks.postprocess(u)),u}catch(c){return s(c)}}}onError(t,n){return r=>{if(r.message+=` Please report this to https://github.com/markedjs/marked.`,t){const o="

    An error occurred:

    "+$o(r.message+"",!0)+"
    ";return n?Promise.resolve(o):o}if(n)return Promise.reject(r);throw r}}}const zc=new U2e;function Wt(e,t){return zc.parse(e,t)}Wt.options=Wt.setOptions=function(e){return zc.setOptions(e),Wt.defaults=zc.defaults,BB(Wt.defaults),Wt};Wt.getDefaults=lT;Wt.defaults=Jc;Wt.use=function(...e){return zc.use(...e),Wt.defaults=zc.defaults,BB(Wt.defaults),Wt};Wt.walkTokens=function(e,t){return zc.walkTokens(e,t)};Wt.parseInline=zc.parseInline;Wt.Parser=ri;Wt.parser=ri.parse;Wt.Renderer=G0;Wt.TextRenderer=pT;Wt.Lexer=ni;Wt.lexer=ni.lex;Wt.Tokenizer=H0;Wt.Hooks=Ch;Wt.parse=Wt;Wt.options;Wt.setOptions;Wt.use;Wt.walkTokens;Wt.parseInline;ri.parse;ni.lex;const Z2e=["innerHTML"],V2e=["textContent"],X2e=Qe({__name:"ConfirmationModal",props:{modelValue:{type:Boolean,default:!0},title:{default:()=>{}},text:{default:()=>{}},richText:{default:()=>{}},cancelButtonText:{default:"Cancel"},confirmButtonText:{default:"Confirm"},destructive:{type:Boolean,default:!1},resolve:{type:Function,default:void 0},confirmPromise:{type:Function,default:void 0}},setup(e){const t=q(()=>e.richText?Wt(e.richText):void 0),n=()=>{e.resolve&&e.resolve(!1)},r=s=>{e.resolve&&e.resolve(!1),s()},o=ge(!1),i=async s=>{if(e.confirmPromise){o.value=!0;const a=await e.confirmPromise();if(o.value=!1,!a)return}e.resolve&&e.resolve(!0),s()};return(s,a)=>(W(),Me(QB,{title:s.title,"model-value":s.modelValue,small:"",onClose:n},{actions:Ne(({close:l})=>[De(ei,Ce(s.$qa("cancel"),{onClick:c=>r(l)}),{default:Ne(()=>[Dn(rt(s.cancelButtonText),1)]),_:2},1040,["onClick"]),De(ei,Ce(s.$qa("confirm"),{variant:s.destructive?"destructive-primary":"primary",loading:o.value,onClick:c=>i(l)}),{default:Ne(()=>[Dn(rt(s.confirmButtonText),1)]),_:2},1040,["variant","loading","onClick"])]),default:Ne(()=>[s.richText?(W(),oe("div",{key:0,class:"prose",innerHTML:t.value},null,8,Z2e)):s.text?(W(),oe("span",{key:1,textContent:rt(s.text)},null,8,V2e)):xe("",!0)]),_:1},8,["title","model-value"]))}}),HB=Symbol("modal"),H2e={install(e,{parentSelector:t}={parentSelector:void 0}){function n(i){return new Promise(s=>{const a=t&&document.querySelector(t)||document.body,l=document.createElement("div");a.appendChild(l);const c=b2({render:()=>Dt(X2e,{title:i.title,text:i.text,richText:i.richText,cancelButtonText:i.cancelButtonText,confirmButtonText:i.confirmButtonText,destructive:i.destructive,confirmPromise:i.confirmPromise,resolve:u=>{s(u),c.unmount(),a.removeChild(l)}})});Object.assign(c._context,e._context),c.mount(l)})}const r=(i={})=>n(i),o=(i={})=>n({title:"Discard all unsaved changes?",text:"If you discard changes, you'll lose any edits since your last save point",cancelButtonText:"Continue editing",confirmButtonText:"Discard changes",destructive:!0,...i});e.provide(HB,{confirm:r,discard:o})}};function Y2e(){const e=qe(HB);if(!e)throw new Error("Modal plugin is not installed");return e}const YB=Symbol("toast"),G2e={install(e,{parentSelector:t,absolute:n}={parentSelector:void 0,absolute:!1}){function r(s){const a=t&&document.querySelector(t)||document.body,l=document.createElement("div");a.appendChild(l);const c=b2(l2e,{text:s.text,error:s.error,timeout:s.timeout,absolute:n,onClose(){c.unmount(),a.removeChild(l)}});Object.assign(c._context,e._context),c.mount(l)}const o=s=>{r({text:s})},i=(s="Server error")=>{r({text:s,error:!0})};e.provide(YB,{show:o,error:i})}};function NLe(){const e=qe(YB);if(!e)throw new Error("Toast plugin is not installed");return e}const K2e=async()=>{let e,t;if(!([e,t]=Sc(()=>kie(()=>Y2e().discard({title:"Leave page and discard changes?",text:"Recent changes you have made will not be saved.",cancelButtonText:"Continue editing",confirmButtonText:"Discard changes"}))),e=await e,t(),e))return yX()},J2e=async e=>{let t,n;const r=([t,n]=Sc(()=>S2(e.path)),t=await t,n(),t);if(r.redirect)return Sa(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},eEe=[DY,K2e,J2e],Ph={};function tEe(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const c=i.includes(e.slice(s))?e.slice(s).length:1;let u=i.slice(c);return u[0]!=="/"&&(u="/"+u),aC(u,"")}const a=aC(r,e),l=!n||SV(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+i}const nEe=Xt({name:"nuxt:router",enforce:"pre",async setup(e){var O;let t,n,r=Ps().app.baseURL;Ho.hashMode&&!r.includes("#")&&(r+="#");const o=((O=Ho.history)==null?void 0:O.call(Ho,r))??(Ho.hashMode?eY(r):BI(r)),i=Ho.routes?([t,n]=Sc(()=>Ho.routes(Lv)),t=await t,n(),t??Lv):Lv;let s;const a=kY({...Ho,scrollBehavior:(g,b,v)=>{if(b===Si){s=v;return}if(Ho.scrollBehavior){if(a.options.scrollBehavior=Ho.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return Ho.scrollBehavior(g,Si,s||v)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Ai(a.currentRoute.value);a.afterEach((g,b)=>{l.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=tEe(r,window.location,e.payload.path),u=Ai(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};e.hook("page:finish",d),a.afterEach((g,b)=>{var v,y,w,S;((y=(v=g.matched[0])==null?void 0:v.components)==null?void 0:y.default)===((S=(w=b.matched[0])==null?void 0:w.components)==null?void 0:S.default)&&d()});const f={};for(const g in u.value)Object.defineProperty(f,g,{get:()=>u.value[g],enumerable:!0});e._route=ps(f),e._middleware=e._middleware||{global:[],named:{}};const h=DO();a.afterEach(async(g,b,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(vX),v&&await e.callHook("page:loading:end"),g.matched.length===0&&await e.runWithContext(()=>Tu(X1({statusCode:404,fatal:!1,statusMessage:`Page not found: ${g.fullPath}`,data:{path:g.fullPath}})))});try{[t,n]=Sc(()=>a.isReady()),await t,n()}catch(g){[t,n]=Sc(()=>e.runWithContext(()=>Tu(g))),await t,n()}const p=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value;d();const m=e.payload.state._layout;return a.beforeEach(async(g,b)=>{var v;await e.callHook("page:loading:start"),g.meta=Kn(g.meta),e.isHydrating&&m&&!ua(g.meta.layout)&&(g.meta.layout=m),e._processingMiddleware=!0;{const y=new Set([...eEe,...e._middleware.global]);for(const w of g.matched){const S=w.meta.middleware;if(S)for(const _ of E2(S))y.add(_)}{const w=await e.runWithContext(()=>S2(g.path));if(w.appMiddleware)for(const S in w.appMiddleware)w.appMiddleware[S]?y.add(S):y.delete(S)}for(const w of y){const S=typeof w=="string"?e._middleware.named[w]||await((v=Ph[w])==null?void 0:v.call(Ph).then(T=>T.default||T)):w;if(!S)throw new Error(`Unknown route middleware: '${w}'.`);const _=await e.runWithContext(()=>S(g,b));if(!e.payload.serverRendered&&e.isHydrating&&(_===!1||_ instanceof Error)){const T=_||X1({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>Tu(T)),!1}if(_!==!0&&(_||_===!1))return _}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=Ho.scrollBehavior}catch(g){await e.runWithContext(()=>Tu(g))}}),{provide:{router:a}}}}),Iy=e=>{const t=en();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Rc(()=>e())}):Rc(()=>e())},rEe=Xt({name:"nuxt:payload",setup(e){Ir().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await wC(t.path);r&&Object.assign(e.static.data,r.data)}),Iy(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await wC(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(QO,1e3)})}}),oEe=Xt(()=>{const e=Ir();Iy(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),iEe=Xt(e=>{let t;async function n(){const r=await QO();t&&clearTimeout(t),t=setTimeout(n,fC);try{const o=await $fetch(v2("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Iy(()=>{t=setTimeout(n,fC)})});function sEe(e={}){const t=e.path||window.location.pathname;let n={};try{n=Qb(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:NO(n.app.baseURL,i.fullPath);sEe({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),lEe=async e=>{const t=en();e=RY(e),await Promise.all(e.map(n=>uEe(t.vueApp._context.components[n])))},cEe=e=>lEe(e);function uEe(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function GB(e,t=Ir()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>GB(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const dEe=(...e)=>e.find(t=>t!==void 0);function fEe(e){const t=e.componentName||"NuxtLink";function n(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return rR(o,e.trailingSlash);const s="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:rR(s,e.trailingSlash)}}function r(o){const i=Ir(),s=Ps(),a=q(()=>!!o.target&&o.target!=="_self"),l=q(()=>{const m=o.to||o.href||"";return typeof m=="string"&&Sa(m,{acceptRelative:!0})}),c=Bh("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,d=q(()=>{if(o.external)return!0;const m=o.to||o.href||"";return typeof m=="object"?!1:m===""||l.value}),f=q(()=>{const m=o.to||o.href||"";return d.value?m:n(m,i.resolve)}),h=d.value||u==null?void 0:u({...o,to:f}),p=q(()=>{var m;if(!f.value||l.value)return f.value;if(d.value){const O=typeof f.value=="object"&&"path"in f.value?Y1(f.value):f.value,g=typeof O=="object"?i.resolve(O).href:O;return n(g,i.resolve)}return typeof f.value=="object"?((m=i.resolve(f.value))==null?void 0:m.href)??null:n(NO(s.app.baseURL,f.value),i.resolve)});return{to:f,hasTarget:a,isAbsoluteUrl:l,isExternal:d,href:p,isActive:(h==null?void 0:h.isActive)??q(()=>f.value===i.currentRoute.value.path),isExactActive:(h==null?void 0:h.isExactActive)??q(()=>f.value===i.currentRoute.value.path),route:(h==null?void 0:h.route)??q(()=>i.resolve(f.value)),async navigate(){await OX(p.value,{replace:o.replace,external:d.value||a.value})}}}return Qe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:r,setup(o,{slots:i}){const s=Ir(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:d,isAbsoluteUrl:f}=r(o),h=ge(!1),p=ge(null),m=b=>{var v;p.value=o.custom?(v=b==null?void 0:b.$el)==null?void 0:v.nextElementSibling:b==null?void 0:b.$el};function O(b){var v,y;return!h.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===b:((v=o.prefetchOn)==null?void 0:v[b])??((y=e.prefetchOn)==null?void 0:y[b]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!mEe()}async function g(b=en()){if(h.value)return;h.value=!0;const v=typeof a.value=="string"?a.value:u.value?Y1(a.value):s.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",v).catch(()=>{}),!u.value&&!d.value&&GB(a.value,s).catch(()=>{})])}if(O("visibility")){const b=en();let v,y=null;Zo(()=>{const w=pEe();Iy(()=>{v=Rc(()=>{var S;(S=p==null?void 0:p.value)!=null&&S.tagName&&(y=w.observe(p.value,async()=>{y==null||y(),y=null,await g(b)}))})})}),Cs(()=>{v&&z2(v),y==null||y(),y=null})}return()=>{var y;if(!u.value&&!d.value){const w={ref:m,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(O("interaction")&&(w.onPointerenter=g.bind(null,void 0),w.onFocus=g.bind(null,void 0)),h.value&&(w.class=o.prefetchedClass||e.prefetchedClass),w.rel=o.rel||void 0),Dt(Bh("RouterLink"),w,i.default)}const b=o.target||null,v=dEe(o.noRel?"":o.rel,e.externalRelAttribute,f.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:l.value,navigate:c,prefetch:g,get route(){if(!l.value)return;const w=new URL(l.value,window.location.href);return{path:w.pathname,fullPath:w.pathname,get query(){return H8(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:v,target:b,isExternal:u.value||d.value,isActive:!1,isExactActive:!1}):null:Dt("a",{ref:p,href:l.value||null,rel:v,target:b},(y=i.default)==null?void 0:y.call(i))}}})}const hEe=fEe(JV);function rR(e,t){const n=t==="append"?zb:LO;return Sa(e)&&!e.startsWith("http")?e:n(e,!0)}function pEe(){const e=en();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function mEe(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const gEe={},bEe={umami:{id:"",host:"https://analytics.umami.is",version:2,domains:"",debug:!1,autoTrack:!0,useDirective:!1,customEndpoint:"/",ignoreLocalhost:!0},nuxt:{}},OEe=dX(gEe,bEe);function KB(){const e=en();return e._appConfig||(e._appConfig=Kn(OEe)),e._appConfig}const yEe=Xt({name:"pinia",setup(e){const t=KY();return e.vueApp.use(t),Bp(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),vEe=r2(()=>Gs(()=>import("./mQ3dsUjm.js"),__vite__mapDeps([15,7,16]),import.meta.url).then(e=>e.default||e.default||e)),wEe=r2(()=>Gs(()=>import("./DejajCHn.js"),__vite__mapDeps([17,1,2]),import.meta.url).then(e=>e.default||e.default||e)),SEe=r2(()=>Gs(()=>import("./DjoyEHXQ.js"),__vite__mapDeps([18,2,11]),import.meta.url).then(e=>e.default||e.default||e)),_Ee=[["SectionCustomStripeHeroBubbles",vEe],["SectionCustomStripeHeroSpecializations",wEe],["SectionCustomStripeSpecializationLinks",SEe]],kEe=Xt({name:"nuxt:global-components",setup(e){for(const[t,n]of _Ee)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),dl={default:()=>Gs(()=>import("./mKp45S2Q.js"),__vite__mapDeps([19,14,9,2,11,5]),import.meta.url),empty:()=>Gs(()=>import("./CTusF4Sk.js"),[],import.meta.url)},xEe=Xt({name:"nuxt:prefetch",setup(e){const t=Ir();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof dl[r]=="function"&&await dl[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Sa(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=E2(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof Ph[s]=="function"&&Ph[s]();o&&typeof dl[o]=="function"&&dl[o]()})}}),EEe=[{pattern:"Googlebot\\/",url:"http://www.google.com/bot.html",instances:["Googlebot/2.1 (+http://www.google.com/bot.html)","Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36"]},{pattern:"Googlebot-Mobile",instances:["DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Nokia6820/2.0 (4.83) Profile/MIDP-1.0 Configuration/CLDC-1.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)"]},{pattern:"Googlebot-Image",instances:["Googlebot-Image/1.0"]},{pattern:"Googlebot-News",instances:["Googlebot-News"]},{pattern:"Googlebot-Video",instances:["Googlebot-Video/1.0"]},{pattern:"AdsBot-Google([^-]|$)",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["AdsBot-Google (+http://www.google.com/adsbot.html)"]},{pattern:"AdsBot-Google-Mobile",addition_date:"2017/08/21",url:"https://support.google.com/adwords/answer/2404197",instances:["AdsBot-Google-Mobile-Apps","Mozilla/5.0 (Linux; Android 5.0; SM-G920A) AppleWebKit (KHTML, like Gecko) Chrome Mobile Safari (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)"]},{pattern:"Feedfetcher-Google",addition_date:"2018/06/27",url:"https://support.google.com/webmasters/answer/178852",instances:["Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=728742641706423)"]},{pattern:"Mediapartners-Google",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["Mediapartners-Google","Mozilla/5.0 (compatible; MSIE or Firefox mutant; not on Windows server;) Daumoa/4.0 (Following Mediapartners-Google)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 10_0 like Mac OS X; en-us) AppleWebKit/602.1.38 (KHTML, like Gecko) Version/10.0 Mobile/14A5297c Safari/602.1 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)"]},{pattern:"Mediapartners \\(Googlebot\\)",addition_date:"2017/08/08",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:[]},{pattern:"APIs-Google",addition_date:"2017/08/08",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["APIs-Google (+https://developers.google.com/webmasters/APIs-Google.html)"]},{pattern:"Google-InspectionTool",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Google-InspectionTool/1.0)","Mozilla/5.0 (compatible; Google-InspectionTool/1.0)"]},{pattern:"Storebot-Google",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (X11; Linux x86_64; Storebot-Google/1.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012; Storebot-Google/1.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36"]},{pattern:"GoogleOther",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["GoogleOther"]},{pattern:"bingbot",url:"http://www.bing.com/bingbot.htm",instances:["Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 530) like Gecko (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; adidxbot/2.0; http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0; http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) SitemapProbe","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; adidxbot/2.0; http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (seoanalyzer; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Safari/537.36","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/103.0.5060.134 Safari/537.36"]},{pattern:"Slurp",url:"http://help.yahoo.com/help/us/ysearch/slurp",instances:["Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)","Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)","Mozilla/5.0 (compatible; Yahoo! Slurp China; http://misc.yahoo.com.cn/help.html)"]},{pattern:"[wW]get",instances:["WGETbot/1.0 (+http://wget.alanreed.org)","Wget/1.14 (linux-gnu)","Wget/1.20.3 (linux-gnu)"]},{pattern:"LinkedInBot",instances:["LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/3.1 +http://www.linkedin.com)","LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/4.3 +http://www.linkedin.com)","LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com)"]},{pattern:"Python-urllib",instances:["Python-urllib/1.17","Python-urllib/2.5","Python-urllib/2.6","Python-urllib/2.7","Python-urllib/3.1","Python-urllib/3.2","Python-urllib/3.3","Python-urllib/3.4","Python-urllib/3.5","Python-urllib/3.6","Python-urllib/3.7"]},{pattern:"python-requests",addition_date:"2018/05/27",instances:["python-requests/2.9.2","python-requests/2.11.1","python-requests/2.18.4","python-requests/2.19.1","python-requests/2.20.0","python-requests/2.21.0","python-requests/2.22.0"]},{pattern:"aiohttp",addition_date:"2019/12/23",instances:["Python/3.9 aiohttp/3.7.3","Python/3.8 aiohttp/3.7.2","Python/3.7 aiohttp/3.6.2a2"],url:"https://docs.aiohttp.org/en/stable/"},{pattern:"httpx",addition_date:"2019/12/23",instances:["python-httpx/0.16.1","python-httpx/0.13.0.dev1"],url:"https://www.python-httpx.org"},{pattern:"libwww-perl",instances:["2Bone_LinkChecker/1.0 libwww-perl/6.03","2Bone_LinkChkr/1.0 libwww-perl/6.03","amibot - http://www.amidalla.de - tech@amidalla.com libwww-perl/5.831"]},{pattern:"httpunit",instances:["httpunit/1.x"]},{pattern:"Nutch",instances:["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/605.1.16 (KHTML, like Gecko; compatible; Friendly_Crawler/2.0) Chrome/120.0.6099.217 Safari/605.1.15/Nutch-1.20-SNAPSHOT","NutchCVS/0.7.1 (Nutch; http://lucene.apache.org/nutch/bot.html; nutch-agent@lucene.apache.org)","istellabot-nutch/Nutch-1.10"]},{pattern:"Go-http-client",addition_date:"2016/03/26",url:"https://golang.org/pkg/net/http/",instances:["Go-http-client/1.1","Go-http-client/2.0"]},{pattern:"phpcrawl",addition_date:"2012/09/17",url:"http://phpcrawl.cuab.de/",instances:["phpcrawl"]},{pattern:"msnbot",url:"http://search.msn.com/msnbot.htm",instances:["adidxbot/1.1 (+http://search.msn.com/msnbot.htm)","adidxbot/2.0 (+http://search.msn.com/msnbot.htm)","librabot/1.0 (+http://search.msn.com/msnbot.htm)","librabot/2.0 (+http://search.msn.com/msnbot.htm)","msnbot-NewsBlogs/2.0b (+http://search.msn.com/msnbot.htm)","msnbot-UDiscovery/2.0b (+http://search.msn.com/msnbot.htm)","msnbot-media/1.0 (+http://search.msn.com/msnbot.htm)","msnbot-media/1.1 (+http://search.msn.com/msnbot.htm)","msnbot-media/2.0b (+http://search.msn.com/msnbot.htm)","msnbot/1.0 (+http://search.msn.com/msnbot.htm)","msnbot/1.1 (+http://search.msn.com/msnbot.htm)","msnbot/2.0b (+http://search.msn.com/msnbot.htm)","msnbot/2.0b (+http://search.msn.com/msnbot.htm).","msnbot/2.0b (+http://search.msn.com/msnbot.htm)._"]},{pattern:"jyxobot",instances:[]},{pattern:"FAST-WebCrawler",instances:["FAST-WebCrawler/3.6/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.8"]},{pattern:"FAST Enterprise Crawler",instances:["FAST Enterprise Crawler 6 / Scirus scirus-crawler@fast.no; http://www.scirus.com/srsapp/contactus/","FAST Enterprise Crawler 6 used by Schibsted (webcrawl@schibstedsok.no)"]},{pattern:"BIGLOTRON",instances:["BIGLOTRON (Beta 2;GNU/Linux)"]},{pattern:"Teoma",instances:["Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://sp.ask.com/docs/about/tech_crawling.html)","Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"],url:"http://about.ask.com/en/docs/about/webmasters.shtml"},{pattern:"convera",instances:["ConveraCrawler/0.9e (+http://ews.converasearch.com/crawl.htm)"],url:"http://ews.converasearch.com/crawl.htm"},{pattern:"seekbot",instances:["Seekbot/1.0 (http://www.seekbot.net/bot.html) RobotsTxtFetcher/1.2"],url:"http://www.seekbot.net/bot.html"},{pattern:"Gigabot",instances:["Gigabot/1.0","Gigabot/2.0 (http://www.gigablast.com/spider.html)"],url:"http://www.gigablast.com/spider.html"},{pattern:"Gigablast",instances:["GigablastOpenSource/1.0"],url:"https://github.com/gigablast/open-source-search-engine"},{pattern:"exabot",instances:["Mozilla/5.0 (compatible; Alexabot/1.0; +http://www.alexa.com/help/certifyscan; certifyscan@alexa.com)","Mozilla/5.0 (compatible; Exabot PyExalead/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot-Images/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0 (BiggerBetter); +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0; http://www.exabot.com/go/robot)"]},{pattern:"ia_archiver",instances:["ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)","ia_archiver-web.archive.org"]},{pattern:"GingerCrawler",instances:["GingerCrawler/1.0 (Language Assistant for Dyslexics; www.gingersoftware.com/crawler_agent.htm; support at ginger software dot com)"]},{pattern:"webmon ",instances:[]},{pattern:"HTTrack",instances:["Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)"]},{pattern:"grub\\.org",instances:["Mozilla/4.0 (compatible; grub-client-0.3.0; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.4; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.5; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.6; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.7; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.1.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.2.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.3.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.3.7; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.4.3; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.5.3; Crawl your own stuff with http://grub.org)"]},{pattern:"UsineNouvelleCrawler",instances:[]},{pattern:"antibot",instances:[]},{pattern:"netresearchserver",instances:[]},{pattern:"speedy",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) Speedy Spider (http://www.entireweb.com/about/search_tech/speedy_spider/)","Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) Speedy Spider for SpeedyAds (http://www.entireweb.com/about/search_tech/speedy_spider/)","Mozilla/5.0 (compatible; Speedy Spider; http://www.entireweb.com/about/search_tech/speedy_spider/)","Speedy Spider (Entireweb; Beta/1.2; http://www.entireweb.com/about/search_tech/speedyspider/)","Speedy Spider (http://www.entireweb.com/about/search_tech/speedy_spider/)"]},{pattern:"fluffy",instances:[]},{pattern:"findlink",instances:["findlinks/1.0 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.3-beta8 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.3-beta9 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.5-beta7 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta1 (+http://wortschatz.uni-leipzig.de/findlinks/; YaCy 0.1; yacy.net)","findlinks/1.1.6-beta2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta3 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta4 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta6 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.4 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.9 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1.3 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.6 (+http://wortschatz.uni-leipzig.de/findlinks/)"]},{pattern:"msrbot",instances:[]},{pattern:"panscient",instances:["panscient.com"]},{pattern:"yacybot",instances:["yacybot (/global; amd64 FreeBSD 10.3-RELEASE; java 1.8.0_77; GMT/en) http://yacy.net/bot.html","yacybot (/global; amd64 FreeBSD 10.3-RELEASE-p7; java 1.7.0_95; GMT/en) http://yacy.net/bot.html","yacybot (-global; amd64 FreeBSD 9.2-RELEASE-p10; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab093.4; java 1.7.0_65; Etc/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab094.8; java 1.7.0_79; America/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab108.8; java 1.7.0_91; America/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 2.6.32-042stab111.11; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 2.6.32-042stab116.1; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-573.3.1.el6.x86_64; java 1.7.0_85; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.10.0-229.4.2.el7.x86_64; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.10.0-229.4.2.el7.x86_64; java 1.8.0_45; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.10.0-229.7.2.el7.x86_64; java 1.8.0_45; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.10.0-327.22.2.el7.x86_64; java 1.7.0_101; Etc/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.11.10-21-desktop; java 1.7.0_51; America/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.12.1; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-042stab093.4; java 1.7.0_79; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-042stab093.4; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-45-generic; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.13.0-61-generic; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-74-generic; java 1.7.0_91; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-83-generic; java 1.7.0_95; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-83-generic; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-85-generic; java 1.7.0_101; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-85-generic; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-88-generic; java 1.7.0_101; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.14-0.bpo.1-amd64; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.14.32-xxxx-grs-ipv6-64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.14.32-xxxx-grs-ipv6-64; java 1.8.0_111; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_111; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; America/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_79; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_91; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.8.0_111; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16-0.bpo.2-amd64; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.19.0-15-generic; java 1.8.0_45-internal; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.2.0-4-amd64; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.2.0-4-amd64; java 1.7.0_67; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 4.4.0-57-generic; java 9-internal; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Windows 8.1 6.3; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Windows 8 6.2; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.8-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.9-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.11-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html"]},{pattern:"AISearchBot",instances:[]},{pattern:"ips-agent",instances:["BlackBerry9000/4.6.0.167 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102 ips-agent","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12; ips-agent) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3; ips-agent) Gecko/20090824 Fedora/1.0.7-1.1.fc4 Firefox/3.5.3","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24; ips-agent) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24","Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0; ips-agent) Gecko/20100101 Firefox/14.0.1"]},{pattern:"tagoobot",instances:[]},{pattern:"MJ12bot",instances:["MJ12bot/v1.2.0 (http://majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.4; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.5; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.0; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.2; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.0; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.2; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.4 (domain ownership verifier); http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.4; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.6; http://mj12bot.com/)","Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://mj12bot.com/)","Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)"]},{pattern:"woriobot",instances:["Mozilla/5.0 (compatible; woriobot +http://worio.com)","Mozilla/5.0 (compatible; woriobot support [at] zite [dot] com +http://zite.com)"]},{pattern:"yanga",instances:["Yanga WorldSearch Bot v1.1/beta (http://www.yanga.co.uk/)"]},{pattern:"buzzbot",instances:["Buzzbot/1.0 (Buzzbot; http://www.buzzstream.com; buzzbot@buzzstream.com)"]},{pattern:"mlbot",instances:["MLBot (www.metadatalabs.com/mlbot)"]},{pattern:"yandex\\.com\\/bots",url:"https://yandex.ru/support/webmaster/robot-workings/check-yandex-robots.html#robot-in-logs",instances:["Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexBot/3.0; MirrorDetector; +http://yandex.com/bots)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4 (compatible; YandexBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexImages/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexAccessibilityBot/3.0; +http://yandex.com/bots","Mozilla/5.0 (compatible; YandexUserproxy; robot; +http://yandex.com/bots","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4 (compatible; YandexMobileBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots yabs01)","Mozilla/5.0 (compatible; YandexMetrika/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/4.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexTurbo/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVideoParser/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVideo/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexImageResizer/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexAdNet/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexBlogs/0.99; robot; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexCalendar/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexDirect/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexDirectDyn/1.0; +http://yandex.com/bots","Mozilla/5.0 (compatible; YandexFavicons/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YaDirectFetcher/1.0; Dyatel; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexForDomain/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMarket/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMarket/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMedia/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMobileScreenShotBot/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexNews/4.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexOntoDB/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexOntoDBAPI/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexPagechecker/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexPartner/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexRCA/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSearchShop/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSitelinks; Dyatel; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSpravBot/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexTracker/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVertis/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVerticals/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexWebmaster/2.0; +http://yandex.com/bots)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36 (compatible; YandexScreenshotBot/3.0; +http://yandex.com/bots)"],addition_date:"2015/04/14"},{pattern:"purebot",addition_date:"2010/01/19",instances:[]},{pattern:"Linguee Bot",addition_date:"2010/01/26",url:"http://www.linguee.com/bot",instances:["Linguee Bot (http://www.linguee.com/bot)","Linguee Bot (http://www.linguee.com/bot; bot@linguee.com)"]},{pattern:"CyberPatrol",addition_date:"2010/02/11",url:"http://www.cyberpatrol.com/cyberpatrolcrawler.asp",instances:["CyberPatrol SiteCat Webbot (http://www.cyberpatrol.com/cyberpatrolcrawler.asp)"]},{pattern:"voilabot",addition_date:"2010/05/18",instances:["Mozilla/5.0 (Windows NT 5.1; U; Win64; fr; rv:1.8.1) VoilaBot BETA 1.2 (support.voilabot@orange-ftgroup.com)","Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1) VoilaBot BETA 1.2 (support.voilabot@orange-ftgroup.com)"]},{pattern:"Baiduspider",addition_date:"2010/07/15",url:"http://www.baidu.jp/spider/",instances:["Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)","Mozilla/5.0 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)"]},{pattern:"citeseerxbot",addition_date:"2010/07/17",instances:[]},{pattern:"spbot",addition_date:"2010/07/31",url:"http://www.seoprofiler.com/bot",instances:["Mozilla/5.0 (compatible; spbot/1.0; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/1.1; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/1.2; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.1; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.2; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.3; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.4; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/2.0; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/3.0; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/3.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.2; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.3; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.4; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.5; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.6; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.7; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0.7; +https://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.8; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0.9; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0a; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0b; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.1.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.2.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.3.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.1; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.2; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.1; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.2; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0; +http://OpenLinkProfiler.org/bot )"]},{pattern:"twengabot",addition_date:"2010/08/03",url:"http://www.twenga.com/bot.html",instances:[]},{pattern:"postrank",addition_date:"2010/08/03",url:"http://www.postrank.com",instances:["PostRank/2.0 (postrank.com)","PostRank/2.0 (postrank.com; 1 subscribers)"]},{pattern:"Turnitin",addition_date:"2010/09/26",url:"http://www.turnitin.com",instances:["TurnitinBot (https://turnitin.com/robot/crawlerinfo.html)","Turnitin (https://bit.ly/2UvnfoQ)"]},{pattern:"scribdbot",addition_date:"2010/09/28",url:"http://www.scribd.com",instances:[]},{pattern:"page2rss",addition_date:"2010/10/07",url:"http://www.page2rss.com",instances:["Mozilla/5.0 (compatible; Page2RSS/0.7; +http://page2rss.com/)"]},{pattern:"sitebot",addition_date:"2010/12/15",url:"http://www.sitebot.org",instances:["Mozilla/5.0 (compatible; Whoiswebsitebot/0.1; +http://www.whoiswebsite.net)"]},{pattern:"linkdex",addition_date:"2011/01/06",url:"http://www.linkdex.com",instances:["Mozilla/5.0 (compatible; linkdexbot/2.0; +http://www.linkdex.com/about/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.0; +http://www.linkdex.com/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.1; +http://www.linkdex.com/about/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.1; +http://www.linkdex.com/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.2; +http://www.linkdex.com/bots/)","linkdex.com/v2.0","linkdexbot/Nutch-1.0-dev (http://www.linkdex.com/; crawl at linkdex dot com)"]},{pattern:"Adidxbot",url:"http://onlinehelp.microsoft.com/en-us/bing/hh204496.aspx",instances:[]},{pattern:"ezooms",addition_date:"2011/04/27",url:"http://www.phpbb.com/community/viewtopic.php?f=64&t=935605&start=450#p12948289",instances:["Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)"]},{pattern:"dotbot",addition_date:"2011/04/27",instances:["Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)","dotbot"]},{pattern:"Mail\\.RU_Bot",addition_date:"2011/04/27",instances:["Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/2.0; +http://go.mail.ru/help/robots)","Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/2.0; +http://go.mail.ru/","Mozilla/5.0 (compatible; Mail.RU_Bot/2.0; +http://go.mail.ru/","Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/Robots/2.0; +http://go.mail.ru/help/robots)"]},{pattern:"discobot",addition_date:"2011/05/03",url:"http://discoveryengine.com/discobot.html",instances:["Mozilla/5.0 (compatible; discobot/1.0; +http://discoveryengine.com/discobot.html)","Mozilla/5.0 (compatible; discobot/2.0; +http://discoveryengine.com/discobot.html)","mozilla/5.0 (compatible; discobot/1.1; +http://discoveryengine.com/discobot.html)"]},{pattern:"heritrix",addition_date:"2011/06/21",url:"https://github.com/internetarchive/heritrix3/wiki",instances:["Mozilla/5.0 (compatible; heritrix/1.12.1 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.12.1b +http://netarkivet.dk/website/info.html)","Mozilla/5.0 (compatible; heritrix/1.14.2 +http://rjpower.org)","Mozilla/5.0 (compatible; heritrix/1.14.2 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://archive.org)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://www.accelobot.com)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.14.3.r6601 +http://www.buddybuzz.net/yptrino)","Mozilla/5.0 (compatible; heritrix/1.14.4 +http://parsijoo.ir)","Mozilla/5.0 (compatible; heritrix/1.14.4 +http://www.exif-search.com)","Mozilla/5.0 (compatible; heritrix/2.0.2 +http://aihit.com)","Mozilla/5.0 (compatible; heritrix/2.0.2 +http://seekda.com)","Mozilla/5.0 (compatible; heritrix/3.0.0-SNAPSHOT-20091120.021634 +http://crawler.archive.org)","Mozilla/5.0 (compatible; heritrix/3.1.0-RC1 +http://boston.lti.cs.cmu.edu/crawler_12/)","Mozilla/5.0 (compatible; heritrix/3.1.1 +http://places.tomtom.com/crawlerinfo)","Mozilla/5.0 (compatible; heritrix/3.1.1 +http://www.mixdata.com)","Mozilla/5.0 (compatible; heritrix/3.1.1; UniLeipzigASV +http://corpora.informatik.uni-leipzig.de/crawler_faq.html)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.crim.ca)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.exif-search.com)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.mixdata.com)","Mozilla/5.0 (compatible; heritrix/3.3.0-SNAPSHOT-20160309-0050; UniLeipzigASV +http://corpora.informatik.uni-leipzig.de/crawler_faq.html)","Mozilla/5.0 (compatible; sukibot_heritrix/3.1.1 +http://suki.ling.helsinki.fi/eng/webmasters.html)"]},{pattern:"findthatfile",addition_date:"2011/06/21",url:"http://www.findthatfile.com/",instances:[]},{pattern:"europarchive\\.org",addition_date:"2011/06/21",url:"",instances:["Mozilla/5.0 (compatible; MSIE 7.0 +http://www.europarchive.org)"]},{pattern:"NerdByNature\\.Bot",addition_date:"2011/07/12",url:"http://www.nerdbynature.net/bot",instances:["Mozilla/5.0 (compatible; NerdByNature.Bot; http://www.nerdbynature.net/bot)"]},{pattern:"sistrix crawler",addition_date:"2011/08/02",instances:[]},{pattern:"Ahrefs(Bot|SiteAudit)",addition_date:"2011/08/28",instances:["Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/5.2; News; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/5.2; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsSiteAudit/5.2; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/6.1; News; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)"]},{pattern:"fuelbot",addition_date:"2018/06/28",instances:["fuelbot"]},{pattern:"CrunchBot",addition_date:"2018/06/28",instances:["CrunchBot/1.0 (+http://www.leadcrunch.com/crunchbot)"]},{pattern:"IndeedBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0 (IndeedBot 1.1)"]},{pattern:"mappydata",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Mappy/1.0; +http://mappydata.net/bot/)"]},{pattern:"woobot",addition_date:"2018/06/28",instances:["woobot"]},{pattern:"ZoominfoBot",addition_date:"2018/06/28",instances:["ZoominfoBot (zoominfobot at zoominfo dot com)"]},{pattern:"PrivacyAwareBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; PrivacyAwareBot/1.1; +http://www.privacyaware.org)"]},{pattern:"Multiviewbot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Multiviewbot"]},{pattern:"SWIMGBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 SWIMGBot"]},{pattern:"Grobbot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Grobbot/2.2; +https://grob.it)"]},{pattern:"eright",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; eright/1.0; +bot@eright.com)"]},{pattern:"Apercite",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Apercite; +http://www.apercite.fr/robot/index.html)"]},{pattern:"semanticbot",addition_date:"2018/06/28",instances:["semanticbot","semanticbot (info@semanticaudience.com)"]},{pattern:"Aboundex",addition_date:"2011/09/28",url:"http://www.aboundex.com/crawler/",instances:["Aboundex/0.2 (http://www.aboundex.com/crawler/)","Aboundex/0.3 (http://www.aboundex.com/crawler/)"]},{pattern:"domaincrawler",addition_date:"2011/10/21",instances:["CipaCrawler/3.0 (info@domaincrawler.com; http://www.domaincrawler.com/www.example.com)"]},{pattern:"wbsearchbot",addition_date:"2011/12/21",url:"http://www.warebay.com/bot.html",instances:[]},{pattern:"summify",addition_date:"2012/01/04",url:"http://summify.com",instances:["Summify (Summify/1.0.1; +http://summify.com)"]},{pattern:"CCBot",addition_date:"2012/02/05",url:"http://www.commoncrawl.org/bot.html",instances:["CCBot/2.0 (http://commoncrawl.org/faq/)","CCBot/2.0 (https://commoncrawl.org/faq/)"]},{pattern:"edisterbot",addition_date:"2012/02/25",instances:[]},{pattern:"SeznamBot",addition_date:"2012/03/14",instances:["Mozilla/5.0 (compatible; SeznamBot/3.2-test1-1; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test1; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test2; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test4; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/4.0; +http://napoveda.seznam.cz/seznambot-intro/)"]},{pattern:"ec2linkfinder",addition_date:"2012/03/22",instances:["ec2linkfinder"]},{pattern:"gslfbot",addition_date:"2012/04/03",instances:[]},{pattern:"aiHitBot",addition_date:"2012/04/16",instances:["Mozilla/5.0 (compatible; aiHitBot/2.9; +https://www.aihitdata.com/about)"]},{pattern:"intelium_bot",addition_date:"2012/05/07",instances:[]},{pattern:"facebookexternalhit",addition_date:"2012/05/07",instances:["facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)","facebookexternalhit/1.1","facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"],url:"https://developers.facebook.com/docs/sharing/webmasters/crawler/"},{pattern:"Yeti",addition_date:"2012/05/07",url:"http://naver.me/bot",instances:["Mozilla/5.0 (compatible; Yeti/1.1; +http://naver.me/bot)"]},{pattern:"RetrevoPageAnalyzer",addition_date:"2012/05/07",instances:["Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; RetrevoPageAnalyzer; +http://www.retrevo.com/content/about-us)"]},{pattern:"lb-spider",addition_date:"2012/05/07",instances:[]},{pattern:"Sogou",addition_date:"2012/05/13",url:"http://www.sogou.com/docs/help/webmasters.htm#07",instances:["Sogou News Spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)","Sogou Pic Spider/3.0(+http://www.sogou.com/docs/help/webmasters.htm#07)","Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)"]},{pattern:"lssbot",addition_date:"2012/05/15",instances:[]},{pattern:"careerbot",addition_date:"2012/05/23",url:"http://www.career-x.de/bot.html",instances:[]},{pattern:"wotbox",addition_date:"2012/06/12",url:"http://www.wotbox.com",instances:["Wotbox/2.0 (bot@wotbox.com; http://www.wotbox.com)","Wotbox/2.01 (+http://www.wotbox.com/bot/)"]},{pattern:"wocbot",addition_date:"2012/07/25",url:"http://www.wocodi.com/crawler",instances:[]},{pattern:"ichiro",addition_date:"2012/08/28",url:"http://help.goo.ne.jp/help/article/1142",instances:["DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/help/article/1142/)","DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://search.goo.ne.jp/option/use/sub4/sub4-1/)","DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo;+http://search.goo.ne.jp/option/use/sub4/sub4-1/)","DoCoMo/2.0 P900i(c100;TB;W24H11)(compatible; ichiro/mobile goo;+http://help.goo.ne.jp/door/crawler.html)","DoCoMo/2.0 P901i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/door/crawler.html)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/help/article/1142/)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo; +http://search.goo.ne.jp/option/use/sub4/sub4-1/)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo;+http://search.goo.ne.jp/option/use/sub4/sub4-1/)","ichiro/2.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/2.0 (ichiro@nttr.co.jp)","ichiro/3.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/3.0 (http://help.goo.ne.jp/help/article/1142)","ichiro/3.0 (http://search.goo.ne.jp/option/use/sub4/sub4-1/)","ichiro/4.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/5.0 (http://help.goo.ne.jp/door/crawler.html)"]},{pattern:"DuckDuckBot",addition_date:"2012/09/19",url:"http://duckduckgo.com/duckduckbot.html",instances:["DuckDuckBot/1.0; (+http://duckduckgo.com/duckduckbot.html)","DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)","Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)","'Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)'"]},{pattern:"lssrocketcrawler",addition_date:"2012/09/24",instances:[]},{pattern:"drupact",addition_date:"2012/09/27",url:"http://www.arocom.de/drupact",instances:["drupact/0.7; http://www.arocom.de/drupact"]},{pattern:"webcompanycrawler",addition_date:"2012/10/03",instances:[]},{pattern:"acoonbot",addition_date:"2012/10/07",url:"http://www.acoon.de/robot.asp",instances:[]},{pattern:"openindexspider",addition_date:"2012/10/26",url:"http://www.openindex.io/en/webmasters/spider.html",instances:[]},{pattern:"gnam gnam spider",addition_date:"2012/10/31",instances:[]},{pattern:"web-archive-net\\.com\\.bot",instances:[]},{pattern:"backlinkcrawler",addition_date:"2013/01/04",instances:[]},{pattern:"coccoc",addition_date:"2013/01/04",url:"http://help.coccoc.vn/",instances:["Mozilla/5.0 (compatible; coccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; coccoc/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; coccocbot-image/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; coccocbot-web/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; image.coccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; imagecoccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; imagecoccoc/1.0; +http://help.coccoc.com/searchengine)","coccoc","coccoc/1.0 ()","coccoc/1.0 (http://help.coccoc.com/)","coccoc/1.0 (http://help.coccoc.vn/)"]},{pattern:"integromedb",addition_date:"2013/01/10",url:"http://www.integromedb.org/Crawler",instances:["www.integromedb.org/Crawler"]},{pattern:"content crawler spider",addition_date:"2013/01/11",instances:[]},{pattern:"toplistbot",addition_date:"2013/02/05",instances:[]},{pattern:"it2media-domain-crawler",addition_date:"2013/03/12",instances:["it2media-domain-crawler/1.0 on crawler-prod.it2media.de","it2media-domain-crawler/2.0"]},{pattern:"ip-web-crawler\\.com",addition_date:"2013/03/22",instances:[]},{pattern:"siteexplorer\\.info",addition_date:"2013/05/01",instances:["Mozilla/5.0 (compatible; SiteExplorer/1.0b; +http://siteexplorer.info/)","Mozilla/5.0 (compatible; SiteExplorer/1.1b; +http://siteexplorer.info/Backlink-Checker-Spider/)"]},{pattern:"elisabot",addition_date:"2013/06/27",instances:[]},{pattern:"proximic",addition_date:"2013/09/12",url:"http://www.proximic.com/info/spider.php",instances:["Mozilla/5.0 (compatible; proximic; +http://www.proximic.com)","Mozilla/5.0 (compatible; proximic; +http://www.proximic.com/info/spider.php)"]},{pattern:"changedetection",addition_date:"2013/09/13",url:"http://www.changedetection.com/bot.html",instances:["Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://www.changedetection.com/bot.html )"]},{pattern:"arabot",addition_date:"2013/10/09",instances:[]},{pattern:"WeSEE:Search",addition_date:"2013/11/18",instances:["WeSEE:Search","WeSEE:Search/0.1 (Alpha, http://www.wesee.com/en/support/bot/)"]},{pattern:"niki-bot",addition_date:"2014/01/01",instances:[]},{pattern:"CrystalSemanticsBot",addition_date:"2014/02/17",url:"http://www.crystalsemantics.com/user-agent/",instances:[]},{pattern:"rogerbot",addition_date:"2014/02/28",url:"http://moz.com/help/pro/what-is-rogerbot-",instances:["Mozilla/5.0 (compatible; rogerBot/1.0; UrlCrawler; http://www.seomoz.org/dp/rogerbot)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+partager@moz.com)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+shiny@moz.com)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-wherecat@moz.com","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-wherecat@moz.com)","rogerbot/1.0 (http://www.moz.com/dp/rogerbot, rogerbot-crawler@moz.com)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-crawler+shiny@seomoz.org)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-crawler@seomoz.org)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-wherecat@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr2-crawler-05@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr4-crawler-11@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr4-crawler-15@moz.com)","rogerbot/1.2 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+phaser-testing-crawler-01@moz.com)"]},{pattern:"360Spider",addition_date:"2014/03/14",url:"http://needs-be.blogspot.co.uk/2013/02/how-to-block-spider360.html",instances:["Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider","Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)","Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 QIHU 360SE; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; ) Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11) Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11) Firefox/1.5.0.11 360Spider;","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)","Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36; 360Spider"]},{pattern:"psbot",addition_date:"2014/03/31",url:"http://www.picsearch.com/bot.html",instances:["psbot-image (+http://www.picsearch.com/bot.html)","psbot-page (+http://www.picsearch.com/bot.html)","psbot/0.1 (+http://www.picsearch.com/bot.html)"]},{pattern:"InterfaxScanBot",addition_date:"2014/03/31",url:"http://scan-interfax.ru",instances:[]},{pattern:"CC Metadata Scaper",addition_date:"2014/04/01",url:"http://wiki.creativecommons.org/Metadata_Scraper",instances:["CC Metadata Scaper http://wiki.creativecommons.org/Metadata_Scraper"]},{pattern:"g00g1e\\.net",addition_date:"2014/04/01",url:"http://www.g00g1e.net/",instances:[]},{pattern:"GrapeshotCrawler",addition_date:"2014/04/01",url:"http://www.grapeshot.co.uk/crawler.php",instances:["Mozilla/5.0 (compatible; GrapeshotCrawler/2.0; +http://www.grapeshot.co.uk/crawler.php)"]},{pattern:"urlappendbot",addition_date:"2014/05/10",url:"http://www.profound.net/urlappendbot.html",instances:["Mozilla/5.0 (compatible; URLAppendBot/1.0; +http://www.profound.net/urlappendbot.html)"]},{pattern:"brainobot",addition_date:"2014/06/24",instances:[]},{pattern:"fr-crawler",addition_date:"2014/07/31",instances:["Mozilla/5.0 (compatible; fr-crawler/1.1)"]},{pattern:"binlar",addition_date:"2014/09/12",instances:["binlar_2.6.3 binlar2.6.3@unspecified.mail","binlar_2.6.3 binlar_2.6.3@unspecified.mail","binlar_2.6.3 larbin2.6.3@unspecified.mail","binlar_2.6.3 phanendra_kalapala@McAfee.com","binlar_2.6.3 test@mgmt.mic"]},{pattern:"SimpleCrawler",addition_date:"2014/09/12",instances:["SimpleCrawler/0.1"]},{pattern:"Twitterbot",addition_date:"2014/09/12",url:"https://dev.twitter.com/cards/getting-started",instances:["Twitterbot/0.1","Twitterbot/1.0"]},{pattern:"cXensebot",addition_date:"2014/10/05",instances:["cXensebot/1.1a"],url:"http://www.cxense.com/bot.html"},{pattern:"smtbot",addition_date:"2014/10/04",instances:["Mozilla/5.0 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","SMTBot (similartech.com/smtbot)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 (compatible; SMTBot/1.0; http://www.similartech.com/smtbot)"],url:"http://www.similartech.com/smtbot"},{pattern:"bnf\\.fr_bot",addition_date:"2014/11/18",url:"http://www.bnf.fr/fr/outils/a.dl_web_capture_robot.html",instances:["Mozilla/5.0 (compatible; bnf.fr_bot; +http://bibnum.bnf.fr/robot/bnf.html)","Mozilla/5.0 (compatible; bnf.fr_bot; +http://www.bnf.fr/fr/outils/a.dl_web_capture_robot.html)"]},{pattern:"A6-Indexer",addition_date:"2014/12/05",url:"http://www.a6corp.com/a6-web-scraping-policy/",instances:["A6-Indexer"]},{pattern:"ADmantX",addition_date:"2014/12/05",url:"http://www.admantx.com",instances:["ADmantX Platform Semantic Analyzer - ADmantX Inc. - www.admantx.com - support@admantx.com"]},{pattern:"Facebot",url:"https://developers.facebook.com/docs/sharing/best-practices#crawl",addition_date:"2014/12/30",instances:["Facebot/1.0"]},{pattern:"OrangeBot\\/",instances:["Mozilla/5.0 (compatible; OrangeBot/2.0; support.orangebot@orange.com"],addition_date:"2015/01/12"},{pattern:"memorybot",url:"http://mignify.com/bot.htm",instances:["Mozilla/5.0 (compatible; memorybot/1.21.14 +http://mignify.com/bot.html)"],addition_date:"2015/02/01"},{pattern:"AdvBot",url:"http://advbot.net/bot.html",instances:["Mozilla/5.0 (compatible; AdvBot/2.0; +http://advbot.net/bot.html)"],addition_date:"2015/02/01"},{pattern:"MegaIndex",url:"https://www.megaindex.ru/?tab=linkAnalyze",instances:["Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +https://www.megaindex.ru/?tab=linkAnalyze)","Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +http://megaindex.com/crawler)"],addition_date:"2015/03/28"},{pattern:"SemanticScholarBot",url:"https://www.semanticscholar.org/crawler",instances:["SemanticScholarBot/1.0 (+http://s2.allenai.org/bot.html)","Mozilla/5.0 (compatible) SemanticScholarBot (+https://www.semanticscholar.org/crawler)"],addition_date:"2015/03/28"},{pattern:"ltx71",url:"http://ltx71.com/",instances:["ltx71 - (http://ltx71.com/)"],addition_date:"2015/04/04"},{pattern:"nerdybot",url:"http://nerdybot.com/",instances:["nerdybot"],addition_date:"2015/04/05"},{pattern:"xovibot",url:"http://www.xovibot.net/",instances:["Mozilla/5.0 (compatible; XoviBot/2.0; +http://www.xovibot.net/)"],addition_date:"2015/04/05"},{pattern:"BUbiNG",url:"http://law.di.unimi.it/BUbiNG.html",instances:["BUbiNG (+http://law.di.unimi.it/BUbiNG.html)"],addition_date:"2015/04/06"},{pattern:"Qwantify",url:"https://www.qwant.com/",instances:["Mozilla/5.0 (compatible; Qwantify/2.0n; +https://www.qwant.com/)/*","Mozilla/5.0 (compatible; Qwantify/2.4w; +https://www.qwant.com/)/2.4w","Mozilla/5.0 (compatible; Qwantify/Bleriot/1.1; +https://help.qwant.com/bot)","Mozilla/5.0 (compatible; Qwantify/Bleriot/1.2.1; +https://help.qwant.com/bot)"],addition_date:"2015/04/06"},{pattern:"archive\\.org_bot",url:"http://www.archive.org/details/archive.org_bot",depends_on:["heritrix"],instances:["Mozilla/5.0 (compatible; heritrix/3.1.1-SNAPSHOT-20120116.200628 +http://www.archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot/heritrix-1.15.4 +http://www.archive.org)","Mozilla/5.0 (compatible; heritrix/3.3.0-SNAPSHOT-20140702-2247 +http://archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot +http://www.archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot +http://archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; special_archiver/3.1.1 +http://www.archive.org/details/archive.org_bot)"],addition_date:"2015/04/14"},{pattern:"Applebot",url:"http://www.apple.com/go/applebot",addition_date:"2015/04/15",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1; +http://www.apple.com/go/applebot)","Mozilla/5.0 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B410 Safari/600.1.4 (Applebot/0.1; +http://www.apple.com/go/applebot)"]},{pattern:"TweetmemeBot",url:"http://datasift.com/bot.html",instances:["Mozilla/5.0 (TweetmemeBot/4.0; +http://datasift.com/bot.html) Gecko/20100101 Firefox/31.0"],addition_date:"2015/04/15"},{pattern:"crawler4j",url:"https://github.com/yasserg/crawler4j",instances:["crawler4j (http://code.google.com/p/crawler4j/)","crawler4j (https://github.com/yasserg/crawler4j/)"],addition_date:"2015/05/07"},{pattern:"findxbot",url:"http://www.findxbot.com",instances:["Mozilla/5.0 (compatible; Findxbot/1.0; +http://www.findxbot.com)"],addition_date:"2015/05/07"},{pattern:"S[eE][mM]rushBot",url:"http://www.semrush.com/bot.html",instances:["Mozilla/5.0 (compatible; SemrushBot-SA/0.97; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot-SI/0.97; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/0.98~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot-BA; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)","SEMrushBot"],addition_date:"2015/05/26"},{pattern:"yoozBot",url:"http://yooz.ir",instances:["Mozilla/5.0 (compatible; yoozBot-2.2; http://yooz.ir; info@yooz.ir)"],addition_date:"2015/05/26"},{pattern:"lipperhey",url:"http://www.lipperhey.com/",instances:["Mozilla/5.0 (compatible; Lipperhey Link Explorer; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey SEO Service; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey Site Explorer; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey-Kaus-Australis/5.0; +https://www.lipperhey.com/en/about/)"],addition_date:"2015/08/26"},{pattern:"Y!J",url:"https://www.yahoo-help.jp/app/answers/detail/p/595/a_id/42716/~/%E3%82%A6%E3%82%A7%E3%83%96%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%99%E3%82%8B%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6",instances:["Y!J-ASR/0.1 crawler (http://www.yahoo-help.jp/app/answers/detail/p/595/a_id/42716/)","Y!J-BRJ/YATS crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Y!J-PSC/1.0 crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Y!J-BRW/1.0 crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Mozilla/5.0 (iPhone; Y!J-BRY/YATSH crawler; http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Mozilla/5.0 (compatible; Y!J SearchMonkey/1.0 (Y!J-AGENT; http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html))"],addition_date:"2015/05/26"},{pattern:"Domain Re-Animator Bot",url:"http://domainreanimator.com",instances:["Domain Re-Animator Bot (http://domainreanimator.com) - support@domainreanimator.com"],addition_date:"2015/04/14"},{pattern:"AddThis",url:"https://www.addthis.com",instances:["AddThis.com robot tech.support@clearspring.com"],addition_date:"2015/06/02"},{pattern:"Screaming Frog SEO Spider",url:"http://www.screamingfrog.co.uk/seo-spider",instances:["Screaming Frog SEO Spider/5.1"],addition_date:"2016/01/08"},{pattern:"MetaURI",url:"http://www.useragentstring.com/MetaURI_id_17683.php",instances:["MetaURI API/2.0 +metauri.com"],addition_date:"2016/01/02"},{pattern:"Scrapy",url:"http://scrapy.org/",instances:["Scrapy/1.0.3 (+http://scrapy.org)"],addition_date:"2016/01/02"},{pattern:"Livelap[bB]ot",url:"http://site.livelap.com/crawler",instances:["LivelapBot/0.2 (http://site.livelap.com/crawler)","Livelapbot/0.1"],addition_date:"2016/01/02"},{pattern:"OpenHoseBot",url:"http://www.openhose.org/bot.html",instances:["Mozilla/5.0 (compatible; OpenHoseBot/2.1; +http://www.openhose.org/bot.html)"],addition_date:"2016/01/02"},{pattern:"CapsuleChecker",url:"http://www.capsulink.com/about",instances:["CapsuleChecker (http://www.capsulink.com/)"],addition_date:"2016/01/02"},{pattern:"collection@infegy\\.com",url:"http://infegy.com/",instances:["Mozilla/5.0 (compatible) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 collection@infegy.com"],addition_date:"2016/01/03"},{pattern:"IstellaBot",url:"http://www.tiscali.it/",instances:["Mozilla/5.0 (compatible; IstellaBot/1.23.15 +http://www.tiscali.it/)"],addition_date:"2016/01/09"},{pattern:"DeuSu\\/",addition_date:"2016/01/23",url:"https://deusu.de/robot.html",instances:["Mozilla/5.0 (compatible; DeuSu/0.1.0; +https://deusu.org)","Mozilla/5.0 (compatible; DeuSu/5.0.2; +https://deusu.de/robot.html)"]},{pattern:"betaBot",addition_date:"2016/01/23",instances:[]},{pattern:"Cliqzbot\\/",addition_date:"2016/01/23",url:"http://cliqz.com/company/cliqzbot",instances:["Mozilla/5.0 (compatible; Cliqzbot/2.0; +http://cliqz.com/company/cliqzbot)","Cliqzbot/0.1 (+http://cliqz.com +cliqzbot@cliqz.com)","Cliqzbot/0.1 (+http://cliqz.com/company/cliqzbot)","Mozilla/5.0 (compatible; Cliqzbot/0.1 +http://cliqz.com/company/cliqzbot)","Mozilla/5.0 (compatible; Cliqzbot/1.0 +http://cliqz.com/company/cliqzbot)"]},{pattern:"MojeekBot\\/",addition_date:"2016/01/23",url:"https://www.mojeek.com/bot.html",instances:["MojeekBot/0.2 (archi; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.2; http://www.mojeek.com/bot.html#relaunch)","Mozilla/5.0 (compatible; MojeekBot/0.2; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.5; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.6; +https://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.6; http://www.mojeek.com/bot.html)"]},{pattern:"netEstate NE Crawler",addition_date:"2016/01/23",url:"http://www.website-datenbank.de/",instances:["netEstate NE Crawler (+http://www.sengine.info/)","netEstate NE Crawler (+http://www.website-datenbank.de/)"]},{pattern:"SafeSearch microdata crawler",addition_date:"2016/01/23",url:"https://safesearch.avira.com",instances:["SafeSearch microdata crawler (https://safesearch.avira.com, safesearch-abuse@avira.com)"]},{pattern:"Gluten Free Crawler\\/",addition_date:"2016/01/23",url:"http://glutenfreepleasure.com/",instances:["Mozilla/5.0 (compatible; Gluten Free Crawler/1.0; +http://glutenfreepleasure.com/)"]},{pattern:"Sonic",addition_date:"2016/02/08",url:"http://www.yama.info.waseda.ac.jp/~crawler/info.html",instances:["Mozilla/5.0 (compatible; RankSonicSiteAuditor/1.0; +https://ranksonic.com/ranksonic_sab.html)","Mozilla/5.0 (compatible; Sonic/1.0; http://www.yama.info.waseda.ac.jp/~crawler/info.html)","Mozzila/5.0 (compatible; Sonic/1.0; http://www.yama.info.waseda.ac.jp/~crawler/info.html)"]},{pattern:"Sysomos",addition_date:"2016/02/08",url:"http://www.sysomos.com",instances:["Mozilla/5.0 (compatible; Sysomos/1.0; +http://www.sysomos.com/; Sysomos)"]},{pattern:"Trove",addition_date:"2016/02/08",url:"http://www.trove.com",instances:[]},{pattern:"deadlinkchecker",addition_date:"2016/02/08",url:"http://www.deadlinkchecker.com",instances:["www.deadlinkchecker.com Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36","www.deadlinkchecker.com XMLHTTP/1.0","www.deadlinkchecker.com XMLHTTP/1.0 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36"]},{pattern:"Slack-ImgProxy",addition_date:"2016/04/25",url:"https://api.slack.com/robots",instances:["Slack-ImgProxy (+https://api.slack.com/robots)","Slack-ImgProxy 0.59 (+https://api.slack.com/robots)","Slack-ImgProxy 0.66 (+https://api.slack.com/robots)","Slack-ImgProxy 1.106 (+https://api.slack.com/robots)","Slack-ImgProxy 1.138 (+https://api.slack.com/robots)","Slack-ImgProxy 149 (+https://api.slack.com/robots)"]},{pattern:"Embedly",addition_date:"2016/04/25",url:"http://support.embed.ly",instances:["Embedly +support@embed.ly","Mozilla/5.0 (compatible; Embedly/0.2; +http://support.embed.ly/)","Mozilla/5.0 (compatible; Embedly/0.2; snap; +http://support.embed.ly/)"]},{pattern:"RankActiveLinkBot",addition_date:"2016/06/20",url:"https://rankactive.com/resources/rankactive-linkbot",instances:["Mozilla/5.0 (compatible; RankActiveLinkBot; +https://rankactive.com/resources/rankactive-linkbot)"]},{pattern:"iskanie",addition_date:"2016/09/02",url:"http://www.iskanie.com",instances:["iskanie (+http://www.iskanie.com)"]},{pattern:"SafeDNSBot",addition_date:"2016/09/10",url:"https://www.safedns.com/searchbot",instances:["SafeDNSBot (https://www.safedns.com/searchbot)"]},{pattern:"SkypeUriPreview",addition_date:"2016/10/10",instances:["Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5"]},{pattern:"Veoozbot",addition_date:"2016/11/03",url:"http://www.veooz.com/veoozbot.html",instances:["Mozilla/5.0 (compatible; Veoozbot/1.0; +http://www.veooz.com/veoozbot.html)"]},{pattern:"Slackbot",addition_date:"2016/11/03",url:"https://api.slack.com/robots",instances:["Slackbot-LinkExpanding (+https://api.slack.com/robots)","Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)","Slackbot 1.0 (+https://api.slack.com/robots)"]},{pattern:"redditbot",addition_date:"2016/11/03",url:"http://www.reddit.com/feedback",instances:["Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)"]},{pattern:"datagnionbot",addition_date:"2016/11/03",url:"http://www.datagnion.com/bot.html",instances:["datagnionbot (+http://www.datagnion.com/bot.html)"]},{pattern:"Google-Adwords-Instant",addition_date:"2016/11/03",url:"http://www.google.com/adsbot.html",instances:["Google-Adwords-Instant (+http://www.google.com/adsbot.html)"]},{pattern:"adbeat_bot",addition_date:"2016/11/04",instances:["Mozilla/5.0 (compatible; adbeat_bot; +support@adbeat.com; support@adbeat.com)","adbeat_bot"]},{pattern:"WhatsApp",addition_date:"2016/11/15",url:"https://www.whatsapp.com/",instances:["WhatsApp","WhatsApp/0.3.4479 N","WhatsApp/0.3.4679 N","WhatsApp/0.3.4941 N","WhatsApp/2.12.15/i","WhatsApp/2.12.16/i","WhatsApp/2.12.17/i","WhatsApp/2.12.449 A","WhatsApp/2.12.453 A","WhatsApp/2.12.510 A","WhatsApp/2.12.540 A","WhatsApp/2.12.548 A","WhatsApp/2.12.555 A","WhatsApp/2.12.556 A","WhatsApp/2.16.1/i","WhatsApp/2.16.13 A","WhatsApp/2.16.2/i","WhatsApp/2.16.42 A","WhatsApp/2.16.57 A","WhatsApp/2.19.92 i","WhatsApp/2.19.175 A","WhatsApp/2.19.244 A","WhatsApp/2.19.258 A","WhatsApp/2.19.308 A","WhatsApp/2.19.330 A"]},{pattern:"contxbot",addition_date:"2017/02/25",instances:["Mozilla/5.0 (compatible;contxbot/1.0)"]},{pattern:"pinterest\\.com\\/bot",addition_date:"2017/03/03",instances:["Mozilla/5.0 (compatible; Pinterestbot/1.0; +http://www.pinterest.com/bot.html)","Pinterest/0.2 (+http://www.pinterest.com/bot.html)"],url:"http://www.pinterest.com/bot.html"},{pattern:"electricmonk",addition_date:"2017/03/04",instances:["Mozilla/5.0 (compatible; electricmonk/3.2.0 +https://www.duedil.com/our-crawler/)"],url:"https://www.duedil.com/our-crawler/"},{pattern:"GarlikCrawler",addition_date:"2017/03/18",instances:["GarlikCrawler/1.2 (http://garlik.com/, crawler@garlik.com)"],url:"http://garlik.com/"},{pattern:"BingPreview\\/",addition_date:"2017/04/23",url:"https://www.bing.com/webmaster/help/which-crawlers-does-bing-use-8c184ec0",instances:["Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b","Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0; BingPreview/1.0b) like Gecko","Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; WOW64; Trident/6.0; BingPreview/1.0b)","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; WOW64; Trident/5.0; BingPreview/1.0b)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 BingPreview/1.0b"]},{pattern:"vebidoobot",addition_date:"2017/05/08",instances:["Mozilla/5.0 (compatible; vebidoobot/1.0; +https://blog.vebidoo.de/vebidoobot/"],url:"https://blog.vebidoo.de/vebidoobot/"},{pattern:"FemtosearchBot",addition_date:"2017/05/16",instances:["Mozilla/5.0 (compatible; FemtosearchBot/1.0; http://femtosearch.com)"],url:"http://femtosearch.com"},{pattern:"Yahoo Link Preview",addition_date:"2017/06/28",instances:["Mozilla/5.0 (compatible; Yahoo Link Preview; https://help.yahoo.com/kb/mail/yahoo-link-preview-SLN23615.html)"],url:"https://help.yahoo.com/kb/mail/yahoo-link-preview-SLN23615.html"},{pattern:"MetaJobBot",addition_date:"2017/08/16",instances:["Mozilla/5.0 (compatible; MetaJobBot; http://www.metajob.de/crawler)"],url:"http://www.metajob.de/the/crawler"},{pattern:"DomainStatsBot",addition_date:"2017/08/16",instances:["DomainStatsBot/1.0 (http://domainstats.io/our-bot)"],url:"http://domainstats.io/our-bot"},{pattern:"mindUpBot",addition_date:"2017/08/16",instances:["mindUpBot (datenbutler.de)"],url:"http://www.datenbutler.de/"},{pattern:"Daum\\/",addition_date:"2017/08/16",instances:["Mozilla/5.0 (compatible; Daum/4.1; +http://cs.daum.net/faq/15/4118.html?faqId=28966)"],url:"http://cs.daum.net/faq/15/4118.html?faqId=28966"},{pattern:"Jugendschutzprogramm-Crawler",addition_date:"2017/08/16",instances:["Jugendschutzprogramm-Crawler; Info: http://www.jugendschutzprogramm.de"],url:"http://www.jugendschutzprogramm.de"},{pattern:"Xenu Link Sleuth",addition_date:"2017/08/19",instances:["Xenu Link Sleuth/1.3.8"],url:"http://home.snafu.de/tilman/xenulink.html"},{pattern:"Pcore-HTTP",addition_date:"2017/08/19",instances:["Pcore-HTTP/v0.40.3","Pcore-HTTP/v0.44.0"],url:"https://bitbucket.org/softvisio/pcore/overview"},{pattern:"moatbot",addition_date:"2017/09/16",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 moatbot","Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4 moatbot"],url:"https://moat.com"},{pattern:"KosmioBot",addition_date:"2017/09/16",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36 (compatible; KosmioBot/1.0; +http://kosm.io/bot.html)"],url:"http://kosm.io/bot.html"},{pattern:"[pP]ingdom",addition_date:"2017/09/16",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; +http://www.pingdom.com/)","Mozilla/5.0 (compatible; pingbot/2.0; +http://www.pingdom.com/)","Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; +http://www.pingdom.com/)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.1 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.5 Chrome/78.0.3904.130 Electron/7.3.15 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.0 Chrome/78.0.3904.130 Electron/7.1.7 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) renderer/2020.2.0 Chrome/78.0.3904.130 Electron/7.1.7 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; http://www.pingdom.com/)"],url:"http://www.pingdom.com"},{pattern:"AppInsights",addition_date:"2019/03/09",instances:["Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; AppInsights)"],url:"https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview"},{pattern:"PhantomJS",addition_date:"2017/09/18",instances:["Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1 bl.uk_lddc_renderbot/2.0.0 (+ http://www.bl.uk/aboutus/legaldeposit/websites/websites/faqswebmaster/index.html)"],url:"http://phantomjs.org/"},{pattern:"Gowikibot",addition_date:"2017/10/26",instances:["Mozilla/5.0 (compatible; Gowikibot/1.0; +http://www.gowikibot.com)"],url:"http://www.gowikibot.com"},{pattern:"PiplBot",addition_date:"2017/10/30",instances:["PiplBot (+http://www.pipl.com/bot/)","Mozilla/5.0+(compatible;+PiplBot;+http://www.pipl.com/bot/)"],url:"http://www.pipl.com/bot/"},{pattern:"Discordbot",addition_date:"2017/09/22",url:"https://discordapp.com",instances:["Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)"]},{pattern:"TelegramBot",addition_date:"2017/10/01",instances:["TelegramBot (like TwitterBot)"]},{pattern:"Jetslide",addition_date:"2017/09/27",url:"http://jetsli.de/crawler",instances:["Mozilla/5.0 (compatible; Jetslide; +http://jetsli.de/crawler)"]},{pattern:"newsharecounts",addition_date:"2017/09/30",url:"http://newsharecounts.com/crawler",instances:["Mozilla/5.0 (compatible; NewShareCounts.com/1.0; +http://newsharecounts.com/crawler)"]},{pattern:"James BOT",addition_date:"2017/10/12",url:"http://cognitiveseo.com/bot.html",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 - James BOT - WebCrawler http://cognitiveseo.com/bot.html"]},{pattern:"Bark[rR]owler",addition_date:"2017/10/09",url:"http://www.exensa.com/crawl",instances:["Barkrowler/0.5.1 (experimenting / debugging - sorry for your logs ) http://www.exensa.com/crawl - admin@exensa.com -- based on BuBiNG","Barkrowler/0.7 (+http://www.exensa.com/crawl)","BarkRowler/0.7 (+http://www.exensa.com/crawling)","Barkrowler/0.9 (+http://www.exensa.com/crawl)"]},{pattern:"TinEye",addition_date:"2017/10/14",url:"http://www.tineye.com/crawler.html",instances:["Mozilla/5.0 (compatible; TinEye-bot/1.31; +http://www.tineye.com/crawler.html)","TinEye/1.1 (http://tineye.com/crawler.html)"]},{pattern:"SocialRankIOBot",addition_date:"2017/10/19",url:"http://socialrank.io/about",instances:["SocialRankIOBot; http://socialrank.io/about"]},{pattern:"trendictionbot",addition_date:"2017/10/30",url:"http://www.trendiction.de/bot",instances:["Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.0; trendictionbot0.5.0; trendiction search; http://www.trendiction.de/bot; please let us know of any problems; web at trendiction.com) Gecko/20071127 Firefox/3.0.0.11","Mozilla/5.0 (Windows NT 10.0; Win64; x64; trendictionbot0.5.0; trendiction search; http://www.trendiction.de/bot; please let us know of any problems; web at trendiction.com) Gecko/20170101 Firefox/67.0"]},{pattern:"Ocarinabot",addition_date:"2017/09/27",instances:["Ocarinabot"]},{pattern:"epicbot",addition_date:"2017/10/31",url:"http://www.epictions.com/epicbot",instances:["Mozilla/5.0 (compatible; epicbot; +http://www.epictions.com/epicbot)"]},{pattern:"Primalbot",addition_date:"2017/09/27",url:"https://www.primal.com",instances:["Mozilla/5.0 (compatible; Primalbot; +https://www.primal.com;)"]},{pattern:"DuckDuckGo-Favicons-Bot",addition_date:"2017/10/06",url:"http://duckduckgo.com",instances:["Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)"]},{pattern:"GnowitNewsbot",addition_date:"2017/10/30",url:"http://www.gnowit.com",instances:["Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 / GnowitNewsbot / Contact information at http://www.gnowit.com"]},{pattern:"Leikibot",addition_date:"2017/09/24",url:"http://www.leiki.com",instances:["Mozilla/5.0 (Windows NT 6.3;compatible; Leikibot/1.0; +http://www.leiki.com)"]},{pattern:"LinkArchiver",addition_date:"2017/09/24",instances:["@LinkArchiver twitter bot"]},{pattern:"YaK\\/",addition_date:"2017/09/25",url:"http://linkfluence.com",instances:["Mozilla/5.0 (compatible; YaK/1.0; http://linkfluence.com/; bot@linkfluence.com)"]},{pattern:"PaperLiBot",addition_date:"2017/09/25",url:"http://support.paper.li/entries/20023257-what-is-paper-li",instances:["Mozilla/5.0 (compatible; PaperLiBot/2.1; http://support.paper.li/entries/20023257-what-is-paper-li)","Mozilla/5.0 (compatible; PaperLiBot/2.1; https://support.paper.li/entries/20023257-what-is-paper-li)"]},{pattern:"Digg Deeper",addition_date:"2017/09/26",url:"http://digg.com/about",instances:["Digg Deeper/v1 (http://digg.com/about)"]},{pattern:"dcrawl",addition_date:"2017/09/22",instances:["dcrawl/1.0"]},{pattern:"Snacktory",addition_date:"2017/09/23",url:"https://github.com/karussell/snacktory",instances:["Mozilla/5.0 (compatible; Snacktory; +https://github.com/karussell/snacktory)"]},{pattern:"AndersPinkBot",addition_date:"2017/09/24",url:"http://anderspink.com/bot.html",instances:["Mozilla/5.0 (compatible; AndersPinkBot/1.0; +http://anderspink.com/bot.html)"]},{pattern:"Fyrebot",addition_date:"2017/09/22",instances:["Fyrebot/1.0"]},{pattern:"EveryoneSocialBot",addition_date:"2017/09/22",url:"http://everyonesocial.com",instances:["Mozilla/5.0 (compatible; EveryoneSocialBot/1.0; support@everyonesocial.com http://everyonesocial.com/)"]},{pattern:"Mediatoolkitbot",addition_date:"2017/10/06",url:"http://mediatoolkit.com",instances:["Mediatoolkitbot (complaints@mediatoolkit.com)"]},{pattern:"Luminator-robots",addition_date:"2017/09/22",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.13 Luminator-robots/2.0"]},{pattern:"ExtLinksBot",addition_date:"2017/11/02",url:"https://extlinks.com/Bot.html",instances:["Mozilla/5.0 (compatible; ExtLinksBot/1.5 +https://extlinks.com/Bot.html)"]},{pattern:"SurveyBot",addition_date:"2017/11/02",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.0.13) Gecko/2009073022 Firefox/3.5.2 (.NET CLR 3.5.30729) SurveyBot/2.3 (DomainTools)"]},{pattern:"NING\\/",addition_date:"2017/11/02",instances:["NING/1.0"]},{pattern:"okhttp",addition_date:"2017/11/02",instances:["okhttp/2.5.0","okhttp/2.7.5","okhttp/3.2.0","okhttp/3.5.0","okhttp/4.1.0"]},{pattern:"Nuzzel",addition_date:"2017/11/02",instances:["Nuzzel"]},{pattern:"omgili",addition_date:"2017/11/02",url:"http://omgili.com",instances:["omgili/0.5 +http://omgili.com"]},{pattern:"PocketParser",addition_date:"2017/11/02",url:"https://getpocket.com/pocketparser_ua",instances:["PocketParser/2.0 (+https://getpocket.com/pocketparser_ua)"]},{pattern:"YisouSpider",addition_date:"2017/11/02",instances:["YisouSpider","Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"]},{pattern:"um-LN",addition_date:"2017/11/02",instances:["Mozilla/5.0 (compatible; um-LN/1.0; mailto: techinfo@ubermetrics-technologies.com)"]},{pattern:"ToutiaoSpider",addition_date:"2017/11/02",url:"http://web.toutiao.com/media_cooperation/",instances:["Mozilla/5.0 (compatible; ToutiaoSpider/1.0; http://web.toutiao.com/media_cooperation/;)"]},{pattern:"MuckRack",addition_date:"2017/11/02",url:"http://muckrack.com",instances:["Mozilla/5.0 (compatible; MuckRack/1.0; +http://muckrack.com)"]},{pattern:"Jamie's Spider",addition_date:"2017/11/02",url:"http://jamiembrown.com/",instances:["Jamie's Spider (http://jamiembrown.com/)"]},{pattern:"AHC\\/",addition_date:"2017/11/02",instances:["AHC/2.0"]},{pattern:"NetcraftSurveyAgent",addition_date:"2017/11/02",instances:["Mozilla/5.0 (compatible; NetcraftSurveyAgent/1.0; +info@netcraft.com)"]},{pattern:"Laserlikebot",addition_date:"2017/11/02",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Laserlikebot/0.1)"]},{pattern:"^Apache-HttpClient",addition_date:"2017/11/02",instances:["Apache-HttpClient/4.2.3 (java 1.5)","Apache-HttpClient/4.2.5 (java 1.5)","Apache-HttpClient/4.3.1 (java 1.5)","Apache-HttpClient/4.3.3 (java 1.5)","Apache-HttpClient/4.3.5 (java 1.5)","Apache-HttpClient/4.4.1 (Java/1.8.0_65)","Apache-HttpClient/4.5.2 (Java/1.8.0_65)","Apache-HttpClient/4.5.2 (Java/1.8.0_151)","Apache-HttpClient/4.5.2 (Java/1.8.0_161)","Apache-HttpClient/4.5.2 (Java/1.8.0_181)","Apache-HttpClient/4.5.3 (Java/1.8.0_121)","Apache-HttpClient/4.5.3-SNAPSHOT (Java/1.8.0_152)","Apache-HttpClient/4.5.7 (Java/11.0.3)","Apache-HttpClient/4.5.10 (Java/1.8.0_201)"]},{pattern:"AppEngine-Google",addition_date:"2017/11/02",instances:["AppEngine-Google; (+http://code.google.com/appengine; appid: example)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 AppEngine-Google; (+http://code.google.com/appengine; appid: s~feedly-nikon3)"]},{pattern:"Jetty",addition_date:"2017/11/02",instances:["Jetty/9.3.z-SNAPSHOT"]},{pattern:"Upflow",addition_date:"2017/11/02",instances:["Upflow/1.0"]},{pattern:"Thinklab",addition_date:"2017/11/02",url:"thinklab.com",instances:["Thinklab (thinklab.com)"]},{pattern:"Traackr\\.com",addition_date:"2017/11/02",url:"Traackr.com",instances:["Traackr.com"]},{pattern:"Twurly",addition_date:"2017/11/02",url:"http://twurly.org",instances:["Ruby, Twurly v1.1 (http://twurly.org)"]},{pattern:"Mastodon",addition_date:"2017/11/02",instances:["http.rb/2.2.2 (Mastodon/1.5.1; +https://example-masto-instance.org/)"]},{pattern:"http_get",addition_date:"2017/11/02",instances:["http_get"]},{pattern:"DnyzBot",addition_date:"2017/11/20",instances:["Mozilla/5.0 (compatible; DnyzBot/1.0)"]},{pattern:"botify",addition_date:"2018/02/01",instances:["Mozilla/5.0 (compatible; botify; http://botify.com)"]},{pattern:"007ac9 Crawler",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; 007ac9 Crawler; http://crawler.007ac9.net/)"]},{pattern:"BehloolBot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; BehloolBot/beta; +http://www.webeaver.com/bot)"]},{pattern:"BrandVerity",addition_date:"2018/02/27",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/55.0 BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 Twitter for iPhone BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)"],url:"http://www.brandverity.com/why-is-brandverity-visiting-me"},{pattern:"check_http",addition_date:"2018/02/09",instances:["check_http/v2.2.1 (nagios-plugins 2.2.1)"]},{pattern:"BDCbot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (Windows NT 6.1; compatible; BDCbot/1.0; +http://bigweb.bigdatacorp.com.br/faq.aspx) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64; BDCbot/1.0; +http://bigweb.bigdatacorp.com.br/faq.aspx) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"]},{pattern:"ZumBot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; ZumBot/1.0; http://help.zum.com/inquiry)"]},{pattern:"EZID",addition_date:"2018/02/09",instances:["EZID (EZID link checker; https://ezid.cdlib.org/)"]},{pattern:"ICC-Crawler",addition_date:"2018/02/28",instances:["ICC-Crawler/2.0 (Mozilla-compatible; ; http://ucri.nict.go.jp/en/icccrawler.html)"],url:"http://ucri.nict.go.jp/en/icccrawler.html"},{pattern:"ArchiveBot",addition_date:"2018/02/28",instances:["ArchiveTeam ArchiveBot/20170106.02 (wpull 2.0.2)"],url:"https://github.com/ArchiveTeam/ArchiveBot"},{pattern:"^LCC ",addition_date:"2018/02/28",instances:["LCC (+http://corpora.informatik.uni-leipzig.de/crawler_faq.html)"],url:"http://corpora.informatik.uni-leipzig.de/crawler_faq.html"},{pattern:"filterdb\\.iss\\.net\\/crawler",addition_date:"2018/03/16",instances:["Mozilla/5.0 (compatible; oBot/2.3.1; +http://filterdb.iss.net/crawler/)"],url:"http://filterdb.iss.net/crawler/"},{pattern:"BLP_bbot",addition_date:"2018/03/27",instances:["BLP_bbot/0.1"]},{pattern:"BomboraBot",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; BomboraBot/1.0; +http://www.bombora.com/bot)"],url:"http://www.bombora.com/bot"},{pattern:"Buck\\/",addition_date:"2018/03/27",instances:["Buck/2.2; (+https://app.hypefactors.com/media-monitoring/about.html)"],url:"https://app.hypefactors.com/media-monitoring/about.html"},{pattern:"Companybook-Crawler",addition_date:"2018/03/27",instances:["Companybook-Crawler (+https://www.companybooknetworking.com/)"],url:"https://www.companybooknetworking.com/"},{pattern:"Genieo",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; Genieo/1.0 http://www.genieo.com/webfilter.html)"],url:"http://www.genieo.com/webfilter.html"},{pattern:"magpie-crawler",addition_date:"2018/03/27",instances:["magpie-crawler/1.1 (U; Linux amd64; en-GB; +http://www.brandwatch.net)"],url:"http://www.brandwatch.net"},{pattern:"MeltwaterNews",addition_date:"2018/03/27",instances:["MeltwaterNews www.meltwater.com"],url:"http://www.meltwater.com"},{pattern:"Moreover",addition_date:"2018/03/27",instances:["Mozilla/5.0 Moreover/5.1 (+http://www.moreover.com)"],url:"http://www.moreover.com"},{pattern:"newspaper\\/",addition_date:"2018/03/27",instances:["newspaper/0.1.0.7","newspaper/0.2.5","newspaper/0.2.6","newspaper/0.2.8"]},{pattern:"ScoutJet",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; ScoutJet; +http://www.scoutjet.com/)"],url:"http://www.scoutjet.com/"},{pattern:"(^| )sentry\\/",addition_date:"2018/03/27",instances:["sentry/8.22.0 (https://sentry.io)"],url:"https://sentry.io"},{pattern:"StorygizeBot",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; StorygizeBot; http://www.storygize.com)"],url:"http://www.storygize.com"},{pattern:"UptimeRobot",addition_date:"2018/03/27",instances:["Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"],url:"http://www.uptimerobot.com/"},{pattern:"OutclicksBot",addition_date:"2018/04/21",instances:["OutclicksBot/2 +https://www.outclicks.net/agent/VjzDygCuk4ubNmg40ZMbFqT0sIh7UfOKk8s8ZMiupUR","OutclicksBot/2 +https://www.outclicks.net/agent/gIYbZ38dfAuhZkrFVl7sJBFOUhOVct6J1SvxgmBZgCe","OutclicksBot/2 +https://www.outclicks.net/agent/PryJzTl8POCRHfvEUlRN5FKtZoWDQOBEvFJ2wh6KH5J","OutclicksBot/2 +https://www.outclicks.net/agent/p2i4sNUh7eylJF1S6SGgRs5mP40ExlYvsr9GBxVQG6h"],url:"https://www.outclicks.net"},{pattern:"seoscanners",addition_date:"2018/05/27",instances:["Mozilla/5.0 (compatible; seoscanners.net/1; +spider@seoscanners.net)"],url:"http://www.seoscanners.net/"},{pattern:"Hatena",addition_date:"2018/05/29",instances:["Hatena Antenna/0.3","Hatena::Russia::Crawler/0.01","Hatena-Favicon/2 (http://www.hatena.ne.jp/faq/)","Hatena::Scissors/0.01","HatenaBookmark/4.0 (Hatena::Bookmark; Analyzer)","Hatena::Fetcher/0.01 (master) Furl/3.13"]},{pattern:"Google Web Preview",addition_date:"2018/05/31",instances:["Mozilla/5.0 (Linux; U; Android 2.3.4; generic) AppleWebKit/537.36 (KHTML, like Gecko; Google Web Preview) Version/4.0 Mobile Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko; Google Web Preview) Chrome/27.0.1453 Safari/537.36"]},{pattern:"MauiBot",addition_date:"2018/06/06",instances:["MauiBot (crawler.feedback+wc@gmail.com)"]},{pattern:"AlphaBot",addition_date:"2018/05/27",instances:["Mozilla/5.0 (compatible; AlphaBot/3.2; +http://alphaseobot.com/bot.html)"],url:"http://alphaseobot.com/bot.html"},{pattern:"SBL-BOT",addition_date:"2018/06/06",instances:["SBL-BOT (http://sbl.net)"],url:"http://sbl.net",description:"Bot of SoftByte BlackWidow"},{pattern:"IAS crawler",addition_date:"2018/06/06",instances:["IAS crawler (ias_crawler; http://integralads.com/site-indexing-policy/)"],url:"http://integralads.com/site-indexing-policy/",description:"Bot of Integral Ad Science, Inc."},{pattern:"adscanner",addition_date:"2018/06/24",instances:["Mozilla/5.0 (compatible; adscanner/)"]},{pattern:"Netvibes",addition_date:"2018/06/24",instances:["Netvibes (crawler/bot; http://www.netvibes.com","Netvibes (crawler; http://www.netvibes.com)"],url:"http://www.netvibes.com"},{pattern:"acapbot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible;acapbot/0.1;treat like Googlebot)","Mozilla/5.0 (compatible;acapbot/0.1.;treat like Googlebot)"]},{pattern:"Baidu-YunGuanCe",addition_date:"2018/06/27",instances:["Baidu-YunGuanCe-Bot(ce.baidu.com)","Baidu-YunGuanCe-SLABot(ce.baidu.com)","Baidu-YunGuanCe-ScanBot(ce.baidu.com)","Baidu-YunGuanCe-PerfBot(ce.baidu.com)","Baidu-YunGuanCe-VSBot(ce.baidu.com)"],url:"https://ce.baidu.com/topic/topic20150908",description:"Baidu Cloud Watch"},{pattern:"bitlybot",addition_date:"2018/06/27",instances:["bitlybot/3.0 (+http://bit.ly/)","bitlybot/2.0","bitlybot"],url:"http://bit.ly/"},{pattern:"blogmuraBot",addition_date:"2018/06/27",instances:["blogmuraBot (+http://www.blogmura.com)"],url:"http://www.blogmura.com",description:"A blog ranking site which links to blogs on just about every theme possible."},{pattern:"Bot\\.AraTurka\\.com",addition_date:"2018/06/27",instances:["Bot.AraTurka.com/0.0.1"],url:"http://www.araturka.com"},{pattern:"bot-pge\\.chlooe\\.com",addition_date:"2018/06/27",instances:["bot-pge.chlooe.com/1.0.0 (+http://www.chlooe.com/)"]},{pattern:"BoxcarBot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; BoxcarBot/1.1; +awesome@boxcar.io)"],url:"https://boxcar.io/"},{pattern:"BTWebClient",addition_date:"2018/06/27",instances:["BTWebClient/180B(9704)"],url:"http://www.utorrent.com/",description:"µTorrent BitTorrent Client"},{pattern:"ContextAd Bot",addition_date:"2018/06/27",instances:["Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;.NET CLR 1.0.3705; ContextAd Bot 1.0)","ContextAd Bot 1.0"]},{pattern:"Digincore bot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; Digincore bot; https://www.digincore.com/crawler.html for rules and instructions.)"],url:"http://www.digincore.com/crawler.html"},{pattern:"Disqus",addition_date:"2018/06/27",instances:["Disqus/1.0"],url:"https://disqus.com/",description:"validate and quality check pages."},{pattern:"Feedly",addition_date:"2018/06/27",instances:["Feedly/1.0 (+http://www.feedly.com/fetcher.html; like FeedFetcher-Google)","FeedlyBot/1.0 (http://feedly.com)"],url:"https://www.feedly.com/fetcher.html",description:"Feedly Fetcher is how Feedly grabs RSS or Atom feeds when users choose to add them to their Feedly or any of the other applications built on top of the feedly cloud."},{pattern:"Fetch\\/",addition_date:"2018/06/27",instances:["Fetch/2.0a (CMS Detection/Web/SEO analysis tool, see http://guess.scritch.org)"]},{pattern:"Fever",addition_date:"2018/06/27",instances:["Fever/1.38 (Feed Parser; http://feedafever.com; Allow like Gecko)"],url:"http://feedafever.com"},{pattern:"Flamingo_SearchEngine",addition_date:"2018/06/27",instances:["Flamingo_SearchEngine (+http://www.flamingosearch.com/bot)"]},{pattern:"FlipboardProxy",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (compatible; FlipboardProxy/1.2; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0 (FlipboardProxy/1.2; +http://flipboard.com/browserproxy)"],url:"https://about.flipboard.com/browserproxy/",description:"a proxy service to fetch, validate, and prepare certain elements of websites for presentation through the Flipboard Application"},{pattern:"g2reader-bot",addition_date:"2018/06/27",instances:["g2reader-bot/1.0 (+http://www.g2reader.com/)"],url:"http://www.g2reader.com/"},{pattern:"G2 Web Services",addition_date:"2019/03/01",instances:["G2 Web Services/1.0 (built with StormCrawler Archetype 1.8; https://www.g2webservices.com/; developers@g2llc.com)"],url:"https://www.g2webservices.com/"},{pattern:"imrbot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; imrbot/1.10.8 +http://www.mignify.com)"],url:"http://www.mignify.com"},{pattern:"K7MLWCBot",addition_date:"2018/06/27",instances:["K7MLWCBot/1.0 (+http://www.k7computing.com)"],url:"http://www.k7computing.com",description:"Virus scanner"},{pattern:"Kemvibot",addition_date:"2018/06/27",instances:["Kemvibot/1.0 (http://kemvi.com, marco@kemvi.com)"],url:"http://kemvi.com"},{pattern:"Landau-Media-Spider",addition_date:"2018/06/27",instances:["Landau-Media-Spider/1.0(http://bots.landaumedia.de/bot.html)"],url:"http://bots.landaumedia.de/bot.html"},{pattern:"linkapediabot",addition_date:"2018/06/27",instances:["linkapediabot (+http://www.linkapedia.com)"],url:"http://www.linkapedia.com"},{pattern:"vkShare",addition_date:"2018/07/02",instances:["Mozilla/5.0 (compatible; vkShare; +http://vk.com/dev/Share)"],url:"http://vk.com/dev/Share"},{pattern:"Siteimprove\\.com",addition_date:"2018/06/22",instances:["Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) LinkCheck by Siteimprove.com","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.0) Match by Siteimprove.com","Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) SiteCheck-sitecrawl by Siteimprove.com","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.0) LinkCheck by Siteimprove.com"]},{pattern:"BLEXBot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; BLEXBot/1.0; +http://webmeup-crawler.com/)"],url:"http://webmeup-crawler.com"},{pattern:"DareBoost",addition_date:"2018/07/07",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36 DareBoost"],url:"https://www.dareboost.com/",description:"Bot to test, Analyze and Optimize website"},{pattern:"ZuperlistBot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; ZuperlistBot/1.0)"]},{pattern:"Miniflux\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; Miniflux/2.0.x-dev; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.3; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.7; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.10; +https://miniflux.net)","Mozilla/5.0 (compatibl$; Miniflux/2.0.x-dev; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/2.0.11; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/2.0.12; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/ae1dc1a; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/3b6e44c; +https://miniflux.app)"],url:"https://miniflux.net",description:"Miniflux is a minimalist and opinionated feed reader."},{pattern:"Feedspot",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; Feedspotbot/1.0; +http://www.feedspot.com/fs/bot)","Mozilla/5.0 (compatible; Feedspot/1.0 (+https://www.feedspot.com/fs/fetcher; like FeedFetcher-Google)"],url:"http://www.feedspot.com/fs/bot"},{pattern:"Diffbot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729; Diffbot/0.1; +http://www.diffbot.com)"],url:"http://www.diffbot.com"},{pattern:"SEOkicks",addition_date:"2018/08/22",instances:["Mozilla/5.0 (compatible; SEOkicks; +https://www.seokicks.de/robot.html)"],url:"https://www.seokicks.de/robot.html"},{pattern:"tracemyfile",addition_date:"2018/08/23",instances:["Mozilla/5.0 (compatible; tracemyfile/1.0; +bot@tracemyfile.com)"]},{pattern:"Nimbostratus-Bot",addition_date:"2018/08/29",instances:["Mozilla/5.0 (compatible; Nimbostratus-Bot/v1.3.2; http://cloudsystemnetworks.com)"]},{pattern:"zgrab",addition_date:"2018/08/30",instances:["Mozilla/5.0 zgrab/0.x"],url:"https://zmap.io/"},{pattern:"PR-CY\\.RU",addition_date:"2018/08/30",instances:["Mozilla/5.0 (compatible; PR-CY.RU; + https://a.pr-cy.ru)"],url:"https://a.pr-cy.ru/"},{pattern:"AdsTxtCrawler",addition_date:"2018/08/30",instances:["AdsTxtCrawler/1.0"]},{pattern:"Datafeedwatch",addition_date:"2018/09/05",instances:["Datafeedwatch/2.1.x"],url:"https://www.datafeedwatch.com/"},{pattern:"Zabbix",addition_date:"2018/09/05",instances:["Zabbix"],url:"https://www.zabbix.com/documentation/3.4/manual/web_monitoring"},{pattern:"TangibleeBot",addition_date:"2018/09/05",instances:["TangibleeBot/1.0.0.0 (http://tangiblee.com/bot)"],url:"http://tangiblee.com/bot"},{pattern:"google-xrawler",addition_date:"2018/09/05",instances:["google-xrawler"],url:"https://webmasters.stackexchange.com/questions/105560/what-is-the-google-xrawler-user-agent-used-for"},{pattern:"axios",addition_date:"2018/09/06",instances:["axios/0.18.0","axios/0.19.0"],url:"https://github.com/axios/axios"},{pattern:"Amazon CloudFront",addition_date:"2018/09/07",instances:["Amazon CloudFront"],url:"https://aws.amazon.com/cloudfront/"},{pattern:"Pulsepoint",addition_date:"2018/09/24",instances:["Pulsepoint XT3 web scraper"]},{pattern:"CloudFlare-AlwaysOnline",addition_date:"2018/09/27",instances:["Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +http://www.cloudflare.com/always-online) AppleWebKit/534.34","Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +https://www.cloudflare.com/always-online) AppleWebKit/534.34"],url:"https://www.cloudflare.com/always-online/"},{pattern:"Google-Structured-Data-Testing-Tool",addition_date:"2018/10/02",instances:["Mozilla/5.0 (compatible; Google-Structured-Data-Testing-Tool +https://search.google.com/structured-data/testing-tool)","Mozilla/5.0 (compatible; Google-Structured-Data-Testing-Tool +http://developers.google.com/structured-data/testing-tool/)"],url:"https://search.google.com/structured-data/testing-tool"},{pattern:"WordupInfoSearch",addition_date:"2018/10/07",instances:["WordupInfoSearch/1.0"]},{pattern:"WebDataStats",addition_date:"2018/10/08",instances:["Mozilla/5.0 (compatible; WebDataStats/1.0 ; +https://webdatastats.com/policy.html)"],url:"https://webdatastats.com/"},{pattern:"HttpUrlConnection",addition_date:"2018/10/08",instances:["Jersey/2.25.1 (HttpUrlConnection 1.8.0_141)"]},{pattern:"Seekport Crawler",addition_date:"2018/10/08",instances:["Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/)"],url:"http://seekport.com/"},{pattern:"ZoomBot",addition_date:"2018/10/10",instances:["ZoomBot (Linkbot 1.0 http://suite.seozoom.it/bot.html)"],url:"http://suite.seozoom.it/bot.html"},{pattern:"VelenPublicWebCrawler",addition_date:"2018/10/09",instances:["VelenPublicWebCrawler (velen.io)"]},{pattern:"MoodleBot",addition_date:"2018/10/10",instances:["MoodleBot/1.0"]},{pattern:"jpg-newsbot",addition_date:"2018/10/10",instances:["jpg-newsbot/2.0; (+https://vipnytt.no/bots/)"],url:"https://vipnytt.no/bots/"},{pattern:"outbrain",addition_date:"2018/10/14",instances:["Mozilla/5.0 (Java) outbrain"],url:"https://www.outbrain.com/help/advertisers/invalid-url/"},{pattern:"W3C_Validator",addition_date:"2018/10/14",instances:["W3C_Validator/1.3"],url:"https://validator.w3.org/services"},{pattern:"Validator\\.nu",addition_date:"2018/10/14",instances:["Validator.nu/LV"],url:"https://validator.w3.org/services"},{pattern:"W3C-checklink",addition_date:"2018/10/14",depends_on:["libwww-perl"],instances:["W3C-checklink/2.90 libwww-perl/5.64","W3C-checklink/3.6.2.3 libwww-perl/5.64","W3C-checklink/4.2 [4.20] libwww-perl/5.803","W3C-checklink/4.2.1 [4.21] libwww-perl/5.803","W3C-checklink/4.3 [4.42] libwww-perl/5.805","W3C-checklink/4.3 [4.42] libwww-perl/5.808","W3C-checklink/4.3 [4.42] libwww-perl/5.820","W3C-checklink/4.5 [4.154] libwww-perl/5.823","W3C-checklink/4.5 [4.160] libwww-perl/5.823"],url:"https://validator.w3.org/services"},{pattern:"W3C-mobileOK",addition_date:"2018/10/14",instances:["W3C-mobileOK/DDC-1.0"],url:"https://validator.w3.org/services"},{pattern:"W3C_I18n-Checker",addition_date:"2018/10/14",instances:["W3C_I18n-Checker/1.0"],url:"https://validator.w3.org/services"},{pattern:"FeedValidator",addition_date:"2018/10/14",instances:["FeedValidator/1.3"],url:"https://validator.w3.org/services"},{pattern:"W3C_CSS_Validator",addition_date:"2018/10/14",instances:["Jigsaw/2.3.0 W3C_CSS_Validator_JFouffa/2.0"],url:"https://validator.w3.org/services"},{pattern:"W3C_Unicorn",addition_date:"2018/10/14",instances:["W3C_Unicorn/1.0"],url:"https://validator.w3.org/services"},{pattern:"Google-PhysicalWeb",addition_date:"2018/10/21",instances:["Mozilla/5.0 (Google-PhysicalWeb)"]},{pattern:"Blackboard",addition_date:"2018/10/28",instances:["Blackboard Safeassign"],url:"https://help.blackboard.com/Learn/Administrator/Hosting/Tools_Management/SafeAssign"},{pattern:"ICBot\\/",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; ICBot/0.1; +https://ideasandcode.xyz"],url:"https://ideasandcode.xyz"},{pattern:"BazQux",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; BazQux/2.4; +https://bazqux.com/fetcher; 1 subscribers)"],url:"https://bazqux.com/fetcher"},{pattern:"Twingly",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; Twingly Recon; twingly.com)"],url:"https://twingly.com"},{pattern:"Rivva",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; Rivva; http://rivva.de)"],url:"http://rivva.de"},{pattern:"Experibot",addition_date:"2018/11/03",instances:["Experibot-v2 http://goo.gl/ZAr8wX","Experibot-v3 http://goo.gl/ZAr8wX"],url:"https://amirkr.wixsite.com/experibot"},{pattern:"awesomecrawler",addition_date:"2018/11/24",instances:["Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.5 Safari/537.22 +awesomecrawler"]},{pattern:"Dataprovider\\.com",addition_date:"2018/11/24",instances:["Mozilla/5.0 (compatible; Dataprovider.com)"],url:"https://www.dataprovider.com/"},{pattern:"GroupHigh\\/",addition_date:"2018/11/24",instances:["Mozilla/5.0 (compatible; GroupHigh/1.0; +http://www.grouphigh.com/"],url:"http://www.grouphigh.com/"},{pattern:"theoldreader\\.com",addition_date:"2018/12/02",instances:["Mozilla/5.0 (compatible; theoldreader.com)"],url:"https://www.theoldreader.com/"},{pattern:"AnyEvent",addition_date:"2018/12/07",instances:["Mozilla/5.0 (compatible; U; AnyEvent-HTTP/2.24; +http://software.schmorp.de/pkg/AnyEvent)"],url:"http://software.schmorp.de/pkg/AnyEvent.html"},{pattern:"Uptimebot\\.org",addition_date:"2019/01/17",instances:["Uptimebot.org - Free website monitoring"],url:"http://uptimebot.org/"},{pattern:"Nmap Scripting Engine",addition_date:"2019/02/04",instances:["Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)"],url:"https://nmap.org/book/nse.html"},{pattern:"2ip\\.ru",addition_date:"2019/02/12",instances:["2ip.ru CMS Detector (https://2ip.ru/cms/)"],url:"https://2ip.ru/cms/"},{pattern:"Clickagy",addition_date:"2019/02/19",instances:["Clickagy Intelligence Bot v2"],url:"https://www.clickagy.com"},{pattern:"Caliperbot",addition_date:"2019/03/02",instances:["Caliperbot/1.0 (+http://www.conductor.com/caliperbot)"],url:"http://www.conductor.com/caliperbot"},{pattern:"MBCrawler",addition_date:"2019/03/02",instances:["MBCrawler/1.0 (https://monitorbacklinks.com)"],url:"https://monitorbacklinks.com"},{pattern:"online-webceo-bot",addition_date:"2019/03/02",instances:["Mozilla/5.0 (compatible; online-webceo-bot/1.0; +http://online.webceo.com)"],url:"http://online.webceo.com"},{pattern:"B2B Bot",addition_date:"2019/03/02",instances:["B2B Bot"]},{pattern:"AddSearchBot",addition_date:"2019/03/02",instances:["Mozilla/5.0 (compatible; AddSearchBot/0.9; +http://www.addsearch.com/bot; info@addsearch.com)"],url:"http://www.addsearch.com/bot"},{pattern:"Google Favicon",addition_date:"2019/03/14",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"]},{pattern:"HubSpot",addition_date:"2019/04/15",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 HubSpot Webcrawler - web-crawlers@hubspot.com","Mozilla/5.0 (X11; Linux x86_64; HubSpot Single Page link check; web-crawlers+links@hubspot.com) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Mozilla/5.0 (compatible; HubSpot Crawler; web-crawlers@hubspot.com)","HubSpot Connect 2.0 (http://dev.hubspot.com/) - BizOpsCompanies-Tq2-BizCoDomainValidationAudit"]},{pattern:"Chrome-Lighthouse",addition_date:"2019/03/15",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/69.0.3464.0 Mobile Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/69.0.3464.0 Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4695.0 Mobile Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse"],url:"https://developers.google.com/speed/pagespeed/insights"},{pattern:"HeadlessChrome",url:"https://developers.google.com/web/updates/2017/04/headless-chrome",addition_date:"2019/06/17",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/74.0.3729.169 Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/69.0.3494.0 Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/76.0.3803.0 Safari/537.36"]},{pattern:"CheckMarkNetwork\\/",addition_date:"2019/06/30",instances:["CheckMarkNetwork/1.0 (+http://www.checkmarknetwork.com/spider.html)"],url:"https://www.checkmarknetwork.com/"},{pattern:"www\\.uptime\\.com",addition_date:"2019/07/21",instances:["Mozilla/5.0 (compatible; Uptimebot/1.0; +http://www.uptime.com/uptimebot)"],url:"http://www.uptime.com/uptimebot"},{pattern:"Streamline3Bot\\/",addition_date:"2019/07/21",instances:["Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1) Streamline3Bot/1.0","Mozilla/5.0 (Windows NT 6.1; Win64; x64; +https://www.ubtsupport.com/legal/Streamline3Bot.php) Streamline3Bot/1.0"],url:"https://www.ubtsupport.com/legal/Streamline3Bot.php"},{pattern:"serpstatbot\\/",addition_date:"2019/07/25",instances:["serpstatbot/1.0 (advanced backlink tracking bot; http://serpstatbot.com/; abuse@serpstatbot.com)","serpstatbot/1.0 (advanced backlink tracking bot; curl/7.58.0; http://serpstatbot.com/; abuse@serpstatbot.com)"],url:"http://serpstatbot.com"},{pattern:"MixnodeCache\\/",addition_date:"2019/08/04",instances:["MixnodeCache/1.8(+https://cache.mixnode.com/)"],url:"https://cache.mixnode.com/"},{pattern:"^curl",addition_date:"2019/08/15",instances:["curl","curl/7.29.0","curl/7.47.0","curl/7.54.0","curl/7.55.1","curl/7.64.0","curl/7.64.1","curl/7.65.3"],url:"https://curl.haxx.se/"},{pattern:"SimpleScraper",addition_date:"2019/08/16",instances:["Mozilla/5.0 (compatible; SimpleScraper)"],url:"https://github.com/ramonkcom/simple-scraper/"},{pattern:"RSSingBot",addition_date:"2019/09/15",instances:["RSSingBot (http://www.rssing.com)"],url:"http://www.rssing.com"},{pattern:"Jooblebot",addition_date:"2019/09/25",instances:["Mozilla/5.0 (compatible; Jooblebot/2.0; Windows NT 6.1; WOW64; +http://jooble.org/jooble-bot) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36"],url:"http://jooble.org/jooble-bot"},{pattern:"fedoraplanet",addition_date:"2019/09/28",instances:["venus/fedoraplanet"],url:"http://fedoraplanet.org/"},{pattern:"Friendica",addition_date:"2019/09/28",instances:["Friendica 'The Tazmans Flax-lily' 2019.01-1293; https://hoyer.xyz"],url:"https://hoyer.xyz"},{pattern:"NextCloud",addition_date:"2019/09/30",instances:["NextCloud-News/1.0"],url:"https://nextcloud.com/"},{pattern:"Tiny Tiny RSS",addition_date:"2019/10/04",instances:["Tiny Tiny RSS/1.15.3 (http://tt-rss.org/)","Tiny Tiny RSS/17.12 (a2d1fa5) (http://tt-rss.org/)","Tiny Tiny RSS/19.2 (b68db2d) (http://tt-rss.org/)","Tiny Tiny RSS/19.8 (http://tt-rss.org/)"],url:"http://tt-rss.org/"},{pattern:"RegionStuttgartBot",addition_date:"2019/10/17",instances:["Mozilla/5.0 (compatible; RegionStuttgartBot/1.0; +http://it.region-stuttgart.de/competenzatlas/unternehmen-suchen/)"],url:"http://it.region-stuttgart.de/competenzatlas/unternehmen-suchen/"},{pattern:"Bytespider",addition_date:"2019/11/11",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.3754.1902 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.4454.1745 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.7597.1164 Mobile Safari/537.36; Bytespider;bytespider@bytedance.com","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2988.1545 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.4141.1682 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.3478.1649 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.5267.1259 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.7990.1979 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.2268.1523 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2576.1836 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.9681.1227 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.6023.1635 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.4944.1981 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.3613.1739 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.4022.1033 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.3248.1547 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.5527.1507 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.5216.1326 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.9038.1080 Mobile Safari/537.36; Bytespider"],url:"https://stackoverflow.com/questions/57908900/what-is-the-bytespider-user-agent"},{pattern:"Datanyze",addition_date:"2019/11/17",instances:["Mozilla/5.0 (X11; Datanyze; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"],url:"https://www.datanyze.com/dnyzbot/"},{pattern:"Google-Site-Verification",addition_date:"2019/12/11",instances:["Mozilla/5.0 (compatible; Google-Site-Verification/1.0)"],url:"https://support.google.com/webmasters/answer/9008080"},{pattern:"TrendsmapResolver",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; TrendsmapResolver/0.1)"],url:"https://www.trendsmap.com/"},{pattern:"tweetedtimes",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; +http://tweetedtimes.com)"],url:"https://tweetedtimes.com/"},{pattern:"NTENTbot",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; NTENTbot; +http://www.ntent.com/ntentbot)"],url:"https://ntent.com/ntentbot/"},{pattern:"Gwene",addition_date:"2020/02/24",instances:["Gwene/1.0 (The gwene.org rss-to-news gateway) Googlebot"],url:"https://gwene.org"},{pattern:"SimplePie",addition_date:"2020/02/24",instances:["SimplePie/1.3-dev (Feed Parser; http://simplepie.org; Allow like Gecko)"],url:"http://simplepie.org"},{pattern:"SearchAtlas",addition_date:"2020/03/02",instances:["SearchAtlas.com SEO Crawler"],url:"http://SearchAtlas.com"},{pattern:"Superfeedr",addition_date:"2020/03/02",instances:["Superfeedr bot/2.0 http://superfeedr.com - Make your feeds realtime: get in touch - feed-id:1162088860"],url:"http://superfeedr.com"},{pattern:"feedbot",addition_date:"2020/03/02",instances:["wp.com feedbot/1.0 (+https://wp.com)"],url:"http://wp.com"},{pattern:"UT-Dorkbot",addition_date:"2020/03/02",instances:["UT-Dorkbot/1.0"],url:"https://security.utexas.edu/dorkbot"},{pattern:"Amazonbot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"],url:"https://developer.amazon.com/support/amazonbot"},{pattern:"SerendeputyBot",addition_date:"2020/03/02",instances:["SerendeputyBot/0.8.6 (http://serendeputy.com/about/serendeputy-bot)"],url:"http://serendeputy.com/about/serendeputy-bot"},{pattern:"Eyeotabot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; Eyeotabot/1.0; +http://www.eyeota.com)"],url:"http://www.eyeota.com"},{pattern:"officestorebot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; officestorebot/1.0; +https://aka.ms/officestorebot)"],url:"https://aka.ms/officestorebot"},{pattern:"Neticle Crawler",addition_date:"2020/03/02",instances:["Neticle Crawler v1.0 ( https://neticle.com/bot/en/ )"],url:"https://neticle.com/bot/en/"},{pattern:"SurdotlyBot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; SurdotlyBot/1.0; +http://sur.ly/bot.html; Linux; Android 4; iPhone; CPU iPhone OS 6_0_1 like Mac OS X)"],url:"http://sur.ly/bot.html"},{pattern:"LinkisBot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; LinkisBot/1.0; bot@linkis.com) (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) Mobile/12H321"]},{pattern:"AwarioSmartBot",addition_date:"2020/03/02",instances:["AwarioSmartBot/1.0 (+https://awario.com/bots.html; bots@awario.com)"],url:"https://awario.com/bots.html"},{pattern:"AwarioRssBot",addition_date:"2020/03/02",instances:["AwarioRssBot/1.0 (+https://awario.com/bots.html; bots@awario.com)"],url:"https://awario.com/bots.html"},{pattern:"RyteBot",addition_date:"2020/03/02",instances:["RyteBot/1.0.0 (+https://bot.ryte.com/)"],url:"https://bot.ryte.com/"},{pattern:"FreeWebMonitoring SiteChecker",addition_date:"2020/03/02",instances:["FreeWebMonitoring SiteChecker/0.2 (+https://www.freewebmonitoring.com/bot.html)"],url:"https://www.freewebmonitoring.com/bot.html"},{pattern:"AspiegelBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; AspiegelBot)"],url:"https://aspiegel.com"},{pattern:"NAVER Blog Rssbot",addition_date:"2020/03/16",instances:["NAVER Blog Rssbot"],url:"http://www.naver.com"},{pattern:"zenback bot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; zenback bot; powered by logly +http://corp.logly.co.jp/)"],url:"http://corp.logly.co.jp/"},{pattern:"SentiBot",addition_date:"2020/03/16",instances:["SentiBot www.sentibot.eu (compatible with Googlebot)"],url:"https://www.sentibot.eu"},{pattern:"Domains Project\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Domains Project/1.0.3; +https://github.com/tb0hdan/domains)"],url:"https://github.com/tb0hdan/domains"},{pattern:"Pandalytics",addition_date:"2020/03/16",instances:["Pandalytics/1.0 (https://domainsbot.com/pandalytics/)"],url:"https://domainsbot.com/pandalytics/"},{pattern:"VKRobot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; VKRobot/1.0)"]},{pattern:"bidswitchbot",addition_date:"2020/03/16",instances:["bidswitchbot/1.0"],url:"https://www.bidswitch.com/about-us/"},{pattern:"tigerbot",addition_date:"2020/03/16",instances:["tigerbot"]},{pattern:"NIXStatsbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"],url:"http://www.nixstats.com/bot.html"},{pattern:"Atom Feed Robot",addition_date:"2020/03/16",instances:["RSSMicro.com RSS/Atom Feed Robot"],url:"https://rssmicro.com"},{pattern:"[Cc]urebot",addition_date:"2020/03/16",instances:["Curebot/1.0","curebot-feed-fetcher"]},{pattern:"PagePeeker\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 (compatible; PagePeeker/3.0; +https://pagepeeker.com/robots/)"],url:"https://pagepeeker.com/robots/"},{pattern:"Vigil\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Vigil/1.0; +http://vigil-app.com/bot.html)"],url:"http://vigil-app.com/bot.html"},{pattern:"rssbot\\/",addition_date:"2020/03/16",instances:["rssbot/1.4.3 (+https://t.me/RustRssBot)"],url:"https://t.me/RustRssBot"},{pattern:"startmebot\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; startmebot/1.0; +https://start.me/bot)"],url:"https://start.me/bot"},{pattern:"JobboerseBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (X11; U; Linux Core i7-4980HQ; de; rv:32.0; compatible; JobboerseBot; http://www.jobboerse.com/bot.htm) Gecko/20100101 Firefox/38.0"],url:"http://www.jobboerse.com/bot.htm"},{pattern:"seewithkids",addition_date:"2020/03/16",instances:["http://seewithkids.com/bot"],url:"http://seewithkids.com/bot"},{pattern:"NINJA bot",addition_date:"2020/03/16",instances:["NINJA bot"]},{pattern:"Cutbot",addition_date:"2020/03/16",instances:["Cutbot; 1.5; http://cutbot.net/"],url:"http://cutbot.net/"},{pattern:"BublupBot",addition_date:"2020/03/16",instances:["BublupBot (+https://www.bublup.com/bublup-bot.html)"],url:"https://www.bublup.com/bublup-bot.html"},{pattern:"BrandONbot",addition_date:"2020/03/16",instances:["BrandONbot (http://brandonmedia.net)"],url:"http://brandonmedia.net"},{pattern:"RidderBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; RidderBot/1.0; bot@ridder.co)","Mozilla/5.0 (compatible; RidderBot/1.0; bot@ridder.co) (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) Mobile/12H321"],url:"http://brandonmedia.net"},{pattern:"Taboolabot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Taboolabot/3.7; +http://www.taboola.com)"],url:"http://www.taboola.com"},{pattern:"Dubbotbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Dubbotbot/0.2; +http://dubbot.com)"],url:"http://dubbot.com"},{pattern:"FindITAnswersbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible;FindITAnswersbot/1.0;+http://search.it-influentials.com/bot.htm)"],url:"http://search.it-influentials.com/bot.htm"},{pattern:"infoobot",addition_date:"2020/03/16",instances:["infoobot/0.1 (https://www.infoo.nl/bot.html)"],url:"https://www.infoo.nl/bot.html"},{pattern:"Refindbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 (Refindbot/1.0)"],url:"https://refind.com/about"},{pattern:"BlogTraffic\\/\\d\\.\\d+ Feed-Fetcher",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; BlogTraffic/1.4 Feed-Fetcher; +http://www.blogtraffic.de/rss-bot.html)"],url:"http://www.blogtraffic.de/rss-bot.html"},{pattern:"SeobilityBot",addition_date:"2020/03/16",instances:["SeobilityBot (SEO Tool; https://www.seobility.net/sites/bot.html)"],url:"https://www.seobility.net/sites/bot.html"},{pattern:"Cincraw",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Cincraw/1.0; +http://cincrawdata.net/bot/)"],url:"http://cincrawdata.net/bot/"},{pattern:"Dragonbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0; Dragonbot; http://www.dragonmetrics.com"],url:"http://www.dragonmetrics.com"},{pattern:"VoluumDSP-content-bot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; VoluumDSP-content-bot/2.0; +dsp-dev@codewise.com)"],url:"https://codewise.com"},{pattern:"FreshRSS",addition_date:"2020/03/16",instances:["FreshRSS/1.11.2 (Linux; https://freshrss.org) like Googlebot"],url:"https://freshrss.org"},{pattern:"BitBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; BitBot/v1.19.0; +https://bitbot.dev)"],url:"https://bitbot.dev"},{pattern:"^PHP-Curl-Class",addition_date:"2020/12/10",instances:["PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.2.24 curl/7.61.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.3.19 curl/7.66.0","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.3.23 curl/7.66.0","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.7 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.9 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.10 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.11 curl/7.69.1"],url:"https://github.com/php-curl-class/php-curl-class"},{pattern:"Google-Certificates-Bridge",addition_date:"2020/12/23",instances:["Google-Certificates-Bridge"]},{pattern:"centurybot",addition_date:"2022/04/26",instances:["Mozilla/5.0 (compatible; Go-http-client/1.1; +centurybot9@gmail.com)"],url:"unknown"},{pattern:"Viber",addition_date:"2021/04/27",instances:["Viber"],url:"https://www.viber.com/"},{pattern:"e\\.ventures Investment Crawler",addition_date:"2021/06/05",instances:["e.ventures Investment Crawler (eventures.vc)"]},{pattern:"evc-batch",addition_date:"2021/06/07",instances:["Mozilla/5.0 (compatible; evc-batch/2.0)"]},{pattern:"PetalBot",addition_date:"2021/06/07",instances:["Mozilla/5.0 (compatible;PetalBot;+https://webmaster.petalsearch.com/site/petalbot)","Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"],url:"https://webmaster.petalsearch.com/site/petalbot"},{pattern:"virustotal",addition_date:"2021/09/22",instances:["Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US) AppEngine-Google; (+http://code.google.com/appengine; appid: s~virustotalcloud)","AppEngine-Google; (+http://code.google.com/appengine; appid: s~virustotalcloud)"],url:"https://www.virustotal.com/gui/home/url"},{pattern:"(^| )PTST\\/",addition_date:"2021/12/05",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 PTST/211202.211915","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0 PTST/211202.211915"],url:"https://www.webpagetest.org"},{pattern:"minicrawler",addition_date:"2022/01/12",instances:["Testomatobot/1.0 (Linux x86_64; +https://www.testomato.com/testomatobot) minicrawler/5.2.2"],url:"https://www.testomato.com/bot"},{pattern:"Cookiebot",addition_date:"2022/01/23",url:"https://www.cookiebot.com/",instances:["Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; Cookiebot/1.0; +http://cookiebot.com/) Chrome/97.0.4692.71 Safari/537.36"]},{pattern:"trovitBot",addition_date:"2022/06/08",url:"http://www.trovit.com/bot.html",instances:["Mozilla/5.0 (compatible; trovitBot 1.0; +http://www.trovit.com/bot.html)"]},{pattern:"seostar\\.co",addition_date:"2022/08/04",url:"https://seostar.co/robot/",instances:["Mozilla/5.0 (compatible; Adsbot/3.1; +https://seostar.co/robot/)"]},{pattern:"IonCrawl",addition_date:"2022/08/04",url:"https://www.ionos.de/terms-gtc/faq-crawler-en",instances:["IonCrawl (https://www.ionos.de/terms-gtc/faq-crawler-en/)"]},{pattern:"Uptime-Kuma",addition_date:"2022/10/17",url:"https://uptime.kuma.pet/",instances:["Uptime-Kuma/1.18.0"]},{pattern:"SeekportBot",addition_date:"2022/10/17",url:"https://bot.seekport.com",instances:["Mozilla/5.0 (compatible; SeekportBot; +https://bot.seekport.com)"]},{pattern:"FreshpingBot",addition_date:"2022/10/17",url:"https://www.freshworks.com/website-monitoring/",instances:["FreshpingBot/1.0 (+https://freshping.io/)"]},{pattern:"Feedbin",addition_date:"2022/11/05",url:"https://feedbin.com/",instances:["Feedbin feed-id:2005098 - 2 subscribers"]},{pattern:"CriteoBot",addition_date:"2022/11/13",url:"https://www.criteo.com/",instances:["CriteoBot/0.1 (+https://www.criteo.com/criteo-crawler/)"]},{pattern:"Snap URL Preview Service",addition_date:"2022/11/13",url:"https://snap.com/",instances:["Snap URL Preview Service; bot; snapchat; https://developers.snap.com/robots"]},{pattern:"Better Uptime Bot",addition_date:"2022/11/13",url:"https://betteruptime.com/",instances:["Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"]},{pattern:"RuxitSynthetic",addition_date:"2023/02/16",url:"https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#expand--default-user-agent",instances:["RuxitSynthetic/1.0"]},{pattern:"Google-Read-Aloud",addition_date:"2023/02/16",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 (compatible; Google-Read-Aloud; +https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers)","Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36 (compatible; Google-Read-Aloud; +https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers)"]},{pattern:"Valve\\/Steam",addition_date:"2023/05/24",instances:["Valve/Steam HTTP Client 1.0 (SteamChatURLLookup)"]},{pattern:"OdklBot\\/",addition_date:"2023/05/24",instances:["OdklBot/1.0 (share@odnoklassniki.ru)","Mozilla/5.0 (compatible; OdklBot/1.0 like Linux; klass@odnoklassniki.ru)"],url:"https://odnoklassniki.ru/"},{pattern:"GPTBot",addition_date:"2023/08/09",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot)"],url:"https://platform.openai.com/docs/gptbot"},{pattern:"ChatGPT-User",addition_date:"2024/04/19",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot"],url:"https://openai.com/bot"},{pattern:"YandexRenderResourcesBot\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; YandexRenderResourcesBot/1.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0"],url:"http://yandex.com/bots"},{pattern:"LightspeedSystemsCrawler",addition_date:"2023/08/16",instances:["LightspeedSystemsCrawler Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US"]},{pattern:"ev-crawler\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; ev-crawler/1.0; +https://headline.com/legal/crawler)"],url:"https://headline.com/legal/crawler"},{pattern:"BitSightBot\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; BitSightBot/1.0)"],url:"https://www.bitsight.com"},{pattern:"woorankreview\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 (compatible; woorankreview/2.0; +https://www.woorank.com/)","Mozilla/5.0 (compatible; woorankreview/2.0; +https://www.woorank.com/)"],url:"https://www.woorank.com/"},{pattern:"Google-Safety",addition_date:"2023/08/17",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Mobile Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)","Google-Safety"],url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers"},{pattern:"AwarioBot",addition_date:"2023/08/23",instances:["Mozilla/5.0 (compatible; AwarioBot/1.0; +https://awario.com/bots.html)"],url:"https://awario.com/bots.html"},{pattern:"DataForSeoBot",addition_date:"2023/08/23",instances:["Mozilla/5.0 (compatible; DataForSeoBot/1.0; +https://dataforseo.com/dataforseo-bot)"],url:"https://dataforseo.com/dataforseo-bot"},{pattern:"Linespider",addition_date:"2023/08/24",instances:["Mozilla/5.0 (compatible; Linespider/1.1; +https://lin.ee/4dwXkTH)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Linespider/1.1; +https://lin.ee/4dwXkTH) Chrome/W.X.Y.Z Safari/537.36"],url:"https://help2.line.me/linesearchbot/web/?contentId=50006055&lang=en"},{pattern:"WellKnownBot",addition_date:"2023/08/29",instances:["Mozilla/5.0 (compatible; WellKnownBot/0.1; +https://well-known.dev/about/#bot)"],url:"https://well-known.dev/about/#bot)"},{pattern:"A Patent Crawler",addition_date:"2023/08/29",instances:["E. Orliac, G. Fourestey/2.3 (A Patent Crawler; http://scitas.epfl.ch/; etienne.orliac@epfl.ch, gilles.fourestey@epfl.ch)"],url:"http://scitas.epfl.ch/"},{pattern:"StractBot",addition_date:"2023/09/06",instances:["Mozilla/5.0 (compatible; StractBot/0.1; open source search engine; +https://trystract.com/webmasters)"],url:"https://trystract.com/webmasters"},{pattern:"search\\.marginalia\\.nu",addition_date:"2023/09/08",instances:["search.marginalia.nu"],url:"https://search.marginalia.nu"},{pattern:"YouBot",addition_date:"2023/09/08",instances:["YouBot (+http://www.you.com)"],url:"https://you.com/"},{pattern:"Nicecrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Nicecrawler/1.1; +http://www.nicecrawler.com/) Chrome/90.0.4430.97 Safari/537.36"],url:"http://www.nicecrawler.com/"},{pattern:"Neevabot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Neevabot/1.0; +https://neeva.com/neevabot)"],url:"https://neeva.com/neevabot"},{pattern:"BrightEdge Crawler",addition_date:"2023/09/08",instances:["BrightEdge Crawler/1.0 (crawler@brightedge.com)"],url:"https://www.brightedge.com/"},{pattern:"SiteCheckerBotCrawler",addition_date:"2023/09/08",instances:["SiteCheckerBotCrawler/1.0 (+http://sitechecker.pro)"],url:"http://sitechecker.pro"},{pattern:"TombaPublicWebCrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; TombaPublicWebCrawler/1.0; +https://tombascraper.com)"],url:"https://tombascraper.com"},{pattern:"CrawlyProjectCrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 (compatible; CrawlyProjectCrawler/0.1.3; crawlyproject@digitaldragon.dev +https://crawlyproject.digitaldragon.dev/)"],url:"https://crawlyproject.digitaldragon.dev/"},{pattern:"KomodiaBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://www.komodia.com/newwiki/index.php/URL_server_crawler) KomodiaBot/1.0"],url:"http://www.komodia.com/newwiki/index.php/URL_server_crawler"},{pattern:"KStandBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://url-classification.io/wiki/index.php?title=URL_server_crawler) KStandBot/1.0"],url:"http://url-classification.io"},{pattern:"CISPA Webcrawler",addition_date:"2023/09/08",instances:["CISPA Webcrawler (https://vuln-notify-checker.cispa.saarland)"],url:"https://vuln-notify-checker.cispa.saarland"},{pattern:"MTRobot",addition_date:"2023/09/08",instances:["MTRobot/0.2 (Metrics Tools Analytics Crawler; https://metrics-tools.de/robot.html; crawler@metrics-tools.de)"],url:"https://metrics-tools.de/robot.html"},{pattern:"hyscore\\.io",addition_date:"2023/09/08",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1. 4 (compatible; HyScore/1.0; +https://hyscore.io/crawler/)"],url:"https://hyscore.io/crawler/"},{pattern:"AlexandriaOrgBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Linux) (compatible; AlexandriaOrgBot/1.0; +https://www.alexandria.org/bot.html)"],url:"https://www.alexandria.org/bot.html"},{pattern:"2ip bot",addition_date:"2023/09/08",instances:["2ip bot/1.1 (+http://2ip.io)"],url:"http://2ip.io"},{pattern:"Yellowbrandprotectionbot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Yellowbrandprotectionbot/1.0; +https://www.yellowbp.com/bot.html)"],url:"https://www.yellowbp.com/bot.html"},{pattern:"SEOlizer",addition_date:"2023/09/08",instances:["SEOlizer/1.1 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 (+https://www.seolizer.de/bot.html)"],url:"https://www.seolizer.de/bot.html"},{pattern:"vuhuvBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; vuhuvBot/1.0; +http://vuhuv.com/bot.html)"],url:"http://vuhuv.com/bot.html"},{pattern:"INETDEX-BOT",addition_date:"2023/09/08",instances:["INETDEX-BOT/1.5 (Mozilla/5.0; https://inetdex.com/bot.html)"],url:"https://inetdex.com/bot.html"},{pattern:"Synapse",addition_date:"2023/09/08",instances:["Synapse (bot; +https://github.com/matrix-org/synapse)"],url:"https://github.com/matrix-org/synapse"},{pattern:"t3versionsBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; t3versionsBot/1.0; +https://www.t3versions.com/bot)"],url:"https://www.t3versions.com/bot"},{pattern:"deepnoc",addition_date:"2023/09/08",instances:["deepnoc - https://deepnoc.com/bot"],url:"https://deepnoc.com/bot"},{pattern:"Cocolyzebot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Cocolyzebot/1.0; https://cocolyze.com/bot)"],url:"https://cocolyze.com/bot"},{pattern:"hypestat",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; hypestat/1.0; +https://hypestat.com/bot)"],url:"https://hypestat.com/bot"},{pattern:"ReverseEngineeringBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; ReverseEngineeringBot/0.1; +https://torus.company/bot.html)"],url:"https://torus.company/bot.html"},{pattern:"sempi\\.tech",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Semanticbot/1.0; +http://sempi.tech/bot.html)"],url:"http://sempi.tech/bot.html"},{pattern:"Iframely",addition_date:"2023/09/08",instances:["Iframely/1.3.1 (+https://iframely.com/docs/about) Atlassian"],url:"https://iframely.com/docs/about"},{pattern:"MetaInspector",addition_date:"2023/09/08",instances:["MetaInspector/5.6.0 (+https://github.com/jaimeiniesta/metainspector)"],url:"https://github.com/jaimeiniesta/metainspector"},{pattern:"node-fetch",addition_date:"2023/09/08",instances:["node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"],url:"https://github.com/bitinn/node-fetch"},{pattern:"lkxscan",addition_date:"2023/09/08",instances:["lkxscan/v0.1.0 (+https://leakix.net) l9explore/v1.0.0 (+https://github.com/LeakIX/l9explore)"],url:"https://github.com/LeakIX/l9explore"},{pattern:"python-opengraph",addition_date:"2023/09/08",instances:["python-opengraph-jaywink/0.2.0 (+https://github.com/jaywink/python-opengraph)"],url:"https://github.com/jaywink/python-opengraph"},{pattern:"OpenGraphCheck",addition_date:"2023/09/08",instances:["OpenGraphCheck/2.1 (+https://opengraphcheck.com)"],url:"https://opengraphcheck.com"},{pattern:"developers\\.google\\.com\\/\\+\\/web\\/snippet",addition_date:"2023/09/08",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Google-PageRenderer Google (+https://developers.google.com/+/web/snippet/)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Google (+https://developers.google.com/+/web/snippet/"],url:"https://developers.google.com/+/web/snippet"},{pattern:"SenutoBot",addition_date:"2023/09/08",instances:["SenutoBot/1.0 (compatible; SenutoBot/1.0; +https://www.senuto.com/)"],url:"https://www.senuto.com"},{pattern:"MaCoCu",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; MaCoCu; +https://www.clarin.si/info/macocu-massive-collection-and-curation-of-monolingual-and-bilingual-data/)"],url:"https://www.clarin.si/info/macocu-massive-collection-and-curation-of-monolingual-and-bilingual-data"},{pattern:"NewsBlur",addition_date:"2023/09/08",instances:["NewsBlur Feed Fetcher - 1 subscriber - http://www.newsblur.com/site/0000000/webpage (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15)"],url:"http://www.newsblur.com"},{pattern:"inoreader",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; inoreader.com; 1 subscribers)"],url:"http://inoreader.com"},{pattern:"NetSystemsResearch",addition_date:"2023/09/08",instances:["NetSystemsResearch studies the availability of various services across the internet. Our website is netsystemsresearch.com"],url:"http://netsystemsresearch.com"},{pattern:"PageThing",addition_date:"2023/09/08",instances:["PageThing http://pagething.com curl www"],url:"http://pagething.com"},{pattern:"WordPress\\/",addition_date:"2023/10/24",instances:["WordPress/X.X.X; https://example.com"],url:"https://wordpress.org"},{pattern:"PhxBot",addition_date:"2024/01/06",instances:["PhxBot/0.1 (phxbot@protonmail.com)"]},{pattern:"ImagesiftBot",addition_date:"2024/01/06",instances:["Mozilla/5.0 (compatible; ImagesiftBot; +imagesift.com)"],url:"https://imagesift.com"},{pattern:"Expanse",addition_date:"2024/02/01",instances:["Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com"],url:"https://www.paloaltonetworks.com/cortex/cortex-xpanse"},{pattern:"InternetMeasurement",addition_date:"2024/02/01",instances:["Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)"],url:"https://internet-measurement.com"},{pattern:"^BW\\/",addition_date:"2024/02/08",instances:["BW/1.1; bit.ly/3eZNDnO","BW/1.1; rb.gy/oupwis"],url:"https://builtwith.com/biup"},{pattern:"GeedoBot",addition_date:"2024/02/11",instances:["Mozilla/5.0 (compatible; GeedoBot; +http://www.geedo.com/bot.html)"],url:"http://www.geedo.com"},{pattern:"Audisto Crawler",addition_date:"2024/03/14",instances:["Audisto Crawler (mobile; +https://audisto.com/bot)","Audisto Crawler (desktop; +https://audisto.com/bot)","Audisto Crawler (mobile; essential; +https://audisto.com/bot)","Audisto Crawler (desktop; essential; +https://audisto.com/bot)"],url:"https://audisto.com/help/crawler/bot/"},{pattern:"PerplexityBot\\/",addition_date:"2024/03/14",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)"],url:"https://docs.perplexity.ai/docs/perplexitybot"},{pattern:"[cC]laude[bB]ot",addition_date:"2024/04/19",instances:["claudebot","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"],url:"https://www.anthropic.com/"},{pattern:"Monsidobot",addition_date:"2024/05/14",instances:["Mozilla/5.0 (compatible; Monsidobot/2.2; +http://monsido.com/bot.html; info@monsido.com)"],url:"http://monsido.com/bot.html"},{pattern:"GroupMeBot",addition_date:"2024/05/19",instances:["GroupMeBot/1.0"],url:"https://groupme.com/"}],TEe=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,CEe=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,PEe=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,AEe=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,$Ee=new RegExp(EEe.map(e=>e.pattern).join("|"));function MEe(e){return TEe.test(e)||CEe.test(e.slice(0,4))}function REe(e){return PEe.test(e)||AEe.test(e.slice(0,4))}function IEe(e){return/iPad|iPhone|iPod/.test(e)}function LEe(e){return/android/i.test(e)}function NEe(e){return/Windows/.test(e)}function DEe(e){return/Mac OS X/.test(e)}const QEe=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function BEe(e){for(const t of QEe)if(t.regex.test(e))return t.name;return""}function oR(e,t={}){let n=!1,r=!1,o=!1,i=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,r=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,r=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,r=!1),t["cloudfront-is-ios-viewer"]==="true"&&(o=!0),t["cloudfront-is-android-viewer"]==="true"&&(i=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,r=!0;break;case"tablet":n=!1,r=!0;break;case"desktop":n=!1,r=!1;break}else n=MEe(e),r=REe(e),o=IEe(e),i=LEe(e);const s=NEe(e),a=DEe(e),l=BEe(e),c=l==="Safari",u=l==="Firefox",d=l==="Edge",f=l==="Chrome",h=l==="Samsung",p=$Ee.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:r,isTablet:!n&&r,isDesktop:!r,isIos:o,isAndroid:i,isWindows:s,isMacOS:a,isApple:a||o,isDesktopOrTablet:!n,isSafari:c,isFirefox:u,isEdge:d,isChrome:f,isSamsung:h,isCrawler:p}}const zEe=Xt(()=>{const e=Ps(),t=e.public.device.defaultUserAgent;let n;{const r=navigator.userAgent||t;n=Kn(oR(r)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const o=oR(navigator.userAgent||r);Object.entries(o).forEach(([i,s])=>{n[i]=s})},50)})}return{provide:{device:n}}}),jEe={"err-domain":{level:"info",text:"Tracking is disabled for this domain because it is not in the allowed domain config."},"err-id":{level:"error",text:"`id` is missing or incorrectly configured. Check Umami config."},"err-host":{level:"error",text:"`host` is missing or incorrectly configured. Check Umami config."},"err-localhost":{level:"info",text:"Tracking disabled on localhost"},"err-local-storage":{level:"info",text:"Tracking disabled via local-storage"},"err-collect":{level:"error",text:"Uhm... Something went wrong and I have no clue."},"err-directive":{level:"error",text:"Invalid v-umami directive value. Expected string or object with {key:value} pairs. See https://github.com/ijkml/nuxt-umami#available-methods"},"err-event-name":{level:"warn",text:"An Umami track event was fired without a name. `#unknown-event` will be used as event name."}};function WEe(e,t){const{level:n,text:r}=jEe[e];console[n](`[UMAMI]: ${r}`,` `),t&&console[n](t)}function sa(e){return typeof e=="string"&&e.trim()!==""}function JB(e){try{if(typeof e!="string")return!1;const t=new URL(e);return sa(t.host)&&["http:","https:"].includes(t.protocol)}catch{return!1}}const eu=q(()=>{const{public:{umamiHost:e,umamiId:t}}=Ps(),{umami:{host:n="",id:r="",domains:o=void 0,ignoreLocalhost:i=!1,autoTrack:s=!0,customEndpoint:a=void 0,version:l=1,useDirective:c=!1,debug:u=!1}={}}=KB(),d=sa(a)?a.trim():void 0,f=d&&d!=="/"?d.startsWith("/")?a:`/${a}`:void 0,h=e||n,p=JB(h)?h:null,m=p&&p.includes("umami.is")?2:l;return{host:p,id:t||r,domains:o,ignoreLocal:i,autoTrack:s,customEndpoint:f,version:m,useDirective:c,debug:!!u}}),yp=q(()=>eu.value.debug?WEe:(...t)=>{}),FEe=q(()=>{const e=eu.value.domains;return Array.isArray(e)&&e.length?e.filter(sa):sa(e)?e.split(",").map(t=>t.trim()).filter(sa):void 0}),ez=q(()=>{const{host:e,customEndpoint:t,version:n}=eu.value,{host:r="",protocol:o=""}=e?new URL(e):{};return`${o}//${r}${t||(n===2?"/api/send":"/api/collect")}`}),tz=q(()=>{if(typeof window>"u")return"ssr";const{id:e,host:t,ignoreLocal:n}=eu.value;if(!sa(e))return"id";if(!t||!JB(ez.value))return"host";const r=window.location.hostname,o=window.localStorage;if(n&&r==="localhost")return"localhost";if(o.getItem("umami.disabled")==="1")return"local-storage";const i=FEe.value;return i&&!i.includes(r)?"domain":!0}),nz=q(()=>{const{location:{hostname:e},screen:{width:t,height:n},navigator:{language:r},document:{referrer:o,title:i}}=window,{fullPath:s,query:a}=Dp(),l=o||a.ref||"";return{screen:`${t}x${n}`,language:r,hostname:e,url:encodeURI(s),referrer:encodeURI(l),title:encodeURIComponent(i)}}),r1=ge("");function K0(e){return Promise.resolve({ok:e})}async function rz(e){return fetch(ez.value,{method:"POST",headers:{"Content-Type":"application/json",...r1.value&&{"x-umami-cache":r1.value}},body:JSON.stringify(e)}).then(async t=>{if(!t.ok)throw new Error("Network error",{cause:t});return r1.value=await t.text(),{ok:!0}}).catch(t=>(yp.value("err-collect",t),{ok:!1}))}function qEe(e,t){const n=tz.value;if(n==="ssr")return K0(!1);if(n!==!0)return yp.value(`err-${n}`),K0(!1);const{id:r,version:o}=eu.value,i=nz.value;return rz({type:o===2?"event":"pageview",payload:{website:r,...i,...sa(t)&&{referrer:encodeURI(t)},...sa(e)&&{url:encodeURI(e)}}})}function UEe(e,t){const n=tz.value;if(n==="ssr")return K0(!1);if(n!==!0)return yp.value(`err-${n}`),K0(!1);const{id:r,version:o}=eu.value,i=nz.value;let s=e;sa(e)||(yp.value("err-event-name"),s="#unknown-event");const a=t!==null&&typeof t=="object"?t:void 0;return rz({type:"event",payload:{...i,...o===2?{name:s,data:a}:{event_name:s,event_data:a},website:r}})}const oz="savoryName",iz="savoryData";async function iR(e,t){let n="",r="";if(typeof t=="string")n=t;else try{if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(typeof t);const{name:i="",...s}=t,a=Object.keys(s).length>0?JSON.stringify(s):"";[n,r]=[i,a]}catch{yp.value("err-directive",`Provided ${typeof t}: ${t}`)}const o=e.dataset;[o[oz],o[iz]]=[n,r]}function ZEe(e){const t=e.dataset[oz]||"";let n=null;try{n=JSON.parse(e.dataset[iz]||"")}catch{}return{name:t,data:n}}function sR(e){return()=>{const{name:t,data:n}=ZEe(e);UEe(t,n)}}const VEe={mounted(e,{value:t}){iR(e,t),e.addEventListener("click",sR(e),{passive:!0})},updated(e,{value:t}){iR(e,t)},beforeUnmount(e){e.removeEventListener("click",sR(e))}};let aR=!1;const XEe=Xt({name:"umami-tracker",async setup(e){const{useDirective:t,autoTrack:n}=eu.value;aR=n,t&&e.vueApp.directive("umami",VEe)},hooks:{"page:finish":function(){aR&&setTimeout(qEe,300)},"app:beforeMount":function(){}}}),sz=Object.prototype.toString;function mT(e){switch(sz.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ga(e,Error)}}function tf(e,t){return sz.call(e)===`[object ${t}]`}function az(e){return tf(e,"ErrorEvent")}function lR(e){return tf(e,"DOMError")}function HEe(e){return tf(e,"DOMException")}function aa(e){return tf(e,"String")}function gT(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function bT(e){return e===null||gT(e)||typeof e!="object"&&typeof e!="function"}function xd(e){return tf(e,"Object")}function Ly(e){return typeof Event<"u"&&ga(e,Event)}function YEe(e){return typeof Element<"u"&&ga(e,Element)}function GEe(e){return tf(e,"RegExp")}function Ny(e){return!!(e&&e.then&&typeof e.then=="function")}function KEe(e){return xd(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function ga(e,t){try{return e instanceof t}catch{return!1}}function lz(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Gu(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function J0(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rJEe(e,r,n))}function eTe(e,t,n=250,r,o,i,s){if(!i.exception||!i.exception.values||!s||!ga(s.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=tTe(Uk(e,t,o,s.originalException,r,i.exception.values,a,0),n))}function Uk(e,t,n,r,o,i,s,a){if(i.length>=n+1)return i;let l=[...i];if(ga(r[o],Error)){cR(s,a);const c=e(t,r[o]),u=l.length;uR(c,o,u,a),l=Uk(e,t,n,r[o],o,[c,...l],c,u)}return Array.isArray(r.errors)&&r.errors.forEach((c,u)=>{if(ga(c,Error)){cR(s,a);const d=e(t,c),f=l.length;uR(d,`errors[${u}]`,f,a),l=Uk(e,t,n,c,o,[d,...l],d,f)}}),l}function cR(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function uR(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function tTe(e,t){return e.map(n=>(n.value&&(n.value=Gu(n.value,t)),n))}function cz(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const la="8.34.0",yt=globalThis;function Dy(e,t,n){const r=yt,o=r.__SENTRY__=r.__SENTRY__||{},i=o[la]=o[la]||{};return i[e]||(i[e]=t())}const Ku=yt,nTe=80;function ba(e,t={}){if(!e)return"";try{let n=e;const r=5,o=[];let i=0,s=0;const a=" > ",l=a.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||nTe;for(;n&&i++1&&s+o.length*l+c.length>=d));)o.push(c),s+=c.length,n=n.parentNode;return o.reverse().join(a)}catch{return""}}function rTe(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(Ku.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(o&&o.length)o.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const s=n.className;if(s&&aa(s)){const a=s.split(/\s+/);for(const l of a)r.push(`.${l}`)}}const i=["aria-label","type","name","title","alt"];for(const s of i){const a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function uz(){try{return Ku.document.location.href}catch{return""}}function oTe(e){return Ku.document&&Ku.document.querySelector?Ku.document.querySelector(e):null}function dz(e){if(!Ku.HTMLElement)return null;let t=e;const n=5;for(let r=0;r"u"||__SENTRY_DEBUG__,iTe="Sentry Logger ",eO=["debug","info","warn","error","log","assert","trace"],tO={};function Pa(e){if(!("console"in yt))return e();const t=yt.console,n={},r=Object.keys(tO);r.forEach(o=>{const i=tO[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=>{t[o]=n[o]})}}function sTe(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return nf?eO.forEach(n=>{t[n]=(...r)=>{e&&Pa(()=>{yt.console[n](`${iTe}[${n}]:`,...r)})}}):eO.forEach(n=>{t[n]=()=>{}}),t}const Se=Dy("logger",sTe),aTe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function lTe(e){return e==="http"||e==="https"}function mm(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${s}`}function cTe(e){const t=aTe.exec(e);if(!t){Pa(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,o="",i="",s="",a=""]=t.slice(1);let l="",c=a;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return fz({host:i,pass:o,path:l,projectId:c,port:s,protocol:n,publicKey:r})}function fz(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function uTe(e){if(!nf)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(Se.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?lTe(r)?t&&isNaN(parseInt(t,10))?(Se.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(Se.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(Se.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function dTe(e){const t=typeof e=="string"?cTe(e):fz(e);if(!(!t||!uTe(t)))return t}class hs extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function go(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);typeof o=="function"&&hz(o,r),e[t]=o}function fi(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{nf&&Se.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function hz(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,fi(e,"__sentry_original__",t)}catch{}}function OT(e){return e.__sentry_original__}function fTe(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function pz(e){if(mT(e))return{message:e.message,name:e.name,stack:e.stack,...fR(e)};if(Ly(e)){const t={type:e.type,target:dR(e.target),currentTarget:dR(e.currentTarget),...fR(e)};return typeof CustomEvent<"u"&&ga(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function dR(e){try{return YEe(e)?ba(e):Object.prototype.toString.call(e)}catch{return""}}function fR(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function hTe(e,t=40){const n=Object.keys(pz(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Gu(r,t);for(let o=n.length;o>0;o--){const i=n.slice(0,o).join(", ");if(!(i.length>t))return o===n.length?i:Gu(i,t)}return""}function Gn(e){return Zk(e,new Map)}function Zk(e,t){if(pTe(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const o of Object.getOwnPropertyNames(e))typeof e[o]<"u"&&(r[o]=Zk(e[o],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(o=>{r.push(Zk(o,t))}),r}return e}function pTe(e){if(!xd(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const mz=50,jc="?",hR=/\(error: (.*)\)/,pR=/captureMessage|captureException/;function gz(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,o=0)=>{const i=[],s=n.split(` `);for(let a=r;a1024)continue;const c=hR.test(l)?l.replace(hR,"$1"):l;if(!c.match(/\S*Error: /)){for(const u of t){const d=u(c);if(d){i.push(d);break}}if(i.length>=mz+o)break}}return gTe(i.slice(o))}}function mTe(e){return Array.isArray(e)?gz(...e):e}function gTe(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Sg(t).function||"")&&t.pop(),t.reverse(),pR.test(Sg(t).function||"")&&(t.pop(),pR.test(Sg(t).function||"")&&t.pop()),t.slice(0,mz).map(n=>({...n,filename:n.filename||Sg(t).filename,function:n.function||jc}))}function Sg(e){return e[e.length-1]||{}}const o1="";function Oa(e){try{return!e||typeof e!="function"?o1:e.name||o1}catch{return o1}}function mR(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const gb={},gR={};function Ql(e,t){gb[e]=gb[e]||[],gb[e].push(t)}function Bl(e,t){gR[e]||(t(),gR[e]=!0)}function ui(e,t){const n=e&&gb[e];if(n)for(const r of n)try{r(t)}catch(o){nf&&Se.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${Oa(r)} Error:`,o)}}function bz(e){const t="console";Ql(t,e),Bl(t,bTe)}function bTe(){"console"in yt&&eO.forEach(function(e){e in yt.console&&go(yt.console,e,function(t){return tO[e]=t,function(...n){ui("console",{args:n,level:e});const o=tO[e];o&&o.apply(yt.console,n)}})})}const Vk=yt;function Oz(){if(!("fetch"in Vk))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Xk(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function OTe(){if(typeof EdgeRuntime=="string")return!0;if(!Oz())return!1;if(Xk(Vk.fetch))return!0;let e=!1;const t=Vk.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Xk(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){nf&&Se.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const yz=1e3;function gm(){return Date.now()/yz}function yTe(){const{performance:e}=yt;if(!e||!e.now)return gm;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/yz}const Mr=yTe(),oo=(()=>{const{performance:e}=yt;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=owz(void 0,t))}function vTe(e){const t="fetch-body-resolved";Ql(t,e),Bl(t,()=>wz(STe))}function wz(e,t=!1){t&&!OTe()||go(yt,"fetch",function(n){return function(...r){const{method:o,url:i}=_Te(r),s={args:r,fetchData:{method:o,url:i},startTimestamp:Mr()*1e3};e||ui("fetch",{...s});const a=new Error().stack;return n.apply(yt,r).then(async l=>(e?e(l):ui("fetch",{...s,endTimestamp:Mr()*1e3,response:l}),l),l=>{throw ui("fetch",{...s,endTimestamp:Mr()*1e3,error:l}),mT(l)&&l.stack===void 0&&(l.stack=a,fi(l,"framesToPop",1)),l})}})}async function wTe(e,t){if(e&&e.body){const n=e.body,r=n.getReader(),o=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let s;try{s=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(s),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(s)}}clearTimeout(o),r.releaseLock(),n.cancel().then(null,()=>{})}}function STe(e){let t;try{t=e.clone()}catch{return}wTe(t,()=>{ui("fetch-body-resolved",{endTimestamp:Mr()*1e3,response:e})})}function Hk(e,t){return!!e&&typeof e=="object"&&!!e[t]}function bR(e){return typeof e=="string"?e:e?Hk(e,"url")?e.url:e.toString?e.toString():"":""}function _Te(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:bR(n),method:Hk(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:bR(t),method:Hk(t,"method")?String(t.method).toUpperCase():"GET"}}let _g=null;function Sz(e){const t="error";Ql(t,e),Bl(t,kTe)}function kTe(){_g=yt.onerror,yt.onerror=function(e,t,n,r,o){return ui("error",{column:r,error:o,line:n,msg:e,url:t}),_g&&!_g.__SENTRY_LOADER__?_g.apply(this,arguments):!1},yt.onerror.__SENTRY_INSTRUMENTED__=!0}let kg=null;function _z(e){const t="unhandledrejection";Ql(t,e),Bl(t,xTe)}function xTe(){kg=yt.onunhandledrejection,yt.onunhandledrejection=function(e){return ui("unhandledrejection",e),kg&&!kg.__SENTRY_LOADER__?kg.apply(this,arguments):!0},yt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function ETe(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function TTe(){return"npm"}function CTe(){return!ETe()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function OR(){return typeof window<"u"&&(!CTe()||PTe())}function PTe(){return yt.process!==void 0&&yt.process.type==="renderer"}function ATe(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(o){if(e)return t.has(o)?!0:(t.add(o),!1);for(let i=0;iMath.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function kz(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ya(e){const{message:t,event_id:n}=e;if(t)return t;const r=kz(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Yk(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Ed(e,t){const n=kz(e);if(!n)return;const r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&&"data"in t){const i={...o&&o.data,...t.data};n.mechanism.data=i}}function yR(e){if(e&&e.__sentry_captured__)return!0;try{fi(e,"__sentry_captured__",!0)}catch{}return!1}function yT(e){return Array.isArray(e)?e:[e]}function us(e,t=100,n=1/0){try{return Gk("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function xz(e,t=3,n=100*1024){const r=us(e,t);return ITe(r)>n?xz(e,t-1,n):r}function Gk(e,t,n=1/0,r=1/0,o=ATe()){const[i,s]=o;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=$Te(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const h=c.toJSON();return Gk("",h,l-1,r,o)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const f=pz(t);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(d>=r){u[h]="[MaxProperties ~]";break}const p=f[h];u[h]=Gk(h,p,l-1,r,o),d++}return s(t),u}function $Te(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(lz(t))return"[VueViewModel]";if(KEe(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Oa(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=MTe(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function MTe(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function RTe(e){return~-encodeURI(e).split(/%..|./).length}function ITe(e){return RTe(JSON.stringify(e))}var Fs;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Fs||(Fs={}));function ya(e){return new Go(t=>{t(e)})}function nO(e){return new Go((t,n)=>{n(e)})}class Go{constructor(t){Go.prototype.__init.call(this),Go.prototype.__init2.call(this),Go.prototype.__init3.call(this),Go.prototype.__init4.call(this),this._state=Fs.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Go((r,o)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(s){o(s)}},i=>{if(!n)o(i);else try{r(n(i))}catch(s){o(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Go((n,r)=>{let o,i;return this.then(s=>{i=!1,o=s,t&&t()},s=>{i=!0,o=s,t&&t()}).then(()=>{if(i){r(o);return}n(o)})})}__init(){this._resolve=t=>{this._setResult(Fs.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Fs.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Fs.PENDING){if(Ny(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Fs.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Fs.RESOLVED&&n[1](this._value),this._state===Fs.REJECTED&&n[2](this._value),n[0]=!0)})}}}function LTe(e){const t=[];function n(){return e===void 0||t.lengthr(a)).then(null,()=>r(a).then(null,()=>{})),a}function i(s){return new Go((a,l)=>{let c=t.length;if(!c)return a(!0);const u=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(d=>{ya(d).then(()=>{--c||(clearTimeout(u),a(!0))},l)})})}return{$:t,add:o,drain:i}}function xc(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const NTe=["fatal","error","warning","log","info","debug"];function vT(e){return e==="warn"?"warning":NTe.includes(e)?e:"log"}const Kk="baggage",Ez="sentry-",DTe=/^sentry-/,QTe=8192;function Tz(e){const t=BTe(e);if(!t)return;const n=Object.entries(t).reduce((r,[o,i])=>{if(o.match(DTe)){const s=o.slice(Ez.length);r[s]=i}return r},{});if(Object.keys(n).length>0)return n}function Cz(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,o])=>(o&&(n[`${Ez}${r}`]=o),n),{});return zTe(t)}function BTe(e){if(!(!e||!aa(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=vR(n);return Object.entries(r).forEach(([o,i])=>{t[o]=i}),t},{}):vR(e)}function vR(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function zTe(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],o)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,s=o===0?i:`${t},${i}`;return s.length>QTe?(nf&&Se.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):s},"")}const jTe=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function WTe(e){if(!e)return;const t=e.match(jTe);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function FTe(e,t){const n=WTe(e),r=Tz(t),{traceId:o,parentSpanId:i,parentSampled:s}=n||{};return n?{traceId:o||vn(),parentSpanId:i||vn().substring(16),spanId:vn().substring(16),sampled:s,dsc:r||{}}:{traceId:o||vn(),spanId:vn().substring(16)}}function wT(e=vn(),t=vn().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function tu(e,t=[]){return[e,t]}function qTe(e,t){const[n,r]=e;return[n,[...r,t]]}function wR(e,t){const n=e[1];for(const r of n){const o=r[0].type;if(t(r,o))return!0}return!1}function Jk(e){return yt.__SENTRY__&&yt.__SENTRY__.encodePolyfill?yt.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function UTe(e){const[t,n]=e;let r=JSON.stringify(t);function o(i){typeof r=="string"?r=typeof i=="string"?r+i:[Jk(r),i]:r.push(typeof i=="string"?Jk(i):i)}for(const i of n){const[s,a]=i;if(o(` ${JSON.stringify(s)} `),typeof a=="string"||a instanceof Uint8Array)o(a);else{let l;try{l=JSON.stringify(a)}catch{l=JSON.stringify(us(a))}o(l)}}return typeof r=="string"?r:ZTe(r)}function ZTe(e){const t=e.reduce((o,i)=>o+i.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}function VTe(e){return[{type:"span"},e]}function XTe(e){const t=typeof e.data=="string"?Jk(e.data):e.data;return[Gn({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const HTe={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function SR(e){return HTe[e]}function ST(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Pz(e,t,n,r){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:mm(r)},...o&&{trace:Gn({...o})}}}function YTe(e,t,n){const r=[{type:"client_report"},{timestamp:gm(),discarded_events:e}];return tu(t?{dsn:t}:{},[r])}const GTe=60*1e3;function KTe(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?GTe:r-t}function JTe(e,t){return e[t]||e.all||0}function Az(e,t,n=Date.now()){return JTe(e,t)>n}function $z(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},i=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(i)for(const a of i.trim().split(",")){const[l,c,,,u]=a.split(":",5),d=parseInt(l,10),f=(isNaN(d)?60:d)*1e3;if(!c)o.all=r+f;else for(const h of c.split(";"))h==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(o[h]=r+f):o[h]=r+f}else s?o.all=r+KTe(s,r):t===429&&(o.all=r+60*1e3);return o}function e5e(e,t){return e??t()}function Do(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}function rO(){return{traceId:vn(),spanId:vn().substring(16)}}const xg=yt;function t5e(){const e=xg.chrome,t=e&&e.app&&e.app.runtime,n="history"in xg&&!!xg.history.pushState&&!!xg.history.replaceState;return!t&&n}const lt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function rf(){return _T(yt),yt}function _T(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||la,t[la]=t[la]||{}}function n5e(e){const t=Mr(),n={sid:vn(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>o5e(n)};return e&&Td(n,e),n}function Td(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Mr(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:vn()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function r5e(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Td(e,n)}function o5e(e){return Gn({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const ex="_sentrySpan";function vp(e,t){t?fi(e,ex,t):delete e[ex]}function oO(e){return e[ex]}const i5e=100;class kT{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=rO()}clone(){const t=new kT;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,vp(t,oO(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Td(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,o]=n instanceof Tl?[n.getScopeData(),n.getRequestSession()]:xd(n)?[t,t.requestSession]:[],{tags:i,extra:s,user:a,contexts:l,level:c,fingerprint:u=[],propagationContext:d}=r||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...s},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),o&&(this._requestSession=o),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,vp(this,void 0),this._attachments=[],this._propagationContext=rO(),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:i5e;if(r<=0)return this;const o={timestamp:gm(),...t},i=this._breadcrumbs;return i.push(o),this._breadcrumbs=i.length>r?i.slice(-r):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:oO(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:vn();if(!this._client)return Se.warn("No client configured on scope - will not capture exception!"),r;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...n,event_id:r},this),r}captureMessage(t,n,r){const o=r&&r.event_id?r.event_id:vn();if(!this._client)return Se.warn("No client configured on scope - will not capture message!"),o;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:o},this),o}captureEvent(t,n){const r=n&&n.event_id?n.event_id:vn();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(Se.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const Tl=kT;function s5e(){return Dy("defaultCurrentScope",()=>new Tl)}function a5e(){return Dy("defaultIsolationScope",()=>new Tl)}class l5e{constructor(t,n){let r;t?r=t:r=new Tl;let o;n?o=n:o=new Tl,this._stack=[{scope:r}],this._isolationScope=o}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(o){throw this._popScope(),o}return Ny(r)?r.then(o=>(this._popScope(),o),o=>{throw this._popScope(),o}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Cd(){const e=rf(),t=_T(e);return t.stack=t.stack||new l5e(s5e(),a5e())}function c5e(e){return Cd().withScope(e)}function u5e(e,t){const n=Cd();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function _R(e){return Cd().withScope(()=>e(Cd().getIsolationScope()))}function d5e(){return{withIsolationScope:_R,withScope:c5e,withSetScope:u5e,withSetIsolationScope:(e,t)=>_R(t),getCurrentScope:()=>Cd().getScope(),getIsolationScope:()=>Cd().getIsolationScope()}}function bm(e){const t=_T(e);return t.acs?t.acs:d5e()}function Vt(){const e=rf();return bm(e).getCurrentScope()}function bi(){const e=rf();return bm(e).getIsolationScope()}function f5e(){return Dy("globalScope",()=>new Tl)}function Qy(...e){const t=rf(),n=bm(t);if(e.length===2){const[r,o]=e;return r?n.withSetScope(r,o):n.withScope(o)}return n.withScope(e[0])}function vt(){return Vt().getClient()}const h5e="_sentryMetrics";function tx(e){const t=e[h5e];if(!t)return;const n={};for(const[,[r,o]]of t)(n[r]||(n[r]=[])).push(Gn(o));return n}const oi="sentry.source",Mz="sentry.sample_rate",Wc="sentry.op",_n="sentry.origin",nx="sentry.idle_span_finish_reason",By="sentry.measurement_unit",zy="sentry.measurement_value",p5e="sentry.profile_id",xT="sentry.exclusive_time",m5e=0,Rz=1,sr=2;function g5e(e){if(e<400&&e>=100)return{code:Rz};if(e>=400&&e<500)switch(e){case 401:return{code:sr,message:"unauthenticated"};case 403:return{code:sr,message:"permission_denied"};case 404:return{code:sr,message:"not_found"};case 409:return{code:sr,message:"already_exists"};case 413:return{code:sr,message:"failed_precondition"};case 429:return{code:sr,message:"resource_exhausted"};case 499:return{code:sr,message:"cancelled"};default:return{code:sr,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:sr,message:"unimplemented"};case 503:return{code:sr,message:"unavailable"};case 504:return{code:sr,message:"deadline_exceeded"};default:return{code:sr,message:"internal_error"}}return{code:sr,message:"unknown_error"}}function Iz(e,t){e.setAttribute("http.response.status_code",t);const n=g5e(t);n.message!=="unknown_error"&&e.setStatus(n)}const Lz=0,Nz=1;function b5e(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:o,parent_span_id:i,status:s,origin:a}=St(e);return Gn({parent_span_id:i,span_id:t,trace_id:n,data:r,op:o,status:s,origin:a})}function O5e(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=St(e);return Gn({parent_span_id:r,span_id:t,trace_id:n})}function Dz(e){const{traceId:t,spanId:n}=e.spanContext(),r=nu(e);return wT(t,n,r)}function Ec(e){return typeof e=="number"?kR(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?kR(e.getTime()):Mr()}function kR(e){return e>9999999999?e/1e3:e}function St(e){if(v5e(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(y5e(e)){const{attributes:r,startTime:o,name:i,endTime:s,parentSpanId:a,status:l}=e;return Gn({span_id:t,trace_id:n,data:r,description:i,parent_span_id:a,start_timestamp:Ec(o),timestamp:Ec(s)||void 0,status:Qz(l),op:r[Wc],origin:r[_n],_metrics_summary:tx(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function y5e(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function v5e(e){return typeof e.getSpanJSON=="function"}function nu(e){const{traceFlags:t}=e.spanContext();return t===Nz}function Qz(e){if(!(!e||e.code===m5e))return e.code===Rz?"ok":e.message||"unknown_error"}const Tc="_sentryChildSpans",rx="_sentryRootSpan";function Bz(e,t){const n=e[rx]||e;fi(t,rx,n),e[Tc]?e[Tc].add(t):fi(e,Tc,new Set([t]))}function w5e(e,t){e[Tc]&&e[Tc].delete(t)}function bb(e){const t=new Set;function n(r){if(!t.has(r)&&nu(r)){t.add(r);const o=r[Tc]?Array.from(r[Tc]):[];for(const i of o)n(i)}}return n(e),Array.from(t)}function ur(e){return e[rx]||e}function Qn(){const e=rf(),t=bm(e);return t.getActiveSpan?t.getActiveSpan():oO(Vt())}let xR=!1;function S5e(){xR||(xR=!0,Sz(ox),_z(ox))}function ox(){const e=Qn(),t=e&&ur(e);if(t){const n="internal_error";lt&&Se.log(`[Tracing] Root span: ${n} -> Global error occured`),t.setStatus({code:sr,message:n})}}ox.tag="sentry_tracingErrorCallback";const zz="_sentryScope",jz="_sentryIsolationScope";function _5e(e,t,n){e&&(fi(e,jz,n),fi(e,zz,t))}function ER(e){return{scope:e[zz],isolationScope:e[jz]}}function Es(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=vt(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class of{constructor(t={}){this._traceId=t.traceId||vn(),this._spanId=t.spanId||vn().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Lz}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}const ET="production",Wz="_frozenDsc";function TR(e,t){fi(e,Wz,t)}function jy(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o=Gn({environment:n.environment||ET,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",o),o}function zl(e){const t=vt();if(!t)return{};const n=jy(St(e).trace_id||"",t),r=ur(e),o=r[Wz];if(o)return o;const i=r.spanContext().traceState,s=i&&i.get("sentry.dsc"),a=s&&Tz(s);if(a)return a;const l=St(r),c=l.data||{},u=c[Mz];u!=null&&(n.sample_rate=`${u}`);const d=c[oi],f=l.description;return d!=="url"&&f&&(n.transaction=f),Es()&&(n.sampled=String(nu(r))),t.emit("createDsc",n,r),n}function k5e(e){if(!lt)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=St(e),{spanId:o}=e.spanContext(),i=nu(e),s=ur(e),a=s===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&c.push(`parent ID: ${r}`),!a){const{op:u,description:d}=St(s);c.push(`root ID: ${s.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}Se.log(`${l} ${c.join(` `)}`)}function x5e(e){if(!lt)return;const{description:t="< unknown name >",op:n="< unknown op >"}=St(e),{spanId:r}=e.spanContext(),i=ur(e)===e,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;Se.log(s)}function iO(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){lt&&Se.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function E5e(e,t){if(!Es(e))return[!1];let n;typeof e.tracesSampler=="function"?n=e.tracesSampler(t):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"?n=e.tracesSampleRate:n=1;const r=iO(n);return r===void 0?(lt&&Se.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()a(St(u)):u=>St(u),c=[];for(const u of e){const d=l(u);d&&c.push(VTe(d))}return tu(s,c)}function $5e(e,t,n,r=Qn()){const o=r&&ur(r);o&&o.addEvent(e,{[zy]:t,[By]:n})}function CR(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},o=r[By],i=r[zy];typeof o=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:o})}),t}const PR=1e3;class TT{constructor(t={}){this._traceId=t.traceId||vn(),this._spanId=t.spanId||vn().substring(16),this._startTime=t.startTimestamp||Mr(),this._attributes={},this.setAttributes({[_n]:"manual",[Wc]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this}addLinks(t){return this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Nz:Lz}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Ec(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=Ec(t),x5e(this),this._onSpanEnded())}getSpanJSON(){return Gn({data:this._attributes,description:this._name,op:this._attributes[Wc],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Qz(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[_n],_metrics_summary:tx(this),profile_id:this._attributes[p5e],exclusive_time:this._attributes[xT],measurements:CR(this._events),is_segment:this._isStandaloneSpan&&ur(this)===this||void 0,segment_id:this._isStandaloneSpan?ur(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){lt&&Se.log("[Tracing] Adding an event to span:",t);const o=AR(n)?n:r||Mr(),i=AR(n)?{}:n||{},s={name:t,time:Ec(o),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=vt();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===ur(this)))return;if(this._isStandaloneSpan){this._sampled?R5e(A5e([this],t)):(lt&&Se.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(ER(this).scope||Vt()).captureEvent(r)}_convertSpanToTransaction(){if(!$R(St(this)))return;this._name||(lt&&Se.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:t,isolationScope:n}=ER(this),o=(t||Vt()).getClient()||vt();if(this._sampled!==!0){lt&&Se.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),o&&o.recordDroppedEvent("sample_rate","transaction");return}const s=bb(this).filter(d=>d!==this&&!M5e(d)).map(d=>St(d)).filter($R),a=this._attributes[oi],l={contexts:{trace:b5e(this)},spans:s.length>PR?s.sort((d,f)=>d.start_timestamp-f.start_timestamp).slice(0,PR):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...Gn({dynamicSamplingContext:zl(this)})},_metrics_summary:tx(this),...a&&{transaction_info:{source:a}}},c=CR(this._events);return c&&Object.keys(c).length&&(lt&&Se.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),l.measurements=c),l}}function AR(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function $R(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function M5e(e){return e instanceof TT&&e.isStandaloneSpan()}function R5e(e){const t=vt();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}const r=t.getTransport();r&&r.send(e).then(null,o=>{lt&&Se.error("Error while sending span:",o)})}const Fz="__SENTRY_SUPPRESS_TRACING__";function Ts(e){const t=Uz();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=L5e(e),{forceTransaction:r,parentSpan:o}=e;return(e.scope?s=>Qy(e.scope,s):o!==void 0?s=>qz(o,s):s=>s())(()=>{const s=Vt(),a=D5e(s);return e.onlyIfParent&&!a?new of:I5e({parentSpan:a,spanArguments:n,forceTransaction:r,scope:s})})}function qz(e,t){const n=Uz();return n.withActiveSpan?n.withActiveSpan(e,t):Qy(r=>(vp(r,e||void 0),t(r)))}function I5e({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Es())return new of;const o=bi();let i;if(e&&!n)i=N5e(e,r,t),Bz(e,i);else if(e){const s=zl(e),{traceId:a,spanId:l}=e.spanContext(),c=nu(e);i=MR({traceId:a,parentSpanId:l,...t},r,c),TR(i,s)}else{const{traceId:s,dsc:a,parentSpanId:l,sampled:c}={...o.getPropagationContext(),...r.getPropagationContext()};i=MR({traceId:s,parentSpanId:l,...t},r,c),a&&TR(i,a)}return k5e(i),_5e(i,r,o),i}function L5e(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Ec(e.startTime),delete r.startTime,r}return n}function Uz(){const e=rf();return bm(e)}function MR(e,t,n){const r=vt(),o=r&&r.getOptions()||{},{name:i="",attributes:s}=e,[a,l]=t.getScopeData().sdkProcessingMetadata[Fz]?[!1]:E5e(o,{name:i,parentSampled:n,attributes:s,transactionContext:{name:i,parentSampled:n}}),c=new TT({...e,attributes:{[oi]:"custom",...e.attributes},sampled:a});return l!==void 0&&c.setAttribute(Mz,l),r&&r.emit("spanStart",c),c}function N5e(e,t,n){const{spanId:r,traceId:o}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[Fz]?!1:nu(e),s=i?new TT({...n,parentSpanId:r,traceId:o,sampled:i}):new of({traceId:o});Bz(e,s);const a=vt();return a&&(a.emit("spanStart",s),n.endTimestamp&&a.emit("spanEnd",s)),s}function D5e(e){const t=oO(e);if(!t)return;const n=vt();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?ur(t):t}const Ob={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Q5e="heartbeatFailed",B5e="idleTimeout",z5e="finalTimeout",j5e="externalFinish";function Zz(e,t={}){const n=new Map;let r=!1,o,i=j5e,s=!t.disableAutoFinish;const a=[],{idleTimeout:l=Ob.idleTimeout,finalTimeout:c=Ob.finalTimeout,childSpanTimeout:u=Ob.childSpanTimeout,beforeSpanEnd:d}=t,f=vt();if(!f||!Es())return new of;const h=Vt(),p=Qn(),m=W5e(e);m.end=new Proxy(m.end,{apply(S,_,T){d&&d(m);const[A,...C]=T,$=A||Mr(),E=Ec($),Q=bb(m).filter(te=>te!==m);if(!Q.length)return w(E),Reflect.apply(S,_,[E,...C]);const X=Q.map(te=>St(te).timestamp).filter(te=>!!te),Y=X.length?Math.max(...X):void 0,B=St(m).start_timestamp,ee=Math.min(B?B+c/1e3:1/0,Math.max(B||-1/0,Math.min(E,Y||1/0)));return w(ee),Reflect.apply(S,_,[ee,...C])}});function O(){o&&(clearTimeout(o),o=void 0)}function g(S){O(),o=setTimeout(()=>{!r&&n.size===0&&s&&(i=B5e,m.end(S))},l)}function b(S){o=setTimeout(()=>{!r&&s&&(i=Q5e,m.end(S))},u)}function v(S){O(),n.set(S,!0);const _=Mr();b(_+u/1e3)}function y(S){if(n.has(S)&&n.delete(S),n.size===0){const _=Mr();g(_+l/1e3)}}function w(S){r=!0,n.clear(),a.forEach(E=>E()),vp(h,p);const _=St(m),{start_timestamp:T}=_;if(!T)return;(_.data||{})[nx]||m.setAttribute(nx,i),Se.log(`[Tracing] Idle span "${_.op}" finished`);const C=bb(m).filter(E=>E!==m);let $=0;C.forEach(E=>{E.isRecording()&&(E.setStatus({code:sr,message:"cancelled"}),E.end(S),lt&&Se.log("[Tracing] Cancelling span since span ended early",JSON.stringify(E,void 0,2)));const Q=St(E),{timestamp:X=0,start_timestamp:Y=0}=Q,B=Y<=S,ee=(c+l)/1e3,te=X-Y<=ee;if(lt){const ye=JSON.stringify(E,void 0,2);B?te||Se.log("[Tracing] Discarding span since it finished after idle span final timeout",ye):Se.log("[Tracing] Discarding span since it happened after idle span was finished",ye)}(!te||!B)&&(w5e(m,E),$++)}),$>0&&m.setAttribute("sentry.idle_span_discarded_spans",$)}return a.push(f.on("spanStart",S=>{if(r||S===m||St(S).timestamp)return;bb(m).includes(S)&&v(S.spanContext().spanId)})),a.push(f.on("spanEnd",S=>{r||y(S.spanContext().spanId)})),a.push(f.on("idleSpanEnableAutoFinish",S=>{S===m&&(s=!0,g(),n.size&&b())})),t.disableAutoFinish||g(),setTimeout(()=>{r||(m.setStatus({code:sr,message:"deadline_exceeded"}),i=z5e,m.end())},c),m}function W5e(e){const t=Ts(e);return vp(Vt(),t),lt&&Se.log("[Tracing] Started span is an idle span"),t}function ix(e,t,n,r=0){return new Go((o,i)=>{const s=e[r];if(t===null||typeof s!="function")o(t);else{const a=s({...t},n);lt&&s.id&&a===null&&Se.log(`Event processor "${s.id}" dropped event`),Ny(a)?a.then(l=>ix(e,l,n,r+1).then(o)).then(null,i):ix(e,a,n,r+1).then(o).then(null,i)}})}function F5e(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;q5e(e,t),r&&V5e(e,r),X5e(e,n),U5e(e,o),Z5e(e,i)}function RR(e,t){const{extra:n,tags:r,user:o,contexts:i,level:s,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:h,span:p}=t;Bf(e,"extra",n),Bf(e,"tags",r),Bf(e,"user",o),Bf(e,"contexts",i),Bf(e,"sdkProcessingMetadata",a),s&&(e.level=s),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function Bf(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function q5e(e,t){const{extra:n,tags:r,user:o,contexts:i,level:s,transactionName:a}=t,l=Gn(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=Gn(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=Gn(o);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=Gn(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),s&&(e.level=s),a&&e.type!=="transaction"&&(e.transaction=a)}function U5e(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Z5e(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function V5e(e,t){e.contexts={trace:O5e(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:zl(t),...e.sdkProcessingMetadata};const n=ur(t),r=St(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function X5e(e,t){e.fingerprint=e.fingerprint?yT(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Vz(e,t,n,r,o,i){const{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||vn(),timestamp:t.timestamp||gm()},c=n.integrations||e.integrations.map(O=>O.name);H5e(l,e),K5e(l,c),o&&o.emit("applyFrameMetadata",t),t.type===void 0&&Y5e(l,e.stackParser);const u=eCe(r,n.captureContext);n.mechanism&&Ed(l,n.mechanism);const d=o?o.getEventProcessors():[],f=f5e().getScopeData();if(i){const O=i.getScopeData();RR(f,O)}if(u){const O=u.getScopeData();RR(f,O)}const h=[...n.attachments||[],...f.attachments];h.length&&(n.attachments=h),F5e(l,f);const p=[...d,...f.eventProcessors];return ix(p,l,n).then(O=>(O&&G5e(O),typeof s=="number"&&s>0?J5e(O,s,a):O))}function H5e(e,t){const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:ET),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&o!==void 0&&(e.dist=o),e.message&&(e.message=Gu(e.message,i));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=Gu(s.value,i));const a=e.request;a&&a.url&&(a.url=Gu(a.url,i))}const IR=new WeakMap;function Y5e(e,t){const n=yt._sentryDebugIds;if(!n)return;let r;const o=IR.get(t);o?r=o:(r=new Map,IR.set(t,r));const i=Object.entries(n).reduce((s,[a,l])=>{let c;const u=r.get(a);u?c=u:(c=t(a),r.set(a,c));for(let d=c.length-1;d>=0;d--){const f=c[d];if(f.filename){s[f.filename]=l;break}}return s},{});try{e.exception.values.forEach(s=>{s.stacktrace.frames.forEach(a=>{a.filename&&(a.debug_id=i[a.filename])})})}catch{}}function G5e(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(o=>{o.debug_id&&(o.abs_path?t[o.abs_path]=o.debug_id:o.filename&&(t[o.filename]=o.debug_id),delete o.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,o])=>{n.push({type:"sourcemap",code_file:r,debug_id:o})})}function K5e(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function J5e(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:us(o.data,t,n)}}))},...e.user&&{user:us(e.user,t,n)},...e.contexts&&{contexts:us(e.contexts,t,n)},...e.extra&&{extra:us(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=us(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(o=>({...o,...o.data&&{data:us(o.data,t,n)}}))),r}function eCe(e,t){if(!t)return e;const n=e?e.clone():new Tl;return n.update(t),n}function tCe(e){if(e)return nCe(e)?{captureContext:e}:oCe(e)?{captureContext:e}:e}function nCe(e){return e instanceof Tl||typeof e=="function"}const rCe=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function oCe(e){return Object.keys(e).some(t=>rCe.includes(t))}function Om(e,t){return Vt().captureException(e,tCe(t))}function LR(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return Vt().captureMessage(e,n,r)}function Xz(e,t){return Vt().captureEvent(e,t)}function iCe(e,t){bi().setContext(e,t)}function sCe(e){bi().addEventProcessor(e)}function NR(e){const t=vt(),n=bi(),r=Vt(),{release:o,environment:i=ET}=t&&t.getOptions()||{},{userAgent:s}=yt.navigator||{},a=n5e({release:o,environment:i,user:r.getUser()||n.getUser(),...s&&{userAgent:s},...e}),l=n.getSession();return l&&l.status==="ok"&&Td(l,{status:"exited"}),Hz(),n.setSession(a),r.setSession(a),a}function Hz(){const e=bi(),t=Vt(),n=t.getSession()||e.getSession();n&&r5e(n),Yz(),e.setSession(),t.setSession()}function Yz(){const e=bi(),t=Vt(),n=vt(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function DR(e=!1){if(e){Hz();return}Yz()}const aCe="7";function lCe(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function cCe(e){return`${lCe(e)}${e.projectId}/envelope/`}function uCe(e,t){return fTe({sentry_key:e.publicKey,sentry_version:aCe,...t&&{sentry_client:`${t.name}/${t.version}`}})}function dCe(e,t,n){return t||`${cCe(e)}?${uCe(e,n)}`}const QR=[];function fCe(e){const t={};return e.forEach(n=>{const{name:r}=n,o=t[r];o&&!o.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function hCe(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=yT(n(t)):r=t;const o=fCe(r),i=o.findIndex(s=>s.name==="Debug");if(i>-1){const[s]=o.splice(i,1);o.push(s)}return o}function pCe(e,t){const n={};return t.forEach(r=>{r&&Gz(e,r,n)}),n}function BR(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function Gz(e,t,n){if(n[t.name]){lt&&Se.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,QR.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),QR.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,i)=>r(o,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),o=Object.assign((i,s)=>r(i,s,e),{id:t.name});e.addEventProcessor(o)}lt&&Se.log(`Integration installed: ${t.name}`)}const zR="Not capturing exception because it's already been captured.";class mCe{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=dTe(t.dsn):lt&&Se.warn("No DSN provided, client will not send events."),this._dsn){const n=dCe(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){const o=vn();if(yR(t))return lt&&Se.log(zR),o;const i={event_id:o,...n};return this._process(this.eventFromException(t,i).then(s=>this._captureEvent(s,i,r))),i.event_id}captureMessage(t,n,r,o){const i={event_id:vn(),...r},s=gT(t)?t:String(t),a=bT(t)?this.eventFromMessage(s,n,i):this.eventFromException(t,i);return this._process(a.then(l=>this._captureEvent(l,i,o))),i.event_id}captureEvent(t,n,r){const o=vn();if(n&&n.originalException&&yR(n.originalException))return lt&&Se.log(zR),o;const i={event_id:o,...n},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,a||r)),i.event_id}captureSession(t){typeof t.release!="string"?lt&&Se.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Td(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(o=>r&&o))):ya(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Gz(this,t,this._integrations),n||BR(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=P5e(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=qTe(r,XTe(i));const o=this.sendEnvelope(r);o&&o.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const n=C5e(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const o=typeof r=="number"?r:1,i=`${t}:${n}`;lt&&Se.log(`Recording outcome: "${i}"${o>1?` (${o} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+o}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const o=r.indexOf(n);o>-1&&r.splice(o,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(o=>o(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(lt&&Se.error("Error while sending event:",n),n)):(lt&&Se.error("Transport disabled"),ya({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=pCe(this,t),BR(this,t)}_updateSessionFromEvent(t,n){let r=!1,o=!1;const i=n.exception&&n.exception.values;if(i){o=!0;for(const l of i){const c=l.mechanism;if(c&&c.handled===!1){r=!0;break}}}const s=t.status==="ok";(s&&t.errors===0||s&&r)&&(Td(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Go(n=>{let r=0;const o=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=o,t&&r>=t&&(clearInterval(i),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,o=bi()){const i=this.getOptions(),s=Object.keys(this._integrations);return!n.integrations&&s.length>0&&(n.integrations=s),this.emit("preprocessEvent",t,n),t.type||o.setLastEventId(t.event_id||n.event_id),Vz(i,t,n,r,this,o).then(a=>{if(a===null)return a;const l={...o.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(a.contexts&&a.contexts.trace)&&l){const{traceId:u,spanId:d,parentSpanId:f,dsc:h}=l;a.contexts={trace:Gn({trace_id:u,span_id:d,parent_span_id:f}),...a.contexts};const p=h||jy(u,this);a.sdkProcessingMetadata={dynamicSamplingContext:p,...a.sdkProcessingMetadata}}return a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(o=>o.event_id,o=>{if(lt){const i=o;i.logLevel==="log"?Se.log(i.message):Se.warn(i)}})}_processEvent(t,n,r){const o=this.getOptions(),{sampleRate:i}=o,s=Jz(t),a=Kz(t),l=t.type||"error",c=`before send for type \`${l}\``,u=typeof i>"u"?void 0:iO(i);if(a&&typeof u=="number"&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",t),nO(new hs(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const d=l==="replay_event"?"replay":l,h=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,h).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",d,t),new hs("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return p;const O=bCe(this,o,p,n);return gCe(O,c)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",d,t),s){const b=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",b)}throw new hs(`${c} returned \`null\`, will not send event.`,"log")}const m=r&&r.getSession();if(!s&&m&&this._updateSessionFromEvent(m,p),s){const g=p.sdkProcessingMetadata&&p.sdkProcessingMetadata.spanCountBeforeProcessing||0,b=p.spans?p.spans.length:0,v=g-b;v>0&&this.recordDroppedEvent("before_send","span",v)}const O=p.transaction_info;if(s&&O&&p.transaction!==t.transaction){const g="custom";p.transaction_info={...O,source:g}}return this.sendEvent(p,n),p}).then(null,p=>{throw p instanceof hs?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),new hs(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${p}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[o,i]=n.split(":");return{reason:o,category:i,quantity:r}})}_flushOutcomes(){lt&&Se.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){lt&&Se.log("No outcomes to send");return}if(!this._dsn){lt&&Se.log("No dsn provided, will not send outcomes");return}lt&&Se.log("Sending outcomes:",t);const n=YTe(t,this._options.tunnel&&mm(this._dsn));this.sendEnvelope(n)}}function gCe(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Ny(e))return e.then(r=>{if(!xd(r)&&r!==null)throw new hs(n);return r},r=>{throw new hs(`${t} rejected with ${r}`)});if(!xd(e)&&e!==null)throw new hs(n);return e}function bCe(e,t,n,r){const{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:s}=t;if(Kz(n)&&o)return o(n,r);if(Jz(n)){if(n.spans&&s){const a=[];for(const l of n.spans){const c=s(l);c?a.push(c):e.recordDroppedEvent("before_send","span")}n.spans=a}if(i){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return i(n,r)}}return n}function Kz(e){return e.type===void 0}function Jz(e){return e.type==="transaction"}function OCe(e,t){t.debug===!0&&(lt?Se.enable():Pa(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Vt().update(t.initialScope);const r=new e(t);return yCe(r),r.init(),r}function yCe(e){Vt().setClient(e)}const vCe=64;function wCe(e,t,n=LTe(e.bufferSize||vCe)){let r={};const o=s=>n.drain(s);function i(s){const a=[];if(wR(s,(d,f)=>{const h=SR(f);if(Az(r,h)){const p=jR(d,f);e.recordDroppedEvent("ratelimit_backoff",h,p)}else a.push(d)}),a.length===0)return ya({});const l=tu(s[0],a),c=d=>{wR(l,(f,h)=>{const p=jR(f,h);e.recordDroppedEvent(d,SR(h),p)})},u=()=>t({body:UTe(l)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&<&&Se.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=$z(r,d),d),d=>{throw c("network_error"),d});return n.add(u).then(d=>d,d=>{if(d instanceof hs)return lt&&Se.error("Skipped sending event because buffer is full."),c("queue_overflow"),ya({});throw d})}return{send:i,flush:o}}function jR(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function SCe(e,t){const n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return kCe(e,n)||_Ce(e,r)}function _Ce(e,t){return t?WR(e)===WR(t):!1}function kCe(e,t){return t?e.includes(t.host):!1}function WR(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function xCe(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:la})),version:la}),e._metadata=o}const ECe=100;function Cl(e,t){const n=vt(),r=bi();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=ECe}=n.getOptions();if(i<=0)return;const a={timestamp:gm(),...e},l=o?Pa(()=>o(a,t)):a;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}let FR;const TCe="FunctionToString",qR=new WeakMap,CCe=()=>({name:TCe,setupOnce(){FR=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=OT(this),n=qR.has(vt())&&t!==void 0?t:this;return FR.apply(n,e)}}catch{}},setup(e){qR.set(e,!0)}}),PCe=CCe,ACe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],$Ce="InboundFilters",MCe=(e={})=>({name:$Ce,processEvent(t,n,r){const o=r.getOptions(),i=ICe(e,o);return LCe(t,i)?null:t}}),RCe=MCe;function ICe(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:ACe],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function LCe(e,t){return t.ignoreInternal&&jCe(e)?(lt&&Se.warn(`Event dropped due to being internal Sentry Error. Event: ${Ya(e)}`),!0):NCe(e,t.ignoreErrors)?(lt&&Se.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${Ya(e)}`),!0):FCe(e)?(lt&&Se.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${Ya(e)}`),!0):DCe(e,t.ignoreTransactions)?(lt&&Se.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${Ya(e)}`),!0):QCe(e,t.denyUrls)?(lt&&Se.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${Ya(e)}. Url: ${sO(e)}`),!0):BCe(e,t.allowUrls)?!1:(lt&&Se.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${Ya(e)}. Url: ${sO(e)}`),!0)}function NCe(e,t){return e.type||!t||!t.length?!1:zCe(e).some(n=>ml(n,t))}function DCe(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?ml(n,t):!1}function QCe(e,t){if(!t||!t.length)return!1;const n=sO(e);return n?ml(n,t):!1}function BCe(e,t){if(!t||!t.length)return!0;const n=sO(e);return n?ml(n,t):!0}function zCe(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}function jCe(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function WCe(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function sO(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?WCe(t):null}catch{return lt&&Se.error(`Cannot extract url for event ${Ya(e)}`),null}}function FCe(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}const qCe="CaptureConsole",UCe=(e={})=>{const t=e.levels||eO;return{name:qCe,setup(n){"console"in yt&&bz(({args:r,level:o})=>{vt()!==n||!t.includes(o)||VCe(r,o)})}}},ZCe=UCe;function VCe(e,t){const n={level:vT(t),extra:{arguments:e}};Qy(r=>{if(r.addEventProcessor(s=>(s.logger="console",Ed(s,{handled:!1,type:"console"}),s)),t==="assert"){if(!e[0]){const s=`Assertion failed: ${J0(e.slice(1)," ")||"console.assert"}`;r.setExtra("arguments",e.slice(1)),LR(s,n)}return}const o=e.find(s=>s instanceof Error);if(o){Om(o,n);return}const i=J0(e," ");LR(i,n)})}const XCe="Dedupe",HCe=()=>{let e;return{name:XCe,processEvent(t){if(t.type)return t;try{if(GCe(t,e))return lt&&Se.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},YCe=HCe;function GCe(e,t){return t?!!(KCe(e,t)||JCe(e,t)):!1}function KCe(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!tj(e,t)||!ej(e,t))}function JCe(e,t){const n=UR(t),r=UR(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!tj(e,t)||!ej(e,t))}function ej(e,t){let n=mR(e),r=mR(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o0?p.join(","):void 0}}else return{"sentry-trace":u,baggage:d}}function nPe(e){try{return new URL(e).href}catch{return}}function rPe(e,t){if(t.response){Iz(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus({code:sr,message:"internal_error"});e.end()}const ot=yt;let sx=0;function nj(){return sx>0}function oPe(){sx++,setTimeout(()=>{sx--})}function Pd(e,t={},n){if(typeof e!="function")return e;try{const o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(OT(e))return e}catch{return e}const r=function(){const o=Array.prototype.slice.call(arguments);try{const i=o.map(s=>Pd(s,t));return e.apply(this,i)}catch(i){throw oPe(),Qy(s=>{s.addEventProcessor(a=>(t.mechanism&&(Yk(a,void 0),Ed(a,t.mechanism)),a.extra={...a.extra,arguments:o},a)),Om(i)}),i}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch{}hz(r,e),fi(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const ji=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function CT(e,t){const n=PT(e,t),r={type:cPe(t),value:uPe(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function iPe(e,t,n,r){const o=vt(),i=o&&o.getOptions().normalizeDepth,s=mPe(t),a={__serialized__:xz(t,i)};if(s)return{exception:{values:[CT(e,s)]},extra:a};const l={exception:{values:[{type:Ly(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:hPe(t,{isUnhandledRejection:r})}]},extra:a};if(n){const c=PT(e,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function i1(e,t){return{exception:{values:[CT(e,t)]}}}function PT(e,t){const n=t.stacktrace||t.stack||"",r=aPe(t),o=lPe(t);try{return e(n,r,o)}catch{}return[]}const sPe=/Minified React error #\d+;/i;function aPe(e){return e&&sPe.test(e.message)?1:0}function lPe(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function rj(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function cPe(e){const t=e&&e.name;return!t&&rj(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function uPe(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:rj(e)&&Array.isArray(e.message)&&e.message.length==2?e.message[1]:t:"No error message"}function dPe(e,t,n,r){const o=n&&n.syntheticException||void 0,i=AT(e,t,o,r);return Ed(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),ya(i)}function fPe(e,t,n="info",r,o){const i=r&&r.syntheticException||void 0,s=ax(e,t,i,o);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),ya(s)}function AT(e,t,n,r,o){let i;if(az(t)&&t.error)return i1(e,t.error);if(lR(t)||HEe(t)){const s=t;if("stack"in t)i=i1(e,t);else{const a=s.name||(lR(s)?"DOMError":"DOMException"),l=s.message?`${a}: ${s.message}`:a;i=ax(e,l,n,r),Yk(i,l)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}return mT(t)?i1(e,t):xd(t)||Ly(t)?(i=iPe(e,t,n,o),Ed(i,{synthetic:!0}),i):(i=ax(e,t,n,r),Yk(i,`${t}`),Ed(i,{synthetic:!0}),i)}function ax(e,t,n,r){const o={};if(r&&n){const i=PT(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}if(gT(t)){const{__sentry_template_string__:i,__sentry_template_values__:s}=t;return o.logentry={message:i,params:s},o}return o.message=t,o}function hPe(e,{isUnhandledRejection:t}){const n=hTe(e),r=t?"promise rejection":"exception";return az(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Ly(e)?`Event \`${pPe(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function pPe(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function mPe(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}function gPe(e,{metadata:t,tunnel:n,dsn:r}){const o={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:mm(r)}},i=bPe(e);return tu(o,[i])}function bPe(e){return[{type:"user_report"},e]}class OPe extends mCe{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=ot.SENTRY_SDK_SOURCE||TTe();xCe(n,"browser",["browser"],r),super(n),n.sendClientReports&&ot.document&&ot.document.addEventListener("visibilitychange",()=>{ot.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return dPe(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return fPe(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){ji&&Se.warn("SDK not enabled, will not capture user feedback.");return}const n=gPe(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}}const Fo=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,yPe=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",sf=(e,t,n,r)=>{let o,i;return s=>{t.value>=0&&(s||r)&&(i=t.value-(o||0),(i||o===void 0)&&(o=t.value,t.delta=i,t.rating=yPe(t.value,n),e(t)))}},tt=yt,vPe=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ym=()=>tt.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],vm=()=>{const e=ym();return e&&e.activationStart||0},af=(e,t)=>{const n=ym();let r="navigate";return n&&(tt.document&&tt.document.prerendering||vm()>0?r="prerender":tt.document&&tt.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:vPe(),navigationType:r}},ru=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(o=>{Promise.resolve().then(()=>{t(o.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},wm=e=>{const t=n=>{(n.type==="pagehide"||tt.document&&tt.document.visibilityState==="hidden")&&e(n)};tt.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},$T=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let wp=-1;const wPe=()=>{wp=tt.document.visibilityState==="hidden"&&!tt.document.prerendering?0:1/0},aO=e=>{tt.document.visibilityState==="hidden"&&wp>-1&&(wp=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("visibilitychange",aO,!0),removeEventListener("prerenderingchange",aO,!0))},SPe=()=>{addEventListener("visibilitychange",aO,!0),addEventListener("prerenderingchange",aO,!0)},Wy=()=>(tt.document&&wp<0&&(wPe(),SPe()),{get firstHiddenTime(){return wp}}),Sm=e=>{tt.document&&tt.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},_Pe=[1800,3e3],kPe=(e,t={})=>{Sm(()=>{const n=Wy(),r=af("FCP");let o;const s=ru("paint",a=>{a.forEach(l=>{l.name==="first-contentful-paint"&&(s.disconnect(),l.startTime{kPe($T(()=>{const n=af("CLS",0);let r,o=0,i=[];const s=l=>{l.forEach(c=>{if(!c.hadRecentInput){const u=i[0],d=i[i.length-1];o&&u&&d&&c.startTime-d.startTime<1e3&&c.startTime-u.startTime<5e3?(o+=c.value,i.push(c)):(o=c.value,i=[c])}}),o>n.value&&(n.value=o,n.entries=i,r())},a=ru("layout-shift",s);a&&(r=sf(e,n,xPe,t.reportAllChanges),wm(()=>{s(a.takeRecords()),r(!0)}),setTimeout(r,0))}))},TPe=[100,300],CPe=(e,t={})=>{Sm(()=>{const n=Wy(),r=af("FID");let o;const i=l=>{l.startTime{l.forEach(i)},a=ru("first-input",s);o=sf(e,r,TPe,t.reportAllChanges),a&&wm($T(()=>{s(a.takeRecords()),a.disconnect()}))})};let oj=0,s1=1/0,Eg=0;const PPe=e=>{e.forEach(t=>{t.interactionId&&(s1=Math.min(s1,t.interactionId),Eg=Math.max(Eg,t.interactionId),oj=Eg?(Eg-s1)/7+1:0)})};let lx;const APe=()=>lx?oj:performance.interactionCount||0,$Pe=()=>{"interactionCount"in performance||lx||(lx=ru("event",PPe,{type:"event",buffered:!0,durationThreshold:0}))},MPe=[200,500],RPe=0,ij=()=>APe()-RPe,ZR=10,Zs=[],a1={},VR=e=>{const t=Zs[Zs.length-1],n=a1[e.interactionId];if(n||Zs.lengtht.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};a1[r.id]=r,Zs.push(r)}Zs.sort((r,o)=>o.latency-r.latency),Zs.splice(ZR).forEach(r=>{delete a1[r.id]})}},IPe=()=>{const e=Math.min(Zs.length-1,Math.floor(ij()/50));return Zs[e]},LPe=(e,t={})=>{Sm(()=>{$Pe();const n=af("INP");let r;const o=s=>{s.forEach(l=>{l.interactionId&&VR(l),l.entryType==="first-input"&&!Zs.some(u=>u.entries.some(d=>l.duration===d.duration&&l.startTime===d.startTime))&&VR(l)});const a=IPe();a&&a.latency!==n.value&&(n.value=a.latency,n.entries=a.entries,r())},i=ru("event",o,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:40});r=sf(e,n,MPe,t.reportAllChanges),i&&("PerformanceEventTiming"in tt&&"interactionId"in PerformanceEventTiming.prototype&&i.observe({type:"first-input",buffered:!0}),wm(()=>{o(i.takeRecords()),n.value<0&&ij()>0&&(n.value=0,n.entries=[]),r(!0)}))})},NPe=[2500,4e3],XR={},DPe=(e,t={})=>{Sm(()=>{const n=Wy(),r=af("LCP");let o;const i=a=>{const l=a[a.length-1];l&&l.startTime{XR[r.id]||(i(s.takeRecords()),s.disconnect(),XR[r.id]=!0,o(!0))});["keydown","click"].forEach(l=>{tt.document&&addEventListener(l,()=>setTimeout(a,0),!0)}),wm(a)}})},QPe=[800,1800],cx=e=>{tt.document&&tt.document.prerendering?Sm(()=>cx(e)):tt.document&&tt.document.readyState!=="complete"?addEventListener("load",()=>cx(e),!0):setTimeout(e,0)},BPe=(e,t={})=>{const n=af("TTFB"),r=sf(e,n,QPe,t.reportAllChanges);cx(()=>{const o=ym();if(o){const i=o.responseStart;if(i<=0||i>performance.now())return;n.value=Math.max(i-vm(),0),n.entries=[o],r(!0)}})},Ah={},lO={};let sj,aj,lj,cj,uj;function MT(e,t=!1){return _m("cls",e,jPe,sj,t)}function dj(e,t=!1){return _m("lcp",e,FPe,lj,t)}function fj(e){return _m("fid",e,WPe,aj)}function zPe(e){return _m("ttfb",e,qPe,cj)}function hj(e){return _m("inp",e,UPe,uj)}function Ad(e,t){return pj(e,t),lO[e]||(ZPe(e),lO[e]=!0),mj(e,t)}function lf(e,t){const n=Ah[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(o){Fo&&Se.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${Oa(r)} Error:`,o)}}function jPe(){return EPe(e=>{lf("cls",{metric:e}),sj=e},{reportAllChanges:!0})}function WPe(){return CPe(e=>{lf("fid",{metric:e}),aj=e})}function FPe(){return DPe(e=>{lf("lcp",{metric:e}),lj=e},{reportAllChanges:!0})}function qPe(){return BPe(e=>{lf("ttfb",{metric:e}),cj=e})}function UPe(){return LPe(e=>{lf("inp",{metric:e}),uj=e})}function _m(e,t,n,r,o=!1){pj(e,t);let i;return lO[e]||(i=n(),lO[e]=!0),r&&t({metric:r}),mj(e,t,o?i:void 0)}function ZPe(e){const t={};e==="event"&&(t.durationThreshold=0),ru(e,n=>{lf(e,{entries:n})},t)}function pj(e,t){Ah[e]=Ah[e]||[],Ah[e].push(t)}function mj(e,t,n){return()=>{n&&n();const r=Ah[e];if(!r)return;const o=r.indexOf(t);o!==-1&&r.splice(o,1)}}function VPe(e){return"duration"in e}function l1(e){return typeof e=="number"&&isFinite(e)}function $d(e,t,n,{...r}){const o=St(e).start_timestamp;return o&&o>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),qz(e,()=>{const i=Ts({startTime:t,...r});return i&&i.end(n),i})}function gj(e){const t=vt();if(!t)return;const{name:n,transaction:r,attributes:o,startTime:i}=e,{release:s,environment:a}=t.getOptions(),l=t.getIntegrationByName("Replay"),c=l&&l.getReplayId(),u=Vt(),d=u.getUser(),f=d!==void 0?d.email||d.id||d.ip_address:void 0;let h;try{h=u.getScopeData().contexts.profile.profile_id}catch{}const p={release:s,environment:a,user:f||void 0,profile_id:h||void 0,replay_id:c||void 0,transaction:r,"user_agent.original":tt.navigator&&tt.navigator.userAgent,...o};return Ts({name:n,attributes:p,startTime:i,experimental:{standalone:!0}})}function RT(){return tt&&tt.addEventListener&&tt.performance}function Rn(e){return e/1e3}function XPe(){let e=0,t,n;if(!YPe())return;let r=!1;function o(){r||(r=!0,n&&HPe(e,t,n),i())}const i=MT(({metric:s})=>{const a=s.entries[s.entries.length-1];a&&(e=s.value,t=a)},!0);wm(()=>{o()}),setTimeout(()=>{const s=vt(),a=Do([s,"optionalAccess",d=>d.on,"call",d=>d("startNavigationSpan",()=>{o(),a&&a()})]),l=Qn(),c=l&&ur(l),u=c&&St(c);u&&u.op==="pageload"&&(n=c.spanContext().spanId)},0)}function HPe(e,t,n){Fo&&Se.log(`Sending CLS span (${e})`);const r=Rn((oo||0)+(Do([t,"optionalAccess",l=>l.startTime])||0)),o=Vt().getScopeData().transactionName,i=t?ba(Do([t,"access",l=>l.sources,"access",l=>l[0],"optionalAccess",l=>l.node])):"Layout shift",s=Gn({[_n]:"auto.http.browser.cls",[Wc]:"ui.webvital.cls",[xT]:Do([t,"optionalAccess",l=>l.duration])||0,"sentry.pageload.span_id":n}),a=gj({name:i,transaction:o,attributes:s,startTime:r});Do([a,"optionalAccess",l=>l.addEvent,"call",l=>l("cls",{[By]:"",[zy]:e})]),Do([a,"optionalAccess",l=>l.end,"call",l=>l(r)])}function YPe(){try{return Do([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch{return!1}}const GPe=2147483647;let HR=0,pr={},ss,$h;function KPe({recordClsStandaloneSpans:e}){const t=RT();if(t&&oo){t.mark&&tt.performance.mark("sentry-tracing-init");const n=o3e(),r=r3e(),o=i3e(),i=e?XPe():n3e();return()=>{n(),r(),o(),i&&i()}}return()=>{}}function JPe(){Ad("longtask",({entries:e})=>{if(Qn())for(const t of e){const n=Rn(oo+t.startTime),r=Rn(t.duration),o=Ts({name:"Main UI thread blocked",op:"ui.long-task",startTime:n,attributes:{[_n]:"auto.ui.browser.metrics"}});o&&o.end(n+r)}})}function e3e(){new PerformanceObserver(t=>{if(Qn())for(const n of t.getEntries()){if(!n.scripts[0])continue;const r=Rn(oo+n.startTime),o=Rn(n.duration),i={[_n]:"auto.ui.browser.metrics"},s=n.scripts[0],{invoker:a,invokerType:l,sourceURL:c,sourceFunctionName:u,sourceCharPosition:d}=s;i["browser.script.invoker"]=a,i["browser.script.invoker_type"]=l,c&&(i["code.filepath"]=c),u&&(i["code.function"]=u),d!==-1&&(i["browser.script.source_char_position"]=d);const f=Ts({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:r,attributes:i});f&&f.end(r+o)}}).observe({type:"long-animation-frame",buffered:!0})}function t3e(){Ad("event",({entries:e})=>{if(Qn()){for(const t of e)if(t.name==="click"){const n=Rn(oo+t.startTime),r=Rn(t.duration),o={name:ba(t.target),op:`ui.interaction.${t.name}`,startTime:n,attributes:{[_n]:"auto.ui.browser.metrics"}},i=dz(t.target);i&&(o.attributes["ui.component_name"]=i);const s=Ts(o);s&&s.end(n+r)}}})}function n3e(){return MT(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fo&&Se.log(`[Measurements] Adding CLS ${e.value}`),pr.cls={value:e.value,unit:""},$h=t)},!0)}function r3e(){return dj(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fo&&Se.log("[Measurements] Adding LCP"),pr.lcp={value:e.value,unit:"millisecond"},ss=t)},!0)}function o3e(){return fj(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Rn(oo),r=Rn(t.startTime);Fo&&Se.log("[Measurements] Adding FID"),pr.fid={value:e.value,unit:"millisecond"},pr["mark.fid"]={value:n+r,unit:"second"}})}function i3e(){return zPe(({metric:e})=>{e.entries[e.entries.length-1]&&(Fo&&Se.log("[Measurements] Adding TTFB"),pr.ttfb={value:e.value,unit:"millisecond"})})}function s3e(e,t){const n=RT();if(!n||!tt.performance.getEntries||!oo)return;Fo&&Se.log("[Tracing] Adding & adjusting spans using Performance API");const r=Rn(oo),o=n.getEntries(),{op:i,start_timestamp:s}=St(e);if(o.slice(HR).forEach(a=>{const l=Rn(a.startTime),c=Rn(Math.max(0,a.duration));if(!(i==="navigation"&&s&&r+l{$5e(l,c.value,c.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",vm()),f3e(e)}ss=void 0,$h=void 0,pr={}}function a3e(e,t,n,r,o){const i=ym(),s=Rn(i?i.requestStart:0),a=o+Math.max(n,s),l=o+n,c=l+r,u={[_n]:"auto.resource.browser.metrics"};return a!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=a),$d(e,a,c,{name:t.name,op:t.entryType,attributes:u}),a}function l3e(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Tg(e,t,r,n)}),Tg(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Tg(e,t,"fetch",n,"cache","domainLookupStart"),Tg(e,t,"domainLookup",n,"DNS"),c3e(e,t,n)}function Tg(e,t,n,r,o,i){const s=i?t[i]:t[`${n}End`],a=t[`${n}Start`];!a||!s||$d(e,r+Rn(a),r+Rn(s),{op:`browser.${o||n}`,name:t.name,attributes:{[_n]:"auto.ui.browser.metrics"}})}function c3e(e,t,n){const r=n+Rn(t.requestStart),o=n+Rn(t.responseEnd),i=n+Rn(t.responseStart);t.responseEnd&&($d(e,r,o,{op:"browser.request",name:t.name,attributes:{[_n]:"auto.ui.browser.metrics"}}),$d(e,i,o,{op:"browser.response",name:t.name,attributes:{[_n]:"auto.ui.browser.metrics"}}))}function u3e(e,t,n,r,o,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const s=xc(n),a={[_n]:"auto.resource.browser.metrics"};c1(a,t,"transferSize","http.response_transfer_size"),c1(a,t,"encodedBodySize","http.response_content_length"),c1(a,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus),s.protocol&&(a["url.scheme"]=s.protocol.split(":").pop()),s.host&&(a["server.address"]=s.host),a["url.same_origin"]=n.includes(tt.location.origin);const l=i+r,c=l+o;$d(e,l,c,{name:n.replace(tt.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:a})}function d3e(e){const t=tt.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),l1(n.rtt)&&(pr["connection.rtt"]={value:n.rtt,unit:"millisecond"})),l1(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),l1(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function f3e(e){ss&&(Fo&&Se.log("[Measurements] Adding LCP Data"),ss.element&&e.setAttribute("lcp.element",ba(ss.element)),ss.id&&e.setAttribute("lcp.id",ss.id),ss.url&&e.setAttribute("lcp.url",ss.url.trim().slice(0,200)),e.setAttribute("lcp.size",ss.size)),$h&&$h.sources&&(Fo&&Se.log("[Measurements] Adding CLS Data"),$h.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,ba(t.node))))}function c1(e,t,n,r){const o=t[n];o!=null&&o{const r=tt[n]&&tt[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(go(r,"addEventListener",function(o){return function(i,s,a){if(i==="click"||i=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},u=c[i]=c[i]||{refCount:0};if(!u.handler){const d=GR(e);u.handler=d,o.call(this,i,d,a)}u.refCount++}catch{}return o.call(this,i,s,a)}}),go(r,"removeEventListener",function(o){return function(i,s,a){if(i==="click"||i=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__||{},u=c[i];u&&(u.refCount--,u.refCount<=0&&(o.call(this,i,u.handler,a),u.handler=void 0,delete c[i]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return o.call(this,i,s,a)}}))})}function g3e(e){if(e.type!==ux)return!1;try{if(!e.target||e.target._sentryId!==dx)return!1}catch{}return!0}function b3e(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function GR(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=O3e(n);if(b3e(n.type,r))return;fi(n,"_sentryCaptured",!0),r&&!r._sentryId&&fi(r,"_sentryId",vn());const o=n.type==="keypress"?"input":n.type;g3e(n)||(e({event:n,name:o,global:t}),ux=n.type,dx=r?r._sentryId:void 0),clearTimeout(YR),YR=tt.setTimeout(()=>{dx=void 0,ux=void 0},p3e)}}function O3e(e){try{return e.target}catch{return null}}let Cg;function Fy(e){const t="history";Ql(t,e),Bl(t,y3e)}function y3e(){if(!t5e())return;const e=tt.onpopstate;tt.onpopstate=function(...n){const r=tt.location.href,o=Cg;if(Cg=r,ui("history",{from:o,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const o=r.length>2?r[2]:void 0;if(o){const i=Cg,s=String(o);Cg=s,ui("history",{from:i,to:s})}return n.apply(this,r)}}go(tt.history,"pushState",t),go(tt.history,"replaceState",t)}const yb={};function Oj(e){const t=yb[e];if(t)return t;let n=tt[e];if(Xk(n))return yb[e]=n.bind(tt);const r=tt.document;if(r&&typeof r.createElement=="function")try{const o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(o)}catch(o){Fo&&Se.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&&(yb[e]=n.bind(tt))}function KR(e){yb[e]=void 0}function Md(...e){return Oj("setTimeout")(...e)}const gc="__sentry_xhr_v3__";function yj(e){const t="xhr";Ql(t,e),Bl(t,v3e)}function v3e(){if(!tt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const o=Mr()*1e3,i=aa(r[0])?r[0].toUpperCase():void 0,s=w3e(r[1]);if(!i||!s)return t.apply(n,r);n[gc]={method:i,url:s,request_headers:{}},i==="POST"&&s.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const a=()=>{const l=n[gc];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const c={endTimestamp:Mr()*1e3,startTimestamp:o,xhr:n};ui("xhr",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,c,u){return a(),l.apply(c,u)}}):n.addEventListener("readystatechange",a),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,c,u){const[d,f]=u,h=c[gc];return h&&aa(d)&&aa(f)&&(h.request_headers[d.toLowerCase()]=f),l.apply(c,u)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const o=n[gc];if(!o)return t.apply(n,r);r[0]!==void 0&&(o.body=r[0]);const i={startTimestamp:Mr()*1e3,xhr:n};return ui("xhr",i),t.apply(n,r)}})}function w3e(e){if(aa(e))return e;try{return e.toString()}catch{}}const u1=[],vb=new Map;function S3e(){if(RT()&&oo){const t=_3e();return()=>{t()}}return()=>{}}const JR={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function _3e(){return hj(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(p=>p.duration===e.value&&JR[p.name]);if(!t)return;const{interactionId:n}=t,r=JR[t.name],o=Rn(oo+t.startTime),i=Rn(e.value),s=Qn(),a=s?ur(s):void 0,c=(n!=null?vb.get(n):void 0)||a,u=c?St(c).description:Vt().getScopeData().transactionName,d=ba(t.target),f=Gn({[_n]:"auto.http.browser.inp",[Wc]:`ui.interaction.${r}`,[xT]:t.duration}),h=gj({name:d,transaction:u,attributes:f,startTime:o});Do([h,"optionalAccess",p=>p.addEvent,"call",p=>p("inp",{[By]:"millisecond",[zy]:e.value})]),Do([h,"optionalAccess",p=>p.end,"call",p=>p(o+i)])})}function k3e(e){const t=({entries:n})=>{const r=Qn(),o=r&&ur(r);n.forEach(i=>{if(!VPe(i)||!o)return;const s=i.interactionId;if(s!=null&&!vb.has(s)){if(u1.length>10){const a=u1.shift();vb.delete(a)}u1.push(s),vb.set(s,o)}})};Ad("event",t),Ad("first-input",t)}function x3e(e,t=Oj("fetch")){let n=0,r=0;function o(i){const s=i.body.length;n+=s,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return KR("fetch"),nO("No fetch implementation available");try{return t(e.url,a).then(l=>(n-=s,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return KR("fetch"),n-=s,r--,nO(l)}}return wCe(e,o)}const E3e=30,T3e=50;function fx(e,t,n,r){const o={filename:e,function:t===""?jc:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}const C3e=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,P3e=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,A3e=/\((\S*)(?::(\d+))(?::(\d+))\)/,$3e=e=>{const t=C3e.exec(e);if(t){const[,r,o,i]=t;return fx(r,jc,+o,+i)}const n=P3e.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const s=A3e.exec(n[2]);s&&(n[2]=s[1],n[3]=s[2],n[4]=s[3])}const[o,i]=vj(n[1]||jc,n[2]);return fx(i,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},M3e=[E3e,$3e],R3e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,I3e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,L3e=e=>{const t=R3e.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=I3e.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],o=t[1]||jc;return[o,r]=vj(o,r),fx(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},N3e=[T3e,L3e],D3e=[M3e,N3e],Q3e=gz(...D3e),vj=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:jc,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Pg=1024,B3e="Breadcrumbs",z3e=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:B3e,setup(n){t.console&&bz(q3e(n)),t.dom&&bj(F3e(n,t.dom)),t.xhr&&yj(U3e(n)),t.fetch&&vz(Z3e(n)),t.history&&Fy(V3e(n)),t.sentry&&n.on("beforeSendEvent",W3e(n))}}},j3e=z3e;function W3e(e){return function(n){vt()===e&&Cl({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Ya(n)},{event:n})}}function F3e(e,t){return function(r){if(vt()!==e)return;let o,i,s=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Pg&&(ji&&Se.warn(`\`dom.maxStringLength\` cannot exceed ${Pg}, but a value of ${a} was configured. Sentry will use ${Pg} instead.`),a=Pg),typeof s=="string"&&(s=[s]);try{const c=r.event,u=X3e(c)?c.target:c;o=ba(u,{keyAttrs:s,maxStringLength:a}),i=dz(u)}catch{o=""}if(o.length===0)return;const l={category:`ui.${r.name}`,message:o};i&&(l.data={"ui.component_name":i}),Cl(l,{event:r.event,name:r.name,global:r.global})}}function q3e(e){return function(n){if(vt()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:vT(n.level),message:J0(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${J0(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Cl(r,{input:n.args,level:n.level})}}function U3e(e){return function(n){if(vt()!==e)return;const{startTimestamp:r,endTimestamp:o}=n,i=n.xhr[gc];if(!r||!o||!i)return;const{method:s,url:a,status_code:l,body:c}=i,u={method:s,url:a,status_code:l},d={xhr:n.xhr,input:c,startTimestamp:r,endTimestamp:o},f=cz(l);Cl({category:"xhr",data:u,type:"http",level:f},d)}}function Z3e(e){return function(n){if(vt()!==e)return;const{startTimestamp:r,endTimestamp:o}=n;if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const i=n.fetchData,s={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o};Cl({category:"fetch",data:i,level:"error",type:"http"},s)}else{const i=n.response,s={...n.fetchData,status_code:i&&i.status},a={input:n.args,response:i,startTimestamp:r,endTimestamp:o},l=cz(s.status_code);Cl({category:"fetch",data:s,type:"http",level:l},a)}}}function V3e(e){return function(n){if(vt()!==e)return;let r=n.from,o=n.to;const i=xc(ot.location.href);let s=r?xc(r):void 0;const a=xc(o);(!s||!s.path)&&(s=i),i.protocol===a.protocol&&i.host===a.host&&(o=a.relative),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),Cl({category:"navigation",data:{from:r,to:o}})}}function X3e(e){return!!e&&!!e.target}const H3e=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Y3e="BrowserApiErrors",G3e=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Y3e,setupOnce(){t.setTimeout&&go(ot,"setTimeout",e6),t.setInterval&&go(ot,"setInterval",e6),t.requestAnimationFrame&&go(ot,"requestAnimationFrame",J3e),t.XMLHttpRequest&&"XMLHttpRequest"in ot&&go(XMLHttpRequest.prototype,"send",eAe);const n=t.eventTarget;n&&(Array.isArray(n)?n:H3e).forEach(tAe)}}},K3e=G3e;function e6(e){return function(...t){const n=t[0];return t[0]=Pd(n,{mechanism:{data:{function:Oa(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function J3e(e){return function(t){return e.apply(this,[Pd(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Oa(e)},handled:!1,type:"instrument"}})])}}function eAe(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&go(n,o,function(i){const s={mechanism:{data:{function:o,handler:Oa(i)},handled:!1,type:"instrument"}},a=OT(i);return a&&(s.mechanism.data.handler=Oa(a)),Pd(i,s)})}),e.apply(this,t)}}function tAe(e){const t=ot,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(go(n,"addEventListener",function(r){return function(o,i,s){try{typeof i.handleEvent=="function"&&(i.handleEvent=Pd(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Oa(i),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[o,Pd(i,{mechanism:{data:{function:"addEventListener",handler:Oa(i),target:e},handled:!1,type:"instrument"}}),s])}}),go(n,"removeEventListener",function(r){return function(o,i,s){const a=i;try{const l=a&&a.__sentry_wrapped__;l&&r.call(this,o,l,s)}catch{}return r.call(this,o,a,s)}}))}const nAe="GlobalHandlers",rAe=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:nAe,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(iAe(n),t6("onerror")),t.onunhandledrejection&&(sAe(n),t6("onunhandledrejection"))}}},oAe=rAe;function iAe(e){Sz(t=>{const{stackParser:n,attachStacktrace:r}=wj();if(vt()!==e||nj())return;const{msg:o,url:i,line:s,column:a,error:l}=t,c=cAe(AT(n,l||o,void 0,r,!1),i,s,a);c.level="error",Xz(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function sAe(e){_z(t=>{const{stackParser:n,attachStacktrace:r}=wj();if(vt()!==e||nj())return;const o=aAe(t),i=bT(o)?lAe(o):AT(n,o,void 0,r,!0);i.level="error",Xz(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function aAe(e){if(bT(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function lAe(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function cAe(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=aa(t)&&t.length>0?t:uz();return l.length===0&&l.push({colno:c,filename:d,function:jc,in_app:!0,lineno:u}),e}function t6(e){ji&&Se.log(`Global Handler attached: ${e}`)}function wj(){const e=vt();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const uAe=()=>({name:"HttpContext",preprocessEvent(e){if(!ot.navigator&&!ot.location&&!ot.document)return;const t=e.request&&e.request.url||ot.location&&ot.location.href,{referrer:n}=ot.document||{},{userAgent:r}=ot.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}}),dAe="cause",fAe=5,hAe="LinkedErrors",pAe=(e={})=>{const t=e.limit||fAe,n=e.key||dAe;return{name:hAe,preprocessEvent(r,o,i){const s=i.getOptions();eTe(CT,s.stackParser,s.maxValueLength,n,t,r,o)}}},mAe=pAe;function Sj(e){return[RCe(),PCe(),K3e(),j3e(),oAe(),mAe(),YCe(),uAe()]}function gAe(e={}){const t={defaultIntegrations:Sj(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:ot.SENTRY_RELEASE&&ot.SENTRY_RELEASE.id?ot.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function bAe(){const e=typeof ot.window<"u"&&ot;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,o=ot.location&&ot.location.href||"",i=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],s=!!r&&ot===ot.top&&i.some(l=>o.startsWith(`${l}//`)),a=typeof e.nw<"u";return!!r&&!s&&!a}function OAe(e={}){const t=gAe(e);if(bAe()){Pa(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}ji&&(Oz()||Se.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:mTe(t.stackParser||Q3e),integrations:hCe(t),transport:t.transport||x3e},r=OCe(OPe,n);return t.autoSessionTracking&&yAe(),r}function yAe(){if(typeof ot.document>"u"){ji&&Se.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}NR({ignoreDuration:!0}),DR(),Fy(({from:e,to:t})=>{e!==void 0&&e!==t&&(NR({ignoreDuration:!0}),DR())})}const an=yt,IT="sentryReplaySession",vAe="replay_event",LT="Unable to send Replay",wAe=3e5,SAe=9e5,_Ae=5e3,kAe=5500,xAe=6e4,EAe=5e3,TAe=3,n6=15e4,Ag=5e3,CAe=3e3,PAe=300,NT=2e7,AAe=4999,$Ae=15e3,r6=36e5;function hx(e,t){return e??t()}function Sp(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}var qn;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(qn||(qn={}));function MAe(e){return e.nodeType===e.ELEMENT_NODE}function Mh(e){const t=Sp([e,"optionalAccess",n=>n.host]);return Sp([t,"optionalAccess",n=>n.shadowRoot])===e}function Rh(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function RAe(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function IAe(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function cO(e){try{const t=e.rules||e.cssRules;return t?RAe(Array.from(t,_j).join("")):null}catch{return null}}function _j(e){let t;if(NAe(e))try{t=cO(e.styleSheet)||IAe(e)}catch{}else if(DAe(e)&&e.selectorText.includes(":"))return LAe(e.cssText);return t||e.cssText}function LAe(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function NAe(e){return"styleSheet"in e}function DAe(e){return"selectorText"in e}class kj{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=Sp([this,"access",r=>r.getMeta,"call",r=>r(t),"optionalAccess",r=>r.id]);return hx(n,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const o=this.nodeMetaMap.get(r);o&&this.nodeMetaMap.set(n,o)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function QAe(){return new kj}function qy({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||n==="password"||t==="INPUT"&&!n&&e.text)}function _p({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function Rd(e){return e.toLowerCase()}function px(e){return e.toUpperCase()}const o6="__rrweb_original__";function BAe(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;rl!==0))return!1}return!0}function DT(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Rd(t):null}function uO(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function xj(e,t){let n;try{n=new URL(e,hx(t,()=>window.location.href))}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,o=n.pathname.match(r);return hx(Sp([o,"optionalAccess",i=>i[1]]),()=>null)}const i6={};function Ej(e){const t=i6[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(o)}catch{}return i6[e]=r.bind(window)}function mx(...e){return Ej("setTimeout")(...e)}function Tj(...e){return Ej("clearTimeout")(...e)}let zAe=1;const jAe=new RegExp("[^a-z0-9-_:]"),kp=-2;function QT(){return zAe++}function WAe(e){if(e instanceof HTMLFormElement)return"form";const t=Rd(e.tagName);return jAe.test(t)?"div":t}function FAe(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let gu,s6;const qAe=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,UAe=/^(?:[a-z+]+:)?\/\//i,ZAe=/^www\..*/i,VAe=/^(data:)([^,]*),(.*)/i;function dO(e,t){return(e||"").replace(qAe,(n,r,o,i,s,a)=>{const l=o||s||a,c=r||i||"";if(!l)return n;if(UAe.test(l)||ZAe.test(l))return`url(${c}${l}${c})`;if(VAe.test(l))return`url(${c}${l}${c})`;if(l[0]==="/")return`url(${c}${FAe(t)+l}${c})`;const u=t.split("/"),d=l.split("/");u.pop();for(const f of d)f!=="."&&(f===".."?u.pop():u.push(f));return`url(${c}${u.join("/")}${c})`})}const XAe=/^[^ \t\n\r\u000c]+/,HAe=/^[, \t\n\r\u000c]+/;function YAe(e,t){if(t.trim()==="")return t;let n=0;function r(i){let s;const a=i.exec(t.substring(n));return a?(s=a[0],n+=s.length,s):""}const o=[];for(;r(HAe),!(n>=t.length);){let i=r(XAe);if(i.slice(-1)===",")i=Ru(e,i.substring(0,i.length-1)),o.push(i);else{let s="";i=Ru(e,i);let a=!1;for(;;){const l=t.charAt(n);if(l===""){o.push((i+s).trim());break}else if(a)l===")"&&(a=!1);else if(l===","){n+=1,o.push((i+s).trim());break}else l==="("&&(a=!0);s+=l,n+=1}}}return o.join(", ")}const a6=new WeakMap;function Ru(e,t){return!t||t.trim()===""?t:Uy(e,t)}function GAe(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Uy(e,t){let n=a6.get(e);if(n||(n=e.createElement("a"),a6.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function Cj(e,t,n,r,o,i){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?Ru(e,r):n==="srcset"?YAe(e,r):n==="style"?dO(r,Uy(e)):t==="object"&&n==="data"?Ru(e,r):typeof i=="function"?i(n,r,o):r)}function Pj(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function KAe(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let o=e.classList.length;o--;){const i=e.classList[o];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function JAe(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function bc(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:bc(e.parentNode,t,n,r+1)}function Iu(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(JAe(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Id(e,t,n,r,o,i){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(s===null)return!1;if(s.tagName==="INPUT"){const c=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(c))return!0}let a=-1,l=-1;if(i){if(l=bc(s,Iu(r,o)),l<0)return!0;a=bc(s,Iu(t,n),l>=0?l:1/0)}else{if(a=bc(s,Iu(t,n)),a<0)return!1;l=bc(s,Iu(r,o),a>=0?a:1/0)}return a>=0?l>=0?a<=l:!0:l>=0?!1:!!i}catch{}return!!i}function e$e(e,t,n){const r=e.contentWindow;if(!r)return;let o=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const a=mx(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{Tj(a),o=!0,t()});return}const s="about:blank";if(r.location.href!==s||e.src===s||e.src==="")return mx(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function t$e(e,t,n){let r=!1,o;try{o=e.sheet}catch{return}if(o)return;const i=mx(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{Tj(i),r=!0,t()})}function n$e(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:O,dataURLOptions:g={},inlineImages:b,recordCanvas:v,keepIframeSrcFn:y,newlyAddedElement:w=!1}=t,S=r$e(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:qn.Document,childNodes:[],compatMode:e.compatMode}:{type:qn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:qn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return i$e(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:s,inlineStylesheet:h,maskAttributeFn:l,maskInputOptions:p,maskInputFn:O,dataURLOptions:g,inlineImages:b,recordCanvas:v,keepIframeSrcFn:y,newlyAddedElement:w,rootId:S,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return o$e(e,{doc:n,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:m,maskInputOptions:p,maskInputFn:O,rootId:S});case e.CDATA_SECTION_NODE:return{type:qn.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:qn.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function r$e(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function o$e(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let f=e.textContent;const h=d==="STYLE"?!0:void 0,p=d==="SCRIPT"?!0:void 0,m=d==="TEXTAREA"?!0:void 0;if(h&&f){try{e.nextSibling||e.previousSibling||Sp([e,"access",g=>g.parentNode,"access",g=>g.sheet,"optionalAccess",g=>g.cssRules])&&(f=cO(e.parentNode.sheet))}catch(g){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${g}`,e)}f=dO(f,Uy(t.doc))}p&&(f="SCRIPT_PLACEHOLDER");const O=Id(e,r,i,o,s,n);if(!h&&!p&&!m&&f&&O&&(f=a?a(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(l.textarea||O)&&(f=c?c(f,e.parentNode):f.replace(/[\S]/g,"*")),d==="OPTION"&&f){const g=qy({type:null,tagName:d,maskInputOptions:l});f=_p({isMasked:Id(e,r,i,o,s,g),element:e,value:f,maskInputFn:c})}return{type:qn.Text,textContent:f||"",isStyle:h,rootId:u}}function i$e(e,t){const{doc:n,blockClass:r,blockSelector:o,unblockSelector:i,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:l,maskInputFn:c,dataURLOptions:u={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskAllText:O,maskTextClass:g,unmaskTextClass:b,maskTextSelector:v,unmaskTextSelector:y}=t,w=KAe(e,r,o,i),S=WAe(e);let _={};const T=e.attributes.length;for(let C=0;CE.href===e.href);let $=null;C&&($=cO(C)),$&&(delete _.rel,delete _.href,_._cssText=dO($,C.href))}if(S==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const C=cO(e.sheet);C&&(_._cssText=dO(C,Uy(n)))}if(S==="input"||S==="textarea"||S==="select"||S==="option"){const C=e,$=DT(C),E=uO(C,px(S),$),Q=C.checked;if($!=="submit"&&$!=="button"&&E){const X=Id(C,g,v,b,y,qy({type:$,tagName:px(S),maskInputOptions:a}));_.value=_p({isMasked:X,element:C,value:E,maskInputFn:c})}Q&&(_.checked=Q)}if(S==="option"&&(e.selected&&!a.select?_.selected=!0:delete _.selected),S==="canvas"&&f){if(e.__context==="2d")BAe(e)||(_.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const C=e.toDataURL(u.type,u.quality),$=n.createElement("canvas");$.width=e.width,$.height=e.height;const E=$.toDataURL(u.type,u.quality);C!==E&&(_.rr_dataURL=C)}}if(S==="img"&&d){gu||(gu=n.createElement("canvas"),s6=gu.getContext("2d"));const C=e,$=C.currentSrc||C.getAttribute("src")||"",E=C.crossOrigin,Q=()=>{C.removeEventListener("load",Q);try{gu.width=C.naturalWidth,gu.height=C.naturalHeight,s6.drawImage(C,0,0),_.rr_dataURL=gu.toDataURL(u.type,u.quality)}catch(X){if(C.crossOrigin!=="anonymous"){C.crossOrigin="anonymous",C.complete&&C.naturalWidth!==0?Q():C.addEventListener("load",Q);return}else console.warn(`Cannot inline img src=${$}! Error: ${X}`)}C.crossOrigin==="anonymous"&&(E?_.crossOrigin=E:C.removeAttribute("crossorigin"))};C.complete&&C.naturalWidth!==0?Q():C.addEventListener("load",Q)}if((S==="audio"||S==="video")&&(_.rr_mediaState=e.paused?"paused":"played",_.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(_.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(_.rr_scrollTop=e.scrollTop)),w){const{width:C,height:$}=e.getBoundingClientRect();_={class:_.class,rr_width:`${C}px`,rr_height:`${$}px`}}S==="iframe"&&!h(_.src)&&(!w&&!e.contentDocument&&(_.rr_src=_.src),delete _.src);let A;try{customElements.get(S)&&(A=!0)}catch{}return{type:qn.Element,tagName:S,attributes:_,childNodes:[],isSVG:GAe(e)||void 0,needBlock:w,rootId:m,isCustom:A}}function rn(e){return e==null?"":e.toLowerCase()}function s$e(e,t){if(t.comment&&e.type===qn.Comment)return!0;if(e.type===qn.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&xj(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(rn(e.attributes.name).match(/^msapplication-tile(image|color)$/)||rn(e.attributes.name)==="application-name"||rn(e.attributes.rel)==="icon"||rn(e.attributes.rel)==="apple-touch-icon"||rn(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&rn(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(rn(e.attributes.property).match(/^(og|twitter|fb):/)||rn(e.attributes.name).match(/^(og|twitter):/)||rn(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(rn(e.attributes.name)==="robots"||rn(e.attributes.name)==="googlebot"||rn(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(rn(e.attributes.name)==="author"||rn(e.attributes.name)==="generator"||rn(e.attributes.name)==="framework"||rn(e.attributes.name)==="publisher"||rn(e.attributes.name)==="progid"||rn(e.attributes.property).match(/^article:/)||rn(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(rn(e.attributes.name)==="google-site-verification"||rn(e.attributes.name)==="yandex-verification"||rn(e.attributes.name)==="csrf-token"||rn(e.attributes.name)==="p:domain_verify"||rn(e.attributes.name)==="verify-v1"||rn(e.attributes.name)==="verification"||rn(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Lu(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOMOptions:b,dataURLOptions:v={},inlineImages:y=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:T=5e3,onStylesheetLoad:A,stylesheetLoadTimeout:C=5e3,keepIframeSrcFn:$=()=>!1,newlyAddedElement:E=!1}=t;let{preserveWhiteSpace:Q=!0}=t;const X=n$e(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,dataURLOptions:v,inlineImages:y,recordCanvas:w,keepIframeSrcFn:$,newlyAddedElement:E});if(!X)return console.warn(e,"not serialized"),null;let Y;r.hasNode(e)?Y=r.getId(e):s$e(X,b)||!Q&&X.type===qn.Text&&!X.isStyle&&!X.textContent.replace(/^\s+|\s+$/gm,"").length?Y=kp:Y=QT();const B=Object.assign(X,{id:Y});if(r.add(e,B),Y===kp)return null;S&&S(e);let ee=!f;if(B.type===qn.Element){ee=ee&&!B.needBlock,delete B.needBlock;const te=e.shadowRoot;te&&Rh(te)&&(B.isShadowHost=!0)}if((B.type===qn.Document||B.type===qn.Element)&&ee){b.headWhitespace&&B.type===qn.Element&&B.tagName==="head"&&(Q=!1);const te={doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOMOptions:b,dataURLOptions:v,inlineImages:y,recordCanvas:w,preserveWhiteSpace:Q,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:T,onStylesheetLoad:A,stylesheetLoadTimeout:C,keepIframeSrcFn:$};for(const ye of Array.from(e.childNodes)){const ve=Lu(ye,te);ve&&B.childNodes.push(ve)}if(MAe(e)&&e.shadowRoot)for(const ye of Array.from(e.shadowRoot.childNodes)){const ve=Lu(ye,te);ve&&(Rh(e.shadowRoot)&&(ve.isShadow=!0),B.childNodes.push(ve))}}return e.parentNode&&Mh(e.parentNode)&&Rh(e.parentNode)&&(B.isShadow=!0),B.type===qn.Element&&B.tagName==="iframe"&&e$e(e,()=>{const te=e.contentDocument;if(te&&_){const ye=Lu(te,{doc:te,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOMOptions:b,dataURLOptions:v,inlineImages:y,recordCanvas:w,preserveWhiteSpace:Q,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:T,onStylesheetLoad:A,stylesheetLoadTimeout:C,keepIframeSrcFn:$});ye&&_(e,ye)}},T),B.type===qn.Element&&B.tagName==="link"&&typeof B.attributes.rel=="string"&&(B.attributes.rel==="stylesheet"||B.attributes.rel==="preload"&&typeof B.attributes.href=="string"&&xj(B.attributes.href)==="css")&&t$e(e,()=>{if(A){const te=Lu(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOMOptions:b,dataURLOptions:v,inlineImages:y,recordCanvas:w,preserveWhiteSpace:Q,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:T,onStylesheetLoad:A,stylesheetLoadTimeout:C,keepIframeSrcFn:$});te&&A(e,te)}},C),B}function a$e(e,t){const{mirror:n=new kj,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOM:b=!1,dataURLOptions:v,preserveWhiteSpace:y,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:_,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:C=()=>!1}=t||{};return Lu(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:s,maskTextClass:a,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:p===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:p===!1?{}:p,maskAttributeFn:m,maskTextFn:O,maskInputFn:g,slimDOMOptions:b===!0||b==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:b==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:b===!1?{}:b,dataURLOptions:v,inlineImages:f,recordCanvas:h,preserveWhiteSpace:y,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:_,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:C,newlyAddedElement:!1})}function Ga(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}function Yr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const ku=`Please stop import mirror directly. Instead of that,\r now you can use replayer.getMirror() to access the mirror instance of a replayer,\r or you can use record.mirror to access the mirror instance during recording.`;let l6={map:{},getId(){return console.error(ku),-1},getNode(){return console.error(ku),null},removeNodeFromMap(){console.error(ku)},has(){return console.error(ku),!1},reset(){console.error(ku)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(l6=new Proxy(l6,{get(e,t,n){return t==="map"&&console.error(ku),Reflect.get(e,t,n)}}));function xp(e,t,n={}){let r=null,o=0;return function(...i){const s=Date.now();!o&&n.leading===!1&&(o=s);const a=t-(s-o),l=this;a<=0||a>t?(r&&(p$e(r),r=null),o=s,e.apply(l,i)):!r&&n.trailing!==!1&&(r=Zy(()=>{o=n.leading===!1?0:Date.now(),r=null,e.apply(l,i)},a))}}function Aj(e,t,n,r,o=window){const i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(s){Zy(()=>{n.set.call(this,s)},0),i&&i.set&&i.set.call(this,s)}}),()=>Aj(e,t,i||{},!0)}function BT(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return typeof o=="function"&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch{return()=>{}}}let fO=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(fO=()=>new Date().getTime());function $j(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:Ga([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||Ga([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||Ga([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:Ga([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||Ga([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||Ga([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function Mj(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Rj(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Ij(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function Mo(e,t,n,r,o){if(!e)return!1;const i=Ij(e);if(!i)return!1;const s=Iu(t,n);if(!o){const c=r&&i.matches(r);return s(i)&&!c}const a=bc(i,s);let l=-1;return a<0?!1:(r&&(l=bc(i,Iu(null,r))),a>-1&&l<0?!0:a{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function Nj(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Dj(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function bx(e){return!!Ga([e,"optionalAccess",t=>t.shadowRoot])}class u$e{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return e5e(this.styleIDMap.get(t),()=>-1)}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Qj(e){let t=null;return Ga([e,"access",n=>n.getRootNode,"optionalCall",n=>n(),"optionalAccess",n=>n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function d$e(e){let t=e,n;for(;n=Qj(t);)t=n;return t}function f$e(e){const t=e.ownerDocument;if(!t)return!1;const n=d$e(e);return t.contains(n)}function Bj(e){const t=e.ownerDocument;return t?t.contains(e)||f$e(e):!1}const c6={};function zT(e){const t=c6[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(o)}catch{}return c6[e]=r.bind(window)}function h$e(...e){return zT("requestAnimationFrame")(...e)}function Zy(...e){return zT("setTimeout")(...e)}function p$e(...e){return zT("clearTimeout")(...e)}var gt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(gt||{}),nt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(nt||{}),Fr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Fr||{}),js=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(js||{});function m$e(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}function u6(e){return"__ln"in e}class g$e{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;ro.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&u6(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&u6(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const d6=(e,t)=>`${e}@${t}`;class b$e{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new g$e,o=l=>{let c=l,u=kp;for(;u===kp;)c=c&&c.nextSibling,u=c&&this.mirror.getId(c);return u},i=l=>{if(!l.parentNode||!Bj(l))return;const c=Mh(l.parentNode)?this.mirror.getId(Qj(l)):this.mirror.getId(l.parentNode),u=o(l);if(c===-1||u===-1)return r.addNode(l);const d=Lu(l,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:f=>{Nj(f,this.mirror)&&!Mo(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(f),Dj(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),bx(l)&&this.shadowDomManager.addShadowRoot(l.shadowRoot,this.doc)},onIframeLoad:(f,h)=>{Mo(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(f,h),f.contentWindow&&this.canvasManager.addWindow(f.contentWindow),this.shadowDomManager.observeAttachShadow(f))},onStylesheetLoad:(f,h)=>{this.stylesheetManager.attachLinkElement(f,h)}});d&&(t.push({parentId:c,nextId:u,node:d}),n.add(d.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const l of this.movedSet)f6(this.removes,l,this.mirror)&&!this.movedSet.has(l.parentNode)||i(l);for(const l of this.addedSet)!h6(this.droppedSet,l)&&!f6(this.removes,l,this.mirror)||h6(this.movedSet,l)?i(l):this.droppedSet.add(l);let s=null;for(;r.length;){let l=null;if(s){const c=this.mirror.getId(s.value.parentNode),u=o(s.value);c!==-1&&u!==-1&&(l=s)}if(!l){let c=r.tail;for(;c;){const u=c;if(c=c.previous,u){const d=this.mirror.getId(u.value.parentNode);if(o(u.value)===-1)continue;if(d!==-1){l=u;break}else{const h=u.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const p=h.parentNode.host;if(this.mirror.getId(p)!==-1){l=u;break}}}}}}if(!l){for(;r.head;)r.removeNode(r.head.value);break}s=l.previous,r.removeNode(l.value),i(l.value)}const a={texts:this.texts.map(l=>({id:this.mirror.getId(l.node),value:l.value})).filter(l=>!n.has(l.id)).filter(l=>this.mirror.has(l.id)),attributes:this.attributes.map(l=>{const{attributes:c}=l;if(typeof c.style=="string"){const u=JSON.stringify(l.styleDiff),d=JSON.stringify(l._unchangedStyles);u.length!n.has(l.id)).filter(l=>this.mirror.has(l.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!d1(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Mo(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Id(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,Ij(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,o=t.target.getAttribute(r);if(r==="value"){const s=DT(n),a=n.tagName;o=uO(n,a,s);const l=qy({maskInputOptions:this.maskInputOptions,tagName:a,type:s}),c=Id(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,l);o=_p({isMasked:c,element:n,value:o,maskInputFn:this.maskInputFn})}if(Mo(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||o===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(o))if(!n.contentDocument)r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!Pj(n.tagName,r)&&(i.attributes[r]=Cj(this.doc,Rd(n.tagName),Rd(r),o,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const s=this.unattachedDoc.createElement("span");t.oldValue&&s.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const l=n.style.getPropertyValue(a),c=n.style.getPropertyPriority(a);l!==s.style.getPropertyValue(a)||c!==s.style.getPropertyPriority(a)?c===""?i.styleDiff[a]=l:i.styleDiff[a]=[l,c]:i._unchangedStyles[a]=[l,c]}for(const a of Array.from(s.style))n.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(Mo(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),o=Mh(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Mo(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||d1(n,this.mirror)||!l$e(n,this.mirror)||(this.addedSet.has(n)?(Ox(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||Lj(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[d6(r,o)]?Ox(this.movedSet,n):this.removes.push({parentId:o,id:r,isShadow:Mh(t.target)&&Rh(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(d1(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[d6(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Mo(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=>this.genAdds(r)),bx(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Ox(e,t){e.delete(t),t.childNodes.forEach(n=>Ox(e,n))}function f6(e,t,n){return e.length===0?!1:O$e(e,t,n)}function O$e(e,t,n){let r=t.parentNode;for(;r;){const o=n.getId(r);if(e.some(i=>i.id===o))return!0;r=r.parentNode}return!1}function h6(e,t){return e.size===0?!1:zj(e,t)}function zj(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:zj(e,n):!1}let Ih;function y$e(e){Ih=e}function v$e(){Ih=void 0}const xt=e=>Ih?(...n)=>{try{return e(...n)}catch(r){if(Ih&&Ih(r)===!0)return()=>{};throw r}}:e;function ki(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}const Nu=[];function km(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function jj(e,t){const n=new b$e;Nu.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const o=ki([window,"optionalAccess",s=>s.Zone,"optionalAccess",s=>s.__symbol__,"optionalCall",s=>s("MutationObserver")]);o&&window[o]&&(r=window[o]);const i=new r(xt(s=>{e.onMutation&&e.onMutation(s)===!1||n.processMutations.bind(n)(s)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function w$e({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const o=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let s=[],a;const l=xp(xt(d=>{const f=Date.now()-a;e(s.map(h=>(h.timeOffset-=f,h)),d),s=[],a=null}),i),c=xt(xp(xt(d=>{const f=km(d),{clientX:h,clientY:p}=gx(d)?d.changedTouches[0]:d;a||(a=fO()),s.push({x:h,y:p,id:r.getId(f),timeOffset:fO()-a}),l(typeof DragEvent<"u"&&d instanceof DragEvent?nt.Drag:d instanceof MouseEvent?nt.MouseMove:nt.TouchMove)}),o,{trailing:!1})),u=[Yr("mousemove",c,n),Yr("touchmove",c,n),Yr("drag",c,n)];return xt(()=>{u.forEach(d=>d())})}function S$e({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,l=[];let c=null;const u=d=>f=>{const h=km(f);if(Mo(h,r,o,i,!0))return;let p=null,m=d;if("pointerType"in f){switch(f.pointerType){case"mouse":p=js.Mouse;break;case"touch":p=js.Touch;break;case"pen":p=js.Pen;break}p===js.Touch?Fr[d]===Fr.MouseDown?m="TouchStart":Fr[d]===Fr.MouseUp&&(m="TouchEnd"):js.Pen}else gx(f)&&(p=js.Touch);p!==null?(c=p,(m.startsWith("Touch")&&p===js.Touch||m.startsWith("Mouse")&&p===js.Mouse)&&(p=null)):Fr[d]===Fr.Click&&(p=c,c=null);const O=gx(f)?f.changedTouches[0]:f;if(!O)return;const g=n.getId(h),{clientX:b,clientY:v}=O;xt(e)({type:Fr[m],id:g,x:b,y:v,...p!==null&&{pointerType:p}})};return Object.keys(Fr).filter(d=>Number.isNaN(Number(d))&&!d.endsWith("_Departed")&&a[d]!==!1).forEach(d=>{let f=Rd(d);const h=u(d);if(window.PointerEvent)switch(Fr[d]){case Fr.MouseDown:case Fr.MouseUp:f=f.replace("mouse","pointer");break;case Fr.TouchStart:case Fr.TouchEnd:return}l.push(Yr(f,h,t))}),xt(()=>{l.forEach(d=>d())})}function Wj({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:s}){const a=xt(xp(xt(l=>{const c=km(l);if(!c||Mo(c,r,o,i,!0))return;const u=n.getId(c);if(c===t&&t.defaultView){const d=$j(t.defaultView);e({id:u,x:d.left,y:d.top})}else e({id:u,x:c.scrollLeft,y:c.scrollTop})}),s.scroll||100));return Yr("scroll",a,t)}function _$e({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const o=xt(xp(xt(()=>{const i=Mj(),s=Rj();(n!==i||r!==s)&&(e({width:Number(s),height:Number(i)}),n=i,r=s)}),200));return Yr("resize",o,t)}const k$e=["INPUT","TEXTAREA","SELECT"],p6=new WeakMap;function x$e({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:s,ignoreSelector:a,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function O(_){let T=km(_);const A=_.isTrusted,C=T&&px(T.tagName);if(C==="OPTION"&&(T=T.parentElement),!T||!C||k$e.indexOf(C)<0||Mo(T,r,o,i,!0))return;const $=T;if($.classList.contains(s)||a&&$.matches(a))return;const E=DT(T);let Q=uO($,C,E),X=!1;const Y=qy({maskInputOptions:l,tagName:C,type:E}),B=Id(T,f,p,h,m,Y);(E==="radio"||E==="checkbox")&&(X=T.checked),Q=_p({isMasked:B,element:T,value:Q,maskInputFn:c}),g(T,d?{text:Q,isChecked:X,userTriggered:A}:{text:Q,isChecked:X});const ee=T.name;E==="radio"&&ee&&X&&t.querySelectorAll(`input[type="radio"][name="${ee}"]`).forEach(te=>{if(te!==T){const ye=_p({isMasked:B,element:te,value:uO(te,C,E),maskInputFn:c});g(te,d?{text:ye,isChecked:!X,userTriggered:!1}:{text:ye,isChecked:!X})}})}function g(_,T){const A=p6.get(_);if(!A||A.text!==T.text||A.isChecked!==T.isChecked){p6.set(_,T);const C=n.getId(_);xt(e)({...T,id:C})}}const v=(u.input==="last"?["change"]:["input","change"]).map(_=>Yr(_,xt(O),t)),y=t.defaultView;if(!y)return()=>{v.forEach(_=>_())};const w=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,"value"),S=[[y.HTMLInputElement.prototype,"value"],[y.HTMLInputElement.prototype,"checked"],[y.HTMLSelectElement.prototype,"value"],[y.HTMLTextAreaElement.prototype,"value"],[y.HTMLSelectElement.prototype,"selectedIndex"],[y.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&v.push(...S.map(_=>Aj(_[0],_[1],{set(){xt(O)({target:this,isTrusted:!1})}},!1,y))),xt(()=>{v.forEach(_=>_())})}function hO(e){const t=[];function n(r,o){if($g("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||$g("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||$g("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||$g("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const s=Array.from(r.parentRule.cssRules).indexOf(r);o.unshift(s)}else if(r.parentStyleSheet){const s=Array.from(r.parentStyleSheet.cssRules).indexOf(r);o.unshift(s)}return o}return n(e,t)}function Ka(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function E$e({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:xt((u,d,f)=>{const[h,p]=f,{id:m,styleId:O}=Ka(d,t,n.styleMirror);return(m&&m!==-1||O&&O!==-1)&&e({id:m,styleId:O,adds:[{rule:h,index:p}]}),u.apply(d,f)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:xt((u,d,f)=>{const[h]=f,{id:p,styleId:m}=Ka(d,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,removes:[{index:h}]}),u.apply(d,f)})});let s;r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:xt((u,d,f)=>{const[h]=f,{id:p,styleId:m}=Ka(d,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replace:h}),u.apply(d,f)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:xt((u,d,f)=>{const[h]=f,{id:p,styleId:m}=Ka(d,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replaceSync:h}),u.apply(d,f)})}));const l={};Mg("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(Mg("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),Mg("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),Mg("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(l).forEach(([u,d])=>{c[u]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(c[u].insertRule,{apply:xt((f,h,p)=>{const[m,O]=p,{id:g,styleId:b}=Ka(h.parentStyleSheet,t,n.styleMirror);return(g&&g!==-1||b&&b!==-1)&&e({id:g,styleId:b,adds:[{rule:m,index:[...hO(h),O||0]}]}),f.apply(h,p)})}),d.prototype.deleteRule=new Proxy(c[u].deleteRule,{apply:xt((f,h,p)=>{const[m]=p,{id:O,styleId:g}=Ka(h.parentStyleSheet,t,n.styleMirror);return(O&&O!==-1||g&&g!==-1)&&e({id:O,styleId:g,removes:[{index:[...hO(h),m]}]}),f.apply(h,p)})})}),xt(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=i,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(l).forEach(([u,d])=>{d.prototype.insertRule=c[u].insertRule,d.prototype.deleteRule=c[u].deleteRule})})}function Fj({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const o=n.nodeName==="#document"?ki([n,"access",s=>s.defaultView,"optionalAccess",s=>s.Document]):ki([n,"access",s=>s.ownerDocument,"optionalAccess",s=>s.defaultView,"optionalAccess",s=>s.ShadowRoot]),i=ki([o,"optionalAccess",s=>s.prototype])?Object.getOwnPropertyDescriptor(ki([o,"optionalAccess",s=>s.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!o||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return ki([i,"access",s=>s.get,"optionalAccess",s=>s.call,"call",s=>s(this)])},set(s){const a=ki([i,"access",l=>l.set,"optionalAccess",l=>l.call,"call",l=>l(this,s)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(s,r)}catch{}return a}}),xt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function T$e({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){const i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:xt((a,l,c)=>{const[u,d,f]=c;if(n.has(u))return i.apply(l,[u,d,f]);const{id:h,styleId:p}=Ka(ki([l,"access",m=>m.parentRule,"optionalAccess",m=>m.parentStyleSheet]),t,r.styleMirror);return(h&&h!==-1||p&&p!==-1)&&e({id:h,styleId:p,set:{property:u,value:d,priority:f},index:hO(l.parentRule)}),a.apply(l,c)})});const s=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:xt((a,l,c)=>{const[u]=c;if(n.has(u))return s.apply(l,[u]);const{id:d,styleId:f}=Ka(ki([l,"access",h=>h.parentRule,"optionalAccess",h=>h.parentStyleSheet]),t,r.styleMirror);return(d&&d!==-1||f&&f!==-1)&&e({id:d,styleId:f,remove:{property:u},index:hO(l.parentRule)}),a.apply(l,c)})}),xt(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=s})}function C$e({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:s}){const a=xt(c=>xp(xt(u=>{const d=km(u);if(!d||Mo(d,t,n,r,!0))return;const{currentTime:f,volume:h,muted:p,playbackRate:m}=d;e({type:c,id:o.getId(d),currentTime:f,volume:h,muted:p,playbackRate:m})}),i.media||500)),l=[Yr("play",a(0),s),Yr("pause",a(1),s),Yr("seeked",a(2),s),Yr("volumechange",a(3),s),Yr("ratechange",a(4),s)];return xt(()=>{l.forEach(c=>c())})}function P$e({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],o=new WeakMap,i=n.FontFace;n.FontFace=function(l,c,u){const d=new i(l,c,u);return o.set(d,{family:l,buffer:typeof c!="string",descriptors:u,fontSource:typeof c=="string"?c:JSON.stringify(Array.from(new Uint8Array(c)))}),d};const s=BT(t.fonts,"add",function(a){return function(l){return Zy(xt(()=>{const c=o.get(l);c&&(e(c),o.delete(l))}),0),a.apply(this,[l])}});return r.push(()=>{n.FontFace=i}),r.push(s),xt(()=>{r.forEach(a=>a())})}function A$e(e){const{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:s}=e;let a=!0;const l=xt(()=>{const c=t.getSelection();if(!c||a&&ki([c,"optionalAccess",f=>f.isCollapsed]))return;a=c.isCollapsed||!1;const u=[],d=c.rangeCount||0;for(let f=0;f{}:BT(n.customElements,"define",function(o){return function(i,s,a){try{t({define:{name:i}})}catch{}return o.apply(this,[i,s,a])}})}function M$e(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=jj(e,e.doc));const o=w$e(e),i=S$e(e),s=Wj(e),a=_$e(e,{win:n}),l=x$e(e),c=C$e(e);let u=()=>{},d=()=>{},f=()=>{},h=()=>{};e.recordDOM&&(u=E$e(e,{win:n}),d=Fj(e,e.doc),f=T$e(e,{win:n}),e.collectFonts&&(h=P$e(e)));const p=A$e(e),m=$$e(e),O=[];for(const g of e.plugins)O.push(g.observer(g.callback,n,g.options));return xt(()=>{Nu.forEach(g=>g.reset()),ki([r,"optionalAccess",g=>g.disconnect,"call",g=>g()]),o(),i(),s(),a(),l(),c(),u(),d(),f(),h(),p(),m(),O.forEach(g=>g())})}function $g(e){return typeof window[e]<"u"}function Mg(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class yx{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,o){const i=r||this.getIdToRemoteIdMap(t),s=o||this.getRemoteIdToIdMap(t);let a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),s.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),o=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,o))}getRemoteId(t,n,r){const o=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=o.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(o=>this.getRemoteId(t,o,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function m6(e){let t,n=e[0],r=1;for(;rn.call(t,...s)),t=void 0)}return n}class R$e{constructor(){this.crossOriginIframeMirror=new yx(QT),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class I$e{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new yx(QT),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new yx(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),m6([this,"access",r=>r.loadListener,"optionalCall",r=>r(t)]),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const o=this.crossOriginIframeMap.get(t.source);if(!o)return;const i=this.transformCrossOriginEvent(o,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case gt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:gt.IncrementalSnapshot,data:{source:nt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case gt.Meta:case gt.Load:case gt.DomContentLoaded:return!1;case gt.Plugin:return n;case gt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case gt.IncrementalSnapshot:switch(n.data.source){case nt.Mutation:return n.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);const o=this.crossOriginIframeRootIdMap.get(t);o&&this.patchRootIdOnNode(r.node,o)}),n.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case nt.Drag:case nt.TouchMove:case nt.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case nt.ViewportResize:return!1;case nt.MediaInteraction:case nt.MouseInteraction:case nt.Scroll:case nt.CanvasMutation:case nt.Input:return this.replaceIds(n.data,t,["id"]),n;case nt.StyleSheetRule:case nt.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case nt.Font:return n;case nt.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case nt.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),m6([n,"access",r=>r.data,"access",r=>r.styles,"optionalAccess",r=>r.forEach,"call",r=>r(o=>{this.replaceStyleIds(o,t,["styleId"])})]),n}}return!1}replace(t,n,r,o){for(const i of o)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==qn.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class L$e{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class N$e{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Rh(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=jj({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(Wj({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),Zy(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Fj({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(BT(t.prototype,"attachShadow",function(o){return function(i){const s=o.call(this,i);return this.shadowRoot&&Bj(this)&&r.addShadowRoot(this.shadowRoot,n),s}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class g6{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class D$e{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new u$e,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},o=[];for(const i of t){let s;this.styleMirror.has(i)?s=this.styleMirror.getId(i):(s=this.styleMirror.add(i),o.push({styleId:s,rules:Array.from(i.rules||CSSRule,(a,l)=>({rule:_j(a),index:l}))})),r.styleIds.push(s)}o.length>0&&(r.styles=o),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class Q$e{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(o=>o!==n)}add(t,n){this.active||(this.active=!0,h$e(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let kn,pO;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=Do([e,"access",t=>t.contentWindow,"optionalAccess",t=>t.Array,"access",t=>t.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const wi=QAe();function ca(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:l=null,maskAllText:c=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:O,slimDOMOptions:g,maskAttributeFn:b,maskInputFn:v,maskTextFn:y,maxCanvasSize:w=null,packFn:S,sampling:_={},dataURLOptions:T={},mousemoveWait:A,recordDOM:C=!0,recordCanvas:$=!1,recordCrossOriginIframes:E=!1,recordAfter:Q=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:X=!1,collectFonts:Y=!1,inlineImages:B=!1,plugins:ee,keepIframeSrcFn:te=()=>!1,ignoreCSSAttributes:ye=new Set([]),errorHandler:ve,onMutation:pe,getCanvasManager:de}=e;y$e(ve);const V=E?window.parent===window:!0;let ue=!1;if(!V)try{window.parent.document&&(ue=!1)}catch{ue=!0}if(V&&!t)throw new Error("emit function is required");if(!V&&!ue)return()=>{};A!==void 0&&_.mousemove===void 0&&(_.mousemove=A),wi.reset();const Ee=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:O!==void 0?O:{},ne=g===!0||g==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:g==="all",headMetaDescKeywords:g==="all"}:g||{};c$e();let J,me=0;const fe=M=>{for(const z of ee||[])z.eventProcessor&&(M=z.eventProcessor(M));return S&&!ue&&(M=S(M)),M};kn=(M,z)=>{const L=M;if(L.timestamp=fO(),Do([Nu,"access",j=>j[0],"optionalAccess",j=>j.isFrozen,"call",j=>j()])&&L.type!==gt.FullSnapshot&&!(L.type===gt.IncrementalSnapshot&&L.data.source===nt.Mutation)&&Nu.forEach(j=>j.unfreeze()),V)Do([t,"optionalCall",j=>j(fe(L),z)]);else if(ue){const j={type:"rrweb",event:fe(L),origin:window.location.origin,isCheckout:z};window.parent.postMessage(j,"*")}if(L.type===gt.FullSnapshot)J=L,me=0;else if(L.type===gt.IncrementalSnapshot){if(L.data.source===nt.Mutation&&L.data.isAttachIframe)return;me++;const j=r&&me>=r,N=n&&J&&L.timestamp-J.timestamp>n;(j||N)&&x(!0)}};const he=M=>{kn({type:gt.IncrementalSnapshot,data:{source:nt.Mutation,...M}})},Te=M=>kn({type:gt.IncrementalSnapshot,data:{source:nt.Scroll,...M}}),ze=M=>kn({type:gt.IncrementalSnapshot,data:{source:nt.CanvasMutation,...M}}),I=M=>kn({type:gt.IncrementalSnapshot,data:{source:nt.AdoptedStyleSheet,...M}}),R=new D$e({mutationCb:he,adoptedStyleSheetCb:I}),Z=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new R$e:new I$e({mirror:wi,mutationCb:he,stylesheetManager:R,recordCrossOriginIframes:E,wrappedEmit:kn});for(const M of ee||[])M.getMirror&&M.getMirror({nodeMirror:wi,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});const ie=new Q$e,re=z$e(de,{mirror:wi,win:window,mutationCb:M=>kn({type:gt.IncrementalSnapshot,data:{source:nt.CanvasMutation,...M}}),recordCanvas:$,blockClass:o,blockSelector:i,unblockSelector:s,maxCanvasSize:w,sampling:_.canvas,dataURLOptions:T,errorHandler:ve}),k=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new L$e:new N$e({mutationCb:he,scrollCb:Te,bypassOptions:{onMutation:pe,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:Ee,dataURLOptions:T,maskAttributeFn:b,maskTextFn:y,maskInputFn:v,recordCanvas:$,inlineImages:B,sampling:_,slimDOMOptions:ne,iframeManager:Z,stylesheetManager:R,canvasManager:re,keepIframeSrcFn:te,processedNodeManager:ie},mirror:wi}),x=(M=!1)=>{if(!C)return;kn({type:gt.Meta,data:{href:window.location.href,width:Rj(),height:Mj()}},M),R.reset(),k.init(),Nu.forEach(L=>L.lock());const z=a$e(document,{mirror:wi,blockClass:o,blockSelector:i,unblockSelector:s,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:Ee,maskAttributeFn:b,maskInputFn:v,maskTextFn:y,slimDOM:ne,dataURLOptions:T,recordCanvas:$,inlineImages:B,onSerialize:L=>{Nj(L,wi)&&Z.addIframe(L),Dj(L,wi)&&R.trackLinkElement(L),bx(L)&&k.addShadowRoot(L.shadowRoot,document)},onIframeLoad:(L,j)=>{Z.attachIframe(L,j),L.contentWindow&&re.addWindow(L.contentWindow),k.observeAttachShadow(L)},onStylesheetLoad:(L,j)=>{R.attachLinkElement(L,j)},keepIframeSrcFn:te});if(!z)return console.warn("Failed to snapshot the document");kn({type:gt.FullSnapshot,data:{node:z,initialOffset:$j(window)}}),Nu.forEach(L=>L.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&R.adoptStyleSheets(document.adoptedStyleSheets,wi.getId(document))};pO=x;try{const M=[],z=j=>xt(M$e)({onMutation:pe,mutationCb:he,mousemoveCb:(N,K)=>kn({type:gt.IncrementalSnapshot,data:{source:K,positions:N}}),mouseInteractionCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.MouseInteraction,...N}}),scrollCb:Te,viewportResizeCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.ViewportResize,...N}}),inputCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.Input,...N}}),mediaInteractionCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.MediaInteraction,...N}}),styleSheetRuleCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.StyleSheetRule,...N}}),styleDeclarationCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.StyleDeclaration,...N}}),canvasMutationCb:ze,fontCb:N=>kn({type:gt.IncrementalSnapshot,data:{source:nt.Font,...N}}),selectionCb:N=>{kn({type:gt.IncrementalSnapshot,data:{source:nt.Selection,...N}})},customElementCb:N=>{kn({type:gt.IncrementalSnapshot,data:{source:nt.CustomElement,...N}})},blockClass:o,ignoreClass:a,ignoreSelector:l,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:h,maskInputOptions:Ee,inlineStylesheet:p,sampling:_,recordDOM:C,recordCanvas:$,inlineImages:B,userTriggeredOnInput:X,collectFonts:Y,doc:j,maskAttributeFn:b,maskInputFn:v,maskTextFn:y,keepIframeSrcFn:te,blockSelector:i,unblockSelector:s,slimDOMOptions:ne,dataURLOptions:T,mirror:wi,iframeManager:Z,stylesheetManager:R,shadowDomManager:k,processedNodeManager:ie,canvasManager:re,ignoreCSSAttributes:ye,plugins:Do([ee,"optionalAccess",N=>N.filter,"call",N=>N(K=>K.observer),"optionalAccess",N=>N.map,"call",N=>N(K=>({observer:K.observer,options:K.options,callback:we=>kn({type:gt.Plugin,data:{plugin:K.name,payload:we}})}))])||[]},{});Z.addLoadListener(j=>{try{M.push(z(j.contentDocument))}catch(N){console.warn(N)}});const L=()=>{x(),M.push(z(document))};return document.readyState==="interactive"||document.readyState==="complete"?L():(M.push(Yr("DOMContentLoaded",()=>{kn({type:gt.DomContentLoaded,data:{}}),Q==="DOMContentLoaded"&&L()})),M.push(Yr("load",()=>{kn({type:gt.Load,data:{}}),Q==="load"&&L()},window))),()=>{M.forEach(j=>j()),ie.destroy(),pO=void 0,v$e()}}catch(M){console.warn(M)}}function B$e(e){if(!pO)throw new Error("please take full snapshot after start recording");pO(e)}ca.mirror=wi;ca.takeFullSnapshot=B$e;function z$e(e,t){try{return e?e(t):new g6}catch{return console.warn("Unable to initialize CanvasManager"),new g6}}const Ke=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,b6=["info","warn","error","log"],wb="[Replay] ";function f1(e,t="info"){Cl({category:"console",data:{logger:"replay"},level:t,message:`${wb}${e}`},{level:t})}function j$e(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=r.captureExceptions,t=r.traceInternals}};return Ke?(b6.forEach(r=>{n[r]=(...o)=>{Se[r](wb,...o),t&&f1(o.join(""),vT(r))}}),n.exception=(r,...o)=>{o.length&&n.error&&n.error(...o),Se.error(wb,r),e?Om(r):t&&f1(r,"error")},n.infoTick=(...r)=>{Se.info(wb,...r),t&&setTimeout(()=>f1(r[0]),0)}):b6.forEach(r=>{n[r]=()=>{}}),n}const et=j$e(),W$e=3,F$e=5;function jT(e){return e>9999999999?e:e*1e3}function h1(e){return e>9999999999?e/1e3:e}function xm(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:gt.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:us(t,10,1e3)}}),t.category==="console")))}const q$e="button,a";function qj(e){return e.closest(q$e)||e}function Uj(e){const t=Zj(e);return!t||!(t instanceof Element)?t:qj(t)}function Zj(e){return U$e(e)?e.target:e}function U$e(e){return typeof e=="object"&&!!e&&"target"in e}let Ja;function Z$e(e){return Ja||(Ja=[],V$e()),Ja.push(e),()=>{const t=Ja?Ja.indexOf(e):-1;t>-1&&Ja.splice(t,1)}}function V$e(){go(an,"open",function(e){return function(...t){if(Ja)try{Ja.forEach(n=>n())}catch{}return e.apply(an,t)}})}const X$e=new Set([nt.Mutation,nt.StyleSheetRule,nt.StyleDeclaration,nt.AdoptedStyleSheet,nt.CanvasMutation,nt.Selection,nt.MediaInteraction]);function H$e(e,t,n){e.handleClick(t,n)}class Y$e{constructor(t,n,r=xm){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=Z$e(()=>{this._lastMutation=O6()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(K$e(n,this._ignoreSelector)||!J$e(t))return;const r={timestamp:h1(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(o=>o.node===r.node&&Math.abs(o.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=h1(t)}registerScroll(t=Date.now()){this._lastScroll=h1(t)}registerClick(t){const n=qj(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=O6();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const o=this._clicks.indexOf(r);o>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(o,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,o=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!o,{clickCount:s,clickBreadcrumb:a}=t;if(i){const l=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,c=l1){const l={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:an.location.href,route:n.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(n,l)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Md(()=>this._checkClicks(),1e3)}}const G$e=["A","BUTTON","INPUT"];function K$e(e,t){return!!(!G$e.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function J$e(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function O6(){return Date.now()/1e3}function eMe(e,t){try{if(!tMe(t))return;const{source:n}=t.data;if(X$e.has(n)&&e.registerMutation(t.timestamp),n===nt.Scroll&&e.registerScroll(t.timestamp),nMe(t)){const{type:r,id:o}=t.data,i=ca.mirror.getNode(o);i instanceof HTMLElement&&r===Fr.Click&&e.registerClick(i)}}catch{}}function tMe(e){return e.type===W$e}function nMe(e){return e.data.source===nt.MouseInteraction}function Os(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var mO;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(mO||(mO={}));const rMe=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function oMe(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(rMe.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const iMe=e=>t=>{if(!e.isEnabled())return;const n=sMe(t);if(!n)return;const r=t.name==="click",o=r?t.event:void 0;r&&e.clickDetector&&o&&o.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&H$e(e.clickDetector,n,Uj(t.event)),xm(e,n)};function Vj(e,t){const n=ca.mirror.getId(e),r=n&&ca.mirror.getNode(n),o=r&&ca.mirror.getMeta(r),i=o&&lMe(o)?o:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(s=>s.type===mO.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:oMe(i.attributes)}}:{}}}function sMe(e){const{target:t,message:n}=aMe(e);return Os({category:`ui.${e.name}`,...Vj(t,n)})}function aMe(e){const t=e.name==="click";let n,r=null;try{r=t?Uj(e.event):Zj(e.event),n=ba(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}function lMe(e){return e.type===mO.Element}function cMe(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=uMe(t);n&&xm(e,n)}function uMe(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:s}=e;if(!s||dMe(s)||!i)return null;const a=t||r||o,l=i.length===1;if(!a&&l)return null;const c=ba(s,{maxStringLength:200})||"",u=Vj(s,c);return Os({category:"ui.keyDown",message:c,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i}})}function dMe(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const fMe={resource:bMe,paint:mMe,navigation:gMe};function Rg(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function hMe(e){return e.map(pMe).filter(Boolean)}function pMe(e){const t=fMe[e.entryType];return t?t(e):null}function Ld(e){return((oo||an.performance.timeOrigin)+e)/1e3}function mMe(e){const{duration:t,entryType:n,name:r,startTime:o}=e,i=Ld(o);return{type:n,name:r,start:i,end:i+t,data:void 0}}function gMe(e){const{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:f,startTime:h,transferSize:p,type:m}=e;return o===0?null:{type:`${t}.${m}`,start:Ld(h),end:Ld(i),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:s,duration:o,domInteractive:c,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:f}}}function bMe(e){const{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:i,decodedBodySize:s,encodedBodySize:a,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Ld(i),end:Ld(o),name:r,data:{size:c,statusCode:l,decodedBodySize:s,encodedBodySize:a}}}function OMe(e){const t=e.entries[e.entries.length-1],n=t&&t.element?[t.element]:void 0;return Vy(e,"largest-contentful-paint",n)}function yMe(e){return e.sources!==void 0}function vMe(e){const t=[],n=[];for(const r of e.entries)if(yMe(r)){const o=[];for(const i of r.sources)if(i.node){n.push(i.node);const s=ca.mirror.getId(i.node);s&&o.push(s)}t.push({value:r.value,nodeIds:o.length?o:void 0})}return Vy(e,"cumulative-layout-shift",n,t)}function wMe(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return Vy(e,"first-input-delay",n)}function SMe(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return Vy(e,"interaction-to-next-paint",n)}function Vy(e,t,n,r){const o=e.value,i=e.rating,s=Ld(o);return{type:"web-vital",name:t,start:s,end:s,data:{value:o,size:o,rating:i,nodeIds:n?n.map(a=>ca.mirror.getId(a)):void 0,attributions:r}}}function _Me(e){function t(o){e.performanceEntries.includes(o)||e.performanceEntries.push(o)}function n({entries:o}){o.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(o=>{r.push(Ad(o,n))}),r.push(dj(Rg(OMe,e)),MT(Rg(vMe,e)),fj(Rg(wMe,e)),hj(Rg(SMe,e))),()=>{r.forEach(o=>o())}}const kMe='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a>h]=l}else for(o=new n(i),a=0;a>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;ad&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<e))break;p+=m-(1<>=y;p>0;){var M=o[a].s;g[M]=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(r){for(var e=new t(n.length),i=0;i>1)),o=0,f=function(t){s[o++]=t};for(i=0;is.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function xMe(){const e=new Blob([kMe]);return URL.createObjectURL(e)}class WT extends Error{constructor(){super(`Event buffer exceeded maximum size of ${NT}.`)}}class Xj{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>NT)throw new WT;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?jT(t):null}}class EMe{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){Ke&&et.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((o,i)=>{const s=({data:a})=>{const l=a;if(l.method===t&&l.id===r){if(this._worker.removeEventListener("message",s),!l.success){Ke&&et.error("Error in compression worker: ",l.response),i(new Error("Error in compression worker"));return}o(l.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class TMe{constructor(t){this._worker=new EMe(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=jT(t.timestamp);(!this._earliestTimestamp||nNT?Promise.reject(new WT):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{Ke&&et.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class CMe{constructor(t){this._fallback=new Xj,this._compression=new TMe(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){Ke&&et.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n}=this._fallback,r=[];for(const o of t)r.push(this._compression.addEvent(o));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(o){Ke&&et.exception(o,"Failed to add events when switching buffers.")}}}function PMe({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=AMe(t);if(n)return n}return Ke&&et.info("Using simple buffer"),new Xj}function AMe(e){try{const t=e||$Me();if(!t)return;Ke&&et.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new CMe(n)}catch(t){Ke&&et.exception(t,"Failed to create compression worker")}}function $Me(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?xMe():""}function FT(){try{return"sessionStorage"in an&&!!an.sessionStorage}catch{return!1}}function MMe(e){RMe(),e.session=void 0}function RMe(){if(FT())try{an.sessionStorage.removeItem(IT)}catch{}}function Hj(e){return e===void 0?!1:Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Ke&&et.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function QMe(e,t){try{if(typeof t=="function"&&NMe(e))return t(e)}catch(n){return Ke&&et.exception(n,"An error occured in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function ZT(e){return!e.type}function wx(e){return e.type==="transaction"}function BMe(e){return e.type==="replay_event"}function v6(e){return e.type==="feedback"}function zMe(e){return(t,n)=>{if(!e.isEnabled()||!ZT(t)&&!wx(t))return;const r=n&&n.statusCode;if(!(!r||r<200||r>=300)){if(wx(t)){jMe(e,t);return}WMe(e,t)}}}function jMe(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function WMe(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&&!r(t)||Md(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(o){e.handleException(o)}})}function FMe(e){return t=>{!e.isEnabled()||!ZT(t)||qMe(e,t)}}function qMe(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const r=Os({category:"replay.hydrate-error",data:{url:uz()}});xm(e,r)}}function UMe(e){const t=vt();t&&t.on("beforeAddBreadcrumb",n=>ZMe(e,n))}function ZMe(e,t){if(!e.isEnabled()||!tW(t))return;const n=VMe(t);n&&xm(e,n)}function VMe(e){return!tW(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?XMe(e):Os(e)}function XMe(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return Os(e);let n=!1;const r=t.map(o=>{if(!o)return o;if(typeof o=="string")return o.length>Ag?(n=!0,`${o.slice(0,Ag)}…`):o;if(typeof o=="object")try{const i=us(o,7);return JSON.stringify(i).length>Ag?(n=!0,`${JSON.stringify(i,null,2).slice(0,Ag)}…`):i}catch{}return o});return Os({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function tW(e){return!!e.category}function HMe(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function YMe(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:gt.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function GMe(e,t){return e.recordingMode!=="buffer"||t.message===LT||!t.exception||t.type?!1:Hj(e.getOptions().errorSampleRate)}function KMe(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:BMe(t)?(delete t.breadcrumbs,t):!ZT(t)&&!wx(t)&&!v6(t)||!e.checkAndHandleExpiredSession()?t:v6(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),YMe(e,t),t):HMe(t,n)&&!e.getOptions()._experiments.captureExceptions?(Ke&&et.log("Ignoring error from rrweb internals",t),null):((GMe(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t),{id:"Replay"})}function Xy(e,t){return t.map(({type:n,start:r,end:o,name:i,data:s})=>{const a=e.throttledAddEvent({type:gt.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:o,data:s}}});return typeof a=="string"?Promise.resolve(null):a})}function JMe(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function eRe(e){return t=>{if(!e.isEnabled())return;const n=JMe(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Xy(e,[n]),!1)))}}function tRe(e,t){return Ke&&e.getOptions()._experiments.traceInternals?!1:SCe(t,vt())}function nW(e,t){e.isEnabled()&&t!==null&&(tRe(e,t.name)||e.addUpdate(()=>(Xy(e,[t]),!0)))}function Hy(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=sW(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function rW(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function oW(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[sW(e)];if(!e)return[void 0]}catch(t){return Ke&&et.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Ke&&et.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function gO(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function iW(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:o,method:i,statusCode:s,request:a,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:Gn({method:i,statusCode:s,request:a,response:l})}}function Ep(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function gl(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:o,warnings:i}=nRe(n);return r.body=o,i&&i.length>0&&(r._meta={warnings:i}),r}function Sx(e,t){return Object.entries(e).reduce((n,[r,o])=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=o),n},{})}function sW(e){return new URLSearchParams(e).toString()}function nRe(e){if(!e||typeof e!="string")return{body:e};const t=e.length>n6,n=rRe(e);if(t){const r=e.slice(0,n6);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function rRe(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function bO(e,t){const n=oRe(e);return ml(n,t)}function oRe(e,t=an.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(an.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function iRe(e,t,n){try{const r=await aRe(e,t,n),o=iW("resource.fetch",r);nW(n.replay,o)}catch(r){Ke&&et.exception(r,"Failed to capture fetch breadcrumb")}}function sRe(e,t){const{input:n,response:r}=t,o=n?aW(n):void 0,i=Hy(o),s=r?rW(r.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),s!==void 0&&(e.data.response_body_size=s)}async function aRe(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=t,{url:s,method:a,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=bO(s,n.networkDetailAllowUrls)&&!bO(s,n.networkDetailDenyUrls),f=d?lRe(n,t.input,c):Ep(c),h=await cRe(d,n,t.response,u);return{startTimestamp:o,endTimestamp:i,url:s,method:a,statusCode:l,request:f,response:h}}function lRe({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const o=n?fRe(n,t):{};if(!e)return gl(o,r,void 0);const i=aW(n),[s,a]=oW(i),l=gl(o,r,s);return a?gO(l,a):l}async function cRe(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&&o!==void 0)return Ep(o);const i=r?lW(r.headers,n):{};if(!r||!t&&o!==void 0)return gl(i,o,void 0);const[s,a]=await dRe(r),l=uRe(s,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return a?gO(l,a):l}function uRe(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:o}){try{const i=e&&e.length&&n===void 0?Hy(e):n;return r?t?gl(o,i,e):gl(o,i,void 0):Ep(i)}catch(i){return Ke&&et.exception(i,"Failed to serialize response body"),gl(o,n,void 0)}}async function dRe(e){const t=hRe(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await pRe(t)]}catch(n){return Ke&&et.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function aW(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function lW(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function fRe(e,t){return e.length===1&&typeof e[0]!="string"?w6(e[0],t):e.length===2?w6(e[1],t):{}}function w6(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?lW(n,t):Array.isArray(n)?{}:Sx(n,t):{}}function hRe(e){try{return e.clone()}catch(t){Ke&&et.exception(t,"Failed to clone response body")}}function pRe(e){return new Promise((t,n)=>{const r=Md(()=>n(new Error("Timeout while trying to read response body")),500);mRe(e).then(o=>t(o),o=>n(o)).finally(()=>clearTimeout(r))})}async function mRe(e){return await e.text()}async function gRe(e,t,n){try{const r=ORe(e,t,n),o=iW("resource.xhr",r);nW(n.replay,o)}catch(r){Ke&&et.exception(r,"Failed to capture xhr breadcrumb")}}function bRe(e,t){const{xhr:n,input:r}=t;if(!n)return;const o=Hy(r),i=n.getResponseHeader("content-length")?rW(n.getResponseHeader("content-length")):SRe(n.response,n.responseType);o!==void 0&&(e.data.request_body_size=o),i!==void 0&&(e.data.response_body_size=i)}function ORe(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:s,xhr:a}=t,{url:l,method:c,status_code:u=0,request_body_size:d,response_body_size:f}=e.data;if(!l)return null;if(!a||!bO(l,n.networkDetailAllowUrls)||bO(l,n.networkDetailDenyUrls)){const S=Ep(d),_=Ep(f);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:S,response:_}}const h=a[gc],p=h?Sx(h.request_headers,n.networkRequestHeaders):{},m=Sx(yRe(a),n.networkResponseHeaders),[O,g]=n.networkCaptureBodies?oW(s):[void 0],[b,v]=n.networkCaptureBodies?vRe(a):[void 0],y=gl(p,d,O),w=gl(m,f,b);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:g?gO(y,g):y,response:v?gO(w,v):w}}function yRe(e){const t=e.getAllResponseHeaders();return t?t.split(`\r `).reduce((n,r)=>{const[o,i]=r.split(": ");return i&&(n[o.toLowerCase()]=i),n},{}):{}}function vRe(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return wRe(e.response,e.responseType)}catch(n){t.push(n)}return Ke&&et.warn("Failed to get xhr response body",...t),[void 0]}function wRe(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return Ke&&et.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Ke&&et.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function SRe(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Hy(n)}catch{return}}function _Re(e){const t=vt();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:s}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:s};t&&t.on("beforeAddBreadcrumb",(l,c)=>kRe(a,l,c))}catch{}}function kRe(e,t,n){if(t.data)try{xRe(t)&&TRe(n)&&(bRe(t,n),gRe(t,n,e)),ERe(t)&&CRe(n)&&(sRe(t,n),iRe(t,n,e))}catch(r){Ke&&et.exception(r,"Error when enriching network breadcrumb")}}function xRe(e){return e.category==="xhr"}function ERe(e){return e.category==="fetch"}function TRe(e){return e&&e.xhr}function CRe(e){return e&&e.response}function PRe(e){const t=vt();bj(iMe(e)),Fy(eRe(e)),UMe(e),_Re(e);const n=KMe(e);sCe(n),t&&(t.on("beforeSendEvent",FMe(e)),t.on("afterSendEvent",zMe(e)),t.on("createDsc",r=>{const o=e.getSessionId();o&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=o)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",(r,o)=>{const i=e.getSessionId();o&&o.includeReplay&&e.isEnabled()&&i&&r.contexts&&r.contexts.feedback&&(r.contexts.feedback.replay_id=i)}))}async function ARe(e){try{return Promise.all(Xy(e,[$Re(an.performance.memory)]))}catch{return[]}}function $Re(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function MRe(e,t,n){let r,o,i;const s=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return l(),r=e(),r}function l(){o!==void 0&&clearTimeout(o),i!==void 0&&clearTimeout(i),o=i=void 0}function c(){return o!==void 0||i!==void 0?a():r}function u(){return o&&clearTimeout(o),o=Md(a,t),s&&i===void 0&&(i=Md(a,s)),r}return u.cancel=l,u.flush=c,u}function RRe(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){Ke&&et.warn("Received replay event after session expired.");return}const o=r||!t;t=!0,e.clickDetector&&eMe(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&o&&e.setInitialState(),!UT(e,n,o))return!0;if(!o)return!1;const i=e.session;if(LRe(e,o),i&&i.previousSessionId)return!0;if(e.recordingMode==="buffer"&&i&&e.eventBuffer){const s=e.eventBuffer.getEarliestTimestamp();s&&(Ke&&et.info(`Updating session start time to earliest event in buffer to ${new Date(s)}`),i.started=s,e.getOptions().stickySession&&qT(i))}return e.recordingMode==="session"&&e.flush(),!0})}}function IRe(e){const t=e.getOptions();return{type:gt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function LRe(e,t){!t||!e.session||e.session.segmentId!==0||UT(e,IRe(e),!1)}function NRe(){const e=Vt().getPropagationContext().dsc;e&&delete e.replay_id;const t=Qn();if(t){const n=zl(t);delete n.replay_id}}function DRe(e,t,n,r){return tu(Pz(e,ST(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function QRe({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} `;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function BRe({client:e,scope:t,replayId:n,event:r}){const o=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:o};e.emit("preprocessEvent",r,i);const s=await Vz(e.getOptions(),r,i,t,e,bi());if(!s)return null;s.platform=s.platform||"javascript";const a=e.getSdkMetadata(),{name:l,version:c}=a&&a.sdk||{};return s.sdk={...s.sdk,name:l||"sentry.javascript.unknown",version:c||"0.0.0"},s}async function zRe({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){const s=QRe({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:l,traceIds:c,initialTimestamp:u}=r,d=vt(),f=Vt(),h=d&&d.getTransport(),p=d&&d.getDsn();if(!d||!h||!p||!i.sampled)return ya({});const m={type:vAe,replay_start_timestamp:u/1e3,timestamp:o/1e3,error_ids:l,trace_ids:c,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},O=await BRe({scope:f,client:d,replayId:t,event:m});if(!O)return d.recordDroppedEvent("event_processor","replay",m),Ke&&et.info("An event processor returned `null`, will not send event."),ya({});delete O.sdkProcessingMetadata;const g=DRe(O,s,p,d.getOptions().tunnel);let b;try{b=await h.send(g)}catch(y){const w=new Error(LT);try{w.cause=y}catch{}throw w}if(typeof b.statusCode=="number"&&(b.statusCode<200||b.statusCode>=300))throw new cW(b.statusCode);const v=$z({},b);if(Az(v,"replay"))throw new VT(v);return b}class cW extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class VT extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function uW(e,t={count:0,interval:EAe}){const{recordingData:n,onError:r}=e;if(n.length)try{return await zRe(e),!0}catch(o){if(o instanceof cW||o instanceof VT)throw o;if(iCe("Replays",{_retryCount:t.count}),r&&r(o),t.count>=TAe){const i=new Error(`${LT} - max retries exceeded`);try{i.cause=o}catch{}throw i}return t.interval*=++t.count,new Promise((i,s)=>{Md(async()=>{try{await uW(e,t),i(!0)}catch(a){s(a)}},t.interval)})}}const dW="__THROTTLED",jRe="__SKIPPED";function WRe(e,t,n){const r=new Map,o=a=>{const l=a-n;r.forEach((c,u)=>{u[...r.values()].reduce((a,l)=>a+l,0);let s=!1;return(...a)=>{const l=Math.floor(Date.now()/1e3);if(o(l),i()>=t){const u=s;return s=!0,u?jRe:dW}s=!1;const c=r.get(l)||0;return r.set(l,c+1),e(...a)}}class el{constructor({options:t,recordingOptions:n}){el.prototype.__init.call(this),el.prototype.__init2.call(this),el.prototype.__init3.call(this),el.prototype.__init4.call(this),el.prototype.__init5.call(this),el.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:wAe,sessionIdleExpire:SAe},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=MRe(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=WRe((s,a)=>DMe(this,s,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:o}=this.getOptions(),i=r?{threshold:Math.min(CAe,r),timeout:r,scrollTimeout:PAe,ignoreSelector:o?o.join(","):""}:void 0;if(i&&(this.clickDetector=new Y$e(this,i)),Ke){const s=t._experiments;et.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){Ke&&et.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,o=n<=0&&r<=0;if(this._requiresManualStart=o,!o){if(this._initializeSessionForSampling(t),!this.session){Ke&&et.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",Ke&&et.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){Ke&&et.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){Ke&&et.info("Buffering is in progress, call `flush()` to save the replay");return}Ke&&et.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=p1({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){Ke&&et.info("Buffering is in progress, call `flush()` to save the replay");return}Ke&&et.infoTick("Starting replay in buffer mode");const t=p1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=ca({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:xAe}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:RRe(this),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{Ke&&et.info(`Stopping Replay${n?` triggered by ${n}`:""}`),NRe(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,MMe(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Ke&&et.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Ke&&et.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();Ke&&et.info("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&vx(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${an.location.pathname}${an.location.hash}${an.location.search}`,n=`${an.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===dW){const o=Os({category:"replay.throttled"});this.addUpdate(()=>!UT(this,{type:F$e,timestamp:o.timestamp||0,data:{tag:"breadcrumb",payload:o,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||Qn(),n=t&&ur(t),o=(n&&St(n).data||{})[oi];if(!(!n||!o||!["route","custom"].includes(o)))return St(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=PMe({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=p1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return Kj(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{an.document.addEventListener("visibilitychange",this._handleVisibilityChange),an.addEventListener("blur",this._handleWindowBlur),an.addEventListener("focus",this._handleWindowFocus),an.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(PRe(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=_Me(this)}_removeListeners(){try{an.document.removeEventListener("visibilitychange",this._handleVisibilityChange),an.removeEventListener("blur",this._handleWindowBlur),an.removeEventListener("focus",this._handleWindowFocus),an.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}__init(){this._handleVisibilityChange=()=>{an.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=Os({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=Os({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{cMe(this,t)}}_doChangeToBackgroundTasks(t){!this.session||Gj(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){Ke&&et.info("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:gt.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=hMe(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(Xy(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&rthis._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),o=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await uW({replayId:t,recordingData:i,segmentId:o,eventContext:r,session:this.session,timestamp:n,onError:s=>this.handleException(s)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=vt();if(r){const o=n instanceof VT?"ratelimit_backoff":"send_error";r.recordDroppedEvent(o,"replay")}}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){Ke&&et.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,o=Date.now()-n;this._debouncedFlush.cancel();const i=othis._options.maxReplayDuration+5e3;if(i||s){Ke&&et.info(`Session duration (${Math.floor(o/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&Ke&&et.info("Flushing initial segment without checkout.");const l=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(c){this.handleException(c)}finally{this._flushLock=void 0,l&&this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&qT(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>o||i){const s=Os({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(s)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function zf(e,t){return[...e,...t].join(",")}function FRe({mask:e,unmask:t,block:n,unblock:r,ignore:o}){const i=['base[href="?x=http://directory.static.partnerpage.io/"]'],s=zf(e,[".sentry-mask","[data-sentry-mask]"]),a=zf(t,[]);return{maskTextSelector:s,unmaskTextSelector:a,blockSelector:zf(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:zf(r,[]),ignoreSelector:zf(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function qRe({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:i}){return!r||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?i:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const S6='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',URe=["content-length","content-type","accept"];let _6=!1;const ZRe=e=>new Yy(e);class Yy{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=_Ae,flushMaxDelay:n=kAe,minReplayDuration:r=AAe,maxReplayDuration:o=r6,stickySession:i=!0,useCompression:s=!0,workerUrl:a,_experiments:l={},maskAllText:c=!0,maskAllInputs:u=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:f=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:O=[],networkDetailDenyUrls:g=[],networkCaptureBodies:b=!0,networkRequestHeaders:v=[],networkResponseHeaders:y=[],mask:w=[],maskAttributes:S=["title","placeholder"],unmask:_=[],block:T=[],unblock:A=[],ignore:C=[],maskFn:$,beforeAddRecordingEvent:E,beforeErrorSampling:Q}={}){this.name=Yy.id;const X=FRe({mask:w,unmask:_,block:T,unblock:A,ignore:C});if(this._recordingOptions={maskAllInputs:u,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:$,maskInputFn:$,maskAttributeFn:(Y,B,ee)=>qRe({maskAttributes:S,maskAllText:c,privacyOptions:X,key:Y,value:B,el:ee}),...X,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:Y=>{try{Y.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,$Ae),maxReplayDuration:Math.min(o,r6),stickySession:i,useCompression:s,workerUrl:a,blockAllMedia:d,maskAllInputs:u,maskAllText:c,mutationBreadcrumbLimit:f,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:O,networkDetailDenyUrls:g,networkCaptureBodies:b,networkRequestHeaders:k6(v),networkResponseHeaders:k6(y),beforeAddRecordingEvent:E,beforeErrorSampling:Q,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${S6}`:S6),this._isInitialized&&OR())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return _6}set _isInitialized(t){_6=t}afterAllSetup(t){!OR()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=VRe(this._initialOptions,t);this._replay=new el({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Yy.__initStatic();function VRe(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...Gn(e)},o=iO(n.replaysSessionSampleRate),i=iO(n.replaysOnErrorSampleRate);return o==null&&i==null&&Pa(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),o!=null&&(r.sessionSampleRate=o),i!=null&&(r.errorSampleRate=i),r}function k6(e){return[...URe,...e.map(t=>t.toLowerCase())]}const x6=new WeakMap,m1=new Map,_x={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function XRe(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:s}={traceFetch:_x.traceFetch,traceXHR:_x.traceXHR,...t},a=typeof o=="function"?o:u=>!0,l=u=>KRe(u,s),c={};n&&(e.addEventProcessor(u=>(u.type==="transaction"&&u.spans&&u.spans.forEach(d=>{if(d.op==="http.client"){const f=m1.get(d.span_id);f&&(d.timestamp=f/1e3,m1.delete(d.span_id))}}),u)),vTe(u=>{if(u.response){const d=x6.get(u.response);d&&u.endTimestamp&&m1.set(d,u.endTimestamp)}}),vz(u=>{const d=ePe(u,a,l,c);if(u.response&&u.fetchData.__span&&x6.set(u.response,u.fetchData.__span),d){const f=fW(u.fetchData.url),h=f?xc(f).host:void 0;d.setAttributes({"http.url":f,"server.address":h})}i&&d&&E6(d)})),r&&yj(u=>{const d=JRe(u,a,l,c);i&&d&&E6(d)})}function HRe(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function E6(e){const{url:t}=St(e).data||{};if(!t||typeof t!="string")return;const n=Ad("resource",({entries:r})=>{r.forEach(o=>{HRe(o)&&o.name.endsWith(t)&&(GRe(o).forEach(s=>e.setAttribute(...s)),setTimeout(n))})})}function YRe(e){let t="unknown",n="unknown",r="";for(const o of e){if(o==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=o}return r===e&&(t=r),{name:t,version:n}}function ns(e=0){return((oo||performance.timeOrigin)+e)/1e3}function GRe(e){const{name:t,version:n}=YRe(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),oo?[...r,["http.request.redirect_start",ns(e.redirectStart)],["http.request.fetch_start",ns(e.fetchStart)],["http.request.domain_lookup_start",ns(e.domainLookupStart)],["http.request.domain_lookup_end",ns(e.domainLookupEnd)],["http.request.connect_start",ns(e.connectStart)],["http.request.secure_connection_start",ns(e.secureConnectionStart)],["http.request.connection_end",ns(e.connectEnd)],["http.request.request_start",ns(e.requestStart)],["http.request.response_start",ns(e.responseStart)],["http.request.response_end",ns(e.responseEnd)]]:r}function KRe(e,t){const n=ot.location&&ot.location.href;if(n){let r,o;try{r=new URL(e,n),o=new URL(n).origin}catch{return!1}const i=r.origin===o;return t?ml(r.toString(),t)||i&&ml(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?ml(e,t):r}}function JRe(e,t,n,r){const o=e.xhr,i=o&&o[gc];if(!o||o.__sentry_own_request__||!i)return;const s=Es()&&t(i.url);if(e.endTimestamp&&s){const f=o.__sentry_xhr_span_id__;if(!f)return;const h=r[f];h&&i.status_code!==void 0&&(Iz(h,i.status_code),h.end(),delete r[f]);return}const a=fW(i.url),l=a?xc(a).host:void 0,c=!!Qn(),u=s&&c?Ts({name:`${i.method} ${i.url}`,attributes:{type:"xhr","http.method":i.method,"http.url":a,url:i.url,"server.address":l,[_n]:"auto.http.browser",[Wc]:"http.client"}}):new of;o.__sentry_xhr_span_id__=u.spanContext().spanId,r[o.__sentry_xhr_span_id__]=u;const d=vt();return o.setRequestHeader&&n(i.url)&&d&&e6e(o,d,Es()&&c?u:void 0),u}function e6e(e,t,n){const r=Vt(),o=bi(),{traceId:i,spanId:s,sampled:a,dsc:l}={...o.getPropagationContext(),...r.getPropagationContext()},c=n&&Es()?Dz(n):wT(i,s,a),u=Cz(l||(n?zl(n):jy(i,t)));t6e(e,c,u)}function t6e(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Kk,n)}catch{}}function fW(e){try{return new URL(e,ot.location.origin).href}catch{return}}function n6e(){ot&&ot.document?ot.document.addEventListener("visibilitychange",()=>{const e=Qn();if(!e)return;const t=ur(e);if(ot.document.hidden&&t){const n="cancelled",{op:r,status:o}=St(t);ji&&Se.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),o||t.setStatus({code:sr,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):ji&&Se.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const r6e="BrowserTracing",o6e={...Ob,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},..._x},T6=(e={})=>{S5e();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:o,enableStandaloneClsSpans:i},beforeStartSpan:s,idleTimeout:a,finalTimeout:l,childSpanTimeout:c,markBackgroundSpan:u,traceFetch:d,traceXHR:f,shouldCreateSpanForRequest:h,enableHTTPTimings:p,instrumentPageLoad:m,instrumentNavigation:O}={...o6e,...e},g=KPe({recordClsStandaloneSpans:i||!1});t&&S3e(),r&&yt.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?e3e():n&&JPe(),o&&t3e();const b={name:void 0,source:void 0};function v(y,w){const S=w.op==="pageload",_=s?s(w):w,T=_.attributes||{};w.name!==_.name&&(T[oi]="custom",_.attributes=T),b.name=_.name,b.source=T[oi];const A=Zz(_,{idleTimeout:a,finalTimeout:l,childSpanTimeout:c,disableAutoFinish:S,beforeSpanEnd:$=>{g(),s3e($,{recordClsOnPageloadSpan:!i})}});function C(){["interactive","complete"].includes(ot.document.readyState)&&y.emit("idleSpanEnableAutoFinish",A)}return S&&ot.document&&(ot.document.addEventListener("readystatechange",()=>{C()}),C()),A}return{name:r6e,afterAllSetup(y){let w,S=ot.location&&ot.location.href;y.on("startNavigationSpan",_=>{vt()===y&&(w&&!St(w).timestamp&&(ji&&Se.log(`[Tracing] Finishing current root span with op: ${St(w).op}`),w.end()),w=v(y,{op:"navigation",..._}))}),y.on("startPageLoadSpan",(_,T={})=>{if(vt()!==y)return;w&&!St(w).timestamp&&(ji&&Se.log(`[Tracing] Finishing current root span with op: ${St(w).op}`),w.end());const A=T.sentryTrace||C6("sentry-trace"),C=T.baggage||C6("baggage"),$=FTe(A,C);Vt().setPropagationContext($),w=v(y,{op:"pageload",..._})}),y.on("spanEnd",_=>{const T=St(_).op;if(_!==ur(_)||T!=="navigation"&&T!=="pageload")return;const A=Vt(),C=A.getPropagationContext();A.setPropagationContext({...C,sampled:C.sampled!==void 0?C.sampled:nu(_),dsc:C.dsc||zl(_)})}),ot.location&&(m&&i6e(y,{name:ot.location.pathname,startTime:oo?oo/1e3:void 0,attributes:{[oi]:"url",[_n]:"auto.pageload.browser"}}),O&&Fy(({to:_,from:T})=>{if(T===void 0&&S&&S.indexOf(_)!==-1){S=void 0;return}T!==_&&(S=void 0,hW(y,{name:ot.location.pathname,attributes:{[oi]:"url",[_n]:"auto.navigation.browser"}}))})),u&&n6e(),o&&s6e(a,l,c,b),t&&k3e(),XRe(y,{traceFetch:d,traceXHR:f,tracePropagationTargets:y.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:h,enableHTTPTimings:p})}}};function i6e(e,t,n){e.emit("startPageLoadSpan",t,n),Vt().setTransactionName(t.name);const r=Qn();return(r&&St(r).op)==="pageload"?r:void 0}function hW(e,t){bi().setPropagationContext(rO()),Vt().setPropagationContext(rO()),e.emit("startNavigationSpan",t),Vt().setTransactionName(t.name);const n=Qn();return(n&&St(n).op)==="navigation"?n:void 0}function C6(e){const t=oTe(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function s6e(e,t,n,r){let o;const i=()=>{const s="ui.action.click",a=Qn(),l=a&&ur(a);if(l){const c=St(l).op;if(["navigation","pageload"].includes(c)){ji&&Se.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(nx,"interactionInterrupted"),o.end(),o=void 0),!r.name){ji&&Se.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`);return}o=Zz({name:r.name,op:s,attributes:{[oi]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};ot.document&&addEventListener("click",i,{once:!1,capture:!0})}const pW=["activate","mount","update"],mW=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,a6e=/(?:^|[-_])(\w)/g,l6e=e=>e.replace(a6e,t=>t.toUpperCase()).replace(/[-_]/g,""),c6e="",g1="",u6e=(e,t)=>e.repeat(t),Lh=(e,t)=>{if(!e)return g1;if(e.$root===e)return c6e;if(!e.$options)return g1;const n=e.$options;let r=n.name||n._componentTag||n.__name;const o=n.__file;if(!r&&o){const i=o.match(/([^/\\]+)\.vue$/);i&&(r=i[1])}return(r?`<${l6e(r)}>`:g1)+(o&&t!==!1?` at ${o}`:"")},d6e=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const o=t[t.length-1];if(o.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[o,n],n=0)}t.push(e),e=e.$parent}return` found in ${t.map((o,i)=>`${(i===0?"---> ":u6e(" ",5+i*2))+(Array.isArray(o)?`${Lh(o[0])}... (${o[1]} recursive calls)`:Lh(o))}`).join(` `)}`}return` (found in ${Lh(e)})`},f6e=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:o}=e.config;e.config.errorHandler=(i,s,a)=>{const l=Lh(s,!1),c=s?d6e(s):"",u={componentName:l,lifecycleHook:a,trace:c};if(t.attachProps&&s&&(s.$options&&s.$options.propsData?u.propsData=s.$options.propsData:s.$props&&(u.propsData=s.$props)),setTimeout(()=>{Om(i,{captureContext:{contexts:{vue:u}},mechanism:{handled:!1}})}),typeof n=="function"&&e.config.errorHandler&&n.call(e,i,s,a),t.logErrors){const d=typeof console<"u",f=`Error in ${a}: "${i&&i.toString()}"`;r?r.call(null,f,s,c):d&&!o&&Pa(()=>{console.error(`[Vue warn]: ${f}${c}`)})}}},P6="ui.vue",h6e={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function p6e(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}function m6e(e,t){function n(o){return o.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(o=>n(t)===n(o))}const g6e=e=>{const t=(e.hooks||[]).concat(pW).filter((r,o,i)=>i.indexOf(r)===o),n={};for(const r of t){const o=h6e[r];if(!o){mW&&Se.warn(`Unknown hook: ${r}`);continue}for(const i of o)n[i]=function(){const s=this.$root===this;s&&Qn()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||Ts({name:"Application Render",op:`${P6}.render`,attributes:{[_n]:"auto.ui.vue"}}));const a=Lh(this,!1),l=Array.isArray(e.trackComponents)?m6e(e.trackComponents,a):e.trackComponents;if(!(!s&&!l))if(this.$_sentrySpans=this.$_sentrySpans||{},i==o[0]){if(this.$root&&this.$root.$_sentryRootSpan||Qn()){const u=this.$_sentrySpans[r];u&&u.end(),this.$_sentrySpans[r]=Ts({name:`Vue ${a}`,op:`${P6}.${r}`,attributes:{[_n]:"auto.ui.vue"},onlyIfParent:!0})}}else{const c=this.$_sentrySpans[r];if(!c)return;c.end(),p6e(this,Mr(),e.timeout)}}}return n},b6e=yt,O6e={Vue:b6e.Vue,attachProps:!0,logErrors:!0,attachErrorHandler:!0,hooks:pW,timeout:2e3,trackComponents:!1},y6e="Vue",v6e=(e={})=>({name:y6e,setup(t){S6e(t,e)}}),w6e=v6e;function S6e(e,t){const n={...O6e,...e.getOptions(),...t};if(!n.Vue&&!n.app){Pa(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?yT(n.app).forEach(o=>A6(o,n)):n.Vue&&A6(n.Vue,n)}const A6=(e,t)=>{if(mW){const n=e;(n._instance&&n._instance.isMounted)===!0&&Pa(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")})}t.attachErrorHandler&&f6e(e,t),Es(t)&&e.mixin(g6e({...t,...t.tracingOptions}))};function _6e(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:la}],version:la}},defaultIntegrations:[...Sj(),w6e()],...e};return OAe(t)}function k6e(e,t,n){let r=!0;e.onError(o=>Om(o,{mechanism:{handled:!1}})),e.beforeEach((o,i,s)=>{const a=i.name==null&&i.matched.length===0||i.name===void 0&&r;r&&(r=!1);const l={[_n]:"auto.navigation.vue"};for(const d of Object.keys(o.params))l[`params.${d}`]=o.params[d];for(const d of Object.keys(o.query)){const f=o.query[d];f&&(l[`query.${d}`]=f)}let c=o.path,u="url";if(o.name&&t.routeLabel!=="path")c=o.name.toString(),u="custom";else if(o.matched.length>0){const d=o.matched.length-1;c=o.matched[d].path,u="route"}if(Vt().setTransactionName(c),t.instrumentPageLoad&&a){const d=x6e();d&&((St(d).data||{})[oi]!=="custom"&&(d.updateName(c),d.setAttribute(oi,u)),d.setAttributes({...l,[_n]:"auto.pageload.vue"}))}t.instrumentNavigation&&!a&&(l[oi]=u,l[_n]="auto.navigation.vue",n({name:c,op:"navigation",attributes:l})),s&&s()})}function x6e(){const e=Qn(),t=e&&ur(e);if(!t)return;const n=St(t).op;return n==="navigation"||n==="pageload"?t:void 0}function E6e(e={}){if(!e.router)return T6(e);const t=T6({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:o=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(s){t.afterAllSetup(s),k6e(n,{routeLabel:i,instrumentNavigation:r,instrumentPageLoad:o},l=>{hW(s,l)})}}}const T6e=Xt(e=>{const t=Ps(),n=Ir();t.public.sentryDsn&&_6e({app:e.vueApp,environment:t.public.sentryEnvironment,dsn:t.public.sentryDsn,integrations:[E6e({router:n}),ZRe({networkDetailAllowUrls:[/.*/],maskAllInputs:!1,maskAllText:!1}),ZCe({levels:["error","warning"]})],sampleRate:t.public.sentrySampleRate,replaysOnErrorSampleRate:t.public.sentryReplaysOnErrorSampleRate,ignoreErrors:["Cannot read properties of undefined (reading '_vts')"]})});/*! * shared v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const OO=typeof window<"u",jl=(e,t=!1)=>t?Symbol.for(e):Symbol(e),C6e=(e,t,n)=>P6e({l:e,k:t,s:n}),P6e=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xn=e=>typeof e=="number"&&isFinite(e),A6e=e=>XT(e)==="[object Date]",Nd=e=>XT(e)==="[object RegExp]",Gy=e=>Ot(e)&&Object.keys(e).length===0,Jn=Object.assign;let $6;const Oc=()=>$6||($6=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function M6(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const $6e=Object.prototype.hasOwnProperty;function yO(e,t){return $6e.call(e,t)}const Tn=Array.isArray,hn=e=>typeof e=="function",$e=e=>typeof e=="string",Ct=e=>typeof e=="boolean",Lt=e=>e!==null&&typeof e=="object",M6e=e=>Lt(e)&&hn(e.then)&&hn(e.catch),gW=Object.prototype.toString,XT=e=>gW.call(e),Ot=e=>XT(e)==="[object Object]",R6e=e=>e==null?"":Tn(e)||Ot(e)&&e.toString===gW?JSON.stringify(e,null,2):String(e);function HT(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function I6e(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ig=e=>!Lt(e)||Tn(e);function Sb(e,t){if(Ig(e)||Ig(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{Lt(r[i])&&!Lt(o[i])&&(o[i]=Array.isArray(r[i])?[]:{}),Ig(o[i])||Ig(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]})})}}/*! * message-compiler v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function L6e(e,t,n){return{line:e,column:t,offset:n}}function kx(e,t,n){return{start:e,end:t}}const jt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},N6e=17;function Ky(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function D6e(e){throw e}const zs=" ",Q6e="\r",qr=` `,B6e="\u2028",z6e="\u2029";function j6e(e){const t=e;let n=0,r=1,o=1,i=0;const s=_=>t[_]===Q6e&&t[_+1]===qr,a=_=>t[_]===qr,l=_=>t[_]===z6e,c=_=>t[_]===B6e,u=_=>s(_)||a(_)||l(_)||c(_),d=()=>n,f=()=>r,h=()=>o,p=()=>i,m=_=>s(_)||l(_)||c(_)?qr:t[_],O=()=>m(n),g=()=>m(n+i);function b(){return i=0,u(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function v(){return s(n+i)&&i++,i++,t[n+i]}function y(){n=0,r=1,o=1,i=0}function w(_=0){i=_}function S(){const _=n+i;for(;_!==n;)b();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:O,currentPeek:g,next:b,peek:v,reset:y,resetPeek:w,skipToPeek:S}}const Da=void 0,W6e=".",R6="'",F6e="tokenizer";function q6e(e,t={}){const n=t.location!==!1,r=j6e(e),o=()=>r.index(),i=()=>L6e(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(k,x,M,...z){const L=c();if(x.column+=M,x.offset+=M,u){const j=n?kx(L.startLoc,x):null,N=Ky(k,j,{domain:F6e,args:z});u(N)}}function f(k,x,M){k.endLoc=i(),k.currentType=x;const z={type:x};return n&&(z.loc=kx(k.startLoc,k.endLoc)),M!=null&&(z.value=M),z}const h=k=>f(k,13);function p(k,x){return k.currentChar()===x?(k.next(),x):(d(jt.EXPECTED_TOKEN,i(),0,x),"")}function m(k){let x="";for(;k.currentPeek()===zs||k.currentPeek()===qr;)x+=k.currentPeek(),k.peek();return x}function O(k){const x=m(k);return k.skipToPeek(),x}function g(k){if(k===Da)return!1;const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function b(k){if(k===Da)return!1;const x=k.charCodeAt(0);return x>=48&&x<=57}function v(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=g(k.currentPeek());return k.resetPeek(),z}function y(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=k.currentPeek()==="-"?k.peek():k.currentPeek(),L=b(z);return k.resetPeek(),L}function w(k,x){const{currentType:M}=x;if(M!==2)return!1;m(k);const z=k.currentPeek()===R6;return k.resetPeek(),z}function S(k,x){const{currentType:M}=x;if(M!==7)return!1;m(k);const z=k.currentPeek()===".";return k.resetPeek(),z}function _(k,x){const{currentType:M}=x;if(M!==8)return!1;m(k);const z=g(k.currentPeek());return k.resetPeek(),z}function T(k,x){const{currentType:M}=x;if(!(M===7||M===11))return!1;m(k);const z=k.currentPeek()===":";return k.resetPeek(),z}function A(k,x){const{currentType:M}=x;if(M!==9)return!1;const z=()=>{const j=k.currentPeek();return j==="{"?g(k.peek()):j==="@"||j==="|"||j===":"||j==="."||j===zs||!j?!1:j===qr?(k.peek(),z()):$(k,!1)},L=z();return k.resetPeek(),L}function C(k){m(k);const x=k.currentPeek()==="|";return k.resetPeek(),x}function $(k,x=!0){const M=(L=!1,j="")=>{const N=k.currentPeek();return N==="{"||N==="@"||!N?L:N==="|"?!(j===zs||j===qr):N===zs?(k.peek(),M(!0,zs)):N===qr?(k.peek(),M(!0,qr)):!0},z=M();return x&&k.resetPeek(),z}function E(k,x){const M=k.currentChar();return M===Da?Da:x(M)?(k.next(),M):null}function Q(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36}function X(k){return E(k,Q)}function Y(k){const x=k.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36||x===45}function B(k){return E(k,Y)}function ee(k){const x=k.charCodeAt(0);return x>=48&&x<=57}function te(k){return E(k,ee)}function ye(k){const x=k.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102}function ve(k){return E(k,ye)}function pe(k){let x="",M="";for(;x=te(k);)M+=x;return M}function de(k){let x="";for(;;){const M=k.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M===zs||M===qr)if($(k))x+=M,k.next();else{if(C(k))break;x+=M,k.next()}else x+=M,k.next()}return x}function V(k){O(k);let x="",M="";for(;x=B(k);)M+=x;return k.currentChar()===Da&&d(jt.UNTERMINATED_CLOSING_BRACE,i(),0),M}function ue(k){O(k);let x="";return k.currentChar()==="-"?(k.next(),x+=`-${pe(k)}`):x+=pe(k),k.currentChar()===Da&&d(jt.UNTERMINATED_CLOSING_BRACE,i(),0),x}function Ee(k){return k!==R6&&k!==qr}function ne(k){O(k),p(k,"'");let x="",M="";for(;x=E(k,Ee);)x==="\\"?M+=J(k):M+=x;const z=k.currentChar();return z===qr||z===Da?(d(jt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),z===qr&&(k.next(),p(k,"'")),M):(p(k,"'"),M)}function J(k){const x=k.currentChar();switch(x){case"\\":case"'":return k.next(),`\\${x}`;case"u":return me(k,x,4);case"U":return me(k,x,6);default:return d(jt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,x),""}}function me(k,x,M){p(k,x);let z="";for(let L=0;L{const z=k.currentChar();return z==="{"||z==="@"||z==="|"||z==="("||z===")"||!z||z===zs?M:(M+=z,k.next(),x(M))};return x("")}function I(k){O(k);const x=p(k,"|");return O(k),x}function R(k,x){let M=null;switch(k.currentChar()){case"{":return x.braceNest>=1&&d(jt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),k.next(),M=f(x,2,"{"),O(k),x.braceNest++,M;case"}":return x.braceNest>0&&x.currentType===2&&d(jt.EMPTY_PLACEHOLDER,i(),0),k.next(),M=f(x,3,"}"),x.braceNest--,x.braceNest>0&&O(k),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),M;case"@":return x.braceNest>0&&d(jt.UNTERMINATED_CLOSING_BRACE,i(),0),M=Z(k,x)||h(x),x.braceNest=0,M;default:{let L=!0,j=!0,N=!0;if(C(k))return x.braceNest>0&&d(jt.UNTERMINATED_CLOSING_BRACE,i(),0),M=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,M;if(x.braceNest>0&&(x.currentType===4||x.currentType===5||x.currentType===6))return d(jt.UNTERMINATED_CLOSING_BRACE,i(),0),x.braceNest=0,ie(k,x);if(L=v(k,x))return M=f(x,4,V(k)),O(k),M;if(j=y(k,x))return M=f(x,5,ue(k)),O(k),M;if(N=w(k,x))return M=f(x,6,ne(k)),O(k),M;if(!L&&!j&&!N)return M=f(x,12,he(k)),d(jt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,M.value),O(k),M;break}}return M}function Z(k,x){const{currentType:M}=x;let z=null;const L=k.currentChar();switch((M===7||M===8||M===11||M===9)&&(L===qr||L===zs)&&d(jt.INVALID_LINKED_FORMAT,i(),0),L){case"@":return k.next(),z=f(x,7,"@"),x.inLinked=!0,z;case".":return O(k),k.next(),f(x,8,".");case":":return O(k),k.next(),f(x,9,":");default:return C(k)?(z=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,z):S(k,x)||T(k,x)?(O(k),Z(k,x)):_(k,x)?(O(k),f(x,11,Te(k))):A(k,x)?(O(k),L==="{"?R(k,x)||z:f(x,10,ze(k))):(M===7&&d(jt.INVALID_LINKED_FORMAT,i(),0),x.braceNest=0,x.inLinked=!1,ie(k,x))}}function ie(k,x){let M={type:13};if(x.braceNest>0)return R(k,x)||h(x);if(x.inLinked)return Z(k,x)||h(x);switch(k.currentChar()){case"{":return R(k,x)||h(x);case"}":return d(jt.UNBALANCED_CLOSING_BRACE,i(),0),k.next(),f(x,3,"}");case"@":return Z(k,x)||h(x);default:{if(C(k))return M=f(x,1,I(k)),x.braceNest=0,x.inLinked=!1,M;if($(k))return f(x,0,de(k));break}}return M}function re(){const{currentType:k,offset:x,startLoc:M,endLoc:z}=l;return l.lastType=k,l.lastOffset=x,l.lastStartLoc=M,l.lastEndLoc=z,l.offset=o(),l.startLoc=i(),r.currentChar()===Da?f(l,13):ie(r,l)}return{nextToken:re,currentOffset:o,currentPosition:i,context:c}}const U6e="parser",Z6e=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function V6e(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function X6e(e={}){const t=e.location!==!1,{onError:n}=e;function r(g,b,v,y,...w){const S=g.currentPosition();if(S.offset+=y,S.column+=y,n){const _=t?kx(v,S):null,T=Ky(b,_,{domain:U6e,args:w});n(T)}}function o(g,b,v){const y={type:g};return t&&(y.start=b,y.end=b,y.loc={start:v,end:v}),y}function i(g,b,v,y){t&&(g.end=b,g.loc&&(g.loc.end=v))}function s(g,b){const v=g.context(),y=o(3,v.offset,v.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function a(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(5,y,w);return S.index=parseInt(b,10),g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function l(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(4,y,w);return S.key=b,g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function c(g,b){const v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(9,y,w);return S.value=b.replace(Z6e,V6e),g.nextToken(),i(S,g.currentOffset(),g.currentPosition()),S}function u(g){const b=g.nextToken(),v=g.context(),{lastOffset:y,lastStartLoc:w}=v,S=o(8,y,w);return b.type!==11?(r(g,jt.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),S.value="",i(S,y,w),{nextConsumeToken:b,node:S}):(b.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,rs(b)),S.value=b.value||"",i(S,g.currentOffset(),g.currentPosition()),{node:S})}function d(g,b){const v=g.context(),y=o(7,v.offset,v.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function f(g){const b=g.context(),v=o(6,b.offset,b.startLoc);let y=g.nextToken();if(y.type===8){const w=u(g);v.modifier=w.node,y=w.nextConsumeToken||g.nextToken()}switch(y.type!==9&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(y)),v.key=d(g,y.value||"");break;case 4:y.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(y)),v.key=l(g,y.value||"");break;case 5:y.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(y)),v.key=a(g,y.value||"");break;case 6:y.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(y)),v.key=c(g,y.value||"");break;default:{r(g,jt.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const w=g.context(),S=o(7,w.offset,w.startLoc);return S.value="",i(S,w.offset,w.startLoc),v.key=S,i(v,w.offset,w.startLoc),{nextConsumeToken:y,node:v}}}return i(v,g.currentOffset(),g.currentPosition()),{node:v}}function h(g){const b=g.context(),v=b.currentType===1?g.currentOffset():b.offset,y=b.currentType===1?b.endLoc:b.startLoc,w=o(2,v,y);w.items=[];let S=null;do{const A=S||g.nextToken();switch(S=null,A.type){case 0:A.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(A)),w.items.push(s(g,A.value||""));break;case 5:A.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(A)),w.items.push(a(g,A.value||""));break;case 4:A.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(A)),w.items.push(l(g,A.value||""));break;case 6:A.value==null&&r(g,jt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,rs(A)),w.items.push(c(g,A.value||""));break;case 7:{const C=f(g);w.items.push(C.node),S=C.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const _=b.currentType===1?b.lastOffset:g.currentOffset(),T=b.currentType===1?b.lastEndLoc:g.currentPosition();return i(w,_,T),w}function p(g,b,v,y){const w=g.context();let S=y.items.length===0;const _=o(1,b,v);_.cases=[],_.cases.push(y);do{const T=h(g);S||(S=T.items.length===0),_.cases.push(T)}while(w.currentType!==13);return S&&r(g,jt.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),i(_,g.currentOffset(),g.currentPosition()),_}function m(g){const b=g.context(),{offset:v,startLoc:y}=b,w=h(g);return b.currentType===13?w:p(g,v,y,w)}function O(g){const b=q6e(g,Jn({},e)),v=b.context(),y=o(0,v.offset,v.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=m(b),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),v.currentType!==13&&r(b,jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,g[v.offset]||""),i(y,b.currentOffset(),b.currentPosition()),y}return{parse:O}}function rs(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function H6e(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function I6(e,t){for(let n=0;nL6(n)),e}function L6(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function c(O,g){a.code+=O}function u(O,g=!0){const b=g?o:"";c(i?b+" ".repeat(O):b)}function d(O=!0){const g=++a.indentLevel;O&&u(g)}function f(O=!0){const g=--a.indentLevel;O&&u(g)}function h(){u(a.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:h,helper:O=>`_${O}`,needIndent:()=>a.needIndent}}function J6e(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Dd(e,t.key),t.modifier?(e.push(", "),Dd(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function e4e(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i{const n=$e(t.mode)?t.mode:"normal",r=$e(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=K6e(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push(`const { ${HT(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),Dd(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function o4e(e,t={}){const n=Jn({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=X6e(n).parse(e);return r?(i&&G6e(a),o&&xu(a),{ast:a,code:""}):(Y6e(a,n),r4e(a,n))}/*! * core-base v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */function i4e(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oc().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Oc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function b1(e){return n=>s4e(n,e)}function s4e(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((i,s)=>[...i,N6(e,s)],[]))}else return N6(e,n)}function N6(e,t){const n=t.s||t.static;if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,i)=>[...o,xx(e,i)],[]);return e.normalize(r)}}function xx(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,o=r.m||r.modifier;return e.linked(xx(e,r.k||r.key),o?xx(e,o):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const a4e=e=>e;let Lg=Object.create(null);const Qd=e=>Lt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function l4e(e,t={}){let n=!1;const r=t.onError||D6e;return t.onError=o=>{n=!0,r(o)},{...o4e(e,t),detectError:n}}function c4e(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&$e(e)){Ct(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||a4e)(e),o=Lg[r];if(o)return o;const{ast:i,detectError:s}=l4e(e,{...t,location:!1,jit:!0}),a=b1(i);return s?a:Lg[r]=a}else{const n=e.cacheKey;if(n){const r=Lg[n];return r||(Lg[n]=b1(e))}else return b1(e)}}let Tp=null;function u4e(e){Tp=e}function d4e(e,t,n){Tp&&Tp.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const f4e=h4e("function:translate");function h4e(e){return t=>Tp&&Tp.emit(e,t)}const ta={INVALID_ARGUMENT:N6e,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},p4e=24;function na(e){return Ky(e,null,void 0)}function GT(e,t){return t.locale!=null?D6(t.locale):D6(e.locale)}let O1;function D6(e){if($e(e))return e;if(hn(e)){if(e.resolvedOnce&&O1!=null)return O1;if(e.constructor.name==="Function"){const t=e();if(M6e(t))throw na(ta.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return O1=t}else throw na(ta.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw na(ta.NOT_SUPPORT_LOCALE_TYPE)}function m4e(e,t,n){return[...new Set([n,...Tn(t)?t:Lt(t)?Object.keys(t):$e(t)?[t]:[n]])]}function bW(e,t,n){const r=$e(n)?n:Cp,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;Tn(s);)s=Q6(i,s,t);const a=Tn(t)||!Ot(t)?t:t.default?t.default:null;s=$e(a)?[a]:a,Tn(s)&&Q6(i,s,!1),o.__localeChainCache.set(r,i)}return i}function Q6(e,t,n){let r=!0;for(let o=0;o{s===void 0?s=a:s+=a},f[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,s===void 0||(s=S4e(s),s===!1))return!1;f[1]()}};function h(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,a="\\"+p,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(l=w4e(i),d=Wl[r],c=d[l]||d.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(a=i,u()===!1))))return;if(r===7)return t}}const B6=new Map;function k4e(e,t){return Lt(e)?e[t]:null}function x4e(e,t){if(!Lt(e))return null;let n=B6.get(t);if(n||(n=_4e(t),n&&B6.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function T4e(){return{upper:(e,t)=>t==="text"&&$e(e)?e.toUpperCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&$e(e)?e.toLowerCase():t==="vnode"&&Lt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&$e(e)?j6(e):t==="vnode"&&Lt(e)&&"__v_isVNode"in e?j6(e.children):e}}let OW;function C4e(e){OW=e}let yW;function P4e(e){yW=e}let vW;function A4e(e){vW=e}let wW=null;const $4e=e=>{wW=e},M4e=()=>wW;let SW=null;const W6=e=>{SW=e},R4e=()=>SW;let F6=0;function I4e(e={}){const t=hn(e.onWarn)?e.onWarn:I6e,n=$e(e.version)?e.version:E4e,r=$e(e.locale)||hn(e.locale)?e.locale:Cp,o=hn(r)?Cp:r,i=Tn(e.fallbackLocale)||Ot(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=Ot(e.messages)?e.messages:{[o]:{}},a=Ot(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=Ot(e.numberFormats)?e.numberFormats:{[o]:{}},c=Jn({},e.modifiers||{},T4e()),u=e.pluralRules||{},d=hn(e.missing)?e.missing:null,f=Ct(e.missingWarn)||Nd(e.missingWarn)?e.missingWarn:!0,h=Ct(e.fallbackWarn)||Nd(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,m=!!e.unresolving,O=hn(e.postTranslation)?e.postTranslation:null,g=Ot(e.processor)?e.processor:null,b=Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,y=hn(e.messageCompiler)?e.messageCompiler:OW,w=hn(e.messageResolver)?e.messageResolver:yW||k4e,S=hn(e.localeFallbacker)?e.localeFallbacker:vW||m4e,_=Lt(e.fallbackContext)?e.fallbackContext:void 0,T=e,A=Lt(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,C=Lt(T.__numberFormatters)?T.__numberFormatters:new Map,$=Lt(T.__meta)?T.__meta:{};F6++;const E={version:n,cid:F6,locale:r,fallbackLocale:i,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:O,processor:g,warnHtmlMessage:b,escapeParameter:v,messageCompiler:y,messageResolver:w,localeFallbacker:S,fallbackContext:_,onWarn:t,__meta:$};return E.datetimeFormats=a,E.numberFormats=l,E.__datetimeFormatters=A,E.__numberFormatters=C,__INTLIFY_PROD_DEVTOOLS__&&d4e(E,n,$),E}function KT(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return $e(a)?a:t}else return t}function jf(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function L4e(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function N4e(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{_W.includes(l)?s[l]=n[l]:i[l]=n[l]}),$e(r)?i.locale=r:Ot(r)&&(s=r),Ot(o)&&(s=o),[i.key||"",a,i,s]}function U6(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Z6(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,c,u,d]=Tx(...t),f=Ct(u.missingWarn)?u.missingWarn:e.missingWarn;Ct(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=GT(e,u),m=s(e,o,p);if(!$e(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let O={},g,b=null;const v="number format";for(let S=0;S{kW.includes(l)?s[l]=n[l]:i[l]=n[l]}),$e(r)?i.locale=r:Ot(r)&&(s=r),Ot(o)&&(s=o),[i.key||"",a,i,s]}function V6(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const D4e=e=>e,Q4e=e=>"",B4e="text",z4e=e=>e.length===0?"":HT(e),j4e=R6e;function X6(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function W4e(e){const t=Xn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Xn(e.named.count)||Xn(e.named.n))?Xn(e.named.count)?e.named.count:Xn(e.named.n)?e.named.n:t:t}function F4e(e,t){t.count||(t.count=e),t.n||(t.n=e)}function q4e(e={}){const t=e.locale,n=W4e(e),r=Lt(e.pluralRules)&&$e(t)&&hn(e.pluralRules[t])?e.pluralRules[t]:X6,o=Lt(e.pluralRules)&&$e(t)&&hn(e.pluralRules[t])?X6:void 0,i=g=>g[r(n,g.length,o)],s=e.list||[],a=g=>s[g],l=e.named||{};Xn(e.pluralIndex)&&F4e(n,l);const c=g=>l[g];function u(g,b){const v=hn(e.messages)?e.messages(g,!!b):Lt(e.messages)?e.messages[g]:!1;return v||(e.parent?e.parent.message(g):Q4e)}const d=g=>e.modifiers?e.modifiers[g]:D4e,f=Ot(e.processor)&&hn(e.processor.normalize)?e.processor.normalize:z4e,h=Ot(e.processor)&&hn(e.processor.interpolate)?e.processor.interpolate:j4e,p=Ot(e.processor)&&$e(e.processor.type)?e.processor.type:B4e,O={list:a,named:c,plural:i,linked:(g,...b)=>{const[v,y]=b;let w="text",S="";b.length===1?Lt(v)?(S=v.modifier||S,w=v.type||w):$e(v)&&(S=v||S):b.length===2&&($e(v)&&(S=v||S),$e(y)&&(w=y||w));const _=u(g,!0)(O),T=w==="vnode"&&Tn(_)&&S?_[0]:_;return S?d(S)(T,w):T},message:u,type:p,interpolate:h,normalize:f,values:Jn({},s,l)};return O}const H6=()=>"",Ko=e=>hn(e);function Y6(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,c]=Cx(...t),u=Ct(c.missingWarn)?c.missingWarn:e.missingWarn,d=Ct(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Ct(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=$e(c.default)||Ct(c.default)?Ct(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:null,m=n||p!=null&&($e(p)||hn(p)),O=GT(e,c);f&&U4e(c);let[g,b,v]=h?[l,O,a[O]||{}]:xW(e,l,O,s,d,u),y=g,w=l;if(!h&&!($e(y)||Qd(y)||Ko(y))&&m&&(y=p,w=y),!h&&(!($e(y)||Qd(y)||Ko(y))||!$e(b)))return o?Jy:l;let S=!1;const _=()=>{S=!0},T=Ko(y)?y:EW(e,l,b,y,w,_);if(S)return y;const A=X4e(e,b,v,c),C=q4e(A),$=Z4e(e,T,C),E=r?r($,l):$;if(__INTLIFY_PROD_DEVTOOLS__){const Q={timestamp:Date.now(),key:$e(l)?l:Ko(y)?y.key:"",locale:b||(Ko(y)?y.locale:""),format:$e(y)?y:Ko(y)?y.source:"",message:E};Q.meta=Jn({},e.__meta,M4e()||{}),f4e(Q)}return E}function U4e(e){Tn(e.list)?e.list=e.list.map(t=>$e(t)?M6(t):t):Lt(e.named)&&Object.keys(e.named).forEach(t=>{$e(e.named[t])&&(e.named[t]=M6(e.named[t]))})}function xW(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let d={},f,h=null;const p="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const l=s(r,V4e(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function Z4e(e,t,n){return t(n)}function Cx(...e){const[t,n,r]=e,o={};if(!$e(t)&&!Xn(t)&&!Ko(t)&&!Qd(t))throw na(ta.INVALID_ARGUMENT);const i=Xn(t)?String(t):(Ko(t),t);return Xn(n)?o.plural=n:$e(n)?o.default=n:Ot(n)&&!Gy(n)?o.named=n:Tn(n)&&(o.list=n),Xn(r)?o.plural=r:$e(r)?o.default=r:Ot(r)&&Jn(o,r),[i,o]}function V4e(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>C6e(t,n,s)}}function X4e(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:o,pluralRules:i,messages:(h,p)=>{let m=s(n,h);if(m==null&&(u||p)){const[,,O]=xW(u||e,h,t,a,l,c);m=s(O,h)}if($e(m)||Qd(m)){let O=!1;const b=EW(e,h,t,m,h,()=>{O=!0});return O?H6:b}else return Ko(m)?m:H6}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Xn(r.plural)&&(f.pluralIndex=r.plural),f}i4e();/*! * vue-i18n v10.0.4 * (c) 2024 kazuya kawaguchi * Released under the MIT License. */const H4e="10.0.4";function Y4e(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Oc().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Oc().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Oc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oc().__INTLIFY_PROD_DEVTOOLS__=!1)}const io={UNEXPECTED_RETURN_TYPE:p4e,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function _o(e,...t){return Ky(e,null,void 0)}const Px=jl("__translateVNode"),Ax=jl("__datetimeParts"),$x=jl("__numberParts"),TW=jl("__setPluralRules"),CW=jl("__injectWithOption"),Mx=jl("__dispose");function Pp(e){if(!Lt(e))return e;for(const t in e)if(yO(e,t))if(!t.includes("."))Lt(e[t])&&Pp(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(s[l]=s[l]||{},Sb(c,s[l])):Sb(c,s)}else $e(a)&&Sb(JSON.parse(a),s)}),o==null&&i)for(const a in s)yO(s,a)&&Pp(s[a]);return s}function PW(e){return e.type}function AW(e,t,n){let r=Lt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=JT(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Lt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Lt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function G6(e){return De(ra,null,e,0)}const K6="__INTLIFY_META__",J6=()=>[],G4e=()=>!1;let e4=0;function t4(e){return(t,n,r,o)=>e(n,r,Rr()||void 0,o)}const K4e=()=>{const e=Rr();let t=null;return e&&(t=PW(e)[K6])?{[K6]:t}:null};function e5(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=OO?ge:Ai;let s=Ct(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:$e(e.locale)?e.locale:Cp),l=i(t&&s?t.fallbackLocale.value:$e(e.fallbackLocale)||Tn(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=i(JT(a.value,e)),u=i(Ot(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),d=i(Ot(e.numberFormats)?e.numberFormats:{[a.value]:{}});let f=t?t.missingWarn:Ct(e.missingWarn)||Nd(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Ct(e.fallbackWarn)||Nd(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:Ct(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,O=hn(e.missing)?e.missing:null,g=hn(e.missing)?t4(e.missing):null,b=hn(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:Ct(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const w=t?t.modifiers:Ot(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,_;_=(()=>{r&&W6(null);const N={version:H4e,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:w,pluralRules:S,missing:g===null?void 0:g,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:v,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=u.value,N.numberFormats=d.value,N.__datetimeFormatters=Ot(_)?_.__datetimeFormatters:void 0,N.__numberFormatters=Ot(_)?_.__numberFormatters:void 0;const K=I4e(N);return r&&W6(K),K})(),jf(_,a.value,l.value);function A(){return[a.value,l.value,c.value,u.value,d.value]}const C=q({get:()=>a.value,set:N=>{a.value=N,_.locale=a.value}}),$=q({get:()=>l.value,set:N=>{l.value=N,_.fallbackLocale=l.value,jf(_,a.value,N)}}),E=q(()=>c.value),Q=q(()=>u.value),X=q(()=>d.value);function Y(){return hn(b)?b:null}function B(N){b=N,_.postTranslation=N}function ee(){return O}function te(N){N!==null&&(g=t4(N)),O=N,_.missing=g}const ye=(N,K,we,Ie,He,ht)=>{A();let tn;try{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=t?R4e():void 0),tn=N(_)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=void 0)}if(we!=="translate exists"&&Xn(tn)&&tn===Jy||we==="translate exists"&&!tn){const[Pn,Dr]=K();return t&&p?Ie(t):He(Pn)}else{if(ht(tn))return tn;throw _o(io.UNEXPECTED_RETURN_TYPE)}};function ve(...N){return ye(K=>Reflect.apply(Y6,null,[K,...N]),()=>Cx(...N),"translate",K=>Reflect.apply(K.t,K,[...N]),K=>K,K=>$e(K))}function pe(...N){const[K,we,Ie]=N;if(Ie&&!Lt(Ie))throw _o(io.INVALID_ARGUMENT);return ve(K,we,Jn({resolvedMessage:!0},Ie||{}))}function de(...N){return ye(K=>Reflect.apply(q6,null,[K,...N]),()=>Ex(...N),"datetime format",K=>Reflect.apply(K.d,K,[...N]),()=>z6,K=>$e(K))}function V(...N){return ye(K=>Reflect.apply(Z6,null,[K,...N]),()=>Tx(...N),"number format",K=>Reflect.apply(K.n,K,[...N]),()=>z6,K=>$e(K))}function ue(N){return N.map(K=>$e(K)||Xn(K)||Ct(K)?G6(String(K)):K)}const ne={normalize:ue,interpolate:N=>N,type:"vnode"};function J(...N){return ye(K=>{let we;const Ie=K;try{Ie.processor=ne,we=Reflect.apply(Y6,null,[Ie,...N])}finally{Ie.processor=null}return we},()=>Cx(...N),"translate",K=>K[Px](...N),K=>[G6(K)],K=>Tn(K))}function me(...N){return ye(K=>Reflect.apply(Z6,null,[K,...N]),()=>Tx(...N),"number format",K=>K[$x](...N),J6,K=>$e(K)||Tn(K))}function fe(...N){return ye(K=>Reflect.apply(q6,null,[K,...N]),()=>Ex(...N),"datetime format",K=>K[Ax](...N),J6,K=>$e(K)||Tn(K))}function he(N){S=N,_.pluralRules=S}function Te(N,K){return ye(()=>{if(!N)return!1;const we=$e(K)?K:a.value,Ie=R(we),He=_.messageResolver(Ie,N);return Qd(He)||Ko(He)||$e(He)},()=>[N],"translate exists",we=>Reflect.apply(we.te,we,[N,K]),G4e,we=>Ct(we))}function ze(N){let K=null;const we=bW(_,l.value,a.value);for(let Ie=0;Ie{s&&(a.value=N,_.locale=N,jf(_,a.value,l.value))}),We(t.fallbackLocale,N=>{s&&(l.value=N,_.fallbackLocale=N,jf(_,a.value,l.value))}));const j={id:e4,locale:C,fallbackLocale:$,get inheritLocale(){return s},set inheritLocale(N){s=N,N&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,jf(_,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:E,get modifiers(){return w},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(N){f=N,_.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(N){h=N,_.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(N){p=N},get fallbackFormat(){return m},set fallbackFormat(N){m=N,_.fallbackFormat=m},get warnHtmlMessage(){return v},set warnHtmlMessage(N){v=N,_.warnHtmlMessage=N},get escapeParameter(){return y},set escapeParameter(N){y=N,_.escapeParameter=N},t:ve,getLocaleMessage:R,setLocaleMessage:Z,mergeLocaleMessage:ie,getPostTranslationHandler:Y,setPostTranslationHandler:B,getMissingHandler:ee,setMissingHandler:te,[TW]:he};return j.datetimeFormats=Q,j.numberFormats=X,j.rt=pe,j.te=Te,j.tm=I,j.d=de,j.n=V,j.getDateTimeFormat=re,j.setDateTimeFormat=k,j.mergeDateTimeFormat=x,j.getNumberFormat=M,j.setNumberFormat=z,j.mergeNumberFormat=L,j[CW]=n,j[Px]=J,j[Ax]=fe,j[$x]=me,j}function J4e(e){const t=$e(e.locale)?e.locale:Cp,n=$e(e.fallbackLocale)||Tn(e.fallbackLocale)||Ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=hn(e.missing)?e.missing:void 0,o=Ct(e.silentTranslationWarn)||Nd(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Ct(e.silentFallbackWarn)||Nd(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,s=Ct(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Ot(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=hn(e.postTranslation)?e.postTranslation:void 0,d=$e(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=Ct(e.sync)?e.sync:!0;let p=e.messages;if(Ot(e.sharedMessages)){const w=e.sharedMessages;p=Object.keys(w).reduce((_,T)=>{const A=_[T]||(_[T]={});return Jn(A,w[T]),_},p||{})}const{__i18n:m,__root:O,__injectWithOption:g}=e,b=e.datetimeFormats,v=e.numberFormats,y=e.flatJson;return{locale:t,fallbackLocale:n,messages:p,flatJson:y,datetimeFormats:b,numberFormats:v,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,__i18n:m,__root:O,__injectWithOption:g}}function Rx(e={}){const t=e5(J4e(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return Ct(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=Ct(o)?!o:o},get silentFallbackWarn(){return Ct(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=Ct(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},tc(...o){const[i,s,a]=o,l={plural:1};let c=null,u=null;if(!$e(i))throw _o(io.INVALID_ARGUMENT);const d=i;return $e(s)?l.locale=s:Xn(s)?l.plural=s:Tn(s)?c=s:Ot(s)&&(u=s),$e(a)?l.locale=a:Tn(a)?c=a:Ot(a)&&(u=a),Reflect.apply(t.t,t,[d,c||u||{},l])},te(o,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return r.__extender=n,r}function e8e(e,t,n){return{beforeCreate(){const r=Rr();if(!r)throw _o(io.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=n4(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Rx(i);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=n4(e,o);else{this.$i18n=Rx({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&AW(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,s)=>this.$i18n.te(i,s),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Rr();if(!r)throw _o(io.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function n4(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[TW](t.pluralizationRules||e.pluralizationRules);const n=JT(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const t5={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function t8e({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===wt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function $W(){return wt}const n8e=Qe({name:"i18n-t",props:Jn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Xn(e)||!isNaN(e)}},t5),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||n5({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=$e(e.plural)?+e.plural:e.plural);const a=t8e(t,i),l=o[Px](e.keypath,a,s),c=Jn({},r),u=$e(e.tag)||Lt(e.tag)?e.tag:$W();return Dt(u,c,l)}}}),r4=n8e;function r8e(e){return Tn(e)&&!$e(e[0])}function MW(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a={};e.locale&&(s.locale=e.locale),$e(e.format)?s.key=e.format:Lt(e.format)&&($e(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((f,h)=>n.includes(h)?Jn({},f,{[h]:e.format[h]}):f,{}));const l=r(e.value,s,a);let c=[s.key];Tn(l)?c=l.map((f,h)=>{const p=o[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return r8e(m)&&(m[0].key=`${f.type}-${h}`),m}):$e(l)&&(c=[l]);const u=Jn({},i),d=$e(e.tag)||Lt(e.tag)?e.tag:$W();return Dt(d,u,c)}}const o8e=Qe({name:"i18n-n",props:Jn({value:{type:Number,required:!0},format:{type:[String,Object]}},t5),setup(e,t){const n=e.i18n||n5({useScope:e.scope,__useComponent:!0});return MW(e,t,kW,(...r)=>n[$x](...r))}}),o4=o8e,i8e=Qe({name:"i18n-d",props:Jn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},t5),setup(e,t){const n=e.i18n||n5({useScope:e.scope,__useComponent:!0});return MW(e,t,_W,(...r)=>n[Ax](...r))}}),i4=i8e;function s8e(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function a8e(e){const t=s=>{const{instance:a,value:l}=s;if(!a||!a.$)throw _o(io.UNEXPECTED_ERROR);const c=s8e(e,a.$),u=s4(l);return[Reflect.apply(c.t,c,[...a4(u)]),c]};return{created:(s,a)=>{const[l,c]=t(a);OO&&e.global===c&&(s.__i18nWatcher=We(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=c,s.textContent=l},unmounted:s=>{OO&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,c=s4(a);s.textContent=Reflect.apply(l.t,l,[...a4(c)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function s4(e){if($e(e))return{path:e};if(Ot(e)){if(!("path"in e))throw _o(io.REQUIRED_VALUE,"path");return e}else throw _o(io.INVALID_VALUE)}function a4(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return $e(n)&&(s.locale=n),Xn(o)&&(s.plural=o),Xn(i)&&(s.plural=i),[t,a,s]}function l8e(e,t,...n){const r=Ot(n[0])?n[0]:{};(Ct(r.globalInstall)?r.globalInstall:!0)&&([r4.name,"I18nT"].forEach(i=>e.component(i,r4)),[o4.name,"I18nN"].forEach(i=>e.component(i,o4)),[i4.name,"I18nD"].forEach(i=>e.component(i,i4))),e.directive("t",a8e(t))}const c8e=jl("global-vue-i18n");function u8e(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ct(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Ct(e.globalInjection)?e.globalInjection:!0,o=new Map,[i,s]=d8e(e,n),a=jl("");function l(f){return o.get(f)||null}function c(f,h){o.set(f,h)}function u(f){o.delete(f)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(f,...h){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,d),Ot(h[0])){const O=h[0];d.__composerExtend=O.__composerExtend,d.__vueI18nExtend=O.__vueI18nExtend}let p=null;!n&&r&&(p=y8e(f,d.global)),__VUE_I18N_FULL_INSTALL__&&l8e(f,d,...h),__VUE_I18N_LEGACY_API__&&n&&f.mixin(e8e(s,s.__composer,d));const m=f.unmount;f.unmount=()=>{p&&p(),d.dispose(),m()}},get global(){return s},dispose(){i.stop()},__instances:o,__getInstance:l,__setInstance:c,__deleteInstance:u};return d}function n5(e={}){const t=Rr();if(t==null)throw _o(io.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw _o(io.NOT_INSTALLED);const n=f8e(t),r=p8e(n),o=PW(t),i=h8e(e,o);if(i==="global")return AW(r,e,o),r;if(i==="parent"){let l=m8e(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=Jn({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=e5(l),s.__composerExtend&&(a[Mx]=s.__composerExtend(a)),b8e(s,t,a),s.__setInstance(t,a)}return a}function d8e(e,t,n){const r=xO(),o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Rx(e)):r.run(()=>e5(e));if(o==null)throw _o(io.UNEXPECTED_ERROR);return[r,o]}function f8e(e){const t=qe(e.isCE?c8e:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw _o(e.isCE?io.NOT_INSTALLED_WITH_PROVIDE:io.UNEXPECTED_ERROR);return t}function h8e(e,t){return Gy(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function p8e(e){return e.mode==="composition"?e.global:e.global.__composer}function m8e(e,t,n=!1){let r=null;const o=t.root;let i=g8e(t,n);for(;i!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[CW]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function g8e(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function b8e(e,t,n){Zo(()=>{},t),qc(()=>{const r=n;e.__deleteInstance(t);const o=r[Mx];o&&(o(),delete r[Mx])},t)}const O8e=["locale","fallbackLocale","availableLocales"],l4=["t","rt","d","n","tm","te"];function y8e(e,t){const n=Object.create(null);return O8e.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw _o(io.UNEXPECTED_ERROR);const s=Jt(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,l4.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw _o(io.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,l4.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Y4e();C4e(c4e);P4e(x4e);A4e(bW);if(__INTLIFY_PROD_DEVTOOLS__){const e=Oc();e.__INTLIFY__=!0,u4e(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const v8e={projectCompanySizes:{"size-a":{label:"Just me"},"size-b":{label:"2-10"},"size-c":{label:"11-25"},"size-d":{label:"26-50"},"size-e":{label:"51-100"},"size-f":{label:"101-250"},"size-g":{label:"251-500"},"size-h":{label:"501+"}},projectLanguages:{af:{label:"Afrikaans"},ar:{label:"Arabic"},ca:{label:"Catalan"},cs:{label:"Czech"},da:{label:"Danish"},de:{label:"German"},el:{label:"Greek"},en:{label:"English"},es:{label:"Spanish"},fi:{label:"Finnish"},fr:{label:"French"},he:{label:"Hebrew"},hi:{label:"Hindi"},hr:{label:"Croatian"},hu:{label:"Hungarian"},is:{label:"Icelandic"},it:{label:"Italian"},ja:{label:"Japanese"},ko:{label:"Korean"},nl:{label:"Dutch"},no:{label:"Norwegian"},pl:{label:"Polish"},pt_br:{label:"Portuguese (Brazil)"},ro:{label:"Romanian"},ru:{label:"Russian"},sv:{label:"Swedish"},th:{label:"Thai"},tr:{label:"Turkish"},uk:{label:"Ukrainian"},ur:{label:"Urdu"},vi:{label:"Vietnamese"},zh_cn:{label:"Chinese (PRC)"},zh_hk:{label:"Chinese (Traditional)"}},projectLocations:{worldwide:{label:"Worldwide"}},projectTimings:{"a-few-weeks":{label:"A few weeks"},"as-soon-as-possible":{label:"As soon as possible"},deadline:{label:"I have a deadline"},flexible:{label:"I'm flexible"}},validators:{captchaRequired:{banner:"Captcha is required",field:"This field is required"},checkboxGroupRequired:{banner:"Highlighted items are required"},checkboxRequired:{banner:"{field} must be checked",field:"This field must be checked"},colorValid:{banner:"{field} requires a valid color code",field:"A valid hex code is required"},dateAfter:{banner:"{field} requires a date after {targetField}",field:"Date must be after {targetField}"},dateValid:{banner:"{field} requires a valid date",field:"A valid date is required"},integer:{banner:"{field} requires an integer number",field:"An integer number is required"},numberMaxDecimals:{banner:"{field} should have maximum {maxDecimals} decimals",field:"This field can have maximum {maxDecimals} decimals"},numberMaxValue:{banner:"{field} can't be higher than {maxValue}",field:"This field can't be higher than {maxValue}"},numberMinValue:{banner:"{field} can't be lower than {minValue}",field:"This field can't be lower than {minValue}"},numeric:{banner:"{field} requires a number",field:"A valid number is required"},ratingRequired:{banner:"{field} requires a selection",field:"This field is required"},repeatedPassword:{banner:"{field} doesn't match {otherField}",field:"Passwords don't match"},textMaxLength:{banner:"{field} is too long",field:"This field cannot be longer than {maxCharacters} characters"},textMinLength:{banner:"{field} requires {minCharacters} characters",field:"This field should be at least {minCharacters} characters"},textRequired:{banner:"{field} can't be blank",field:"This field is required"},validDomain:{banner:"{field} requires a valid domain",field:"A valid domain is required"},validEmail:{banner:"{field} requires a valid email address",field:"A valid email address is required"},validPassword:{banner:"{field} doesn't meet requirements",field:"Password doesn't meet requirements"},validSlug:{banner:"{field} requires a valid slug",field:"A valid slug can contain lowercase letters, numbers, underscores and hyphens"},validTag:{banner:"{field} requires a valid tag",field:"A valid tag can contain letters, numbers, and spaces"},validUrl:{banner:"{field} requires a valid URL",field:"A valid URL is required"}}},w8e={shared:v8e},S8e={components:{uiAutocomplete:{noResults:{text:"No results found. Try a different word or phrase"}},uiErrorsBanner:{title:"There is an error with this {entityName} | There are {numberOfErrors} errors with this {entityName}"},uiFieldCheckboxGroup:{showAll:"Show all",showLess:"Show less"},uiMediaLightbox:{nextButtonText:"Next",previousButtonText:"Previous"},uiOptionList:{emptyPlaceholderText:"No items found",search:{placeholder:"Search"}},uiPagination:{currentPagination:"Page {currentPage} of {totalPages}",resultsText:"0 results | 1 result | {count} results"}}},_8e={ui:S8e},k8e=Xt(({vueApp:e})=>{const t=u8e({legacy:!1,globalInjection:!0,locale:"en-US",messages:{"en-US":{...w8e,..._8e}}});e.use(t)});function x8e(e){return(t,n)=>{if(!e)return{};if(n===!1)return{};const r=`data-test-${t}`;return n===!0||n==null?{[r]:""}:{[r]:n.toString()}}}const E8e={install:(e,t={})=>{const{enabled:n=!0}=t;e.config.globalProperties.$qa=x8e(n)}},T8e=Xt(e=>{e.vueApp.use(E8e,{enabled:e.$config.public.qaPluginEnabled})}),C8e=Xt(e=>{e.vueApp.use(G2e,{}),e.vueApp.use(H2e,{}),e.vueApp.use(Due,{addToDocument:!1,routerLinkComponent:hEe});const{globalCss:t}=qe(Vp);Qp(q(()=>({style:[{hid:"theme",type:"text/css",innerHTML:t.value}]})))});function DLe(e){return{page:e.page,page_size:e.pageSize}}const P8e="URL cannot be empty",c4=e=>`URL is not valid: "${e}"`;function u4(e){if(!e)throw new Error(P8e);let t;try{t=new URL(e).pathname}catch{throw new Error(c4(e))}const n=t.split("/").filter(Boolean);if(n.length<2)throw new Error(c4(e));return{bucket:n[0],key:n.slice(1).join("/")}}const A8e=Xt(e=>{const t=iL(e.$config.public.imageServiceHost);return{provide:{getImageUrl:(o,i)=>{try{const{bucket:s,key:a}=u4(o);return t(s,a,i)}catch(s){console.error(s);return}},getImageSrcset:(o,i)=>{try{const{bucket:s,key:a}=u4(o);return Yoe(t,s,a,i)}catch(s){console.error(s);return}}}}});function RW(e,t){return function(){return e.apply(t,arguments)}}const{toString:$8e}=Object.prototype,{getPrototypeOf:r5}=Object,ev=(e=>t=>{const n=$8e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Hi=e=>(e=e.toLowerCase(),t=>ev(t)===e),tv=e=>t=>typeof t===e,{isArray:cf}=Array,Ap=tv("undefined");function M8e(e){return e!==null&&!Ap(e)&&e.constructor!==null&&!Ap(e.constructor)&&qo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const IW=Hi("ArrayBuffer");function R8e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&IW(e.buffer),t}const I8e=tv("string"),qo=tv("function"),LW=tv("number"),nv=e=>e!==null&&typeof e=="object",L8e=e=>e===!0||e===!1,_b=e=>{if(ev(e)!=="object")return!1;const t=r5(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},N8e=Hi("Date"),D8e=Hi("File"),Q8e=Hi("Blob"),B8e=Hi("FileList"),z8e=e=>nv(e)&&qo(e.pipe),j8e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qo(e.append)&&((t=ev(e))==="formdata"||t==="object"&&qo(e.toString)&&e.toString()==="[object FormData]"))},W8e=Hi("URLSearchParams"),[F8e,q8e,U8e,Z8e]=["ReadableStream","Request","Response","Headers"].map(Hi),V8e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Em(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),cf(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const yc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,DW=e=>!Ap(e)&&e!==yc;function Ix(){const{caseless:e}=DW(this)&&this||{},t={},n=(r,o)=>{const i=e&&NW(t,o)||o;_b(t[i])&&_b(r)?t[i]=Ix(t[i],r):_b(r)?t[i]=Ix({},r):cf(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(Em(t,(o,i)=>{n&&qo(o)?e[i]=RW(o,n):e[i]=o},{allOwnKeys:r}),e),H8e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Y8e=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},G8e=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&r5(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},K8e=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},J8e=e=>{if(!e)return null;if(cf(e))return e;let t=e.length;if(!LW(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},eIe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&r5(Uint8Array)),tIe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},nIe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},rIe=Hi("HTMLFormElement"),oIe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),d4=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),iIe=Hi("RegExp"),QW=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Em(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},sIe=e=>{QW(e,(t,n)=>{if(qo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(qo(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},aIe=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return cf(e)?r(e):r(String(e).split(t)),n},lIe=()=>{},cIe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,y1="abcdefghijklmnopqrstuvwxyz",f4="0123456789",BW={DIGIT:f4,ALPHA:y1,ALPHA_DIGIT:y1+y1.toUpperCase()+f4},uIe=(e=16,t=BW.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function dIe(e){return!!(e&&qo(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fIe=e=>{const t=new Array(10),n=(r,o)=>{if(nv(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=cf(r)?[]:{};return Em(r,(s,a)=>{const l=n(s,o+1);!Ap(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},hIe=Hi("AsyncFunction"),pIe=e=>e&&(nv(e)||qo(e))&&qo(e.then)&&qo(e.catch),zW=((e,t)=>e?setImmediate:t?((n,r)=>(yc.addEventListener("message",({source:o,data:i})=>{o===yc&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),yc.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",qo(yc.postMessage)),mIe=typeof queueMicrotask<"u"?queueMicrotask.bind(yc):typeof process<"u"&&process.nextTick||zW,ce={isArray:cf,isArrayBuffer:IW,isBuffer:M8e,isFormData:j8e,isArrayBufferView:R8e,isString:I8e,isNumber:LW,isBoolean:L8e,isObject:nv,isPlainObject:_b,isReadableStream:F8e,isRequest:q8e,isResponse:U8e,isHeaders:Z8e,isUndefined:Ap,isDate:N8e,isFile:D8e,isBlob:Q8e,isRegExp:iIe,isFunction:qo,isStream:z8e,isURLSearchParams:W8e,isTypedArray:eIe,isFileList:B8e,forEach:Em,merge:Ix,extend:X8e,trim:V8e,stripBOM:H8e,inherits:Y8e,toFlatObject:G8e,kindOf:ev,kindOfTest:Hi,endsWith:K8e,toArray:J8e,forEachEntry:tIe,matchAll:nIe,isHTMLForm:rIe,hasOwnProperty:d4,hasOwnProp:d4,reduceDescriptors:QW,freezeMethods:sIe,toObjectSet:aIe,toCamelCase:oIe,noop:lIe,toFiniteNumber:cIe,findKey:NW,global:yc,isContextDefined:DW,ALPHABET:BW,generateString:uIe,isSpecCompliantForm:dIe,toJSONObject:fIe,isAsyncFn:hIe,isThenable:pIe,setImmediate:zW,asap:mIe};function dt(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}ce.inherits(dt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ce.toJSONObject(this.config),code:this.code,status:this.status}}});const jW=dt.prototype,WW={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{WW[e]={value:e}});Object.defineProperties(dt,WW);Object.defineProperty(jW,"isAxiosError",{value:!0});dt.from=(e,t,n,r,o,i)=>{const s=Object.create(jW);return ce.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),dt.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const gIe=null;function Lx(e){return ce.isPlainObject(e)||ce.isArray(e)}function FW(e){return ce.endsWith(e,"[]")?e.slice(0,-2):e}function h4(e,t,n){return e?e.concat(t).map(function(o,i){return o=FW(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function bIe(e){return ce.isArray(e)&&!e.some(Lx)}const OIe=ce.toFlatObject(ce,{},null,function(t){return/^is[A-Z]/.test(t)});function rv(e,t,n){if(!ce.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ce.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,O){return!ce.isUndefined(O[m])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&ce.isSpecCompliantForm(t);if(!ce.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(ce.isDate(p))return p.toISOString();if(!l&&ce.isBlob(p))throw new dt("Blob is not supported. Use a Buffer instead.");return ce.isArrayBuffer(p)||ce.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,O){let g=p;if(p&&!O&&typeof p=="object"){if(ce.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(ce.isArray(p)&&bIe(p)||(ce.isFileList(p)||ce.endsWith(m,"[]"))&&(g=ce.toArray(p)))return m=FW(m),g.forEach(function(v,y){!(ce.isUndefined(v)||v===null)&&t.append(s===!0?h4([m],y,i):s===null?m:m+"[]",c(v))}),!1}return Lx(p)?!0:(t.append(h4(O,m,i),c(p)),!1)}const d=[],f=Object.assign(OIe,{defaultVisitor:u,convertValue:c,isVisitable:Lx});function h(p,m){if(!ce.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),ce.forEach(p,function(g,b){(!(ce.isUndefined(g)||g===null)&&o.call(t,g,ce.isString(b)?b.trim():b,m,f))===!0&&h(g,m?m.concat(b):[b])}),d.pop()}}if(!ce.isObject(e))throw new TypeError("data must be an object");return h(e),t}function p4(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function o5(e,t){this._pairs=[],e&&rv(e,this,t)}const qW=o5.prototype;qW.append=function(t,n){this._pairs.push([t,n])};qW.toString=function(t){const n=t?function(r){return t.call(this,r,p4)}:p4;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function yIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function UW(e,t,n){if(!t)return e;const r=n&&n.encode||yIe,o=n&&n.serialize;let i;if(o?i=o(t,n):i=ce.isURLSearchParams(t)?t.toString():new o5(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class m4{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ce.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ZW={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vIe=typeof URLSearchParams<"u"?URLSearchParams:o5,wIe=typeof FormData<"u"?FormData:null,SIe=typeof Blob<"u"?Blob:null,_Ie={isBrowser:!0,classes:{URLSearchParams:vIe,FormData:wIe,Blob:SIe},protocols:["http","https","file","blob","url","data"]},i5=typeof window<"u"&&typeof document<"u",Nx=typeof navigator=="object"&&navigator||void 0,kIe=i5&&(!Nx||["ReactNative","NativeScript","NS"].indexOf(Nx.product)<0),xIe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",EIe=i5&&window.location.href||"http://localhost",TIe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:i5,hasStandardBrowserEnv:kIe,hasStandardBrowserWebWorkerEnv:xIe,navigator:Nx,origin:EIe},Symbol.toStringTag,{value:"Module"})),wo={...TIe,..._Ie};function CIe(e,t){return rv(e,new wo.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return wo.isNode&&ce.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function PIe(e){return ce.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function AIe(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&ce.isArray(o)?o.length:s,l?(ce.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!ce.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&ce.isArray(o[s])&&(o[s]=AIe(o[s])),!a)}if(ce.isFormData(e)&&ce.isFunction(e.entries)){const n={};return ce.forEachEntry(e,(r,o)=>{t(PIe(r),o,n,0)}),n}return null}function $Ie(e,t,n){if(ce.isString(e))try{return(t||JSON.parse)(e),ce.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Tm={transitional:ZW,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=ce.isObject(t);if(i&&ce.isHTMLForm(t)&&(t=new FormData(t)),ce.isFormData(t))return o?JSON.stringify(VW(t)):t;if(ce.isArrayBuffer(t)||ce.isBuffer(t)||ce.isStream(t)||ce.isFile(t)||ce.isBlob(t)||ce.isReadableStream(t))return t;if(ce.isArrayBufferView(t))return t.buffer;if(ce.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return CIe(t,this.formSerializer).toString();if((a=ce.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return rv(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),$Ie(t)):t}],transformResponse:[function(t){const n=this.transitional||Tm.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(ce.isResponse(t)||ce.isReadableStream(t))return t;if(t&&ce.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?dt.from(a,dt.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wo.classes.FormData,Blob:wo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ce.forEach(["delete","get","head","post","put","patch"],e=>{Tm.headers[e]={}});const MIe=ce.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),RIe=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&MIe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},g4=Symbol("internals");function Wf(e){return e&&String(e).trim().toLowerCase()}function kb(e){return e===!1||e==null?e:ce.isArray(e)?e.map(kb):String(e)}function IIe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const LIe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function v1(e,t,n,r,o){if(ce.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ce.isString(t)){if(ce.isString(r))return t.indexOf(r)!==-1;if(ce.isRegExp(r))return r.test(t)}}function NIe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function DIe(e,t){const n=ce.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class So{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const u=Wf(l);if(!u)throw new Error("header name must be a non-empty string");const d=ce.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=kb(a))}const s=(a,l)=>ce.forEach(a,(c,u)=>i(c,u,l));if(ce.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(ce.isString(t)&&(t=t.trim())&&!LIe(t))s(RIe(t),n);else if(ce.isHeaders(t))for(const[a,l]of t.entries())i(l,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=Wf(t),t){const r=ce.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return IIe(o);if(ce.isFunction(n))return n.call(this,o,r);if(ce.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wf(t),t){const r=ce.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||v1(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Wf(s),s){const a=ce.findKey(r,s);a&&(!n||v1(r,r[a],a,n))&&(delete r[a],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||v1(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ce.forEach(this,(o,i)=>{const s=ce.findKey(r,i);if(s){n[s]=kb(o),delete n[i];return}const a=t?NIe(i):String(i).trim();a!==i&&delete n[i],n[a]=kb(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ce.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ce.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[g4]=this[g4]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Wf(s);r[a]||(DIe(o,s),r[a]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}So.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors(So.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ce.freezeMethods(So);function w1(e,t){const n=this||Tm,r=t||n,o=So.from(r.headers);let i=r.data;return ce.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function XW(e){return!!(e&&e.__CANCEL__)}function uf(e,t,n){dt.call(this,e??"canceled",dt.ERR_CANCELED,t,n),this.name="CanceledError"}ce.inherits(uf,dt,{__CANCEL__:!0});function HW(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new dt("Request failed with status code "+n.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function QIe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function BIe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];s||(s=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?s(c,u):(o=c,i||(i=setTimeout(()=>{i=null,s(o)},r-d)))},()=>o&&s(o)]}const vO=(e,t,n=3)=>{let r=0;const o=BIe(50,250);return zIe(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-r,c=o(l),u=s<=a;r=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},b4=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},O4=e=>(...t)=>ce.asap(()=>e(...t)),jIe=wo.hasStandardBrowserEnv?function(){const t=wo.navigator&&/(msie|trident)/i.test(wo.navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=ce.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),WIe=wo.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];ce.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),ce.isString(r)&&s.push("path="+r),ce.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function FIe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qIe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function YW(e,t){return e&&!FIe(t)?qIe(e,t):t}const y4=e=>e instanceof So?{...e}:e;function Fc(e,t){t=t||{};const n={};function r(c,u,d){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:d},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,d){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ce.isUndefined(u))return r(void 0,u)}function s(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>o(y4(c),y4(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);ce.isUndefined(f)&&d!==a||(n[u]=f)}),n}const GW=e=>{const t=Fc({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;t.headers=s=So.from(s),t.url=UW(YW(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(ce.isFormData(n)){if(wo.hasStandardBrowserEnv||wo.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...u].join("; "))}}if(wo.hasStandardBrowserEnv&&(r&&ce.isFunction(r)&&(r=r(t)),r||r!==!1&&jIe(t.url))){const c=o&&i&&WIe.read(i);c&&s.set(o,c)}return t},UIe=typeof XMLHttpRequest<"u",ZIe=UIe&&function(e){return new Promise(function(n,r){const o=GW(e);let i=o.data;const s=So.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,f,h,p;function m(){h&&h(),p&&p(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let O=new XMLHttpRequest;O.open(o.method.toUpperCase(),o.url,!0),O.timeout=o.timeout;function g(){if(!O)return;const v=So.from("getAllResponseHeaders"in O&&O.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?O.responseText:O.response,status:O.status,statusText:O.statusText,headers:v,config:e,request:O};HW(function(_){n(_),m()},function(_){r(_),m()},w),O=null}"onloadend"in O?O.onloadend=g:O.onreadystatechange=function(){!O||O.readyState!==4||O.status===0&&!(O.responseURL&&O.responseURL.indexOf("file:")===0)||setTimeout(g)},O.onabort=function(){O&&(r(new dt("Request aborted",dt.ECONNABORTED,e,O)),O=null)},O.onerror=function(){r(new dt("Network Error",dt.ERR_NETWORK,e,O)),O=null},O.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||ZW;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),r(new dt(y,w.clarifyTimeoutError?dt.ETIMEDOUT:dt.ECONNABORTED,e,O)),O=null},i===void 0&&s.setContentType(null),"setRequestHeader"in O&&ce.forEach(s.toJSON(),function(y,w){O.setRequestHeader(w,y)}),ce.isUndefined(o.withCredentials)||(O.withCredentials=!!o.withCredentials),a&&a!=="json"&&(O.responseType=o.responseType),c&&([f,p]=vO(c,!0),O.addEventListener("progress",f)),l&&O.upload&&([d,h]=vO(l),O.upload.addEventListener("progress",d),O.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(u=v=>{O&&(r(!v||v.type?new uf(null,e,O):v),O.abort(),O=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const b=QIe(o.url);if(b&&wo.protocols.indexOf(b)===-1){r(new dt("Unsupported protocol "+b+":",dt.ERR_BAD_REQUEST,e));return}O.send(i||null)})},VIe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof dt?u:new uf(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new dt(`timeout ${t} of ms exceeded`,dt.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>ce.asap(a),l}},XIe=function*(e,t){let n=e.byteLength;if(!t||n{const o=HIe(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},ov=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",KW=ov&&typeof ReadableStream=="function",GIe=ov&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),JW=(e,...t)=>{try{return!!e(...t)}catch{return!1}},KIe=KW&&JW(()=>{let e=!1;const t=new Request(wo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),w4=64*1024,Dx=KW&&JW(()=>ce.isReadableStream(new Response("").body)),wO={stream:Dx&&(e=>e.body)};ov&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!wO[t]&&(wO[t]=ce.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new dt(`Response type '${t}' is not supported`,dt.ERR_NOT_SUPPORT,r)})})})(new Response);const JIe=async e=>{if(e==null)return 0;if(ce.isBlob(e))return e.size;if(ce.isSpecCompliantForm(e))return(await new Request(wo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(ce.isArrayBufferView(e)||ce.isArrayBuffer(e))return e.byteLength;if(ce.isURLSearchParams(e)&&(e=e+""),ce.isString(e))return(await GIe(e)).byteLength},e7e=async(e,t)=>{const n=ce.toFiniteNumber(e.getContentLength());return n??JIe(t)},t7e=ov&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=GW(e);c=c?(c+"").toLowerCase():"text";let h=VIe([o,i&&i.toAbortSignal()],s),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let O;try{if(l&&KIe&&n!=="get"&&n!=="head"&&(O=await e7e(u,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(ce.isFormData(r)&&(S=w.headers.get("content-type"))&&u.setContentType(S),w.body){const[_,T]=b4(O,vO(O4(l)));r=v4(w.body,w4,_,T)}}ce.isString(d)||(d=d?"include":"omit");const g="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:g?d:void 0});let b=await fetch(p);const v=Dx&&(c==="stream"||c==="response");if(Dx&&(a||v&&m)){const w={};["status","statusText","headers"].forEach(A=>{w[A]=b[A]});const S=ce.toFiniteNumber(b.headers.get("content-length")),[_,T]=a&&b4(S,vO(O4(a),!0))||[];b=new Response(v4(b.body,w4,_,()=>{T&&T(),m&&m()}),w)}c=c||"text";let y=await wO[ce.findKey(wO,c)||"text"](b,e);return!v&&m&&m(),await new Promise((w,S)=>{HW(w,S,{data:y,headers:So.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:p})})}catch(g){throw m&&m(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new dt("Network Error",dt.ERR_NETWORK,e,p),{cause:g.cause||g}):dt.from(g,g&&g.code,e,p)}}),Qx={http:gIe,xhr:ZIe,fetch:t7e};ce.forEach(Qx,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const S4=e=>`- ${e}`,n7e=e=>ce.isFunction(e)||e===null||e===!1,eF={getAdapter:e=>{e=ce.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(S4).join(` `):" "+S4(i[0]):"as no adapter specified";throw new dt("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Qx};function S1(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new uf(null,e)}function _4(e){return S1(e),e.headers=So.from(e.headers),e.data=w1.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),eF.getAdapter(e.adapter||Tm.adapter)(e).then(function(r){return S1(e),r.data=w1.call(e,e.transformResponse,r),r.headers=So.from(r.headers),r},function(r){return XW(r)||(S1(e),r&&r.response&&(r.response.data=w1.call(e,e.transformResponse,r.response),r.response.headers=So.from(r.response.headers))),Promise.reject(r)})}const tF="1.7.7",s5={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{s5[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const k4={};s5.transitional=function(t,n,r){function o(i,s){return"[Axios v"+tF+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new dt(o(s," has been removed"+(n?" in "+n:"")),dt.ERR_DEPRECATED);return n&&!k4[s]&&(k4[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};function r7e(e,t,n){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new dt("option "+i+" must be "+l,dt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new dt("Unknown option "+i,dt.ERR_BAD_OPTION)}}const Bx={assertOptions:r7e,validators:s5},Qa=Bx.validators;class Cc{constructor(t){this.defaults=t,this.interceptors={request:new m4,response:new m4}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Fc(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Bx.assertOptions(r,{silentJSONParsing:Qa.transitional(Qa.boolean),forcedJSONParsing:Qa.transitional(Qa.boolean),clarifyTimeoutError:Qa.transitional(Qa.boolean)},!1),o!=null&&(ce.isFunction(o)?n.paramsSerializer={serialize:o}:Bx.assertOptions(o,{encode:Qa.function,serialize:Qa.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&ce.merge(i.common,i[n.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=So.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const p=[_4.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new uf(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new a5(function(o){t=o}),cancel:t}}}function o7e(e){return function(n){return e.apply(null,n)}}function i7e(e){return ce.isObject(e)&&e.isAxiosError===!0}const zx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zx).forEach(([e,t])=>{zx[t]=e});function nF(e){const t=new Cc(e),n=RW(Cc.prototype.request,t);return ce.extend(n,Cc.prototype,t,{allOwnKeys:!0}),ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return nF(Fc(e,o))},n}const Bn=nF(Tm);Bn.Axios=Cc;Bn.CanceledError=uf;Bn.CancelToken=a5;Bn.isCancel=XW;Bn.VERSION=tF;Bn.toFormData=rv;Bn.AxiosError=dt;Bn.Cancel=Bn.CanceledError;Bn.all=function(t){return Promise.all(t)};Bn.spread=o7e;Bn.isAxiosError=i7e;Bn.mergeConfig=Fc;Bn.AxiosHeaders=So;Bn.formToJSON=e=>VW(ce.isHTMLForm(e)?new FormData(e):e);Bn.getAdapter=eF.getAdapter;Bn.HttpStatusCode=zx;Bn.default=Bn;const s7e=Xt(e=>{const t={baseURL:e.$config.public.apiBase},n=tI.create(t),r=Bn.create({baseURL:e.$config.public.apiBase});return r.interceptors.response.use(vne),{provide:{apiFetch:n,axiosInstance:r}}}),a7e=Xt(()=>{console.log(` ____ _ ____ | _ \\ __ _ _ __| |_ _ __ ___ _ __| _ \\ __ _ __ _ ___ | |_) / _\` | '__| __| '_ \\ / _ \\ '__| |_) / _\` |/ _\` |/ _ \\ | __/ (_| | | | |_| | | | __/ | | __/ (_| | (_| | __/ |_| \\__,_|_| \\__|_| |_|\\___|_| |_| \\__,_|\\__, |\\___| |___/ `),console.log("https://www.partnerpage.io/")}),l5=()=>_s("directoryData"),rF=()=>_s("maybeIsAccessedFromCustomUrl"),oF=()=>_s("directoryCustomizations"),QLe=()=>_s("randomSeed",()=>Math.floor(Math.random()*1e3)),BLe=()=>_s("directoryPreviousQuery"),zLe=()=>_s("navbarFixedHeight"),l7e=Xt(async()=>{const e=l5(),t=_s("directoryDataStatus");if(t.value==="not-found")throw Ei({statusCode:404,statusMessage:"Page not found",fatal:!0});if(t.value!=="success"||!e.value)throw Ei({statusCode:500,statusMessage:"Internal server error",fatal:!0})});function c7e(e){const t=e.split("?")[0],n=t.indexOf("media/");return n>0?t.slice(n+6):t}function u7e(e,t,n,r=void 0,o=void 0){return iL(e)(t,`media/${c7e(n)}`,{width:r,height:o})}function d7e(e,t){const n=t?t.split("?")[0]:null;return[{hid:"icon",rel:"icon",type:"image/x-icon",href:n?n.endsWith(".ico")?n:u7e(e.host,e.bucket,n,48,48):`${e.buildPublicPath}/partnerpage-favicon.ico`}]}function df(){const e=l5();return q(()=>{if(!e.value)throw new Error("Directory data is not available yet, consider using maybeDirectoryData instead");return e.value})}function f7e(e){const t=Une(e);return{actionPrimary:e,actionPrimaryHover:wS(e)?qv(e,.2):Gb(e,.2),actionPrimaryPressed:wS(e)?qv(e,.35):Gb(e,.35),actionPrimarySubtle:qv(e,.9),textOnPrimary:t,iconOnPrimary:t}}function h7e(e){return{interactive:e,interactiveHover:Gb(e,.25),interactivePressed:Gb(e,.55)}}const p7e=Xt(async e=>{const t=Ps(),n=df(),r=oF(),{overrideGlobalTheme:o}=qe(Vp);We(()=>n.value.branding.actionPrimaryColor,i=>{i&&o({colors:f7e(i)})},{immediate:!0}),We(()=>n.value.branding.interactiveColor,i=>{i&&o({colors:h7e(i)})},{immediate:!0}),We(()=>r.value,i=>{i!=null&&i.themeOverrides&&o(i.themeOverrides)},{immediate:!0}),Qp(q(()=>({link:d7e({host:e.$config.public.imageServiceHost,bucket:e.$config.public.imageServiceBucket,buildPublicPath:t.app.cdnURL},n.value.branding.favicon||null)})))}),m7e=Xt(async()=>{const e=df(),t=q(()=>e.value.customCode);Qp(q(()=>({link:[...t.value.cssFile?[{hid:"customCodeCssFile",rel:"stylesheet",href:t.value.cssFile}]:[]]})))}),g7e=["async","crossorigin","defer","fetchpriority","integrity","nomodule","nonce","referrerpolicy","data-hid","charset"];function b7e(e){return e?Object.entries(e).reduce((t,[n,r])=>(!g7e.includes(n)&&r!==null&&(t[n]=r),t),{}):void 0}const O7e=Xt(async()=>{const e=df(),t=q(()=>e.value.scripts);Qp(q(()=>({script:t.value.map((n,r)=>({tagPriority:"critical",key:`custom-script-${r}`,src:n.src,type:n.type,innerHTML:n.innerHtml,...b7e(n.additionalAttributes)}))})))});function y7e(e){var t,n,r;return[e.navbarSection,e.footerSection,(t=e.directory)==null?void 0:t.heroSection,(n=e.directory)==null?void 0:n.firstSection,(r=e.directory)==null?void 0:r.lastSection].filter(o=>o==null?void 0:o.name.startsWith("SectionCustom")).map(o=>o.name)}const v7e=Xt(async()=>{const e=oF();e.value&&cEe(y7e(e.value))});function iF(){const e=df(),t=Ps();return q(()=>new URL(t.public.internalUrl.replace("{id}",e.value.id)))}function c5(){const e=df();return q(()=>e.value.settings.customUrl?new URL(e.value.settings.customUrl):null)}function w7e(){const e=rF();return q(()=>{if(e.value===void 0)throw new Error("Current url is not known yet, consider using useMaybeIsAccessedFromCustomUrl instead");return e.value})}function jLe(){const e=c5(),t=w7e();return q(()=>e.value===null||t.value)}function WLe(){const e=c5(),t=iF();return q(()=>e.value||t.value)}const S7e=Xt(async()=>{const e=_s("serverPath"),t=_s("serverHasReverseProxyHeader"),n=c5(),r=iF();if(t.value&&!n.value)throw Ei({statusCode:500,statusMessage:"Invalid reverse proxy setup: No custom URL has been set",fatal:!0});{const i=new URL(window.location.href);if(!t.value&&!i.href.startsWith(r.value.href))throw Ei({statusCode:500,statusMessage:"Invalid reverse proxy setup: Missing header",fatal:!0});if(t.value&&!i.href.startsWith(n.value.href))throw console.error({customUrl:n.value.href,currentUrl:i.href}),Ei({statusCode:500,statusMessage:"Invalid reverse proxy setup: Custom URL does not match current URL",fatal:!0});const s=new URL(e.value,i.origin);if(s.pathname!==i.pathname)throw console.error({serverUrlPathname:s.pathname,clientUrlPathname:i.pathname}),Ei({statusCode:500,statusMessage:"Invalid reverse proxy setup: Reverse proxy is not forwarding path properly",fatal:!0});if(s.search!==i.search)throw console.error({serverUrlSearch:s.search,clientUrlSearch:i.search}),Ei({statusCode:500,statusMessage:"Invalid reverse proxy setup: Reverse proxy is not forwarding query params properly",fatal:!0})}const o=rF();o.value=t.value}),_7e=Xt(async()=>{Qp({htmlAttrs:{lang:"en"}})}),k7e=Xt(async()=>{const t=df().value.tracking.umamiWebsiteId,n=KB();t&&(n.umami.id=t)}),sF="utmQueryParams";function FLe(){const e=sessionStorage.getItem(sF);if(!e)return{};let t;try{t=JSON.parse(e)}catch{return{}}return typeof t!="object"?{}:Object.keys(t).length===0?{}:t}function x7e(e){sessionStorage.setItem(sF,JSON.stringify(e))}const E7e=Xt(()=>{const e=Dp(),t=Object.entries(e.query).reduce((n,[r,o])=>(r.startsWith("utm_")&&(n[r]=(o||"").toString()),n),{});Object.keys(t).length!==0&&x7e(t)}),T7e=[wH,_H,nEe,rEe,oEe,iEe,aEe,yEe,kEe,xEe,zEe,XEe,T6e,k8e,T8e,C8e,A8e,s7e,a7e,l7e,p7e,m7e,O7e,v7e,S7e,_7e,k7e,E7e],C7e=Qe({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o],enumerable:!0});return Ft(Np,ps(r)),()=>Dt(e.vnode,{ref:e.vnodeRef})}}),P7e=Qe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=en(),i=ge(),s=qe(Np,null);let a;r({pageRef:i});const l=qe(fI,null);let c;const u=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",u);Ir().beforeEach(d)}return e.pageKey&&We(()=>e.pageKey,(d,f)=>{d!==f&&o.callHook("page:loading:start")}),()=>Dt(ZI,{name:e.name,route:e.route,...t},{default:d=>{const f=$7e(s,d.route,d.Component),h=s&&s.matched.length===d.route.matched.length;if(!d.Component){if(c&&!h)return c;u();return}if(c&&l&&!l.isCurrent(d.route))return c;if(f&&s&&(!l||l!=null&&l.isCurrent(s)))return h?c:null;const p=iS(d,e.pageKey);!o.isHydrating&&!M7e(s,d.route,d.Component)&&a===p&&o.callHook("page:loading:end"),a=p;const m=!!(e.transition??d.route.meta.pageTransition??U1),O=m&&A7e([e.transition,d.route.meta.pageTransition,U1,{onAfterLeave:()=>{o.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),g=e.keepalive??d.route.meta.keepalive??KV;return c=XI(rd,m&&O,TY(g,Dt(m2,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{wr(()=>o.callHook("page:finish",d.Component).then(()=>o.callHook("page:loading:end")).finally(u))}},{default:()=>{const b=Dt(C7e,{key:p||void 0,vnode:n.default?Dt(wt,void 0,n.default(d)):d.Component,route:d.route,renderKey:p||void 0,trackRootNodes:m,vnodeRef:i});return g&&(b.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),b}}))).default(),c}})}});function A7e(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?E2(n.onAfterLeave):void 0}));return uI(...t)}function $7e(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>{var s,a,l;return((s=o.components)==null?void 0:s.default)!==((l=(a=e.matched[i])==null?void 0:a.components)==null?void 0:l.default)})||n&&iS({route:t,Component:n})!==iS({route:e,Component:n})}function M7e(e,t,n){return e?t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)})r.default||r);return()=>Dt(n,e.layoutProps,t.slots)}}),aF=Qe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=en(),r=qe(Np),o=r===Dp()?x2():r,i=q(()=>{let l=U(e.name)??o.meta.layout??"default";return l&&!(l in dl)&&e.fallback&&(l=U(e.fallback)),l}),s=ge();t.expose({layoutRef:s});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Ir().beforeEach(l)}return()=>{const l=i.value&&i.value in dl,c=o.meta.layoutTransition??GV;return XI(rd,l&&c,{default:()=>Dt(m2,{suspensible:!0,onResolve:()=>{wr(a)}},{default:()=>Dt(I7e,{layoutProps:Ce(t.attrs,{ref:s}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),I7e=Qe({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Ft(fI,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in dl)?(o=(r=t.slots).default)==null?void 0:o.call(r):Dt(R7e,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),L7e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},N7e={};function D7e(e,t){const n=P7e,r=aF;return W(),Me(r,null,{default:Ne(()=>[De(n)]),_:1})}const Q7e=L7e(N7e,[["render",D7e]]),B7e={class:"py-20"},z7e={class:"text-center text-text-heading typography-h2-public"},j7e={class:"text-center text-text-heading typography-h5-public"},W7e={key:1,class:"py-20"},F7e={class:"text-center text-text-heading typography-h2-public"},q7e={class:"text-center text-text-heading typography-h5-public"},U7e=Qe({__name:"error",props:{error:{}},setup(e){const t=l5();return(n,r)=>{const o=aF;return U(t)?(W(),Me(o,{key:0},{default:Ne(()=>[Oe("div",B7e,[Oe("div",z7e,rt(n.error.statusCode),1),Oe("div",j7e,rt(n.error.statusMessage),1)])]),_:1})):(W(),oe("div",W7e,[Oe("div",F7e,rt(n.error.statusCode),1),Oe("div",q7e,rt(n.error.statusMessage),1)]))}}}),Z7e={key:0},x4={__name:"nuxt-root",setup(e){const t=()=>null,n=en(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ir().beforeEach(l)}const o=!1;Ft(Np,Dp()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=DO(),s=!1;h8((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),wX(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Tu(l)),!1});const a=!1;return(l,c)=>(W(),Me(m2,{onResolve:U(r)},{default:Ne(()=>[U(s)?(W(),oe("div",Z7e)):U(i)?(W(),Me(U(U7e),{key:1,error:U(i)},null,8,["error"])):U(a)?(W(),Me(U(t),{key:2,context:U(a)},null,8,["context"])):U(o)?(W(),Me(Ii(U(o)),{key:3})):(W(),Me(U(Q7e),{key:4}))]),_:1},8,["onResolve"]))}};let E4;{let e;E4=async function(){var s,a;if(e)return e;const r=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?VZ(x4):b2(x4),o=oX({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Ei(l)}r.config.errorHandler=i;try{await aX(o,T7e)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(tX),await o.hooks.callHook("app:mounted",r),await wr()}catch(l){i(l)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=E4().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Wbe as $,De as A,QB as B,Jt as C,Dn as D,ks as E,dLe as F,hLe as G,xr as H,Ii as I,ei as J,rt as K,aLe as L,ELe as M,TLe as N,_Le as O,cLe as P,ZA as Q,xe as R,wt as S,xLe as T,Ps as U,UEe as V,fLe as W,Dp as X,Ei as Y,CLe as Z,L7e as _,We as a,Ce as a0,si as a1,sE as a2,Kr as a3,Jr as a4,mLe as a5,ILe as a6,tLe as a7,ALe as a8,eLe as a9,zLe as aA,WLe as aB,SLe as aC,bLe as aD,ro as aE,OLe as aF,RLe as aG,MLe as aH,X7e as aI,Ai as aJ,e2 as aK,d8 as aL,qc as aM,EO as aN,Mp as aO,V7e as aP,H7e as aQ,Qp as aR,wI as aS,jLe as aT,oLe as aU,Zp as aV,wr as aW,oZ as aX,r2 as aY,Gs as aZ,kt as a_,wLe as aa,vLe as ab,$Le as ac,KB as ad,Zo as ae,lLe as af,uLe as ag,J7e as ah,vie as ai,mU as aj,PLe as ak,it as al,LLe as am,_U as an,pLe as ao,kLe as ap,hEe as aq,DLe as ar,Rr as as,qe as at,h2 as au,Cs as av,i2 as aw,o2 as ax,Y7e as ay,QLe as az,en as b,q as c,df as d,Qe as e,Me as f,FLe as g,Ne as h,U as i,yLe as j,Oe as k,Ve as l,oe as m,oF as n,W as o,BLe as p,nLe as q,Kn as r,iLe as s,Ir as t,n5 as u,ge as v,sLe as w,NLe as x,gLe as y,Pbe as z};