@tmsoft/webphone 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/webphone.cjs.js +16 -16
- package/dist/webphone.es.js +390 -419
- package/dist/webphone.iife.js +15 -15
- package/dist/webphone.umd.js +15 -15
- package/package.json +1 -1
package/dist/webphone.cjs.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* @vue/shared v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function Ni(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const We={},Wn=[],Ft=()=>{},gg=()=>!1,Qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ji=e=>e.startsWith("onUpdate:"),tt=Object.assign,Wi=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},hg=Object.prototype.hasOwnProperty,Ke=(e,t)=>hg.call(e,t),Ee=Array.isArray,Hn=e=>Yo(e)==="[object Map]",Vc=e=>Yo(e)==="[object Set]",ke=e=>typeof e=="function",ze=e=>typeof e=="string",An=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",bc=e=>(_e(e)||ke(e))&&ke(e.then)&&ke(e.catch),Cc=Object.prototype.toString,Yo=e=>Cc.call(e),pg=e=>Yo(e).slice(8,-1),Go=e=>Yo(e)==="[object Object]",Hi=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hr=Ni(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ko=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},qg=/-(\w)/g,Ct=Ko(e=>e.replace(qg,(t,o)=>o?o.toUpperCase():"")),mg=/\B([A-Z])/g,Rt=Ko(e=>e.replace(mg,"-$1").toLowerCase()),Jo=Ko(e=>e.charAt(0).toUpperCase()+e.slice(1)),EA=Ko(e=>e?`on${Jo(e)}`:""),bn=(e,t)=>!Object.is(e,t),kA=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},vc=(e,t,o,A=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:A,value:o})},Vg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vi=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let ca;const No=()=>ca||(ca=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jo(e){if(Ee(e)){const t={};for(let o=0;o<e.length;o++){const A=e[o],l=ze(A)?yg(A):jo(A);if(l)for(const a in l)t[a]=l[a]}return t}else if(ze(e)||_e(e))return e}const bg=/;(?![^(]*\))/g,Cg=/:([^]+)/,vg=/\/\*[^]*?\*\//g;function yg(e){const t={};return e.replace(vg,"").split(bg).forEach(o=>{if(o){const A=o.split(Cg);A.length>1&&(t[A[0].trim()]=A[1].trim())}}),t}function ht(e){let t="";if(ze(e))t=e;else if(Ee(e))for(let o=0;o<e.length;o++){const A=ht(e[o]);A&&(t+=A+" ")}else if(_e(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}function Ig(e){if(!e)return null;let{class:t,style:o}=e;return t&&!ze(t)&&(e.class=ht(t)),o&&(e.style=jo(o)),e}const Sg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wg=Ni(Sg);function yc(e){return!!e||e===""}const Ic=e=>!!(e&&e.__v_isRef===!0),$e=e=>ze(e)?e:e==null?"":Ee(e)||_e(e)&&(e.toString===Cc||!ke(e.toString))?Ic(e)?$e(e.value):JSON.stringify(e,Sc,2):String(e),Sc=(e,t)=>Ic(t)?Sc(e,t.value):Hn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[A,l],a)=>(o[TA(A,a)+" =>"]=l,o),{})}:Vc(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>TA(o))}:An(t)?TA(t):_e(t)&&!Ee(t)&&!Go(t)?String(t):t,TA=(e,t="")=>{var o;return An(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};var Eg={NVM_INC:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NVM_CD_FLAGS:"-q",INIT_CWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",SHELL:"/bin/zsh",TERM:"xterm-256color",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/",npm_config_global_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",TERM_PROGRAM_VERSION:"1.97.2",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/cesarbacca",COLOR:"1",npm_config_noproxy:"",npm_config_local_prefix:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",NVM_DIR:"/Users/cesarbacca/.nvm",USER:"cesarbacca",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/etc/npmrc",Q_SET_PARENT_CHECK:"1",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.XqDOh6tbj8/Listeners",VSCODE_PROFILE_INITIALIZED:"1",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x8",npm_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/bin/npm-cli.js",npm_package_integrity:"null",npm_config_access:"public",PATH:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/cesarbacca/.local/bin:/Users/cesarbacca/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand",_:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin/vite",npm_package_json:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/package.json",SHELL_PID:"23333",USER_ZDOTDIR:"/Users/cesarbacca",__CFBundleIdentifier:"com.microsoft.VSCode",npm_config_init_module:"/Users/cesarbacca/.npm-init.js",npm_config_userconfig:"/Users/cesarbacca/.npmrc",PWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",TTY:"/dev/ttys030",npm_command:"run-script",VSCODE_NONCE:"64cebcb1-28ac-4e63-862e-2df5250841be",EDITOR:"vi",npm_lifecycle_event:"build-only",LANG:"es_ES.UTF-8",npm_package_name:"@tmsoft/webphone",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",XPC_FLAGS:"0x0",npm_config_npm_version:"10.9.2",npm_config_node_gyp:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.0.12",VSCODE_INJECTION:"1",npm_package_resolved:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",HOME:"/Users/cesarbacca",SHLVL:"5",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",HOMEBREW_PREFIX:"/opt/homebrew",LOGNAME:"cesarbacca",npm_config_cache:"/Users/cesarbacca/.npm",npm_lifecycle_script:"vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/vscode-git-ec41402399.sock",NVM_BIN:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin",npm_config_user_agent:"npm/10.9.2 node/v22.14.0 darwin arm64 workspaces/false",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",QTERM_SESSION_ID:"60680b2929174c91a8e88bf9884db282",Q_TERM:"1.6.3",COLORTERM:"truecolor",npm_config_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",npm_node_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NODE_ENV:"production",LAUNCH_EDITOR:"code"};let wt;class kg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=wt,!t&&wt&&(this.index=(wt.scopes||(wt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=wt;try{return wt=this,t()}finally{wt=o}}}on(){wt=this}off(){wt=this.parent}stop(t){if(this._active){this._active=!1;let o,A;for(o=0,A=this.effects.length;o<A;o++)this.effects[o].stop();for(this.effects.length=0,o=0,A=this.cleanups.length;o<A;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,A=this.scopes.length;o<A;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function Tg(){return wt}let He;const RA=new WeakSet;class wc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,wt&&wt.active&&wt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,RA.has(this)&&(RA.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,da(this),Tc(this);const t=He,o=Qt;He=this,Qt=!0;try{return this.fn()}finally{Rc(this),He=t,Qt=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zi(t);this.deps=this.depsTail=void 0,da(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?RA.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yi(this)&&this.run()}get dirty(){return yi(this)}}let Ec=0,pr,qr;function kc(e,t=!1){if(e.flags|=8,t){e.next=qr,qr=e;return}e.next=pr,pr=e}function Zi(){Ec++}function Pi(){if(--Ec>0)return;if(qr){let t=qr;for(qr=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;pr;){let t=pr;for(pr=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(A){e||(e=A)}t=o}}if(e)throw e}function Tc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Rc(e){let t,o=e.depsTail,A=o;for(;A;){const l=A.prevDep;A.version===-1?(A===o&&(o=l),zi(A),Rg(A)):t=A,A.dep.activeLink=A.prevActiveLink,A.prevActiveLink=void 0,A=l}e.deps=t,e.depsTail=o}function yi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Mc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Mc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ir))return;e.globalVersion=Ir;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!yi(e)){e.flags&=-3;return}const o=He,A=Qt;He=e,Qt=!0;try{Tc(e);const l=e.fn(e._value);(t.version===0||bn(l,e._value))&&(e._value=l,t.version++)}catch(l){throw t.version++,l}finally{He=o,Qt=A,Rc(e),e.flags&=-3}}function zi(e,t=!1){const{dep:o,prevSub:A,nextSub:l}=e;if(A&&(A.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=A,e.nextSub=void 0),o.subs===e&&(o.subs=A,!A&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)zi(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Rg(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Qt=!0;const xc=[];function sn(){xc.push(Qt),Qt=!1}function ln(){const e=xc.pop();Qt=e===void 0?!0:e}function da(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=He;He=void 0;try{t()}finally{He=o}}}let Ir=0;class Mg{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class _i{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(!He||!Qt||He===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==He)o=this.activeLink=new Mg(He,this),He.deps?(o.prevDep=He.depsTail,He.depsTail.nextDep=o,He.depsTail=o):He.deps=He.depsTail=o,Oc(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const A=o.nextDep;A.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=A),o.prevDep=He.depsTail,o.nextDep=void 0,He.depsTail.nextDep=o,He.depsTail=o,He.deps===o&&(He.deps=A)}return o}trigger(t){this.version++,Ir++,this.notify(t)}notify(t){Zi();try{Eg.NODE_ENV;for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Pi()}}}function Oc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let A=t.deps;A;A=A.nextDep)Oc(A)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Ii=new WeakMap,Dn=Symbol(""),Si=Symbol(""),Sr=Symbol("");function ft(e,t,o){if(Qt&&He){let A=Ii.get(e);A||Ii.set(e,A=new Map);let l=A.get(o);l||(A.set(o,l=new _i),l.map=A,l.key=o),l.track()}}function tn(e,t,o,A,l,a){const n=Ii.get(e);if(!n){Ir++;return}const f=h=>{h&&h.trigger()};if(Zi(),t==="clear")n.forEach(f);else{const h=Ee(e),s=h&&Hi(o);if(h&&o==="length"){const d=Number(A);n.forEach((c,p)=>{(p==="length"||p===Sr||!An(p)&&p>=d)&&f(c)})}else switch((o!==void 0||n.has(void 0))&&f(n.get(o)),s&&f(n.get(Sr)),t){case"add":h?s&&f(n.get("length")):(f(n.get(Dn)),Hn(e)&&f(n.get(Si)));break;case"delete":h||(f(n.get(Dn)),Hn(e)&&f(n.get(Si)));break;case"set":Hn(e)&&f(n.get(Dn));break}}Pi()}function Yn(e){const t=Fe(e);return t===e?t:(ft(t,"iterate",Sr),xt(e)?t:t.map(gt))}function Wo(e){return ft(e=Fe(e),"iterate",Sr),e}const xg={__proto__:null,[Symbol.iterator](){return MA(this,Symbol.iterator,gt)},concat(...e){return Yn(this).concat(...e.map(t=>Ee(t)?Yn(t):t))},entries(){return MA(this,"entries",e=>(e[1]=gt(e[1]),e))},every(e,t){return zt(this,"every",e,t,void 0,arguments)},filter(e,t){return zt(this,"filter",e,t,o=>o.map(gt),arguments)},find(e,t){return zt(this,"find",e,t,gt,arguments)},findIndex(e,t){return zt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return zt(this,"findLast",e,t,gt,arguments)},findLastIndex(e,t){return zt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return zt(this,"forEach",e,t,void 0,arguments)},includes(...e){return xA(this,"includes",e)},indexOf(...e){return xA(this,"indexOf",e)},join(e){return Yn(this).join(e)},lastIndexOf(...e){return xA(this,"lastIndexOf",e)},map(e,t){return zt(this,"map",e,t,void 0,arguments)},pop(){return ar(this,"pop")},push(...e){return ar(this,"push",e)},reduce(e,...t){return fa(this,"reduce",e,t)},reduceRight(e,...t){return fa(this,"reduceRight",e,t)},shift(){return ar(this,"shift")},some(e,t){return zt(this,"some",e,t,void 0,arguments)},splice(...e){return ar(this,"splice",e)},toReversed(){return Yn(this).toReversed()},toSorted(e){return Yn(this).toSorted(e)},toSpliced(...e){return Yn(this).toSpliced(...e)},unshift(...e){return ar(this,"unshift",e)},values(){return MA(this,"values",gt)}};function MA(e,t,o){const A=Wo(e),l=A[t]();return A!==e&&!xt(e)&&(l._next=l.next,l.next=()=>{const a=l._next();return a.value&&(a.value=o(a.value)),a}),l}const Og=Array.prototype;function zt(e,t,o,A,l,a){const n=Wo(e),f=n!==e&&!xt(e),h=n[t];if(h!==Og[t]){const c=h.apply(e,a);return f?gt(c):c}let s=o;n!==e&&(f?s=function(c,p){return o.call(this,gt(c),p,e)}:o.length>2&&(s=function(c,p){return o.call(this,c,p,e)}));const d=h.call(n,s,A);return f&&l?l(d):d}function fa(e,t,o,A){const l=Wo(e);let a=o;return l!==e&&(xt(e)?o.length>3&&(a=function(n,f,h){return o.call(this,n,f,h,e)}):a=function(n,f,h){return o.call(this,n,gt(f),h,e)}),l[t](a,...A)}function xA(e,t,o){const A=Fe(e);ft(A,"iterate",Sr);const l=A[t](...o);return(l===-1||l===!1)&&$i(o[0])?(o[0]=Fe(o[0]),A[t](...o)):l}function ar(e,t,o=[]){sn(),Zi();const A=Fe(e)[t].apply(e,o);return Pi(),ln(),A}const Bg=Ni("__proto__,__v_isRef,__isVue"),Bc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function Ug(e){An(e)||(e=String(e));const t=Fe(this);return ft(t,"has",e),t.hasOwnProperty(e)}class Uc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,A){if(o==="__v_skip")return t.__v_skip;const l=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!l;if(o==="__v_isReadonly")return l;if(o==="__v_isShallow")return a;if(o==="__v_raw")return A===(l?a?Gc:Yc:a?Qc:Fc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(A)?t:void 0;const n=Ee(t);if(!l){let h;if(n&&(h=xg[o]))return h;if(o==="hasOwnProperty")return Ug}const f=Reflect.get(t,o,ut(t)?t:A);return(An(o)?Bc.has(o):Bg(o))||(l||ft(t,"get",o),a)?f:ut(f)?n&&Hi(o)?f:f.value:_e(f)?l?Xi(f):Zo(f):f}}class Dc extends Uc{constructor(t=!1){super(!1,t)}set(t,o,A,l){let a=t[o];if(!this._isShallow){const h=Ln(a);if(!xt(A)&&!Ln(A)&&(a=Fe(a),A=Fe(A)),!Ee(t)&&ut(a)&&!ut(A))return h?!1:(a.value=A,!0)}const n=Ee(t)&&Hi(o)?Number(o)<t.length:Ke(t,o),f=Reflect.set(t,o,A,ut(t)?t:l);return t===Fe(l)&&(n?bn(A,a)&&tn(t,"set",o,A):tn(t,"add",o,A)),f}deleteProperty(t,o){const A=Ke(t,o);t[o];const l=Reflect.deleteProperty(t,o);return l&&A&&tn(t,"delete",o,void 0),l}has(t,o){const A=Reflect.has(t,o);return(!An(o)||!Bc.has(o))&&ft(t,"has",o),A}ownKeys(t){return ft(t,"iterate",Ee(t)?"length":Dn),Reflect.ownKeys(t)}}class Lc extends Uc{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const Dg=new Dc,Lg=new Lc,Fg=new Dc(!0),Qg=new Lc(!0),wi=e=>e,ao=e=>Reflect.getPrototypeOf(e);function Yg(e,t,o){return function(...A){const l=this.__v_raw,a=Fe(l),n=Hn(a),f=e==="entries"||e===Symbol.iterator&&n,h=e==="keys"&&n,s=l[e](...A),d=o?wi:t?Ei:gt;return!t&&ft(a,"iterate",h?Si:Dn),{next(){const{value:c,done:p}=s.next();return p?{value:c,done:p}:{value:f?[d(c[0]),d(c[1])]:d(c),done:p}},[Symbol.iterator](){return this}}}}function uo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gg(e,t){const o={get(l){const a=this.__v_raw,n=Fe(a),f=Fe(l);e||(bn(l,f)&&ft(n,"get",l),ft(n,"get",f));const{has:h}=ao(n),s=t?wi:e?Ei:gt;if(h.call(n,l))return s(a.get(l));if(h.call(n,f))return s(a.get(f));a!==n&&a.get(l)},get size(){const l=this.__v_raw;return!e&&ft(Fe(l),"iterate",Dn),Reflect.get(l,"size",l)},has(l){const a=this.__v_raw,n=Fe(a),f=Fe(l);return e||(bn(l,f)&&ft(n,"has",l),ft(n,"has",f)),l===f?a.has(l):a.has(l)||a.has(f)},forEach(l,a){const n=this,f=n.__v_raw,h=Fe(f),s=t?wi:e?Ei:gt;return!e&&ft(h,"iterate",Dn),f.forEach((d,c)=>l.call(a,s(d),s(c),n))}};return tt(o,e?{add:uo("add"),set:uo("set"),delete:uo("delete"),clear:uo("clear")}:{add(l){!t&&!xt(l)&&!Ln(l)&&(l=Fe(l));const a=Fe(this);return ao(a).has.call(a,l)||(a.add(l),tn(a,"add",l,l)),this},set(l,a){!t&&!xt(a)&&!Ln(a)&&(a=Fe(a));const n=Fe(this),{has:f,get:h}=ao(n);let s=f.call(n,l);s||(l=Fe(l),s=f.call(n,l));const d=h.call(n,l);return n.set(l,a),s?bn(a,d)&&tn(n,"set",l,a):tn(n,"add",l,a),this},delete(l){const a=Fe(this),{has:n,get:f}=ao(a);let h=n.call(a,l);h||(l=Fe(l),h=n.call(a,l)),f&&f.call(a,l);const s=a.delete(l);return h&&tn(a,"delete",l,void 0),s},clear(){const l=Fe(this),a=l.size!==0,n=l.clear();return a&&tn(l,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(l=>{o[l]=Yg(l,e,t)}),o}function Ho(e,t){const o=Gg(e,t);return(A,l,a)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?A:Reflect.get(Ke(o,l)&&l in A?o:A,l,a)}const Kg={get:Ho(!1,!1)},Jg={get:Ho(!1,!0)},Ng={get:Ho(!0,!1)},jg={get:Ho(!0,!0)},Fc=new WeakMap,Qc=new WeakMap,Yc=new WeakMap,Gc=new WeakMap;function Wg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hg(e){return e.__v_skip||!Object.isExtensible(e)?0:Wg(pg(e))}function Zo(e){return Ln(e)?e:Po(e,!1,Dg,Kg,Fc)}function Zg(e){return Po(e,!1,Fg,Jg,Qc)}function Xi(e){return Po(e,!0,Lg,Ng,Yc)}function co(e){return Po(e,!0,Qg,jg,Gc)}function Po(e,t,o,A,l){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=l.get(e);if(a)return a;const n=Hg(e);if(n===0)return e;const f=new Proxy(e,n===2?A:o);return l.set(e,f),f}function Zn(e){return Ln(e)?Zn(e.__v_raw):!!(e&&e.__v_isReactive)}function Ln(e){return!!(e&&e.__v_isReadonly)}function xt(e){return!!(e&&e.__v_isShallow)}function $i(e){return e?!!e.__v_raw:!1}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}function Pg(e){return!Ke(e,"__v_skip")&&Object.isExtensible(e)&&vc(e,"__v_skip",!0),e}const gt=e=>_e(e)?Zo(e):e,Ei=e=>_e(e)?Xi(e):e;function ut(e){return e?e.__v_isRef===!0:!1}function Je(e){return zg(e,!1)}function zg(e,t){return ut(e)?e:new _g(e,t)}class _g{constructor(t,o){this.dep=new _i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Fe(t),this._value=o?t:gt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,A=this.__v_isShallow||xt(t)||Ln(t);t=A?t:Fe(t),bn(t,o)&&(this._rawValue=t,this._value=A?t:gt(t),this.dep.trigger())}}function Kc(e){return ut(e)?e.value:e}const Xg={get:(e,t,o)=>t==="__v_raw"?e:Kc(Reflect.get(e,t,o)),set:(e,t,o,A)=>{const l=e[t];return ut(l)&&!ut(o)?(l.value=o,!0):Reflect.set(e,t,o,A)}};function Jc(e){return Zn(e)?e:new Proxy(e,Xg)}class $g{constructor(t,o,A){this.fn=t,this.setter=o,this._value=void 0,this.dep=new _i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ir-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=A}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return kc(this,!0),!0}get value(){const t=this.dep.track();return Mc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function eh(e,t,o=!1){let A,l;return ke(e)?A=e:(A=e.get,l=e.set),new $g(A,l,o)}const fo={},ko=new WeakMap;let xn;function th(e,t=!1,o=xn){if(o){let A=ko.get(o);A||ko.set(o,A=[]),A.push(e)}}function nh(e,t,o=We){const{immediate:A,deep:l,once:a,scheduler:n,augmentJob:f,call:h}=o,s=C=>l?C:xt(C)||l===!1||l===0?nn(C,1):nn(C);let d,c,p,q,M=!1,T=!1;if(ut(e)?(c=()=>e.value,M=xt(e)):Zn(e)?(c=()=>s(e),M=!0):Ee(e)?(T=!0,M=e.some(C=>Zn(C)||xt(C)),c=()=>e.map(C=>{if(ut(C))return C.value;if(Zn(C))return s(C);if(ke(C))return h?h(C,2):C()})):ke(e)?t?c=h?()=>h(e,2):e:c=()=>{if(p){sn();try{p()}finally{ln()}}const C=xn;xn=d;try{return h?h(e,3,[q]):e(q)}finally{xn=C}}:c=Ft,t&&l){const C=c,v=l===!0?1/0:l;c=()=>nn(C(),v)}const R=Tg(),I=()=>{d.stop(),R&&R.active&&Wi(R.effects,d)};if(a&&t){const C=t;t=(...v)=>{C(...v),I()}}let x=T?new Array(e.length).fill(fo):fo;const E=C=>{if(!(!(d.flags&1)||!d.dirty&&!C))if(t){const v=d.run();if(l||M||(T?v.some((O,L)=>bn(O,x[L])):bn(v,x))){p&&p();const O=xn;xn=d;try{const L=[v,x===fo?void 0:T&&x[0]===fo?[]:x,q];h?h(t,3,L):t(...L),x=v}finally{xn=O}}}else d.run()};return f&&f(E),d=new wc(c),d.scheduler=n?()=>n(E,!1):E,q=C=>th(C,!1,d),p=d.onStop=()=>{const C=ko.get(d);if(C){if(h)h(C,4);else for(const v of C)v();ko.delete(d)}},t?A?E(!0):x=d.run():n?n(E.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function nn(e,t=1/0,o){if(t<=0||!_e(e)||e.__v_skip||(o=o||new Set,o.has(e)))return e;if(o.add(e),t--,ut(e))nn(e.value,t,o);else if(Ee(e))for(let A=0;A<e.length;A++)nn(e[A],t,o);else if(Vc(e)||Hn(e))e.forEach(A=>{nn(A,t,o)});else if(Go(e)){for(const A in e)nn(e[A],t,o);for(const A of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,A)&&nn(e[A],t,o)}return e}var hn={NVM_INC:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NVM_CD_FLAGS:"-q",INIT_CWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",SHELL:"/bin/zsh",TERM:"xterm-256color",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/",npm_config_global_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",TERM_PROGRAM_VERSION:"1.97.2",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/cesarbacca",COLOR:"1",npm_config_noproxy:"",npm_config_local_prefix:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",NVM_DIR:"/Users/cesarbacca/.nvm",USER:"cesarbacca",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/etc/npmrc",Q_SET_PARENT_CHECK:"1",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.XqDOh6tbj8/Listeners",VSCODE_PROFILE_INITIALIZED:"1",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x8",npm_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/bin/npm-cli.js",npm_package_integrity:"null",npm_config_access:"public",PATH:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/cesarbacca/.local/bin:/Users/cesarbacca/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand",_:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin/vite",npm_package_json:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/package.json",SHELL_PID:"23333",USER_ZDOTDIR:"/Users/cesarbacca",__CFBundleIdentifier:"com.microsoft.VSCode",npm_config_init_module:"/Users/cesarbacca/.npm-init.js",npm_config_userconfig:"/Users/cesarbacca/.npmrc",PWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",TTY:"/dev/ttys030",npm_command:"run-script",VSCODE_NONCE:"64cebcb1-28ac-4e63-862e-2df5250841be",EDITOR:"vi",npm_lifecycle_event:"build-only",LANG:"es_ES.UTF-8",npm_package_name:"@tmsoft/webphone",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",XPC_FLAGS:"0x0",npm_config_npm_version:"10.9.2",npm_config_node_gyp:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.0.12",VSCODE_INJECTION:"1",npm_package_resolved:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",HOME:"/Users/cesarbacca",SHLVL:"5",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",HOMEBREW_PREFIX:"/opt/homebrew",LOGNAME:"cesarbacca",npm_config_cache:"/Users/cesarbacca/.npm",npm_lifecycle_script:"vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/vscode-git-ec41402399.sock",NVM_BIN:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin",npm_config_user_agent:"npm/10.9.2 node/v22.14.0 darwin arm64 workspaces/false",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",QTERM_SESSION_ID:"60680b2929174c91a8e88bf9884db282",Q_TERM:"1.6.3",COLORTERM:"truecolor",npm_config_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",npm_node_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NODE_ENV:"production",LAUNCH_EDITOR:"code"};const mr=[];let OA=!1;function rh(e,...t){if(OA)return;OA=!0,sn();const o=mr.length?mr[mr.length-1].component:null,A=o&&o.appContext.config.warnHandler,l=oh();if(A)tr(A,o,11,[e+t.map(a=>{var n,f;return(f=(n=a.toString)==null?void 0:n.call(a))!=null?f:JSON.stringify(a)}).join(""),o&&o.proxy,l.map(({vnode:a})=>`at <${xd(o,a.type)}>`).join(`
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Ni(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const We={},Wn=[],Ft=()=>{},gg=()=>!1,Qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ji=e=>e.startsWith("onUpdate:"),tt=Object.assign,Wi=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},hg=Object.prototype.hasOwnProperty,Ke=(e,t)=>hg.call(e,t),Ee=Array.isArray,Hn=e=>Yo(e)==="[object Map]",Vc=e=>Yo(e)==="[object Set]",ke=e=>typeof e=="function",ze=e=>typeof e=="string",An=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",bc=e=>(_e(e)||ke(e))&&ke(e.then)&&ke(e.catch),Cc=Object.prototype.toString,Yo=e=>Cc.call(e),pg=e=>Yo(e).slice(8,-1),Go=e=>Yo(e)==="[object Object]",Hi=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hr=Ni(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ko=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},qg=/-(\w)/g,Ct=Ko(e=>e.replace(qg,(t,o)=>o?o.toUpperCase():"")),mg=/\B([A-Z])/g,Rt=Ko(e=>e.replace(mg,"-$1").toLowerCase()),Jo=Ko(e=>e.charAt(0).toUpperCase()+e.slice(1)),EA=Ko(e=>e?`on${Jo(e)}`:""),bn=(e,t)=>!Object.is(e,t),kA=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},vc=(e,t,o,A=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:A,value:o})},Vg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vi=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let ca;const No=()=>ca||(ca=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jo(e){if(Ee(e)){const t={};for(let o=0;o<e.length;o++){const A=e[o],l=ze(A)?yg(A):jo(A);if(l)for(const a in l)t[a]=l[a]}return t}else if(ze(e)||_e(e))return e}const bg=/;(?![^(]*\))/g,Cg=/:([^]+)/,vg=/\/\*[^]*?\*\//g;function yg(e){const t={};return e.replace(vg,"").split(bg).forEach(o=>{if(o){const A=o.split(Cg);A.length>1&&(t[A[0].trim()]=A[1].trim())}}),t}function ht(e){let t="";if(ze(e))t=e;else if(Ee(e))for(let o=0;o<e.length;o++){const A=ht(e[o]);A&&(t+=A+" ")}else if(_e(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}function Ig(e){if(!e)return null;let{class:t,style:o}=e;return t&&!ze(t)&&(e.class=ht(t)),o&&(e.style=jo(o)),e}const Sg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wg=Ni(Sg);function yc(e){return!!e||e===""}const Ic=e=>!!(e&&e.__v_isRef===!0),$e=e=>ze(e)?e:e==null?"":Ee(e)||_e(e)&&(e.toString===Cc||!ke(e.toString))?Ic(e)?$e(e.value):JSON.stringify(e,Sc,2):String(e),Sc=(e,t)=>Ic(t)?Sc(e,t.value):Hn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[A,l],a)=>(o[TA(A,a)+" =>"]=l,o),{})}:Vc(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>TA(o))}:An(t)?TA(t):_e(t)&&!Ee(t)&&!Go(t)?String(t):t,TA=(e,t="")=>{var o;return An(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};var Eg={NVM_INC:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NVM_CD_FLAGS:"-q",INIT_CWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",SHELL:"/bin/zsh",TERM:"xterm-256color",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/",npm_config_global_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",TERM_PROGRAM_VERSION:"1.97.2",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/cesarbacca",COLOR:"1",npm_config_noproxy:"",npm_config_local_prefix:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",NVM_DIR:"/Users/cesarbacca/.nvm",USER:"cesarbacca",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/etc/npmrc",Q_SET_PARENT_CHECK:"1",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.TuiojEkGIT/Listeners",VSCODE_PROFILE_INITIALIZED:"1",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x8",npm_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/bin/npm-cli.js",npm_package_integrity:"null",npm_config_access:"public",PATH:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/cesarbacca/.local/bin:/Users/cesarbacca/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand",_:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin/vite",npm_package_json:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/package.json",SHELL_PID:"44928",USER_ZDOTDIR:"/Users/cesarbacca",__CFBundleIdentifier:"com.microsoft.VSCode",npm_config_init_module:"/Users/cesarbacca/.npm-init.js",npm_config_userconfig:"/Users/cesarbacca/.npmrc",PWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",TTY:"/dev/ttys049",npm_command:"run-script",VSCODE_NONCE:"d5c96c23-e4ca-466d-a429-b2810095906a",EDITOR:"vi",npm_lifecycle_event:"build-only",LANG:"es_ES.UTF-8",npm_package_name:"@tmsoft/webphone",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",XPC_FLAGS:"0x0",npm_config_npm_version:"10.9.2",npm_config_node_gyp:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.0.14",VSCODE_INJECTION:"1",npm_package_resolved:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",HOME:"/Users/cesarbacca",SHLVL:"5",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",HOMEBREW_PREFIX:"/opt/homebrew",LOGNAME:"cesarbacca",npm_config_cache:"/Users/cesarbacca/.npm",npm_lifecycle_script:"vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/vscode-git-ec41402399.sock",NVM_BIN:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin",npm_config_user_agent:"npm/10.9.2 node/v22.14.0 darwin arm64 workspaces/false",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",QTERM_SESSION_ID:"74627c93c44b43d9859b7240f89b47f5",Q_TERM:"1.6.3",COLORTERM:"truecolor",npm_config_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",npm_node_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NODE_ENV:"production",LAUNCH_EDITOR:"code"};let wt;class kg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=wt,!t&&wt&&(this.index=(wt.scopes||(wt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].pause();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t<o;t++)this.scopes[t].resume();for(t=0,o=this.effects.length;t<o;t++)this.effects[t].resume()}}run(t){if(this._active){const o=wt;try{return wt=this,t()}finally{wt=o}}}on(){wt=this}off(){wt=this.parent}stop(t){if(this._active){this._active=!1;let o,A;for(o=0,A=this.effects.length;o<A;o++)this.effects[o].stop();for(this.effects.length=0,o=0,A=this.cleanups.length;o<A;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,A=this.scopes.length;o<A;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function Tg(){return wt}let He;const RA=new WeakSet;class wc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,wt&&wt.active&&wt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,RA.has(this)&&(RA.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,da(this),Tc(this);const t=He,o=Qt;He=this,Qt=!0;try{return this.fn()}finally{Rc(this),He=t,Qt=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zi(t);this.deps=this.depsTail=void 0,da(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?RA.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yi(this)&&this.run()}get dirty(){return yi(this)}}let Ec=0,pr,qr;function kc(e,t=!1){if(e.flags|=8,t){e.next=qr,qr=e;return}e.next=pr,pr=e}function Zi(){Ec++}function Pi(){if(--Ec>0)return;if(qr){let t=qr;for(qr=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;pr;){let t=pr;for(pr=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(A){e||(e=A)}t=o}}if(e)throw e}function Tc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Rc(e){let t,o=e.depsTail,A=o;for(;A;){const l=A.prevDep;A.version===-1?(A===o&&(o=l),zi(A),Rg(A)):t=A,A.dep.activeLink=A.prevActiveLink,A.prevActiveLink=void 0,A=l}e.deps=t,e.depsTail=o}function yi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Mc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Mc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ir))return;e.globalVersion=Ir;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!yi(e)){e.flags&=-3;return}const o=He,A=Qt;He=e,Qt=!0;try{Tc(e);const l=e.fn(e._value);(t.version===0||bn(l,e._value))&&(e._value=l,t.version++)}catch(l){throw t.version++,l}finally{He=o,Qt=A,Rc(e),e.flags&=-3}}function zi(e,t=!1){const{dep:o,prevSub:A,nextSub:l}=e;if(A&&(A.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=A,e.nextSub=void 0),o.subs===e&&(o.subs=A,!A&&o.computed)){o.computed.flags&=-5;for(let a=o.computed.deps;a;a=a.nextDep)zi(a,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function Rg(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Qt=!0;const xc=[];function sn(){xc.push(Qt),Qt=!1}function ln(){const e=xc.pop();Qt=e===void 0?!0:e}function da(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=He;He=void 0;try{t()}finally{He=o}}}let Ir=0;class Mg{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class _i{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(!He||!Qt||He===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==He)o=this.activeLink=new Mg(He,this),He.deps?(o.prevDep=He.depsTail,He.depsTail.nextDep=o,He.depsTail=o):He.deps=He.depsTail=o,Oc(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const A=o.nextDep;A.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=A),o.prevDep=He.depsTail,o.nextDep=void 0,He.depsTail.nextDep=o,He.depsTail=o,He.deps===o&&(He.deps=A)}return o}trigger(t){this.version++,Ir++,this.notify(t)}notify(t){Zi();try{Eg.NODE_ENV;for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Pi()}}}function Oc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let A=t.deps;A;A=A.nextDep)Oc(A)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const Ii=new WeakMap,Dn=Symbol(""),Si=Symbol(""),Sr=Symbol("");function ft(e,t,o){if(Qt&&He){let A=Ii.get(e);A||Ii.set(e,A=new Map);let l=A.get(o);l||(A.set(o,l=new _i),l.map=A,l.key=o),l.track()}}function tn(e,t,o,A,l,a){const n=Ii.get(e);if(!n){Ir++;return}const f=h=>{h&&h.trigger()};if(Zi(),t==="clear")n.forEach(f);else{const h=Ee(e),s=h&&Hi(o);if(h&&o==="length"){const d=Number(A);n.forEach((c,p)=>{(p==="length"||p===Sr||!An(p)&&p>=d)&&f(c)})}else switch((o!==void 0||n.has(void 0))&&f(n.get(o)),s&&f(n.get(Sr)),t){case"add":h?s&&f(n.get("length")):(f(n.get(Dn)),Hn(e)&&f(n.get(Si)));break;case"delete":h||(f(n.get(Dn)),Hn(e)&&f(n.get(Si)));break;case"set":Hn(e)&&f(n.get(Dn));break}}Pi()}function Yn(e){const t=Qe(e);return t===e?t:(ft(t,"iterate",Sr),xt(e)?t:t.map(gt))}function Wo(e){return ft(e=Qe(e),"iterate",Sr),e}const xg={__proto__:null,[Symbol.iterator](){return MA(this,Symbol.iterator,gt)},concat(...e){return Yn(this).concat(...e.map(t=>Ee(t)?Yn(t):t))},entries(){return MA(this,"entries",e=>(e[1]=gt(e[1]),e))},every(e,t){return zt(this,"every",e,t,void 0,arguments)},filter(e,t){return zt(this,"filter",e,t,o=>o.map(gt),arguments)},find(e,t){return zt(this,"find",e,t,gt,arguments)},findIndex(e,t){return zt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return zt(this,"findLast",e,t,gt,arguments)},findLastIndex(e,t){return zt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return zt(this,"forEach",e,t,void 0,arguments)},includes(...e){return xA(this,"includes",e)},indexOf(...e){return xA(this,"indexOf",e)},join(e){return Yn(this).join(e)},lastIndexOf(...e){return xA(this,"lastIndexOf",e)},map(e,t){return zt(this,"map",e,t,void 0,arguments)},pop(){return ar(this,"pop")},push(...e){return ar(this,"push",e)},reduce(e,...t){return fa(this,"reduce",e,t)},reduceRight(e,...t){return fa(this,"reduceRight",e,t)},shift(){return ar(this,"shift")},some(e,t){return zt(this,"some",e,t,void 0,arguments)},splice(...e){return ar(this,"splice",e)},toReversed(){return Yn(this).toReversed()},toSorted(e){return Yn(this).toSorted(e)},toSpliced(...e){return Yn(this).toSpliced(...e)},unshift(...e){return ar(this,"unshift",e)},values(){return MA(this,"values",gt)}};function MA(e,t,o){const A=Wo(e),l=A[t]();return A!==e&&!xt(e)&&(l._next=l.next,l.next=()=>{const a=l._next();return a.value&&(a.value=o(a.value)),a}),l}const Og=Array.prototype;function zt(e,t,o,A,l,a){const n=Wo(e),f=n!==e&&!xt(e),h=n[t];if(h!==Og[t]){const c=h.apply(e,a);return f?gt(c):c}let s=o;n!==e&&(f?s=function(c,p){return o.call(this,gt(c),p,e)}:o.length>2&&(s=function(c,p){return o.call(this,c,p,e)}));const d=h.call(n,s,A);return f&&l?l(d):d}function fa(e,t,o,A){const l=Wo(e);let a=o;return l!==e&&(xt(e)?o.length>3&&(a=function(n,f,h){return o.call(this,n,f,h,e)}):a=function(n,f,h){return o.call(this,n,gt(f),h,e)}),l[t](a,...A)}function xA(e,t,o){const A=Qe(e);ft(A,"iterate",Sr);const l=A[t](...o);return(l===-1||l===!1)&&$i(o[0])?(o[0]=Qe(o[0]),A[t](...o)):l}function ar(e,t,o=[]){sn(),Zi();const A=Qe(e)[t].apply(e,o);return Pi(),ln(),A}const Bg=Ni("__proto__,__v_isRef,__isVue"),Bc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function Ug(e){An(e)||(e=String(e));const t=Qe(this);return ft(t,"has",e),t.hasOwnProperty(e)}class Uc{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,A){if(o==="__v_skip")return t.__v_skip;const l=this._isReadonly,a=this._isShallow;if(o==="__v_isReactive")return!l;if(o==="__v_isReadonly")return l;if(o==="__v_isShallow")return a;if(o==="__v_raw")return A===(l?a?Gc:Yc:a?Qc:Fc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(A)?t:void 0;const n=Ee(t);if(!l){let h;if(n&&(h=xg[o]))return h;if(o==="hasOwnProperty")return Ug}const f=Reflect.get(t,o,ut(t)?t:A);return(An(o)?Bc.has(o):Bg(o))||(l||ft(t,"get",o),a)?f:ut(f)?n&&Hi(o)?f:f.value:_e(f)?l?Xi(f):Zo(f):f}}class Dc extends Uc{constructor(t=!1){super(!1,t)}set(t,o,A,l){let a=t[o];if(!this._isShallow){const h=Ln(a);if(!xt(A)&&!Ln(A)&&(a=Qe(a),A=Qe(A)),!Ee(t)&&ut(a)&&!ut(A))return h?!1:(a.value=A,!0)}const n=Ee(t)&&Hi(o)?Number(o)<t.length:Ke(t,o),f=Reflect.set(t,o,A,ut(t)?t:l);return t===Qe(l)&&(n?bn(A,a)&&tn(t,"set",o,A):tn(t,"add",o,A)),f}deleteProperty(t,o){const A=Ke(t,o);t[o];const l=Reflect.deleteProperty(t,o);return l&&A&&tn(t,"delete",o,void 0),l}has(t,o){const A=Reflect.has(t,o);return(!An(o)||!Bc.has(o))&&ft(t,"has",o),A}ownKeys(t){return ft(t,"iterate",Ee(t)?"length":Dn),Reflect.ownKeys(t)}}class Lc extends Uc{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const Dg=new Dc,Lg=new Lc,Fg=new Dc(!0),Qg=new Lc(!0),wi=e=>e,ao=e=>Reflect.getPrototypeOf(e);function Yg(e,t,o){return function(...A){const l=this.__v_raw,a=Qe(l),n=Hn(a),f=e==="entries"||e===Symbol.iterator&&n,h=e==="keys"&&n,s=l[e](...A),d=o?wi:t?Ei:gt;return!t&&ft(a,"iterate",h?Si:Dn),{next(){const{value:c,done:p}=s.next();return p?{value:c,done:p}:{value:f?[d(c[0]),d(c[1])]:d(c),done:p}},[Symbol.iterator](){return this}}}}function uo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gg(e,t){const o={get(l){const a=this.__v_raw,n=Qe(a),f=Qe(l);e||(bn(l,f)&&ft(n,"get",l),ft(n,"get",f));const{has:h}=ao(n),s=t?wi:e?Ei:gt;if(h.call(n,l))return s(a.get(l));if(h.call(n,f))return s(a.get(f));a!==n&&a.get(l)},get size(){const l=this.__v_raw;return!e&&ft(Qe(l),"iterate",Dn),Reflect.get(l,"size",l)},has(l){const a=this.__v_raw,n=Qe(a),f=Qe(l);return e||(bn(l,f)&&ft(n,"has",l),ft(n,"has",f)),l===f?a.has(l):a.has(l)||a.has(f)},forEach(l,a){const n=this,f=n.__v_raw,h=Qe(f),s=t?wi:e?Ei:gt;return!e&&ft(h,"iterate",Dn),f.forEach((d,c)=>l.call(a,s(d),s(c),n))}};return tt(o,e?{add:uo("add"),set:uo("set"),delete:uo("delete"),clear:uo("clear")}:{add(l){!t&&!xt(l)&&!Ln(l)&&(l=Qe(l));const a=Qe(this);return ao(a).has.call(a,l)||(a.add(l),tn(a,"add",l,l)),this},set(l,a){!t&&!xt(a)&&!Ln(a)&&(a=Qe(a));const n=Qe(this),{has:f,get:h}=ao(n);let s=f.call(n,l);s||(l=Qe(l),s=f.call(n,l));const d=h.call(n,l);return n.set(l,a),s?bn(a,d)&&tn(n,"set",l,a):tn(n,"add",l,a),this},delete(l){const a=Qe(this),{has:n,get:f}=ao(a);let h=n.call(a,l);h||(l=Qe(l),h=n.call(a,l)),f&&f.call(a,l);const s=a.delete(l);return h&&tn(a,"delete",l,void 0),s},clear(){const l=Qe(this),a=l.size!==0,n=l.clear();return a&&tn(l,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(l=>{o[l]=Yg(l,e,t)}),o}function Ho(e,t){const o=Gg(e,t);return(A,l,a)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?A:Reflect.get(Ke(o,l)&&l in A?o:A,l,a)}const Kg={get:Ho(!1,!1)},Jg={get:Ho(!1,!0)},Ng={get:Ho(!0,!1)},jg={get:Ho(!0,!0)},Fc=new WeakMap,Qc=new WeakMap,Yc=new WeakMap,Gc=new WeakMap;function Wg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hg(e){return e.__v_skip||!Object.isExtensible(e)?0:Wg(pg(e))}function Zo(e){return Ln(e)?e:Po(e,!1,Dg,Kg,Fc)}function Zg(e){return Po(e,!1,Fg,Jg,Qc)}function Xi(e){return Po(e,!0,Lg,Ng,Yc)}function co(e){return Po(e,!0,Qg,jg,Gc)}function Po(e,t,o,A,l){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=l.get(e);if(a)return a;const n=Hg(e);if(n===0)return e;const f=new Proxy(e,n===2?A:o);return l.set(e,f),f}function Zn(e){return Ln(e)?Zn(e.__v_raw):!!(e&&e.__v_isReactive)}function Ln(e){return!!(e&&e.__v_isReadonly)}function xt(e){return!!(e&&e.__v_isShallow)}function $i(e){return e?!!e.__v_raw:!1}function Qe(e){const t=e&&e.__v_raw;return t?Qe(t):e}function Pg(e){return!Ke(e,"__v_skip")&&Object.isExtensible(e)&&vc(e,"__v_skip",!0),e}const gt=e=>_e(e)?Zo(e):e,Ei=e=>_e(e)?Xi(e):e;function ut(e){return e?e.__v_isRef===!0:!1}function Je(e){return zg(e,!1)}function zg(e,t){return ut(e)?e:new _g(e,t)}class _g{constructor(t,o){this.dep=new _i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Qe(t),this._value=o?t:gt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,A=this.__v_isShallow||xt(t)||Ln(t);t=A?t:Qe(t),bn(t,o)&&(this._rawValue=t,this._value=A?t:gt(t),this.dep.trigger())}}function Kc(e){return ut(e)?e.value:e}const Xg={get:(e,t,o)=>t==="__v_raw"?e:Kc(Reflect.get(e,t,o)),set:(e,t,o,A)=>{const l=e[t];return ut(l)&&!ut(o)?(l.value=o,!0):Reflect.set(e,t,o,A)}};function Jc(e){return Zn(e)?e:new Proxy(e,Xg)}class $g{constructor(t,o,A){this.fn=t,this.setter=o,this._value=void 0,this.dep=new _i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ir-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=A}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return kc(this,!0),!0}get value(){const t=this.dep.track();return Mc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function eh(e,t,o=!1){let A,l;return ke(e)?A=e:(A=e.get,l=e.set),new $g(A,l,o)}const fo={},ko=new WeakMap;let xn;function th(e,t=!1,o=xn){if(o){let A=ko.get(o);A||ko.set(o,A=[]),A.push(e)}}function nh(e,t,o=We){const{immediate:A,deep:l,once:a,scheduler:n,augmentJob:f,call:h}=o,s=C=>l?C:xt(C)||l===!1||l===0?nn(C,1):nn(C);let d,c,p,q,M=!1,T=!1;if(ut(e)?(c=()=>e.value,M=xt(e)):Zn(e)?(c=()=>s(e),M=!0):Ee(e)?(T=!0,M=e.some(C=>Zn(C)||xt(C)),c=()=>e.map(C=>{if(ut(C))return C.value;if(Zn(C))return s(C);if(ke(C))return h?h(C,2):C()})):ke(e)?t?c=h?()=>h(e,2):e:c=()=>{if(p){sn();try{p()}finally{ln()}}const C=xn;xn=d;try{return h?h(e,3,[q]):e(q)}finally{xn=C}}:c=Ft,t&&l){const C=c,v=l===!0?1/0:l;c=()=>nn(C(),v)}const R=Tg(),I=()=>{d.stop(),R&&R.active&&Wi(R.effects,d)};if(a&&t){const C=t;t=(...v)=>{C(...v),I()}}let x=T?new Array(e.length).fill(fo):fo;const E=C=>{if(!(!(d.flags&1)||!d.dirty&&!C))if(t){const v=d.run();if(l||M||(T?v.some((O,L)=>bn(O,x[L])):bn(v,x))){p&&p();const O=xn;xn=d;try{const L=[v,x===fo?void 0:T&&x[0]===fo?[]:x,q];h?h(t,3,L):t(...L),x=v}finally{xn=O}}}else d.run()};return f&&f(E),d=new wc(c),d.scheduler=n?()=>n(E,!1):E,q=C=>th(C,!1,d),p=d.onStop=()=>{const C=ko.get(d);if(C){if(h)h(C,4);else for(const v of C)v();ko.delete(d)}},t?A?E(!0):x=d.run():n?n(E.bind(null,!0),!0):d.run(),I.pause=d.pause.bind(d),I.resume=d.resume.bind(d),I.stop=I,I}function nn(e,t=1/0,o){if(t<=0||!_e(e)||e.__v_skip||(o=o||new Set,o.has(e)))return e;if(o.add(e),t--,ut(e))nn(e.value,t,o);else if(Ee(e))for(let A=0;A<e.length;A++)nn(e[A],t,o);else if(Vc(e)||Hn(e))e.forEach(A=>{nn(A,t,o)});else if(Go(e)){for(const A in e)nn(e[A],t,o);for(const A of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,A)&&nn(e[A],t,o)}return e}var hn={NVM_INC:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NVM_CD_FLAGS:"-q",INIT_CWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",SHELL:"/bin/zsh",TERM:"xterm-256color",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/",npm_config_global_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",TERM_PROGRAM_VERSION:"1.97.2",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/cesarbacca",COLOR:"1",npm_config_noproxy:"",npm_config_local_prefix:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",NVM_DIR:"/Users/cesarbacca/.nvm",USER:"cesarbacca",COMMAND_MODE:"unix2003",npm_config_globalconfig:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/etc/npmrc",Q_SET_PARENT_CHECK:"1",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.TuiojEkGIT/Listeners",VSCODE_PROFILE_INITIALIZED:"1",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x8",npm_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/bin/npm-cli.js",npm_package_integrity:"null",npm_config_access:"public",PATH:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/company/node_modules/.bin:/Users/cesarbacca/Documents/GitHub/node_modules/.bin:/Users/cesarbacca/Documents/node_modules/.bin:/Users/cesarbacca/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/cesarbacca/.local/bin:/Users/cesarbacca/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand",_:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/node_modules/.bin/vite",npm_package_json:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib/package.json",SHELL_PID:"44928",USER_ZDOTDIR:"/Users/cesarbacca",__CFBundleIdentifier:"com.microsoft.VSCode",npm_config_init_module:"/Users/cesarbacca/.npm-init.js",npm_config_userconfig:"/Users/cesarbacca/.npmrc",PWD:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",TTY:"/dev/ttys049",npm_command:"run-script",VSCODE_NONCE:"d5c96c23-e4ca-466d-a429-b2810095906a",EDITOR:"vi",npm_lifecycle_event:"build-only",LANG:"es_ES.UTF-8",npm_package_name:"@tmsoft/webphone",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",XPC_FLAGS:"0x0",npm_config_npm_version:"10.9.2",npm_config_node_gyp:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",XPC_SERVICE_NAME:"0",npm_package_version:"1.0.14",VSCODE_INJECTION:"1",npm_package_resolved:"/Users/cesarbacca/Documents/GitHub/company/webphone-lib",HOME:"/Users/cesarbacca",SHLVL:"5",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",HOMEBREW_PREFIX:"/opt/homebrew",LOGNAME:"cesarbacca",npm_config_cache:"/Users/cesarbacca/.npm",npm_lifecycle_script:"vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/z3/wx1ld4rn11vdcxx7v96cv9lh0000gn/T/vscode-git-ec41402399.sock",NVM_BIN:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin",npm_config_user_agent:"npm/10.9.2 node/v22.14.0 darwin arm64 workspaces/false",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:/opt/homebrew/share/info:",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",QTERM_SESSION_ID:"74627c93c44b43d9859b7240f89b47f5",Q_TERM:"1.6.3",COLORTERM:"truecolor",npm_config_prefix:"/Users/cesarbacca/.nvm/versions/node/v22.14.0",npm_node_execpath:"/Users/cesarbacca/.nvm/versions/node/v22.14.0/bin/node",NODE_ENV:"production",LAUNCH_EDITOR:"code"};const mr=[];let OA=!1;function rh(e,...t){if(OA)return;OA=!0,sn();const o=mr.length?mr[mr.length-1].component:null,A=o&&o.appContext.config.warnHandler,l=oh();if(A)tr(A,o,11,[e+t.map(a=>{var n,f;return(f=(n=a.toString)==null?void 0:n.call(a))!=null?f:JSON.stringify(a)}).join(""),o&&o.proxy,l.map(({vnode:a})=>`at <${xd(o,a.type)}>`).join(`
|
|
6
6
|
`),l]);else{const a=[`[Vue warn]: ${e}`,...t];l.length&&a.push(`
|
|
7
7
|
`,...Ah(l)),console.warn(...a)}ln(),OA=!1}function oh(){let e=mr[mr.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const A=e.component&&e.component.parent;e=A&&A.vnode}return t}function Ah(e){const t=[];return e.forEach((o,A)=>{t.push(...A===0?[]:[`
|
|
8
|
-
`],...ih(o))}),t}function ih({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",A=e.component?e.component.parent==null:!1,l=` at <${xd(e.component,e.type,A)}`,a=">"+o;return e.props?[l,...sh(e.props),a]:[l+a]}function sh(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(A=>{t.push(...Nc(A,e[A]))}),o.length>3&&t.push(" ..."),t}function Nc(e,t,o){return ze(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ut(t)?(t=Nc(e,Fe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ke(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Fe(t),o?t:[`${e}=`,t])}function tr(e,t,o,A){try{return A?e(...A):e()}catch(l){zo(l,t,o)}}function Yt(e,t,o,A){if(ke(e)){const l=tr(e,t,o,A);return l&&bc(l)&&l.catch(a=>{zo(a,t,o)}),l}if(Ee(e)){const l=[];for(let a=0;a<e.length;a++)l.push(Yt(e[a],t,o,A));return l}}function zo(e,t,o,A=!0){const l=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:n}=t&&t.appContext.config||We;if(t){let f=t.parent;const h=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${o}`;for(;f;){const d=f.ec;if(d){for(let c=0;c<d.length;c++)if(d[c](e,h,s)===!1)return}f=f.parent}if(a){sn(),tr(a,null,10,[e,h,s]),ln();return}}lh(e,o,l,A,n)}function lh(e,t,o,A=!0,l=!1){if(l)throw e;console.error(e)}const Vt=[];let Nt=-1;const Pn=[];let pn=null,Gn=0;const jc=Promise.resolve();let To=null;function es(e){const t=To||jc;return e?t.then(this?e.bind(this):e):t}function ah(e){let t=Nt+1,o=Vt.length;for(;t<o;){const A=t+o>>>1,l=Vt[A],a=wr(l);a<e||a===e&&l.flags&2?t=A+1:o=A}return t}function ts(e){if(!(e.flags&1)){const t=wr(e),o=Vt[Vt.length-1];!o||!(e.flags&2)&&t>=wr(o)?Vt.push(e):Vt.splice(ah(t),0,e),e.flags|=1,Wc()}}function Wc(){To||(To=jc.then(Zc))}function uh(e){Ee(e)?Pn.push(...e):pn&&e.id===-1?pn.splice(Gn+1,0,e):e.flags&1||(Pn.push(e),e.flags|=1),Wc()}function ga(e,t,o=Nt+1){for(;o<Vt.length;o++){const A=Vt[o];if(A&&A.flags&2){if(e&&A.id!==e.uid)continue;Vt.splice(o,1),o--,A.flags&4&&(A.flags&=-2),A(),A.flags&4||(A.flags&=-2)}}}function Hc(e){if(Pn.length){const t=[...new Set(Pn)].sort((o,A)=>wr(o)-wr(A));if(Pn.length=0,pn){pn.push(...t);return}for(pn=t,Gn=0;Gn<pn.length;Gn++){const o=pn[Gn];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}pn=null,Gn=0}}const wr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zc(e){const t=Ft;try{for(Nt=0;Nt<Vt.length;Nt++){const o=Vt[Nt];o&&!(o.flags&8)&&(hn.NODE_ENV!=="production"&&t(o),o.flags&4&&(o.flags&=-2),tr(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2))}}finally{for(;Nt<Vt.length;Nt++){const o=Vt[Nt];o&&(o.flags&=-2)}Nt=-1,Vt.length=0,Hc(),To=null,(Vt.length||Pn.length)&&Zc()}}let it=null,Pc=null;function Ro(e){const t=it;return it=e,Pc=e&&e.type.__scopeId||null,t}function Ze(e,t=it,o){if(!t||e._n)return e;const A=(...l)=>{A._d&&ka(-1);const a=Ro(t);let n;try{n=e(...l)}finally{Ro(a),A._d&&ka(1)}return n};return A._n=!0,A._c=!0,A._d=!0,A}function ns(e,t){if(it===null)return e;const o=nA(it),A=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[a,n,f,h=We]=t[l];a&&(ke(a)&&(a={mounted:a,updated:a}),a.deep&&nn(n),A.push({dir:a,instance:o,value:n,oldValue:void 0,arg:f,modifiers:h}))}return e}function kn(e,t,o,A){const l=e.dirs,a=t&&t.dirs;for(let n=0;n<l.length;n++){const f=l[n];a&&(f.oldValue=a[n].value);let h=f.dir[A];h&&(sn(),Yt(h,o,8,[e.el,f,e,t]),ln())}}const zc=Symbol("_vte"),_c=e=>e.__isTeleport,Vr=e=>e&&(e.disabled||e.disabled===""),ha=e=>e&&(e.defer||e.defer===""),pa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ki=(e,t)=>{const o=e&&e.to;return ze(o)?t?t(o):null:o},Xc={name:"Teleport",__isTeleport:!0,process(e,t,o,A,l,a,n,f,h,s){const{mc:d,pc:c,pbc:p,o:{insert:q,querySelector:M,createText:T,createComment:R}}=s,I=Vr(t.props);let{shapeFlag:x,children:E,dynamicChildren:C}=t;if(e==null){const v=t.el=T(""),O=t.anchor=T("");q(v,o,A),q(O,o,A);const L=(D,N)=>{x&16&&(l&&l.isCE&&(l.ce._teleportTarget=D),d(E,D,N,l,a,n,f,h))},k=()=>{const D=t.target=ki(t.props,M),N=$c(D,t,T,q);D&&(n!=="svg"&&pa(D)?n="svg":n!=="mathml"&&qa(D)&&(n="mathml"),I||(L(D,N),vo(t,!1)))};I&&(L(o,O),vo(t,!0)),ha(t.props)?mt(()=>{k(),t.el.__isMounted=!0},a):k()}else{if(ha(t.props)&&!e.el.__isMounted){mt(()=>{Xc.process(e,t,o,A,l,a,n,f,h,s),delete e.el.__isMounted},a);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,O=t.target=e.target,L=t.targetAnchor=e.targetAnchor,k=Vr(e.props),D=k?o:O,N=k?v:L;if(n==="svg"||pa(O)?n="svg":(n==="mathml"||qa(O))&&(n="mathml"),C?(p(e.dynamicChildren,C,D,l,a,n,f),as(e,t,!0)):h||c(e,t,D,N,l,a,n,f,!1),I)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):go(t,o,v,s,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=ki(t.props,M);W&&go(t,W,null,s,0)}else k&&go(t,O,L,s,1);vo(t,I)}},remove(e,t,o,{um:A,o:{remove:l}},a){const{shapeFlag:n,children:f,anchor:h,targetStart:s,targetAnchor:d,target:c,props:p}=e;if(c&&(l(s),l(d)),a&&l(h),n&16){const q=a||!Vr(p);for(let M=0;M<f.length;M++){const T=f[M];A(T,t,o,q,!!T.dynamicChildren)}}},move:go,hydrate:ch};function go(e,t,o,{o:{insert:A},m:l},a=2){a===0&&A(e.targetAnchor,t,o);const{el:n,anchor:f,shapeFlag:h,children:s,props:d}=e,c=a===2;if(c&&A(n,t,o),(!c||Vr(d))&&h&16)for(let p=0;p<s.length;p++)l(s[p],t,o,2);c&&A(f,t,o)}function ch(e,t,o,A,l,a,{o:{nextSibling:n,parentNode:f,querySelector:h,insert:s,createText:d}},c){const p=t.target=ki(t.props,h);if(p){const q=Vr(t.props),M=p._lpa||p.firstChild;if(t.shapeFlag&16)if(q)t.anchor=c(n(e),t,f(e),o,A,l,a),t.targetStart=M,t.targetAnchor=M&&n(M);else{t.anchor=n(e);let T=M;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetStart=T;else if(T.data==="teleport anchor"){t.targetAnchor=T,p._lpa=t.targetAnchor&&n(t.targetAnchor);break}}T=n(T)}t.targetAnchor||$c(p,t,d,s),c(M&&n(M),t,p,o,A,l,a)}vo(t,q)}return t.anchor&&n(t.anchor)}const dh=Xc;function vo(e,t){const o=e.ctx;if(o&&o.ut){let A,l;for(t?(A=e.el,l=e.anchor):(A=e.targetStart,l=e.targetAnchor);A&&A!==l;)A.nodeType===1&&A.setAttribute("data-v-owner",o.uid),A=A.nextSibling;o.ut()}}function $c(e,t,o,A){const l=t.targetStart=o(""),a=t.targetAnchor=o("");return l[zc]=a,e&&(A(l,e),A(a,e)),a}const qn=Symbol("_leaveCb"),ho=Symbol("_enterCb");function fh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $o(()=>{e.isMounted=!0}),os(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],ed={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},td=e=>{const t=e.subTree;return t.component?td(t.component):t},gh={name:"BaseTransition",props:ed,setup(e,{slots:t}){const o=kd(),A=fh();return()=>{const l=t.default&&od(t.default(),!0);if(!l||!l.length)return;const a=nd(l),n=Fe(e),{mode:f}=n;if(A.isLeaving)return BA(a);const h=ma(a);if(!h)return BA(a);let s=Ti(h,n,A,o,c=>s=c);h.type!==bt&&Er(h,s);let d=o.subTree&&ma(o.subTree);if(d&&d.type!==bt&&!On(h,d)&&td(o).type!==bt){let c=Ti(d,n,A,o);if(Er(d,c),f==="out-in"&&h.type!==bt)return A.isLeaving=!0,c.afterLeave=()=>{A.isLeaving=!1,o.job.flags&8||o.update(),delete c.afterLeave,d=void 0},BA(a);f==="in-out"&&h.type!==bt?c.delayLeave=(p,q,M)=>{const T=rd(A,d);T[String(d.key)]=d,p[qn]=()=>{q(),p[qn]=void 0,delete s.delayedLeave,d=void 0},s.delayedLeave=()=>{M(),delete s.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return a}}};function nd(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==bt){t=o;break}}return t}const hh=gh;function rd(e,t){const{leavingVNodes:o}=e;let A=o.get(t.type);return A||(A=Object.create(null),o.set(t.type,A)),A}function Ti(e,t,o,A,l){const{appear:a,mode:n,persisted:f=!1,onBeforeEnter:h,onEnter:s,onAfterEnter:d,onEnterCancelled:c,onBeforeLeave:p,onLeave:q,onAfterLeave:M,onLeaveCancelled:T,onBeforeAppear:R,onAppear:I,onAfterAppear:x,onAppearCancelled:E}=t,C=String(e.key),v=rd(o,e),O=(D,N)=>{D&&Yt(D,A,9,N)},L=(D,N)=>{const W=N[1];O(D,N),Ee(D)?D.every(B=>B.length<=1)&&W():D.length<=1&&W()},k={mode:n,persisted:f,beforeEnter(D){let N=h;if(!o.isMounted)if(a)N=R||h;else return;D[qn]&&D[qn](!0);const W=v[C];W&&On(e,W)&&W.el[qn]&&W.el[qn](),O(N,[D])},enter(D){let N=s,W=d,B=c;if(!o.isMounted)if(a)N=I||s,W=x||d,B=E||c;else return;let H=!1;const y=D[ho]=S=>{H||(H=!0,S?O(B,[D]):O(W,[D]),k.delayedLeave&&k.delayedLeave(),D[ho]=void 0)};N?L(N,[D,y]):y()},leave(D,N){const W=String(e.key);if(D[ho]&&D[ho](!0),o.isUnmounting)return N();O(p,[D]);let B=!1;const H=D[qn]=y=>{B||(B=!0,N(),y?O(T,[D]):O(M,[D]),D[qn]=void 0,v[W]===e&&delete v[W])};v[W]=e,q?L(q,[D,H]):H()},clone(D){const N=Ti(D,t,o,A,l);return l&&l(N),N}};return k}function BA(e){if(_o(e))return e=Cn(e),e.children=null,e}function ma(e){if(!_o(e))return _c(e.type)&&e.children?nd(e.children):e;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&ke(o.default))return o.default()}}function Er(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Er(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 od(e,t=!1,o){let A=[],l=0;for(let a=0;a<e.length;a++){let n=e[a];const f=o==null?n.key:String(o)+String(n.key!=null?n.key:a);n.type===et?(n.patchFlag&128&&l++,A=A.concat(od(n.children,t,f))):(t||n.type!==bt)&&A.push(f!=null?Cn(n,{key:f}):n)}if(l>1)for(let a=0;a<A.length;a++)A[a].patchFlag=-2;return A}/*! #__NO_SIDE_EFFECTS__ */function rs(e,t){return ke(e)?tt({name:e.name},t,{setup:e}):e}function Ad(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mo(e,t,o,A,l=!1){if(Ee(e)){e.forEach((M,T)=>Mo(M,t&&(Ee(t)?t[T]:t),o,A,l));return}if(zn(A)&&!l){A.shapeFlag&512&&A.type.__asyncResolved&&A.component.subTree.component&&Mo(e,t,o,A.component.subTree);return}const a=A.shapeFlag&4?nA(A.component):A.el,n=l?null:a,{i:f,r:h}=e,s=t&&t.r,d=f.refs===We?f.refs={}:f.refs,c=f.setupState,p=Fe(c),q=c===We?()=>!1:M=>Ke(p,M);if(s!=null&&s!==h&&(ze(s)?(d[s]=null,q(s)&&(c[s]=null)):ut(s)&&(s.value=null)),ke(h))tr(h,f,12,[n,d]);else{const M=ze(h),T=ut(h);if(M||T){const R=()=>{if(e.f){const I=M?q(h)?c[h]:d[h]:h.value;l?Ee(I)&&Wi(I,a):Ee(I)?I.includes(a)||I.push(a):M?(d[h]=[a],q(h)&&(c[h]=d[h])):(h.value=[a],e.k&&(d[e.k]=h.value))}else M?(d[h]=n,q(h)&&(c[h]=n)):T&&(h.value=n,e.k&&(d[e.k]=n))};n?(R.id=-1,mt(R,o)):R()}}}No().requestIdleCallback;No().cancelIdleCallback;const zn=e=>!!e.type.__asyncLoader,_o=e=>e.type.__isKeepAlive;function ph(e,t){id(e,"a",t)}function qh(e,t){id(e,"da",t)}function id(e,t,o=ot){const A=e.__wdc||(e.__wdc=()=>{let l=o;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Xo(t,A,o),o){let l=o.parent;for(;l&&l.parent;)_o(l.parent.vnode)&&mh(A,t,o,l),l=l.parent}}function mh(e,t,o,A){const l=Xo(t,e,A,!0);sd(()=>{Wi(A[t],l)},o)}function Xo(e,t,o=ot,A=!1){if(o){const l=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...n)=>{sn();const f=Wr(o),h=Yt(t,o,e,n);return f(),ln(),h});return A?l.unshift(a):l.push(a),a}}const an=e=>(t,o=ot)=>{(!Mr||e==="sp")&&Xo(e,(...A)=>t(...A),o)},Vh=an("bm"),$o=an("m"),bh=an("bu"),Ch=an("u"),os=an("bum"),sd=an("um"),vh=an("sp"),yh=an("rtg"),Ih=an("rtc");function Sh(e,t=ot){Xo("ec",e,t)}const As="components",wh="directives";function Qe(e,t){return ss(As,e,!0,t)||e}const ld=Symbol.for("v-ndc");function kr(e){return ze(e)?ss(As,e,!1)||e:e||ld}function is(e){return ss(wh,e)}function ss(e,t,o=!0,A=!1){const l=it||ot;if(l){const a=l.type;if(e===As){const f=Md(a,!1);if(f&&(f===t||f===Ct(t)||f===Jo(Ct(t))))return a}const n=Va(l[e]||a[e],t)||Va(l.appContext[e],t);return!n&&A?a:n}}function Va(e,t){return e&&(e[t]||e[Ct(t)]||e[Jo(Ct(t))])}function xo(e,t,o,A){let l;const a=o,n=Ee(e);if(n||ze(e)){const f=n&&Zn(e);let h=!1;f&&(h=!xt(e),e=Wo(e)),l=new Array(e.length);for(let s=0,d=e.length;s<d;s++)l[s]=t(h?gt(e[s]):e[s],s,void 0,a)}else if(typeof e=="number"){l=new Array(e);for(let f=0;f<e;f++)l[f]=t(f+1,f,void 0,a)}else if(_e(e))if(e[Symbol.iterator])l=Array.from(e,(f,h)=>t(f,h,void 0,a));else{const f=Object.keys(e);l=new Array(f.length);for(let h=0,s=f.length;h<s;h++){const d=f[h];l[h]=t(e[d],d,h,a)}}else l=[];return l}function Eh(e,t){for(let o=0;o<t.length;o++){const A=t[o];if(Ee(A))for(let l=0;l<A.length;l++)e[A[l].name]=A[l].fn;else A&&(e[A.name]=A.key?(...l)=>{const a=A.fn(...l);return a&&(a.key=A.key),a}:A.fn)}return e}function Ye(e,t,o={},A,l){if(it.ce||it.parent&&zn(it.parent)&&it.parent.ce)return t!=="default"&&(o.name=t),de(),Oe(et,null,[Te("slot",o,A&&A())],64);let a=e[t];a&&a._c&&(a._d=!1),de();const n=a&&ad(a(o)),f=o.key||n&&n.key,h=Oe(et,{key:(f&&!An(f)?f:`_${t}`)+(!n&&A?"_fb":"")},n||(A?A():[]),n&&e._===1?64:-2);return h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),a&&a._c&&(a._d=!0),h}function ad(e){return e.some(t=>Rr(t)?!(t.type===bt||t.type===et&&!ad(t.children)):!0)?e:null}const Ri=e=>e?Td(e)?nA(e):Ri(e.parent):null,br=tt(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=>Ri(e.parent),$root:e=>Ri(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>cd(e),$forceUpdate:e=>e.f||(e.f=()=>{ts(e.update)}),$nextTick:e=>e.n||(e.n=es.bind(e.proxy)),$watch:e=>zh.bind(e)}),UA=(e,t)=>e!==We&&!e.__isScriptSetup&&Ke(e,t),kh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:A,data:l,props:a,accessCache:n,type:f,appContext:h}=e;let s;if(t[0]!=="$"){const q=n[t];if(q!==void 0)switch(q){case 1:return A[t];case 2:return l[t];case 4:return o[t];case 3:return a[t]}else{if(UA(A,t))return n[t]=1,A[t];if(l!==We&&Ke(l,t))return n[t]=2,l[t];if((s=e.propsOptions[0])&&Ke(s,t))return n[t]=3,a[t];if(o!==We&&Ke(o,t))return n[t]=4,o[t];Mi&&(n[t]=0)}}const d=br[t];let c,p;if(d)return t==="$attrs"&&ft(e.attrs,"get",""),d(e);if((c=f.__cssModules)&&(c=c[t]))return c;if(o!==We&&Ke(o,t))return n[t]=4,o[t];if(p=h.config.globalProperties,Ke(p,t))return p[t]},set({_:e},t,o){const{data:A,setupState:l,ctx:a}=e;return UA(l,t)?(l[t]=o,!0):A!==We&&Ke(A,t)?(A[t]=o,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:A,appContext:l,propsOptions:a}},n){let f;return!!o[n]||e!==We&&Ke(e,n)||UA(t,n)||(f=a[0])&&Ke(f,n)||Ke(A,n)||Ke(br,n)||Ke(l.config.globalProperties,n)},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ke(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ba(e){return Ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Mi=!0;function Th(e){const t=cd(e),o=e.proxy,A=e.ctx;Mi=!1,t.beforeCreate&&Ca(t.beforeCreate,e,"bc");const{data:l,computed:a,methods:n,watch:f,provide:h,inject:s,created:d,beforeMount:c,mounted:p,beforeUpdate:q,updated:M,activated:T,deactivated:R,beforeDestroy:I,beforeUnmount:x,destroyed:E,unmounted:C,render:v,renderTracked:O,renderTriggered:L,errorCaptured:k,serverPrefetch:D,expose:N,inheritAttrs:W,components:B,directives:H,filters:y}=t;if(s&&Rh(s,A,null),n)for(const U in n){const J=n[U];ke(J)&&(A[U]=J.bind(o))}if(l){const U=l.call(o,o);_e(U)&&(e.data=Zo(U))}if(Mi=!0,a)for(const U in a){const J=a[U],P=ke(J)?J.bind(o,o):ke(J.get)?J.get.bind(o,o):Ft,G=!ke(J)&&ke(J.set)?J.set.bind(o):Ft,m=at({get:P,set:G});Object.defineProperty(A,U,{enumerable:!0,configurable:!0,get:()=>m.value,set:w=>m.value=w})}if(f)for(const U in f)ud(f[U],A,o,U);if(h){const U=ke(h)?h.call(o):h;Reflect.ownKeys(U).forEach(J=>{Dh(J,U[J])})}d&&Ca(d,e,"c");function Q(U,J){Ee(J)?J.forEach(P=>U(P.bind(o))):J&&U(J.bind(o))}if(Q(Vh,c),Q($o,p),Q(bh,q),Q(Ch,M),Q(ph,T),Q(qh,R),Q(Sh,k),Q(Ih,O),Q(yh,L),Q(os,x),Q(sd,C),Q(vh,D),Ee(N))if(N.length){const U=e.exposed||(e.exposed={});N.forEach(J=>{Object.defineProperty(U,J,{get:()=>o[J],set:P=>o[J]=P})})}else e.exposed||(e.exposed={});v&&e.render===Ft&&(e.render=v),W!=null&&(e.inheritAttrs=W),B&&(e.components=B),H&&(e.directives=H),D&&Ad(e)}function Rh(e,t,o=Ft){Ee(e)&&(e=xi(e));for(const A in e){const l=e[A];let a;_e(l)?"default"in l?a=yo(l.from||A,l.default,!0):a=yo(l.from||A):a=yo(l),ut(a)?Object.defineProperty(t,A,{enumerable:!0,configurable:!0,get:()=>a.value,set:n=>a.value=n}):t[A]=a}}function Ca(e,t,o){Yt(Ee(e)?e.map(A=>A.bind(t.proxy)):e.bind(t.proxy),t,o)}function ud(e,t,o,A){let l=A.includes(".")?yd(o,A):()=>o[A];if(ze(e)){const a=t[e];ke(a)&&rn(l,a)}else if(ke(e))rn(l,e.bind(o));else if(_e(e))if(Ee(e))e.forEach(a=>ud(a,t,o,A));else{const a=ke(e.handler)?e.handler.bind(o):t[e.handler];ke(a)&&rn(l,a,e)}}function cd(e){const t=e.type,{mixins:o,extends:A}=t,{mixins:l,optionsCache:a,config:{optionMergeStrategies:n}}=e.appContext,f=a.get(t);let h;return f?h=f:!l.length&&!o&&!A?h=t:(h={},l.length&&l.forEach(s=>Oo(h,s,n,!0)),Oo(h,t,n)),_e(t)&&a.set(t,h),h}function Oo(e,t,o,A=!1){const{mixins:l,extends:a}=t;a&&Oo(e,a,o,!0),l&&l.forEach(n=>Oo(e,n,o,!0));for(const n in t)if(!(A&&n==="expose")){const f=Mh[n]||o&&o[n];e[n]=f?f(e[n],t[n]):t[n]}return e}const Mh={data:va,props:ya,emits:ya,methods:fr,computed:fr,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:fr,directives:fr,watch:Oh,provide:va,inject:xh};function va(e,t){return t?e?function(){return tt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function xh(e,t){return fr(xi(e),xi(t))}function xi(e){if(Ee(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function qt(e,t){return e?[...new Set([].concat(e,t))]:t}function fr(e,t){return e?tt(Object.create(null),e,t):t}function ya(e,t){return e?Ee(e)&&Ee(t)?[...new Set([...e,...t])]:tt(Object.create(null),ba(e),ba(t??{})):t}function Oh(e,t){if(!e)return t;if(!t)return e;const o=tt(Object.create(null),e);for(const A in t)o[A]=qt(e[A],t[A]);return o}function dd(){return{app:null,config:{isNativeTag:gg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bh=0;function Uh(e,t){return function(A,l=null){ke(A)||(A=tt({},A)),l!=null&&!_e(l)&&(l=null);const a=dd(),n=new WeakSet,f=[];let h=!1;const s=a.app={_uid:Bh++,_component:A,_props:l,_container:null,_context:a,_instance:null,version:mp,get config(){return a.config},set config(d){},use(d,...c){return n.has(d)||(d&&ke(d.install)?(n.add(d),d.install(s,...c)):ke(d)&&(n.add(d),d(s,...c))),s},mixin(d){return a.mixins.includes(d)||a.mixins.push(d),s},component(d,c){return c?(a.components[d]=c,s):a.components[d]},directive(d,c){return c?(a.directives[d]=c,s):a.directives[d]},mount(d,c,p){if(!h){const q=s._ceVNode||Te(A,l);return q.appContext=a,p===!0?p="svg":p===!1&&(p=void 0),e(q,d,p),h=!0,s._container=d,d.__vue_app__=s,nA(q.component)}},onUnmount(d){f.push(d)},unmount(){h&&(Yt(f,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide(d,c){return a.provides[d]=c,s},runWithContext(d){const c=_n;_n=s;try{return d()}finally{_n=c}}};return s}}let _n=null;function Dh(e,t){if(ot){let o=ot.provides;const A=ot.parent&&ot.parent.provides;A===o&&(o=ot.provides=Object.create(A)),o[e]=t}}function yo(e,t,o=!1){const A=ot||it;if(A||_n){const l=_n?_n._context.provides:A?A.parent==null?A.vnode.appContext&&A.vnode.appContext.provides:A.parent.provides:void 0;if(l&&e in l)return l[e];if(arguments.length>1)return o&&ke(t)?t.call(A&&A.proxy):t}}const fd={},gd=()=>Object.create(fd),hd=e=>Object.getPrototypeOf(e)===fd;function Lh(e,t,o,A=!1){const l={},a=gd();e.propsDefaults=Object.create(null),pd(e,t,l,a);for(const n in e.propsOptions[0])n in l||(l[n]=void 0);o?e.props=A?l:Zg(l):e.type.props?e.props=l:e.props=a,e.attrs=a}function Fh(e,t,o,A){const{props:l,attrs:a,vnode:{patchFlag:n}}=e,f=Fe(l),[h]=e.propsOptions;let s=!1;if((A||n>0)&&!(n&16)){if(n&8){const d=e.vnode.dynamicProps;for(let c=0;c<d.length;c++){let p=d[c];if(eA(e.emitsOptions,p))continue;const q=t[p];if(h)if(Ke(a,p))q!==a[p]&&(a[p]=q,s=!0);else{const M=Ct(p);l[M]=Oi(h,f,M,q,e,!1)}else q!==a[p]&&(a[p]=q,s=!0)}}}else{pd(e,t,l,a)&&(s=!0);let d;for(const c in f)(!t||!Ke(t,c)&&((d=Rt(c))===c||!Ke(t,d)))&&(h?o&&(o[c]!==void 0||o[d]!==void 0)&&(l[c]=Oi(h,f,c,void 0,e,!0)):delete l[c]);if(a!==f)for(const c in a)(!t||!Ke(t,c))&&(delete a[c],s=!0)}s&&tn(e.attrs,"set","")}function pd(e,t,o,A){const[l,a]=e.propsOptions;let n=!1,f;if(t)for(let h in t){if(hr(h))continue;const s=t[h];let d;l&&Ke(l,d=Ct(h))?!a||!a.includes(d)?o[d]=s:(f||(f={}))[d]=s:eA(e.emitsOptions,h)||(!(h in A)||s!==A[h])&&(A[h]=s,n=!0)}if(a){const h=Fe(o),s=f||We;for(let d=0;d<a.length;d++){const c=a[d];o[c]=Oi(l,h,c,s[c],e,!Ke(s,c))}}return n}function Oi(e,t,o,A,l,a){const n=e[o];if(n!=null){const f=Ke(n,"default");if(f&&A===void 0){const h=n.default;if(n.type!==Function&&!n.skipFactory&&ke(h)){const{propsDefaults:s}=l;if(o in s)A=s[o];else{const d=Wr(l);A=s[o]=h.call(null,t),d()}}else A=h;l.ce&&l.ce._setProp(o,A)}n[0]&&(a&&!f?A=!1:n[1]&&(A===""||A===Rt(o))&&(A=!0))}return A}const Qh=new WeakMap;function qd(e,t,o=!1){const A=o?Qh:t.propsCache,l=A.get(e);if(l)return l;const a=e.props,n={},f=[];let h=!1;if(!ke(e)){const d=c=>{h=!0;const[p,q]=qd(c,t,!0);tt(n,p),q&&f.push(...q)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!h)return _e(e)&&A.set(e,Wn),Wn;if(Ee(a))for(let d=0;d<a.length;d++){const c=Ct(a[d]);Ia(c)&&(n[c]=We)}else if(a)for(const d in a){const c=Ct(d);if(Ia(c)){const p=a[d],q=n[c]=Ee(p)||ke(p)?{type:p}:tt({},p),M=q.type;let T=!1,R=!0;if(Ee(M))for(let I=0;I<M.length;++I){const x=M[I],E=ke(x)&&x.name;if(E==="Boolean"){T=!0;break}else E==="String"&&(R=!1)}else T=ke(M)&&M.name==="Boolean";q[0]=T,q[1]=R,(T||Ke(q,"default"))&&f.push(c)}}const s=[n,f];return _e(e)&&A.set(e,s),s}function Ia(e){return e[0]!=="$"&&!hr(e)}const md=e=>e[0]==="_"||e==="$stable",ls=e=>Ee(e)?e.map(jt):[jt(e)],Yh=(e,t,o)=>{if(t._n)return t;const A=Ze((...l)=>(hn.NODE_ENV!=="production"&&ot&&(!o||(o.root,ot.root)),ls(t(...l))),o);return A._c=!1,A},Vd=(e,t,o)=>{const A=e._ctx;for(const l in e){if(md(l))continue;const a=e[l];if(ke(a))t[l]=Yh(l,a,A);else if(a!=null){const n=ls(a);t[l]=()=>n}}},bd=(e,t)=>{const o=ls(t);e.slots.default=()=>o},Cd=(e,t,o)=>{for(const A in t)(o||A!=="_")&&(e[A]=t[A])},Gh=(e,t,o)=>{const A=e.slots=gd();if(e.vnode.shapeFlag&32){const l=t._;l?(Cd(A,t,o),o&&vc(A,"_",l,!0)):Vd(t,A)}else t&&bd(e,t)},Kh=(e,t,o)=>{const{vnode:A,slots:l}=e;let a=!0,n=We;if(A.shapeFlag&32){const f=t._;f?o&&f===1?a=!1:Cd(l,t,o):(a=!t.$stable,Vd(t,l)),n=t}else t&&(bd(e,t),n={default:1});if(a)for(const f in l)!md(f)&&n[f]==null&&delete l[f]},mt=rp;function Jh(e){return Nh(e)}function Nh(e,t){const o=No();o.__VUE__=!0;const{insert:A,remove:l,patchProp:a,createElement:n,createText:f,createComment:h,setText:s,setElementText:d,parentNode:c,nextSibling:p,setScopeId:q=Ft,insertStaticContent:M}=e,T=(Y,K,ee,te=null,X=null,re=null,ne=void 0,Ae=null,ue=!!K.dynamicChildren)=>{if(Y===K)return;Y&&!On(Y,K)&&(te=se(Y),w(Y,X,re,!0),Y=null),K.patchFlag===-2&&(ue=!1,K.dynamicChildren=null);const{type:ae,ref:ve,shapeFlag:he}=K;switch(ae){case tA:R(Y,K,ee,te);break;case bt:I(Y,K,ee,te);break;case Io:Y==null&&x(K,ee,te,ne);break;case et:B(Y,K,ee,te,X,re,ne,Ae,ue);break;default:he&1?v(Y,K,ee,te,X,re,ne,Ae,ue):he&6?H(Y,K,ee,te,X,re,ne,Ae,ue):(he&64||he&128)&&ae.process(Y,K,ee,te,X,re,ne,Ae,ue,pe)}ve!=null&&X&&Mo(ve,Y&&Y.ref,re,K||Y,!K)},R=(Y,K,ee,te)=>{if(Y==null)A(K.el=f(K.children),ee,te);else{const X=K.el=Y.el;K.children!==Y.children&&s(X,K.children)}},I=(Y,K,ee,te)=>{Y==null?A(K.el=h(K.children||""),ee,te):K.el=Y.el},x=(Y,K,ee,te)=>{[Y.el,Y.anchor]=M(Y.children,K,ee,te,Y.el,Y.anchor)},E=({el:Y,anchor:K},ee,te)=>{let X;for(;Y&&Y!==K;)X=p(Y),A(Y,ee,te),Y=X;A(K,ee,te)},C=({el:Y,anchor:K})=>{let ee;for(;Y&&Y!==K;)ee=p(Y),l(Y),Y=ee;l(K)},v=(Y,K,ee,te,X,re,ne,Ae,ue)=>{K.type==="svg"?ne="svg":K.type==="math"&&(ne="mathml"),Y==null?O(K,ee,te,X,re,ne,Ae,ue):D(Y,K,X,re,ne,Ae,ue)},O=(Y,K,ee,te,X,re,ne,Ae)=>{let ue,ae;const{props:ve,shapeFlag:he,transition:ye,dirs:we}=Y;if(ue=Y.el=n(Y.type,re,ve&&ve.is,ve),he&8?d(ue,Y.children):he&16&&k(Y.children,ue,null,te,X,DA(Y,re),ne,Ae),we&&kn(Y,null,te,"created"),L(ue,Y,Y.scopeId,ne,te),ve){for(const Ue in ve)Ue!=="value"&&!hr(Ue)&&a(ue,Ue,null,ve[Ue],re,te);"value"in ve&&a(ue,"value",null,ve.value,re),(ae=ve.onVnodeBeforeMount)&&Kt(ae,te,Y)}we&&kn(Y,null,te,"beforeMount");const Ie=jh(X,ye);Ie&&ye.beforeEnter(ue),A(ue,K,ee),((ae=ve&&ve.onVnodeMounted)||Ie||we)&&mt(()=>{ae&&Kt(ae,te,Y),Ie&&ye.enter(ue),we&&kn(Y,null,te,"mounted")},X)},L=(Y,K,ee,te,X)=>{if(ee&&q(Y,ee),te)for(let re=0;re<te.length;re++)q(Y,te[re]);if(X){let re=X.subTree;if(K===re||Sd(re.type)&&(re.ssContent===K||re.ssFallback===K)){const ne=X.vnode;L(Y,ne,ne.scopeId,ne.slotScopeIds,X.parent)}}},k=(Y,K,ee,te,X,re,ne,Ae,ue=0)=>{for(let ae=ue;ae<Y.length;ae++){const ve=Y[ae]=Ae?mn(Y[ae]):jt(Y[ae]);T(null,ve,K,ee,te,X,re,ne,Ae)}},D=(Y,K,ee,te,X,re,ne)=>{const Ae=K.el=Y.el;let{patchFlag:ue,dynamicChildren:ae,dirs:ve}=K;ue|=Y.patchFlag&16;const he=Y.props||We,ye=K.props||We;let we;if(ee&&Tn(ee,!1),(we=ye.onVnodeBeforeUpdate)&&Kt(we,ee,K,Y),ve&&kn(K,Y,ee,"beforeUpdate"),ee&&Tn(ee,!0),(he.innerHTML&&ye.innerHTML==null||he.textContent&&ye.textContent==null)&&d(Ae,""),ae?N(Y.dynamicChildren,ae,Ae,ee,te,DA(K,X),re):ne||J(Y,K,Ae,null,ee,te,DA(K,X),re,!1),ue>0){if(ue&16)W(Ae,he,ye,ee,X);else if(ue&2&&he.class!==ye.class&&a(Ae,"class",null,ye.class,X),ue&4&&a(Ae,"style",he.style,ye.style,X),ue&8){const Ie=K.dynamicProps;for(let Ue=0;Ue<Ie.length;Ue++){const xe=Ie[Ue],lt=he[xe],At=ye[xe];(At!==lt||xe==="value")&&a(Ae,xe,lt,At,X,ee)}}ue&1&&Y.children!==K.children&&d(Ae,K.children)}else!ne&&ae==null&&W(Ae,he,ye,ee,X);((we=ye.onVnodeUpdated)||ve)&&mt(()=>{we&&Kt(we,ee,K,Y),ve&&kn(K,Y,ee,"updated")},te)},N=(Y,K,ee,te,X,re,ne)=>{for(let Ae=0;Ae<K.length;Ae++){const ue=Y[Ae],ae=K[Ae],ve=ue.el&&(ue.type===et||!On(ue,ae)||ue.shapeFlag&70)?c(ue.el):ee;T(ue,ae,ve,null,te,X,re,ne,!0)}},W=(Y,K,ee,te,X)=>{if(K!==ee){if(K!==We)for(const re in K)!hr(re)&&!(re in ee)&&a(Y,re,K[re],null,X,te);for(const re in ee){if(hr(re))continue;const ne=ee[re],Ae=K[re];ne!==Ae&&re!=="value"&&a(Y,re,Ae,ne,X,te)}"value"in ee&&a(Y,"value",K.value,ee.value,X)}},B=(Y,K,ee,te,X,re,ne,Ae,ue)=>{const ae=K.el=Y?Y.el:f(""),ve=K.anchor=Y?Y.anchor:f("");let{patchFlag:he,dynamicChildren:ye,slotScopeIds:we}=K;we&&(Ae=Ae?Ae.concat(we):we),Y==null?(A(ae,ee,te),A(ve,ee,te),k(K.children||[],ee,ve,X,re,ne,Ae,ue)):he>0&&he&64&&ye&&Y.dynamicChildren?(N(Y.dynamicChildren,ye,ee,X,re,ne,Ae),(K.key!=null||X&&K===X.subTree)&&as(Y,K,!0)):J(Y,K,ee,ve,X,re,ne,Ae,ue)},H=(Y,K,ee,te,X,re,ne,Ae,ue)=>{K.slotScopeIds=Ae,Y==null?K.shapeFlag&512?X.ctx.activate(K,ee,te,ne,ue):y(K,ee,te,X,re,ne,ue):S(Y,K,ue)},y=(Y,K,ee,te,X,re,ne)=>{const Ae=Y.component=ap(Y,te,X);if(_o(Y)&&(Ae.ctx.renderer=pe),up(Ae,!1,ne),Ae.asyncDep){if(X&&X.registerDep(Ae,Q,ne),!Y.el){const ue=Ae.subTree=Te(bt);I(null,ue,K,ee)}}else Q(Ae,Y,K,ee,X,re,ne)},S=(Y,K,ee)=>{const te=K.component=Y.component;if(tp(Y,K,ee))if(te.asyncDep&&!te.asyncResolved){U(te,K,ee);return}else te.next=K,te.update();else K.el=Y.el,te.vnode=K},Q=(Y,K,ee,te,X,re,ne)=>{const Ae=()=>{if(Y.isMounted){let{next:he,bu:ye,u:we,parent:Ie,vnode:Ue}=Y;{const vt=vd(Y);if(vt){he&&(he.el=Ue.el,U(Y,he,ne)),vt.asyncDep.then(()=>{Y.isUnmounted||Ae()});return}}let xe=he,lt;Tn(Y,!1),he?(he.el=Ue.el,U(Y,he,ne)):he=Ue,ye&&kA(ye),(lt=he.props&&he.props.onVnodeBeforeUpdate)&&Kt(lt,Ie,he,Ue),Tn(Y,!0);const At=wa(Y),St=Y.subTree;Y.subTree=At,T(St,At,c(St.el),se(St),Y,X,re),he.el=At.el,xe===null&&np(Y,At.el),we&&mt(we,X),(lt=he.props&&he.props.onVnodeUpdated)&&mt(()=>Kt(lt,Ie,he,Ue),X)}else{let he;const{el:ye,props:we}=K,{bm:Ie,m:Ue,parent:xe,root:lt,type:At}=Y,St=zn(K);Tn(Y,!1),Ie&&kA(Ie),!St&&(he=we&&we.onVnodeBeforeMount)&&Kt(he,xe,K),Tn(Y,!0);{lt.ce&<.ce._injectChildStyle(At);const vt=Y.subTree=wa(Y);T(null,vt,ee,te,Y,X,re),K.el=vt.el}if(Ue&&mt(Ue,X),!St&&(he=we&&we.onVnodeMounted)){const vt=K;mt(()=>Kt(he,xe,vt),X)}(K.shapeFlag&256||xe&&zn(xe.vnode)&&xe.vnode.shapeFlag&256)&&Y.a&&mt(Y.a,X),Y.isMounted=!0,K=ee=te=null}};Y.scope.on();const ue=Y.effect=new wc(Ae);Y.scope.off();const ae=Y.update=ue.run.bind(ue),ve=Y.job=ue.runIfDirty.bind(ue);ve.i=Y,ve.id=Y.uid,ue.scheduler=()=>ts(ve),Tn(Y,!0),ae()},U=(Y,K,ee)=>{K.component=Y;const te=Y.vnode.props;Y.vnode=K,Y.next=null,Fh(Y,K.props,te,ee),Kh(Y,K.children,ee),sn(),ga(Y),ln()},J=(Y,K,ee,te,X,re,ne,Ae,ue=!1)=>{const ae=Y&&Y.children,ve=Y?Y.shapeFlag:0,he=K.children,{patchFlag:ye,shapeFlag:we}=K;if(ye>0){if(ye&128){G(ae,he,ee,te,X,re,ne,Ae,ue);return}else if(ye&256){P(ae,he,ee,te,X,re,ne,Ae,ue);return}}we&8?(ve&16&&_(ae,X,re),he!==ae&&d(ee,he)):ve&16?we&16?G(ae,he,ee,te,X,re,ne,Ae,ue):_(ae,X,re,!0):(ve&8&&d(ee,""),we&16&&k(he,ee,te,X,re,ne,Ae,ue))},P=(Y,K,ee,te,X,re,ne,Ae,ue)=>{Y=Y||Wn,K=K||Wn;const ae=Y.length,ve=K.length,he=Math.min(ae,ve);let ye;for(ye=0;ye<he;ye++){const we=K[ye]=ue?mn(K[ye]):jt(K[ye]);T(Y[ye],we,ee,null,X,re,ne,Ae,ue)}ae>ve?_(Y,X,re,!0,!1,he):k(K,ee,te,X,re,ne,Ae,ue,he)},G=(Y,K,ee,te,X,re,ne,Ae,ue)=>{let ae=0;const ve=K.length;let he=Y.length-1,ye=ve-1;for(;ae<=he&&ae<=ye;){const we=Y[ae],Ie=K[ae]=ue?mn(K[ae]):jt(K[ae]);if(On(we,Ie))T(we,Ie,ee,null,X,re,ne,Ae,ue);else break;ae++}for(;ae<=he&&ae<=ye;){const we=Y[he],Ie=K[ye]=ue?mn(K[ye]):jt(K[ye]);if(On(we,Ie))T(we,Ie,ee,null,X,re,ne,Ae,ue);else break;he--,ye--}if(ae>he){if(ae<=ye){const we=ye+1,Ie=we<ve?K[we].el:te;for(;ae<=ye;)T(null,K[ae]=ue?mn(K[ae]):jt(K[ae]),ee,Ie,X,re,ne,Ae,ue),ae++}}else if(ae>ye)for(;ae<=he;)w(Y[ae],X,re,!0),ae++;else{const we=ae,Ie=ae,Ue=new Map;for(ae=Ie;ae<=ye;ae++){const je=K[ae]=ue?mn(K[ae]):jt(K[ae]);je.key!=null&&Ue.set(je.key,ae)}let xe,lt=0;const At=ye-Ie+1;let St=!1,vt=0;const Zt=new Array(At);for(ae=0;ae<At;ae++)Zt[ae]=0;for(ae=we;ae<=he;ae++){const je=Y[ae];if(lt>=At){w(je,X,re,!0);continue}let ct;if(je.key!=null)ct=Ue.get(je.key);else for(xe=Ie;xe<=ye;xe++)if(Zt[xe-Ie]===0&&On(je,K[xe])){ct=xe;break}ct===void 0?w(je,X,re,!0):(Zt[ct-Ie]=ae+1,ct>=vt?vt=ct:St=!0,T(je,K[ct],ee,null,X,re,ne,Ae,ue),lt++)}const be=St?Wh(Zt):Wn;for(xe=be.length-1,ae=At-1;ae>=0;ae--){const je=Ie+ae,ct=K[je],dn=je+1<ve?K[je+1].el:te;Zt[ae]===0?T(null,ct,ee,dn,X,re,ne,Ae,ue):St&&(xe<0||ae!==be[xe]?m(ct,ee,dn,2):xe--)}}},m=(Y,K,ee,te,X=null)=>{const{el:re,type:ne,transition:Ae,children:ue,shapeFlag:ae}=Y;if(ae&6){m(Y.component.subTree,K,ee,te);return}if(ae&128){Y.suspense.move(K,ee,te);return}if(ae&64){ne.move(Y,K,ee,pe);return}if(ne===et){A(re,K,ee);for(let he=0;he<ue.length;he++)m(ue[he],K,ee,te);A(Y.anchor,K,ee);return}if(ne===Io){E(Y,K,ee);return}if(te!==2&&ae&1&&Ae)if(te===0)Ae.beforeEnter(re),A(re,K,ee),mt(()=>Ae.enter(re),X);else{const{leave:he,delayLeave:ye,afterLeave:we}=Ae,Ie=()=>A(re,K,ee),Ue=()=>{he(re,()=>{Ie(),we&&we()})};ye?ye(re,Ie,Ue):Ue()}else A(re,K,ee)},w=(Y,K,ee,te=!1,X=!1)=>{const{type:re,props:ne,ref:Ae,children:ue,dynamicChildren:ae,shapeFlag:ve,patchFlag:he,dirs:ye,cacheIndex:we}=Y;if(he===-2&&(X=!1),Ae!=null&&Mo(Ae,null,ee,Y,!0),we!=null&&(K.renderCache[we]=void 0),ve&256){K.ctx.deactivate(Y);return}const Ie=ve&1&&ye,Ue=!zn(Y);let xe;if(Ue&&(xe=ne&&ne.onVnodeBeforeUnmount)&&Kt(xe,K,Y),ve&6)$(Y.component,ee,te);else{if(ve&128){Y.suspense.unmount(ee,te);return}Ie&&kn(Y,null,K,"beforeUnmount"),ve&64?Y.type.remove(Y,K,ee,pe,te):ae&&!ae.hasOnce&&(re!==et||he>0&&he&64)?_(ae,K,ee,!1,!0):(re===et&&he&384||!X&&ve&16)&&_(ue,K,ee),te&&j(Y)}(Ue&&(xe=ne&&ne.onVnodeUnmounted)||Ie)&&mt(()=>{xe&&Kt(xe,K,Y),Ie&&kn(Y,null,K,"unmounted")},ee)},j=Y=>{const{type:K,el:ee,anchor:te,transition:X}=Y;if(K===et){Z(ee,te);return}if(K===Io){C(Y);return}const re=()=>{l(ee),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(Y.shapeFlag&1&&X&&!X.persisted){const{leave:ne,delayLeave:Ae}=X,ue=()=>ne(ee,re);Ae?Ae(Y.el,re,ue):ue()}else re()},Z=(Y,K)=>{let ee;for(;Y!==K;)ee=p(Y),l(Y),Y=ee;l(K)},$=(Y,K,ee)=>{const{bum:te,scope:X,job:re,subTree:ne,um:Ae,m:ue,a:ae}=Y;Sa(ue),Sa(ae),te&&kA(te),X.stop(),re&&(re.flags|=8,w(ne,Y,K,ee)),Ae&&mt(Ae,K),mt(()=>{Y.isUnmounted=!0},K),K&&K.pendingBranch&&!K.isUnmounted&&Y.asyncDep&&!Y.asyncResolved&&Y.suspenseId===K.pendingId&&(K.deps--,K.deps===0&&K.resolve())},_=(Y,K,ee,te=!1,X=!1,re=0)=>{for(let ne=re;ne<Y.length;ne++)w(Y[ne],K,ee,te,X)},se=Y=>{if(Y.shapeFlag&6)return se(Y.component.subTree);if(Y.shapeFlag&128)return Y.suspense.next();const K=p(Y.anchor||Y.el),ee=K&&K[zc];return ee?p(ee):K};let le=!1;const ge=(Y,K,ee)=>{Y==null?K._vnode&&w(K._vnode,null,null,!0):T(K._vnode||null,Y,K,null,null,null,ee),K._vnode=Y,le||(le=!0,ga(),Hc(),le=!1)},pe={p:T,um:w,m,r:j,mt:y,mc:k,pc:J,pbc:N,n:se,o:e};return{render:ge,hydrate:void 0,createApp:Uh(ge)}}function DA({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Tn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function as(e,t,o=!1){const A=e.children,l=t.children;if(Ee(A)&&Ee(l))for(let a=0;a<A.length;a++){const n=A[a];let f=l[a];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=l[a]=mn(l[a]),f.el=n.el),!o&&f.patchFlag!==-2&&as(n,f)),f.type===tA&&(f.el=n.el)}}function Wh(e){const t=e.slice(),o=[0];let A,l,a,n,f;const h=e.length;for(A=0;A<h;A++){const s=e[A];if(s!==0){if(l=o[o.length-1],e[l]<s){t[A]=l,o.push(A);continue}for(a=0,n=o.length-1;a<n;)f=a+n>>1,e[o[f]]<s?a=f+1:n=f;s<e[o[a]]&&(a>0&&(t[A]=o[a-1]),o[a]=A)}}for(a=o.length,n=o[a-1];a-- >0;)o[a]=n,n=t[n];return o}function vd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vd(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Hh=Symbol.for("v-scx"),Zh=()=>yo(Hh);function Ph(e,t){return us(e,null,t)}function rn(e,t,o){return us(e,t,o)}function us(e,t,o=We){const{immediate:A,deep:l,flush:a,once:n}=o,f=tt({},o),h=t&&A||!t&&a!=="post";let s;if(Mr){if(a==="sync"){const q=Zh();s=q.__watcherHandles||(q.__watcherHandles=[])}else if(!h){const q=()=>{};return q.stop=Ft,q.resume=Ft,q.pause=Ft,q}}const d=ot;f.call=(q,M,T)=>Yt(q,d,M,T);let c=!1;a==="post"?f.scheduler=q=>{mt(q,d&&d.suspense)}:a!=="sync"&&(c=!0,f.scheduler=(q,M)=>{M?q():ts(q)}),f.augmentJob=q=>{t&&(q.flags|=4),c&&(q.flags|=2,d&&(q.id=d.uid,q.i=d))};const p=nh(e,t,f);return Mr&&(s?s.push(p):h&&p()),p}function zh(e,t,o){const A=this.proxy,l=ze(e)?e.includes(".")?yd(A,e):()=>A[e]:e.bind(A,A);let a;ke(t)?a=t:(a=t.handler,o=t);const n=Wr(this),f=us(l,a.bind(A),o);return n(),f}function yd(e,t){const o=t.split(".");return()=>{let A=e;for(let l=0;l<o.length&&A;l++)A=A[o[l]];return A}}const _h=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ct(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Xh(e,t,...o){if(e.isUnmounted)return;const A=e.vnode.props||We;let l=o;const a=t.startsWith("update:"),n=a&&_h(A,t.slice(7));n&&(n.trim&&(l=o.map(d=>ze(d)?d.trim():d)),n.number&&(l=o.map(Vg)));let f,h=A[f=EA(t)]||A[f=EA(Ct(t))];!h&&a&&(h=A[f=EA(Rt(t))]),h&&Yt(h,e,6,l);const s=A[f+"Once"];if(s){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Yt(s,e,6,l)}}function Id(e,t,o=!1){const A=t.emitsCache,l=A.get(e);if(l!==void 0)return l;const a=e.emits;let n={},f=!1;if(!ke(e)){const h=s=>{const d=Id(s,t,!0);d&&(f=!0,tt(n,d))};!o&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!a&&!f?(_e(e)&&A.set(e,null),null):(Ee(a)?a.forEach(h=>n[h]=null):tt(n,a),_e(e)&&A.set(e,n),n)}function eA(e,t){return!e||!Qo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,Rt(t))||Ke(e,t))}function wa(e){const{type:t,vnode:o,proxy:A,withProxy:l,propsOptions:[a],slots:n,attrs:f,emit:h,render:s,renderCache:d,props:c,data:p,setupState:q,ctx:M,inheritAttrs:T}=e,R=Ro(e);let I,x;try{if(o.shapeFlag&4){const C=l||A,v=hn.NODE_ENV!=="production"&&q.__isScriptSetup?new Proxy(C,{get(O,L,k){return rh(`Property '${String(L)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(O,L,k)}}):C;I=jt(s.call(v,C,d,hn.NODE_ENV!=="production"?co(c):c,q,p,M)),x=f}else{const C=t;hn.NODE_ENV,I=jt(C.length>1?C(hn.NODE_ENV!=="production"?co(c):c,hn.NODE_ENV!=="production"?{get attrs(){return co(f)},slots:n,emit:h}:{attrs:f,slots:n,emit:h}):C(hn.NODE_ENV!=="production"?co(c):c,null)),x=t.props?f:$h(f)}}catch(C){Cr.length=0,zo(C,e,1),I=Te(bt)}let E=I;if(x&&T!==!1){const C=Object.keys(x),{shapeFlag:v}=E;C.length&&v&7&&(a&&C.some(ji)&&(x=ep(x,a)),E=Cn(E,x,!1,!0))}return o.dirs&&(E=Cn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(o.dirs):o.dirs),o.transition&&Er(E,o.transition),I=E,Ro(R),I}const $h=e=>{let t;for(const o in e)(o==="class"||o==="style"||Qo(o))&&((t||(t={}))[o]=e[o]);return t},ep=(e,t)=>{const o={};for(const A in e)(!ji(A)||!(A.slice(9)in t))&&(o[A]=e[A]);return o};function tp(e,t,o){const{props:A,children:l,component:a}=e,{props:n,children:f,patchFlag:h}=t,s=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&h>=0){if(h&1024)return!0;if(h&16)return A?Ea(A,n,s):!!n;if(h&8){const d=t.dynamicProps;for(let c=0;c<d.length;c++){const p=d[c];if(n[p]!==A[p]&&!eA(s,p))return!0}}}else return(l||f)&&(!f||!f.$stable)?!0:A===n?!1:A?n?Ea(A,n,s):!0:!!n;return!1}function Ea(e,t,o){const A=Object.keys(t);if(A.length!==Object.keys(e).length)return!0;for(let l=0;l<A.length;l++){const a=A[l];if(t[a]!==e[a]&&!eA(o,a))return!0}return!1}function np({vnode:e,parent:t},o){for(;t;){const A=t.subTree;if(A.suspense&&A.suspense.activeBranch===e&&(A.el=e.el),A===e)(e=t.vnode).el=o,t=t.parent;else break}}const Sd=e=>e.__isSuspense;function rp(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):uh(e)}const et=Symbol.for("v-fgt"),tA=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),Io=Symbol.for("v-stc"),Cr=[];let Et=null;function de(e=!1){Cr.push(Et=e?null:[])}function op(){Cr.pop(),Et=Cr[Cr.length-1]||null}let Tr=1;function ka(e,t=!1){Tr+=e,e<0&&Et&&t&&(Et.hasOnce=!0)}function wd(e){return e.dynamicChildren=Tr>0?Et||Wn:null,op(),Tr>0&&Et&&Et.push(e),e}function Ve(e,t,o,A,l,a){return wd(qe(e,t,o,A,l,a,!0))}function Oe(e,t,o,A,l){return wd(Te(e,t,o,A,l,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function On(e,t){return e.type===t.type&&e.key===t.key}const Ed=({key:e})=>e??null,So=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||ut(e)||ke(e)?{i:it,r:e,k:t,f:!!o}:e:null);function qe(e,t=null,o=null,A=0,l=null,a=e===et?0:1,n=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ed(t),ref:t&&So(t),scopeId:Pc,slotScopeIds:null,children:o,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:a,patchFlag:A,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:it};return f?(ds(h,o),a&128&&e.normalize(h)):o&&(h.shapeFlag|=ze(o)?8:16),Tr>0&&!n&&Et&&(h.patchFlag>0||a&6)&&h.patchFlag!==32&&Et.push(h),h}const Te=Ap;function Ap(e,t=null,o=null,A=0,l=null,a=!1){if((!e||e===ld)&&(e=bt),Rr(e)){const f=Cn(e,t,!0);return o&&ds(f,o),Tr>0&&!a&&Et&&(f.shapeFlag&6?Et[Et.indexOf(e)]=f:Et.push(f)),f.patchFlag=-2,f}if(pp(e)&&(e=e.__vccOpts),t){t=ip(t);let{class:f,style:h}=t;f&&!ze(f)&&(t.class=ht(f)),_e(h)&&($i(h)&&!Ee(h)&&(h=tt({},h)),t.style=jo(h))}const n=ze(e)?1:Sd(e)?128:_c(e)?64:_e(e)?4:ke(e)?2:0;return qe(e,t,o,A,l,n,a,!0)}function ip(e){return e?$i(e)||hd(e)?tt({},e):e:null}function Cn(e,t,o=!1,A=!1){const{props:l,ref:a,patchFlag:n,children:f,transition:h}=e,s=t?me(l||{},t):l,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Ed(s),ref:t&&t.ref?o&&a?Ee(a)?a.concat(So(t)):[a,So(t)]:So(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==et?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:h,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cn(e.ssContent),ssFallback:e.ssFallback&&Cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return h&&A&&Er(d,h.clone(d)),d}function Xn(e=" ",t=0){return Te(tA,null,e,t)}function cs(e,t){const o=Te(Io,null,e);return o.staticCount=t,o}function Me(e="",t=!1){return t?(de(),Oe(bt,null,e)):Te(bt,null,e)}function jt(e){return e==null||typeof e=="boolean"?Te(bt):Ee(e)?Te(et,null,e.slice()):Rr(e)?mn(e):Te(tA,null,String(e))}function mn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cn(e)}function ds(e,t){let o=0;const{shapeFlag:A}=e;if(t==null)t=null;else if(Ee(t))o=16;else if(typeof t=="object")if(A&65){const l=t.default;l&&(l._c&&(l._d=!1),ds(e,l()),l._c&&(l._d=!0));return}else{o=32;const l=t._;!l&&!hd(t)?t._ctx=it:l===3&&it&&(it.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ke(t)?(t={default:t,_ctx:it},o=32):(t=String(t),A&64?(o=16,t=[Xn(t)]):o=8);e.children=t,e.shapeFlag|=o}function me(...e){const t={};for(let o=0;o<e.length;o++){const A=e[o];for(const l in A)if(l==="class")t.class!==A.class&&(t.class=ht([t.class,A.class]));else if(l==="style")t.style=jo([t.style,A.style]);else if(Qo(l)){const a=t[l],n=A[l];n&&a!==n&&!(Ee(a)&&a.includes(n))&&(t[l]=a?[].concat(a,n):n)}else l!==""&&(t[l]=A[l])}return t}function Kt(e,t,o,A=null){Yt(e,t,7,[o,A])}const sp=dd();let lp=0;function ap(e,t,o){const A=e.type,l=(t?t.appContext:e.appContext)||sp,a={uid:lp++,vnode:e,type:A,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qd(A,l),emitsOptions:Id(A,l),emit:null,emitted:null,propsDefaults:We,inheritAttrs:A.inheritAttrs,ctx:We,data:We,props:We,attrs:We,slots:We,refs:We,setupState:We,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Xh.bind(null,a),e.ce&&e.ce(a),a}let ot=null;const kd=()=>ot||it;let Bo,Bi;{const e=No(),t=(o,A)=>{let l;return(l=e[o])||(l=e[o]=[]),l.push(A),a=>{l.length>1?l.forEach(n=>n(a)):l[0](a)}};Bo=t("__VUE_INSTANCE_SETTERS__",o=>ot=o),Bi=t("__VUE_SSR_SETTERS__",o=>Mr=o)}const Wr=e=>{const t=ot;return Bo(e),e.scope.on(),()=>{e.scope.off(),Bo(t)}},Ta=()=>{ot&&ot.scope.off(),Bo(null)};function Td(e){return e.vnode.shapeFlag&4}let Mr=!1;function up(e,t=!1,o=!1){t&&Bi(t);const{props:A,children:l}=e.vnode,a=Td(e);Lh(e,A,a,t),Gh(e,l,o);const n=a?cp(e,t):void 0;return t&&Bi(!1),n}function cp(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kh);const{setup:A}=o;if(A){sn();const l=e.setupContext=A.length>1?fp(e):null,a=Wr(e),n=tr(A,e,0,[e.props,l]),f=bc(n);if(ln(),a(),(f||e.sp)&&!zn(e)&&Ad(e),f){if(n.then(Ta,Ta),t)return n.then(h=>{Ra(e,h)}).catch(h=>{zo(h,e,0)});e.asyncDep=n}else Ra(e,n)}else Rd(e)}function Ra(e,t,o){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Jc(t)),Rd(e)}function Rd(e,t,o){const A=e.type;e.render||(e.render=A.render||Ft);{const l=Wr(e);sn();try{Th(e)}finally{ln(),l()}}}const dp={get(e,t){return ft(e,"get",""),e[t]}};function fp(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,dp),slots:e.slots,emit:e.emit,expose:t}}function nA(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jc(Pg(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in br)return br[o](e)},has(t,o){return o in t||o in br}})):e.proxy}const gp=/(?:^|[-_])(\w)/g,hp=e=>e.replace(gp,t=>t.toUpperCase()).replace(/[-_]/g,"");function Md(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function xd(e,t,o=!1){let A=Md(t);if(!A&&t.__file){const l=t.__file.match(/([^/\\]+)\.\w+$/);l&&(A=l[1])}if(!A&&e&&e.parent){const l=a=>{for(const n in a)if(a[n]===t)return n};A=l(e.components||e.parent.type.components)||l(e.appContext.components)}return A?hp(A):o?"App":"Anonymous"}function pp(e){return ke(e)&&"__vccOpts"in e}const at=(e,t)=>eh(e,t,Mr);function qp(e,t,o){const A=arguments.length;return A===2?_e(t)&&!Ee(t)?Rr(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(A>3?o=Array.prototype.slice.call(arguments,2):A===3&&Rr(o)&&(o=[o]),Te(e,t,o))}const mp="3.5.13";let Ui;const Ma=typeof window<"u"&&window.trustedTypes;if(Ma)try{Ui=Ma.createPolicy("vue",{createHTML:e=>e})}catch{}const Od=Ui?e=>Ui.createHTML(e):e=>e,Vp="http://www.w3.org/2000/svg",bp="http://www.w3.org/1998/Math/MathML",$t=typeof document<"u"?document:null,xa=$t&&$t.createElement("template"),Cp={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,A)=>{const l=t==="svg"?$t.createElementNS(Vp,e):t==="mathml"?$t.createElementNS(bp,e):o?$t.createElement(e,{is:o}):$t.createElement(e);return e==="select"&&A&&A.multiple!=null&&l.setAttribute("multiple",A.multiple),l},createText:e=>$t.createTextNode(e),createComment:e=>$t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,A,l,a){const n=o?o.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),o),!(l===a||!(l=l.nextSibling)););else{xa.innerHTML=Od(A==="svg"?`<svg>${e}</svg>`:A==="mathml"?`<math>${e}</math>`:e);const f=xa.content;if(A==="svg"||A==="mathml"){const h=f.firstChild;for(;h.firstChild;)f.appendChild(h.firstChild);f.removeChild(h)}t.insertBefore(f,o)}return[n?n.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},gn="transition",ur="animation",xr=Symbol("_vtc"),Bd={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},vp=tt({},ed,Bd),yp=e=>(e.displayName="Transition",e.props=vp,e),Ud=yp((e,{slots:t})=>qp(hh,Ip(e),t)),Rn=(e,t=[])=>{Ee(e)?e.forEach(o=>o(...t)):e&&e(...t)},Oa=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Ip(e){const t={};for(const B in e)B in Bd||(t[B]=e[B]);if(e.css===!1)return t;const{name:o="v",type:A,duration:l,enterFromClass:a=`${o}-enter-from`,enterActiveClass:n=`${o}-enter-active`,enterToClass:f=`${o}-enter-to`,appearFromClass:h=a,appearActiveClass:s=n,appearToClass:d=f,leaveFromClass:c=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:q=`${o}-leave-to`}=e,M=Sp(l),T=M&&M[0],R=M&&M[1],{onBeforeEnter:I,onEnter:x,onEnterCancelled:E,onLeave:C,onLeaveCancelled:v,onBeforeAppear:O=I,onAppear:L=x,onAppearCancelled:k=E}=t,D=(B,H,y,S)=>{B._enterCancelled=S,Mn(B,H?d:f),Mn(B,H?s:n),y&&y()},N=(B,H)=>{B._isLeaving=!1,Mn(B,c),Mn(B,q),Mn(B,p),H&&H()},W=B=>(H,y)=>{const S=B?L:x,Q=()=>D(H,B,y);Rn(S,[H,Q]),Ba(()=>{Mn(H,B?h:a),_t(H,B?d:f),Oa(S)||Ua(H,A,T,Q)})};return tt(t,{onBeforeEnter(B){Rn(I,[B]),_t(B,a),_t(B,n)},onBeforeAppear(B){Rn(O,[B]),_t(B,h),_t(B,s)},onEnter:W(!1),onAppear:W(!0),onLeave(B,H){B._isLeaving=!0;const y=()=>N(B,H);_t(B,c),B._enterCancelled?(_t(B,p),Fa()):(Fa(),_t(B,p)),Ba(()=>{B._isLeaving&&(Mn(B,c),_t(B,q),Oa(C)||Ua(B,A,R,y))}),Rn(C,[B,y])},onEnterCancelled(B){D(B,!1,void 0,!0),Rn(E,[B])},onAppearCancelled(B){D(B,!0,void 0,!0),Rn(k,[B])},onLeaveCancelled(B){N(B),Rn(v,[B])}})}function Sp(e){if(e==null)return null;if(_e(e))return[LA(e.enter),LA(e.leave)];{const t=LA(e);return[t,t]}}function LA(e){return vi(e)}function _t(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[xr]||(e[xr]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(A=>A&&e.classList.remove(A));const o=e[xr];o&&(o.delete(t),o.size||(e[xr]=void 0))}function Ba(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wp=0;function Ua(e,t,o,A){const l=e._endId=++wp,a=()=>{l===e._endId&&A()};if(o!=null)return setTimeout(a,o);const{type:n,timeout:f,propCount:h}=Ep(e,t);if(!n)return A();const s=n+"end";let d=0;const c=()=>{e.removeEventListener(s,p),a()},p=q=>{q.target===e&&++d>=h&&c()};setTimeout(()=>{d<h&&c()},f+1),e.addEventListener(s,p)}function Ep(e,t){const o=window.getComputedStyle(e),A=M=>(o[M]||"").split(", "),l=A(`${gn}Delay`),a=A(`${gn}Duration`),n=Da(l,a),f=A(`${ur}Delay`),h=A(`${ur}Duration`),s=Da(f,h);let d=null,c=0,p=0;t===gn?n>0&&(d=gn,c=n,p=a.length):t===ur?s>0&&(d=ur,c=s,p=h.length):(c=Math.max(n,s),d=c>0?n>s?gn:ur:null,p=d?d===gn?a.length:h.length:0);const q=d===gn&&/\b(transform|all)(,|$)/.test(A(`${gn}Property`).toString());return{type:d,timeout:c,propCount:p,hasTransform:q}}function Da(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,A)=>La(o)+La(e[A])))}function La(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fa(){return document.body.offsetHeight}function kp(e,t,o){const A=e[xr];A&&(t=(t?[t,...A]:[...A]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Qa=Symbol("_vod"),Tp=Symbol("_vsh"),Rp=Symbol(""),Mp=/(^|;)\s*display\s*:/;function xp(e,t,o){const A=e.style,l=ze(o);let a=!1;if(o&&!l){if(t)if(ze(t))for(const n of t.split(";")){const f=n.slice(0,n.indexOf(":")).trim();o[f]==null&&wo(A,f,"")}else for(const n in t)o[n]==null&&wo(A,n,"");for(const n in o)n==="display"&&(a=!0),wo(A,n,o[n])}else if(l){if(t!==o){const n=A[Rp];n&&(o+=";"+n),A.cssText=o,a=Mp.test(o)}}else t&&e.removeAttribute("style");Qa in e&&(e[Qa]=a?A.display:"",e[Tp]&&(A.display="none"))}const Ya=/\s*!important$/;function wo(e,t,o){if(Ee(o))o.forEach(A=>wo(e,t,A));else if(o==null&&(o=""),t.startsWith("--"))e.setProperty(t,o);else{const A=Op(e,t);Ya.test(o)?e.setProperty(Rt(A),o.replace(Ya,""),"important"):e[A]=o}}const Ga=["Webkit","Moz","ms"],FA={};function Op(e,t){const o=FA[t];if(o)return o;let A=Ct(t);if(A!=="filter"&&A in e)return FA[t]=A;A=Jo(A);for(let l=0;l<Ga.length;l++){const a=Ga[l]+A;if(a in e)return FA[t]=a}return t}const Ka="http://www.w3.org/1999/xlink";function Ja(e,t,o,A,l,a=wg(t)){A&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(Ka,t.slice(6,t.length)):e.setAttributeNS(Ka,t,o):o==null||a&&!yc(o)?e.removeAttribute(t):e.setAttribute(t,a?"":An(o)?String(o):o)}function Na(e,t,o,A,l){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Od(o):o);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const f=a==="OPTION"?e.getAttribute("value")||"":e.value,h=o==null?e.type==="checkbox"?"on":"":String(o);(f!==h||!("_value"in e))&&(e.value=h),o==null&&e.removeAttribute(t),e._value=o;return}let n=!1;if(o===""||o==null){const f=typeof e[t];f==="boolean"?o=yc(o):o==null&&f==="string"?(o="",n=!0):f==="number"&&(o=0,n=!0)}try{e[t]=o}catch{}n&&e.removeAttribute(l||t)}function Bp(e,t,o,A){e.addEventListener(t,o,A)}function Up(e,t,o,A){e.removeEventListener(t,o,A)}const ja=Symbol("_vei");function Dp(e,t,o,A,l=null){const a=e[ja]||(e[ja]={}),n=a[t];if(A&&n)n.value=A;else{const[f,h]=Lp(t);if(A){const s=a[t]=Yp(A,l);Bp(e,f,s,h)}else n&&(Up(e,f,n,h),a[t]=void 0)}}const Wa=/(?:Once|Passive|Capture)$/;function Lp(e){let t;if(Wa.test(e)){t={};let A;for(;A=e.match(Wa);)e=e.slice(0,e.length-A[0].length),t[A[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let QA=0;const Fp=Promise.resolve(),Qp=()=>QA||(Fp.then(()=>QA=0),QA=Date.now());function Yp(e,t){const o=A=>{if(!A._vts)A._vts=Date.now();else if(A._vts<=o.attached)return;Yt(Gp(A,o.value),t,5,[A])};return o.value=e,o.attached=Qp(),o}function Gp(e,t){if(Ee(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(A=>l=>!l._stopped&&A&&A(l))}else return t}const Ha=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kp=(e,t,o,A,l,a)=>{const n=l==="svg";t==="class"?kp(e,A,n):t==="style"?xp(e,o,A):Qo(t)?ji(t)||Dp(e,t,o,A,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jp(e,t,A,n))?(Na(e,t,A),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ja(e,t,A,n,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ze(A))?Na(e,Ct(t),A,a,t):(t==="true-value"?e._trueValue=A:t==="false-value"&&(e._falseValue=A),Ja(e,t,A,n))};function Jp(e,t,o,A){if(A)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ha(t)&&ke(o));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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return Ha(t)&&ze(o)?!1:t in e}const Za={};/*! #__NO_SIDE_EFFECTS__ */function Np(e,t,o){const A=rs(e,t);Go(A)&&tt(A,t);class l extends fs{constructor(n){super(A,n,o)}}return l.def=A,l}const jp=typeof HTMLElement<"u"?HTMLElement:class{};class fs extends jp{constructor(t,o={},A=za){super(),this._def=t,this._props=o,this._createApp=A,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&A!==za?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof fs){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,es(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let A=0;A<this.attributes.length;A++)this._setAttr(this.attributes[A].name);this._ob=new MutationObserver(A=>{for(const l of A)this._setAttr(l.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(A,l=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:n}=A;let f;if(a&&!Ee(a))for(const h in a){const s=a[h];(s===Number||s&&s.type===Number)&&(h in this._props&&(this._props[h]=vi(this._props[h])),(f||(f=Object.create(null)))[Ct(h)]=!0)}this._numberProps=f,l&&this._resolveProps(A),this.shadowRoot&&this._applyStyles(n),this._mount(A)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(A=>t(this._def=A,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const A in o)Ke(this,A)||Object.defineProperty(this,A,{get:()=>Kc(o[A])})}_resolveProps(t){const{props:o}=t,A=Ee(o)?o:Object.keys(o||{});for(const l of Object.keys(this))l[0]!=="_"&&A.includes(l)&&this._setProp(l,this[l]);for(const l of A.map(Ct))Object.defineProperty(this,l,{get(){return this._getProp(l)},set(a){this._setProp(l,a,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let A=o?this.getAttribute(t):Za;const l=Ct(t);o&&this._numberProps&&this._numberProps[l]&&(A=vi(A)),this._setProp(l,A,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,A=!0,l=!1){if(o!==this._props[t]&&(o===Za?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),l&&this._instance&&this._update(),A)){const a=this._ob;a&&a.disconnect(),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),a&&a.observe(this,{attributes:!0})}}_update(){Hp(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Te(this._def,tt(t,this._props));return this._instance||(o.ce=A=>{this._instance=A,A.ce=this,A.isCE=!0;const l=(a,n)=>{this.dispatchEvent(new CustomEvent(a,Go(n[0])?tt({detail:n},n[0]):{detail:n}))};A.emit=(a,...n)=>{l(a,n),Rt(a)!==a&&l(Rt(a),n)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const A=this._nonce;for(let l=t.length-1;l>=0;l--){const a=document.createElement("style");A&&a.setAttribute("nonce",A),a.textContent=t[l],this.shadowRoot.prepend(a)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const A=o.nodeType===1&&o.getAttribute("slot")||"default";(t[A]||(t[A]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),o=this._instance.type.__scopeId;for(let A=0;A<t.length;A++){const l=t[A],a=l.getAttribute("name")||"default",n=this._slots[a],f=l.parentNode;if(n)for(const h of n){if(o&&h.nodeType===1){const s=o+"-s",d=document.createTreeWalker(h,1);h.setAttribute(s,"");let c;for(;c=d.nextNode();)c.setAttribute(s,"")}f.insertBefore(h,l)}else for(;l.firstChild;)f.insertBefore(l.firstChild,l);f.removeChild(l)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const Wp=tt({patchProp:Kp},Cp);let Pa;function Dd(){return Pa||(Pa=Jh(Wp))}const Hp=(...e)=>{Dd().render(...e)},za=(...e)=>{const t=Dd().createApp(...e),{mount:o}=t;return t.mount=A=>{const l=Pp(A);if(!l)return;const a=t._component;!ke(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const n=o(l,!1,Zp(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),n},t};function Zp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Pp(e){return ze(e)?document.querySelector(e):e}function zp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const _p="JsSIP",Xp="3.10.1",Ld={title:_p,version:Xp};var YA,_a;function rt(){if(_a)return YA;_a=1;var e=Ld;return YA={USER_AGENT:"".concat(e.title," ").concat(e.version),SIP:"sip",SIPS:"sips",causes:{CONNECTION_ERROR:"Connection Error",REQUEST_TIMEOUT:"Request Timeout",SIP_FAILURE_CODE:"SIP Failure Code",INTERNAL_ERROR:"Internal Error",BUSY:"Busy",REJECTED:"Rejected",REDIRECTED:"Redirected",UNAVAILABLE:"Unavailable",NOT_FOUND:"Not Found",ADDRESS_INCOMPLETE:"Address Incomplete",INCOMPATIBLE_SDP:"Incompatible SDP",MISSING_SDP:"Missing SDP",AUTHENTICATION_ERROR:"Authentication Error",BYE:"Terminated",WEBRTC_ERROR:"WebRTC Error",CANCELED:"Canceled",NO_ANSWER:"No Answer",EXPIRES:"Expires",NO_ACK:"No ACK",DIALOG_ERROR:"Dialog Error",USER_DENIED_MEDIA_ACCESS:"User Denied Media Access",BAD_MEDIA_DESCRIPTION:"Bad Media Description",RTP_TIMEOUT:"RTP Timeout"},SIP_ERROR_CAUSES:{REDIRECTED:[300,301,302,305,380],BUSY:[486,600],REJECTED:[403,603],NOT_FOUND:[404,604],UNAVAILABLE:[480,410,408,430],ADDRESS_INCOMPLETE:[484,424],INCOMPATIBLE_SDP:[488,606],AUTHENTICATION_ERROR:[401,407]},ACK:"ACK",BYE:"BYE",CANCEL:"CANCEL",INFO:"INFO",INVITE:"INVITE",MESSAGE:"MESSAGE",NOTIFY:"NOTIFY",OPTIONS:"OPTIONS",REGISTER:"REGISTER",REFER:"REFER",UPDATE:"UPDATE",SUBSCRIBE:"SUBSCRIBE",DTMF_TRANSPORT:{INFO:"INFO",RFC2833:"RFC2833"},REASON_PHRASE:{100:"Trying",180:"Ringing",181:"Call Is Being Forwarded",182:"Queued",183:"Session Progress",199:"Early Dialog Terminated",200:"OK",202:"Accepted",204:"No Notification",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",305:"Use Proxy",380:"Alternative Service",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",410:"Gone",412:"Conditional Request Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Unsupported URI Scheme",417:"Unknown Resource-Priority",420:"Bad Extension",421:"Extension Required",422:"Session Interval Too Small",423:"Interval Too Brief",424:"Bad Location Information",428:"Use Identity Header",429:"Provide Referrer Identity",430:"Flow Failed",433:"Anonymity Disallowed",436:"Bad Identity-Info",437:"Unsupported Certificate",438:"Invalid Identity Header",439:"First Hop Lacks Outbound Support",440:"Max-Breadth Exceeded",469:"Bad Info Package",470:"Consent Needed",478:"Unresolvable Destination",480:"Temporarily Unavailable",481:"Call/Transaction Does Not Exist",482:"Loop Detected",483:"Too Many Hops",484:"Address Incomplete",485:"Ambiguous",486:"Busy Here",487:"Request Terminated",488:"Not Acceptable Here",489:"Bad Event",491:"Request Pending",493:"Undecipherable",494:"Security Agreement Required",500:"JsSIP Internal Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Server Time-out",505:"Version Not Supported",513:"Message Too Large",580:"Precondition Failure",600:"Busy Everywhere",603:"Decline",604:"Does Not Exist Anywhere",606:"Not Acceptable"},ALLOWED_METHODS:"INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY",ACCEPTED_BODY_TYPES:"application/sdp, application/dtmf-relay",MAX_FORWARDS:69,SESSION_EXPIRES:90,MIN_SESSION_EXPIRES:60,CONNECTION_RECOVERY_MAX_INTERVAL:30,CONNECTION_RECOVERY_MIN_INTERVAL:2},YA}var GA,Xa;function vn(){if(Xa)return GA;Xa=1;function e(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(x){return typeof x}:e=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},e(R)}function t(R,I){if(!(R instanceof I))throw new TypeError("Cannot call a class as a function")}function o(R,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(I&&I.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),I&&d(R,I)}function A(R){var I=h();return function(){var E=c(R),C;if(I){var v=c(this).constructor;C=Reflect.construct(E,arguments,v)}else C=E.apply(this,arguments);return l(this,C)}}function l(R,I){return I&&(e(I)==="object"||typeof I=="function")?I:a(R)}function a(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function n(R){var I=typeof Map=="function"?new Map:void 0;return n=function(E){if(E===null||!s(E))return E;if(typeof E!="function")throw new TypeError("Super expression must either be null or a function");if(typeof I<"u"){if(I.has(E))return I.get(E);I.set(E,C)}function C(){return f(E,arguments,c(this).constructor)}return C.prototype=Object.create(E.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),d(C,E)},n(R)}function f(R,I,x){return h()?f=Reflect.construct:f=function(C,v,O){var L=[null];L.push.apply(L,v);var k=Function.bind.apply(C,L),D=new k;return O&&d(D,O.prototype),D},f.apply(null,arguments)}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function s(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function d(R,I){return d=Object.setPrototypeOf||function(E,C){return E.__proto__=C,E},d(R,I)}function c(R){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},c(R)}var p=function(R){o(x,R);var I=A(x);function x(E,C){var v;return t(this,x),v=I.call(this),v.code=1,v.name="CONFIGURATION_ERROR",v.parameter=E,v.value=C,v.message=v.value?"Invalid value ".concat(JSON.stringify(v.value),' for parameter "').concat(v.parameter,'"'):"Missing parameter: ".concat(v.parameter),v}return x}(n(Error)),q=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=2,C.name="INVALID_STATE_ERROR",C.status=E,C.message="Invalid status: ".concat(E),C}return x}(n(Error)),M=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=3,C.name="NOT_SUPPORTED_ERROR",C.message=E,C}return x}(n(Error)),T=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=4,C.name="NOT_READY_ERROR",C.message=E,C}return x}(n(Error));return GA={ConfigurationError:p,InvalidStateError:q,NotSupportedError:M,NotReadyError:T},GA}var Xe={},KA,$a;function gs(){if($a)return KA;$a=1;function e(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function t(a,n){for(var f=0;f<n.length;f++){var h=n[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}function o(a,n,f){return n&&t(a.prototype,n),f&&t(a,f),a}var A=yn(),l=Ht();return KA=function(){o(a,null,[{key:"parse",value:function(f){if(f=l.parse(f,"Name_Addr_Header"),f!==-1)return f}}]);function a(n,f,h){if(e(this,a),!n||!(n instanceof A))throw new TypeError('missing or invalid "uri" parameter');this._uri=n,this._parameters={},this.display_name=f;for(var s in h)Object.prototype.hasOwnProperty.call(h,s)&&this.setParam(s,h[s])}return o(a,[{key:"setParam",value:function(f,h){f&&(this._parameters[f.toLowerCase()]=typeof h>"u"||h===null?null:h.toString())}},{key:"getParam",value:function(f){if(f)return this._parameters[f.toLowerCase()]}},{key:"hasParam",value:function(f){if(f)return this._parameters.hasOwnProperty(f.toLowerCase())&&!0||!1}},{key:"deleteParam",value:function(f){if(f=f.toLowerCase(),this._parameters.hasOwnProperty(f)){var h=this._parameters[f];return delete this._parameters[f],h}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"clone",value:function(){return new a(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}},{key:"_quote",value:function(f){return f.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}},{key:"toString",value:function(){var f=this._display_name?'"'.concat(this._quote(this._display_name),'" '):"";f+="<".concat(this._uri.toString(),">");for(var h in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,h)&&(f+=";".concat(h),this._parameters[h]!==null&&(f+="=".concat(this._parameters[h])));return f}},{key:"uri",get:function(){return this._uri}},{key:"display_name",get:function(){return this._display_name},set:function(f){this._display_name=f===0?"0":f}}]),a}(),KA}var JA,eu;function Ht(){return eu||(eu=1,JA=function(){function e(o){return'"'+o.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var t={parse:function(A,l){var a={CRLF:d,DIGIT:c,ALPHA:p,HEXDIG:q,WSP:M,OCTET:T,DQUOTE:R,SP:I,HTAB:x,alphanum:E,reserved:C,unreserved:v,mark:O,escaped:L,LWS:k,SWS:D,HCOLON:N,TEXT_UTF8_TRIM:W,TEXT_UTF8char:B,UTF8_NONASCII:H,UTF8_CONT:y,LHEX:S,token:Q,token_nodot:U,separators:J,word:P,STAR:G,SLASH:m,EQUAL:w,LPAREN:j,RPAREN:Z,RAQUOT:$,LAQUOT:_,COMMA:se,SEMI:le,COLON:ge,LDQUOT:pe,RDQUOT:fe,comment:Y,ctext:K,quoted_string:ee,quoted_string_clean:te,qdtext:X,quoted_pair:re,SIP_URI_noparams:ne,SIP_URI:Ae,uri_scheme:ue,uri_scheme_sips:ae,uri_scheme_sip:ve,userinfo:he,user:ye,user_unreserved:we,password:Ie,hostport:Ue,host:xe,hostname:lt,domainlabel:At,toplabel:St,IPv6reference:vt,IPv6address:Zt,h16:be,ls32:je,IPv4address:ct,dec_octet:dn,port:ks,uri_parameters:Ts,uri_parameter:lA,transport_param:Rs,user_param:Ms,method_param:xs,ttl_param:Os,maddr_param:Bs,lr_param:Us,other_param:Ds,pname:Ls,pvalue:Fs,paramchar:rr,param_unreserved:Qs,headers:Ys,header:Pr,hname:Gs,hvalue:Ks,hnv_unreserved:or,Request_Response:kf,Request_Line:Js,Request_URI:Ns,absoluteURI:aA,hier_part:js,net_path:Ws,abs_path:zr,opaque_part:Hs,uric:Ar,uric_no_slash:Zs,path_segments:Ps,segment:_r,param:uA,pchar:ir,scheme:zs,authority:_s,srvr:Xs,reg_name:$s,query:el,SIP_Version:cA,INVITEm:tl,ACKm:nl,OPTIONSm:rl,BYEm:ol,CANCELm:Al,REGISTERm:il,SUBSCRIBEm:sl,NOTIFYm:ll,REFERm:al,Method:Xr,Status_Line:ul,Status_Code:cl,extension_code:dl,Reason_Phrase:fl,Allow_Events:Tf,Call_ID:Rf,Contact:Mf,contact_param:$r,name_addr:wn,display_name:eo,contact_params:dA,c_p_q:gl,c_p_expires:hl,delta_seconds:En,qvalue:pl,generic_param:nt,gen_value:ql,Content_Disposition:xf,disp_type:ml,disp_param:fA,handling_param:Vl,Content_Encoding:Of,Content_Length:Bf,Content_Type:Uf,media_type:bl,m_type:Cl,discrete_type:vl,composite_type:yl,extension_token:to,x_token:Il,m_subtype:Sl,m_parameter:gA,m_value:wl,CSeq:Df,CSeq_value:El,Expires:Lf,Event:Ff,event_type:sr,From:Qf,from_param:hA,tag_param:pA,Max_Forwards:Yf,Min_Expires:Gf,Name_Addr_Header:Kf,Proxy_Authenticate:Jf,challenge:qA,other_challenge:kl,auth_param:lr,digest_cln:no,realm:Tl,realm_value:Rl,domain:Ml,URI:ro,nonce:xl,nonce_value:Ol,opaque:Bl,stale:Ul,algorithm:Dl,qop_options:Ll,qop_value:oo,Proxy_Require:Nf,Record_Route:jf,rec_route:Ao,Reason:Wf,reason_param:mA,reason_cause:Fl,Require:Hf,Route:Zf,route_param:io,Subscription_State:Pf,substate_value:Ql,subexp_params:VA,event_reason_value:Yl,Subject:zf,Supported:_f,To:Xf,to_param:bA,Via:$f,via_param:so,via_params:CA,via_ttl:Gl,via_maddr:Kl,via_received:Jl,via_branch:Nl,response_port:jl,rport:Wl,sent_protocol:Hl,protocol_name:Zl,transport:Pl,sent_by:zl,via_host:_l,via_port:Xl,ttl:vA,WWW_Authenticate:eg,Session_Expires:tg,s_e_expires:$l,s_e_params:yA,s_e_refresher:ea,extension_header:ng,header_value:ta,message_body:rg,uuid_URI:og,uuid:na,hex4:Pt,hex8:ra,hex12:oa,Refer_To:Ag,Replaces:ig,call_id:Aa,replaces_param:IA,to_tag:ia,from_tag:sa,early_flag:la};if(l!==void 0){if(a[l]===void 0)throw new Error("Invalid rule name: "+e(l)+".")}else l="CRLF";var n=0,f=0,h=[];function s(r){n<f||(n>f&&(f=n,h=[]),h.push(r))}function d(){var r;return A.substr(n,2)===`\r
|
|
8
|
+
`],...ih(o))}),t}function ih({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",A=e.component?e.component.parent==null:!1,l=` at <${xd(e.component,e.type,A)}`,a=">"+o;return e.props?[l,...sh(e.props),a]:[l+a]}function sh(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(A=>{t.push(...Nc(A,e[A]))}),o.length>3&&t.push(" ..."),t}function Nc(e,t,o){return ze(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ut(t)?(t=Nc(e,Qe(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ke(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Qe(t),o?t:[`${e}=`,t])}function tr(e,t,o,A){try{return A?e(...A):e()}catch(l){zo(l,t,o)}}function Yt(e,t,o,A){if(ke(e)){const l=tr(e,t,o,A);return l&&bc(l)&&l.catch(a=>{zo(a,t,o)}),l}if(Ee(e)){const l=[];for(let a=0;a<e.length;a++)l.push(Yt(e[a],t,o,A));return l}}function zo(e,t,o,A=!0){const l=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:n}=t&&t.appContext.config||We;if(t){let f=t.parent;const h=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${o}`;for(;f;){const d=f.ec;if(d){for(let c=0;c<d.length;c++)if(d[c](e,h,s)===!1)return}f=f.parent}if(a){sn(),tr(a,null,10,[e,h,s]),ln();return}}lh(e,o,l,A,n)}function lh(e,t,o,A=!0,l=!1){if(l)throw e;console.error(e)}const Vt=[];let Nt=-1;const Pn=[];let pn=null,Gn=0;const jc=Promise.resolve();let To=null;function es(e){const t=To||jc;return e?t.then(this?e.bind(this):e):t}function ah(e){let t=Nt+1,o=Vt.length;for(;t<o;){const A=t+o>>>1,l=Vt[A],a=wr(l);a<e||a===e&&l.flags&2?t=A+1:o=A}return t}function ts(e){if(!(e.flags&1)){const t=wr(e),o=Vt[Vt.length-1];!o||!(e.flags&2)&&t>=wr(o)?Vt.push(e):Vt.splice(ah(t),0,e),e.flags|=1,Wc()}}function Wc(){To||(To=jc.then(Zc))}function uh(e){Ee(e)?Pn.push(...e):pn&&e.id===-1?pn.splice(Gn+1,0,e):e.flags&1||(Pn.push(e),e.flags|=1),Wc()}function ga(e,t,o=Nt+1){for(;o<Vt.length;o++){const A=Vt[o];if(A&&A.flags&2){if(e&&A.id!==e.uid)continue;Vt.splice(o,1),o--,A.flags&4&&(A.flags&=-2),A(),A.flags&4||(A.flags&=-2)}}}function Hc(e){if(Pn.length){const t=[...new Set(Pn)].sort((o,A)=>wr(o)-wr(A));if(Pn.length=0,pn){pn.push(...t);return}for(pn=t,Gn=0;Gn<pn.length;Gn++){const o=pn[Gn];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}pn=null,Gn=0}}const wr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zc(e){const t=Ft;try{for(Nt=0;Nt<Vt.length;Nt++){const o=Vt[Nt];o&&!(o.flags&8)&&(hn.NODE_ENV!=="production"&&t(o),o.flags&4&&(o.flags&=-2),tr(o,o.i,o.i?15:14),o.flags&4||(o.flags&=-2))}}finally{for(;Nt<Vt.length;Nt++){const o=Vt[Nt];o&&(o.flags&=-2)}Nt=-1,Vt.length=0,Hc(),To=null,(Vt.length||Pn.length)&&Zc()}}let it=null,Pc=null;function Ro(e){const t=it;return it=e,Pc=e&&e.type.__scopeId||null,t}function Pe(e,t=it,o){if(!t||e._n)return e;const A=(...l)=>{A._d&&ka(-1);const a=Ro(t);let n;try{n=e(...l)}finally{Ro(a),A._d&&ka(1)}return n};return A._n=!0,A._c=!0,A._d=!0,A}function ns(e,t){if(it===null)return e;const o=nA(it),A=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[a,n,f,h=We]=t[l];a&&(ke(a)&&(a={mounted:a,updated:a}),a.deep&&nn(n),A.push({dir:a,instance:o,value:n,oldValue:void 0,arg:f,modifiers:h}))}return e}function kn(e,t,o,A){const l=e.dirs,a=t&&t.dirs;for(let n=0;n<l.length;n++){const f=l[n];a&&(f.oldValue=a[n].value);let h=f.dir[A];h&&(sn(),Yt(h,o,8,[e.el,f,e,t]),ln())}}const zc=Symbol("_vte"),_c=e=>e.__isTeleport,Vr=e=>e&&(e.disabled||e.disabled===""),ha=e=>e&&(e.defer||e.defer===""),pa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ki=(e,t)=>{const o=e&&e.to;return ze(o)?t?t(o):null:o},Xc={name:"Teleport",__isTeleport:!0,process(e,t,o,A,l,a,n,f,h,s){const{mc:d,pc:c,pbc:p,o:{insert:q,querySelector:M,createText:T,createComment:R}}=s,I=Vr(t.props);let{shapeFlag:x,children:E,dynamicChildren:C}=t;if(e==null){const v=t.el=T(""),O=t.anchor=T("");q(v,o,A),q(O,o,A);const L=(D,N)=>{x&16&&(l&&l.isCE&&(l.ce._teleportTarget=D),d(E,D,N,l,a,n,f,h))},k=()=>{const D=t.target=ki(t.props,M),N=$c(D,t,T,q);D&&(n!=="svg"&&pa(D)?n="svg":n!=="mathml"&&qa(D)&&(n="mathml"),I||(L(D,N),vo(t,!1)))};I&&(L(o,O),vo(t,!0)),ha(t.props)?mt(()=>{k(),t.el.__isMounted=!0},a):k()}else{if(ha(t.props)&&!e.el.__isMounted){mt(()=>{Xc.process(e,t,o,A,l,a,n,f,h,s),delete e.el.__isMounted},a);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,O=t.target=e.target,L=t.targetAnchor=e.targetAnchor,k=Vr(e.props),D=k?o:O,N=k?v:L;if(n==="svg"||pa(O)?n="svg":(n==="mathml"||qa(O))&&(n="mathml"),C?(p(e.dynamicChildren,C,D,l,a,n,f),as(e,t,!0)):h||c(e,t,D,N,l,a,n,f,!1),I)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):go(t,o,v,s,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=ki(t.props,M);W&&go(t,W,null,s,0)}else k&&go(t,O,L,s,1);vo(t,I)}},remove(e,t,o,{um:A,o:{remove:l}},a){const{shapeFlag:n,children:f,anchor:h,targetStart:s,targetAnchor:d,target:c,props:p}=e;if(c&&(l(s),l(d)),a&&l(h),n&16){const q=a||!Vr(p);for(let M=0;M<f.length;M++){const T=f[M];A(T,t,o,q,!!T.dynamicChildren)}}},move:go,hydrate:ch};function go(e,t,o,{o:{insert:A},m:l},a=2){a===0&&A(e.targetAnchor,t,o);const{el:n,anchor:f,shapeFlag:h,children:s,props:d}=e,c=a===2;if(c&&A(n,t,o),(!c||Vr(d))&&h&16)for(let p=0;p<s.length;p++)l(s[p],t,o,2);c&&A(f,t,o)}function ch(e,t,o,A,l,a,{o:{nextSibling:n,parentNode:f,querySelector:h,insert:s,createText:d}},c){const p=t.target=ki(t.props,h);if(p){const q=Vr(t.props),M=p._lpa||p.firstChild;if(t.shapeFlag&16)if(q)t.anchor=c(n(e),t,f(e),o,A,l,a),t.targetStart=M,t.targetAnchor=M&&n(M);else{t.anchor=n(e);let T=M;for(;T;){if(T&&T.nodeType===8){if(T.data==="teleport start anchor")t.targetStart=T;else if(T.data==="teleport anchor"){t.targetAnchor=T,p._lpa=t.targetAnchor&&n(t.targetAnchor);break}}T=n(T)}t.targetAnchor||$c(p,t,d,s),c(M&&n(M),t,p,o,A,l,a)}vo(t,q)}return t.anchor&&n(t.anchor)}const dh=Xc;function vo(e,t){const o=e.ctx;if(o&&o.ut){let A,l;for(t?(A=e.el,l=e.anchor):(A=e.targetStart,l=e.targetAnchor);A&&A!==l;)A.nodeType===1&&A.setAttribute("data-v-owner",o.uid),A=A.nextSibling;o.ut()}}function $c(e,t,o,A){const l=t.targetStart=o(""),a=t.targetAnchor=o("");return l[zc]=a,e&&(A(l,e),A(a,e)),a}const qn=Symbol("_leaveCb"),ho=Symbol("_enterCb");function fh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $o(()=>{e.isMounted=!0}),os(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],ed={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},td=e=>{const t=e.subTree;return t.component?td(t.component):t},gh={name:"BaseTransition",props:ed,setup(e,{slots:t}){const o=kd(),A=fh();return()=>{const l=t.default&&od(t.default(),!0);if(!l||!l.length)return;const a=nd(l),n=Qe(e),{mode:f}=n;if(A.isLeaving)return BA(a);const h=ma(a);if(!h)return BA(a);let s=Ti(h,n,A,o,c=>s=c);h.type!==bt&&Er(h,s);let d=o.subTree&&ma(o.subTree);if(d&&d.type!==bt&&!On(h,d)&&td(o).type!==bt){let c=Ti(d,n,A,o);if(Er(d,c),f==="out-in"&&h.type!==bt)return A.isLeaving=!0,c.afterLeave=()=>{A.isLeaving=!1,o.job.flags&8||o.update(),delete c.afterLeave,d=void 0},BA(a);f==="in-out"&&h.type!==bt?c.delayLeave=(p,q,M)=>{const T=rd(A,d);T[String(d.key)]=d,p[qn]=()=>{q(),p[qn]=void 0,delete s.delayedLeave,d=void 0},s.delayedLeave=()=>{M(),delete s.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return a}}};function nd(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==bt){t=o;break}}return t}const hh=gh;function rd(e,t){const{leavingVNodes:o}=e;let A=o.get(t.type);return A||(A=Object.create(null),o.set(t.type,A)),A}function Ti(e,t,o,A,l){const{appear:a,mode:n,persisted:f=!1,onBeforeEnter:h,onEnter:s,onAfterEnter:d,onEnterCancelled:c,onBeforeLeave:p,onLeave:q,onAfterLeave:M,onLeaveCancelled:T,onBeforeAppear:R,onAppear:I,onAfterAppear:x,onAppearCancelled:E}=t,C=String(e.key),v=rd(o,e),O=(D,N)=>{D&&Yt(D,A,9,N)},L=(D,N)=>{const W=N[1];O(D,N),Ee(D)?D.every(B=>B.length<=1)&&W():D.length<=1&&W()},k={mode:n,persisted:f,beforeEnter(D){let N=h;if(!o.isMounted)if(a)N=R||h;else return;D[qn]&&D[qn](!0);const W=v[C];W&&On(e,W)&&W.el[qn]&&W.el[qn](),O(N,[D])},enter(D){let N=s,W=d,B=c;if(!o.isMounted)if(a)N=I||s,W=x||d,B=E||c;else return;let H=!1;const y=D[ho]=S=>{H||(H=!0,S?O(B,[D]):O(W,[D]),k.delayedLeave&&k.delayedLeave(),D[ho]=void 0)};N?L(N,[D,y]):y()},leave(D,N){const W=String(e.key);if(D[ho]&&D[ho](!0),o.isUnmounting)return N();O(p,[D]);let B=!1;const H=D[qn]=y=>{B||(B=!0,N(),y?O(T,[D]):O(M,[D]),D[qn]=void 0,v[W]===e&&delete v[W])};v[W]=e,q?L(q,[D,H]):H()},clone(D){const N=Ti(D,t,o,A,l);return l&&l(N),N}};return k}function BA(e){if(_o(e))return e=Cn(e),e.children=null,e}function ma(e){if(!_o(e))return _c(e.type)&&e.children?nd(e.children):e;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&ke(o.default))return o.default()}}function Er(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Er(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 od(e,t=!1,o){let A=[],l=0;for(let a=0;a<e.length;a++){let n=e[a];const f=o==null?n.key:String(o)+String(n.key!=null?n.key:a);n.type===et?(n.patchFlag&128&&l++,A=A.concat(od(n.children,t,f))):(t||n.type!==bt)&&A.push(f!=null?Cn(n,{key:f}):n)}if(l>1)for(let a=0;a<A.length;a++)A[a].patchFlag=-2;return A}/*! #__NO_SIDE_EFFECTS__ */function rs(e,t){return ke(e)?tt({name:e.name},t,{setup:e}):e}function Ad(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mo(e,t,o,A,l=!1){if(Ee(e)){e.forEach((M,T)=>Mo(M,t&&(Ee(t)?t[T]:t),o,A,l));return}if(zn(A)&&!l){A.shapeFlag&512&&A.type.__asyncResolved&&A.component.subTree.component&&Mo(e,t,o,A.component.subTree);return}const a=A.shapeFlag&4?nA(A.component):A.el,n=l?null:a,{i:f,r:h}=e,s=t&&t.r,d=f.refs===We?f.refs={}:f.refs,c=f.setupState,p=Qe(c),q=c===We?()=>!1:M=>Ke(p,M);if(s!=null&&s!==h&&(ze(s)?(d[s]=null,q(s)&&(c[s]=null)):ut(s)&&(s.value=null)),ke(h))tr(h,f,12,[n,d]);else{const M=ze(h),T=ut(h);if(M||T){const R=()=>{if(e.f){const I=M?q(h)?c[h]:d[h]:h.value;l?Ee(I)&&Wi(I,a):Ee(I)?I.includes(a)||I.push(a):M?(d[h]=[a],q(h)&&(c[h]=d[h])):(h.value=[a],e.k&&(d[e.k]=h.value))}else M?(d[h]=n,q(h)&&(c[h]=n)):T&&(h.value=n,e.k&&(d[e.k]=n))};n?(R.id=-1,mt(R,o)):R()}}}No().requestIdleCallback;No().cancelIdleCallback;const zn=e=>!!e.type.__asyncLoader,_o=e=>e.type.__isKeepAlive;function ph(e,t){id(e,"a",t)}function qh(e,t){id(e,"da",t)}function id(e,t,o=ot){const A=e.__wdc||(e.__wdc=()=>{let l=o;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Xo(t,A,o),o){let l=o.parent;for(;l&&l.parent;)_o(l.parent.vnode)&&mh(A,t,o,l),l=l.parent}}function mh(e,t,o,A){const l=Xo(t,e,A,!0);sd(()=>{Wi(A[t],l)},o)}function Xo(e,t,o=ot,A=!1){if(o){const l=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...n)=>{sn();const f=Wr(o),h=Yt(t,o,e,n);return f(),ln(),h});return A?l.unshift(a):l.push(a),a}}const an=e=>(t,o=ot)=>{(!Mr||e==="sp")&&Xo(e,(...A)=>t(...A),o)},Vh=an("bm"),$o=an("m"),bh=an("bu"),Ch=an("u"),os=an("bum"),sd=an("um"),vh=an("sp"),yh=an("rtg"),Ih=an("rtc");function Sh(e,t=ot){Xo("ec",e,t)}const As="components",wh="directives";function Ye(e,t){return ss(As,e,!0,t)||e}const ld=Symbol.for("v-ndc");function kr(e){return ze(e)?ss(As,e,!1)||e:e||ld}function is(e){return ss(wh,e)}function ss(e,t,o=!0,A=!1){const l=it||ot;if(l){const a=l.type;if(e===As){const f=Md(a,!1);if(f&&(f===t||f===Ct(t)||f===Jo(Ct(t))))return a}const n=Va(l[e]||a[e],t)||Va(l.appContext[e],t);return!n&&A?a:n}}function Va(e,t){return e&&(e[t]||e[Ct(t)]||e[Jo(Ct(t))])}function xo(e,t,o,A){let l;const a=o,n=Ee(e);if(n||ze(e)){const f=n&&Zn(e);let h=!1;f&&(h=!xt(e),e=Wo(e)),l=new Array(e.length);for(let s=0,d=e.length;s<d;s++)l[s]=t(h?gt(e[s]):e[s],s,void 0,a)}else if(typeof e=="number"){l=new Array(e);for(let f=0;f<e;f++)l[f]=t(f+1,f,void 0,a)}else if(_e(e))if(e[Symbol.iterator])l=Array.from(e,(f,h)=>t(f,h,void 0,a));else{const f=Object.keys(e);l=new Array(f.length);for(let h=0,s=f.length;h<s;h++){const d=f[h];l[h]=t(e[d],d,h,a)}}else l=[];return l}function Eh(e,t){for(let o=0;o<t.length;o++){const A=t[o];if(Ee(A))for(let l=0;l<A.length;l++)e[A[l].name]=A[l].fn;else A&&(e[A.name]=A.key?(...l)=>{const a=A.fn(...l);return a&&(a.key=A.key),a}:A.fn)}return e}function Le(e,t,o={},A,l){if(it.ce||it.parent&&zn(it.parent)&&it.parent.ce)return t!=="default"&&(o.name=t),de(),Oe(et,null,[Re("slot",o,A&&A())],64);let a=e[t];a&&a._c&&(a._d=!1),de();const n=a&&ad(a(o)),f=o.key||n&&n.key,h=Oe(et,{key:(f&&!An(f)?f:`_${t}`)+(!n&&A?"_fb":"")},n||(A?A():[]),n&&e._===1?64:-2);return h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),a&&a._c&&(a._d=!0),h}function ad(e){return e.some(t=>Rr(t)?!(t.type===bt||t.type===et&&!ad(t.children)):!0)?e:null}const Ri=e=>e?Td(e)?nA(e):Ri(e.parent):null,br=tt(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=>Ri(e.parent),$root:e=>Ri(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>cd(e),$forceUpdate:e=>e.f||(e.f=()=>{ts(e.update)}),$nextTick:e=>e.n||(e.n=es.bind(e.proxy)),$watch:e=>zh.bind(e)}),UA=(e,t)=>e!==We&&!e.__isScriptSetup&&Ke(e,t),kh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:A,data:l,props:a,accessCache:n,type:f,appContext:h}=e;let s;if(t[0]!=="$"){const q=n[t];if(q!==void 0)switch(q){case 1:return A[t];case 2:return l[t];case 4:return o[t];case 3:return a[t]}else{if(UA(A,t))return n[t]=1,A[t];if(l!==We&&Ke(l,t))return n[t]=2,l[t];if((s=e.propsOptions[0])&&Ke(s,t))return n[t]=3,a[t];if(o!==We&&Ke(o,t))return n[t]=4,o[t];Mi&&(n[t]=0)}}const d=br[t];let c,p;if(d)return t==="$attrs"&&ft(e.attrs,"get",""),d(e);if((c=f.__cssModules)&&(c=c[t]))return c;if(o!==We&&Ke(o,t))return n[t]=4,o[t];if(p=h.config.globalProperties,Ke(p,t))return p[t]},set({_:e},t,o){const{data:A,setupState:l,ctx:a}=e;return UA(l,t)?(l[t]=o,!0):A!==We&&Ke(A,t)?(A[t]=o,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:A,appContext:l,propsOptions:a}},n){let f;return!!o[n]||e!==We&&Ke(e,n)||UA(t,n)||(f=a[0])&&Ke(f,n)||Ke(A,n)||Ke(br,n)||Ke(l.config.globalProperties,n)},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ke(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function ba(e){return Ee(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Mi=!0;function Th(e){const t=cd(e),o=e.proxy,A=e.ctx;Mi=!1,t.beforeCreate&&Ca(t.beforeCreate,e,"bc");const{data:l,computed:a,methods:n,watch:f,provide:h,inject:s,created:d,beforeMount:c,mounted:p,beforeUpdate:q,updated:M,activated:T,deactivated:R,beforeDestroy:I,beforeUnmount:x,destroyed:E,unmounted:C,render:v,renderTracked:O,renderTriggered:L,errorCaptured:k,serverPrefetch:D,expose:N,inheritAttrs:W,components:B,directives:H,filters:y}=t;if(s&&Rh(s,A,null),n)for(const U in n){const J=n[U];ke(J)&&(A[U]=J.bind(o))}if(l){const U=l.call(o,o);_e(U)&&(e.data=Zo(U))}if(Mi=!0,a)for(const U in a){const J=a[U],P=ke(J)?J.bind(o,o):ke(J.get)?J.get.bind(o,o):Ft,G=!ke(J)&&ke(J.set)?J.set.bind(o):Ft,m=at({get:P,set:G});Object.defineProperty(A,U,{enumerable:!0,configurable:!0,get:()=>m.value,set:w=>m.value=w})}if(f)for(const U in f)ud(f[U],A,o,U);if(h){const U=ke(h)?h.call(o):h;Reflect.ownKeys(U).forEach(J=>{Dh(J,U[J])})}d&&Ca(d,e,"c");function Q(U,J){Ee(J)?J.forEach(P=>U(P.bind(o))):J&&U(J.bind(o))}if(Q(Vh,c),Q($o,p),Q(bh,q),Q(Ch,M),Q(ph,T),Q(qh,R),Q(Sh,k),Q(Ih,O),Q(yh,L),Q(os,x),Q(sd,C),Q(vh,D),Ee(N))if(N.length){const U=e.exposed||(e.exposed={});N.forEach(J=>{Object.defineProperty(U,J,{get:()=>o[J],set:P=>o[J]=P})})}else e.exposed||(e.exposed={});v&&e.render===Ft&&(e.render=v),W!=null&&(e.inheritAttrs=W),B&&(e.components=B),H&&(e.directives=H),D&&Ad(e)}function Rh(e,t,o=Ft){Ee(e)&&(e=xi(e));for(const A in e){const l=e[A];let a;_e(l)?"default"in l?a=yo(l.from||A,l.default,!0):a=yo(l.from||A):a=yo(l),ut(a)?Object.defineProperty(t,A,{enumerable:!0,configurable:!0,get:()=>a.value,set:n=>a.value=n}):t[A]=a}}function Ca(e,t,o){Yt(Ee(e)?e.map(A=>A.bind(t.proxy)):e.bind(t.proxy),t,o)}function ud(e,t,o,A){let l=A.includes(".")?yd(o,A):()=>o[A];if(ze(e)){const a=t[e];ke(a)&&rn(l,a)}else if(ke(e))rn(l,e.bind(o));else if(_e(e))if(Ee(e))e.forEach(a=>ud(a,t,o,A));else{const a=ke(e.handler)?e.handler.bind(o):t[e.handler];ke(a)&&rn(l,a,e)}}function cd(e){const t=e.type,{mixins:o,extends:A}=t,{mixins:l,optionsCache:a,config:{optionMergeStrategies:n}}=e.appContext,f=a.get(t);let h;return f?h=f:!l.length&&!o&&!A?h=t:(h={},l.length&&l.forEach(s=>Oo(h,s,n,!0)),Oo(h,t,n)),_e(t)&&a.set(t,h),h}function Oo(e,t,o,A=!1){const{mixins:l,extends:a}=t;a&&Oo(e,a,o,!0),l&&l.forEach(n=>Oo(e,n,o,!0));for(const n in t)if(!(A&&n==="expose")){const f=Mh[n]||o&&o[n];e[n]=f?f(e[n],t[n]):t[n]}return e}const Mh={data:va,props:ya,emits:ya,methods:fr,computed:fr,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:fr,directives:fr,watch:Oh,provide:va,inject:xh};function va(e,t){return t?e?function(){return tt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function xh(e,t){return fr(xi(e),xi(t))}function xi(e){if(Ee(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function qt(e,t){return e?[...new Set([].concat(e,t))]:t}function fr(e,t){return e?tt(Object.create(null),e,t):t}function ya(e,t){return e?Ee(e)&&Ee(t)?[...new Set([...e,...t])]:tt(Object.create(null),ba(e),ba(t??{})):t}function Oh(e,t){if(!e)return t;if(!t)return e;const o=tt(Object.create(null),e);for(const A in t)o[A]=qt(e[A],t[A]);return o}function dd(){return{app:null,config:{isNativeTag:gg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bh=0;function Uh(e,t){return function(A,l=null){ke(A)||(A=tt({},A)),l!=null&&!_e(l)&&(l=null);const a=dd(),n=new WeakSet,f=[];let h=!1;const s=a.app={_uid:Bh++,_component:A,_props:l,_container:null,_context:a,_instance:null,version:mp,get config(){return a.config},set config(d){},use(d,...c){return n.has(d)||(d&&ke(d.install)?(n.add(d),d.install(s,...c)):ke(d)&&(n.add(d),d(s,...c))),s},mixin(d){return a.mixins.includes(d)||a.mixins.push(d),s},component(d,c){return c?(a.components[d]=c,s):a.components[d]},directive(d,c){return c?(a.directives[d]=c,s):a.directives[d]},mount(d,c,p){if(!h){const q=s._ceVNode||Re(A,l);return q.appContext=a,p===!0?p="svg":p===!1&&(p=void 0),e(q,d,p),h=!0,s._container=d,d.__vue_app__=s,nA(q.component)}},onUnmount(d){f.push(d)},unmount(){h&&(Yt(f,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide(d,c){return a.provides[d]=c,s},runWithContext(d){const c=_n;_n=s;try{return d()}finally{_n=c}}};return s}}let _n=null;function Dh(e,t){if(ot){let o=ot.provides;const A=ot.parent&&ot.parent.provides;A===o&&(o=ot.provides=Object.create(A)),o[e]=t}}function yo(e,t,o=!1){const A=ot||it;if(A||_n){const l=_n?_n._context.provides:A?A.parent==null?A.vnode.appContext&&A.vnode.appContext.provides:A.parent.provides:void 0;if(l&&e in l)return l[e];if(arguments.length>1)return o&&ke(t)?t.call(A&&A.proxy):t}}const fd={},gd=()=>Object.create(fd),hd=e=>Object.getPrototypeOf(e)===fd;function Lh(e,t,o,A=!1){const l={},a=gd();e.propsDefaults=Object.create(null),pd(e,t,l,a);for(const n in e.propsOptions[0])n in l||(l[n]=void 0);o?e.props=A?l:Zg(l):e.type.props?e.props=l:e.props=a,e.attrs=a}function Fh(e,t,o,A){const{props:l,attrs:a,vnode:{patchFlag:n}}=e,f=Qe(l),[h]=e.propsOptions;let s=!1;if((A||n>0)&&!(n&16)){if(n&8){const d=e.vnode.dynamicProps;for(let c=0;c<d.length;c++){let p=d[c];if(eA(e.emitsOptions,p))continue;const q=t[p];if(h)if(Ke(a,p))q!==a[p]&&(a[p]=q,s=!0);else{const M=Ct(p);l[M]=Oi(h,f,M,q,e,!1)}else q!==a[p]&&(a[p]=q,s=!0)}}}else{pd(e,t,l,a)&&(s=!0);let d;for(const c in f)(!t||!Ke(t,c)&&((d=Rt(c))===c||!Ke(t,d)))&&(h?o&&(o[c]!==void 0||o[d]!==void 0)&&(l[c]=Oi(h,f,c,void 0,e,!0)):delete l[c]);if(a!==f)for(const c in a)(!t||!Ke(t,c))&&(delete a[c],s=!0)}s&&tn(e.attrs,"set","")}function pd(e,t,o,A){const[l,a]=e.propsOptions;let n=!1,f;if(t)for(let h in t){if(hr(h))continue;const s=t[h];let d;l&&Ke(l,d=Ct(h))?!a||!a.includes(d)?o[d]=s:(f||(f={}))[d]=s:eA(e.emitsOptions,h)||(!(h in A)||s!==A[h])&&(A[h]=s,n=!0)}if(a){const h=Qe(o),s=f||We;for(let d=0;d<a.length;d++){const c=a[d];o[c]=Oi(l,h,c,s[c],e,!Ke(s,c))}}return n}function Oi(e,t,o,A,l,a){const n=e[o];if(n!=null){const f=Ke(n,"default");if(f&&A===void 0){const h=n.default;if(n.type!==Function&&!n.skipFactory&&ke(h)){const{propsDefaults:s}=l;if(o in s)A=s[o];else{const d=Wr(l);A=s[o]=h.call(null,t),d()}}else A=h;l.ce&&l.ce._setProp(o,A)}n[0]&&(a&&!f?A=!1:n[1]&&(A===""||A===Rt(o))&&(A=!0))}return A}const Qh=new WeakMap;function qd(e,t,o=!1){const A=o?Qh:t.propsCache,l=A.get(e);if(l)return l;const a=e.props,n={},f=[];let h=!1;if(!ke(e)){const d=c=>{h=!0;const[p,q]=qd(c,t,!0);tt(n,p),q&&f.push(...q)};!o&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!h)return _e(e)&&A.set(e,Wn),Wn;if(Ee(a))for(let d=0;d<a.length;d++){const c=Ct(a[d]);Ia(c)&&(n[c]=We)}else if(a)for(const d in a){const c=Ct(d);if(Ia(c)){const p=a[d],q=n[c]=Ee(p)||ke(p)?{type:p}:tt({},p),M=q.type;let T=!1,R=!0;if(Ee(M))for(let I=0;I<M.length;++I){const x=M[I],E=ke(x)&&x.name;if(E==="Boolean"){T=!0;break}else E==="String"&&(R=!1)}else T=ke(M)&&M.name==="Boolean";q[0]=T,q[1]=R,(T||Ke(q,"default"))&&f.push(c)}}const s=[n,f];return _e(e)&&A.set(e,s),s}function Ia(e){return e[0]!=="$"&&!hr(e)}const md=e=>e[0]==="_"||e==="$stable",ls=e=>Ee(e)?e.map(jt):[jt(e)],Yh=(e,t,o)=>{if(t._n)return t;const A=Pe((...l)=>(hn.NODE_ENV!=="production"&&ot&&(!o||(o.root,ot.root)),ls(t(...l))),o);return A._c=!1,A},Vd=(e,t,o)=>{const A=e._ctx;for(const l in e){if(md(l))continue;const a=e[l];if(ke(a))t[l]=Yh(l,a,A);else if(a!=null){const n=ls(a);t[l]=()=>n}}},bd=(e,t)=>{const o=ls(t);e.slots.default=()=>o},Cd=(e,t,o)=>{for(const A in t)(o||A!=="_")&&(e[A]=t[A])},Gh=(e,t,o)=>{const A=e.slots=gd();if(e.vnode.shapeFlag&32){const l=t._;l?(Cd(A,t,o),o&&vc(A,"_",l,!0)):Vd(t,A)}else t&&bd(e,t)},Kh=(e,t,o)=>{const{vnode:A,slots:l}=e;let a=!0,n=We;if(A.shapeFlag&32){const f=t._;f?o&&f===1?a=!1:Cd(l,t,o):(a=!t.$stable,Vd(t,l)),n=t}else t&&(bd(e,t),n={default:1});if(a)for(const f in l)!md(f)&&n[f]==null&&delete l[f]},mt=rp;function Jh(e){return Nh(e)}function Nh(e,t){const o=No();o.__VUE__=!0;const{insert:A,remove:l,patchProp:a,createElement:n,createText:f,createComment:h,setText:s,setElementText:d,parentNode:c,nextSibling:p,setScopeId:q=Ft,insertStaticContent:M}=e,T=(Y,K,ee,te=null,X=null,re=null,ne=void 0,Ae=null,ue=!!K.dynamicChildren)=>{if(Y===K)return;Y&&!On(Y,K)&&(te=se(Y),w(Y,X,re,!0),Y=null),K.patchFlag===-2&&(ue=!1,K.dynamicChildren=null);const{type:ae,ref:ve,shapeFlag:he}=K;switch(ae){case tA:R(Y,K,ee,te);break;case bt:I(Y,K,ee,te);break;case Io:Y==null&&x(K,ee,te,ne);break;case et:B(Y,K,ee,te,X,re,ne,Ae,ue);break;default:he&1?v(Y,K,ee,te,X,re,ne,Ae,ue):he&6?H(Y,K,ee,te,X,re,ne,Ae,ue):(he&64||he&128)&&ae.process(Y,K,ee,te,X,re,ne,Ae,ue,pe)}ve!=null&&X&&Mo(ve,Y&&Y.ref,re,K||Y,!K)},R=(Y,K,ee,te)=>{if(Y==null)A(K.el=f(K.children),ee,te);else{const X=K.el=Y.el;K.children!==Y.children&&s(X,K.children)}},I=(Y,K,ee,te)=>{Y==null?A(K.el=h(K.children||""),ee,te):K.el=Y.el},x=(Y,K,ee,te)=>{[Y.el,Y.anchor]=M(Y.children,K,ee,te,Y.el,Y.anchor)},E=({el:Y,anchor:K},ee,te)=>{let X;for(;Y&&Y!==K;)X=p(Y),A(Y,ee,te),Y=X;A(K,ee,te)},C=({el:Y,anchor:K})=>{let ee;for(;Y&&Y!==K;)ee=p(Y),l(Y),Y=ee;l(K)},v=(Y,K,ee,te,X,re,ne,Ae,ue)=>{K.type==="svg"?ne="svg":K.type==="math"&&(ne="mathml"),Y==null?O(K,ee,te,X,re,ne,Ae,ue):D(Y,K,X,re,ne,Ae,ue)},O=(Y,K,ee,te,X,re,ne,Ae)=>{let ue,ae;const{props:ve,shapeFlag:he,transition:ye,dirs:we}=Y;if(ue=Y.el=n(Y.type,re,ve&&ve.is,ve),he&8?d(ue,Y.children):he&16&&k(Y.children,ue,null,te,X,DA(Y,re),ne,Ae),we&&kn(Y,null,te,"created"),L(ue,Y,Y.scopeId,ne,te),ve){for(const Ue in ve)Ue!=="value"&&!hr(Ue)&&a(ue,Ue,null,ve[Ue],re,te);"value"in ve&&a(ue,"value",null,ve.value,re),(ae=ve.onVnodeBeforeMount)&&Kt(ae,te,Y)}we&&kn(Y,null,te,"beforeMount");const Ie=jh(X,ye);Ie&&ye.beforeEnter(ue),A(ue,K,ee),((ae=ve&&ve.onVnodeMounted)||Ie||we)&&mt(()=>{ae&&Kt(ae,te,Y),Ie&&ye.enter(ue),we&&kn(Y,null,te,"mounted")},X)},L=(Y,K,ee,te,X)=>{if(ee&&q(Y,ee),te)for(let re=0;re<te.length;re++)q(Y,te[re]);if(X){let re=X.subTree;if(K===re||Sd(re.type)&&(re.ssContent===K||re.ssFallback===K)){const ne=X.vnode;L(Y,ne,ne.scopeId,ne.slotScopeIds,X.parent)}}},k=(Y,K,ee,te,X,re,ne,Ae,ue=0)=>{for(let ae=ue;ae<Y.length;ae++){const ve=Y[ae]=Ae?mn(Y[ae]):jt(Y[ae]);T(null,ve,K,ee,te,X,re,ne,Ae)}},D=(Y,K,ee,te,X,re,ne)=>{const Ae=K.el=Y.el;let{patchFlag:ue,dynamicChildren:ae,dirs:ve}=K;ue|=Y.patchFlag&16;const he=Y.props||We,ye=K.props||We;let we;if(ee&&Tn(ee,!1),(we=ye.onVnodeBeforeUpdate)&&Kt(we,ee,K,Y),ve&&kn(K,Y,ee,"beforeUpdate"),ee&&Tn(ee,!0),(he.innerHTML&&ye.innerHTML==null||he.textContent&&ye.textContent==null)&&d(Ae,""),ae?N(Y.dynamicChildren,ae,Ae,ee,te,DA(K,X),re):ne||J(Y,K,Ae,null,ee,te,DA(K,X),re,!1),ue>0){if(ue&16)W(Ae,he,ye,ee,X);else if(ue&2&&he.class!==ye.class&&a(Ae,"class",null,ye.class,X),ue&4&&a(Ae,"style",he.style,ye.style,X),ue&8){const Ie=K.dynamicProps;for(let Ue=0;Ue<Ie.length;Ue++){const Me=Ie[Ue],lt=he[Me],At=ye[Me];(At!==lt||Me==="value")&&a(Ae,Me,lt,At,X,ee)}}ue&1&&Y.children!==K.children&&d(Ae,K.children)}else!ne&&ae==null&&W(Ae,he,ye,ee,X);((we=ye.onVnodeUpdated)||ve)&&mt(()=>{we&&Kt(we,ee,K,Y),ve&&kn(K,Y,ee,"updated")},te)},N=(Y,K,ee,te,X,re,ne)=>{for(let Ae=0;Ae<K.length;Ae++){const ue=Y[Ae],ae=K[Ae],ve=ue.el&&(ue.type===et||!On(ue,ae)||ue.shapeFlag&70)?c(ue.el):ee;T(ue,ae,ve,null,te,X,re,ne,!0)}},W=(Y,K,ee,te,X)=>{if(K!==ee){if(K!==We)for(const re in K)!hr(re)&&!(re in ee)&&a(Y,re,K[re],null,X,te);for(const re in ee){if(hr(re))continue;const ne=ee[re],Ae=K[re];ne!==Ae&&re!=="value"&&a(Y,re,Ae,ne,X,te)}"value"in ee&&a(Y,"value",K.value,ee.value,X)}},B=(Y,K,ee,te,X,re,ne,Ae,ue)=>{const ae=K.el=Y?Y.el:f(""),ve=K.anchor=Y?Y.anchor:f("");let{patchFlag:he,dynamicChildren:ye,slotScopeIds:we}=K;we&&(Ae=Ae?Ae.concat(we):we),Y==null?(A(ae,ee,te),A(ve,ee,te),k(K.children||[],ee,ve,X,re,ne,Ae,ue)):he>0&&he&64&&ye&&Y.dynamicChildren?(N(Y.dynamicChildren,ye,ee,X,re,ne,Ae),(K.key!=null||X&&K===X.subTree)&&as(Y,K,!0)):J(Y,K,ee,ve,X,re,ne,Ae,ue)},H=(Y,K,ee,te,X,re,ne,Ae,ue)=>{K.slotScopeIds=Ae,Y==null?K.shapeFlag&512?X.ctx.activate(K,ee,te,ne,ue):y(K,ee,te,X,re,ne,ue):S(Y,K,ue)},y=(Y,K,ee,te,X,re,ne)=>{const Ae=Y.component=ap(Y,te,X);if(_o(Y)&&(Ae.ctx.renderer=pe),up(Ae,!1,ne),Ae.asyncDep){if(X&&X.registerDep(Ae,Q,ne),!Y.el){const ue=Ae.subTree=Re(bt);I(null,ue,K,ee)}}else Q(Ae,Y,K,ee,X,re,ne)},S=(Y,K,ee)=>{const te=K.component=Y.component;if(tp(Y,K,ee))if(te.asyncDep&&!te.asyncResolved){U(te,K,ee);return}else te.next=K,te.update();else K.el=Y.el,te.vnode=K},Q=(Y,K,ee,te,X,re,ne)=>{const Ae=()=>{if(Y.isMounted){let{next:he,bu:ye,u:we,parent:Ie,vnode:Ue}=Y;{const vt=vd(Y);if(vt){he&&(he.el=Ue.el,U(Y,he,ne)),vt.asyncDep.then(()=>{Y.isUnmounted||Ae()});return}}let Me=he,lt;Tn(Y,!1),he?(he.el=Ue.el,U(Y,he,ne)):he=Ue,ye&&kA(ye),(lt=he.props&&he.props.onVnodeBeforeUpdate)&&Kt(lt,Ie,he,Ue),Tn(Y,!0);const At=wa(Y),St=Y.subTree;Y.subTree=At,T(St,At,c(St.el),se(St),Y,X,re),he.el=At.el,Me===null&&np(Y,At.el),we&&mt(we,X),(lt=he.props&&he.props.onVnodeUpdated)&&mt(()=>Kt(lt,Ie,he,Ue),X)}else{let he;const{el:ye,props:we}=K,{bm:Ie,m:Ue,parent:Me,root:lt,type:At}=Y,St=zn(K);Tn(Y,!1),Ie&&kA(Ie),!St&&(he=we&&we.onVnodeBeforeMount)&&Kt(he,Me,K),Tn(Y,!0);{lt.ce&<.ce._injectChildStyle(At);const vt=Y.subTree=wa(Y);T(null,vt,ee,te,Y,X,re),K.el=vt.el}if(Ue&&mt(Ue,X),!St&&(he=we&&we.onVnodeMounted)){const vt=K;mt(()=>Kt(he,Me,vt),X)}(K.shapeFlag&256||Me&&zn(Me.vnode)&&Me.vnode.shapeFlag&256)&&Y.a&&mt(Y.a,X),Y.isMounted=!0,K=ee=te=null}};Y.scope.on();const ue=Y.effect=new wc(Ae);Y.scope.off();const ae=Y.update=ue.run.bind(ue),ve=Y.job=ue.runIfDirty.bind(ue);ve.i=Y,ve.id=Y.uid,ue.scheduler=()=>ts(ve),Tn(Y,!0),ae()},U=(Y,K,ee)=>{K.component=Y;const te=Y.vnode.props;Y.vnode=K,Y.next=null,Fh(Y,K.props,te,ee),Kh(Y,K.children,ee),sn(),ga(Y),ln()},J=(Y,K,ee,te,X,re,ne,Ae,ue=!1)=>{const ae=Y&&Y.children,ve=Y?Y.shapeFlag:0,he=K.children,{patchFlag:ye,shapeFlag:we}=K;if(ye>0){if(ye&128){G(ae,he,ee,te,X,re,ne,Ae,ue);return}else if(ye&256){P(ae,he,ee,te,X,re,ne,Ae,ue);return}}we&8?(ve&16&&_(ae,X,re),he!==ae&&d(ee,he)):ve&16?we&16?G(ae,he,ee,te,X,re,ne,Ae,ue):_(ae,X,re,!0):(ve&8&&d(ee,""),we&16&&k(he,ee,te,X,re,ne,Ae,ue))},P=(Y,K,ee,te,X,re,ne,Ae,ue)=>{Y=Y||Wn,K=K||Wn;const ae=Y.length,ve=K.length,he=Math.min(ae,ve);let ye;for(ye=0;ye<he;ye++){const we=K[ye]=ue?mn(K[ye]):jt(K[ye]);T(Y[ye],we,ee,null,X,re,ne,Ae,ue)}ae>ve?_(Y,X,re,!0,!1,he):k(K,ee,te,X,re,ne,Ae,ue,he)},G=(Y,K,ee,te,X,re,ne,Ae,ue)=>{let ae=0;const ve=K.length;let he=Y.length-1,ye=ve-1;for(;ae<=he&&ae<=ye;){const we=Y[ae],Ie=K[ae]=ue?mn(K[ae]):jt(K[ae]);if(On(we,Ie))T(we,Ie,ee,null,X,re,ne,Ae,ue);else break;ae++}for(;ae<=he&&ae<=ye;){const we=Y[he],Ie=K[ye]=ue?mn(K[ye]):jt(K[ye]);if(On(we,Ie))T(we,Ie,ee,null,X,re,ne,Ae,ue);else break;he--,ye--}if(ae>he){if(ae<=ye){const we=ye+1,Ie=we<ve?K[we].el:te;for(;ae<=ye;)T(null,K[ae]=ue?mn(K[ae]):jt(K[ae]),ee,Ie,X,re,ne,Ae,ue),ae++}}else if(ae>ye)for(;ae<=he;)w(Y[ae],X,re,!0),ae++;else{const we=ae,Ie=ae,Ue=new Map;for(ae=Ie;ae<=ye;ae++){const je=K[ae]=ue?mn(K[ae]):jt(K[ae]);je.key!=null&&Ue.set(je.key,ae)}let Me,lt=0;const At=ye-Ie+1;let St=!1,vt=0;const Zt=new Array(At);for(ae=0;ae<At;ae++)Zt[ae]=0;for(ae=we;ae<=he;ae++){const je=Y[ae];if(lt>=At){w(je,X,re,!0);continue}let ct;if(je.key!=null)ct=Ue.get(je.key);else for(Me=Ie;Me<=ye;Me++)if(Zt[Me-Ie]===0&&On(je,K[Me])){ct=Me;break}ct===void 0?w(je,X,re,!0):(Zt[ct-Ie]=ae+1,ct>=vt?vt=ct:St=!0,T(je,K[ct],ee,null,X,re,ne,Ae,ue),lt++)}const Ve=St?Wh(Zt):Wn;for(Me=Ve.length-1,ae=At-1;ae>=0;ae--){const je=Ie+ae,ct=K[je],dn=je+1<ve?K[je+1].el:te;Zt[ae]===0?T(null,ct,ee,dn,X,re,ne,Ae,ue):St&&(Me<0||ae!==Ve[Me]?m(ct,ee,dn,2):Me--)}}},m=(Y,K,ee,te,X=null)=>{const{el:re,type:ne,transition:Ae,children:ue,shapeFlag:ae}=Y;if(ae&6){m(Y.component.subTree,K,ee,te);return}if(ae&128){Y.suspense.move(K,ee,te);return}if(ae&64){ne.move(Y,K,ee,pe);return}if(ne===et){A(re,K,ee);for(let he=0;he<ue.length;he++)m(ue[he],K,ee,te);A(Y.anchor,K,ee);return}if(ne===Io){E(Y,K,ee);return}if(te!==2&&ae&1&&Ae)if(te===0)Ae.beforeEnter(re),A(re,K,ee),mt(()=>Ae.enter(re),X);else{const{leave:he,delayLeave:ye,afterLeave:we}=Ae,Ie=()=>A(re,K,ee),Ue=()=>{he(re,()=>{Ie(),we&&we()})};ye?ye(re,Ie,Ue):Ue()}else A(re,K,ee)},w=(Y,K,ee,te=!1,X=!1)=>{const{type:re,props:ne,ref:Ae,children:ue,dynamicChildren:ae,shapeFlag:ve,patchFlag:he,dirs:ye,cacheIndex:we}=Y;if(he===-2&&(X=!1),Ae!=null&&Mo(Ae,null,ee,Y,!0),we!=null&&(K.renderCache[we]=void 0),ve&256){K.ctx.deactivate(Y);return}const Ie=ve&1&&ye,Ue=!zn(Y);let Me;if(Ue&&(Me=ne&&ne.onVnodeBeforeUnmount)&&Kt(Me,K,Y),ve&6)$(Y.component,ee,te);else{if(ve&128){Y.suspense.unmount(ee,te);return}Ie&&kn(Y,null,K,"beforeUnmount"),ve&64?Y.type.remove(Y,K,ee,pe,te):ae&&!ae.hasOnce&&(re!==et||he>0&&he&64)?_(ae,K,ee,!1,!0):(re===et&&he&384||!X&&ve&16)&&_(ue,K,ee),te&&j(Y)}(Ue&&(Me=ne&&ne.onVnodeUnmounted)||Ie)&&mt(()=>{Me&&Kt(Me,K,Y),Ie&&kn(Y,null,K,"unmounted")},ee)},j=Y=>{const{type:K,el:ee,anchor:te,transition:X}=Y;if(K===et){Z(ee,te);return}if(K===Io){C(Y);return}const re=()=>{l(ee),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(Y.shapeFlag&1&&X&&!X.persisted){const{leave:ne,delayLeave:Ae}=X,ue=()=>ne(ee,re);Ae?Ae(Y.el,re,ue):ue()}else re()},Z=(Y,K)=>{let ee;for(;Y!==K;)ee=p(Y),l(Y),Y=ee;l(K)},$=(Y,K,ee)=>{const{bum:te,scope:X,job:re,subTree:ne,um:Ae,m:ue,a:ae}=Y;Sa(ue),Sa(ae),te&&kA(te),X.stop(),re&&(re.flags|=8,w(ne,Y,K,ee)),Ae&&mt(Ae,K),mt(()=>{Y.isUnmounted=!0},K),K&&K.pendingBranch&&!K.isUnmounted&&Y.asyncDep&&!Y.asyncResolved&&Y.suspenseId===K.pendingId&&(K.deps--,K.deps===0&&K.resolve())},_=(Y,K,ee,te=!1,X=!1,re=0)=>{for(let ne=re;ne<Y.length;ne++)w(Y[ne],K,ee,te,X)},se=Y=>{if(Y.shapeFlag&6)return se(Y.component.subTree);if(Y.shapeFlag&128)return Y.suspense.next();const K=p(Y.anchor||Y.el),ee=K&&K[zc];return ee?p(ee):K};let le=!1;const ge=(Y,K,ee)=>{Y==null?K._vnode&&w(K._vnode,null,null,!0):T(K._vnode||null,Y,K,null,null,null,ee),K._vnode=Y,le||(le=!0,ga(),Hc(),le=!1)},pe={p:T,um:w,m,r:j,mt:y,mc:k,pc:J,pbc:N,n:se,o:e};return{render:ge,hydrate:void 0,createApp:Uh(ge)}}function DA({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function Tn({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function as(e,t,o=!1){const A=e.children,l=t.children;if(Ee(A)&&Ee(l))for(let a=0;a<A.length;a++){const n=A[a];let f=l[a];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=l[a]=mn(l[a]),f.el=n.el),!o&&f.patchFlag!==-2&&as(n,f)),f.type===tA&&(f.el=n.el)}}function Wh(e){const t=e.slice(),o=[0];let A,l,a,n,f;const h=e.length;for(A=0;A<h;A++){const s=e[A];if(s!==0){if(l=o[o.length-1],e[l]<s){t[A]=l,o.push(A);continue}for(a=0,n=o.length-1;a<n;)f=a+n>>1,e[o[f]]<s?a=f+1:n=f;s<e[o[a]]&&(a>0&&(t[A]=o[a-1]),o[a]=A)}}for(a=o.length,n=o[a-1];a-- >0;)o[a]=n,n=t[n];return o}function vd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vd(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Hh=Symbol.for("v-scx"),Zh=()=>yo(Hh);function Ph(e,t){return us(e,null,t)}function rn(e,t,o){return us(e,t,o)}function us(e,t,o=We){const{immediate:A,deep:l,flush:a,once:n}=o,f=tt({},o),h=t&&A||!t&&a!=="post";let s;if(Mr){if(a==="sync"){const q=Zh();s=q.__watcherHandles||(q.__watcherHandles=[])}else if(!h){const q=()=>{};return q.stop=Ft,q.resume=Ft,q.pause=Ft,q}}const d=ot;f.call=(q,M,T)=>Yt(q,d,M,T);let c=!1;a==="post"?f.scheduler=q=>{mt(q,d&&d.suspense)}:a!=="sync"&&(c=!0,f.scheduler=(q,M)=>{M?q():ts(q)}),f.augmentJob=q=>{t&&(q.flags|=4),c&&(q.flags|=2,d&&(q.id=d.uid,q.i=d))};const p=nh(e,t,f);return Mr&&(s?s.push(p):h&&p()),p}function zh(e,t,o){const A=this.proxy,l=ze(e)?e.includes(".")?yd(A,e):()=>A[e]:e.bind(A,A);let a;ke(t)?a=t:(a=t.handler,o=t);const n=Wr(this),f=us(l,a.bind(A),o);return n(),f}function yd(e,t){const o=t.split(".");return()=>{let A=e;for(let l=0;l<o.length&&A;l++)A=A[o[l]];return A}}const _h=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ct(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Xh(e,t,...o){if(e.isUnmounted)return;const A=e.vnode.props||We;let l=o;const a=t.startsWith("update:"),n=a&&_h(A,t.slice(7));n&&(n.trim&&(l=o.map(d=>ze(d)?d.trim():d)),n.number&&(l=o.map(Vg)));let f,h=A[f=EA(t)]||A[f=EA(Ct(t))];!h&&a&&(h=A[f=EA(Rt(t))]),h&&Yt(h,e,6,l);const s=A[f+"Once"];if(s){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Yt(s,e,6,l)}}function Id(e,t,o=!1){const A=t.emitsCache,l=A.get(e);if(l!==void 0)return l;const a=e.emits;let n={},f=!1;if(!ke(e)){const h=s=>{const d=Id(s,t,!0);d&&(f=!0,tt(n,d))};!o&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!a&&!f?(_e(e)&&A.set(e,null),null):(Ee(a)?a.forEach(h=>n[h]=null):tt(n,a),_e(e)&&A.set(e,n),n)}function eA(e,t){return!e||!Qo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,Rt(t))||Ke(e,t))}function wa(e){const{type:t,vnode:o,proxy:A,withProxy:l,propsOptions:[a],slots:n,attrs:f,emit:h,render:s,renderCache:d,props:c,data:p,setupState:q,ctx:M,inheritAttrs:T}=e,R=Ro(e);let I,x;try{if(o.shapeFlag&4){const C=l||A,v=hn.NODE_ENV!=="production"&&q.__isScriptSetup?new Proxy(C,{get(O,L,k){return rh(`Property '${String(L)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(O,L,k)}}):C;I=jt(s.call(v,C,d,hn.NODE_ENV!=="production"?co(c):c,q,p,M)),x=f}else{const C=t;hn.NODE_ENV,I=jt(C.length>1?C(hn.NODE_ENV!=="production"?co(c):c,hn.NODE_ENV!=="production"?{get attrs(){return co(f)},slots:n,emit:h}:{attrs:f,slots:n,emit:h}):C(hn.NODE_ENV!=="production"?co(c):c,null)),x=t.props?f:$h(f)}}catch(C){Cr.length=0,zo(C,e,1),I=Re(bt)}let E=I;if(x&&T!==!1){const C=Object.keys(x),{shapeFlag:v}=E;C.length&&v&7&&(a&&C.some(ji)&&(x=ep(x,a)),E=Cn(E,x,!1,!0))}return o.dirs&&(E=Cn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(o.dirs):o.dirs),o.transition&&Er(E,o.transition),I=E,Ro(R),I}const $h=e=>{let t;for(const o in e)(o==="class"||o==="style"||Qo(o))&&((t||(t={}))[o]=e[o]);return t},ep=(e,t)=>{const o={};for(const A in e)(!ji(A)||!(A.slice(9)in t))&&(o[A]=e[A]);return o};function tp(e,t,o){const{props:A,children:l,component:a}=e,{props:n,children:f,patchFlag:h}=t,s=a.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&h>=0){if(h&1024)return!0;if(h&16)return A?Ea(A,n,s):!!n;if(h&8){const d=t.dynamicProps;for(let c=0;c<d.length;c++){const p=d[c];if(n[p]!==A[p]&&!eA(s,p))return!0}}}else return(l||f)&&(!f||!f.$stable)?!0:A===n?!1:A?n?Ea(A,n,s):!0:!!n;return!1}function Ea(e,t,o){const A=Object.keys(t);if(A.length!==Object.keys(e).length)return!0;for(let l=0;l<A.length;l++){const a=A[l];if(t[a]!==e[a]&&!eA(o,a))return!0}return!1}function np({vnode:e,parent:t},o){for(;t;){const A=t.subTree;if(A.suspense&&A.suspense.activeBranch===e&&(A.el=e.el),A===e)(e=t.vnode).el=o,t=t.parent;else break}}const Sd=e=>e.__isSuspense;function rp(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):uh(e)}const et=Symbol.for("v-fgt"),tA=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),Io=Symbol.for("v-stc"),Cr=[];let Et=null;function de(e=!1){Cr.push(Et=e?null:[])}function op(){Cr.pop(),Et=Cr[Cr.length-1]||null}let Tr=1;function ka(e,t=!1){Tr+=e,e<0&&Et&&t&&(Et.hasOnce=!0)}function wd(e){return e.dynamicChildren=Tr>0?Et||Wn:null,op(),Tr>0&&Et&&Et.push(e),e}function be(e,t,o,A,l,a){return wd(qe(e,t,o,A,l,a,!0))}function Oe(e,t,o,A,l){return wd(Re(e,t,o,A,l,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function On(e,t){return e.type===t.type&&e.key===t.key}const Ed=({key:e})=>e??null,So=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||ut(e)||ke(e)?{i:it,r:e,k:t,f:!!o}:e:null);function qe(e,t=null,o=null,A=0,l=null,a=e===et?0:1,n=!1,f=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ed(t),ref:t&&So(t),scopeId:Pc,slotScopeIds:null,children:o,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:a,patchFlag:A,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:it};return f?(ds(h,o),a&128&&e.normalize(h)):o&&(h.shapeFlag|=ze(o)?8:16),Tr>0&&!n&&Et&&(h.patchFlag>0||a&6)&&h.patchFlag!==32&&Et.push(h),h}const Re=Ap;function Ap(e,t=null,o=null,A=0,l=null,a=!1){if((!e||e===ld)&&(e=bt),Rr(e)){const f=Cn(e,t,!0);return o&&ds(f,o),Tr>0&&!a&&Et&&(f.shapeFlag&6?Et[Et.indexOf(e)]=f:Et.push(f)),f.patchFlag=-2,f}if(pp(e)&&(e=e.__vccOpts),t){t=ip(t);let{class:f,style:h}=t;f&&!ze(f)&&(t.class=ht(f)),_e(h)&&($i(h)&&!Ee(h)&&(h=tt({},h)),t.style=jo(h))}const n=ze(e)?1:Sd(e)?128:_c(e)?64:_e(e)?4:ke(e)?2:0;return qe(e,t,o,A,l,n,a,!0)}function ip(e){return e?$i(e)||hd(e)?tt({},e):e:null}function Cn(e,t,o=!1,A=!1){const{props:l,ref:a,patchFlag:n,children:f,transition:h}=e,s=t?me(l||{},t):l,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Ed(s),ref:t&&t.ref?o&&a?Ee(a)?a.concat(So(t)):[a,So(t)]:So(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==et?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:h,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cn(e.ssContent),ssFallback:e.ssFallback&&Cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return h&&A&&Er(d,h.clone(d)),d}function Xn(e=" ",t=0){return Re(tA,null,e,t)}function cs(e,t){const o=Re(Io,null,e);return o.staticCount=t,o}function xe(e="",t=!1){return t?(de(),Oe(bt,null,e)):Re(bt,null,e)}function jt(e){return e==null||typeof e=="boolean"?Re(bt):Ee(e)?Re(et,null,e.slice()):Rr(e)?mn(e):Re(tA,null,String(e))}function mn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cn(e)}function ds(e,t){let o=0;const{shapeFlag:A}=e;if(t==null)t=null;else if(Ee(t))o=16;else if(typeof t=="object")if(A&65){const l=t.default;l&&(l._c&&(l._d=!1),ds(e,l()),l._c&&(l._d=!0));return}else{o=32;const l=t._;!l&&!hd(t)?t._ctx=it:l===3&&it&&(it.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ke(t)?(t={default:t,_ctx:it},o=32):(t=String(t),A&64?(o=16,t=[Xn(t)]):o=8);e.children=t,e.shapeFlag|=o}function me(...e){const t={};for(let o=0;o<e.length;o++){const A=e[o];for(const l in A)if(l==="class")t.class!==A.class&&(t.class=ht([t.class,A.class]));else if(l==="style")t.style=jo([t.style,A.style]);else if(Qo(l)){const a=t[l],n=A[l];n&&a!==n&&!(Ee(a)&&a.includes(n))&&(t[l]=a?[].concat(a,n):n)}else l!==""&&(t[l]=A[l])}return t}function Kt(e,t,o,A=null){Yt(e,t,7,[o,A])}const sp=dd();let lp=0;function ap(e,t,o){const A=e.type,l=(t?t.appContext:e.appContext)||sp,a={uid:lp++,vnode:e,type:A,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qd(A,l),emitsOptions:Id(A,l),emit:null,emitted:null,propsDefaults:We,inheritAttrs:A.inheritAttrs,ctx:We,data:We,props:We,attrs:We,slots:We,refs:We,setupState:We,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Xh.bind(null,a),e.ce&&e.ce(a),a}let ot=null;const kd=()=>ot||it;let Bo,Bi;{const e=No(),t=(o,A)=>{let l;return(l=e[o])||(l=e[o]=[]),l.push(A),a=>{l.length>1?l.forEach(n=>n(a)):l[0](a)}};Bo=t("__VUE_INSTANCE_SETTERS__",o=>ot=o),Bi=t("__VUE_SSR_SETTERS__",o=>Mr=o)}const Wr=e=>{const t=ot;return Bo(e),e.scope.on(),()=>{e.scope.off(),Bo(t)}},Ta=()=>{ot&&ot.scope.off(),Bo(null)};function Td(e){return e.vnode.shapeFlag&4}let Mr=!1;function up(e,t=!1,o=!1){t&&Bi(t);const{props:A,children:l}=e.vnode,a=Td(e);Lh(e,A,a,t),Gh(e,l,o);const n=a?cp(e,t):void 0;return t&&Bi(!1),n}function cp(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kh);const{setup:A}=o;if(A){sn();const l=e.setupContext=A.length>1?fp(e):null,a=Wr(e),n=tr(A,e,0,[e.props,l]),f=bc(n);if(ln(),a(),(f||e.sp)&&!zn(e)&&Ad(e),f){if(n.then(Ta,Ta),t)return n.then(h=>{Ra(e,h)}).catch(h=>{zo(h,e,0)});e.asyncDep=n}else Ra(e,n)}else Rd(e)}function Ra(e,t,o){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Jc(t)),Rd(e)}function Rd(e,t,o){const A=e.type;e.render||(e.render=A.render||Ft);{const l=Wr(e);sn();try{Th(e)}finally{ln(),l()}}}const dp={get(e,t){return ft(e,"get",""),e[t]}};function fp(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,dp),slots:e.slots,emit:e.emit,expose:t}}function nA(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jc(Pg(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in br)return br[o](e)},has(t,o){return o in t||o in br}})):e.proxy}const gp=/(?:^|[-_])(\w)/g,hp=e=>e.replace(gp,t=>t.toUpperCase()).replace(/[-_]/g,"");function Md(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function xd(e,t,o=!1){let A=Md(t);if(!A&&t.__file){const l=t.__file.match(/([^/\\]+)\.\w+$/);l&&(A=l[1])}if(!A&&e&&e.parent){const l=a=>{for(const n in a)if(a[n]===t)return n};A=l(e.components||e.parent.type.components)||l(e.appContext.components)}return A?hp(A):o?"App":"Anonymous"}function pp(e){return ke(e)&&"__vccOpts"in e}const at=(e,t)=>eh(e,t,Mr);function qp(e,t,o){const A=arguments.length;return A===2?_e(t)&&!Ee(t)?Rr(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(A>3?o=Array.prototype.slice.call(arguments,2):A===3&&Rr(o)&&(o=[o]),Re(e,t,o))}const mp="3.5.13";let Ui;const Ma=typeof window<"u"&&window.trustedTypes;if(Ma)try{Ui=Ma.createPolicy("vue",{createHTML:e=>e})}catch{}const Od=Ui?e=>Ui.createHTML(e):e=>e,Vp="http://www.w3.org/2000/svg",bp="http://www.w3.org/1998/Math/MathML",$t=typeof document<"u"?document:null,xa=$t&&$t.createElement("template"),Cp={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,A)=>{const l=t==="svg"?$t.createElementNS(Vp,e):t==="mathml"?$t.createElementNS(bp,e):o?$t.createElement(e,{is:o}):$t.createElement(e);return e==="select"&&A&&A.multiple!=null&&l.setAttribute("multiple",A.multiple),l},createText:e=>$t.createTextNode(e),createComment:e=>$t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,A,l,a){const n=o?o.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),o),!(l===a||!(l=l.nextSibling)););else{xa.innerHTML=Od(A==="svg"?`<svg>${e}</svg>`:A==="mathml"?`<math>${e}</math>`:e);const f=xa.content;if(A==="svg"||A==="mathml"){const h=f.firstChild;for(;h.firstChild;)f.appendChild(h.firstChild);f.removeChild(h)}t.insertBefore(f,o)}return[n?n.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},gn="transition",ur="animation",xr=Symbol("_vtc"),Bd={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},vp=tt({},ed,Bd),yp=e=>(e.displayName="Transition",e.props=vp,e),Ud=yp((e,{slots:t})=>qp(hh,Ip(e),t)),Rn=(e,t=[])=>{Ee(e)?e.forEach(o=>o(...t)):e&&e(...t)},Oa=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Ip(e){const t={};for(const B in e)B in Bd||(t[B]=e[B]);if(e.css===!1)return t;const{name:o="v",type:A,duration:l,enterFromClass:a=`${o}-enter-from`,enterActiveClass:n=`${o}-enter-active`,enterToClass:f=`${o}-enter-to`,appearFromClass:h=a,appearActiveClass:s=n,appearToClass:d=f,leaveFromClass:c=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:q=`${o}-leave-to`}=e,M=Sp(l),T=M&&M[0],R=M&&M[1],{onBeforeEnter:I,onEnter:x,onEnterCancelled:E,onLeave:C,onLeaveCancelled:v,onBeforeAppear:O=I,onAppear:L=x,onAppearCancelled:k=E}=t,D=(B,H,y,S)=>{B._enterCancelled=S,Mn(B,H?d:f),Mn(B,H?s:n),y&&y()},N=(B,H)=>{B._isLeaving=!1,Mn(B,c),Mn(B,q),Mn(B,p),H&&H()},W=B=>(H,y)=>{const S=B?L:x,Q=()=>D(H,B,y);Rn(S,[H,Q]),Ba(()=>{Mn(H,B?h:a),_t(H,B?d:f),Oa(S)||Ua(H,A,T,Q)})};return tt(t,{onBeforeEnter(B){Rn(I,[B]),_t(B,a),_t(B,n)},onBeforeAppear(B){Rn(O,[B]),_t(B,h),_t(B,s)},onEnter:W(!1),onAppear:W(!0),onLeave(B,H){B._isLeaving=!0;const y=()=>N(B,H);_t(B,c),B._enterCancelled?(_t(B,p),Fa()):(Fa(),_t(B,p)),Ba(()=>{B._isLeaving&&(Mn(B,c),_t(B,q),Oa(C)||Ua(B,A,R,y))}),Rn(C,[B,y])},onEnterCancelled(B){D(B,!1,void 0,!0),Rn(E,[B])},onAppearCancelled(B){D(B,!0,void 0,!0),Rn(k,[B])},onLeaveCancelled(B){N(B),Rn(v,[B])}})}function Sp(e){if(e==null)return null;if(_e(e))return[LA(e.enter),LA(e.leave)];{const t=LA(e);return[t,t]}}function LA(e){return vi(e)}function _t(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[xr]||(e[xr]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(A=>A&&e.classList.remove(A));const o=e[xr];o&&(o.delete(t),o.size||(e[xr]=void 0))}function Ba(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wp=0;function Ua(e,t,o,A){const l=e._endId=++wp,a=()=>{l===e._endId&&A()};if(o!=null)return setTimeout(a,o);const{type:n,timeout:f,propCount:h}=Ep(e,t);if(!n)return A();const s=n+"end";let d=0;const c=()=>{e.removeEventListener(s,p),a()},p=q=>{q.target===e&&++d>=h&&c()};setTimeout(()=>{d<h&&c()},f+1),e.addEventListener(s,p)}function Ep(e,t){const o=window.getComputedStyle(e),A=M=>(o[M]||"").split(", "),l=A(`${gn}Delay`),a=A(`${gn}Duration`),n=Da(l,a),f=A(`${ur}Delay`),h=A(`${ur}Duration`),s=Da(f,h);let d=null,c=0,p=0;t===gn?n>0&&(d=gn,c=n,p=a.length):t===ur?s>0&&(d=ur,c=s,p=h.length):(c=Math.max(n,s),d=c>0?n>s?gn:ur:null,p=d?d===gn?a.length:h.length:0);const q=d===gn&&/\b(transform|all)(,|$)/.test(A(`${gn}Property`).toString());return{type:d,timeout:c,propCount:p,hasTransform:q}}function Da(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,A)=>La(o)+La(e[A])))}function La(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fa(){return document.body.offsetHeight}function kp(e,t,o){const A=e[xr];A&&(t=(t?[t,...A]:[...A]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Qa=Symbol("_vod"),Tp=Symbol("_vsh"),Rp=Symbol(""),Mp=/(^|;)\s*display\s*:/;function xp(e,t,o){const A=e.style,l=ze(o);let a=!1;if(o&&!l){if(t)if(ze(t))for(const n of t.split(";")){const f=n.slice(0,n.indexOf(":")).trim();o[f]==null&&wo(A,f,"")}else for(const n in t)o[n]==null&&wo(A,n,"");for(const n in o)n==="display"&&(a=!0),wo(A,n,o[n])}else if(l){if(t!==o){const n=A[Rp];n&&(o+=";"+n),A.cssText=o,a=Mp.test(o)}}else t&&e.removeAttribute("style");Qa in e&&(e[Qa]=a?A.display:"",e[Tp]&&(A.display="none"))}const Ya=/\s*!important$/;function wo(e,t,o){if(Ee(o))o.forEach(A=>wo(e,t,A));else if(o==null&&(o=""),t.startsWith("--"))e.setProperty(t,o);else{const A=Op(e,t);Ya.test(o)?e.setProperty(Rt(A),o.replace(Ya,""),"important"):e[A]=o}}const Ga=["Webkit","Moz","ms"],FA={};function Op(e,t){const o=FA[t];if(o)return o;let A=Ct(t);if(A!=="filter"&&A in e)return FA[t]=A;A=Jo(A);for(let l=0;l<Ga.length;l++){const a=Ga[l]+A;if(a in e)return FA[t]=a}return t}const Ka="http://www.w3.org/1999/xlink";function Ja(e,t,o,A,l,a=wg(t)){A&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(Ka,t.slice(6,t.length)):e.setAttributeNS(Ka,t,o):o==null||a&&!yc(o)?e.removeAttribute(t):e.setAttribute(t,a?"":An(o)?String(o):o)}function Na(e,t,o,A,l){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Od(o):o);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const f=a==="OPTION"?e.getAttribute("value")||"":e.value,h=o==null?e.type==="checkbox"?"on":"":String(o);(f!==h||!("_value"in e))&&(e.value=h),o==null&&e.removeAttribute(t),e._value=o;return}let n=!1;if(o===""||o==null){const f=typeof e[t];f==="boolean"?o=yc(o):o==null&&f==="string"?(o="",n=!0):f==="number"&&(o=0,n=!0)}try{e[t]=o}catch{}n&&e.removeAttribute(l||t)}function Bp(e,t,o,A){e.addEventListener(t,o,A)}function Up(e,t,o,A){e.removeEventListener(t,o,A)}const ja=Symbol("_vei");function Dp(e,t,o,A,l=null){const a=e[ja]||(e[ja]={}),n=a[t];if(A&&n)n.value=A;else{const[f,h]=Lp(t);if(A){const s=a[t]=Yp(A,l);Bp(e,f,s,h)}else n&&(Up(e,f,n,h),a[t]=void 0)}}const Wa=/(?:Once|Passive|Capture)$/;function Lp(e){let t;if(Wa.test(e)){t={};let A;for(;A=e.match(Wa);)e=e.slice(0,e.length-A[0].length),t[A[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let QA=0;const Fp=Promise.resolve(),Qp=()=>QA||(Fp.then(()=>QA=0),QA=Date.now());function Yp(e,t){const o=A=>{if(!A._vts)A._vts=Date.now();else if(A._vts<=o.attached)return;Yt(Gp(A,o.value),t,5,[A])};return o.value=e,o.attached=Qp(),o}function Gp(e,t){if(Ee(t)){const o=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{o.call(e),e._stopped=!0},t.map(A=>l=>!l._stopped&&A&&A(l))}else return t}const Ha=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kp=(e,t,o,A,l,a)=>{const n=l==="svg";t==="class"?kp(e,A,n):t==="style"?xp(e,o,A):Qo(t)?ji(t)||Dp(e,t,o,A,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jp(e,t,A,n))?(Na(e,t,A),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ja(e,t,A,n,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ze(A))?Na(e,Ct(t),A,a,t):(t==="true-value"?e._trueValue=A:t==="false-value"&&(e._falseValue=A),Ja(e,t,A,n))};function Jp(e,t,o,A){if(A)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ha(t)&&ke(o));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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return Ha(t)&&ze(o)?!1:t in e}const Za={};/*! #__NO_SIDE_EFFECTS__ */function Np(e,t,o){const A=rs(e,t);Go(A)&&tt(A,t);class l extends fs{constructor(n){super(A,n,o)}}return l.def=A,l}const jp=typeof HTMLElement<"u"?HTMLElement:class{};class fs extends jp{constructor(t,o={},A=za){super(),this._def=t,this._props=o,this._createApp=A,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&A!==za?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof fs){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,es(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let A=0;A<this.attributes.length;A++)this._setAttr(this.attributes[A].name);this._ob=new MutationObserver(A=>{for(const l of A)this._setAttr(l.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(A,l=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:n}=A;let f;if(a&&!Ee(a))for(const h in a){const s=a[h];(s===Number||s&&s.type===Number)&&(h in this._props&&(this._props[h]=vi(this._props[h])),(f||(f=Object.create(null)))[Ct(h)]=!0)}this._numberProps=f,l&&this._resolveProps(A),this.shadowRoot&&this._applyStyles(n),this._mount(A)},o=this._def.__asyncLoader;o?this._pendingResolve=o().then(A=>t(this._def=A,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const o=this._instance&&this._instance.exposed;if(o)for(const A in o)Ke(this,A)||Object.defineProperty(this,A,{get:()=>Kc(o[A])})}_resolveProps(t){const{props:o}=t,A=Ee(o)?o:Object.keys(o||{});for(const l of Object.keys(this))l[0]!=="_"&&A.includes(l)&&this._setProp(l,this[l]);for(const l of A.map(Ct))Object.defineProperty(this,l,{get(){return this._getProp(l)},set(a){this._setProp(l,a,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const o=this.hasAttribute(t);let A=o?this.getAttribute(t):Za;const l=Ct(t);o&&this._numberProps&&this._numberProps[l]&&(A=vi(A)),this._setProp(l,A,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,o,A=!0,l=!1){if(o!==this._props[t]&&(o===Za?delete this._props[t]:(this._props[t]=o,t==="key"&&this._app&&(this._app._ceVNode.key=o)),l&&this._instance&&this._update(),A)){const a=this._ob;a&&a.disconnect(),o===!0?this.setAttribute(Rt(t),""):typeof o=="string"||typeof o=="number"?this.setAttribute(Rt(t),o+""):o||this.removeAttribute(Rt(t)),a&&a.observe(this,{attributes:!0})}}_update(){Hp(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const o=Re(this._def,tt(t,this._props));return this._instance||(o.ce=A=>{this._instance=A,A.ce=this,A.isCE=!0;const l=(a,n)=>{this.dispatchEvent(new CustomEvent(a,Go(n[0])?tt({detail:n},n[0]):{detail:n}))};A.emit=(a,...n)=>{l(a,n),Rt(a)!==a&&l(Rt(a),n)},this._setParent()}),o}_applyStyles(t,o){if(!t)return;if(o){if(o===this._def||this._styleChildren.has(o))return;this._styleChildren.add(o)}const A=this._nonce;for(let l=t.length-1;l>=0;l--){const a=document.createElement("style");A&&a.setAttribute("nonce",A),a.textContent=t[l],this.shadowRoot.prepend(a)}}_parseSlots(){const t=this._slots={};let o;for(;o=this.firstChild;){const A=o.nodeType===1&&o.getAttribute("slot")||"default";(t[A]||(t[A]=[])).push(o),this.removeChild(o)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),o=this._instance.type.__scopeId;for(let A=0;A<t.length;A++){const l=t[A],a=l.getAttribute("name")||"default",n=this._slots[a],f=l.parentNode;if(n)for(const h of n){if(o&&h.nodeType===1){const s=o+"-s",d=document.createTreeWalker(h,1);h.setAttribute(s,"");let c;for(;c=d.nextNode();)c.setAttribute(s,"")}f.insertBefore(h,l)}else for(;l.firstChild;)f.insertBefore(l.firstChild,l);f.removeChild(l)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const Wp=tt({patchProp:Kp},Cp);let Pa;function Dd(){return Pa||(Pa=Jh(Wp))}const Hp=(...e)=>{Dd().render(...e)},za=(...e)=>{const t=Dd().createApp(...e),{mount:o}=t;return t.mount=A=>{const l=Pp(A);if(!l)return;const a=t._component;!ke(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const n=o(l,!1,Zp(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),n},t};function Zp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Pp(e){return ze(e)?document.querySelector(e):e}function zp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const _p="JsSIP",Xp="3.10.1",Ld={title:_p,version:Xp};var YA,_a;function rt(){if(_a)return YA;_a=1;var e=Ld;return YA={USER_AGENT:"".concat(e.title," ").concat(e.version),SIP:"sip",SIPS:"sips",causes:{CONNECTION_ERROR:"Connection Error",REQUEST_TIMEOUT:"Request Timeout",SIP_FAILURE_CODE:"SIP Failure Code",INTERNAL_ERROR:"Internal Error",BUSY:"Busy",REJECTED:"Rejected",REDIRECTED:"Redirected",UNAVAILABLE:"Unavailable",NOT_FOUND:"Not Found",ADDRESS_INCOMPLETE:"Address Incomplete",INCOMPATIBLE_SDP:"Incompatible SDP",MISSING_SDP:"Missing SDP",AUTHENTICATION_ERROR:"Authentication Error",BYE:"Terminated",WEBRTC_ERROR:"WebRTC Error",CANCELED:"Canceled",NO_ANSWER:"No Answer",EXPIRES:"Expires",NO_ACK:"No ACK",DIALOG_ERROR:"Dialog Error",USER_DENIED_MEDIA_ACCESS:"User Denied Media Access",BAD_MEDIA_DESCRIPTION:"Bad Media Description",RTP_TIMEOUT:"RTP Timeout"},SIP_ERROR_CAUSES:{REDIRECTED:[300,301,302,305,380],BUSY:[486,600],REJECTED:[403,603],NOT_FOUND:[404,604],UNAVAILABLE:[480,410,408,430],ADDRESS_INCOMPLETE:[484,424],INCOMPATIBLE_SDP:[488,606],AUTHENTICATION_ERROR:[401,407]},ACK:"ACK",BYE:"BYE",CANCEL:"CANCEL",INFO:"INFO",INVITE:"INVITE",MESSAGE:"MESSAGE",NOTIFY:"NOTIFY",OPTIONS:"OPTIONS",REGISTER:"REGISTER",REFER:"REFER",UPDATE:"UPDATE",SUBSCRIBE:"SUBSCRIBE",DTMF_TRANSPORT:{INFO:"INFO",RFC2833:"RFC2833"},REASON_PHRASE:{100:"Trying",180:"Ringing",181:"Call Is Being Forwarded",182:"Queued",183:"Session Progress",199:"Early Dialog Terminated",200:"OK",202:"Accepted",204:"No Notification",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",305:"Use Proxy",380:"Alternative Service",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",410:"Gone",412:"Conditional Request Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Unsupported URI Scheme",417:"Unknown Resource-Priority",420:"Bad Extension",421:"Extension Required",422:"Session Interval Too Small",423:"Interval Too Brief",424:"Bad Location Information",428:"Use Identity Header",429:"Provide Referrer Identity",430:"Flow Failed",433:"Anonymity Disallowed",436:"Bad Identity-Info",437:"Unsupported Certificate",438:"Invalid Identity Header",439:"First Hop Lacks Outbound Support",440:"Max-Breadth Exceeded",469:"Bad Info Package",470:"Consent Needed",478:"Unresolvable Destination",480:"Temporarily Unavailable",481:"Call/Transaction Does Not Exist",482:"Loop Detected",483:"Too Many Hops",484:"Address Incomplete",485:"Ambiguous",486:"Busy Here",487:"Request Terminated",488:"Not Acceptable Here",489:"Bad Event",491:"Request Pending",493:"Undecipherable",494:"Security Agreement Required",500:"JsSIP Internal Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Server Time-out",505:"Version Not Supported",513:"Message Too Large",580:"Precondition Failure",600:"Busy Everywhere",603:"Decline",604:"Does Not Exist Anywhere",606:"Not Acceptable"},ALLOWED_METHODS:"INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY",ACCEPTED_BODY_TYPES:"application/sdp, application/dtmf-relay",MAX_FORWARDS:69,SESSION_EXPIRES:90,MIN_SESSION_EXPIRES:60,CONNECTION_RECOVERY_MAX_INTERVAL:30,CONNECTION_RECOVERY_MIN_INTERVAL:2},YA}var GA,Xa;function vn(){if(Xa)return GA;Xa=1;function e(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(x){return typeof x}:e=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},e(R)}function t(R,I){if(!(R instanceof I))throw new TypeError("Cannot call a class as a function")}function o(R,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(I&&I.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),I&&d(R,I)}function A(R){var I=h();return function(){var E=c(R),C;if(I){var v=c(this).constructor;C=Reflect.construct(E,arguments,v)}else C=E.apply(this,arguments);return l(this,C)}}function l(R,I){return I&&(e(I)==="object"||typeof I=="function")?I:a(R)}function a(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function n(R){var I=typeof Map=="function"?new Map:void 0;return n=function(E){if(E===null||!s(E))return E;if(typeof E!="function")throw new TypeError("Super expression must either be null or a function");if(typeof I<"u"){if(I.has(E))return I.get(E);I.set(E,C)}function C(){return f(E,arguments,c(this).constructor)}return C.prototype=Object.create(E.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),d(C,E)},n(R)}function f(R,I,x){return h()?f=Reflect.construct:f=function(C,v,O){var L=[null];L.push.apply(L,v);var k=Function.bind.apply(C,L),D=new k;return O&&d(D,O.prototype),D},f.apply(null,arguments)}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function s(R){return Function.toString.call(R).indexOf("[native code]")!==-1}function d(R,I){return d=Object.setPrototypeOf||function(E,C){return E.__proto__=C,E},d(R,I)}function c(R){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},c(R)}var p=function(R){o(x,R);var I=A(x);function x(E,C){var v;return t(this,x),v=I.call(this),v.code=1,v.name="CONFIGURATION_ERROR",v.parameter=E,v.value=C,v.message=v.value?"Invalid value ".concat(JSON.stringify(v.value),' for parameter "').concat(v.parameter,'"'):"Missing parameter: ".concat(v.parameter),v}return x}(n(Error)),q=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=2,C.name="INVALID_STATE_ERROR",C.status=E,C.message="Invalid status: ".concat(E),C}return x}(n(Error)),M=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=3,C.name="NOT_SUPPORTED_ERROR",C.message=E,C}return x}(n(Error)),T=function(R){o(x,R);var I=A(x);function x(E){var C;return t(this,x),C=I.call(this),C.code=4,C.name="NOT_READY_ERROR",C.message=E,C}return x}(n(Error));return GA={ConfigurationError:p,InvalidStateError:q,NotSupportedError:M,NotReadyError:T},GA}var Xe={},KA,$a;function gs(){if($a)return KA;$a=1;function e(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function t(a,n){for(var f=0;f<n.length;f++){var h=n[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}function o(a,n,f){return n&&t(a.prototype,n),f&&t(a,f),a}var A=yn(),l=Ht();return KA=function(){o(a,null,[{key:"parse",value:function(f){if(f=l.parse(f,"Name_Addr_Header"),f!==-1)return f}}]);function a(n,f,h){if(e(this,a),!n||!(n instanceof A))throw new TypeError('missing or invalid "uri" parameter');this._uri=n,this._parameters={},this.display_name=f;for(var s in h)Object.prototype.hasOwnProperty.call(h,s)&&this.setParam(s,h[s])}return o(a,[{key:"setParam",value:function(f,h){f&&(this._parameters[f.toLowerCase()]=typeof h>"u"||h===null?null:h.toString())}},{key:"getParam",value:function(f){if(f)return this._parameters[f.toLowerCase()]}},{key:"hasParam",value:function(f){if(f)return this._parameters.hasOwnProperty(f.toLowerCase())&&!0||!1}},{key:"deleteParam",value:function(f){if(f=f.toLowerCase(),this._parameters.hasOwnProperty(f)){var h=this._parameters[f];return delete this._parameters[f],h}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"clone",value:function(){return new a(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}},{key:"_quote",value:function(f){return f.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}},{key:"toString",value:function(){var f=this._display_name?'"'.concat(this._quote(this._display_name),'" '):"";f+="<".concat(this._uri.toString(),">");for(var h in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,h)&&(f+=";".concat(h),this._parameters[h]!==null&&(f+="=".concat(this._parameters[h])));return f}},{key:"uri",get:function(){return this._uri}},{key:"display_name",get:function(){return this._display_name},set:function(f){this._display_name=f===0?"0":f}}]),a}(),KA}var JA,eu;function Ht(){return eu||(eu=1,JA=function(){function e(o){return'"'+o.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var t={parse:function(A,l){var a={CRLF:d,DIGIT:c,ALPHA:p,HEXDIG:q,WSP:M,OCTET:T,DQUOTE:R,SP:I,HTAB:x,alphanum:E,reserved:C,unreserved:v,mark:O,escaped:L,LWS:k,SWS:D,HCOLON:N,TEXT_UTF8_TRIM:W,TEXT_UTF8char:B,UTF8_NONASCII:H,UTF8_CONT:y,LHEX:S,token:Q,token_nodot:U,separators:J,word:P,STAR:G,SLASH:m,EQUAL:w,LPAREN:j,RPAREN:Z,RAQUOT:$,LAQUOT:_,COMMA:se,SEMI:le,COLON:ge,LDQUOT:pe,RDQUOT:fe,comment:Y,ctext:K,quoted_string:ee,quoted_string_clean:te,qdtext:X,quoted_pair:re,SIP_URI_noparams:ne,SIP_URI:Ae,uri_scheme:ue,uri_scheme_sips:ae,uri_scheme_sip:ve,userinfo:he,user:ye,user_unreserved:we,password:Ie,hostport:Ue,host:Me,hostname:lt,domainlabel:At,toplabel:St,IPv6reference:vt,IPv6address:Zt,h16:Ve,ls32:je,IPv4address:ct,dec_octet:dn,port:ks,uri_parameters:Ts,uri_parameter:lA,transport_param:Rs,user_param:Ms,method_param:xs,ttl_param:Os,maddr_param:Bs,lr_param:Us,other_param:Ds,pname:Ls,pvalue:Fs,paramchar:rr,param_unreserved:Qs,headers:Ys,header:Pr,hname:Gs,hvalue:Ks,hnv_unreserved:or,Request_Response:kf,Request_Line:Js,Request_URI:Ns,absoluteURI:aA,hier_part:js,net_path:Ws,abs_path:zr,opaque_part:Hs,uric:Ar,uric_no_slash:Zs,path_segments:Ps,segment:_r,param:uA,pchar:ir,scheme:zs,authority:_s,srvr:Xs,reg_name:$s,query:el,SIP_Version:cA,INVITEm:tl,ACKm:nl,OPTIONSm:rl,BYEm:ol,CANCELm:Al,REGISTERm:il,SUBSCRIBEm:sl,NOTIFYm:ll,REFERm:al,Method:Xr,Status_Line:ul,Status_Code:cl,extension_code:dl,Reason_Phrase:fl,Allow_Events:Tf,Call_ID:Rf,Contact:Mf,contact_param:$r,name_addr:wn,display_name:eo,contact_params:dA,c_p_q:gl,c_p_expires:hl,delta_seconds:En,qvalue:pl,generic_param:nt,gen_value:ql,Content_Disposition:xf,disp_type:ml,disp_param:fA,handling_param:Vl,Content_Encoding:Of,Content_Length:Bf,Content_Type:Uf,media_type:bl,m_type:Cl,discrete_type:vl,composite_type:yl,extension_token:to,x_token:Il,m_subtype:Sl,m_parameter:gA,m_value:wl,CSeq:Df,CSeq_value:El,Expires:Lf,Event:Ff,event_type:sr,From:Qf,from_param:hA,tag_param:pA,Max_Forwards:Yf,Min_Expires:Gf,Name_Addr_Header:Kf,Proxy_Authenticate:Jf,challenge:qA,other_challenge:kl,auth_param:lr,digest_cln:no,realm:Tl,realm_value:Rl,domain:Ml,URI:ro,nonce:xl,nonce_value:Ol,opaque:Bl,stale:Ul,algorithm:Dl,qop_options:Ll,qop_value:oo,Proxy_Require:Nf,Record_Route:jf,rec_route:Ao,Reason:Wf,reason_param:mA,reason_cause:Fl,Require:Hf,Route:Zf,route_param:io,Subscription_State:Pf,substate_value:Ql,subexp_params:VA,event_reason_value:Yl,Subject:zf,Supported:_f,To:Xf,to_param:bA,Via:$f,via_param:so,via_params:CA,via_ttl:Gl,via_maddr:Kl,via_received:Jl,via_branch:Nl,response_port:jl,rport:Wl,sent_protocol:Hl,protocol_name:Zl,transport:Pl,sent_by:zl,via_host:_l,via_port:Xl,ttl:vA,WWW_Authenticate:eg,Session_Expires:tg,s_e_expires:$l,s_e_params:yA,s_e_refresher:ea,extension_header:ng,header_value:ta,message_body:rg,uuid_URI:og,uuid:na,hex4:Pt,hex8:ra,hex12:oa,Refer_To:Ag,Replaces:ig,call_id:Aa,replaces_param:IA,to_tag:ia,from_tag:sa,early_flag:la};if(l!==void 0){if(a[l]===void 0)throw new Error("Invalid rule name: "+e(l)+".")}else l="CRLF";var n=0,f=0,h=[];function s(r){n<f||(n>f&&(f=n,h=[]),h.push(r))}function d(){var r;return A.substr(n,2)===`\r
|
|
9
9
|
`?(r=`\r
|
|
10
|
-
`,n+=2):(r=null,s('"\\r\\n"')),r}function c(){var r;return/^[0-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[0-9]")),r}function p(){var r;return/^[a-zA-Z]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-zA-Z]")),r}function q(){var r;return/^[0-9a-fA-F]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[0-9a-fA-F]")),r}function M(){var r;return r=I(),r===null&&(r=x()),r}function T(){var r;return/^[\0-\xFF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\0-\\xFF]")),r}function R(){var r;return/^["]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s('["]')),r}function I(){var r;return A.charCodeAt(n)===32?(r=" ",n++):(r=null,s('" "')),r}function x(){var r;return A.charCodeAt(n)===9?(r=" ",n++):(r=null,s('"\\t"')),r}function E(){var r;return/^[a-zA-Z0-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-zA-Z0-9]")),r}function C(){var r;return A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","'))))))))))),r}function v(){var r;return r=E(),r===null&&(r=O()),r}function O(){var r;return A.charCodeAt(n)===45?(r="-",n++):(r=null,s('"-"')),r===null&&(A.charCodeAt(n)===95?(r="_",n++):(r=null,s('"_"')),r===null&&(A.charCodeAt(n)===46?(r=".",n++):(r=null,s('"."')),r===null&&(A.charCodeAt(n)===33?(r="!",n++):(r=null,s('"!"')),r===null&&(A.charCodeAt(n)===126?(r="~",n++):(r=null,s('"~"')),r===null&&(A.charCodeAt(n)===42?(r="*",n++):(r=null,s('"*"')),r===null&&(A.charCodeAt(n)===39?(r="'",n++):(r=null,s(`"'"`)),r===null&&(A.charCodeAt(n)===40?(r="(",n++):(r=null,s('"("')),r===null&&(A.charCodeAt(n)===41?(r=")",n++):(r=null,s('")"')))))))))),r}function L(){var r,i,u,g,V;return g=n,V=n,A.charCodeAt(n)===37?(r="%",n++):(r=null,s('"%"')),r!==null?(i=q(),i!==null?(u=q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){return F.join("")}(g,r)),r===null&&(n=g),r}function k(){var r,i,u,g,V,b;for(g=n,V=n,b=n,r=[],i=M();i!==null;)r.push(i),i=M();if(r!==null?(i=d(),i!==null?r=[r,i]:(r=null,n=b)):(r=null,n=b),r=r!==null?r:"",r!==null){if(u=M(),u!==null)for(i=[];u!==null;)i.push(u),u=M();else i=null;i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r!==null&&(r=function(F){return" "}()),r===null&&(n=g),r}function D(){var r;return r=k(),r=r!==null?r:"",r}function N(){var r,i,u,g,V;for(g=n,V=n,r=[],i=I(),i===null&&(i=x());i!==null;)r.push(i),i=I(),i===null&&(i=x());return r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return":"}()),r===null&&(n=g),r}function W(){var r,i,u,g,V,b,F;if(V=n,b=n,i=B(),i!==null)for(r=[];i!==null;)r.push(i),i=B();else r=null;if(r!==null){for(i=[],F=n,u=[],g=k();g!==null;)u.push(g),g=k();for(u!==null?(g=B(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;){for(i.push(u),F=n,u=[],g=k();g!==null;)u.push(g),g=k();u!==null?(g=B(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F)}i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){return A.substring(n,oe)}(V)),r===null&&(n=V),r}function B(){var r;return/^[!-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[!-~]")),r===null&&(r=H()),r}function H(){var r;return/^[\x80-\uFFFF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\x80-\\uFFFF]")),r}function y(){var r;return/^[\x80-\xBF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\x80-\\xBF]")),r}function S(){var r;return r=c(),r===null&&(/^[a-f]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-f]"))),r}function Q(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"'))))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function U(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"'))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function J(){var r;return A.charCodeAt(n)===40?(r="(",n++):(r=null,s('"("')),r===null&&(A.charCodeAt(n)===41?(r=")",n++):(r=null,s('")"')),r===null&&(A.charCodeAt(n)===60?(r="<",n++):(r=null,s('"<"')),r===null&&(A.charCodeAt(n)===62?(r=">",n++):(r=null,s('">"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===92?(r="\\",n++):(r=null,s('"\\\\"')),r===null&&(r=R(),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===123?(r="{",n++):(r=null,s('"{"')),r===null&&(A.charCodeAt(n)===125?(r="}",n++):(r=null,s('"}"')),r===null&&(r=I(),r===null&&(r=x())))))))))))))))))),r}function P(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')),i===null&&(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i===null&&(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i===null&&(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i===null&&(A.charCodeAt(n)===62?(i=">",n++):(i=null,s('">"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===92?(i="\\",n++):(i=null,s('"\\\\"')),i===null&&(i=R(),i===null&&(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i===null&&(A.charCodeAt(n)===91?(i="[",n++):(i=null,s('"["')),i===null&&(A.charCodeAt(n)===93?(i="]",n++):(i=null,s('"]"')),i===null&&(A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i===null&&(A.charCodeAt(n)===123?(i="{",n++):(i=null,s('"{"')),i===null&&(A.charCodeAt(n)===125?(i="}",n++):(i=null,s('"}"'))))))))))))))))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')),i===null&&(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i===null&&(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i===null&&(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i===null&&(A.charCodeAt(n)===62?(i=">",n++):(i=null,s('">"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===92?(i="\\",n++):(i=null,s('"\\\\"')),i===null&&(i=R(),i===null&&(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i===null&&(A.charCodeAt(n)===91?(i="[",n++):(i=null,s('"["')),i===null&&(A.charCodeAt(n)===93?(i="]",n++):(i=null,s('"]"')),i===null&&(A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i===null&&(A.charCodeAt(n)===123?(i="{",n++):(i=null,s('"{"')),i===null&&(A.charCodeAt(n)===125?(i="}",n++):(i=null,s('"}"')))))))))))))))))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function G(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"*"}()),r===null&&(n=g),r}function m(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"/"}()),r===null&&(n=g),r}function w(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"="}()),r===null&&(n=g),r}function j(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"("}()),r===null&&(n=g),r}function Z(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return")"}()),r===null&&(n=g),r}function $(){var r,i,u,g;return u=n,g=n,A.charCodeAt(n)===62?(r=">",n++):(r=null,s('">"')),r!==null?(i=D(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return">"}()),r===null&&(n=u),r}function _(){var r,i,u,g;return u=n,g=n,r=D(),r!==null?(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return"<"}()),r===null&&(n=u),r}function se(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return","}()),r===null&&(n=g),r}function le(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return";"}()),r===null&&(n=g),r}function ge(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return":"}()),r===null&&(n=g),r}function pe(){var r,i,u,g;return u=n,g=n,r=D(),r!==null?(i=R(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return'"'}()),r===null&&(n=u),r}function fe(){var r,i,u,g;return u=n,g=n,r=R(),r!==null?(i=D(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return'"'}()),r===null&&(n=u),r}function Y(){var r,i,u,g;if(g=n,r=j(),r!==null){for(i=[],u=K(),u===null&&(u=re(),u===null&&(u=Y()));u!==null;)i.push(u),u=K(),u===null&&(u=re(),u===null&&(u=Y()));i!==null?(u=Z(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)}else r=null,n=g;return r}function K(){var r;return/^[!-']/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[!-']")),r===null&&(/^[*-[]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[*-[]")),r===null&&(/^[\]-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\]-~]")),r===null&&(r=H(),r===null&&(r=k())))),r}function ee(){var r,i,u,g,V,b;if(V=n,b=n,r=D(),r!==null)if(i=R(),i!==null){for(u=[],g=X(),g===null&&(g=re());g!==null;)u.push(g),g=X(),g===null&&(g=re());u!==null?(g=R(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F){return A.substring(n,F)}(V)),r===null&&(n=V),r}function te(){var r,i,u,g,V,b;if(V=n,b=n,r=D(),r!==null)if(i=R(),i!==null){for(u=[],g=X(),g===null&&(g=re());g!==null;)u.push(g),g=X(),g===null&&(g=re());u!==null?(g=R(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F){var oe=A.substring(n,F).trim();return oe.substring(1,oe.length-1).replace(/\\([\x00-\x09\x0b-\x0c\x0e-\x7f])/g,"$1")}(V)),r===null&&(n=V),r}function X(){var r;return r=k(),r===null&&(A.charCodeAt(n)===33?(r="!",n++):(r=null,s('"!"')),r===null&&(/^[#-[]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[#-[]")),r===null&&(/^[\]-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\]-~]")),r===null&&(r=H())))),r}function re(){var r,i,u;return u=n,A.charCodeAt(n)===92?(r="\\",n++):(r=null,s('"\\\\"')),r!==null?(/^[\0-\t]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\0-\\t]")),i===null&&(/^[\x0B-\f]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\x0B-\\f]")),i===null&&(/^[\x0E-]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\x0E-]")))),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function ne(){var r,i,u,g,V,b;return V=n,b=n,r=ue(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=he(),u=u!==null?u:"",u!==null?(g=Ue(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r!==null&&(r=function(F){try{z.uri=new aa(z.scheme,z.user,z.host,z.port),delete z.scheme,delete z.user,delete z.host,delete z.host_type,delete z.port}catch{z=-1}}()),r===null&&(n=V),r}function Ae(){var r,i,u,g,V,b,F,oe;return F=n,oe=n,r=ue(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=he(),u=u!==null?u:"",u!==null?(g=Ue(),g!==null?(V=Ts(),V!==null?(b=Ys(),b=b!==null?b:"",b!==null?r=[r,i,u,g,V,b]:(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe),r!==null&&(r=function(ce){try{z.uri=new aa(z.scheme,z.user,z.host,z.port,z.uri_params,z.uri_headers),delete z.scheme,delete z.user,delete z.host,delete z.host_type,delete z.port,delete z.uri_params,l==="SIP_URI"&&(z=z.uri)}catch{z=-1}}()),r===null&&(n=F),r}function ue(){var r;return r=ae(),r===null&&(r=ve()),r}function ae(){var r,i;return i=n,A.substr(n,4).toLowerCase()==="sips"?(r=A.substr(n,4),n+=4):(r=null,s('"sips"')),r!==null&&(r=function(u,g){z.scheme=g.toLowerCase()}(i,r)),r===null&&(n=i),r}function ve(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"sip"')),r!==null&&(r=function(u,g){z.scheme=g.toLowerCase()}(i,r)),r===null&&(n=i),r}function he(){var r,i,u,g,V,b;return g=n,V=n,r=ye(),r!==null?(b=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ie(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?(A.charCodeAt(n)===64?(u="@",n++):(u=null,s('"@"')),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.user=decodeURIComponent(A.substring(n-1,F))}(g)),r===null&&(n=g),r}function ye(){var r,i;if(i=v(),i===null&&(i=L(),i===null&&(i=we())),i!==null)for(r=[];i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(i=we()));else r=null;return r}function we(){var r;return A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"'))))))))),r}function Ie(){var r,i,u;for(u=n,r=[],i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","'))))))));i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","'))))))));return r!==null&&(r=function(g){z.password=A.substring(n,g)}(u)),r===null&&(n=u),r}function Ue(){var r,i,u,g,V;return g=n,r=xe(),r!==null?(V=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=ks(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function xe(){var r,i;return i=n,r=lt(),r===null&&(r=ct(),r===null&&(r=vt())),r!==null&&(r=function(u){return z.host=A.substring(n,u).toLowerCase(),z.host}(i)),r===null&&(n=i),r}function lt(){var r,i,u,g,V,b;for(g=n,V=n,r=[],b=n,i=At(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b);i!==null;)r.push(i),b=n,i=At(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b);return r!==null?(i=St(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){return z.host_type="domain",A.substring(n,F)}(g)),r===null&&(n=g),r}function At(){var r,i,u,g;if(g=n,r=E(),r!==null){for(i=[],u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));u!==null;)i.push(u),u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function St(){var r,i,u,g;if(g=n,r=p(),r!==null){for(i=[],u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));u!==null;)i.push(u),u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function vt(){var r,i,u,g,V;return g=n,V=n,A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r!==null?(i=Zt(),i!==null?(A.charCodeAt(n)===93?(u="]",n++):(u=null,s('"]"')),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return z.host_type="IPv6",A.substring(n,b)}(g)),r===null&&(n=g),r}function Zt(){var r,i,u,g,V,b,F,oe,ce,Se,Pe,Gt,lo,wA,ie,Ce;return wA=n,ie=n,r=be(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?(A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=be(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=be(),ce!==null?(A.charCodeAt(n)===58?(Se=":",n++):(Se=null,s('":"')),Se!==null?(Pe=be(),Pe!==null?(A.charCodeAt(n)===58?(Gt=":",n++):(Gt=null,s('":"')),Gt!==null?(lo=je(),lo!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Pe,Gt,lo]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=be(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=be(),Se!==null?(A.charCodeAt(n)===58?(Pe=":",n++):(Pe=null,s('":"')),Pe!==null?(Gt=je(),Gt!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Pe,Gt]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=be(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=je(),Se!==null?r=[r,i,u,g,V,b,F,oe,ce,Se]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=je(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=je(),b!==null?r=[r,i,u,g,V,b]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=je(),g!==null?r=[r,i,u,g]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=je(),i!==null?r=[r,i]:(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=be(),i!==null?r=[r,i]:(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(A.substr(n,2)==="::"?(i="::",n+=2):(i=null,s('"::"')),i!==null?(u=be(),u!==null?(A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=be(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=be(),ce!==null?(A.charCodeAt(n)===58?(Se=":",n++):(Se=null,s('":"')),Se!==null?(Pe=je(),Pe!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Pe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(A.substr(n,2)==="::"?(u="::",n+=2):(u=null,s('"::"')),u!==null?(g=be(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=be(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=je(),Se!==null?r=[r,i,u,g,V,b,F,oe,ce,Se]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(A.substr(n,2)==="::"?(g="::",n+=2):(g=null,s('"::"')),g!==null?(V=be(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=be(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=je(),ce!==null?r=[r,i,u,g,V,b,F,oe,ce]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(A.substr(n,2)==="::"?(V="::",n+=2):(V=null,s('"::"')),V!==null?(b=be(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=je(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(A.substr(n,2)==="::"?(b="::",n+=2):(b=null,s('"::"')),b!==null?(F=je(),F!==null?r=[r,i,u,g,V,b,F]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(Ce=n,A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=be(),F!==null?b=[b,F]:(b=null,n=Ce)):(b=null,n=Ce),b=b!==null?b:"",b!==null?(A.substr(n,2)==="::"?(F="::",n+=2):(F=null,s('"::"')),F!==null?(oe=be(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=be(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=be(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=be(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=be(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(Ce=n,A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=be(),F!==null?b=[b,F]:(b=null,n=Ce)):(b=null,n=Ce),b=b!==null?b:"",b!==null?(Ce=n,A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=be(),oe!==null?F=[F,oe]:(F=null,n=Ce)):(F=null,n=Ce),F=F!==null?F:"",F!==null?(A.substr(n,2)==="::"?(oe="::",n+=2):(oe=null,s('"::"')),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie))))))))))))))),r!==null&&(r=function(cg){return z.host_type="IPv6",A.substring(n,cg)}(wA)),r===null&&(n=wA),r}function be(){var r,i,u,g,V;return V=n,r=q(),r!==null?(i=q(),i=i!==null?i:"",i!==null?(u=q(),u=u!==null?u:"",u!==null?(g=q(),g=g!==null?g:"",g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function je(){var r,i,u,g;return g=n,r=be(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=be(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(r=ct()),r}function ct(){var r,i,u,g,V,b,F,oe,ce;return oe=n,ce=n,r=dn(),r!==null?(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i!==null?(u=dn(),u!==null?(A.charCodeAt(n)===46?(g=".",n++):(g=null,s('"."')),g!==null?(V=dn(),V!==null?(A.charCodeAt(n)===46?(b=".",n++):(b=null,s('"."')),b!==null?(F=dn(),F!==null?r=[r,i,u,g,V,b,F]:(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce),r!==null&&(r=function(Se){return z.host_type="IPv4",A.substring(n,Se)}(oe)),r===null&&(n=oe),r}function dn(){var r,i,u,g;return g=n,A.substr(n,2)==="25"?(r="25",n+=2):(r=null,s('"25"')),r!==null?(/^[0-5]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[0-5]")),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r===null&&(g=n,A.charCodeAt(n)===50?(r="2",n++):(r=null,s('"2"')),r!==null?(/^[0-4]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[0-4]")),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(g=n,A.charCodeAt(n)===49?(r="1",n++):(r=null,s('"1"')),r!==null?(i=c(),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(g=n,/^[1-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[1-9]")),r!==null?(i=c(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r===null&&(r=c())))),r}function ks(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){return ce=parseInt(ce.join("")),z.port=ce,ce}(b,r)),r===null&&(n=b),r}function Ts(){var r,i,u,g;for(r=[],g=n,A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=lA(),u!==null?i=[i,u]:(i=null,n=g)):(i=null,n=g);i!==null;)r.push(i),g=n,A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=lA(),u!==null?i=[i,u]:(i=null,n=g)):(i=null,n=g);return r}function lA(){var r;return r=Rs(),r===null&&(r=Ms(),r===null&&(r=xs(),r===null&&(r=Os(),r===null&&(r=Bs(),r===null&&(r=Us(),r===null&&(r=Ds())))))),r}function Rs(){var r,i,u,g;return u=n,g=n,A.substr(n,10).toLowerCase()==="transport="?(r=A.substr(n,10),n+=10):(r=null,s('"transport="')),r!==null?(A.substr(n,3).toLowerCase()==="udp"?(i=A.substr(n,3),n+=3):(i=null,s('"udp"')),i===null&&(A.substr(n,3).toLowerCase()==="tcp"?(i=A.substr(n,3),n+=3):(i=null,s('"tcp"')),i===null&&(A.substr(n,4).toLowerCase()==="sctp"?(i=A.substr(n,4),n+=4):(i=null,s('"sctp"')),i===null&&(A.substr(n,3).toLowerCase()==="tls"?(i=A.substr(n,3),n+=3):(i=null,s('"tls"')),i===null&&(i=Q())))),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.transport=b.toLowerCase()}(u,r[1])),r===null&&(n=u),r}function Ms(){var r,i,u,g;return u=n,g=n,A.substr(n,5).toLowerCase()==="user="?(r=A.substr(n,5),n+=5):(r=null,s('"user="')),r!==null?(A.substr(n,5).toLowerCase()==="phone"?(i=A.substr(n,5),n+=5):(i=null,s('"phone"')),i===null&&(A.substr(n,2).toLowerCase()==="ip"?(i=A.substr(n,2),n+=2):(i=null,s('"ip"')),i===null&&(i=Q())),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.user=b.toLowerCase()}(u,r[1])),r===null&&(n=u),r}function xs(){var r,i,u,g;return u=n,g=n,A.substr(n,7).toLowerCase()==="method="?(r=A.substr(n,7),n+=7):(r=null,s('"method="')),r!==null?(i=Xr(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.method=b}(u,r[1])),r===null&&(n=u),r}function Os(){var r,i,u,g;return u=n,g=n,A.substr(n,4).toLowerCase()==="ttl="?(r=A.substr(n,4),n+=4):(r=null,s('"ttl="')),r!==null?(i=vA(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.params||(z.params={}),z.params.ttl=b}(u,r[1])),r===null&&(n=u),r}function Bs(){var r,i,u,g;return u=n,g=n,A.substr(n,6).toLowerCase()==="maddr="?(r=A.substr(n,6),n+=6):(r=null,s('"maddr="')),r!==null?(i=xe(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.maddr=b}(u,r[1])),r===null&&(n=u),r}function Us(){var r,i,u,g,V,b;return g=n,V=n,A.substr(n,2).toLowerCase()==="lr"?(r=A.substr(n,2),n+=2):(r=null,s('"lr"')),r!==null?(b=n,A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Q(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.uri_params||(z.uri_params={}),z.uri_params.lr=void 0}()),r===null&&(n=g),r}function Ds(){var r,i,u,g,V,b;return g=n,V=n,r=Ls(),r!==null?(b=n,A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Fs(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F,oe,ce){z.uri_params||(z.uri_params={}),typeof ce>"u"?ce=void 0:ce=ce[1],z.uri_params[oe.toLowerCase()]=ce}(g,r[0],r[1])),r===null&&(n=g),r}function Ls(){var r,i,u;if(u=n,i=rr(),i!==null)for(r=[];i!==null;)r.push(i),i=rr();else r=null;return r!==null&&(r=function(g,V){return V.join("")}(u,r)),r===null&&(n=u),r}function Fs(){var r,i,u;if(u=n,i=rr(),i!==null)for(r=[];i!==null;)r.push(i),i=rr();else r=null;return r!==null&&(r=function(g,V){return V.join("")}(u,r)),r===null&&(n=u),r}function rr(){var r;return r=Qs(),r===null&&(r=v(),r===null&&(r=L())),r}function Qs(){var r;return A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')))))))),r}function Ys(){var r,i,u,g,V,b,F;if(b=n,A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r!==null)if(i=Pr(),i!==null){for(u=[],F=n,A.charCodeAt(n)===38?(g="&",n++):(g=null,s('"&"')),g!==null?(V=Pr(),V!==null?g=[g,V]:(g=null,n=F)):(g=null,n=F);g!==null;)u.push(g),F=n,A.charCodeAt(n)===38?(g="&",n++):(g=null,s('"&"')),g!==null?(V=Pr(),V!==null?g=[g,V]:(g=null,n=F)):(g=null,n=F);u!==null?r=[r,i,u]:(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r}function Pr(){var r,i,u,g,V;return g=n,V=n,r=Gs(),r!==null?(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Ks(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F,oe){F=F.join("").toLowerCase(),oe=oe.join(""),z.uri_headers||(z.uri_headers={}),z.uri_headers[F]?z.uri_headers[F].push(oe):z.uri_headers[F]=[oe]}(g,r[0],r[2])),r===null&&(n=g),r}function Gs(){var r,i;if(i=or(),i===null&&(i=v(),i===null&&(i=L())),i!==null)for(r=[];i!==null;)r.push(i),i=or(),i===null&&(i=v(),i===null&&(i=L()));else r=null;return r}function Ks(){var r,i;for(r=[],i=or(),i===null&&(i=v(),i===null&&(i=L()));i!==null;)r.push(i),i=or(),i===null&&(i=v(),i===null&&(i=L()));return r}function or(){var r;return A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')))))))),r}function kf(){var r;return r=ul(),r===null&&(r=Js()),r}function Js(){var r,i,u,g,V,b;return b=n,r=Xr(),r!==null?(i=I(),i!==null?(u=Ns(),u!==null?(g=I(),g!==null?(V=cA(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function Ns(){var r;return r=Ae(),r===null&&(r=aA()),r}function aA(){var r,i,u,g;return g=n,r=zs(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=js(),u===null&&(u=Hs()),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function js(){var r,i,u,g,V;return g=n,r=Ws(),r===null&&(r=zr()),r!==null?(V=n,A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i!==null?(u=el(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function Ws(){var r,i,u,g;return g=n,A.substr(n,2)==="//"?(r="//",n+=2):(r=null,s('"//"')),r!==null?(i=_s(),i!==null?(u=zr(),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function zr(){var r,i,u;return u=n,A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r!==null?(i=Ps(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function Hs(){var r,i,u,g;if(g=n,r=Zs(),r!==null){for(i=[],u=Ar();u!==null;)i.push(u),u=Ar();i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function Ar(){var r;return r=C(),r===null&&(r=v(),r===null&&(r=L())),r}function Zs(){var r;return r=v(),r===null&&(r=L(),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')))))))))))),r}function Ps(){var r,i,u,g,V,b;if(V=n,r=_r(),r!==null){for(i=[],b=n,A.charCodeAt(n)===47?(u="/",n++):(u=null,s('"/"')),u!==null?(g=_r(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===47?(u="/",n++):(u=null,s('"/"')),u!==null?(g=_r(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function _r(){var r,i,u,g,V,b;for(V=n,r=[],i=ir();i!==null;)r.push(i),i=ir();if(r!==null){for(i=[],b=n,A.charCodeAt(n)===59?(u=";",n++):(u=null,s('";"')),u!==null?(g=uA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===59?(u=";",n++):(u=null,s('";"')),u!==null?(g=uA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function uA(){var r,i;for(r=[],i=ir();i!==null;)r.push(i),i=ir();return r}function ir(){var r;return r=v(),r===null&&(r=L(),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')))))))))),r}function zs(){var r,i,u,g,V;if(g=n,V=n,r=p(),r!==null){for(i=[],u=p(),u===null&&(u=c(),u===null&&(A.charCodeAt(n)===43?(u="+",n++):(u=null,s('"+"')),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."'))))));u!==null;)i.push(u),u=p(),u===null&&(u=c(),u===null&&(A.charCodeAt(n)===43?(u="+",n++):(u=null,s('"+"')),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."'))))));i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r!==null&&(r=function(b){z.scheme=A.substring(n,b)}(g)),r===null&&(n=g),r}function _s(){var r;return r=Xs(),r===null&&(r=$s()),r}function Xs(){var r,i,u,g;return u=n,g=n,r=he(),r!==null?(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r=r!==null?r:"",r!==null?(i=Ue(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r=r!==null?r:"",r}function $s(){var r,i;if(i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i===null&&(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"'))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i===null&&(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')))))))))));else r=null;return r}function el(){var r,i;for(r=[],i=Ar();i!==null;)r.push(i),i=Ar();return r}function cA(){var r,i,u,g,V,b,F,oe;if(F=n,oe=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r!==null)if(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i!==null){if(g=c(),g!==null)for(u=[];g!==null;)u.push(g),g=c();else u=null;if(u!==null)if(A.charCodeAt(n)===46?(g=".",n++):(g=null,s('"."')),g!==null){if(b=c(),b!==null)for(V=[];b!==null;)V.push(b),b=c();else V=null;V!==null?r=[r,i,u,g,V]:(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe}else r=null,n=oe;else r=null,n=oe;return r!==null&&(r=function(ce){z.sip_version=A.substring(n,ce)}(F)),r===null&&(n=F),r}function tl(){var r;return A.substr(n,6)==="INVITE"?(r="INVITE",n+=6):(r=null,s('"INVITE"')),r}function nl(){var r;return A.substr(n,3)==="ACK"?(r="ACK",n+=3):(r=null,s('"ACK"')),r}function rl(){var r;return A.substr(n,7)==="OPTIONS"?(r="OPTIONS",n+=7):(r=null,s('"OPTIONS"')),r}function ol(){var r;return A.substr(n,3)==="BYE"?(r="BYE",n+=3):(r=null,s('"BYE"')),r}function Al(){var r;return A.substr(n,6)==="CANCEL"?(r="CANCEL",n+=6):(r=null,s('"CANCEL"')),r}function il(){var r;return A.substr(n,8)==="REGISTER"?(r="REGISTER",n+=8):(r=null,s('"REGISTER"')),r}function sl(){var r;return A.substr(n,9)==="SUBSCRIBE"?(r="SUBSCRIBE",n+=9):(r=null,s('"SUBSCRIBE"')),r}function ll(){var r;return A.substr(n,6)==="NOTIFY"?(r="NOTIFY",n+=6):(r=null,s('"NOTIFY"')),r}function al(){var r;return A.substr(n,5)==="REFER"?(r="REFER",n+=5):(r=null,s('"REFER"')),r}function Xr(){var r,i;return i=n,r=tl(),r===null&&(r=nl(),r===null&&(r=rl(),r===null&&(r=ol(),r===null&&(r=Al(),r===null&&(r=il(),r===null&&(r=sl(),r===null&&(r=ll(),r===null&&(r=al(),r===null&&(r=Q()))))))))),r!==null&&(r=function(u){return z.method=A.substring(n,u),z.method}(i)),r===null&&(n=i),r}function ul(){var r,i,u,g,V,b;return b=n,r=cA(),r!==null?(i=I(),i!==null?(u=cl(),u!==null?(g=I(),g!==null?(V=fl(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function cl(){var r,i;return i=n,r=dl(),r!==null&&(r=function(u,g){z.status_code=parseInt(g.join(""))}(i,r)),r===null&&(n=i),r}function dl(){var r,i,u,g;return g=n,r=c(),r!==null?(i=c(),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function fl(){var r,i,u;for(u=n,r=[],i=C(),i===null&&(i=v(),i===null&&(i=L(),i===null&&(i=H(),i===null&&(i=y(),i===null&&(i=I(),i===null&&(i=x()))))));i!==null;)r.push(i),i=C(),i===null&&(i=v(),i===null&&(i=L(),i===null&&(i=H(),i===null&&(i=y(),i===null&&(i=I(),i===null&&(i=x()))))));return r!==null&&(r=function(g){z.reason_phrase=A.substring(n,g)}(u)),r===null&&(n=u),r}function Tf(){var r,i,u,g,V,b;if(V=n,r=sr(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=sr(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=sr(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Rf(){var r,i,u,g,V,b;return g=n,V=n,r=P(),r!==null?(b=n,A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?(u=P(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z=A.substring(n,F)}(g)),r===null&&(n=g),r}function Mf(){var r,i,u,g,V,b,F;if(V=n,r=G(),r===null)if(b=n,r=$r(),r!==null){for(i=[],F=n,u=se(),u!==null?(g=$r(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=se(),u!==null?(g=$r(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce,Se;for(Se=z.multi_header.length,ce=0;ce<Se;ce++)if(z.multi_header[ce].parsed===null){z=null;break}z!==null?z=z.multi_header:z=-1}()),r===null&&(n=V),r}function $r(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=dA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=dA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce;z.multi_header||(z.multi_header=[]);try{ce=new Qn(z.uri,z.display_name,z.params),delete z.uri,delete z.display_name,delete z.params}catch{ce=null}z.multi_header.push({possition:n,offset:oe,parsed:ce})}(V)),r===null&&(n=V),r}function wn(){var r,i,u,g,V;return V=n,r=eo(),r=r!==null?r:"",r!==null?(i=_(),i!==null?(u=Ae(),u!==null?(g=$(),g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function eo(){var r,i,u,g,V,b,F;if(V=n,b=n,r=Q(),r!==null){for(i=[],F=n,u=k(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=k(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r===null&&(r=te()),r!==null&&(r=function(oe,ce){typeof ce=="string"?z.display_name=ce:z.display_name=ce[1].reduce(function(Se,Pe){return Se+Pe[0]+Pe[1]},ce[0])}(V,r)),r===null&&(n=V),r}function dA(){var r;return r=gl(),r===null&&(r=hl(),r===null&&(r=nt())),r}function gl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,1).toLowerCase()==="q"?(r=A.substr(n,1),n++):(r=null,s('"q"')),r!==null?(i=w(),i!==null?(u=pl(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.params||(z.params={}),z.params.q=F}(g,r[2])),r===null&&(n=g),r}function hl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,7).toLowerCase()==="expires"?(r=A.substr(n,7),n+=7):(r=null,s('"expires"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.params||(z.params={}),z.params.expires=F}(g,r[2])),r===null&&(n=g),r}function En(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){return parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function pl(){var r,i,u,g,V,b,F,oe;return b=n,F=n,A.charCodeAt(n)===48?(r="0",n++):(r=null,s('"0"')),r!==null?(oe=n,A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?i=[i,u,g,V]:(i=null,n=oe)):(i=null,n=oe)):(i=null,n=oe)):(i=null,n=oe),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(ce){return parseFloat(A.substring(n,ce))}(b)),r===null&&(n=b),r}function nt(){var r,i,u,g,V,b;return g=n,V=n,r=Q(),r!==null?(b=n,i=w(),i!==null?(u=ql(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F,oe,ce){z.params||(z.params={}),typeof ce>"u"?ce=void 0:ce=ce[1],z.params[oe.toLowerCase()]=ce}(g,r[0],r[1])),r===null&&(n=g),r}function ql(){var r;return r=Q(),r===null&&(r=xe(),r===null&&(r=ee())),r}function xf(){var r,i,u,g,V,b;if(V=n,r=ml(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=fA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=fA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function ml(){var r;return A.substr(n,6).toLowerCase()==="render"?(r=A.substr(n,6),n+=6):(r=null,s('"render"')),r===null&&(A.substr(n,7).toLowerCase()==="session"?(r=A.substr(n,7),n+=7):(r=null,s('"session"')),r===null&&(A.substr(n,4).toLowerCase()==="icon"?(r=A.substr(n,4),n+=4):(r=null,s('"icon"')),r===null&&(A.substr(n,5).toLowerCase()==="alert"?(r=A.substr(n,5),n+=5):(r=null,s('"alert"')),r===null&&(r=Q())))),r}function fA(){var r;return r=Vl(),r===null&&(r=nt()),r}function Vl(){var r,i,u,g;return g=n,A.substr(n,8).toLowerCase()==="handling"?(r=A.substr(n,8),n+=8):(r=null,s('"handling"')),r!==null?(i=w(),i!==null?(A.substr(n,8).toLowerCase()==="optional"?(u=A.substr(n,8),n+=8):(u=null,s('"optional"')),u===null&&(A.substr(n,8).toLowerCase()==="required"?(u=A.substr(n,8),n+=8):(u=null,s('"required"')),u===null&&(u=Q())),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Of(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Bf(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Uf(){var r,i;return i=n,r=bl(),r!==null&&(r=function(u){z=A.substring(n,u)}(i)),r===null&&(n=i),r}function bl(){var r,i,u,g,V,b,F,oe;if(F=n,r=Cl(),r!==null)if(i=m(),i!==null)if(u=Sl(),u!==null){for(g=[],oe=n,V=le(),V!==null?(b=gA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=le(),V!==null?(b=gA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function Cl(){var r;return r=vl(),r===null&&(r=yl()),r}function vl(){var r;return A.substr(n,4).toLowerCase()==="text"?(r=A.substr(n,4),n+=4):(r=null,s('"text"')),r===null&&(A.substr(n,5).toLowerCase()==="image"?(r=A.substr(n,5),n+=5):(r=null,s('"image"')),r===null&&(A.substr(n,5).toLowerCase()==="audio"?(r=A.substr(n,5),n+=5):(r=null,s('"audio"')),r===null&&(A.substr(n,5).toLowerCase()==="video"?(r=A.substr(n,5),n+=5):(r=null,s('"video"')),r===null&&(A.substr(n,11).toLowerCase()==="application"?(r=A.substr(n,11),n+=11):(r=null,s('"application"')),r===null&&(r=to()))))),r}function yl(){var r;return A.substr(n,7).toLowerCase()==="message"?(r=A.substr(n,7),n+=7):(r=null,s('"message"')),r===null&&(A.substr(n,9).toLowerCase()==="multipart"?(r=A.substr(n,9),n+=9):(r=null,s('"multipart"')),r===null&&(r=to())),r}function to(){var r;return r=Q(),r===null&&(r=Il()),r}function Il(){var r,i,u;return u=n,A.substr(n,2).toLowerCase()==="x-"?(r=A.substr(n,2),n+=2):(r=null,s('"x-"')),r!==null?(i=Q(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function Sl(){var r;return r=to(),r===null&&(r=Q()),r}function gA(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=w(),i!==null?(u=wl(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function wl(){var r;return r=Q(),r===null&&(r=ee()),r}function Df(){var r,i,u,g;return g=n,r=El(),r!==null?(i=k(),i!==null?(u=Xr(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function El(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z.value=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Lf(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z=g}(i,r)),r===null&&(n=i),r}function Ff(){var r,i,u,g,V,b,F;if(V=n,b=n,r=sr(),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe,ce){z.event=ce.join("").toLowerCase()}(V,r[0])),r===null&&(n=V),r}function sr(){var r,i,u,g,V,b;if(V=n,r=U(),r!==null){for(i=[],b=n,A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?(g=U(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?(g=U(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Qf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=hA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=hA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce=z.tag;try{z=new Qn(z.uri,z.display_name,z.params),ce&&z.setParam("tag",ce)}catch{z=-1}}()),r===null&&(n=V),r}function hA(){var r;return r=pA(),r===null&&(r=nt()),r}function pA(){var r,i,u,g,V;return g=n,V=n,A.substr(n,3).toLowerCase()==="tag"?(r=A.substr(n,3),n+=3):(r=null,s('"tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.tag=F}(g,r[2])),r===null&&(n=g),r}function Yf(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Gf(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z=g}(i,r)),r===null&&(n=i),r}function Kf(){var r,i,u,g,V,b,F,oe,ce,Se;for(oe=n,ce=n,r=[],i=eo();i!==null;)r.push(i),i=eo();if(r!==null)if(i=_(),i!==null)if(u=Ae(),u!==null)if(g=$(),g!==null){for(V=[],Se=n,b=le(),b!==null?(F=nt(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);b!==null;)V.push(b),Se=n,b=le(),b!==null?(F=nt(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);V!==null?r=[r,i,u,g,V]:(r=null,n=ce)}else r=null,n=ce;else r=null,n=ce;else r=null,n=ce;else r=null,n=ce;return r!==null&&(r=function(Pe){try{z=new Qn(z.uri,z.display_name,z.params)}catch{z=-1}}()),r===null&&(n=oe),r}function Jf(){var r;return r=qA(),r}function qA(){var r,i,u,g,V,b,F,oe;if(F=n,A.substr(n,6).toLowerCase()==="digest"?(r=A.substr(n,6),n+=6):(r=null,s('"Digest"')),r!==null)if(i=k(),i!==null)if(u=no(),u!==null){for(g=[],oe=n,V=se(),V!==null?(b=no(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=se(),V!==null?(b=no(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r===null&&(r=kl()),r}function kl(){var r,i,u,g,V,b,F,oe;if(F=n,r=Q(),r!==null)if(i=k(),i!==null)if(u=lr(),u!==null){for(g=[],oe=n,V=se(),V!==null?(b=lr(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=se(),V!==null?(b=lr(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function lr(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=w(),i!==null?(u=Q(),u===null&&(u=ee()),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function no(){var r;return r=Tl(),r===null&&(r=Ml(),r===null&&(r=xl(),r===null&&(r=Bl(),r===null&&(r=Ul(),r===null&&(r=Dl(),r===null&&(r=Ll(),r===null&&(r=lr()))))))),r}function Tl(){var r,i,u,g;return g=n,A.substr(n,5).toLowerCase()==="realm"?(r=A.substr(n,5),n+=5):(r=null,s('"realm"')),r!==null?(i=w(),i!==null?(u=Rl(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Rl(){var r,i;return i=n,r=te(),r!==null&&(r=function(u,g){z.realm=g}(i,r)),r===null&&(n=i),r}function Ml(){var r,i,u,g,V,b,F,oe,ce;if(oe=n,A.substr(n,6).toLowerCase()==="domain"?(r=A.substr(n,6),n+=6):(r=null,s('"domain"')),r!==null)if(i=w(),i!==null)if(u=pe(),u!==null)if(g=ro(),g!==null){if(V=[],ce=n,F=I(),F!==null)for(b=[];F!==null;)b.push(F),F=I();else b=null;for(b!==null?(F=ro(),F!==null?b=[b,F]:(b=null,n=ce)):(b=null,n=ce);b!==null;){if(V.push(b),ce=n,F=I(),F!==null)for(b=[];F!==null;)b.push(F),F=I();else b=null;b!==null?(F=ro(),F!==null?b=[b,F]:(b=null,n=ce)):(b=null,n=ce)}V!==null?(b=fe(),b!==null?r=[r,i,u,g,V,b]:(r=null,n=oe)):(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;return r}function ro(){var r;return r=aA(),r===null&&(r=zr()),r}function xl(){var r,i,u,g;return g=n,A.substr(n,5).toLowerCase()==="nonce"?(r=A.substr(n,5),n+=5):(r=null,s('"nonce"')),r!==null?(i=w(),i!==null?(u=Ol(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Ol(){var r,i;return i=n,r=te(),r!==null&&(r=function(u,g){z.nonce=g}(i,r)),r===null&&(n=i),r}function Bl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="opaque"?(r=A.substr(n,6),n+=6):(r=null,s('"opaque"')),r!==null?(i=w(),i!==null?(u=te(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.opaque=F}(g,r[2])),r===null&&(n=g),r}function Ul(){var r,i,u,g,V;return g=n,A.substr(n,5).toLowerCase()==="stale"?(r=A.substr(n,5),n+=5):(r=null,s('"stale"')),r!==null?(i=w(),i!==null?(V=n,A.substr(n,4).toLowerCase()==="true"?(u=A.substr(n,4),n+=4):(u=null,s('"true"')),u!==null&&(u=function(b){z.stale=!0}()),u===null&&(n=V),u===null&&(V=n,A.substr(n,5).toLowerCase()==="false"?(u=A.substr(n,5),n+=5):(u=null,s('"false"')),u!==null&&(u=function(b){z.stale=!1}()),u===null&&(n=V)),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Dl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,9).toLowerCase()==="algorithm"?(r=A.substr(n,9),n+=9):(r=null,s('"algorithm"')),r!==null?(i=w(),i!==null?(A.substr(n,3).toLowerCase()==="md5"?(u=A.substr(n,3),n+=3):(u=null,s('"MD5"')),u===null&&(A.substr(n,8).toLowerCase()==="md5-sess"?(u=A.substr(n,8),n+=8):(u=null,s('"MD5-sess"')),u===null&&(u=Q())),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.algorithm=F.toUpperCase()}(g,r[2])),r===null&&(n=g),r}function Ll(){var r,i,u,g,V,b,F,oe,ce,Se;if(oe=n,A.substr(n,3).toLowerCase()==="qop"?(r=A.substr(n,3),n+=3):(r=null,s('"qop"')),r!==null)if(i=w(),i!==null)if(u=pe(),u!==null){if(ce=n,g=oo(),g!==null){for(V=[],Se=n,A.charCodeAt(n)===44?(b=",",n++):(b=null,s('","')),b!==null?(F=oo(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);b!==null;)V.push(b),Se=n,A.charCodeAt(n)===44?(b=",",n++):(b=null,s('","')),b!==null?(F=oo(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);V!==null?g=[g,V]:(g=null,n=ce)}else g=null,n=ce;g!==null?(V=fe(),V!==null?r=[r,i,u,g,V]:(r=null,n=oe)):(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;return r}function oo(){var r,i;return i=n,A.substr(n,8).toLowerCase()==="auth-int"?(r=A.substr(n,8),n+=8):(r=null,s('"auth-int"')),r===null&&(A.substr(n,4).toLowerCase()==="auth"?(r=A.substr(n,4),n+=4):(r=null,s('"auth"')),r===null&&(r=Q())),r!==null&&(r=function(u,g){z.qop||(z.qop=[]),z.qop.push(g.toLowerCase())}(i,r)),r===null&&(n=i),r}function Nf(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function jf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=Ao(),r!==null){for(i=[],F=n,u=se(),u!==null?(g=Ao(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=se(),u!==null?(g=Ao(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce,Se;for(Se=z.multi_header.length,ce=0;ce<Se;ce++)if(z.multi_header[ce].parsed===null){z=null;break}z!==null?z=z.multi_header:z=-1}()),r===null&&(n=V),r}function Ao(){var r,i,u,g,V,b,F;if(V=n,b=n,r=wn(),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce;z.multi_header||(z.multi_header=[]);try{ce=new Qn(z.uri,z.display_name,z.params),delete z.uri,delete z.display_name,delete z.params}catch{ce=null}z.multi_header.push({possition:n,offset:oe,parsed:ce})}(V)),r===null&&(n=V),r}function Wf(){var r,i,u,g,V,b,F;if(V=n,b=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r===null&&(r=Q()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=mA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=mA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe,ce){if(z.protocol=ce.toLowerCase(),z.params||(z.params={}),z.params.text&&z.params.text[0]==='"'){var Se=z.params.text;z.text=Se.substring(1,Se.length-1),delete z.params.text}}(V,r[0])),r===null&&(n=V),r}function mA(){var r;return r=Fl(),r===null&&(r=nt()),r}function Fl(){var r,i,u,g,V,b;if(V=n,b=n,A.substr(n,5).toLowerCase()==="cause"?(r=A.substr(n,5),n+=5):(r=null,s('"cause"')),r!==null)if(i=w(),i!==null){if(g=c(),g!==null)for(u=[];g!==null;)u.push(g),g=c();else u=null;u!==null?r=[r,i,u]:(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F,oe){z.cause=parseInt(oe.join(""))}(V,r[2])),r===null&&(n=V),r}function Hf(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Zf(){var r,i,u,g,V,b;if(V=n,r=io(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=io(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=io(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function io(){var r,i,u,g,V,b;if(V=n,r=wn(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Pf(){var r,i,u,g,V,b;if(V=n,r=Ql(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=VA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=VA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Ql(){var r,i;return i=n,A.substr(n,6).toLowerCase()==="active"?(r=A.substr(n,6),n+=6):(r=null,s('"active"')),r===null&&(A.substr(n,7).toLowerCase()==="pending"?(r=A.substr(n,7),n+=7):(r=null,s('"pending"')),r===null&&(A.substr(n,10).toLowerCase()==="terminated"?(r=A.substr(n,10),n+=10):(r=null,s('"terminated"')),r===null&&(r=Q()))),r!==null&&(r=function(u){z.state=A.substring(n,u)}(i)),r===null&&(n=i),r}function VA(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="reason"?(r=A.substr(n,6),n+=6):(r=null,s('"reason"')),r!==null?(i=w(),i!==null?(u=Yl(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.reason=F)}(g,r[2])),r===null&&(n=g),r===null&&(g=n,V=n,A.substr(n,7).toLowerCase()==="expires"?(r=A.substr(n,7),n+=7):(r=null,s('"expires"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.expires=F)}(g,r[2])),r===null&&(n=g),r===null&&(g=n,V=n,A.substr(n,11).toLowerCase()==="retry_after"?(r=A.substr(n,11),n+=11):(r=null,s('"retry_after"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.retry_after=F)}(g,r[2])),r===null&&(n=g),r===null&&(r=nt()))),r}function Yl(){var r;return A.substr(n,11).toLowerCase()==="deactivated"?(r=A.substr(n,11),n+=11):(r=null,s('"deactivated"')),r===null&&(A.substr(n,9).toLowerCase()==="probation"?(r=A.substr(n,9),n+=9):(r=null,s('"probation"')),r===null&&(A.substr(n,8).toLowerCase()==="rejected"?(r=A.substr(n,8),n+=8):(r=null,s('"rejected"')),r===null&&(A.substr(n,7).toLowerCase()==="timeout"?(r=A.substr(n,7),n+=7):(r=null,s('"timeout"')),r===null&&(A.substr(n,6).toLowerCase()==="giveup"?(r=A.substr(n,6),n+=6):(r=null,s('"giveup"')),r===null&&(A.substr(n,10).toLowerCase()==="noresource"?(r=A.substr(n,10),n+=10):(r=null,s('"noresource"')),r===null&&(A.substr(n,9).toLowerCase()==="invariant"?(r=A.substr(n,9),n+=9):(r=null,s('"invariant"')),r===null&&(r=Q()))))))),r}function zf(){var r;return r=W(),r=r!==null?r:"",r}function _f(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r=r!==null?r:"",r}function Xf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=bA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=bA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce=z.tag;try{z=new Qn(z.uri,z.display_name,z.params),ce&&z.setParam("tag",ce)}catch{z=-1}}()),r===null&&(n=V),r}function bA(){var r;return r=pA(),r===null&&(r=nt()),r}function $f(){var r,i,u,g,V,b;if(V=n,r=so(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=so(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=so(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function so(){var r,i,u,g,V,b,F,oe;if(F=n,r=Hl(),r!==null)if(i=k(),i!==null)if(u=zl(),u!==null){for(g=[],oe=n,V=le(),V!==null?(b=CA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=le(),V!==null?(b=CA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function CA(){var r;return r=Gl(),r===null&&(r=Kl(),r===null&&(r=Jl(),r===null&&(r=Nl(),r===null&&(r=jl(),r===null&&(r=nt()))))),r}function Gl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,3).toLowerCase()==="ttl"?(r=A.substr(n,3),n+=3):(r=null,s('"ttl"')),r!==null?(i=w(),i!==null?(u=vA(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.ttl=F}(g,r[2])),r===null&&(n=g),r}function Kl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,5).toLowerCase()==="maddr"?(r=A.substr(n,5),n+=5):(r=null,s('"maddr"')),r!==null?(i=w(),i!==null?(u=xe(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.maddr=F}(g,r[2])),r===null&&(n=g),r}function Jl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,8).toLowerCase()==="received"?(r=A.substr(n,8),n+=8):(r=null,s('"received"')),r!==null?(i=w(),i!==null?(u=ct(),u===null&&(u=Zt()),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.received=F}(g,r[2])),r===null&&(n=g),r}function Nl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="branch"?(r=A.substr(n,6),n+=6):(r=null,s('"branch"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.branch=F}(g,r[2])),r===null&&(n=g),r}function jl(){var r,i,u,g,V;return g=n,A.substr(n,5).toLowerCase()==="rport"?(r=A.substr(n,5),n+=5):(r=null,s('"rport"')),r!==null?(V=n,i=w(),i!==null?(u=Wl(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function Wl(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){z.rport=parseInt(ce.join(""))}(b,r)),r===null&&(n=b),r}function Hl(){var r,i,u,g,V,b;return b=n,r=Zl(),r!==null?(i=m(),i!==null?(u=Q(),u!==null?(g=m(),g!==null?(V=Pl(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function Zl(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r===null&&(r=Q()),r!==null&&(r=function(u,g){z.protocol=g}(i,r)),r===null&&(n=i),r}function Pl(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="udp"?(r=A.substr(n,3),n+=3):(r=null,s('"UDP"')),r===null&&(A.substr(n,3).toLowerCase()==="tcp"?(r=A.substr(n,3),n+=3):(r=null,s('"TCP"')),r===null&&(A.substr(n,3).toLowerCase()==="tls"?(r=A.substr(n,3),n+=3):(r=null,s('"TLS"')),r===null&&(A.substr(n,4).toLowerCase()==="sctp"?(r=A.substr(n,4),n+=4):(r=null,s('"SCTP"')),r===null&&(r=Q())))),r!==null&&(r=function(u,g){z.transport=g}(i,r)),r===null&&(n=i),r}function zl(){var r,i,u,g,V;return g=n,r=_l(),r!==null?(V=n,i=ge(),i!==null?(u=Xl(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function _l(){var r,i;return i=n,r=ct(),r===null&&(r=vt(),r===null&&(r=lt())),r!==null&&(r=function(u){z.host=A.substring(n,u)}(i)),r===null&&(n=i),r}function Xl(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){z.port=parseInt(ce.join(""))}(b,r)),r===null&&(n=b),r}function vA(){var r,i,u,g,V;return g=n,V=n,r=c(),r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){return parseInt(F.join(""))}(g,r)),r===null&&(n=g),r}function eg(){var r;return r=qA(),r}function tg(){var r,i,u,g,V,b;if(V=n,r=$l(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=yA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=yA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function $l(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z.expires=g}(i,r)),r===null&&(n=i),r}function yA(){var r;return r=ea(),r===null&&(r=nt()),r}function ea(){var r,i,u,g,V;return g=n,V=n,A.substr(n,9).toLowerCase()==="refresher"?(r=A.substr(n,9),n+=9):(r=null,s('"refresher"')),r!==null?(i=w(),i!==null?(A.substr(n,3).toLowerCase()==="uac"?(u=A.substr(n,3),n+=3):(u=null,s('"uac"')),u===null&&(A.substr(n,3).toLowerCase()==="uas"?(u=A.substr(n,3),n+=3):(u=null,s('"uas"'))),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.refresher=F.toLowerCase()}(g,r[2])),r===null&&(n=g),r}function ng(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=N(),i!==null?(u=ta(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function ta(){var r,i;for(r=[],i=B(),i===null&&(i=y(),i===null&&(i=k()));i!==null;)r.push(i),i=B(),i===null&&(i=y(),i===null&&(i=k()));return r}function rg(){var r,i;for(r=[],i=T();i!==null;)r.push(i),i=T();return r}function og(){var r,i,u;return u=n,A.substr(n,5)==="uuid:"?(r="uuid:",n+=5):(r=null,s('"uuid:"')),r!==null?(i=na(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function na(){var r,i,u,g,V,b,F,oe,ce,Se,Pe;return Se=n,Pe=n,r=ra(),r!==null?(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i!==null?(u=Pt(),u!==null?(A.charCodeAt(n)===45?(g="-",n++):(g=null,s('"-"')),g!==null?(V=Pt(),V!==null?(A.charCodeAt(n)===45?(b="-",n++):(b=null,s('"-"')),b!==null?(F=Pt(),F!==null?(A.charCodeAt(n)===45?(oe="-",n++):(oe=null,s('"-"')),oe!==null?(ce=oa(),ce!==null?r=[r,i,u,g,V,b,F,oe,ce]:(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe)):(r=null,n=Pe),r!==null&&(r=function(Gt,lo){z=A.substring(n+5,Gt)}(Se,r[0])),r===null&&(n=Se),r}function Pt(){var r,i,u,g,V;return V=n,r=q(),r!==null?(i=q(),i!==null?(u=q(),u!==null?(g=q(),g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function ra(){var r,i,u;return u=n,r=Pt(),r!==null?(i=Pt(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function oa(){var r,i,u,g;return g=n,r=Pt(),r!==null?(i=Pt(),i!==null?(u=Pt(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Ag(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){try{z=new Qn(z.uri,z.display_name,z.params)}catch{z=-1}}()),r===null&&(n=V),r}function ig(){var r,i,u,g,V,b;if(V=n,r=Aa(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=IA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=IA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Aa(){var r,i,u,g,V,b;return g=n,V=n,r=P(),r!==null?(b=n,A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?(u=P(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.call_id=A.substring(n,F)}(g)),r===null&&(n=g),r}function IA(){var r;return r=ia(),r===null&&(r=sa(),r===null&&(r=la(),r===null&&(r=nt()))),r}function ia(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6)==="to-tag"?(r="to-tag",n+=6):(r=null,s('"to-tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.to_tag=F}(g,r[2])),r===null&&(n=g),r}function sa(){var r,i,u,g,V;return g=n,V=n,A.substr(n,8)==="from-tag"?(r="from-tag",n+=8):(r=null,s('"from-tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.from_tag=F}(g,r[2])),r===null&&(n=g),r}function la(){var r,i;return i=n,A.substr(n,10)==="early-only"?(r="early-only",n+=10):(r=null,s('"early-only"')),r!==null&&(r=function(u){z.early_only=!0}()),r===null&&(n=i),r}function sg(r){r.sort();for(var i=null,u=[],g=0;g<r.length;g++)r[g]!==i&&(u.push(r[g]),i=r[g]);return u}function lg(){for(var r=1,i=1,u=!1,g=0;g<Math.max(n,f);g++){var V=A.charAt(g);V===`
|
|
10
|
+
`,n+=2):(r=null,s('"\\r\\n"')),r}function c(){var r;return/^[0-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[0-9]")),r}function p(){var r;return/^[a-zA-Z]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-zA-Z]")),r}function q(){var r;return/^[0-9a-fA-F]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[0-9a-fA-F]")),r}function M(){var r;return r=I(),r===null&&(r=x()),r}function T(){var r;return/^[\0-\xFF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\0-\\xFF]")),r}function R(){var r;return/^["]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s('["]')),r}function I(){var r;return A.charCodeAt(n)===32?(r=" ",n++):(r=null,s('" "')),r}function x(){var r;return A.charCodeAt(n)===9?(r=" ",n++):(r=null,s('"\\t"')),r}function E(){var r;return/^[a-zA-Z0-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-zA-Z0-9]")),r}function C(){var r;return A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","'))))))))))),r}function v(){var r;return r=E(),r===null&&(r=O()),r}function O(){var r;return A.charCodeAt(n)===45?(r="-",n++):(r=null,s('"-"')),r===null&&(A.charCodeAt(n)===95?(r="_",n++):(r=null,s('"_"')),r===null&&(A.charCodeAt(n)===46?(r=".",n++):(r=null,s('"."')),r===null&&(A.charCodeAt(n)===33?(r="!",n++):(r=null,s('"!"')),r===null&&(A.charCodeAt(n)===126?(r="~",n++):(r=null,s('"~"')),r===null&&(A.charCodeAt(n)===42?(r="*",n++):(r=null,s('"*"')),r===null&&(A.charCodeAt(n)===39?(r="'",n++):(r=null,s(`"'"`)),r===null&&(A.charCodeAt(n)===40?(r="(",n++):(r=null,s('"("')),r===null&&(A.charCodeAt(n)===41?(r=")",n++):(r=null,s('")"')))))))))),r}function L(){var r,i,u,g,V;return g=n,V=n,A.charCodeAt(n)===37?(r="%",n++):(r=null,s('"%"')),r!==null?(i=q(),i!==null?(u=q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){return F.join("")}(g,r)),r===null&&(n=g),r}function k(){var r,i,u,g,V,b;for(g=n,V=n,b=n,r=[],i=M();i!==null;)r.push(i),i=M();if(r!==null?(i=d(),i!==null?r=[r,i]:(r=null,n=b)):(r=null,n=b),r=r!==null?r:"",r!==null){if(u=M(),u!==null)for(i=[];u!==null;)i.push(u),u=M();else i=null;i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r!==null&&(r=function(F){return" "}()),r===null&&(n=g),r}function D(){var r;return r=k(),r=r!==null?r:"",r}function N(){var r,i,u,g,V;for(g=n,V=n,r=[],i=I(),i===null&&(i=x());i!==null;)r.push(i),i=I(),i===null&&(i=x());return r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return":"}()),r===null&&(n=g),r}function W(){var r,i,u,g,V,b,F;if(V=n,b=n,i=B(),i!==null)for(r=[];i!==null;)r.push(i),i=B();else r=null;if(r!==null){for(i=[],F=n,u=[],g=k();g!==null;)u.push(g),g=k();for(u!==null?(g=B(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;){for(i.push(u),F=n,u=[],g=k();g!==null;)u.push(g),g=k();u!==null?(g=B(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F)}i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){return A.substring(n,oe)}(V)),r===null&&(n=V),r}function B(){var r;return/^[!-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[!-~]")),r===null&&(r=H()),r}function H(){var r;return/^[\x80-\uFFFF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\x80-\\uFFFF]")),r}function y(){var r;return/^[\x80-\xBF]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\x80-\\xBF]")),r}function S(){var r;return r=c(),r===null&&(/^[a-f]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[a-f]"))),r}function Q(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"'))))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function U(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"'))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function J(){var r;return A.charCodeAt(n)===40?(r="(",n++):(r=null,s('"("')),r===null&&(A.charCodeAt(n)===41?(r=")",n++):(r=null,s('")"')),r===null&&(A.charCodeAt(n)===60?(r="<",n++):(r=null,s('"<"')),r===null&&(A.charCodeAt(n)===62?(r=">",n++):(r=null,s('">"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===92?(r="\\",n++):(r=null,s('"\\\\"')),r===null&&(r=R(),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===123?(r="{",n++):(r=null,s('"{"')),r===null&&(A.charCodeAt(n)===125?(r="}",n++):(r=null,s('"}"')),r===null&&(r=I(),r===null&&(r=x())))))))))))))))))),r}function P(){var r,i,u;if(u=n,i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')),i===null&&(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i===null&&(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i===null&&(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i===null&&(A.charCodeAt(n)===62?(i=">",n++):(i=null,s('">"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===92?(i="\\",n++):(i=null,s('"\\\\"')),i===null&&(i=R(),i===null&&(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i===null&&(A.charCodeAt(n)===91?(i="[",n++):(i=null,s('"["')),i===null&&(A.charCodeAt(n)===93?(i="]",n++):(i=null,s('"]"')),i===null&&(A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i===null&&(A.charCodeAt(n)===123?(i="{",n++):(i=null,s('"{"')),i===null&&(A.charCodeAt(n)===125?(i="}",n++):(i=null,s('"}"'))))))))))))))))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=E(),i===null&&(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i===null&&(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i===null&&(A.charCodeAt(n)===33?(i="!",n++):(i=null,s('"!"')),i===null&&(A.charCodeAt(n)===37?(i="%",n++):(i=null,s('"%"')),i===null&&(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i===null&&(A.charCodeAt(n)===95?(i="_",n++):(i=null,s('"_"')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===96?(i="`",n++):(i=null,s('"`"')),i===null&&(A.charCodeAt(n)===39?(i="'",n++):(i=null,s(`"'"`)),i===null&&(A.charCodeAt(n)===126?(i="~",n++):(i=null,s('"~"')),i===null&&(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i===null&&(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i===null&&(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i===null&&(A.charCodeAt(n)===62?(i=">",n++):(i=null,s('">"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===92?(i="\\",n++):(i=null,s('"\\\\"')),i===null&&(i=R(),i===null&&(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i===null&&(A.charCodeAt(n)===91?(i="[",n++):(i=null,s('"["')),i===null&&(A.charCodeAt(n)===93?(i="]",n++):(i=null,s('"]"')),i===null&&(A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i===null&&(A.charCodeAt(n)===123?(i="{",n++):(i=null,s('"{"')),i===null&&(A.charCodeAt(n)===125?(i="}",n++):(i=null,s('"}"')))))))))))))))))))))))));else r=null;return r!==null&&(r=function(g){return A.substring(n,g)}(u)),r===null&&(n=u),r}function G(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===42?(i="*",n++):(i=null,s('"*"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"*"}()),r===null&&(n=g),r}function m(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"/"}()),r===null&&(n=g),r}function w(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"="}()),r===null&&(n=g),r}function j(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===40?(i="(",n++):(i=null,s('"("')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return"("}()),r===null&&(n=g),r}function Z(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===41?(i=")",n++):(i=null,s('")"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return")"}()),r===null&&(n=g),r}function $(){var r,i,u,g;return u=n,g=n,A.charCodeAt(n)===62?(r=">",n++):(r=null,s('">"')),r!==null?(i=D(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return">"}()),r===null&&(n=u),r}function _(){var r,i,u,g;return u=n,g=n,r=D(),r!==null?(A.charCodeAt(n)===60?(i="<",n++):(i=null,s('"<"')),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return"<"}()),r===null&&(n=u),r}function se(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return","}()),r===null&&(n=g),r}function le(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return";"}()),r===null&&(n=g),r}function ge(){var r,i,u,g,V;return g=n,V=n,r=D(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=D(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return":"}()),r===null&&(n=g),r}function pe(){var r,i,u,g;return u=n,g=n,r=D(),r!==null?(i=R(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return'"'}()),r===null&&(n=u),r}function fe(){var r,i,u,g;return u=n,g=n,r=R(),r!==null?(i=D(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V){return'"'}()),r===null&&(n=u),r}function Y(){var r,i,u,g;if(g=n,r=j(),r!==null){for(i=[],u=K(),u===null&&(u=re(),u===null&&(u=Y()));u!==null;)i.push(u),u=K(),u===null&&(u=re(),u===null&&(u=Y()));i!==null?(u=Z(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)}else r=null,n=g;return r}function K(){var r;return/^[!-']/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[!-']")),r===null&&(/^[*-[]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[*-[]")),r===null&&(/^[\]-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\]-~]")),r===null&&(r=H(),r===null&&(r=k())))),r}function ee(){var r,i,u,g,V,b;if(V=n,b=n,r=D(),r!==null)if(i=R(),i!==null){for(u=[],g=X(),g===null&&(g=re());g!==null;)u.push(g),g=X(),g===null&&(g=re());u!==null?(g=R(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F){return A.substring(n,F)}(V)),r===null&&(n=V),r}function te(){var r,i,u,g,V,b;if(V=n,b=n,r=D(),r!==null)if(i=R(),i!==null){for(u=[],g=X(),g===null&&(g=re());g!==null;)u.push(g),g=X(),g===null&&(g=re());u!==null?(g=R(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F){var oe=A.substring(n,F).trim();return oe.substring(1,oe.length-1).replace(/\\([\x00-\x09\x0b-\x0c\x0e-\x7f])/g,"$1")}(V)),r===null&&(n=V),r}function X(){var r;return r=k(),r===null&&(A.charCodeAt(n)===33?(r="!",n++):(r=null,s('"!"')),r===null&&(/^[#-[]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[#-[]")),r===null&&(/^[\]-~]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[\\]-~]")),r===null&&(r=H())))),r}function re(){var r,i,u;return u=n,A.charCodeAt(n)===92?(r="\\",n++):(r=null,s('"\\\\"')),r!==null?(/^[\0-\t]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\0-\\t]")),i===null&&(/^[\x0B-\f]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\x0B-\\f]")),i===null&&(/^[\x0E-]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[\\x0E-]")))),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function ne(){var r,i,u,g,V,b;return V=n,b=n,r=ue(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=he(),u=u!==null?u:"",u!==null?(g=Ue(),g!==null?r=[r,i,u,g]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r!==null&&(r=function(F){try{z.uri=new aa(z.scheme,z.user,z.host,z.port),delete z.scheme,delete z.user,delete z.host,delete z.host_type,delete z.port}catch{z=-1}}()),r===null&&(n=V),r}function Ae(){var r,i,u,g,V,b,F,oe;return F=n,oe=n,r=ue(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=he(),u=u!==null?u:"",u!==null?(g=Ue(),g!==null?(V=Ts(),V!==null?(b=Ys(),b=b!==null?b:"",b!==null?r=[r,i,u,g,V,b]:(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe)):(r=null,n=oe),r!==null&&(r=function(ce){try{z.uri=new aa(z.scheme,z.user,z.host,z.port,z.uri_params,z.uri_headers),delete z.scheme,delete z.user,delete z.host,delete z.host_type,delete z.port,delete z.uri_params,l==="SIP_URI"&&(z=z.uri)}catch{z=-1}}()),r===null&&(n=F),r}function ue(){var r;return r=ae(),r===null&&(r=ve()),r}function ae(){var r,i;return i=n,A.substr(n,4).toLowerCase()==="sips"?(r=A.substr(n,4),n+=4):(r=null,s('"sips"')),r!==null&&(r=function(u,g){z.scheme=g.toLowerCase()}(i,r)),r===null&&(n=i),r}function ve(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"sip"')),r!==null&&(r=function(u,g){z.scheme=g.toLowerCase()}(i,r)),r===null&&(n=i),r}function he(){var r,i,u,g,V,b;return g=n,V=n,r=ye(),r!==null?(b=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ie(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?(A.charCodeAt(n)===64?(u="@",n++):(u=null,s('"@"')),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.user=decodeURIComponent(A.substring(n-1,F))}(g)),r===null&&(n=g),r}function ye(){var r,i;if(i=v(),i===null&&(i=L(),i===null&&(i=we())),i!==null)for(r=[];i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(i=we()));else r=null;return r}function we(){var r;return A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"'))))))))),r}function Ie(){var r,i,u;for(u=n,r=[],i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","'))))))));i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","'))))))));return r!==null&&(r=function(g){z.password=A.substring(n,g)}(u)),r===null&&(n=u),r}function Ue(){var r,i,u,g,V;return g=n,r=Me(),r!==null?(V=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=ks(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function Me(){var r,i;return i=n,r=lt(),r===null&&(r=ct(),r===null&&(r=vt())),r!==null&&(r=function(u){return z.host=A.substring(n,u).toLowerCase(),z.host}(i)),r===null&&(n=i),r}function lt(){var r,i,u,g,V,b;for(g=n,V=n,r=[],b=n,i=At(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b);i!==null;)r.push(i),b=n,i=At(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b);return r!==null?(i=St(),i!==null?(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){return z.host_type="domain",A.substring(n,F)}(g)),r===null&&(n=g),r}function At(){var r,i,u,g;if(g=n,r=E(),r!==null){for(i=[],u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));u!==null;)i.push(u),u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function St(){var r,i,u,g;if(g=n,r=p(),r!==null){for(i=[],u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));u!==null;)i.push(u),u=E(),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===95?(u="_",n++):(u=null,s('"_"'))));i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function vt(){var r,i,u,g,V;return g=n,V=n,A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r!==null?(i=Zt(),i!==null?(A.charCodeAt(n)===93?(u="]",n++):(u=null,s('"]"')),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b){return z.host_type="IPv6",A.substring(n,b)}(g)),r===null&&(n=g),r}function Zt(){var r,i,u,g,V,b,F,oe,ce,Se,Ze,Gt,lo,wA,ie,Ce;return wA=n,ie=n,r=Ve(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?(A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=Ve(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=Ve(),ce!==null?(A.charCodeAt(n)===58?(Se=":",n++):(Se=null,s('":"')),Se!==null?(Ze=Ve(),Ze!==null?(A.charCodeAt(n)===58?(Gt=":",n++):(Gt=null,s('":"')),Gt!==null?(lo=je(),lo!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Ze,Gt,lo]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=Ve(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=Ve(),Se!==null?(A.charCodeAt(n)===58?(Ze=":",n++):(Ze=null,s('":"')),Ze!==null?(Gt=je(),Gt!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Ze,Gt]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=Ve(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=je(),Se!==null?r=[r,i,u,g,V,b,F,oe,ce,Se]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=je(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=je(),b!==null?r=[r,i,u,g,V,b]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?(A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=je(),g!==null?r=[r,i,u,g]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=je(),i!==null?r=[r,i]:(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,A.substr(n,2)==="::"?(r="::",n+=2):(r=null,s('"::"')),r!==null?(i=Ve(),i!==null?r=[r,i]:(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(A.substr(n,2)==="::"?(i="::",n+=2):(i=null,s('"::"')),i!==null?(u=Ve(),u!==null?(A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=Ve(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=Ve(),ce!==null?(A.charCodeAt(n)===58?(Se=":",n++):(Se=null,s('":"')),Se!==null?(Ze=je(),Ze!==null?r=[r,i,u,g,V,b,F,oe,ce,Se,Ze]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(A.substr(n,2)==="::"?(u="::",n+=2):(u=null,s('"::"')),u!==null?(g=Ve(),g!==null?(A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=Ve(),oe!==null?(A.charCodeAt(n)===58?(ce=":",n++):(ce=null,s('":"')),ce!==null?(Se=je(),Se!==null?r=[r,i,u,g,V,b,F,oe,ce,Se]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(A.substr(n,2)==="::"?(g="::",n+=2):(g=null,s('"::"')),g!==null?(V=Ve(),V!==null?(A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=Ve(),F!==null?(A.charCodeAt(n)===58?(oe=":",n++):(oe=null,s('":"')),oe!==null?(ce=je(),ce!==null?r=[r,i,u,g,V,b,F,oe,ce]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(A.substr(n,2)==="::"?(V="::",n+=2):(V=null,s('"::"')),V!==null?(b=Ve(),b!==null?(A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=je(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(A.substr(n,2)==="::"?(b="::",n+=2):(b=null,s('"::"')),b!==null?(F=je(),F!==null?r=[r,i,u,g,V,b,F]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(Ce=n,A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=Ve(),F!==null?b=[b,F]:(b=null,n=Ce)):(b=null,n=Ce),b=b!==null?b:"",b!==null?(A.substr(n,2)==="::"?(F="::",n+=2):(F=null,s('"::"')),F!==null?(oe=Ve(),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie),r===null&&(ie=n,r=Ve(),r!==null?(Ce=n,A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?i=[i,u]:(i=null,n=Ce)):(i=null,n=Ce),i=i!==null?i:"",i!==null?(Ce=n,A.charCodeAt(n)===58?(u=":",n++):(u=null,s('":"')),u!==null?(g=Ve(),g!==null?u=[u,g]:(u=null,n=Ce)):(u=null,n=Ce),u=u!==null?u:"",u!==null?(Ce=n,A.charCodeAt(n)===58?(g=":",n++):(g=null,s('":"')),g!==null?(V=Ve(),V!==null?g=[g,V]:(g=null,n=Ce)):(g=null,n=Ce),g=g!==null?g:"",g!==null?(Ce=n,A.charCodeAt(n)===58?(V=":",n++):(V=null,s('":"')),V!==null?(b=Ve(),b!==null?V=[V,b]:(V=null,n=Ce)):(V=null,n=Ce),V=V!==null?V:"",V!==null?(Ce=n,A.charCodeAt(n)===58?(b=":",n++):(b=null,s('":"')),b!==null?(F=Ve(),F!==null?b=[b,F]:(b=null,n=Ce)):(b=null,n=Ce),b=b!==null?b:"",b!==null?(Ce=n,A.charCodeAt(n)===58?(F=":",n++):(F=null,s('":"')),F!==null?(oe=Ve(),oe!==null?F=[F,oe]:(F=null,n=Ce)):(F=null,n=Ce),F=F!==null?F:"",F!==null?(A.substr(n,2)==="::"?(oe="::",n+=2):(oe=null,s('"::"')),oe!==null?r=[r,i,u,g,V,b,F,oe]:(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie)):(r=null,n=ie))))))))))))))),r!==null&&(r=function(cg){return z.host_type="IPv6",A.substring(n,cg)}(wA)),r===null&&(n=wA),r}function Ve(){var r,i,u,g,V;return V=n,r=q(),r!==null?(i=q(),i=i!==null?i:"",i!==null?(u=q(),u=u!==null?u:"",u!==null?(g=q(),g=g!==null?g:"",g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function je(){var r,i,u,g;return g=n,r=Ve(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=Ve(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(r=ct()),r}function ct(){var r,i,u,g,V,b,F,oe,ce;return oe=n,ce=n,r=dn(),r!==null?(A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i!==null?(u=dn(),u!==null?(A.charCodeAt(n)===46?(g=".",n++):(g=null,s('"."')),g!==null?(V=dn(),V!==null?(A.charCodeAt(n)===46?(b=".",n++):(b=null,s('"."')),b!==null?(F=dn(),F!==null?r=[r,i,u,g,V,b,F]:(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce)):(r=null,n=ce),r!==null&&(r=function(Se){return z.host_type="IPv4",A.substring(n,Se)}(oe)),r===null&&(n=oe),r}function dn(){var r,i,u,g;return g=n,A.substr(n,2)==="25"?(r="25",n+=2):(r=null,s('"25"')),r!==null?(/^[0-5]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[0-5]")),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r===null&&(g=n,A.charCodeAt(n)===50?(r="2",n++):(r=null,s('"2"')),r!==null?(/^[0-4]/.test(A.charAt(n))?(i=A.charAt(n),n++):(i=null,s("[0-4]")),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(g=n,A.charCodeAt(n)===49?(r="1",n++):(r=null,s('"1"')),r!==null?(i=c(),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r===null&&(g=n,/^[1-9]/.test(A.charAt(n))?(r=A.charAt(n),n++):(r=null,s("[1-9]")),r!==null?(i=c(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r===null&&(r=c())))),r}function ks(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){return ce=parseInt(ce.join("")),z.port=ce,ce}(b,r)),r===null&&(n=b),r}function Ts(){var r,i,u,g;for(r=[],g=n,A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=lA(),u!==null?i=[i,u]:(i=null,n=g)):(i=null,n=g);i!==null;)r.push(i),g=n,A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i!==null?(u=lA(),u!==null?i=[i,u]:(i=null,n=g)):(i=null,n=g);return r}function lA(){var r;return r=Rs(),r===null&&(r=Ms(),r===null&&(r=xs(),r===null&&(r=Os(),r===null&&(r=Bs(),r===null&&(r=Us(),r===null&&(r=Ds())))))),r}function Rs(){var r,i,u,g;return u=n,g=n,A.substr(n,10).toLowerCase()==="transport="?(r=A.substr(n,10),n+=10):(r=null,s('"transport="')),r!==null?(A.substr(n,3).toLowerCase()==="udp"?(i=A.substr(n,3),n+=3):(i=null,s('"udp"')),i===null&&(A.substr(n,3).toLowerCase()==="tcp"?(i=A.substr(n,3),n+=3):(i=null,s('"tcp"')),i===null&&(A.substr(n,4).toLowerCase()==="sctp"?(i=A.substr(n,4),n+=4):(i=null,s('"sctp"')),i===null&&(A.substr(n,3).toLowerCase()==="tls"?(i=A.substr(n,3),n+=3):(i=null,s('"tls"')),i===null&&(i=Q())))),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.transport=b.toLowerCase()}(u,r[1])),r===null&&(n=u),r}function Ms(){var r,i,u,g;return u=n,g=n,A.substr(n,5).toLowerCase()==="user="?(r=A.substr(n,5),n+=5):(r=null,s('"user="')),r!==null?(A.substr(n,5).toLowerCase()==="phone"?(i=A.substr(n,5),n+=5):(i=null,s('"phone"')),i===null&&(A.substr(n,2).toLowerCase()==="ip"?(i=A.substr(n,2),n+=2):(i=null,s('"ip"')),i===null&&(i=Q())),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.user=b.toLowerCase()}(u,r[1])),r===null&&(n=u),r}function xs(){var r,i,u,g;return u=n,g=n,A.substr(n,7).toLowerCase()==="method="?(r=A.substr(n,7),n+=7):(r=null,s('"method="')),r!==null?(i=Xr(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.method=b}(u,r[1])),r===null&&(n=u),r}function Os(){var r,i,u,g;return u=n,g=n,A.substr(n,4).toLowerCase()==="ttl="?(r=A.substr(n,4),n+=4):(r=null,s('"ttl="')),r!==null?(i=vA(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.params||(z.params={}),z.params.ttl=b}(u,r[1])),r===null&&(n=u),r}function Bs(){var r,i,u,g;return u=n,g=n,A.substr(n,6).toLowerCase()==="maddr="?(r=A.substr(n,6),n+=6):(r=null,s('"maddr="')),r!==null?(i=Me(),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r!==null&&(r=function(V,b){z.uri_params||(z.uri_params={}),z.uri_params.maddr=b}(u,r[1])),r===null&&(n=u),r}function Us(){var r,i,u,g,V,b;return g=n,V=n,A.substr(n,2).toLowerCase()==="lr"?(r=A.substr(n,2),n+=2):(r=null,s('"lr"')),r!==null?(b=n,A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Q(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.uri_params||(z.uri_params={}),z.uri_params.lr=void 0}()),r===null&&(n=g),r}function Ds(){var r,i,u,g,V,b;return g=n,V=n,r=Ls(),r!==null?(b=n,A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Fs(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F,oe,ce){z.uri_params||(z.uri_params={}),typeof ce>"u"?ce=void 0:ce=ce[1],z.uri_params[oe.toLowerCase()]=ce}(g,r[0],r[1])),r===null&&(n=g),r}function Ls(){var r,i,u;if(u=n,i=rr(),i!==null)for(r=[];i!==null;)r.push(i),i=rr();else r=null;return r!==null&&(r=function(g,V){return V.join("")}(u,r)),r===null&&(n=u),r}function Fs(){var r,i,u;if(u=n,i=rr(),i!==null)for(r=[];i!==null;)r.push(i),i=rr();else r=null;return r!==null&&(r=function(g,V){return V.join("")}(u,r)),r===null&&(n=u),r}function rr(){var r;return r=Qs(),r===null&&(r=v(),r===null&&(r=L())),r}function Qs(){var r;return A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')))))))),r}function Ys(){var r,i,u,g,V,b,F;if(b=n,A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r!==null)if(i=Pr(),i!==null){for(u=[],F=n,A.charCodeAt(n)===38?(g="&",n++):(g=null,s('"&"')),g!==null?(V=Pr(),V!==null?g=[g,V]:(g=null,n=F)):(g=null,n=F);g!==null;)u.push(g),F=n,A.charCodeAt(n)===38?(g="&",n++):(g=null,s('"&"')),g!==null?(V=Pr(),V!==null?g=[g,V]:(g=null,n=F)):(g=null,n=F);u!==null?r=[r,i,u]:(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r}function Pr(){var r,i,u,g,V;return g=n,V=n,r=Gs(),r!==null?(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i!==null?(u=Ks(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F,oe){F=F.join("").toLowerCase(),oe=oe.join(""),z.uri_headers||(z.uri_headers={}),z.uri_headers[F]?z.uri_headers[F].push(oe):z.uri_headers[F]=[oe]}(g,r[0],r[2])),r===null&&(n=g),r}function Gs(){var r,i;if(i=or(),i===null&&(i=v(),i===null&&(i=L())),i!==null)for(r=[];i!==null;)r.push(i),i=or(),i===null&&(i=v(),i===null&&(i=L()));else r=null;return r}function Ks(){var r,i;for(r=[],i=or(),i===null&&(i=v(),i===null&&(i=L()));i!==null;)r.push(i),i=or(),i===null&&(i=v(),i===null&&(i=L()));return r}function or(){var r;return A.charCodeAt(n)===91?(r="[",n++):(r=null,s('"["')),r===null&&(A.charCodeAt(n)===93?(r="]",n++):(r=null,s('"]"')),r===null&&(A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')))))))),r}function kf(){var r;return r=ul(),r===null&&(r=Js()),r}function Js(){var r,i,u,g,V,b;return b=n,r=Xr(),r!==null?(i=I(),i!==null?(u=Ns(),u!==null?(g=I(),g!==null?(V=cA(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function Ns(){var r;return r=Ae(),r===null&&(r=aA()),r}function aA(){var r,i,u,g;return g=n,r=zs(),r!==null?(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i!==null?(u=js(),u===null&&(u=Hs()),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function js(){var r,i,u,g,V;return g=n,r=Ws(),r===null&&(r=zr()),r!==null?(V=n,A.charCodeAt(n)===63?(i="?",n++):(i=null,s('"?"')),i!==null?(u=el(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function Ws(){var r,i,u,g;return g=n,A.substr(n,2)==="//"?(r="//",n+=2):(r=null,s('"//"')),r!==null?(i=_s(),i!==null?(u=zr(),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function zr(){var r,i,u;return u=n,A.charCodeAt(n)===47?(r="/",n++):(r=null,s('"/"')),r!==null?(i=Ps(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function Hs(){var r,i,u,g;if(g=n,r=Zs(),r!==null){for(i=[],u=Ar();u!==null;)i.push(u),u=Ar();i!==null?r=[r,i]:(r=null,n=g)}else r=null,n=g;return r}function Ar(){var r;return r=C(),r===null&&(r=v(),r===null&&(r=L())),r}function Zs(){var r;return r=v(),r===null&&(r=L(),r===null&&(A.charCodeAt(n)===59?(r=";",n++):(r=null,s('";"')),r===null&&(A.charCodeAt(n)===63?(r="?",n++):(r=null,s('"?"')),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')))))))))))),r}function Ps(){var r,i,u,g,V,b;if(V=n,r=_r(),r!==null){for(i=[],b=n,A.charCodeAt(n)===47?(u="/",n++):(u=null,s('"/"')),u!==null?(g=_r(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===47?(u="/",n++):(u=null,s('"/"')),u!==null?(g=_r(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function _r(){var r,i,u,g,V,b;for(V=n,r=[],i=ir();i!==null;)r.push(i),i=ir();if(r!==null){for(i=[],b=n,A.charCodeAt(n)===59?(u=";",n++):(u=null,s('";"')),u!==null?(g=uA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===59?(u=";",n++):(u=null,s('";"')),u!==null?(g=uA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function uA(){var r,i;for(r=[],i=ir();i!==null;)r.push(i),i=ir();return r}function ir(){var r;return r=v(),r===null&&(r=L(),r===null&&(A.charCodeAt(n)===58?(r=":",n++):(r=null,s('":"')),r===null&&(A.charCodeAt(n)===64?(r="@",n++):(r=null,s('"@"')),r===null&&(A.charCodeAt(n)===38?(r="&",n++):(r=null,s('"&"')),r===null&&(A.charCodeAt(n)===61?(r="=",n++):(r=null,s('"="')),r===null&&(A.charCodeAt(n)===43?(r="+",n++):(r=null,s('"+"')),r===null&&(A.charCodeAt(n)===36?(r="$",n++):(r=null,s('"$"')),r===null&&(A.charCodeAt(n)===44?(r=",",n++):(r=null,s('","')))))))))),r}function zs(){var r,i,u,g,V;if(g=n,V=n,r=p(),r!==null){for(i=[],u=p(),u===null&&(u=c(),u===null&&(A.charCodeAt(n)===43?(u="+",n++):(u=null,s('"+"')),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."'))))));u!==null;)i.push(u),u=p(),u===null&&(u=c(),u===null&&(A.charCodeAt(n)===43?(u="+",n++):(u=null,s('"+"')),u===null&&(A.charCodeAt(n)===45?(u="-",n++):(u=null,s('"-"')),u===null&&(A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."'))))));i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r!==null&&(r=function(b){z.scheme=A.substring(n,b)}(g)),r===null&&(n=g),r}function _s(){var r;return r=Xs(),r===null&&(r=$s()),r}function Xs(){var r,i,u,g;return u=n,g=n,r=he(),r!==null?(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r=r!==null?r:"",r!==null?(i=Ue(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r=r!==null?r:"",r}function $s(){var r,i;if(i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i===null&&(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"'))))))))))),i!==null)for(r=[];i!==null;)r.push(i),i=v(),i===null&&(i=L(),i===null&&(A.charCodeAt(n)===36?(i="$",n++):(i=null,s('"$"')),i===null&&(A.charCodeAt(n)===44?(i=",",n++):(i=null,s('","')),i===null&&(A.charCodeAt(n)===59?(i=";",n++):(i=null,s('";"')),i===null&&(A.charCodeAt(n)===58?(i=":",n++):(i=null,s('":"')),i===null&&(A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i===null&&(A.charCodeAt(n)===38?(i="&",n++):(i=null,s('"&"')),i===null&&(A.charCodeAt(n)===61?(i="=",n++):(i=null,s('"="')),i===null&&(A.charCodeAt(n)===43?(i="+",n++):(i=null,s('"+"')))))))))));else r=null;return r}function el(){var r,i;for(r=[],i=Ar();i!==null;)r.push(i),i=Ar();return r}function cA(){var r,i,u,g,V,b,F,oe;if(F=n,oe=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r!==null)if(A.charCodeAt(n)===47?(i="/",n++):(i=null,s('"/"')),i!==null){if(g=c(),g!==null)for(u=[];g!==null;)u.push(g),g=c();else u=null;if(u!==null)if(A.charCodeAt(n)===46?(g=".",n++):(g=null,s('"."')),g!==null){if(b=c(),b!==null)for(V=[];b!==null;)V.push(b),b=c();else V=null;V!==null?r=[r,i,u,g,V]:(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe}else r=null,n=oe;else r=null,n=oe;return r!==null&&(r=function(ce){z.sip_version=A.substring(n,ce)}(F)),r===null&&(n=F),r}function tl(){var r;return A.substr(n,6)==="INVITE"?(r="INVITE",n+=6):(r=null,s('"INVITE"')),r}function nl(){var r;return A.substr(n,3)==="ACK"?(r="ACK",n+=3):(r=null,s('"ACK"')),r}function rl(){var r;return A.substr(n,7)==="OPTIONS"?(r="OPTIONS",n+=7):(r=null,s('"OPTIONS"')),r}function ol(){var r;return A.substr(n,3)==="BYE"?(r="BYE",n+=3):(r=null,s('"BYE"')),r}function Al(){var r;return A.substr(n,6)==="CANCEL"?(r="CANCEL",n+=6):(r=null,s('"CANCEL"')),r}function il(){var r;return A.substr(n,8)==="REGISTER"?(r="REGISTER",n+=8):(r=null,s('"REGISTER"')),r}function sl(){var r;return A.substr(n,9)==="SUBSCRIBE"?(r="SUBSCRIBE",n+=9):(r=null,s('"SUBSCRIBE"')),r}function ll(){var r;return A.substr(n,6)==="NOTIFY"?(r="NOTIFY",n+=6):(r=null,s('"NOTIFY"')),r}function al(){var r;return A.substr(n,5)==="REFER"?(r="REFER",n+=5):(r=null,s('"REFER"')),r}function Xr(){var r,i;return i=n,r=tl(),r===null&&(r=nl(),r===null&&(r=rl(),r===null&&(r=ol(),r===null&&(r=Al(),r===null&&(r=il(),r===null&&(r=sl(),r===null&&(r=ll(),r===null&&(r=al(),r===null&&(r=Q()))))))))),r!==null&&(r=function(u){return z.method=A.substring(n,u),z.method}(i)),r===null&&(n=i),r}function ul(){var r,i,u,g,V,b;return b=n,r=cA(),r!==null?(i=I(),i!==null?(u=cl(),u!==null?(g=I(),g!==null?(V=fl(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function cl(){var r,i;return i=n,r=dl(),r!==null&&(r=function(u,g){z.status_code=parseInt(g.join(""))}(i,r)),r===null&&(n=i),r}function dl(){var r,i,u,g;return g=n,r=c(),r!==null?(i=c(),i!==null?(u=c(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function fl(){var r,i,u;for(u=n,r=[],i=C(),i===null&&(i=v(),i===null&&(i=L(),i===null&&(i=H(),i===null&&(i=y(),i===null&&(i=I(),i===null&&(i=x()))))));i!==null;)r.push(i),i=C(),i===null&&(i=v(),i===null&&(i=L(),i===null&&(i=H(),i===null&&(i=y(),i===null&&(i=I(),i===null&&(i=x()))))));return r!==null&&(r=function(g){z.reason_phrase=A.substring(n,g)}(u)),r===null&&(n=u),r}function Tf(){var r,i,u,g,V,b;if(V=n,r=sr(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=sr(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=sr(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Rf(){var r,i,u,g,V,b;return g=n,V=n,r=P(),r!==null?(b=n,A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?(u=P(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z=A.substring(n,F)}(g)),r===null&&(n=g),r}function Mf(){var r,i,u,g,V,b,F;if(V=n,r=G(),r===null)if(b=n,r=$r(),r!==null){for(i=[],F=n,u=se(),u!==null?(g=$r(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=se(),u!==null?(g=$r(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce,Se;for(Se=z.multi_header.length,ce=0;ce<Se;ce++)if(z.multi_header[ce].parsed===null){z=null;break}z!==null?z=z.multi_header:z=-1}()),r===null&&(n=V),r}function $r(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=dA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=dA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce;z.multi_header||(z.multi_header=[]);try{ce=new Qn(z.uri,z.display_name,z.params),delete z.uri,delete z.display_name,delete z.params}catch{ce=null}z.multi_header.push({possition:n,offset:oe,parsed:ce})}(V)),r===null&&(n=V),r}function wn(){var r,i,u,g,V;return V=n,r=eo(),r=r!==null?r:"",r!==null?(i=_(),i!==null?(u=Ae(),u!==null?(g=$(),g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function eo(){var r,i,u,g,V,b,F;if(V=n,b=n,r=Q(),r!==null){for(i=[],F=n,u=k(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=k(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r===null&&(r=te()),r!==null&&(r=function(oe,ce){typeof ce=="string"?z.display_name=ce:z.display_name=ce[1].reduce(function(Se,Ze){return Se+Ze[0]+Ze[1]},ce[0])}(V,r)),r===null&&(n=V),r}function dA(){var r;return r=gl(),r===null&&(r=hl(),r===null&&(r=nt())),r}function gl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,1).toLowerCase()==="q"?(r=A.substr(n,1),n++):(r=null,s('"q"')),r!==null?(i=w(),i!==null?(u=pl(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.params||(z.params={}),z.params.q=F}(g,r[2])),r===null&&(n=g),r}function hl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,7).toLowerCase()==="expires"?(r=A.substr(n,7),n+=7):(r=null,s('"expires"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.params||(z.params={}),z.params.expires=F}(g,r[2])),r===null&&(n=g),r}function En(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){return parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function pl(){var r,i,u,g,V,b,F,oe;return b=n,F=n,A.charCodeAt(n)===48?(r="0",n++):(r=null,s('"0"')),r!==null?(oe=n,A.charCodeAt(n)===46?(i=".",n++):(i=null,s('"."')),i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?i=[i,u,g,V]:(i=null,n=oe)):(i=null,n=oe)):(i=null,n=oe)):(i=null,n=oe),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(ce){return parseFloat(A.substring(n,ce))}(b)),r===null&&(n=b),r}function nt(){var r,i,u,g,V,b;return g=n,V=n,r=Q(),r!==null?(b=n,i=w(),i!==null?(u=ql(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F,oe,ce){z.params||(z.params={}),typeof ce>"u"?ce=void 0:ce=ce[1],z.params[oe.toLowerCase()]=ce}(g,r[0],r[1])),r===null&&(n=g),r}function ql(){var r;return r=Q(),r===null&&(r=Me(),r===null&&(r=ee())),r}function xf(){var r,i,u,g,V,b;if(V=n,r=ml(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=fA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=fA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function ml(){var r;return A.substr(n,6).toLowerCase()==="render"?(r=A.substr(n,6),n+=6):(r=null,s('"render"')),r===null&&(A.substr(n,7).toLowerCase()==="session"?(r=A.substr(n,7),n+=7):(r=null,s('"session"')),r===null&&(A.substr(n,4).toLowerCase()==="icon"?(r=A.substr(n,4),n+=4):(r=null,s('"icon"')),r===null&&(A.substr(n,5).toLowerCase()==="alert"?(r=A.substr(n,5),n+=5):(r=null,s('"alert"')),r===null&&(r=Q())))),r}function fA(){var r;return r=Vl(),r===null&&(r=nt()),r}function Vl(){var r,i,u,g;return g=n,A.substr(n,8).toLowerCase()==="handling"?(r=A.substr(n,8),n+=8):(r=null,s('"handling"')),r!==null?(i=w(),i!==null?(A.substr(n,8).toLowerCase()==="optional"?(u=A.substr(n,8),n+=8):(u=null,s('"optional"')),u===null&&(A.substr(n,8).toLowerCase()==="required"?(u=A.substr(n,8),n+=8):(u=null,s('"required"')),u===null&&(u=Q())),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Of(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Bf(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Uf(){var r,i;return i=n,r=bl(),r!==null&&(r=function(u){z=A.substring(n,u)}(i)),r===null&&(n=i),r}function bl(){var r,i,u,g,V,b,F,oe;if(F=n,r=Cl(),r!==null)if(i=m(),i!==null)if(u=Sl(),u!==null){for(g=[],oe=n,V=le(),V!==null?(b=gA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=le(),V!==null?(b=gA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function Cl(){var r;return r=vl(),r===null&&(r=yl()),r}function vl(){var r;return A.substr(n,4).toLowerCase()==="text"?(r=A.substr(n,4),n+=4):(r=null,s('"text"')),r===null&&(A.substr(n,5).toLowerCase()==="image"?(r=A.substr(n,5),n+=5):(r=null,s('"image"')),r===null&&(A.substr(n,5).toLowerCase()==="audio"?(r=A.substr(n,5),n+=5):(r=null,s('"audio"')),r===null&&(A.substr(n,5).toLowerCase()==="video"?(r=A.substr(n,5),n+=5):(r=null,s('"video"')),r===null&&(A.substr(n,11).toLowerCase()==="application"?(r=A.substr(n,11),n+=11):(r=null,s('"application"')),r===null&&(r=to()))))),r}function yl(){var r;return A.substr(n,7).toLowerCase()==="message"?(r=A.substr(n,7),n+=7):(r=null,s('"message"')),r===null&&(A.substr(n,9).toLowerCase()==="multipart"?(r=A.substr(n,9),n+=9):(r=null,s('"multipart"')),r===null&&(r=to())),r}function to(){var r;return r=Q(),r===null&&(r=Il()),r}function Il(){var r,i,u;return u=n,A.substr(n,2).toLowerCase()==="x-"?(r=A.substr(n,2),n+=2):(r=null,s('"x-"')),r!==null?(i=Q(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function Sl(){var r;return r=to(),r===null&&(r=Q()),r}function gA(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=w(),i!==null?(u=wl(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function wl(){var r;return r=Q(),r===null&&(r=ee()),r}function Df(){var r,i,u,g;return g=n,r=El(),r!==null?(i=k(),i!==null?(u=Xr(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function El(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z.value=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Lf(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z=g}(i,r)),r===null&&(n=i),r}function Ff(){var r,i,u,g,V,b,F;if(V=n,b=n,r=sr(),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe,ce){z.event=ce.join("").toLowerCase()}(V,r[0])),r===null&&(n=V),r}function sr(){var r,i,u,g,V,b;if(V=n,r=U(),r!==null){for(i=[],b=n,A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?(g=U(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,A.charCodeAt(n)===46?(u=".",n++):(u=null,s('"."')),u!==null?(g=U(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Qf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=hA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=hA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce=z.tag;try{z=new Qn(z.uri,z.display_name,z.params),ce&&z.setParam("tag",ce)}catch{z=-1}}()),r===null&&(n=V),r}function hA(){var r;return r=pA(),r===null&&(r=nt()),r}function pA(){var r,i,u,g,V;return g=n,V=n,A.substr(n,3).toLowerCase()==="tag"?(r=A.substr(n,3),n+=3):(r=null,s('"tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.tag=F}(g,r[2])),r===null&&(n=g),r}function Yf(){var r,i,u;if(u=n,i=c(),i!==null)for(r=[];i!==null;)r.push(i),i=c();else r=null;return r!==null&&(r=function(g,V){z=parseInt(V.join(""))}(u,r)),r===null&&(n=u),r}function Gf(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z=g}(i,r)),r===null&&(n=i),r}function Kf(){var r,i,u,g,V,b,F,oe,ce,Se;for(oe=n,ce=n,r=[],i=eo();i!==null;)r.push(i),i=eo();if(r!==null)if(i=_(),i!==null)if(u=Ae(),u!==null)if(g=$(),g!==null){for(V=[],Se=n,b=le(),b!==null?(F=nt(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);b!==null;)V.push(b),Se=n,b=le(),b!==null?(F=nt(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);V!==null?r=[r,i,u,g,V]:(r=null,n=ce)}else r=null,n=ce;else r=null,n=ce;else r=null,n=ce;else r=null,n=ce;return r!==null&&(r=function(Ze){try{z=new Qn(z.uri,z.display_name,z.params)}catch{z=-1}}()),r===null&&(n=oe),r}function Jf(){var r;return r=qA(),r}function qA(){var r,i,u,g,V,b,F,oe;if(F=n,A.substr(n,6).toLowerCase()==="digest"?(r=A.substr(n,6),n+=6):(r=null,s('"Digest"')),r!==null)if(i=k(),i!==null)if(u=no(),u!==null){for(g=[],oe=n,V=se(),V!==null?(b=no(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=se(),V!==null?(b=no(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r===null&&(r=kl()),r}function kl(){var r,i,u,g,V,b,F,oe;if(F=n,r=Q(),r!==null)if(i=k(),i!==null)if(u=lr(),u!==null){for(g=[],oe=n,V=se(),V!==null?(b=lr(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=se(),V!==null?(b=lr(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function lr(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=w(),i!==null?(u=Q(),u===null&&(u=ee()),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function no(){var r;return r=Tl(),r===null&&(r=Ml(),r===null&&(r=xl(),r===null&&(r=Bl(),r===null&&(r=Ul(),r===null&&(r=Dl(),r===null&&(r=Ll(),r===null&&(r=lr()))))))),r}function Tl(){var r,i,u,g;return g=n,A.substr(n,5).toLowerCase()==="realm"?(r=A.substr(n,5),n+=5):(r=null,s('"realm"')),r!==null?(i=w(),i!==null?(u=Rl(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Rl(){var r,i;return i=n,r=te(),r!==null&&(r=function(u,g){z.realm=g}(i,r)),r===null&&(n=i),r}function Ml(){var r,i,u,g,V,b,F,oe,ce;if(oe=n,A.substr(n,6).toLowerCase()==="domain"?(r=A.substr(n,6),n+=6):(r=null,s('"domain"')),r!==null)if(i=w(),i!==null)if(u=pe(),u!==null)if(g=ro(),g!==null){if(V=[],ce=n,F=I(),F!==null)for(b=[];F!==null;)b.push(F),F=I();else b=null;for(b!==null?(F=ro(),F!==null?b=[b,F]:(b=null,n=ce)):(b=null,n=ce);b!==null;){if(V.push(b),ce=n,F=I(),F!==null)for(b=[];F!==null;)b.push(F),F=I();else b=null;b!==null?(F=ro(),F!==null?b=[b,F]:(b=null,n=ce)):(b=null,n=ce)}V!==null?(b=fe(),b!==null?r=[r,i,u,g,V,b]:(r=null,n=oe)):(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;return r}function ro(){var r;return r=aA(),r===null&&(r=zr()),r}function xl(){var r,i,u,g;return g=n,A.substr(n,5).toLowerCase()==="nonce"?(r=A.substr(n,5),n+=5):(r=null,s('"nonce"')),r!==null?(i=w(),i!==null?(u=Ol(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Ol(){var r,i;return i=n,r=te(),r!==null&&(r=function(u,g){z.nonce=g}(i,r)),r===null&&(n=i),r}function Bl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="opaque"?(r=A.substr(n,6),n+=6):(r=null,s('"opaque"')),r!==null?(i=w(),i!==null?(u=te(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.opaque=F}(g,r[2])),r===null&&(n=g),r}function Ul(){var r,i,u,g,V;return g=n,A.substr(n,5).toLowerCase()==="stale"?(r=A.substr(n,5),n+=5):(r=null,s('"stale"')),r!==null?(i=w(),i!==null?(V=n,A.substr(n,4).toLowerCase()==="true"?(u=A.substr(n,4),n+=4):(u=null,s('"true"')),u!==null&&(u=function(b){z.stale=!0}()),u===null&&(n=V),u===null&&(V=n,A.substr(n,5).toLowerCase()==="false"?(u=A.substr(n,5),n+=5):(u=null,s('"false"')),u!==null&&(u=function(b){z.stale=!1}()),u===null&&(n=V)),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Dl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,9).toLowerCase()==="algorithm"?(r=A.substr(n,9),n+=9):(r=null,s('"algorithm"')),r!==null?(i=w(),i!==null?(A.substr(n,3).toLowerCase()==="md5"?(u=A.substr(n,3),n+=3):(u=null,s('"MD5"')),u===null&&(A.substr(n,8).toLowerCase()==="md5-sess"?(u=A.substr(n,8),n+=8):(u=null,s('"MD5-sess"')),u===null&&(u=Q())),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.algorithm=F.toUpperCase()}(g,r[2])),r===null&&(n=g),r}function Ll(){var r,i,u,g,V,b,F,oe,ce,Se;if(oe=n,A.substr(n,3).toLowerCase()==="qop"?(r=A.substr(n,3),n+=3):(r=null,s('"qop"')),r!==null)if(i=w(),i!==null)if(u=pe(),u!==null){if(ce=n,g=oo(),g!==null){for(V=[],Se=n,A.charCodeAt(n)===44?(b=",",n++):(b=null,s('","')),b!==null?(F=oo(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);b!==null;)V.push(b),Se=n,A.charCodeAt(n)===44?(b=",",n++):(b=null,s('","')),b!==null?(F=oo(),F!==null?b=[b,F]:(b=null,n=Se)):(b=null,n=Se);V!==null?g=[g,V]:(g=null,n=ce)}else g=null,n=ce;g!==null?(V=fe(),V!==null?r=[r,i,u,g,V]:(r=null,n=oe)):(r=null,n=oe)}else r=null,n=oe;else r=null,n=oe;else r=null,n=oe;return r}function oo(){var r,i;return i=n,A.substr(n,8).toLowerCase()==="auth-int"?(r=A.substr(n,8),n+=8):(r=null,s('"auth-int"')),r===null&&(A.substr(n,4).toLowerCase()==="auth"?(r=A.substr(n,4),n+=4):(r=null,s('"auth"')),r===null&&(r=Q())),r!==null&&(r=function(u,g){z.qop||(z.qop=[]),z.qop.push(g.toLowerCase())}(i,r)),r===null&&(n=i),r}function Nf(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function jf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=Ao(),r!==null){for(i=[],F=n,u=se(),u!==null?(g=Ao(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=se(),u!==null?(g=Ao(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce,Se;for(Se=z.multi_header.length,ce=0;ce<Se;ce++)if(z.multi_header[ce].parsed===null){z=null;break}z!==null?z=z.multi_header:z=-1}()),r===null&&(n=V),r}function Ao(){var r,i,u,g,V,b,F;if(V=n,b=n,r=wn(),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce;z.multi_header||(z.multi_header=[]);try{ce=new Qn(z.uri,z.display_name,z.params),delete z.uri,delete z.display_name,delete z.params}catch{ce=null}z.multi_header.push({possition:n,offset:oe,parsed:ce})}(V)),r===null&&(n=V),r}function Wf(){var r,i,u,g,V,b,F;if(V=n,b=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r===null&&(r=Q()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=mA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=mA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe,ce){if(z.protocol=ce.toLowerCase(),z.params||(z.params={}),z.params.text&&z.params.text[0]==='"'){var Se=z.params.text;z.text=Se.substring(1,Se.length-1),delete z.params.text}}(V,r[0])),r===null&&(n=V),r}function mA(){var r;return r=Fl(),r===null&&(r=nt()),r}function Fl(){var r,i,u,g,V,b;if(V=n,b=n,A.substr(n,5).toLowerCase()==="cause"?(r=A.substr(n,5),n+=5):(r=null,s('"cause"')),r!==null)if(i=w(),i!==null){if(g=c(),g!==null)for(u=[];g!==null;)u.push(g),g=c();else u=null;u!==null?r=[r,i,u]:(r=null,n=b)}else r=null,n=b;else r=null,n=b;return r!==null&&(r=function(F,oe){z.cause=parseInt(oe.join(""))}(V,r[2])),r===null&&(n=V),r}function Hf(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Zf(){var r,i,u,g,V,b;if(V=n,r=io(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=io(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=io(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function io(){var r,i,u,g,V,b;if(V=n,r=wn(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Pf(){var r,i,u,g,V,b;if(V=n,r=Ql(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=VA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=VA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Ql(){var r,i;return i=n,A.substr(n,6).toLowerCase()==="active"?(r=A.substr(n,6),n+=6):(r=null,s('"active"')),r===null&&(A.substr(n,7).toLowerCase()==="pending"?(r=A.substr(n,7),n+=7):(r=null,s('"pending"')),r===null&&(A.substr(n,10).toLowerCase()==="terminated"?(r=A.substr(n,10),n+=10):(r=null,s('"terminated"')),r===null&&(r=Q()))),r!==null&&(r=function(u){z.state=A.substring(n,u)}(i)),r===null&&(n=i),r}function VA(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="reason"?(r=A.substr(n,6),n+=6):(r=null,s('"reason"')),r!==null?(i=w(),i!==null?(u=Yl(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.reason=F)}(g,r[2])),r===null&&(n=g),r===null&&(g=n,V=n,A.substr(n,7).toLowerCase()==="expires"?(r=A.substr(n,7),n+=7):(r=null,s('"expires"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.expires=F)}(g,r[2])),r===null&&(n=g),r===null&&(g=n,V=n,A.substr(n,11).toLowerCase()==="retry_after"?(r=A.substr(n,11),n+=11):(r=null,s('"retry_after"')),r!==null?(i=w(),i!==null?(u=En(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){typeof F<"u"&&(z.retry_after=F)}(g,r[2])),r===null&&(n=g),r===null&&(r=nt()))),r}function Yl(){var r;return A.substr(n,11).toLowerCase()==="deactivated"?(r=A.substr(n,11),n+=11):(r=null,s('"deactivated"')),r===null&&(A.substr(n,9).toLowerCase()==="probation"?(r=A.substr(n,9),n+=9):(r=null,s('"probation"')),r===null&&(A.substr(n,8).toLowerCase()==="rejected"?(r=A.substr(n,8),n+=8):(r=null,s('"rejected"')),r===null&&(A.substr(n,7).toLowerCase()==="timeout"?(r=A.substr(n,7),n+=7):(r=null,s('"timeout"')),r===null&&(A.substr(n,6).toLowerCase()==="giveup"?(r=A.substr(n,6),n+=6):(r=null,s('"giveup"')),r===null&&(A.substr(n,10).toLowerCase()==="noresource"?(r=A.substr(n,10),n+=10):(r=null,s('"noresource"')),r===null&&(A.substr(n,9).toLowerCase()==="invariant"?(r=A.substr(n,9),n+=9):(r=null,s('"invariant"')),r===null&&(r=Q()))))))),r}function zf(){var r;return r=W(),r=r!==null?r:"",r}function _f(){var r,i,u,g,V,b;if(V=n,r=Q(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=Q(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r=r!==null?r:"",r}function Xf(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=bA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=bA(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){var ce=z.tag;try{z=new Qn(z.uri,z.display_name,z.params),ce&&z.setParam("tag",ce)}catch{z=-1}}()),r===null&&(n=V),r}function bA(){var r;return r=pA(),r===null&&(r=nt()),r}function $f(){var r,i,u,g,V,b;if(V=n,r=so(),r!==null){for(i=[],b=n,u=se(),u!==null?(g=so(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=se(),u!==null?(g=so(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function so(){var r,i,u,g,V,b,F,oe;if(F=n,r=Hl(),r!==null)if(i=k(),i!==null)if(u=zl(),u!==null){for(g=[],oe=n,V=le(),V!==null?(b=CA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);V!==null;)g.push(V),oe=n,V=le(),V!==null?(b=CA(),b!==null?V=[V,b]:(V=null,n=oe)):(V=null,n=oe);g!==null?r=[r,i,u,g]:(r=null,n=F)}else r=null,n=F;else r=null,n=F;else r=null,n=F;return r}function CA(){var r;return r=Gl(),r===null&&(r=Kl(),r===null&&(r=Jl(),r===null&&(r=Nl(),r===null&&(r=jl(),r===null&&(r=nt()))))),r}function Gl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,3).toLowerCase()==="ttl"?(r=A.substr(n,3),n+=3):(r=null,s('"ttl"')),r!==null?(i=w(),i!==null?(u=vA(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.ttl=F}(g,r[2])),r===null&&(n=g),r}function Kl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,5).toLowerCase()==="maddr"?(r=A.substr(n,5),n+=5):(r=null,s('"maddr"')),r!==null?(i=w(),i!==null?(u=Me(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.maddr=F}(g,r[2])),r===null&&(n=g),r}function Jl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,8).toLowerCase()==="received"?(r=A.substr(n,8),n+=8):(r=null,s('"received"')),r!==null?(i=w(),i!==null?(u=ct(),u===null&&(u=Zt()),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.received=F}(g,r[2])),r===null&&(n=g),r}function Nl(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6).toLowerCase()==="branch"?(r=A.substr(n,6),n+=6):(r=null,s('"branch"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.branch=F}(g,r[2])),r===null&&(n=g),r}function jl(){var r,i,u,g,V;return g=n,A.substr(n,5).toLowerCase()==="rport"?(r=A.substr(n,5),n+=5):(r=null,s('"rport"')),r!==null?(V=n,i=w(),i!==null?(u=Wl(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function Wl(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){z.rport=parseInt(ce.join(""))}(b,r)),r===null&&(n=b),r}function Hl(){var r,i,u,g,V,b;return b=n,r=Zl(),r!==null?(i=m(),i!==null?(u=Q(),u!==null?(g=m(),g!==null?(V=Pl(),V!==null?r=[r,i,u,g,V]:(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b)):(r=null,n=b),r}function Zl(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="sip"?(r=A.substr(n,3),n+=3):(r=null,s('"SIP"')),r===null&&(r=Q()),r!==null&&(r=function(u,g){z.protocol=g}(i,r)),r===null&&(n=i),r}function Pl(){var r,i;return i=n,A.substr(n,3).toLowerCase()==="udp"?(r=A.substr(n,3),n+=3):(r=null,s('"UDP"')),r===null&&(A.substr(n,3).toLowerCase()==="tcp"?(r=A.substr(n,3),n+=3):(r=null,s('"TCP"')),r===null&&(A.substr(n,3).toLowerCase()==="tls"?(r=A.substr(n,3),n+=3):(r=null,s('"TLS"')),r===null&&(A.substr(n,4).toLowerCase()==="sctp"?(r=A.substr(n,4),n+=4):(r=null,s('"SCTP"')),r===null&&(r=Q())))),r!==null&&(r=function(u,g){z.transport=g}(i,r)),r===null&&(n=i),r}function zl(){var r,i,u,g,V;return g=n,r=_l(),r!==null?(V=n,i=ge(),i!==null?(u=Xl(),u!==null?i=[i,u]:(i=null,n=V)):(i=null,n=V),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=g)):(r=null,n=g),r}function _l(){var r,i;return i=n,r=ct(),r===null&&(r=vt(),r===null&&(r=lt())),r!==null&&(r=function(u){z.host=A.substring(n,u)}(i)),r===null&&(n=i),r}function Xl(){var r,i,u,g,V,b,F;return b=n,F=n,r=c(),r=r!==null?r:"",r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?(g=c(),g=g!==null?g:"",g!==null?(V=c(),V=V!==null?V:"",V!==null?r=[r,i,u,g,V]:(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F)):(r=null,n=F),r!==null&&(r=function(oe,ce){z.port=parseInt(ce.join(""))}(b,r)),r===null&&(n=b),r}function vA(){var r,i,u,g,V;return g=n,V=n,r=c(),r!==null?(i=c(),i=i!==null?i:"",i!==null?(u=c(),u=u!==null?u:"",u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){return parseInt(F.join(""))}(g,r)),r===null&&(n=g),r}function eg(){var r;return r=qA(),r}function tg(){var r,i,u,g,V,b;if(V=n,r=$l(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=yA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=yA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function $l(){var r,i;return i=n,r=En(),r!==null&&(r=function(u,g){z.expires=g}(i,r)),r===null&&(n=i),r}function yA(){var r;return r=ea(),r===null&&(r=nt()),r}function ea(){var r,i,u,g,V;return g=n,V=n,A.substr(n,9).toLowerCase()==="refresher"?(r=A.substr(n,9),n+=9):(r=null,s('"refresher"')),r!==null?(i=w(),i!==null?(A.substr(n,3).toLowerCase()==="uac"?(u=A.substr(n,3),n+=3):(u=null,s('"uac"')),u===null&&(A.substr(n,3).toLowerCase()==="uas"?(u=A.substr(n,3),n+=3):(u=null,s('"uas"'))),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.refresher=F.toLowerCase()}(g,r[2])),r===null&&(n=g),r}function ng(){var r,i,u,g;return g=n,r=Q(),r!==null?(i=N(),i!==null?(u=ta(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function ta(){var r,i;for(r=[],i=B(),i===null&&(i=y(),i===null&&(i=k()));i!==null;)r.push(i),i=B(),i===null&&(i=y(),i===null&&(i=k()));return r}function rg(){var r,i;for(r=[],i=T();i!==null;)r.push(i),i=T();return r}function og(){var r,i,u;return u=n,A.substr(n,5)==="uuid:"?(r="uuid:",n+=5):(r=null,s('"uuid:"')),r!==null?(i=na(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function na(){var r,i,u,g,V,b,F,oe,ce,Se,Ze;return Se=n,Ze=n,r=ra(),r!==null?(A.charCodeAt(n)===45?(i="-",n++):(i=null,s('"-"')),i!==null?(u=Pt(),u!==null?(A.charCodeAt(n)===45?(g="-",n++):(g=null,s('"-"')),g!==null?(V=Pt(),V!==null?(A.charCodeAt(n)===45?(b="-",n++):(b=null,s('"-"')),b!==null?(F=Pt(),F!==null?(A.charCodeAt(n)===45?(oe="-",n++):(oe=null,s('"-"')),oe!==null?(ce=oa(),ce!==null?r=[r,i,u,g,V,b,F,oe,ce]:(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze)):(r=null,n=Ze),r!==null&&(r=function(Gt,lo){z=A.substring(n+5,Gt)}(Se,r[0])),r===null&&(n=Se),r}function Pt(){var r,i,u,g,V;return V=n,r=q(),r!==null?(i=q(),i!==null?(u=q(),u!==null?(g=q(),g!==null?r=[r,i,u,g]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r}function ra(){var r,i,u;return u=n,r=Pt(),r!==null?(i=Pt(),i!==null?r=[r,i]:(r=null,n=u)):(r=null,n=u),r}function oa(){var r,i,u,g;return g=n,r=Pt(),r!==null?(i=Pt(),i!==null?(u=Pt(),u!==null?r=[r,i,u]:(r=null,n=g)):(r=null,n=g)):(r=null,n=g),r}function Ag(){var r,i,u,g,V,b,F;if(V=n,b=n,r=ne(),r===null&&(r=wn()),r!==null){for(i=[],F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);u!==null;)i.push(u),F=n,u=le(),u!==null?(g=nt(),g!==null?u=[u,g]:(u=null,n=F)):(u=null,n=F);i!==null?r=[r,i]:(r=null,n=b)}else r=null,n=b;return r!==null&&(r=function(oe){try{z=new Qn(z.uri,z.display_name,z.params)}catch{z=-1}}()),r===null&&(n=V),r}function ig(){var r,i,u,g,V,b;if(V=n,r=Aa(),r!==null){for(i=[],b=n,u=le(),u!==null?(g=IA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);u!==null;)i.push(u),b=n,u=le(),u!==null?(g=IA(),g!==null?u=[u,g]:(u=null,n=b)):(u=null,n=b);i!==null?r=[r,i]:(r=null,n=V)}else r=null,n=V;return r}function Aa(){var r,i,u,g,V,b;return g=n,V=n,r=P(),r!==null?(b=n,A.charCodeAt(n)===64?(i="@",n++):(i=null,s('"@"')),i!==null?(u=P(),u!==null?i=[i,u]:(i=null,n=b)):(i=null,n=b),i=i!==null?i:"",i!==null?r=[r,i]:(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(F){z.call_id=A.substring(n,F)}(g)),r===null&&(n=g),r}function IA(){var r;return r=ia(),r===null&&(r=sa(),r===null&&(r=la(),r===null&&(r=nt()))),r}function ia(){var r,i,u,g,V;return g=n,V=n,A.substr(n,6)==="to-tag"?(r="to-tag",n+=6):(r=null,s('"to-tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.to_tag=F}(g,r[2])),r===null&&(n=g),r}function sa(){var r,i,u,g,V;return g=n,V=n,A.substr(n,8)==="from-tag"?(r="from-tag",n+=8):(r=null,s('"from-tag"')),r!==null?(i=w(),i!==null?(u=Q(),u!==null?r=[r,i,u]:(r=null,n=V)):(r=null,n=V)):(r=null,n=V),r!==null&&(r=function(b,F){z.from_tag=F}(g,r[2])),r===null&&(n=g),r}function la(){var r,i;return i=n,A.substr(n,10)==="early-only"?(r="early-only",n+=10):(r=null,s('"early-only"')),r!==null&&(r=function(u){z.early_only=!0}()),r===null&&(n=i),r}function sg(r){r.sort();for(var i=null,u=[],g=0;g<r.length;g++)r[g]!==i&&(u.push(r[g]),i=r[g]);return u}function lg(){for(var r=1,i=1,u=!1,g=0;g<Math.max(n,f);g++){var V=A.charAt(g);V===`
|
|
11
11
|
`?(u||r++,i=1,u=!1):V==="\r"||V==="\u2028"||V==="\u2029"?(r++,i=1,u=!0):(i++,u=!1)}return{line:r,column:i}}var aa=yn(),Qn=gs(),z={},ag=a[l]();if(ag===null||n!==A.length){var SA=Math.max(n,f),ug=SA<A.length?A.charAt(SA):null,ua=lg();return new this.SyntaxError(sg(h),ug,SA,ua.line,ua.column),-1}return z},toSource:function(){return this._source}};return t.SyntaxError=function(o,A,l,a,n){function f(h,s){var d,c;switch(h.length){case 0:d="end of input";break;case 1:d=h[0];break;default:d=h.slice(0,h.length-1).join(", ")+" or "+h[h.length-1]}return c=s?e(s):"end of input","Expected "+d+" but "+c+" found."}this.name="SyntaxError",this.expected=o,this.found=A,this.message=f(o,A),this.offset=l,this.line=a,this.column=n},t.SyntaxError.prototype=Error.prototype,t}()),JA}var NA,tu;function yn(){if(tu)return NA;tu=1;function e(s,d){var c;if(typeof Symbol>"u"||s[Symbol.iterator]==null){if(Array.isArray(s)||(c=t(s))||d){c&&(s=c);var p=0,q=function(){};return{s:q,n:function(){return p>=s.length?{done:!0}:{done:!1,value:s[p++]}},e:function(x){throw x},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
12
12
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M=!0,T=!1,R;return{s:function(){c=s[Symbol.iterator]()},n:function(){var x=c.next();return M=x.done,x},e:function(x){T=!0,R=x},f:function(){try{!M&&c.return!=null&&c.return()}finally{if(T)throw R}}}}function t(s,d){if(s){if(typeof s=="string")return o(s,d);var c=Object.prototype.toString.call(s).slice(8,-1);if(c==="Object"&&s.constructor&&(c=s.constructor.name),c==="Map"||c==="Set")return Array.from(s);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return o(s,d)}}function o(s,d){(d==null||d>s.length)&&(d=s.length);for(var c=0,p=new Array(d);c<d;c++)p[c]=s[c];return p}function A(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")}function l(s,d){for(var c=0;c<d.length;c++){var p=d[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function a(s,d,c){return d&&l(s.prototype,d),c&&l(s,c),s}var n=rt(),f=pt(),h=Ht();return NA=function(){a(s,null,[{key:"parse",value:function(c){if(c=h.parse(c,"SIP_URI"),c!==-1)return c}}]);function s(d,c,p,q){var M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},T=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(A(this,s),!p)throw new TypeError('missing or invalid "host" parameter');this._parameters={},this._headers={},this._scheme=d||n.SIP,this._user=c,this._host=p,this._port=q;for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&this.setParam(R,M[R]);for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&this.setHeader(I,T[I])}return a(s,[{key:"setParam",value:function(c,p){c&&(this._parameters[c.toLowerCase()]=typeof p>"u"||p===null?null:p.toString())}},{key:"getParam",value:function(c){if(c)return this._parameters[c.toLowerCase()]}},{key:"hasParam",value:function(c){if(c)return this._parameters.hasOwnProperty(c.toLowerCase())&&!0||!1}},{key:"deleteParam",value:function(c){if(c=c.toLowerCase(),this._parameters.hasOwnProperty(c)){var p=this._parameters[c];return delete this._parameters[c],p}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"setHeader",value:function(c,p){this._headers[f.headerize(c)]=Array.isArray(p)?p:[p]}},{key:"getHeader",value:function(c){if(c)return this._headers[f.headerize(c)]}},{key:"hasHeader",value:function(c){if(c)return this._headers.hasOwnProperty(f.headerize(c))&&!0||!1}},{key:"deleteHeader",value:function(c){if(c=f.headerize(c),this._headers.hasOwnProperty(c)){var p=this._headers[c];return delete this._headers[c],p}}},{key:"clearHeaders",value:function(){this._headers={}}},{key:"clone",value:function(){return new s(this._scheme,this._user,this._host,this._port,JSON.parse(JSON.stringify(this._parameters)),JSON.parse(JSON.stringify(this._headers)))}},{key:"toString",value:function(){var c=[],p="".concat(this._scheme,":");this._user&&(p+="".concat(f.escapeUser(this._user),"@")),p+=this._host,(this._port||this._port===0)&&(p+=":".concat(this._port));for(var q in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,q)&&(p+=";".concat(q),this._parameters[q]!==null&&(p+="=".concat(this._parameters[q])));for(var M in this._headers)if(Object.prototype.hasOwnProperty.call(this._headers,M)){var T=e(this._headers[M]),R;try{for(T.s();!(R=T.n()).done;){var I=R.value;c.push("".concat(M,"=").concat(I))}}catch(x){T.e(x)}finally{T.f()}}return c.length>0&&(p+="?".concat(c.join("&"))),p}},{key:"toAor",value:function(c){var p="".concat(this._scheme,":");return this._user&&(p+="".concat(f.escapeUser(this._user),"@")),p+=this._host,c&&(this._port||this._port===0)&&(p+=":".concat(this._port)),p}},{key:"scheme",get:function(){return this._scheme},set:function(c){this._scheme=c.toLowerCase()}},{key:"user",get:function(){return this._user},set:function(c){this._user=c}},{key:"host",get:function(){return this._host},set:function(c){this._host=c.toLowerCase()}},{key:"port",get:function(){return this._port},set:function(c){this._port=c===0?c:parseInt(c,10)||null}}]),s}(),NA}var nu;function pt(){if(nu)return Xe;nu=1;function e(d){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(p){return typeof p}:e=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(d)}function t(d,c){var p;if(typeof Symbol>"u"||d[Symbol.iterator]==null){if(Array.isArray(d)||(p=o(d))||c){p&&(d=p);var q=0,M=function(){};return{s:M,n:function(){return q>=d.length?{done:!0}:{done:!1,value:d[q++]}},e:function(E){throw E},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
13
13
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,R=!1,I;return{s:function(){p=d[Symbol.iterator]()},n:function(){var E=p.next();return T=E.done,E},e:function(E){R=!0,I=E},f:function(){try{!T&&p.return!=null&&p.return()}finally{if(R)throw I}}}}function o(d,c){if(d){if(typeof d=="string")return A(d,c);var p=Object.prototype.toString.call(d).slice(8,-1);if(p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set")return Array.from(d);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return A(d,c)}}function A(d,c){(c==null||c>d.length)&&(c=d.length);for(var p=0,q=new Array(c);p<c;p++)q[p]=d[p];return q}var l=rt(),a=yn(),n=Ht();Xe.str_utf8_length=function(d){return unescape(encodeURIComponent(d)).length};var f=Xe.isFunction=function(d){return d!==void 0?Object.prototype.toString.call(d)==="[object Function]":!1};Xe.isString=function(d){return d!==void 0?Object.prototype.toString.call(d)==="[object String]":!1},Xe.isDecimal=function(d){return!isNaN(d)&&parseFloat(d)===parseInt(d,10)},Xe.isEmpty=function(d){return d===null||d===""||d===void 0||Array.isArray(d)&&d.length===0||typeof d=="number"&&isNaN(d)},Xe.hasMethods=function(d){for(var c=arguments.length,p=new Array(c>1?c-1:0),q=1;q<c;q++)p[q-1]=arguments[q];for(var M=0,T=p;M<T.length;M++){var R=T[M];if(f(d[R]))return!1}return!0};var h=Xe.createRandomToken=function(d){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:32,p,q,M="";for(p=0;p<d;p++)q=Math.random()*c|0,M+=q.toString(c);return M};Xe.newTag=function(){return h(10)},Xe.newUUID=function(){var d="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(c){var p=Math.random()*16|0,q=c==="x"?p:p&3|8;return q.toString(16)});return d},Xe.hostType=function(d){if(d){if(d=n.parse(d,"host"),d!==-1)return d.host_type}else return};var s=Xe.escapeUser=function(d){return encodeURIComponent(decodeURIComponent(d)).replace(/%3A/ig,":").replace(/%2B/ig,"+").replace(/%3F/ig,"?").replace(/%2F/ig,"/")};return Xe.normalizeTarget=function(d,c){if(d){if(d instanceof a)return d;if(typeof d=="string"){var p=d.split("@"),q,M;switch(p.length){case 1:if(!c)return;q=d,M=c;break;case 2:q=p[0],M=p[1];break;default:q=p.slice(0,p.length-1).join("@"),M=p[p.length-1]}q=q.replace(/^(sips?|tel):/i,""),/^[-.()]*\+?[0-9\-.()]+$/.test(q)&&(q=q.replace(/[-.()]/g,"")),d="".concat(l.SIP,":").concat(s(q),"@").concat(M);var T;return(T=a.parse(d))?T:void 0}else return}else return},Xe.headerize=function(d){var c={"Call-Id":"Call-ID",Cseq:"CSeq","Www-Authenticate":"WWW-Authenticate"},p=d.toLowerCase().replace(/_/g,"-").split("-"),q="",M=p.length,T;for(T=0;T<M;T++)T!==0&&(q+="-"),q+=p[T].charAt(0).toUpperCase()+p[T].substring(1);return c[q]&&(q=c[q]),q},Xe.sipErrorCause=function(d){for(var c in l.SIP_ERROR_CAUSES)if(l.SIP_ERROR_CAUSES[c].indexOf(d)!==-1)return l.causes[c];return l.causes.SIP_FAILURE_CODE},Xe.getRandomTestNetIP=function(){function d(c,p){return Math.floor(Math.random()*(p-c+1)+c)}return"192.0.2.".concat(d(1,254))},Xe.calculateMD5=function(d){function c(te,X){return te<<X|te>>>32-X}function p(te,X){var re=te&2147483648,ne=X&2147483648,Ae=te&1073741824,ue=X&1073741824,ae=(te&1073741823)+(X&1073741823);return Ae&ue?ae^2147483648^re^ne:Ae|ue?ae&1073741824?ae^3221225472^re^ne:ae^1073741824^re^ne:ae^re^ne}function q(te,X,re){return te&X|~te&re}function M(te,X,re){return te&re|X&~re}function T(te,X,re){return te^X^re}function R(te,X,re){return X^(te|~re)}function I(te,X,re,ne,Ae,ue,ae){return te=p(te,p(p(q(X,re,ne),Ae),ae)),p(c(te,ue),X)}function x(te,X,re,ne,Ae,ue,ae){return te=p(te,p(p(M(X,re,ne),Ae),ae)),p(c(te,ue),X)}function E(te,X,re,ne,Ae,ue,ae){return te=p(te,p(p(T(X,re,ne),Ae),ae)),p(c(te,ue),X)}function C(te,X,re,ne,Ae,ue,ae){return te=p(te,p(p(R(X,re,ne),Ae),ae)),p(c(te,ue),X)}function v(te){for(var X,re=te.length,ne=re+8,Ae=(ne-ne%64)/64,ue=(Ae+1)*16,ae=new Array(ue-1),ve=0,he=0;he<re;)X=(he-he%4)/4,ve=he%4*8,ae[X]=ae[X]|te.charCodeAt(he)<<ve,he++;return X=(he-he%4)/4,ve=he%4*8,ae[X]=ae[X]|128<<ve,ae[ue-2]=re<<3,ae[ue-1]=re>>>29,ae}function O(te){var X="",re="",ne,Ae;for(Ae=0;Ae<=3;Ae++)ne=te>>>Ae*8&255,re="0".concat(ne.toString(16)),X=X+re.substr(re.length-2,2);return X}function L(te){for(var X="",re=0;re<te.length;re++){var ne=te.charCodeAt(re);ne<128?X+=String.fromCharCode(ne):ne>127&&ne<2048?(X+=String.fromCharCode(ne>>6|192),X+=String.fromCharCode(ne&63|128)):(X+=String.fromCharCode(ne>>12|224),X+=String.fromCharCode(ne>>6&63|128),X+=String.fromCharCode(ne&63|128))}return X}var k=[],D,N,W,B,H,y,S,Q,U,J=7,P=12,G=17,m=22,w=5,j=9,Z=14,$=20,_=4,se=11,le=16,ge=23,pe=6,fe=10,Y=15,K=21;for(d=L(d),k=v(d),y=1732584193,S=4023233417,Q=2562383102,U=271733878,D=0;D<k.length;D+=16)N=y,W=S,B=Q,H=U,y=I(y,S,Q,U,k[D+0],J,3614090360),U=I(U,y,S,Q,k[D+1],P,3905402710),Q=I(Q,U,y,S,k[D+2],G,606105819),S=I(S,Q,U,y,k[D+3],m,3250441966),y=I(y,S,Q,U,k[D+4],J,4118548399),U=I(U,y,S,Q,k[D+5],P,1200080426),Q=I(Q,U,y,S,k[D+6],G,2821735955),S=I(S,Q,U,y,k[D+7],m,4249261313),y=I(y,S,Q,U,k[D+8],J,1770035416),U=I(U,y,S,Q,k[D+9],P,2336552879),Q=I(Q,U,y,S,k[D+10],G,4294925233),S=I(S,Q,U,y,k[D+11],m,2304563134),y=I(y,S,Q,U,k[D+12],J,1804603682),U=I(U,y,S,Q,k[D+13],P,4254626195),Q=I(Q,U,y,S,k[D+14],G,2792965006),S=I(S,Q,U,y,k[D+15],m,1236535329),y=x(y,S,Q,U,k[D+1],w,4129170786),U=x(U,y,S,Q,k[D+6],j,3225465664),Q=x(Q,U,y,S,k[D+11],Z,643717713),S=x(S,Q,U,y,k[D+0],$,3921069994),y=x(y,S,Q,U,k[D+5],w,3593408605),U=x(U,y,S,Q,k[D+10],j,38016083),Q=x(Q,U,y,S,k[D+15],Z,3634488961),S=x(S,Q,U,y,k[D+4],$,3889429448),y=x(y,S,Q,U,k[D+9],w,568446438),U=x(U,y,S,Q,k[D+14],j,3275163606),Q=x(Q,U,y,S,k[D+3],Z,4107603335),S=x(S,Q,U,y,k[D+8],$,1163531501),y=x(y,S,Q,U,k[D+13],w,2850285829),U=x(U,y,S,Q,k[D+2],j,4243563512),Q=x(Q,U,y,S,k[D+7],Z,1735328473),S=x(S,Q,U,y,k[D+12],$,2368359562),y=E(y,S,Q,U,k[D+5],_,4294588738),U=E(U,y,S,Q,k[D+8],se,2272392833),Q=E(Q,U,y,S,k[D+11],le,1839030562),S=E(S,Q,U,y,k[D+14],ge,4259657740),y=E(y,S,Q,U,k[D+1],_,2763975236),U=E(U,y,S,Q,k[D+4],se,1272893353),Q=E(Q,U,y,S,k[D+7],le,4139469664),S=E(S,Q,U,y,k[D+10],ge,3200236656),y=E(y,S,Q,U,k[D+13],_,681279174),U=E(U,y,S,Q,k[D+0],se,3936430074),Q=E(Q,U,y,S,k[D+3],le,3572445317),S=E(S,Q,U,y,k[D+6],ge,76029189),y=E(y,S,Q,U,k[D+9],_,3654602809),U=E(U,y,S,Q,k[D+12],se,3873151461),Q=E(Q,U,y,S,k[D+15],le,530742520),S=E(S,Q,U,y,k[D+2],ge,3299628645),y=C(y,S,Q,U,k[D+0],pe,4096336452),U=C(U,y,S,Q,k[D+7],fe,1126891415),Q=C(Q,U,y,S,k[D+14],Y,2878612391),S=C(S,Q,U,y,k[D+5],K,4237533241),y=C(y,S,Q,U,k[D+12],pe,1700485571),U=C(U,y,S,Q,k[D+3],fe,2399980690),Q=C(Q,U,y,S,k[D+10],Y,4293915773),S=C(S,Q,U,y,k[D+1],K,2240044497),y=C(y,S,Q,U,k[D+8],pe,1873313359),U=C(U,y,S,Q,k[D+15],fe,4264355552),Q=C(Q,U,y,S,k[D+6],Y,2734768916),S=C(S,Q,U,y,k[D+13],K,1309151649),y=C(y,S,Q,U,k[D+4],pe,4149444226),U=C(U,y,S,Q,k[D+11],fe,3174756917),Q=C(Q,U,y,S,k[D+2],Y,718787259),S=C(S,Q,U,y,k[D+9],K,3951481745),y=p(y,N),S=p(S,W),Q=p(Q,B),U=p(U,H);var ee=O(y)+O(S)+O(Q)+O(U);return ee.toLowerCase()},Xe.closeMediaStream=function(d){if(d)try{var c;if(d.getTracks){c=d.getTracks();var p=t(c),q;try{for(p.s();!(q=p.n()).done;){var M=q.value;M.stop()}}catch(v){p.e(v)}finally{p.f()}}else{c=d.getAudioTracks();var T=t(c),R;try{for(T.s();!(R=T.n()).done;){var I=R.value;I.stop()}}catch(v){T.e(v)}finally{T.f()}c=d.getVideoTracks();var x=t(c),E;try{for(x.s();!(E=x.n()).done;){var C=E.value;C.stop()}}catch(v){x.e(v)}finally{x.f()}}}catch{(typeof d.stop=="function"||e(d.stop)==="object")&&d.stop()}},Xe.cloneArray=function(d){return d&&d.slice()||[]},Xe.cloneObject=function(d){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d&&Object.assign({},d)||c},Xe}var po={exports:{}},ru;function un(){if(ru)return po.exports;ru=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(v,O,L){return Function.prototype.apply.call(v,O,L)},o;e&&typeof e.ownKeys=="function"?o=e.ownKeys:Object.getOwnPropertySymbols?o=function(v){return Object.getOwnPropertyNames(v).concat(Object.getOwnPropertySymbols(v))}:o=function(v){return Object.getOwnPropertyNames(v)};function A(C){console&&console.warn&&console.warn(C)}var l=Number.isNaN||function(v){return v!==v};function a(){a.init.call(this)}po.exports=a,po.exports.once=I,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var n=10;function f(C){if(typeof C!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof C)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return n},set:function(C){if(typeof C!="number"||C<0||l(C))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+C+".");n=C}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(v){if(typeof v!="number"||v<0||l(v))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+v+".");return this._maxListeners=v,this};function h(C){return C._maxListeners===void 0?a.defaultMaxListeners:C._maxListeners}a.prototype.getMaxListeners=function(){return h(this)},a.prototype.emit=function(v){for(var O=[],L=1;L<arguments.length;L++)O.push(arguments[L]);var k=v==="error",D=this._events;if(D!==void 0)k=k&&D.error===void 0;else if(!k)return!1;if(k){var N;if(O.length>0&&(N=O[0]),N instanceof Error)throw N;var W=new Error("Unhandled error."+(N?" ("+N.message+")":""));throw W.context=N,W}var B=D[v];if(B===void 0)return!1;if(typeof B=="function")t(B,this,O);else for(var H=B.length,y=M(B,H),L=0;L<H;++L)t(y[L],this,O);return!0};function s(C,v,O,L){var k,D,N;if(f(O),D=C._events,D===void 0?(D=C._events=Object.create(null),C._eventsCount=0):(D.newListener!==void 0&&(C.emit("newListener",v,O.listener?O.listener:O),D=C._events),N=D[v]),N===void 0)N=D[v]=O,++C._eventsCount;else if(typeof N=="function"?N=D[v]=L?[O,N]:[N,O]:L?N.unshift(O):N.push(O),k=h(C),k>0&&N.length>k&&!N.warned){N.warned=!0;var W=new Error("Possible EventEmitter memory leak detected. "+N.length+" "+String(v)+" listeners added. Use emitter.setMaxListeners() to increase limit");W.name="MaxListenersExceededWarning",W.emitter=C,W.type=v,W.count=N.length,A(W)}return C}a.prototype.addListener=function(v,O){return s(this,v,O,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(v,O){return s(this,v,O,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(C,v,O){var L={fired:!1,wrapFn:void 0,target:C,type:v,listener:O},k=d.bind(L);return k.listener=O,L.wrapFn=k,k}a.prototype.once=function(v,O){return f(O),this.on(v,c(this,v,O)),this},a.prototype.prependOnceListener=function(v,O){return f(O),this.prependListener(v,c(this,v,O)),this},a.prototype.removeListener=function(v,O){var L,k,D,N,W;if(f(O),k=this._events,k===void 0)return this;if(L=k[v],L===void 0)return this;if(L===O||L.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete k[v],k.removeListener&&this.emit("removeListener",v,L.listener||O));else if(typeof L!="function"){for(D=-1,N=L.length-1;N>=0;N--)if(L[N]===O||L[N].listener===O){W=L[N].listener,D=N;break}if(D<0)return this;D===0?L.shift():T(L,D),L.length===1&&(k[v]=L[0]),k.removeListener!==void 0&&this.emit("removeListener",v,W||O)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(v){var O,L,k;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[v]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[v]),this;if(arguments.length===0){var D=Object.keys(L),N;for(k=0;k<D.length;++k)N=D[k],N!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=L[v],typeof O=="function")this.removeListener(v,O);else if(O!==void 0)for(k=O.length-1;k>=0;k--)this.removeListener(v,O[k]);return this};function p(C,v,O){var L=C._events;if(L===void 0)return[];var k=L[v];return k===void 0?[]:typeof k=="function"?O?[k.listener||k]:[k]:O?R(k):M(k,k.length)}a.prototype.listeners=function(v){return p(this,v,!0)},a.prototype.rawListeners=function(v){return p(this,v,!1)},a.listenerCount=function(C,v){return typeof C.listenerCount=="function"?C.listenerCount(v):q.call(C,v)},a.prototype.listenerCount=q;function q(C){var v=this._events;if(v!==void 0){var O=v[C];if(typeof O=="function")return 1;if(O!==void 0)return O.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]};function M(C,v){for(var O=new Array(v),L=0;L<v;++L)O[L]=C[L];return O}function T(C,v){for(;v+1<C.length;v++)C[v]=C[v+1];C.pop()}function R(C){for(var v=new Array(C.length),O=0;O<v.length;++O)v[O]=C[O].listener||C[O];return v}function I(C,v){return new Promise(function(O,L){function k(N){C.removeListener(v,D),L(N)}function D(){typeof C.removeListener=="function"&&C.removeListener("error",k),O([].slice.call(arguments))}E(C,v,D,{once:!0}),v!=="error"&&x(C,k,{once:!0})})}function x(C,v,O){typeof C.on=="function"&&E(C,"error",v,O)}function E(C,v,O,L){if(typeof C.on=="function")L.once?C.once(v,O):C.on(v,O);else if(typeof C.addEventListener=="function")C.addEventListener(v,function k(D){L.once&&C.removeEventListener(v,k),O(D)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof C)}return po.exports}var qo={exports:{}},jA,ou;function $p(){if(ou)return jA;ou=1;var e=1e3,t=e*60,o=t*60,A=o*24,l=A*7,a=A*365.25;jA=function(d,c){c=c||{};var p=typeof d;if(p==="string"&&d.length>0)return n(d);if(p==="number"&&isFinite(d))return c.long?h(d):f(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function n(d){if(d=String(d),!(d.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(c){var p=parseFloat(c[1]),q=(c[2]||"ms").toLowerCase();switch(q){case"years":case"year":case"yrs":case"yr":case"y":return p*a;case"weeks":case"week":case"w":return p*l;case"days":case"day":case"d":return p*A;case"hours":case"hour":case"hrs":case"hr":case"h":return p*o;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function f(d){var c=Math.abs(d);return c>=A?Math.round(d/A)+"d":c>=o?Math.round(d/o)+"h":c>=t?Math.round(d/t)+"m":c>=e?Math.round(d/e)+"s":d+"ms"}function h(d){var c=Math.abs(d);return c>=A?s(d,c,A,"day"):c>=o?s(d,c,o,"hour"):c>=t?s(d,c,t,"minute"):c>=e?s(d,c,e,"second"):d+" ms"}function s(d,c,p,q){var M=c>=p*1.5;return Math.round(d/p)+" "+q+(M?"s":"")}return jA}var WA,Au;function e0(){if(Au)return WA;Au=1;function e(t){A.debug=A,A.default=A,A.coerce=s,A.disable=f,A.enable=a,A.enabled=h,A.humanize=$p(),A.destroy=d,Object.keys(t).forEach(c=>{A[c]=t[c]}),A.names=[],A.skips=[],A.formatters={};function o(c){let p=0;for(let q=0;q<c.length;q++)p=(p<<5)-p+c.charCodeAt(q),p|=0;return A.colors[Math.abs(p)%A.colors.length]}A.selectColor=o;function A(c){let p,q=null,M,T;function R(...I){if(!R.enabled)return;const x=R,E=Number(new Date),C=E-(p||E);x.diff=C,x.prev=p,x.curr=E,p=E,I[0]=A.coerce(I[0]),typeof I[0]!="string"&&I.unshift("%O");let v=0;I[0]=I[0].replace(/%([a-zA-Z%])/g,(L,k)=>{if(L==="%%")return"%";v++;const D=A.formatters[k];if(typeof D=="function"){const N=I[v];L=D.call(x,N),I.splice(v,1),v--}return L}),A.formatArgs.call(x,I),(x.log||A.log).apply(x,I)}return R.namespace=c,R.useColors=A.useColors(),R.color=A.selectColor(c),R.extend=l,R.destroy=A.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>q!==null?q:(M!==A.namespaces&&(M=A.namespaces,T=A.enabled(c)),T),set:I=>{q=I}}),typeof A.init=="function"&&A.init(R),R}function l(c,p){const q=A(this.namespace+(typeof p>"u"?":":p)+c);return q.log=this.log,q}function a(c){A.save(c),A.namespaces=c,A.names=[],A.skips=[];const p=(typeof c=="string"?c:"").trim().replace(" ",",").split(",").filter(Boolean);for(const q of p)q[0]==="-"?A.skips.push(q.slice(1)):A.names.push(q)}function n(c,p){let q=0,M=0,T=-1,R=0;for(;q<c.length;)if(M<p.length&&(p[M]===c[q]||p[M]==="*"))p[M]==="*"?(T=M,R=q,M++):(q++,M++);else if(T!==-1)M=T+1,R++,q=R;else return!1;for(;M<p.length&&p[M]==="*";)M++;return M===p.length}function f(){const c=[...A.names,...A.skips.map(p=>"-"+p)].join(",");return A.enable(""),c}function h(c){for(const p of A.skips)if(n(c,p))return!1;for(const p of A.names)if(n(c,p))return!0;return!1}function s(c){return c instanceof Error?c.stack||c.message:c}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return A.enable(A.load()),A}return WA=e,WA}var iu;function Di(){return iu||(iu=1,function(e,t){var o={};t.formatArgs=l,t.save=a,t.load=n,t.useColors=A,t.storage=f(),t.destroy=(()=>{let s=!1;return()=>{s||(s=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function A(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let s;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(s=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(s[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function l(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const d="color: "+this.color;s.splice(1,0,d,"color: inherit");let c=0,p=0;s[0].replace(/%[a-zA-Z%]/g,q=>{q!=="%%"&&(c++,q==="%c"&&(p=c))}),s.splice(p,0,d)}t.log=console.debug||console.log||(()=>{});function a(s){try{s?t.storage.setItem("debug",s):t.storage.removeItem("debug")}catch{}}function n(){let s;try{s=t.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=o.DEBUG),s}function f(){try{return localStorage}catch{}}e.exports=e0()(t);const{formatters:h}=e.exports;h.j=function(s){try{return JSON.stringify(s)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}}(qo,qo.exports)),qo.exports}var HA,su;function st(){if(su)return HA;su=1;function e(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function t(a,n){for(var f=0;f<n.length;f++){var h=n[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}function o(a,n,f){return n&&t(a.prototype,n),a}var A=Di(),l="JsSIP";return HA=function(){function a(n){e(this,a),n?(this._debug=A.default("".concat(l,":").concat(n)),this._warn=A.default("".concat(l,":WARN:").concat(n)),this._error=A.default("".concat(l,":ERROR:").concat(n))):(this._debug=A.default(l),this._warn=A.default("".concat(l,":WARN")),this._error=A.default("".concat(l,":ERROR"))),this._debug.log=console.info.bind(console),this._warn.log=console.warn.bind(console),this._error.log=console.error.bind(console)}return o(a,[{key:"debug",get:function(){return this._debug}},{key:"warn",get:function(){return this._warn}},{key:"error",get:function(){return this._error}}]),a}(),HA}var Ot={},ZA={},PA={exports:{}},lu;function hs(){if(lu)return PA.exports;lu=1;var e=PA.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(t){return t.encoding?"rtpmap:%d %s/%s/%s":t.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(t){return t.address!=null?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%s trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(t){return t.subtype!=null?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))?(?: (urn:ietf:params:rtp-hdrext:encrypt))? (\S*)(?: (\S*))?/,names:["value","direction","encrypt-uri","uri","config"],format:function(t){return"extmap:%d"+(t.direction?"/%s":"%v")+(t["encrypt-uri"]?" %s":"%v")+" %s"+(t.config?" %s":"")}},{name:"extmapAllowMixed",reg:/^(extmap-allow-mixed)/},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(t){return t.sessionConfig!=null?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"connectionType",reg:/^connection:(new|existing)/,format:"connection:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*(?:\.\d*)*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*(?:\.\d*)*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(t){var o="candidate:%s %d %s %d %s %d typ %s";return o+=t.raddr!=null?" raddr %s rport %d":"%v%v",o+=t.tcptype!=null?" tcptype %s":"%v",t.generation!=null&&(o+=" generation %d"),o+=t["network-id"]!=null?" network-id %d":"%v",o+=t["network-cost"]!=null?" network-cost %d":"%v",o}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(t){var o="ssrc:%d";return t.attribute!=null&&(o+=" %s",t.value!=null&&(o+=":%s")),o}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(t){return t.maxMessageSize!=null?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(t){return t.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(t){return"imageattr:%s %s %s"+(t.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(t){return"simulcast:%s %s"+(t.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{name:"sourceFilter",reg:/^source-filter: *(excl|incl) (\S*) (IP4|IP6|\*) (\S*) (.*)/,names:["filterMode","netType","addressTypes","destAddress","srcList"],format:"source-filter: %s %s %s %s %s"},{name:"bundleOnly",reg:/^(bundle-only)/},{name:"label",reg:/^label:(.+)/,format:"label:%s"},{name:"sctpPort",reg:/^sctp-port:(\d+)$/,format:"sctp-port:%s"},{name:"maxMessageSize",reg:/^max-message-size:(\d+)$/,format:"max-message-size:%s"},{push:"tsRefClocks",reg:/^ts-refclk:([^\s=]*)(?:=(\S*))?/,names:["clksrc","clksrcExt"],format:function(t){return"ts-refclk:%s"+(t.clksrcExt!=null?"=%s":"")}},{name:"mediaClk",reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:["id","mediaClockName","mediaClockValue","rateNumerator","rateDenominator"],format:function(t){var o="mediaclk:";return o+=t.id!=null?"id=%s %s":"%v%s",o+=t.mediaClockValue!=null?"=%s":"",o+=t.rateNumerator!=null?" rate=%s":"",o+=t.rateDenominator!=null?"/%s":"",o}},{name:"keywords",reg:/^keywds:(.+)$/,format:"keywds:%s"},{name:"content",reg:/^content:(.+)/,format:"content:%s"},{name:"bfcpFloorCtrl",reg:/^floorctrl:(c-only|s-only|c-s)/,format:"floorctrl:%s"},{name:"bfcpConfId",reg:/^confid:(\d+)/,format:"confid:%s"},{name:"bfcpUserId",reg:/^userid:(\d+)/,format:"userid:%s"},{name:"bfcpFloorId",reg:/^floorid:(.+) (?:m-stream|mstrm):(.+)/,names:["id","mStream"],format:"floorid:%s mstrm:%s"},{push:"invalid",names:["value"]}]};return Object.keys(e).forEach(function(t){var o=e[t];o.forEach(function(A){A.reg||(A.reg=/(.*)/),A.format||(A.format="%s")})}),PA.exports}var au;function t0(){return au||(au=1,function(e){var t=function(f){return String(Number(f))===f?Number(f):f},o=function(f,h,s,d){if(d&&!s)h[d]=t(f[1]);else for(var c=0;c<s.length;c+=1)f[c+1]!=null&&(h[s[c]]=t(f[c+1]))},A=function(f,h,s){var d=f.name&&f.names;f.push&&!h[f.push]?h[f.push]=[]:d&&!h[f.name]&&(h[f.name]={});var c=f.push?{}:d?h[f.name]:h;o(s.match(f.reg),c,f.names,f.name),f.push&&h[f.push].push(c)},l=hs(),a=RegExp.prototype.test.bind(/^([a-z])=(.*)/);e.parse=function(f){var h={},s=[],d=h;return f.split(/(\r\n|\r|\n)/).filter(a).forEach(function(c){var p=c[0],q=c.slice(2);p==="m"&&(s.push({rtp:[],fmtp:[]}),d=s[s.length-1]);for(var M=0;M<(l[p]||[]).length;M+=1){var T=l[p][M];if(T.reg.test(q))return A(T,d,q)}}),h.media=s,h};var n=function(f,h){var s=h.split(/=(.+)/,2);return s.length===2?f[s[0]]=t(s[1]):s.length===1&&h.length>1&&(f[s[0]]=void 0),f};e.parseParams=function(f){return f.split(/;\s?/).reduce(n,{})},e.parseFmtpConfig=e.parseParams,e.parsePayloads=function(f){return f.toString().split(" ").map(Number)},e.parseRemoteCandidates=function(f){for(var h=[],s=f.split(" ").map(t),d=0;d<s.length;d+=3)h.push({component:s[d],ip:s[d+1],port:s[d+2]});return h},e.parseImageAttributes=function(f){return f.split(" ").map(function(h){return h.substring(1,h.length-1).split(",").reduce(n,{})})},e.parseSimulcastStreamList=function(f){return f.split(";").map(function(h){return h.split(",").map(function(s){var d,c=!1;return s[0]!=="~"?d=t(s):(d=t(s.substring(1,s.length)),c=!0),{scid:d,paused:c}})})}}(ZA)),ZA}var zA,uu;function n0(){if(uu)return zA;uu=1;var e=hs(),t=/%[sdv%]/g,o=function(n){var f=1,h=arguments,s=h.length;return n.replace(t,function(d){if(f>=s)return d;var c=h[f];switch(f+=1,d){case"%%":return"%";case"%s":return String(c);case"%d":return Number(c);case"%v":return""}})},A=function(n,f,h){var s=f.format instanceof Function?f.format(f.push?h:h[f.name]):f.format,d=[n+"="+s];if(f.names)for(var c=0;c<f.names.length;c+=1){var p=f.names[c];f.name?d.push(h[f.name][p]):d.push(h[f.names[c]])}else d.push(h[f.name]);return o.apply(null,d)},l=["v","o","s","i","u","e","p","c","b","t","r","z","a"],a=["i","c","b","a"];return zA=function(n,f){f=f||{},n.version==null&&(n.version=0),n.name==null&&(n.name=" "),n.media.forEach(function(c){c.payloads==null&&(c.payloads="")});var h=f.outerOrder||l,s=f.innerOrder||a,d=[];return h.forEach(function(c){e[c].forEach(function(p){p.name in n&&n[p.name]!=null?d.push(A(c,p,n)):p.push in n&&n[p.push]!=null&&n[p.push].forEach(function(q){d.push(A(c,p,q))})})}),n.media.forEach(function(c){d.push(A("m",e.m[0],c)),s.forEach(function(p){e[p].forEach(function(q){q.name in c&&c[q.name]!=null?d.push(A(p,q,c)):q.push in c&&c[q.push]!=null&&c[q.push].forEach(function(M){d.push(A(p,q,M))})})})}),d.join(`\r
|
|
@@ -54,7 +54,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
54
54
|
`);N+="Duration=".concat(this._duration),this._session.newDTMF({originator:"local",dtmf:this,request:this._request}),this._session.sendRequest(q.INFO,{extraHeaders:D,eventHandlers:{onSuccessResponse:function(B){L.emit("succeeded",{originator:"remote",response:B})},onErrorResponse:function(B){L.eventHandlers.onFailed&&L.eventHandlers.onFailed(),L.emit("failed",{originator:"remote",response:B})},onRequestTimeout:function(){L._session.onRequestTimeout()},onTransportError:function(){L._session.onTransportError()},onDialogError:function(){L._session.onDialogError()}},body:N})}},{key:"init_incoming",value:function(O){var L=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/,k=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(this._direction="incoming",this._request=O,O.reply(200),O.body){var D=O.body.split(`
|
|
55
55
|
`);D.length>=1&&L.test(D[0])&&(this._tone=D[0].replace(L,"$2")),D.length>=2&&k.test(D[1])&&(this._duration=parseInt(D[1].replace(k,"$2"),10))}this._duration||(this._duration=I.DEFAULT_DURATION),this._tone?this._session.newDTMF({originator:"remote",dtmf:this,request:O}):R.debug("invalid INFO DTMF received, discarded")}},{key:"tone",get:function(){return this._tone}},{key:"duration",get:function(){return this._duration}}]),C}(c),mo.exports.C=I,mo.exports}var Ai,Cu;function l0(){if(Cu)return Ai;Cu=1;function e(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(I){return typeof I}:e=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},e(T)}function t(T,R){if(!(T instanceof R))throw new TypeError("Cannot call a class as a function")}function o(T,R){for(var I=0;I<R.length;I++){var x=R[I];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(T,x.key,x)}}function A(T,R,I){return R&&o(T.prototype,R),T}function l(T,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(R&&R.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),R&&a(T,R)}function a(T,R){return a=Object.setPrototypeOf||function(x,E){return x.__proto__=E,x},a(T,R)}function n(T){var R=s();return function(){var x=d(T),E;if(R){var C=d(this).constructor;E=Reflect.construct(x,arguments,C)}else E=x.apply(this,arguments);return f(this,E)}}function f(T,R){return R&&(e(R)==="object"||typeof R=="function")?R:h(T)}function h(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(T){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},d(T)}var c=un().EventEmitter,p=rt(),q=vn(),M=pt();return Ai=function(T){l(I,T);var R=n(I);function I(x){var E;return t(this,I),E=R.call(this),E._session=x,E._direction=null,E._contentType=null,E._body=null,E}return A(I,[{key:"send",value:function(E,C){var v=this,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this._direction="outgoing",E===void 0)throw new TypeError("Not enough arguments");if(this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new q.InvalidStateError(this._session.status);this._contentType=E,this._body=C;var L=M.cloneArray(O.extraHeaders);L.push("Content-Type: ".concat(E)),this._session.newInfo({originator:"local",info:this,request:this.request}),this._session.sendRequest(p.INFO,{extraHeaders:L,eventHandlers:{onSuccessResponse:function(D){v.emit("succeeded",{originator:"remote",response:D})},onErrorResponse:function(D){v.emit("failed",{originator:"remote",response:D})},onTransportError:function(){v._session.onTransportError()},onRequestTimeout:function(){v._session.onRequestTimeout()},onDialogError:function(){v._session.onDialogError()}},body:C})}},{key:"init_incoming",value:function(E){this._direction="incoming",this.request=E,E.reply(200),this._contentType=E.hasHeader("Content-Type")?E.getHeader("Content-Type").toLowerCase():void 0,this._body=E.body,this._session.newInfo({originator:"remote",info:this,request:E})}},{key:"contentType",get:function(){return this._contentType}},{key:"body",get:function(){return this._body}}]),I}(c),Ai}var ii,vu;function a0(){if(vu)return ii;vu=1;function e(f,h){if(!(f instanceof h))throw new TypeError("Cannot call a class as a function")}function t(f,h){for(var s=0;s<h.length;s++){var d=h[s];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(f,d.key,d)}}function o(f,h,s){return h&&t(f.prototype,h),f}var A=st(),l=rt(),a=new A("RTCSession:ReferNotifier"),n={event_type:"refer",body_type:"message/sipfrag;version=2.0",expires:300};return ii=function(){function f(h,s,d){e(this,f),this._session=h,this._id=s,this._expires=d||n.expires,this._active=!0,this.notify(100)}return o(f,[{key:"notify",value:function(s,d){if(a.debug("notify()"),this._active!==!1){d=d||l.REASON_PHRASE[s]||"";var c;s>=200?c="terminated;reason=noresource":c="active;expires=".concat(this._expires),this._session.sendRequest(l.NOTIFY,{extraHeaders:["Event: ".concat(n.event_type,";id=").concat(this._id),"Subscription-State: ".concat(c),"Content-Type: ".concat(n.body_type)],body:"SIP/2.0 ".concat(s," ").concat(d),eventHandlers:{onErrorResponse:function(){this._active=!1}}})}}}]),f}(),ii}var si,yu;function u0(){if(yu)return si;yu=1;function e(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(E){return typeof E}:e=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},e(I)}function t(I,x){if(!(I instanceof x))throw new TypeError("Cannot call a class as a function")}function o(I,x){for(var E=0;E<x.length;E++){var C=x[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(I,C.key,C)}}function A(I,x,E){return x&&o(I.prototype,x),I}function l(I,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(x&&x.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),x&&a(I,x)}function a(I,x){return a=Object.setPrototypeOf||function(C,v){return C.__proto__=v,C},a(I,x)}function n(I){var x=s();return function(){var C=d(I),v;if(x){var O=d(this).constructor;v=Reflect.construct(C,arguments,O)}else v=C.apply(this,arguments);return f(this,v)}}function f(I,x){return x&&(e(x)==="object"||typeof x=="function")?x:h(I)}function h(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(I){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},d(I)}var c=un().EventEmitter,p=st(),q=rt(),M=Ht(),T=pt(),R=new p("RTCSession:ReferSubscriber");return si=function(I){l(E,I);var x=n(E);function E(C){var v;return t(this,E),v=x.call(this),v._id=null,v._session=C,v}return A(E,[{key:"sendRefer",value:function(v){var O=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};R.debug("sendRefer()");var k=T.cloneArray(L.extraHeaders),D=T.cloneObject(L.eventHandlers);for(var N in D)Object.prototype.hasOwnProperty.call(D,N)&&this.on(N,D[N]);var W=null;L.replaces&&(W=L.replaces._request.call_id,W+=";to-tag=".concat(L.replaces._to_tag),W+=";from-tag=".concat(L.replaces._from_tag),W=encodeURIComponent(W));var B="Refer-To: <".concat(v).concat(W?"?Replaces=".concat(W):"",">");if(k.push(B),!k.some(function(S){return S.toLowerCase().startsWith("referred-by:")})){var H="Referred-By: <".concat(this._session._ua._configuration.uri._scheme,":").concat(this._session._ua._configuration.uri._user,"@").concat(this._session._ua._configuration.uri._host,">");k.push(H)}k.push("Contact: ".concat(this._session.contact));var y=this._session.sendRequest(q.REFER,{extraHeaders:k,eventHandlers:{onSuccessResponse:function(Q){O._requestSucceeded(Q)},onErrorResponse:function(Q){O._requestFailed(Q,q.causes.REJECTED)},onTransportError:function(){O._requestFailed(null,q.causes.CONNECTION_ERROR)},onRequestTimeout:function(){O._requestFailed(null,q.causes.REQUEST_TIMEOUT)},onDialogError:function(){O._requestFailed(null,q.causes.DIALOG_ERROR)}}});this._id=y.cseq}},{key:"receiveNotify",value:function(v){if(R.debug("receiveNotify()"),!!v.body){var O=M.parse(v.body.trim().split(`\r
|
|
56
56
|
`,1)[0],"Status_Line");if(O===-1){R.debug('receiveNotify() | error parsing NOTIFY body: "'.concat(v.body,'"'));return}switch(!0){case/^100$/.test(O.status_code):this.emit("trying",{request:v,status_line:O});break;case/^1[0-9]{2}$/.test(O.status_code):this.emit("progress",{request:v,status_line:O});break;case/^2[0-9]{2}$/.test(O.status_code):this.emit("accepted",{request:v,status_line:O});break;default:this.emit("failed",{request:v,status_line:O});break}}}},{key:"_requestSucceeded",value:function(v){R.debug("REFER succeeded"),R.debug('emit "requestSucceeded"'),this.emit("requestSucceeded",{response:v})}},{key:"_requestFailed",value:function(v,O){R.debug("REFER failed"),R.debug('emit "requestFailed"'),this.emit("requestFailed",{response:v||null,cause:O})}},{key:"id",get:function(){return this._id}}]),E}(c),si}var li,Iu;function c0(){if(Iu)return li;Iu=1;function e(U){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(P){return typeof P}:e=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},e(U)}function t(U,J){var P;if(typeof Symbol>"u"||U[Symbol.iterator]==null){if(Array.isArray(U)||(P=o(U))||J){P&&(U=P);var G=0,m=function(){};return{s:m,n:function(){return G>=U.length?{done:!0}:{done:!1,value:U[G++]}},e:function(_){throw _},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
57
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,j=!1,Z;return{s:function(){P=U[Symbol.iterator]()},n:function(){var _=P.next();return w=_.done,_},e:function(_){j=!0,Z=_},f:function(){try{!w&&P.return!=null&&P.return()}finally{if(j)throw Z}}}}function o(U,J){if(U){if(typeof U=="string")return A(U,J);var P=Object.prototype.toString.call(U).slice(8,-1);if(P==="Object"&&U.constructor&&(P=U.constructor.name),P==="Map"||P==="Set")return Array.from(U);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return A(U,J)}}function A(U,J){(J==null||J>U.length)&&(J=U.length);for(var P=0,G=new Array(J);P<J;P++)G[P]=U[P];return G}function l(U,J){if(!(U instanceof J))throw new TypeError("Cannot call a class as a function")}function a(U,J){for(var P=0;P<J.length;P++){var G=J[P];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(U,G.key,G)}}function n(U,J,P){return J&&a(U.prototype,J),P&&a(U,P),U}function f(U,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");U.prototype=Object.create(J&&J.prototype,{constructor:{value:U,writable:!0,configurable:!0}}),J&&h(U,J)}function h(U,J){return h=Object.setPrototypeOf||function(G,m){return G.__proto__=m,G},h(U,J)}function s(U){var J=p();return function(){var G=q(U),m;if(J){var w=q(this).constructor;m=Reflect.construct(G,arguments,w)}else m=G.apply(this,arguments);return d(this,m)}}function d(U,J){return J&&(e(J)==="object"||typeof J=="function")?J:c(U)}function c(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function q(U){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},q(U)}var M=un().EventEmitter,T=Fd(),R=st(),I=rt(),x=vn(),E=Hr(),C=pt(),v=Qd(),O=cn(),L=i0(),k=Zr(),D=s0(),N=l0(),W=a0(),B=u0(),H=yn(),y=new R("RTCSession"),S={STATUS_NULL:0,STATUS_INVITE_SENT:1,STATUS_1XX_RECEIVED:2,STATUS_INVITE_RECEIVED:3,STATUS_WAITING_FOR_ANSWER:4,STATUS_ANSWERED:5,STATUS_WAITING_FOR_ACK:6,STATUS_CANCELED:7,STATUS_TERMINATED:8,STATUS_CONFIRMED:9},Q=["audio","video"];return li=function(U){f(P,U);var J=s(P);n(P,null,[{key:"C",get:function(){return S}}]);function P(G){var m;return l(this,P),y.debug("new"),m=J.call(this),m._id=null,m._ua=G,m._status=S.STATUS_NULL,m._dialog=null,m._earlyDialogs={},m._contact=null,m._from_tag=null,m._to_tag=null,m._connection=null,m._connectionPromiseQueue=Promise.resolve(),m._request=null,m._is_canceled=!1,m._cancel_reason="",m._is_confirmed=!1,m._late_sdp=!1,m._rtcOfferConstraints=null,m._rtcAnswerConstraints=null,m._localMediaStream=null,m._localMediaStreamLocallyGenerated=!1,m._rtcReady=!0,m._iceReady=!1,m._timers={ackTimer:null,expiresTimer:null,invite2xxTimer:null,userNoAnswerTimer:null},m._direction=null,m._local_identity=null,m._remote_identity=null,m._start_time=null,m._end_time=null,m._tones=null,m._audioMuted=!1,m._videoMuted=!1,m._localHold=!1,m._remoteHold=!1,m._sessionTimers={enabled:m._ua.configuration.session_timers,refreshMethod:m._ua.configuration.session_timers_refresh_method,defaultExpires:I.SESSION_EXPIRES,currentExpires:null,running:!1,refresher:!1,timer:null},m._referSubscribers={},m._data={},m}return n(P,[{key:"isInProgress",value:function(){switch(this._status){case S.STATUS_NULL:case S.STATUS_INVITE_SENT:case S.STATUS_1XX_RECEIVED:case S.STATUS_INVITE_RECEIVED:case S.STATUS_WAITING_FOR_ANSWER:return!0;default:return!1}}},{key:"isEstablished",value:function(){switch(this._status){case S.STATUS_ANSWERED:case S.STATUS_WAITING_FOR_ACK:case S.STATUS_CONFIRMED:return!0;default:return!1}}},{key:"isEnded",value:function(){switch(this._status){case S.STATUS_CANCELED:case S.STATUS_TERMINATED:return!0;default:return!1}}},{key:"isMuted",value:function(){return{audio:this._audioMuted,video:this._videoMuted}}},{key:"isOnHold",value:function(){return{local:this._localHold,remote:this._remoteHold}}},{key:"connect",value:function(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=arguments.length>2?arguments[2]:void 0;y.debug("connect()");var Z=m,$=C.cloneObject(w.eventHandlers),_=C.cloneArray(w.extraHeaders),se=C.cloneObject(w.mediaConstraints,{audio:!0,video:!0}),le=w.mediaStream||null,ge=C.cloneObject(w.pcConfig,{iceServers:[]}),pe=w.rtcConstraints||null,fe=w.rtcOfferConstraints||null;if(this._rtcOfferConstraints=fe,this._rtcAnswerConstraints=w.rtcAnswerConstraints||null,this._data=w.data||this._data,m===void 0)throw new TypeError("Not enough arguments");if(this._status!==S.STATUS_NULL)throw new x.InvalidStateError(this._status);if(!window.RTCPeerConnection)throw new x.NotSupportedError("WebRTC not supported");if(m=this._ua.normalizeTarget(m),!m)throw new TypeError("Invalid target: ".concat(Z));this._sessionTimers.enabled&&C.isDecimal(w.sessionTimersExpires)&&(w.sessionTimersExpires>=I.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=w.sessionTimersExpires:this._sessionTimers.defaultExpires=I.SESSION_EXPIRES);for(var Y in $)Object.prototype.hasOwnProperty.call($,Y)&&this.on(Y,$[Y]);this._from_tag=C.newTag();var K=w.anonymous||!1,ee={from_tag:this._from_tag};this._contact=this._ua.contact.toString({anonymous:K,outbound:!0}),K?(ee.from_display_name="Anonymous",ee.from_uri=new H("sip","anonymous","anonymous.invalid"),_.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())),_.push("Privacy: id")):w.fromUserName&&(ee.from_uri=new H("sip",w.fromUserName,this._ua.configuration.uri.host),_.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),w.fromDisplayName&&(ee.from_display_name=w.fromDisplayName),_.push("Contact: ".concat(this._contact)),_.push("Content-Type: application/sdp"),this._sessionTimers.enabled&&_.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher?";refresher=uac":"")),this._request=new O.InitialOutgoingInviteRequest(m,this._ua,ee,_),this._id=this._request.call_id+this._from_tag,this._createRTCConnection(ge,pe),this._direction="outgoing",this._local_identity=this._request.from,this._remote_identity=this._request.to,j&&j(this),this._newRTCSession("local",this._request),this._sendInitialRequest(se,fe,le)}},{key:"init_incoming",value:function(m,w){var j=this;y.debug("init_incoming()");var Z,$=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0;if(m.body&&$!=="application/sdp"){m.reply(415);return}if(this._status=S.STATUS_INVITE_RECEIVED,this._from_tag=m.from_tag,this._id=m.call_id+this._from_tag,this._request=m,this._contact=this._ua.contact.toString(),m.hasHeader("expires")&&(Z=m.getHeader("expires")*1e3),m.to_tag=C.newTag(),!this._createDialog(m,"UAS",!0)){m.reply(500,"Missing Contact header field");return}m.body?this._late_sdp=!1:this._late_sdp=!0,this._status=S.STATUS_WAITING_FOR_ANSWER,this._timers.userNoAnswerTimer=setTimeout(function(){m.reply(408),j._failed("local",null,I.causes.NO_ANSWER)},this._ua.configuration.no_answer_timeout),Z&&(this._timers.expiresTimer=setTimeout(function(){j._status===S.STATUS_WAITING_FOR_ANSWER&&(m.reply(487),j._failed("system",null,I.causes.EXPIRES))},Z)),this._direction="incoming",this._local_identity=m.to,this._remote_identity=m.from,w&&w(this),this._newRTCSession("remote",m),this._status!==S.STATUS_TERMINATED&&(m.reply(180,null,["Contact: ".concat(this._contact)]),this._progress("local",null))}},{key:"answer",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("answer()");var j=this._request,Z=C.cloneArray(w.extraHeaders),$=C.cloneObject(w.mediaConstraints),_=w.mediaStream||null,se=C.cloneObject(w.pcConfig,{iceServers:[]}),le=w.rtcConstraints||null,ge=w.rtcAnswerConstraints||null,pe=C.cloneObject(w.rtcOfferConstraints),fe,Y=!1,K=!1,ee=!1,te=!1;if(this._rtcAnswerConstraints=ge,this._rtcOfferConstraints=w.rtcOfferConstraints||null,this._data=w.data||this._data,this._direction!=="incoming")throw new x.NotSupportedError('"answer" not supported for outgoing RTCSession');if(this._status!==S.STATUS_WAITING_FOR_ANSWER)throw new x.InvalidStateError(this._status);if(this._sessionTimers.enabled&&C.isDecimal(w.sessionTimersExpires)&&(w.sessionTimersExpires>=I.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=w.sessionTimersExpires:this._sessionTimers.defaultExpires=I.SESSION_EXPIRES),this._status=S.STATUS_ANSWERED,!this._createDialog(j,"UAS")){j.reply(500,"Error creating dialog");return}clearTimeout(this._timers.userNoAnswerTimer),Z.unshift("Contact: ".concat(this._contact));var X=j.parseSDP();Array.isArray(X.media)||(X.media=[X.media]);var re=t(X.media),ne;try{for(re.s();!(ne=re.n()).done;){var Ae=ne.value;Ae.type==="audio"&&(Y=!0,(!Ae.direction||Ae.direction==="sendrecv")&&(ee=!0)),Ae.type==="video"&&(K=!0,(!Ae.direction||Ae.direction==="sendrecv")&&(te=!0))}}catch(Ie){re.e(Ie)}finally{re.f()}if(_&&$.audio===!1){fe=_.getAudioTracks();var ue=t(fe),ae;try{for(ue.s();!(ae=ue.n()).done;){var ve=ae.value;_.removeTrack(ve)}}catch(Ie){ue.e(Ie)}finally{ue.f()}}if(_&&$.video===!1){fe=_.getVideoTracks();var he=t(fe),ye;try{for(he.s();!(ye=he.n()).done;){var we=ye.value;_.removeTrack(we)}}catch(Ie){he.e(Ie)}finally{he.f()}}!_&&$.audio===void 0&&($.audio=ee),!_&&$.video===void 0&&($.video=te),!_&&!Y&&!pe.offerToReceiveAudio&&($.audio=!1),!_&&!K&&!pe.offerToReceiveVideo&&($.video=!1),this._createRTCConnection(se,le),Promise.resolve().then(function(){if(_)return _;if($.audio||$.video)return m._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia($).catch(function(Ie){throw m._status===S.STATUS_TERMINATED?new Error("terminated"):(j.reply(480),m._failed("local",null,I.causes.USER_DENIED_MEDIA_ACCESS),y.warn('emit "getusermediafailed" [error:%o]',Ie),m.emit("getusermediafailed",Ie),new Error("getUserMedia() failed"))})}).then(function(Ie){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");m._localMediaStream=Ie,Ie&&Ie.getTracks().forEach(function(Ue){m._connection.addTrack(Ue,Ie)})}).then(function(){if(!m._late_sdp){var Ie={originator:"remote",type:"offer",sdp:j.body};y.debug('emit "sdp"'),m.emit("sdp",Ie);var Ue=new RTCSessionDescription({type:"offer",sdp:Ie.sdp});return m._connectionPromiseQueue=m._connectionPromiseQueue.then(function(){return m._connection.setRemoteDescription(Ue)}).catch(function(xe){throw j.reply(488),m._failed("system",null,I.causes.WEBRTC_ERROR),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',xe),m.emit("peerconnection:setremotedescriptionfailed",xe),new Error("peerconnection.setRemoteDescription() failed")}),m._connectionPromiseQueue}}).then(function(){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");return m._connecting(j),m._late_sdp?m._createLocalDescription("offer",m._rtcOfferConstraints).catch(function(){throw j.reply(500),new Error("_createLocalDescription() failed")}):m._createLocalDescription("answer",ge).catch(function(){throw j.reply(500),new Error("_createLocalDescription() failed")})}).then(function(Ie){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");m._handleSessionTimersInIncomingRequest(j,Z),j.reply(200,null,Z,Ie,function(){m._status=S.STATUS_WAITING_FOR_ACK,m._setInvite2xxTimer(j,Ie),m._setACKTimer(),m._accepted("local")},function(){m._failed("system",null,I.causes.CONNECTION_ERROR)})}).catch(function(Ie){m._status!==S.STATUS_TERMINATED&&y.warn(Ie)})}},{key:"terminate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("terminate()");var j=w.cause||I.causes.BYE,Z=C.cloneArray(w.extraHeaders),$=w.body,_,se=w.status_code,le=w.reason_phrase;if(this._status===S.STATUS_TERMINATED)throw new x.InvalidStateError(this._status);switch(this._status){case S.STATUS_NULL:case S.STATUS_INVITE_SENT:case S.STATUS_1XX_RECEIVED:if(y.debug("canceling session"),se&&(se<200||se>=700))throw new TypeError("Invalid status_code: ".concat(se));se&&(le=le||I.REASON_PHRASE[se]||"",_="SIP ;cause=".concat(se,' ;text="').concat(le,'"')),this._status===S.STATUS_NULL||this._status===S.STATUS_INVITE_SENT?(this._is_canceled=!0,this._cancel_reason=_):this._status===S.STATUS_1XX_RECEIVED&&this._request.cancel(_),this._status=S.STATUS_CANCELED,this._failed("local",null,I.causes.CANCELED);break;case S.STATUS_WAITING_FOR_ANSWER:case S.STATUS_ANSWERED:if(y.debug("rejecting session"),se=se||480,se<300||se>=700)throw new TypeError("Invalid status_code: ".concat(se));this._request.reply(se,le,Z,$),this._failed("local",null,I.causes.REJECTED);break;case S.STATUS_WAITING_FOR_ACK:case S.STATUS_CONFIRMED:if(y.debug("terminating session"),le=w.reason_phrase||I.REASON_PHRASE[se]||"",se&&(se<200||se>=700))throw new TypeError("Invalid status_code: ".concat(se));if(se&&Z.push("Reason: SIP ;cause=".concat(se,'; text="').concat(le,'"')),this._status===S.STATUS_WAITING_FOR_ACK&&this._direction==="incoming"&&this._request.server_transaction.state!==E.C.STATUS_TERMINATED){var ge=this._dialog;this.receiveRequest=function(pe){var fe=pe.method;fe===I.ACK&&(m.sendRequest(I.BYE,{extraHeaders:Z,body:$}),ge.terminate())},this._request.server_transaction.on("stateChanged",function(){m._request.server_transaction.state===E.C.STATUS_TERMINATED&&(m.sendRequest(I.BYE,{extraHeaders:Z,body:$}),ge.terminate())}),this._ended("local",null,j),this._dialog=ge,this._ua.newDialog(ge)}else this.sendRequest(I.BYE,{extraHeaders:Z,body:$}),this._ended("local",null,j)}}},{key:"sendDTMF",value:function(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y.debug("sendDTMF() | tones: %s",m);var j=0,Z=w.duration||null,$=w.interToneGap||null,_=w.transportType||I.DTMF_TRANSPORT.INFO;if(m===void 0)throw new TypeError("Not enough arguments");if(this._status!==S.STATUS_CONFIRMED&&this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_1XX_RECEIVED)throw new x.InvalidStateError(this._status);if(_!==I.DTMF_TRANSPORT.INFO&&_!==I.DTMF_TRANSPORT.RFC2833)throw new TypeError("invalid transportType: ".concat(_));if(typeof m=="number"&&(m=m.toString()),!m||typeof m!="string"||!m.match(/^[0-9A-DR#*,]+$/i))throw new TypeError("Invalid tones: ".concat(m));if(Z&&!C.isDecimal(Z))throw new TypeError("Invalid tone duration: ".concat(Z));if(Z?Z<D.C.MIN_DURATION?(y.debug('"duration" value is lower than the minimum allowed, setting it to '.concat(D.C.MIN_DURATION," milliseconds")),Z=D.C.MIN_DURATION):Z>D.C.MAX_DURATION?(y.debug('"duration" value is greater than the maximum allowed, setting it to '.concat(D.C.MAX_DURATION," milliseconds")),Z=D.C.MAX_DURATION):Z=Math.abs(Z):Z=D.C.DEFAULT_DURATION,w.duration=Z,$&&!C.isDecimal($))throw new TypeError("Invalid interToneGap: ".concat($));if($?$<D.C.MIN_INTER_TONE_GAP?(y.debug('"interToneGap" value is lower than the minimum allowed, setting it to '.concat(D.C.MIN_INTER_TONE_GAP," milliseconds")),$=D.C.MIN_INTER_TONE_GAP):$=Math.abs($):$=D.C.DEFAULT_INTER_TONE_GAP,_===I.DTMF_TRANSPORT.RFC2833){var se=this._getDTMFRTPSender();se&&(m=se.toneBuffer+m,se.insertDTMF(m,Z,$));return}if(this._tones){this._tones+=m;return}this._tones=m,le.call(this);function le(){var ge=this,pe;if(this._status===S.STATUS_TERMINATED||!this._tones||j>=this._tones.length){this._tones=null;return}var fe=this._tones[j];if(j+=1,fe===",")pe=2e3;else{var Y=new D(this);w.eventHandlers={onFailed:function(){ge._tones=null}},Y.send(fe,w),pe=Z+$}setTimeout(le.bind(this),pe)}}},{key:"sendInfo",value:function(m,w){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(y.debug("sendInfo()"),this._status!==S.STATUS_CONFIRMED&&this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_1XX_RECEIVED)throw new x.InvalidStateError(this._status);var Z=new N(this);Z.send(m,w,j)}},{key:"mute",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{audio:!0,video:!1};y.debug("mute()");var w=!1,j=!1;this._audioMuted===!1&&m.audio&&(w=!0,this._audioMuted=!0,this._toggleMuteAudio(!0)),this._videoMuted===!1&&m.video&&(j=!0,this._videoMuted=!0,this._toggleMuteVideo(!0)),(w===!0||j===!0)&&this._onmute({audio:w,video:j})}},{key:"unmute",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{audio:!0,video:!0};y.debug("unmute()");var w=!1,j=!1;this._audioMuted===!0&&m.audio&&(w=!0,this._audioMuted=!1,this._localHold===!1&&this._toggleMuteAudio(!1)),this._videoMuted===!0&&m.video&&(j=!0,this._videoMuted=!1,this._localHold===!1&&this._toggleMuteVideo(!1)),(w===!0||j===!0)&&this._onunmute({audio:w,video:j})}},{key:"hold",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;if(y.debug("hold()"),this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||this._localHold===!0||!this._isReadyToReOffer())return!1;this._localHold=!0,this._onhold("local");var Z={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Hold Failed"})}};return w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:Z,extraHeaders:w.extraHeaders}),!0}},{key:"unhold",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;if(y.debug("unhold()"),this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||this._localHold===!1||!this._isReadyToReOffer())return!1;this._localHold=!1,this._onunhold("local");var Z={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Unhold Failed"})}};return w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:Z,extraHeaders:w.extraHeaders}),!0}},{key:"renegotiate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;y.debug("renegotiate()");var Z=w.rtcOfferConstraints||null;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||!this._isReadyToReOffer())return!1;var $={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Media Renegotiation Failed"})}};return this._setLocalMediaStatus(),w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:$,rtcOfferConstraints:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:$,rtcOfferConstraints:Z,extraHeaders:w.extraHeaders}),!0}},{key:"refer",value:function(m,w){var j=this;y.debug("refer()");var Z=m;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;if(m=this._ua.normalizeTarget(m),!m)throw new TypeError("Invalid target: ".concat(Z));var $=new B(this);$.sendRefer(m,w);var _=$.id;return this._referSubscribers[_]=$,$.on("requestFailed",function(){delete j._referSubscribers[_]}),$.on("accepted",function(){delete j._referSubscribers[_]}),$.on("failed",function(){delete j._referSubscribers[_]}),$}},{key:"sendRequest",value:function(m,w){return y.debug("sendRequest()"),this._dialog.sendRequest(m,w)}},{key:"receiveRequest",value:function(m){var w=this;if(y.debug("receiveRequest()"),m.method===I.CANCEL)(this._status===S.STATUS_WAITING_FOR_ANSWER||this._status===S.STATUS_ANSWERED)&&(this._status=S.STATUS_CANCELED,this._request.reply(487),this._failed("remote",m,I.causes.CANCELED));else switch(m.method){case I.ACK:if(this._status!==S.STATUS_WAITING_FOR_ACK)return;if(this._status=S.STATUS_CONFIRMED,clearTimeout(this._timers.ackTimer),clearTimeout(this._timers.invite2xxTimer),this._late_sdp){if(!m.body){this.terminate({cause:I.causes.MISSING_SDP,status_code:400});break}var j={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",j);var Z=new RTCSessionDescription({type:"answer",sdp:j.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._connection.setRemoteDescription(Z)}).then(function(){w._is_confirmed||w._confirmed("remote",m)}).catch(function(_){w.terminate({cause:I.causes.BAD_MEDIA_DESCRIPTION,status_code:488}),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',_),w.emit("peerconnection:setremotedescriptionfailed",_)})}else this._is_confirmed||this._confirmed("remote",m);break;case I.BYE:this._status===S.STATUS_CONFIRMED||this._status===S.STATUS_WAITING_FOR_ACK?(m.reply(200),this._ended("remote",m,I.causes.BYE)):this._status===S.STATUS_INVITE_RECEIVED||this._status===S.STATUS_WAITING_FOR_ANSWER?(m.reply(200),this._request.reply(487,"BYE Received"),this._ended("remote",m,I.causes.BYE)):m.reply(403,"Wrong Status");break;case I.INVITE:this._status===S.STATUS_CONFIRMED?m.hasHeader("replaces")?this._receiveReplaces(m):this._receiveReinvite(m):m.reply(403,"Wrong Status");break;case I.INFO:if(this._status===S.STATUS_1XX_RECEIVED||this._status===S.STATUS_WAITING_FOR_ANSWER||this._status===S.STATUS_ANSWERED||this._status===S.STATUS_WAITING_FOR_ACK||this._status===S.STATUS_CONFIRMED){var $=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0;$&&$.match(/^application\/dtmf-relay/i)?new D(this).init_incoming(m):$!==void 0?new N(this).init_incoming(m):m.reply(415)}else m.reply(403,"Wrong Status");break;case I.UPDATE:this._status===S.STATUS_CONFIRMED?this._receiveUpdate(m):m.reply(403,"Wrong Status");break;case I.REFER:this._status===S.STATUS_CONFIRMED?this._receiveRefer(m):m.reply(403,"Wrong Status");break;case I.NOTIFY:this._status===S.STATUS_CONFIRMED?this._receiveNotify(m):m.reply(403,"Wrong Status");break;default:m.reply(501)}}},{key:"onTransportError",value:function(){y.warn("onTransportError()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:I.causes.CONNECTION_ERROR,cause:I.causes.CONNECTION_ERROR})}},{key:"onRequestTimeout",value:function(){y.warn("onRequestTimeout()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:408,reason_phrase:I.causes.REQUEST_TIMEOUT,cause:I.causes.REQUEST_TIMEOUT})}},{key:"onDialogError",value:function(){y.warn("onDialogError()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:I.causes.DIALOG_ERROR,cause:I.causes.DIALOG_ERROR})}},{key:"newDTMF",value:function(m){y.debug("newDTMF()"),this.emit("newDTMF",m)}},{key:"newInfo",value:function(m){y.debug("newInfo()"),this.emit("newInfo",m)}},{key:"_isReadyToReOffer",value:function(){return this._rtcReady?this._dialog?this._dialog.uac_pending_reply===!0||this._dialog.uas_pending_reply===!0?(y.debug("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"),!1):!0:(y.debug("_isReadyToReOffer() | session not established yet"),!1):(y.debug("_isReadyToReOffer() | internal WebRTC status not ready"),!1)}},{key:"_close",value:function(){if(y.debug("close()"),this._localMediaStream&&this._localMediaStreamLocallyGenerated&&(y.debug("close() | closing local MediaStream"),C.closeMediaStream(this._localMediaStream)),this._status!==S.STATUS_TERMINATED){if(this._status=S.STATUS_TERMINATED,this._connection)try{this._connection.close()}catch(Z){y.warn("close() | error closing the RTCPeerConnection: %o",Z)}for(var m in this._timers)Object.prototype.hasOwnProperty.call(this._timers,m)&&clearTimeout(this._timers[m]);clearTimeout(this._sessionTimers.timer),this._dialog&&(this._dialog.terminate(),delete this._dialog);for(var w in this._earlyDialogs)Object.prototype.hasOwnProperty.call(this._earlyDialogs,w)&&(this._earlyDialogs[w].terminate(),delete this._earlyDialogs[w]);for(var j in this._referSubscribers)Object.prototype.hasOwnProperty.call(this._referSubscribers,j)&&delete this._referSubscribers[j];this._ua.destroyRTCSession(this)}}},{key:"_setInvite2xxTimer",value:function(m,w){var j=v.T1;function Z(){this._status===S.STATUS_WAITING_FOR_ACK&&(m.reply(200,null,["Contact: ".concat(this._contact)],w),j<v.T2&&(j=j*2,j>v.T2&&(j=v.T2)),this._timers.invite2xxTimer=setTimeout(Z.bind(this),j))}this._timers.invite2xxTimer=setTimeout(Z.bind(this),j)}},{key:"_setACKTimer",value:function(){var m=this;this._timers.ackTimer=setTimeout(function(){m._status===S.STATUS_WAITING_FOR_ACK&&(y.debug("no ACK received, terminating the session"),clearTimeout(m._timers.invite2xxTimer),m.sendRequest(I.BYE),m._ended("remote",null,I.causes.NO_ACK))},v.TIMER_H)}},{key:"_createRTCConnection",value:function(m,w){var j=this;this._connection=new RTCPeerConnection(m,w),this._connection.addEventListener("iceconnectionstatechange",function(){var Z=j._connection.iceConnectionState;Z==="failed"&&j.terminate({cause:I.causes.RTP_TIMEOUT,status_code:408,reason_phrase:I.causes.RTP_TIMEOUT})}),y.debug('emit "peerconnection"'),this.emit("peerconnection",{peerconnection:this._connection})}},{key:"_createLocalDescription",value:function(m,w){var j=this;if(y.debug("createLocalDescription()"),m!=="offer"&&m!=="answer")throw new Error('createLocalDescription() | invalid type "'.concat(m,'"'));var Z=this._connection;return this._rtcReady=!1,Promise.resolve().then(function(){return m==="offer"?Z.createOffer(w).catch(function($){return y.warn('emit "peerconnection:createofferfailed" [error:%o]',$),j.emit("peerconnection:createofferfailed",$),Promise.reject($)}):Z.createAnswer(w).catch(function($){return y.warn('emit "peerconnection:createanswerfailed" [error:%o]',$),j.emit("peerconnection:createanswerfailed",$),Promise.reject($)})}).then(function($){return Z.setLocalDescription($).catch(function(_){return j._rtcReady=!0,y.warn('emit "peerconnection:setlocaldescriptionfailed" [error:%o]',_),j.emit("peerconnection:setlocaldescriptionfailed",_),Promise.reject(_)})}).then(function(){var $=w&&w.iceRestart;if(Z.iceGatheringState==="complete"&&!$||Z.iceGatheringState==="gathering"&&j._iceReady){j._rtcReady=!0;var _={originator:"local",type:m,sdp:Z.localDescription.sdp};return y.debug('emit "sdp"'),j.emit("sdp",_),Promise.resolve(_.sdp)}return new Promise(function(se){var le=!1,ge,pe;j._iceReady=!1;var fe=function(){if(!le){Z.removeEventListener("icecandidate",ge),Z.removeEventListener("icegatheringstatechange",pe),le=!0,j._rtcReady=!0,j._iceReady=!0;var K={originator:"local",type:m,sdp:Z.localDescription.sdp};y.debug('emit "sdp"'),j.emit("sdp",K),se(K.sdp)}};Z.addEventListener("icecandidate",ge=function(K){var ee=K.candidate;ee?j.emit("icecandidate",{candidate:ee,ready:fe}):fe()}),Z.addEventListener("icegatheringstatechange",pe=function(){Z.iceGatheringState==="complete"&&fe()})})})}},{key:"_createDialog",value:function(m,w,j){var Z=w==="UAS"?m.to_tag:m.from_tag,$=w==="UAS"?m.from_tag:m.to_tag,_=m.call_id+Z+$,se=this._earlyDialogs[_];if(j)return se?!0:(se=new L(this,m,w,L.C.STATUS_EARLY),se.error?(y.debug(se.error),this._failed("remote",m,I.causes.INTERNAL_ERROR),!1):(this._earlyDialogs[_]=se,!0));if(this._from_tag=m.from_tag,this._to_tag=m.to_tag,se)return se.update(m,w),this._dialog=se,delete this._earlyDialogs[_],!0;var le=new L(this,m,w);return le.error?(y.debug(le.error),this._failed("remote",m,I.causes.INTERNAL_ERROR),!1):(this._dialog=le,!0)}},{key:"_receiveReinvite",value:function(m){var w=this;y.debug("receiveReinvite()");var j=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0,Z={request:m,callback:void 0,reject:_.bind(this)},$=!1;function _(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$=!0;var ge=le.status_code||403,pe=le.reason_phrase||"",fe=C.cloneArray(le.extraHeaders);if(this._status!==S.STATUS_CONFIRMED)return!1;if(ge<300||ge>=700)throw new TypeError("Invalid status_code: ".concat(ge));m.reply(ge,pe,fe)}if(this.emit("reinvite",Z),$)return;if(this._late_sdp=!1,!m.body){this._late_sdp=!0,this._remoteHold&&(this._remoteHold=!1,this._onunhold("remote")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._createLocalDescription("offer",w._rtcOfferConstraints)}).then(function(le){se.call(w,le)}).catch(function(){m.reply(500)});return}if(j!=="application/sdp"){y.debug("invalid Content-Type"),m.reply(415);return}this._processInDialogSdpOffer(m).then(function(le){w._status!==S.STATUS_TERMINATED&&se.call(w,le)}).catch(function(le){y.warn(le)});function se(le){var ge=this,pe=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(m,pe),this._late_sdp&&(le=this._mangleOffer(le)),m.reply(200,null,pe,le,function(){ge._status=S.STATUS_WAITING_FOR_ACK,ge._setInvite2xxTimer(m,le),ge._setACKTimer()}),typeof Z.callback=="function"&&Z.callback()}}},{key:"_receiveUpdate",value:function(m){var w=this;y.debug("receiveUpdate()");var j=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0,Z={request:m,callback:void 0,reject:_.bind(this)},$=!1;function _(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$=!0;var ge=le.status_code||403,pe=le.reason_phrase||"",fe=C.cloneArray(le.extraHeaders);if(this._status!==S.STATUS_CONFIRMED)return!1;if(ge<300||ge>=700)throw new TypeError("Invalid status_code: ".concat(ge));m.reply(ge,pe,fe)}if(this.emit("update",Z),$)return;if(!m.body){se.call(this,null);return}if(j!=="application/sdp"){y.debug("invalid Content-Type"),m.reply(415);return}this._processInDialogSdpOffer(m).then(function(le){w._status!==S.STATUS_TERMINATED&&se.call(w,le)}).catch(function(le){y.warn(le)});function se(le){var ge=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(m,ge),m.reply(200,null,ge,le),typeof Z.callback=="function"&&Z.callback()}}},{key:"_processInDialogSdpOffer",value:function(m){var w=this;y.debug("_processInDialogSdpOffer()");var j=m.parseSDP(),Z=!1,$=t(j.media),_;try{for($.s();!(_=$.n()).done;){var se=_.value;if(Q.indexOf(se.type)!==-1){var le=se.direction||j.direction||"sendrecv";if(le==="sendonly"||le==="inactive")Z=!0;else{Z=!1;break}}}}catch(fe){$.e(fe)}finally{$.f()}var ge={originator:"remote",type:"offer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",ge);var pe=new RTCSessionDescription({type:"offer",sdp:ge.sdp});return this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");return w._connection.setRemoteDescription(pe).catch(function(fe){throw m.reply(488),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',fe),w.emit("peerconnection:setremotedescriptionfailed",fe),fe})}).then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");w._remoteHold===!0&&Z===!1?(w._remoteHold=!1,w._onunhold("remote")):w._remoteHold===!1&&Z===!0&&(w._remoteHold=!0,w._onhold("remote"))}).then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");return w._createLocalDescription("answer",w._rtcAnswerConstraints).catch(function(fe){throw m.reply(500),y.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]',fe),fe})}).catch(function(fe){y.warn("_processInDialogSdpOffer() failed [error: %o]",fe)}),this._connectionPromiseQueue}},{key:"_receiveRefer",value:function(m){var w=this;if(y.debug("receiveRefer()"),!m.refer_to){y.debug("no Refer-To header field present in REFER"),m.reply(400);return}if(m.refer_to.uri.scheme!==I.SIP){y.debug("Refer-To header field points to a non-SIP URI scheme"),m.reply(416);return}m.reply(202);var j=new W(this,m.cseq);y.debug('emit "refer"'),this.emit("refer",{request:m,accept:function(se,le){Z.call(w,se,le)},reject:function(){$.call(w)}});function Z(_){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_=typeof _=="function"?_:null,this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;var le=new P(this._ua);if(le.on("progress",function(pe){var fe=pe.response;j.notify(fe.status_code,fe.reason_phrase)}),le.on("accepted",function(pe){var fe=pe.response;j.notify(fe.status_code,fe.reason_phrase)}),le.on("_failed",function(pe){var fe=pe.message,Y=pe.cause;fe?j.notify(fe.status_code,fe.reason_phrase):j.notify(487,Y)}),m.refer_to.uri.hasHeader("replaces")){var ge=decodeURIComponent(m.refer_to.uri.getHeader("replaces"));se.extraHeaders=C.cloneArray(se.extraHeaders),se.extraHeaders.push("Replaces: ".concat(ge))}le.connect(m.refer_to.uri.toAor(),se,_)}function $(){j.notify(603)}}},{key:"_receiveNotify",value:function(m){switch(y.debug("receiveNotify()"),m.event||m.reply(400),m.event.event){case"refer":{var w,j;if(m.event.params&&m.event.params.id)w=m.event.params.id,j=this._referSubscribers[w];else if(Object.keys(this._referSubscribers).length===1)j=this._referSubscribers[Object.keys(this._referSubscribers)[0]];else{m.reply(400,"Missing event id parameter");return}if(!j){m.reply(481,"Subscription does not exist");return}j.receiveNotify(m),m.reply(200);break}default:m.reply(489)}}},{key:"_receiveReplaces",value:function(m){var w=this;y.debug("receiveReplaces()");function j($){var _=this;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;var se=new P(this._ua);se.on("confirmed",function(){_.terminate()}),se.init_incoming(m,$)}function Z(){y.debug("Replaced INVITE rejected by the user"),m.reply(486)}this.emit("replaces",{request:m,accept:function(_){j.call(w,_)},reject:function(){Z.call(w)}})}},{key:"_sendInitialRequest",value:function(m,w,j){var Z=this,$=new k(this._ua,this._request,{onRequestTimeout:function(){Z.onRequestTimeout()},onTransportError:function(){Z.onTransportError()},onAuthenticated:function(se){Z._request=se},onReceiveResponse:function(se){Z._receiveInviteResponse(se)}});Promise.resolve().then(function(){if(j)return j;if(m.audio||m.video)return Z._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(m).catch(function(_){throw Z._status===S.STATUS_TERMINATED?new Error("terminated"):(Z._failed("local",null,I.causes.USER_DENIED_MEDIA_ACCESS),y.warn('emit "getusermediafailed" [error:%o]',_),Z.emit("getusermediafailed",_),_)})}).then(function(_){if(Z._status===S.STATUS_TERMINATED)throw new Error("terminated");return Z._localMediaStream=_,_&&_.getTracks().forEach(function(se){Z._connection.addTrack(se,_)}),Z._connecting(Z._request),Z._createLocalDescription("offer",w).catch(function(se){throw Z._failed("local",null,I.causes.WEBRTC_ERROR),se})}).then(function(_){if(Z._is_canceled||Z._status===S.STATUS_TERMINATED)throw new Error("terminated");Z._request.body=_,Z._status=S.STATUS_INVITE_SENT,y.debug('emit "sending" [request:%o]',Z._request),Z.emit("sending",{request:Z._request}),$.send()}).catch(function(_){Z._status!==S.STATUS_TERMINATED&&y.warn(_)})}},{key:"_getDTMFRTPSender",value:function(){var m=this._connection.getSenders().find(function(w){return w.track&&w.track.kind==="audio"});if(!(m&&m.dtmf)){y.warn("sendDTMF() | no local audio track to send DTMF with");return}return m.dtmf}},{key:"_receiveInviteResponse",value:function(m){var w=this;if(y.debug("receiveInviteResponse()"),this._dialog&&m.status_code>=200&&m.status_code<=299)if(this._dialog.id.call_id===m.call_id&&this._dialog.id.local_tag===m.from_tag&&this._dialog.id.remote_tag===m.to_tag){this.sendRequest(I.ACK);return}else{var j=new L(this,m,"UAC");if(j.error!==void 0){y.debug(j.error);return}this.sendRequest(I.ACK),this.sendRequest(I.BYE);return}if(this._is_canceled){m.status_code>=100&&m.status_code<200?this._request.cancel(this._cancel_reason):m.status_code>=200&&m.status_code<299&&this._acceptAndTerminate(m);return}if(!(this._status!==S.STATUS_INVITE_SENT&&this._status!==S.STATUS_1XX_RECEIVED))switch(!0){case/^100$/.test(m.status_code):this._status=S.STATUS_1XX_RECEIVED;break;case/^1[0-9]{2}$/.test(m.status_code):{if(!m.to_tag){y.debug("1xx response received without to tag");break}if(m.hasHeader("contact")&&!this._createDialog(m,"UAC",!0))break;if(this._status=S.STATUS_1XX_RECEIVED,!m.body){this._progress("remote",m);break}var Z={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",Z);var $=new RTCSessionDescription({type:"answer",sdp:Z.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._connection.setRemoteDescription($)}).then(function(){return w._progress("remote",m)}).catch(function(ge){y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ge),w.emit("peerconnection:setremotedescriptionfailed",ge)});break}case/^2[0-9]{2}$/.test(m.status_code):{if(this._status=S.STATUS_CONFIRMED,!m.body){this._acceptAndTerminate(m,400,I.causes.MISSING_SDP),this._failed("remote",m,I.causes.BAD_MEDIA_DESCRIPTION);break}if(!this._createDialog(m,"UAC"))break;var _={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",_);var se=new RTCSessionDescription({type:"answer",sdp:_.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(w._connection.signalingState==="stable")return w._connection.createOffer(w._rtcOfferConstraints).then(function(ge){return w._connection.setLocalDescription(ge)}).catch(function(ge){w._acceptAndTerminate(m,500,ge.toString()),w._failed("local",m,I.causes.WEBRTC_ERROR)})}).then(function(){w._connection.setRemoteDescription(se).then(function(){w._handleSessionTimersInIncomingResponse(m),w._accepted("remote",m),w.sendRequest(I.ACK),w._confirmed("local",null)}).catch(function(ge){w._acceptAndTerminate(m,488,"Not Acceptable Here"),w._failed("remote",m,I.causes.BAD_MEDIA_DESCRIPTION),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ge),w.emit("peerconnection:setremotedescriptionfailed",ge)})});break}default:{var le=C.sipErrorCause(m.status_code);this._failed("remote",m,le)}}}},{key:"_sendReinvite",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("sendReinvite()");var j=C.cloneArray(w.extraHeaders),Z=C.cloneObject(w.eventHandlers),$=w.rtcOfferConstraints||this._rtcOfferConstraints||null,_=!1;j.push("Contact: ".concat(this._contact)),j.push("Content-Type: application/sdp"),this._sessionTimers.running&&j.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return m._createLocalDescription("offer",$)}).then(function(ge){ge=m._mangleOffer(ge);var pe={originator:"local",type:"offer",sdp:ge};y.debug('emit "sdp"'),m.emit("sdp",pe),m.sendRequest(I.INVITE,{extraHeaders:j,body:ge,eventHandlers:{onSuccessResponse:function(Y){se.call(m,Y),_=!0},onErrorResponse:function(Y){le.call(m,Y)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}})}).catch(function(){le()});function se(ge){var pe=this;if(this._status!==S.STATUS_TERMINATED&&(this.sendRequest(I.ACK),!_)){if(this._handleSessionTimersInIncomingResponse(ge),ge.body){if(!ge.hasHeader("Content-Type")||ge.getHeader("Content-Type").toLowerCase()!=="application/sdp"){le.call(this);return}}else{le.call(this);return}var fe={originator:"remote",type:"answer",sdp:ge.body};y.debug('emit "sdp"'),this.emit("sdp",fe);var Y=new RTCSessionDescription({type:"answer",sdp:fe.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return pe._connection.setRemoteDescription(Y)}).then(function(){Z.succeeded&&Z.succeeded(ge)}).catch(function(K){le.call(pe),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',K),pe.emit("peerconnection:setremotedescriptionfailed",K)})}}function le(ge){Z.failed&&Z.failed(ge)}}},{key:"_sendUpdate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("sendUpdate()");var j=C.cloneArray(w.extraHeaders),Z=C.cloneObject(w.eventHandlers),$=w.rtcOfferConstraints||this._rtcOfferConstraints||null,_=w.sdpOffer||!1,se=!1;j.push("Contact: ".concat(this._contact)),this._sessionTimers.running&&j.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),_?(j.push("Content-Type: application/sdp"),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return m._createLocalDescription("offer",$)}).then(function(pe){pe=m._mangleOffer(pe);var fe={originator:"local",type:"offer",sdp:pe};y.debug('emit "sdp"'),m.emit("sdp",fe),m.sendRequest(I.UPDATE,{extraHeaders:j,body:pe,eventHandlers:{onSuccessResponse:function(K){le.call(m,K),se=!0},onErrorResponse:function(K){ge.call(m,K)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}})}).catch(function(){ge.call(m)})):this.sendRequest(I.UPDATE,{extraHeaders:j,eventHandlers:{onSuccessResponse:function(fe){le.call(m,fe)},onErrorResponse:function(fe){ge.call(m,fe)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}});function le(pe){var fe=this;if(this._status!==S.STATUS_TERMINATED&&!se)if(this._handleSessionTimersInIncomingResponse(pe),_){if(pe.body){if(!pe.hasHeader("Content-Type")||pe.getHeader("Content-Type").toLowerCase()!=="application/sdp"){ge.call(this);return}}else{ge.call(this);return}var Y={originator:"remote",type:"answer",sdp:pe.body};y.debug('emit "sdp"'),this.emit("sdp",Y);var K=new RTCSessionDescription({type:"answer",sdp:Y.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return fe._connection.setRemoteDescription(K)}).then(function(){Z.succeeded&&Z.succeeded(pe)}).catch(function(ee){ge.call(fe),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ee),fe.emit("peerconnection:setremotedescriptionfailed",ee)})}else Z.succeeded&&Z.succeeded(pe)}function ge(pe){Z.failed&&Z.failed(pe)}}},{key:"_acceptAndTerminate",value:function(m,w,j){y.debug("acceptAndTerminate()");var Z=[];w&&(j=j||I.REASON_PHRASE[w]||"",Z.push("Reason: SIP ;cause=".concat(w,'; text="').concat(j,'"'))),(this._dialog||this._createDialog(m,"UAC"))&&(this.sendRequest(I.ACK),this.sendRequest(I.BYE,{extraHeaders:Z})),this._status=S.STATUS_TERMINATED}},{key:"_mangleOffer",value:function(m){if(!this._localHold&&!this._remoteHold)return m;if(m=T.parse(m),this._localHold&&!this._remoteHold){y.debug("mangleOffer() | me on hold, mangling offer");var w=t(m.media),j;try{for(w.s();!(j=w.n()).done;){var Z=j.value;Q.indexOf(Z.type)!==-1&&(Z.direction?Z.direction==="sendrecv"?Z.direction="sendonly":Z.direction==="recvonly"&&(Z.direction="inactive"):Z.direction="sendonly")}}catch(fe){w.e(fe)}finally{w.f()}}else if(this._localHold&&this._remoteHold){y.debug("mangleOffer() | both on hold, mangling offer");var $=t(m.media),_;try{for($.s();!(_=$.n()).done;){var se=_.value;Q.indexOf(se.type)!==-1&&(se.direction="inactive")}}catch(fe){$.e(fe)}finally{$.f()}}else if(this._remoteHold){y.debug("mangleOffer() | remote on hold, mangling offer");var le=t(m.media),ge;try{for(le.s();!(ge=le.n()).done;){var pe=ge.value;Q.indexOf(pe.type)!==-1&&(pe.direction?pe.direction==="sendrecv"?pe.direction="recvonly":pe.direction==="recvonly"&&(pe.direction="inactive"):pe.direction="recvonly")}}catch(fe){le.e(fe)}finally{le.f()}}return T.write(m)}},{key:"_setLocalMediaStatus",value:function(){var m=!0,w=!0;(this._localHold||this._remoteHold)&&(m=!1,w=!1),this._audioMuted&&(m=!1),this._videoMuted&&(w=!1),this._toggleMuteAudio(!m),this._toggleMuteVideo(!w)}},{key:"_handleSessionTimersInIncomingRequest",value:function(m,w){if(this._sessionTimers.enabled){var j;m.session_expires&&m.session_expires>=I.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=m.session_expires,j=m.session_expires_refresher||"uas"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,j="uas"),w.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(j)),this._sessionTimers.refresher=j==="uas",this._runSessionTimer()}}},{key:"_handleSessionTimersInIncomingResponse",value:function(m){if(this._sessionTimers.enabled){var w;m.session_expires&&m.session_expires>=I.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=m.session_expires,w=m.session_expires_refresher||"uac"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,w="uac"),this._sessionTimers.refresher=w==="uac",this._runSessionTimer()}}},{key:"_runSessionTimer",value:function(){var m=this,w=this._sessionTimers.currentExpires;this._sessionTimers.running=!0,clearTimeout(this._sessionTimers.timer),this._sessionTimers.refresher?this._sessionTimers.timer=setTimeout(function(){m._status!==S.STATUS_TERMINATED&&m._isReadyToReOffer()&&(y.debug("runSessionTimer() | sending session refresh request"),m._sessionTimers.refreshMethod===I.UPDATE?m._sendUpdate():m._sendReinvite())},w*500):this._sessionTimers.timer=setTimeout(function(){m._status!==S.STATUS_TERMINATED&&(y.warn("runSessionTimer() | timer expired, terminating the session"),m.terminate({cause:I.causes.REQUEST_TIMEOUT,status_code:408,reason_phrase:"Session Timer Expired"}))},w*1100)}},{key:"_toggleMuteAudio",value:function(m){var w=this._connection.getSenders().filter(function(_){return _.track&&_.track.kind==="audio"}),j=t(w),Z;try{for(j.s();!(Z=j.n()).done;){var $=Z.value;$.track.enabled=!m}}catch(_){j.e(_)}finally{j.f()}}},{key:"_toggleMuteVideo",value:function(m){var w=this._connection.getSenders().filter(function(_){return _.track&&_.track.kind==="video"}),j=t(w),Z;try{for(j.s();!(Z=j.n()).done;){var $=Z.value;$.track.enabled=!m}}catch(_){j.e(_)}finally{j.f()}}},{key:"_newRTCSession",value:function(m,w){y.debug("newRTCSession()"),this._ua.newRTCSession(this,{originator:m,session:this,request:w})}},{key:"_connecting",value:function(m){y.debug("session connecting"),y.debug('emit "connecting"'),this.emit("connecting",{request:m})}},{key:"_progress",value:function(m,w){y.debug("session progress"),y.debug('emit "progress"'),this.emit("progress",{originator:m,response:w||null})}},{key:"_accepted",value:function(m,w){y.debug("session accepted"),this._start_time=new Date,y.debug('emit "accepted"'),this.emit("accepted",{originator:m,response:w||null})}},{key:"_confirmed",value:function(m,w){y.debug("session confirmed"),this._is_confirmed=!0,y.debug('emit "confirmed"'),this.emit("confirmed",{originator:m,ack:w||null})}},{key:"_ended",value:function(m,w,j){y.debug("session ended"),this._end_time=new Date,this._close(),y.debug('emit "ended"'),this.emit("ended",{originator:m,message:w||null,cause:j})}},{key:"_failed",value:function(m,w,j){y.debug("session failed"),y.debug('emit "_failed"'),this.emit("_failed",{originator:m,message:w||null,cause:j}),this._close(),y.debug('emit "failed"'),this.emit("failed",{originator:m,message:w||null,cause:j})}},{key:"_onhold",value:function(m){y.debug("session onhold"),this._setLocalMediaStatus(),y.debug('emit "hold"'),this.emit("hold",{originator:m})}},{key:"_onunhold",value:function(m){y.debug("session onunhold"),this._setLocalMediaStatus(),y.debug('emit "unhold"'),this.emit("unhold",{originator:m})}},{key:"_onmute",value:function(m){var w=m.audio,j=m.video;y.debug("session onmute"),this._setLocalMediaStatus(),y.debug('emit "muted"'),this.emit("muted",{audio:w,video:j})}},{key:"_onunmute",value:function(m){var w=m.audio,j=m.video;y.debug("session onunmute"),this._setLocalMediaStatus(),y.debug('emit "unmuted"'),this.emit("unmuted",{audio:w,video:j})}},{key:"C",get:function(){return S}},{key:"causes",get:function(){return I.causes}},{key:"id",get:function(){return this._id}},{key:"connection",get:function(){return this._connection}},{key:"contact",get:function(){return this._contact}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}},{key:"start_time",get:function(){return this._start_time}},{key:"end_time",get:function(){return this._end_time}},{key:"data",get:function(){return this._data},set:function(m){this._data=m}},{key:"status",get:function(){return this._status}}]),P}(M),li}var ai,Su;function d0(){if(Su)return ai;Su=1;function e(C){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(O){return typeof O}:e=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},e(C)}function t(C,v){if(!(C instanceof v))throw new TypeError("Cannot call a class as a function")}function o(C,v){for(var O=0;O<v.length;O++){var L=v[O];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(C,L.key,L)}}function A(C,v,O){return v&&o(C.prototype,v),C}function l(C,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(v&&v.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),v&&a(C,v)}function a(C,v){return a=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},a(C,v)}function n(C){var v=s();return function(){var L=d(C),k;if(v){var D=d(this).constructor;k=Reflect.construct(L,arguments,D)}else k=L.apply(this,arguments);return f(this,k)}}function f(C,v){return v&&(e(v)==="object"||typeof v=="function")?v:h(C)}function h(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(C){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},d(C)}var c=un().EventEmitter,p=st(),q=rt(),M=cn(),T=pt(),R=Zr(),I=vn(),x=yn(),E=new p("Message");return ai=function(C){l(O,C);var v=n(O);function O(L){var k;return t(this,O),k=v.call(this),k._ua=L,k._request=null,k._closed=!1,k._direction=null,k._local_identity=null,k._remote_identity=null,k._is_replied=!1,k._data={},k}return A(O,[{key:"send",value:function(k,D){var N=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=k;if(k===void 0||D===void 0)throw new TypeError("Not enough arguments");if(k=this._ua.normalizeTarget(k),!k)throw new TypeError("Invalid target: ".concat(B));var H=T.cloneArray(W.extraHeaders),y=T.cloneObject(W.eventHandlers),S=W.contentType||"text/plain",Q={};W.fromUserName&&(Q.from_uri=new x("sip",W.fromUserName,this._ua.configuration.uri.host),H.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),W.fromDisplayName&&(Q.from_display_name=W.fromDisplayName);for(var U in y)Object.prototype.hasOwnProperty.call(y,U)&&this.on(U,y[U]);H.push("Content-Type: ".concat(S)),this._request=new M.OutgoingRequest(q.MESSAGE,k,this._ua,Q,H),D&&(this._request.body=D);var J=new R(this._ua,this._request,{onRequestTimeout:function(){N._onRequestTimeout()},onTransportError:function(){N._onTransportError()},onReceiveResponse:function(G){N._receiveResponse(G)}});this._newMessage("local",this._request),J.send()}},{key:"init_incoming",value:function(k){this._request=k,this._newMessage("remote",k),this._is_replied||(this._is_replied=!0,k.reply(200)),this._close()}},{key:"accept",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.cloneArray(k.extraHeaders),N=k.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"accept" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");this._is_replied=!0,this._request.reply(200,null,D,N)}},{key:"reject",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=k.status_code||480,N=k.reason_phrase,W=T.cloneArray(k.extraHeaders),B=k.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"reject" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");if(D<300||D>=700)throw new TypeError("Invalid status_code: ".concat(D));this._is_replied=!0,this._request.reply(D,N,W,B)}},{key:"_receiveResponse",value:function(k){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(k.status_code):break;case/^2[0-9]{2}$/.test(k.status_code):this._succeeded("remote",k);break;default:{var D=T.sipErrorCause(k.status_code);this._failed("remote",k,D);break}}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,q.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,q.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newMessage",value:function(k,D){k==="remote"?(this._direction="incoming",this._local_identity=D.to,this._remote_identity=D.from):k==="local"&&(this._direction="outgoing",this._local_identity=D.from,this._remote_identity=D.to),this._ua.newMessage(this,{originator:k,message:this,request:D})}},{key:"_failed",value:function(k,D,N){E.debug("MESSAGE failed"),this._close(),E.debug('emit "failed"'),this.emit("failed",{originator:k,response:D||null,cause:N})}},{key:"_succeeded",value:function(k,D){E.debug("MESSAGE succeeded"),this._close(),E.debug('emit "succeeded"'),this.emit("succeeded",{originator:k,response:D})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),O}(c),ai}var ui,wu;function f0(){if(wu)return ui;wu=1;function e(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(v){return typeof v}:e=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},e(E)}function t(E,C){if(!(E instanceof C))throw new TypeError("Cannot call a class as a function")}function o(E,C){for(var v=0;v<C.length;v++){var O=C[v];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(E,O.key,O)}}function A(E,C,v){return C&&o(E.prototype,C),E}function l(E,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(C&&C.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),C&&a(E,C)}function a(E,C){return a=Object.setPrototypeOf||function(O,L){return O.__proto__=L,O},a(E,C)}function n(E){var C=s();return function(){var O=d(E),L;if(C){var k=d(this).constructor;L=Reflect.construct(O,arguments,k)}else L=O.apply(this,arguments);return f(this,L)}}function f(E,C){return C&&(e(C)==="object"||typeof C=="function")?C:h(E)}function h(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(E){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},d(E)}var c=un().EventEmitter,p=st(),q=rt(),M=cn(),T=pt(),R=Zr(),I=vn(),x=new p("Options");return ui=function(E){l(v,E);var C=n(v);function v(O){var L;return t(this,v),L=C.call(this),L._ua=O,L._request=null,L._closed=!1,L._direction=null,L._local_identity=null,L._remote_identity=null,L._is_replied=!1,L._data={},L}return A(v,[{key:"send",value:function(L,k){var D=this,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=L;if(L===void 0)throw new TypeError("A target is required for OPTIONS");if(L=this._ua.normalizeTarget(L),!L)throw new TypeError("Invalid target: ".concat(W));var B=T.cloneArray(N.extraHeaders),H=T.cloneObject(N.eventHandlers),y=N.contentType||"application/sdp";for(var S in H)Object.prototype.hasOwnProperty.call(H,S)&&this.on(S,H[S]);B.push("Content-Type: ".concat(y)),this._request=new M.OutgoingRequest(q.OPTIONS,L,this._ua,null,B),k&&(this._request.body=k);var Q=new R(this._ua,this._request,{onRequestTimeout:function(){D._onRequestTimeout()},onTransportError:function(){D._onTransportError()},onReceiveResponse:function(J){D._receiveResponse(J)}});this._newOptions("local",this._request),Q.send()}},{key:"init_incoming",value:function(L){this._request=L,this._newOptions("remote",L),this._is_replied||(this._is_replied=!0,L.reply(200)),this._close()}},{key:"accept",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=T.cloneArray(L.extraHeaders),D=L.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"accept" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");this._is_replied=!0,this._request.reply(200,null,k,D)}},{key:"reject",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=L.status_code||480,D=L.reason_phrase,N=T.cloneArray(L.extraHeaders),W=L.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"reject" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");if(k<300||k>=700)throw new TypeError("Invalid status_code: ".concat(k));this._is_replied=!0,this._request.reply(k,D,N,W)}},{key:"_receiveResponse",value:function(L){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(L.status_code):break;case/^2[0-9]{2}$/.test(L.status_code):this._succeeded("remote",L);break;default:{var k=T.sipErrorCause(L.status_code);this._failed("remote",L,k);break}}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,q.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,q.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newOptions",value:function(L,k){L==="remote"?(this._direction="incoming",this._local_identity=k.to,this._remote_identity=k.from):L==="local"&&(this._direction="outgoing",this._local_identity=k.from,this._remote_identity=k.to),this._ua.newOptions(this,{originator:L,message:this,request:k})}},{key:"_failed",value:function(L,k,D){x.debug("OPTIONS failed"),this._close(),x.debug('emit "failed"'),this.emit("failed",{originator:L,response:k||null,cause:D})}},{key:"_succeeded",value:function(L,k){x.debug("OPTIONS succeeded"),this._close(),x.debug('emit "succeeded"'),this.emit("succeeded",{originator:L,response:k})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),v}(c),ui}var ci={},Eu;function Yd(){if(Eu)return ci;Eu=1;var e=st(),t=pt(),o=Ht(),A=new e("Socket");return ci.isSocket=function(l){if(Array.isArray(l))return!1;if(typeof l>"u")return A.warn("undefined JsSIP.Socket instance"),!1;try{if(!t.isString(l.url))throw A.warn("missing or invalid JsSIP.Socket url property"),new Error("Missing or invalid JsSIP.Socket url property");if(!t.isString(l.via_transport))throw A.warn("missing or invalid JsSIP.Socket via_transport property"),new Error("Missing or invalid JsSIP.Socket via_transport property");if(o.parse(l.sip_uri,"SIP_URI")===-1)throw A.warn("missing or invalid JsSIP.Socket sip_uri property"),new Error("missing or invalid JsSIP.Socket sip_uri property")}catch{return!1}try{["connect","disconnect","send"].forEach(function(a){if(!t.isFunction(l[a]))throw A.warn("missing or invalid JsSIP.Socket method: ".concat(a)),new Error("Missing or invalid JsSIP.Socket method: ".concat(a))})}catch{return!1}return!0},ci}var di,ku;function g0(){if(ku)return di;ku=1;function e(h,s){if(!(h instanceof s))throw new TypeError("Cannot call a class as a function")}function t(h,s){for(var d=0;d<s.length;d++){var c=s[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(h,c.key,c)}}function o(h,s,d){return s&&t(h.prototype,s),h}var A=st(),l=Yd(),a=rt(),n=new A("Transport"),f={STATUS_CONNECTED:0,STATUS_CONNECTING:1,STATUS_DISCONNECTED:2,SOCKET_STATUS_READY:0,SOCKET_STATUS_ERROR:1,recovery_options:{min_interval:a.CONNECTION_RECOVERY_MIN_INTERVAL,max_interval:a.CONNECTION_RECOVERY_MAX_INTERVAL}};return di=function(){function h(s){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.recovery_options;e(this,h),n.debug("new()"),this.status=f.STATUS_DISCONNECTED,this.socket=null,this.sockets=[],this.recovery_options=d,this.recover_attempts=0,this.recovery_timer=null,this.close_requested=!1;try{this.textDecoder=new TextDecoder("utf8")}catch(c){n.warn("cannot use TextDecoder: ".concat(c))}if(typeof s>"u")throw new TypeError("Invalid argument. undefined 'sockets' argument");s instanceof Array||(s=[s]),s.forEach(function(c){if(!l.isSocket(c.socket))throw new TypeError("Invalid argument. invalid 'JsSIP.Socket' instance");if(c.weight&&!Number(c.weight))throw new TypeError("Invalid argument. 'weight' attribute is not a number");this.sockets.push({socket:c.socket,weight:c.weight||0,status:f.SOCKET_STATUS_READY})},this),this._getSocket()}return o(h,[{key:"connect",value:function(){if(n.debug("connect()"),this.isConnected()){n.debug("Transport is already connected");return}else if(this.isConnecting()){n.debug("Transport is connecting");return}this.close_requested=!1,this.status=f.STATUS_CONNECTING,this.onconnecting({socket:this.socket,attempts:this.recover_attempts}),this.close_requested||(this.socket.onconnect=this._onConnect.bind(this),this.socket.ondisconnect=this._onDisconnect.bind(this),this.socket.ondata=this._onData.bind(this),this.socket.connect())}},{key:"disconnect",value:function(){n.debug("close()"),this.close_requested=!0,this.recover_attempts=0,this.status=f.STATUS_DISCONNECTED,this.recovery_timer!==null&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.socket.onconnect=function(){},this.socket.ondisconnect=function(){},this.socket.ondata=function(){},this.socket.disconnect(),this.ondisconnect({socket:this.socket,error:!1})}},{key:"send",value:function(d){if(n.debug("send()"),!this.isConnected())return n.warn("unable to send message, transport is not connected"),!1;var c=d.toString();return n.debug(`sending message:
|
|
57
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,j=!1,Z;return{s:function(){P=U[Symbol.iterator]()},n:function(){var _=P.next();return w=_.done,_},e:function(_){j=!0,Z=_},f:function(){try{!w&&P.return!=null&&P.return()}finally{if(j)throw Z}}}}function o(U,J){if(U){if(typeof U=="string")return A(U,J);var P=Object.prototype.toString.call(U).slice(8,-1);if(P==="Object"&&U.constructor&&(P=U.constructor.name),P==="Map"||P==="Set")return Array.from(U);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return A(U,J)}}function A(U,J){(J==null||J>U.length)&&(J=U.length);for(var P=0,G=new Array(J);P<J;P++)G[P]=U[P];return G}function l(U,J){if(!(U instanceof J))throw new TypeError("Cannot call a class as a function")}function a(U,J){for(var P=0;P<J.length;P++){var G=J[P];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(U,G.key,G)}}function n(U,J,P){return J&&a(U.prototype,J),P&&a(U,P),U}function f(U,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");U.prototype=Object.create(J&&J.prototype,{constructor:{value:U,writable:!0,configurable:!0}}),J&&h(U,J)}function h(U,J){return h=Object.setPrototypeOf||function(G,m){return G.__proto__=m,G},h(U,J)}function s(U){var J=p();return function(){var G=q(U),m;if(J){var w=q(this).constructor;m=Reflect.construct(G,arguments,w)}else m=G.apply(this,arguments);return d(this,m)}}function d(U,J){return J&&(e(J)==="object"||typeof J=="function")?J:c(U)}function c(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function q(U){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},q(U)}var M=un().EventEmitter,T=Fd(),R=st(),I=rt(),x=vn(),E=Hr(),C=pt(),v=Qd(),O=cn(),L=i0(),k=Zr(),D=s0(),N=l0(),W=a0(),B=u0(),H=yn(),y=new R("RTCSession"),S={STATUS_NULL:0,STATUS_INVITE_SENT:1,STATUS_1XX_RECEIVED:2,STATUS_INVITE_RECEIVED:3,STATUS_WAITING_FOR_ANSWER:4,STATUS_ANSWERED:5,STATUS_WAITING_FOR_ACK:6,STATUS_CANCELED:7,STATUS_TERMINATED:8,STATUS_CONFIRMED:9},Q=["audio","video"];return li=function(U){f(P,U);var J=s(P);n(P,null,[{key:"C",get:function(){return S}}]);function P(G){var m;return l(this,P),y.debug("new"),m=J.call(this),m._id=null,m._ua=G,m._status=S.STATUS_NULL,m._dialog=null,m._earlyDialogs={},m._contact=null,m._from_tag=null,m._to_tag=null,m._connection=null,m._connectionPromiseQueue=Promise.resolve(),m._request=null,m._is_canceled=!1,m._cancel_reason="",m._is_confirmed=!1,m._late_sdp=!1,m._rtcOfferConstraints=null,m._rtcAnswerConstraints=null,m._localMediaStream=null,m._localMediaStreamLocallyGenerated=!1,m._rtcReady=!0,m._iceReady=!1,m._timers={ackTimer:null,expiresTimer:null,invite2xxTimer:null,userNoAnswerTimer:null},m._direction=null,m._local_identity=null,m._remote_identity=null,m._start_time=null,m._end_time=null,m._tones=null,m._audioMuted=!1,m._videoMuted=!1,m._localHold=!1,m._remoteHold=!1,m._sessionTimers={enabled:m._ua.configuration.session_timers,refreshMethod:m._ua.configuration.session_timers_refresh_method,defaultExpires:I.SESSION_EXPIRES,currentExpires:null,running:!1,refresher:!1,timer:null},m._referSubscribers={},m._data={},m}return n(P,[{key:"isInProgress",value:function(){switch(this._status){case S.STATUS_NULL:case S.STATUS_INVITE_SENT:case S.STATUS_1XX_RECEIVED:case S.STATUS_INVITE_RECEIVED:case S.STATUS_WAITING_FOR_ANSWER:return!0;default:return!1}}},{key:"isEstablished",value:function(){switch(this._status){case S.STATUS_ANSWERED:case S.STATUS_WAITING_FOR_ACK:case S.STATUS_CONFIRMED:return!0;default:return!1}}},{key:"isEnded",value:function(){switch(this._status){case S.STATUS_CANCELED:case S.STATUS_TERMINATED:return!0;default:return!1}}},{key:"isMuted",value:function(){return{audio:this._audioMuted,video:this._videoMuted}}},{key:"isOnHold",value:function(){return{local:this._localHold,remote:this._remoteHold}}},{key:"connect",value:function(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=arguments.length>2?arguments[2]:void 0;y.debug("connect()");var Z=m,$=C.cloneObject(w.eventHandlers),_=C.cloneArray(w.extraHeaders),se=C.cloneObject(w.mediaConstraints,{audio:!0,video:!0}),le=w.mediaStream||null,ge=C.cloneObject(w.pcConfig,{iceServers:[]}),pe=w.rtcConstraints||null,fe=w.rtcOfferConstraints||null;if(this._rtcOfferConstraints=fe,this._rtcAnswerConstraints=w.rtcAnswerConstraints||null,this._data=w.data||this._data,m===void 0)throw new TypeError("Not enough arguments");if(this._status!==S.STATUS_NULL)throw new x.InvalidStateError(this._status);if(!window.RTCPeerConnection)throw new x.NotSupportedError("WebRTC not supported");if(m=this._ua.normalizeTarget(m),!m)throw new TypeError("Invalid target: ".concat(Z));this._sessionTimers.enabled&&C.isDecimal(w.sessionTimersExpires)&&(w.sessionTimersExpires>=I.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=w.sessionTimersExpires:this._sessionTimers.defaultExpires=I.SESSION_EXPIRES);for(var Y in $)Object.prototype.hasOwnProperty.call($,Y)&&this.on(Y,$[Y]);this._from_tag=C.newTag();var K=w.anonymous||!1,ee={from_tag:this._from_tag};this._contact=this._ua.contact.toString({anonymous:K,outbound:!0}),K?(ee.from_display_name="Anonymous",ee.from_uri=new H("sip","anonymous","anonymous.invalid"),_.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())),_.push("Privacy: id")):w.fromUserName&&(ee.from_uri=new H("sip",w.fromUserName,this._ua.configuration.uri.host),_.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),w.fromDisplayName&&(ee.from_display_name=w.fromDisplayName),_.push("Contact: ".concat(this._contact)),_.push("Content-Type: application/sdp"),this._sessionTimers.enabled&&_.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher?";refresher=uac":"")),this._request=new O.InitialOutgoingInviteRequest(m,this._ua,ee,_),this._id=this._request.call_id+this._from_tag,this._createRTCConnection(ge,pe),this._direction="outgoing",this._local_identity=this._request.from,this._remote_identity=this._request.to,j&&j(this),this._newRTCSession("local",this._request),this._sendInitialRequest(se,fe,le)}},{key:"init_incoming",value:function(m,w){var j=this;y.debug("init_incoming()");var Z,$=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0;if(m.body&&$!=="application/sdp"){m.reply(415);return}if(this._status=S.STATUS_INVITE_RECEIVED,this._from_tag=m.from_tag,this._id=m.call_id+this._from_tag,this._request=m,this._contact=this._ua.contact.toString(),m.hasHeader("expires")&&(Z=m.getHeader("expires")*1e3),m.to_tag=C.newTag(),!this._createDialog(m,"UAS",!0)){m.reply(500,"Missing Contact header field");return}m.body?this._late_sdp=!1:this._late_sdp=!0,this._status=S.STATUS_WAITING_FOR_ANSWER,this._timers.userNoAnswerTimer=setTimeout(function(){m.reply(408),j._failed("local",null,I.causes.NO_ANSWER)},this._ua.configuration.no_answer_timeout),Z&&(this._timers.expiresTimer=setTimeout(function(){j._status===S.STATUS_WAITING_FOR_ANSWER&&(m.reply(487),j._failed("system",null,I.causes.EXPIRES))},Z)),this._direction="incoming",this._local_identity=m.to,this._remote_identity=m.from,w&&w(this),this._newRTCSession("remote",m),this._status!==S.STATUS_TERMINATED&&(m.reply(180,null,["Contact: ".concat(this._contact)]),this._progress("local",null))}},{key:"answer",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("answer()");var j=this._request,Z=C.cloneArray(w.extraHeaders),$=C.cloneObject(w.mediaConstraints),_=w.mediaStream||null,se=C.cloneObject(w.pcConfig,{iceServers:[]}),le=w.rtcConstraints||null,ge=w.rtcAnswerConstraints||null,pe=C.cloneObject(w.rtcOfferConstraints),fe,Y=!1,K=!1,ee=!1,te=!1;if(this._rtcAnswerConstraints=ge,this._rtcOfferConstraints=w.rtcOfferConstraints||null,this._data=w.data||this._data,this._direction!=="incoming")throw new x.NotSupportedError('"answer" not supported for outgoing RTCSession');if(this._status!==S.STATUS_WAITING_FOR_ANSWER)throw new x.InvalidStateError(this._status);if(this._sessionTimers.enabled&&C.isDecimal(w.sessionTimersExpires)&&(w.sessionTimersExpires>=I.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=w.sessionTimersExpires:this._sessionTimers.defaultExpires=I.SESSION_EXPIRES),this._status=S.STATUS_ANSWERED,!this._createDialog(j,"UAS")){j.reply(500,"Error creating dialog");return}clearTimeout(this._timers.userNoAnswerTimer),Z.unshift("Contact: ".concat(this._contact));var X=j.parseSDP();Array.isArray(X.media)||(X.media=[X.media]);var re=t(X.media),ne;try{for(re.s();!(ne=re.n()).done;){var Ae=ne.value;Ae.type==="audio"&&(Y=!0,(!Ae.direction||Ae.direction==="sendrecv")&&(ee=!0)),Ae.type==="video"&&(K=!0,(!Ae.direction||Ae.direction==="sendrecv")&&(te=!0))}}catch(Ie){re.e(Ie)}finally{re.f()}if(_&&$.audio===!1){fe=_.getAudioTracks();var ue=t(fe),ae;try{for(ue.s();!(ae=ue.n()).done;){var ve=ae.value;_.removeTrack(ve)}}catch(Ie){ue.e(Ie)}finally{ue.f()}}if(_&&$.video===!1){fe=_.getVideoTracks();var he=t(fe),ye;try{for(he.s();!(ye=he.n()).done;){var we=ye.value;_.removeTrack(we)}}catch(Ie){he.e(Ie)}finally{he.f()}}!_&&$.audio===void 0&&($.audio=ee),!_&&$.video===void 0&&($.video=te),!_&&!Y&&!pe.offerToReceiveAudio&&($.audio=!1),!_&&!K&&!pe.offerToReceiveVideo&&($.video=!1),this._createRTCConnection(se,le),Promise.resolve().then(function(){if(_)return _;if($.audio||$.video)return m._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia($).catch(function(Ie){throw m._status===S.STATUS_TERMINATED?new Error("terminated"):(j.reply(480),m._failed("local",null,I.causes.USER_DENIED_MEDIA_ACCESS),y.warn('emit "getusermediafailed" [error:%o]',Ie),m.emit("getusermediafailed",Ie),new Error("getUserMedia() failed"))})}).then(function(Ie){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");m._localMediaStream=Ie,Ie&&Ie.getTracks().forEach(function(Ue){m._connection.addTrack(Ue,Ie)})}).then(function(){if(!m._late_sdp){var Ie={originator:"remote",type:"offer",sdp:j.body};y.debug('emit "sdp"'),m.emit("sdp",Ie);var Ue=new RTCSessionDescription({type:"offer",sdp:Ie.sdp});return m._connectionPromiseQueue=m._connectionPromiseQueue.then(function(){return m._connection.setRemoteDescription(Ue)}).catch(function(Me){throw j.reply(488),m._failed("system",null,I.causes.WEBRTC_ERROR),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',Me),m.emit("peerconnection:setremotedescriptionfailed",Me),new Error("peerconnection.setRemoteDescription() failed")}),m._connectionPromiseQueue}}).then(function(){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");return m._connecting(j),m._late_sdp?m._createLocalDescription("offer",m._rtcOfferConstraints).catch(function(){throw j.reply(500),new Error("_createLocalDescription() failed")}):m._createLocalDescription("answer",ge).catch(function(){throw j.reply(500),new Error("_createLocalDescription() failed")})}).then(function(Ie){if(m._status===S.STATUS_TERMINATED)throw new Error("terminated");m._handleSessionTimersInIncomingRequest(j,Z),j.reply(200,null,Z,Ie,function(){m._status=S.STATUS_WAITING_FOR_ACK,m._setInvite2xxTimer(j,Ie),m._setACKTimer(),m._accepted("local")},function(){m._failed("system",null,I.causes.CONNECTION_ERROR)})}).catch(function(Ie){m._status!==S.STATUS_TERMINATED&&y.warn(Ie)})}},{key:"terminate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("terminate()");var j=w.cause||I.causes.BYE,Z=C.cloneArray(w.extraHeaders),$=w.body,_,se=w.status_code,le=w.reason_phrase;if(this._status===S.STATUS_TERMINATED)throw new x.InvalidStateError(this._status);switch(this._status){case S.STATUS_NULL:case S.STATUS_INVITE_SENT:case S.STATUS_1XX_RECEIVED:if(y.debug("canceling session"),se&&(se<200||se>=700))throw new TypeError("Invalid status_code: ".concat(se));se&&(le=le||I.REASON_PHRASE[se]||"",_="SIP ;cause=".concat(se,' ;text="').concat(le,'"')),this._status===S.STATUS_NULL||this._status===S.STATUS_INVITE_SENT?(this._is_canceled=!0,this._cancel_reason=_):this._status===S.STATUS_1XX_RECEIVED&&this._request.cancel(_),this._status=S.STATUS_CANCELED,this._failed("local",null,I.causes.CANCELED);break;case S.STATUS_WAITING_FOR_ANSWER:case S.STATUS_ANSWERED:if(y.debug("rejecting session"),se=se||480,se<300||se>=700)throw new TypeError("Invalid status_code: ".concat(se));this._request.reply(se,le,Z,$),this._failed("local",null,I.causes.REJECTED);break;case S.STATUS_WAITING_FOR_ACK:case S.STATUS_CONFIRMED:if(y.debug("terminating session"),le=w.reason_phrase||I.REASON_PHRASE[se]||"",se&&(se<200||se>=700))throw new TypeError("Invalid status_code: ".concat(se));if(se&&Z.push("Reason: SIP ;cause=".concat(se,'; text="').concat(le,'"')),this._status===S.STATUS_WAITING_FOR_ACK&&this._direction==="incoming"&&this._request.server_transaction.state!==E.C.STATUS_TERMINATED){var ge=this._dialog;this.receiveRequest=function(pe){var fe=pe.method;fe===I.ACK&&(m.sendRequest(I.BYE,{extraHeaders:Z,body:$}),ge.terminate())},this._request.server_transaction.on("stateChanged",function(){m._request.server_transaction.state===E.C.STATUS_TERMINATED&&(m.sendRequest(I.BYE,{extraHeaders:Z,body:$}),ge.terminate())}),this._ended("local",null,j),this._dialog=ge,this._ua.newDialog(ge)}else this.sendRequest(I.BYE,{extraHeaders:Z,body:$}),this._ended("local",null,j)}}},{key:"sendDTMF",value:function(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};y.debug("sendDTMF() | tones: %s",m);var j=0,Z=w.duration||null,$=w.interToneGap||null,_=w.transportType||I.DTMF_TRANSPORT.INFO;if(m===void 0)throw new TypeError("Not enough arguments");if(this._status!==S.STATUS_CONFIRMED&&this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_1XX_RECEIVED)throw new x.InvalidStateError(this._status);if(_!==I.DTMF_TRANSPORT.INFO&&_!==I.DTMF_TRANSPORT.RFC2833)throw new TypeError("invalid transportType: ".concat(_));if(typeof m=="number"&&(m=m.toString()),!m||typeof m!="string"||!m.match(/^[0-9A-DR#*,]+$/i))throw new TypeError("Invalid tones: ".concat(m));if(Z&&!C.isDecimal(Z))throw new TypeError("Invalid tone duration: ".concat(Z));if(Z?Z<D.C.MIN_DURATION?(y.debug('"duration" value is lower than the minimum allowed, setting it to '.concat(D.C.MIN_DURATION," milliseconds")),Z=D.C.MIN_DURATION):Z>D.C.MAX_DURATION?(y.debug('"duration" value is greater than the maximum allowed, setting it to '.concat(D.C.MAX_DURATION," milliseconds")),Z=D.C.MAX_DURATION):Z=Math.abs(Z):Z=D.C.DEFAULT_DURATION,w.duration=Z,$&&!C.isDecimal($))throw new TypeError("Invalid interToneGap: ".concat($));if($?$<D.C.MIN_INTER_TONE_GAP?(y.debug('"interToneGap" value is lower than the minimum allowed, setting it to '.concat(D.C.MIN_INTER_TONE_GAP," milliseconds")),$=D.C.MIN_INTER_TONE_GAP):$=Math.abs($):$=D.C.DEFAULT_INTER_TONE_GAP,_===I.DTMF_TRANSPORT.RFC2833){var se=this._getDTMFRTPSender();se&&(m=se.toneBuffer+m,se.insertDTMF(m,Z,$));return}if(this._tones){this._tones+=m;return}this._tones=m,le.call(this);function le(){var ge=this,pe;if(this._status===S.STATUS_TERMINATED||!this._tones||j>=this._tones.length){this._tones=null;return}var fe=this._tones[j];if(j+=1,fe===",")pe=2e3;else{var Y=new D(this);w.eventHandlers={onFailed:function(){ge._tones=null}},Y.send(fe,w),pe=Z+$}setTimeout(le.bind(this),pe)}}},{key:"sendInfo",value:function(m,w){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(y.debug("sendInfo()"),this._status!==S.STATUS_CONFIRMED&&this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_1XX_RECEIVED)throw new x.InvalidStateError(this._status);var Z=new N(this);Z.send(m,w,j)}},{key:"mute",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{audio:!0,video:!1};y.debug("mute()");var w=!1,j=!1;this._audioMuted===!1&&m.audio&&(w=!0,this._audioMuted=!0,this._toggleMuteAudio(!0)),this._videoMuted===!1&&m.video&&(j=!0,this._videoMuted=!0,this._toggleMuteVideo(!0)),(w===!0||j===!0)&&this._onmute({audio:w,video:j})}},{key:"unmute",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{audio:!0,video:!0};y.debug("unmute()");var w=!1,j=!1;this._audioMuted===!0&&m.audio&&(w=!0,this._audioMuted=!1,this._localHold===!1&&this._toggleMuteAudio(!1)),this._videoMuted===!0&&m.video&&(j=!0,this._videoMuted=!1,this._localHold===!1&&this._toggleMuteVideo(!1)),(w===!0||j===!0)&&this._onunmute({audio:w,video:j})}},{key:"hold",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;if(y.debug("hold()"),this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||this._localHold===!0||!this._isReadyToReOffer())return!1;this._localHold=!0,this._onhold("local");var Z={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Hold Failed"})}};return w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:Z,extraHeaders:w.extraHeaders}),!0}},{key:"unhold",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;if(y.debug("unhold()"),this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||this._localHold===!1||!this._isReadyToReOffer())return!1;this._localHold=!1,this._onunhold("local");var Z={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Unhold Failed"})}};return w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:Z,extraHeaders:w.extraHeaders}),!0}},{key:"renegotiate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=arguments.length>1?arguments[1]:void 0;y.debug("renegotiate()");var Z=w.rtcOfferConstraints||null;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED||!this._isReadyToReOffer())return!1;var $={succeeded:function(){j&&j()},failed:function(){m.terminate({cause:I.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Media Renegotiation Failed"})}};return this._setLocalMediaStatus(),w.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:$,rtcOfferConstraints:Z,extraHeaders:w.extraHeaders}):this._sendReinvite({eventHandlers:$,rtcOfferConstraints:Z,extraHeaders:w.extraHeaders}),!0}},{key:"refer",value:function(m,w){var j=this;y.debug("refer()");var Z=m;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;if(m=this._ua.normalizeTarget(m),!m)throw new TypeError("Invalid target: ".concat(Z));var $=new B(this);$.sendRefer(m,w);var _=$.id;return this._referSubscribers[_]=$,$.on("requestFailed",function(){delete j._referSubscribers[_]}),$.on("accepted",function(){delete j._referSubscribers[_]}),$.on("failed",function(){delete j._referSubscribers[_]}),$}},{key:"sendRequest",value:function(m,w){return y.debug("sendRequest()"),this._dialog.sendRequest(m,w)}},{key:"receiveRequest",value:function(m){var w=this;if(y.debug("receiveRequest()"),m.method===I.CANCEL)(this._status===S.STATUS_WAITING_FOR_ANSWER||this._status===S.STATUS_ANSWERED)&&(this._status=S.STATUS_CANCELED,this._request.reply(487),this._failed("remote",m,I.causes.CANCELED));else switch(m.method){case I.ACK:if(this._status!==S.STATUS_WAITING_FOR_ACK)return;if(this._status=S.STATUS_CONFIRMED,clearTimeout(this._timers.ackTimer),clearTimeout(this._timers.invite2xxTimer),this._late_sdp){if(!m.body){this.terminate({cause:I.causes.MISSING_SDP,status_code:400});break}var j={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",j);var Z=new RTCSessionDescription({type:"answer",sdp:j.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._connection.setRemoteDescription(Z)}).then(function(){w._is_confirmed||w._confirmed("remote",m)}).catch(function(_){w.terminate({cause:I.causes.BAD_MEDIA_DESCRIPTION,status_code:488}),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',_),w.emit("peerconnection:setremotedescriptionfailed",_)})}else this._is_confirmed||this._confirmed("remote",m);break;case I.BYE:this._status===S.STATUS_CONFIRMED||this._status===S.STATUS_WAITING_FOR_ACK?(m.reply(200),this._ended("remote",m,I.causes.BYE)):this._status===S.STATUS_INVITE_RECEIVED||this._status===S.STATUS_WAITING_FOR_ANSWER?(m.reply(200),this._request.reply(487,"BYE Received"),this._ended("remote",m,I.causes.BYE)):m.reply(403,"Wrong Status");break;case I.INVITE:this._status===S.STATUS_CONFIRMED?m.hasHeader("replaces")?this._receiveReplaces(m):this._receiveReinvite(m):m.reply(403,"Wrong Status");break;case I.INFO:if(this._status===S.STATUS_1XX_RECEIVED||this._status===S.STATUS_WAITING_FOR_ANSWER||this._status===S.STATUS_ANSWERED||this._status===S.STATUS_WAITING_FOR_ACK||this._status===S.STATUS_CONFIRMED){var $=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0;$&&$.match(/^application\/dtmf-relay/i)?new D(this).init_incoming(m):$!==void 0?new N(this).init_incoming(m):m.reply(415)}else m.reply(403,"Wrong Status");break;case I.UPDATE:this._status===S.STATUS_CONFIRMED?this._receiveUpdate(m):m.reply(403,"Wrong Status");break;case I.REFER:this._status===S.STATUS_CONFIRMED?this._receiveRefer(m):m.reply(403,"Wrong Status");break;case I.NOTIFY:this._status===S.STATUS_CONFIRMED?this._receiveNotify(m):m.reply(403,"Wrong Status");break;default:m.reply(501)}}},{key:"onTransportError",value:function(){y.warn("onTransportError()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:I.causes.CONNECTION_ERROR,cause:I.causes.CONNECTION_ERROR})}},{key:"onRequestTimeout",value:function(){y.warn("onRequestTimeout()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:408,reason_phrase:I.causes.REQUEST_TIMEOUT,cause:I.causes.REQUEST_TIMEOUT})}},{key:"onDialogError",value:function(){y.warn("onDialogError()"),this._status!==S.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:I.causes.DIALOG_ERROR,cause:I.causes.DIALOG_ERROR})}},{key:"newDTMF",value:function(m){y.debug("newDTMF()"),this.emit("newDTMF",m)}},{key:"newInfo",value:function(m){y.debug("newInfo()"),this.emit("newInfo",m)}},{key:"_isReadyToReOffer",value:function(){return this._rtcReady?this._dialog?this._dialog.uac_pending_reply===!0||this._dialog.uas_pending_reply===!0?(y.debug("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"),!1):!0:(y.debug("_isReadyToReOffer() | session not established yet"),!1):(y.debug("_isReadyToReOffer() | internal WebRTC status not ready"),!1)}},{key:"_close",value:function(){if(y.debug("close()"),this._localMediaStream&&this._localMediaStreamLocallyGenerated&&(y.debug("close() | closing local MediaStream"),C.closeMediaStream(this._localMediaStream)),this._status!==S.STATUS_TERMINATED){if(this._status=S.STATUS_TERMINATED,this._connection)try{this._connection.close()}catch(Z){y.warn("close() | error closing the RTCPeerConnection: %o",Z)}for(var m in this._timers)Object.prototype.hasOwnProperty.call(this._timers,m)&&clearTimeout(this._timers[m]);clearTimeout(this._sessionTimers.timer),this._dialog&&(this._dialog.terminate(),delete this._dialog);for(var w in this._earlyDialogs)Object.prototype.hasOwnProperty.call(this._earlyDialogs,w)&&(this._earlyDialogs[w].terminate(),delete this._earlyDialogs[w]);for(var j in this._referSubscribers)Object.prototype.hasOwnProperty.call(this._referSubscribers,j)&&delete this._referSubscribers[j];this._ua.destroyRTCSession(this)}}},{key:"_setInvite2xxTimer",value:function(m,w){var j=v.T1;function Z(){this._status===S.STATUS_WAITING_FOR_ACK&&(m.reply(200,null,["Contact: ".concat(this._contact)],w),j<v.T2&&(j=j*2,j>v.T2&&(j=v.T2)),this._timers.invite2xxTimer=setTimeout(Z.bind(this),j))}this._timers.invite2xxTimer=setTimeout(Z.bind(this),j)}},{key:"_setACKTimer",value:function(){var m=this;this._timers.ackTimer=setTimeout(function(){m._status===S.STATUS_WAITING_FOR_ACK&&(y.debug("no ACK received, terminating the session"),clearTimeout(m._timers.invite2xxTimer),m.sendRequest(I.BYE),m._ended("remote",null,I.causes.NO_ACK))},v.TIMER_H)}},{key:"_createRTCConnection",value:function(m,w){var j=this;this._connection=new RTCPeerConnection(m,w),this._connection.addEventListener("iceconnectionstatechange",function(){var Z=j._connection.iceConnectionState;Z==="failed"&&j.terminate({cause:I.causes.RTP_TIMEOUT,status_code:408,reason_phrase:I.causes.RTP_TIMEOUT})}),y.debug('emit "peerconnection"'),this.emit("peerconnection",{peerconnection:this._connection})}},{key:"_createLocalDescription",value:function(m,w){var j=this;if(y.debug("createLocalDescription()"),m!=="offer"&&m!=="answer")throw new Error('createLocalDescription() | invalid type "'.concat(m,'"'));var Z=this._connection;return this._rtcReady=!1,Promise.resolve().then(function(){return m==="offer"?Z.createOffer(w).catch(function($){return y.warn('emit "peerconnection:createofferfailed" [error:%o]',$),j.emit("peerconnection:createofferfailed",$),Promise.reject($)}):Z.createAnswer(w).catch(function($){return y.warn('emit "peerconnection:createanswerfailed" [error:%o]',$),j.emit("peerconnection:createanswerfailed",$),Promise.reject($)})}).then(function($){return Z.setLocalDescription($).catch(function(_){return j._rtcReady=!0,y.warn('emit "peerconnection:setlocaldescriptionfailed" [error:%o]',_),j.emit("peerconnection:setlocaldescriptionfailed",_),Promise.reject(_)})}).then(function(){var $=w&&w.iceRestart;if(Z.iceGatheringState==="complete"&&!$||Z.iceGatheringState==="gathering"&&j._iceReady){j._rtcReady=!0;var _={originator:"local",type:m,sdp:Z.localDescription.sdp};return y.debug('emit "sdp"'),j.emit("sdp",_),Promise.resolve(_.sdp)}return new Promise(function(se){var le=!1,ge,pe;j._iceReady=!1;var fe=function(){if(!le){Z.removeEventListener("icecandidate",ge),Z.removeEventListener("icegatheringstatechange",pe),le=!0,j._rtcReady=!0,j._iceReady=!0;var K={originator:"local",type:m,sdp:Z.localDescription.sdp};y.debug('emit "sdp"'),j.emit("sdp",K),se(K.sdp)}};Z.addEventListener("icecandidate",ge=function(K){var ee=K.candidate;ee?j.emit("icecandidate",{candidate:ee,ready:fe}):fe()}),Z.addEventListener("icegatheringstatechange",pe=function(){Z.iceGatheringState==="complete"&&fe()})})})}},{key:"_createDialog",value:function(m,w,j){var Z=w==="UAS"?m.to_tag:m.from_tag,$=w==="UAS"?m.from_tag:m.to_tag,_=m.call_id+Z+$,se=this._earlyDialogs[_];if(j)return se?!0:(se=new L(this,m,w,L.C.STATUS_EARLY),se.error?(y.debug(se.error),this._failed("remote",m,I.causes.INTERNAL_ERROR),!1):(this._earlyDialogs[_]=se,!0));if(this._from_tag=m.from_tag,this._to_tag=m.to_tag,se)return se.update(m,w),this._dialog=se,delete this._earlyDialogs[_],!0;var le=new L(this,m,w);return le.error?(y.debug(le.error),this._failed("remote",m,I.causes.INTERNAL_ERROR),!1):(this._dialog=le,!0)}},{key:"_receiveReinvite",value:function(m){var w=this;y.debug("receiveReinvite()");var j=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0,Z={request:m,callback:void 0,reject:_.bind(this)},$=!1;function _(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$=!0;var ge=le.status_code||403,pe=le.reason_phrase||"",fe=C.cloneArray(le.extraHeaders);if(this._status!==S.STATUS_CONFIRMED)return!1;if(ge<300||ge>=700)throw new TypeError("Invalid status_code: ".concat(ge));m.reply(ge,pe,fe)}if(this.emit("reinvite",Z),$)return;if(this._late_sdp=!1,!m.body){this._late_sdp=!0,this._remoteHold&&(this._remoteHold=!1,this._onunhold("remote")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._createLocalDescription("offer",w._rtcOfferConstraints)}).then(function(le){se.call(w,le)}).catch(function(){m.reply(500)});return}if(j!=="application/sdp"){y.debug("invalid Content-Type"),m.reply(415);return}this._processInDialogSdpOffer(m).then(function(le){w._status!==S.STATUS_TERMINATED&&se.call(w,le)}).catch(function(le){y.warn(le)});function se(le){var ge=this,pe=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(m,pe),this._late_sdp&&(le=this._mangleOffer(le)),m.reply(200,null,pe,le,function(){ge._status=S.STATUS_WAITING_FOR_ACK,ge._setInvite2xxTimer(m,le),ge._setACKTimer()}),typeof Z.callback=="function"&&Z.callback()}}},{key:"_receiveUpdate",value:function(m){var w=this;y.debug("receiveUpdate()");var j=m.hasHeader("Content-Type")?m.getHeader("Content-Type").toLowerCase():void 0,Z={request:m,callback:void 0,reject:_.bind(this)},$=!1;function _(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$=!0;var ge=le.status_code||403,pe=le.reason_phrase||"",fe=C.cloneArray(le.extraHeaders);if(this._status!==S.STATUS_CONFIRMED)return!1;if(ge<300||ge>=700)throw new TypeError("Invalid status_code: ".concat(ge));m.reply(ge,pe,fe)}if(this.emit("update",Z),$)return;if(!m.body){se.call(this,null);return}if(j!=="application/sdp"){y.debug("invalid Content-Type"),m.reply(415);return}this._processInDialogSdpOffer(m).then(function(le){w._status!==S.STATUS_TERMINATED&&se.call(w,le)}).catch(function(le){y.warn(le)});function se(le){var ge=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(m,ge),m.reply(200,null,ge,le),typeof Z.callback=="function"&&Z.callback()}}},{key:"_processInDialogSdpOffer",value:function(m){var w=this;y.debug("_processInDialogSdpOffer()");var j=m.parseSDP(),Z=!1,$=t(j.media),_;try{for($.s();!(_=$.n()).done;){var se=_.value;if(Q.indexOf(se.type)!==-1){var le=se.direction||j.direction||"sendrecv";if(le==="sendonly"||le==="inactive")Z=!0;else{Z=!1;break}}}}catch(fe){$.e(fe)}finally{$.f()}var ge={originator:"remote",type:"offer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",ge);var pe=new RTCSessionDescription({type:"offer",sdp:ge.sdp});return this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");return w._connection.setRemoteDescription(pe).catch(function(fe){throw m.reply(488),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',fe),w.emit("peerconnection:setremotedescriptionfailed",fe),fe})}).then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");w._remoteHold===!0&&Z===!1?(w._remoteHold=!1,w._onunhold("remote")):w._remoteHold===!1&&Z===!0&&(w._remoteHold=!0,w._onhold("remote"))}).then(function(){if(w._status===S.STATUS_TERMINATED)throw new Error("terminated");return w._createLocalDescription("answer",w._rtcAnswerConstraints).catch(function(fe){throw m.reply(500),y.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]',fe),fe})}).catch(function(fe){y.warn("_processInDialogSdpOffer() failed [error: %o]",fe)}),this._connectionPromiseQueue}},{key:"_receiveRefer",value:function(m){var w=this;if(y.debug("receiveRefer()"),!m.refer_to){y.debug("no Refer-To header field present in REFER"),m.reply(400);return}if(m.refer_to.uri.scheme!==I.SIP){y.debug("Refer-To header field points to a non-SIP URI scheme"),m.reply(416);return}m.reply(202);var j=new W(this,m.cseq);y.debug('emit "refer"'),this.emit("refer",{request:m,accept:function(se,le){Z.call(w,se,le)},reject:function(){$.call(w)}});function Z(_){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(_=typeof _=="function"?_:null,this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;var le=new P(this._ua);if(le.on("progress",function(pe){var fe=pe.response;j.notify(fe.status_code,fe.reason_phrase)}),le.on("accepted",function(pe){var fe=pe.response;j.notify(fe.status_code,fe.reason_phrase)}),le.on("_failed",function(pe){var fe=pe.message,Y=pe.cause;fe?j.notify(fe.status_code,fe.reason_phrase):j.notify(487,Y)}),m.refer_to.uri.hasHeader("replaces")){var ge=decodeURIComponent(m.refer_to.uri.getHeader("replaces"));se.extraHeaders=C.cloneArray(se.extraHeaders),se.extraHeaders.push("Replaces: ".concat(ge))}le.connect(m.refer_to.uri.toAor(),se,_)}function $(){j.notify(603)}}},{key:"_receiveNotify",value:function(m){switch(y.debug("receiveNotify()"),m.event||m.reply(400),m.event.event){case"refer":{var w,j;if(m.event.params&&m.event.params.id)w=m.event.params.id,j=this._referSubscribers[w];else if(Object.keys(this._referSubscribers).length===1)j=this._referSubscribers[Object.keys(this._referSubscribers)[0]];else{m.reply(400,"Missing event id parameter");return}if(!j){m.reply(481,"Subscription does not exist");return}j.receiveNotify(m),m.reply(200);break}default:m.reply(489)}}},{key:"_receiveReplaces",value:function(m){var w=this;y.debug("receiveReplaces()");function j($){var _=this;if(this._status!==S.STATUS_WAITING_FOR_ACK&&this._status!==S.STATUS_CONFIRMED)return!1;var se=new P(this._ua);se.on("confirmed",function(){_.terminate()}),se.init_incoming(m,$)}function Z(){y.debug("Replaced INVITE rejected by the user"),m.reply(486)}this.emit("replaces",{request:m,accept:function(_){j.call(w,_)},reject:function(){Z.call(w)}})}},{key:"_sendInitialRequest",value:function(m,w,j){var Z=this,$=new k(this._ua,this._request,{onRequestTimeout:function(){Z.onRequestTimeout()},onTransportError:function(){Z.onTransportError()},onAuthenticated:function(se){Z._request=se},onReceiveResponse:function(se){Z._receiveInviteResponse(se)}});Promise.resolve().then(function(){if(j)return j;if(m.audio||m.video)return Z._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(m).catch(function(_){throw Z._status===S.STATUS_TERMINATED?new Error("terminated"):(Z._failed("local",null,I.causes.USER_DENIED_MEDIA_ACCESS),y.warn('emit "getusermediafailed" [error:%o]',_),Z.emit("getusermediafailed",_),_)})}).then(function(_){if(Z._status===S.STATUS_TERMINATED)throw new Error("terminated");return Z._localMediaStream=_,_&&_.getTracks().forEach(function(se){Z._connection.addTrack(se,_)}),Z._connecting(Z._request),Z._createLocalDescription("offer",w).catch(function(se){throw Z._failed("local",null,I.causes.WEBRTC_ERROR),se})}).then(function(_){if(Z._is_canceled||Z._status===S.STATUS_TERMINATED)throw new Error("terminated");Z._request.body=_,Z._status=S.STATUS_INVITE_SENT,y.debug('emit "sending" [request:%o]',Z._request),Z.emit("sending",{request:Z._request}),$.send()}).catch(function(_){Z._status!==S.STATUS_TERMINATED&&y.warn(_)})}},{key:"_getDTMFRTPSender",value:function(){var m=this._connection.getSenders().find(function(w){return w.track&&w.track.kind==="audio"});if(!(m&&m.dtmf)){y.warn("sendDTMF() | no local audio track to send DTMF with");return}return m.dtmf}},{key:"_receiveInviteResponse",value:function(m){var w=this;if(y.debug("receiveInviteResponse()"),this._dialog&&m.status_code>=200&&m.status_code<=299)if(this._dialog.id.call_id===m.call_id&&this._dialog.id.local_tag===m.from_tag&&this._dialog.id.remote_tag===m.to_tag){this.sendRequest(I.ACK);return}else{var j=new L(this,m,"UAC");if(j.error!==void 0){y.debug(j.error);return}this.sendRequest(I.ACK),this.sendRequest(I.BYE);return}if(this._is_canceled){m.status_code>=100&&m.status_code<200?this._request.cancel(this._cancel_reason):m.status_code>=200&&m.status_code<299&&this._acceptAndTerminate(m);return}if(!(this._status!==S.STATUS_INVITE_SENT&&this._status!==S.STATUS_1XX_RECEIVED))switch(!0){case/^100$/.test(m.status_code):this._status=S.STATUS_1XX_RECEIVED;break;case/^1[0-9]{2}$/.test(m.status_code):{if(!m.to_tag){y.debug("1xx response received without to tag");break}if(m.hasHeader("contact")&&!this._createDialog(m,"UAC",!0))break;if(this._status=S.STATUS_1XX_RECEIVED,!m.body){this._progress("remote",m);break}var Z={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",Z);var $=new RTCSessionDescription({type:"answer",sdp:Z.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return w._connection.setRemoteDescription($)}).then(function(){return w._progress("remote",m)}).catch(function(ge){y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ge),w.emit("peerconnection:setremotedescriptionfailed",ge)});break}case/^2[0-9]{2}$/.test(m.status_code):{if(this._status=S.STATUS_CONFIRMED,!m.body){this._acceptAndTerminate(m,400,I.causes.MISSING_SDP),this._failed("remote",m,I.causes.BAD_MEDIA_DESCRIPTION);break}if(!this._createDialog(m,"UAC"))break;var _={originator:"remote",type:"answer",sdp:m.body};y.debug('emit "sdp"'),this.emit("sdp",_);var se=new RTCSessionDescription({type:"answer",sdp:_.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(w._connection.signalingState==="stable")return w._connection.createOffer(w._rtcOfferConstraints).then(function(ge){return w._connection.setLocalDescription(ge)}).catch(function(ge){w._acceptAndTerminate(m,500,ge.toString()),w._failed("local",m,I.causes.WEBRTC_ERROR)})}).then(function(){w._connection.setRemoteDescription(se).then(function(){w._handleSessionTimersInIncomingResponse(m),w._accepted("remote",m),w.sendRequest(I.ACK),w._confirmed("local",null)}).catch(function(ge){w._acceptAndTerminate(m,488,"Not Acceptable Here"),w._failed("remote",m,I.causes.BAD_MEDIA_DESCRIPTION),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ge),w.emit("peerconnection:setremotedescriptionfailed",ge)})});break}default:{var le=C.sipErrorCause(m.status_code);this._failed("remote",m,le)}}}},{key:"_sendReinvite",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("sendReinvite()");var j=C.cloneArray(w.extraHeaders),Z=C.cloneObject(w.eventHandlers),$=w.rtcOfferConstraints||this._rtcOfferConstraints||null,_=!1;j.push("Contact: ".concat(this._contact)),j.push("Content-Type: application/sdp"),this._sessionTimers.running&&j.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return m._createLocalDescription("offer",$)}).then(function(ge){ge=m._mangleOffer(ge);var pe={originator:"local",type:"offer",sdp:ge};y.debug('emit "sdp"'),m.emit("sdp",pe),m.sendRequest(I.INVITE,{extraHeaders:j,body:ge,eventHandlers:{onSuccessResponse:function(Y){se.call(m,Y),_=!0},onErrorResponse:function(Y){le.call(m,Y)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}})}).catch(function(){le()});function se(ge){var pe=this;if(this._status!==S.STATUS_TERMINATED&&(this.sendRequest(I.ACK),!_)){if(this._handleSessionTimersInIncomingResponse(ge),ge.body){if(!ge.hasHeader("Content-Type")||ge.getHeader("Content-Type").toLowerCase()!=="application/sdp"){le.call(this);return}}else{le.call(this);return}var fe={originator:"remote",type:"answer",sdp:ge.body};y.debug('emit "sdp"'),this.emit("sdp",fe);var Y=new RTCSessionDescription({type:"answer",sdp:fe.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return pe._connection.setRemoteDescription(Y)}).then(function(){Z.succeeded&&Z.succeeded(ge)}).catch(function(K){le.call(pe),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',K),pe.emit("peerconnection:setremotedescriptionfailed",K)})}}function le(ge){Z.failed&&Z.failed(ge)}}},{key:"_sendUpdate",value:function(){var m=this,w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};y.debug("sendUpdate()");var j=C.cloneArray(w.extraHeaders),Z=C.cloneObject(w.eventHandlers),$=w.rtcOfferConstraints||this._rtcOfferConstraints||null,_=w.sdpOffer||!1,se=!1;j.push("Contact: ".concat(this._contact)),this._sessionTimers.running&&j.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),_?(j.push("Content-Type: application/sdp"),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return m._createLocalDescription("offer",$)}).then(function(pe){pe=m._mangleOffer(pe);var fe={originator:"local",type:"offer",sdp:pe};y.debug('emit "sdp"'),m.emit("sdp",fe),m.sendRequest(I.UPDATE,{extraHeaders:j,body:pe,eventHandlers:{onSuccessResponse:function(K){le.call(m,K),se=!0},onErrorResponse:function(K){ge.call(m,K)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}})}).catch(function(){ge.call(m)})):this.sendRequest(I.UPDATE,{extraHeaders:j,eventHandlers:{onSuccessResponse:function(fe){le.call(m,fe)},onErrorResponse:function(fe){ge.call(m,fe)},onTransportError:function(){m.onTransportError()},onRequestTimeout:function(){m.onRequestTimeout()},onDialogError:function(){m.onDialogError()}}});function le(pe){var fe=this;if(this._status!==S.STATUS_TERMINATED&&!se)if(this._handleSessionTimersInIncomingResponse(pe),_){if(pe.body){if(!pe.hasHeader("Content-Type")||pe.getHeader("Content-Type").toLowerCase()!=="application/sdp"){ge.call(this);return}}else{ge.call(this);return}var Y={originator:"remote",type:"answer",sdp:pe.body};y.debug('emit "sdp"'),this.emit("sdp",Y);var K=new RTCSessionDescription({type:"answer",sdp:Y.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return fe._connection.setRemoteDescription(K)}).then(function(){Z.succeeded&&Z.succeeded(pe)}).catch(function(ee){ge.call(fe),y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',ee),fe.emit("peerconnection:setremotedescriptionfailed",ee)})}else Z.succeeded&&Z.succeeded(pe)}function ge(pe){Z.failed&&Z.failed(pe)}}},{key:"_acceptAndTerminate",value:function(m,w,j){y.debug("acceptAndTerminate()");var Z=[];w&&(j=j||I.REASON_PHRASE[w]||"",Z.push("Reason: SIP ;cause=".concat(w,'; text="').concat(j,'"'))),(this._dialog||this._createDialog(m,"UAC"))&&(this.sendRequest(I.ACK),this.sendRequest(I.BYE,{extraHeaders:Z})),this._status=S.STATUS_TERMINATED}},{key:"_mangleOffer",value:function(m){if(!this._localHold&&!this._remoteHold)return m;if(m=T.parse(m),this._localHold&&!this._remoteHold){y.debug("mangleOffer() | me on hold, mangling offer");var w=t(m.media),j;try{for(w.s();!(j=w.n()).done;){var Z=j.value;Q.indexOf(Z.type)!==-1&&(Z.direction?Z.direction==="sendrecv"?Z.direction="sendonly":Z.direction==="recvonly"&&(Z.direction="inactive"):Z.direction="sendonly")}}catch(fe){w.e(fe)}finally{w.f()}}else if(this._localHold&&this._remoteHold){y.debug("mangleOffer() | both on hold, mangling offer");var $=t(m.media),_;try{for($.s();!(_=$.n()).done;){var se=_.value;Q.indexOf(se.type)!==-1&&(se.direction="inactive")}}catch(fe){$.e(fe)}finally{$.f()}}else if(this._remoteHold){y.debug("mangleOffer() | remote on hold, mangling offer");var le=t(m.media),ge;try{for(le.s();!(ge=le.n()).done;){var pe=ge.value;Q.indexOf(pe.type)!==-1&&(pe.direction?pe.direction==="sendrecv"?pe.direction="recvonly":pe.direction==="recvonly"&&(pe.direction="inactive"):pe.direction="recvonly")}}catch(fe){le.e(fe)}finally{le.f()}}return T.write(m)}},{key:"_setLocalMediaStatus",value:function(){var m=!0,w=!0;(this._localHold||this._remoteHold)&&(m=!1,w=!1),this._audioMuted&&(m=!1),this._videoMuted&&(w=!1),this._toggleMuteAudio(!m),this._toggleMuteVideo(!w)}},{key:"_handleSessionTimersInIncomingRequest",value:function(m,w){if(this._sessionTimers.enabled){var j;m.session_expires&&m.session_expires>=I.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=m.session_expires,j=m.session_expires_refresher||"uas"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,j="uas"),w.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(j)),this._sessionTimers.refresher=j==="uas",this._runSessionTimer()}}},{key:"_handleSessionTimersInIncomingResponse",value:function(m){if(this._sessionTimers.enabled){var w;m.session_expires&&m.session_expires>=I.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=m.session_expires,w=m.session_expires_refresher||"uac"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,w="uac"),this._sessionTimers.refresher=w==="uac",this._runSessionTimer()}}},{key:"_runSessionTimer",value:function(){var m=this,w=this._sessionTimers.currentExpires;this._sessionTimers.running=!0,clearTimeout(this._sessionTimers.timer),this._sessionTimers.refresher?this._sessionTimers.timer=setTimeout(function(){m._status!==S.STATUS_TERMINATED&&m._isReadyToReOffer()&&(y.debug("runSessionTimer() | sending session refresh request"),m._sessionTimers.refreshMethod===I.UPDATE?m._sendUpdate():m._sendReinvite())},w*500):this._sessionTimers.timer=setTimeout(function(){m._status!==S.STATUS_TERMINATED&&(y.warn("runSessionTimer() | timer expired, terminating the session"),m.terminate({cause:I.causes.REQUEST_TIMEOUT,status_code:408,reason_phrase:"Session Timer Expired"}))},w*1100)}},{key:"_toggleMuteAudio",value:function(m){var w=this._connection.getSenders().filter(function(_){return _.track&&_.track.kind==="audio"}),j=t(w),Z;try{for(j.s();!(Z=j.n()).done;){var $=Z.value;$.track.enabled=!m}}catch(_){j.e(_)}finally{j.f()}}},{key:"_toggleMuteVideo",value:function(m){var w=this._connection.getSenders().filter(function(_){return _.track&&_.track.kind==="video"}),j=t(w),Z;try{for(j.s();!(Z=j.n()).done;){var $=Z.value;$.track.enabled=!m}}catch(_){j.e(_)}finally{j.f()}}},{key:"_newRTCSession",value:function(m,w){y.debug("newRTCSession()"),this._ua.newRTCSession(this,{originator:m,session:this,request:w})}},{key:"_connecting",value:function(m){y.debug("session connecting"),y.debug('emit "connecting"'),this.emit("connecting",{request:m})}},{key:"_progress",value:function(m,w){y.debug("session progress"),y.debug('emit "progress"'),this.emit("progress",{originator:m,response:w||null})}},{key:"_accepted",value:function(m,w){y.debug("session accepted"),this._start_time=new Date,y.debug('emit "accepted"'),this.emit("accepted",{originator:m,response:w||null})}},{key:"_confirmed",value:function(m,w){y.debug("session confirmed"),this._is_confirmed=!0,y.debug('emit "confirmed"'),this.emit("confirmed",{originator:m,ack:w||null})}},{key:"_ended",value:function(m,w,j){y.debug("session ended"),this._end_time=new Date,this._close(),y.debug('emit "ended"'),this.emit("ended",{originator:m,message:w||null,cause:j})}},{key:"_failed",value:function(m,w,j){y.debug("session failed"),y.debug('emit "_failed"'),this.emit("_failed",{originator:m,message:w||null,cause:j}),this._close(),y.debug('emit "failed"'),this.emit("failed",{originator:m,message:w||null,cause:j})}},{key:"_onhold",value:function(m){y.debug("session onhold"),this._setLocalMediaStatus(),y.debug('emit "hold"'),this.emit("hold",{originator:m})}},{key:"_onunhold",value:function(m){y.debug("session onunhold"),this._setLocalMediaStatus(),y.debug('emit "unhold"'),this.emit("unhold",{originator:m})}},{key:"_onmute",value:function(m){var w=m.audio,j=m.video;y.debug("session onmute"),this._setLocalMediaStatus(),y.debug('emit "muted"'),this.emit("muted",{audio:w,video:j})}},{key:"_onunmute",value:function(m){var w=m.audio,j=m.video;y.debug("session onunmute"),this._setLocalMediaStatus(),y.debug('emit "unmuted"'),this.emit("unmuted",{audio:w,video:j})}},{key:"C",get:function(){return S}},{key:"causes",get:function(){return I.causes}},{key:"id",get:function(){return this._id}},{key:"connection",get:function(){return this._connection}},{key:"contact",get:function(){return this._contact}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}},{key:"start_time",get:function(){return this._start_time}},{key:"end_time",get:function(){return this._end_time}},{key:"data",get:function(){return this._data},set:function(m){this._data=m}},{key:"status",get:function(){return this._status}}]),P}(M),li}var ai,Su;function d0(){if(Su)return ai;Su=1;function e(C){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(O){return typeof O}:e=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},e(C)}function t(C,v){if(!(C instanceof v))throw new TypeError("Cannot call a class as a function")}function o(C,v){for(var O=0;O<v.length;O++){var L=v[O];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(C,L.key,L)}}function A(C,v,O){return v&&o(C.prototype,v),C}function l(C,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(v&&v.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),v&&a(C,v)}function a(C,v){return a=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},a(C,v)}function n(C){var v=s();return function(){var L=d(C),k;if(v){var D=d(this).constructor;k=Reflect.construct(L,arguments,D)}else k=L.apply(this,arguments);return f(this,k)}}function f(C,v){return v&&(e(v)==="object"||typeof v=="function")?v:h(C)}function h(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(C){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},d(C)}var c=un().EventEmitter,p=st(),q=rt(),M=cn(),T=pt(),R=Zr(),I=vn(),x=yn(),E=new p("Message");return ai=function(C){l(O,C);var v=n(O);function O(L){var k;return t(this,O),k=v.call(this),k._ua=L,k._request=null,k._closed=!1,k._direction=null,k._local_identity=null,k._remote_identity=null,k._is_replied=!1,k._data={},k}return A(O,[{key:"send",value:function(k,D){var N=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=k;if(k===void 0||D===void 0)throw new TypeError("Not enough arguments");if(k=this._ua.normalizeTarget(k),!k)throw new TypeError("Invalid target: ".concat(B));var H=T.cloneArray(W.extraHeaders),y=T.cloneObject(W.eventHandlers),S=W.contentType||"text/plain",Q={};W.fromUserName&&(Q.from_uri=new x("sip",W.fromUserName,this._ua.configuration.uri.host),H.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),W.fromDisplayName&&(Q.from_display_name=W.fromDisplayName);for(var U in y)Object.prototype.hasOwnProperty.call(y,U)&&this.on(U,y[U]);H.push("Content-Type: ".concat(S)),this._request=new M.OutgoingRequest(q.MESSAGE,k,this._ua,Q,H),D&&(this._request.body=D);var J=new R(this._ua,this._request,{onRequestTimeout:function(){N._onRequestTimeout()},onTransportError:function(){N._onTransportError()},onReceiveResponse:function(G){N._receiveResponse(G)}});this._newMessage("local",this._request),J.send()}},{key:"init_incoming",value:function(k){this._request=k,this._newMessage("remote",k),this._is_replied||(this._is_replied=!0,k.reply(200)),this._close()}},{key:"accept",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.cloneArray(k.extraHeaders),N=k.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"accept" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");this._is_replied=!0,this._request.reply(200,null,D,N)}},{key:"reject",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=k.status_code||480,N=k.reason_phrase,W=T.cloneArray(k.extraHeaders),B=k.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"reject" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");if(D<300||D>=700)throw new TypeError("Invalid status_code: ".concat(D));this._is_replied=!0,this._request.reply(D,N,W,B)}},{key:"_receiveResponse",value:function(k){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(k.status_code):break;case/^2[0-9]{2}$/.test(k.status_code):this._succeeded("remote",k);break;default:{var D=T.sipErrorCause(k.status_code);this._failed("remote",k,D);break}}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,q.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,q.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newMessage",value:function(k,D){k==="remote"?(this._direction="incoming",this._local_identity=D.to,this._remote_identity=D.from):k==="local"&&(this._direction="outgoing",this._local_identity=D.from,this._remote_identity=D.to),this._ua.newMessage(this,{originator:k,message:this,request:D})}},{key:"_failed",value:function(k,D,N){E.debug("MESSAGE failed"),this._close(),E.debug('emit "failed"'),this.emit("failed",{originator:k,response:D||null,cause:N})}},{key:"_succeeded",value:function(k,D){E.debug("MESSAGE succeeded"),this._close(),E.debug('emit "succeeded"'),this.emit("succeeded",{originator:k,response:D})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),O}(c),ai}var ui,wu;function f0(){if(wu)return ui;wu=1;function e(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(v){return typeof v}:e=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},e(E)}function t(E,C){if(!(E instanceof C))throw new TypeError("Cannot call a class as a function")}function o(E,C){for(var v=0;v<C.length;v++){var O=C[v];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(E,O.key,O)}}function A(E,C,v){return C&&o(E.prototype,C),E}function l(E,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(C&&C.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),C&&a(E,C)}function a(E,C){return a=Object.setPrototypeOf||function(O,L){return O.__proto__=L,O},a(E,C)}function n(E){var C=s();return function(){var O=d(E),L;if(C){var k=d(this).constructor;L=Reflect.construct(O,arguments,k)}else L=O.apply(this,arguments);return f(this,L)}}function f(E,C){return C&&(e(C)==="object"||typeof C=="function")?C:h(E)}function h(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function d(E){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},d(E)}var c=un().EventEmitter,p=st(),q=rt(),M=cn(),T=pt(),R=Zr(),I=vn(),x=new p("Options");return ui=function(E){l(v,E);var C=n(v);function v(O){var L;return t(this,v),L=C.call(this),L._ua=O,L._request=null,L._closed=!1,L._direction=null,L._local_identity=null,L._remote_identity=null,L._is_replied=!1,L._data={},L}return A(v,[{key:"send",value:function(L,k){var D=this,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=L;if(L===void 0)throw new TypeError("A target is required for OPTIONS");if(L=this._ua.normalizeTarget(L),!L)throw new TypeError("Invalid target: ".concat(W));var B=T.cloneArray(N.extraHeaders),H=T.cloneObject(N.eventHandlers),y=N.contentType||"application/sdp";for(var S in H)Object.prototype.hasOwnProperty.call(H,S)&&this.on(S,H[S]);B.push("Content-Type: ".concat(y)),this._request=new M.OutgoingRequest(q.OPTIONS,L,this._ua,null,B),k&&(this._request.body=k);var Q=new R(this._ua,this._request,{onRequestTimeout:function(){D._onRequestTimeout()},onTransportError:function(){D._onTransportError()},onReceiveResponse:function(J){D._receiveResponse(J)}});this._newOptions("local",this._request),Q.send()}},{key:"init_incoming",value:function(L){this._request=L,this._newOptions("remote",L),this._is_replied||(this._is_replied=!0,L.reply(200)),this._close()}},{key:"accept",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=T.cloneArray(L.extraHeaders),D=L.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"accept" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");this._is_replied=!0,this._request.reply(200,null,k,D)}},{key:"reject",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=L.status_code||480,D=L.reason_phrase,N=T.cloneArray(L.extraHeaders),W=L.body;if(this._direction!=="incoming")throw new I.NotSupportedError('"reject" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");if(k<300||k>=700)throw new TypeError("Invalid status_code: ".concat(k));this._is_replied=!0,this._request.reply(k,D,N,W)}},{key:"_receiveResponse",value:function(L){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(L.status_code):break;case/^2[0-9]{2}$/.test(L.status_code):this._succeeded("remote",L);break;default:{var k=T.sipErrorCause(L.status_code);this._failed("remote",L,k);break}}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,q.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,q.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newOptions",value:function(L,k){L==="remote"?(this._direction="incoming",this._local_identity=k.to,this._remote_identity=k.from):L==="local"&&(this._direction="outgoing",this._local_identity=k.from,this._remote_identity=k.to),this._ua.newOptions(this,{originator:L,message:this,request:k})}},{key:"_failed",value:function(L,k,D){x.debug("OPTIONS failed"),this._close(),x.debug('emit "failed"'),this.emit("failed",{originator:L,response:k||null,cause:D})}},{key:"_succeeded",value:function(L,k){x.debug("OPTIONS succeeded"),this._close(),x.debug('emit "succeeded"'),this.emit("succeeded",{originator:L,response:k})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),v}(c),ui}var ci={},Eu;function Yd(){if(Eu)return ci;Eu=1;var e=st(),t=pt(),o=Ht(),A=new e("Socket");return ci.isSocket=function(l){if(Array.isArray(l))return!1;if(typeof l>"u")return A.warn("undefined JsSIP.Socket instance"),!1;try{if(!t.isString(l.url))throw A.warn("missing or invalid JsSIP.Socket url property"),new Error("Missing or invalid JsSIP.Socket url property");if(!t.isString(l.via_transport))throw A.warn("missing or invalid JsSIP.Socket via_transport property"),new Error("Missing or invalid JsSIP.Socket via_transport property");if(o.parse(l.sip_uri,"SIP_URI")===-1)throw A.warn("missing or invalid JsSIP.Socket sip_uri property"),new Error("missing or invalid JsSIP.Socket sip_uri property")}catch{return!1}try{["connect","disconnect","send"].forEach(function(a){if(!t.isFunction(l[a]))throw A.warn("missing or invalid JsSIP.Socket method: ".concat(a)),new Error("Missing or invalid JsSIP.Socket method: ".concat(a))})}catch{return!1}return!0},ci}var di,ku;function g0(){if(ku)return di;ku=1;function e(h,s){if(!(h instanceof s))throw new TypeError("Cannot call a class as a function")}function t(h,s){for(var d=0;d<s.length;d++){var c=s[d];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(h,c.key,c)}}function o(h,s,d){return s&&t(h.prototype,s),h}var A=st(),l=Yd(),a=rt(),n=new A("Transport"),f={STATUS_CONNECTED:0,STATUS_CONNECTING:1,STATUS_DISCONNECTED:2,SOCKET_STATUS_READY:0,SOCKET_STATUS_ERROR:1,recovery_options:{min_interval:a.CONNECTION_RECOVERY_MIN_INTERVAL,max_interval:a.CONNECTION_RECOVERY_MAX_INTERVAL}};return di=function(){function h(s){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.recovery_options;e(this,h),n.debug("new()"),this.status=f.STATUS_DISCONNECTED,this.socket=null,this.sockets=[],this.recovery_options=d,this.recover_attempts=0,this.recovery_timer=null,this.close_requested=!1;try{this.textDecoder=new TextDecoder("utf8")}catch(c){n.warn("cannot use TextDecoder: ".concat(c))}if(typeof s>"u")throw new TypeError("Invalid argument. undefined 'sockets' argument");s instanceof Array||(s=[s]),s.forEach(function(c){if(!l.isSocket(c.socket))throw new TypeError("Invalid argument. invalid 'JsSIP.Socket' instance");if(c.weight&&!Number(c.weight))throw new TypeError("Invalid argument. 'weight' attribute is not a number");this.sockets.push({socket:c.socket,weight:c.weight||0,status:f.SOCKET_STATUS_READY})},this),this._getSocket()}return o(h,[{key:"connect",value:function(){if(n.debug("connect()"),this.isConnected()){n.debug("Transport is already connected");return}else if(this.isConnecting()){n.debug("Transport is connecting");return}this.close_requested=!1,this.status=f.STATUS_CONNECTING,this.onconnecting({socket:this.socket,attempts:this.recover_attempts}),this.close_requested||(this.socket.onconnect=this._onConnect.bind(this),this.socket.ondisconnect=this._onDisconnect.bind(this),this.socket.ondata=this._onData.bind(this),this.socket.connect())}},{key:"disconnect",value:function(){n.debug("close()"),this.close_requested=!0,this.recover_attempts=0,this.status=f.STATUS_DISCONNECTED,this.recovery_timer!==null&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.socket.onconnect=function(){},this.socket.ondisconnect=function(){},this.socket.ondata=function(){},this.socket.disconnect(),this.ondisconnect({socket:this.socket,error:!1})}},{key:"send",value:function(d){if(n.debug("send()"),!this.isConnected())return n.warn("unable to send message, transport is not connected"),!1;var c=d.toString();return n.debug(`sending message:
|
|
58
58
|
|
|
59
59
|
`.concat(c,`
|
|
60
60
|
`)),this.socket.send(c)}},{key:"isConnected",value:function(){return this.status===f.STATUS_CONNECTED}},{key:"isConnecting",value:function(){return this.status===f.STATUS_CONNECTING}},{key:"_reconnect",value:function(){var d=this;this.recover_attempts+=1;var c=Math.floor(Math.random()*Math.pow(2,this.recover_attempts)+1);c<this.recovery_options.min_interval?c=this.recovery_options.min_interval:c>this.recovery_options.max_interval&&(c=this.recovery_options.max_interval),n.debug("reconnection attempt: ".concat(this.recover_attempts,". next connection attempt in ").concat(c," seconds")),this.recovery_timer=setTimeout(function(){!d.close_requested&&!(d.isConnected()||d.isConnecting())&&(d._getSocket(),d.connect())},c*1e3)}},{key:"_getSocket",value:function(){var d=[];if(this.sockets.forEach(function(p){p.status!==f.SOCKET_STATUS_ERROR&&(d.length===0?d.push(p):p.weight>d[0].weight?d=[p]:p.weight===d[0].weight&&d.push(p))}),d.length===0){this.sockets.forEach(function(p){p.status=f.SOCKET_STATUS_READY}),this._getSocket();return}var c=Math.floor(Math.random()*d.length);this.socket=d[c].socket}},{key:"_onConnect",value:function(){this.recover_attempts=0,this.status=f.STATUS_CONNECTED,this.recovery_timer!==null&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.onconnect({socket:this})}},{key:"_onDisconnect",value:function(d,c,p){this.status=f.STATUS_DISCONNECTED,this.ondisconnect({socket:this.socket,error:d,code:c,reason:p}),!this.close_requested&&(this.sockets.forEach(function(q){this.socket===q.socket&&(q.status=f.SOCKET_STATUS_ERROR)},this),this._reconnect(d))}},{key:"_onData",value:function(d){if(d===`\r
|
|
@@ -267,7 +267,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
267
267
|
transform: rotate(359deg);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,Sq=Ge.extend({name:"baseicon",css:Iq});function Dr(e){"@babel/helpers - typeof";return Dr=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},Dr(e)}function $u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function ec(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?$u(Object(o),!0).forEach(function(A){wq(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$u(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function wq(e,t,o){return(t=Eq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Eq(e){var t=kq(e,"string");return Dr(t)=="symbol"?t:t+""}function kq(e,t){if(Dr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Dr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sn={name:"BaseIcon",extends:In,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:Sq,provide:function(){return{$pcIcon:this,$parentInstance:this}},methods:{pti:function(){var t=Fn(this.label);return ec(ec({},!this.isUnstyled&&{class:["p-icon",{"p-icon-spin":this.spin}]}),{},{role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t})}}},iA={name:"SpinnerIcon",extends:Sn};function Tq(e,t,o,A,l,a){return de(),
|
|
270
|
+
`,Sq=Ge.extend({name:"baseicon",css:Iq});function Dr(e){"@babel/helpers - typeof";return Dr=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},Dr(e)}function $u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function ec(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?$u(Object(o),!0).forEach(function(A){wq(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$u(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function wq(e,t,o){return(t=Eq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Eq(e){var t=kq(e,"string");return Dr(t)=="symbol"?t:t+""}function kq(e,t){if(Dr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Dr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Sn={name:"BaseIcon",extends:In,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:Sq,provide:function(){return{$pcIcon:this,$parentInstance:this}},methods:{pti:function(){var t=Fn(this.label);return ec(ec({},!this.isUnstyled&&{class:["p-icon",{"p-icon-spin":this.spin}]}),{},{role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t})}}},iA={name:"SpinnerIcon",extends:Sn};function Tq(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1)]),16)}iA.render=Tq;var Rq=function(t){var o=t.dt;return`
|
|
271
271
|
.p-badge {
|
|
272
272
|
display: inline-flex;
|
|
273
273
|
border-radius: `.concat(o("badge.border.radius"),`;
|
|
@@ -342,8 +342,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
342
342
|
min-width: `).concat(o("badge.xl.min.width"),`;
|
|
343
343
|
height: `).concat(o("badge.xl.height"),`;
|
|
344
344
|
}
|
|
345
|
-
`)},Mq={root:function(t){var o=t.props,A=t.instance;return["p-badge p-component",{"p-badge-circle":De(o.value)&&String(o.value).length===1,"p-badge-dot":Fn(o.value)&&!A.$slots.default,"p-badge-sm":o.size==="small","p-badge-lg":o.size==="large","p-badge-xl":o.size==="xlarge","p-badge-info":o.severity==="info","p-badge-success":o.severity==="success","p-badge-warn":o.severity==="warn","p-badge-danger":o.severity==="danger","p-badge-secondary":o.severity==="secondary","p-badge-contrast":o.severity==="contrast"}]}},xq=Ge.extend({name:"badge",theme:Rq,classes:Mq}),Oq={name:"BaseBadge",extends:In,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:xq,provide:function(){return{$pcBadge:this,$parentInstance:this}}},lf={name:"Badge",extends:Oq,inheritAttrs:!1};function Bq(e,t,o,A,l,a){return de(),
|
|
346
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dq(e,t){if(e){if(typeof e=="string")return nc(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?nc(e,t):void 0}}function nc(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}function Lq(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var A,l,a,n,f=[],h=!0,s=!1;try{if(a=(o=o.call(e)).next,t!==0)for(;!(h=(A=a.call(o)).done)&&(f.push(A.value),f.length!==t);h=!0);}catch(d){s=!0,l=d}finally{try{if(!h&&o.return!=null&&(n=o.return(),Object(n)!==n))return}finally{if(s)throw l}}return f}}function Fq(e){if(Array.isArray(e))return e}function rc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function Le(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?rc(Object(o),!0).forEach(function(A){Yi(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):rc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function Yi(e,t,o){return(t=Qq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Qq(e){var t=Yq(e,"string");return Lr(t)=="symbol"?t:t+""}function Yq(e,t){if(Lr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Lr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Re={_getMeta:function(){return[Wt(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],Mt(Wt(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(t,o){var A,l,a;return(A=(t==null||(l=t.instance)===null||l===void 0?void 0:l.$primevue)||(o==null||(a=o.ctx)===null||a===void 0||(a=a.appContext)===null||a===void 0||(a=a.config)===null||a===void 0||(a=a.globalProperties)===null||a===void 0?void 0:a.$primevue))===null||A===void 0?void 0:A.config},_getOptionValue:ps,_getPTValue:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,h=function(){var x=Re._getOptionValue.apply(Re,arguments);return It(x)||oA(x)?{class:x}:x},s=((t=A.binding)===null||t===void 0||(t=t.value)===null||t===void 0?void 0:t.ptOptions)||((o=A.$primevueConfig)===null||o===void 0?void 0:o.ptOptions)||{},d=s.mergeSections,c=d===void 0?!0:d,p=s.mergeProps,q=p===void 0?!1:p,M=f?Re._useDefaultPT(A,A.defaultPT(),h,a,n):void 0,T=Re._usePT(A,Re._getPT(l,A.$name),h,a,Le(Le({},n),{},{global:M||{}})),R=Re._getPTDatasets(A,a);return c||!c&&T?q?Re._mergeProps(A,q,M,T,R):Le(Le(Le({},M),T),R):Le(Le({},T),R)},_getPTDatasets:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A="data-pc-";return Le(Le({},o==="root"&&Yi({},"".concat(A,"name"),Dt(t.$name))),{},Yi({},"".concat(A,"section"),Dt(o)))},_getPT:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A=arguments.length>2?arguments[2]:void 0,l=function(n){var f,h=A?A(n):n,s=Dt(o);return(f=h==null?void 0:h[s])!==null&&f!==void 0?f:h};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,A=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,n=function(R){return A(R,l,a)};if(o!=null&&o.hasOwnProperty("_usept")){var f,h=o._usept||((f=t.$primevueConfig)===null||f===void 0?void 0:f.ptOptions)||{},s=h.mergeSections,d=s===void 0?!0:s,c=h.mergeProps,p=c===void 0?!1:c,q=n(o.originalValue),M=n(o.value);return q===void 0&&M===void 0?void 0:It(M)?M:It(q)?q:d||!d&&M?p?Re._mergeProps(t,p,q,M):Le(Le({},q),M):M}return n(o)},_useDefaultPT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return Re._usePT(t,o,A,l,a)},_loadStyles:function(t,o,A){var l,a=Re._getConfig(o,A),n={nonce:a==null||(l=a.csp)===null||l===void 0?void 0:l.nonce};Re._loadCoreStyles(t.$instance,n),Re._loadThemeStyles(t.$instance,n),Re._loadScopedThemeStyles(t.$instance,n),Re._themeChangeListener(function(){return Re._loadThemeStyles(t.$instance,n)})},_loadCoreStyles:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;if(!Vn.isStyleNameLoaded((t=A.$style)===null||t===void 0?void 0:t.name)&&(o=A.$style)!==null&&o!==void 0&&o.name){var a;Ge.loadCSS(l),(a=A.$style)===null||a===void 0||a.loadCSS(l),Vn.setLoadedStyleName(A.$style.name)}},_loadThemeStyles:function(){var t,o,A,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(!(l!=null&&l.isUnstyled()||(l==null||(t=l.theme)===null||t===void 0?void 0:t.call(l))==="none")){if(!Ne.isStyleNameLoaded("common")){var n,f,h=((n=l.$style)===null||n===void 0||(f=n.getCommonTheme)===null||f===void 0?void 0:f.call(n))||{},s=h.primitive,d=h.semantic,c=h.global,p=h.style;Ge.load(s==null?void 0:s.css,Le({name:"primitive-variables"},a)),Ge.load(d==null?void 0:d.css,Le({name:"semantic-variables"},a)),Ge.load(c==null?void 0:c.css,Le({name:"global-variables"},a)),Ge.loadTheme(Le({name:"global-style"},a),p),Ne.setLoadedStyleName("common")}if(!Ne.isStyleNameLoaded((o=l.$style)===null||o===void 0?void 0:o.name)&&(A=l.$style)!==null&&A!==void 0&&A.name){var q,M,T,R,I=((q=l.$style)===null||q===void 0||(M=q.getDirectiveTheme)===null||M===void 0?void 0:M.call(q))||{},x=I.css,E=I.style;(T=l.$style)===null||T===void 0||T.load(x,Le({name:"".concat(l.$style.name,"-variables")},a)),(R=l.$style)===null||R===void 0||R.loadTheme(Le({name:"".concat(l.$style.name,"-style")},a),E),Ne.setLoadedStyleName(l.$style.name)}if(!Ne.isStyleNameLoaded("layer-order")){var C,v,O=(C=l.$style)===null||C===void 0||(v=C.getLayerOrderThemeCSS)===null||v===void 0?void 0:v.call(C);Ge.load(O,Le({name:"layer-order",first:!0},a)),Ne.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,A=t.preset();if(A&&t.$attrSelector){var l,a,n,f=((l=t.$style)===null||l===void 0||(a=l.getPresetTheme)===null||a===void 0?void 0:a.call(l,A,"[".concat(t.$attrSelector,"]")))||{},h=f.css,s=(n=t.$style)===null||n===void 0?void 0:n.load(h,Le({name:"".concat(t.$attrSelector,"-").concat(t.$style.name)},o));t.scopedStyleEl=s.el}},_themeChangeListener:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};Vn.clearLoadedStyleNames(),Ut.on("theme:change",t)},_hook:function(t,o,A,l,a,n){var f,h,s="on".concat(B0(o)),d=Re._getConfig(l,a),c=A==null?void 0:A.$instance,p=Re._usePT(c,Re._getPT(l==null||(f=l.value)===null||f===void 0?void 0:f.pt,t),Re._getOptionValue,"hooks.".concat(s)),q=Re._useDefaultPT(c,d==null||(h=d.pt)===null||h===void 0||(h=h.directives)===null||h===void 0?void 0:h[t],Re._getOptionValue,"hooks.".concat(s)),M={el:A,binding:l,vnode:a,prevVnode:n};p==null||p(c,M),q==null||q(c,M)},_mergeProps:function(){for(var t=arguments.length>1?arguments[1]:void 0,o=arguments.length,A=new Array(o>2?o-2:0),l=2;l<o;l++)A[l-2]=arguments[l];return rA(t)?t.apply(void 0,A):me.apply(void 0,A)},_extend:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=function(n,f,h,s,d){var c,p,q,M;f._$instances=f._$instances||{};var T=Re._getConfig(h,s),R=f._$instances[t]||{},I=Fn(R)?Le(Le({},o),o==null?void 0:o.methods):{};f._$instances[t]=Le(Le({},R),{},{$name:t,$host:f,$binding:h,$modifiers:h==null?void 0:h.modifiers,$value:h==null?void 0:h.value,$el:R.$el||f||void 0,$style:Le({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},o==null?void 0:o.style),$primevueConfig:T,$attrSelector:(c=f.$pd)===null||c===void 0||(c=c[t])===null||c===void 0?void 0:c.attrSelector,defaultPT:function(){return Re._getPT(T==null?void 0:T.pt,void 0,function(E){var C;return E==null||(C=E.directives)===null||C===void 0?void 0:C[t]})},isUnstyled:function(){var E,C;return((E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.unstyled)!==void 0?(C=f.$instance)===null||C===void 0||(C=C.$binding)===null||C===void 0||(C=C.value)===null||C===void 0?void 0:C.unstyled:T==null?void 0:T.unstyled},theme:function(){var E;return(E=f.$instance)===null||E===void 0||(E=E.$primevueConfig)===null||E===void 0?void 0:E.theme},preset:function(){var E;return(E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.dt},ptm:function(){var E,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Re._getPTValue(f.$instance,(E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.pt,C,Le({},v))},ptmo:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Re._getPTValue(f.$instance,E,C,v,!1)},cx:function(){var E,C,v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(E=f.$instance)!==null&&E!==void 0&&E.isUnstyled()?void 0:Re._getOptionValue((C=f.$instance)===null||C===void 0||(C=C.$style)===null||C===void 0?void 0:C.classes,v,Le({},O))},sx:function(){var E,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v?Re._getOptionValue((E=f.$instance)===null||E===void 0||(E=E.$style)===null||E===void 0?void 0:E.inlineStyles,C,Le({},O)):void 0}},I),f.$instance=f._$instances[t],(p=(q=f.$instance)[n])===null||p===void 0||p.call(q,f,h,s,d),f["$".concat(t)]=f.$instance,Re._hook(t,n,f,h,s,d),f.$pd||(f.$pd={}),f.$pd[t]=Le(Le({},(M=f.$pd)===null||M===void 0?void 0:M[t]),{},{name:t,instance:f.$instance})},l=function(n){var f,h,s,d,c,p=(f=n.$instance)===null||f===void 0?void 0:f.watch;p==null||(h=p.config)===null||h===void 0||h.call(n.$instance,(s=n.$instance)===null||s===void 0?void 0:s.$primevueConfig),Nn.on("config:change",function(q){var M,T=q.newValue,R=q.oldValue;return p==null||(M=p.config)===null||M===void 0?void 0:M.call(n.$instance,T,R)}),p==null||(d=p["config.ripple"])===null||d===void 0||d.call(n.$instance,(c=n.$instance)===null||c===void 0||(c=c.$primevueConfig)===null||c===void 0?void 0:c.ripple),Nn.on("config:ripple:change",function(q){var M,T=q.newValue,R=q.oldValue;return p==null||(M=p["config.ripple"])===null||M===void 0?void 0:M.call(n.$instance,T,R)})};return{created:function(n,f,h,s){n.$pd||(n.$pd={}),n.$pd[t]={name:t,attrSelector:ys("pd")},A("created",n,f,h,s)},beforeMount:function(n,f,h,s){Re._loadStyles(n,f,h),A("beforeMount",n,f,h,s),l(n)},mounted:function(n,f,h,s){Re._loadStyles(n,f,h),A("mounted",n,f,h,s)},beforeUpdate:function(n,f,h,s){A("beforeUpdate",n,f,h,s)},updated:function(n,f,h,s){Re._loadStyles(n,f,h),A("updated",n,f,h,s)},beforeUnmount:function(n,f,h,s){A("beforeUnmount",n,f,h,s)},unmounted:function(n,f,h,s){var d;(d=n.$instance)===null||d===void 0||(d=d.scopedStyleEl)===null||d===void 0||(d=d.value)===null||d===void 0||d.remove(),A("unmounted",n,f,h,s)}}},extend:function(){var t=Re._getMeta.apply(Re,arguments),o=tc(t,2),A=o[0],l=o[1];return Le({extend:function(){var n=Re._getMeta.apply(Re,arguments),f=tc(n,2),h=f[0],s=f[1];return Re.extend(h,Le(Le(Le({},l),l==null?void 0:l.methods),s))}},Re._extend(A,l))}},Gq=function(t){var o=t.dt;return`
|
|
345
|
+
`)},Mq={root:function(t){var o=t.props,A=t.instance;return["p-badge p-component",{"p-badge-circle":De(o.value)&&String(o.value).length===1,"p-badge-dot":Fn(o.value)&&!A.$slots.default,"p-badge-sm":o.size==="small","p-badge-lg":o.size==="large","p-badge-xl":o.size==="xlarge","p-badge-info":o.severity==="info","p-badge-success":o.severity==="success","p-badge-warn":o.severity==="warn","p-badge-danger":o.severity==="danger","p-badge-secondary":o.severity==="secondary","p-badge-contrast":o.severity==="contrast"}]}},xq=Ge.extend({name:"badge",theme:Rq,classes:Mq}),Oq={name:"BaseBadge",extends:In,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:xq,provide:function(){return{$pcBadge:this,$parentInstance:this}}},lf={name:"Badge",extends:Oq,inheritAttrs:!1};function Bq(e,t,o,A,l,a){return de(),be("span",me({class:e.cx("root")},e.ptmi("root")),[Le(e.$slots,"default",{},function(){return[Xn($e(e.value),1)]})],16)}lf.render=Bq;var Nn=qs();function Lr(e){"@babel/helpers - typeof";return Lr=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},Lr(e)}function tc(e,t){return Fq(e)||Lq(e,t)||Dq(e,t)||Uq()}function Uq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
346
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dq(e,t){if(e){if(typeof e=="string")return nc(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?nc(e,t):void 0}}function nc(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}function Lq(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var A,l,a,n,f=[],h=!0,s=!1;try{if(a=(o=o.call(e)).next,t!==0)for(;!(h=(A=a.call(o)).done)&&(f.push(A.value),f.length!==t);h=!0);}catch(d){s=!0,l=d}finally{try{if(!h&&o.return!=null&&(n=o.return(),Object(n)!==n))return}finally{if(s)throw l}}return f}}function Fq(e){if(Array.isArray(e))return e}function rc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function Fe(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?rc(Object(o),!0).forEach(function(A){Yi(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):rc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function Yi(e,t,o){return(t=Qq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Qq(e){var t=Yq(e,"string");return Lr(t)=="symbol"?t:t+""}function Yq(e,t){if(Lr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Lr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Te={_getMeta:function(){return[Wt(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],Mt(Wt(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getConfig:function(t,o){var A,l,a;return(A=(t==null||(l=t.instance)===null||l===void 0?void 0:l.$primevue)||(o==null||(a=o.ctx)===null||a===void 0||(a=a.appContext)===null||a===void 0||(a=a.config)===null||a===void 0||(a=a.globalProperties)===null||a===void 0?void 0:a.$primevue))===null||A===void 0?void 0:A.config},_getOptionValue:ps,_getPTValue:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,h=function(){var x=Te._getOptionValue.apply(Te,arguments);return It(x)||oA(x)?{class:x}:x},s=((t=A.binding)===null||t===void 0||(t=t.value)===null||t===void 0?void 0:t.ptOptions)||((o=A.$primevueConfig)===null||o===void 0?void 0:o.ptOptions)||{},d=s.mergeSections,c=d===void 0?!0:d,p=s.mergeProps,q=p===void 0?!1:p,M=f?Te._useDefaultPT(A,A.defaultPT(),h,a,n):void 0,T=Te._usePT(A,Te._getPT(l,A.$name),h,a,Fe(Fe({},n),{},{global:M||{}})),R=Te._getPTDatasets(A,a);return c||!c&&T?q?Te._mergeProps(A,q,M,T,R):Fe(Fe(Fe({},M),T),R):Fe(Fe({},T),R)},_getPTDatasets:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A="data-pc-";return Fe(Fe({},o==="root"&&Yi({},"".concat(A,"name"),Dt(t.$name))),{},Yi({},"".concat(A,"section"),Dt(o)))},_getPT:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",A=arguments.length>2?arguments[2]:void 0,l=function(n){var f,h=A?A(n):n,s=Dt(o);return(f=h==null?void 0:h[s])!==null&&f!==void 0?f:h};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,A=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,n=function(R){return A(R,l,a)};if(o!=null&&o.hasOwnProperty("_usept")){var f,h=o._usept||((f=t.$primevueConfig)===null||f===void 0?void 0:f.ptOptions)||{},s=h.mergeSections,d=s===void 0?!0:s,c=h.mergeProps,p=c===void 0?!1:c,q=n(o.originalValue),M=n(o.value);return q===void 0&&M===void 0?void 0:It(M)?M:It(q)?q:d||!d&&M?p?Te._mergeProps(t,p,q,M):Fe(Fe({},q),M):M}return n(o)},_useDefaultPT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return Te._usePT(t,o,A,l,a)},_loadStyles:function(t,o,A){var l,a=Te._getConfig(o,A),n={nonce:a==null||(l=a.csp)===null||l===void 0?void 0:l.nonce};Te._loadCoreStyles(t.$instance,n),Te._loadThemeStyles(t.$instance,n),Te._loadScopedThemeStyles(t.$instance,n),Te._themeChangeListener(function(){return Te._loadThemeStyles(t.$instance,n)})},_loadCoreStyles:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;if(!Vn.isStyleNameLoaded((t=A.$style)===null||t===void 0?void 0:t.name)&&(o=A.$style)!==null&&o!==void 0&&o.name){var a;Ge.loadCSS(l),(a=A.$style)===null||a===void 0||a.loadCSS(l),Vn.setLoadedStyleName(A.$style.name)}},_loadThemeStyles:function(){var t,o,A,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(!(l!=null&&l.isUnstyled()||(l==null||(t=l.theme)===null||t===void 0?void 0:t.call(l))==="none")){if(!Ne.isStyleNameLoaded("common")){var n,f,h=((n=l.$style)===null||n===void 0||(f=n.getCommonTheme)===null||f===void 0?void 0:f.call(n))||{},s=h.primitive,d=h.semantic,c=h.global,p=h.style;Ge.load(s==null?void 0:s.css,Fe({name:"primitive-variables"},a)),Ge.load(d==null?void 0:d.css,Fe({name:"semantic-variables"},a)),Ge.load(c==null?void 0:c.css,Fe({name:"global-variables"},a)),Ge.loadTheme(Fe({name:"global-style"},a),p),Ne.setLoadedStyleName("common")}if(!Ne.isStyleNameLoaded((o=l.$style)===null||o===void 0?void 0:o.name)&&(A=l.$style)!==null&&A!==void 0&&A.name){var q,M,T,R,I=((q=l.$style)===null||q===void 0||(M=q.getDirectiveTheme)===null||M===void 0?void 0:M.call(q))||{},x=I.css,E=I.style;(T=l.$style)===null||T===void 0||T.load(x,Fe({name:"".concat(l.$style.name,"-variables")},a)),(R=l.$style)===null||R===void 0||R.loadTheme(Fe({name:"".concat(l.$style.name,"-style")},a),E),Ne.setLoadedStyleName(l.$style.name)}if(!Ne.isStyleNameLoaded("layer-order")){var C,v,O=(C=l.$style)===null||C===void 0||(v=C.getLayerOrderThemeCSS)===null||v===void 0?void 0:v.call(C);Ge.load(O,Fe({name:"layer-order",first:!0},a)),Ne.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,A=t.preset();if(A&&t.$attrSelector){var l,a,n,f=((l=t.$style)===null||l===void 0||(a=l.getPresetTheme)===null||a===void 0?void 0:a.call(l,A,"[".concat(t.$attrSelector,"]")))||{},h=f.css,s=(n=t.$style)===null||n===void 0?void 0:n.load(h,Fe({name:"".concat(t.$attrSelector,"-").concat(t.$style.name)},o));t.scopedStyleEl=s.el}},_themeChangeListener:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};Vn.clearLoadedStyleNames(),Ut.on("theme:change",t)},_hook:function(t,o,A,l,a,n){var f,h,s="on".concat(B0(o)),d=Te._getConfig(l,a),c=A==null?void 0:A.$instance,p=Te._usePT(c,Te._getPT(l==null||(f=l.value)===null||f===void 0?void 0:f.pt,t),Te._getOptionValue,"hooks.".concat(s)),q=Te._useDefaultPT(c,d==null||(h=d.pt)===null||h===void 0||(h=h.directives)===null||h===void 0?void 0:h[t],Te._getOptionValue,"hooks.".concat(s)),M={el:A,binding:l,vnode:a,prevVnode:n};p==null||p(c,M),q==null||q(c,M)},_mergeProps:function(){for(var t=arguments.length>1?arguments[1]:void 0,o=arguments.length,A=new Array(o>2?o-2:0),l=2;l<o;l++)A[l-2]=arguments[l];return rA(t)?t.apply(void 0,A):me.apply(void 0,A)},_extend:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=function(n,f,h,s,d){var c,p,q,M;f._$instances=f._$instances||{};var T=Te._getConfig(h,s),R=f._$instances[t]||{},I=Fn(R)?Fe(Fe({},o),o==null?void 0:o.methods):{};f._$instances[t]=Fe(Fe({},R),{},{$name:t,$host:f,$binding:h,$modifiers:h==null?void 0:h.modifiers,$value:h==null?void 0:h.value,$el:R.$el||f||void 0,$style:Fe({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},o==null?void 0:o.style),$primevueConfig:T,$attrSelector:(c=f.$pd)===null||c===void 0||(c=c[t])===null||c===void 0?void 0:c.attrSelector,defaultPT:function(){return Te._getPT(T==null?void 0:T.pt,void 0,function(E){var C;return E==null||(C=E.directives)===null||C===void 0?void 0:C[t]})},isUnstyled:function(){var E,C;return((E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.unstyled)!==void 0?(C=f.$instance)===null||C===void 0||(C=C.$binding)===null||C===void 0||(C=C.value)===null||C===void 0?void 0:C.unstyled:T==null?void 0:T.unstyled},theme:function(){var E;return(E=f.$instance)===null||E===void 0||(E=E.$primevueConfig)===null||E===void 0?void 0:E.theme},preset:function(){var E;return(E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.dt},ptm:function(){var E,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Te._getPTValue(f.$instance,(E=f.$instance)===null||E===void 0||(E=E.$binding)===null||E===void 0||(E=E.value)===null||E===void 0?void 0:E.pt,C,Fe({},v))},ptmo:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Te._getPTValue(f.$instance,E,C,v,!1)},cx:function(){var E,C,v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(E=f.$instance)!==null&&E!==void 0&&E.isUnstyled()?void 0:Te._getOptionValue((C=f.$instance)===null||C===void 0||(C=C.$style)===null||C===void 0?void 0:C.classes,v,Fe({},O))},sx:function(){var E,C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v?Te._getOptionValue((E=f.$instance)===null||E===void 0||(E=E.$style)===null||E===void 0?void 0:E.inlineStyles,C,Fe({},O)):void 0}},I),f.$instance=f._$instances[t],(p=(q=f.$instance)[n])===null||p===void 0||p.call(q,f,h,s,d),f["$".concat(t)]=f.$instance,Te._hook(t,n,f,h,s,d),f.$pd||(f.$pd={}),f.$pd[t]=Fe(Fe({},(M=f.$pd)===null||M===void 0?void 0:M[t]),{},{name:t,instance:f.$instance})},l=function(n){var f,h,s,d,c,p=(f=n.$instance)===null||f===void 0?void 0:f.watch;p==null||(h=p.config)===null||h===void 0||h.call(n.$instance,(s=n.$instance)===null||s===void 0?void 0:s.$primevueConfig),Nn.on("config:change",function(q){var M,T=q.newValue,R=q.oldValue;return p==null||(M=p.config)===null||M===void 0?void 0:M.call(n.$instance,T,R)}),p==null||(d=p["config.ripple"])===null||d===void 0||d.call(n.$instance,(c=n.$instance)===null||c===void 0||(c=c.$primevueConfig)===null||c===void 0?void 0:c.ripple),Nn.on("config:ripple:change",function(q){var M,T=q.newValue,R=q.oldValue;return p==null||(M=p["config.ripple"])===null||M===void 0?void 0:M.call(n.$instance,T,R)})};return{created:function(n,f,h,s){n.$pd||(n.$pd={}),n.$pd[t]={name:t,attrSelector:ys("pd")},A("created",n,f,h,s)},beforeMount:function(n,f,h,s){Te._loadStyles(n,f,h),A("beforeMount",n,f,h,s),l(n)},mounted:function(n,f,h,s){Te._loadStyles(n,f,h),A("mounted",n,f,h,s)},beforeUpdate:function(n,f,h,s){A("beforeUpdate",n,f,h,s)},updated:function(n,f,h,s){Te._loadStyles(n,f,h),A("updated",n,f,h,s)},beforeUnmount:function(n,f,h,s){A("beforeUnmount",n,f,h,s)},unmounted:function(n,f,h,s){var d;(d=n.$instance)===null||d===void 0||(d=d.scopedStyleEl)===null||d===void 0||(d=d.value)===null||d===void 0||d.remove(),A("unmounted",n,f,h,s)}}},extend:function(){var t=Te._getMeta.apply(Te,arguments),o=tc(t,2),A=o[0],l=o[1];return Fe({extend:function(){var n=Te._getMeta.apply(Te,arguments),f=tc(n,2),h=f[0],s=f[1];return Te.extend(h,Fe(Fe(Fe({},l),l==null?void 0:l.methods),s))}},Te._extend(A,l))}},Gq=function(t){var o=t.dt;return`
|
|
347
347
|
.p-ink {
|
|
348
348
|
display: block;
|
|
349
349
|
position: absolute;
|
|
@@ -363,7 +363,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
363
363
|
transform: scale(2.5);
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`)},Kq={root:"p-ink"},Jq=Ge.extend({name:"ripple-directive",theme:Gq,classes:Kq}),Nq=
|
|
366
|
+
`)},Kq={root:"p-ink"},Jq=Ge.extend({name:"ripple-directive",theme:Gq,classes:Kq}),Nq=Te.extend({style:Jq});function Fr(e){"@babel/helpers - typeof";return Fr=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},Fr(e)}function jq(e){return Pq(e)||Zq(e)||Hq(e)||Wq()}function Wq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
367
367
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hq(e,t){if(e){if(typeof e=="string")return Gi(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Gi(e,t):void 0}}function Zq(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pq(e){if(Array.isArray(e))return Gi(e)}function Gi(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}function oc(e,t,o){return(t=zq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function zq(e){var t=_q(e,"string");return Fr(t)=="symbol"?t:t+""}function _q(e,t){if(Fr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Fr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Is=Nq.extend("ripple",{watch:{"config.ripple":function(t){t?(this.createRipple(this.$host),this.bindEvents(this.$host),this.$host.setAttribute("data-pd-ripple",!0),this.$host.style.overflow="hidden",this.$host.style.position="relative"):(this.remove(this.$host),this.$host.removeAttribute("data-pd-ripple"))}},unmounted:function(t){this.remove(t)},timeout:void 0,methods:{bindEvents:function(t){t.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(t){t.removeEventListener("mousedown",this.onMouseDown.bind(this))},createRipple:function(t){var o=_d("span",oc(oc({role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this)},this.$attrSelector,""),"p-bind",this.ptm("root")));t.appendChild(o),this.$el=o},remove:function(t){var o=this.getInk(t);o&&(this.$host.style.overflow="",this.$host.style.position="",this.unbindEvents(t),o.removeEventListener("animationend",this.onAnimationEnd),o.remove())},onMouseDown:function(t){var o=this,A=t.currentTarget,l=this.getInk(A);if(!(!l||getComputedStyle(l,null).display==="none")){if(!this.isUnstyled()&&Eo(l,"p-ink-active"),l.setAttribute("data-p-ink-active","false"),!Bn(l)&&!Un(l)){var a=Math.max(bs(A),tf(A));l.style.height=a+"px",l.style.width=a+"px"}var n=z0(A),f=t.pageX-n.left+document.body.scrollTop-Un(l)/2,h=t.pageY-n.top+document.body.scrollLeft-Bn(l)/2;l.style.top=h+"px",l.style.left=f+"px",!this.isUnstyled()&&ms(l,"p-ink-active"),l.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){l&&(!o.isUnstyled()&&Eo(l,"p-ink-active"),l.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(t){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&Eo(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(t){return t&&t.children?jq(t.children).find(function(o){return Xd(o,"data-pc-name")==="ripple"}):void 0}}});function Qr(e){"@babel/helpers - typeof";return Qr=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},Qr(e)}function Jt(e,t,o){return(t=Xq(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Xq(e){var t=$q(e,"string");return Qr(t)=="symbol"?t:t+""}function $q(e,t){if(Qr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Qr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var em=function(t){var o=t.dt;return`
|
|
368
368
|
.p-button {
|
|
369
369
|
display: inline-flex;
|
|
@@ -988,7 +988,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
988
988
|
border-color: transparent;
|
|
989
989
|
color: `).concat(o("button.link.active.color"),`;
|
|
990
990
|
}
|
|
991
|
-
`)},tm={root:function(t){var o=t.instance,A=t.props;return["p-button p-component",Jt(Jt(Jt(Jt(Jt(Jt(Jt(Jt(Jt({"p-button-icon-only":o.hasIcon&&!A.label&&!A.badge,"p-button-vertical":(A.iconPos==="top"||A.iconPos==="bottom")&&A.label,"p-button-loading":A.loading,"p-button-link":A.link||A.variant==="link"},"p-button-".concat(A.severity),A.severity),"p-button-raised",A.raised),"p-button-rounded",A.rounded),"p-button-text",A.text||A.variant==="text"),"p-button-outlined",A.outlined||A.variant==="outlined"),"p-button-sm",A.size==="small"),"p-button-lg",A.size==="large"),"p-button-plain",A.plain),"p-button-fluid",o.hasFluid)]},loadingIcon:"p-button-loading-icon",icon:function(t){var o=t.props;return["p-button-icon",Jt({},"p-button-icon-".concat(o.iconPos),o.label)]},label:"p-button-label"},nm=Ge.extend({name:"button",theme:em,classes:tm}),rm={name:"BaseButton",extends:In,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:[String,Object],default:null},badge:{type:String,default:null},badgeClass:{type:[String,Object],default:null},badgeSeverity:{type:String,default:"secondary"},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},as:{type:[String,Object],default:"BUTTON"},asChild:{type:Boolean,default:!1},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},plain:{type:Boolean,default:!1},fluid:{type:Boolean,default:null}},style:nm,provide:function(){return{$pcButton:this,$parentInstance:this}}},sA={name:"Button",extends:rm,inheritAttrs:!1,inject:{$pcFluid:{default:null}},methods:{getPTOptions:function(t){var o=t==="root"?this.ptmi:this.ptm;return o(t,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon},attrs:function(){return me(this.asAttrs,this.a11yAttrs,this.getPTOptions("root"))},asAttrs:function(){return this.as==="BUTTON"?{type:"button",disabled:this.disabled}:void 0},a11yAttrs:function(){return{"aria-label":this.defaultAriaLabel,"data-pc-name":"button","data-p-disabled":this.disabled,"data-p-severity":this.severity}},hasFluid:function(){return Fn(this.fluid)?!!this.$pcFluid:this.fluid}},components:{SpinnerIcon:iA,Badge:lf},directives:{ripple:Is}};function om(e,t,o,A,l,a){var n=
|
|
991
|
+
`)},tm={root:function(t){var o=t.instance,A=t.props;return["p-button p-component",Jt(Jt(Jt(Jt(Jt(Jt(Jt(Jt(Jt({"p-button-icon-only":o.hasIcon&&!A.label&&!A.badge,"p-button-vertical":(A.iconPos==="top"||A.iconPos==="bottom")&&A.label,"p-button-loading":A.loading,"p-button-link":A.link||A.variant==="link"},"p-button-".concat(A.severity),A.severity),"p-button-raised",A.raised),"p-button-rounded",A.rounded),"p-button-text",A.text||A.variant==="text"),"p-button-outlined",A.outlined||A.variant==="outlined"),"p-button-sm",A.size==="small"),"p-button-lg",A.size==="large"),"p-button-plain",A.plain),"p-button-fluid",o.hasFluid)]},loadingIcon:"p-button-loading-icon",icon:function(t){var o=t.props;return["p-button-icon",Jt({},"p-button-icon-".concat(o.iconPos),o.label)]},label:"p-button-label"},nm=Ge.extend({name:"button",theme:em,classes:tm}),rm={name:"BaseButton",extends:In,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:[String,Object],default:null},badge:{type:String,default:null},badgeClass:{type:[String,Object],default:null},badgeSeverity:{type:String,default:"secondary"},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},as:{type:[String,Object],default:"BUTTON"},asChild:{type:Boolean,default:!1},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},plain:{type:Boolean,default:!1},fluid:{type:Boolean,default:null}},style:nm,provide:function(){return{$pcButton:this,$parentInstance:this}}},sA={name:"Button",extends:rm,inheritAttrs:!1,inject:{$pcFluid:{default:null}},methods:{getPTOptions:function(t){var o=t==="root"?this.ptmi:this.ptm;return o(t,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon},attrs:function(){return me(this.asAttrs,this.a11yAttrs,this.getPTOptions("root"))},asAttrs:function(){return this.as==="BUTTON"?{type:"button",disabled:this.disabled}:void 0},a11yAttrs:function(){return{"aria-label":this.defaultAriaLabel,"data-pc-name":"button","data-p-disabled":this.disabled,"data-p-severity":this.severity}},hasFluid:function(){return Fn(this.fluid)?!!this.$pcFluid:this.fluid}},components:{SpinnerIcon:iA,Badge:lf},directives:{ripple:Is}};function om(e,t,o,A,l,a){var n=Ye("SpinnerIcon"),f=Ye("Badge"),h=is("ripple");return e.asChild?Le(e.$slots,"default",{key:1,class:ht(e.cx("root")),a11yAttrs:a.a11yAttrs}):ns((de(),Oe(kr(e.as),me({key:0,class:e.cx("root")},a.attrs),{default:Pe(function(){return[Le(e.$slots,"default",{},function(){return[e.loading?Le(e.$slots,"loadingicon",me({key:0,class:[e.cx("loadingIcon"),e.cx("icon")]},e.ptm("loadingIcon")),function(){return[e.loadingIcon?(de(),be("span",me({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(de(),Oe(n,me({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]}):Le(e.$slots,"icon",me({key:1,class:[e.cx("icon")]},e.ptm("icon")),function(){return[e.icon?(de(),be("span",me({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):xe("",!0)]}),qe("span",me({class:e.cx("label")},e.ptm("label")),$e(e.label||" "),17),e.badge?(de(),Oe(f,{key:2,value:e.badge,class:ht(e.badgeClass),severity:e.badgeSeverity,unstyled:e.unstyled,pt:e.ptm("pcBadge")},null,8,["value","class","severity","unstyled","pt"])):xe("",!0)]})]}),_:3},16,["class"])),[[h]])}sA.render=om;function Am(){let e=[];const t=(n,f,h=999)=>{const s=l(n,f,h),d=s.value+(s.key===n?0:h)+1;return e.push({key:n,value:d}),d},o=n=>{e=e.filter(f=>f.value!==n)},A=(n,f)=>l(n).value,l=(n,f,h=0)=>[...e].reverse().find(s=>!0)||{key:n,value:h},a=n=>n&&parseInt(n.style.zIndex,10)||0;return{get:a,set:(n,f,h)=>{f&&(f.style.zIndex=String(t(n,!0,h)))},clear:n=>{n&&(o(a(n)),n.style.zIndex="")},getCurrent:n=>A(n)}}var $n=Am(),af={name:"BaseEditableHolder",extends:In,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(t){this.d_value=t},defaultValue:function(t){this.d_value=t},$formName:{immediate:!0,handler:function(t){var o,A;this.formField=((o=this.$pcForm)===null||o===void 0||(A=o.register)===null||A===void 0?void 0:A.call(o,t,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(t){var o,A;this.formField=((o=this.$pcForm)===null||o===void 0||(A=o.register)===null||A===void 0?void 0:A.call(o,this.$formName,t))||{}}},$formDefaultValue:{immediate:!0,handler:function(t){this.d_value!==t&&(this.d_value=t)}}},formField:{},methods:{writeValue:function(t,o){var A,l;this.controlled&&(this.d_value=t,this.$emit("update:modelValue",t)),this.$emit("value-change",t),(A=(l=this.formField).onChange)===null||A===void 0||A.call(l,{originalEvent:o,value:t})}},computed:{$filled:function(){return De(this.d_value)},$invalid:function(){var t,o,A,l;return(t=(o=this.invalid)!==null&&o!==void 0?o:(A=this.$pcFormField)===null||A===void 0||(A=A.$field)===null||A===void 0?void 0:A.invalid)!==null&&t!==void 0?t:(l=this.$pcForm)===null||l===void 0||(l=l.states)===null||l===void 0||(l=l[this.$formName])===null||l===void 0?void 0:l.invalid},$formName:function(){var t;return this.name||((t=this.$formControl)===null||t===void 0?void 0:t.name)},$formControl:function(){var t;return this.formControl||((t=this.$pcFormField)===null||t===void 0?void 0:t.formControl)},$formDefaultValue:function(){var t,o,A,l;return(t=(o=this.d_value)!==null&&o!==void 0?o:(A=this.$pcFormField)===null||A===void 0?void 0:A.initialValue)!==null&&t!==void 0?t:(l=this.$pcForm)===null||l===void 0||(l=l.initialValues)===null||l===void 0?void 0:l[this.$formName]},controlled:function(){return this.$inProps.hasOwnProperty("modelValue")||!this.$inProps.hasOwnProperty("modelValue")&&!this.$inProps.hasOwnProperty("defaultValue")},filled:function(){return this.$filled}}},uf={name:"BaseInput",extends:af,props:{size:{type:String,default:null},fluid:{type:Boolean,default:null},variant:{type:String,default:null}},inject:{$parentInstance:{default:void 0},$pcFluid:{default:void 0}},computed:{$variant:function(){var t;return(t=this.variant)!==null&&t!==void 0?t:this.$primevue.config.inputStyle||this.$primevue.config.inputVariant},$fluid:function(){var t;return(t=this.fluid)!==null&&t!==void 0?t:!!this.$pcFluid},hasFluid:function(){return this.$fluid}}},im=function(t){var o=t.dt;return`
|
|
992
992
|
.p-inputtext {
|
|
993
993
|
font-family: inherit;
|
|
994
994
|
font-feature-settings: inherit;
|
|
@@ -1061,7 +1061,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1061
1061
|
.p-inputtext-fluid {
|
|
1062
1062
|
width: 100%;
|
|
1063
1063
|
}
|
|
1064
|
-
`)},sm={root:function(t){var o=t.instance,A=t.props;return["p-inputtext p-component",{"p-filled":o.$filled,"p-inputtext-sm p-inputfield-sm":A.size==="small","p-inputtext-lg p-inputfield-lg":A.size==="large","p-invalid":o.$invalid,"p-variant-filled":o.$variant==="filled","p-inputtext-fluid":o.$fluid}]}},lm=Ge.extend({name:"inputtext",theme:im,classes:sm}),am={name:"BaseInputText",extends:uf,style:lm,provide:function(){return{$pcInputText:this,$parentInstance:this}}},Ss={name:"InputText",extends:am,inheritAttrs:!1,methods:{onInput:function(t){this.writeValue(t.target.value,t)}},computed:{attrs:function(){return me(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},um=["value","disabled","aria-invalid"];function cm(e,t,o,A,l,a){return de(),Ve("input",me({type:"text",class:e.cx("root"),value:e.d_value,disabled:e.disabled,"aria-invalid":e.$invalid||void 0,onInput:t[0]||(t[0]=function(){return a.onInput&&a.onInput.apply(a,arguments)})},a.attrs),null,16,um)}Ss.render=cm;const dm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 65.997 65.372"};function fm(e,t){return de(),Ve("svg",dm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd"},[qe("path",{d:"M0 32.43a36 36 0 0 0 .576 6.365l.371 1.677c.286 1.069.573 2.118.938 3.1a29 29 0 0 0 1.205 2.891c.232.461.442.882.664 1.327a22.4 22.4 0 0 0 1.9 3.162l.829 1.163c.15.2.292.369.448.576l2.13 2.478a27 27 0 0 0 2.34 2.212 37 37 0 0 0 4.069 2.986 39 39 0 0 0 5.416 2.719c.975.39 2.054.729 3.071 1.026.547.16 1.056.271 1.632.417a29 29 0 0 0 3.435.6 34 34 0 0 0 3.538.238h1.1a29 29 0 0 0 2.746-.171 32 32 0 0 0 6.634-1.388l2.948-1.092a31 31 0 0 0 3.962-2.012l1.874-1.2a26 26 0 0 0 2.261-1.721l1.883-1.643c.437-.4.8-.865 1.223-1.281a6 6 0 0 0 .458-.51l.483-.542c.319-.366.593-.7.9-1.093a33 33 0 0 0 4.429-7.632 32 32 0 0 0 2.128-7.885c.085-.59.15-1.211.221-1.77A15 15 0 0 0 66 33.568c-.545 0-2.826-.286-3.4-.358-2.245-.285-1.939-.4-2.024.342a30.9 30.9 0 0 1-2.3 9.932c-.261.662-.595 1.252-.908 1.88-.123.247-.2.4-.335.632a37 37 0 0 1-2.251 3.382c-.406.543-.87.985-1.277 1.511a4.5 4.5 0 0 1-.465.5 16 16 0 0 1-1.4 1.384c-.543.419-.994.887-1.544 1.3a27.71 27.71 0 0 1-27.156 4.006c-.393-.158-.824-.317-1.2-.5-.744-.37-1.566-.723-2.279-1.134l-1.079-.628c-1.6-1.066-1.939-1.357-3.446-2.528-.187-.145-.259-.263-.446-.407a10 10 0 0 1-.877-.842 4 4 0 0 1-.423-.374l-1.4-1.56a17 17 0 0 1-1.665-2.2 26.4 26.4 0 0 1-3.165-6.223 25 25 0 0 1-.786-2.628 26.66 26.66 0 0 1-.02-12.7 25 25 0 0 1 .777-2.693 27.4 27.4 0 0 1 4.747-8.339 21 21 0 0 1 2.161-2.283c.154-.136.278-.278.426-.427.169-.17.283-.232.456-.4l.456-.4a23.6 23.6 0 0 1 3.609-2.536A27 27 0 0 1 27.7 5.911a43.7 43.7 0 0 1 7.857-.507V.17c0-.129-.038-.169-.165-.171h-.006l-5.362.155c-1.2.156-2.461.23-3.648.506l-1.661.387a31 31 0 0 0-5.41 1.873c-1.152.534-2.282 1.179-3.395 1.782a32 32 0 0 0-3.695 2.564 14 14 0 0 0-1.647 1.425c-.2.206-.363.3-.57.511-.353.357-.667.671-1.024 1.024l-1 1.11a27 27 0 0 0-2.257 2.92L4.5 16.161c-.257.429-.492.88-.74 1.308a31 31 0 0 0-2.852 7.56 35 35 0 0 0-.908 7.4Z"}),qe("path",{d:"M40.054 30.61a4 4 0 0 0 .324 2.123 3.73 3.73 0 0 0 2.919 2.031h.626a3.82 3.82 0 0 0 3.072-2.219 3.42 3.42 0 0 0-.725-3.94c-2.67-2.642-6.216-.119-6.216 2.005M29.244 30.838a3.5 3.5 0 0 0 .378 1.955 3.3 3.3 0 0 0 .745.961 3.6 3.6 0 0 0 3.281.92 3.639 3.639 0 1 0-3.281-6.183 3.3 3.3 0 0 0-1.123 2.347M29.243 52.457a3.52 3.52 0 0 0 .705 2.424 3.654 3.654 0 0 0 4.441 1.129 2.2 2.2 0 0 0 .552-.359 3.4 3.4 0 0 0 1.263-1.467 3.732 3.732 0 0 0-3.035-5.141 3.68 3.68 0 0 0-3.561 2.015 3.4 3.4 0 0 0-.365 1.4ZM18.434 31.065a3.64 3.64 0 0 0 3.527 3.7 4 4 0 0 0 2.632-1.009 3.657 3.657 0 0 0 .056-5.207 3.648 3.648 0 0 0-6.215 2.516M18.434 41.818a3.6 3.6 0 0 0 2.085 3.377 3.634 3.634 0 0 0 4.6-5.288 3.639 3.639 0 0 0-6.69 1.911ZM40.054 41.476a3.4 3.4 0 0 0 .835 2.806 3.72 3.72 0 0 0 2.752 1.288 7 7 0 0 0 .753-.094 3.6 3.6 0 0 0 2.885-3.715 3.56 3.56 0 0 0-1.014-2.4 4.2 4.2 0 0 0-.994-.712 3.37 3.37 0 0 0-1.86-.359 3.71 3.71 0 0 0-2.979 1.914 3.4 3.4 0 0 0-.378 1.272M25.716 20.483a3.6 3.6 0 0 0-1.933-3.358 3.644 3.644 0 1 0-.268 6.562 3.77 3.77 0 0 0 2.2-3.2ZM29.243 19.971a3.62 3.62 0 0 0 1.037 2.945 3.8 3.8 0 0 0 4.273.658 3.67 3.67 0 0 0 1.856-2.468 3.32 3.32 0 0 0-.187-2.2 3.3 3.3 0 0 0-.707-1.057 3.64 3.64 0 0 0-4.241-.8 2.7 2.7 0 0 0-.71.484c-.111.1-.143.1-.254.2a3.72 3.72 0 0 0-1.067 2.233ZM40.054 19.971a3.47 3.47 0 0 0 1.094 3 3.68 3.68 0 0 0 4.122.621 5 5 0 0 0 .531-.322l.82-.83a3.628 3.628 0 0 0-2.7-5.714 3.46 3.46 0 0 0-1.877.342 4.4 4.4 0 0 0-.982.668c-.093.1-.087.116-.174.225a3.47 3.47 0 0 0-.835 2.009ZM29.244 41.538a3.53 3.53 0 0 0 1.569 3.38 3 3 0 0 0 .575.335 3.634 3.634 0 0 0 4.115-5.822 3.68 3.68 0 0 0-4.213-.8l-1.341 1.106a3.4 3.4 0 0 0-.328.525 3.2 3.2 0 0 0-.377 1.276"})],-1)]))}const gm={render:fm},hm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.433 18.666"};function pm(e,t){return de(),Ve("svg",hm,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5" transform="translate(.25 .25)"><path d="M7.407 18.166a7.3 7.3 0 0 1-2.881-.579 7.37 7.37 0 0 1-3.947-3.948A7.3 7.3 0 0 1 0 10.728a7.3 7.3 0 0 1 .579-2.88 7.4 7.4 0 0 1 1.585-2.362 7.6 7.6 0 0 1 2.362-1.6 7.1 7.1 0 0 1 2.881-.594 7 7 0 0 1 2.865.594 8 8 0 0 1 1.3.728 4 4 0 0 0-.408.018 2.82 2.82 0 0 0-2.438 1.9 4.4 4.4 0 0 0-3.013.158 4.5 4.5 0 0 0-1.4.944 4.33 4.33 0 0 0-1.265 3.094 4.45 4.45 0 0 0 .335 1.722 4.24 4.24 0 0 0 2.332 2.332 4.45 4.45 0 0 0 1.722.335 4.33 4.33 0 0 0 3.094-1.265 4.3 4.3 0 0 0 .93-1.4 4.5 4.5 0 0 0 .335-1.722q0-.2-.015-.387a2.78 2.78 0 0 0 1.935-1.026 2.7 2.7 0 0 0 .583-1.278 7.36 7.36 0 0 1-.08 5.6 7.6 7.6 0 0 1-1.6 2.362 7.5 7.5 0 0 1-2.347 1.585 7.2 7.2 0 0 1-2.865.579Z"></path><circle cx=".968" cy=".968" r=".968" transform="translate(6.439 9.761)"></circle><ellipse cx="2.166" cy="2.169" rx="2.166" ry="2.169" transform="translate(9.279 5.261)"></ellipse><ellipse cx="2.909" cy="2.913" rx="2.909" ry="2.913" transform="translate(14.115)"></ellipse></g>',1)]))}const qm={render:pm},mm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.239 19.465"};function Vm(e,t){return de(),Ve("svg",mm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd",stroke:"currentColor","stroke-width":".5"},[qe("path",{d:"M2.95 5.257a2.34 2.34 0 0 1-1.258-.317 2.5 2.5 0 0 1-.806-.76L.73 3.894a2.4 2.4 0 0 1-.006-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .44-.413 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.099 1.92 2.35 2.35 0 0 1-.31 1.269 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.39.337 2.35 2.35 0 0 1-1.308.431ZM.25 2.77A2.5 2.5 0 0 0 .5 4.004c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.065-1.158 2.65 2.65 0 0 0-.367-2.822L4.668.94c-.041-.029-.05-.046-.085-.073A2.64 2.64 0 0 0 2.97.25 2.5 2.5 0 0 0 1.761.5 2.58 2.58 0 0 0 .5 1.761a2.5 2.5 0 0 0-.25 1.012ZM10.153 5.257a2.34 2.34 0 0 1-1.254-.317 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337A2.4 2.4 0 0 1 8.71.94a2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.102.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM7.457 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.067-1.158 2.65 2.65 0 0 0-.369-2.822L11.877.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 10.177.25 2.5 2.5 0 0 0 8.968.5a2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 5.257a2.34 2.34 0 0 1-1.256-.317 2.5 2.5 0 0 1-.8-.76l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .435-.414 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM14.663 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.36-2.823L19.081.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 17.383.25a2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM.25 9.601a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 8.592a2.5 2.5 0 0 0-.25 1.012ZM10.153 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 12.088a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.334 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 15.423a2.5 2.5 0 0 0-.25 1.012ZM10.153 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 18.919a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012Z"})],-1)]))}const bm={render:Vm},Cm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.239 19.465"};function vm(e,t){return de(),Ve("svg",Cm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd",stroke:"currentColor","stroke-width":".5"},[qe("path",{d:"M2.95 5.257a2.34 2.34 0 0 1-1.258-.317 2.5 2.5 0 0 1-.806-.76L.73 3.894a2.4 2.4 0 0 1-.006-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .44-.413 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.099 1.92 2.35 2.35 0 0 1-.31 1.269 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.39.337 2.35 2.35 0 0 1-1.308.431ZM.25 2.77A2.5 2.5 0 0 0 .5 4.004c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.065-1.158 2.65 2.65 0 0 0-.367-2.822L4.668.94c-.041-.029-.05-.046-.085-.073A2.64 2.64 0 0 0 2.97.25 2.5 2.5 0 0 0 1.761.5 2.58 2.58 0 0 0 .5 1.761a2.5 2.5 0 0 0-.25 1.012ZM10.153 5.257a2.34 2.34 0 0 1-1.254-.317 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337A2.4 2.4 0 0 1 8.71.94a2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.102.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM7.457 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.067-1.158 2.65 2.65 0 0 0-.369-2.822L11.877.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 10.177.25 2.5 2.5 0 0 0 8.968.5a2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 5.257a2.34 2.34 0 0 1-1.256-.317 2.5 2.5 0 0 1-.8-.76l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .435-.414 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM14.663 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.36-2.823L19.081.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 17.383.25a2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM.25 9.601a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 8.592a2.5 2.5 0 0 0-.25 1.012ZM10.153 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 12.088a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.334 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 15.423a2.5 2.5 0 0 0-.25 1.012ZM10.153 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 18.919a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012Z"})],-1),qe("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":".5",d:"m0 0 19 19"},null,-1)]))}const ym={render:vm},Im={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"};function Sm(e,t){return de(),Ve("svg",Im,t[0]||(t[0]=[qe("g",{fill:"none",stroke:"currentColor","stroke-width":".5"},[qe("rect",{width:"30",height:"30",stroke:"none",rx:"15"}),qe("rect",{width:"29.5",height:"29.5",x:".25",y:".25",rx:"14.75"})],-1),qe("path",{fill:"currentColor","fill-rule":"evenodd",d:"M15.947 17.13c.36 0 2.115-.74 2.263-.7a12 12 0 0 1 .931.91l2.475 2.39-.783.846a3.27 3.27 0 0 1-2.073 1.227 2.78 2.78 0 0 1-2.411-.825l-7.466-7.465A3.04 3.04 0 0 1 7.8 11.144c0-1.713 1.611-2.517 2.056-3.194l3.32 3.427-.613 1.861c-.212.635-.106.55.825 1.459l1.248 1.249.931.931c.106.106.19.254.381.254ZM7 11.144a3.68 3.68 0 0 0 1.036 2.665c.338.4 3.49 3.49 3.892 3.892l3.512 3.511.338.338c.085.085.127.085.19.169a3.68 3.68 0 0 0 4.971-.148l1.311-1.311c.55-.55.465-.571-.085-1.121l-3.214-3.109c-.635-.635-.381-.55-1.734-.106a8 8 0 0 1-1.121.36l-2.772-2.75c.085-.338.254-.74.36-1.1.465-1.4.7-1.015-.592-2.306a3 3 0 0 1-.254-.229 4 4 0 0 0-.254-.3l-1.565-1.607c-1.333-1.332-.74-1.523-2.961.677a4 4 0 0 0-.4.465A3.6 3.6 0 0 0 7 11.144"},null,-1)]))}const wm={render:Sm},Em={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function km(e,t){return de(),Ve("svg",Em,t[0]||(t[0]=[qe("g",{fill:"none",stroke:"currentColor","stroke-width":".5"},[qe("rect",{width:"22",height:"22",stroke:"none",rx:"11"}),qe("rect",{width:"21.5",height:"21.5",x:".25",y:".25",rx:"10.75"})],-1),qe("path",{fill:"currentColor","fill-rule":"evenodd",d:"M9.467 11.058c-.191.191-.73 1.515-.832 1.573a9 9 0 0 1-.977.012l-2.58.046-.035-.864a2.45 2.45 0 0 1 .45-1.75 2.09 2.09 0 0 1 1.716-.842h7.92a2.28 2.28 0 0 1 1.835.679c.909.909.483 2.188.61 2.785l-3.586-.056-.665-1.316c-.224-.449-.236-.348-1.212-.336H9.798c-.112 0-.236-.033-.337.068Zm7.922-1.57a2.76 2.76 0 0 0-1.965-.864c-.391-.033-3.702 0-4.13 0H7.21c-.089 0-.115.026-.19.01a2.76 2.76 0 0 0-2.56 2.716v1.392c0 .584.056.55.64.55l3.355-.057c.673 0 .495.09.974-.867a6 6 0 0 1 .404-.786l2.933-.006c.135.225.258.527.392.775.494.987.169.909 1.538.909a2 2 0 0 1 .258-.01 3 3 0 0 0 .291.022l1.682.02c1.414 0 1.2.415 1.212-1.931a3 3 0 0 0-.034-.46 2.7 2.7 0 0 0-.717-1.413Z"},null,-1)]))}const Tm={render:km},Rm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function Mm(e,t){return de(),Ve("svg",Rm,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5"><rect width="22" height="22" stroke="none" rx="11"></rect><rect width="21.5" height="21.5" x=".25" y=".25" rx="10.75"></rect></g><g fill="currentColor" fill-rule="evenodd"><path d="M8.48 11.498V7.93a2.607 2.607 0 0 1 4.135-2.26 2.67 2.67 0 0 1 1.062 2.26v3.568a2.6 2.6 0 0 1-1.446 2.488 2.54 2.54 0 0 1-2.282.023 2.25 2.25 0 0 1-.768-.587 2.58 2.58 0 0 1-.701-1.924m-.678-3.635v3.705a3.35 3.35 0 0 0 .9 2.35 3 3 0 0 0 .407.362 3.22 3.22 0 0 0 3.413.318 3.34 3.34 0 0 0 1.833-3.03V7.863a3.35 3.35 0 0 0-.9-2.35 3.278 3.278 0 0 0-5.653 2.35"></path><path d="M10.717 16.245v1.2c0 .158.226.09.61.09.068 0 .09-.023.09-.09v-1.2a4.54 4.54 0 0 0 3.141-1.6 4.74 4.74 0 0 0 1.062-2.489c.045-.61.181-.5-.633-.5a3.86 3.86 0 0 1-1.13 2.734 3.82 3.82 0 0 1-2.847 1.178 3.8 3.8 0 0 1-1.582-.362 3.97 3.97 0 0 1-1.92-1.966 3.4 3.4 0 0 1-.312-1.356c0-.113-.023-.113-.023-.226-.859 0-.655-.068-.633.407a2 2 0 0 0 .068.52 4.66 4.66 0 0 0 2.369 3.163 4.6 4.6 0 0 0 1.74.5Z"></path></g>',2)]))}const xm={render:Mm},Om={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function Bm(e,t){return de(),Ve("svg",Om,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5"><rect width="22" height="22" stroke="none" rx="11"></rect><rect width="21.5" height="21.5" x=".25" y=".25" rx="10.75"></rect></g><g fill="currentColor" fill-rule="evenodd"><path d="M8.48 11.498V7.93a2.607 2.607 0 0 1 4.135-2.26 2.67 2.67 0 0 1 1.062 2.26v3.568a2.6 2.6 0 0 1-1.446 2.488 2.54 2.54 0 0 1-2.282.023 2.25 2.25 0 0 1-.768-.587 2.58 2.58 0 0 1-.701-1.924m-.678-3.635v3.705a3.35 3.35 0 0 0 .9 2.35 3 3 0 0 0 .407.362 3.22 3.22 0 0 0 3.413.318 3.34 3.34 0 0 0 1.833-3.03V7.863a3.35 3.35 0 0 0-.9-2.35 3.278 3.278 0 0 0-5.653 2.35"></path><path d="M10.717 16.245v1.2c0 .158.226.09.61.09.068 0 .09-.023.09-.09v-1.2a4.54 4.54 0 0 0 3.141-1.6 4.74 4.74 0 0 0 1.062-2.489c.045-.61.181-.5-.633-.5a3.86 3.86 0 0 1-1.13 2.734 3.82 3.82 0 0 1-2.847 1.178 3.8 3.8 0 0 1-1.582-.362 3.97 3.97 0 0 1-1.92-1.966 3.4 3.4 0 0 1-.312-1.356c0-.113-.023-.113-.023-.226-.859 0-.655-.068-.633.407a2 2 0 0 0 .068.52 4.66 4.66 0 0 0 2.369 3.163 4.6 4.6 0 0 0 1.74.5Z"></path></g><path stroke="currentColor" stroke-linecap="round" stroke-width=".5" d="m0 0 22 22"></path>',3)]))}const Um={render:Bm},Dm={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"-6.4 -6.4 76.8 76.8"};function Lm(e,t){return de(),Ve("svg",Dm,t[0]||(t[0]=[qe("path",{fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M55 44H19L9 32l10-12h36zm-28-5 14-14m-14 0 14 14"},null,-1)]))}const Fm={render:Lm},Qm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14.701 14.472"};function Ym(e,t){return de(),Ve("svg",Qm,t[0]||(t[0]=[qe("path",{fill:"currentColor",d:"M5.491 14.471a5.4 5.4 0 0 1-2.135-.43A5.46 5.46 0 0 1 .43 11.116 5.4 5.4 0 0 1 0 8.959a5.4 5.4 0 0 1 .43-2.136A5.5 5.5 0 0 1 1.6 5.072a5.7 5.7 0 0 1 1.755-1.186 5.38 5.38 0 0 1 4.013-.1 2 2 0 0 0-.287.292 2.06 2.06 0 0 0-.446 1.574 3 3 0 0 0 .042.271 3.1 3.1 0 0 0-1.164-.221 3.2 3.2 0 0 0-1.276.26 3.3 3.3 0 0 0-1.039.7 3.2 3.2 0 0 0-.938 2.297 3.3 3.3 0 0 0 .249 1.277 3.14 3.14 0 0 0 1.728 1.728 3.3 3.3 0 0 0 1.276.249A3.18 3.18 0 0 0 8.5 10.236a3.3 3.3 0 0 0 .248-1.277A3.2 3.2 0 0 0 8.5 7.694q-.032-.075-.067-.148a2.4 2.4 0 0 0 .543 0 2.06 2.06 0 0 0 1.449-.763l.065-.084.055.121a5.45 5.45 0 0 1 0 4.293 5.7 5.7 0 0 1-1.186 1.751 5.5 5.5 0 0 1-1.74 1.175 5.3 5.3 0 0 1-2.124.43Zm-.7-5.628a.842.842 0 1 1 .309.587.84.84 0 0 1-.312-.587Zm5.788-6.56a2.02 2.02 0 0 1 1.838-2.27 2.02 2.02 0 0 1 2.27 1.842 2.02 2.02 0 0 1-1.842 2.27 2.02 2.02 0 0 1-2.27-1.842ZM7.261 5.762a1.318 1.318 0 1 1 2.621-.273 1.317 1.317 0 1 1-2.62.273Z"},null,-1)]))}const Gm={render:Ym};function Yr(e){"@babel/helpers - typeof";return Yr=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},Yr(e)}function Km(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var o=0;o<t.length;o++){var A=t[o];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jm(A.key),A)}}function Nm(e,t,o){return t&&Jm(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jm(e){var t=Wm(e,"string");return Yr(t)=="symbol"?t:t+""}function Wm(e,t){if(Yr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Yr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Hm=function(){function e(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};Km(this,e),this.element=t,this.listener=o}return Nm(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=_0(this.element);for(var o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])}();function Fo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return ys(e)}var ws={name:"TimesIcon",extends:Sn};function Zm(e,t,o,A,l,a){return de(),Ve("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}ws.render=Zm;var cf={name:"WindowMaximizeIcon",extends:Sn};function Pm(e,t,o,A,l,a){return de(),Ve("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}cf.render=Pm;var df={name:"WindowMinimizeIcon",extends:Sn};function zm(e,t,o,A,l,a){return de(),Ve("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}df.render=zm;var _m=Ge.extend({name:"focustrap-directive"}),Xm=Re.extend({style:_m});function Gr(e){"@babel/helpers - typeof";return Gr=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},Gr(e)}function Ac(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function ic(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ac(Object(o),!0).forEach(function(A){$m(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ac(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function $m(e,t,o){return(t=eV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function eV(e){var t=tV(e,"string");return Gr(t)=="symbol"?t:t+""}function tV(e,t){if(Gr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Gr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var nV=Xm.extend("focustrap",{mounted:function(t,o){var A=o.value||{},l=A.disabled;l||(this.createHiddenFocusableElements(t,o),this.bind(t,o),this.autoElementFocus(t,o)),t.setAttribute("data-pd-focustrap",!0),this.$el=t},updated:function(t,o){var A=o.value||{},l=A.disabled;l&&this.unbind(t)},unmounted:function(t){this.unbind(t)},methods:{getComputedSelector:function(t){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(t??"")},bind:function(t,o){var A=this,l=o.value||{},a=l.onFocusIn,n=l.onFocusOut;t.$_pfocustrap_mutationobserver=new MutationObserver(function(f){f.forEach(function(h){if(h.type==="childList"&&!t.contains(document.activeElement)){var s=function(c){var p=Nu(c)?Nu(c,A.getComputedSelector(t.$_pfocustrap_focusableselector))?c:Jn(t,A.getComputedSelector(t.$_pfocustrap_focusableselector)):Jn(c);return De(p)?p:c.nextSibling&&s(c.nextSibling)};yt(s(h.nextSibling))}})}),t.$_pfocustrap_mutationobserver.disconnect(),t.$_pfocustrap_mutationobserver.observe(t,{childList:!0}),t.$_pfocustrap_focusinlistener=function(f){return a&&a(f)},t.$_pfocustrap_focusoutlistener=function(f){return n&&n(f)},t.addEventListener("focusin",t.$_pfocustrap_focusinlistener),t.addEventListener("focusout",t.$_pfocustrap_focusoutlistener)},unbind:function(t){t.$_pfocustrap_mutationobserver&&t.$_pfocustrap_mutationobserver.disconnect(),t.$_pfocustrap_focusinlistener&&t.removeEventListener("focusin",t.$_pfocustrap_focusinlistener)&&(t.$_pfocustrap_focusinlistener=null),t.$_pfocustrap_focusoutlistener&&t.removeEventListener("focusout",t.$_pfocustrap_focusoutlistener)&&(t.$_pfocustrap_focusoutlistener=null)},autoFocus:function(t){this.autoElementFocus(this.$el,{value:ic(ic({},t),{},{autoFocus:!0})})},autoElementFocus:function(t,o){var A=o.value||{},l=A.autoFocusSelector,a=l===void 0?"":l,n=A.firstFocusableSelector,f=n===void 0?"":n,h=A.autoFocus,s=h===void 0?!1:h,d=Jn(t,"[autofocus]".concat(this.getComputedSelector(a)));s&&!d&&(d=Jn(t,this.getComputedSelector(f))),yt(d)},onFirstHiddenElementFocus:function(t){var o,A=t.currentTarget,l=t.relatedTarget,a=l===A.$_pfocustrap_lasthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(l))?Jn(A.parentElement,this.getComputedSelector(A.$_pfocustrap_focusableselector)):A.$_pfocustrap_lasthiddenfocusableelement;yt(a)},onLastHiddenElementFocus:function(t){var o,A=t.currentTarget,l=t.relatedTarget,a=l===A.$_pfocustrap_firsthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(l))?ef(A.parentElement,this.getComputedSelector(A.$_pfocustrap_focusableselector)):A.$_pfocustrap_firsthiddenfocusableelement;yt(a)},createHiddenFocusableElements:function(t,o){var A=this,l=o.value||{},a=l.tabIndex,n=a===void 0?0:a,f=l.firstFocusableSelector,h=f===void 0?"":f,s=l.lastFocusableSelector,d=s===void 0?"":s,c=function(T){return _d("span",{class:"p-hidden-accessible p-hidden-focusable",tabIndex:n,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:T==null?void 0:T.bind(A)})},p=c(this.onFirstHiddenElementFocus),q=c(this.onLastHiddenElementFocus);p.$_pfocustrap_lasthiddenfocusableelement=q,p.$_pfocustrap_focusableselector=h,p.setAttribute("data-pc-section","firstfocusableelement"),q.$_pfocustrap_firsthiddenfocusableelement=p,q.$_pfocustrap_focusableselector=d,q.setAttribute("data-pc-section","lastfocusableelement"),t.prepend(p),t.append(q)}}}),Es={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=vs()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function rV(e,t,o,A,l,a){return a.inline?Ye(e.$slots,"default",{key:0}):l.mounted?(de(),Oe(dh,{key:1,to:o.appendTo},[Ye(e.$slots,"default")],8,["to"])):Me("",!0)}Es.render=rV;var oV=function(t){var o=t.dt;return`
|
|
1064
|
+
`)},sm={root:function(t){var o=t.instance,A=t.props;return["p-inputtext p-component",{"p-filled":o.$filled,"p-inputtext-sm p-inputfield-sm":A.size==="small","p-inputtext-lg p-inputfield-lg":A.size==="large","p-invalid":o.$invalid,"p-variant-filled":o.$variant==="filled","p-inputtext-fluid":o.$fluid}]}},lm=Ge.extend({name:"inputtext",theme:im,classes:sm}),am={name:"BaseInputText",extends:uf,style:lm,provide:function(){return{$pcInputText:this,$parentInstance:this}}},Ss={name:"InputText",extends:am,inheritAttrs:!1,methods:{onInput:function(t){this.writeValue(t.target.value,t)}},computed:{attrs:function(){return me(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},um=["value","disabled","aria-invalid"];function cm(e,t,o,A,l,a){return de(),be("input",me({type:"text",class:e.cx("root"),value:e.d_value,disabled:e.disabled,"aria-invalid":e.$invalid||void 0,onInput:t[0]||(t[0]=function(){return a.onInput&&a.onInput.apply(a,arguments)})},a.attrs),null,16,um)}Ss.render=cm;const dm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 65.997 65.372"};function fm(e,t){return de(),be("svg",dm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd"},[qe("path",{d:"M0 32.43a36 36 0 0 0 .576 6.365l.371 1.677c.286 1.069.573 2.118.938 3.1a29 29 0 0 0 1.205 2.891c.232.461.442.882.664 1.327a22.4 22.4 0 0 0 1.9 3.162l.829 1.163c.15.2.292.369.448.576l2.13 2.478a27 27 0 0 0 2.34 2.212 37 37 0 0 0 4.069 2.986 39 39 0 0 0 5.416 2.719c.975.39 2.054.729 3.071 1.026.547.16 1.056.271 1.632.417a29 29 0 0 0 3.435.6 34 34 0 0 0 3.538.238h1.1a29 29 0 0 0 2.746-.171 32 32 0 0 0 6.634-1.388l2.948-1.092a31 31 0 0 0 3.962-2.012l1.874-1.2a26 26 0 0 0 2.261-1.721l1.883-1.643c.437-.4.8-.865 1.223-1.281a6 6 0 0 0 .458-.51l.483-.542c.319-.366.593-.7.9-1.093a33 33 0 0 0 4.429-7.632 32 32 0 0 0 2.128-7.885c.085-.59.15-1.211.221-1.77A15 15 0 0 0 66 33.568c-.545 0-2.826-.286-3.4-.358-2.245-.285-1.939-.4-2.024.342a30.9 30.9 0 0 1-2.3 9.932c-.261.662-.595 1.252-.908 1.88-.123.247-.2.4-.335.632a37 37 0 0 1-2.251 3.382c-.406.543-.87.985-1.277 1.511a4.5 4.5 0 0 1-.465.5 16 16 0 0 1-1.4 1.384c-.543.419-.994.887-1.544 1.3a27.71 27.71 0 0 1-27.156 4.006c-.393-.158-.824-.317-1.2-.5-.744-.37-1.566-.723-2.279-1.134l-1.079-.628c-1.6-1.066-1.939-1.357-3.446-2.528-.187-.145-.259-.263-.446-.407a10 10 0 0 1-.877-.842 4 4 0 0 1-.423-.374l-1.4-1.56a17 17 0 0 1-1.665-2.2 26.4 26.4 0 0 1-3.165-6.223 25 25 0 0 1-.786-2.628 26.66 26.66 0 0 1-.02-12.7 25 25 0 0 1 .777-2.693 27.4 27.4 0 0 1 4.747-8.339 21 21 0 0 1 2.161-2.283c.154-.136.278-.278.426-.427.169-.17.283-.232.456-.4l.456-.4a23.6 23.6 0 0 1 3.609-2.536A27 27 0 0 1 27.7 5.911a43.7 43.7 0 0 1 7.857-.507V.17c0-.129-.038-.169-.165-.171h-.006l-5.362.155c-1.2.156-2.461.23-3.648.506l-1.661.387a31 31 0 0 0-5.41 1.873c-1.152.534-2.282 1.179-3.395 1.782a32 32 0 0 0-3.695 2.564 14 14 0 0 0-1.647 1.425c-.2.206-.363.3-.57.511-.353.357-.667.671-1.024 1.024l-1 1.11a27 27 0 0 0-2.257 2.92L4.5 16.161c-.257.429-.492.88-.74 1.308a31 31 0 0 0-2.852 7.56 35 35 0 0 0-.908 7.4Z"}),qe("path",{d:"M40.054 30.61a4 4 0 0 0 .324 2.123 3.73 3.73 0 0 0 2.919 2.031h.626a3.82 3.82 0 0 0 3.072-2.219 3.42 3.42 0 0 0-.725-3.94c-2.67-2.642-6.216-.119-6.216 2.005M29.244 30.838a3.5 3.5 0 0 0 .378 1.955 3.3 3.3 0 0 0 .745.961 3.6 3.6 0 0 0 3.281.92 3.639 3.639 0 1 0-3.281-6.183 3.3 3.3 0 0 0-1.123 2.347M29.243 52.457a3.52 3.52 0 0 0 .705 2.424 3.654 3.654 0 0 0 4.441 1.129 2.2 2.2 0 0 0 .552-.359 3.4 3.4 0 0 0 1.263-1.467 3.732 3.732 0 0 0-3.035-5.141 3.68 3.68 0 0 0-3.561 2.015 3.4 3.4 0 0 0-.365 1.4ZM18.434 31.065a3.64 3.64 0 0 0 3.527 3.7 4 4 0 0 0 2.632-1.009 3.657 3.657 0 0 0 .056-5.207 3.648 3.648 0 0 0-6.215 2.516M18.434 41.818a3.6 3.6 0 0 0 2.085 3.377 3.634 3.634 0 0 0 4.6-5.288 3.639 3.639 0 0 0-6.69 1.911ZM40.054 41.476a3.4 3.4 0 0 0 .835 2.806 3.72 3.72 0 0 0 2.752 1.288 7 7 0 0 0 .753-.094 3.6 3.6 0 0 0 2.885-3.715 3.56 3.56 0 0 0-1.014-2.4 4.2 4.2 0 0 0-.994-.712 3.37 3.37 0 0 0-1.86-.359 3.71 3.71 0 0 0-2.979 1.914 3.4 3.4 0 0 0-.378 1.272M25.716 20.483a3.6 3.6 0 0 0-1.933-3.358 3.644 3.644 0 1 0-.268 6.562 3.77 3.77 0 0 0 2.2-3.2ZM29.243 19.971a3.62 3.62 0 0 0 1.037 2.945 3.8 3.8 0 0 0 4.273.658 3.67 3.67 0 0 0 1.856-2.468 3.32 3.32 0 0 0-.187-2.2 3.3 3.3 0 0 0-.707-1.057 3.64 3.64 0 0 0-4.241-.8 2.7 2.7 0 0 0-.71.484c-.111.1-.143.1-.254.2a3.72 3.72 0 0 0-1.067 2.233ZM40.054 19.971a3.47 3.47 0 0 0 1.094 3 3.68 3.68 0 0 0 4.122.621 5 5 0 0 0 .531-.322l.82-.83a3.628 3.628 0 0 0-2.7-5.714 3.46 3.46 0 0 0-1.877.342 4.4 4.4 0 0 0-.982.668c-.093.1-.087.116-.174.225a3.47 3.47 0 0 0-.835 2.009ZM29.244 41.538a3.53 3.53 0 0 0 1.569 3.38 3 3 0 0 0 .575.335 3.634 3.634 0 0 0 4.115-5.822 3.68 3.68 0 0 0-4.213-.8l-1.341 1.106a3.4 3.4 0 0 0-.328.525 3.2 3.2 0 0 0-.377 1.276"})],-1)]))}const gm={render:fm},hm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.433 18.666"};function pm(e,t){return de(),be("svg",hm,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5" transform="translate(.25 .25)"><path d="M7.407 18.166a7.3 7.3 0 0 1-2.881-.579 7.37 7.37 0 0 1-3.947-3.948A7.3 7.3 0 0 1 0 10.728a7.3 7.3 0 0 1 .579-2.88 7.4 7.4 0 0 1 1.585-2.362 7.6 7.6 0 0 1 2.362-1.6 7.1 7.1 0 0 1 2.881-.594 7 7 0 0 1 2.865.594 8 8 0 0 1 1.3.728 4 4 0 0 0-.408.018 2.82 2.82 0 0 0-2.438 1.9 4.4 4.4 0 0 0-3.013.158 4.5 4.5 0 0 0-1.4.944 4.33 4.33 0 0 0-1.265 3.094 4.45 4.45 0 0 0 .335 1.722 4.24 4.24 0 0 0 2.332 2.332 4.45 4.45 0 0 0 1.722.335 4.33 4.33 0 0 0 3.094-1.265 4.3 4.3 0 0 0 .93-1.4 4.5 4.5 0 0 0 .335-1.722q0-.2-.015-.387a2.78 2.78 0 0 0 1.935-1.026 2.7 2.7 0 0 0 .583-1.278 7.36 7.36 0 0 1-.08 5.6 7.6 7.6 0 0 1-1.6 2.362 7.5 7.5 0 0 1-2.347 1.585 7.2 7.2 0 0 1-2.865.579Z"></path><circle cx=".968" cy=".968" r=".968" transform="translate(6.439 9.761)"></circle><ellipse cx="2.166" cy="2.169" rx="2.166" ry="2.169" transform="translate(9.279 5.261)"></ellipse><ellipse cx="2.909" cy="2.913" rx="2.909" ry="2.913" transform="translate(14.115)"></ellipse></g>',1)]))}const qm={render:pm},mm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.239 19.465"};function Vm(e,t){return de(),be("svg",mm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd",stroke:"currentColor","stroke-width":".5"},[qe("path",{d:"M2.95 5.257a2.34 2.34 0 0 1-1.258-.317 2.5 2.5 0 0 1-.806-.76L.73 3.894a2.4 2.4 0 0 1-.006-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .44-.413 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.099 1.92 2.35 2.35 0 0 1-.31 1.269 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.39.337 2.35 2.35 0 0 1-1.308.431ZM.25 2.77A2.5 2.5 0 0 0 .5 4.004c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.065-1.158 2.65 2.65 0 0 0-.367-2.822L4.668.94c-.041-.029-.05-.046-.085-.073A2.64 2.64 0 0 0 2.97.25 2.5 2.5 0 0 0 1.761.5 2.58 2.58 0 0 0 .5 1.761a2.5 2.5 0 0 0-.25 1.012ZM10.153 5.257a2.34 2.34 0 0 1-1.254-.317 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337A2.4 2.4 0 0 1 8.71.94a2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.102.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM7.457 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.067-1.158 2.65 2.65 0 0 0-.369-2.822L11.877.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 10.177.25 2.5 2.5 0 0 0 8.968.5a2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 5.257a2.34 2.34 0 0 1-1.256-.317 2.5 2.5 0 0 1-.8-.76l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .435-.414 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM14.663 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.36-2.823L19.081.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 17.383.25a2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM.25 9.601a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 8.592a2.5 2.5 0 0 0-.25 1.012ZM10.153 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 12.088a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.334 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 15.423a2.5 2.5 0 0 0-.25 1.012ZM10.153 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 18.919a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012Z"})],-1)]))}const bm={render:Vm},Cm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20.239 19.465"};function vm(e,t){return de(),be("svg",Cm,t[0]||(t[0]=[qe("g",{fill:"currentColor","fill-rule":"evenodd",stroke:"currentColor","stroke-width":".5"},[qe("path",{d:"M2.95 5.257a2.34 2.34 0 0 1-1.258-.317 2.5 2.5 0 0 1-.806-.76L.73 3.894a2.4 2.4 0 0 1-.006-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .44-.413 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.099 1.92 2.35 2.35 0 0 1-.31 1.269 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.39.337 2.35 2.35 0 0 1-1.308.431ZM.25 2.77A2.5 2.5 0 0 0 .5 4.004c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.065-1.158 2.65 2.65 0 0 0-.367-2.822L4.668.94c-.041-.029-.05-.046-.085-.073A2.64 2.64 0 0 0 2.97.25 2.5 2.5 0 0 0 1.761.5 2.58 2.58 0 0 0 .5 1.761a2.5 2.5 0 0 0-.25 1.012ZM10.153 5.257a2.34 2.34 0 0 1-1.254-.317 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337A2.4 2.4 0 0 1 8.71.94a2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.102.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM7.457 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.067-1.158 2.65 2.65 0 0 0-.369-2.822L11.877.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 10.177.25 2.5 2.5 0 0 0 8.968.5a2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 5.257a2.34 2.34 0 0 1-1.256-.317 2.5 2.5 0 0 1-.8-.76l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .435-.414 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM14.663 2.77a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.36-2.823L19.081.94c-.041-.03-.049-.047-.085-.074A2.64 2.64 0 0 0 17.383.25a2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431ZM.25 9.601a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 8.592a2.5 2.5 0 0 0-.25 1.012ZM10.153 12.088a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 12.088a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM2.95 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.161-.286a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.334 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.606-.618 2.5 2.5 0 0 0-1.209.25A2.58 2.58 0 0 0 .5 15.423a2.5 2.5 0 0 0-.25 1.012ZM10.153 18.919a2.34 2.34 0 0 1-1.253-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.071-1.158 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.615-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012ZM17.359 18.919a2.34 2.34 0 0 1-1.256-.315 2.5 2.5 0 0 1-.806-.762l-.156-.285a2.4 2.4 0 0 1-.005-2.018 2 2 0 0 1 .1-.186 2 2 0 0 1 .239-.337 2.4 2.4 0 0 1 .444-.411 2 2 0 0 1 .173-.11c.066-.038.123-.066.192-.1a2.4 2.4 0 0 1 2.2.09l.093.055a2.39 2.39 0 0 1 1.094 1.92 2.35 2.35 0 0 1-.313 1.27 2.3 2.3 0 0 1-.244.346c-.027.033-.038.049-.066.08a2.7 2.7 0 0 1-.387.337 2.35 2.35 0 0 1-1.308.431Zm-2.7-2.487a2.5 2.5 0 0 0 .25 1.234c.036.071.063.134.1.2l.192.285a2.6 2.6 0 0 0 .965.776 2.64 2.64 0 0 0 2.246 0c.071-.036.134-.063.2-.1a2.6 2.6 0 0 0 1.058-1.157 2.65 2.65 0 0 0-.367-2.822l-.233-.244c-.041-.03-.049-.047-.085-.074a2.64 2.64 0 0 0-1.612-.617 2.5 2.5 0 0 0-1.209.25 2.58 2.58 0 0 0-1.261 1.261 2.5 2.5 0 0 0-.25 1.012Z"})],-1),qe("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":".5",d:"m0 0 19 19"},null,-1)]))}const ym={render:vm},Im={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"};function Sm(e,t){return de(),be("svg",Im,t[0]||(t[0]=[qe("g",{fill:"none",stroke:"currentColor","stroke-width":".5"},[qe("rect",{width:"30",height:"30",stroke:"none",rx:"15"}),qe("rect",{width:"29.5",height:"29.5",x:".25",y:".25",rx:"14.75"})],-1),qe("path",{fill:"currentColor","fill-rule":"evenodd",d:"M15.947 17.13c.36 0 2.115-.74 2.263-.7a12 12 0 0 1 .931.91l2.475 2.39-.783.846a3.27 3.27 0 0 1-2.073 1.227 2.78 2.78 0 0 1-2.411-.825l-7.466-7.465A3.04 3.04 0 0 1 7.8 11.144c0-1.713 1.611-2.517 2.056-3.194l3.32 3.427-.613 1.861c-.212.635-.106.55.825 1.459l1.248 1.249.931.931c.106.106.19.254.381.254ZM7 11.144a3.68 3.68 0 0 0 1.036 2.665c.338.4 3.49 3.49 3.892 3.892l3.512 3.511.338.338c.085.085.127.085.19.169a3.68 3.68 0 0 0 4.971-.148l1.311-1.311c.55-.55.465-.571-.085-1.121l-3.214-3.109c-.635-.635-.381-.55-1.734-.106a8 8 0 0 1-1.121.36l-2.772-2.75c.085-.338.254-.74.36-1.1.465-1.4.7-1.015-.592-2.306a3 3 0 0 1-.254-.229 4 4 0 0 0-.254-.3l-1.565-1.607c-1.333-1.332-.74-1.523-2.961.677a4 4 0 0 0-.4.465A3.6 3.6 0 0 0 7 11.144"},null,-1)]))}const wm={render:Sm},Em={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function km(e,t){return de(),be("svg",Em,t[0]||(t[0]=[qe("g",{fill:"none",stroke:"currentColor","stroke-width":".5"},[qe("rect",{width:"22",height:"22",stroke:"none",rx:"11"}),qe("rect",{width:"21.5",height:"21.5",x:".25",y:".25",rx:"10.75"})],-1),qe("path",{fill:"currentColor","fill-rule":"evenodd",d:"M9.467 11.058c-.191.191-.73 1.515-.832 1.573a9 9 0 0 1-.977.012l-2.58.046-.035-.864a2.45 2.45 0 0 1 .45-1.75 2.09 2.09 0 0 1 1.716-.842h7.92a2.28 2.28 0 0 1 1.835.679c.909.909.483 2.188.61 2.785l-3.586-.056-.665-1.316c-.224-.449-.236-.348-1.212-.336H9.798c-.112 0-.236-.033-.337.068Zm7.922-1.57a2.76 2.76 0 0 0-1.965-.864c-.391-.033-3.702 0-4.13 0H7.21c-.089 0-.115.026-.19.01a2.76 2.76 0 0 0-2.56 2.716v1.392c0 .584.056.55.64.55l3.355-.057c.673 0 .495.09.974-.867a6 6 0 0 1 .404-.786l2.933-.006c.135.225.258.527.392.775.494.987.169.909 1.538.909a2 2 0 0 1 .258-.01 3 3 0 0 0 .291.022l1.682.02c1.414 0 1.2.415 1.212-1.931a3 3 0 0 0-.034-.46 2.7 2.7 0 0 0-.717-1.413Z"},null,-1)]))}const Tm={render:km},Rm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function Mm(e,t){return de(),be("svg",Rm,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5"><rect width="22" height="22" stroke="none" rx="11"></rect><rect width="21.5" height="21.5" x=".25" y=".25" rx="10.75"></rect></g><g fill="currentColor" fill-rule="evenodd"><path d="M8.48 11.498V7.93a2.607 2.607 0 0 1 4.135-2.26 2.67 2.67 0 0 1 1.062 2.26v3.568a2.6 2.6 0 0 1-1.446 2.488 2.54 2.54 0 0 1-2.282.023 2.25 2.25 0 0 1-.768-.587 2.58 2.58 0 0 1-.701-1.924m-.678-3.635v3.705a3.35 3.35 0 0 0 .9 2.35 3 3 0 0 0 .407.362 3.22 3.22 0 0 0 3.413.318 3.34 3.34 0 0 0 1.833-3.03V7.863a3.35 3.35 0 0 0-.9-2.35 3.278 3.278 0 0 0-5.653 2.35"></path><path d="M10.717 16.245v1.2c0 .158.226.09.61.09.068 0 .09-.023.09-.09v-1.2a4.54 4.54 0 0 0 3.141-1.6 4.74 4.74 0 0 0 1.062-2.489c.045-.61.181-.5-.633-.5a3.86 3.86 0 0 1-1.13 2.734 3.82 3.82 0 0 1-2.847 1.178 3.8 3.8 0 0 1-1.582-.362 3.97 3.97 0 0 1-1.92-1.966 3.4 3.4 0 0 1-.312-1.356c0-.113-.023-.113-.023-.226-.859 0-.655-.068-.633.407a2 2 0 0 0 .068.52 4.66 4.66 0 0 0 2.369 3.163 4.6 4.6 0 0 0 1.74.5Z"></path></g>',2)]))}const xm={render:Mm},Om={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"};function Bm(e,t){return de(),be("svg",Om,t[0]||(t[0]=[cs('<g fill="none" stroke="currentColor" stroke-width=".5"><rect width="22" height="22" stroke="none" rx="11"></rect><rect width="21.5" height="21.5" x=".25" y=".25" rx="10.75"></rect></g><g fill="currentColor" fill-rule="evenodd"><path d="M8.48 11.498V7.93a2.607 2.607 0 0 1 4.135-2.26 2.67 2.67 0 0 1 1.062 2.26v3.568a2.6 2.6 0 0 1-1.446 2.488 2.54 2.54 0 0 1-2.282.023 2.25 2.25 0 0 1-.768-.587 2.58 2.58 0 0 1-.701-1.924m-.678-3.635v3.705a3.35 3.35 0 0 0 .9 2.35 3 3 0 0 0 .407.362 3.22 3.22 0 0 0 3.413.318 3.34 3.34 0 0 0 1.833-3.03V7.863a3.35 3.35 0 0 0-.9-2.35 3.278 3.278 0 0 0-5.653 2.35"></path><path d="M10.717 16.245v1.2c0 .158.226.09.61.09.068 0 .09-.023.09-.09v-1.2a4.54 4.54 0 0 0 3.141-1.6 4.74 4.74 0 0 0 1.062-2.489c.045-.61.181-.5-.633-.5a3.86 3.86 0 0 1-1.13 2.734 3.82 3.82 0 0 1-2.847 1.178 3.8 3.8 0 0 1-1.582-.362 3.97 3.97 0 0 1-1.92-1.966 3.4 3.4 0 0 1-.312-1.356c0-.113-.023-.113-.023-.226-.859 0-.655-.068-.633.407a2 2 0 0 0 .068.52 4.66 4.66 0 0 0 2.369 3.163 4.6 4.6 0 0 0 1.74.5Z"></path></g><path stroke="currentColor" stroke-linecap="round" stroke-width=".5" d="m0 0 22 22"></path>',3)]))}const Um={render:Bm},Dm={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"-6.4 -6.4 76.8 76.8"};function Lm(e,t){return de(),be("svg",Dm,t[0]||(t[0]=[qe("path",{fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2",d:"M55 44H19L9 32l10-12h36zm-28-5 14-14m-14 0 14 14"},null,-1)]))}const Fm={render:Lm},Qm={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14.701 14.472"};function Ym(e,t){return de(),be("svg",Qm,t[0]||(t[0]=[qe("path",{fill:"currentColor",d:"M5.491 14.471a5.4 5.4 0 0 1-2.135-.43A5.46 5.46 0 0 1 .43 11.116 5.4 5.4 0 0 1 0 8.959a5.4 5.4 0 0 1 .43-2.136A5.5 5.5 0 0 1 1.6 5.072a5.7 5.7 0 0 1 1.755-1.186 5.38 5.38 0 0 1 4.013-.1 2 2 0 0 0-.287.292 2.06 2.06 0 0 0-.446 1.574 3 3 0 0 0 .042.271 3.1 3.1 0 0 0-1.164-.221 3.2 3.2 0 0 0-1.276.26 3.3 3.3 0 0 0-1.039.7 3.2 3.2 0 0 0-.938 2.297 3.3 3.3 0 0 0 .249 1.277 3.14 3.14 0 0 0 1.728 1.728 3.3 3.3 0 0 0 1.276.249A3.18 3.18 0 0 0 8.5 10.236a3.3 3.3 0 0 0 .248-1.277A3.2 3.2 0 0 0 8.5 7.694q-.032-.075-.067-.148a2.4 2.4 0 0 0 .543 0 2.06 2.06 0 0 0 1.449-.763l.065-.084.055.121a5.45 5.45 0 0 1 0 4.293 5.7 5.7 0 0 1-1.186 1.751 5.5 5.5 0 0 1-1.74 1.175 5.3 5.3 0 0 1-2.124.43Zm-.7-5.628a.842.842 0 1 1 .309.587.84.84 0 0 1-.312-.587Zm5.788-6.56a2.02 2.02 0 0 1 1.838-2.27 2.02 2.02 0 0 1 2.27 1.842 2.02 2.02 0 0 1-1.842 2.27 2.02 2.02 0 0 1-2.27-1.842ZM7.261 5.762a1.318 1.318 0 1 1 2.621-.273 1.317 1.317 0 1 1-2.62.273Z"},null,-1)]))}const Gm={render:Ym};function Yr(e){"@babel/helpers - typeof";return Yr=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},Yr(e)}function Km(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var o=0;o<t.length;o++){var A=t[o];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jm(A.key),A)}}function Nm(e,t,o){return t&&Jm(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jm(e){var t=Wm(e,"string");return Yr(t)=="symbol"?t:t+""}function Wm(e,t){if(Yr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Yr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Hm=function(){function e(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};Km(this,e),this.element=t,this.listener=o}return Nm(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=_0(this.element);for(var o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])}();function Fo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return ys(e)}var ws={name:"TimesIcon",extends:Sn};function Zm(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}ws.render=Zm;var cf={name:"WindowMaximizeIcon",extends:Sn};function Pm(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}cf.render=Pm;var df={name:"WindowMinimizeIcon",extends:Sn};function zm(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}df.render=zm;var _m=Ge.extend({name:"focustrap-directive"}),Xm=Te.extend({style:_m});function Gr(e){"@babel/helpers - typeof";return Gr=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},Gr(e)}function Ac(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function ic(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ac(Object(o),!0).forEach(function(A){$m(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ac(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function $m(e,t,o){return(t=eV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function eV(e){var t=tV(e,"string");return Gr(t)=="symbol"?t:t+""}function tV(e,t){if(Gr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Gr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var nV=Xm.extend("focustrap",{mounted:function(t,o){var A=o.value||{},l=A.disabled;l||(this.createHiddenFocusableElements(t,o),this.bind(t,o),this.autoElementFocus(t,o)),t.setAttribute("data-pd-focustrap",!0),this.$el=t},updated:function(t,o){var A=o.value||{},l=A.disabled;l&&this.unbind(t)},unmounted:function(t){this.unbind(t)},methods:{getComputedSelector:function(t){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(t??"")},bind:function(t,o){var A=this,l=o.value||{},a=l.onFocusIn,n=l.onFocusOut;t.$_pfocustrap_mutationobserver=new MutationObserver(function(f){f.forEach(function(h){if(h.type==="childList"&&!t.contains(document.activeElement)){var s=function(c){var p=Nu(c)?Nu(c,A.getComputedSelector(t.$_pfocustrap_focusableselector))?c:Jn(t,A.getComputedSelector(t.$_pfocustrap_focusableselector)):Jn(c);return De(p)?p:c.nextSibling&&s(c.nextSibling)};yt(s(h.nextSibling))}})}),t.$_pfocustrap_mutationobserver.disconnect(),t.$_pfocustrap_mutationobserver.observe(t,{childList:!0}),t.$_pfocustrap_focusinlistener=function(f){return a&&a(f)},t.$_pfocustrap_focusoutlistener=function(f){return n&&n(f)},t.addEventListener("focusin",t.$_pfocustrap_focusinlistener),t.addEventListener("focusout",t.$_pfocustrap_focusoutlistener)},unbind:function(t){t.$_pfocustrap_mutationobserver&&t.$_pfocustrap_mutationobserver.disconnect(),t.$_pfocustrap_focusinlistener&&t.removeEventListener("focusin",t.$_pfocustrap_focusinlistener)&&(t.$_pfocustrap_focusinlistener=null),t.$_pfocustrap_focusoutlistener&&t.removeEventListener("focusout",t.$_pfocustrap_focusoutlistener)&&(t.$_pfocustrap_focusoutlistener=null)},autoFocus:function(t){this.autoElementFocus(this.$el,{value:ic(ic({},t),{},{autoFocus:!0})})},autoElementFocus:function(t,o){var A=o.value||{},l=A.autoFocusSelector,a=l===void 0?"":l,n=A.firstFocusableSelector,f=n===void 0?"":n,h=A.autoFocus,s=h===void 0?!1:h,d=Jn(t,"[autofocus]".concat(this.getComputedSelector(a)));s&&!d&&(d=Jn(t,this.getComputedSelector(f))),yt(d)},onFirstHiddenElementFocus:function(t){var o,A=t.currentTarget,l=t.relatedTarget,a=l===A.$_pfocustrap_lasthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(l))?Jn(A.parentElement,this.getComputedSelector(A.$_pfocustrap_focusableselector)):A.$_pfocustrap_lasthiddenfocusableelement;yt(a)},onLastHiddenElementFocus:function(t){var o,A=t.currentTarget,l=t.relatedTarget,a=l===A.$_pfocustrap_firsthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(l))?ef(A.parentElement,this.getComputedSelector(A.$_pfocustrap_focusableselector)):A.$_pfocustrap_firsthiddenfocusableelement;yt(a)},createHiddenFocusableElements:function(t,o){var A=this,l=o.value||{},a=l.tabIndex,n=a===void 0?0:a,f=l.firstFocusableSelector,h=f===void 0?"":f,s=l.lastFocusableSelector,d=s===void 0?"":s,c=function(T){return _d("span",{class:"p-hidden-accessible p-hidden-focusable",tabIndex:n,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:T==null?void 0:T.bind(A)})},p=c(this.onFirstHiddenElementFocus),q=c(this.onLastHiddenElementFocus);p.$_pfocustrap_lasthiddenfocusableelement=q,p.$_pfocustrap_focusableselector=h,p.setAttribute("data-pc-section","firstfocusableelement"),q.$_pfocustrap_firsthiddenfocusableelement=p,q.$_pfocustrap_focusableselector=d,q.setAttribute("data-pc-section","lastfocusableelement"),t.prepend(p),t.append(q)}}}),Es={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=vs()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function rV(e,t,o,A,l,a){return a.inline?Le(e.$slots,"default",{key:0}):l.mounted?(de(),Oe(dh,{key:1,to:o.appendTo},[Le(e.$slots,"default")],8,["to"])):xe("",!0)}Es.render=rV;var oV=function(t){var o=t.dt;return`
|
|
1065
1065
|
.p-dialog {
|
|
1066
1066
|
max-height: 90%;
|
|
1067
1067
|
transform: scale(1);
|
|
@@ -1214,8 +1214,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1214
1214
|
width: `).concat(this.breakpoints[A],` !important;
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
`);this.styleElement.innerHTML=o}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(t){t.target.closest("div").getAttribute("data-pc-section")!=="headeractions"&&this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text","true"),!this.isUnstyled&&zd(document.body,{"user-select":"none"}),this.$emit("dragstart",t))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var t=this;this.documentDragListener=function(o){if(t.dragging){var A=bs(t.container),l=tf(t.container),a=o.pageX-t.lastPageX,n=o.pageY-t.lastPageY,f=t.container.getBoundingClientRect(),h=f.left+a,s=f.top+n,d=Vs(),c=getComputedStyle(t.container),p=parseFloat(c.marginLeft),q=parseFloat(c.marginTop);t.container.style.position="fixed",t.keepInViewport?(h>=t.minX&&h+A<d.width&&(t.lastPageX=o.pageX,t.container.style.left=h-p+"px"),s>=t.minY&&s+l<d.height&&(t.lastPageY=o.pageY,t.container.style.top=s-q+"px")):(t.lastPageX=o.pageX,t.container.style.left=h-p+"px",t.lastPageY=o.pageY,t.container.style.top=s-q+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var t=this;this.documentDragEndListener=function(o){t.dragging&&(t.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!t.isUnstyled&&(document.body.style["user-select"]=""),t.$emit("dragend",o))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return this.header!=null||this.$attrs["aria-labelledby"]!==null?this.id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{ripple:Is,focustrap:nV},components:{Button:sA,Portal:Es,WindowMinimizeIcon:df,WindowMaximizeIcon:cf,TimesIcon:ws}};function Kr(e){"@babel/helpers - typeof";return Kr=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},Kr(e)}function sc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function lc(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?sc(Object(o),!0).forEach(function(A){aV(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function aV(e,t,o){return(t=uV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function uV(e){var t=cV(e,"string");return Kr(t)=="symbol"?t:t+""}function cV(e,t){if(Kr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Kr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var dV=["aria-labelledby","aria-modal"],fV=["id"];function gV(e,t,o,A,l,a){var n=
|
|
1218
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,f=!1;return{s:function(){o=o.call(e)},n:function(){var s=o.next();return n=s.done,s},e:function(s){f=!0,a=s},f:function(){try{n||o.return==null||o.return()}finally{if(f)throw a}}}}function hV(e,t){if(e){if(typeof e=="string")return uc(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?uc(e,t):void 0}}function uc(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}var pV={filter:function(t,o,A,l,a){var n=[];if(!t)return n;var f=ac(t),h;try{for(f.s();!(h=f.n()).done;){var s=h.value;if(typeof s=="string"){if(this.filters[l](s,A,a)){n.push(s);continue}}else{var d=ac(o),c;try{for(d.s();!(c=d.n()).done;){var p=c.value,q=en(s,p);if(this.filters[l](q,A,a)){n.push(s);break}}}catch(M){d.e(M)}finally{d.f()}}}}catch(M){f.e(M)}finally{f.f()}return n},filters:{startsWith:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.slice(0,l.length)===l},contains:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l)!==-1},notContains:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l)===-1},endsWith:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l,a.length-l.length)!==-1},equals:function(t,o,A){return o==null||o===""?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()===o.getTime():Tt(t.toString()).toLocaleLowerCase(A)==Tt(o.toString()).toLocaleLowerCase(A)},notEquals:function(t,o,A){return o==null||o===""?!1:t==null?!0:t.getTime&&o.getTime?t.getTime()!==o.getTime():Tt(t.toString()).toLocaleLowerCase(A)!=Tt(o.toString()).toLocaleLowerCase(A)},in:function(t,o){if(o==null||o.length===0)return!0;for(var A=0;A<o.length;A++)if(Gd(t,o[A]))return!0;return!1},between:function(t,o){return o==null||o[0]==null||o[1]==null?!0:t==null?!1:t.getTime?o[0].getTime()<=t.getTime()&&t.getTime()<=o[1].getTime():o[0]<=t&&t<=o[1]},lt:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()<o.getTime():t<o},lte:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()<=o.getTime():t<=o},gt:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()>o.getTime():t>o},gte:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()>=o.getTime():t>=o},dateIs:function(t,o){return o==null?!0:t==null?!1:t.toDateString()===o.toDateString()},dateIsNot:function(t,o){return o==null?!0:t==null?!1:t.toDateString()!==o.toDateString()},dateBefore:function(t,o){return o==null?!0:t==null?!1:t.getTime()<o.getTime()},dateAfter:function(t,o){return o==null?!0:t==null?!1:t.getTime()>o.getTime()}},register:function(t,o){this.filters[t]=o}},gf={name:"BlankIcon",extends:Sn};function qV(e,t,o,A,l,a){return de(),
|
|
1217
|
+
`);this.styleElement.innerHTML=o}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(t){t.target.closest("div").getAttribute("data-pc-section")!=="headeractions"&&this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text","true"),!this.isUnstyled&&zd(document.body,{"user-select":"none"}),this.$emit("dragstart",t))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var t=this;this.documentDragListener=function(o){if(t.dragging){var A=bs(t.container),l=tf(t.container),a=o.pageX-t.lastPageX,n=o.pageY-t.lastPageY,f=t.container.getBoundingClientRect(),h=f.left+a,s=f.top+n,d=Vs(),c=getComputedStyle(t.container),p=parseFloat(c.marginLeft),q=parseFloat(c.marginTop);t.container.style.position="fixed",t.keepInViewport?(h>=t.minX&&h+A<d.width&&(t.lastPageX=o.pageX,t.container.style.left=h-p+"px"),s>=t.minY&&s+l<d.height&&(t.lastPageY=o.pageY,t.container.style.top=s-q+"px")):(t.lastPageX=o.pageX,t.container.style.left=h-p+"px",t.lastPageY=o.pageY,t.container.style.top=s-q+"px")}},window.document.addEventListener("mousemove",this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)},bindDocumentDragEndListener:function(){var t=this;this.documentDragEndListener=function(o){t.dragging&&(t.dragging=!1,document.body.removeAttribute("data-p-unselectable-text"),!t.isUnstyled&&(document.body.style["user-select"]=""),t.$emit("dragend",o))},window.document.addEventListener("mouseup",this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?"span":"WindowMinimizeIcon":this.maximizeIcon?"span":"WindowMaximizeIcon"},ariaLabelledById:function(){return this.header!=null||this.$attrs["aria-labelledby"]!==null?this.id+"_header":null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{ripple:Is,focustrap:nV},components:{Button:sA,Portal:Es,WindowMinimizeIcon:df,WindowMaximizeIcon:cf,TimesIcon:ws}};function Kr(e){"@babel/helpers - typeof";return Kr=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},Kr(e)}function sc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function lc(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?sc(Object(o),!0).forEach(function(A){aV(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function aV(e,t,o){return(t=uV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function uV(e){var t=cV(e,"string");return Kr(t)=="symbol"?t:t+""}function cV(e,t){if(Kr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Kr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var dV=["aria-labelledby","aria-modal"],fV=["id"];function gV(e,t,o,A,l,a){var n=Ye("Button"),f=Ye("Portal"),h=is("focustrap");return de(),Oe(f,{appendTo:e.appendTo},{default:Pe(function(){return[l.containerVisible?(de(),be("div",me({key:0,ref:a.maskRef,class:e.cx("mask"),style:e.sx("mask",!0,{position:e.position,modal:e.modal}),onMousedown:t[1]||(t[1]=function(){return a.onMaskMouseDown&&a.onMaskMouseDown.apply(a,arguments)}),onMouseup:t[2]||(t[2]=function(){return a.onMaskMouseUp&&a.onMaskMouseUp.apply(a,arguments)})},e.ptm("mask")),[Re(Ud,me({name:"p-dialog",onEnter:a.onEnter,onAfterEnter:a.onAfterEnter,onBeforeLeave:a.onBeforeLeave,onLeave:a.onLeave,onAfterLeave:a.onAfterLeave,appear:""},e.ptm("transition")),{default:Pe(function(){return[e.visible?ns((de(),be("div",me({key:0,ref:a.containerRef,class:e.cx("root"),style:e.sx("root"),role:"dialog","aria-labelledby":a.ariaLabelledById,"aria-modal":e.modal},e.ptmi("root")),[e.$slots.container?Le(e.$slots,"container",{key:0,closeCallback:a.close,maximizeCallback:function(d){return a.maximize(d)}}):(de(),be(et,{key:1},[e.showHeader?(de(),be("div",me({key:0,ref:a.headerContainerRef,class:e.cx("header"),onMousedown:t[0]||(t[0]=function(){return a.initDrag&&a.initDrag.apply(a,arguments)})},e.ptm("header")),[Le(e.$slots,"header",{class:ht(e.cx("title"))},function(){return[e.header?(de(),be("span",me({key:0,id:a.ariaLabelledById,class:e.cx("title")},e.ptm("title")),$e(e.header),17,fV)):xe("",!0)]}),qe("div",me({class:e.cx("headerActions")},e.ptm("headerActions")),[e.maximizable?(de(),Oe(n,me({key:0,ref:a.maximizableRef,autofocus:l.focusableMax,class:e.cx("pcMaximizeButton"),onClick:a.maximize,tabindex:e.maximizable?"0":"-1",unstyled:e.unstyled},e.maximizeButtonProps,{pt:e.ptm("pcMaximizeButton"),"data-pc-group-section":"headericon"}),{icon:Pe(function(s){return[Le(e.$slots,"maximizeicon",{maximized:l.maximized},function(){return[(de(),Oe(kr(a.maximizeIconComponent),me({class:[s.class,l.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm("pcMaximizeButton").icon),null,16,["class"]))]})]}),_:3},16,["autofocus","class","onClick","tabindex","unstyled","pt"])):xe("",!0),e.closable?(de(),Oe(n,me({key:1,ref:a.closeButtonRef,autofocus:l.focusableClose,class:e.cx("pcCloseButton"),onClick:a.close,"aria-label":a.closeAriaLabel,unstyled:e.unstyled},e.closeButtonProps,{pt:e.ptm("pcCloseButton"),"data-pc-group-section":"headericon"}),{icon:Pe(function(s){return[Le(e.$slots,"closeicon",{},function(){return[(de(),Oe(kr(e.closeIcon?"span":"TimesIcon"),me({class:[e.closeIcon,s.class]},e.ptm("pcCloseButton").icon),null,16,["class"]))]})]}),_:3},16,["autofocus","class","onClick","aria-label","unstyled","pt"])):xe("",!0)],16)],16)):xe("",!0),qe("div",me({ref:a.contentRef,class:[e.cx("content"),e.contentClass],style:e.contentStyle},lc(lc({},e.contentProps),e.ptm("content"))),[Le(e.$slots,"default")],16),e.footer||e.$slots.footer?(de(),be("div",me({key:1,ref:a.footerContainerRef,class:e.cx("footer")},e.ptm("footer")),[Le(e.$slots,"footer",{},function(){return[Xn($e(e.footer),1)]})],16)):xe("",!0)],64))],16,dV)),[[h,{disabled:!e.modal}]]):xe("",!0)]}),_:3},16,["onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"])],16)):xe("",!0)]}),_:3},8,["appendTo"])}ff.render=gV;var dt={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function ac(e,t){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=hV(e))||t){o&&(e=o);var A=0,l=function(){};return{s:l,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(s){throw s},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1218
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,f=!1;return{s:function(){o=o.call(e)},n:function(){var s=o.next();return n=s.done,s},e:function(s){f=!0,a=s},f:function(){try{n||o.return==null||o.return()}finally{if(f)throw a}}}}function hV(e,t){if(e){if(typeof e=="string")return uc(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?uc(e,t):void 0}}function uc(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}var pV={filter:function(t,o,A,l,a){var n=[];if(!t)return n;var f=ac(t),h;try{for(f.s();!(h=f.n()).done;){var s=h.value;if(typeof s=="string"){if(this.filters[l](s,A,a)){n.push(s);continue}}else{var d=ac(o),c;try{for(d.s();!(c=d.n()).done;){var p=c.value,q=en(s,p);if(this.filters[l](q,A,a)){n.push(s);break}}}catch(M){d.e(M)}finally{d.f()}}}}catch(M){f.e(M)}finally{f.f()}return n},filters:{startsWith:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.slice(0,l.length)===l},contains:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l)!==-1},notContains:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l)===-1},endsWith:function(t,o,A){if(o==null||o==="")return!0;if(t==null)return!1;var l=Tt(o.toString()).toLocaleLowerCase(A),a=Tt(t.toString()).toLocaleLowerCase(A);return a.indexOf(l,a.length-l.length)!==-1},equals:function(t,o,A){return o==null||o===""?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()===o.getTime():Tt(t.toString()).toLocaleLowerCase(A)==Tt(o.toString()).toLocaleLowerCase(A)},notEquals:function(t,o,A){return o==null||o===""?!1:t==null?!0:t.getTime&&o.getTime?t.getTime()!==o.getTime():Tt(t.toString()).toLocaleLowerCase(A)!=Tt(o.toString()).toLocaleLowerCase(A)},in:function(t,o){if(o==null||o.length===0)return!0;for(var A=0;A<o.length;A++)if(Gd(t,o[A]))return!0;return!1},between:function(t,o){return o==null||o[0]==null||o[1]==null?!0:t==null?!1:t.getTime?o[0].getTime()<=t.getTime()&&t.getTime()<=o[1].getTime():o[0]<=t&&t<=o[1]},lt:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()<o.getTime():t<o},lte:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()<=o.getTime():t<=o},gt:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()>o.getTime():t>o},gte:function(t,o){return o==null?!0:t==null?!1:t.getTime&&o.getTime?t.getTime()>=o.getTime():t>=o},dateIs:function(t,o){return o==null?!0:t==null?!1:t.toDateString()===o.toDateString()},dateIsNot:function(t,o){return o==null?!0:t==null?!1:t.toDateString()!==o.toDateString()},dateBefore:function(t,o){return o==null?!0:t==null?!1:t.getTime()<o.getTime()},dateAfter:function(t,o){return o==null?!0:t==null?!1:t.getTime()>o.getTime()}},register:function(t,o){this.filters[t]=o}},gf={name:"BlankIcon",extends:Sn};function qV(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}gf.render=qV;var hf={name:"CheckIcon",extends:Sn};function mV(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}hf.render=mV;var pf={name:"ChevronDownIcon",extends:Sn};function VV(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{d:"M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",fill:"currentColor"},null,-1)]),16)}pf.render=VV;var qf={name:"SearchIcon",extends:Sn};function bV(e,t,o,A,l,a){return de(),be("svg",me({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[qe("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1)]),16)}qf.render=bV;var CV=function(t){var o=t.dt;return`
|
|
1219
1219
|
.p-iconfield {
|
|
1220
1220
|
position: relative;
|
|
1221
1221
|
}
|
|
@@ -1257,7 +1257,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1257
1257
|
height: `).concat(o("form.field.lg.font.size"),`;
|
|
1258
1258
|
margin-top: calc(-1 * (`).concat(o("form.field.lg.font.size"),` / 2));
|
|
1259
1259
|
}
|
|
1260
|
-
`)},vV={root:"p-iconfield"},yV=Ge.extend({name:"iconfield",theme:CV,classes:vV}),IV={name:"BaseIconField",extends:In,style:yV,provide:function(){return{$pcIconField:this,$parentInstance:this}}},mf={name:"IconField",extends:IV,inheritAttrs:!1};function SV(e,t,o,A,l,a){return de(),
|
|
1260
|
+
`)},vV={root:"p-iconfield"},yV=Ge.extend({name:"iconfield",theme:CV,classes:vV}),IV={name:"BaseIconField",extends:In,style:yV,provide:function(){return{$pcIconField:this,$parentInstance:this}}},mf={name:"IconField",extends:IV,inheritAttrs:!1};function SV(e,t,o,A,l,a){return de(),be("div",me({class:e.cx("root")},e.ptmi("root")),[Le(e.$slots,"default")],16)}mf.render=SV;var wV={root:"p-inputicon"},EV=Ge.extend({name:"inputicon",classes:wV}),kV={name:"BaseInputIcon",extends:In,style:EV,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},Vf={name:"InputIcon",extends:kV,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function TV(e,t,o,A,l,a){return de(),be("span",me({class:a.containerClass},e.ptmi("root")),[Le(e.$slots,"default")],16)}Vf.render=TV;var RV=qs(),MV=function(t){var o=t.dt;return`
|
|
1261
1261
|
.p-virtualscroller-loader {
|
|
1262
1262
|
background: `.concat(o("virtualscroller.loader.mask.background"),`;
|
|
1263
1263
|
color: `).concat(o("virtualscroller.loader.mask.color"),`;
|
|
@@ -1318,7 +1318,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1318
1318
|
.p-virtualscroller-inline .p-virtualscroller-content {
|
|
1319
1319
|
position: static;
|
|
1320
1320
|
}
|
|
1321
|
-
`,cc=Ge.extend({name:"virtualscroller",css:xV,theme:MV}),OV={name:"BaseVirtualScroller",extends:In,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:cc,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var t;cc.loadCSS({nonce:(t=this.$primevueConfig)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce})}};function Jr(e){"@babel/helpers - typeof";return Jr=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},Jr(e)}function dc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function dr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?dc(Object(o),!0).forEach(function(A){bf(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function bf(e,t,o){return(t=BV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function BV(e){var t=UV(e,"string");return Jr(t)=="symbol"?t:t+""}function UV(e,t){if(Jr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Jr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Cf={name:"VirtualScroller",extends:OV,inheritAttrs:!1,emits:["update:numToleratedItems","scroll","scroll-index-change","lazy-load"],data:function(){var t=this.isBoth();return{first:t?{rows:0,cols:0}:0,last:t?{rows:0,cols:0}:0,page:t?{rows:0,cols:0}:0,numItemsInViewport:t?{rows:0,cols:0}:0,lastScrollPos:t?{top:0,left:0}:0,d_numToleratedItems:this.numToleratedItems,d_loading:this.loading,loaderArr:[],spacerStyle:{},contentStyle:{}}},element:null,content:null,lastScrollPos:null,scrollTimeout:null,resizeTimeout:null,defaultWidth:0,defaultHeight:0,defaultContentWidth:0,defaultContentHeight:0,isRangeChanged:!1,lazyLoadState:{},resizeListener:null,initialized:!1,watch:{numToleratedItems:function(t){this.d_numToleratedItems=t},loading:function(t,o){this.lazy&&t!==o&&t!==this.d_loading&&(this.d_loading=t)},items:function(t,o){(!o||o.length!==(t||[]).length)&&(this.init(),this.calculateAutoSize())},itemSize:function(){this.init(),this.calculateAutoSize()},orientation:function(){this.lastScrollPos=this.isBoth()?{top:0,left:0}:0},scrollHeight:function(){this.init(),this.calculateAutoSize()},scrollWidth:function(){this.init(),this.calculateAutoSize()}},mounted:function(){this.viewInit(),this.lastScrollPos=this.isBoth()?{top:0,left:0}:0,this.lazyLoadState=this.lazyLoadState||{}},updated:function(){!this.initialized&&this.viewInit()},unmounted:function(){this.unbindResizeListener(),this.initialized=!1},methods:{viewInit:function(){Lo(this.element)&&(this.setContentEl(this.content),this.init(),this.calculateAutoSize(),this.bindResizeListener(),this.defaultWidth=Un(this.element),this.defaultHeight=Bn(this.element),this.defaultContentWidth=Un(this.content),this.defaultContentHeight=Bn(this.content),this.initialized=!0)},init:function(){this.disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize())},isVertical:function(){return this.orientation==="vertical"},isHorizontal:function(){return this.orientation==="horizontal"},isBoth:function(){return this.orientation==="both"},scrollTo:function(t){this.element&&this.element.scrollTo(t)},scrollToIndex:function(t){var o=this,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",l=this.isBoth(),a=this.isHorizontal(),n=l?t.every(function(L){return L>-1}):t>-1;if(n){var f=this.first,h=this.element,s=h.scrollTop,d=s===void 0?0:s,c=h.scrollLeft,p=c===void 0?0:c,q=this.calculateNumItems(),M=q.numToleratedItems,T=this.getContentPosition(),R=this.itemSize,I=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,D=arguments.length>1?arguments[1]:void 0;return k<=D?0:k},x=function(k,D,N){return k*D+N},E=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.scrollTo({left:k,top:D,behavior:A})},C=l?{rows:0,cols:0}:0,v=!1,O=!1;l?(C={rows:I(t[0],M[0]),cols:I(t[1],M[1])},E(x(C.cols,R[1],T.left),x(C.rows,R[0],T.top)),O=this.lastScrollPos.top!==d||this.lastScrollPos.left!==p,v=C.rows!==f.rows||C.cols!==f.cols):(C=I(t,M),a?E(x(C,R,T.left),d):E(p,x(C,R,T.top)),O=this.lastScrollPos!==(a?p:d),v=C!==f),this.isRangeChanged=v,O&&(this.first=C)}},scrollInView:function(t,o){var A=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(o){var a=this.isBoth(),n=this.isHorizontal(),f=a?t.every(function(R){return R>-1}):t>-1;if(f){var h=this.getRenderedRange(),s=h.first,d=h.viewport,c=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return A.scrollTo({left:I,top:x,behavior:l})},p=o==="to-start",q=o==="to-end";if(p){if(a)d.first.rows-s.rows>t[0]?c(d.first.cols*this.itemSize[1],(d.first.rows-1)*this.itemSize[0]):d.first.cols-s.cols>t[1]&&c((d.first.cols-1)*this.itemSize[1],d.first.rows*this.itemSize[0]);else if(d.first-s>t){var M=(d.first-1)*this.itemSize;n?c(M,0):c(0,M)}}else if(q){if(a)d.last.rows-s.rows<=t[0]+1?c(d.first.cols*this.itemSize[1],(d.first.rows+1)*this.itemSize[0]):d.last.cols-s.cols<=t[1]+1&&c((d.first.cols+1)*this.itemSize[1],d.first.rows*this.itemSize[0]);else if(d.last-s<=t+1){var T=(d.first+1)*this.itemSize;n?c(T,0):c(0,T)}}}}else this.scrollToIndex(t,l)},getRenderedRange:function(){var t=function(c,p){return Math.floor(c/(p||c))},o=this.first,A=0;if(this.element){var l=this.isBoth(),a=this.isHorizontal(),n=this.element,f=n.scrollTop,h=n.scrollLeft;if(l)o={rows:t(f,this.itemSize[0]),cols:t(h,this.itemSize[1])},A={rows:o.rows+this.numItemsInViewport.rows,cols:o.cols+this.numItemsInViewport.cols};else{var s=a?h:f;o=t(s,this.itemSize),A=o+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:o,last:A}}},calculateNumItems:function(){var t=this.isBoth(),o=this.isHorizontal(),A=this.itemSize,l=this.getContentPosition(),a=this.element?this.element.offsetWidth-l.left:0,n=this.element?this.element.offsetHeight-l.top:0,f=function(p,q){return Math.ceil(p/(q||p))},h=function(p){return Math.ceil(p/2)},s=t?{rows:f(n,A[0]),cols:f(a,A[1])}:f(o?a:n,A),d=this.d_numToleratedItems||(t?[h(s.rows),h(s.cols)]:h(s));return{numItemsInViewport:s,numToleratedItems:d}},calculateOptions:function(){var t=this,o=this.isBoth(),A=this.first,l=this.calculateNumItems(),a=l.numItemsInViewport,n=l.numToleratedItems,f=function(d,c,p){var q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.getLast(d+c+(d<p?2:3)*p,q)},h=o?{rows:f(A.rows,a.rows,n[0]),cols:f(A.cols,a.cols,n[1],!0)}:f(A,a,n);this.last=h,this.numItemsInViewport=a,this.d_numToleratedItems=n,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.showLoader&&(this.loaderArr=o?Array.from({length:a.rows}).map(function(){return Array.from({length:a.cols})}):Array.from({length:a})),this.lazy&&Promise.resolve().then(function(){var s;t.lazyLoadState={first:t.step?o?{rows:0,cols:A.cols}:0:A,last:Math.min(t.step?t.step:h,((s=t.items)===null||s===void 0?void 0:s.length)||0)},t.$emit("lazy-load",t.lazyLoadState)})},calculateAutoSize:function(){var t=this;this.autoSize&&!this.d_loading&&Promise.resolve().then(function(){if(t.content){var o=t.isBoth(),A=t.isHorizontal(),l=t.isVertical();t.content.style.minHeight=t.content.style.minWidth="auto",t.content.style.position="relative",t.element.style.contain="none";var a=[Un(t.element),Bn(t.element)],n=a[0],f=a[1];(o||A)&&(t.element.style.width=n<t.defaultWidth?n+"px":t.scrollWidth||t.defaultWidth+"px"),(o||l)&&(t.element.style.height=f<t.defaultHeight?f+"px":t.scrollHeight||t.defaultHeight+"px"),t.content.style.minHeight=t.content.style.minWidth="",t.content.style.position="",t.element.style.contain=""}})},getLast:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(l?((t=this.columns||this.items[0])===null||t===void 0?void 0:t.length)||0:((o=this.items)===null||o===void 0?void 0:o.length)||0,A):0},getContentPosition:function(){if(this.content){var t=getComputedStyle(this.content),o=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),A=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),l=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),a=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:o,right:A,top:l,bottom:a,x:o+A,y:l+a}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var t=this;if(this.element){var o=this.isBoth(),A=this.isHorizontal(),l=this.element.parentElement,a=this.scrollWidth||"".concat(this.element.offsetWidth||l.offsetWidth,"px"),n=this.scrollHeight||"".concat(this.element.offsetHeight||l.offsetHeight,"px"),f=function(s,d){return t.element.style[s]=d};o||A?(f("height",n),f("width",a)):f("height",n)}},setSpacerSize:function(){var t=this,o=this.items;if(o){var A=this.isBoth(),l=this.isHorizontal(),a=this.getContentPosition(),n=function(h,s,d){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return t.spacerStyle=dr(dr({},t.spacerStyle),bf({},"".concat(h),(s||[]).length*d+c+"px"))};A?(n("height",o,this.itemSize[0],a.y),n("width",this.columns||o[1],this.itemSize[1],a.x)):l?n("width",this.columns||o,this.itemSize,a.x):n("height",o,this.itemSize,a.y)}},setContentPosition:function(t){var o=this;if(this.content&&!this.appendOnly){var A=this.isBoth(),l=this.isHorizontal(),a=t?t.first:this.first,n=function(d,c){return d*c},f=function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.contentStyle=dr(dr({},o.contentStyle),{transform:"translate3d(".concat(d,"px, ").concat(c,"px, 0)")})};if(A)f(n(a.cols,this.itemSize[1]),n(a.rows,this.itemSize[0]));else{var h=n(a,this.itemSize);l?f(h,0):f(0,h)}}},onScrollPositionChange:function(t){var o=this,A=t.target,l=this.isBoth(),a=this.isHorizontal(),n=this.getContentPosition(),f=function(W,B){return W?W>B?W-B:W:0},h=function(W,B){return Math.floor(W/(B||W))},s=function(W,B,H,y,S,Q){return W<=S?S:Q?H-y-S:B+S-1},d=function(W,B,H,y,S,Q,U){return W<=Q?0:Math.max(0,U?W<B?H:W-Q:W>B?H:W-2*Q)},c=function(W,B,H,y,S,Q){var U=B+y+2*S;return W>=S&&(U+=S+1),o.getLast(U,Q)},p=f(A.scrollTop,n.top),q=f(A.scrollLeft,n.left),M=l?{rows:0,cols:0}:0,T=this.last,R=!1,I=this.lastScrollPos;if(l){var x=this.lastScrollPos.top<=p,E=this.lastScrollPos.left<=q;if(!this.appendOnly||this.appendOnly&&(x||E)){var C={rows:h(p,this.itemSize[0]),cols:h(q,this.itemSize[1])},v={rows:s(C.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:s(C.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],E)};M={rows:d(C.rows,v.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:d(C.cols,v.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],E)},T={rows:c(C.rows,M.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(C.cols,M.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},R=M.rows!==this.first.rows||T.rows!==this.last.rows||M.cols!==this.first.cols||T.cols!==this.last.cols||this.isRangeChanged,I={top:p,left:q}}}else{var O=a?q:p,L=this.lastScrollPos<=O;if(!this.appendOnly||this.appendOnly&&L){var k=h(O,this.itemSize),D=s(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,L);M=d(k,D,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,L),T=c(k,M,this.last,this.numItemsInViewport,this.d_numToleratedItems),R=M!==this.first||T!==this.last||this.isRangeChanged,I=O}}return{first:M,last:T,isRangeChanged:R,scrollPos:I}},onScrollChange:function(t){var o=this.onScrollPositionChange(t),A=o.first,l=o.last,a=o.isRangeChanged,n=o.scrollPos;if(a){var f={first:A,last:l};if(this.setContentPosition(f),this.first=A,this.last=l,this.lastScrollPos=n,this.$emit("scroll-index-change",f),this.lazy&&this.isPageChanged(A)){var h,s,d={first:this.step?Math.min(this.getPageByFirst(A)*this.step,(((h=this.items)===null||h===void 0?void 0:h.length)||0)-this.step):A,last:Math.min(this.step?(this.getPageByFirst(A)+1)*this.step:l,((s=this.items)===null||s===void 0?void 0:s.length)||0)},c=this.lazyLoadState.first!==d.first||this.lazyLoadState.last!==d.last;c&&this.$emit("lazy-load",d),this.lazyLoadState=d}}},onScroll:function(t){var o=this;if(this.$emit("scroll",t),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var A=this.onScrollPositionChange(t),l=A.isRangeChanged,a=l||(this.step?this.isPageChanged():!1);a&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){o.onScrollChange(t),o.d_loading&&o.showLoader&&(!o.lazy||o.loading===void 0)&&(o.d_loading=!1,o.page=o.getPageByFirst())},this.delay)}}else this.onScrollChange(t)},onResize:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(Lo(t.element)){var o=t.isBoth(),A=t.isVertical(),l=t.isHorizontal(),a=[Un(t.element),Bn(t.element)],n=a[0],f=a[1],h=n!==t.defaultWidth,s=f!==t.defaultHeight,d=o?h||s:l?h:A?s:!1;d&&(t.d_numToleratedItems=t.numToleratedItems,t.defaultWidth=n,t.defaultHeight=f,t.defaultContentWidth=Un(t.content),t.defaultContentHeight=Bn(t.content),t.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(t){var o=(this.items||[]).length,A=this.isBoth()?this.first.rows+t:this.first+t;return{index:A,count:o,first:A===0,last:A===o-1,even:A%2===0,odd:A%2!==0}},getLoaderOptions:function(t,o){var A=this.loaderArr.length;return dr({index:t,count:A,first:t===0,last:t===A-1,even:t%2===0,odd:t%2!==0},o)},getPageByFirst:function(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(t){return this.step&&!this.lazy?this.page!==this.getPageByFirst(t??this.first):!0},setContentEl:function(t){this.content=t||this.content||AA(this.element,'[data-pc-section="content"]')},elementRef:function(t){this.element=t},contentRef:function(t){this.content=t}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var t=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(o){return t.columns?o:o.slice(t.appendOnly?0:t.first.cols,t.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var t=this.isBoth(),o=this.isHorizontal();if(t||o)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:iA}},DV=["tabindex"];function LV(e,t,o,A,l,a){var n=Qe("SpinnerIcon");return e.disabled?(de(),Ve(et,{key:1},[Ye(e.$slots,"default"),Ye(e.$slots,"content",{items:e.items,rows:e.items,columns:a.loadedColumns})],64)):(de(),Ve("div",me({key:0,ref:a.elementRef,class:a.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||(t[0]=function(){return a.onScroll&&a.onScroll.apply(a,arguments)})},e.ptmi("root")),[Ye(e.$slots,"content",{styleClass:a.contentClass,items:a.loadedItems,getItemOptions:a.getOptions,loading:l.d_loading,getLoaderOptions:a.getLoaderOptions,itemSize:e.itemSize,rows:a.loadedRows,columns:a.loadedColumns,contentRef:a.contentRef,spacerStyle:l.spacerStyle,contentStyle:l.contentStyle,vertical:a.isVertical(),horizontal:a.isHorizontal(),both:a.isBoth()},function(){return[qe("div",me({ref:a.contentRef,class:a.contentClass,style:l.contentStyle},e.ptm("content")),[(de(!0),Ve(et,null,xo(a.loadedItems,function(f,h){return Ye(e.$slots,"item",{key:h,item:f,options:a.getOptions(h)})}),128))],16)]}),e.showSpacer?(de(),Ve("div",me({key:0,class:"p-virtualscroller-spacer",style:l.spacerStyle},e.ptm("spacer")),null,16)):Me("",!0),!e.loaderDisabled&&e.showLoader&&l.d_loading?(de(),Ve("div",me({key:1,class:a.loaderClass},e.ptm("loader")),[e.$slots&&e.$slots.loader?(de(!0),Ve(et,{key:0},xo(l.loaderArr,function(f,h){return Ye(e.$slots,"loader",{key:h,options:a.getLoaderOptions(h,a.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):Me("",!0),Ye(e.$slots,"loadingicon",{},function(){return[Te(n,me({spin:"",class:"p-virtualscroller-loading-icon"},e.ptm("loadingIcon")),null,16)]})],16)):Me("",!0)],16,DV))}Cf.render=LV;var FV=function(t){var o=t.dt;return`
|
|
1321
|
+
`,cc=Ge.extend({name:"virtualscroller",css:xV,theme:MV}),OV={name:"BaseVirtualScroller",extends:In,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:cc,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var t;cc.loadCSS({nonce:(t=this.$primevueConfig)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce})}};function Jr(e){"@babel/helpers - typeof";return Jr=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},Jr(e)}function dc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function dr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?dc(Object(o),!0).forEach(function(A){bf(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function bf(e,t,o){return(t=BV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function BV(e){var t=UV(e,"string");return Jr(t)=="symbol"?t:t+""}function UV(e,t){if(Jr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Jr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Cf={name:"VirtualScroller",extends:OV,inheritAttrs:!1,emits:["update:numToleratedItems","scroll","scroll-index-change","lazy-load"],data:function(){var t=this.isBoth();return{first:t?{rows:0,cols:0}:0,last:t?{rows:0,cols:0}:0,page:t?{rows:0,cols:0}:0,numItemsInViewport:t?{rows:0,cols:0}:0,lastScrollPos:t?{top:0,left:0}:0,d_numToleratedItems:this.numToleratedItems,d_loading:this.loading,loaderArr:[],spacerStyle:{},contentStyle:{}}},element:null,content:null,lastScrollPos:null,scrollTimeout:null,resizeTimeout:null,defaultWidth:0,defaultHeight:0,defaultContentWidth:0,defaultContentHeight:0,isRangeChanged:!1,lazyLoadState:{},resizeListener:null,initialized:!1,watch:{numToleratedItems:function(t){this.d_numToleratedItems=t},loading:function(t,o){this.lazy&&t!==o&&t!==this.d_loading&&(this.d_loading=t)},items:function(t,o){(!o||o.length!==(t||[]).length)&&(this.init(),this.calculateAutoSize())},itemSize:function(){this.init(),this.calculateAutoSize()},orientation:function(){this.lastScrollPos=this.isBoth()?{top:0,left:0}:0},scrollHeight:function(){this.init(),this.calculateAutoSize()},scrollWidth:function(){this.init(),this.calculateAutoSize()}},mounted:function(){this.viewInit(),this.lastScrollPos=this.isBoth()?{top:0,left:0}:0,this.lazyLoadState=this.lazyLoadState||{}},updated:function(){!this.initialized&&this.viewInit()},unmounted:function(){this.unbindResizeListener(),this.initialized=!1},methods:{viewInit:function(){Lo(this.element)&&(this.setContentEl(this.content),this.init(),this.calculateAutoSize(),this.bindResizeListener(),this.defaultWidth=Un(this.element),this.defaultHeight=Bn(this.element),this.defaultContentWidth=Un(this.content),this.defaultContentHeight=Bn(this.content),this.initialized=!0)},init:function(){this.disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize())},isVertical:function(){return this.orientation==="vertical"},isHorizontal:function(){return this.orientation==="horizontal"},isBoth:function(){return this.orientation==="both"},scrollTo:function(t){this.element&&this.element.scrollTo(t)},scrollToIndex:function(t){var o=this,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",l=this.isBoth(),a=this.isHorizontal(),n=l?t.every(function(L){return L>-1}):t>-1;if(n){var f=this.first,h=this.element,s=h.scrollTop,d=s===void 0?0:s,c=h.scrollLeft,p=c===void 0?0:c,q=this.calculateNumItems(),M=q.numToleratedItems,T=this.getContentPosition(),R=this.itemSize,I=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,D=arguments.length>1?arguments[1]:void 0;return k<=D?0:k},x=function(k,D,N){return k*D+N},E=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.scrollTo({left:k,top:D,behavior:A})},C=l?{rows:0,cols:0}:0,v=!1,O=!1;l?(C={rows:I(t[0],M[0]),cols:I(t[1],M[1])},E(x(C.cols,R[1],T.left),x(C.rows,R[0],T.top)),O=this.lastScrollPos.top!==d||this.lastScrollPos.left!==p,v=C.rows!==f.rows||C.cols!==f.cols):(C=I(t,M),a?E(x(C,R,T.left),d):E(p,x(C,R,T.top)),O=this.lastScrollPos!==(a?p:d),v=C!==f),this.isRangeChanged=v,O&&(this.first=C)}},scrollInView:function(t,o){var A=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(o){var a=this.isBoth(),n=this.isHorizontal(),f=a?t.every(function(R){return R>-1}):t>-1;if(f){var h=this.getRenderedRange(),s=h.first,d=h.viewport,c=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return A.scrollTo({left:I,top:x,behavior:l})},p=o==="to-start",q=o==="to-end";if(p){if(a)d.first.rows-s.rows>t[0]?c(d.first.cols*this.itemSize[1],(d.first.rows-1)*this.itemSize[0]):d.first.cols-s.cols>t[1]&&c((d.first.cols-1)*this.itemSize[1],d.first.rows*this.itemSize[0]);else if(d.first-s>t){var M=(d.first-1)*this.itemSize;n?c(M,0):c(0,M)}}else if(q){if(a)d.last.rows-s.rows<=t[0]+1?c(d.first.cols*this.itemSize[1],(d.first.rows+1)*this.itemSize[0]):d.last.cols-s.cols<=t[1]+1&&c((d.first.cols+1)*this.itemSize[1],d.first.rows*this.itemSize[0]);else if(d.last-s<=t+1){var T=(d.first+1)*this.itemSize;n?c(T,0):c(0,T)}}}}else this.scrollToIndex(t,l)},getRenderedRange:function(){var t=function(c,p){return Math.floor(c/(p||c))},o=this.first,A=0;if(this.element){var l=this.isBoth(),a=this.isHorizontal(),n=this.element,f=n.scrollTop,h=n.scrollLeft;if(l)o={rows:t(f,this.itemSize[0]),cols:t(h,this.itemSize[1])},A={rows:o.rows+this.numItemsInViewport.rows,cols:o.cols+this.numItemsInViewport.cols};else{var s=a?h:f;o=t(s,this.itemSize),A=o+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:o,last:A}}},calculateNumItems:function(){var t=this.isBoth(),o=this.isHorizontal(),A=this.itemSize,l=this.getContentPosition(),a=this.element?this.element.offsetWidth-l.left:0,n=this.element?this.element.offsetHeight-l.top:0,f=function(p,q){return Math.ceil(p/(q||p))},h=function(p){return Math.ceil(p/2)},s=t?{rows:f(n,A[0]),cols:f(a,A[1])}:f(o?a:n,A),d=this.d_numToleratedItems||(t?[h(s.rows),h(s.cols)]:h(s));return{numItemsInViewport:s,numToleratedItems:d}},calculateOptions:function(){var t=this,o=this.isBoth(),A=this.first,l=this.calculateNumItems(),a=l.numItemsInViewport,n=l.numToleratedItems,f=function(d,c,p){var q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.getLast(d+c+(d<p?2:3)*p,q)},h=o?{rows:f(A.rows,a.rows,n[0]),cols:f(A.cols,a.cols,n[1],!0)}:f(A,a,n);this.last=h,this.numItemsInViewport=a,this.d_numToleratedItems=n,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.showLoader&&(this.loaderArr=o?Array.from({length:a.rows}).map(function(){return Array.from({length:a.cols})}):Array.from({length:a})),this.lazy&&Promise.resolve().then(function(){var s;t.lazyLoadState={first:t.step?o?{rows:0,cols:A.cols}:0:A,last:Math.min(t.step?t.step:h,((s=t.items)===null||s===void 0?void 0:s.length)||0)},t.$emit("lazy-load",t.lazyLoadState)})},calculateAutoSize:function(){var t=this;this.autoSize&&!this.d_loading&&Promise.resolve().then(function(){if(t.content){var o=t.isBoth(),A=t.isHorizontal(),l=t.isVertical();t.content.style.minHeight=t.content.style.minWidth="auto",t.content.style.position="relative",t.element.style.contain="none";var a=[Un(t.element),Bn(t.element)],n=a[0],f=a[1];(o||A)&&(t.element.style.width=n<t.defaultWidth?n+"px":t.scrollWidth||t.defaultWidth+"px"),(o||l)&&(t.element.style.height=f<t.defaultHeight?f+"px":t.scrollHeight||t.defaultHeight+"px"),t.content.style.minHeight=t.content.style.minWidth="",t.content.style.position="",t.element.style.contain=""}})},getLast:function(){var t,o,A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,l=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(l?((t=this.columns||this.items[0])===null||t===void 0?void 0:t.length)||0:((o=this.items)===null||o===void 0?void 0:o.length)||0,A):0},getContentPosition:function(){if(this.content){var t=getComputedStyle(this.content),o=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),A=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),l=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),a=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:o,right:A,top:l,bottom:a,x:o+A,y:l+a}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var t=this;if(this.element){var o=this.isBoth(),A=this.isHorizontal(),l=this.element.parentElement,a=this.scrollWidth||"".concat(this.element.offsetWidth||l.offsetWidth,"px"),n=this.scrollHeight||"".concat(this.element.offsetHeight||l.offsetHeight,"px"),f=function(s,d){return t.element.style[s]=d};o||A?(f("height",n),f("width",a)):f("height",n)}},setSpacerSize:function(){var t=this,o=this.items;if(o){var A=this.isBoth(),l=this.isHorizontal(),a=this.getContentPosition(),n=function(h,s,d){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return t.spacerStyle=dr(dr({},t.spacerStyle),bf({},"".concat(h),(s||[]).length*d+c+"px"))};A?(n("height",o,this.itemSize[0],a.y),n("width",this.columns||o[1],this.itemSize[1],a.x)):l?n("width",this.columns||o,this.itemSize,a.x):n("height",o,this.itemSize,a.y)}},setContentPosition:function(t){var o=this;if(this.content&&!this.appendOnly){var A=this.isBoth(),l=this.isHorizontal(),a=t?t.first:this.first,n=function(d,c){return d*c},f=function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return o.contentStyle=dr(dr({},o.contentStyle),{transform:"translate3d(".concat(d,"px, ").concat(c,"px, 0)")})};if(A)f(n(a.cols,this.itemSize[1]),n(a.rows,this.itemSize[0]));else{var h=n(a,this.itemSize);l?f(h,0):f(0,h)}}},onScrollPositionChange:function(t){var o=this,A=t.target,l=this.isBoth(),a=this.isHorizontal(),n=this.getContentPosition(),f=function(W,B){return W?W>B?W-B:W:0},h=function(W,B){return Math.floor(W/(B||W))},s=function(W,B,H,y,S,Q){return W<=S?S:Q?H-y-S:B+S-1},d=function(W,B,H,y,S,Q,U){return W<=Q?0:Math.max(0,U?W<B?H:W-Q:W>B?H:W-2*Q)},c=function(W,B,H,y,S,Q){var U=B+y+2*S;return W>=S&&(U+=S+1),o.getLast(U,Q)},p=f(A.scrollTop,n.top),q=f(A.scrollLeft,n.left),M=l?{rows:0,cols:0}:0,T=this.last,R=!1,I=this.lastScrollPos;if(l){var x=this.lastScrollPos.top<=p,E=this.lastScrollPos.left<=q;if(!this.appendOnly||this.appendOnly&&(x||E)){var C={rows:h(p,this.itemSize[0]),cols:h(q,this.itemSize[1])},v={rows:s(C.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:s(C.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],E)};M={rows:d(C.rows,v.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:d(C.cols,v.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],E)},T={rows:c(C.rows,M.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(C.cols,M.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},R=M.rows!==this.first.rows||T.rows!==this.last.rows||M.cols!==this.first.cols||T.cols!==this.last.cols||this.isRangeChanged,I={top:p,left:q}}}else{var O=a?q:p,L=this.lastScrollPos<=O;if(!this.appendOnly||this.appendOnly&&L){var k=h(O,this.itemSize),D=s(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,L);M=d(k,D,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,L),T=c(k,M,this.last,this.numItemsInViewport,this.d_numToleratedItems),R=M!==this.first||T!==this.last||this.isRangeChanged,I=O}}return{first:M,last:T,isRangeChanged:R,scrollPos:I}},onScrollChange:function(t){var o=this.onScrollPositionChange(t),A=o.first,l=o.last,a=o.isRangeChanged,n=o.scrollPos;if(a){var f={first:A,last:l};if(this.setContentPosition(f),this.first=A,this.last=l,this.lastScrollPos=n,this.$emit("scroll-index-change",f),this.lazy&&this.isPageChanged(A)){var h,s,d={first:this.step?Math.min(this.getPageByFirst(A)*this.step,(((h=this.items)===null||h===void 0?void 0:h.length)||0)-this.step):A,last:Math.min(this.step?(this.getPageByFirst(A)+1)*this.step:l,((s=this.items)===null||s===void 0?void 0:s.length)||0)},c=this.lazyLoadState.first!==d.first||this.lazyLoadState.last!==d.last;c&&this.$emit("lazy-load",d),this.lazyLoadState=d}}},onScroll:function(t){var o=this;if(this.$emit("scroll",t),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var A=this.onScrollPositionChange(t),l=A.isRangeChanged,a=l||(this.step?this.isPageChanged():!1);a&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){o.onScrollChange(t),o.d_loading&&o.showLoader&&(!o.lazy||o.loading===void 0)&&(o.d_loading=!1,o.page=o.getPageByFirst())},this.delay)}}else this.onScrollChange(t)},onResize:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(Lo(t.element)){var o=t.isBoth(),A=t.isVertical(),l=t.isHorizontal(),a=[Un(t.element),Bn(t.element)],n=a[0],f=a[1],h=n!==t.defaultWidth,s=f!==t.defaultHeight,d=o?h||s:l?h:A?s:!1;d&&(t.d_numToleratedItems=t.numToleratedItems,t.defaultWidth=n,t.defaultHeight=f,t.defaultContentWidth=Un(t.content),t.defaultContentHeight=Bn(t.content),t.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(t){var o=(this.items||[]).length,A=this.isBoth()?this.first.rows+t:this.first+t;return{index:A,count:o,first:A===0,last:A===o-1,even:A%2===0,odd:A%2!==0}},getLoaderOptions:function(t,o){var A=this.loaderArr.length;return dr({index:t,count:A,first:t===0,last:t===A-1,even:t%2===0,odd:t%2!==0},o)},getPageByFirst:function(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(t){return this.step&&!this.lazy?this.page!==this.getPageByFirst(t??this.first):!0},setContentEl:function(t){this.content=t||this.content||AA(this.element,'[data-pc-section="content"]')},elementRef:function(t){this.element=t},contentRef:function(t){this.content=t}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var t=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(o){return t.columns?o:o.slice(t.appendOnly?0:t.first.cols,t.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var t=this.isBoth(),o=this.isHorizontal();if(t||o)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:iA}},DV=["tabindex"];function LV(e,t,o,A,l,a){var n=Ye("SpinnerIcon");return e.disabled?(de(),be(et,{key:1},[Le(e.$slots,"default"),Le(e.$slots,"content",{items:e.items,rows:e.items,columns:a.loadedColumns})],64)):(de(),be("div",me({key:0,ref:a.elementRef,class:a.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||(t[0]=function(){return a.onScroll&&a.onScroll.apply(a,arguments)})},e.ptmi("root")),[Le(e.$slots,"content",{styleClass:a.contentClass,items:a.loadedItems,getItemOptions:a.getOptions,loading:l.d_loading,getLoaderOptions:a.getLoaderOptions,itemSize:e.itemSize,rows:a.loadedRows,columns:a.loadedColumns,contentRef:a.contentRef,spacerStyle:l.spacerStyle,contentStyle:l.contentStyle,vertical:a.isVertical(),horizontal:a.isHorizontal(),both:a.isBoth()},function(){return[qe("div",me({ref:a.contentRef,class:a.contentClass,style:l.contentStyle},e.ptm("content")),[(de(!0),be(et,null,xo(a.loadedItems,function(f,h){return Le(e.$slots,"item",{key:h,item:f,options:a.getOptions(h)})}),128))],16)]}),e.showSpacer?(de(),be("div",me({key:0,class:"p-virtualscroller-spacer",style:l.spacerStyle},e.ptm("spacer")),null,16)):xe("",!0),!e.loaderDisabled&&e.showLoader&&l.d_loading?(de(),be("div",me({key:1,class:a.loaderClass},e.ptm("loader")),[e.$slots&&e.$slots.loader?(de(!0),be(et,{key:0},xo(l.loaderArr,function(f,h){return Le(e.$slots,"loader",{key:h,options:a.getLoaderOptions(h,a.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):xe("",!0),Le(e.$slots,"loadingicon",{},function(){return[Re(n,me({spin:"",class:"p-virtualscroller-loading-icon"},e.ptm("loadingIcon")),null,16)]})],16)):xe("",!0)],16,DV))}Cf.render=LV;var FV=function(t){var o=t.dt;return`
|
|
1322
1322
|
.p-select {
|
|
1323
1323
|
display: inline-flex;
|
|
1324
1324
|
cursor: pointer;
|
|
@@ -1543,7 +1543,7 @@ input.p-select-label {
|
|
|
1543
1543
|
height: `).concat(o("select.lg.font.size"),`;
|
|
1544
1544
|
}
|
|
1545
1545
|
`)},QV={root:function(t){var o=t.instance,A=t.props,l=t.state;return["p-select p-component p-inputwrapper",{"p-disabled":A.disabled,"p-invalid":o.$invalid,"p-variant-filled":o.$variant==="filled","p-focus":l.focused,"p-inputwrapper-filled":o.$filled,"p-inputwrapper-focus":l.focused||l.overlayVisible,"p-select-open":l.overlayVisible,"p-select-fluid":o.$fluid,"p-select-sm p-inputfield-sm":A.size==="small","p-select-lg p-inputfield-lg":A.size==="large"}]},label:function(t){var o=t.instance,A=t.props;return["p-select-label",{"p-placeholder":!A.editable&&o.label===A.placeholder,"p-select-label-empty":!A.editable&&!o.$slots.value&&(o.label==="p-emptylabel"||o.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(t){var o=t.instance,A=t.props,l=t.state,a=t.option,n=t.focusedOption;return["p-select-option",{"p-select-option-selected":o.isSelected(a)&&A.highlightOnSelect,"p-focus":l.focusedOptionIndex===n,"p-disabled":o.isOptionDisabled(a)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},YV=Ge.extend({name:"select",theme:FV,classes:QV}),GV={name:"BaseSelect",extends:uf,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:YV,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function Nr(e){"@babel/helpers - typeof";return Nr=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},Nr(e)}function KV(e){return WV(e)||jV(e)||NV(e)||JV()}function JV(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1546
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NV(e,t){if(e){if(typeof e=="string")return Ki(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ki(e,t):void 0}}function jV(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function WV(e){if(Array.isArray(e))return Ki(e)}function Ki(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}function fc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function gc(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?fc(Object(o),!0).forEach(function(A){vf(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function vf(e,t,o){return(t=HV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function HV(e){var t=ZV(e,"string");return Nr(t)=="symbol"?t:t+""}function ZV(e,t){if(Nr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Nr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yf={name:"Select",extends:GV,inheritAttrs:!1,emits:["change","focus","blur","before-show","before-hide","show","hide","filter"],outsideClickListener:null,scrollHandler:null,resizeListener:null,labelClickListener:null,overlay:null,list:null,virtualScroller:null,searchTimeout:null,searchValue:null,isModelValueChanged:!1,data:function(){return{id:this.$attrs.id,clicked:!1,focused:!1,focusedOptionIndex:-1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(t){this.id=t||Fo()},modelValue:function(){this.isModelValueChanged=!0},options:function(){this.autoUpdateModel()}},mounted:function(){this.id=this.id||Fo(),this.autoUpdateModel(),this.bindLabelClickListener()},updated:function(){this.overlayVisible&&this.isModelValueChanged&&this.scrollInView(this.findSelectedOptionIndex()),this.isModelValueChanged=!1},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindLabelClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&($n.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex:function(t,o){return this.virtualScrollerDisabled?t:o&&o(t).index},getOptionLabel:function(t){return this.optionLabel?en(t,this.optionLabel):t},getOptionValue:function(t){return this.optionValue?en(t,this.optionValue):t},getOptionRenderKey:function(t,o){return(this.dataKey?en(t,this.dataKey):this.getOptionLabel(t))+"_"+o},getPTItemOptions:function(t,o,A,l){return this.ptm(l,{context:{option:t,index:A,selected:this.isSelected(t),focused:this.focusedOptionIndex===this.getOptionIndex(A,o),disabled:this.isOptionDisabled(t)}})},isOptionDisabled:function(t){return this.optionDisabled?en(t,this.optionDisabled):!1},isOptionGroup:function(t){return this.optionGroupLabel&&t.optionGroup&&t.group},getOptionGroupLabel:function(t){return en(t,this.optionGroupLabel)},getOptionGroupChildren:function(t){return en(t,this.optionGroupChildren)},getAriaPosInset:function(t){var o=this;return(this.optionGroupLabel?t-this.visibleOptions.slice(0,t).filter(function(A){return o.isOptionGroup(A)}).length:t)+1},show:function(t){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),t&&yt(this.$refs.focusInput)},hide:function(t){var o=this,A=function(){o.$emit("before-hide"),o.overlayVisible=!1,o.clicked=!1,o.focusedOptionIndex=-1,o.searchValue="",o.resetFilterOnHide&&(o.filterValue=null),t&&yt(o.$refs.focusInput)};setTimeout(function(){A()},0)},onFocus:function(t){this.disabled||(this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),this.scrollInView(this.focusedOptionIndex)),this.$emit("focus",t))},onBlur:function(t){var o,A;this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",t),(o=(A=this.formField).onBlur)===null||o===void 0||o.call(A,t)},onKeyDown:function(t){if(this.disabled||$0()){t.preventDefault();return}var o=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,this.editable);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!o&&x0(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key));break}this.clicked=!1},onEditableInput:function(t){var o=t.target.value;this.searchValue="";var A=this.searchOptions(t,o);!A&&(this.focusedOptionIndex=-1),this.updateModel(t,o),!this.overlayVisible&&De(o)&&this.show()},onContainerClick:function(t){this.disabled||this.loading||t.target.tagName==="INPUT"||t.target.getAttribute("data-pc-section")==="clearicon"||t.target.closest('[data-pc-section="clearicon"]')||((!this.overlay||!this.overlay.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.clicked=!0)},onClearClick:function(t){this.updateModel(t,null),this.resetFilterOnClear&&(this.filterValue=null)},onFirstHiddenFocus:function(t){var o=t.relatedTarget===this.$refs.focusInput?Jn(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;yt(o)},onLastHiddenFocus:function(t){var o=t.relatedTarget===this.$refs.focusInput?ef(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;yt(o)},onOptionSelect:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=this.getOptionValue(o);this.updateModel(t,l),A&&this.hide(!0)},onOptionMouseMove:function(t,o){this.focusOnHover&&this.changeFocusedOptionIndex(t,o)},onFilterChange:function(t){var o=t.target.value;this.filterValue=o,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:o}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){if(!t.isComposing)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){RV.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(t,this.findSelectedOptionIndex());else{var o=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,o)}t.preventDefault()},onArrowUpKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!o)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var A=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,A),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var A=t.currentTarget;t.shiftKey?A.setSelectionRange(0,t.target.selectionStart):(A.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onEndKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var A=t.currentTarget;if(t.shiftKey)A.setSelectionRange(t.target.selectionStart,A.value.length);else{var l=A.value.length;A.setSelectionRange(l,l),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onSpaceKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!o&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault(),t.stopPropagation()},onTabKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o||(this.overlayVisible&&this.hasFocusableElements()?(yt(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){var o=this;$n.set("overlay",t,this.$primevue.config.zIndex.overlay),zd(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){o.autoFilterFocus&&o.filter&&yt(o.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var t=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){yt(t.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){$n.clear(t)},alignOverlay:function(){this.appendTo==="self"?Z0(this.overlay,this.$el):(this.overlay.style.minWidth=bs(this.$el)+"px",H0(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(o){t.overlayVisible&&t.overlay&&!t.$el.contains(o.target)&&!t.overlay.contains(o.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Hm(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!tq()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var t=this;if(!this.editable&&!this.labelClickListener){var o=document.querySelector('label[for="'.concat(this.labelId,'"]'));o&&Lo(o)&&(this.labelClickListener=function(){yt(t.$refs.focusInput)},o.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.labelId,'"]'));t&&Lo(t)&&t.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return Cs(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){var o;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((o=this.getOptionLabel(t))===null||o===void 0?void 0:o.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return De(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return Gd(this.d_value,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(o){return t.isValidOption(o)})},findLastOptionIndex:function(){var t=this;return Fu(this.visibleOptions,function(o){return t.isValidOption(o)})},findNextOptionIndex:function(t){var o=this,A=t<this.visibleOptions.length-1?this.visibleOptions.slice(t+1).findIndex(function(l){return o.isValidOption(l)}):-1;return A>-1?A+t+1:t},findPrevOptionIndex:function(t){var o=this,A=t>0?Fu(this.visibleOptions.slice(0,t),function(l){return o.isValidOption(l)}):-1;return A>-1?A:t},findSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(o){return t.isValidSelectedOption(o)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,o){var A=this;this.searchValue=(this.searchValue||"")+o;var l=-1,a=!1;return De(this.searchValue)&&(this.focusedOptionIndex!==-1?(l=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(n){return A.isOptionMatched(n)}),l=l===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(n){return A.isOptionMatched(n)}):l+this.focusedOptionIndex):l=this.visibleOptions.findIndex(function(n){return A.isOptionMatched(n)}),l!==-1&&(a=!0),l===-1&&this.focusedOptionIndex===-1&&(l=this.findFirstFocusedOptionIndex()),l!==-1&&this.changeFocusedOptionIndex(t,l)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){A.searchValue="",A.searchTimeout=null},500),a},changeFocusedOptionIndex:function(t,o){this.focusedOptionIndex!==o&&(this.focusedOptionIndex=o,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[o],!1))},scrollInView:function(){var t=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var A=o!==-1?"".concat(t.id,"_").concat(o):t.focusedOptionId,l=AA(t.list,'li[id="'.concat(A,'"]'));l?l.scrollIntoView&&l.scrollIntoView({block:"nearest",inline:"start"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(o!==-1?o:t.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,o){this.writeValue(o,t),this.$emit("change",{originalEvent:t,value:o})},flatOptions:function(t){var o=this;return(t||[]).reduce(function(A,l,a){A.push({optionGroup:l,group:!0,index:a});var n=o.getOptionGroupChildren(l);return n&&n.forEach(function(f){return A.push(f)}),A},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,o){this.list=t,o&&o(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,o=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var A=pV.filter(o,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var l=this.options||[],a=[];return l.forEach(function(n){var f=t.getOptionGroupChildren(n),h=f.filter(function(s){return A.includes(s)});h.length>0&&a.push(gc(gc({},n),{},vf({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",KV(h))))}),this.flatOptions(a)}return A}return o},hasSelectedOption:function(){return this.$filled},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return De(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(o){return!t.isOptionGroup(o)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&De(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Is},components:{InputText:Ss,VirtualScroller:Cf,Portal:Es,InputIcon:Vf,IconField:mf,TimesIcon:ws,ChevronDownIcon:pf,SpinnerIcon:iA,SearchIcon:qf,CheckIcon:hf,BlankIcon:gf}},PV=["id"],zV=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],_V=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],XV=["id"],$V=["id"],eb=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function tb(e,t,o,A,l,a){var n=Qe("SpinnerIcon"),f=Qe("InputText"),h=Qe("SearchIcon"),s=Qe("InputIcon"),d=Qe("IconField"),c=Qe("CheckIcon"),p=Qe("BlankIcon"),q=Qe("VirtualScroller"),M=Qe("Portal"),T=is("ripple");return de(),Ve("div",me({ref:"container",id:l.id,class:e.cx("root"),onClick:t[11]||(t[11]=function(){return a.onContainerClick&&a.onContainerClick.apply(a,arguments)})},e.ptmi("root")),[e.editable?(de(),Ve("input",me({key:0,ref:"focusInput",id:e.labelId||e.inputId,type:"text",class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:a.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:"off",role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":l.overlayVisible,"aria-controls":l.id+"_list","aria-activedescendant":l.focused?a.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return a.onFocus&&a.onFocus.apply(a,arguments)}),onBlur:t[1]||(t[1]=function(){return a.onBlur&&a.onBlur.apply(a,arguments)}),onKeydown:t[2]||(t[2]=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)}),onInput:t[3]||(t[3]=function(){return a.onEditableInput&&a.onEditableInput.apply(a,arguments)})},e.ptm("label")),null,16,zV)):(de(),Ve("span",me({key:1,ref:"focusInput",id:e.labelId||e.inputId,class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel||(a.label==="p-emptylabel"?void 0:a.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":l.overlayVisible,"aria-controls":l.id+"_list","aria-activedescendant":l.focused?a.focusedOptionId:void 0,"aria-disabled":e.disabled,onFocus:t[4]||(t[4]=function(){return a.onFocus&&a.onFocus.apply(a,arguments)}),onBlur:t[5]||(t[5]=function(){return a.onBlur&&a.onBlur.apply(a,arguments)}),onKeydown:t[6]||(t[6]=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)})},e.ptm("label")),[Ye(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){var R;return[Xn($e(a.label==="p-emptylabel"?" ":(R=a.label)!==null&&R!==void 0?R:"empty"),1)]})],16,_V)),a.isClearIconVisible?Ye(e.$slots,"clearicon",{key:2,class:ht(e.cx("clearIcon")),clearCallback:a.onClearClick},function(){return[(de(),Oe(kr(e.clearIcon?"i":"TimesIcon"),me({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:a.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):Me("",!0),qe("div",me({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?Ye(e.$slots,"loadingicon",{key:0,class:ht(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(de(),Ve("span",me({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(de(),Oe(n,me({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):Ye(e.$slots,"dropdownicon",{key:1,class:ht(e.cx("dropdownIcon"))},function(){return[(de(),Oe(kr(e.dropdownIcon?"span":"ChevronDownIcon"),me({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),Te(M,{appendTo:e.appendTo},{default:Ze(function(){return[Te(Ud,me({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onAfterEnter:a.onOverlayAfterEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:Ze(function(){return[l.overlayVisible?(de(),Ve("div",me({key:0,ref:a.overlayRef,class:[e.cx("overlay"),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[9]||(t[9]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)}),onKeydown:t[10]||(t[10]=function(){return a.onOverlayKeyDown&&a.onOverlayKeyDown.apply(a,arguments)})},e.ptm("overlay")),[qe("span",me({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[7]||(t[7]=function(){return a.onFirstHiddenFocus&&a.onFirstHiddenFocus.apply(a,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),Ye(e.$slots,"header",{value:e.d_value,options:a.visibleOptions}),e.filter?(de(),Ve("div",me({key:0,class:e.cx("header")},e.ptm("header")),[Te(d,{unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:Ze(function(){return[Te(f,{ref:"filterInput",type:"text",value:l.filterValue,onVnodeMounted:a.onFilterUpdated,onVnodeUpdated:a.onFilterUpdated,class:ht(e.cx("pcFilter")),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":l.id+"_list","aria-activedescendant":a.focusedOptionId,onKeydown:a.onFilterKeyDown,onBlur:a.onFilterBlur,onInput:a.onFilterChange,pt:e.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),Te(s,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:Ze(function(){return[Ye(e.$slots,"filtericon",{},function(){return[e.filterIcon?(de(),Ve("span",me({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(de(),Oe(h,Ig(me({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),qe("span",me({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),$e(a.filterResultMessageText),17)],16)):Me("",!0),qe("div",me({class:e.cx("listContainer"),style:{"max-height":a.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[Te(q,me({ref:a.virtualScrollerRef},e.virtualScrollerOptions,{items:a.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:a.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),Eh({content:Ze(function(R){var I=R.styleClass,x=R.contentRef,E=R.items,C=R.getItemOptions,v=R.contentStyle,O=R.itemSize;return[qe("ul",me({ref:function(k){return a.listRef(k,x)},id:l.id+"_list",class:[e.cx("list"),I],style:v,role:"listbox"},e.ptm("list")),[(de(!0),Ve(et,null,xo(E,function(L,k){return de(),Ve(et,{key:a.getOptionRenderKey(L,a.getOptionIndex(k,C))},[a.isOptionGroup(L)?(de(),Ve("li",me({key:0,id:l.id+"_"+a.getOptionIndex(k,C),style:{height:O?O+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[Ye(e.$slots,"optiongroup",{option:L.optionGroup,index:a.getOptionIndex(k,C)},function(){return[qe("span",me({class:e.cx("optionGroupLabel"),ref_for:!0},e.ptm("optionGroupLabel")),$e(a.getOptionGroupLabel(L.optionGroup)),17)]})],16,$V)):ns((de(),Ve("li",me({key:1,id:l.id+"_"+a.getOptionIndex(k,C),class:e.cx("option",{option:L,focusedOption:a.getOptionIndex(k,C)}),style:{height:O?O+"px":void 0},role:"option","aria-label":a.getOptionLabel(L),"aria-selected":a.isSelected(L),"aria-disabled":a.isOptionDisabled(L),"aria-setsize":a.ariaSetSize,"aria-posinset":a.getAriaPosInset(a.getOptionIndex(k,C)),onClick:function(N){return a.onOptionSelect(N,L)},onMousemove:function(N){return a.onOptionMouseMove(N,a.getOptionIndex(k,C))},"data-p-selected":a.isSelected(L),"data-p-focused":l.focusedOptionIndex===a.getOptionIndex(k,C),"data-p-disabled":a.isOptionDisabled(L),ref_for:!0},a.getPTItemOptions(L,C,k,"option")),[e.checkmark?(de(),Ve(et,{key:0},[a.isSelected(L)?(de(),Oe(c,me({key:0,class:e.cx("optionCheckIcon"),ref_for:!0},e.ptm("optionCheckIcon")),null,16,["class"])):(de(),Oe(p,me({key:1,class:e.cx("optionBlankIcon"),ref_for:!0},e.ptm("optionBlankIcon")),null,16,["class"]))],64)):Me("",!0),Ye(e.$slots,"option",{option:L,selected:a.isSelected(L),index:a.getOptionIndex(k,C)},function(){return[qe("span",me({class:e.cx("optionLabel"),ref_for:!0},e.ptm("optionLabel")),$e(a.getOptionLabel(L)),17)]})],16,eb)),[[T]])],64)}),128)),l.filterValue&&(!E||E&&E.length===0)?(de(),Ve("li",me({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Ye(e.$slots,"emptyfilter",{},function(){return[Xn($e(a.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(de(),Ve("li",me({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Ye(e.$slots,"empty",{},function(){return[Xn($e(a.emptyMessageText),1)]})],16)):Me("",!0)],16,XV)]}),_:2},[e.$slots.loader?{name:"loader",fn:Ze(function(R){var I=R.options;return[Ye(e.$slots,"loader",{options:I})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),Ye(e.$slots,"footer",{value:e.d_value,options:a.visibleOptions}),!e.options||e.options&&e.options.length===0?(de(),Ve("span",me({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),$e(a.emptyMessageText),17)):Me("",!0),qe("span",me({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),$e(a.selectedMessageText),17),qe("span",me({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[8]||(t[8]=function(){return a.onLastHiddenFocus&&a.onLastHiddenFocus.apply(a,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):Me("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,PV)}yf.render=tb;var nb=function(t){var o=t.dt;return`
|
|
1546
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NV(e,t){if(e){if(typeof e=="string")return Ki(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ki(e,t):void 0}}function jV(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function WV(e){if(Array.isArray(e))return Ki(e)}function Ki(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}function fc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function gc(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?fc(Object(o),!0).forEach(function(A){vf(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function vf(e,t,o){return(t=HV(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function HV(e){var t=ZV(e,"string");return Nr(t)=="symbol"?t:t+""}function ZV(e,t){if(Nr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(Nr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yf={name:"Select",extends:GV,inheritAttrs:!1,emits:["change","focus","blur","before-show","before-hide","show","hide","filter"],outsideClickListener:null,scrollHandler:null,resizeListener:null,labelClickListener:null,overlay:null,list:null,virtualScroller:null,searchTimeout:null,searchValue:null,isModelValueChanged:!1,data:function(){return{id:this.$attrs.id,clicked:!1,focused:!1,focusedOptionIndex:-1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(t){this.id=t||Fo()},modelValue:function(){this.isModelValueChanged=!0},options:function(){this.autoUpdateModel()}},mounted:function(){this.id=this.id||Fo(),this.autoUpdateModel(),this.bindLabelClickListener()},updated:function(){this.overlayVisible&&this.isModelValueChanged&&this.scrollInView(this.findSelectedOptionIndex()),this.isModelValueChanged=!1},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindLabelClickListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&($n.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex:function(t,o){return this.virtualScrollerDisabled?t:o&&o(t).index},getOptionLabel:function(t){return this.optionLabel?en(t,this.optionLabel):t},getOptionValue:function(t){return this.optionValue?en(t,this.optionValue):t},getOptionRenderKey:function(t,o){return(this.dataKey?en(t,this.dataKey):this.getOptionLabel(t))+"_"+o},getPTItemOptions:function(t,o,A,l){return this.ptm(l,{context:{option:t,index:A,selected:this.isSelected(t),focused:this.focusedOptionIndex===this.getOptionIndex(A,o),disabled:this.isOptionDisabled(t)}})},isOptionDisabled:function(t){return this.optionDisabled?en(t,this.optionDisabled):!1},isOptionGroup:function(t){return this.optionGroupLabel&&t.optionGroup&&t.group},getOptionGroupLabel:function(t){return en(t,this.optionGroupLabel)},getOptionGroupChildren:function(t){return en(t,this.optionGroupChildren)},getAriaPosInset:function(t){var o=this;return(this.optionGroupLabel?t-this.visibleOptions.slice(0,t).filter(function(A){return o.isOptionGroup(A)}).length:t)+1},show:function(t){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),t&&yt(this.$refs.focusInput)},hide:function(t){var o=this,A=function(){o.$emit("before-hide"),o.overlayVisible=!1,o.clicked=!1,o.focusedOptionIndex=-1,o.searchValue="",o.resetFilterOnHide&&(o.filterValue=null),t&&yt(o.$refs.focusInput)};setTimeout(function(){A()},0)},onFocus:function(t){this.disabled||(this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex!==-1?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex(),this.scrollInView(this.focusedOptionIndex)),this.$emit("focus",t))},onBlur:function(t){var o,A;this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",t),(o=(A=this.formField).onBlur)===null||o===void 0||o.call(A,t)},onKeyDown:function(t){if(this.disabled||$0()){t.preventDefault();return}var o=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,this.editable);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!o&&x0(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key));break}this.clicked=!1},onEditableInput:function(t){var o=t.target.value;this.searchValue="";var A=this.searchOptions(t,o);!A&&(this.focusedOptionIndex=-1),this.updateModel(t,o),!this.overlayVisible&&De(o)&&this.show()},onContainerClick:function(t){this.disabled||this.loading||t.target.tagName==="INPUT"||t.target.getAttribute("data-pc-section")==="clearicon"||t.target.closest('[data-pc-section="clearicon"]')||((!this.overlay||!this.overlay.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.clicked=!0)},onClearClick:function(t){this.updateModel(t,null),this.resetFilterOnClear&&(this.filterValue=null)},onFirstHiddenFocus:function(t){var o=t.relatedTarget===this.$refs.focusInput?Jn(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;yt(o)},onLastHiddenFocus:function(t){var o=t.relatedTarget===this.$refs.focusInput?ef(this.overlay,':not([data-p-hidden-focusable="true"])'):this.$refs.focusInput;yt(o)},onOptionSelect:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=this.getOptionValue(o);this.updateModel(t,l),A&&this.hide(!0)},onOptionMouseMove:function(t,o){this.focusOnHover&&this.changeFocusedOptionIndex(t,o)},onFilterChange:function(t){var o=t.target.value;this.filterValue=o,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:o}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){if(!t.isComposing)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){RV.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(t,this.findSelectedOptionIndex());else{var o=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,o)}t.preventDefault()},onArrowUpKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!o)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var A=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,A),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var A=t.currentTarget;t.shiftKey?A.setSelectionRange(0,t.target.selectionStart):(A.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onEndKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o){var A=t.currentTarget;if(t.shiftKey)A.setSelectionRange(t.target.selectionStart,A.value.length);else{var l=A.value.length;A.setSelectionRange(l,l),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onSpaceKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!o&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault(),t.stopPropagation()},onTabKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o||(this.overlayVisible&&this.hasFocusableElements()?(yt(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){var o=this;$n.set("overlay",t,this.$primevue.config.zIndex.overlay),zd(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){o.autoFilterFocus&&o.filter&&yt(o.$refs.filterInput.$el)},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var t=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){yt(t.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){$n.clear(t)},alignOverlay:function(){this.appendTo==="self"?Z0(this.overlay,this.$el):(this.overlay.style.minWidth=bs(this.$el)+"px",H0(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(o){t.overlayVisible&&t.overlay&&!t.$el.contains(o.target)&&!t.overlay.contains(o.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Hm(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!tq()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var t=this;if(!this.editable&&!this.labelClickListener){var o=document.querySelector('label[for="'.concat(this.labelId,'"]'));o&&Lo(o)&&(this.labelClickListener=function(){yt(t.$refs.focusInput)},o.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.labelId,'"]'));t&&Lo(t)&&t.removeEventListener("click",this.labelClickListener)}},hasFocusableElements:function(){return Cs(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){var o;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((o=this.getOptionLabel(t))===null||o===void 0?void 0:o.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return De(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return Gd(this.d_value,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(o){return t.isValidOption(o)})},findLastOptionIndex:function(){var t=this;return Fu(this.visibleOptions,function(o){return t.isValidOption(o)})},findNextOptionIndex:function(t){var o=this,A=t<this.visibleOptions.length-1?this.visibleOptions.slice(t+1).findIndex(function(l){return o.isValidOption(l)}):-1;return A>-1?A+t+1:t},findPrevOptionIndex:function(t){var o=this,A=t>0?Fu(this.visibleOptions.slice(0,t),function(l){return o.isValidOption(l)}):-1;return A>-1?A:t},findSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(o){return t.isValidSelectedOption(o)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,o){var A=this;this.searchValue=(this.searchValue||"")+o;var l=-1,a=!1;return De(this.searchValue)&&(this.focusedOptionIndex!==-1?(l=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(n){return A.isOptionMatched(n)}),l=l===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(n){return A.isOptionMatched(n)}):l+this.focusedOptionIndex):l=this.visibleOptions.findIndex(function(n){return A.isOptionMatched(n)}),l!==-1&&(a=!0),l===-1&&this.focusedOptionIndex===-1&&(l=this.findFirstFocusedOptionIndex()),l!==-1&&this.changeFocusedOptionIndex(t,l)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){A.searchValue="",A.searchTimeout=null},500),a},changeFocusedOptionIndex:function(t,o){this.focusedOptionIndex!==o&&(this.focusedOptionIndex=o,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[o],!1))},scrollInView:function(){var t=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var A=o!==-1?"".concat(t.id,"_").concat(o):t.focusedOptionId,l=AA(t.list,'li[id="'.concat(A,'"]'));l?l.scrollIntoView&&l.scrollIntoView({block:"nearest",inline:"start"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(o!==-1?o:t.focusedOptionIndex)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,o){this.writeValue(o,t),this.$emit("change",{originalEvent:t,value:o})},flatOptions:function(t){var o=this;return(t||[]).reduce(function(A,l,a){A.push({optionGroup:l,group:!0,index:a});var n=o.getOptionGroupChildren(l);return n&&n.forEach(function(f){return A.push(f)}),A},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,o){this.list=t,o&&o(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,o=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var A=pV.filter(o,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var l=this.options||[],a=[];return l.forEach(function(n){var f=t.getOptionGroupChildren(n),h=f.filter(function(s){return A.includes(s)});h.length>0&&a.push(gc(gc({},n),{},vf({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",KV(h))))}),this.flatOptions(a)}return A}return o},hasSelectedOption:function(){return this.$filled},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return De(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(o){return!t.isOptionGroup(o)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&De(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Is},components:{InputText:Ss,VirtualScroller:Cf,Portal:Es,InputIcon:Vf,IconField:mf,TimesIcon:ws,ChevronDownIcon:pf,SpinnerIcon:iA,SearchIcon:qf,CheckIcon:hf,BlankIcon:gf}},PV=["id"],zV=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],_V=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-disabled"],XV=["id"],$V=["id"],eb=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function tb(e,t,o,A,l,a){var n=Ye("SpinnerIcon"),f=Ye("InputText"),h=Ye("SearchIcon"),s=Ye("InputIcon"),d=Ye("IconField"),c=Ye("CheckIcon"),p=Ye("BlankIcon"),q=Ye("VirtualScroller"),M=Ye("Portal"),T=is("ripple");return de(),be("div",me({ref:"container",id:l.id,class:e.cx("root"),onClick:t[11]||(t[11]=function(){return a.onContainerClick&&a.onContainerClick.apply(a,arguments)})},e.ptmi("root")),[e.editable?(de(),be("input",me({key:0,ref:"focusInput",id:e.labelId||e.inputId,type:"text",class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:a.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:"off",role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":l.overlayVisible,"aria-controls":l.id+"_list","aria-activedescendant":l.focused?a.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return a.onFocus&&a.onFocus.apply(a,arguments)}),onBlur:t[1]||(t[1]=function(){return a.onBlur&&a.onBlur.apply(a,arguments)}),onKeydown:t[2]||(t[2]=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)}),onInput:t[3]||(t[3]=function(){return a.onEditableInput&&a.onEditableInput.apply(a,arguments)})},e.ptm("label")),null,16,zV)):(de(),be("span",me({key:1,ref:"focusInput",id:e.labelId||e.inputId,class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel||(a.label==="p-emptylabel"?void 0:a.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":l.overlayVisible,"aria-controls":l.id+"_list","aria-activedescendant":l.focused?a.focusedOptionId:void 0,"aria-disabled":e.disabled,onFocus:t[4]||(t[4]=function(){return a.onFocus&&a.onFocus.apply(a,arguments)}),onBlur:t[5]||(t[5]=function(){return a.onBlur&&a.onBlur.apply(a,arguments)}),onKeydown:t[6]||(t[6]=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)})},e.ptm("label")),[Le(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){var R;return[Xn($e(a.label==="p-emptylabel"?" ":(R=a.label)!==null&&R!==void 0?R:"empty"),1)]})],16,_V)),a.isClearIconVisible?Le(e.$slots,"clearicon",{key:2,class:ht(e.cx("clearIcon")),clearCallback:a.onClearClick},function(){return[(de(),Oe(kr(e.clearIcon?"i":"TimesIcon"),me({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:a.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):xe("",!0),qe("div",me({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?Le(e.$slots,"loadingicon",{key:0,class:ht(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(de(),be("span",me({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(de(),Oe(n,me({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):Le(e.$slots,"dropdownicon",{key:1,class:ht(e.cx("dropdownIcon"))},function(){return[(de(),Oe(kr(e.dropdownIcon?"span":"ChevronDownIcon"),me({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),Re(M,{appendTo:e.appendTo},{default:Pe(function(){return[Re(Ud,me({name:"p-connected-overlay",onEnter:a.onOverlayEnter,onAfterEnter:a.onOverlayAfterEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm("transition")),{default:Pe(function(){return[l.overlayVisible?(de(),be("div",me({key:0,ref:a.overlayRef,class:[e.cx("overlay"),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[9]||(t[9]=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)}),onKeydown:t[10]||(t[10]=function(){return a.onOverlayKeyDown&&a.onOverlayKeyDown.apply(a,arguments)})},e.ptm("overlay")),[qe("span",me({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[7]||(t[7]=function(){return a.onFirstHiddenFocus&&a.onFirstHiddenFocus.apply(a,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),Le(e.$slots,"header",{value:e.d_value,options:a.visibleOptions}),e.filter?(de(),be("div",me({key:0,class:e.cx("header")},e.ptm("header")),[Re(d,{unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:Pe(function(){return[Re(f,{ref:"filterInput",type:"text",value:l.filterValue,onVnodeMounted:a.onFilterUpdated,onVnodeUpdated:a.onFilterUpdated,class:ht(e.cx("pcFilter")),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":l.id+"_list","aria-activedescendant":a.focusedOptionId,onKeydown:a.onFilterKeyDown,onBlur:a.onFilterBlur,onInput:a.onFilterChange,pt:e.ptm("pcFilter")},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),Re(s,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:Pe(function(){return[Le(e.$slots,"filtericon",{},function(){return[e.filterIcon?(de(),be("span",me({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(de(),Oe(h,Ig(me({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),qe("span",me({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),$e(a.filterResultMessageText),17)],16)):xe("",!0),qe("div",me({class:e.cx("listContainer"),style:{"max-height":a.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[Re(q,me({ref:a.virtualScrollerRef},e.virtualScrollerOptions,{items:a.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:a.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),Eh({content:Pe(function(R){var I=R.styleClass,x=R.contentRef,E=R.items,C=R.getItemOptions,v=R.contentStyle,O=R.itemSize;return[qe("ul",me({ref:function(k){return a.listRef(k,x)},id:l.id+"_list",class:[e.cx("list"),I],style:v,role:"listbox"},e.ptm("list")),[(de(!0),be(et,null,xo(E,function(L,k){return de(),be(et,{key:a.getOptionRenderKey(L,a.getOptionIndex(k,C))},[a.isOptionGroup(L)?(de(),be("li",me({key:0,id:l.id+"_"+a.getOptionIndex(k,C),style:{height:O?O+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[Le(e.$slots,"optiongroup",{option:L.optionGroup,index:a.getOptionIndex(k,C)},function(){return[qe("span",me({class:e.cx("optionGroupLabel"),ref_for:!0},e.ptm("optionGroupLabel")),$e(a.getOptionGroupLabel(L.optionGroup)),17)]})],16,$V)):ns((de(),be("li",me({key:1,id:l.id+"_"+a.getOptionIndex(k,C),class:e.cx("option",{option:L,focusedOption:a.getOptionIndex(k,C)}),style:{height:O?O+"px":void 0},role:"option","aria-label":a.getOptionLabel(L),"aria-selected":a.isSelected(L),"aria-disabled":a.isOptionDisabled(L),"aria-setsize":a.ariaSetSize,"aria-posinset":a.getAriaPosInset(a.getOptionIndex(k,C)),onClick:function(N){return a.onOptionSelect(N,L)},onMousemove:function(N){return a.onOptionMouseMove(N,a.getOptionIndex(k,C))},"data-p-selected":a.isSelected(L),"data-p-focused":l.focusedOptionIndex===a.getOptionIndex(k,C),"data-p-disabled":a.isOptionDisabled(L),ref_for:!0},a.getPTItemOptions(L,C,k,"option")),[e.checkmark?(de(),be(et,{key:0},[a.isSelected(L)?(de(),Oe(c,me({key:0,class:e.cx("optionCheckIcon"),ref_for:!0},e.ptm("optionCheckIcon")),null,16,["class"])):(de(),Oe(p,me({key:1,class:e.cx("optionBlankIcon"),ref_for:!0},e.ptm("optionBlankIcon")),null,16,["class"]))],64)):xe("",!0),Le(e.$slots,"option",{option:L,selected:a.isSelected(L),index:a.getOptionIndex(k,C)},function(){return[qe("span",me({class:e.cx("optionLabel"),ref_for:!0},e.ptm("optionLabel")),$e(a.getOptionLabel(L)),17)]})],16,eb)),[[T]])],64)}),128)),l.filterValue&&(!E||E&&E.length===0)?(de(),be("li",me({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Le(e.$slots,"emptyfilter",{},function(){return[Xn($e(a.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(de(),be("li",me({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[Le(e.$slots,"empty",{},function(){return[Xn($e(a.emptyMessageText),1)]})],16)):xe("",!0)],16,XV)]}),_:2},[e.$slots.loader?{name:"loader",fn:Pe(function(R){var I=R.options;return[Le(e.$slots,"loader",{options:I})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),Le(e.$slots,"footer",{value:e.d_value,options:a.visibleOptions}),!e.options||e.options&&e.options.length===0?(de(),be("span",me({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),$e(a.emptyMessageText),17)):xe("",!0),qe("span",me({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),$e(a.selectedMessageText),17),qe("span",me({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[8]||(t[8]=function(){return a.onLastHiddenFocus&&a.onLastHiddenFocus.apply(a,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):xe("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,PV)}yf.render=tb;var nb=function(t){var o=t.dt;return`
|
|
1547
1547
|
.p-slider {
|
|
1548
1548
|
position: relative;
|
|
1549
1549
|
background: `.concat(o("slider.track.background"),`;
|
|
@@ -1629,4 +1629,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1629
1629
|
width: 100%;
|
|
1630
1630
|
}
|
|
1631
1631
|
`)},rb={handle:{position:"absolute"},range:{position:"absolute"}},ob={root:function(t){var o=t.instance,A=t.props;return["p-slider p-component",{"p-disabled":A.disabled,"p-invalid":o.$invalid,"p-slider-horizontal":A.orientation==="horizontal","p-slider-vertical":A.orientation==="vertical"}]},range:"p-slider-range",handle:"p-slider-handle"},Ab=Ge.extend({name:"slider",theme:nb,classes:ob,inlineStyles:rb}),ib={name:"BaseSlider",extends:af,props:{min:{type:Number,default:0},max:{type:Number,default:100},orientation:{type:String,default:"horizontal"},step:{type:Number,default:null},range:{type:Boolean,default:!1},tabindex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Ab,provide:function(){return{$pcSlider:this,$parentInstance:this}}};function sb(e){return cb(e)||ub(e)||ab(e)||lb()}function lb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1632
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ab(e,t){if(e){if(typeof e=="string")return Ji(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ji(e,t):void 0}}function ub(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cb(e){if(Array.isArray(e))return Ji(e)}function Ji(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}var If={name:"Slider",extends:ib,inheritAttrs:!1,emits:["change","slideend"],dragging:!1,handleIndex:null,initX:null,initY:null,barWidth:null,barHeight:null,dragListener:null,dragEndListener:null,beforeUnmount:function(){this.unbindDragListeners()},methods:{updateDomData:function(){var t=this.$el.getBoundingClientRect();this.initX=t.left+Zd(),this.initY=t.top+Pd(),this.barWidth=this.$el.offsetWidth,this.barHeight=this.$el.offsetHeight},setValue:function(t){var o,A=t.touches?t.touches[0].pageX:t.pageX,l=t.touches?t.touches[0].pageY:t.pageY;this.orientation==="horizontal"?eq(this.$el)?o=(this.initX+this.barWidth-A)*100/this.barWidth:o=(A-this.initX)*100/this.barWidth:o=(this.initY+this.barHeight-l)*100/this.barHeight;var a=(this.max-this.min)*(o/100)+this.min;if(this.step){var n=this.range?this.value[this.handleIndex]:this.value,f=a-n;f<0?a=n+Math.ceil(a/this.step-n/this.step)*this.step:f>0&&(a=n+Math.floor(a/this.step-n/this.step)*this.step)}else a=Math.floor(a);this.updateModel(t,a)},updateModel:function(t,o){var A=parseFloat(o.toFixed(10)),l;this.range?(l=this.value?sb(this.value):[],this.handleIndex==0?(A<this.min?A=this.min:A>=this.max&&(A=this.max),l[0]=A):(A>this.max?A=this.max:A<=this.min&&(A=this.min),l[1]=A)):(A<this.min?A=this.min:A>this.max&&(A=this.max),l=A),this.writeValue(l,t),this.$emit("change",l)},onDragStart:function(t,o){this.disabled||(this.$el.setAttribute("data-p-sliding",!0),this.dragging=!0,this.updateDomData(),this.range&&this.value[0]===this.max?this.handleIndex=0:this.handleIndex=o,t.currentTarget.focus())},onDrag:function(t){this.dragging&&this.setValue(t)},onDragEnd:function(t){this.dragging&&(this.dragging=!1,this.$el.setAttribute("data-p-sliding",!1),this.$emit("slideend",{originalEvent:t,value:this.value}))},onBarClick:function(t){this.disabled||Xd(t.target,"data-pc-section")!=="handle"&&(this.updateDomData(),this.setValue(t))},onMouseDown:function(t,o){this.bindDragListeners(),this.onDragStart(t,o)},onKeyDown:function(t,o){switch(this.handleIndex=o,t.code){case"ArrowDown":case"ArrowLeft":this.decrementValue(t,o),t.preventDefault();break;case"ArrowUp":case"ArrowRight":this.incrementValue(t,o),t.preventDefault();break;case"PageDown":this.decrementValue(t,o,!0),t.preventDefault();break;case"PageUp":this.incrementValue(t,o,!0),t.preventDefault();break;case"Home":this.updateModel(t,this.min),t.preventDefault();break;case"End":this.updateModel(t,this.max),t.preventDefault();break}},onBlur:function(t,o){var A,l;(A=(l=this.formField).onBlur)===null||A===void 0||A.call(l,t)},decrementValue:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l;this.range?this.step?l=this.value[o]-this.step:l=this.value[o]-1:this.step?l=this.value-this.step:!this.step&&A?l=this.value-10:l=this.value-1,this.updateModel(t,l),t.preventDefault()},incrementValue:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l;this.range?this.step?l=this.value[o]+this.step:l=this.value[o]+1:this.step?l=this.value+this.step:!this.step&&A?l=this.value+10:l=this.value+1,this.updateModel(t,l),t.preventDefault()},bindDragListeners:function(){this.dragListener||(this.dragListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.dragListener)),this.dragEndListener||(this.dragEndListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.dragEndListener))},unbindDragListeners:function(){this.dragListener&&(document.removeEventListener("mousemove",this.dragListener),this.dragListener=null),this.dragEndListener&&(document.removeEventListener("mouseup",this.dragEndListener),this.dragEndListener=null)},rangeStyle:function(){if(this.range){var t=this.rangeEndPosition>this.rangeStartPosition?this.rangeEndPosition-this.rangeStartPosition:this.rangeStartPosition-this.rangeEndPosition,o=this.rangeEndPosition>this.rangeStartPosition?this.rangeStartPosition:this.rangeEndPosition;return this.horizontal?{"inset-inline-start":o+"%",width:t+"%"}:{bottom:o+"%",height:t+"%"}}else return this.horizontal?{width:this.handlePosition+"%"}:{height:this.handlePosition+"%"}},handleStyle:function(){return this.horizontal?{"inset-inline-start":this.handlePosition+"%"}:{bottom:this.handlePosition+"%"}},rangeStartHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeStartPosition+"%"}:{bottom:this.rangeStartPosition+"%"}},rangeEndHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeEndPosition+"%"}:{bottom:this.rangeEndPosition+"%"}}},computed:{value:function(){var t;if(this.range){var o,A,l,a;return[(o=(A=this.d_value)===null||A===void 0?void 0:A[0])!==null&&o!==void 0?o:this.min,(l=(a=this.d_value)===null||a===void 0?void 0:a[1])!==null&&l!==void 0?l:this.max]}return(t=this.d_value)!==null&&t!==void 0?t:this.min},horizontal:function(){return this.orientation==="horizontal"},vertical:function(){return this.orientation==="vertical"},handlePosition:function(){return this.value<this.min?0:this.value>this.max?100:(this.value-this.min)*100/(this.max-this.min)},rangeStartPosition:function(){return this.value&&this.value[0]!==void 0?this.value[0]<this.min?0:(this.value[0]-this.min)*100/(this.max-this.min):0},rangeEndPosition:function(){return this.value&&this.value.length===2&&this.value[1]!==void 0?this.value[1]>this.max?100:(this.value[1]-this.min)*100/(this.max-this.min):100}}},db=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],fb=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],gb=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"];function hb(e,t,o,A,l,a){return de(),Ve("div",me({class:e.cx("root"),onClick:t[18]||(t[18]=function(){return a.onBarClick&&a.onBarClick.apply(a,arguments)})},e.ptmi("root"),{"data-p-sliding":!1}),[qe("span",me({class:e.cx("range"),style:[e.sx("range"),a.rangeStyle()]},e.ptm("range")),null,16),e.range?Me("",!0):(de(),Ve("span",me({key:0,class:e.cx("handle"),style:[e.sx("handle"),a.handleStyle()],onTouchstartPassive:t[0]||(t[0]=function(n){return a.onDragStart(n)}),onTouchmovePassive:t[1]||(t[1]=function(n){return a.onDrag(n)}),onTouchend:t[2]||(t[2]=function(n){return a.onDragEnd(n)}),onMousedown:t[3]||(t[3]=function(n){return a.onMouseDown(n)}),onKeydown:t[4]||(t[4]=function(n){return a.onKeyDown(n)}),onBlur:t[5]||(t[5]=function(n){return a.onBlur(n)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("handle")),null,16,db)),e.range?(de(),Ve("span",me({key:1,class:e.cx("handle"),style:[e.sx("handle"),a.rangeStartHandleStyle()],onTouchstartPassive:t[6]||(t[6]=function(n){return a.onDragStart(n,0)}),onTouchmovePassive:t[7]||(t[7]=function(n){return a.onDrag(n)}),onTouchend:t[8]||(t[8]=function(n){return a.onDragEnd(n)}),onMousedown:t[9]||(t[9]=function(n){return a.onMouseDown(n,0)}),onKeydown:t[10]||(t[10]=function(n){return a.onKeyDown(n,0)}),onBlur:t[11]||(t[11]=function(n){return a.onBlur(n,0)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[0]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("startHandler")),null,16,fb)):Me("",!0),e.range?(de(),Ve("span",me({key:2,class:e.cx("handle"),style:[e.sx("handle"),a.rangeEndHandleStyle()],onTouchstartPassive:t[12]||(t[12]=function(n){return a.onDragStart(n,1)}),onTouchmovePassive:t[13]||(t[13]=function(n){return a.onDrag(n)}),onTouchend:t[14]||(t[14]=function(n){return a.onDragEnd(n)}),onMousedown:t[15]||(t[15]=function(n){return a.onMouseDown(n,1)}),onKeydown:t[16]||(t[16]=function(n){return a.onKeyDown(n,1)}),onBlur:t[17]||(t[17]=function(n){return a.onBlur(n,1)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[1]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("endHandler")),null,16,gb)):Me("",!0)],16)}If.render=hb;const pb={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 12.46 11.426"};function qb(e,t){return de(),Ve("svg",pb,t[0]||(t[0]=[qe("g",{"fill-rule":"evenodd"},[qe("path",{d:"M9.237 2.429c0 .248.653.676 1.05 1.714.178.466.069.659.711.656.3 0 .4-.019.582.115.319.238.238.642.238 1.129a.58.58 0 0 1-.221.449c-.17.137-.277.13-.569.128-.67 0-.57.111-.748.62-.36 1.033-1.043 1.512-1.043 1.72 0 .317.637.764.231 1.293a2.2 2.2 0 0 1-1.052.527c-.63 0-.567-.88-1.033-.88a5 5 0 0 1-2.023.048c-.819-.19-.545.437-.983.712s-.685.009-1.074-.2c-.944-.51-.08-1.144-.08-1.5 0-.123-.051-.151-.111-.223a5.3 5.3 0 0 1-.594-.774c-.048-.075-.074-.142-.116-.218a9 9 0 0 1-.398-.968c-.21-.324-.765-.005-1.125-.277-.318-.233-.236-.638-.236-1.126a.58.58 0 0 1 .219-.447c.171-.137.277-.13.57-.13.952.005.356-.243 1.207-1.524.551-.827.766-.6.4-1.237-.289-.5-.269-.778.25-1.089q.148-.092.307-.178c1.01-.548 1.016.75 1.418.75a3.5 3.5 0 0 0 .567-.1 5.5 5.5 0 0 1 1.862.1c.365 0 .32-.882 1.033-.882a1.8 1.8 0 0 1 .688.315c.935.5.072 1.19.072 1.476Zm-7.015-.88a1.14 1.14 0 0 0 .094.483 4 4 0 0 1 .178.368 8 8 0 0 0-.555.779 3.7 3.7 0 0 0-.416.951C.729 4.129.004 4.5.004 5.374c0 .6-.077 1.2.438 1.6a1.54 1.54 0 0 0 1.081.315 4.4 4.4 0 0 0 .668 1.336c.1.137.212.26.3.4a1.9 1.9 0 0 0-.272.849c0 .82.637 1.07 1.088 1.343a1.267 1.267 0 0 0 1.89-.617 6.3 6.3 0 0 0 1.636.055 3 3 0 0 1 .43-.055 1.4 1.4 0 0 0 .4.543c.757.56 1.307.19 1.987-.221a1.28 1.28 0 0 0 .286-1.9 4.7 4.7 0 0 0 1-1.731 1.52 1.52 0 0 0 1.068-.307c.541-.411.456-1.021.456-1.639a1.24 1.24 0 0 0-.456-.913 1.53 1.53 0 0 0-1.064-.3 4.4 4.4 0 0 0-.668-1.336c-.1-.135-.212-.259-.3-.394a3 3 0 0 1 .17-.346 1.246 1.246 0 0 0-.47-1.551A2.17 2.17 0 0 0 8.355 0a1.05 1.05 0 0 0-.678.264 1.34 1.34 0 0 0-.415.556A6.3 6.3 0 0 0 5.629.764a3 3 0 0 1-.432.056A1.28 1.28 0 0 0 4.104 0 2.1 2.1 0 0 0 2.81.5a1.25 1.25 0 0 0-.587 1.05Z"}),qe("path",{d:"M4.076 5.861a2.05 2.05 0 0 1 .63-1.678 1.9 1.9 0 0 1 .581-.421 2.173 2.173 0 0 1 2.9 2.9 2.19 2.19 0 0 1-1.8 1.206 2.14 2.14 0 0 1-1.1-.2 2.18 2.18 0 0 1-1.211-1.807m-.637-.334v.368a2.806 2.806 0 0 0 4.412 2.1 2.2 2.2 0 0 0 .36-.308 2.7 2.7 0 0 0 .812-1.8 2.64 2.64 0 0 0-.264-1.406A2.81 2.81 0 0 0 6.413 2.91a2.68 2.68 0 0 0-1.805.5 3 3 0 0 0-.656.651 2.64 2.64 0 0 0-.516 1.466Z"})],-1)]))}const mb={render:qb},Vb=rs({components:{PrimeButton:sA,PrimeDialog:ff,PrimeSelect:yf,Slider:If,SettingsIcon:mb},props:{callVolume:Number,notificationVolume:Number,selectedMicId:String,selectedSpeakerId:String,microphones:Array,speakers:Array},emits:["update:callVolume","update:notificationVolume","update:selectedMicId","update:selectedSpeakerId"],setup(e,{emit:t}){const o="1.0.12",A="@tmsoft/webphone",l=Je(!1),a=at(()=>{var p;return((p=e.microphones)==null?void 0:p.find(q=>q.deviceId===e.selectedMicId))||null}),n=at(()=>{var p;return((p=e.speakers)==null?void 0:p.find(q=>q.deviceId===e.selectedSpeakerId))||null});return{showSettings:l,openDialog:()=>{l.value=!0},updateCallVolume:p=>{t("update:callVolume",Array.isArray(p)?p[0]:p)},updateNotificationVolume:p=>{t("update:notificationVolume",Array.isArray(p)?p[0]:p)},updateSelectedMic:p=>{t("update:selectedMicId",p)},updateSelectedSpeaker:p=>{t("update:selectedSpeakerId",p)},selectedMic:a,selectedSpeaker:n,version:o,packageName:A}}}),Sf=(e,t)=>{const o=e.__vccOpts||e;for(const[A,l]of t)o[A]=l;return o},bb={class:"max-w-xs w-full mt-2 flex flex-col gap-4"},Cb={class:"flex flex-col gap-2"},vb={class:"flex flex-col gap-2"},yb={class:"flex items-center truncate"},Ib={class:"flex items-center"},Sb={class:"truncate"},wb={class:"flex items-center truncate"},Eb={class:"flex items-center"},kb={class:"truncate"},Tb={class:"text-center"},Rb={class:"text-sm"};function Mb(e,t,o,A,l,a){const n=Qe("SettingsIcon"),f=Qe("PrimeButton"),h=Qe("Slider"),s=Qe("PrimeSelect"),d=Qe("PrimeDialog");return de(),Ve("div",null,[Te(f,{variant:"text",severity:"contrast",size:"large",rounded:"",onClick:e.openDialog},{default:Ze(()=>[Te(n,{class:"w-6 h-6 cursor-pointer text-[#7a75b5]"})]),_:1},8,["onClick"]),Te(d,{visible:e.showSettings,"onUpdate:visible":t[0]||(t[0]=c=>e.showSettings=c),style:{width:"320px"},header:"Configuración",modal:""},{default:Ze(()=>[qe("div",bb,[qe("div",Cb,[t[1]||(t[1]=qe("label",{class:"block text-sm font-medium"},"Volumen de Llamada:",-1)),Te(h,{modelValue:e.callVolume,min:0,max:100,"onUpdate:modelValue":e.updateCallVolume},null,8,["modelValue","onUpdate:modelValue"])]),qe("div",vb,[t[2]||(t[2]=qe("label",{class:"block text-sm font-medium"},"Volumen de Notificaciones:",-1)),Te(h,{modelValue:e.notificationVolume,min:0,max:100,"onUpdate:modelValue":e.updateNotificationVolume},null,8,["modelValue","onUpdate:modelValue"])]),qe("div",null,[t[3]||(t[3]=qe("label",{class:"block text-sm font-medium"},"Micrófono:",-1)),Te(s,{"model-value":e.selectedMicId,options:e.microphones,optionLabel:"label",optionValue:"deviceId",placeholder:"Seleccionar Micrófono",size:"small",class:"max-w-xs w-full text-gray-900 text-sm truncate","onUpdate:modelValue":e.updateSelectedMic},{value:Ze(()=>{var c;return[qe("div",yb,[qe("span",null,$e(((c=e.selectedMic)==null?void 0:c.label)||"Seleccione un micrófono"),1)])]}),option:Ze(({option:c})=>[qe("div",Ib,[qe("small",Sb,$e(c.label),1)])]),_:1},8,["model-value","options","onUpdate:modelValue"])]),qe("div",null,[t[4]||(t[4]=qe("label",{class:"block text-sm font-medium"},"Altavoz:",-1)),Te(s,{"model-value":e.selectedSpeakerId,options:e.speakers,optionLabel:"label",optionValue:"deviceId",placeholder:"Seleccionar Altavoz",size:"small",class:"max-w-xs w-full text-gray-900 text-sm truncate","onUpdate:modelValue":e.updateSelectedSpeaker},{value:Ze(()=>{var c;return[qe("div",wb,[qe("span",null,$e(((c=e.selectedSpeaker)==null?void 0:c.label)||"Seleccione un altavoz"),1)])]}),option:Ze(({option:c})=>[qe("div",Eb,[qe("small",kb,$e(c.label),1)])]),_:1},8,["model-value","options","onUpdate:modelValue"])]),qe("div",Tb,[qe("p",Rb,"v"+$e(e.version),1)])])]),_:1},8,["visible"])])}const xb=Sf(Vb,[["render",Mb]]),Ob={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",class:"lucide lucide-arrow-left"};function Bb(e,t){return de(),Ve("svg",Ob,t[0]||(t[0]=[qe("path",{d:"m12 19-7-7 7-7M19 12H5"},null,-1)]))}const Ub={render:Bb},Db=rs({name:"WebPhone",props:{extension:{type:String,required:!0},password:{type:String,required:!0},domain:{type:String,required:!0},mode:{type:String,default:"call",validator:e=>["webcall","call","video"].includes(e)},image:{type:String,required:!1},to:{type:String,required:!1},callback:{type:Function,required:!1}},components:{PrimeButton:sA,ArrowBackIcon:Ub,PrimeInputText:Ss,WebphoneSettings:xb,LogoIcon:gm,ExtensionIcon:qm,NumpadIcon:bm,CallIcon:wm,HangupIcon:Tm,MicrophoneIcon:xm,NumpadOffIcon:ym,MicrophoneOffIcon:Um,KeyboardDeleteIcon:Fm,NebulaIcon:Gm},setup(e){const t=Je(),o=Je(),A=Je(!1),l=Je(!1),a=at(()=>e.mode==="webcall"),n=at(()=>e.mode==="call"),f=at(()=>e.mode==="video"),h=at(()=>a.value?e.to:s.phoneNumber.value),s=S0({wsServers:`ws://${e.domain}:8089/asterisk/ws`,sipUri:`sip:${e.extension}@${e.domain}`,sipPassword:e.password,displayName:"Anw",domain:e.domain,debug:!0}),d=v=>{const O=["Backspace","ArrowLeft","ArrowRight","Tab","Delete"],L=/[0-9*#]/;!O.includes(v.key)&&!L.test(v.key)&&v.preventDefault(),v.key==="Enter"&&s.phoneNumber.value.trim().length>0&&s.makeCall(s.phoneNumber.value,!1)},c=()=>{A.value=!A.value},p=v=>{const O=Array.isArray(v)?v[0]:v;s.setVolume("call",O)},q=v=>{const O=Array.isArray(v)?v[0]:v;s.setVolume("notification",O)},M=["1","2","3","4","5","6","7","8","9","*","0","#"],T=v=>{var O;s.activeCall.value?(O=s.sendDTMF)==null||O.call(s,v):s.phoneNumber.value=`${s.phoneNumber.value}${v}`},R=at(()=>s.isSIPActive&&h.value&&h.value.trim().length>0),I=at(()=>s.activeCall.value?"text-[#03ac7e]":s.isRinging.value?"text-blue-400":s.isIncomingCall.value?"text-yellow-400":s.isSIPActive.value?"text-[#03ac7e]":"text-red-500"),x=v=>{t.value.toggle(v)},E=v=>{o.value.toggle(v)},C=()=>{s.phoneNumber.value.length>0&&(s.phoneNumber.value=s.phoneNumber.value.slice(0,-1))};return rn(()=>s.activeCall.value,v=>{!v&&a.value&&(A.value=!1)}),Ph(()=>{setTimeout(()=>{s.isSIPActive.value&&a.value&&e.to&&s.makeCall(e.to,!1)},2e3)}),{...s,setCallVolume:p,validateKeydown:d,setNotificationVolume:q,dtmfKeys:M,canCall:R,handleDTMF:T,statusClass:I,showNumpad:A,toggleNumpad:c,audioVolumeRef:t,audioDevicesRef:o,toggleAudioVolume:x,toggleAudioDevices:E,deleteLastDigit:C,isWebcall:a,isCall:n,isVideo:f,finalPhoneNumber:h,showSettings:l}}}),Lb={class:"max-w-xs h-full dark:bg-neutral-800 m-auto rounded-xl shadow-lg flex flex-col items-center justify-center p-2"},Fb={ref:"playerRef",controls:"",class:"hidden"},Qb={ref:"ringerRef",controls:"",class:"hidden"},Yb={ref:"backRingerRef",controls:"",class:"hidden"},Gb={class:"w-full rounded-lg flex items-center justify-center mb-4"},Kb={ref:"viewerRef",autoplay:"",playsinline:"",class:"hidden"},Jb={ref:"selfViewerRef",autoplay:"",muted:"",playsinline:"",class:"hidden"},Nb={class:"flex flex-col items-center justify-center gap-2"},jb={key:0,class:"flex flex-row w-full justify-center items-center"},Wb={key:0},Hb={class:"border border-black dark:border-white rounded-lg w-full p-1 flex justify-center flex-row gap-2"},Zb={key:1,class:"relative flex items-center justify-center w-24 h-24"},Pb=["src"],zb={key:2,class:"text-[#03AC7E] p-1 border-b-1 border-neutral-500 w-full text-center"},_b={key:3,class:"w-full p-2 flex justify-center items-center flex-row gap-2"},Xb={class:"w-full p-2 flex justify-center items-center flex-row gap-2"},$b={key:0,class:"flex flex-row gap-2 items-center justify-between"},eC={key:1,class:"grid grid-cols-3 gap-x-4 gap-y-2 w-fit justify-between my-4"},tC={class:"grid grid-cols-3 gap-4 w-fit justify-between my-4"},nC={class:"flex justify-center items-center"},rC={class:"flex justify-center items-center"},oC={class:"flex justify-center items-center"},AC={key:2,class:"text-[#789f29] flex gap-x-2 justify-center items-center",href:"https://www.nebula123.com",target:"_blank"};function iC(e,t,o,A,l,a){const n=Qe("ArrowBackIcon"),f=Qe("PrimeButton"),h=Qe("LogoIcon"),s=Qe("ExtensionIcon"),d=Qe("PrimeInputText"),c=Qe("NumpadIcon"),p=Qe("NumpadOffIcon"),q=Qe("MicrophoneIcon"),M=Qe("MicrophoneOffIcon"),T=Qe("CallIcon"),R=Qe("HangupIcon"),I=Qe("KeyboardDeleteIcon"),x=Qe("WebphoneSettings"),E=Qe("NebulaIcon");return de(),Ve("div",Lb,[qe("audio",Fb,null,512),qe("audio",Qb,null,512),qe("audio",Yb,null,512),qe("div",Gb,[qe("video",Kb,null,512),qe("video",Jb,null,512),qe("div",Nb,[e.isWebcall?(de(),Ve("div",jb,[e.callback?(de(),Ve("div",Wb,[Te(f,{size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",onClick:e.callback},{default:Ze(()=>[Te(n)]),_:1},8,["onClick"])])):Me("",!0),qe("div",Hb,[Te(h,{class:"w-5 h-5"}),t[3]||(t[3]=qe("small",null,"WebCall - Llamada WEB",-1))])])):Me("",!0),e.isWebcall&&e.image?(de(),Ve("div",Zb,[qe("img",{class:"w-24 h-auto relative z-10",src:e.image,alt:"Company logo"},null,8,Pb)])):Me("",!0),e.isWebcall?Me("",!0):(de(),Ve("div",zb,t[4]||(t[4]=[qe("small",null,"Webphone",-1)]))),e.isWebcall?Me("",!0):(de(),Ve("div",_b,[Te(s,{class:ht(["w-8 h-8",e.statusClass])},null,8,["class"]),qe("span",{class:ht(["text-2xl",e.statusClass])},$e(e.extension),3)])),qe("div",Xb,[e.isWebcall&&e.activeCall?(de(),Oe(s,{key:0,class:ht(["w-8 h-8",e.statusClass])},null,8,["class"])):Me("",!0),e.activeCall?(de(),Ve("span",{key:1,class:ht(["text-3xl",e.statusClass])},$e(e.formattedCallDuration),3)):Me("",!0)]),qe("p",{class:ht(e.statusClass)},$e(e.statusMessage),3)])]),e.isWebcall?Me("",!0):(de(),Ve("div",$b,[Te(d,{size:"small",modelValue:e.phoneNumber,"onUpdate:modelValue":t[0]||(t[0]=C=>e.phoneNumber=C),onKeydown:e.validateKeydown,placeholder:"Ingresar número",type:"tel",inputmode:"tel",class:"w-full"},null,8,["modelValue","onKeydown"]),Te(f,{variant:"text",severity:"contrast",size:"small",rounded:""},{default:Ze(()=>[e.showNumpad?(de(),Oe(p,{key:1,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"])):(de(),Oe(c,{key:0,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"]))]),_:1})])),e.showNumpad?(de(),Ve("div",eC,[(de(!0),Ve(et,null,xo(e.dtmfKeys,C=>(de(),Oe(f,{rounded:"",class:"w-12 h-12 !p-0 mx-2 !text-[#03AC7E] !text-2xl",variant:"text",severity:"contrast",key:C,size:"large",label:C,onClick:v=>e.handleDTMF(C)},null,8,["label","onClick"]))),128))])):Me("",!0),qe("div",tC,[qe("div",nC,[e.activeCall&&e.isWebcall?(de(),Oe(f,{key:0,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canMute,onClick:e.toggleMute},{default:Ze(()=>[e.isMuted?(de(),Oe(M,{key:1,class:"text-[#7a75b5]"})):(de(),Oe(q,{key:0,class:"text-[#7a75b5]"}))]),_:1},8,["disabled","onClick"])):Me("",!0)]),qe("div",rC,[!e.activeCall&&!e.isIncomingCall?(de(),Oe(f,{key:0,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",onClick:t[1]||(t[1]=C=>e.isOutgoingCall?e.endCall():e.makeCall(e.finalPhoneNumber??"",!1))},{default:Ze(()=>[e.isOutgoingCall?(de(),Oe(R,{key:1,class:"text-[#F30A0A]"})):(de(),Oe(T,{key:0,class:"text-[#03AC7E]"}))]),_:1})):Me("",!0),e.isIncomingCall&&!e.activeCall?(de(),Oe(f,{key:1,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",icon:"pi pi-phone",severity:"primary",onClick:e.answerCall},null,8,["onClick"])):Me("",!0),e.activeCall?(de(),Oe(f,{key:2,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canHangup,onClick:e.endCall},{default:Ze(()=>[Te(R,{class:"text-[#F30A0A]"})]),_:1},8,["disabled","onClick"])):Me("",!0)]),qe("div",oC,[e.isWebcall&&e.activeCall?(de(),Oe(f,{key:0,class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",size:"large",rounded:""},{default:Ze(()=>[e.showNumpad?(de(),Oe(p,{key:1,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"])):(de(),Oe(c,{key:0,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"]))]),_:1})):Me("",!0),e.phoneNumber.length>0&&!e.activeCall&&!e.isWebcall?(de(),Oe(f,{key:1,size:"large",rounded:"",class:"!w-10 !h-10 !p-0",variant:"text",severity:"danger",onClick:e.deleteLastDigit},{default:Ze(()=>[Te(I,{class:""})]),_:1},8,["onClick"])):Me("",!0),e.activeCall&&!e.isWebcall?(de(),Oe(f,{key:2,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canMute,onClick:e.toggleMute},{default:Ze(()=>[e.isMuted?(de(),Oe(M,{key:1,class:"text-[#7a75b5]"})):(de(),Oe(q,{key:0,class:"text-[#7a75b5]"}))]),_:1},8,["disabled","onClick"])):Me("",!0)])]),Te(x,{visible:e.showSettings,"onUpdate:visible":t[2]||(t[2]=C=>e.showSettings=C),callVolume:e.callVolume,notificationVolume:e.notificationVolume,selectedMicId:e.selectedMicId??void 0,selectedSpeakerId:e.selectedSpeakerId??void 0,microphones:e.microphones,speakers:e.speakers,"onUpdate:callVolume":e.setCallVolume,"onUpdate:notificationVolume":e.setNotificationVolume,"onUpdate:selectedMicId":e.changeMicrophone,"onUpdate:selectedSpeakerId":e.changeSpeaker},null,8,["visible","callVolume","notificationVolume","selectedMicId","selectedSpeakerId","microphones","speakers","onUpdate:callVolume","onUpdate:notificationVolume","onUpdate:selectedMicId","onUpdate:selectedSpeakerId"]),e.isWebcall?(de(),Ve("a",AC,[Te(E,{class:"w-6 h-6"}),t[5]||(t[5]=qe("span",{class:"text-center text-[12px]"},[qe("p",null,"Powered By"),qe("p",null,"www.nebula123.com")],-1))])):Me("",!0)])}const wf=Sf(Db,[["render",iC]]);function jr(e){"@babel/helpers - typeof";return jr=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},jr(e)}function hc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function Co(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?hc(Object(o),!0).forEach(function(A){sC(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function sC(e,t,o){return(t=lC(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function lC(e){var t=aC(e,"string");return jr(t)=="symbol"?t:t+""}function aC(e,t){if(jr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(jr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uC={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",fileChosenMessage:"{0} files",noFileChosenMessage:"No file chosen",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}},filterMatchModeOptions:{text:[dt.STARTS_WITH,dt.CONTAINS,dt.NOT_CONTAINS,dt.ENDS_WITH,dt.EQUALS,dt.NOT_EQUALS],numeric:[dt.EQUALS,dt.NOT_EQUALS,dt.LESS_THAN,dt.LESS_THAN_OR_EQUAL_TO,dt.GREATER_THAN,dt.GREATER_THAN_OR_EQUAL_TO],date:[dt.DATE_IS,dt.DATE_IS_NOT,dt.DATE_BEFORE,dt.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},cC=Symbol();function dC(e,t){var o={config:Zo(t)};return e.config.globalProperties.$primevue=o,e.provide(cC,o),fC(),gC(e,o),o}var jn=[];function fC(){Ut.clear(),jn.forEach(function(e){return e==null?void 0:e()}),jn=[]}function gC(e,t){var o=Je(!1),A=function(){var s;if(((s=t.config)===null||s===void 0?void 0:s.theme)!=="none"&&!Ne.isStyleNameLoaded("common")){var d,c,p=((d=Ge.getCommonTheme)===null||d===void 0?void 0:d.call(Ge))||{},q=p.primitive,M=p.semantic,T=p.global,R=p.style,I={nonce:(c=t.config)===null||c===void 0||(c=c.csp)===null||c===void 0?void 0:c.nonce};Ge.load(q==null?void 0:q.css,Co({name:"primitive-variables"},I)),Ge.load(M==null?void 0:M.css,Co({name:"semantic-variables"},I)),Ge.load(T==null?void 0:T.css,Co({name:"global-variables"},I)),Ge.loadTheme(Co({name:"global-style"},I),R),Ne.setLoadedStyleName("common")}};Ut.on("theme:change",function(h){o.value||(e.config.globalProperties.$primevue.config.theme=h,o.value=!0)});var l=rn(t.config,function(h,s){Nn.emit("config:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0}),a=rn(function(){return t.config.ripple},function(h,s){Nn.emit("config:ripple:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0}),n=rn(function(){return t.config.theme},function(h,s){o.value||Ne.setTheme(h),t.config.unstyled||A(),o.value=!1,Nn.emit("config:theme:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!1}),f=rn(function(){return t.config.unstyled},function(h,s){!h&&t.config.theme&&A(),Nn.emit("config:unstyled:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0});jn.push(l),jn.push(a),jn.push(n),jn.push(f)}var hC={install:function(t,o){var A=O0(uC,o);dC(t,A)}},pC={transitionDuration:"{transition.duration}"},qC={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},mC={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},VC={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},bC={root:pC,panel:qC,header:mC,content:VC},CC={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},vC={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},yC={padding:"{list.padding}",gap:"{list.gap}"},IC={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},SC={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},wC={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},EC={borderRadius:"{border.radius.sm}"},kC={padding:"{list.option.padding}"},TC={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},RC={root:CC,overlay:vC,list:yC,option:IC,optionGroup:SC,dropdown:wC,chip:EC,emptyMessage:kC,colorScheme:TC},MC={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},xC={size:"1rem"},OC={borderColor:"{content.background}",offset:"-0.75rem"},BC={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},UC={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},DC={root:MC,icon:xC,group:OC,lg:BC,xl:UC},LC={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},FC={size:"0.5rem"},QC={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},YC={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},GC={fontSize:"1rem",minWidth:"2rem",height:"2rem"},KC={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},JC={root:LC,dot:FC,sm:QC,lg:YC,xl:GC,colorScheme:KC},NC={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},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"},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"},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"}},jC={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},WC={primitive:NC,semantic:jC},HC={borderRadius:"{content.border.radius}"},ZC={root:HC},PC={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},zC={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_C={color:"{navigation.item.icon.color}"},XC={root:PC,item:zC,separator:_C},$C={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},ev={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},tv={root:$C,colorScheme:ev},nv={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},rv={padding:"1.25rem",gap:"0.5rem"},ov={gap:"0.5rem"},Av={fontSize:"1.25rem",fontWeight:"500"},iv={color:"{text.muted.color}"},sv={root:nv,body:rv,caption:ov,title:Av,subtitle:iv},lv={transitionDuration:"{transition.duration}"},av={gap:"0.25rem"},uv={padding:"1rem",gap:"0.5rem"},cv={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},dv={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},fv={root:lv,content:av,indicatorList:uv,indicator:cv,colorScheme:dv},gv={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},hv={width:"2.5rem",color:"{form.field.icon.color}"},pv={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},qv={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},mv={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},Vv={color:"{form.field.icon.color}"},bv={root:gv,dropdown:hv,overlay:pv,list:qv,option:mv,clearIcon:Vv},Cv={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},vv={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},yv={root:Cv,icon:vv},Iv={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},Sv={width:"2rem",height:"2rem"},wv={size:"1rem"},Ev={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},kv={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},Tv={root:Iv,image:Sv,icon:wv,removeIcon:Ev,colorScheme:kv},Rv={transitionDuration:"{transition.duration}"},Mv={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},xv={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},Ov={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},Bv={root:Rv,preview:Mv,panel:xv,colorScheme:Ov},Uv={size:"2rem",color:"{overlay.modal.color}"},Dv={gap:"1rem"},Lv={icon:Uv,content:Dv},Fv={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},Qv={padding:"{overlay.popover.padding}",gap:"1rem"},Yv={size:"1.5rem",color:"{overlay.popover.color}"},Gv={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},Kv={root:Fv,content:Qv,icon:Yv,footer:Gv},Jv={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},Nv={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},jv={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Wv={mobileIndent:"1rem"},Hv={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},Zv={borderColor:"{content.border.color}"},Pv={root:Jv,list:Nv,item:jv,submenu:Wv,submenuIcon:Hv,separator:Zv},zv={transitionDuration:"{transition.duration}"},_v={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},Xv={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},$v={fontWeight:"600"},ey={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},ty={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},ny={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},ry={fontWeight:"600"},oy={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},Ay={color:"{primary.color}"},iy={width:"0.5rem"},sy={width:"1px",color:"{primary.color}"},ly={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},ay={size:"2rem"},uy={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},cy={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},dy={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},fy={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},gy={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},hy={root:zv,header:_v,headerCell:Xv,columnTitle:$v,row:ey,bodyCell:ty,footerCell:ny,columnFooter:ry,footer:oy,dropPoint:Ay,columnResizer:iy,resizeIndicator:sy,sortIcon:ly,loadingIcon:ay,rowToggleButton:uy,filter:cy,paginatorTop:dy,paginatorBottom:fy,colorScheme:gy},py={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},qy={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},my={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},Vy={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},by={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Cy={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},vy={root:py,header:qy,content:my,footer:Vy,paginatorTop:by,paginatorBottom:Cy},yy={transitionDuration:"{transition.duration}"},Iy={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},Sy={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},wy={gap:"0.5rem",fontWeight:"500"},Ey={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},ky={color:"{form.field.icon.color}"},Ty={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},Ry={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},My={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},xy={margin:"0.5rem 0 0 0"},Oy={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},By={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Uy={margin:"0.5rem 0 0 0"},Dy={padding:"0.375rem",borderRadius:"{content.border.radius}"},Ly={margin:"0.5rem 0 0 0"},Fy={padding:"0.375rem",borderRadius:"{content.border.radius}"},Qy={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},Yy={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},Gy={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},Ky={root:yy,panel:Iy,header:Sy,title:wy,dropdown:Ey,inputIcon:ky,selectMonth:Ty,selectYear:Ry,group:My,dayView:xy,weekDay:Oy,date:By,monthView:Uy,month:Dy,yearView:Ly,year:Fy,buttonbar:Qy,timePicker:Yy,colorScheme:Gy},Jy={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},Ny={padding:"{overlay.modal.padding}",gap:"0.5rem"},jy={fontSize:"1.25rem",fontWeight:"600"},Wy={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},Hy={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},Zy={root:Jy,header:Ny,title:jy,content:Wy,footer:Hy},Py={borderColor:"{content.border.color}"},zy={background:"{content.background}",color:"{text.color}"},_y={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},Xy={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},$y={root:Py,content:zy,horizontal:_y,vertical:Xy},e1={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},t1={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},n1={root:e1,item:t1},r1={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},o1={padding:"{overlay.modal.padding}"},A1={fontSize:"1.5rem",fontWeight:"600"},i1={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},s1={padding:"{overlay.modal.padding}"},l1={root:r1,header:o1,title:A1,content:i1,footer:s1},a1={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},u1={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},c1={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},d1={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},f1={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},g1={toolbar:a1,toolbarItem:u1,overlay:c1,overlayOption:d1,content:f1},h1={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},p1={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q1={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},m1={padding:"0"},V1={root:h1,legend:p1,toggleIcon:q1,content:m1},b1={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},C1={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},v1={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},y1={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},I1={gap:"0.5rem"},S1={height:"0.25rem"},w1={gap:"0.5rem"},E1={root:b1,header:C1,content:v1,file:y1,fileList:I1,progressbar:S1,basic:w1},k1={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},T1={active:{top:"-1.25rem"}},R1={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},M1={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},x1={root:k1,over:T1,in:R1,on:M1},O1={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},B1={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},U1={size:"1.5rem"},D1={background:"{content.background}",padding:"1rem 0.25rem"},L1={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},F1={size:"1rem"},Q1={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},Y1={gap:"0.5rem",padding:"1rem"},G1={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K1={background:"rgba(0, 0, 0, 0.5)"},J1={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},N1={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},j1={size:"1.5rem"},W1={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},H1={root:O1,navButton:B1,navIcon:U1,thumbnailsContent:D1,thumbnailNavButton:L1,thumbnailNavButtonIcon:F1,caption:Q1,indicatorList:Y1,indicatorButton:G1,insetIndicatorList:K1,insetIndicatorButton:J1,closeButton:N1,closeButtonIcon:j1,colorScheme:W1},Z1={color:"{form.field.icon.color}"},P1={icon:Z1},z1={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},_1={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},X1={root:z1,input:_1},$1={transitionDuration:"{transition.duration}"},eI={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},tI={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},nI={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},rI={root:$1,preview:eI,toolbar:tI,action:nI},oI={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},AI={handle:oI},iI={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},sI={fontWeight:"500"},lI={size:"1rem"},aI={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},uI={root:iI,text:sI,icon:lI,colorScheme:aI},cI={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},dI={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},fI={root:cI,display:dI},gI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},hI={borderRadius:"{border.radius.sm}"},pI={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},qI={root:gI,chip:hI,colorScheme:pI},mI={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},VI={addon:mI},bI={transitionDuration:"{transition.duration}"},CI={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},vI={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},yI={root:bI,button:CI,colorScheme:vI},II={gap:"0.5rem"},SI={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},wI={root:II,input:SI},EI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},kI={root:EI},TI={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},RI={background:"{primary.color}"},MI={background:"{content.border.color}"},xI={color:"{text.muted.color}"},OI={root:TI,value:RI,range:MI,text:xI},BI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},UI={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},DI={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},LI={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},FI={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},QI={padding:"{list.option.padding}"},YI={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},GI={root:BI,list:UI,option:DI,optionGroup:LI,checkmark:FI,emptyMessage:QI,colorScheme:YI},KI={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},JI={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},NI={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},jI={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},WI={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},HI={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},ZI={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},PI={borderColor:"{content.border.color}"},zI={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_I={root:KI,baseItem:JI,item:NI,overlay:jI,submenu:WI,submenuLabel:HI,submenuIcon:ZI,separator:PI,mobileButton:zI},XI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},$I={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},eS={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},tS={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},nS={borderColor:"{content.border.color}"},rS={root:XI,list:$I,item:eS,submenuLabel:tS,separator:nS},oS={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},AS={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},iS={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},sS={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},lS={borderColor:"{content.border.color}"},aS={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},uS={root:oS,baseItem:AS,item:iS,submenu:sS,separator:lS,mobileButton:aS},cS={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},dS={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},fS={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},gS={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},hS={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},pS={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},qS={root:{borderWidth:"1px"}},mS={content:{padding:"0"}},VS={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},bS={root:cS,content:dS,text:fS,icon:gS,closeButton:hS,closeIcon:pS,outlined:qS,simple:mS,colorScheme:VS},CS={borderRadius:"{content.border.radius}",gap:"1rem"},vS={background:"{content.border.color}",size:"0.5rem"},yS={gap:"0.5rem"},IS={size:"0.5rem"},SS={size:"1rem"},wS={verticalGap:"0.5rem",horizontalGap:"1rem"},ES={root:CS,meters:vS,label:yS,labelMarker:IS,labelIcon:SS,labelList:wS},kS={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},TS={width:"2.5rem",color:"{form.field.icon.color}"},RS={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},MS={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},xS={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},OS={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},BS={color:"{form.field.icon.color}"},US={borderRadius:"{border.radius.sm}"},DS={padding:"{list.option.padding}"},LS={root:kS,dropdown:TS,overlay:RS,list:MS,option:xS,optionGroup:OS,chip:US,clearIcon:BS,emptyMessage:DS},FS={gap:"1.125rem"},QS={gap:"0.5rem"},YS={root:FS,controls:QS},GS={gutter:"0.75rem",transitionDuration:"{transition.duration}"},KS={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},JS={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NS={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},jS={root:GS,node:KS,nodeToggleButton:JS,connector:NS},WS={outline:{width:"2px",color:"{content.background}"}},HS={root:WS},ZS={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},PS={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zS={color:"{text.muted.color}"},_S={maxWidth:"2.5rem"},XS={root:ZS,navButton:PS,currentPageReport:zS,jumpToPageInput:_S},$S={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},e2={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},t2={padding:"0.375rem 1.125rem"},n2={fontWeight:"600"},r2={padding:"0 1.125rem 1.125rem 1.125rem"},o2={padding:"0 1.125rem 1.125rem 1.125rem"},A2={root:$S,header:e2,toggleableHeader:t2,title:n2,content:r2,footer:o2},i2={gap:"0.5rem",transitionDuration:"{transition.duration}"},s2={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},l2={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},a2={indent:"1rem"},u2={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},c2={root:i2,panel:s2,item:l2,submenu:a2,submenuIcon:u2},d2={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},f2={color:"{form.field.icon.color}"},g2={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},h2={gap:"0.5rem"},p2={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},q2={meter:d2,icon:f2,overlay:g2,content:h2,colorScheme:p2},m2={gap:"1.125rem"},V2={gap:"0.5rem"},b2={root:m2,controls:V2},C2={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},v2={padding:"{overlay.popover.padding}"},y2={root:C2,content:v2},I2={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},S2={background:"{primary.color}"},w2={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},E2={root:I2,value:S2,label:w2},k2={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},T2={colorScheme:k2},R2={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},M2={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},x2={root:R2,icon:M2},O2={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},B2={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},U2={root:O2,icon:B2},D2={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},L2={colorScheme:D2},F2={transitionDuration:"{transition.duration}"},Q2={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Y2={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},G2={root:F2,bar:Q2,colorScheme:Y2},K2={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},J2={width:"2.5rem",color:"{form.field.icon.color}"},N2={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},j2={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},W2={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},H2={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},Z2={color:"{form.field.icon.color}"},P2={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},z2={padding:"{list.option.padding}"},_2={root:K2,dropdown:J2,overlay:N2,list:j2,option:W2,optionGroup:H2,clearIcon:Z2,checkmark:P2,emptyMessage:z2},X2={borderRadius:"{form.field.border.radius}"},$2={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},ew={root:X2,colorScheme:$2},tw={borderRadius:"{content.border.radius}"},nw={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},rw={root:tw,colorScheme:nw},ow={transitionDuration:"{transition.duration}"},Aw={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},iw={background:"{primary.color}"},sw={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},lw={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},aw={root:ow,track:Aw,range:iw,handle:sw,colorScheme:lw},uw={gap:"0.5rem",transitionDuration:"{transition.duration}"},cw={root:uw},dw={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},fw={root:dw},gw={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},hw={background:"{content.border.color}"},pw={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},qw={root:gw,gutter:hw,handle:pw},mw={transitionDuration:"{transition.duration}"},Vw={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},bw={padding:"0.5rem",gap:"1rem"},Cw={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},vw={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},yw={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},Iw={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Sw={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},ww={root:mw,separator:Vw,step:bw,stepHeader:Cw,stepTitle:vw,stepNumber:yw,steppanels:Iw,steppanel:Sw},Ew={transitionDuration:"{transition.duration}"},kw={background:"{content.border.color}"},Tw={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},Rw={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Mw={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},xw={root:Ew,separator:kw,itemLink:Tw,itemLabel:Rw,itemNumber:Mw},Ow={transitionDuration:"{transition.duration}"},Bw={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Uw={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Dw={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Lw={height:"1px",bottom:"-1px",background:"{primary.color}"},Fw={root:Ow,tablist:Bw,item:Uw,itemIcon:Dw,activeBar:Lw},Qw={transitionDuration:"{transition.duration}"},Yw={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Gw={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Kw={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},Jw={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Nw={height:"1px",bottom:"-1px",background:"{primary.color}"},jw={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},Ww={root:Qw,tablist:Yw,tab:Gw,tabpanel:Kw,navButton:Jw,activeBar:Nw,colorScheme:jw},Hw={transitionDuration:"{transition.duration}"},Zw={background:"{content.background}",borderColor:"{content.border.color}"},Pw={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},zw={background:"{content.background}",color:"{content.color}"},_w={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},Xw={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},$w={root:Hw,tabList:Zw,tab:Pw,tabPanel:zw,navButton:_w,colorScheme:Xw},eE={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},tE={size:"0.75rem"},nE={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},rE={root:eE,icon:tE,colorScheme:nE},oE={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},AE={gap:"0.25rem"},iE={margin:"2px 0"},sE={root:oE,prompt:AE,commandResponse:iE},lE={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},aE={root:lE},uE={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},cE={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},dE={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},fE={mobileIndent:"1rem"},gE={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},hE={borderColor:"{content.border.color}"},pE={root:uE,list:cE,item:dE,submenu:fE,submenuIcon:gE,separator:hE},qE={minHeight:"5rem"},mE={eventContent:{padding:"1rem 0"}},VE={eventContent:{padding:"0 1rem"}},bE={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},CE={color:"{content.border.color}",size:"2px"},vE={event:qE,horizontal:mE,vertical:VE,eventMarker:bE,eventConnector:CE},yE={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},IE={size:"1.125rem"},SE={padding:"{overlay.popover.padding}",gap:"0.5rem"},wE={gap:"0.5rem"},EE={fontWeight:"500",fontSize:"1rem"},kE={fontWeight:"500",fontSize:"0.875rem"},TE={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},RE={size:"1rem"},ME={light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},xE={root:yE,icon:IE,content:SE,text:wE,summary:EE,detail:kE,closeButton:TE,closeIcon:RE,colorScheme:ME},OE={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},BE={disabledColor:"{form.field.disabled.color}"},UE={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},DE={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},LE={root:OE,icon:BE,content:UE,colorScheme:DE},FE={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},QE={borderRadius:"50%",size:"1rem"},YE={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},GE={root:FE,handle:QE,colorScheme:YE},KE={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},JE={root:KE},NE={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},jE={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},WE={root:NE,colorScheme:jE},HE={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},ZE={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},PE={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},zE={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_E={size:"2rem"},XE={margin:"0 0 0.5rem 0"},$E={root:HE,node:ZE,nodeIcon:PE,nodeToggleButton:zE,loadingIcon:_E,filter:XE},ek={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},tk={width:"2.5rem",color:"{form.field.icon.color}"},nk={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},rk={padding:"{list.padding}"},ok={padding:"{list.option.padding}"},Ak={borderRadius:"{border.radius.sm}"},ik={color:"{form.field.icon.color}"},sk={root:ek,dropdown:tk,overlay:nk,tree:rk,emptyMessage:ok,chip:Ak,clearIcon:ik},lk={transitionDuration:"{transition.duration}"},ak={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},uk={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},ck={fontWeight:"600"},dk={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},fk={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},gk={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},hk={fontWeight:"600"},pk={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},qk={width:"0.5rem"},mk={width:"1px",color:"{primary.color}"},Vk={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},bk={size:"2rem"},Ck={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vk={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},yk={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Ik={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Sk={root:lk,header:ak,headerCell:uk,columnTitle:ck,row:dk,bodyCell:fk,footerCell:gk,columnFooter:hk,footer:pk,columnResizer:qk,resizeIndicator:mk,sortIcon:Vk,loadingIcon:bk,nodeToggleButton:Ck,paginatorTop:vk,paginatorBottom:yk,colorScheme:Ik},wk={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},Ek={loader:wk},kk=Object.defineProperty,Tk=Object.defineProperties,Rk=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,Mk=Object.prototype.hasOwnProperty,xk=Object.prototype.propertyIsEnumerable,qc=(e,t,o)=>t in e?kk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,mc,Ok=(mc=((e,t)=>{for(var o in t||(t={}))Mk.call(t,o)&&qc(e,o,t[o]);if(pc)for(var o of pc(t))xk.call(t,o)&&qc(e,o,t[o]);return e})({},WC),Tk(mc,Rk({components:{accordion:bC,autocomplete:RC,avatar:DC,badge:JC,blockui:ZC,breadcrumb:XC,button:tv,card:sv,carousel:fv,cascadeselect:bv,checkbox:yv,chip:Tv,colorpicker:Bv,confirmdialog:Lv,confirmpopup:Kv,contextmenu:Pv,datatable:hy,dataview:vy,datepicker:Ky,dialog:Zy,divider:$y,dock:n1,drawer:l1,editor:g1,fieldset:V1,fileupload:E1,floatlabel:x1,galleria:H1,iconfield:P1,iftalabel:X1,image:rI,imagecompare:AI,inlinemessage:uI,inplace:fI,inputchips:qI,inputgroup:VI,inputnumber:yI,inputotp:wI,inputtext:kI,knob:OI,listbox:GI,megamenu:_I,menu:rS,menubar:uS,message:bS,metergroup:ES,multiselect:LS,orderlist:YS,organizationchart:jS,overlaybadge:HS,paginator:XS,panel:A2,panelmenu:c2,password:q2,picklist:b2,popover:y2,progressbar:E2,progressspinner:T2,radiobutton:x2,rating:U2,ripple:L2,scrollpanel:G2,select:_2,selectbutton:ew,skeleton:rw,slider:aw,speeddial:cw,splitbutton:fw,splitter:qw,stepper:ww,steps:xw,tabmenu:Fw,tabs:Ww,tabview:$w,tag:rE,terminal:sE,textarea:aE,tieredmenu:pE,timeline:vE,toast:xE,togglebutton:LE,toggleswitch:GE,toolbar:JE,tooltip:WE,tree:$E,treeselect:sk,treetable:Sk,virtualscroller:Ek}})));const Ci='@import"https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap";/*! tailwindcss v4.0.8 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(.637 .237 25.331);--color-yellow-400:oklch(.852 .199 91.936);--color-blue-400:oklch(.707 .165 254.624);--color-gray-900:oklch(.21 .034 264.665);--color-neutral-500:oklch(.556 0 0);--color-neutral-800:oklch(.269 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--radius-lg:.5rem;--radius-xl:.75rem;--default-font-family:"Quicksand";--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.static{position:static}.z-10{z-index:10}.m-auto{margin:auto}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.\\!h-10{height:calc(var(--spacing)*10)!important}.\\!h-12{height:calc(var(--spacing)*12)!important}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-24{height:calc(var(--spacing)*24)}.h-auto{height:auto}.h-full{height:100%}.\\!w-10{width:calc(var(--spacing)*10)!important}.\\!w-12{width:calc(var(--spacing)*12)!important}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-xs{max-width:var(--container-xs)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-pointer{cursor:pointer}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-4{column-gap:calc(var(--spacing)*4)}.gap-y-2{row-gap:calc(var(--spacing)*2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-black{border-color:var(--color-black)}.border-neutral-500{border-color:var(--color-neutral-500)}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.text-center{text-align:center}.\\!text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[12px\\]{font-size:12px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\\!text-\\[\\#03AC7E\\]{color:#03ac7e!important}.text-\\[\\#03AC7E\\],.text-\\[\\#03ac7e\\]{color:#03ac7e}.text-\\[\\#7a75b5\\]{color:#7a75b5}.text-\\[\\#789f29\\]{color:#789f29}.text-\\[\\#F30A0A\\]{color:#f30a0a}.text-blue-400{color:var(--color-blue-400)}.text-gray-900{color:var(--color-gray-900)}.text-red-500{color:var(--color-red-500)}.text-yellow-400{color:var(--color-yellow-400)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (prefers-color-scheme:dark){.dark\\:border-white{border-color:var(--color-white)}.dark\\:bg-neutral-800{background-color:var(--color-neutral-800)}}}body{font-family:Quicksand!important}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}',Ef=Np(wf,{shadowRoot:!1,styles:[Ci],configureApp(e){e.use(hC,{theme:{preset:Ok,options:{prefix:"p",darkModeSelector:"system"}}}),e.mixin({mounted(){var o,A;const t=(A=(o=this.$el.getRootNode())==null?void 0:o.host)==null?void 0:A.shadowRoot;if(t){const l=document.createElement("style");l.textContent=`${Ci}`,t.appendChild(l)}if(!document.getElementById("webphone-styles")){const l=document.createElement("style");l.id="webphone-styles",l.textContent=`${Ci}`,document.head.appendChild(l)}}})}});customElements.define("web-phone",Ef);exports.WebPhone=wf;exports.WebphoneElement=Ef;
|
|
1632
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ab(e,t){if(e){if(typeof e=="string")return Ji(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ji(e,t):void 0}}function ub(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cb(e){if(Array.isArray(e))return Ji(e)}function Ji(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,A=Array(t);o<t;o++)A[o]=e[o];return A}var If={name:"Slider",extends:ib,inheritAttrs:!1,emits:["change","slideend"],dragging:!1,handleIndex:null,initX:null,initY:null,barWidth:null,barHeight:null,dragListener:null,dragEndListener:null,beforeUnmount:function(){this.unbindDragListeners()},methods:{updateDomData:function(){var t=this.$el.getBoundingClientRect();this.initX=t.left+Zd(),this.initY=t.top+Pd(),this.barWidth=this.$el.offsetWidth,this.barHeight=this.$el.offsetHeight},setValue:function(t){var o,A=t.touches?t.touches[0].pageX:t.pageX,l=t.touches?t.touches[0].pageY:t.pageY;this.orientation==="horizontal"?eq(this.$el)?o=(this.initX+this.barWidth-A)*100/this.barWidth:o=(A-this.initX)*100/this.barWidth:o=(this.initY+this.barHeight-l)*100/this.barHeight;var a=(this.max-this.min)*(o/100)+this.min;if(this.step){var n=this.range?this.value[this.handleIndex]:this.value,f=a-n;f<0?a=n+Math.ceil(a/this.step-n/this.step)*this.step:f>0&&(a=n+Math.floor(a/this.step-n/this.step)*this.step)}else a=Math.floor(a);this.updateModel(t,a)},updateModel:function(t,o){var A=parseFloat(o.toFixed(10)),l;this.range?(l=this.value?sb(this.value):[],this.handleIndex==0?(A<this.min?A=this.min:A>=this.max&&(A=this.max),l[0]=A):(A>this.max?A=this.max:A<=this.min&&(A=this.min),l[1]=A)):(A<this.min?A=this.min:A>this.max&&(A=this.max),l=A),this.writeValue(l,t),this.$emit("change",l)},onDragStart:function(t,o){this.disabled||(this.$el.setAttribute("data-p-sliding",!0),this.dragging=!0,this.updateDomData(),this.range&&this.value[0]===this.max?this.handleIndex=0:this.handleIndex=o,t.currentTarget.focus())},onDrag:function(t){this.dragging&&this.setValue(t)},onDragEnd:function(t){this.dragging&&(this.dragging=!1,this.$el.setAttribute("data-p-sliding",!1),this.$emit("slideend",{originalEvent:t,value:this.value}))},onBarClick:function(t){this.disabled||Xd(t.target,"data-pc-section")!=="handle"&&(this.updateDomData(),this.setValue(t))},onMouseDown:function(t,o){this.bindDragListeners(),this.onDragStart(t,o)},onKeyDown:function(t,o){switch(this.handleIndex=o,t.code){case"ArrowDown":case"ArrowLeft":this.decrementValue(t,o),t.preventDefault();break;case"ArrowUp":case"ArrowRight":this.incrementValue(t,o),t.preventDefault();break;case"PageDown":this.decrementValue(t,o,!0),t.preventDefault();break;case"PageUp":this.incrementValue(t,o,!0),t.preventDefault();break;case"Home":this.updateModel(t,this.min),t.preventDefault();break;case"End":this.updateModel(t,this.max),t.preventDefault();break}},onBlur:function(t,o){var A,l;(A=(l=this.formField).onBlur)===null||A===void 0||A.call(l,t)},decrementValue:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l;this.range?this.step?l=this.value[o]-this.step:l=this.value[o]-1:this.step?l=this.value-this.step:!this.step&&A?l=this.value-10:l=this.value-1,this.updateModel(t,l),t.preventDefault()},incrementValue:function(t,o){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l;this.range?this.step?l=this.value[o]+this.step:l=this.value[o]+1:this.step?l=this.value+this.step:!this.step&&A?l=this.value+10:l=this.value+1,this.updateModel(t,l),t.preventDefault()},bindDragListeners:function(){this.dragListener||(this.dragListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.dragListener)),this.dragEndListener||(this.dragEndListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.dragEndListener))},unbindDragListeners:function(){this.dragListener&&(document.removeEventListener("mousemove",this.dragListener),this.dragListener=null),this.dragEndListener&&(document.removeEventListener("mouseup",this.dragEndListener),this.dragEndListener=null)},rangeStyle:function(){if(this.range){var t=this.rangeEndPosition>this.rangeStartPosition?this.rangeEndPosition-this.rangeStartPosition:this.rangeStartPosition-this.rangeEndPosition,o=this.rangeEndPosition>this.rangeStartPosition?this.rangeStartPosition:this.rangeEndPosition;return this.horizontal?{"inset-inline-start":o+"%",width:t+"%"}:{bottom:o+"%",height:t+"%"}}else return this.horizontal?{width:this.handlePosition+"%"}:{height:this.handlePosition+"%"}},handleStyle:function(){return this.horizontal?{"inset-inline-start":this.handlePosition+"%"}:{bottom:this.handlePosition+"%"}},rangeStartHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeStartPosition+"%"}:{bottom:this.rangeStartPosition+"%"}},rangeEndHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeEndPosition+"%"}:{bottom:this.rangeEndPosition+"%"}}},computed:{value:function(){var t;if(this.range){var o,A,l,a;return[(o=(A=this.d_value)===null||A===void 0?void 0:A[0])!==null&&o!==void 0?o:this.min,(l=(a=this.d_value)===null||a===void 0?void 0:a[1])!==null&&l!==void 0?l:this.max]}return(t=this.d_value)!==null&&t!==void 0?t:this.min},horizontal:function(){return this.orientation==="horizontal"},vertical:function(){return this.orientation==="vertical"},handlePosition:function(){return this.value<this.min?0:this.value>this.max?100:(this.value-this.min)*100/(this.max-this.min)},rangeStartPosition:function(){return this.value&&this.value[0]!==void 0?this.value[0]<this.min?0:(this.value[0]-this.min)*100/(this.max-this.min):0},rangeEndPosition:function(){return this.value&&this.value.length===2&&this.value[1]!==void 0?this.value[1]>this.max?100:(this.value[1]-this.min)*100/(this.max-this.min):100}}},db=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],fb=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"],gb=["tabindex","aria-valuemin","aria-valuenow","aria-valuemax","aria-labelledby","aria-label","aria-orientation"];function hb(e,t,o,A,l,a){return de(),be("div",me({class:e.cx("root"),onClick:t[18]||(t[18]=function(){return a.onBarClick&&a.onBarClick.apply(a,arguments)})},e.ptmi("root"),{"data-p-sliding":!1}),[qe("span",me({class:e.cx("range"),style:[e.sx("range"),a.rangeStyle()]},e.ptm("range")),null,16),e.range?xe("",!0):(de(),be("span",me({key:0,class:e.cx("handle"),style:[e.sx("handle"),a.handleStyle()],onTouchstartPassive:t[0]||(t[0]=function(n){return a.onDragStart(n)}),onTouchmovePassive:t[1]||(t[1]=function(n){return a.onDrag(n)}),onTouchend:t[2]||(t[2]=function(n){return a.onDragEnd(n)}),onMousedown:t[3]||(t[3]=function(n){return a.onMouseDown(n)}),onKeydown:t[4]||(t[4]=function(n){return a.onKeyDown(n)}),onBlur:t[5]||(t[5]=function(n){return a.onBlur(n)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("handle")),null,16,db)),e.range?(de(),be("span",me({key:1,class:e.cx("handle"),style:[e.sx("handle"),a.rangeStartHandleStyle()],onTouchstartPassive:t[6]||(t[6]=function(n){return a.onDragStart(n,0)}),onTouchmovePassive:t[7]||(t[7]=function(n){return a.onDrag(n)}),onTouchend:t[8]||(t[8]=function(n){return a.onDragEnd(n)}),onMousedown:t[9]||(t[9]=function(n){return a.onMouseDown(n,0)}),onKeydown:t[10]||(t[10]=function(n){return a.onKeyDown(n,0)}),onBlur:t[11]||(t[11]=function(n){return a.onBlur(n,0)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[0]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("startHandler")),null,16,fb)):xe("",!0),e.range?(de(),be("span",me({key:2,class:e.cx("handle"),style:[e.sx("handle"),a.rangeEndHandleStyle()],onTouchstartPassive:t[12]||(t[12]=function(n){return a.onDragStart(n,1)}),onTouchmovePassive:t[13]||(t[13]=function(n){return a.onDrag(n)}),onTouchend:t[14]||(t[14]=function(n){return a.onDragEnd(n)}),onMousedown:t[15]||(t[15]=function(n){return a.onMouseDown(n,1)}),onKeydown:t[16]||(t[16]=function(n){return a.onKeyDown(n,1)}),onBlur:t[17]||(t[17]=function(n){return a.onBlur(n,1)}),tabindex:e.tabindex,role:"slider","aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[1]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm("endHandler")),null,16,gb)):xe("",!0)],16)}If.render=hb;const pb={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 12.46 11.426"};function qb(e,t){return de(),be("svg",pb,t[0]||(t[0]=[qe("g",{"fill-rule":"evenodd"},[qe("path",{d:"M9.237 2.429c0 .248.653.676 1.05 1.714.178.466.069.659.711.656.3 0 .4-.019.582.115.319.238.238.642.238 1.129a.58.58 0 0 1-.221.449c-.17.137-.277.13-.569.128-.67 0-.57.111-.748.62-.36 1.033-1.043 1.512-1.043 1.72 0 .317.637.764.231 1.293a2.2 2.2 0 0 1-1.052.527c-.63 0-.567-.88-1.033-.88a5 5 0 0 1-2.023.048c-.819-.19-.545.437-.983.712s-.685.009-1.074-.2c-.944-.51-.08-1.144-.08-1.5 0-.123-.051-.151-.111-.223a5.3 5.3 0 0 1-.594-.774c-.048-.075-.074-.142-.116-.218a9 9 0 0 1-.398-.968c-.21-.324-.765-.005-1.125-.277-.318-.233-.236-.638-.236-1.126a.58.58 0 0 1 .219-.447c.171-.137.277-.13.57-.13.952.005.356-.243 1.207-1.524.551-.827.766-.6.4-1.237-.289-.5-.269-.778.25-1.089q.148-.092.307-.178c1.01-.548 1.016.75 1.418.75a3.5 3.5 0 0 0 .567-.1 5.5 5.5 0 0 1 1.862.1c.365 0 .32-.882 1.033-.882a1.8 1.8 0 0 1 .688.315c.935.5.072 1.19.072 1.476Zm-7.015-.88a1.14 1.14 0 0 0 .094.483 4 4 0 0 1 .178.368 8 8 0 0 0-.555.779 3.7 3.7 0 0 0-.416.951C.729 4.129.004 4.5.004 5.374c0 .6-.077 1.2.438 1.6a1.54 1.54 0 0 0 1.081.315 4.4 4.4 0 0 0 .668 1.336c.1.137.212.26.3.4a1.9 1.9 0 0 0-.272.849c0 .82.637 1.07 1.088 1.343a1.267 1.267 0 0 0 1.89-.617 6.3 6.3 0 0 0 1.636.055 3 3 0 0 1 .43-.055 1.4 1.4 0 0 0 .4.543c.757.56 1.307.19 1.987-.221a1.28 1.28 0 0 0 .286-1.9 4.7 4.7 0 0 0 1-1.731 1.52 1.52 0 0 0 1.068-.307c.541-.411.456-1.021.456-1.639a1.24 1.24 0 0 0-.456-.913 1.53 1.53 0 0 0-1.064-.3 4.4 4.4 0 0 0-.668-1.336c-.1-.135-.212-.259-.3-.394a3 3 0 0 1 .17-.346 1.246 1.246 0 0 0-.47-1.551A2.17 2.17 0 0 0 8.355 0a1.05 1.05 0 0 0-.678.264 1.34 1.34 0 0 0-.415.556A6.3 6.3 0 0 0 5.629.764a3 3 0 0 1-.432.056A1.28 1.28 0 0 0 4.104 0 2.1 2.1 0 0 0 2.81.5a1.25 1.25 0 0 0-.587 1.05Z"}),qe("path",{d:"M4.076 5.861a2.05 2.05 0 0 1 .63-1.678 1.9 1.9 0 0 1 .581-.421 2.173 2.173 0 0 1 2.9 2.9 2.19 2.19 0 0 1-1.8 1.206 2.14 2.14 0 0 1-1.1-.2 2.18 2.18 0 0 1-1.211-1.807m-.637-.334v.368a2.806 2.806 0 0 0 4.412 2.1 2.2 2.2 0 0 0 .36-.308 2.7 2.7 0 0 0 .812-1.8 2.64 2.64 0 0 0-.264-1.406A2.81 2.81 0 0 0 6.413 2.91a2.68 2.68 0 0 0-1.805.5 3 3 0 0 0-.656.651 2.64 2.64 0 0 0-.516 1.466Z"})],-1)]))}const mb={render:qb},Vb=rs({components:{PrimeButton:sA,PrimeDialog:ff,PrimeSelect:yf,Slider:If,SettingsIcon:mb},props:{callVolume:Number,notificationVolume:Number,selectedMicId:String,selectedSpeakerId:String,microphones:Array,speakers:Array},emits:["update:callVolume","update:notificationVolume","update:selectedMicId","update:selectedSpeakerId"],setup(e,{emit:t}){const o="1.0.14",A="@tmsoft/webphone",l=Je(!1),a=at(()=>{var p;return((p=e.microphones)==null?void 0:p.find(q=>q.deviceId===e.selectedMicId))||null}),n=at(()=>{var p;return((p=e.speakers)==null?void 0:p.find(q=>q.deviceId===e.selectedSpeakerId))||null});return{showSettings:l,openDialog:()=>{l.value=!0},updateCallVolume:p=>{t("update:callVolume",Array.isArray(p)?p[0]:p)},updateNotificationVolume:p=>{t("update:notificationVolume",Array.isArray(p)?p[0]:p)},updateSelectedMic:p=>{t("update:selectedMicId",p)},updateSelectedSpeaker:p=>{t("update:selectedSpeakerId",p)},selectedMic:a,selectedSpeaker:n,version:o,packageName:A}}}),Sf=(e,t)=>{const o=e.__vccOpts||e;for(const[A,l]of t)o[A]=l;return o},bb={class:"max-w-xs w-full mt-2 flex flex-col gap-4"},Cb={class:"flex flex-col gap-2"},vb={class:"flex flex-col gap-2"},yb={class:"flex items-center truncate"},Ib={class:"flex items-center"},Sb={class:"truncate"},wb={class:"flex items-center truncate"},Eb={class:"flex items-center"},kb={class:"truncate"},Tb={class:"text-center"},Rb={class:"text-sm"};function Mb(e,t,o,A,l,a){const n=Ye("SettingsIcon"),f=Ye("PrimeButton"),h=Ye("Slider"),s=Ye("PrimeSelect"),d=Ye("PrimeDialog");return de(),be("div",null,[Re(f,{variant:"text",severity:"contrast",size:"large",rounded:"",onClick:e.openDialog},{default:Pe(()=>[Re(n,{class:"w-6 h-6 cursor-pointer text-[#7a75b5]"})]),_:1},8,["onClick"]),Re(d,{visible:e.showSettings,"onUpdate:visible":t[0]||(t[0]=c=>e.showSettings=c),style:{width:"320px"},header:"Configuración",modal:""},{default:Pe(()=>[qe("div",bb,[qe("div",Cb,[t[1]||(t[1]=qe("label",{class:"block text-sm font-medium"},"Volumen de Llamada:",-1)),Re(h,{modelValue:e.callVolume,min:0,max:100,"onUpdate:modelValue":e.updateCallVolume},null,8,["modelValue","onUpdate:modelValue"])]),qe("div",vb,[t[2]||(t[2]=qe("label",{class:"block text-sm font-medium"},"Volumen de Notificaciones:",-1)),Re(h,{modelValue:e.notificationVolume,min:0,max:100,"onUpdate:modelValue":e.updateNotificationVolume},null,8,["modelValue","onUpdate:modelValue"])]),qe("div",null,[t[3]||(t[3]=qe("label",{class:"block text-sm font-medium"},"Micrófono:",-1)),Re(s,{"model-value":e.selectedMicId,options:e.microphones,optionLabel:"label",optionValue:"deviceId",placeholder:"Seleccionar Micrófono",size:"small",class:"max-w-xs w-full text-gray-900 text-sm truncate","onUpdate:modelValue":e.updateSelectedMic},{value:Pe(()=>{var c;return[qe("div",yb,[qe("span",null,$e(((c=e.selectedMic)==null?void 0:c.label)||"Seleccione un micrófono"),1)])]}),option:Pe(({option:c})=>[qe("div",Ib,[qe("small",Sb,$e(c.label),1)])]),_:1},8,["model-value","options","onUpdate:modelValue"])]),qe("div",null,[t[4]||(t[4]=qe("label",{class:"block text-sm font-medium"},"Altavoz:",-1)),Re(s,{"model-value":e.selectedSpeakerId,options:e.speakers,optionLabel:"label",optionValue:"deviceId",placeholder:"Seleccionar Altavoz",size:"small",class:"max-w-xs w-full text-gray-900 text-sm truncate","onUpdate:modelValue":e.updateSelectedSpeaker},{value:Pe(()=>{var c;return[qe("div",wb,[qe("span",null,$e(((c=e.selectedSpeaker)==null?void 0:c.label)||"Seleccione un altavoz"),1)])]}),option:Pe(({option:c})=>[qe("div",Eb,[qe("small",kb,$e(c.label),1)])]),_:1},8,["model-value","options","onUpdate:modelValue"])]),qe("div",Tb,[qe("p",Rb,"v"+$e(e.version),1)])])]),_:1},8,["visible"])])}const xb=Sf(Vb,[["render",Mb]]),Ob=rs({name:"WebPhone",props:{extension:{type:String,required:!0},password:{type:String,required:!0},domain:{type:String,required:!0},mode:{type:String,default:"call",validator:e=>["webcall","call","video"].includes(e)},image:{type:String,required:!1},to:{type:String,required:!1},callback:{type:Function,required:!1}},components:{PrimeButton:sA,PrimeInputText:Ss,WebphoneSettings:xb,LogoIcon:gm,ExtensionIcon:qm,NumpadIcon:bm,CallIcon:wm,HangupIcon:Tm,MicrophoneIcon:xm,NumpadOffIcon:ym,MicrophoneOffIcon:Um,KeyboardDeleteIcon:Fm,NebulaIcon:Gm},setup(e){const t=Je(),o=Je(),A=Je(!1),l=Je(!1),a=at(()=>e.mode==="webcall"),n=at(()=>e.mode==="call"),f=at(()=>e.mode==="video"),h=at(()=>a.value?e.to:s.phoneNumber.value),s=S0({wsServers:`wss://${e.domain}:8089/asterisk/ws`,sipUri:`sip:${e.extension}@${e.domain}`,sipPassword:e.password,displayName:"Anw",domain:e.domain,debug:!0}),d=v=>{const O=["Backspace","ArrowLeft","ArrowRight","Tab","Delete"],L=/[0-9*#]/;!O.includes(v.key)&&!L.test(v.key)&&v.preventDefault(),v.key==="Enter"&&s.phoneNumber.value.trim().length>0&&s.makeCall(s.phoneNumber.value,!1)},c=()=>{A.value=!A.value},p=v=>{const O=Array.isArray(v)?v[0]:v;s.setVolume("call",O)},q=v=>{const O=Array.isArray(v)?v[0]:v;s.setVolume("notification",O)},M=["1","2","3","4","5","6","7","8","9","*","0","#"],T=v=>{var O;s.activeCall.value?(O=s.sendDTMF)==null||O.call(s,v):s.phoneNumber.value=`${s.phoneNumber.value}${v}`},R=at(()=>s.isSIPActive&&h.value&&h.value.trim().length>0),I=at(()=>s.activeCall.value?"text-[#03ac7e]":s.isRinging.value?"text-blue-400":s.isIncomingCall.value?"text-yellow-400":s.isSIPActive.value?"text-[#03ac7e]":"text-red-500"),x=v=>{t.value.toggle(v)},E=v=>{o.value.toggle(v)},C=()=>{s.phoneNumber.value.length>0&&(s.phoneNumber.value=s.phoneNumber.value.slice(0,-1))};return rn(()=>s.activeCall.value,v=>{!v&&a.value&&(A.value=!1)}),Ph(()=>{setTimeout(()=>{s.isSIPActive.value&&a.value&&e.to&&s.makeCall(e.to,!1)},2e3)}),{...s,setCallVolume:p,validateKeydown:d,setNotificationVolume:q,dtmfKeys:M,canCall:R,handleDTMF:T,statusClass:I,showNumpad:A,toggleNumpad:c,audioVolumeRef:t,audioDevicesRef:o,toggleAudioVolume:x,toggleAudioDevices:E,deleteLastDigit:C,isWebcall:a,isCall:n,isVideo:f,finalPhoneNumber:h,showSettings:l}}}),Bb={class:"max-w-xs h-full text-black dark:text-white dark:bg-neutral-800 m-auto rounded-xl shadow-lg flex flex-col items-center justify-center p-2"},Ub={ref:"playerRef",controls:"",class:"hidden"},Db={ref:"ringerRef",controls:"",class:"hidden"},Lb={ref:"backRingerRef",controls:"",class:"hidden"},Fb={class:"w-full rounded-lg flex items-center justify-center mb-4"},Qb={ref:"viewerRef",autoplay:"",playsinline:"",class:"hidden"},Yb={ref:"selfViewerRef",autoplay:"",muted:"",playsinline:"",class:"hidden"},Gb={class:"flex flex-col items-center justify-center gap-2"},Kb={key:0,class:"flex flex-row w-full justify-center items-center"},Jb={class:"border border-black dark:border-white rounded-lg w-full p-1 flex justify-center flex-row gap-2"},Nb={key:1,class:"relative flex items-center justify-center w-24 h-24"},jb=["src"],Wb={key:2,class:"text-[#03AC7E] p-1 border-b-1 border-neutral-500 w-full text-center"},Hb={key:3,class:"w-full p-2 flex justify-center items-center flex-row gap-2"},Zb={class:"w-full p-2 flex justify-center items-center flex-row gap-2"},Pb={key:0,class:"flex flex-row gap-2 items-center justify-between"},zb={key:1,class:"grid grid-cols-3 gap-x-4 gap-y-2 w-fit justify-between my-4"},_b={class:"grid grid-cols-3 gap-4 w-fit justify-between my-4"},Xb={class:"flex justify-center items-center"},$b={class:"flex justify-center items-center"},eC={class:"flex justify-center items-center"},tC={key:2,class:"text-[#789f29] flex gap-x-2 justify-center items-center",href:"https://www.nebula123.com",target:"_blank"};function nC(e,t,o,A,l,a){const n=Ye("LogoIcon"),f=Ye("ExtensionIcon"),h=Ye("PrimeInputText"),s=Ye("NumpadIcon"),d=Ye("NumpadOffIcon"),c=Ye("PrimeButton"),p=Ye("MicrophoneIcon"),q=Ye("MicrophoneOffIcon"),M=Ye("CallIcon"),T=Ye("HangupIcon"),R=Ye("KeyboardDeleteIcon"),I=Ye("WebphoneSettings"),x=Ye("NebulaIcon");return de(),be("div",Bb,[qe("audio",Ub,null,512),qe("audio",Db,null,512),qe("audio",Lb,null,512),qe("div",Fb,[qe("video",Qb,null,512),qe("video",Yb,null,512),qe("div",Gb,[e.isWebcall?(de(),be("div",Kb,[qe("div",null,[Le(e.$slots,"back-button")]),qe("div",Jb,[Re(n,{class:"w-5 h-5"}),t[3]||(t[3]=qe("small",null,"WebCall - Llamada WEB",-1))])])):xe("",!0),e.isWebcall&&e.image?(de(),be("div",Nb,[qe("img",{class:"w-24 h-auto relative z-10",src:e.image,alt:"Company logo"},null,8,jb)])):xe("",!0),e.isWebcall?xe("",!0):(de(),be("div",Wb,t[4]||(t[4]=[qe("small",null,"Webphone",-1)]))),e.isWebcall?xe("",!0):(de(),be("div",Hb,[Re(f,{class:ht(["w-8 h-8",e.statusClass])},null,8,["class"]),qe("span",{class:ht(["text-2xl",e.statusClass])},$e(e.extension),3)])),qe("div",Zb,[e.isWebcall&&e.activeCall?(de(),Oe(f,{key:0,class:ht(["w-8 h-8",e.statusClass])},null,8,["class"])):xe("",!0),e.activeCall?(de(),be("span",{key:1,class:ht(["text-3xl",e.statusClass])},$e(e.formattedCallDuration),3)):xe("",!0)]),qe("p",{class:ht(e.statusClass)},$e(e.statusMessage),3)])]),e.isWebcall?xe("",!0):(de(),be("div",Pb,[Re(h,{size:"small",modelValue:e.phoneNumber,"onUpdate:modelValue":t[0]||(t[0]=E=>e.phoneNumber=E),onKeydown:e.validateKeydown,placeholder:"Ingresar número",type:"tel",inputmode:"tel",class:"w-full"},null,8,["modelValue","onKeydown"]),Re(c,{variant:"text",severity:"contrast",size:"small",rounded:""},{default:Pe(()=>[e.showNumpad?(de(),Oe(d,{key:1,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"])):(de(),Oe(s,{key:0,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"]))]),_:1})])),e.showNumpad?(de(),be("div",zb,[(de(!0),be(et,null,xo(e.dtmfKeys,E=>(de(),Oe(c,{rounded:"",class:"w-12 h-12 !p-0 mx-2 !text-[#03AC7E] !text-2xl",variant:"text",severity:"contrast",key:E,size:"large",label:E,onClick:C=>e.handleDTMF(E)},null,8,["label","onClick"]))),128))])):xe("",!0),qe("div",_b,[qe("div",Xb,[e.activeCall&&e.isWebcall?(de(),Oe(c,{key:0,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canMute,onClick:e.toggleMute},{default:Pe(()=>[e.isMuted?(de(),Oe(q,{key:1,class:"text-[#7a75b5]"})):(de(),Oe(p,{key:0,class:"text-[#7a75b5]"}))]),_:1},8,["disabled","onClick"])):xe("",!0)]),qe("div",$b,[!e.activeCall&&!e.isIncomingCall?(de(),Oe(c,{key:0,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",onClick:t[1]||(t[1]=E=>e.isOutgoingCall?e.endCall():e.makeCall(e.finalPhoneNumber??"",!1))},{default:Pe(()=>[e.isOutgoingCall?(de(),Oe(T,{key:1,class:"text-[#F30A0A]"})):(de(),Oe(M,{key:0,class:"text-[#03AC7E]"}))]),_:1})):xe("",!0),e.isIncomingCall&&!e.activeCall?(de(),Oe(c,{key:1,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",icon:"pi pi-phone",severity:"primary",onClick:e.answerCall},null,8,["onClick"])):xe("",!0),e.activeCall?(de(),Oe(c,{key:2,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canHangup,onClick:e.endCall},{default:Pe(()=>[Re(T,{class:"text-[#F30A0A]"})]),_:1},8,["disabled","onClick"])):xe("",!0)]),qe("div",eC,[e.isWebcall&&e.activeCall?(de(),Oe(c,{key:0,class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",size:"large",rounded:""},{default:Pe(()=>[e.showNumpad?(de(),Oe(d,{key:1,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"])):(de(),Oe(s,{key:0,onClick:e.toggleNumpad,class:"w-9 h-9 cursor-pointer text-[#7a75b5]"},null,8,["onClick"]))]),_:1})):xe("",!0),e.phoneNumber.length>0&&!e.activeCall&&!e.isWebcall?(de(),Oe(c,{key:1,size:"large",rounded:"",class:"!w-10 !h-10 !p-0",variant:"text",severity:"danger",onClick:e.deleteLastDigit},{default:Pe(()=>[Re(R,{class:""})]),_:1},8,["onClick"])):xe("",!0),e.activeCall&&!e.isWebcall?(de(),Oe(c,{key:2,size:"large",rounded:"",class:"!w-12 !h-12 !p-0",variant:"text",severity:"contrast",disabled:!e.canMute,onClick:e.toggleMute},{default:Pe(()=>[e.isMuted?(de(),Oe(q,{key:1,class:"text-[#7a75b5]"})):(de(),Oe(p,{key:0,class:"text-[#7a75b5]"}))]),_:1},8,["disabled","onClick"])):xe("",!0)])]),Re(I,{visible:e.showSettings,"onUpdate:visible":t[2]||(t[2]=E=>e.showSettings=E),callVolume:e.callVolume,notificationVolume:e.notificationVolume,selectedMicId:e.selectedMicId??void 0,selectedSpeakerId:e.selectedSpeakerId??void 0,microphones:e.microphones,speakers:e.speakers,"onUpdate:callVolume":e.setCallVolume,"onUpdate:notificationVolume":e.setNotificationVolume,"onUpdate:selectedMicId":e.changeMicrophone,"onUpdate:selectedSpeakerId":e.changeSpeaker},null,8,["visible","callVolume","notificationVolume","selectedMicId","selectedSpeakerId","microphones","speakers","onUpdate:callVolume","onUpdate:notificationVolume","onUpdate:selectedMicId","onUpdate:selectedSpeakerId"]),e.isWebcall?(de(),be("a",tC,[Re(x,{class:"w-6 h-6"}),t[5]||(t[5]=qe("span",{class:"text-center text-[12px]"},[qe("p",null,"Powered By"),qe("p",null,"www.nebula123.com")],-1))])):xe("",!0)])}const wf=Sf(Ob,[["render",nC]]);function jr(e){"@babel/helpers - typeof";return jr=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},jr(e)}function hc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),o.push.apply(o,A)}return o}function Co(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?hc(Object(o),!0).forEach(function(A){rC(e,A,o[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hc(Object(o)).forEach(function(A){Object.defineProperty(e,A,Object.getOwnPropertyDescriptor(o,A))})}return e}function rC(e,t,o){return(t=oC(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function oC(e){var t=AC(e,"string");return jr(t)=="symbol"?t:t+""}function AC(e,t){if(jr(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var A=o.call(e,t);if(jr(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var iC={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",fileChosenMessage:"{0} files",noFileChosenMessage:"No file chosen",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}},filterMatchModeOptions:{text:[dt.STARTS_WITH,dt.CONTAINS,dt.NOT_CONTAINS,dt.ENDS_WITH,dt.EQUALS,dt.NOT_EQUALS],numeric:[dt.EQUALS,dt.NOT_EQUALS,dt.LESS_THAN,dt.LESS_THAN_OR_EQUAL_TO,dt.GREATER_THAN,dt.GREATER_THAN_OR_EQUAL_TO],date:[dt.DATE_IS,dt.DATE_IS_NOT,dt.DATE_BEFORE,dt.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},sC=Symbol();function lC(e,t){var o={config:Zo(t)};return e.config.globalProperties.$primevue=o,e.provide(sC,o),aC(),uC(e,o),o}var jn=[];function aC(){Ut.clear(),jn.forEach(function(e){return e==null?void 0:e()}),jn=[]}function uC(e,t){var o=Je(!1),A=function(){var s;if(((s=t.config)===null||s===void 0?void 0:s.theme)!=="none"&&!Ne.isStyleNameLoaded("common")){var d,c,p=((d=Ge.getCommonTheme)===null||d===void 0?void 0:d.call(Ge))||{},q=p.primitive,M=p.semantic,T=p.global,R=p.style,I={nonce:(c=t.config)===null||c===void 0||(c=c.csp)===null||c===void 0?void 0:c.nonce};Ge.load(q==null?void 0:q.css,Co({name:"primitive-variables"},I)),Ge.load(M==null?void 0:M.css,Co({name:"semantic-variables"},I)),Ge.load(T==null?void 0:T.css,Co({name:"global-variables"},I)),Ge.loadTheme(Co({name:"global-style"},I),R),Ne.setLoadedStyleName("common")}};Ut.on("theme:change",function(h){o.value||(e.config.globalProperties.$primevue.config.theme=h,o.value=!0)});var l=rn(t.config,function(h,s){Nn.emit("config:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0}),a=rn(function(){return t.config.ripple},function(h,s){Nn.emit("config:ripple:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0}),n=rn(function(){return t.config.theme},function(h,s){o.value||Ne.setTheme(h),t.config.unstyled||A(),o.value=!1,Nn.emit("config:theme:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!1}),f=rn(function(){return t.config.unstyled},function(h,s){!h&&t.config.theme&&A(),Nn.emit("config:unstyled:change",{newValue:h,oldValue:s})},{immediate:!0,deep:!0});jn.push(l),jn.push(a),jn.push(n),jn.push(f)}var cC={install:function(t,o){var A=O0(iC,o);lC(t,A)}},dC={transitionDuration:"{transition.duration}"},fC={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},gC={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},hC={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},pC={root:dC,panel:fC,header:gC,content:hC},qC={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},mC={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},VC={padding:"{list.padding}",gap:"{list.gap}"},bC={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},CC={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},vC={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yC={borderRadius:"{border.radius.sm}"},IC={padding:"{list.option.padding}"},SC={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},wC={root:qC,overlay:mC,list:VC,option:bC,optionGroup:CC,dropdown:vC,chip:yC,emptyMessage:IC,colorScheme:SC},EC={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},kC={size:"1rem"},TC={borderColor:"{content.background}",offset:"-0.75rem"},RC={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},MC={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},xC={root:EC,icon:kC,group:TC,lg:RC,xl:MC},OC={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},BC={size:"0.5rem"},UC={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},DC={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},LC={fontSize:"1rem",minWidth:"2rem",height:"2rem"},FC={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},QC={root:OC,dot:BC,sm:UC,lg:DC,xl:LC,colorScheme:FC},YC={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},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"},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"},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"}},GC={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},KC={primitive:YC,semantic:GC},JC={borderRadius:"{content.border.radius}"},NC={root:JC},jC={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},WC={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HC={color:"{navigation.item.icon.color}"},ZC={root:jC,item:WC,separator:HC},PC={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},zC={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},_C={root:PC,colorScheme:zC},XC={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},$C={padding:"1.25rem",gap:"0.5rem"},ev={gap:"0.5rem"},tv={fontSize:"1.25rem",fontWeight:"500"},nv={color:"{text.muted.color}"},rv={root:XC,body:$C,caption:ev,title:tv,subtitle:nv},ov={transitionDuration:"{transition.duration}"},Av={gap:"0.25rem"},iv={padding:"1rem",gap:"0.5rem"},sv={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},lv={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},av={root:ov,content:Av,indicatorList:iv,indicator:sv,colorScheme:lv},uv={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},cv={width:"2.5rem",color:"{form.field.icon.color}"},dv={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},fv={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},gv={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},hv={color:"{form.field.icon.color}"},pv={root:uv,dropdown:cv,overlay:dv,list:fv,option:gv,clearIcon:hv},qv={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},mv={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},Vv={root:qv,icon:mv},bv={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},Cv={width:"2rem",height:"2rem"},vv={size:"1rem"},yv={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},Iv={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},Sv={root:bv,image:Cv,icon:vv,removeIcon:yv,colorScheme:Iv},wv={transitionDuration:"{transition.duration}"},Ev={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},kv={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},Tv={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},Rv={root:wv,preview:Ev,panel:kv,colorScheme:Tv},Mv={size:"2rem",color:"{overlay.modal.color}"},xv={gap:"1rem"},Ov={icon:Mv,content:xv},Bv={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},Uv={padding:"{overlay.popover.padding}",gap:"1rem"},Dv={size:"1.5rem",color:"{overlay.popover.color}"},Lv={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},Fv={root:Bv,content:Uv,icon:Dv,footer:Lv},Qv={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},Yv={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},Gv={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Kv={mobileIndent:"1rem"},Jv={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},Nv={borderColor:"{content.border.color}"},jv={root:Qv,list:Yv,item:Gv,submenu:Kv,submenuIcon:Jv,separator:Nv},Wv={transitionDuration:"{transition.duration}"},Hv={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},Zv={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},Pv={fontWeight:"600"},zv={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},_v={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},Xv={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},$v={fontWeight:"600"},ey={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},ty={color:"{primary.color}"},ny={width:"0.5rem"},ry={width:"1px",color:"{primary.color}"},oy={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},Ay={size:"2rem"},iy={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sy={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},ly={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},ay={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},uy={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},cy={root:Wv,header:Hv,headerCell:Zv,columnTitle:Pv,row:zv,bodyCell:_v,footerCell:Xv,columnFooter:$v,footer:ey,dropPoint:ty,columnResizer:ny,resizeIndicator:ry,sortIcon:oy,loadingIcon:Ay,rowToggleButton:iy,filter:sy,paginatorTop:ly,paginatorBottom:ay,colorScheme:uy},dy={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},fy={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},gy={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},hy={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},py={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},qy={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},my={root:dy,header:fy,content:gy,footer:hy,paginatorTop:py,paginatorBottom:qy},Vy={transitionDuration:"{transition.duration}"},by={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},Cy={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},vy={gap:"0.5rem",fontWeight:"500"},yy={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Iy={color:"{form.field.icon.color}"},Sy={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},wy={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},Ey={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},ky={margin:"0.5rem 0 0 0"},Ty={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},Ry={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},My={margin:"0.5rem 0 0 0"},xy={padding:"0.375rem",borderRadius:"{content.border.radius}"},Oy={margin:"0.5rem 0 0 0"},By={padding:"0.375rem",borderRadius:"{content.border.radius}"},Uy={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},Dy={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},Ly={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},Fy={root:Vy,panel:by,header:Cy,title:vy,dropdown:yy,inputIcon:Iy,selectMonth:Sy,selectYear:wy,group:Ey,dayView:ky,weekDay:Ty,date:Ry,monthView:My,month:xy,yearView:Oy,year:By,buttonbar:Uy,timePicker:Dy,colorScheme:Ly},Qy={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},Yy={padding:"{overlay.modal.padding}",gap:"0.5rem"},Gy={fontSize:"1.25rem",fontWeight:"600"},Ky={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},Jy={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},Ny={root:Qy,header:Yy,title:Gy,content:Ky,footer:Jy},jy={borderColor:"{content.border.color}"},Wy={background:"{content.background}",color:"{text.color}"},Hy={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},Zy={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},Py={root:jy,content:Wy,horizontal:Hy,vertical:Zy},zy={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},_y={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Xy={root:zy,item:_y},$y={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},e1={padding:"{overlay.modal.padding}"},t1={fontSize:"1.5rem",fontWeight:"600"},n1={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},r1={padding:"{overlay.modal.padding}"},o1={root:$y,header:e1,title:t1,content:n1,footer:r1},A1={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},i1={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},s1={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},l1={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},a1={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},u1={toolbar:A1,toolbarItem:i1,overlay:s1,overlayOption:l1,content:a1},c1={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},d1={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},f1={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},g1={padding:"0"},h1={root:c1,legend:d1,toggleIcon:f1,content:g1},p1={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},q1={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},m1={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},V1={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},b1={gap:"0.5rem"},C1={height:"0.25rem"},v1={gap:"0.5rem"},y1={root:p1,header:q1,content:m1,file:V1,fileList:b1,progressbar:C1,basic:v1},I1={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},S1={active:{top:"-1.25rem"}},w1={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},E1={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},k1={root:I1,over:S1,in:w1,on:E1},T1={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},R1={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},M1={size:"1.5rem"},x1={background:"{content.background}",padding:"1rem 0.25rem"},O1={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},B1={size:"1rem"},U1={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},D1={gap:"0.5rem",padding:"1rem"},L1={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},F1={background:"rgba(0, 0, 0, 0.5)"},Q1={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},Y1={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},G1={size:"1.5rem"},K1={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},J1={root:T1,navButton:R1,navIcon:M1,thumbnailsContent:x1,thumbnailNavButton:O1,thumbnailNavButtonIcon:B1,caption:U1,indicatorList:D1,indicatorButton:L1,insetIndicatorList:F1,insetIndicatorButton:Q1,closeButton:Y1,closeButtonIcon:G1,colorScheme:K1},N1={color:"{form.field.icon.color}"},j1={icon:N1},W1={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},H1={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},Z1={root:W1,input:H1},P1={transitionDuration:"{transition.duration}"},z1={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},_1={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},X1={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$1={root:P1,preview:z1,toolbar:_1,action:X1},eI={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},tI={handle:eI},nI={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},rI={fontWeight:"500"},oI={size:"1rem"},AI={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},iI={root:nI,text:rI,icon:oI,colorScheme:AI},sI={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},lI={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},aI={root:sI,display:lI},uI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},cI={borderRadius:"{border.radius.sm}"},dI={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},fI={root:uI,chip:cI,colorScheme:dI},gI={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},hI={addon:gI},pI={transitionDuration:"{transition.duration}"},qI={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},mI={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},VI={root:pI,button:qI,colorScheme:mI},bI={gap:"0.5rem"},CI={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},vI={root:bI,input:CI},yI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},II={root:yI},SI={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},wI={background:"{primary.color}"},EI={background:"{content.border.color}"},kI={color:"{text.muted.color}"},TI={root:SI,value:wI,range:EI,text:kI},RI={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},MI={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},xI={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},OI={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},BI={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},UI={padding:"{list.option.padding}"},DI={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},LI={root:RI,list:MI,option:xI,optionGroup:OI,checkmark:BI,emptyMessage:UI,colorScheme:DI},FI={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},QI={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},YI={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},GI={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},KI={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},JI={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},NI={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},jI={borderColor:"{content.border.color}"},WI={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HI={root:FI,baseItem:QI,item:YI,overlay:GI,submenu:KI,submenuLabel:JI,submenuIcon:NI,separator:jI,mobileButton:WI},ZI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},PI={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},zI={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},_I={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},XI={borderColor:"{content.border.color}"},$I={root:ZI,list:PI,item:zI,submenuLabel:_I,separator:XI},eS={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},tS={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},nS={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},rS={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},oS={borderColor:"{content.border.color}"},AS={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},iS={root:eS,baseItem:tS,item:nS,submenu:rS,separator:oS,mobileButton:AS},sS={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},lS={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},aS={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},uS={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},cS={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},dS={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},fS={root:{borderWidth:"1px"}},gS={content:{padding:"0"}},hS={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},pS={root:sS,content:lS,text:aS,icon:uS,closeButton:cS,closeIcon:dS,outlined:fS,simple:gS,colorScheme:hS},qS={borderRadius:"{content.border.radius}",gap:"1rem"},mS={background:"{content.border.color}",size:"0.5rem"},VS={gap:"0.5rem"},bS={size:"0.5rem"},CS={size:"1rem"},vS={verticalGap:"0.5rem",horizontalGap:"1rem"},yS={root:qS,meters:mS,label:VS,labelMarker:bS,labelIcon:CS,labelList:vS},IS={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},SS={width:"2.5rem",color:"{form.field.icon.color}"},wS={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},ES={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},kS={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},TS={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},RS={color:"{form.field.icon.color}"},MS={borderRadius:"{border.radius.sm}"},xS={padding:"{list.option.padding}"},OS={root:IS,dropdown:SS,overlay:wS,list:ES,option:kS,optionGroup:TS,chip:MS,clearIcon:RS,emptyMessage:xS},BS={gap:"1.125rem"},US={gap:"0.5rem"},DS={root:BS,controls:US},LS={gutter:"0.75rem",transitionDuration:"{transition.duration}"},FS={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},QS={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},YS={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},GS={root:LS,node:FS,nodeToggleButton:QS,connector:YS},KS={outline:{width:"2px",color:"{content.background}"}},JS={root:KS},NS={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},jS={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},WS={color:"{text.muted.color}"},HS={maxWidth:"2.5rem"},ZS={root:NS,navButton:jS,currentPageReport:WS,jumpToPageInput:HS},PS={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},zS={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},_S={padding:"0.375rem 1.125rem"},XS={fontWeight:"600"},$S={padding:"0 1.125rem 1.125rem 1.125rem"},e2={padding:"0 1.125rem 1.125rem 1.125rem"},t2={root:PS,header:zS,toggleableHeader:_S,title:XS,content:$S,footer:e2},n2={gap:"0.5rem",transitionDuration:"{transition.duration}"},r2={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},o2={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},A2={indent:"1rem"},i2={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},s2={root:n2,panel:r2,item:o2,submenu:A2,submenuIcon:i2},l2={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},a2={color:"{form.field.icon.color}"},u2={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},c2={gap:"0.5rem"},d2={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},f2={meter:l2,icon:a2,overlay:u2,content:c2,colorScheme:d2},g2={gap:"1.125rem"},h2={gap:"0.5rem"},p2={root:g2,controls:h2},q2={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},m2={padding:"{overlay.popover.padding}"},V2={root:q2,content:m2},b2={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},C2={background:"{primary.color}"},v2={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},y2={root:b2,value:C2,label:v2},I2={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},S2={colorScheme:I2},w2={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},E2={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},k2={root:w2,icon:E2},T2={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R2={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},M2={root:T2,icon:R2},x2={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},O2={colorScheme:x2},B2={transitionDuration:"{transition.duration}"},U2={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},D2={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},L2={root:B2,bar:U2,colorScheme:D2},F2={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Q2={width:"2.5rem",color:"{form.field.icon.color}"},Y2={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},G2={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},K2={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},J2={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},N2={color:"{form.field.icon.color}"},j2={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},W2={padding:"{list.option.padding}"},H2={root:F2,dropdown:Q2,overlay:Y2,list:G2,option:K2,optionGroup:J2,clearIcon:N2,checkmark:j2,emptyMessage:W2},Z2={borderRadius:"{form.field.border.radius}"},P2={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},z2={root:Z2,colorScheme:P2},_2={borderRadius:"{content.border.radius}"},X2={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},$2={root:_2,colorScheme:X2},ew={transitionDuration:"{transition.duration}"},tw={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},nw={background:"{primary.color}"},rw={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},ow={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},Aw={root:ew,track:tw,range:nw,handle:rw,colorScheme:ow},iw={gap:"0.5rem",transitionDuration:"{transition.duration}"},sw={root:iw},lw={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},aw={root:lw},uw={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},cw={background:"{content.border.color}"},dw={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fw={root:uw,gutter:cw,handle:dw},gw={transitionDuration:"{transition.duration}"},hw={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},pw={padding:"0.5rem",gap:"1rem"},qw={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},mw={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Vw={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},bw={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Cw={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},vw={root:gw,separator:hw,step:pw,stepHeader:qw,stepTitle:mw,stepNumber:Vw,steppanels:bw,steppanel:Cw},yw={transitionDuration:"{transition.duration}"},Iw={background:"{content.border.color}"},Sw={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},ww={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},Ew={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},kw={root:yw,separator:Iw,itemLink:Sw,itemLabel:ww,itemNumber:Ew},Tw={transitionDuration:"{transition.duration}"},Rw={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Mw={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},xw={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Ow={height:"1px",bottom:"-1px",background:"{primary.color}"},Bw={root:Tw,tablist:Rw,item:Mw,itemIcon:xw,activeBar:Ow},Uw={transitionDuration:"{transition.duration}"},Dw={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},Lw={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Fw={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},Qw={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Yw={height:"1px",bottom:"-1px",background:"{primary.color}"},Gw={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},Kw={root:Uw,tablist:Dw,tab:Lw,tabpanel:Fw,navButton:Qw,activeBar:Yw,colorScheme:Gw},Jw={transitionDuration:"{transition.duration}"},Nw={background:"{content.background}",borderColor:"{content.border.color}"},jw={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Ww={background:"{content.background}",color:"{content.color}"},Hw={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},Zw={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},Pw={root:Jw,tabList:Nw,tab:jw,tabPanel:Ww,navButton:Hw,colorScheme:Zw},zw={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},_w={size:"0.75rem"},Xw={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},$w={root:zw,icon:_w,colorScheme:Xw},eE={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},tE={gap:"0.25rem"},nE={margin:"2px 0"},rE={root:eE,prompt:tE,commandResponse:nE},oE={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},AE={root:oE},iE={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},sE={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},lE={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},aE={mobileIndent:"1rem"},uE={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},cE={borderColor:"{content.border.color}"},dE={root:iE,list:sE,item:lE,submenu:aE,submenuIcon:uE,separator:cE},fE={minHeight:"5rem"},gE={eventContent:{padding:"1rem 0"}},hE={eventContent:{padding:"0 1rem"}},pE={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},qE={color:"{content.border.color}",size:"2px"},mE={event:fE,horizontal:gE,vertical:hE,eventMarker:pE,eventConnector:qE},VE={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},bE={size:"1.125rem"},CE={padding:"{overlay.popover.padding}",gap:"0.5rem"},vE={gap:"0.5rem"},yE={fontWeight:"500",fontSize:"1rem"},IE={fontWeight:"500",fontSize:"0.875rem"},SE={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},wE={size:"1rem"},EE={light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},kE={root:VE,icon:bE,content:CE,text:vE,summary:yE,detail:IE,closeButton:SE,closeIcon:wE,colorScheme:EE},TE={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},RE={disabledColor:"{form.field.disabled.color}"},ME={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},xE={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},OE={root:TE,icon:RE,content:ME,colorScheme:xE},BE={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},UE={borderRadius:"50%",size:"1rem"},DE={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},LE={root:BE,handle:UE,colorScheme:DE},FE={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},QE={root:FE},YE={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},GE={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},KE={root:YE,colorScheme:GE},JE={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},NE={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},jE={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},WE={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HE={size:"2rem"},ZE={margin:"0 0 0.5rem 0"},PE={root:JE,node:NE,nodeIcon:jE,nodeToggleButton:WE,loadingIcon:HE,filter:ZE},zE={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},_E={width:"2.5rem",color:"{form.field.icon.color}"},XE={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},$E={padding:"{list.padding}"},ek={padding:"{list.option.padding}"},tk={borderRadius:"{border.radius.sm}"},nk={color:"{form.field.icon.color}"},rk={root:zE,dropdown:_E,overlay:XE,tree:$E,emptyMessage:ek,chip:tk,clearIcon:nk},ok={transitionDuration:"{transition.duration}"},Ak={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},ik={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},sk={fontWeight:"600"},lk={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},ak={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},uk={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},ck={fontWeight:"600"},dk={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},fk={width:"0.5rem"},gk={width:"1px",color:"{primary.color}"},hk={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},pk={size:"2rem"},qk={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},mk={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Vk={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},bk={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Ck={root:ok,header:Ak,headerCell:ik,columnTitle:sk,row:lk,bodyCell:ak,footerCell:uk,columnFooter:ck,footer:dk,columnResizer:fk,resizeIndicator:gk,sortIcon:hk,loadingIcon:pk,nodeToggleButton:qk,paginatorTop:mk,paginatorBottom:Vk,colorScheme:bk},vk={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},yk={loader:vk},Ik=Object.defineProperty,Sk=Object.defineProperties,wk=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,Ek=Object.prototype.hasOwnProperty,kk=Object.prototype.propertyIsEnumerable,qc=(e,t,o)=>t in e?Ik(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,mc,Tk=(mc=((e,t)=>{for(var o in t||(t={}))Ek.call(t,o)&&qc(e,o,t[o]);if(pc)for(var o of pc(t))kk.call(t,o)&&qc(e,o,t[o]);return e})({},KC),Sk(mc,wk({components:{accordion:pC,autocomplete:wC,avatar:xC,badge:QC,blockui:NC,breadcrumb:ZC,button:_C,card:rv,carousel:av,cascadeselect:pv,checkbox:Vv,chip:Sv,colorpicker:Rv,confirmdialog:Ov,confirmpopup:Fv,contextmenu:jv,datatable:cy,dataview:my,datepicker:Fy,dialog:Ny,divider:Py,dock:Xy,drawer:o1,editor:u1,fieldset:h1,fileupload:y1,floatlabel:k1,galleria:J1,iconfield:j1,iftalabel:Z1,image:$1,imagecompare:tI,inlinemessage:iI,inplace:aI,inputchips:fI,inputgroup:hI,inputnumber:VI,inputotp:vI,inputtext:II,knob:TI,listbox:LI,megamenu:HI,menu:$I,menubar:iS,message:pS,metergroup:yS,multiselect:OS,orderlist:DS,organizationchart:GS,overlaybadge:JS,paginator:ZS,panel:t2,panelmenu:s2,password:f2,picklist:p2,popover:V2,progressbar:y2,progressspinner:S2,radiobutton:k2,rating:M2,ripple:O2,scrollpanel:L2,select:H2,selectbutton:z2,skeleton:$2,slider:Aw,speeddial:sw,splitbutton:aw,splitter:fw,stepper:vw,steps:kw,tabmenu:Bw,tabs:Kw,tabview:Pw,tag:$w,terminal:rE,textarea:AE,tieredmenu:dE,timeline:mE,toast:kE,togglebutton:OE,toggleswitch:LE,toolbar:QE,tooltip:KE,tree:PE,treeselect:rk,treetable:Ck,virtualscroller:yk}})));const Ci='@import"https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap";/*! tailwindcss v4.0.8 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(.637 .237 25.331);--color-yellow-400:oklch(.852 .199 91.936);--color-blue-400:oklch(.707 .165 254.624);--color-gray-900:oklch(.21 .034 264.665);--color-neutral-500:oklch(.556 0 0);--color-neutral-800:oklch(.269 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--radius-lg:.5rem;--radius-xl:.75rem;--default-font-family:"Quicksand";--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.static{position:static}.z-10{z-index:10}.m-auto{margin:auto}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.\\!h-10{height:calc(var(--spacing)*10)!important}.\\!h-12{height:calc(var(--spacing)*12)!important}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-24{height:calc(var(--spacing)*24)}.h-auto{height:auto}.h-full{height:100%}.\\!w-10{width:calc(var(--spacing)*10)!important}.\\!w-12{width:calc(var(--spacing)*12)!important}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-xs{max-width:var(--container-xs)}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.cursor-pointer{cursor:pointer}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-4{column-gap:calc(var(--spacing)*4)}.gap-y-2{row-gap:calc(var(--spacing)*2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-black{border-color:var(--color-black)}.border-neutral-500{border-color:var(--color-neutral-500)}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.text-center{text-align:center}.\\!text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[12px\\]{font-size:12px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\\!text-\\[\\#03AC7E\\]{color:#03ac7e!important}.text-\\[\\#03AC7E\\],.text-\\[\\#03ac7e\\]{color:#03ac7e}.text-\\[\\#7a75b5\\]{color:#7a75b5}.text-\\[\\#789f29\\]{color:#789f29}.text-\\[\\#F30A0A\\]{color:#f30a0a}.text-black{color:var(--color-black)}.text-blue-400{color:var(--color-blue-400)}.text-gray-900{color:var(--color-gray-900)}.text-red-500{color:var(--color-red-500)}.text-yellow-400{color:var(--color-yellow-400)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (prefers-color-scheme:dark){.dark\\:border-white{border-color:var(--color-white)}.dark\\:bg-neutral-800{background-color:var(--color-neutral-800)}.dark\\:text-white{color:var(--color-white)}}}body{font-family:Quicksand!important}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}',Ef=Np(wf,{shadowRoot:!1,styles:[Ci],configureApp(e){e.use(cC,{theme:{preset:Tk,options:{prefix:"p",darkModeSelector:"system"}}}),e.mixin({mounted(){var o,A;const t=(A=(o=this.$el.getRootNode())==null?void 0:o.host)==null?void 0:A.shadowRoot;if(t){const l=document.createElement("style");l.textContent=`${Ci}`,t.appendChild(l)}if(!document.getElementById("webphone-styles")){const l=document.createElement("style");l.id="webphone-styles",l.textContent=`${Ci}`,document.head.appendChild(l)}}})}});customElements.define("web-phone",Ef);exports.WebPhone=wf;exports.WebphoneElement=Ef;
|