@webitel/ui-sdk 26.8.141 → 26.8.142
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/{clients-7bjVyMfb.js → clients-BOQlPQY9.js} +5 -2
- package/dist/{components-BGwoOBLk.js → components-YpxR-tSG.js} +4 -4
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +2 -2
- package/dist/{wt-chat-emoji-CQt62UaT.js → wt-chat-emoji-DzZPSLEd.js} +1 -1
- package/dist/{wt-display-chip-items-D4sngyGn.js → wt-display-chip-items-CZeGyreN.js} +1 -1
- package/dist/{wt-rich-text-editor-DyGnGabB.js → wt-rich-text-editor-55G1zOWR.js} +1 -1
- package/dist/{wt-send-message-popup-BlKGak9b.js → wt-send-message-popup-CDaoK0yA.js} +2 -2
- package/dist/{wt-type-extension-value-input-PyuOjjR2.js → wt-type-extension-value-input-CfiPjrFy.js} +2 -2
- package/dist/{wt-vidstack-player-CHjMJ7iv.js → wt-vidstack-player-CFvihy8V.js} +1 -1
- package/package.json +1 -1
- package/src/components/on-demand/wt-rich-text-editor/wt-rich-text-editor.vue +1 -1
- package/types/.tsbuildinfo +1 -1
package/dist/ui-sdk.umd.cjs
CHANGED
|
@@ -1432,7 +1432,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
1432
1432
|
`}},RH=class extends TA{static props={when:!1}},zH=class extends Gk(HTMLElement,RH){static tagName=`media-layout`;#e;onSetup(){this.#e=gN()}onConnect(){J(this.#t.bind(this))}#t(){let e=this.firstElementChild,t=e?.localName===`template`,n=this.$props.when();if(!(Ck(n)?n:gk(()=>n(this.#e.player.state))())){t?(this.textContent=``,this.appendChild(e)):IN(e)&&(e.style.display=`none`);return}t?this.append(e.content.cloneNode(!0)):IN(e)&&(e.style.display=``)}},BH=class extends Gk(HTMLElement,XL){static tagName=`media-google-cast-button`},VH=class extends Gk(HTMLElement,JL){static tagName=`media-toggle-button`},HH=class extends Gk(HTMLElement,GL){static tagName=`media-tooltip`},UH=class extends Gk(HTMLElement,KL){static tagName=`media-tooltip-trigger`;onConnect(){this.style.display=`contents`}},WH=class extends Gk(HTMLElement,qL){static tagName=`media-tooltip-content`},GH=class extends Gk(HTMLElement,SL){static tagName=`media-menu-portal`;static attrs={disabled:{converter(e){return Sk(e)?e:e!==null}}}},KH=class extends Gk(HTMLElement,oR){static tagName=`media-chapters-radio-group`;onConnect(){fV(this,(e,t)=>{let{cue:n,startTime:r,duration:i}=t,a=e.querySelector(`.vds-thumbnail,media-thumbnail`),o=e.querySelector(`[data-part="start-time"]`),s=e.querySelector(`[data-part="duration"]`);o&&(o.textContent=r),s&&(s.textContent=i),a&&(a.setAttribute(`time`,n.startTime+``),J(()=>{let e=this.$props.thumbnails();`src`in a?a.src=e:Sk(e)&&a.setAttribute(`src`,e)}))})}},qH=class extends Gk(HTMLElement,cR){static tagName=`media-audio-gain-radio-group`;onConnect(){fV(this)}},JH=class extends Gk(HTMLElement,iR){static tagName=`media-radio-group`},YH=class extends Gk(HTMLElement,eL){static tagName=`media-slider`},XH=NN(`<video muted playsinline preload="none" style="max-width: unset;"></video>`),ZH=class extends Gk(HTMLElement,ZL){static tagName=`media-slider-video`;#e;#t=this.#n();onSetup(){this.#e=gN(),this.$state.video.set(this.#t)}onConnect(){let{canLoad:e}=this.#e.$state,{src:t,crossOrigin:n}=this.$state;this.#t.parentNode!==this&&this.prepend(this.#t),J(()=>{jk(this.#t,`crossorigin`,n()),jk(this.#t,`preload`,e()?`auto`:`none`),jk(this.#t,`src`,t())})}#n(){return PN(XH)}},QH=class extends Gk(HTMLElement,$L){static tagName=`media-audio-gain-slider`},$H=class extends Gk(HTMLElement,eR){static tagName=`media-speed-slider`},eU=class extends Gk(HTMLElement,tR){static tagName=`media-quality-slider`},tU=class extends Gk(HTMLElement,nR){static tagName=`media-slider-chapters`;#e=null;onConnect(){jN(()=>{if(!this.connectScope)return;let e=this.querySelector(`template`);e&&(this.#e=e,J(this.#t.bind(this)))})}#t(){if(!this.#e)return;let e=MN(this.#e,this.cues.length||1);this.setRefs(e)}},nU=class extends TA{},rU=class extends Gk(HTMLElement,nU){static tagName=`media-slider-steps`;#e=null;onConnect(e){jN(()=>{this.connectScope&&(this.#e=e.querySelector(`template`),this.#e&&J(this.#t.bind(this)))})}#t(){if(!this.#e)return;let{min:e,max:t,step:n}=zk(KI),r=(t()-e())/n();MN(this.#e,Math.floor(r)+1)}}})),iU,cOe=O((()=>{JA(),eEe(),iU=class extends Gk(HTMLElement,pR){static tagName=`media-poster`;static attrs={crossOrigin:`crossorigin`};#e=document.createElement(`img`);onSetup(){this.$state.img.set(this.#e)}onConnect(){let{src:e,alt:t,crossOrigin:n}=this.$state;J(()=>{let{loading:e,hidden:t}=this.$state;this.#e.style.display=e()||t()?`none`:``}),J(()=>{jk(this.#e,`alt`,t()),jk(this.#e,`crossorigin`,n()),jk(this.#e,`src`,e())}),this.#e.parentNode!==this&&this.prepend(this.#e)}}})),lOe=O((()=>{JA(),sOe(),cOe(),RV(),qk(zH),qk(AH),qk(jH),qk(iU),qk(kH),qk(HH),qk(UH),qk(WH),qk(SV),qk(bV),qk(_V),qk(vV),qk(xV),qk(CV),qk(gV),qk(BH),qk(VH),qk(YH),qk(QH),qk(LV),qk(FV),qk($H),qk(eU),qk(tU),qk(rU),qk(IV),qk(PV),qk(NV),qk(ZH),qk(EV),qk(DV),qk(GH),qk(kV),qk(OV),qk(wV),qk(TV),qk(AV),qk(qH),qk(jV),qk(KH),qk(JH),qk(MV),qk(OH),qk(mV),qk(DH),qk(yV),qk(hV),qk(NH),qk(FH),qk(LH)})),aU,oU=O((()=>{aU=()=>{let e=(0,t.inject)(`size`);if(!e)throw Error(`wt-vidstack-player: "size" context is not provided`);return e}})),sU,cU,lU=O((()=>{oU(),sU={class:`controls-group__actions`},cU=(0,t.defineComponent)({__name:`controls-group`,setup(e){let{size:n}=aU();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`media-controls-group`,{class:(0,t.normalizeClass)([`controls-group`,`controls-group--${(0,t.unref)(n)}`])},[(0,t.createElementVNode)(`div`,sU,[(0,t.renderSlot)(e.$slots,`default`,{},void 0,!0)])],2))}})})),uOe=O((()=>{})),uU,dOe=O((()=>{lU(),lU(),uOe(),R(),uU=L(cU,[[`__scopeId`,`data-v-dca54c57`]])})),dU,fU=O((()=>{Ib(),oU(),dU=(0,t.defineComponent)({__name:`fullscreen-button`,emits:[`toggle`],setup(e,{emit:n}){let{fullscreen:r}=aU(),i=n;return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`fullscreen-button`,{"fullscreen-button--active":(0,t.unref)(r)}]),onClick:n[0]||=e=>i(`toggle`,!(0,t.unref)(r))},[(0,t.createVNode)(Fb,{icon:`player-enter-fullscreen`,color:`on-dark`,class:`fullscreen-button__enter`}),(0,t.createVNode)(Fb,{icon:`player-exit-fullscreen`,color:`on-dark`,class:`fullscreen-button__exit`})],2))}})})),fOe=O((()=>{})),pU,pOe=O((()=>{fU(),fU(),fOe(),R(),pU=L(dU,[[`__scopeId`,`data-v-a99f9d37`]])})),mU,hU=O((()=>{Ib(),mU=(0,t.defineComponent)({__name:`toggle-button`,props:{icon:{},color:{},disabled:{type:Boolean}},emits:[`toggle`],setup(e,{emit:n}){let r=e,i=n,a=()=>{r.disabled||i(`toggle`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:`toggle-button`,onClick:a},[(0,t.createVNode)(Fb,{icon:r.icon,color:r.color,disabled:r.disabled},null,8,[`icon`,`color`,`disabled`])]))}})})),gU,mOe=O((()=>{hU(),hU(),gU=mU})),_U,vU,yU,bU,xU=O((()=>{qp(),Bm(),Ib(),oU(),pOe(),mOe(),_U={class:`video-display-panel__head`},vU=[`title`],yU={class:`video-display-panel__controls`},bU=(0,t.defineComponent)({__name:`video-display-panel`,props:{title:{},username:{},closable:{type:Boolean},hideExpand:{type:Boolean}},emits:[`close`],setup(e,{emit:n}){let{size:r,fullscreen:i,changeSize:a,enterFullscreen:o}=aU(),s=(0,t.computed)(()=>r.value===V.SM?`expand`:`collapse`),c=e,l=n,u=e=>{e?r.value!==V.LG&&(i.value=!0,a(V.LG),o()):r.value===V.LG&&(f(),i.value=!1,a(V.SM))},d=()=>{r.value===V.SM?a(V.MD):r.value===V.MD?a(V.SM):r.value===V.LG&&(f(),i.value=!1,a(V.MD))},f=()=>{document.fullscreenElement&&document.exitFullscreen()},p=e=>{e.key===`Escape`&&u(!1)};return(0,t.onMounted)(()=>{document.addEventListener(`fullscreenchange`,()=>{document.fullscreenElement||u(!1)}),(0,t.onBeforeUnmount)(()=>{document.removeEventListener(`keyup`,p)})}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`media-controls-group`,{class:(0,t.normalizeClass)([`video-display-panel--${(0,t.unref)(r)}`,`video-display-panel controls-group`])},[(0,t.createElementVNode)(`div`,_U,[(0,t.renderSlot)(e.$slots,`avatar`,{},()=>[c.username?((0,t.openBlock)(),(0,t.createBlock)(zm,{key:0,username:c.username,size:`sm`,class:`video-display-panel__avatar`},null,8,[`username`])):(0,t.createCommentVNode)(``,!0)],!0),(0,t.createElementVNode)(`span`,{class:`video-display-panel__title typo-body-2-bold`,title:c.title||c.username},(0,t.toDisplayString)(c.title||c.username),9,vU)]),(0,t.createElementVNode)(`div`,yU,[(0,t.renderSlot)(e.$slots,`actions`,{},void 0,!0),(0,t.createVNode)(pU,{onToggle:u}),c.hideExpand?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)(gU,{key:0,icon:s.value,color:`on-dark`,onToggle:d},null,8,[`icon`])),c.closable?((0,t.openBlock)(),(0,t.createBlock)(Fb,{key:1,icon:`close`,color:`on-dark`,onClick:n[0]||=e=>l(`close`)})):(0,t.createCommentVNode)(``,!0)])],2))}})})),hOe=O((()=>{})),SU,gOe=O((()=>{xU(),xU(),hOe(),R(),SU=L(bU,[[`__scopeId`,`data-v-c4fbc40e`]])})),CU,wU,TU,EU,DU=O((()=>{oU(),WU(),gOe(),CU={class:`video-display-panel-wrapper`},wU={class:`video-layout-content`},TU={class:`video-layout-controls`},EU=(0,t.defineComponent)({__name:`video-layout`,props:{title:{},username:{},closable:{type:Boolean},hideVideoDisplayPanel:{type:Boolean},hideControlsPanel:{type:Boolean},hideExpand:{type:Boolean},countdownTimeMode:{type:Boolean}},emits:[`close-player`,`close-session`,`make-screenshot`,`toggle-record`],setup(e,{emit:n}){let{size:r}=aU(),i=e,a=n;return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`media-controls`,{class:(0,t.normalizeClass)([`video-layout controls`,`video-layout--${(0,t.unref)(r)}`])},[(0,t.createElementVNode)(`div`,CU,[i.hideVideoDisplayPanel?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)(SU,{key:0,title:i.title,username:i.username,closable:i.closable,"hide-expand":i.hideExpand,onClose:n[0]||=e=>a(`close-player`)},(0,t.createSlots)({_:2},[e.$slots.avatar?{name:`avatar`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`avatar`,{},void 0,!0)]),key:`0`}:void 0,e.$slots[`display-panel-actions`]?{name:`actions`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`display-panel-actions`,{},void 0,!0)]),key:`1`}:void 0]),1032,[`title`,`username`,`closable`,`hide-expand`]))]),(0,t.createElementVNode)(`media-controls-group`,wU,[(0,t.renderSlot)(e.$slots,`content`,{},void 0,!0)]),(0,t.createElementVNode)(`div`,TU,[i.hideControlsPanel?(0,t.createCommentVNode)(``,!0):(0,t.renderSlot)(e.$slots,`controls-panel`,{key:0},()=>[(0,t.createVNode)((0,t.unref)(zU),{"countdown-time-mode":i.countdownTimeMode},null,8,[`countdown-time-mode`])],!0)])],2))}})})),_Oe=O((()=>{})),OU,vOe=O((()=>{DU(),DU(),_Oe(),R(),OU=L(EU,[[`__scopeId`,`data-v-3f52c902`]])})),kU,AU,jU=O((()=>{oU(),kU={class:`play-button`},AU=(0,t.defineComponent)({__name:`play-button`,setup(e){let{size:n}=aU();return(e,r)=>{let i=(0,t.resolveComponent)(`wt-button`);return(0,t.openBlock)(),(0,t.createElementBlock)(`media-play-button`,kU,[(0,t.createVNode)(i,{size:(0,t.unref)(n),variant:`outlined`,color:`secondary`,icon:`play`,type:`play`,rounded:``,"contains-icon":``,class:`play-button__play-icon`},null,8,[`size`]),(0,t.createVNode)(i,{size:(0,t.unref)(n),variant:`outlined`,color:`secondary`,icon:`pause`,type:`pause`,rounded:``,"contains-icon":``,class:`play-button__pause-icon`},null,8,[`size`])])}}})})),yOe=O((()=>{})),MU,bOe=O((()=>{jU(),jU(),yOe(),R(),MU=L(AU,[[`__scopeId`,`data-v-9fd8a31f`]])})),NU,PU,FU=O((()=>{DO(),NU={class:`time-slider media-slider`},PU=(0,t.defineComponent)({__name:`time-slider`,setup(e){return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`media-time-slider`,NU,[(0,t.createVNode)(EO,{class:`time-slider__slider`})]))}})})),xOe=O((()=>{})),IU,SOe=O((()=>{FU(),FU(),xOe(),R(),IU=L(PU,[[`__scopeId`,`data-v-fbc2d9f8`]])})),LU,RU=O((()=>{WU(),bOe(),SOe(),qO(),LU=(0,t.defineComponent)({__name:`playback-controls-panel`,props:{countdownTimeMode:{type:Boolean,default:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(uU),{class:`playback-control-panel`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(MU),(0,t.createVNode)(IU),(0,t.createVNode)(KO,{countdown:n.countdownTimeMode},null,8,[`countdown`])],void 0,!0),_:1}))}})})),COe=O((()=>{})),zU,wOe=O((()=>{RU(),RU(),COe(),R(),zU=L(LU,[[`__scopeId`,`data-v-a6b8fc46`]])})),BU=O((()=>{WU(),qp(),oU()})),TOe=O((()=>{})),EOe=O((()=>{BU(),BU(),TOe()})),VU=O((()=>{uh(),WU(),qp()})),DOe=O((()=>{})),OOe=O((()=>{VU(),VU(),DOe()})),HU=O((()=>{yy()})),kOe=O((()=>{})),AOe=O((()=>{HU(),HU(),kOe()})),UU=O((()=>{T9()})),jOe=O((()=>{})),MOe=O((()=>{UU(),UU(),jOe()})),WU=O((()=>{dOe(),vOe(),wOe(),EOe(),OOe(),AOe(),MOe()})),GU,KU,qU=O((()=>{aOe(),lOe(),mR(),qp(),WU(),gR(),GU=[`autoplay`,`muted`,`src`],KU=(0,t.defineComponent)({__name:`wt-vidstack-player`,props:{src:{},mime:{default:`video/mp4`},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!0},title:{default:``},username:{default:``},closable:{type:Boolean,default:!1},countdownTimeMode:{type:Boolean,default:!1},static:{type:Boolean,default:!1},stream:{},size:{},hideVideoDisplayPanel:{type:Boolean},hideControlsPanel:{type:Boolean,default:!1},hideBackground:{type:Boolean},hideExpand:{type:Boolean},stretch:{type:Boolean},videoObjectFit:{default:`contain`},mirrorVideo:{type:Boolean}},emits:[`close`,`change-size`],setup(e,{expose:n,emit:r}){let i=e,a=r,o=(0,t.useTemplateRef)(`root`);n({rootEl:o});let s=(0,t.ref)(i.size||V.SM),c=(0,t.ref)(!1);(0,t.provide)(`size`,{size:s,fullscreen:c,changeSize:e=>{s.value=e,a(`change-size`,e)},enterFullscreen:()=>{o.value?.requestFullscreen()}});let{src:l,mime:u,stream:d}=(0,t.toRefs)(i),{normalizedSrcObject:f}=hR({src:l,type:u,stream:d}),p=(0,t.computed)(()=>[`wt-vidstack-player--${s.value}`,`wt-vidstack-player-video-object-fit--${i.videoObjectFit}`,i.mirrorVideo&&`wt-vidstack-player--mirror-video`,c.value&&`wt-vidstack-player--fullscreen`,i.stretch&&`wt-vidstack-player--stretch`,i.static&&`wt-vidstack-player--static`,i.hideBackground&&`wt-vidstack-player--hide-background`,i.hideControlsPanel&&`wt-vidstack-player--hide-controls-panel`]),m=e=>{if(e instanceof HTMLVideoElement)return e;let t=e instanceof Element&&e.shadowRoot?Array.from(e.shadowRoot.children):[],n=Array.from(e.children??[]);for(let e of[...t,...n]){let t=m(e);if(t)return t}return null},h=e=>{if(!i.autoplay)return;let t=(m(e.target)??e.target).play?.();t&&typeof t.catch==`function`&&t.catch(()=>{})},g=e=>{FTe(e.detail)&&(e.detail.video.playsInline=!0)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref:`root`,class:(0,t.normalizeClass)([p.value,`wt-vidstack-player`])},[(0,t.createElementVNode)(`media-player`,{ref:`player`,autoplay:i.autoplay,muted:i.muted,src:(0,t.unref)(f),class:`wt-vidstack-player__player`,"cross-origin":``,playsinline:``,onClose:n[1]||=e=>a(`close`),onCanPlay:h,onProviderChange:g},[n[2]||=(0,t.createElementVNode)(`media-provider`,{class:`wt-vidstack-player__provider`},null,-1),(0,t.createVNode)((0,t.unref)(OU),{autoplay:i.autoplay,closable:i.closable,"hide-controls-panel":i.hideControlsPanel,"hide-expand":i.hideExpand,"hide-video-display-panel":i.hideVideoDisplayPanel,title:i.title,username:i.username,"countdown-time-mode":i.countdownTimeMode,onClosePlayer:n[0]||=e=>a(`close`)},(0,t.createSlots)({"controls-panel":(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`controls-panel`,{size:s.value},void 0,!0)]),content:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`content`,{size:s.value},void 0,!0)]),_:2},[e.$slots.avatar?{name:`avatar`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`avatar`,{},void 0,!0)]),key:`0`}:void 0,e.$slots[`display-panel-actions`]?{name:`display-panel-actions`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`display-panel-actions`,{},void 0,!0)]),key:`1`}:void 0]),1032,[`autoplay`,`closable`,`hide-controls-panel`,`hide-expand`,`hide-video-display-panel`,`title`,`username`,`countdown-time-mode`])],40,GU)],2))}})})),NOe=O((()=>{})),POe=A({default:()=>JU}),JU,FOe=O((()=>{qU(),qU(),NOe(),R(),JU=L(KU,[[`__scopeId`,`data-v-61c739c8`]])})),IOe=O((()=>{})),LOe=O((()=>{})),ROe=O((()=>{})),zOe=O((()=>{})),BOe=O((()=>{})),VOe=O((()=>{})),HOe=O((()=>{})),UOe=O((()=>{})),WOe=O((()=>{})),GOe=O((()=>{})),KOe=O((()=>{})),qOe=O((()=>{})),JOe=O((()=>{})),YOe=O((()=>{})),XOe=O((()=>{})),ZOe=O((()=>{})),QOe=O((()=>{})),$Oe=O((()=>{})),eke=O((()=>{})),tke=O((()=>{})),nke=O((()=>{})),rke=O((()=>{})),ike=O((()=>{})),ake=O((()=>{})),oke=O((()=>{})),ske=O((()=>{})),cke=O((()=>{})),lke=O((()=>{})),uke=O((()=>{})),dke=O((()=>{})),fke=O((()=>{})),pke=O((()=>{})),mke=O((()=>{})),hke=O((()=>{})),gke=O((()=>{})),_ke=O((()=>{})),vke=O((()=>{})),yke=O((()=>{})),bke=O((()=>{})),xke=O((()=>{})),Ske=O((()=>{})),Cke=O((()=>{})),wke=O((()=>{})),Tke=O((()=>{})),Eke=O((()=>{})),Dke=O((()=>{})),Oke=O((()=>{})),kke=O((()=>{})),Ake=O((()=>{})),jke=O((()=>{})),Mke=O((()=>{})),Nke=O((()=>{})),Pke=O((()=>{})),Fke=O((()=>{})),Ike=O((()=>{})),Lke=O((()=>{})),Rke=O((()=>{})),zke=O((()=>{})),Bke=O((()=>{})),Vke=O((()=>{})),Hke=O((()=>{})),Uke=O((()=>{})),Wke=O((()=>{})),Gke=O((()=>{})),Kke=O((()=>{})),qke=O((()=>{})),Jke=O((()=>{})),Yke=O((()=>{})),Xke=O((()=>{})),Zke=O((()=>{})),Qke=O((()=>{})),$ke=O((()=>{})),eAe=O((()=>{})),tAe=O((()=>{})),nAe=O((()=>{})),rAe=O((()=>{})),iAe=O((()=>{})),aAe=O((()=>{})),oAe=O((()=>{})),sAe=O((()=>{})),cAe=O((()=>{})),lAe=O((()=>{})),uAe=O((()=>{})),dAe=O((()=>{})),fAe=O((()=>{})),pAe=O((()=>{})),mAe=O((()=>{})),hAe=O((()=>{})),gAe=O((()=>{})),_Ae=O((()=>{})),vAe=O((()=>{})),yAe=O((()=>{})),bAe=O((()=>{})),xAe=O((()=>{})),SAe=O((()=>{})),CAe=O((()=>{})),wAe=O((()=>{})),TAe=O((()=>{})),EAe=O((()=>{})),DAe=O((()=>{})),OAe=O((()=>{})),kAe=O((()=>{})),AAe=O((()=>{})),jAe=O((()=>{})),MAe=O((()=>{})),NAe=O((()=>{})),PAe=O((()=>{})),FAe=O((()=>{})),IAe=O((()=>{})),LAe=O((()=>{})),RAe=O((()=>{})),zAe=O((()=>{})),BAe=O((()=>{})),VAe=O((()=>{})),HAe=O((()=>{})),UAe=O((()=>{})),WAe=O((()=>{})),GAe=O((()=>{})),KAe=O((()=>{})),qAe=O((()=>{})),JAe=O((()=>{})),YAe=O((()=>{})),XAe=O((()=>{})),ZAe=O((()=>{})),QAe=O((()=>{})),$Ae=O((()=>{})),eje=O((()=>{})),tje=O((()=>{})),nje=O((()=>{})),rje=O((()=>{})),ije=O((()=>{})),aje=O((()=>{})),oje=O((()=>{})),sje=O((()=>{})),cje=O((()=>{})),lje=O((()=>{})),uje=O((()=>{})),dje=O((()=>{})),YU,fje=O((()=>{YU={UserWarningIdUnspecified:`user_warning_id_unspecified`,PasswordExpiresSoon:`password_expires_soon`,LicenseExpiresSoon:`license_expires_soon`,LicenseExpired:`license_expired`}})),pje=O((()=>{})),mje=O((()=>{})),hje=O((()=>{})),gje=O((()=>{})),_je=O((()=>{})),vje=O((()=>{})),yje=O((()=>{})),bje=O((()=>{})),xje=O((()=>{})),Sje=O((()=>{})),Cje=O((()=>{})),wje=O((()=>{})),Tje=O((()=>{})),Eje=O((()=>{})),Dje=O((()=>{})),Oje=O((()=>{})),kje=O((()=>{})),Aje=O((()=>{})),jje=O((()=>{})),Mje=O((()=>{})),Nje=O((()=>{})),Pje=O((()=>{})),Fje=O((()=>{})),Ije=O((()=>{})),Lje=O((()=>{})),Rje=O((()=>{})),zje=O((()=>{})),Bje=O((()=>{})),Vje=O((()=>{})),Hje=O((()=>{})),Uje=O((()=>{})),Wje=O((()=>{})),Gje=O((()=>{})),Kje=O((()=>{})),qje=O((()=>{})),Jje=O((()=>{})),Yje=O((()=>{})),Xje=O((()=>{})),Zje=O((()=>{})),Qje=O((()=>{})),$je=O((()=>{})),eMe=O((()=>{})),tMe=O((()=>{})),nMe=O((()=>{})),rMe=O((()=>{})),iMe=O((()=>{})),aMe=O((()=>{})),oMe=O((()=>{})),sMe=O((()=>{})),cMe=O((()=>{})),lMe=O((()=>{})),uMe=O((()=>{})),dMe=O((()=>{})),fMe=O((()=>{})),pMe=O((()=>{})),mMe=O((()=>{})),hMe=O((()=>{})),gMe=O((()=>{})),_Me=O((()=>{})),XU,vMe=O((()=>{XU={GroupTypeUnspecified:`GROUP_TYPE_UNSPECIFIED`,Static:`STATIC`,Dynamic:`DYNAMIC`}})),yMe=O((()=>{})),bMe=O((()=>{})),xMe=O((()=>{})),SMe=O((()=>{})),CMe=O((()=>{})),wMe=O((()=>{})),TMe=O((()=>{})),EMe=O((()=>{})),DMe=O((()=>{})),OMe=O((()=>{})),kMe=O((()=>{})),AMe=O((()=>{})),jMe=O((()=>{})),MMe=O((()=>{})),NMe=O((()=>{})),PMe=O((()=>{})),FMe=O((()=>{})),IMe=O((()=>{})),LMe=O((()=>{})),RMe=O((()=>{})),zMe=O((()=>{})),BMe=O((()=>{})),VMe=O((()=>{})),HMe=O((()=>{})),UMe=O((()=>{})),WMe=O((()=>{})),GMe=O((()=>{})),KMe=O((()=>{})),qMe=O((()=>{})),JMe=O((()=>{})),YMe=O((()=>{})),XMe=O((()=>{})),ZMe=O((()=>{})),QMe=O((()=>{})),$Me=O((()=>{})),eNe=O((()=>{})),tNe=O((()=>{})),nNe=O((()=>{})),rNe=O((()=>{})),iNe=O((()=>{})),aNe=O((()=>{})),oNe=O((()=>{})),sNe=O((()=>{})),cNe=O((()=>{})),lNe=O((()=>{})),uNe=O((()=>{})),dNe=O((()=>{})),fNe=O((()=>{})),pNe=O((()=>{})),mNe=O((()=>{})),hNe=O((()=>{})),gNe=O((()=>{})),_Ne=O((()=>{})),vNe=O((()=>{})),yNe=O((()=>{})),bNe=O((()=>{})),xNe=O((()=>{})),SNe=O((()=>{})),CNe=O((()=>{})),wNe=O((()=>{})),TNe=O((()=>{})),ENe=O((()=>{})),DNe=O((()=>{})),ONe=O((()=>{})),kNe=O((()=>{})),ANe=O((()=>{})),jNe=O((()=>{})),MNe=O((()=>{})),NNe=O((()=>{})),PNe=O((()=>{})),FNe=O((()=>{})),INe=O((()=>{})),LNe=O((()=>{})),RNe=O((()=>{})),zNe=O((()=>{})),BNe=O((()=>{})),VNe=O((()=>{})),HNe=O((()=>{})),UNe=O((()=>{})),WNe=O((()=>{})),GNe=O((()=>{})),KNe=O((()=>{})),qNe=O((()=>{})),JNe=O((()=>{})),YNe=O((()=>{})),XNe=O((()=>{})),ZNe=O((()=>{})),QNe=O((()=>{})),$Ne=O((()=>{})),ePe=O((()=>{})),tPe=O((()=>{})),nPe=O((()=>{})),rPe=O((()=>{})),iPe=O((()=>{})),aPe=O((()=>{})),oPe=O((()=>{})),sPe=O((()=>{})),cPe=O((()=>{})),lPe=O((()=>{})),uPe=O((()=>{})),dPe=O((()=>{})),fPe=O((()=>{})),pPe=O((()=>{})),mPe=O((()=>{})),hPe=O((()=>{})),gPe=O((()=>{})),_Pe=O((()=>{})),vPe=O((()=>{})),yPe=O((()=>{})),bPe=O((()=>{})),xPe=O((()=>{})),SPe=O((()=>{})),CPe=O((()=>{})),wPe=O((()=>{})),TPe=O((()=>{})),EPe=O((()=>{})),DPe=O((()=>{})),OPe=O((()=>{})),kPe=O((()=>{})),APe=O((()=>{})),jPe=O((()=>{})),MPe=O((()=>{})),NPe=O((()=>{})),PPe=O((()=>{})),FPe=O((()=>{})),IPe=O((()=>{})),LPe=O((()=>{})),RPe=O((()=>{})),zPe=O((()=>{})),BPe=O((()=>{})),VPe=O((()=>{})),HPe=O((()=>{})),UPe=O((()=>{})),WPe=O((()=>{})),GPe=O((()=>{})),KPe=O((()=>{})),qPe=O((()=>{})),JPe=O((()=>{})),YPe=O((()=>{})),XPe=O((()=>{})),ZPe=O((()=>{})),QPe=O((()=>{})),$Pe=O((()=>{})),eFe=O((()=>{})),tFe=O((()=>{})),nFe=O((()=>{})),rFe=O((()=>{})),iFe=O((()=>{})),aFe=O((()=>{})),oFe=O((()=>{})),sFe=O((()=>{})),cFe=O((()=>{})),lFe=O((()=>{})),uFe=O((()=>{})),dFe=O((()=>{})),fFe=O((()=>{})),pFe=O((()=>{})),mFe=O((()=>{})),hFe=O((()=>{})),gFe=O((()=>{})),_Fe=O((()=>{})),vFe=O((()=>{})),yFe=O((()=>{})),bFe=O((()=>{})),xFe=O((()=>{})),SFe=O((()=>{})),CFe=O((()=>{})),wFe=O((()=>{})),TFe=O((()=>{})),EFe=O((()=>{})),DFe=O((()=>{})),OFe=O((()=>{})),kFe=O((()=>{})),AFe=O((()=>{})),jFe=O((()=>{})),MFe=O((()=>{})),NFe=O((()=>{})),PFe=O((()=>{})),FFe=O((()=>{})),IFe=O((()=>{})),LFe=O((()=>{})),RFe=O((()=>{})),zFe=O((()=>{})),BFe=O((()=>{})),VFe=O((()=>{})),HFe=O((()=>{})),UFe=O((()=>{})),WFe=O((()=>{})),GFe=O((()=>{})),KFe=O((()=>{})),qFe=O((()=>{})),JFe=O((()=>{})),YFe=O((()=>{})),XFe=O((()=>{})),ZFe=O((()=>{})),QFe=O((()=>{})),$Fe=O((()=>{})),eIe=O((()=>{})),tIe=O((()=>{})),nIe=O((()=>{})),rIe=O((()=>{})),iIe=O((()=>{})),aIe=O((()=>{})),oIe=O((()=>{})),sIe=O((()=>{})),cIe=O((()=>{})),lIe=O((()=>{})),uIe=O((()=>{})),dIe=O((()=>{})),fIe=O((()=>{})),pIe=O((()=>{})),mIe=O((()=>{})),hIe=O((()=>{})),gIe=O((()=>{})),_Ie=O((()=>{})),vIe=O((()=>{})),yIe=O((()=>{})),bIe=O((()=>{})),xIe=O((()=>{})),SIe=O((()=>{})),CIe=O((()=>{})),wIe=O((()=>{})),TIe=O((()=>{})),EIe=O((()=>{})),DIe=O((()=>{})),OIe=O((()=>{})),kIe=O((()=>{})),ZU,AIe=O((()=>{ZU={FileTypeEmpty:`file_type_empty`,FileTypeScreenshot:`file_type_screenshot`,FileTypeScreensharing:`file_type_screensharing`,FileTypeAudio:`file_type_audio`,FileTypeVideo:`file_type_video`,FileTypePdf:`file_type_pdf`}})),jIe=O((()=>{})),MIe=O((()=>{})),NIe=O((()=>{})),PIe=O((()=>{})),FIe=O((()=>{})),IIe=O((()=>{})),LIe=O((()=>{})),RIe=O((()=>{})),zIe=O((()=>{})),BIe=O((()=>{})),VIe=O((()=>{})),HIe=O((()=>{})),UIe=O((()=>{})),WIe=O((()=>{})),GIe=O((()=>{})),KIe=O((()=>{})),qIe=O((()=>{})),JIe=O((()=>{})),YIe=O((()=>{})),XIe=O((()=>{})),ZIe=O((()=>{})),QIe=O((()=>{})),$Ie=O((()=>{})),eLe=O((()=>{})),tLe=O((()=>{})),nLe=O((()=>{})),rLe=O((()=>{})),iLe=O((()=>{})),aLe=O((()=>{})),oLe=O((()=>{})),sLe=O((()=>{})),cLe=O((()=>{})),lLe=O((()=>{})),uLe=O((()=>{})),dLe=O((()=>{})),fLe=O((()=>{})),pLe=O((()=>{})),mLe=O((()=>{})),hLe=O((()=>{})),gLe=O((()=>{})),_Le=O((()=>{})),vLe=O((()=>{})),yLe=O((()=>{})),bLe=O((()=>{})),xLe=O((()=>{})),SLe=O((()=>{})),CLe=O((()=>{})),wLe=O((()=>{})),TLe=O((()=>{})),ELe=O((()=>{})),DLe=O((()=>{})),OLe=O((()=>{})),kLe=O((()=>{})),ALe=O((()=>{})),jLe=O((()=>{})),MLe=O((()=>{})),NLe=O((()=>{})),PLe=O((()=>{})),FLe=O((()=>{})),ILe=O((()=>{})),LLe=O((()=>{})),RLe=O((()=>{})),zLe=O((()=>{})),BLe=O((()=>{})),VLe=O((()=>{})),HLe=O((()=>{})),ULe=O((()=>{})),WLe=O((()=>{})),GLe=O((()=>{})),KLe=O((()=>{})),qLe=O((()=>{})),JLe=O((()=>{})),YLe=O((()=>{})),XLe=O((()=>{})),ZLe=O((()=>{})),QLe=O((()=>{})),$Le=O((()=>{})),eRe=O((()=>{})),tRe=O((()=>{})),nRe=O((()=>{})),rRe=O((()=>{})),iRe=O((()=>{})),aRe=O((()=>{})),oRe=O((()=>{})),sRe=O((()=>{})),cRe=O((()=>{})),lRe=O((()=>{})),uRe=O((()=>{})),dRe=O((()=>{})),fRe=O((()=>{})),pRe=O((()=>{})),mRe=O((()=>{})),hRe=O((()=>{})),gRe=O((()=>{})),_Re=O((()=>{})),vRe=O((()=>{})),yRe=O((()=>{})),bRe=O((()=>{})),xRe=O((()=>{})),SRe=O((()=>{})),CRe=O((()=>{})),wRe=O((()=>{})),TRe=O((()=>{})),ERe=O((()=>{})),DRe=O((()=>{})),ORe=O((()=>{})),kRe=O((()=>{})),ARe=O((()=>{})),jRe=O((()=>{})),MRe=O((()=>{})),NRe=O((()=>{})),PRe=O((()=>{})),FRe=O((()=>{})),IRe=O((()=>{})),LRe=O((()=>{})),RRe=O((()=>{})),zRe=O((()=>{})),BRe=O((()=>{})),VRe=O((()=>{})),HRe=O((()=>{})),URe=O((()=>{})),WRe=O((()=>{})),GRe=O((()=>{})),KRe=O((()=>{})),qRe=O((()=>{})),JRe=O((()=>{})),YRe=O((()=>{})),XRe=O((()=>{})),ZRe=O((()=>{})),QRe=O((()=>{})),$Re=O((()=>{})),eze=O((()=>{})),tze=O((()=>{})),nze=O((()=>{})),rze=O((()=>{})),ize=O((()=>{})),aze=O((()=>{})),oze=O((()=>{})),sze=O((()=>{})),cze=O((()=>{})),lze=O((()=>{})),uze=O((()=>{})),dze=O((()=>{})),fze=O((()=>{})),pze=O((()=>{})),mze=O((()=>{})),hze=O((()=>{})),gze=O((()=>{})),_ze=O((()=>{})),vze=O((()=>{})),yze=O((()=>{})),bze=O((()=>{})),xze=O((()=>{})),Sze=O((()=>{})),Cze=O((()=>{})),wze=O((()=>{})),Tze=O((()=>{})),Eze=O((()=>{})),Dze=O((()=>{})),Oze=O((()=>{})),kze=O((()=>{})),Aze=O((()=>{})),jze=O((()=>{})),Mze=O((()=>{})),Nze=O((()=>{})),Pze=O((()=>{})),Fze=O((()=>{})),Ize=O((()=>{})),Lze=O((()=>{})),Rze=O((()=>{})),zze=O((()=>{})),Bze=O((()=>{})),Vze=O((()=>{})),Hze=O((()=>{})),Uze=O((()=>{})),Wze=O((()=>{})),Gze=O((()=>{})),Kze=O((()=>{})),qze=O((()=>{})),Jze=O((()=>{})),Yze=O((()=>{})),Xze=O((()=>{})),Zze=O((()=>{})),Qze=O((()=>{})),$ze=O((()=>{})),eBe=O((()=>{})),tBe=O((()=>{})),nBe=O((()=>{})),rBe=O((()=>{})),iBe=O((()=>{})),aBe=O((()=>{})),oBe=O((()=>{})),sBe=O((()=>{})),cBe=O((()=>{})),lBe=O((()=>{})),uBe=O((()=>{})),dBe=O((()=>{})),fBe=O((()=>{})),pBe=O((()=>{})),mBe=O((()=>{})),hBe=O((()=>{})),gBe=O((()=>{})),_Be=O((()=>{})),vBe=O((()=>{})),yBe=O((()=>{})),bBe=O((()=>{})),xBe=O((()=>{})),SBe=O((()=>{})),CBe=O((()=>{})),wBe=O((()=>{})),TBe=O((()=>{})),EBe=O((()=>{})),DBe=O((()=>{})),OBe=O((()=>{})),kBe=O((()=>{})),ABe=O((()=>{})),jBe=O((()=>{})),MBe=O((()=>{})),NBe=O((()=>{})),PBe=O((()=>{})),FBe=O((()=>{})),IBe=O((()=>{})),LBe=O((()=>{})),RBe=O((()=>{})),zBe=O((()=>{})),BBe=O((()=>{})),VBe=O((()=>{})),HBe=O((()=>{})),UBe=O((()=>{})),WBe=O((()=>{})),GBe=O((()=>{})),KBe=O((()=>{})),qBe=O((()=>{})),JBe=O((()=>{})),YBe=O((()=>{})),XBe=O((()=>{})),ZBe=O((()=>{})),QBe=O((()=>{})),$Be=O((()=>{})),eVe=O((()=>{})),tVe=O((()=>{})),nVe=O((()=>{})),rVe=O((()=>{})),iVe=O((()=>{})),aVe=O((()=>{})),oVe=O((()=>{})),sVe=O((()=>{})),cVe=O((()=>{})),lVe=O((()=>{})),uVe=O((()=>{})),dVe=O((()=>{})),fVe=O((()=>{})),pVe=O((()=>{})),mVe=O((()=>{})),hVe=O((()=>{})),gVe=O((()=>{})),_Ve=O((()=>{})),vVe=O((()=>{})),yVe=O((()=>{})),bVe=O((()=>{})),xVe=O((()=>{})),SVe=O((()=>{})),CVe=O((()=>{})),wVe=O((()=>{})),TVe=O((()=>{})),EVe=O((()=>{})),DVe=O((()=>{})),OVe=O((()=>{})),kVe=O((()=>{})),AVe=O((()=>{})),jVe=O((()=>{})),MVe=O((()=>{})),NVe=O((()=>{})),PVe=O((()=>{})),FVe=O((()=>{})),IVe=O((()=>{})),LVe=O((()=>{})),RVe=O((()=>{})),QU,$U=O((()=>{QU={Default:`default`,Voice:`voice`,Chat:`chat`,Processing:`processing`,Service:`service`}})),zVe=O((()=>{})),BVe=O((()=>{})),VVe=O((()=>{})),HVe=O((()=>{})),UVe=O((()=>{})),WVe=O((()=>{})),GVe=O((()=>{})),KVe=O((()=>{})),qVe=O((()=>{})),JVe=O((()=>{})),YVe=O((()=>{})),XVe=O((()=>{})),ZVe=O((()=>{})),QVe=O((()=>{})),$Ve=O((()=>{})),eHe=O((()=>{})),tHe=O((()=>{})),nHe=O((()=>{})),rHe=O((()=>{})),iHe=O((()=>{})),aHe=O((()=>{})),oHe=O((()=>{})),sHe=O((()=>{})),cHe=O((()=>{})),lHe=O((()=>{})),uHe=O((()=>{})),dHe=O((()=>{})),fHe=O((()=>{})),pHe=O((()=>{})),mHe=O((()=>{})),hHe=O((()=>{})),gHe=O((()=>{})),_He=O((()=>{})),vHe=O((()=>{})),yHe=O((()=>{})),bHe=O((()=>{})),xHe=O((()=>{})),SHe=O((()=>{})),CHe=O((()=>{})),wHe=O((()=>{})),THe=O((()=>{})),EHe=O((()=>{})),DHe=O((()=>{})),OHe=O((()=>{})),kHe=O((()=>{})),AHe=O((()=>{})),jHe=O((()=>{})),MHe=O((()=>{})),NHe=O((()=>{})),PHe=O((()=>{})),FHe=O((()=>{})),IHe=O((()=>{})),LHe=O((()=>{})),RHe=O((()=>{})),zHe=O((()=>{})),BHe=O((()=>{})),VHe=O((()=>{})),HHe=O((()=>{})),UHe=O((()=>{})),WHe=O((()=>{})),GHe=O((()=>{})),KHe=O((()=>{})),qHe=O((()=>{})),JHe=O((()=>{})),YHe=O((()=>{})),XHe=O((()=>{})),ZHe=O((()=>{})),QHe=O((()=>{})),$He=O((()=>{})),eUe=O((()=>{})),tUe=O((()=>{})),nUe=O((()=>{})),rUe=O((()=>{})),iUe=O((()=>{})),aUe=O((()=>{})),oUe=O((()=>{})),sUe=O((()=>{})),cUe=O((()=>{})),lUe=O((()=>{})),uUe=O((()=>{})),dUe=O((()=>{})),fUe=O((()=>{})),pUe=O((()=>{})),mUe=O((()=>{})),hUe=O((()=>{})),gUe=O((()=>{})),_Ue=O((()=>{})),vUe=O((()=>{})),yUe=O((()=>{})),bUe=O((()=>{})),xUe=O((()=>{})),SUe=O((()=>{})),CUe=O((()=>{})),wUe=O((()=>{})),TUe=O((()=>{})),EUe=O((()=>{})),DUe=O((()=>{})),OUe=O((()=>{})),kUe=O((()=>{})),AUe=O((()=>{})),jUe=O((()=>{})),MUe=O((()=>{})),NUe=O((()=>{})),PUe=O((()=>{})),FUe=O((()=>{})),IUe=O((()=>{})),LUe=O((()=>{})),RUe=O((()=>{})),zUe=O((()=>{})),BUe=O((()=>{})),VUe=O((()=>{})),HUe=O((()=>{})),UUe=O((()=>{})),WUe=O((()=>{})),GUe=O((()=>{})),KUe=O((()=>{})),qUe=O((()=>{})),JUe=O((()=>{})),YUe=O((()=>{})),XUe=O((()=>{})),ZUe=O((()=>{})),QUe=O((()=>{})),$Ue=O((()=>{})),eWe=O((()=>{})),tWe=O((()=>{})),nWe=O((()=>{})),rWe=O((()=>{})),iWe=O((()=>{})),aWe=O((()=>{})),oWe=O((()=>{})),sWe=O((()=>{})),cWe=O((()=>{})),lWe=O((()=>{})),uWe=O((()=>{})),dWe=O((()=>{})),fWe=O((()=>{})),pWe=O((()=>{})),mWe=O((()=>{})),hWe=O((()=>{})),gWe=O((()=>{})),_We=O((()=>{})),vWe=O((()=>{})),yWe=O((()=>{})),bWe=O((()=>{})),xWe=O((()=>{})),SWe=O((()=>{})),CWe=O((()=>{})),wWe=O((()=>{})),TWe=O((()=>{})),EWe=O((()=>{})),DWe=O((()=>{})),OWe=O((()=>{})),kWe=O((()=>{})),AWe=O((()=>{})),jWe=O((()=>{})),MWe=O((()=>{})),NWe=O((()=>{})),PWe=O((()=>{})),FWe=O((()=>{})),IWe=O((()=>{})),LWe=O((()=>{})),RWe=O((()=>{})),zWe=O((()=>{})),BWe=O((()=>{})),VWe=O((()=>{})),HWe=O((()=>{})),UWe=O((()=>{})),WWe=O((()=>{})),GWe=O((()=>{})),KWe=O((()=>{})),qWe=O((()=>{})),JWe=O((()=>{})),YWe=O((()=>{})),XWe=O((()=>{})),ZWe=O((()=>{})),QWe=O((()=>{})),$We=O((()=>{})),eGe=O((()=>{})),tGe=O((()=>{})),nGe=O((()=>{})),rGe=O((()=>{})),iGe=O((()=>{})),aGe=O((()=>{})),oGe=O((()=>{})),sGe=O((()=>{})),cGe=O((()=>{})),lGe=O((()=>{})),uGe=O((()=>{})),dGe=O((()=>{})),fGe=O((()=>{})),pGe=O((()=>{})),mGe=O((()=>{})),hGe=O((()=>{})),gGe=O((()=>{})),_Ge=O((()=>{})),vGe=O((()=>{})),yGe=O((()=>{})),bGe=O((()=>{})),xGe=O((()=>{})),SGe=O((()=>{})),CGe=O((()=>{})),wGe=O((()=>{})),TGe=O((()=>{})),EGe=O((()=>{})),DGe=O((()=>{})),OGe=O((()=>{})),kGe=O((()=>{})),AGe=O((()=>{})),jGe=O((()=>{})),MGe=O((()=>{})),NGe=O((()=>{})),PGe=O((()=>{})),FGe=O((()=>{})),IGe=O((()=>{})),LGe=O((()=>{})),RGe=O((()=>{})),zGe=O((()=>{})),BGe=O((()=>{})),VGe=O((()=>{})),HGe=O((()=>{})),UGe=O((()=>{})),WGe=O((()=>{})),GGe=O((()=>{})),KGe=O((()=>{})),qGe=O((()=>{})),JGe=O((()=>{})),YGe=O((()=>{})),XGe=O((()=>{})),ZGe=O((()=>{})),QGe=O((()=>{})),$Ge=O((()=>{})),eKe=O((()=>{})),tKe=O((()=>{})),nKe=O((()=>{})),rKe=O((()=>{})),iKe=O((()=>{})),aKe=O((()=>{})),oKe=O((()=>{})),sKe=O((()=>{})),cKe=O((()=>{})),lKe=O((()=>{})),uKe=O((()=>{})),dKe=O((()=>{})),fKe=O((()=>{})),pKe=O((()=>{})),mKe=O((()=>{})),hKe=O((()=>{})),gKe=O((()=>{})),_Ke=O((()=>{})),vKe=O((()=>{})),yKe=O((()=>{})),bKe=O((()=>{})),xKe=O((()=>{})),SKe=O((()=>{})),CKe=O((()=>{})),wKe=O((()=>{})),TKe=O((()=>{})),EKe=O((()=>{})),DKe=O((()=>{})),OKe=O((()=>{})),kKe=O((()=>{})),AKe=O((()=>{})),jKe=O((()=>{})),MKe=O((()=>{})),NKe=O((()=>{})),PKe=O((()=>{})),FKe=O((()=>{})),IKe=O((()=>{})),LKe=O((()=>{})),RKe=O((()=>{})),zKe=O((()=>{})),BKe=O((()=>{})),VKe=O((()=>{})),HKe=O((()=>{})),UKe=O((()=>{})),WKe=O((()=>{})),GKe=O((()=>{})),KKe=O((()=>{})),qKe=O((()=>{})),JKe=O((()=>{})),YKe=O((()=>{})),XKe=O((()=>{})),ZKe=O((()=>{})),QKe=O((()=>{})),$Ke=O((()=>{})),eqe=O((()=>{})),tqe=O((()=>{})),nqe=O((()=>{})),rqe=O((()=>{})),iqe=O((()=>{})),aqe=O((()=>{})),oqe=O((()=>{})),sqe=O((()=>{})),cqe=O((()=>{})),lqe=O((()=>{})),uqe=O((()=>{})),dqe=O((()=>{})),fqe=O((()=>{})),pqe=O((()=>{})),mqe=O((()=>{})),hqe=O((()=>{})),gqe=O((()=>{})),_qe=O((()=>{})),vqe=O((()=>{})),yqe=O((()=>{})),bqe=O((()=>{})),xqe=O((()=>{})),Sqe=O((()=>{})),Cqe=O((()=>{})),wqe=O((()=>{})),Tqe=O((()=>{})),Eqe=O((()=>{})),Dqe=O((()=>{})),Oqe=O((()=>{})),kqe=O((()=>{})),Aqe=O((()=>{})),jqe=O((()=>{})),Mqe=O((()=>{})),Nqe=O((()=>{})),Pqe=O((()=>{})),Fqe=O((()=>{})),Iqe=O((()=>{})),Lqe=O((()=>{})),Rqe=O((()=>{})),zqe=O((()=>{})),Bqe=O((()=>{})),Vqe=O((()=>{})),Hqe=O((()=>{})),Uqe=O((()=>{})),Wqe=O((()=>{})),Gqe=O((()=>{})),Kqe=O((()=>{})),qqe=O((()=>{})),Jqe=O((()=>{})),Yqe=O((()=>{})),Xqe=O((()=>{})),Zqe=O((()=>{})),Qqe=O((()=>{})),$qe=O((()=>{})),eJe=O((()=>{})),tJe=O((()=>{})),nJe=O((()=>{})),rJe=O((()=>{})),iJe=O((()=>{})),aJe=O((()=>{})),oJe=O((()=>{})),sJe=O((()=>{})),cJe=O((()=>{})),lJe=O((()=>{})),uJe=O((()=>{})),dJe=O((()=>{})),fJe=O((()=>{})),pJe=O((()=>{})),mJe=O((()=>{})),hJe=O((()=>{})),gJe=O((()=>{})),_Je=O((()=>{})),vJe=O((()=>{})),yJe=O((()=>{})),bJe=O((()=>{})),xJe=O((()=>{})),SJe=O((()=>{})),CJe=O((()=>{})),wJe=O((()=>{})),TJe=O((()=>{})),EJe=O((()=>{})),DJe=O((()=>{})),OJe=O((()=>{})),kJe=O((()=>{})),AJe=O((()=>{})),jJe=O((()=>{})),MJe=O((()=>{})),NJe=O((()=>{})),PJe=O((()=>{})),FJe=O((()=>{})),IJe=O((()=>{})),LJe=O((()=>{})),RJe=O((()=>{})),zJe=O((()=>{})),BJe=O((()=>{})),VJe=O((()=>{})),HJe=O((()=>{})),UJe=O((()=>{})),WJe=O((()=>{})),GJe=O((()=>{})),KJe=O((()=>{})),qJe=O((()=>{})),JJe=O((()=>{})),YJe=O((()=>{})),XJe=O((()=>{})),ZJe=O((()=>{})),QJe=O((()=>{})),$Je=O((()=>{})),eYe=O((()=>{})),tYe=O((()=>{})),nYe=O((()=>{})),rYe=O((()=>{})),iYe=O((()=>{})),aYe=O((()=>{})),oYe=O((()=>{})),sYe=O((()=>{})),cYe=O((()=>{})),lYe=O((()=>{})),uYe=O((()=>{})),dYe=O((()=>{})),fYe=O((()=>{})),pYe=O((()=>{})),mYe=O((()=>{})),hYe=O((()=>{})),gYe=O((()=>{})),_Ye=O((()=>{})),vYe=O((()=>{})),yYe=O((()=>{})),bYe=O((()=>{})),xYe=O((()=>{})),SYe=O((()=>{})),CYe=O((()=>{})),wYe=O((()=>{})),TYe=O((()=>{})),EYe=O((()=>{})),DYe=O((()=>{})),OYe=O((()=>{})),kYe=O((()=>{})),AYe=O((()=>{})),jYe=O((()=>{})),MYe=O((()=>{})),NYe=O((()=>{})),PYe=O((()=>{})),FYe=O((()=>{})),IYe=O((()=>{})),LYe=O((()=>{})),RYe=O((()=>{})),zYe=O((()=>{})),BYe=O((()=>{})),VYe=O((()=>{})),HYe=O((()=>{})),UYe=O((()=>{})),WYe=O((()=>{})),GYe=O((()=>{})),KYe=O((()=>{})),qYe=O((()=>{})),JYe=O((()=>{})),YYe=O((()=>{})),XYe=O((()=>{})),ZYe=O((()=>{})),QYe=O((()=>{})),$Ye=O((()=>{})),eXe=O((()=>{})),tXe=O((()=>{})),nXe=O((()=>{})),rXe=O((()=>{})),iXe=O((()=>{})),aXe=O((()=>{})),oXe=O((()=>{})),sXe=O((()=>{})),cXe=O((()=>{})),lXe=O((()=>{})),uXe=O((()=>{})),dXe=O((()=>{})),fXe=O((()=>{})),pXe=O((()=>{})),mXe=O((()=>{})),hXe=O((()=>{})),gXe=O((()=>{})),_Xe=O((()=>{})),vXe=O((()=>{})),yXe=O((()=>{})),bXe=O((()=>{})),xXe=O((()=>{})),SXe=O((()=>{})),CXe=O((()=>{})),wXe=O((()=>{})),TXe=O((()=>{})),EXe=O((()=>{})),DXe=O((()=>{})),OXe=O((()=>{})),kXe=O((()=>{})),AXe=O((()=>{})),jXe=O((()=>{})),MXe=O((()=>{})),NXe=O((()=>{})),PXe=O((()=>{})),FXe=O((()=>{})),IXe=O((()=>{})),LXe=O((()=>{})),RXe=O((()=>{})),zXe=O((()=>{})),BXe=O((()=>{})),VXe=O((()=>{})),HXe=O((()=>{})),UXe=O((()=>{})),WXe=O((()=>{})),GXe=O((()=>{})),KXe=O((()=>{})),qXe=O((()=>{})),JXe=O((()=>{})),YXe=O((()=>{})),XXe=O((()=>{})),ZXe=O((()=>{})),QXe=O((()=>{})),$Xe=O((()=>{})),eZe=O((()=>{})),tZe=O((()=>{})),nZe=O((()=>{})),rZe=O((()=>{})),iZe=O((()=>{})),aZe=O((()=>{})),oZe=O((()=>{})),sZe=O((()=>{})),cZe=O((()=>{})),lZe=O((()=>{})),uZe=O((()=>{})),dZe=O((()=>{})),fZe=O((()=>{})),pZe=O((()=>{})),mZe=O((()=>{})),hZe=O((()=>{})),gZe=O((()=>{})),_Ze=O((()=>{})),vZe=O((()=>{})),yZe=O((()=>{})),bZe=O((()=>{})),xZe=O((()=>{})),SZe=O((()=>{})),CZe=O((()=>{})),wZe=O((()=>{})),TZe=O((()=>{})),EZe=O((()=>{})),DZe=O((()=>{})),OZe=O((()=>{})),kZe=O((()=>{})),AZe=O((()=>{})),jZe=O((()=>{})),MZe=O((()=>{})),NZe=O((()=>{})),PZe=O((()=>{})),FZe=O((()=>{})),IZe=O((()=>{})),LZe=O((()=>{})),RZe=O((()=>{})),zZe=O((()=>{})),BZe=O((()=>{})),VZe=O((()=>{})),HZe=O((()=>{})),UZe=O((()=>{})),WZe=O((()=>{})),GZe=O((()=>{})),KZe=O((()=>{})),qZe=O((()=>{})),JZe=O((()=>{})),YZe=O((()=>{})),XZe=O((()=>{})),ZZe=O((()=>{})),QZe=O((()=>{})),$Ze=O((()=>{})),eQe=O((()=>{})),tQe=O((()=>{})),eW=O((()=>{})),nQe=O((()=>{})),rQe=O((()=>{})),iQe=O((()=>{})),aQe=O((()=>{})),oQe=O((()=>{})),sQe=O((()=>{})),cQe=O((()=>{})),lQe=O((()=>{})),uQe=O((()=>{})),dQe=O((()=>{})),fQe=O((()=>{})),pQe=O((()=>{})),mQe=O((()=>{})),hQe=O((()=>{})),gQe=O((()=>{})),_Qe=O((()=>{})),vQe=O((()=>{})),yQe=O((()=>{})),bQe=O((()=>{})),xQe=O((()=>{})),SQe=O((()=>{})),CQe=O((()=>{})),wQe=O((()=>{})),TQe=O((()=>{})),EQe=O((()=>{})),DQe=O((()=>{})),OQe=O((()=>{})),kQe=O((()=>{})),AQe=O((()=>{})),jQe=O((()=>{})),MQe=O((()=>{})),NQe=O((()=>{})),PQe=O((()=>{})),FQe=O((()=>{})),IQe=O((()=>{})),LQe=O((()=>{})),RQe=O((()=>{})),zQe=O((()=>{})),BQe=O((()=>{})),VQe=O((()=>{})),HQe=O((()=>{})),UQe=O((()=>{})),WQe=O((()=>{})),GQe=O((()=>{})),KQe=O((()=>{})),qQe=O((()=>{})),JQe=O((()=>{})),YQe=O((()=>{})),XQe=O((()=>{})),ZQe=O((()=>{})),QQe=O((()=>{})),$Qe=O((()=>{})),e$e=O((()=>{})),t$e=O((()=>{})),n$e=O((()=>{})),r$e=O((()=>{})),i$e=O((()=>{})),a$e=O((()=>{})),o$e=O((()=>{})),s$e=O((()=>{})),c$e=O((()=>{})),l$e=O((()=>{})),u$e=O((()=>{})),d$e=O((()=>{})),f$e=O((()=>{})),p$e=O((()=>{})),m$e=O((()=>{})),h$e=O((()=>{})),g$e=O((()=>{})),_$e=O((()=>{})),v$e=O((()=>{})),y$e=O((()=>{})),b$e=O((()=>{})),x$e=O((()=>{})),S$e=O((()=>{})),C$e=O((()=>{})),w$e=O((()=>{})),T$e=O((()=>{})),E$e=O((()=>{})),D$e=O((()=>{})),O$e=O((()=>{})),k$e=O((()=>{})),A$e=O((()=>{})),j$e=O((()=>{})),M$e=O((()=>{})),N$e=O((()=>{})),P$e=O((()=>{})),F$e=O((()=>{})),I$e=O((()=>{})),L$e=O((()=>{})),R$e=O((()=>{})),z$e=O((()=>{})),B$e=O((()=>{})),V$e=O((()=>{})),H$e=O((()=>{})),U$e=O((()=>{})),W$e=O((()=>{})),G$e=O((()=>{})),K$e=O((()=>{})),q$e=O((()=>{})),J$e=O((()=>{})),Y$e=O((()=>{})),X$e=O((()=>{})),Z$e=O((()=>{})),Q$e=O((()=>{})),$$e=O((()=>{})),e1e=O((()=>{})),t1e=O((()=>{})),n1e=O((()=>{})),r1e=O((()=>{})),i1e=O((()=>{})),a1e=O((()=>{})),o1e=O((()=>{})),s1e=O((()=>{})),c1e=O((()=>{})),l1e=O((()=>{})),u1e=O((()=>{})),d1e=O((()=>{})),f1e=O((()=>{})),p1e=O((()=>{})),m1e=O((()=>{})),h1e=O((()=>{})),g1e=O((()=>{})),_1e=O((()=>{})),v1e=O((()=>{})),y1e=O((()=>{})),b1e=O((()=>{})),x1e=O((()=>{})),S1e=O((()=>{})),C1e=O((()=>{})),w1e=O((()=>{})),T1e=O((()=>{})),E1e=O((()=>{})),D1e=O((()=>{})),O1e=O((()=>{})),k1e=O((()=>{})),A1e=O((()=>{})),j1e=O((()=>{})),M1e=O((()=>{})),N1e=O((()=>{})),P1e=O((()=>{})),F1e=O((()=>{})),I1e=O((()=>{})),L1e=O((()=>{})),R1e=O((()=>{})),z1e=O((()=>{})),B1e=O((()=>{})),V1e=O((()=>{})),H1e=O((()=>{})),U1e=O((()=>{})),W1e=O((()=>{})),G1e=O((()=>{})),K1e=O((()=>{})),q1e=O((()=>{})),J1e=O((()=>{})),Y1e=O((()=>{})),X1e=O((()=>{})),Z1e=O((()=>{})),Q1e=O((()=>{})),$1e=O((()=>{})),e0e=O((()=>{})),t0e=O((()=>{})),n0e=O((()=>{})),r0e=O((()=>{})),i0e=O((()=>{})),a0e=O((()=>{})),o0e=O((()=>{})),s0e=O((()=>{})),c0e=O((()=>{})),l0e=O((()=>{})),u0e=O((()=>{})),d0e=O((()=>{})),f0e=O((()=>{})),p0e=O((()=>{})),m0e=O((()=>{})),h0e=O((()=>{})),g0e=O((()=>{})),_0e=O((()=>{})),v0e=O((()=>{})),y0e=O((()=>{})),b0e=O((()=>{})),x0e=O((()=>{})),S0e=O((()=>{})),C0e=O((()=>{})),w0e=O((()=>{})),T0e=O((()=>{})),E0e=O((()=>{})),D0e=O((()=>{})),O0e=O((()=>{})),k0e=O((()=>{})),A0e=O((()=>{})),j0e=O((()=>{})),M0e=O((()=>{})),N0e=O((()=>{})),P0e=O((()=>{})),F0e=O((()=>{})),I0e=O((()=>{})),L0e=O((()=>{})),R0e=O((()=>{})),z0e=O((()=>{})),B0e=O((()=>{})),V0e=O((()=>{})),H0e=O((()=>{})),U0e=O((()=>{})),W0e=O((()=>{})),G0e=O((()=>{})),K0e=O((()=>{})),q0e=O((()=>{})),J0e=O((()=>{})),Y0e=O((()=>{})),X0e=O((()=>{})),Z0e=O((()=>{})),Q0e=O((()=>{})),$0e=O((()=>{})),e2e=O((()=>{})),t2e=O((()=>{})),n2e=O((()=>{})),r2e=O((()=>{})),i2e=O((()=>{})),a2e=O((()=>{})),o2e=O((()=>{})),s2e=O((()=>{})),c2e=O((()=>{})),l2e=O((()=>{})),u2e=O((()=>{})),d2e=O((()=>{})),f2e=O((()=>{})),p2e=O((()=>{})),m2e=O((()=>{})),h2e=O((()=>{})),g2e=O((()=>{})),_2e=O((()=>{})),v2e=O((()=>{})),y2e=O((()=>{})),b2e=O((()=>{})),x2e=O((()=>{})),S2e=O((()=>{})),C2e=O((()=>{})),w2e=O((()=>{})),T2e=O((()=>{})),E2e=O((()=>{})),D2e=O((()=>{})),O2e=O((()=>{})),k2e=O((()=>{})),A2e=O((()=>{})),j2e=O((()=>{})),M2e=O((()=>{})),N2e=O((()=>{})),P2e=O((()=>{})),F2e=O((()=>{})),I2e=O((()=>{})),L2e=O((()=>{})),R2e=O((()=>{})),z2e=O((()=>{})),B2e=O((()=>{})),V2e=O((()=>{})),H2e=O((()=>{})),U2e=O((()=>{})),W2e=O((()=>{})),G2e=O((()=>{})),K2e=O((()=>{})),q2e=O((()=>{})),J2e=O((()=>{})),Y2e=O((()=>{})),X2e=O((()=>{})),Z2e=O((()=>{})),Q2e=O((()=>{})),$2e=O((()=>{})),e4e=O((()=>{})),t4e=O((()=>{})),n4e=O((()=>{})),r4e=O((()=>{})),i4e=O((()=>{})),a4e=O((()=>{})),o4e=O((()=>{})),s4e=O((()=>{})),c4e=O((()=>{})),l4e=O((()=>{})),u4e=O((()=>{})),d4e=O((()=>{})),f4e=O((()=>{})),p4e=O((()=>{})),m4e=O((()=>{})),h4e=O((()=>{})),g4e=O((()=>{})),_4e=O((()=>{})),v4e=O((()=>{})),y4e=O((()=>{})),b4e=O((()=>{})),x4e=O((()=>{})),S4e=O((()=>{})),C4e=O((()=>{})),w4e=O((()=>{})),T4e=O((()=>{})),E4e=O((()=>{})),D4e=O((()=>{})),O4e=O((()=>{})),k4e=O((()=>{})),A4e=O((()=>{})),j4e=O((()=>{})),M4e=O((()=>{})),N4e=O((()=>{})),P4e=O((()=>{})),F4e=O((()=>{})),I4e=O((()=>{})),L4e=O((()=>{})),R4e=O((()=>{})),z4e=O((()=>{})),B4e=O((()=>{})),V4e=O((()=>{})),H4e=O((()=>{})),U4e=O((()=>{})),W4e=O((()=>{})),G4e=O((()=>{})),K4e=O((()=>{})),q4e=O((()=>{})),J4e=O((()=>{})),Y4e=O((()=>{})),X4e=O((()=>{})),Z4e=O((()=>{})),Q4e=O((()=>{})),$4e=O((()=>{})),e3e=O((()=>{})),t3e=O((()=>{})),n3e=O((()=>{})),r3e=O((()=>{})),i3e=O((()=>{})),a3e=O((()=>{})),o3e=O((()=>{})),s3e=O((()=>{})),c3e=O((()=>{})),l3e=O((()=>{})),u3e=O((()=>{})),d3e=O((()=>{})),f3e=O((()=>{})),p3e=O((()=>{})),m3e=O((()=>{})),h3e=O((()=>{})),g3e=O((()=>{})),_3e=O((()=>{})),v3e=O((()=>{})),y3e=O((()=>{})),b3e=O((()=>{})),x3e=O((()=>{})),S3e=O((()=>{})),C3e=O((()=>{})),w3e=O((()=>{})),T3e=O((()=>{})),E3e=O((()=>{})),D3e=O((()=>{})),O3e=O((()=>{})),k3e=O((()=>{})),A3e=O((()=>{})),j3e=O((()=>{})),M3e=O((()=>{})),N3e=O((()=>{})),P3e=O((()=>{})),F3e=O((()=>{})),I3e=O((()=>{})),L3e=O((()=>{})),R3e=O((()=>{})),z3e=O((()=>{})),B3e=O((()=>{})),V3e=O((()=>{})),H3e=O((()=>{})),U3e=O((()=>{})),W3e=O((()=>{})),G3e=O((()=>{})),K3e=O((()=>{})),q3e=O((()=>{})),J3e=O((()=>{})),Y3e=O((()=>{})),X3e=O((()=>{})),Z3e=O((()=>{})),Q3e=O((()=>{})),$3e=O((()=>{})),e6e=O((()=>{})),t6e=O((()=>{})),n6e=O((()=>{})),r6e=O((()=>{})),i6e=O((()=>{})),a6e=O((()=>{})),o6e=O((()=>{})),s6e=O((()=>{})),c6e=O((()=>{})),l6e=O((()=>{})),u6e=O((()=>{})),d6e=O((()=>{})),f6e=O((()=>{})),p6e=O((()=>{})),m6e=O((()=>{})),h6e=O((()=>{})),g6e=O((()=>{})),_6e=O((()=>{})),v6e=O((()=>{})),y6e=O((()=>{})),b6e=O((()=>{})),x6e=O((()=>{})),S6e=O((()=>{})),C6e=O((()=>{})),w6e=O((()=>{})),T6e=O((()=>{})),E6e=O((()=>{})),D6e=O((()=>{})),O6e=O((()=>{})),k6e=O((()=>{})),A6e=O((()=>{})),j6e=O((()=>{})),M6e=O((()=>{})),N6e=O((()=>{})),P6e=O((()=>{})),F6e=O((()=>{})),I6e=O((()=>{})),L6e=O((()=>{})),R6e=O((()=>{})),z6e=O((()=>{})),B6e=O((()=>{})),V6e=O((()=>{})),H6e=O((()=>{})),U6e=O((()=>{})),W6e=O((()=>{})),G6e=O((()=>{})),K6e=O((()=>{})),q6e=O((()=>{})),J6e=O((()=>{})),Y6e=O((()=>{})),X6e=O((()=>{})),Z6e=O((()=>{})),Q6e=O((()=>{})),$6e=O((()=>{})),e8e=O((()=>{})),t8e=O((()=>{})),n8e=O((()=>{})),r8e=O((()=>{})),i8e=O((()=>{})),a8e=O((()=>{})),o8e=O((()=>{})),s8e=O((()=>{})),c8e=O((()=>{})),l8e=O((()=>{})),u8e=O((()=>{})),d8e=O((()=>{})),f8e=O((()=>{})),p8e=O((()=>{})),m8e=O((()=>{})),h8e=O((()=>{})),g8e=O((()=>{})),_8e=O((()=>{})),v8e=O((()=>{})),y8e=O((()=>{})),b8e=O((()=>{})),x8e=O((()=>{})),S8e=O((()=>{})),C8e=O((()=>{})),w8e=O((()=>{})),T8e=O((()=>{})),E8e=O((()=>{})),D8e=O((()=>{})),O8e=O((()=>{})),k8e=O((()=>{})),A8e=O((()=>{})),j8e=O((()=>{})),M8e=O((()=>{})),N8e=O((()=>{})),P8e=O((()=>{})),F8e=O((()=>{})),I8e=O((()=>{})),L8e=O((()=>{})),R8e=O((()=>{})),z8e=O((()=>{})),B8e=O((()=>{})),V8e=O((()=>{})),H8e=O((()=>{})),U8e=O((()=>{})),W8e=O((()=>{})),G8e=O((()=>{})),K8e=O((()=>{})),q8e=O((()=>{})),J8e=O((()=>{})),Y8e=O((()=>{})),X8e=O((()=>{})),Z8e=O((()=>{})),Q8e=O((()=>{})),$8e=O((()=>{})),e5e=O((()=>{})),t5e=O((()=>{})),n5e=O((()=>{})),r5e=O((()=>{})),i5e=O((()=>{})),a5e=O((()=>{})),o5e=O((()=>{})),s5e=O((()=>{})),c5e=O((()=>{})),l5e=O((()=>{})),u5e=O((()=>{})),d5e=O((()=>{})),f5e=O((()=>{})),p5e=O((()=>{})),m5e=O((()=>{})),h5e=O((()=>{})),g5e=O((()=>{})),_5e=O((()=>{})),v5e=O((()=>{})),y5e=O((()=>{})),b5e=O((()=>{})),x5e=O((()=>{})),S5e=O((()=>{})),C5e=O((()=>{})),w5e=O((()=>{})),T5e=O((()=>{})),E5e=O((()=>{})),D5e=O((()=>{})),O5e=O((()=>{})),k5e=O((()=>{})),A5e=O((()=>{})),j5e=O((()=>{})),M5e=O((()=>{})),N5e=O((()=>{})),P5e=O((()=>{})),F5e=O((()=>{})),I5e=O((()=>{})),L5e=O((()=>{})),R5e=O((()=>{})),z5e=O((()=>{})),B5e=O((()=>{})),V5e=O((()=>{})),H5e=O((()=>{})),U5e=O((()=>{})),W5e=O((()=>{})),G5e=O((()=>{})),K5e=O((()=>{})),q5e=O((()=>{})),J5e=O((()=>{})),Y5e=O((()=>{})),X5e=O((()=>{})),Z5e=O((()=>{})),Q5e=O((()=>{})),$5e=O((()=>{})),e7e=O((()=>{})),t7e=O((()=>{})),n7e=O((()=>{})),r7e=O((()=>{})),i7e=O((()=>{})),a7e=O((()=>{})),o7e=O((()=>{})),s7e=O((()=>{})),c7e=O((()=>{})),l7e=O((()=>{})),u7e=O((()=>{})),d7e=O((()=>{})),f7e=O((()=>{})),p7e=O((()=>{})),m7e=O((()=>{})),h7e=O((()=>{})),g7e=O((()=>{})),_7e=O((()=>{})),v7e=O((()=>{})),y7e=O((()=>{})),b7e=O((()=>{})),x7e=O((()=>{})),S7e=O((()=>{})),C7e=O((()=>{})),w7e=O((()=>{})),T7e=O((()=>{})),E7e=O((()=>{})),D7e=O((()=>{})),O7e=O((()=>{})),k7e=O((()=>{})),A7e=O((()=>{})),j7e=O((()=>{})),M7e=O((()=>{})),N7e=O((()=>{})),P7e=O((()=>{})),F7e=O((()=>{})),I7e=O((()=>{})),L7e=O((()=>{})),R7e=O((()=>{})),z7e=O((()=>{})),B7e=O((()=>{})),V7e=O((()=>{})),H7e=O((()=>{})),U7e=O((()=>{})),W7e=O((()=>{})),G7e=O((()=>{})),K7e=O((()=>{})),q7e=O((()=>{})),J7e=O((()=>{})),Y7e=O((()=>{})),X7e=O((()=>{})),Z7e=O((()=>{})),Q7e=O((()=>{})),$7e=O((()=>{})),e9e=O((()=>{})),t9e=O((()=>{})),n9e=O((()=>{})),r9e=O((()=>{})),i9e=O((()=>{})),a9e=O((()=>{})),o9e=O((()=>{})),s9e=O((()=>{})),c9e=O((()=>{})),l9e=O((()=>{})),u9e=O((()=>{})),d9e=O((()=>{})),f9e=O((()=>{})),p9e=O((()=>{})),m9e=O((()=>{})),h9e=O((()=>{})),g9e=O((()=>{})),_9e=O((()=>{})),v9e=O((()=>{})),y9e=O((()=>{})),b9e=O((()=>{})),x9e=O((()=>{})),S9e=O((()=>{})),C9e=O((()=>{})),w9e=O((()=>{})),T9e=O((()=>{})),E9e=O((()=>{})),D9e=O((()=>{})),O9e=O((()=>{})),k9e=O((()=>{})),A9e=O((()=>{})),j9e=O((()=>{})),M9e=O((()=>{})),N9e=O((()=>{})),P9e=O((()=>{})),F9e=O((()=>{})),I9e=O((()=>{})),L9e=O((()=>{})),R9e=O((()=>{})),z9e=O((()=>{})),B9e=O((()=>{})),V9e=O((()=>{})),H9e=O((()=>{})),U9e=O((()=>{})),W9e=O((()=>{})),G9e=O((()=>{})),K9e=O((()=>{})),q9e=O((()=>{})),J9e=O((()=>{})),Y9e=O((()=>{})),X9e=O((()=>{})),Z9e=O((()=>{})),Q9e=O((()=>{})),$9e=O((()=>{})),eet=O((()=>{})),tet=O((()=>{})),net=O((()=>{})),ret=O((()=>{})),iet=O((()=>{})),aet=O((()=>{})),oet=O((()=>{})),set=O((()=>{})),cet=O((()=>{})),uet=O((()=>{})),det=O((()=>{})),fet=O((()=>{})),pet=O((()=>{})),met=O((()=>{})),het=O((()=>{})),get=O((()=>{})),_et=O((()=>{})),vet=O((()=>{})),yet=O((()=>{})),bet=O((()=>{})),xet=O((()=>{})),Cet=O((()=>{})),wet=O((()=>{})),Tet=O((()=>{})),Eet=O((()=>{})),Det=O((()=>{})),Oet=O((()=>{})),ket=O((()=>{})),Aet=O((()=>{})),jet=O((()=>{})),Met=O((()=>{})),Net=O((()=>{})),Pet=O((()=>{})),Fet=O((()=>{})),Iet=O((()=>{})),Let=O((()=>{})),Ret=O((()=>{})),zet=O((()=>{})),Bet=O((()=>{})),Vet=O((()=>{})),Het=O((()=>{})),Uet=O((()=>{})),Wet=O((()=>{})),Get=O((()=>{})),Ket=O((()=>{})),qet=O((()=>{})),Jet=O((()=>{})),Yet=O((()=>{})),Xet=O((()=>{})),Zet=O((()=>{})),Qet=O((()=>{})),$et=O((()=>{})),ett=O((()=>{})),ttt=O((()=>{})),ntt=O((()=>{})),rtt=O((()=>{})),itt=O((()=>{})),att=O((()=>{})),ott=O((()=>{})),stt=O((()=>{})),ctt=O((()=>{})),ltt=O((()=>{})),utt=O((()=>{})),dtt=O((()=>{})),tW,nW=O((()=>{tW={ExportStatusUnspecified:`EXPORT_STATUS_UNSPECIFIED`,Pending:`PENDING`,Processing:`PROCESSING`,Done:`DONE`,Failed:`FAILED`}})),ftt=O((()=>{})),ptt=O((()=>{})),mtt=O((()=>{})),htt=O((()=>{})),gtt=O((()=>{})),_tt=O((()=>{})),vtt=O((()=>{})),ytt=O((()=>{})),btt=O((()=>{})),xtt=O((()=>{})),Stt=O((()=>{})),Ctt=O((()=>{})),wtt=O((()=>{})),Ttt=O((()=>{})),Ett=O((()=>{})),Dtt=O((()=>{})),Ott=O((()=>{})),ktt=O((()=>{})),Att=O((()=>{})),jtt=O((()=>{})),Mtt=O((()=>{})),Ntt=O((()=>{})),Ptt=O((()=>{})),Ftt=O((()=>{})),Itt=O((()=>{})),Ltt=O((()=>{})),Rtt=O((()=>{})),ztt=O((()=>{})),Btt=O((()=>{})),Vtt=O((()=>{})),Htt=O((()=>{})),Utt=O((()=>{})),Wtt=O((()=>{})),Gtt=O((()=>{})),Ktt=O((()=>{})),qtt=O((()=>{})),Jtt=O((()=>{})),Ytt=O((()=>{})),Xtt=O((()=>{})),Ztt=O((()=>{})),Qtt=O((()=>{})),$tt=O((()=>{})),ent=O((()=>{})),tnt=O((()=>{})),nnt=O((()=>{})),rnt=O((()=>{})),int=O((()=>{})),ant=O((()=>{})),ont=O((()=>{})),snt=O((()=>{})),cnt=O((()=>{})),lnt=O((()=>{})),unt=O((()=>{})),dnt=O((()=>{})),fnt=O((()=>{})),pnt=O((()=>{})),mnt=O((()=>{})),hnt=O((()=>{})),gnt=O((()=>{})),_nt=O((()=>{})),vnt=O((()=>{})),ynt=O((()=>{})),bnt=O((()=>{})),xnt=O((()=>{})),Snt=O((()=>{})),Cnt=O((()=>{})),wnt=O((()=>{})),Tnt=O((()=>{})),Ent=O((()=>{})),Dnt=O((()=>{})),Ont=O((()=>{})),knt=O((()=>{})),Ant=O((()=>{})),jnt=O((()=>{})),Mnt=O((()=>{})),Nnt=O((()=>{})),Pnt=O((()=>{})),Fnt=O((()=>{})),Int=O((()=>{})),Lnt=O((()=>{})),Rnt=O((()=>{})),znt=O((()=>{})),Bnt=O((()=>{})),Vnt=O((()=>{})),Hnt=O((()=>{})),Unt=O((()=>{})),Wnt=O((()=>{})),Gnt=O((()=>{})),Knt=O((()=>{})),qnt=O((()=>{})),Jnt=O((()=>{})),Ynt=O((()=>{})),Xnt=O((()=>{})),Znt=O((()=>{})),Qnt=O((()=>{})),$nt=O((()=>{})),ert=O((()=>{})),trt=O((()=>{})),nrt=O((()=>{})),rrt=O((()=>{})),irt=O((()=>{})),art=O((()=>{})),ort=O((()=>{})),srt=O((()=>{})),crt=O((()=>{})),lrt=O((()=>{})),urt=O((()=>{})),drt=O((()=>{})),frt=O((()=>{})),prt=O((()=>{})),rW=O((()=>{IOe(),LOe(),ROe(),zOe(),BOe(),VOe(),HOe(),UOe(),WOe(),GOe(),KOe(),qOe(),JOe(),YOe(),XOe(),ZOe(),QOe(),$Oe(),eke(),tke(),nke(),rke(),ike(),ake(),oke(),ske(),cke(),lke(),uke(),dke(),fke(),pke(),mke(),hke(),gke(),_ke(),vke(),yke(),bke(),xke(),Ske(),Cke(),wke(),Tke(),Eke(),Dke(),Oke(),kke(),Ake(),jke(),Mke(),Nke(),Pke(),Fke(),Ike(),Lke(),Rke(),zke(),Bke(),Vke(),Hke(),Uke(),Wke(),Gke(),Kke(),qke(),Jke(),Yke(),Xke(),Zke(),Qke(),$ke(),eAe(),tAe(),nAe(),rAe(),iAe(),aAe(),oAe(),sAe(),cAe(),lAe(),uAe(),dAe(),fAe(),pAe(),mAe(),hAe(),gAe(),_Ae(),vAe(),yAe(),bAe(),xAe(),SAe(),CAe(),wAe(),TAe(),EAe(),DAe(),OAe(),kAe(),AAe(),jAe(),MAe(),NAe(),PAe(),FAe(),IAe(),LAe(),RAe(),zAe(),BAe(),VAe(),HAe(),UAe(),WAe(),GAe(),KAe(),qAe(),JAe(),YAe(),XAe(),ZAe(),QAe(),$Ae(),eje(),tje(),nje(),rje(),ije(),aje(),oje(),sje(),cje(),lje(),uje(),dje(),fje(),pje(),mje(),hje(),gje(),_je(),vje(),yje(),bje(),xje(),Sje(),Cje(),wje(),Tje(),Eje(),Dje(),Oje(),kje(),Aje(),jje(),Mje(),Nje(),Pje(),Fje(),Ije(),Lje(),Rje(),zje(),Bje(),Vje(),Hje(),Uje(),Wje(),Gje(),Kje(),qje(),Jje(),Yje(),Xje(),Zje(),Qje(),$je(),eMe(),tMe(),nMe(),rMe(),iMe(),aMe(),oMe(),sMe(),cMe(),lMe(),uMe(),dMe(),fMe(),pMe(),mMe(),hMe(),gMe(),_Me(),vMe(),yMe(),bMe(),xMe(),SMe(),CMe(),wMe(),TMe(),EMe(),DMe(),OMe(),kMe(),AMe(),jMe(),MMe(),NMe(),PMe(),FMe(),IMe(),LMe(),RMe(),zMe(),BMe(),VMe(),HMe(),UMe(),WMe(),GMe(),KMe(),qMe(),JMe(),YMe(),XMe(),ZMe(),QMe(),$Me(),eNe(),tNe(),nNe(),rNe(),iNe(),aNe(),oNe(),sNe(),cNe(),lNe(),uNe(),dNe(),fNe(),pNe(),mNe(),hNe(),gNe(),_Ne(),vNe(),yNe(),bNe(),xNe(),SNe(),CNe(),wNe(),TNe(),ENe(),DNe(),ONe(),kNe(),ANe(),jNe(),MNe(),NNe(),PNe(),FNe(),INe(),LNe(),RNe(),zNe(),BNe(),VNe(),HNe(),UNe(),WNe(),GNe(),KNe(),qNe(),JNe(),YNe(),XNe(),ZNe(),QNe(),$Ne(),ePe(),tPe(),nPe(),rPe(),iPe(),aPe(),oPe(),sPe(),cPe(),lPe(),uPe(),dPe(),fPe(),pPe(),mPe(),hPe(),gPe(),_Pe(),vPe(),yPe(),bPe(),xPe(),SPe(),CPe(),wPe(),TPe(),EPe(),DPe(),OPe(),kPe(),APe(),jPe(),MPe(),NPe(),PPe(),FPe(),IPe(),LPe(),RPe(),zPe(),BPe(),VPe(),HPe(),UPe(),WPe(),GPe(),KPe(),qPe(),JPe(),YPe(),XPe(),ZPe(),QPe(),$Pe(),eFe(),tFe(),nFe(),rFe(),iFe(),aFe(),oFe(),sFe(),cFe(),lFe(),uFe(),dFe(),fFe(),pFe(),mFe(),hFe(),gFe(),_Fe(),vFe(),yFe(),bFe(),xFe(),SFe(),CFe(),wFe(),TFe(),EFe(),DFe(),OFe(),kFe(),AFe(),jFe(),MFe(),NFe(),PFe(),FFe(),IFe(),LFe(),RFe(),zFe(),BFe(),VFe(),HFe(),UFe(),WFe(),GFe(),KFe(),qFe(),JFe(),YFe(),XFe(),ZFe(),QFe(),$Fe(),eIe(),tIe(),nIe(),rIe(),iIe(),aIe(),oIe(),sIe(),cIe(),lIe(),uIe(),dIe(),fIe(),pIe(),mIe(),hIe(),gIe(),_Ie(),vIe(),yIe(),bIe(),xIe(),SIe(),CIe(),wIe(),TIe(),EIe(),DIe(),OIe(),kIe(),AIe(),jIe(),MIe(),NIe(),PIe(),FIe(),IIe(),LIe(),RIe(),zIe(),BIe(),VIe(),HIe(),UIe(),WIe(),GIe(),KIe(),qIe(),JIe(),YIe(),XIe(),ZIe(),QIe(),$Ie(),eLe(),tLe(),nLe(),rLe(),iLe(),aLe(),oLe(),sLe(),cLe(),lLe(),uLe(),dLe(),fLe(),pLe(),mLe(),hLe(),gLe(),_Le(),vLe(),yLe(),bLe(),xLe(),SLe(),CLe(),wLe(),TLe(),ELe(),DLe(),OLe(),kLe(),ALe(),jLe(),MLe(),NLe(),PLe(),FLe(),ILe(),LLe(),RLe(),zLe(),BLe(),VLe(),HLe(),ULe(),WLe(),GLe(),KLe(),qLe(),JLe(),YLe(),XLe(),ZLe(),QLe(),$Le(),eRe(),tRe(),nRe(),rRe(),iRe(),aRe(),oRe(),sRe(),cRe(),lRe(),uRe(),dRe(),fRe(),pRe(),mRe(),hRe(),gRe(),_Re(),vRe(),yRe(),bRe(),xRe(),SRe(),CRe(),wRe(),TRe(),ERe(),DRe(),ORe(),kRe(),ARe(),jRe(),MRe(),NRe(),PRe(),FRe(),IRe(),LRe(),RRe(),zRe(),BRe(),VRe(),HRe(),URe(),WRe(),GRe(),KRe(),qRe(),JRe(),YRe(),XRe(),ZRe(),QRe(),$Re(),eze(),tze(),nze(),rze(),ize(),aze(),oze(),sze(),cze(),lze(),uze(),dze(),fze(),pze(),mze(),hze(),gze(),_ze(),vze(),yze(),bze(),xze(),Sze(),Cze(),wze(),Tze(),Eze(),Dze(),Oze(),kze(),Aze(),jze(),Mze(),Nze(),Pze(),Fze(),Ize(),Lze(),Rze(),zze(),Bze(),Vze(),Hze(),Uze(),Wze(),Gze(),Kze(),qze(),Jze(),Yze(),Xze(),Zze(),Qze(),$ze(),eBe(),tBe(),nBe(),rBe(),iBe(),aBe(),oBe(),sBe(),cBe(),lBe(),uBe(),dBe(),fBe(),pBe(),mBe(),hBe(),gBe(),_Be(),vBe(),yBe(),bBe(),xBe(),SBe(),CBe(),wBe(),TBe(),EBe(),DBe(),OBe(),kBe(),ABe(),jBe(),MBe(),NBe(),PBe(),FBe(),IBe(),LBe(),RBe(),zBe(),BBe(),VBe(),HBe(),UBe(),WBe(),GBe(),KBe(),qBe(),JBe(),YBe(),XBe(),ZBe(),QBe(),$Be(),eVe(),tVe(),nVe(),rVe(),iVe(),aVe(),oVe(),sVe(),cVe(),lVe(),uVe(),dVe(),fVe(),pVe(),mVe(),hVe(),gVe(),_Ve(),vVe(),yVe(),bVe(),xVe(),SVe(),CVe(),wVe(),TVe(),EVe(),DVe(),OVe(),kVe(),AVe(),jVe(),MVe(),NVe(),PVe(),FVe(),IVe(),LVe(),RVe(),$U(),zVe(),BVe(),VVe(),HVe(),UVe(),WVe(),GVe(),KVe(),qVe(),JVe(),YVe(),XVe(),ZVe(),QVe(),$Ve(),eHe(),tHe(),nHe(),rHe(),iHe(),aHe(),oHe(),sHe(),cHe(),lHe(),uHe(),dHe(),fHe(),pHe(),mHe(),hHe(),gHe(),_He(),vHe(),yHe(),bHe(),xHe(),SHe(),CHe(),wHe(),THe(),EHe(),DHe(),OHe(),kHe(),AHe(),jHe(),MHe(),NHe(),PHe(),FHe(),IHe(),LHe(),RHe(),zHe(),BHe(),VHe(),HHe(),UHe(),WHe(),GHe(),KHe(),qHe(),JHe(),YHe(),XHe(),ZHe(),QHe(),$He(),eUe(),tUe(),nUe(),rUe(),iUe(),aUe(),oUe(),sUe(),cUe(),lUe(),uUe(),dUe(),fUe(),pUe(),mUe(),hUe(),gUe(),_Ue(),vUe(),yUe(),bUe(),xUe(),SUe(),CUe(),wUe(),TUe(),EUe(),DUe(),OUe(),kUe(),AUe(),jUe(),MUe(),NUe(),PUe(),FUe(),IUe(),LUe(),RUe(),zUe(),BUe(),VUe(),HUe(),UUe(),WUe(),GUe(),KUe(),qUe(),JUe(),YUe(),XUe(),ZUe(),QUe(),$Ue(),eWe(),tWe(),nWe(),rWe(),iWe(),aWe(),oWe(),sWe(),cWe(),lWe(),uWe(),dWe(),fWe(),pWe(),mWe(),hWe(),gWe(),_We(),vWe(),yWe(),bWe(),xWe(),SWe(),CWe(),wWe(),TWe(),EWe(),DWe(),OWe(),kWe(),AWe(),jWe(),MWe(),NWe(),PWe(),FWe(),IWe(),LWe(),RWe(),zWe(),BWe(),VWe(),HWe(),UWe(),WWe(),GWe(),KWe(),qWe(),JWe(),YWe(),XWe(),ZWe(),QWe(),$We(),eGe(),tGe(),nGe(),rGe(),iGe(),aGe(),oGe(),sGe(),cGe(),lGe(),uGe(),dGe(),fGe(),pGe(),mGe(),hGe(),gGe(),_Ge(),vGe(),yGe(),bGe(),xGe(),SGe(),CGe(),wGe(),TGe(),EGe(),DGe(),OGe(),kGe(),AGe(),jGe(),MGe(),NGe(),PGe(),FGe(),IGe(),LGe(),RGe(),zGe(),BGe(),VGe(),HGe(),UGe(),WGe(),GGe(),KGe(),qGe(),JGe(),YGe(),XGe(),ZGe(),QGe(),$Ge(),eKe(),tKe(),nKe(),rKe(),iKe(),aKe(),oKe(),sKe(),cKe(),lKe(),uKe(),dKe(),fKe(),pKe(),mKe(),hKe(),gKe(),_Ke(),vKe(),yKe(),bKe(),xKe(),SKe(),CKe(),wKe(),TKe(),EKe(),DKe(),OKe(),kKe(),AKe(),jKe(),MKe(),NKe(),PKe(),FKe(),IKe(),LKe(),RKe(),zKe(),BKe(),VKe(),HKe(),UKe(),WKe(),GKe(),KKe(),qKe(),JKe(),YKe(),XKe(),ZKe(),QKe(),$Ke(),eqe(),tqe(),nqe(),rqe(),iqe(),aqe(),oqe(),sqe(),cqe(),lqe(),uqe(),dqe(),fqe(),pqe(),mqe(),hqe(),gqe(),_qe(),vqe(),yqe(),bqe(),xqe(),Sqe(),Cqe(),wqe(),Tqe(),Eqe(),Dqe(),Oqe(),kqe(),Aqe(),jqe(),Mqe(),Nqe(),Pqe(),Fqe(),Iqe(),Lqe(),Rqe(),zqe(),Bqe(),Vqe(),Hqe(),Uqe(),Wqe(),Gqe(),Kqe(),qqe(),Jqe(),Yqe(),Xqe(),Zqe(),Qqe(),$qe(),eJe(),tJe(),nJe(),rJe(),iJe(),aJe(),oJe(),sJe(),cJe(),lJe(),uJe(),dJe(),fJe(),pJe(),mJe(),hJe(),gJe(),_Je(),vJe(),yJe(),bJe(),xJe(),SJe(),CJe(),wJe(),TJe(),EJe(),DJe(),OJe(),kJe(),AJe(),jJe(),MJe(),NJe(),PJe(),FJe(),IJe(),LJe(),RJe(),zJe(),BJe(),VJe(),HJe(),UJe(),WJe(),GJe(),KJe(),qJe(),JJe(),YJe(),XJe(),ZJe(),QJe(),$Je(),eYe(),tYe(),nYe(),rYe(),iYe(),aYe(),oYe(),sYe(),cYe(),lYe(),uYe(),dYe(),fYe(),pYe(),mYe(),hYe(),gYe(),_Ye(),vYe(),yYe(),bYe(),xYe(),SYe(),CYe(),wYe(),TYe(),EYe(),DYe(),OYe(),kYe(),AYe(),jYe(),MYe(),NYe(),PYe(),FYe(),IYe(),LYe(),RYe(),zYe(),BYe(),VYe(),HYe(),UYe(),WYe(),GYe(),KYe(),qYe(),JYe(),YYe(),XYe(),ZYe(),QYe(),$Ye(),eXe(),tXe(),nXe(),rXe(),iXe(),aXe(),oXe(),sXe(),cXe(),lXe(),uXe(),dXe(),fXe(),pXe(),mXe(),hXe(),gXe(),_Xe(),vXe(),yXe(),bXe(),xXe(),SXe(),CXe(),wXe(),TXe(),EXe(),DXe(),OXe(),kXe(),AXe(),jXe(),MXe(),NXe(),PXe(),FXe(),IXe(),LXe(),RXe(),zXe(),BXe(),VXe(),HXe(),UXe(),WXe(),GXe(),KXe(),qXe(),JXe(),YXe(),XXe(),ZXe(),QXe(),$Xe(),eZe(),tZe(),nZe(),rZe(),iZe(),aZe(),oZe(),sZe(),cZe(),lZe(),uZe(),dZe(),fZe(),pZe(),mZe(),hZe(),gZe(),_Ze(),vZe(),yZe(),bZe(),xZe(),SZe(),CZe(),wZe(),TZe(),EZe(),DZe(),OZe(),kZe(),AZe(),jZe(),MZe(),NZe(),PZe(),FZe(),IZe(),LZe(),RZe(),zZe(),BZe(),VZe(),HZe(),UZe(),WZe(),GZe(),KZe(),qZe(),JZe(),YZe(),XZe(),ZZe(),QZe(),$Ze(),eQe(),tQe(),eW(),nQe(),rQe(),iQe(),aQe(),oQe(),sQe(),cQe(),lQe(),uQe(),dQe(),fQe(),pQe(),mQe(),hQe(),gQe(),_Qe(),vQe(),yQe(),bQe(),xQe(),SQe(),CQe(),wQe(),TQe(),EQe(),DQe(),OQe(),kQe(),AQe(),jQe(),MQe(),NQe(),PQe(),FQe(),IQe(),LQe(),RQe(),zQe(),BQe(),VQe(),HQe(),UQe(),WQe(),GQe(),KQe(),qQe(),JQe(),YQe(),XQe(),ZQe(),QQe(),$Qe(),e$e(),t$e(),n$e(),r$e(),i$e(),a$e(),o$e(),s$e(),c$e(),l$e(),u$e(),d$e(),f$e(),p$e(),m$e(),h$e(),g$e(),_$e(),v$e(),y$e(),b$e(),x$e(),S$e(),C$e(),w$e(),T$e(),E$e(),D$e(),O$e(),k$e(),A$e(),j$e(),M$e(),N$e(),P$e(),F$e(),I$e(),L$e(),R$e(),z$e(),B$e(),V$e(),H$e(),U$e(),W$e(),G$e(),K$e(),q$e(),J$e(),Y$e(),X$e(),Z$e(),Q$e(),$$e(),e1e(),t1e(),n1e(),r1e(),i1e(),a1e(),o1e(),s1e(),c1e(),l1e(),u1e(),d1e(),f1e(),p1e(),m1e(),h1e(),g1e(),_1e(),v1e(),y1e(),b1e(),x1e(),S1e(),C1e(),w1e(),T1e(),E1e(),D1e(),O1e(),k1e(),A1e(),j1e(),M1e(),N1e(),P1e(),F1e(),I1e(),L1e(),R1e(),z1e(),B1e(),V1e(),H1e(),U1e(),W1e(),G1e(),K1e(),q1e(),J1e(),Y1e(),X1e(),Z1e(),Q1e(),$1e(),e0e(),t0e(),n0e(),r0e(),i0e(),a0e(),o0e(),s0e(),c0e(),l0e(),u0e(),d0e(),f0e(),p0e(),m0e(),h0e(),g0e(),_0e(),v0e(),y0e(),b0e(),x0e(),S0e(),C0e(),w0e(),T0e(),E0e(),D0e(),O0e(),k0e(),A0e(),j0e(),M0e(),N0e(),P0e(),F0e(),I0e(),L0e(),R0e(),z0e(),B0e(),V0e(),H0e(),U0e(),W0e(),G0e(),K0e(),q0e(),J0e(),Y0e(),X0e(),Z0e(),Q0e(),$0e(),e2e(),t2e(),n2e(),r2e(),i2e(),a2e(),o2e(),s2e(),c2e(),l2e(),u2e(),d2e(),f2e(),p2e(),m2e(),h2e(),g2e(),_2e(),v2e(),y2e(),b2e(),x2e(),S2e(),C2e(),w2e(),T2e(),E2e(),D2e(),O2e(),k2e(),A2e(),j2e(),M2e(),N2e(),P2e(),F2e(),I2e(),L2e(),R2e(),z2e(),B2e(),V2e(),H2e(),U2e(),W2e(),G2e(),K2e(),q2e(),J2e(),Y2e(),X2e(),Z2e(),Q2e(),$2e(),e4e(),t4e(),n4e(),r4e(),i4e(),a4e(),o4e(),s4e(),c4e(),l4e(),u4e(),d4e(),f4e(),p4e(),m4e(),h4e(),g4e(),_4e(),v4e(),y4e(),b4e(),x4e(),S4e(),C4e(),w4e(),T4e(),E4e(),D4e(),O4e(),k4e(),A4e(),j4e(),M4e(),N4e(),P4e(),F4e(),I4e(),L4e(),R4e(),z4e(),B4e(),V4e(),H4e(),U4e(),W4e(),G4e(),K4e(),q4e(),J4e(),Y4e(),X4e(),Z4e(),Q4e(),$4e(),e3e(),t3e(),n3e(),r3e(),i3e(),a3e(),o3e(),s3e(),c3e(),l3e(),u3e(),d3e(),f3e(),p3e(),m3e(),h3e(),g3e(),_3e(),v3e(),y3e(),b3e(),x3e(),S3e(),C3e(),w3e(),T3e(),E3e(),D3e(),O3e(),k3e(),A3e(),j3e(),M3e(),N3e(),P3e(),F3e(),I3e(),L3e(),R3e(),z3e(),B3e(),V3e(),H3e(),U3e(),W3e(),G3e(),K3e(),q3e(),J3e(),Y3e(),X3e(),Z3e(),Q3e(),$3e(),e6e(),t6e(),n6e(),r6e(),i6e(),a6e(),o6e(),s6e(),c6e(),l6e(),u6e(),d6e(),f6e(),p6e(),m6e(),h6e(),g6e(),_6e(),v6e(),y6e(),b6e(),x6e(),S6e(),C6e(),w6e(),T6e(),E6e(),D6e(),O6e(),k6e(),A6e(),j6e(),M6e(),N6e(),P6e(),F6e(),I6e(),L6e(),R6e(),z6e(),B6e(),V6e(),H6e(),U6e(),W6e(),G6e(),K6e(),q6e(),J6e(),Y6e(),X6e(),Z6e(),Q6e(),$6e(),e8e(),t8e(),n8e(),r8e(),i8e(),a8e(),o8e(),s8e(),c8e(),l8e(),u8e(),d8e(),f8e(),p8e(),m8e(),h8e(),g8e(),_8e(),v8e(),y8e(),b8e(),x8e(),S8e(),C8e(),w8e(),T8e(),E8e(),D8e(),O8e(),k8e(),A8e(),j8e(),M8e(),N8e(),P8e(),F8e(),I8e(),L8e(),R8e(),z8e(),B8e(),V8e(),H8e(),U8e(),W8e(),G8e(),K8e(),q8e(),J8e(),Y8e(),X8e(),Z8e(),Q8e(),$8e(),e5e(),t5e(),n5e(),r5e(),i5e(),a5e(),o5e(),s5e(),c5e(),l5e(),u5e(),d5e(),f5e(),p5e(),m5e(),h5e(),g5e(),_5e(),v5e(),y5e(),b5e(),x5e(),S5e(),C5e(),w5e(),T5e(),E5e(),D5e(),O5e(),k5e(),A5e(),j5e(),M5e(),N5e(),P5e(),F5e(),I5e(),L5e(),R5e(),z5e(),B5e(),V5e(),H5e(),U5e(),W5e(),G5e(),K5e(),q5e(),J5e(),Y5e(),X5e(),Z5e(),Q5e(),$5e(),e7e(),t7e(),n7e(),r7e(),i7e(),a7e(),o7e(),s7e(),c7e(),l7e(),u7e(),d7e(),f7e(),p7e(),m7e(),h7e(),g7e(),_7e(),v7e(),y7e(),b7e(),x7e(),S7e(),C7e(),w7e(),T7e(),E7e(),D7e(),O7e(),k7e(),A7e(),j7e(),M7e(),N7e(),P7e(),F7e(),I7e(),L7e(),R7e(),z7e(),B7e(),V7e(),H7e(),U7e(),W7e(),G7e(),K7e(),q7e(),J7e(),Y7e(),X7e(),Z7e(),Q7e(),$7e(),e9e(),t9e(),n9e(),r9e(),i9e(),a9e(),o9e(),s9e(),c9e(),l9e(),u9e(),d9e(),f9e(),p9e(),m9e(),h9e(),g9e(),_9e(),v9e(),y9e(),b9e(),x9e(),S9e(),C9e(),w9e(),T9e(),E9e(),D9e(),O9e(),k9e(),A9e(),j9e(),M9e(),N9e(),P9e(),F9e(),I9e(),L9e(),R9e(),z9e(),B9e(),V9e(),H9e(),U9e(),W9e(),G9e(),K9e(),q9e(),J9e(),Y9e(),X9e(),Z9e(),Q9e(),$9e(),eet(),tet(),net(),ret(),iet(),aet(),oet(),set(),cet(),uet(),det(),fet(),pet(),met(),het(),get(),_et(),vet(),yet(),bet(),xet(),Cet(),wet(),Tet(),Eet(),Det(),Oet(),ket(),Aet(),jet(),Met(),Net(),Pet(),Fet(),Iet(),Let(),Ret(),zet(),Bet(),Vet(),Het(),Uet(),Wet(),Get(),Ket(),qet(),Jet(),Yet(),Xet(),Zet(),Qet(),$et(),ett(),ttt(),ntt(),rtt(),itt(),att(),ott(),stt(),ctt(),ltt(),utt(),dtt(),nW(),ftt(),ptt(),mtt(),htt(),gtt(),_tt(),vtt(),ytt(),btt(),xtt(),Stt(),Ctt(),wtt(),Ttt(),Ett(),Dtt(),Ott(),ktt(),Att(),jtt(),Mtt(),Ntt(),Ptt(),Ftt(),Itt(),Ltt(),Rtt(),ztt(),Btt(),Vtt(),Htt(),Utt(),Wtt(),Gtt(),Ktt(),qtt(),Jtt(),Ytt(),Xtt(),Ztt(),Qtt(),$tt(),ent(),tnt(),nnt(),rnt(),int(),ant(),ont(),snt(),cnt(),lnt(),unt(),dnt(),fnt(),pnt(),mnt(),hnt(),gnt(),_nt(),vnt(),ynt(),bnt(),xnt(),Snt(),Cnt(),wnt(),Tnt(),Ent(),Dnt(),Ont(),knt(),Ant(),jnt(),Mnt(),Nnt(),Pnt(),Fnt(),Int(),Lnt(),Rnt(),znt(),Bnt(),Vnt(),Hnt(),Unt(),Wnt(),Gnt(),Knt(),qnt(),Jnt(),Ynt(),Xnt(),Znt(),Qnt(),$nt(),ert(),trt(),nrt(),rrt(),irt(),art(),ort(),srt(),crt(),lrt(),urt(),drt(),frt(),prt()})),iW,aW,oW=O((()=>{rW(),iW={class:`wt-call-media-action__option`},aW=(0,t.defineComponent)({__name:`wt-call-media-action`,props:{files:{},playingFileId:{default:``}},emits:[`play`,`stop`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>[...r.files[ZU.FileTypeAudio]||[],...r.files[ZU.FileTypeVideo]||[]]),o=(0,t.computed)(()=>r.files[ZU.FileTypeVideo]?`preview-tag-video`:`play`),s=(0,t.computed)(()=>a.value.some(e=>e.id===r.playingFileId)),c=(0,t.computed)(()=>a.value.map(({name:e,id:t,mimeType:n,type:r})=>({text:e,id:t,mimeType:n,type:r,icon:n===`video/mp4`?`preview-tag-video`:`preview-tag-audio`}))),l=({option:e})=>{r.playingFileId===e.id?i(`stop`):i(`play`,e)};return(n,r)=>{let i=(0,t.resolveComponent)(`wt-icon-btn`),u=(0,t.resolveComponent)(`wt-icon`),d=(0,t.resolveComponent)(`wt-context-menu`);return(0,t.openBlock)(),(0,t.createBlock)(d,{class:`wt-call-media-action`,options:c.value,"max-width":`400px`,onClick:l},{activator:(0,t.withCtx)(({toggle:e})=>[a.value.length?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,icon:s.value?`stop`:o.value,onClick:e},null,8,[`icon`,`onClick`])):(0,t.createCommentVNode)(``,!0)]),option:(0,t.withCtx)(({text:n,id:r,icon:i})=>[(0,t.createElementVNode)(`div`,iW,[(0,t.createVNode)(u,{icon:r===e.playingFileId?`stop`:i},null,8,[`icon`]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(n),1)])]),_:1},8,[`options`])}}})})),mrt=O((()=>{})),hrt=A({default:()=>sW}),sW,grt=O((()=>{oW(),oW(),mrt(),R(),sW=L(aW,[[`__scopeId`,`data-v-a6f7b638`]])}));function cW(e){if(typeof e!=`string`||!e)throw Error(`expected a non-empty string, got: `+e)}function lW(e){if(typeof e!=`number`)throw Error(`expected a number, got: `+e)}function _rt(e,t){let n=new Set,r=[];for(let i of e){let e=t(i);n.has(e)||(n.add(e),r.push(i))}return r}function uW(e){return _rt(e,e=>e.unicode)}function vrt(e){function t(t,n,r){let i=n?e.createObjectStore(t,{keyPath:n}):e.createObjectStore(t);if(r)for(let[e,[t,n]]of Object.entries(r))i.createIndex(e,t,{multiEntry:n});return i}t(NW),t(MW,LW,{[IW]:[FW,!0],[VW]:[[zW,BW]],[qW]:[JW,!0]}),t(PW,void 0,{[RW]:[``]})}function dW(e,t,n){n.onerror=()=>t(n.error),n.onblocked=()=>t(Error(`IDB blocked`)),n.onsuccess=()=>e(n.result)}async function yrt(e){let t=await new Promise((t,n)=>{let r=indexedDB.open(e,AW);ZW[e]=r,r.onupgradeneeded=e=>{e.oldVersion<jW&&vrt(r.result)},dW(t,n,r)});return t.onclose=()=>pW(e),t}function brt(e){return QW[e]||(QW[e]=yrt(e)),QW[e]}function fW(e,t,n,r){return new Promise((i,a)=>{let o=e.transaction(t,n,{durability:`relaxed`}),s=typeof t==`string`?o.objectStore(t):t.map(e=>o.objectStore(e)),c;r(s,o,e=>{c=e}),o.oncomplete=()=>i(c),o.onerror=()=>a(o.error)})}function pW(e){let t=ZW[e],n=t&&t.result;if(n){n.close();let t=$W[e];if(t)for(let e of t)e()}delete ZW[e],delete QW[e],delete $W[e]}function xrt(e){return new Promise((t,n)=>{pW(e),dW(t,n,indexedDB.deleteDatabase(e))})}function Srt(e,t){let n=$W[e];n||=$W[e]=[],n.push(t)}function mW(e){return e.split(/[\s_]+/).map(e=>!e.match(/\w/)||eG.has(e)?e.toLowerCase():e.replace(/[)(:,]/g,``).replace(/’/g,`'`).toLowerCase()).filter(Boolean)}function hW(e){return e.filter(Boolean).map(e=>e.toLowerCase()).filter(e=>e.length>=tG)}function Crt(e){return e.map(({annotation:e,emoticon:t,group:n,order:r,shortcodes:i,skins:a,tags:o,emoji:s,version:c})=>{let l={annotation:e,group:n,order:r,tags:o,tokens:[...new Set(hW([...(i||[]).map(mW).flat(),...(o||[]).map(mW).flat(),...mW(e),t]))].sort(),unicode:s,version:c};if(t&&(l.emoticon=t),i&&(l.shortcodes=i),a){l.skinTones=[],l.skinUnicodes=[],l.skinVersions=[];for(let{tone:e,emoji:t,version:n}of a)l.skinTones.push(e),l.skinUnicodes.push(t),l.skinVersions.push(n)}return l})}function gW(e,t,n,r){e[t](n).onsuccess=e=>r&&r(e.target.result)}function _W(e,t,n){gW(e,`get`,t,n)}function vW(e,t,n){gW(e,`getAll`,t,n)}function yW(e){e.commit&&e.commit()}function wrt(e,t){let n=e[0];for(let r=1;r<e.length;r++){let i=e[r];t(n)>t(i)&&(n=i)}return n}function bW(e,t){let n=wrt(e,e=>e.length),r=[];for(let i of n)e.some(e=>e.findIndex(e=>t(e)===t(i))===-1)||r.push(i);return r}async function Trt(e){return!await CW(e,NW,UW)}async function Ert(e,t,n){let[r,i]=await Promise.all([HW,UW].map(t=>CW(e,NW,t)));return r===n&&i===t}async function Drt(e,t){return fW(e,MW,GW,(e,n,r)=>{let i,a=()=>{e.getAll(i&&IDBKeyRange.lowerBound(i,!0),50).onsuccess=e=>{let n=e.target.result;for(let e of n)if(i=e.unicode,t(e))return r(e);if(n.length<50)return r();a()}};a()})}async function xW(e,t,n,r){try{let i=Crt(t);await fW(e,[MW,NW],KW,([e,t],a)=>{let o,s,c=0;function l(){++c===2&&u()}function u(){if(!(o===r&&s===n)){e.clear();for(let t of i)e.put(t);t.put(r,HW),t.put(n,UW),yW(a)}}_W(t,HW,e=>{o=e,l()}),_W(t,UW,e=>{s=e,l()})})}finally{}}async function Ort(e,t){return fW(e,MW,GW,(e,n,r)=>{let i=IDBKeyRange.bound([t,0],[t+1,0],!1,!0);vW(e.index(VW),i,r)})}async function SW(e,t){let n=hW(mW(t));return n.length?fW(e,MW,GW,(e,t,r)=>{let i=[],a=()=>{i.length===n.length&&o()},o=()=>{r(bW(i,e=>e.unicode).sort((e,t)=>e.order<t.order?-1:1))};for(let t=0;t<n.length;t++){let r=n[t],o=t===n.length-1?IDBKeyRange.bound(r,r+``,!1,!0):IDBKeyRange.only(r);vW(e.index(IW),o,e=>{i.push(e),a()})}}):[]}async function krt(e,t){let n=await SW(e,t);return n.length?n.filter(e=>(e.shortcodes||[]).map(e=>e.toLowerCase()).includes(t.toLowerCase()))[0]||null:await Drt(e,e=>(e.shortcodes||[]).includes(t.toLowerCase()))||null}async function Art(e,t){return fW(e,MW,GW,(e,n,r)=>_W(e,t,n=>{if(n)return r(n);_W(e.index(qW),t,e=>r(e||null))}))}function CW(e,t,n){return fW(e,t,GW,(e,t,r)=>_W(e,n,r))}function jrt(e,t,n,r){return fW(e,t,KW,(e,t)=>{e.put(r,n),yW(t)})}function Mrt(e,t){return fW(e,PW,KW,(e,n)=>_W(e,t,r=>{e.put((r||0)+1,t),yW(n)}))}function Nrt(e,t,n){return n===0?[]:fW(e,[PW,MW],GW,([e,r],i,a)=>{let o=[];e.index(RW).openCursor(void 0,`prev`).onsuccess=e=>{let i=e.target.result;if(!i)return a(o);function s(e){if(o.push(e),o.length===n)return a(o);i.continue()}let c=i.primaryKey,l=t.byName(c);if(l)return s(l);_W(r,c,e=>{if(e)return s(e);i.continue()})}})}function Prt(e,t){let n=new Map;for(let r of e){let e=t(r);for(let t of e){let e=n;for(let n=0;n<t.length;n++){let r=t.charAt(n),i=e.get(r);i||(i=new Map,e.set(r,i)),e=i}let i=e.get(nG);i||(i=[],e.set(nG,i)),i.push(r)}}return(e,t)=>{let r=n;for(let t=0;t<e.length;t++){let n=e.charAt(t),i=r.get(n);if(i)r=i;else return[]}if(t)return r.get(nG)||[];let i=[],a=[r];for(;a.length;){let e=[...a.shift().entries()].sort((e,t)=>e[0]<t[0]?-1:1);for(let[t,n]of e)t===nG?i.push(...n):a.push(n)}return i}}function Frt(e){let t=e&&Array.isArray(e),n=t&&e.length&&(!e[0]||rG.some(t=>!(t in e[0])));if(!t||n)throw Error(`Custom emojis are in the wrong format`)}function wW(e){Frt(e);let t=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:1,n=e.sort(t),r=Prt(e,e=>{let t=new Set;if(e.shortcodes)for(let n of e.shortcodes)for(let e of mW(n))t.add(e);return t}),i=e=>r(e,!0),a=e=>r(e,!1),o=e=>{let n=mW(e);return bW(n.map((e,t)=>(t<n.length-1?i:a)(e)),e=>e.name).sort(t)},s=new Map,c=new Map;for(let t of e){c.set(t.name.toLowerCase(),t);for(let e of t.shortcodes||[])s.set(e.toLowerCase(),t)}return{all:n,search:o,byShortcode:e=>s.get(e.toLowerCase()),byName:e=>c.get(e.toLowerCase())}}function TW(e){if(!e)return e;if(iG&&(e=structuredClone(e)),delete e.tokens,e.skinTones){let t=e.skinTones.length;e.skins=Array(t);for(let n=0;n<t;n++)e.skins[n]={tone:e.skinTones[n],unicode:e.skinUnicodes[n],version:e.skinVersions[n]};delete e.skinTones,delete e.skinUnicodes,delete e.skinVersions}return e}function EW(e){e||console.warn(`emoji-picker-element is more efficient if the dataSource server exposes an ETag header.`)}function Irt(e){if(!e||!Array.isArray(e)||!e[0]||typeof e[0]!=`object`||aG.some(t=>!(t in e[0])))throw Error(`Emoji data is in the wrong format`)}function DW(e,t){if(Math.floor(e.status/100)!==2)throw Error(`Failed to fetch: `+t+`: `+e.status)}async function Lrt(e){let t=await fetch(e,{method:`HEAD`});DW(t,e);let n=t.headers.get(`etag`);return EW(n),n}async function OW(e){let t=await fetch(e);DW(t,e);let n=t.headers.get(`etag`);EW(n);let r=await t.json();return Irt(r),[n,r]}function Rrt(e){for(var t=``,n=new Uint8Array(e),r=n.byteLength,i=-1;++i<r;)t+=String.fromCharCode(n[i]);return t}function zrt(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=-1;++i<t;)r[i]=e.charCodeAt(i);return n}async function kW(e){let t=zrt(JSON.stringify(e)),n=Rrt(await crypto.subtle.digest(`SHA-1`,t));return btoa(n)}async function Brt(e,t){let n,r=await Lrt(t);if(!r){let e=await OW(t);r=e[0],n=e[1],r||=await kW(n)}await Ert(e,t,r)||(n||=(await OW(t))[1],await xW(e,n,t,r))}async function Vrt(e,t){let[n,r]=await OW(t);n||=await kW(r),await xW(e,r,t,n)}async function Hrt(e,t){try{await Brt(e,t)}catch(e){if(e.name!==`InvalidStateError`)throw e}}var AW,jW,MW,NW,PW,FW,IW,LW,RW,zW,BW,VW,HW,UW,WW,GW,KW,qW,JW,YW,XW,ZW,QW,$W,eG,tG,nG,rG,iG,aG,oG,Urt=O((()=>{AW=1,jW=1,MW=`emoji`,NW=`keyvalue`,PW=`favorites`,FW=`tokens`,IW=`tokens`,LW=`unicode`,RW=`count`,zW=`group`,BW=`order`,VW=`group-order`,HW=`eTag`,UW=`url`,WW=`skinTone`,GW=`readonly`,KW=`readwrite`,qW=`skinUnicodes`,JW=`skinUnicodes`,YW=`https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json`,XW=`en`,ZW={},QW={},$W={},eG=new Set(`:D.XD.:'D.O:).:X.:P.;P.XP.:L.:Z.:j.8D.XO.8).:B.:O.:S.:'o.Dx.X(.D:.:C.>0).:3.</3.<3.\\M/.:E.8#`.split(`.`)),tG=2,nG=``,rG=[`name`,`url`],iG=typeof wrappedJSObject<`u`,aG=[`annotation`,`emoji`,`group`,`order`,`version`],oG=class{constructor({dataSource:e=YW,locale:t=XW,customEmoji:n=[]}={}){this.dataSource=e,this.locale=t,this._dbName=`emoji-picker-element-${this.locale}`,this._db=void 0,this._lazyUpdate=void 0,this._custom=wW(n),this._clear=this._clear.bind(this),this._ready=this._init()}async _init(){let e=this._db=await brt(this._dbName);Srt(this._dbName,this._clear);let t=this.dataSource;await Trt(e)?await Vrt(e,t):this._lazyUpdate=Hrt(e,t)}async ready(){let e=async()=>(this._ready||=this._init(),this._ready);await e(),this._db||await e()}async getEmojiByGroup(e){return lW(e),await this.ready(),uW(await Ort(this._db,e)).map(TW)}async getEmojiBySearchQuery(e){cW(e),await this.ready();let t=this._custom.search(e),n=uW(await SW(this._db,e)).map(TW);return[...t,...n]}async getEmojiByShortcode(e){return cW(e),await this.ready(),this._custom.byShortcode(e)||TW(await krt(this._db,e))}async getEmojiByUnicodeOrName(e){return cW(e),await this.ready(),this._custom.byName(e)||TW(await Art(this._db,e))}async getPreferredSkinTone(){return await this.ready(),await CW(this._db,NW,WW)||0}async setPreferredSkinTone(e){return lW(e),await this.ready(),jrt(this._db,NW,WW,e)}async incrementFavoriteEmojiCount(e){return cW(e),await this.ready(),Mrt(this._db,e)}async getTopFavoriteEmoji(e){return lW(e),await this.ready(),(await Nrt(this._db,this._custom,e)).map(TW)}set customEmoji(e){this._custom=wW(e)}get customEmoji(){return this._custom.all}async _shutdown(){await this.ready();try{await this._lazyUpdate}catch{}}_clear(){this._db=this._ready=this._lazyUpdate=void 0}async close(){await this._shutdown(),await pW(this._dbName)}async delete(){await this._shutdown(),await xrt(this._dbName)}}}));function sG(e){return e.unicode.includes(``)}function Wrt(e){let t=AG(e,`#000`),n=AG(e,`#fff`);return t&&n&&jG(t,n)}function Grt(){let e=Object.entries(CG);try{for(let[t,n]of e)if(Wrt(t))return n}catch{}return e[0][1]}function Krt(e,t){if(t===0)return e;let n=e.indexOf(LG);return n===-1?(e.endsWith(FG)&&(e=e.substring(0,e.length-1)),e+IG+String.fromCodePoint(zG+t-1)):e.substring(0,n)+String.fromCodePoint(RG+t-1)+e.substring(n)}function cG(e){e.preventDefault(),e.stopPropagation()}function lG(e,t,n){return t+=e?-1:1,t<0?t=n.length-1:t>=n.length&&(t=0),t}function uG(e,t){let n=new Set,r=[];for(let i of e){let e=t(i);n.has(e)||(n.add(e),r.push(i))}return r}function qrt(e,t){let n=e=>{let n={};for(let r of e)typeof r.tone==`number`&&r.version<=t&&(n[r.tone]=r.unicode);return n};return e.map(({unicode:e,skins:t,shortcodes:r,url:i,name:a,category:o,annotation:s})=>({unicode:e,name:a,shortcodes:r,url:i,category:o,annotation:s,id:e||a,skins:t&&n(t)}))}function Jrt(e,t,n){let r;VG?(r=new ResizeObserver(n),r.observe(e)):BG(n),t.addEventListener(`abort`,()=>{r&&r.disconnect()})}function dG(e){{let t=document.createRange();return t.selectNode(e.firstChild),t.getBoundingClientRect().width}}function fG(e,t,n){let r=dG(t);if(!r){if(!WG){WG=n.cloneNode(!0);let e=getComputedStyle(n);for(let t of[`font-family`,`line-height`,`width`,`height`,`font-size`,`display`,`align-items`,`justify-content`])WG.style.setProperty(t,e.getPropertyValue(t),`important`)}try{return document.body.appendChild(WG),WG.firstChild.nodeValue=e,dG(WG)}finally{WG.remove()}}return r}function Yrt(e,t,n){let r=!0;for(let i of e){let e=n(i);if(!e)continue;UG===void 0&&(UG=fG(HG,t,t));let a=fG(i.unicode,e,t)/1.8<UG;PG.set(i.unicode,a),a||(r=!1)}return r}function Xrt(e){return uG(e,e=>e)}function Zrt(e){e&&(e.scrollTop=0)}function pG(e,t,n){let r=e.get(t);return r||(r=n(),e.set(t,r)),r}function mG(e){return``+e}function Qrt(e){let t=document.createElement(`template`);return t.innerHTML=e,t}function $rt(e,t){JG?e.replaceChildren(...t):(e.innerHTML=``,e.append(...t))}function eit(e,t){let n=e.firstChild,r=0;for(;n;){if(t[r]!==n)return!0;n=n.nextSibling,r++}return r!==t.length}function tit(e,t){let{targetNode:n}=t,{targetParentNode:r}=t,i=!1;r?i=eit(r,e):(i=!0,t.targetNode=void 0,t.targetParentNode=r=n.parentNode),i&&$rt(r,e)}function nit(e,t){for(let n of t){let{targetNode:t,currentExpression:r,binding:{expressionIndex:i,attributeName:a,attributeValuePre:o,attributeValuePost:s}}=n,c=e[i];if(r!==c)if(n.currentExpression=c,a)if(c===null)t.removeAttribute(a);else{let e=o+mG(c)+s;t.setAttribute(a,e)}else{let e;Array.isArray(c)?tit(c,n):c instanceof Element?(e=c,t.replaceWith(e)):t.nodeValue=mG(c),e&&(n.targetNode=e)}}}function rit(e){let t=``,n=!1,r=!1,i=-1,a=new Map,o=[],s=0;for(let c=0,l=e.length;c<l;c++){let u=e[c];if(t+=u.slice(s),c===l-1)break;for(let e=0;e<u.length;e++)switch(u.charAt(e)){case`<`:u.charAt(e+1)===`/`?o.pop():(n=!0,o.push(++i));break;case`>`:n=!1,r=!1;break;case`=`:r=!0;break}let d=o[o.length-1],f=pG(a,d,()=>[]),p,m,h;if(r){let n=/(\S+)="?([^"=]*)$/.exec(u);p=n[1],m=n[2];let r=/^([^">]*)("?)/.exec(e[c+1]);h=r[1],t=t.slice(0,-1*n[0].length),s=r[0].length}else s=0;let g={attributeName:p,attributeValuePre:m,attributeValuePost:h,expressionIndex:c};f.push(g),!n&&!r&&(t+=` `)}return{template:Qrt(t),elementsToBindings:a}}function hG(e,t,n){for(let r=0;r<e.length;r++){let i=e[r],a={binding:i,targetNode:i.attributeName?t:t.firstChild,targetParentNode:void 0,currentExpression:void 0};n.push(a)}}function iit(e,t){let n=[],r;if(t.size===1&&(r=t.get(0)))hG(r,e,n);else{let r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),i=e,a=-1;do{let e=t.get(++a);e&&hG(e,i,n)}while(i=r.nextNode())}return n}function ait(e){let{template:t,elementsToBindings:n}=pG(GG,e,()=>rit(e)),r=t.cloneNode(!0).content.firstElementChild,i=iit(r,n);return function(e){return nit(e,i),r}}function oit(e){let t=pG(KG,e,()=>new Map),n=qG;function r(e,...r){return pG(pG(t,e,()=>new Map),n,()=>ait(e))(r)}function i(e,t,r){return e.map((e,i)=>{let a=n;n=r(e);try{return t(e,i)}finally{n=a}})}return{map:i,html:r}}function sit(e,t,n,r,i,a,o,s,c){let{labelWithSkin:l,titleForEmoji:u,unicodeWithSkin:d}=n,{html:f,map:p}=oit(t);function m(e,n,r){return p(e,(e,i)=>f`<button role="${n?`option`:`menuitem`}" aria-selected="${n?i===t.activeSearchItem:null}" aria-label="${l(e,t.currentSkinTone)}" title="${u(e)}" class="${`emoji`+(n&&i===t.activeSearchItem?` active`:``)+(e.unicode?``:` custom-emoji`)}" id="${`${r}-${e.id}`}" style="${e.unicode?null:`--custom-emoji-background: url(${JSON.stringify(e.url)})`}">${e.unicode?d(e,t.currentSkinTone):``}</button>`,e=>`${r}-${e.id}`)}let h=f`<section data-ref="rootElement" class="picker" aria-label="${t.i18n.regionLabel}" style="${t.pickerStyle||``}"><div class="pad-top"></div><div class="search-row"><div class="search-wrapper"><input id="search" class="search" type="search" role="combobox" enterkeyhint="search" placeholder="${t.i18n.searchLabel}" autocapitalize="none" autocomplete="off" spellcheck="true" aria-expanded="${!!(t.searchMode&&t.currentEmojis.length)}" aria-controls="search-results" aria-describedby="search-description" aria-autocomplete="list" aria-activedescendant="${t.activeSearchItemId?`emo-${t.activeSearchItemId}`:null}" data-ref="searchElement" data-on-input="onSearchInput" data-on-keydown="onSearchKeydown"><label class="sr-only" for="search">${t.i18n.searchLabel}</label> <span id="search-description" class="sr-only">${t.i18n.searchDescription}</span></div><div class="skintone-button-wrapper ${t.skinTonePickerExpandedAfterAnimation?`expanded`:``}"><button id="skintone-button" class="emoji ${t.skinTonePickerExpanded?`hide-focus`:``}" aria-label="${t.skinToneButtonLabel}" title="${t.skinToneButtonLabel}" aria-describedby="skintone-description" aria-haspopup="listbox" aria-expanded="${t.skinTonePickerExpanded}" aria-controls="skintone-list" data-on-click="onClickSkinToneButton">${t.skinToneButtonText||``}</button></div><span id="skintone-description" class="sr-only">${t.i18n.skinToneDescription}</span><div data-ref="skinToneDropdown" id="skintone-list" class="skintone-list hide-focus ${t.skinTonePickerExpanded?``:`hidden no-animate`}" style="transform:translateY(${t.skinTonePickerExpanded?0:`calc(-1 * var(--num-skintones) * var(--total-emoji-size))`})" role="listbox" aria-label="${t.i18n.skinTonesLabel}" aria-activedescendant="skintone-${t.activeSkinTone}" aria-hidden="${!t.skinTonePickerExpanded}" tabIndex="-1" data-on-focusout="onSkinToneOptionsFocusOut" data-on-click="onSkinToneOptionsClick" data-on-keydown="onSkinToneOptionsKeydown" data-on-keyup="onSkinToneOptionsKeyup">${p(t.skinTones,(e,n)=>f`<div id="skintone-${n}" class="emoji ${n===t.activeSkinTone?`active`:``}" aria-selected="${n===t.activeSkinTone}" role="option" title="${t.i18n.skinTones[n]}" aria-label="${t.i18n.skinTones[n]}">${e}</div>`,e=>e)}</div></div><div class="nav" role="tablist" style="grid-template-columns:repeat(${t.groups.length},1fr)" aria-label="${t.i18n.categoriesLabel}" data-on-keydown="onNavKeydown" data-on-click="onNavClick">${p(t.groups,e=>f`<button role="tab" class="nav-button" aria-controls="tab-${e.id}" aria-label="${t.i18n.categories[e.name]}" aria-selected="${!t.searchMode&&t.currentGroup.id===e.id}" title="${t.i18n.categories[e.name]}" data-group-id="${e.id}"><div class="nav-emoji emoji">${e.emoji}</div></button>`,e=>e.id)}</div><div class="indicator-wrapper"><div class="indicator" style="transform:translateX(${(t.isRtl?-1:1)*t.currentGroupIndex*100}%)"></div></div><div class="message ${t.message?``:`gone`}" role="alert" aria-live="polite">${t.message||``}</div><div data-ref="tabpanelElement" class="tabpanel ${!t.databaseLoaded||t.message?`gone`:``}" role="${t.searchMode?`region`:`tabpanel`}" aria-label="${t.searchMode?t.i18n.searchResultsLabel:t.i18n.categories[t.currentGroup.name]}" id="${t.searchMode?null:`tab-${t.currentGroup.id}`}" tabIndex="0" data-on-click="onEmojiClick"><div data-action="calculateEmojiGridStyle">${p(t.currentEmojisWithCategories,(e,n)=>f`<div><div id="menu-label-${n}" class="category ${t.currentEmojisWithCategories.length===1&&t.currentEmojisWithCategories[0].category===``?`gone`:``}" aria-hidden="true">${t.searchMode?t.i18n.searchResultsLabel:e.category?e.category:t.currentEmojisWithCategories.length>1?t.i18n.categories.custom:t.i18n.categories[t.currentGroup.name]}</div><div class="emoji-menu ${n!==0&&!t.searchMode&&t.currentGroup.id===-1?`visibility-auto`:``}" style="${`--num-rows: ${Math.ceil(e.emojis.length/t.numColumns)}`}" data-action="updateOnIntersection" role="${t.searchMode?`listbox`:`menu`}" aria-labelledby="menu-label-${n}" id="${t.searchMode?`search-results`:null}">${m(e.emojis,t.searchMode,`emo`)}</div></div>`,e=>e.category)}</div></div><div class="favorites onscreen emoji-menu ${t.message?`gone`:``}" role="menu" aria-label="${t.i18n.favoritesLabel}" data-on-click="onEmojiClick">${m(t.currentFavorites,!1,`fav`)}</div><button data-ref="baselineEmoji" aria-hidden="true" tabindex="-1" class="abs-pos hidden emoji baseline-emoji">😀</button></section>`,g=(t,n)=>{for(let r of e.querySelectorAll(`[${t}]`))n(r,r.getAttribute(t))};if(c){e.appendChild(h);for(let e of[`click`,`focusout`,`input`,`keydown`,`keyup`])g(`data-on-${e}`,(t,n)=>{t.addEventListener(e,r[n])});g(`data-ref`,(e,t)=>{a[t]=e}),o.addEventListener(`abort`,()=>{e.removeChild(h)})}g(`data-action`,(e,t)=>{let n=s.get(t);n||s.set(t,n=new WeakSet),n.has(e)||(n.add(e),i[t](e))})}function cit(e){let t=!1,n,r=new Map,i=new Set,a,o=()=>{if(t)return;let e=[...i];i.clear();try{for(let t of e)t()}finally{a=!1,i.size&&(a=!0,YG(o))}},s=new Proxy({},{get(e,t){if(n){let e=r.get(t);e||(e=new Set,r.set(t,e)),e.add(n)}return e[t]},set(e,t,n){if(e[t]!==n){e[t]=n;let s=r.get(t);if(s){for(let e of s)i.add(e);a||(a=!0,YG(o))}}return!0}});return e.addEventListener(`abort`,()=>{t=!0}),{state:s,createEffect:e=>{let t=()=>{let r=n;n=t;try{return e()}finally{n=r}};return t()}}}function gG(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function lit(e,t,n){{let r=e.closest(`.tabpanel`),i=XG.get(r);i||(i=new IntersectionObserver(n,{root:r,rootMargin:`50% 0px 50% 0px`,threshold:0}),XG.set(r,i),t.addEventListener(`abort`,()=>{i.disconnect()})),i.observe(e)}}function uit(e,t){let n={},r=new AbortController,i=r.signal,{state:a,createEffect:o}=cit(i),s=new Map;QG(a,{skinToneEmoji:void 0,i18n:void 0,database:void 0,customEmoji:void 0,customCategorySorting:void 0,emojiVersion:void 0}),QG(a,t),QG(a,{initialLoad:!0,currentEmojis:[],currentEmojisWithCategories:[],rawSearchText:``,searchText:``,searchMode:!1,activeSearchItem:-1,message:void 0,skinTonePickerExpanded:!1,skinTonePickerExpandedAfterAnimation:!1,currentSkinTone:0,activeSkinTone:0,skinToneButtonText:void 0,pickerStyle:void 0,skinToneButtonLabel:``,skinTones:[],currentFavorites:[],defaultFavoriteEmojis:void 0,numColumns:EG,isRtl:!1,currentGroupIndex:0,groups:yG,databaseLoaded:!1,activeSearchItemId:void 0}),o(()=>{a.currentGroup!==a.groups[a.currentGroupIndex]&&(a.currentGroup=a.groups[a.currentGroupIndex])});let c=t=>{e.getElementById(t).focus()},l=t=>e.getElementById(`emo-${t.id}`),u=(e,t)=>{n.rootElement.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0}))},d=(e,t)=>e.id===t.id,f=(e,t)=>{let{category:n,emojis:r}=e,{category:i,emojis:a}=t;return n===i?gG(r,a,d):!1},p=e=>{gG(a.currentEmojis,e,d)||(a.currentEmojis=e)},m=e=>{a.searchMode!==e&&(a.searchMode=e)},h=e=>{gG(a.currentEmojisWithCategories,e,f)||(a.currentEmojisWithCategories=e)},g=(e,t)=>t&&e.skins&&e.skins[t]||e.unicode,_={labelWithSkin:(e,t)=>Xrt([e.name||g(e,t),e.annotation,...e.shortcodes||ZG].filter(Boolean)).join(`, `),titleForEmoji:e=>e.annotation||(e.shortcodes||ZG).join(`, `),unicodeWithSkin:g},v={onClickSkinToneButton:de,onEmojiClick:le,onNavClick:ae,onNavKeydown:oe,onSearchKeydown:E,onSkinToneOptionsClick:ue,onSkinToneOptionsFocusOut:me,onSkinToneOptionsKeydown:fe,onSkinToneOptionsKeyup:pe,onSearchInput:he},y={calculateEmojiGridStyle:S,updateOnIntersection:C},b=!0;o(()=>{sit(e,a,_,v,y,n,i,s,b),b=!1}),a.emojiVersion||NG().then(e=>{e||(a.message=a.i18n.emojiUnsupportedMessage)}),o(()=>{async function e(){let e=!1,t=setTimeout(()=>{e=!0,a.message=a.i18n.loadingMessage},wG);try{await a.database.ready(),a.databaseLoaded=!0}catch(e){console.error(e),a.message=a.i18n.networkErrorMessage}finally{clearTimeout(t),e&&(e=!1,a.message=``)}}a.database&&e()}),o(()=>{a.pickerStyle=`
|
|
1433
1433
|
--num-groups: ${a.groups.length};
|
|
1434
1434
|
--indicator-opacity: ${+!a.searchMode};
|
|
1435
|
-
--num-skintones: ${xG};`}),o(()=>{a.customEmoji&&a.database&&x()}),o(()=>{a.customEmoji&&a.customEmoji.length?a.groups!==vG&&(a.groups=vG):a.groups!==yG&&(a.currentGroupIndex&&a.currentGroupIndex--,a.groups=yG)}),o(()=>{async function e(){a.databaseLoaded&&(a.currentSkinTone=await a.database.getPreferredSkinTone())}e()}),o(()=>{a.skinTones=Array(xG).fill().map((e,t)=>Krt(a.skinToneEmoji,t))}),o(()=>{a.skinToneButtonText=a.skinTones[a.currentSkinTone]}),o(()=>{a.skinToneButtonLabel=a.i18n.skinToneLabel.replace(`{skinTone}`,a.i18n.skinTones[a.currentSkinTone])}),o(()=>{async function e(){let{database:e}=a,t=(await Promise.all(DG.map(t=>e.getEmojiByUnicodeOrName(t)))).filter(Boolean);a.defaultFavoriteEmojis=t}a.databaseLoaded&&e()});function x(){let{customEmoji:e,database:t}=a,n=e||ZG;t.customEmoji!==n&&(t.customEmoji=n)}o(()=>{async function e(){x();let{database:e,defaultFavoriteEmojis:t,numColumns:n}=a,r=await ne(uG([...await e.getTopFavoriteEmoji(n),...t],e=>e.unicode||e.name).slice(0,n));a.currentFavorites=r}a.databaseLoaded&&a.defaultFavoriteEmojis&&e()});function S(e){Jrt(e,i,()=>{{let e=getComputedStyle(n.rootElement),t=parseInt(e.getPropertyValue(`--num-columns`),10),r=e.getPropertyValue(`direction`)===`rtl`;a.numColumns=t,a.isRtl=r}})}function C(e){lit(e,i,e=>{for(let{target:t,isIntersecting:n}of e)t.classList.toggle(`onscreen`,n)})}o(()=>{async function e(){let{searchText:e,currentGroup:t,databaseLoaded:n,customEmoji:r}=a;if(!n)a.currentEmojis=[],a.searchMode=!1;else if(e.length>=bG){let t=await ie(e);a.searchText===e&&(p(t),m(!0))}else{let{id:e}=t;if(e!==-1||r&&r.length){let t=await re(e);a.currentGroup.id===e&&(p(t),m(!1))}}}e()});let w=()=>{BG(()=>Zrt(n.tabpanelElement))};o(()=>{let{currentEmojis:e,emojiVersion:t}=a,n=e.filter(e=>e.unicode).filter(e=>sG(e)&&!PG.has(e.unicode));if(!t&&n.length)p(e),BG(()=>T(n));else{let n=t?e:e.filter(ee);p(n),w()}});function T(e){Yrt(e,n.baselineEmoji,l)?w():a.currentEmojis=[...a.currentEmojis]}function ee(e){return!e.unicode||!sG(e)||PG.get(e.unicode)}async function te(e){let t=a.emojiVersion||await NG();return e.filter(({version:e})=>!e||e<=t)}async function ne(e){return qrt(e,a.emojiVersion||await NG())}async function re(e){return ne(await te(e===-1?a.customEmoji:await a.database.getEmojiByGroup(e)))}async function ie(e){return ne(await te(await a.database.getEmojiBySearchQuery(e)))}o(()=>{}),o(()=>{function e(){let{searchMode:e,currentEmojis:t}=a;if(e)return[{category:``,emojis:t}];let n=new Map;for(let e of t){let t=e.category||``,r=n.get(t);r||(r=[],n.set(t,r)),r.push(e)}return[...n.entries()].map(([e,t])=>({category:e,emojis:t})).sort((e,t)=>a.customCategorySorting(e.category,t.category))}let t=e();h(t)}),o(()=>{a.activeSearchItemId=a.activeSearchItem!==-1&&a.currentEmojis[a.activeSearchItem].id}),o(()=>{let{rawSearchText:e}=a;SG(()=>{a.searchText=(e||``).trim(),a.activeSearchItem=-1})});function E(e){if(!a.searchMode||!a.currentEmojis.length)return;let t=t=>{cG(e),a.activeSearchItem=lG(t,a.activeSearchItem,a.currentEmojis)};switch(e.key){case`ArrowDown`:return t(!1);case`ArrowUp`:return t(!0);case`Enter`:if(a.activeSearchItem===-1)a.activeSearchItem=0;else return cG(e),ce(a.currentEmojis[a.activeSearchItem].id)}}function ae(e){let{target:t}=e,r=t.closest(`.nav-button`);if(!r)return;let i=parseInt(r.dataset.groupId,10);n.searchElement.value=``,a.rawSearchText=``,a.searchText=``,a.activeSearchItem=-1,a.currentGroupIndex=a.groups.findIndex(e=>e.id===i)}function oe(e){let{target:t,key:n}=e,r=t=>{t&&(cG(e),t.focus())};switch(n){case`ArrowLeft`:return r(t.previousElementSibling);case`ArrowRight`:return r(t.nextElementSibling);case`Home`:return r(t.parentElement.firstElementChild);case`End`:return r(t.parentElement.lastElementChild)}}async function se(e){let t=await a.database.getEmojiByUnicodeOrName(e),n=[...a.currentEmojis,...a.currentFavorites].find(t=>t.id===e),r=n.unicode&&g(n,a.currentSkinTone);return await a.database.incrementFavoriteEmojiCount(e),{emoji:t,skinTone:a.currentSkinTone,...r&&{unicode:r},...n.name&&{name:n.name}}}async function ce(e){let t=se(e);u(`emoji-click-sync`,t),u(`emoji-click`,await t)}function le(e){let{target:t}=e;t.classList.contains(`emoji`)&&(cG(e),ce(t.id.substring(4)))}function D(e){a.currentSkinTone=e,a.skinTonePickerExpanded=!1,c(`skintone-button`),u(`skin-tone-change`,{skinTone:e}),a.database.setPreferredSkinTone(e)}function ue(e){let{target:{id:t}}=e,n=t&&t.match(/^skintone-(\d)/);n&&(cG(e),D(parseInt(n[1],10)))}function de(e){a.skinTonePickerExpanded=!a.skinTonePickerExpanded,a.activeSkinTone=a.currentSkinTone,a.skinTonePickerExpanded&&(cG(e),BG(()=>c(`skintone-list`)))}o(()=>{a.skinTonePickerExpanded?n.skinToneDropdown.addEventListener(`transitionend`,()=>{a.skinTonePickerExpandedAfterAnimation=!0},{once:!0}):a.skinTonePickerExpandedAfterAnimation=!1});function fe(e){if(!a.skinTonePickerExpanded)return;let t=async t=>{cG(e),a.activeSkinTone=t};switch(e.key){case`ArrowUp`:return t(lG(!0,a.activeSkinTone,a.skinTones));case`ArrowDown`:return t(lG(!1,a.activeSkinTone,a.skinTones));case`Home`:return t(0);case`End`:return t(a.skinTones.length-1);case`Enter`:return cG(e),D(a.activeSkinTone);case`Escape`:return cG(e),a.skinTonePickerExpanded=!1,c(`skintone-button`)}}function pe(e){if(a.skinTonePickerExpanded)switch(e.key){case` `:return cG(e),D(a.activeSkinTone)}}async function me(e){let{relatedTarget:t}=e;(!t||t.id!==`skintone-list`)&&(a.skinTonePickerExpanded=!1)}function he(e){a.rawSearchText=e.target.value}return{$set(e){QG(a,e)},$destroy(){r.abort()}}}function _G(e){e instanceof aK||Object.setPrototypeOf(e,customElements.get(e.tagName.toLowerCase()).prototype)}var vG,yG,bG,xG,SG,CG,wG,TG,EG,DG,OG,kG,AG,jG,MG,NG,PG,FG,IG,LG,RG,zG,BG,VG,HG,UG,WG,GG,KG,qG,JG,YG,XG,ZG,QG,$G,eK,tK,nK,rK,iK,aK,oK,dit=O((()=>{Urt(),vG=[[-1,`✨`,`custom`],[0,`😀`,`smileys-emotion`],[1,`👋`,`people-body`],[3,`🐱`,`animals-nature`],[4,`🍎`,`food-drink`],[5,`🏠️`,`travel-places`],[6,`⚽`,`activities`],[7,`📝`,`objects`],[8,`⛔️`,`symbols`],[9,`🏁`,`flags`]].map(([e,t,n])=>({id:e,emoji:t,name:n})),yG=vG.slice(1),bG=2,xG=6,SG=typeof requestIdleCallback==`function`?requestIdleCallback:setTimeout,CG={"":17,"":16,"🫨":15.1,"🫠":14,"🥲":13.1,"🥻":12.1,"🥰":11,"🤩":5,"👱♀️":4,"🤣":3,"👁️🗨️":2,"😀":1,"😐️":.7,"😃":.6},wG=1e3,TG=`🖐️`,EG=8,DG=[`😊`,`😒`,`❤️`,`👍️`,`😍`,`😂`,`😭`,`☺️`,`😔`,`😩`,`😏`,`💕`,`🙌`,`😘`],OG=`"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif`,kG=(e,t)=>e<t?-1:+(e>t),AG=(e,t)=>{let n=document.createElement(`canvas`);n.width=n.height=1;let r=n.getContext(`2d`,{willReadFrequently:!0});return r.textBaseline=`top`,r.font=`100px ${OG}`,r.fillStyle=t,r.scale(.01,.01),r.fillText(e,0,0),r.getImageData(0,0,1,1).data},jG=(e,t)=>{let n=[...e].join(`,`);return n===[...t].join(`,`)&&!n.startsWith(`0,0,0,`)},NG=()=>(MG||=new Promise(e=>SG(()=>e(Grt()))),MG),PG=new Map,FG=`️`,IG=`\ud83c`,LG=``,RG=127995,zG=57339,BG=requestAnimationFrame,VG=typeof ResizeObserver==`function`,HG=`😀`,GG=new WeakMap,KG=new WeakMap,qG=Symbol(`un-keyed`),JG=`replaceChildren`in Element.prototype,YG=typeof queueMicrotask==`function`?queueMicrotask:e=>Promise.resolve().then(e),XG=new WeakMap,ZG=[],{assign:QG}=Object,$G=`https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json`,eK=`en`,tK={categoriesLabel:`Categories`,emojiUnsupportedMessage:`Your browser does not support color emoji.`,favoritesLabel:`Favorites`,loadingMessage:`Loading…`,networkErrorMessage:`Could not load emoji.`,regionLabel:`Emoji picker`,searchDescription:`When search results are available, press up or down to select and enter to choose.`,searchLabel:`Search`,searchResultsLabel:`Search results`,skinToneDescription:`When expanded, press up or down to select and enter to choose.`,skinToneLabel:`Choose a skin tone (currently {skinTone})`,skinTonesLabel:`Skin tones`,skinTones:[`Default`,`Light`,`Medium-Light`,`Medium`,`Medium-Dark`,`Dark`],categories:{custom:`Custom`,"smileys-emotion":`Smileys and emoticons`,"people-body":`People and body`,"animals-nature":`Animals and nature`,"food-drink":`Food and drink`,"travel-places":`Travel and places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`}},nK=`:host{--emoji-size:1.375rem;--emoji-padding:0.5rem;--category-emoji-size:var(--emoji-size);--category-emoji-padding:var(--emoji-padding);--indicator-height:3px;--input-border-radius:0.5rem;--input-border-size:1px;--input-font-size:1rem;--input-line-height:1.5;--input-padding:0.25rem;--num-columns:8;--outline-size:2px;--border-size:1px;--border-radius:0;--skintone-border-radius:1rem;--category-font-size:1rem;display:flex;width:min-content;height:400px}:host,:host(.light){color-scheme:light;--background:#fff;--border-color:#e0e0e0;--indicator-color:#385ac1;--input-border-color:#999;--input-font-color:#111;--input-placeholder-color:#999;--outline-color:#999;--category-font-color:#111;--button-active-background:#e6e6e6;--button-hover-background:#d9d9d9}:host(.dark){color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}@media (prefers-color-scheme:dark){:host{color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}}:host([hidden]){display:none}button{margin:0;padding:0;border:0;background:0 0;box-shadow:none;-webkit-tap-highlight-color:transparent}button::-moz-focus-inner{border:0}input{padding:0;margin:0;line-height:1.15;font-family:inherit}input[type=search]{-webkit-appearance:none}:focus{outline:var(--outline-color) solid var(--outline-size);outline-offset:calc(-1*var(--outline-size))}:host([data-js-focus-visible]) :focus:not([data-focus-visible-added]){outline:0}:focus:not(:focus-visible){outline:0}.hide-focus{outline:0}*{box-sizing:border-box}.picker{contain:content;display:flex;flex-direction:column;background:var(--background);border:var(--border-size) solid var(--border-color);border-radius:var(--border-radius);width:100%;height:100%;overflow:hidden;--total-emoji-size:calc(var(--emoji-size) + (2 * var(--emoji-padding)));--total-category-emoji-size:calc(var(--category-emoji-size) + (2 * var(--category-emoji-padding)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hidden{opacity:0;pointer-events:none}.abs-pos{position:absolute;left:0;top:0}.gone{display:none!important}.skintone-button-wrapper,.skintone-list{background:var(--background);z-index:3}.skintone-button-wrapper.expanded{z-index:1}.skintone-list{position:absolute;inset-inline-end:0;top:0;z-index:2;overflow:visible;border-bottom:var(--border-size) solid var(--border-color);border-radius:0 0 var(--skintone-border-radius) var(--skintone-border-radius);will-change:transform;transition:transform .2s ease-in-out;transform-origin:center 0}@media (prefers-reduced-motion:reduce){.skintone-list{transition-duration:.001s}}@supports not (inset-inline-end:0){.skintone-list{right:0}}.skintone-list.no-animate{transition:none}.tabpanel{overflow-y:auto;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;will-change:transform;min-height:0;flex:1;contain:content}.emoji-menu{display:grid;grid-template-columns:repeat(var(--num-columns),var(--total-emoji-size));justify-content:space-around;align-items:flex-start;width:100%}.emoji-menu.visibility-auto{content-visibility:auto;contain-intrinsic-size:calc(var(--num-columns)*var(--total-emoji-size)) calc(var(--num-rows)*var(--total-emoji-size))}.category{padding:var(--emoji-padding);font-size:var(--category-font-size);color:var(--category-font-color)}.emoji,button.emoji{font-size:var(--emoji-size);display:flex;align-items:center;justify-content:center;border-radius:100%;height:var(--total-emoji-size);width:var(--total-emoji-size);line-height:1;overflow:hidden;font-family:var(--emoji-font-family);cursor:pointer}@media (hover:hover) and (pointer:fine){.emoji:hover,button.emoji:hover{background:var(--button-hover-background)}}.emoji.active,.emoji:active,button.emoji.active,button.emoji:active{background:var(--button-active-background)}.onscreen .custom-emoji::after{content:"";width:var(--emoji-size);height:var(--emoji-size);background-repeat:no-repeat;background-position:center center;background-size:contain;background-image:var(--custom-emoji-background)}.nav,.nav-button{align-items:center}.nav{display:grid;justify-content:space-between;contain:content}.nav-button{display:flex;justify-content:center}.nav-emoji{font-size:var(--category-emoji-size);width:var(--total-category-emoji-size);height:var(--total-category-emoji-size)}.indicator-wrapper{display:flex;border-bottom:1px solid var(--border-color)}.indicator{width:calc(100%/var(--num-groups));height:var(--indicator-height);opacity:var(--indicator-opacity);background-color:var(--indicator-color);will-change:transform,opacity;transition:opacity .1s linear,transform .25s ease-in-out}@media (prefers-reduced-motion:reduce){.indicator{will-change:opacity;transition:opacity .1s linear}}.pad-top,input.search{background:var(--background);width:100%}.pad-top{height:var(--emoji-padding);z-index:3}.search-row{display:flex;align-items:center;position:relative;padding-inline-start:var(--emoji-padding);padding-bottom:var(--emoji-padding)}.search-wrapper{flex:1;min-width:0}input.search{padding:var(--input-padding);border-radius:var(--input-border-radius);border:var(--input-border-size) solid var(--input-border-color);color:var(--input-font-color);font-size:var(--input-font-size);line-height:var(--input-line-height)}input.search::placeholder{color:var(--input-placeholder-color)}.favorites{overflow-y:auto;scrollbar-gutter:stable;display:flex;flex-direction:row;border-top:var(--border-size) solid var(--border-color);contain:content}.message{padding:var(--emoji-padding)}`,rK=[`customEmoji`,`customCategorySorting`,`database`,`dataSource`,`i18n`,`locale`,`skinToneEmoji`,`emojiVersion`],iK=`:host{--emoji-font-family:${OG}}`,aK=class extends HTMLElement{constructor(e){super(),this.attachShadow({mode:`open`});let t=document.createElement(`style`);t.textContent=nK+iK,this.shadowRoot.appendChild(t),this._ctx={locale:eK,dataSource:$G,skinToneEmoji:TG,customCategorySorting:kG,customEmoji:null,i18n:tK,emojiVersion:null,...e};for(let e of rK)e!==`database`&&Object.prototype.hasOwnProperty.call(this,e)&&(this._ctx[e]=this[e],delete this[e]);this._dbFlush()}connectedCallback(){_G(this),this._cmp||=uit(this.shadowRoot,this._ctx)}disconnectedCallback(){_G(this),YG(()=>{if(!this.isConnected&&this._cmp){this._cmp.$destroy(),this._cmp=void 0;let{database:e}=this._ctx;e.close().catch(e=>console.error(e))}})}static get observedAttributes(){return[`locale`,`data-source`,`skin-tone-emoji`,`emoji-version`]}attributeChangedCallback(e,t,n){this._set(e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),e===`emoji-version`?parseFloat(n):n)}_set(e,t){this._ctx[e]=t,this._cmp&&this._cmp.$set({[e]:t}),[`locale`,`dataSource`].includes(e)&&this._dbFlush()}_dbCreate(){let{locale:e,dataSource:t,database:n}=this._ctx;(!n||n.locale!==e||n.dataSource!==t)&&this._set(`database`,new oG({locale:e,dataSource:t}))}_dbFlush(){YG(()=>this._dbCreate())}},oK={};for(let e of rK)oK[e]={get(){return e===`database`&&this._dbCreate(),this._ctx[e]},set(t){if(e===`database`)throw Error(`database is read-only`);this._set(e,t)}};Object.defineProperties(aK.prototype,oK),customElements.get(`emoji-picker`)||customElements.define(`emoji-picker`,aK)})),fit=O((()=>{})),pit=A({default:()=>lK}),sK,cK,lK,mit=O((()=>{T9(),qp(),dit(),zy(),fit(),R(),sK={class:`wt-chat-emoji`},cK={__name:`wt-chat-emoji`,props:{size:{type:String,default:V.MD},popupTeleportTo:{type:String,default:``},filled:{type:Boolean,default:!1},variant:{type:String,default:Cp.OUTLINED},rounded:{type:Boolean,default:!0}},emits:[`insert-emoji`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.ref)(null),o=(0,t.ref)(!1),s=(0,t.ref)(null),c=(0,t.computed)(()=>r.popupTeleportTo||`body`),l=(0,t.computed)(()=>r.filled||o.value?Cp.ACTIVE:r.variant),u=async()=>{s.value||(s.value=document.createElement(`emoji-picker`),d(),s.value.addEventListener(`emoji-click`,f))},d=()=>{a.value&&s.value&&a.value.appendChild(s.value)},f=e=>{let{unicode:t}=e.detail;i(`insert-emoji`,t),p()},p=()=>{o.value=!1,s.value&&a.value&&(s.value.removeEventListener(`emoji-click`,f),a.value.removeChild(s.value),s.value=null)},m=e=>{a.value?.contains(e.target)||p()},h=async()=>{g(),o.value=!o.value,o.value?(await(0,t.nextTick)(),await u()):p()},g=()=>Cy.$emit(`chat-input-focus`);return(0,t.onBeforeUnmount)(()=>{p()}),(n,r)=>{let i=(0,t.resolveDirective)(`clickaway`);return(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sK,[(0,t.createVNode)((0,t.unref)(lh),{size:e.size,variant:l.value,color:`secondary`,icon:`chat-emoji`,rounded:e.rounded,wide:``,onClick:h},null,8,[`size`,`variant`,`rounded`]),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{defer:``,disabled:!e.popupTeleportTo,to:c.value},[o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,ref_key:`emojiPickerWrapper`,ref:a,class:`wt-chat-emoji__wrapper`},null,512)):(0,t.createCommentVNode)(``,!0)],8,[`disabled`,`to`]))])),[[i,m]])}}},lK=L(cK,[[`__scopeId`,`data-v-1d5eaef1`]])})),uK,dK,fK,pK,mK=O((()=>{T9(),xm(),uK={class:`wt-display-chip-items`},dK={key:0},fK=[`onClick`],pK=(0,t.defineComponent)({__name:`wt-display-chip-items`,props:{hideFirstItem:{type:Boolean},useEmptySymbol:{type:Boolean},title:{},items:{}},setup(e){let n=e,r=(0,t.computed)(()=>n.items?.length?n.items[0]?.name:n.useEmptySymbol?`-`:``),i=(0,t.computed)(()=>n.items?.length?n.hideFirstItem?n.items:n.items.slice(1):[]);return(a,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,uK,[n.title?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,dK,(0,t.toDisplayString)(e.title)+`:`,1)):(0,t.createCommentVNode)(``,!0),n.hideFirstItem?(0,t.createCommentVNode)(``,!0):(0,t.renderSlot)(a.$slots,`first-item`,{key:1},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(ym)(r.value)),1)],!0),(0,t.createVNode)((0,t.unref)(S9),null,{activator:(0,t.withCtx)(({toggle:e})=>[(0,t.renderSlot)(a.$slots,`activator`,{toggle:e},()=>[i.value.length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,onClick:e},[(0,t.createVNode)((0,t.unref)(nb),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)(` +`+(0,t.toDisplayString)(i.value.length),1)],void 0,!0),_:1})],8,fK)):(0,t.createCommentVNode)(``,!0)],!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(a.$slots,`items`,{items:i.value},()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,({name:e,id:n})=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:n},(0,t.toDisplayString)(e),1))),128))],!0)]),_:3})]))}})})),hit=O((()=>{})),git=A({default:()=>hK}),hK,_it=O((()=>{mK(),mK(),hit(),R(),hK=L(pK,[[`__scopeId`,`data-v-02135394`]])})),vit=O((()=>{})),gK,_K,vK,yK,yit=O((()=>{vit(),R(),gK={class:`nav-menu__category nav-menu-lvl-1`},_K=[`onClick`],vK={__name:`nav-menu-lvl-1`,props:{categories:{type:Array,default:()=>[]},selected:{type:Object,default:()=>({})},icons:{type:Array,default:()=>[]}},emits:[`select`],setup(e,{emit:n}){let r=n;function i(e){r(`select`,e)}return(n,r)=>{let a=(0,t.resolveComponent)(`wt-icon`);return(0,t.openBlock)(),(0,t.createElementBlock)(`ul`,gK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.categories,(r,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:o,class:`nav-menu__option`},[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([{"nav-menu__item--selected":e.selected.value===r.value},`typo-body-1 nav-menu__item nav-menu__item--active`]),onClick:e=>i(r)},[(0,t.createVNode)(a,{color:e.selected.value===r.value?`on-primary`:`default`,icon:e.icons.find(e=>e.includes(r.value))},null,8,[`color`,`icon`]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(r.name),1)],10,_K),(0,t.withDirectives)((0,t.createElementVNode)(`div`,null,[(0,t.renderSlot)(n.$slots,`default`,{},void 0,!0)],512),[[t.vShow,e.selected.value===r.value]])]))),128))])}}},yK=L(vK,[[`__scopeId`,`data-v-52920c85`]])})),bit=O((()=>{})),bK,xK,SK,xit=O((()=>{bit(),R(),bK={class:`nav-menu__category nav-menu-lvl-2`},xK={__name:`nav-menu-lvl-2`,props:{categories:{type:Array,default:()=>[]}},setup(e){return(n,r)=>{let i=(0,t.resolveComponent)(`router-link`);return(0,t.openBlock)(),(0,t.createElementBlock)(`ul`,bK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.categories,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n,class:`typo-body-1 nav-menu__option nav-menu__item nav-menu-lvl-2--inner`},[r[0]||=(0,t.createElementVNode)(`span`,{class:`nav-menu-lvl-2__indicator`},null,-1),(0,t.createVNode)(i,{to:e.route,class:`nav-menu-lvl-2__link`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)],void 0,!0),_:2},1032,[`to`])]))),128))])}}},SK=L(xK,[[`__scopeId`,`data-v-c560eb2d`]])})),Sit=O((()=>{})),Cit=A({default:()=>EK}),CK,wK,TK,EK,wit=O((()=>{yit(),xit(),Sit(),R(),CK={class:`wt-navigation-menu`},wK={class:`wt-navigation-menu__wrapper`},TK={__name:`wt-navigation-menu`,props:{nav:{type:Array,required:!0},icons:{type:Array,default:()=>[]}},setup(e){let n=e,r=(0,t.ref)(``),i=(0,t.computed)(()=>{let e=new Map;return n.nav.forEach(t=>{e.set(t.value,{...t,name:t.name})}),e}),a=(0,t.computed)(()=>{let e=new Map;return n.nav.forEach(t=>{if(t.subNav){let n=t.subNav.map(e=>{let n=t.route?`${t.route}/${e.route}`:e.route;return{...e,name:e.name,route:n}});e.set(t.value,n)}else e.set(t.value,[])}),e}),o=(0,t.computed)(()=>Array.from(i.value.values()).filter(e=>{let t=a.value.get(e.value);return t&&t.length>0})),s=(0,t.computed)(()=>a.value.get(c.value?.value)||[]),c=(0,t.computed)(()=>i.value.get(r.value)||o.value[0]);function l(e){r.value=e.value}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`section`,CK,[(0,t.createElementVNode)(`article`,wK,[(0,t.createVNode)(yK,{categories:o.value,icons:e.icons,selected:c.value,onSelect:l},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(SK,{categories:s.value,class:`wt-navigation-menu__categories--display`},null,8,[`categories`])],void 0,!0),_:1},8,[`categories`,`icons`,`selected`]),(0,t.createVNode)(SK,{categories:s.value,class:`wt-navigation-menu__categories--hidden`},null,8,[`categories`])])]))}},EK=L(TK,[[`__scopeId`,`data-v-fcbc24f4`]])}));function Tit(){return DK??=import(`tinymce/tinymce`).then(()=>Promise.all([import(`tinymce/icons/default`),import(`tinymce/models/dom`),import(`tinymce/themes/silver`),import(`tinymce/plugins/advlist`),import(`tinymce/plugins/emoticons`),import(`tinymce/plugins/emoticons/js/emojis`),import(`tinymce/plugins/fullscreen`),import(`tinymce/plugins/image`),import(`tinymce/plugins/link`),import(`tinymce/plugins/lists`),import(`tinymce/plugins/table`),import(`tinymce/skins/ui/oxide/skin.css`)]).then(()=>void 0)),DK}var DK,Eit=O((()=>{DK=null})),OK,kK,AK=O((()=>{pS(),Eit(),dp(),OK={class:`wt-rich-text-editor`},kK=(0,t.defineComponent)({compatConfig:{MODE:3},__name:`wt-rich-text-editor`,props:(0,t.mergeModels)({label:{},labelProps:{},output:{default:`html`},height:{default:300},disabled:{type:Boolean},placeholder:{},toolbar:{},plugins:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let n={...o.default,name:`TinyMceEditor`,compatConfig:{MODE:3}},r=e,i=(0,t.useModel)(e,`modelValue`),a=(0,t.useId)(),s=(0,t.ref)(!1);Tit().then(()=>{s.value=!0});let c=[`advlist`,`emoticons`,`fullscreen`,`image`,`link`,`lists`,`table`],l=[`undo redo`,`bold italic underline strikethrough`,`fullscreen`,`fontfamily fontsize`,`alignleft aligncenter alignright alignjustify`,`numlist bullist`,`forecolor backcolor removeformat`,`emoticons image link table`].join(` | `),u=(0,t.computed)(()=>r.output===`html`),d=(0,t.computed)(()=>r.plugins??(u.value?c:[])),f=(0,t.computed)(()=>r.toolbar??(u.value?l:`undo redo`));function p(){let e=getComputedStyle(document.documentElement);return{backgroundColor:e.getPropertyValue(`--content-wrapper-color`).trim(),color:e.getPropertyValue(`--wt-text-field-text-color`).trim()}}let m=(0,t.computed)(()=>{let{backgroundColor:e,color:t}=p();return{height:Number(r.height),menubar:!1,statusbar:u.value,toolbar_mode:`sliding`,toolbar_sticky:!0,placeholder:r.placeholder,skin:!1,content_css:!1,content_style:`body { background-color: ${e}; color: ${t}; }`}}),h=null,g=new MutationObserver(()=>{h?.getBody()&&h.dom.setStyles(h.getBody(),p())});function _(e,t){h=t,g.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]})}return(0,t.onBeforeUnmount)(()=>{g.disconnect(),h=null}),(r,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,OK,[e.label||r.$slots.label?((0,t.openBlock)(),(0,t.createBlock)(fS,(0,t.mergeProps)({key:0},e.labelProps,{disabled:e.disabled,for:(0,t.unref)(a)}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(r.$slots,`label`,(0,t.normalizeProps)((0,t.guardReactiveProps)({label:e.label})),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.label),1)],!0)],void 0,!0),_:3},16,[`disabled`,`for`])):(0,t.createCommentVNode)(``,!0),s.value?((0,t.openBlock)(),(0,t.createBlock)(n,{key:1,id:(0,t.unref)(a),modelValue:i.value,"onUpdate:modelValue":o[0]||=e=>i.value=e,disabled:e.disabled,init:m.value,"output-format":e.output,plugins:d.value,toolbar:f.value,"license-key":`gpl`,onInit:_},null,8,[`id`,`modelValue`,`disabled`,`init`,`output-format`,`plugins`,`toolbar`])):((0,t.openBlock)(),(0,t.createBlock)(up,{key:2}))]))}})})),Dit=O((()=>{})),Oit=A({default:()=>jK}),jK,kit=O((()=>{AK(),AK(),Dit(),R(),jK=L(kK,[[`__scopeId`,`data-v-47d8ed9a`]])})),Ait=O((()=>{})),jit=A({default:()=>LK}),MK,NK,PK,FK,IK,LK,Mit=O((()=>{ry(),Ait(),R(),MK={class:`wt-selection-popup__options`},NK=[`onClick`],PK={class:`wt-selection-popup__item-header typo-subtitle-2`},FK={key:1,class:`popup-options__item-text`},IK={__name:`wt-selection-popup`,props:{title:{type:String},selected:{type:Object},options:{type:Array,default:()=>[]}},emits:[`change`,`add`,`close`],setup(e,{emit:n}){let r=e,i=n,{t:a}=wv();function o(){i(`add`,r.selected)}function s(){i(`close`)}function c(e){i(`change`,e)}return(n,r)=>{let i=(0,t.resolveComponent)(`wt-icon`),l=(0,t.resolveComponent)(`wt-icon-btn`),u=(0,t.resolveComponent)(`wt-button`),d=(0,t.resolveComponent)(`wt-popup`),f=(0,t.resolveDirective)(`tooltip`);return(0,t.openBlock)(),(0,t.createBlock)(d,(0,t.mergeProps)(n.$attrs,{class:`wt-selection-popup`,overflow:``,size:`sm`},{onClose:s}),{title:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),main:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`ul`,MK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,(r,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:a,class:(0,t.normalizeClass)([{active:r.value===e.selected.value},`wt-selection-popup__item-wrapper`]),onClick:e=>c(r)},[(0,t.renderSlot)(n.$slots,`option`,{option:r},()=>[r.icon?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,icon:r.icon,size:`sm`},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`h4`,PK,(0,t.toDisplayString)(r.title),1),r.description?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,FK,(0,t.toDisplayString)(r.description),1)):(0,t.createCommentVNode)(``,!0),r.description?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createBlock)(l,{key:2,color:`info`,icon:`rounded-info`},null,512)),[[f,r.description]]):(0,t.createCommentVNode)(``,!0)],!0)],10,NK))),128))]),(0,t.renderSlot)(n.$slots,`after-section`,{},void 0,!0)]),actions:(0,t.withCtx)(()=>[(0,t.createVNode)(u,{disabled:!e.selected,onClick:o},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`reusable.create`)),1)],void 0,!0),_:1},8,[`disabled`]),(0,t.createVNode)(u,{color:`secondary`,onClick:s},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`reusable.close`)),1)],void 0,!0),_:1})]),_:3},16)}}},LK=L(IK,[[`__scopeId`,`data-v-d7ed7032`]])})),RK,zK,Nit=O((()=>{ht(),Array.isArray,RK=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Symbol(M.env.NODE_ENV===`production`?``:`navigation failure`),RK.MATCHER_NOT_FOUND,RK.NAVIGATION_GUARD_REDIRECT,RK.NAVIGATION_ABORTED,RK.NAVIGATION_CANCELLED,RK.NAVIGATION_DUPLICATED,Symbol(M.env.NODE_ENV===`production`?``:`router view location matched`),Symbol(M.env.NODE_ENV===`production`?``:`router view depth`),zK=Symbol(M.env.NODE_ENV===`production`?``:`router`),Symbol(M.env.NODE_ENV===`production`?``:`route location`),Symbol(M.env.NODE_ENV===`production`?``:`router view location`)}));function Pit(){return(0,t.inject)(zK)}var BK,Fit=O((()=>{ht(),Nit(),BK=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),BK.Static})),Iit=O((()=>{})),VK,HK,UK,WK,GK,KK,qK,Lit=O((()=>{Fit(),Iit(),R(),VK={class:`start-page-card`},HK={class:`typo-heading-4 start-page-card__header`},UK={class:`start-page-card__main-section`},WK=[`alt`,`src`],GK={class:`typo-body-1 start-page-card__description`},KK={__name:`start-page-card`,props:{card:{type:Object,required:!0}},setup(e){let n=Pit(),r=e,i=()=>n.push(r.card.route);return(n,r)=>{let a=(0,t.resolveComponent)(`wt-icon`),o=(0,t.resolveComponent)(`wt-button`);return(0,t.openBlock)(),(0,t.createElementBlock)(`article`,VK,[(0,t.createElementVNode)(`header`,HK,[e.card.disabled?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,icon:`lock`})):(0,t.createCommentVNode)(``,!0),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(e.card.name),1)]),(0,t.createElementVNode)(`section`,UK,[(0,t.createElementVNode)(`img`,{alt:e.card.name,src:e.card.image},null,8,WK),(0,t.createElementVNode)(`p`,GK,(0,t.toDisplayString)(e.card.text),1)]),(0,t.createElementVNode)(`footer`,null,[(0,t.createVNode)(o,{disabled:e.card.disabled,class:`start-page-card__button`,color:`secondary`,wide:``,onClick:i},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.$t(`reusable.open`)),1)],void 0,!0),_:1},8,[`disabled`])])])}}},qK=L(KK,[[`__scopeId`,`data-v-e4560b27`]])})),Rit=O((()=>{})),JK,YK,XK,ZK,zit=O((()=>{Rit(),R(),JK={class:`start-page-logo`},YK=[`src`],XK={__name:`start-page-logo`,props:{logo:{type:String,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,JK,[(0,t.createElementVNode)(`img`,{src:e.logo},null,8,YK)]))}},ZK=L(XK,[[`__scopeId`,`data-v-187dc1b4`]])})),QK,$K,eq,tq=O((()=>{Lit(),zit(),QK={class:`wt-start-page`},$K={class:`wt-start-page__wrapper`},eq=(0,t.defineComponent)({__name:`wt-start-page`,props:{nav:{},appLogo:{},darkMode:{type:Boolean,default:!1}},setup(e){let n=e;(0,t.provide)(`darkMode`,n.darkMode);let r=(0,t.computed)(()=>n.darkMode?n.appLogo.dark:n.appLogo.light),i=(0,t.computed)(()=>n.nav.map(e=>({...e,image:n.darkMode?e.images.dark:e.images.light})));return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,QK,[e.appLogo?((0,t.openBlock)(),(0,t.createBlock)(ZK,{key:0,logo:r.value},null,8,[`logo`])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,$K,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,e=>((0,t.openBlock)(),(0,t.createBlock)(qK,{key:e.value,card:e},null,8,[`card`]))),128))])]))}})})),Bit=O((()=>{})),Vit=A({default:()=>Hit}),Hit,Uit=O((()=>{tq(),tq(),Bit(),R(),Hit=L(eq,[[`__scopeId`,`data-v-85dd1b85`]])})),nq,Wit=O((()=>{nq=()=>({items:[],next:!1})})),rq,Git=O((()=>{rq=({page:e=1,size:t=10}={})=>({page:e,size:t})})),Y=O((()=>{Wit(),Git(),xa()})),iq,Kit=O((()=>{iq=e=>t=>{let n=t;if(e&&e.length>0){if(n.includes(`?`))return n+=`&${e.join(`&`)}`,n;n+=`?${e.join(`&`)}`}return n}})),aq,qit=O((()=>{aq=(e,t,{debug:n=!1,withContext:r=null}={})=>t.reduce((e,t,i)=>(n&&console.info(`applyTransform debug on step ${i}`,e),r?t(e,r):t(e)),e)})),oq,Jit=O((()=>{qo(),oq=(e=[])=>t=>Go(t,e)})),sq,Yit=O((()=>{Je(),sq=e=>t=>`${e}?${Fe(t,{skipEmptyString:!0,skipNull:!0,arrayFormat:`repeat`})}`})),cq=k(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),lq,uq,Xit=O((()=>{lq=ye(cq(),1),uq=(...e)=>t=>lq.default.all([...e,t])})),dq,fq,Zit=O((()=>{dq=ye(cq(),1),fq=(...e)=>t=>t.map(t=>dq.default.all([...e,t]))})),pq,mq=O((()=>{pq={eventBus:null,i18n:null}}));function hq(e){if(typeof e==`function`){let t=({type:e,text:t})=>pq.eventBus?.$emit(`notification`,{type:e,text:t});return n=>(e({callback:t}),n)}if(e instanceof Error){let{response:t}=e,n=t?.data?.translation||t?.data?.detail||t?.data?.message||e;pq.eventBus?.$emit(`notification`,{type:`error`,text:n})}return e}var Qit=O((()=>{mq()})),gq,_q=O((()=>{gq=e=>t=>Object.keys(t).reduce((n,r)=>(e.indexOf(r)===-1||(n[r]=t[r]),n),{})})),vq,yq,$it=O((()=>{vq=e=>e.replace(/[^a-zA-Z0-9]/g,``).toLowerCase(),yq=e=>t=>{if(!t)return t;let n=new Map(e.map(e=>[vq(e),e]));return Object.entries(t).reduce((e,[t,r])=>(e[n.get(vq(t))??t]=r,e),{})}})),bq,eat=O((()=>{_q(),$it(),bq=e=>t=>gq(e)(yq(e)(t))})),xq,tat=O((()=>{qo(),xq=(e=[])=>t=>Wo(t,e)})),Sq,Cq,nat=O((()=>{Sq=ye(mz(),1),Cq=(e=`search`)=>t=>{let r=(0,Sq.default)(t),i=(0,n.get)(r,e);return!i||i.slice(-1)===`*`?r:(0,n.set)(r,e,`${i}*`)}})),rat=O((()=>{bu(),mq()})),X=O((()=>{Kit(),qit(),Jit(),Yit(),Xit(),Zit(),Qit(),_q(),eat(),tat(),nat(),rat()})),wq,Tq,Eq,Dq=O((()=>{Y(),X(),wq=`acl`,Tq=e=>e.map(e=>({...e,access:{x:{id:(e.granted.match(/x/g)||[]).length+1,rule:`x`.repeat((e.granted.match(/x/g)||[]).length)},r:{id:(e.granted.match(/r/g)||[]).length+1,rule:`r`.repeat((e.granted.match(/r/g)||[]).length)},w:{id:(e.granted.match(/w/g)||[]).length+1,rule:`w`.repeat((e.granted.match(/w/g)||[]).length)},d:{id:(e.granted.match(/d/g)||[]).length+1,rule:`d`.repeat((e.granted.match(/d/g)||[]).length)}}})),Eq=e=>{let t=ba();return{getPermissionsList:async({parentId:n,...r})=>{let i=[`page`,`size`,`q`,`sort`,`fields`,`id`],a={user:!1},o=aq(r,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),gq(i),oq(),sq(`${e}/${n}/${wq}`)]);try{let{items:e,next:n}=aq((await t.get(o)).data,[xq(),uq(nq())]);return{items:aq(e,[fq(a),Tq]),next:n}}catch(e){throw aq(e,[hq])}},patchPermissions:async({changes:n,id:r})=>{let i=aq(n,[oq()]),a=`${e}/${r}/${wq}`;try{return aq((await t.patch(a,i)).data,[xq()])}catch(e){throw aq(e,[hq])}}}}})),iat=O((()=>{})),aat=O((()=>{})),oat=O((()=>{})),sat=O((()=>{})),cat=O((()=>{})),lat=O((()=>{})),uat=O((()=>{})),dat=O((()=>{})),fat=O((()=>{})),pat=O((()=>{})),mat=O((()=>{})),hat=O((()=>{})),gat=O((()=>{})),_at=O((()=>{})),vat=O((()=>{})),yat=O((()=>{})),bat=O((()=>{})),xat=O((()=>{})),Sat=O((()=>{})),Cat=O((()=>{})),wat=O((()=>{})),Tat=O((()=>{})),Eat=O((()=>{})),Dat=O((()=>{})),Oat=O((()=>{})),kat=O((()=>{})),Aat=O((()=>{})),jat=O((()=>{})),Mat=O((()=>{})),Nat=O((()=>{})),Pat=O((()=>{})),Fat=O((()=>{})),Iat=O((()=>{})),Lat=O((()=>{})),Rat=O((()=>{})),zat=O((()=>{})),Bat=O((()=>{})),Vat=O((()=>{})),Hat=O((()=>{})),Uat=O((()=>{})),Wat=O((()=>{})),Gat=O((()=>{})),Kat=O((()=>{})),qat=O((()=>{})),Jat=O((()=>{})),Yat=O((()=>{})),Xat=O((()=>{})),Zat=O((()=>{})),Qat=O((()=>{})),$at=O((()=>{})),eot=O((()=>{})),tot=O((()=>{})),not=O((()=>{})),rot=O((()=>{})),iot=O((()=>{})),aot=O((()=>{})),oot=O((()=>{})),sot=O((()=>{})),cot=O((()=>{})),lot=O((()=>{})),uot=O((()=>{})),dot=O((()=>{})),fot=O((()=>{})),pot=O((()=>{})),mot=O((()=>{})),hot=O((()=>{})),got=O((()=>{})),_ot=O((()=>{})),vot=O((()=>{})),yot=O((()=>{})),bot=O((()=>{})),xot=O((()=>{})),Sot=O((()=>{})),Cot=O((()=>{})),wot=O((()=>{})),Tot=O((()=>{})),Eot=O((()=>{})),Dot=O((()=>{})),Oot=O((()=>{})),kot=O((()=>{})),Aot=O((()=>{})),jot=O((()=>{})),Mot=O((()=>{})),Not=O((()=>{})),Pot=O((()=>{})),Fot=O((()=>{})),Iot=O((()=>{})),Lot=O((()=>{})),Rot=O((()=>{})),zot=O((()=>{})),Bot=O((()=>{})),Vot=O((()=>{})),Hot=O((()=>{})),Uot=O((()=>{})),Wot=O((()=>{})),Got=O((()=>{})),Kot=O((()=>{})),qot=O((()=>{})),Jot=O((()=>{})),Yot=O((()=>{})),Xot=O((()=>{})),Zot=O((()=>{})),Qot=O((()=>{})),$ot=O((()=>{})),est=O((()=>{})),tst=O((()=>{})),nst=O((()=>{})),rst=O((()=>{})),ist=O((()=>{})),ast=O((()=>{})),ost=O((()=>{})),sst=O((()=>{})),cst=O((()=>{})),lst=O((()=>{})),ust=O((()=>{})),dst=O((()=>{})),fst=O((()=>{})),pst=O((()=>{})),mst=O((()=>{})),hst=O((()=>{})),gst=O((()=>{})),_st=O((()=>{})),vst=O((()=>{})),yst=O((()=>{})),bst=O((()=>{})),xst=O((()=>{})),Sst=O((()=>{})),Cst=O((()=>{})),wst=O((()=>{})),Tst=O((()=>{})),Est=O((()=>{})),Dst=O((()=>{})),Ost=O((()=>{})),kst=O((()=>{})),Ast=O((()=>{})),jst=O((()=>{})),Mst=O((()=>{})),Nst=O((()=>{})),Pst=O((()=>{})),Fst=O((()=>{})),Ist=O((()=>{})),Lst=O((()=>{})),Rst=O((()=>{})),zst=O((()=>{})),Bst=O((()=>{})),Vst=O((()=>{})),Hst=O((()=>{})),Ust=O((()=>{})),Wst=O((()=>{})),Gst=O((()=>{})),Kst=O((()=>{})),qst=O((()=>{})),Jst=O((()=>{})),Yst=O((()=>{})),Xst=O((()=>{})),Zst=O((()=>{})),Qst=O((()=>{})),$st=O((()=>{})),ect=O((()=>{})),tct=O((()=>{})),nct=O((()=>{})),rct=O((()=>{})),ict=O((()=>{})),act=O((()=>{})),oct=O((()=>{})),sct=O((()=>{})),cct=O((()=>{})),lct=O((()=>{})),uct=O((()=>{})),dct=O((()=>{})),fct=O((()=>{})),pct=O((()=>{})),mct=O((()=>{})),hct=O((()=>{})),gct=O((()=>{})),_ct=O((()=>{})),vct=O((()=>{})),yct=O((()=>{})),bct=O((()=>{})),xct=O((()=>{})),Sct=O((()=>{})),Cct=O((()=>{})),wct=O((()=>{})),Tct=O((()=>{})),Ect=O((()=>{})),Dct=O((()=>{})),Oct=O((()=>{})),kct=O((()=>{})),Act=O((()=>{})),jct=O((()=>{})),Mct=O((()=>{})),Nct=O((()=>{})),Pct=O((()=>{})),Fct=O((()=>{})),Ict=O((()=>{})),Lct=O((()=>{})),Rct=O((()=>{})),zct=O((()=>{})),Bct=O((()=>{})),Vct=O((()=>{})),Hct=O((()=>{})),Uct=O((()=>{})),Wct=O((()=>{})),Gct=O((()=>{})),Kct=O((()=>{})),qct=O((()=>{})),Jct=O((()=>{})),Yct=O((()=>{})),Xct=O((()=>{})),Zct=O((()=>{})),Qct=O((()=>{})),$ct=O((()=>{})),elt=O((()=>{})),tlt=O((()=>{})),nlt=O((()=>{})),rlt=O((()=>{})),ilt=O((()=>{})),alt=O((()=>{})),olt=O((()=>{})),slt=O((()=>{})),clt=O((()=>{})),llt=O((()=>{})),ult=O((()=>{})),dlt=O((()=>{})),flt=O((()=>{})),plt=O((()=>{})),mlt=O((()=>{})),hlt=O((()=>{})),glt=O((()=>{})),_lt=O((()=>{})),vlt=O((()=>{})),ylt=O((()=>{})),blt=O((()=>{})),xlt=O((()=>{})),Slt=O((()=>{})),Clt=O((()=>{})),wlt=O((()=>{})),Tlt=O((()=>{})),Elt=O((()=>{})),Dlt=O((()=>{})),Olt=O((()=>{})),klt=O((()=>{})),Alt=O((()=>{})),jlt=O((()=>{})),Mlt=O((()=>{})),Nlt=O((()=>{})),Plt=O((()=>{})),Flt=O((()=>{})),Ilt=O((()=>{})),Llt=O((()=>{})),Rlt=O((()=>{})),zlt=O((()=>{})),Blt=O((()=>{})),Vlt=O((()=>{})),Hlt=O((()=>{})),Ult=O((()=>{})),Wlt=O((()=>{})),Glt=O((()=>{})),Klt=O((()=>{})),qlt=O((()=>{})),Jlt=O((()=>{})),Ylt=O((()=>{})),Xlt=O((()=>{})),Zlt=O((()=>{})),Qlt=O((()=>{})),$lt=O((()=>{})),eut=O((()=>{})),tut=O((()=>{})),nut=O((()=>{})),rut=O((()=>{})),iut=O((()=>{})),aut=O((()=>{})),out=O((()=>{})),sut=O((()=>{})),cut=O((()=>{})),lut=O((()=>{})),uut=O((()=>{})),dut=O((()=>{})),fut=O((()=>{})),put=O((()=>{})),mut=O((()=>{})),hut=O((()=>{})),gut=O((()=>{})),_ut=O((()=>{})),vut=O((()=>{})),yut=O((()=>{})),but=O((()=>{})),xut=O((()=>{})),Sut=O((()=>{})),Cut=O((()=>{})),wut=O((()=>{})),Tut=O((()=>{})),Eut=O((()=>{})),Dut=O((()=>{})),Out=O((()=>{})),kut=O((()=>{})),Aut=O((()=>{})),jut=O((()=>{})),Mut=O((()=>{})),Nut=O((()=>{})),Put=O((()=>{})),Fut=O((()=>{})),Iut=O((()=>{})),Lut=O((()=>{})),Rut=O((()=>{})),zut=O((()=>{})),But=O((()=>{})),Vut=O((()=>{})),Hut=O((()=>{})),Uut=O((()=>{})),Wut=O((()=>{})),Gut=O((()=>{})),Kut=O((()=>{})),qut=O((()=>{})),Jut=O((()=>{})),Yut=O((()=>{})),Xut=O((()=>{})),Zut=O((()=>{})),Qut=O((()=>{})),$ut=O((()=>{})),edt=O((()=>{})),tdt=O((()=>{})),ndt=O((()=>{})),rdt=O((()=>{})),idt=O((()=>{})),adt=O((()=>{})),odt=O((()=>{})),sdt=O((()=>{})),cdt=O((()=>{})),ldt=O((()=>{})),udt=O((()=>{})),ddt=O((()=>{})),fdt=O((()=>{})),pdt=O((()=>{})),mdt=O((()=>{})),hdt=O((()=>{})),gdt=O((()=>{})),_dt=O((()=>{})),vdt=O((()=>{})),ydt=O((()=>{})),bdt=O((()=>{})),xdt=O((()=>{})),Sdt=O((()=>{})),Cdt=O((()=>{})),wdt=O((()=>{})),Tdt=O((()=>{})),Edt=O((()=>{})),Ddt=O((()=>{})),Odt=O((()=>{})),kdt=O((()=>{})),Adt=O((()=>{})),jdt=O((()=>{})),Mdt=O((()=>{})),Ndt=O((()=>{})),Pdt=O((()=>{})),Fdt=O((()=>{})),Idt=O((()=>{})),Ldt=O((()=>{})),Rdt=O((()=>{})),zdt=O((()=>{})),Bdt=O((()=>{})),Vdt=O((()=>{})),Hdt=O((()=>{})),Udt=O((()=>{})),Wdt=O((()=>{})),Gdt=O((()=>{})),Kdt=O((()=>{})),qdt=O((()=>{})),Jdt=O((()=>{})),Ydt=O((()=>{})),Xdt=O((()=>{})),Zdt=O((()=>{})),Qdt=O((()=>{})),$dt=O((()=>{})),eft=O((()=>{})),tft=O((()=>{})),nft=O((()=>{})),rft=O((()=>{})),ift=O((()=>{})),aft=O((()=>{})),oft=O((()=>{})),sft=O((()=>{})),cft=O((()=>{})),lft=O((()=>{})),uft=O((()=>{})),dft=O((()=>{})),fft=O((()=>{})),pft=O((()=>{})),mft=O((()=>{})),hft=O((()=>{})),gft=O((()=>{})),_ft=O((()=>{})),vft=O((()=>{})),yft=O((()=>{})),bft=O((()=>{})),xft=O((()=>{})),Sft=O((()=>{})),Cft=O((()=>{})),wft=O((()=>{})),Tft=O((()=>{})),Eft=O((()=>{})),Dft=O((()=>{})),Oft=O((()=>{})),kft=O((()=>{})),Aft=O((()=>{})),jft=O((()=>{})),Mft=O((()=>{})),Nft=O((()=>{})),Pft=O((()=>{})),Fft=O((()=>{})),Ift=O((()=>{})),Lft=O((()=>{})),Rft=O((()=>{})),zft=O((()=>{})),Bft=O((()=>{})),Vft=O((()=>{})),Hft=O((()=>{})),Uft=O((()=>{})),Wft=O((()=>{})),Gft=O((()=>{})),Kft=O((()=>{})),qft=O((()=>{})),Jft=O((()=>{})),Yft=O((()=>{})),Xft=O((()=>{})),Zft=O((()=>{})),Qft=O((()=>{})),$ft=O((()=>{})),ept=O((()=>{})),tpt=O((()=>{})),npt=O((()=>{})),rpt=O((()=>{})),ipt=O((()=>{})),apt=O((()=>{})),opt=O((()=>{})),spt=O((()=>{})),cpt=O((()=>{})),lpt=O((()=>{})),upt=O((()=>{})),dpt=O((()=>{})),fpt=O((()=>{})),ppt=O((()=>{})),mpt=O((()=>{})),hpt=O((()=>{})),gpt=O((()=>{})),_pt=O((()=>{})),vpt=O((()=>{})),ypt=O((()=>{})),bpt=O((()=>{})),xpt=O((()=>{})),Spt=O((()=>{})),Cpt=O((()=>{})),wpt=O((()=>{})),Tpt=O((()=>{})),Ept=O((()=>{})),Dpt=O((()=>{})),Opt=O((()=>{})),kpt=O((()=>{})),Apt=O((()=>{})),jpt=O((()=>{})),Mpt=O((()=>{})),Npt=O((()=>{})),Ppt=O((()=>{})),Fpt=O((()=>{})),Ipt=O((()=>{})),Lpt=O((()=>{})),Rpt=O((()=>{})),zpt=O((()=>{})),Bpt=O((()=>{})),Vpt=O((()=>{})),Hpt=O((()=>{})),Upt=O((()=>{})),Wpt=O((()=>{})),Gpt=O((()=>{})),Kpt=O((()=>{})),qpt=O((()=>{})),Jpt=O((()=>{})),Ypt=O((()=>{})),Xpt=O((()=>{})),Zpt=O((()=>{})),Qpt=O((()=>{})),$pt=O((()=>{})),emt=O((()=>{})),tmt=O((()=>{})),nmt=O((()=>{})),rmt=O((()=>{})),imt=O((()=>{})),amt=O((()=>{})),omt=O((()=>{})),smt=O((()=>{})),cmt=O((()=>{})),lmt=O((()=>{})),umt=O((()=>{})),dmt=O((()=>{})),fmt=O((()=>{})),pmt=O((()=>{})),mmt=O((()=>{})),hmt=O((()=>{})),gmt=O((()=>{})),_mt=O((()=>{})),vmt=O((()=>{})),ymt=O((()=>{})),bmt=O((()=>{})),xmt=O((()=>{})),Smt=O((()=>{})),Cmt=O((()=>{})),wmt=O((()=>{})),Tmt=O((()=>{})),Emt=O((()=>{})),Dmt=O((()=>{})),Omt=O((()=>{})),kmt=O((()=>{})),Amt=O((()=>{})),jmt=O((()=>{})),Mmt=O((()=>{})),Nmt=O((()=>{})),Pmt=O((()=>{})),Fmt=O((()=>{})),Imt=O((()=>{})),Lmt=O((()=>{})),Rmt=O((()=>{})),zmt=O((()=>{})),Bmt=O((()=>{})),Vmt=O((()=>{})),Hmt=O((()=>{})),Umt=O((()=>{})),Wmt=O((()=>{})),Gmt=O((()=>{})),Kmt=O((()=>{})),qmt=O((()=>{})),Jmt=O((()=>{})),Ymt=O((()=>{})),Xmt=O((()=>{})),Zmt=O((()=>{})),Qmt=O((()=>{})),$mt=O((()=>{})),eht=O((()=>{})),tht=O((()=>{})),nht=O((()=>{})),rht=O((()=>{})),iht=O((()=>{})),aht=O((()=>{})),oht=O((()=>{})),sht=O((()=>{})),cht=O((()=>{})),lht=O((()=>{})),uht=O((()=>{})),dht=O((()=>{})),fht=O((()=>{})),pht=O((()=>{})),mht=O((()=>{})),hht=O((()=>{})),ght=O((()=>{})),_ht=O((()=>{})),vht=O((()=>{})),yht=O((()=>{})),bht=O((()=>{})),xht=O((()=>{})),Sht=O((()=>{})),Cht=O((()=>{})),wht=O((()=>{})),Tht=O((()=>{})),Eht=O((()=>{})),Dht=O((()=>{})),Oht=O((()=>{})),kht=O((()=>{})),Aht=O((()=>{})),jht=O((()=>{})),Mht=O((()=>{})),Nht=O((()=>{})),Pht=O((()=>{})),Fht=O((()=>{})),Iht=O((()=>{})),Lht=O((()=>{})),Rht=O((()=>{})),zht=O((()=>{})),Bht=O((()=>{})),Vht=O((()=>{})),Hht=O((()=>{})),Uht=O((()=>{})),Wht=O((()=>{})),Ght=O((()=>{})),Kht=O((()=>{})),qht=O((()=>{})),Jht=O((()=>{})),Yht=O((()=>{})),Xht=O((()=>{})),Zht=O((()=>{})),Qht=O((()=>{})),$ht=O((()=>{})),egt=O((()=>{})),tgt=O((()=>{})),ngt=O((()=>{})),rgt=O((()=>{})),igt=O((()=>{})),agt=O((()=>{})),ogt=O((()=>{})),sgt=O((()=>{})),cgt=O((()=>{})),lgt=O((()=>{})),ugt=O((()=>{})),dgt=O((()=>{})),fgt=O((()=>{})),pgt=O((()=>{})),mgt=O((()=>{})),hgt=O((()=>{})),ggt=O((()=>{})),_gt=O((()=>{})),vgt=O((()=>{})),ygt=O((()=>{})),bgt=O((()=>{})),xgt=O((()=>{})),Sgt=O((()=>{})),Cgt=O((()=>{})),wgt=O((()=>{})),Tgt=O((()=>{})),Egt=O((()=>{})),Dgt=O((()=>{})),Ogt=O((()=>{})),kgt=O((()=>{})),Agt=O((()=>{})),jgt=O((()=>{})),Mgt=O((()=>{})),Ngt=O((()=>{})),Pgt=O((()=>{})),Fgt=O((()=>{})),Igt=O((()=>{})),Lgt=O((()=>{})),Rgt=O((()=>{})),zgt=O((()=>{})),Bgt=O((()=>{})),Vgt=O((()=>{})),Hgt=O((()=>{})),Ugt=O((()=>{})),Wgt=O((()=>{})),Ggt=O((()=>{})),Kgt=O((()=>{})),qgt=O((()=>{})),Jgt=O((()=>{})),Ygt=O((()=>{})),Xgt=O((()=>{})),Zgt=O((()=>{})),Qgt=O((()=>{})),$gt=O((()=>{})),e_t=O((()=>{})),t_t=O((()=>{})),n_t=O((()=>{})),r_t=O((()=>{})),i_t=O((()=>{})),a_t=O((()=>{})),o_t=O((()=>{})),s_t=O((()=>{})),c_t=O((()=>{})),l_t=O((()=>{})),u_t=O((()=>{})),d_t=O((()=>{})),f_t=O((()=>{})),p_t=O((()=>{})),m_t=O((()=>{})),h_t=O((()=>{})),g_t=O((()=>{})),__t=O((()=>{})),v_t=O((()=>{})),y_t=O((()=>{})),b_t=O((()=>{})),x_t=O((()=>{})),S_t=O((()=>{})),C_t=O((()=>{})),w_t=O((()=>{})),T_t=O((()=>{})),E_t=O((()=>{})),D_t=O((()=>{})),O_t=O((()=>{})),k_t=O((()=>{})),A_t=O((()=>{})),j_t=O((()=>{})),M_t=O((()=>{})),N_t=O((()=>{})),P_t=O((()=>{})),F_t=O((()=>{})),I_t=O((()=>{})),L_t=O((()=>{})),R_t=O((()=>{})),z_t=O((()=>{})),B_t=O((()=>{})),V_t=O((()=>{})),H_t=O((()=>{})),U_t=O((()=>{})),W_t=O((()=>{})),G_t=O((()=>{})),K_t=O((()=>{})),q_t=O((()=>{})),J_t=O((()=>{})),Y_t=O((()=>{})),X_t=O((()=>{})),Z_t=O((()=>{})),Q_t=O((()=>{})),$_t=O((()=>{})),evt=O((()=>{})),tvt=O((()=>{})),nvt=O((()=>{})),rvt=O((()=>{})),ivt=O((()=>{})),avt=O((()=>{})),ovt=O((()=>{})),svt=O((()=>{})),cvt=O((()=>{})),lvt=O((()=>{})),uvt=O((()=>{})),dvt=O((()=>{})),fvt=O((()=>{})),pvt=O((()=>{})),mvt=O((()=>{})),hvt=O((()=>{})),gvt=O((()=>{})),_vt=O((()=>{})),vvt=O((()=>{})),yvt=O((()=>{})),bvt=O((()=>{})),xvt=O((()=>{})),Svt=O((()=>{})),Cvt=O((()=>{})),wvt=O((()=>{})),Tvt=O((()=>{})),Evt=O((()=>{})),Dvt=O((()=>{})),Ovt=O((()=>{})),kvt=O((()=>{})),Avt=O((()=>{})),jvt=O((()=>{})),Mvt=O((()=>{})),Nvt=O((()=>{})),Pvt=O((()=>{})),Fvt=O((()=>{})),Ivt=O((()=>{})),Lvt=O((()=>{})),Rvt=O((()=>{})),zvt=O((()=>{})),Bvt=O((()=>{})),Vvt=O((()=>{})),Hvt=O((()=>{})),Uvt=O((()=>{})),Wvt=O((()=>{})),Gvt=O((()=>{})),Kvt=O((()=>{})),qvt=O((()=>{})),Jvt=O((()=>{})),Yvt=O((()=>{})),Xvt=O((()=>{})),Zvt=O((()=>{})),Qvt=O((()=>{})),$vt=O((()=>{})),eyt=O((()=>{})),tyt=O((()=>{})),nyt=O((()=>{})),ryt=O((()=>{})),iyt=O((()=>{})),ayt=O((()=>{})),oyt=O((()=>{})),syt=O((()=>{})),cyt=O((()=>{})),lyt=O((()=>{})),uyt=O((()=>{})),dyt=O((()=>{})),fyt=O((()=>{})),pyt=O((()=>{})),myt=O((()=>{})),hyt=O((()=>{})),gyt=O((()=>{})),_yt=O((()=>{})),vyt=O((()=>{})),yyt=O((()=>{})),byt=O((()=>{})),xyt=O((()=>{})),Syt=O((()=>{})),Cyt=O((()=>{})),wyt=O((()=>{})),Tyt=O((()=>{})),Eyt=O((()=>{})),Dyt=O((()=>{})),Oyt=O((()=>{})),kyt=O((()=>{})),Ayt=O((()=>{})),jyt=O((()=>{})),Myt=O((()=>{})),Nyt=O((()=>{})),Pyt=O((()=>{})),Fyt=O((()=>{})),Iyt=O((()=>{})),Lyt=O((()=>{})),Ryt=O((()=>{})),zyt=O((()=>{})),Byt=O((()=>{})),Vyt=O((()=>{})),Hyt=O((()=>{})),Uyt=O((()=>{})),Wyt=O((()=>{})),Gyt=O((()=>{})),Kyt=O((()=>{})),qyt=O((()=>{})),Jyt=O((()=>{})),Yyt=O((()=>{})),Xyt=O((()=>{})),Zyt=O((()=>{})),Qyt=O((()=>{})),$yt=O((()=>{})),ebt=O((()=>{})),tbt=O((()=>{})),nbt=O((()=>{})),rbt=O((()=>{})),ibt=O((()=>{})),abt=O((()=>{})),obt=O((()=>{})),sbt=O((()=>{})),cbt=O((()=>{})),lbt=O((()=>{})),ubt=O((()=>{})),dbt=O((()=>{})),fbt=O((()=>{})),pbt=O((()=>{})),mbt=O((()=>{})),hbt=O((()=>{})),gbt=O((()=>{})),_bt=O((()=>{})),vbt=O((()=>{})),ybt=O((()=>{})),bbt=O((()=>{})),xbt=O((()=>{})),Sbt=O((()=>{})),Cbt=O((()=>{})),wbt=O((()=>{})),Tbt=O((()=>{})),Ebt=O((()=>{})),Dbt=O((()=>{})),Obt=O((()=>{})),kbt=O((()=>{})),Abt=O((()=>{})),jbt=O((()=>{})),Mbt=O((()=>{})),Nbt=O((()=>{})),Pbt=O((()=>{})),Fbt=O((()=>{})),Ibt=O((()=>{})),Lbt=O((()=>{})),Rbt=O((()=>{})),zbt=O((()=>{})),Bbt=O((()=>{})),Vbt=O((()=>{})),Hbt=O((()=>{})),Ubt=O((()=>{})),Wbt=O((()=>{})),Gbt=O((()=>{})),Kbt=O((()=>{})),qbt=O((()=>{})),Jbt=O((()=>{})),Ybt=O((()=>{})),Xbt=O((()=>{})),Zbt=O((()=>{})),Qbt=O((()=>{})),$bt=O((()=>{})),ext=O((()=>{})),txt=O((()=>{})),nxt=O((()=>{})),rxt=O((()=>{})),ixt=O((()=>{})),axt=O((()=>{})),oxt=O((()=>{})),sxt=O((()=>{})),cxt=O((()=>{})),lxt=O((()=>{})),uxt=O((()=>{})),dxt=O((()=>{})),fxt=O((()=>{})),pxt=O((()=>{})),mxt=O((()=>{})),hxt=O((()=>{})),gxt=O((()=>{})),_xt=O((()=>{})),vxt=O((()=>{})),yxt=O((()=>{})),bxt=O((()=>{})),xxt=O((()=>{})),Sxt=O((()=>{})),Cxt=O((()=>{})),wxt=O((()=>{})),Txt=O((()=>{})),Ext=O((()=>{})),Dxt=O((()=>{})),Oxt=O((()=>{})),kxt=O((()=>{})),Axt=O((()=>{})),jxt=O((()=>{})),Mxt=O((()=>{})),Nxt=O((()=>{})),Pxt=O((()=>{})),Fxt=O((()=>{})),Ixt=O((()=>{})),Lxt=O((()=>{})),Rxt=O((()=>{})),zxt=O((()=>{})),Bxt=O((()=>{})),Vxt=O((()=>{})),Hxt=O((()=>{})),Uxt=O((()=>{})),Wxt=O((()=>{})),Gxt=O((()=>{})),Kxt=O((()=>{})),qxt=O((()=>{})),Jxt=O((()=>{})),Yxt=O((()=>{})),Xxt=O((()=>{})),Zxt=O((()=>{})),Qxt=O((()=>{})),$xt=O((()=>{})),eSt=O((()=>{})),tSt=O((()=>{})),nSt=O((()=>{})),rSt=O((()=>{})),iSt=O((()=>{})),aSt=O((()=>{})),oSt=O((()=>{})),sSt=O((()=>{})),cSt=O((()=>{})),lSt=O((()=>{})),uSt=O((()=>{})),dSt=O((()=>{})),fSt=O((()=>{})),pSt=O((()=>{})),mSt=O((()=>{})),hSt=O((()=>{})),gSt=O((()=>{})),_St=O((()=>{})),vSt=O((()=>{})),ySt=O((()=>{})),bSt=O((()=>{})),xSt=O((()=>{})),SSt=O((()=>{})),CSt=O((()=>{})),wSt=O((()=>{})),TSt=O((()=>{})),ESt=O((()=>{})),DSt=O((()=>{})),OSt=O((()=>{})),kSt=O((()=>{})),ASt=O((()=>{})),jSt=O((()=>{})),MSt=O((()=>{})),NSt=O((()=>{})),PSt=O((()=>{})),FSt=O((()=>{})),ISt=O((()=>{})),LSt=O((()=>{})),RSt=O((()=>{})),zSt=O((()=>{})),BSt=O((()=>{})),VSt=O((()=>{})),HSt=O((()=>{})),USt=O((()=>{})),WSt=O((()=>{})),GSt=O((()=>{})),KSt=O((()=>{})),qSt=O((()=>{})),JSt=O((()=>{})),YSt=O((()=>{})),XSt=O((()=>{})),ZSt=O((()=>{})),QSt=O((()=>{})),$St=O((()=>{})),eCt=O((()=>{})),tCt=O((()=>{})),nCt=O((()=>{})),rCt=O((()=>{})),iCt=O((()=>{})),aCt=O((()=>{})),oCt=O((()=>{})),sCt=O((()=>{})),cCt=O((()=>{})),lCt=O((()=>{})),uCt=O((()=>{})),dCt=O((()=>{})),fCt=O((()=>{})),pCt=O((()=>{})),mCt=O((()=>{})),hCt=O((()=>{})),gCt=O((()=>{})),_Ct=O((()=>{})),vCt=O((()=>{})),yCt=O((()=>{})),bCt=O((()=>{})),xCt=O((()=>{})),SCt=O((()=>{})),CCt=O((()=>{})),wCt=O((()=>{})),TCt=O((()=>{})),ECt=O((()=>{})),DCt=O((()=>{})),OCt=O((()=>{})),kCt=O((()=>{})),ACt=O((()=>{})),jCt=O((()=>{})),MCt=O((()=>{})),NCt=O((()=>{})),PCt=O((()=>{})),FCt=O((()=>{})),ICt=O((()=>{})),LCt=O((()=>{})),RCt=O((()=>{})),zCt=O((()=>{})),BCt=O((()=>{})),VCt=O((()=>{})),HCt=O((()=>{})),UCt=O((()=>{})),WCt=O((()=>{})),GCt=O((()=>{})),KCt=O((()=>{})),qCt=O((()=>{})),JCt=O((()=>{})),YCt=O((()=>{})),XCt=O((()=>{})),ZCt=O((()=>{})),QCt=O((()=>{})),$Ct=O((()=>{})),ewt=O((()=>{})),twt=O((()=>{})),nwt=O((()=>{})),rwt=O((()=>{})),iwt=O((()=>{})),awt=O((()=>{})),owt=O((()=>{})),swt=O((()=>{})),cwt=O((()=>{})),lwt=O((()=>{})),uwt=O((()=>{})),dwt=O((()=>{})),fwt=O((()=>{})),pwt=O((()=>{})),mwt=O((()=>{})),hwt=O((()=>{})),gwt=O((()=>{})),_wt=O((()=>{})),vwt=O((()=>{})),ywt=O((()=>{})),bwt=O((()=>{})),xwt=O((()=>{})),Swt=O((()=>{})),Cwt=O((()=>{})),wwt=O((()=>{})),Twt=O((()=>{})),Ewt=O((()=>{})),Dwt=O((()=>{})),Owt=O((()=>{})),kwt=O((()=>{})),Awt=O((()=>{})),jwt=O((()=>{})),Mwt=O((()=>{})),Nwt=O((()=>{})),Pwt=O((()=>{})),Fwt=O((()=>{})),Iwt=O((()=>{})),Lwt=O((()=>{})),Rwt=O((()=>{})),zwt=O((()=>{})),Bwt=O((()=>{})),Vwt=O((()=>{})),Hwt=O((()=>{})),Uwt=O((()=>{})),Wwt=O((()=>{})),Gwt=O((()=>{})),Kwt=O((()=>{})),qwt=O((()=>{})),Jwt=O((()=>{})),Ywt=O((()=>{})),Xwt=O((()=>{})),Zwt=O((()=>{})),Qwt=O((()=>{})),$wt=O((()=>{})),eTt=O((()=>{})),tTt=O((()=>{})),nTt=O((()=>{})),rTt=O((()=>{})),iTt=O((()=>{})),aTt=O((()=>{})),oTt=O((()=>{})),sTt=O((()=>{})),cTt=O((()=>{})),lTt=O((()=>{})),uTt=O((()=>{})),dTt=O((()=>{})),fTt=O((()=>{})),pTt=O((()=>{})),mTt=O((()=>{})),hTt=O((()=>{})),gTt=O((()=>{})),_Tt=O((()=>{})),vTt=O((()=>{})),yTt=O((()=>{})),bTt=O((()=>{})),xTt=O((()=>{})),STt=O((()=>{})),CTt=O((()=>{})),wTt=O((()=>{})),TTt=O((()=>{})),ETt=O((()=>{})),DTt=O((()=>{})),OTt=O((()=>{})),kTt=O((()=>{})),ATt=O((()=>{})),jTt=O((()=>{})),MTt=O((()=>{})),NTt=O((()=>{})),PTt=O((()=>{})),FTt=O((()=>{})),ITt=O((()=>{})),LTt=O((()=>{})),RTt=O((()=>{})),zTt=O((()=>{})),BTt=O((()=>{})),VTt=O((()=>{})),HTt=O((()=>{})),UTt=O((()=>{})),WTt=O((()=>{})),GTt=O((()=>{})),KTt=O((()=>{})),qTt=O((()=>{})),JTt=O((()=>{})),YTt=O((()=>{})),XTt=O((()=>{})),ZTt=O((()=>{})),QTt=O((()=>{})),$Tt=O((()=>{})),eEt=O((()=>{})),tEt=O((()=>{})),nEt=O((()=>{})),rEt=O((()=>{})),iEt=O((()=>{})),aEt=O((()=>{})),oEt=O((()=>{})),sEt=O((()=>{})),cEt=O((()=>{})),lEt=O((()=>{})),uEt=O((()=>{})),dEt=O((()=>{})),fEt=O((()=>{})),pEt=O((()=>{})),mEt=O((()=>{})),hEt=O((()=>{})),gEt=O((()=>{})),_Et=O((()=>{})),vEt=O((()=>{})),yEt=O((()=>{})),bEt=O((()=>{})),xEt=O((()=>{})),SEt=O((()=>{})),CEt=O((()=>{})),wEt=O((()=>{})),TEt=O((()=>{})),EEt=O((()=>{})),DEt=O((()=>{})),OEt=O((()=>{})),kEt=O((()=>{})),AEt=O((()=>{})),jEt=O((()=>{})),MEt=O((()=>{})),NEt=O((()=>{})),PEt=O((()=>{})),FEt=O((()=>{})),IEt=O((()=>{})),LEt=O((()=>{})),REt=O((()=>{})),zEt=O((()=>{})),BEt=O((()=>{})),VEt=O((()=>{})),HEt=O((()=>{})),UEt=O((()=>{})),WEt=O((()=>{})),GEt=O((()=>{})),KEt=O((()=>{})),qEt=O((()=>{})),JEt=O((()=>{})),YEt=O((()=>{})),XEt=O((()=>{})),ZEt=O((()=>{})),QEt=O((()=>{})),$Et=O((()=>{})),eDt=O((()=>{})),tDt=O((()=>{})),nDt=O((()=>{})),rDt=O((()=>{})),iDt=O((()=>{})),aDt=O((()=>{})),oDt=O((()=>{})),sDt=O((()=>{})),cDt=O((()=>{})),lDt=O((()=>{})),uDt=O((()=>{})),dDt=O((()=>{})),fDt=O((()=>{})),pDt=O((()=>{})),mDt=O((()=>{})),hDt=O((()=>{})),gDt=O((()=>{})),_Dt=O((()=>{})),vDt=O((()=>{})),yDt=O((()=>{})),bDt=O((()=>{})),xDt=O((()=>{})),SDt=O((()=>{})),CDt=O((()=>{})),wDt=O((()=>{})),TDt=O((()=>{})),EDt=O((()=>{})),DDt=O((()=>{})),ODt=O((()=>{})),kDt=O((()=>{})),ADt=O((()=>{})),jDt=O((()=>{})),MDt=O((()=>{})),NDt=O((()=>{})),PDt=O((()=>{})),FDt=O((()=>{})),IDt=O((()=>{})),LDt=O((()=>{})),RDt=O((()=>{})),zDt=O((()=>{})),BDt=O((()=>{})),VDt=O((()=>{})),HDt=O((()=>{})),UDt=O((()=>{})),WDt=O((()=>{})),GDt=O((()=>{})),KDt=O((()=>{})),qDt=O((()=>{})),JDt=O((()=>{})),YDt=O((()=>{})),XDt=O((()=>{})),ZDt=O((()=>{})),QDt=O((()=>{})),$Dt=O((()=>{})),eOt=O((()=>{})),tOt=O((()=>{})),nOt=O((()=>{})),rOt=O((()=>{})),iOt=O((()=>{})),aOt=O((()=>{})),oOt=O((()=>{})),sOt=O((()=>{})),cOt=O((()=>{})),lOt=O((()=>{})),uOt=O((()=>{})),dOt=O((()=>{})),fOt=O((()=>{})),pOt=O((()=>{})),mOt=O((()=>{})),hOt=O((()=>{})),gOt=O((()=>{})),_Ot=O((()=>{})),vOt=O((()=>{})),yOt=O((()=>{})),bOt=O((()=>{})),xOt=O((()=>{})),SOt=O((()=>{})),COt=O((()=>{})),wOt=O((()=>{})),TOt=O((()=>{})),EOt=O((()=>{})),DOt=O((()=>{})),OOt=O((()=>{})),kOt=O((()=>{})),AOt=O((()=>{})),jOt=O((()=>{})),MOt=O((()=>{})),NOt=O((()=>{})),POt=O((()=>{})),FOt=O((()=>{})),IOt=O((()=>{})),LOt=O((()=>{})),ROt=O((()=>{})),zOt=O((()=>{})),BOt=O((()=>{})),VOt=O((()=>{})),HOt=O((()=>{})),UOt=O((()=>{})),WOt=O((()=>{})),GOt=O((()=>{})),KOt=O((()=>{})),qOt=O((()=>{})),JOt=O((()=>{})),YOt=O((()=>{})),XOt=O((()=>{})),ZOt=O((()=>{})),QOt=O((()=>{})),$Ot=O((()=>{})),ekt=O((()=>{})),tkt=O((()=>{})),nkt=O((()=>{})),rkt=O((()=>{})),ikt=O((()=>{})),akt=O((()=>{})),okt=O((()=>{})),skt=O((()=>{})),ckt=O((()=>{})),lkt=O((()=>{})),ukt=O((()=>{})),dkt=O((()=>{})),fkt=O((()=>{})),pkt=O((()=>{})),mkt=O((()=>{})),hkt=O((()=>{})),gkt=O((()=>{})),_kt=O((()=>{})),vkt=O((()=>{})),ykt=O((()=>{})),bkt=O((()=>{})),xkt=O((()=>{})),Skt=O((()=>{})),Ckt=O((()=>{})),wkt=O((()=>{})),Tkt=O((()=>{})),Ekt=O((()=>{})),Dkt=O((()=>{})),Okt=O((()=>{})),kkt=O((()=>{})),Akt=O((()=>{})),jkt=O((()=>{})),Mkt=O((()=>{})),Nkt=O((()=>{})),Pkt=O((()=>{})),Fkt=O((()=>{})),Ikt=O((()=>{})),Lkt=O((()=>{})),Rkt=O((()=>{})),zkt=O((()=>{})),Bkt=O((()=>{})),Vkt=O((()=>{})),Hkt=O((()=>{})),Ukt=O((()=>{})),Wkt=O((()=>{})),Gkt=O((()=>{})),Kkt=O((()=>{})),qkt=O((()=>{})),Jkt=O((()=>{})),Ykt=O((()=>{})),Xkt=O((()=>{})),Zkt=O((()=>{})),Qkt=O((()=>{})),$kt=O((()=>{})),eAt=O((()=>{})),tAt=O((()=>{})),nAt=O((()=>{})),rAt=O((()=>{})),iAt=O((()=>{})),aAt=O((()=>{})),oAt=O((()=>{})),sAt=O((()=>{})),cAt=O((()=>{})),lAt=O((()=>{})),uAt=O((()=>{})),dAt=O((()=>{})),fAt=O((()=>{})),pAt=O((()=>{})),mAt=O((()=>{})),hAt=O((()=>{})),gAt=O((()=>{})),_At=O((()=>{})),vAt=O((()=>{})),yAt=O((()=>{})),bAt=O((()=>{})),xAt=O((()=>{})),SAt=O((()=>{})),CAt=O((()=>{})),wAt=O((()=>{})),TAt=O((()=>{})),EAt=O((()=>{})),DAt=O((()=>{})),OAt=O((()=>{})),kAt=O((()=>{})),AAt=O((()=>{})),jAt=O((()=>{})),MAt=O((()=>{})),NAt=O((()=>{})),PAt=O((()=>{})),FAt=O((()=>{})),IAt=O((()=>{})),LAt=O((()=>{})),RAt=O((()=>{})),zAt=O((()=>{})),BAt=O((()=>{})),VAt=O((()=>{})),HAt=O((()=>{})),UAt=O((()=>{})),WAt=O((()=>{})),GAt=O((()=>{})),KAt=O((()=>{})),qAt=O((()=>{})),JAt=O((()=>{})),YAt=O((()=>{})),XAt=O((()=>{})),ZAt=O((()=>{})),QAt=O((()=>{})),$At=O((()=>{})),ejt=O((()=>{})),tjt=O((()=>{})),njt=O((()=>{})),rjt=O((()=>{})),ijt=O((()=>{})),ajt=O((()=>{})),ojt=O((()=>{})),sjt=O((()=>{})),cjt=O((()=>{})),ljt=O((()=>{})),ujt=O((()=>{})),djt=O((()=>{})),fjt=O((()=>{})),pjt=O((()=>{})),mjt=O((()=>{})),hjt=O((()=>{})),gjt=O((()=>{})),_jt=O((()=>{})),vjt=O((()=>{})),yjt=O((()=>{})),bjt=O((()=>{})),xjt=O((()=>{})),Sjt=O((()=>{})),Cjt=O((()=>{})),wjt=O((()=>{})),Tjt=O((()=>{})),Ejt=O((()=>{})),Djt=O((()=>{})),Ojt=O((()=>{})),kjt=O((()=>{})),Ajt=O((()=>{})),jjt=O((()=>{})),Mjt=O((()=>{})),Njt=O((()=>{})),Pjt=O((()=>{})),Fjt=O((()=>{})),Ijt=O((()=>{})),Ljt=O((()=>{})),Rjt=O((()=>{})),zjt=O((()=>{})),Bjt=O((()=>{})),Vjt=O((()=>{})),Hjt=O((()=>{})),Ujt=O((()=>{})),Wjt=O((()=>{})),Gjt=O((()=>{})),Kjt=O((()=>{})),qjt=O((()=>{})),Jjt=O((()=>{})),Yjt=O((()=>{})),Xjt=O((()=>{})),Zjt=O((()=>{})),Qjt=O((()=>{})),$jt=O((()=>{})),eMt=O((()=>{})),tMt=O((()=>{})),nMt=O((()=>{})),rMt=O((()=>{})),iMt=O((()=>{})),aMt=O((()=>{})),oMt=O((()=>{})),sMt=O((()=>{})),cMt=O((()=>{})),lMt=O((()=>{})),uMt=O((()=>{})),dMt=O((()=>{})),fMt=O((()=>{})),pMt=O((()=>{})),mMt=O((()=>{})),hMt=O((()=>{})),gMt=O((()=>{})),_Mt=O((()=>{})),vMt=O((()=>{})),yMt=O((()=>{})),bMt=O((()=>{})),xMt=O((()=>{})),SMt=O((()=>{})),CMt=O((()=>{})),wMt=O((()=>{})),TMt=O((()=>{})),EMt=O((()=>{})),DMt=O((()=>{})),OMt=O((()=>{})),kMt=O((()=>{})),AMt=O((()=>{})),jMt=O((()=>{})),MMt=O((()=>{})),NMt=O((()=>{})),PMt=O((()=>{})),FMt=O((()=>{})),IMt=O((()=>{})),LMt=O((()=>{})),RMt=O((()=>{})),zMt=O((()=>{})),BMt=O((()=>{})),VMt=O((()=>{})),HMt=O((()=>{})),UMt=O((()=>{})),WMt=O((()=>{})),GMt=O((()=>{})),KMt=O((()=>{})),qMt=O((()=>{})),JMt=O((()=>{})),YMt=O((()=>{})),XMt=O((()=>{})),ZMt=O((()=>{})),QMt=O((()=>{})),$Mt=O((()=>{})),eNt=O((()=>{})),tNt=O((()=>{})),nNt=O((()=>{})),rNt=O((()=>{})),iNt=O((()=>{})),aNt=O((()=>{})),oNt=O((()=>{})),sNt=O((()=>{})),cNt=O((()=>{})),lNt=O((()=>{})),uNt=O((()=>{})),dNt=O((()=>{})),fNt=O((()=>{})),pNt=O((()=>{})),mNt=O((()=>{})),hNt=O((()=>{})),gNt=O((()=>{})),_Nt=O((()=>{})),vNt=O((()=>{})),yNt=O((()=>{})),bNt=O((()=>{})),xNt=O((()=>{})),SNt=O((()=>{})),CNt=O((()=>{})),wNt=O((()=>{})),TNt=O((()=>{})),ENt=O((()=>{})),DNt=O((()=>{})),ONt=O((()=>{})),kNt=O((()=>{})),ANt=O((()=>{})),jNt=O((()=>{})),MNt=O((()=>{})),NNt=O((()=>{})),PNt=O((()=>{})),FNt=O((()=>{})),INt=O((()=>{})),LNt=O((()=>{})),RNt=O((()=>{})),zNt=O((()=>{})),BNt=O((()=>{})),VNt=O((()=>{})),HNt=O((()=>{})),UNt=O((()=>{})),WNt=O((()=>{})),GNt=O((()=>{})),KNt=O((()=>{})),qNt=O((()=>{})),JNt=O((()=>{})),YNt=O((()=>{})),XNt=O((()=>{})),ZNt=O((()=>{})),QNt=O((()=>{})),$Nt=O((()=>{})),ePt=O((()=>{})),tPt=O((()=>{})),nPt=O((()=>{})),rPt=O((()=>{})),iPt=O((()=>{})),aPt=O((()=>{})),oPt=O((()=>{})),sPt=O((()=>{})),cPt=O((()=>{})),lPt=O((()=>{})),uPt=O((()=>{})),dPt=O((()=>{})),fPt=O((()=>{})),pPt=O((()=>{})),mPt=O((()=>{})),hPt=O((()=>{})),gPt=O((()=>{})),_Pt=O((()=>{})),vPt=O((()=>{})),yPt=O((()=>{})),bPt=O((()=>{})),xPt=O((()=>{})),SPt=O((()=>{})),CPt=O((()=>{})),wPt=O((()=>{})),TPt=O((()=>{})),EPt=O((()=>{})),DPt=O((()=>{})),OPt=O((()=>{})),kPt=O((()=>{})),APt=O((()=>{})),jPt=O((()=>{})),MPt=O((()=>{})),NPt=O((()=>{})),PPt=O((()=>{})),FPt=O((()=>{})),IPt=O((()=>{})),LPt=O((()=>{})),RPt=O((()=>{})),zPt=O((()=>{})),BPt=O((()=>{})),VPt=O((()=>{})),HPt=O((()=>{})),UPt=O((()=>{})),WPt=O((()=>{})),GPt=O((()=>{})),KPt=O((()=>{})),qPt=O((()=>{})),JPt=O((()=>{})),YPt=O((()=>{})),XPt=O((()=>{})),ZPt=O((()=>{})),QPt=O((()=>{})),$Pt=O((()=>{})),eFt=O((()=>{})),tFt=O((()=>{})),nFt=O((()=>{})),rFt=O((()=>{})),iFt=O((()=>{})),aFt=O((()=>{})),oFt=O((()=>{})),sFt=O((()=>{})),cFt=O((()=>{})),lFt=O((()=>{})),uFt=O((()=>{})),dFt=O((()=>{})),fFt=O((()=>{})),pFt=O((()=>{})),mFt=O((()=>{})),hFt=O((()=>{})),gFt=O((()=>{})),_Ft=O((()=>{})),vFt=O((()=>{})),yFt=O((()=>{})),bFt=O((()=>{})),xFt=O((()=>{})),SFt=O((()=>{})),CFt=O((()=>{})),wFt=O((()=>{})),TFt=O((()=>{})),EFt=O((()=>{})),DFt=O((()=>{})),OFt=O((()=>{})),kFt=O((()=>{})),AFt=O((()=>{})),jFt=O((()=>{})),MFt=O((()=>{})),NFt=O((()=>{})),PFt=O((()=>{})),FFt=O((()=>{})),IFt=O((()=>{})),LFt=O((()=>{})),RFt=O((()=>{})),zFt=O((()=>{})),BFt=O((()=>{})),VFt=O((()=>{})),HFt=O((()=>{})),UFt=O((()=>{})),WFt=O((()=>{})),GFt=O((()=>{})),KFt=O((()=>{})),qFt=O((()=>{})),JFt=O((()=>{})),YFt=O((()=>{})),XFt=O((()=>{})),ZFt=O((()=>{})),QFt=O((()=>{})),$Ft=O((()=>{})),eIt=O((()=>{})),tIt=O((()=>{})),nIt=O((()=>{})),rIt=O((()=>{})),iIt=O((()=>{})),aIt=O((()=>{})),oIt=O((()=>{})),sIt=O((()=>{})),cIt=O((()=>{})),lIt=O((()=>{})),uIt=O((()=>{})),dIt=O((()=>{})),fIt=O((()=>{})),pIt=O((()=>{})),mIt=O((()=>{})),hIt=O((()=>{})),gIt=O((()=>{})),_It=O((()=>{})),vIt=O((()=>{})),yIt=O((()=>{})),bIt=O((()=>{})),xIt=O((()=>{})),SIt=O((()=>{})),CIt=O((()=>{})),wIt=O((()=>{})),TIt=O((()=>{})),EIt=O((()=>{})),DIt=O((()=>{})),OIt=O((()=>{})),kIt=O((()=>{})),AIt=O((()=>{})),jIt=O((()=>{})),MIt=O((()=>{})),NIt=O((()=>{})),PIt=O((()=>{})),FIt=O((()=>{})),IIt=O((()=>{})),LIt=O((()=>{})),RIt=O((()=>{})),zIt=O((()=>{})),BIt=O((()=>{})),VIt=O((()=>{})),HIt=O((()=>{})),UIt=O((()=>{})),WIt=O((()=>{})),GIt=O((()=>{})),KIt=O((()=>{})),qIt=O((()=>{})),JIt=O((()=>{})),YIt=O((()=>{})),XIt=O((()=>{})),ZIt=O((()=>{})),QIt=O((()=>{})),$It=O((()=>{})),eLt=O((()=>{})),tLt=O((()=>{})),nLt=O((()=>{})),rLt=O((()=>{})),iLt=O((()=>{})),aLt=O((()=>{})),oLt=O((()=>{})),sLt=O((()=>{})),cLt=O((()=>{})),lLt=O((()=>{})),uLt=O((()=>{})),dLt=O((()=>{})),fLt=O((()=>{})),pLt=O((()=>{})),mLt=O((()=>{})),hLt=O((()=>{})),gLt=O((()=>{})),_Lt=O((()=>{})),vLt=O((()=>{})),yLt=O((()=>{})),bLt=O((()=>{})),xLt=O((()=>{})),SLt=O((()=>{})),CLt=O((()=>{})),wLt=O((()=>{})),TLt=O((()=>{})),ELt=O((()=>{})),DLt=O((()=>{})),OLt=O((()=>{})),kLt=O((()=>{})),ALt=O((()=>{})),jLt=O((()=>{})),MLt=O((()=>{})),NLt=O((()=>{})),PLt=O((()=>{})),FLt=O((()=>{})),ILt=O((()=>{})),LLt=O((()=>{})),RLt=O((()=>{})),zLt=O((()=>{})),BLt=O((()=>{})),VLt=O((()=>{})),HLt=O((()=>{})),ULt=O((()=>{})),WLt=O((()=>{})),GLt=O((()=>{})),KLt=O((()=>{})),qLt=O((()=>{})),JLt=O((()=>{})),YLt=O((()=>{})),XLt=O((()=>{})),ZLt=O((()=>{})),QLt=O((()=>{})),$Lt=O((()=>{})),eRt=O((()=>{})),tRt=O((()=>{})),nRt=O((()=>{})),rRt=O((()=>{})),iRt=O((()=>{})),aRt=O((()=>{})),oRt=O((()=>{})),sRt=O((()=>{})),cRt=O((()=>{})),lRt=O((()=>{})),uRt=O((()=>{})),dRt=O((()=>{})),fRt=O((()=>{})),pRt=O((()=>{})),mRt=O((()=>{})),hRt=O((()=>{})),gRt=O((()=>{})),_Rt=O((()=>{})),vRt=O((()=>{})),yRt=O((()=>{})),bRt=O((()=>{})),xRt=O((()=>{})),SRt=O((()=>{})),CRt=O((()=>{})),wRt=O((()=>{})),TRt=O((()=>{})),ERt=O((()=>{})),DRt=O((()=>{})),ORt=O((()=>{})),kRt=O((()=>{})),ARt=O((()=>{})),jRt=O((()=>{})),MRt=O((()=>{})),NRt=O((()=>{})),PRt=O((()=>{})),FRt=O((()=>{})),IRt=O((()=>{})),LRt=O((()=>{})),RRt=O((()=>{})),zRt=O((()=>{})),BRt=O((()=>{})),VRt=O((()=>{})),HRt=O((()=>{})),URt=O((()=>{})),WRt=O((()=>{})),GRt=O((()=>{})),KRt=O((()=>{})),qRt=O((()=>{})),JRt=O((()=>{})),YRt=O((()=>{})),XRt=O((()=>{})),ZRt=O((()=>{})),QRt=O((()=>{})),$Rt=O((()=>{})),ezt=O((()=>{})),tzt=O((()=>{})),nzt=O((()=>{})),rzt=O((()=>{})),izt=O((()=>{})),azt=O((()=>{})),ozt=O((()=>{})),szt=O((()=>{})),czt=O((()=>{})),lzt=O((()=>{})),uzt=O((()=>{})),dzt=O((()=>{})),fzt=O((()=>{})),pzt=O((()=>{})),mzt=O((()=>{})),hzt=O((()=>{})),gzt=O((()=>{})),_zt=O((()=>{})),vzt=O((()=>{})),yzt=O((()=>{})),bzt=O((()=>{})),xzt=O((()=>{})),Szt=O((()=>{})),Czt=O((()=>{})),wzt=O((()=>{})),Tzt=O((()=>{})),Ezt=O((()=>{})),Dzt=O((()=>{})),Ozt=O((()=>{})),kzt=O((()=>{})),Azt=O((()=>{})),jzt=O((()=>{})),Mzt=O((()=>{})),Nzt=O((()=>{})),Pzt=O((()=>{})),Fzt=O((()=>{})),Izt=O((()=>{})),Lzt=O((()=>{})),Rzt=O((()=>{})),zzt=O((()=>{})),Bzt=O((()=>{})),Vzt=O((()=>{})),Hzt=O((()=>{})),Uzt=O((()=>{})),Wzt=O((()=>{})),Gzt=O((()=>{})),Kzt=O((()=>{})),qzt=O((()=>{})),Jzt=O((()=>{})),Yzt=O((()=>{})),Xzt=O((()=>{})),Zzt=O((()=>{})),Qzt=O((()=>{})),$zt=O((()=>{})),eBt=O((()=>{})),tBt=O((()=>{})),nBt=O((()=>{})),rBt=O((()=>{})),iBt=O((()=>{})),aBt=O((()=>{})),oBt=O((()=>{})),sBt=O((()=>{})),cBt=O((()=>{})),lBt=O((()=>{})),uBt=O((()=>{})),dBt=O((()=>{})),fBt=O((()=>{})),pBt=O((()=>{})),mBt=O((()=>{})),hBt=O((()=>{})),gBt=O((()=>{})),_Bt=O((()=>{})),vBt=O((()=>{})),yBt=O((()=>{})),bBt=O((()=>{})),xBt=O((()=>{})),SBt=O((()=>{})),CBt=O((()=>{})),wBt=O((()=>{})),TBt=O((()=>{})),EBt=O((()=>{})),DBt=O((()=>{})),OBt=O((()=>{})),kBt=O((()=>{})),ABt=O((()=>{})),jBt=O((()=>{})),MBt=O((()=>{})),NBt=O((()=>{})),PBt=O((()=>{})),FBt=O((()=>{})),IBt=O((()=>{})),LBt=O((()=>{})),RBt=O((()=>{})),zBt=O((()=>{})),BBt=O((()=>{})),VBt=O((()=>{})),HBt=O((()=>{})),UBt=O((()=>{})),WBt=O((()=>{})),GBt=O((()=>{})),KBt=O((()=>{})),qBt=O((()=>{})),JBt=O((()=>{})),YBt=O((()=>{})),XBt=O((()=>{})),ZBt=O((()=>{})),QBt=O((()=>{})),$Bt=O((()=>{})),eVt=O((()=>{})),tVt=O((()=>{})),nVt=O((()=>{})),rVt=O((()=>{})),iVt=O((()=>{})),aVt=O((()=>{})),oVt=O((()=>{})),sVt=O((()=>{})),cVt=O((()=>{})),lVt=O((()=>{})),uVt=O((()=>{})),dVt=O((()=>{})),fVt=O((()=>{})),pVt=O((()=>{})),mVt=O((()=>{})),hVt=O((()=>{})),gVt=O((()=>{})),_Vt=O((()=>{})),vVt=O((()=>{})),yVt=O((()=>{})),bVt=O((()=>{})),xVt=O((()=>{})),SVt=O((()=>{})),CVt=O((()=>{})),wVt=O((()=>{})),TVt=O((()=>{})),EVt=O((()=>{})),DVt=O((()=>{})),OVt=O((()=>{})),kVt=O((()=>{})),AVt=O((()=>{})),jVt=O((()=>{})),MVt=O((()=>{})),NVt=O((()=>{})),PVt=O((()=>{})),FVt=O((()=>{})),IVt=O((()=>{})),LVt=O((()=>{})),RVt=O((()=>{})),zVt=O((()=>{})),BVt=O((()=>{})),VVt=O((()=>{})),HVt=O((()=>{})),UVt=O((()=>{})),WVt=O((()=>{})),GVt=O((()=>{})),KVt=O((()=>{})),qVt=O((()=>{})),JVt=O((()=>{})),YVt=O((()=>{})),XVt=O((()=>{})),ZVt=O((()=>{})),QVt=O((()=>{})),$Vt=O((()=>{})),eHt=O((()=>{})),tHt=O((()=>{})),nHt=O((()=>{})),rHt=O((()=>{})),iHt=O((()=>{})),aHt=O((()=>{})),oHt=O((()=>{})),sHt=O((()=>{})),cHt=O((()=>{})),lHt=O((()=>{})),uHt=O((()=>{})),dHt=O((()=>{})),fHt=O((()=>{})),pHt=O((()=>{})),mHt=O((()=>{})),hHt=O((()=>{})),gHt=O((()=>{})),_Ht=O((()=>{})),vHt=O((()=>{})),yHt=O((()=>{})),bHt=O((()=>{})),xHt=O((()=>{})),SHt=O((()=>{})),CHt=O((()=>{})),wHt=O((()=>{})),THt=O((()=>{})),EHt=O((()=>{})),DHt=O((()=>{})),OHt=O((()=>{})),kHt=O((()=>{})),AHt=O((()=>{})),jHt=O((()=>{})),MHt=O((()=>{})),NHt=O((()=>{})),PHt=O((()=>{})),FHt=O((()=>{})),IHt=O((()=>{})),LHt=O((()=>{})),RHt=O((()=>{})),zHt=O((()=>{})),BHt=O((()=>{})),VHt=O((()=>{})),HHt=O((()=>{})),UHt=O((()=>{})),WHt=O((()=>{})),GHt=O((()=>{})),KHt=O((()=>{})),qHt=O((()=>{})),JHt=O((()=>{})),YHt=O((()=>{})),XHt=O((()=>{})),ZHt=O((()=>{})),QHt=O((()=>{})),$Ht=O((()=>{})),eUt=O((()=>{})),tUt=O((()=>{})),nUt=O((()=>{})),rUt=O((()=>{})),iUt=O((()=>{})),aUt=O((()=>{})),oUt=O((()=>{})),sUt=O((()=>{})),cUt=O((()=>{})),lUt=O((()=>{})),uUt=O((()=>{})),dUt=O((()=>{})),fUt=O((()=>{})),pUt=O((()=>{})),mUt=O((()=>{})),hUt=O((()=>{})),gUt=O((()=>{})),_Ut=O((()=>{})),vUt=O((()=>{})),yUt=O((()=>{})),bUt=O((()=>{})),xUt=O((()=>{})),SUt=O((()=>{})),CUt=O((()=>{})),wUt=O((()=>{})),TUt=O((()=>{})),EUt=O((()=>{})),DUt=O((()=>{})),OUt=O((()=>{})),kUt=O((()=>{})),AUt=O((()=>{})),jUt=O((()=>{})),MUt=O((()=>{iat(),aat(),oat(),sat(),cat(),lat(),uat(),dat(),fat(),pat(),mat(),hat(),gat(),_at(),vat(),yat(),bat(),xat(),Sat(),Cat(),wat(),Tat(),Eat(),Dat(),Oat(),kat(),Aat(),jat(),Mat(),Nat(),Pat(),Fat(),Iat(),Lat(),Rat(),zat(),Bat(),Vat(),Hat(),Uat(),Wat(),Gat(),Kat(),qat(),Jat(),Yat(),Xat(),Zat(),Qat(),$at(),eot(),tot(),not(),rot(),iot(),aot(),oot(),sot(),cot(),lot(),uot(),dot(),fot(),pot(),mot(),hot(),got(),_ot(),vot(),yot(),bot(),xot(),Sot(),Cot(),wot(),Tot(),Eot(),Dot(),Oot(),kot(),Aot(),jot(),Mot(),Not(),Pot(),Fot(),Iot(),Lot(),Rot(),zot(),Bot(),Vot(),Hot(),Uot(),Wot(),Got(),Kot(),qot(),Jot(),Yot(),Xot(),Zot(),Qot(),$ot(),est(),tst(),nst(),rst(),ist(),ast(),ost(),sst(),cst(),lst(),ust(),dst(),fst(),pst(),mst(),hst(),gst(),_st(),vst(),yst(),bst(),xst(),Sst(),Cst(),wst(),Tst(),Est(),Dst(),Ost(),kst(),Ast(),jst(),Mst(),Nst(),Pst(),Fst(),Ist(),Lst(),Rst(),zst(),Bst(),Vst(),Hst(),Ust(),Wst(),Gst(),Kst(),qst(),Jst(),Yst(),Xst(),Zst(),Qst(),$st(),ect(),tct(),nct(),rct(),ict(),act(),oct(),sct(),cct(),lct(),uct(),dct(),fct(),pct(),mct(),hct(),gct(),_ct(),vct(),yct(),bct(),xct(),Sct(),Cct(),wct(),Tct(),Ect(),Dct(),Oct(),kct(),Act(),jct(),Mct(),Nct(),Pct(),Fct(),Ict(),Lct(),Rct(),zct(),Bct(),Vct(),Hct(),Uct(),Wct(),Gct(),Kct(),qct(),Jct(),Yct(),Xct(),Zct(),Qct(),$ct(),elt(),tlt(),nlt(),rlt(),ilt(),alt(),olt(),slt(),clt(),llt(),ult(),dlt(),flt(),plt(),mlt(),hlt(),glt(),_lt(),vlt(),ylt(),blt(),xlt(),Slt(),Clt(),wlt(),Tlt(),Elt(),Dlt(),Olt(),klt(),Alt(),jlt(),Mlt(),Nlt(),Plt(),Flt(),Ilt(),Llt(),Rlt(),zlt(),Blt(),Vlt(),Hlt(),Ult(),Wlt(),Glt(),Klt(),qlt(),Jlt(),Ylt(),Xlt(),Zlt(),Qlt(),$lt(),eut(),tut(),nut(),rut(),iut(),aut(),out(),sut(),cut(),lut(),uut(),dut(),fut(),put(),mut(),hut(),gut(),_ut(),vut(),yut(),but(),xut(),Sut(),Cut(),wut(),Tut(),Eut(),Dut(),Out(),kut(),Aut(),jut(),Mut(),Nut(),Put(),Fut(),Iut(),Lut(),Rut(),zut(),But(),Vut(),Hut(),Uut(),Wut(),Gut(),Kut(),qut(),Jut(),Yut(),Xut(),Zut(),Qut(),$ut(),edt(),tdt(),ndt(),rdt(),idt(),adt(),odt(),sdt(),cdt(),ldt(),udt(),ddt(),fdt(),pdt(),mdt(),hdt(),gdt(),_dt(),vdt(),ydt(),bdt(),xdt(),Sdt(),Cdt(),wdt(),Tdt(),Edt(),Ddt(),Odt(),kdt(),Adt(),jdt(),Mdt(),Ndt(),Pdt(),Fdt(),Idt(),Ldt(),Rdt(),zdt(),Bdt(),Vdt(),Hdt(),Udt(),Wdt(),Gdt(),Kdt(),qdt(),Jdt(),Ydt(),Xdt(),Zdt(),Qdt(),$dt(),eft(),tft(),nft(),rft(),ift(),aft(),oft(),sft(),cft(),lft(),uft(),dft(),fft(),pft(),mft(),hft(),gft(),_ft(),vft(),yft(),bft(),xft(),Sft(),Cft(),wft(),Tft(),Eft(),Dft(),Oft(),kft(),Aft(),jft(),Mft(),Nft(),Pft(),Fft(),Ift(),Lft(),Rft(),zft(),Bft(),Vft(),Hft(),Uft(),Wft(),Gft(),Kft(),qft(),Jft(),Yft(),Xft(),Zft(),Qft(),$ft(),ept(),tpt(),npt(),rpt(),ipt(),apt(),opt(),spt(),cpt(),lpt(),upt(),dpt(),fpt(),ppt(),mpt(),hpt(),gpt(),_pt(),vpt(),ypt(),bpt(),xpt(),Spt(),Cpt(),wpt(),Tpt(),Ept(),Dpt(),Opt(),kpt(),Apt(),jpt(),Mpt(),Npt(),Ppt(),Fpt(),Ipt(),Lpt(),Rpt(),zpt(),Bpt(),Vpt(),Hpt(),Upt(),Wpt(),Gpt(),Kpt(),qpt(),Jpt(),Ypt(),Xpt(),Zpt(),Qpt(),$pt(),emt(),tmt(),nmt(),rmt(),imt(),amt(),omt(),smt(),cmt(),lmt(),umt(),dmt(),fmt(),pmt(),mmt(),hmt(),gmt(),_mt(),vmt(),ymt(),bmt(),xmt(),Smt(),Cmt(),wmt(),Tmt(),Emt(),Dmt(),Omt(),kmt(),Amt(),jmt(),Mmt(),Nmt(),Pmt(),Fmt(),Imt(),Lmt(),Rmt(),zmt(),Bmt(),Vmt(),Hmt(),Umt(),Wmt(),Gmt(),Kmt(),qmt(),Jmt(),Ymt(),Xmt(),Zmt(),Qmt(),$mt(),eht(),tht(),nht(),rht(),iht(),aht(),oht(),sht(),cht(),lht(),uht(),dht(),fht(),pht(),mht(),hht(),ght(),_ht(),vht(),yht(),bht(),xht(),Sht(),Cht(),wht(),Tht(),Eht(),Dht(),Oht(),kht(),Aht(),jht(),Mht(),Nht(),Pht(),Fht(),Iht(),Lht(),Rht(),zht(),Bht(),Vht(),Hht(),Uht(),Wht(),Ght(),Kht(),qht(),Jht(),Yht(),Xht(),Zht(),Qht(),$ht(),egt(),tgt(),ngt(),rgt(),igt(),agt(),ogt(),sgt(),cgt(),lgt(),ugt(),dgt(),fgt(),pgt(),mgt(),hgt(),ggt(),_gt(),vgt(),ygt(),bgt(),xgt(),Sgt(),Cgt(),wgt(),Tgt(),Egt(),Dgt(),Ogt(),kgt(),Agt(),jgt(),Mgt(),Ngt(),Pgt(),Fgt(),Igt(),Lgt(),Rgt(),zgt(),Bgt(),Vgt(),Hgt(),Ugt(),Wgt(),Ggt(),Kgt(),qgt(),Jgt(),Ygt(),Xgt(),Zgt(),Qgt(),$gt(),e_t(),t_t(),n_t(),r_t(),i_t(),a_t(),o_t(),s_t(),c_t(),l_t(),u_t(),d_t(),f_t(),p_t(),m_t(),h_t(),g_t(),__t(),v_t(),y_t(),b_t(),x_t(),S_t(),C_t(),w_t(),T_t(),E_t(),D_t(),O_t(),k_t(),A_t(),j_t(),M_t(),N_t(),P_t(),F_t(),I_t(),L_t(),R_t(),z_t(),B_t(),V_t(),H_t(),U_t(),W_t(),G_t(),K_t(),q_t(),J_t(),Y_t(),X_t(),Z_t(),Q_t(),$_t(),evt(),tvt(),nvt(),rvt(),ivt(),avt(),ovt(),svt(),cvt(),lvt(),uvt(),dvt(),fvt(),pvt(),mvt(),hvt(),gvt(),_vt(),vvt(),yvt(),bvt(),xvt(),Svt(),Cvt(),wvt(),Tvt(),Evt(),Dvt(),Ovt(),kvt(),Avt(),jvt(),Mvt(),Nvt(),Pvt(),Fvt(),Ivt(),Lvt(),Rvt(),zvt(),Bvt(),Vvt(),Hvt(),Uvt(),Wvt(),Gvt(),Kvt(),qvt(),Jvt(),Yvt(),Xvt(),Zvt(),Qvt(),$vt(),eyt(),tyt(),nyt(),ryt(),iyt(),ayt(),oyt(),syt(),cyt(),lyt(),uyt(),dyt(),fyt(),pyt(),myt(),hyt(),gyt(),_yt(),vyt(),yyt(),byt(),xyt(),Syt(),Cyt(),wyt(),Tyt(),Eyt(),Dyt(),Oyt(),kyt(),Ayt(),jyt(),Myt(),Nyt(),Pyt(),Fyt(),Iyt(),Lyt(),Ryt(),zyt(),Byt(),Vyt(),Hyt(),Uyt(),Wyt(),Gyt(),Kyt(),qyt(),Jyt(),Yyt(),Xyt(),Zyt(),Qyt(),$yt(),ebt(),tbt(),nbt(),rbt(),ibt(),abt(),obt(),sbt(),cbt(),lbt(),ubt(),dbt(),fbt(),pbt(),mbt(),hbt(),gbt(),_bt(),vbt(),ybt(),bbt(),xbt(),Sbt(),Cbt(),wbt(),Tbt(),Ebt(),Dbt(),Obt(),kbt(),Abt(),jbt(),Mbt(),Nbt(),Pbt(),Fbt(),Ibt(),Lbt(),Rbt(),zbt(),Bbt(),Vbt(),Hbt(),Ubt(),Wbt(),Gbt(),Kbt(),qbt(),Jbt(),Ybt(),Xbt(),Zbt(),Qbt(),$bt(),ext(),txt(),nxt(),rxt(),ixt(),axt(),oxt(),sxt(),cxt(),lxt(),uxt(),dxt(),fxt(),pxt(),mxt(),hxt(),gxt(),_xt(),vxt(),yxt(),bxt(),xxt(),Sxt(),Cxt(),wxt(),Txt(),Ext(),Dxt(),Oxt(),kxt(),Axt(),jxt(),Mxt(),Nxt(),Pxt(),Fxt(),Ixt(),Lxt(),Rxt(),zxt(),Bxt(),Vxt(),Hxt(),Uxt(),Wxt(),Gxt(),Kxt(),qxt(),Jxt(),Yxt(),Xxt(),Zxt(),Qxt(),$xt(),eSt(),tSt(),nSt(),rSt(),iSt(),aSt(),oSt(),sSt(),cSt(),lSt(),uSt(),dSt(),fSt(),pSt(),mSt(),hSt(),gSt(),_St(),vSt(),ySt(),bSt(),xSt(),SSt(),CSt(),wSt(),TSt(),ESt(),DSt(),OSt(),kSt(),ASt(),jSt(),MSt(),NSt(),PSt(),FSt(),ISt(),LSt(),RSt(),zSt(),BSt(),VSt(),HSt(),USt(),WSt(),GSt(),KSt(),qSt(),JSt(),YSt(),XSt(),ZSt(),QSt(),$St(),eCt(),tCt(),nCt(),rCt(),iCt(),aCt(),oCt(),sCt(),cCt(),lCt(),uCt(),dCt(),fCt(),pCt(),mCt(),hCt(),gCt(),_Ct(),vCt(),yCt(),bCt(),xCt(),SCt(),CCt(),wCt(),TCt(),ECt(),DCt(),OCt(),kCt(),ACt(),jCt(),MCt(),NCt(),PCt(),FCt(),ICt(),LCt(),RCt(),zCt(),BCt(),VCt(),HCt(),UCt(),WCt(),GCt(),KCt(),qCt(),JCt(),YCt(),XCt(),ZCt(),QCt(),$Ct(),ewt(),twt(),nwt(),rwt(),iwt(),awt(),owt(),swt(),cwt(),lwt(),uwt(),dwt(),fwt(),pwt(),mwt(),hwt(),gwt(),_wt(),vwt(),ywt(),bwt(),xwt(),Swt(),Cwt(),wwt(),Twt(),Ewt(),Dwt(),Owt(),kwt(),Awt(),jwt(),Mwt(),Nwt(),Pwt(),Fwt(),Iwt(),Lwt(),Rwt(),zwt(),Bwt(),Vwt(),Hwt(),Uwt(),Wwt(),Gwt(),Kwt(),qwt(),Jwt(),Ywt(),Xwt(),Zwt(),Qwt(),$wt(),eTt(),tTt(),nTt(),rTt(),iTt(),aTt(),oTt(),sTt(),cTt(),lTt(),uTt(),dTt(),fTt(),pTt(),mTt(),hTt(),gTt(),_Tt(),vTt(),yTt(),bTt(),xTt(),STt(),CTt(),wTt(),TTt(),ETt(),DTt(),OTt(),kTt(),ATt(),jTt(),MTt(),NTt(),PTt(),FTt(),ITt(),LTt(),RTt(),zTt(),BTt(),VTt(),HTt(),UTt(),WTt(),GTt(),KTt(),qTt(),JTt(),YTt(),XTt(),ZTt(),QTt(),$Tt(),eEt(),tEt(),nEt(),rEt(),iEt(),aEt(),oEt(),sEt(),cEt(),lEt(),uEt(),dEt(),fEt(),pEt(),mEt(),hEt(),gEt(),_Et(),vEt(),yEt(),bEt(),xEt(),SEt(),CEt(),wEt(),TEt(),EEt(),DEt(),OEt(),kEt(),AEt(),jEt(),MEt(),NEt(),PEt(),FEt(),IEt(),LEt(),REt(),zEt(),BEt(),VEt(),HEt(),UEt(),WEt(),GEt(),KEt(),qEt(),JEt(),YEt(),XEt(),ZEt(),QEt(),$Et(),eDt(),tDt(),nDt(),rDt(),iDt(),aDt(),oDt(),sDt(),cDt(),lDt(),uDt(),dDt(),fDt(),pDt(),mDt(),hDt(),gDt(),_Dt(),vDt(),yDt(),bDt(),xDt(),SDt(),CDt(),wDt(),TDt(),EDt(),DDt(),ODt(),kDt(),ADt(),jDt(),MDt(),NDt(),PDt(),FDt(),IDt(),LDt(),RDt(),zDt(),BDt(),VDt(),HDt(),UDt(),WDt(),GDt(),KDt(),qDt(),JDt(),YDt(),XDt(),ZDt(),QDt(),$Dt(),eOt(),tOt(),nOt(),rOt(),iOt(),aOt(),oOt(),sOt(),cOt(),lOt(),uOt(),dOt(),fOt(),pOt(),mOt(),hOt(),gOt(),_Ot(),vOt(),yOt(),bOt(),xOt(),SOt(),COt(),wOt(),TOt(),EOt(),DOt(),OOt(),kOt(),AOt(),jOt(),MOt(),NOt(),POt(),FOt(),IOt(),LOt(),ROt(),zOt(),BOt(),VOt(),HOt(),UOt(),WOt(),GOt(),KOt(),qOt(),JOt(),YOt(),XOt(),ZOt(),QOt(),$Ot(),ekt(),tkt(),nkt(),rkt(),ikt(),akt(),okt(),skt(),ckt(),lkt(),ukt(),dkt(),fkt(),pkt(),mkt(),hkt(),gkt(),_kt(),vkt(),ykt(),bkt(),xkt(),Skt(),Ckt(),wkt(),Tkt(),Ekt(),Dkt(),Okt(),kkt(),Akt(),jkt(),Mkt(),Nkt(),Pkt(),Fkt(),Ikt(),Lkt(),Rkt(),zkt(),Bkt(),Vkt(),Hkt(),Ukt(),Wkt(),Gkt(),Kkt(),qkt(),Jkt(),Ykt(),Xkt(),Zkt(),Qkt(),$kt(),eAt(),tAt(),nAt(),rAt(),iAt(),aAt(),oAt(),sAt(),cAt(),lAt(),uAt(),dAt(),fAt(),pAt(),mAt(),hAt(),gAt(),_At(),vAt(),yAt(),bAt(),xAt(),SAt(),CAt(),wAt(),TAt(),EAt(),DAt(),OAt(),kAt(),AAt(),jAt(),MAt(),NAt(),PAt(),FAt(),IAt(),LAt(),RAt(),zAt(),BAt(),VAt(),HAt(),UAt(),WAt(),GAt(),KAt(),qAt(),JAt(),YAt(),XAt(),ZAt(),QAt(),$At(),ejt(),tjt(),njt(),rjt(),ijt(),ajt(),ojt(),sjt(),cjt(),ljt(),ujt(),djt(),fjt(),pjt(),mjt(),hjt(),gjt(),_jt(),vjt(),yjt(),bjt(),xjt(),Sjt(),Cjt(),wjt(),Tjt(),Ejt(),Djt(),Ojt(),kjt(),Ajt(),jjt(),Mjt(),Njt(),Pjt(),Fjt(),Ijt(),Ljt(),Rjt(),zjt(),Bjt(),Vjt(),Hjt(),Ujt(),Wjt(),Gjt(),Kjt(),qjt(),Jjt(),Yjt(),Xjt(),Zjt(),Qjt(),$jt(),eMt(),tMt(),nMt(),rMt(),iMt(),aMt(),oMt(),sMt(),cMt(),lMt(),uMt(),dMt(),fMt(),pMt(),mMt(),hMt(),gMt(),_Mt(),vMt(),yMt(),bMt(),xMt(),SMt(),CMt(),wMt(),TMt(),EMt(),DMt(),OMt(),kMt(),AMt(),jMt(),MMt(),NMt(),PMt(),FMt(),IMt(),LMt(),RMt(),zMt(),BMt(),VMt(),HMt(),UMt(),WMt(),GMt(),KMt(),qMt(),JMt(),YMt(),XMt(),ZMt(),QMt(),$Mt(),eNt(),tNt(),nNt(),rNt(),iNt(),aNt(),oNt(),sNt(),cNt(),lNt(),uNt(),dNt(),fNt(),pNt(),mNt(),hNt(),gNt(),_Nt(),vNt(),yNt(),bNt(),xNt(),SNt(),CNt(),wNt(),TNt(),ENt(),DNt(),ONt(),kNt(),ANt(),jNt(),MNt(),NNt(),PNt(),FNt(),INt(),LNt(),RNt(),zNt(),BNt(),VNt(),HNt(),UNt(),WNt(),GNt(),KNt(),qNt(),JNt(),YNt(),XNt(),ZNt(),QNt(),$Nt(),ePt(),tPt(),nPt(),rPt(),iPt(),aPt(),oPt(),sPt(),cPt(),lPt(),uPt(),dPt(),fPt(),pPt(),mPt(),hPt(),gPt(),_Pt(),vPt(),yPt(),bPt(),xPt(),SPt(),CPt(),wPt(),TPt(),EPt(),DPt(),OPt(),kPt(),APt(),jPt(),MPt(),NPt(),PPt(),FPt(),IPt(),LPt(),RPt(),zPt(),BPt(),VPt(),HPt(),UPt(),WPt(),GPt(),KPt(),qPt(),JPt(),YPt(),XPt(),ZPt(),QPt(),$Pt(),eFt(),tFt(),nFt(),rFt(),iFt(),aFt(),oFt(),sFt(),cFt(),lFt(),uFt(),dFt(),fFt(),pFt(),mFt(),hFt(),gFt(),_Ft(),vFt(),yFt(),bFt(),xFt(),SFt(),CFt(),wFt(),TFt(),EFt(),DFt(),OFt(),kFt(),AFt(),jFt(),MFt(),NFt(),PFt(),FFt(),IFt(),LFt(),RFt(),zFt(),BFt(),VFt(),HFt(),UFt(),WFt(),GFt(),KFt(),qFt(),JFt(),YFt(),XFt(),ZFt(),QFt(),$Ft(),eIt(),tIt(),nIt(),rIt(),iIt(),aIt(),oIt(),sIt(),cIt(),lIt(),uIt(),dIt(),fIt(),pIt(),mIt(),hIt(),gIt(),_It(),vIt(),yIt(),bIt(),xIt(),SIt(),CIt(),wIt(),TIt(),EIt(),DIt(),OIt(),kIt(),AIt(),jIt(),MIt(),NIt(),PIt(),FIt(),IIt(),LIt(),RIt(),zIt(),BIt(),VIt(),HIt(),UIt(),WIt(),GIt(),KIt(),qIt(),JIt(),YIt(),XIt(),ZIt(),QIt(),$It(),eLt(),tLt(),nLt(),rLt(),iLt(),aLt(),oLt(),sLt(),cLt(),lLt(),uLt(),dLt(),fLt(),pLt(),mLt(),hLt(),gLt(),_Lt(),vLt(),yLt(),bLt(),xLt(),SLt(),CLt(),wLt(),TLt(),ELt(),DLt(),OLt(),kLt(),ALt(),jLt(),MLt(),NLt(),PLt(),FLt(),ILt(),LLt(),RLt(),zLt(),BLt(),VLt(),HLt(),ULt(),WLt(),GLt(),KLt(),qLt(),JLt(),YLt(),XLt(),ZLt(),QLt(),$Lt(),eRt(),tRt(),nRt(),rRt(),iRt(),aRt(),oRt(),sRt(),cRt(),lRt(),uRt(),dRt(),fRt(),pRt(),mRt(),hRt(),gRt(),_Rt(),vRt(),yRt(),bRt(),xRt(),SRt(),CRt(),wRt(),TRt(),ERt(),DRt(),ORt(),kRt(),ARt(),jRt(),MRt(),NRt(),PRt(),FRt(),IRt(),LRt(),RRt(),zRt(),BRt(),VRt(),HRt(),URt(),WRt(),GRt(),KRt(),qRt(),JRt(),YRt(),XRt(),ZRt(),QRt(),$Rt(),ezt(),tzt(),nzt(),rzt(),izt(),azt(),ozt(),szt(),czt(),lzt(),uzt(),dzt(),fzt(),pzt(),mzt(),hzt(),gzt(),_zt(),vzt(),yzt(),bzt(),xzt(),Szt(),Czt(),wzt(),Tzt(),Ezt(),Dzt(),Ozt(),kzt(),Azt(),jzt(),Mzt(),Nzt(),Pzt(),Fzt(),Izt(),Lzt(),Rzt(),zzt(),Bzt(),Vzt(),Hzt(),Uzt(),Wzt(),Gzt(),Kzt(),qzt(),Jzt(),Yzt(),Xzt(),Zzt(),Qzt(),$zt(),eBt(),tBt(),nBt(),rBt(),iBt(),aBt(),oBt(),sBt(),cBt(),lBt(),uBt(),dBt(),fBt(),pBt(),mBt(),hBt(),gBt(),_Bt(),vBt(),yBt(),bBt(),xBt(),SBt(),CBt(),wBt(),TBt(),EBt(),DBt(),OBt(),kBt(),ABt(),jBt(),MBt(),NBt(),PBt(),FBt(),IBt(),LBt(),RBt(),zBt(),BBt(),VBt(),HBt(),UBt(),WBt(),GBt(),KBt(),qBt(),JBt(),YBt(),XBt(),ZBt(),QBt(),$Bt(),eVt(),tVt(),nVt(),rVt(),iVt(),aVt(),oVt(),sVt(),cVt(),lVt(),uVt(),dVt(),fVt(),pVt(),mVt(),hVt(),gVt(),_Vt(),vVt(),yVt(),bVt(),xVt(),SVt(),CVt(),wVt(),TVt(),EVt(),DVt(),OVt(),kVt(),AVt(),jVt(),MVt(),NVt(),PVt(),FVt(),IVt(),LVt(),RVt(),zVt(),BVt(),VVt(),HVt(),UVt(),WVt(),GVt(),KVt(),qVt(),JVt(),YVt(),XVt(),ZVt(),QVt(),$Vt(),eHt(),tHt(),nHt(),rHt(),iHt(),aHt(),oHt(),sHt(),cHt(),lHt(),uHt(),dHt(),fHt(),pHt(),mHt(),hHt(),gHt(),_Ht(),vHt(),yHt(),bHt(),xHt(),SHt(),CHt(),wHt(),THt(),EHt(),DHt(),OHt(),kHt(),AHt(),jHt(),MHt(),NHt(),PHt(),FHt(),IHt(),LHt(),RHt(),zHt(),BHt(),VHt(),HHt(),UHt(),WHt(),GHt(),KHt(),qHt(),JHt(),YHt(),XHt(),ZHt(),QHt(),$Ht(),eUt(),tUt(),nUt(),rUt(),iUt(),aUt(),oUt(),sUt(),cUt(),lUt(),uUt(),dUt(),fUt(),pUt(),mUt(),hUt(),gUt(),_Ut(),vUt(),yUt(),bUt(),xUt(),SUt(),CUt(),wUt(),TUt(),EUt(),DUt(),OUt(),kUt(),AUt(),jUt()})),NUt=O((()=>{I()})),Oq,kq=O((()=>{s.object({"object.name":s.string().describe(`display name`),"object.id":s.string().describe(`identifier`)}),s.object({grantor:s.array(s.string()).optional().describe(`--- filters ---
|
|
1435
|
+
--num-skintones: ${xG};`}),o(()=>{a.customEmoji&&a.database&&x()}),o(()=>{a.customEmoji&&a.customEmoji.length?a.groups!==vG&&(a.groups=vG):a.groups!==yG&&(a.currentGroupIndex&&a.currentGroupIndex--,a.groups=yG)}),o(()=>{async function e(){a.databaseLoaded&&(a.currentSkinTone=await a.database.getPreferredSkinTone())}e()}),o(()=>{a.skinTones=Array(xG).fill().map((e,t)=>Krt(a.skinToneEmoji,t))}),o(()=>{a.skinToneButtonText=a.skinTones[a.currentSkinTone]}),o(()=>{a.skinToneButtonLabel=a.i18n.skinToneLabel.replace(`{skinTone}`,a.i18n.skinTones[a.currentSkinTone])}),o(()=>{async function e(){let{database:e}=a,t=(await Promise.all(DG.map(t=>e.getEmojiByUnicodeOrName(t)))).filter(Boolean);a.defaultFavoriteEmojis=t}a.databaseLoaded&&e()});function x(){let{customEmoji:e,database:t}=a,n=e||ZG;t.customEmoji!==n&&(t.customEmoji=n)}o(()=>{async function e(){x();let{database:e,defaultFavoriteEmojis:t,numColumns:n}=a,r=await ne(uG([...await e.getTopFavoriteEmoji(n),...t],e=>e.unicode||e.name).slice(0,n));a.currentFavorites=r}a.databaseLoaded&&a.defaultFavoriteEmojis&&e()});function S(e){Jrt(e,i,()=>{{let e=getComputedStyle(n.rootElement),t=parseInt(e.getPropertyValue(`--num-columns`),10),r=e.getPropertyValue(`direction`)===`rtl`;a.numColumns=t,a.isRtl=r}})}function C(e){lit(e,i,e=>{for(let{target:t,isIntersecting:n}of e)t.classList.toggle(`onscreen`,n)})}o(()=>{async function e(){let{searchText:e,currentGroup:t,databaseLoaded:n,customEmoji:r}=a;if(!n)a.currentEmojis=[],a.searchMode=!1;else if(e.length>=bG){let t=await ie(e);a.searchText===e&&(p(t),m(!0))}else{let{id:e}=t;if(e!==-1||r&&r.length){let t=await re(e);a.currentGroup.id===e&&(p(t),m(!1))}}}e()});let w=()=>{BG(()=>Zrt(n.tabpanelElement))};o(()=>{let{currentEmojis:e,emojiVersion:t}=a,n=e.filter(e=>e.unicode).filter(e=>sG(e)&&!PG.has(e.unicode));if(!t&&n.length)p(e),BG(()=>T(n));else{let n=t?e:e.filter(ee);p(n),w()}});function T(e){Yrt(e,n.baselineEmoji,l)?w():a.currentEmojis=[...a.currentEmojis]}function ee(e){return!e.unicode||!sG(e)||PG.get(e.unicode)}async function te(e){let t=a.emojiVersion||await NG();return e.filter(({version:e})=>!e||e<=t)}async function ne(e){return qrt(e,a.emojiVersion||await NG())}async function re(e){return ne(await te(e===-1?a.customEmoji:await a.database.getEmojiByGroup(e)))}async function ie(e){return ne(await te(await a.database.getEmojiBySearchQuery(e)))}o(()=>{}),o(()=>{function e(){let{searchMode:e,currentEmojis:t}=a;if(e)return[{category:``,emojis:t}];let n=new Map;for(let e of t){let t=e.category||``,r=n.get(t);r||(r=[],n.set(t,r)),r.push(e)}return[...n.entries()].map(([e,t])=>({category:e,emojis:t})).sort((e,t)=>a.customCategorySorting(e.category,t.category))}let t=e();h(t)}),o(()=>{a.activeSearchItemId=a.activeSearchItem!==-1&&a.currentEmojis[a.activeSearchItem].id}),o(()=>{let{rawSearchText:e}=a;SG(()=>{a.searchText=(e||``).trim(),a.activeSearchItem=-1})});function E(e){if(!a.searchMode||!a.currentEmojis.length)return;let t=t=>{cG(e),a.activeSearchItem=lG(t,a.activeSearchItem,a.currentEmojis)};switch(e.key){case`ArrowDown`:return t(!1);case`ArrowUp`:return t(!0);case`Enter`:if(a.activeSearchItem===-1)a.activeSearchItem=0;else return cG(e),ce(a.currentEmojis[a.activeSearchItem].id)}}function ae(e){let{target:t}=e,r=t.closest(`.nav-button`);if(!r)return;let i=parseInt(r.dataset.groupId,10);n.searchElement.value=``,a.rawSearchText=``,a.searchText=``,a.activeSearchItem=-1,a.currentGroupIndex=a.groups.findIndex(e=>e.id===i)}function oe(e){let{target:t,key:n}=e,r=t=>{t&&(cG(e),t.focus())};switch(n){case`ArrowLeft`:return r(t.previousElementSibling);case`ArrowRight`:return r(t.nextElementSibling);case`Home`:return r(t.parentElement.firstElementChild);case`End`:return r(t.parentElement.lastElementChild)}}async function se(e){let t=await a.database.getEmojiByUnicodeOrName(e),n=[...a.currentEmojis,...a.currentFavorites].find(t=>t.id===e),r=n.unicode&&g(n,a.currentSkinTone);return await a.database.incrementFavoriteEmojiCount(e),{emoji:t,skinTone:a.currentSkinTone,...r&&{unicode:r},...n.name&&{name:n.name}}}async function ce(e){let t=se(e);u(`emoji-click-sync`,t),u(`emoji-click`,await t)}function le(e){let{target:t}=e;t.classList.contains(`emoji`)&&(cG(e),ce(t.id.substring(4)))}function D(e){a.currentSkinTone=e,a.skinTonePickerExpanded=!1,c(`skintone-button`),u(`skin-tone-change`,{skinTone:e}),a.database.setPreferredSkinTone(e)}function ue(e){let{target:{id:t}}=e,n=t&&t.match(/^skintone-(\d)/);n&&(cG(e),D(parseInt(n[1],10)))}function de(e){a.skinTonePickerExpanded=!a.skinTonePickerExpanded,a.activeSkinTone=a.currentSkinTone,a.skinTonePickerExpanded&&(cG(e),BG(()=>c(`skintone-list`)))}o(()=>{a.skinTonePickerExpanded?n.skinToneDropdown.addEventListener(`transitionend`,()=>{a.skinTonePickerExpandedAfterAnimation=!0},{once:!0}):a.skinTonePickerExpandedAfterAnimation=!1});function fe(e){if(!a.skinTonePickerExpanded)return;let t=async t=>{cG(e),a.activeSkinTone=t};switch(e.key){case`ArrowUp`:return t(lG(!0,a.activeSkinTone,a.skinTones));case`ArrowDown`:return t(lG(!1,a.activeSkinTone,a.skinTones));case`Home`:return t(0);case`End`:return t(a.skinTones.length-1);case`Enter`:return cG(e),D(a.activeSkinTone);case`Escape`:return cG(e),a.skinTonePickerExpanded=!1,c(`skintone-button`)}}function pe(e){if(a.skinTonePickerExpanded)switch(e.key){case` `:return cG(e),D(a.activeSkinTone)}}async function me(e){let{relatedTarget:t}=e;(!t||t.id!==`skintone-list`)&&(a.skinTonePickerExpanded=!1)}function he(e){a.rawSearchText=e.target.value}return{$set(e){QG(a,e)},$destroy(){r.abort()}}}function _G(e){e instanceof aK||Object.setPrototypeOf(e,customElements.get(e.tagName.toLowerCase()).prototype)}var vG,yG,bG,xG,SG,CG,wG,TG,EG,DG,OG,kG,AG,jG,MG,NG,PG,FG,IG,LG,RG,zG,BG,VG,HG,UG,WG,GG,KG,qG,JG,YG,XG,ZG,QG,$G,eK,tK,nK,rK,iK,aK,oK,dit=O((()=>{Urt(),vG=[[-1,`✨`,`custom`],[0,`😀`,`smileys-emotion`],[1,`👋`,`people-body`],[3,`🐱`,`animals-nature`],[4,`🍎`,`food-drink`],[5,`🏠️`,`travel-places`],[6,`⚽`,`activities`],[7,`📝`,`objects`],[8,`⛔️`,`symbols`],[9,`🏁`,`flags`]].map(([e,t,n])=>({id:e,emoji:t,name:n})),yG=vG.slice(1),bG=2,xG=6,SG=typeof requestIdleCallback==`function`?requestIdleCallback:setTimeout,CG={"":17,"":16,"🫨":15.1,"🫠":14,"🥲":13.1,"🥻":12.1,"🥰":11,"🤩":5,"👱♀️":4,"🤣":3,"👁️🗨️":2,"😀":1,"😐️":.7,"😃":.6},wG=1e3,TG=`🖐️`,EG=8,DG=[`😊`,`😒`,`❤️`,`👍️`,`😍`,`😂`,`😭`,`☺️`,`😔`,`😩`,`😏`,`💕`,`🙌`,`😘`],OG=`"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif`,kG=(e,t)=>e<t?-1:+(e>t),AG=(e,t)=>{let n=document.createElement(`canvas`);n.width=n.height=1;let r=n.getContext(`2d`,{willReadFrequently:!0});return r.textBaseline=`top`,r.font=`100px ${OG}`,r.fillStyle=t,r.scale(.01,.01),r.fillText(e,0,0),r.getImageData(0,0,1,1).data},jG=(e,t)=>{let n=[...e].join(`,`);return n===[...t].join(`,`)&&!n.startsWith(`0,0,0,`)},NG=()=>(MG||=new Promise(e=>SG(()=>e(Grt()))),MG),PG=new Map,FG=`️`,IG=`\ud83c`,LG=``,RG=127995,zG=57339,BG=requestAnimationFrame,VG=typeof ResizeObserver==`function`,HG=`😀`,GG=new WeakMap,KG=new WeakMap,qG=Symbol(`un-keyed`),JG=`replaceChildren`in Element.prototype,YG=typeof queueMicrotask==`function`?queueMicrotask:e=>Promise.resolve().then(e),XG=new WeakMap,ZG=[],{assign:QG}=Object,$G=`https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json`,eK=`en`,tK={categoriesLabel:`Categories`,emojiUnsupportedMessage:`Your browser does not support color emoji.`,favoritesLabel:`Favorites`,loadingMessage:`Loading…`,networkErrorMessage:`Could not load emoji.`,regionLabel:`Emoji picker`,searchDescription:`When search results are available, press up or down to select and enter to choose.`,searchLabel:`Search`,searchResultsLabel:`Search results`,skinToneDescription:`When expanded, press up or down to select and enter to choose.`,skinToneLabel:`Choose a skin tone (currently {skinTone})`,skinTonesLabel:`Skin tones`,skinTones:[`Default`,`Light`,`Medium-Light`,`Medium`,`Medium-Dark`,`Dark`],categories:{custom:`Custom`,"smileys-emotion":`Smileys and emoticons`,"people-body":`People and body`,"animals-nature":`Animals and nature`,"food-drink":`Food and drink`,"travel-places":`Travel and places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`}},nK=`:host{--emoji-size:1.375rem;--emoji-padding:0.5rem;--category-emoji-size:var(--emoji-size);--category-emoji-padding:var(--emoji-padding);--indicator-height:3px;--input-border-radius:0.5rem;--input-border-size:1px;--input-font-size:1rem;--input-line-height:1.5;--input-padding:0.25rem;--num-columns:8;--outline-size:2px;--border-size:1px;--border-radius:0;--skintone-border-radius:1rem;--category-font-size:1rem;display:flex;width:min-content;height:400px}:host,:host(.light){color-scheme:light;--background:#fff;--border-color:#e0e0e0;--indicator-color:#385ac1;--input-border-color:#999;--input-font-color:#111;--input-placeholder-color:#999;--outline-color:#999;--category-font-color:#111;--button-active-background:#e6e6e6;--button-hover-background:#d9d9d9}:host(.dark){color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}@media (prefers-color-scheme:dark){:host{color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}}:host([hidden]){display:none}button{margin:0;padding:0;border:0;background:0 0;box-shadow:none;-webkit-tap-highlight-color:transparent}button::-moz-focus-inner{border:0}input{padding:0;margin:0;line-height:1.15;font-family:inherit}input[type=search]{-webkit-appearance:none}:focus{outline:var(--outline-color) solid var(--outline-size);outline-offset:calc(-1*var(--outline-size))}:host([data-js-focus-visible]) :focus:not([data-focus-visible-added]){outline:0}:focus:not(:focus-visible){outline:0}.hide-focus{outline:0}*{box-sizing:border-box}.picker{contain:content;display:flex;flex-direction:column;background:var(--background);border:var(--border-size) solid var(--border-color);border-radius:var(--border-radius);width:100%;height:100%;overflow:hidden;--total-emoji-size:calc(var(--emoji-size) + (2 * var(--emoji-padding)));--total-category-emoji-size:calc(var(--category-emoji-size) + (2 * var(--category-emoji-padding)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hidden{opacity:0;pointer-events:none}.abs-pos{position:absolute;left:0;top:0}.gone{display:none!important}.skintone-button-wrapper,.skintone-list{background:var(--background);z-index:3}.skintone-button-wrapper.expanded{z-index:1}.skintone-list{position:absolute;inset-inline-end:0;top:0;z-index:2;overflow:visible;border-bottom:var(--border-size) solid var(--border-color);border-radius:0 0 var(--skintone-border-radius) var(--skintone-border-radius);will-change:transform;transition:transform .2s ease-in-out;transform-origin:center 0}@media (prefers-reduced-motion:reduce){.skintone-list{transition-duration:.001s}}@supports not (inset-inline-end:0){.skintone-list{right:0}}.skintone-list.no-animate{transition:none}.tabpanel{overflow-y:auto;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;will-change:transform;min-height:0;flex:1;contain:content}.emoji-menu{display:grid;grid-template-columns:repeat(var(--num-columns),var(--total-emoji-size));justify-content:space-around;align-items:flex-start;width:100%}.emoji-menu.visibility-auto{content-visibility:auto;contain-intrinsic-size:calc(var(--num-columns)*var(--total-emoji-size)) calc(var(--num-rows)*var(--total-emoji-size))}.category{padding:var(--emoji-padding);font-size:var(--category-font-size);color:var(--category-font-color)}.emoji,button.emoji{font-size:var(--emoji-size);display:flex;align-items:center;justify-content:center;border-radius:100%;height:var(--total-emoji-size);width:var(--total-emoji-size);line-height:1;overflow:hidden;font-family:var(--emoji-font-family);cursor:pointer}@media (hover:hover) and (pointer:fine){.emoji:hover,button.emoji:hover{background:var(--button-hover-background)}}.emoji.active,.emoji:active,button.emoji.active,button.emoji:active{background:var(--button-active-background)}.onscreen .custom-emoji::after{content:"";width:var(--emoji-size);height:var(--emoji-size);background-repeat:no-repeat;background-position:center center;background-size:contain;background-image:var(--custom-emoji-background)}.nav,.nav-button{align-items:center}.nav{display:grid;justify-content:space-between;contain:content}.nav-button{display:flex;justify-content:center}.nav-emoji{font-size:var(--category-emoji-size);width:var(--total-category-emoji-size);height:var(--total-category-emoji-size)}.indicator-wrapper{display:flex;border-bottom:1px solid var(--border-color)}.indicator{width:calc(100%/var(--num-groups));height:var(--indicator-height);opacity:var(--indicator-opacity);background-color:var(--indicator-color);will-change:transform,opacity;transition:opacity .1s linear,transform .25s ease-in-out}@media (prefers-reduced-motion:reduce){.indicator{will-change:opacity;transition:opacity .1s linear}}.pad-top,input.search{background:var(--background);width:100%}.pad-top{height:var(--emoji-padding);z-index:3}.search-row{display:flex;align-items:center;position:relative;padding-inline-start:var(--emoji-padding);padding-bottom:var(--emoji-padding)}.search-wrapper{flex:1;min-width:0}input.search{padding:var(--input-padding);border-radius:var(--input-border-radius);border:var(--input-border-size) solid var(--input-border-color);color:var(--input-font-color);font-size:var(--input-font-size);line-height:var(--input-line-height)}input.search::placeholder{color:var(--input-placeholder-color)}.favorites{overflow-y:auto;scrollbar-gutter:stable;display:flex;flex-direction:row;border-top:var(--border-size) solid var(--border-color);contain:content}.message{padding:var(--emoji-padding)}`,rK=[`customEmoji`,`customCategorySorting`,`database`,`dataSource`,`i18n`,`locale`,`skinToneEmoji`,`emojiVersion`],iK=`:host{--emoji-font-family:${OG}}`,aK=class extends HTMLElement{constructor(e){super(),this.attachShadow({mode:`open`});let t=document.createElement(`style`);t.textContent=nK+iK,this.shadowRoot.appendChild(t),this._ctx={locale:eK,dataSource:$G,skinToneEmoji:TG,customCategorySorting:kG,customEmoji:null,i18n:tK,emojiVersion:null,...e};for(let e of rK)e!==`database`&&Object.prototype.hasOwnProperty.call(this,e)&&(this._ctx[e]=this[e],delete this[e]);this._dbFlush()}connectedCallback(){_G(this),this._cmp||=uit(this.shadowRoot,this._ctx)}disconnectedCallback(){_G(this),YG(()=>{if(!this.isConnected&&this._cmp){this._cmp.$destroy(),this._cmp=void 0;let{database:e}=this._ctx;e.close().catch(e=>console.error(e))}})}static get observedAttributes(){return[`locale`,`data-source`,`skin-tone-emoji`,`emoji-version`]}attributeChangedCallback(e,t,n){this._set(e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),e===`emoji-version`?parseFloat(n):n)}_set(e,t){this._ctx[e]=t,this._cmp&&this._cmp.$set({[e]:t}),[`locale`,`dataSource`].includes(e)&&this._dbFlush()}_dbCreate(){let{locale:e,dataSource:t,database:n}=this._ctx;(!n||n.locale!==e||n.dataSource!==t)&&this._set(`database`,new oG({locale:e,dataSource:t}))}_dbFlush(){YG(()=>this._dbCreate())}},oK={};for(let e of rK)oK[e]={get(){return e===`database`&&this._dbCreate(),this._ctx[e]},set(t){if(e===`database`)throw Error(`database is read-only`);this._set(e,t)}};Object.defineProperties(aK.prototype,oK),customElements.get(`emoji-picker`)||customElements.define(`emoji-picker`,aK)})),fit=O((()=>{})),pit=A({default:()=>lK}),sK,cK,lK,mit=O((()=>{T9(),qp(),dit(),zy(),fit(),R(),sK={class:`wt-chat-emoji`},cK={__name:`wt-chat-emoji`,props:{size:{type:String,default:V.MD},popupTeleportTo:{type:String,default:``},filled:{type:Boolean,default:!1},variant:{type:String,default:Cp.OUTLINED},rounded:{type:Boolean,default:!0}},emits:[`insert-emoji`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.ref)(null),o=(0,t.ref)(!1),s=(0,t.ref)(null),c=(0,t.computed)(()=>r.popupTeleportTo||`body`),l=(0,t.computed)(()=>r.filled||o.value?Cp.ACTIVE:r.variant),u=async()=>{s.value||(s.value=document.createElement(`emoji-picker`),d(),s.value.addEventListener(`emoji-click`,f))},d=()=>{a.value&&s.value&&a.value.appendChild(s.value)},f=e=>{let{unicode:t}=e.detail;i(`insert-emoji`,t),p()},p=()=>{o.value=!1,s.value&&a.value&&(s.value.removeEventListener(`emoji-click`,f),a.value.removeChild(s.value),s.value=null)},m=e=>{a.value?.contains(e.target)||p()},h=async()=>{g(),o.value=!o.value,o.value?(await(0,t.nextTick)(),await u()):p()},g=()=>Cy.$emit(`chat-input-focus`);return(0,t.onBeforeUnmount)(()=>{p()}),(n,r)=>{let i=(0,t.resolveDirective)(`clickaway`);return(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sK,[(0,t.createVNode)((0,t.unref)(lh),{size:e.size,variant:l.value,color:`secondary`,icon:`chat-emoji`,rounded:e.rounded,wide:``,onClick:h},null,8,[`size`,`variant`,`rounded`]),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{defer:``,disabled:!e.popupTeleportTo,to:c.value},[o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,ref_key:`emojiPickerWrapper`,ref:a,class:`wt-chat-emoji__wrapper`},null,512)):(0,t.createCommentVNode)(``,!0)],8,[`disabled`,`to`]))])),[[i,m]])}}},lK=L(cK,[[`__scopeId`,`data-v-1d5eaef1`]])})),uK,dK,fK,pK,mK=O((()=>{T9(),xm(),uK={class:`wt-display-chip-items`},dK={key:0},fK=[`onClick`],pK=(0,t.defineComponent)({__name:`wt-display-chip-items`,props:{hideFirstItem:{type:Boolean},useEmptySymbol:{type:Boolean},title:{},items:{}},setup(e){let n=e,r=(0,t.computed)(()=>n.items?.length?n.items[0]?.name:n.useEmptySymbol?`-`:``),i=(0,t.computed)(()=>n.items?.length?n.hideFirstItem?n.items:n.items.slice(1):[]);return(a,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,uK,[n.title?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,dK,(0,t.toDisplayString)(e.title)+`:`,1)):(0,t.createCommentVNode)(``,!0),n.hideFirstItem?(0,t.createCommentVNode)(``,!0):(0,t.renderSlot)(a.$slots,`first-item`,{key:1},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(ym)(r.value)),1)],!0),(0,t.createVNode)((0,t.unref)(S9),null,{activator:(0,t.withCtx)(({toggle:e})=>[(0,t.renderSlot)(a.$slots,`activator`,{toggle:e},()=>[i.value.length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,onClick:e},[(0,t.createVNode)((0,t.unref)(nb),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)(` +`+(0,t.toDisplayString)(i.value.length),1)],void 0,!0),_:1})],8,fK)):(0,t.createCommentVNode)(``,!0)],!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(a.$slots,`items`,{items:i.value},()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,({name:e,id:n})=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:n},(0,t.toDisplayString)(e),1))),128))],!0)]),_:3})]))}})})),hit=O((()=>{})),git=A({default:()=>hK}),hK,_it=O((()=>{mK(),mK(),hit(),R(),hK=L(pK,[[`__scopeId`,`data-v-02135394`]])})),vit=O((()=>{})),gK,_K,vK,yK,yit=O((()=>{vit(),R(),gK={class:`nav-menu__category nav-menu-lvl-1`},_K=[`onClick`],vK={__name:`nav-menu-lvl-1`,props:{categories:{type:Array,default:()=>[]},selected:{type:Object,default:()=>({})},icons:{type:Array,default:()=>[]}},emits:[`select`],setup(e,{emit:n}){let r=n;function i(e){r(`select`,e)}return(n,r)=>{let a=(0,t.resolveComponent)(`wt-icon`);return(0,t.openBlock)(),(0,t.createElementBlock)(`ul`,gK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.categories,(r,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:o,class:`nav-menu__option`},[(0,t.createElementVNode)(`button`,{class:(0,t.normalizeClass)([{"nav-menu__item--selected":e.selected.value===r.value},`typo-body-1 nav-menu__item nav-menu__item--active`]),onClick:e=>i(r)},[(0,t.createVNode)(a,{color:e.selected.value===r.value?`on-primary`:`default`,icon:e.icons.find(e=>e.includes(r.value))},null,8,[`color`,`icon`]),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(r.name),1)],10,_K),(0,t.withDirectives)((0,t.createElementVNode)(`div`,null,[(0,t.renderSlot)(n.$slots,`default`,{},void 0,!0)],512),[[t.vShow,e.selected.value===r.value]])]))),128))])}}},yK=L(vK,[[`__scopeId`,`data-v-52920c85`]])})),bit=O((()=>{})),bK,xK,SK,xit=O((()=>{bit(),R(),bK={class:`nav-menu__category nav-menu-lvl-2`},xK={__name:`nav-menu-lvl-2`,props:{categories:{type:Array,default:()=>[]}},setup(e){return(n,r)=>{let i=(0,t.resolveComponent)(`router-link`);return(0,t.openBlock)(),(0,t.createElementBlock)(`ul`,bK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.categories,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n,class:`typo-body-1 nav-menu__option nav-menu__item nav-menu-lvl-2--inner`},[r[0]||=(0,t.createElementVNode)(`span`,{class:`nav-menu-lvl-2__indicator`},null,-1),(0,t.createVNode)(i,{to:e.route,class:`nav-menu-lvl-2__link`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)],void 0,!0),_:2},1032,[`to`])]))),128))])}}},SK=L(xK,[[`__scopeId`,`data-v-c560eb2d`]])})),Sit=O((()=>{})),Cit=A({default:()=>EK}),CK,wK,TK,EK,wit=O((()=>{yit(),xit(),Sit(),R(),CK={class:`wt-navigation-menu`},wK={class:`wt-navigation-menu__wrapper`},TK={__name:`wt-navigation-menu`,props:{nav:{type:Array,required:!0},icons:{type:Array,default:()=>[]}},setup(e){let n=e,r=(0,t.ref)(``),i=(0,t.computed)(()=>{let e=new Map;return n.nav.forEach(t=>{e.set(t.value,{...t,name:t.name})}),e}),a=(0,t.computed)(()=>{let e=new Map;return n.nav.forEach(t=>{if(t.subNav){let n=t.subNav.map(e=>{let n=t.route?`${t.route}/${e.route}`:e.route;return{...e,name:e.name,route:n}});e.set(t.value,n)}else e.set(t.value,[])}),e}),o=(0,t.computed)(()=>Array.from(i.value.values()).filter(e=>{let t=a.value.get(e.value);return t&&t.length>0})),s=(0,t.computed)(()=>a.value.get(c.value?.value)||[]),c=(0,t.computed)(()=>i.value.get(r.value)||o.value[0]);function l(e){r.value=e.value}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`section`,CK,[(0,t.createElementVNode)(`article`,wK,[(0,t.createVNode)(yK,{categories:o.value,icons:e.icons,selected:c.value,onSelect:l},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(SK,{categories:s.value,class:`wt-navigation-menu__categories--display`},null,8,[`categories`])],void 0,!0),_:1},8,[`categories`,`icons`,`selected`]),(0,t.createVNode)(SK,{categories:s.value,class:`wt-navigation-menu__categories--hidden`},null,8,[`categories`])])]))}},EK=L(TK,[[`__scopeId`,`data-v-fcbc24f4`]])}));function Tit(){return DK??=import(`tinymce/tinymce`).then(()=>Promise.all([import(`tinymce/icons/default`),import(`tinymce/models/dom`),import(`tinymce/themes/silver`),import(`tinymce/plugins/advlist`),import(`tinymce/plugins/emoticons`),import(`tinymce/plugins/emoticons/js/emojis`),import(`tinymce/plugins/fullscreen`),import(`tinymce/plugins/image`),import(`tinymce/plugins/link`),import(`tinymce/plugins/lists`),import(`tinymce/plugins/table`),import(`tinymce/skins/ui/oxide/skin.css`)]).then(()=>void 0)),DK}var DK,Eit=O((()=>{DK=null})),OK,kK,AK=O((()=>{pS(),Eit(),dp(),OK={class:`wt-rich-text-editor`},kK=(0,t.defineComponent)({compatConfig:{MODE:3},__name:`wt-rich-text-editor`,props:(0,t.mergeModels)({label:{},labelProps:{},output:{default:`html`},height:{default:300},disabled:{type:Boolean},placeholder:{},toolbar:{},plugins:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let n={...o.default,name:`TinyMceEditor`,compatConfig:{MODE:3}},r=e,i=(0,t.useModel)(e,`modelValue`),a=(0,t.useId)(),s=(0,t.ref)(!1);Tit().then(()=>{s.value=!0});let c=[`advlist`,`emoticons`,`fullscreen`,`image`,`link`,`lists`,`table`],l=[`undo redo`,`bold italic underline strikethrough`,`fullscreen`,`fontfamily fontsize`,`alignleft aligncenter alignright alignjustify`,`numlist bullist`,`forecolor backcolor removeformat`,`emoticons image link table`].join(` | `),u=(0,t.computed)(()=>r.output===`html`),d=(0,t.computed)(()=>r.plugins??(u.value?c:[])),f=(0,t.computed)(()=>r.toolbar??(u.value?l:`undo redo`));function p(){let e=getComputedStyle(document.documentElement);return{backgroundColor:e.getPropertyValue(`--content-wrapper-color`).trim(),color:e.getPropertyValue(`--wt-text-field-text-color`).trim()}}let m=(0,t.computed)(()=>{let{backgroundColor:e,color:t}=p();return{height:Number(r.height),menubar:!1,statusbar:u.value,toolbar_mode:`sliding`,toolbar_sticky:!0,placeholder:r.placeholder,skin:!1,content_css:!1,content_style:`body { background-color: ${e}; color: ${t}; }`}}),h=null,g=new MutationObserver(()=>{h?.getBody()&&h.dom.setStyles(h.getBody(),p())});function _(e,t){h=t,g.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]})}return(0,t.onBeforeUnmount)(()=>{g.disconnect(),h=null}),(r,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,OK,[e.label||r.$slots.label?((0,t.openBlock)(),(0,t.createBlock)(fS,(0,t.mergeProps)({key:0},e.labelProps,{disabled:e.disabled,for:(0,t.unref)(a)}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(r.$slots,`label`,(0,t.normalizeProps)((0,t.guardReactiveProps)({label:e.label})),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.label),1)],!0)],void 0,!0),_:3},16,[`disabled`,`for`])):(0,t.createCommentVNode)(``,!0),s.value?((0,t.openBlock)(),(0,t.createBlock)(n,{key:1,id:(0,t.unref)(a),modelValue:i.value,"onUpdate:modelValue":o[0]||=e=>i.value=e,disabled:e.disabled,init:m.value,"output-format":e.output,plugins:d.value,toolbar:f.value,"license-key":`gpl`,onInit:_},null,8,[`id`,`modelValue`,`disabled`,`init`,`output-format`,`plugins`,`toolbar`])):((0,t.openBlock)(),(0,t.createBlock)(up,{key:2}))]))}})})),Dit=O((()=>{})),Oit=A({default:()=>jK}),jK,kit=O((()=>{AK(),AK(),Dit(),R(),jK=L(kK,[[`__scopeId`,`data-v-b52dfe5f`]])})),Ait=O((()=>{})),jit=A({default:()=>LK}),MK,NK,PK,FK,IK,LK,Mit=O((()=>{ry(),Ait(),R(),MK={class:`wt-selection-popup__options`},NK=[`onClick`],PK={class:`wt-selection-popup__item-header typo-subtitle-2`},FK={key:1,class:`popup-options__item-text`},IK={__name:`wt-selection-popup`,props:{title:{type:String},selected:{type:Object},options:{type:Array,default:()=>[]}},emits:[`change`,`add`,`close`],setup(e,{emit:n}){let r=e,i=n,{t:a}=wv();function o(){i(`add`,r.selected)}function s(){i(`close`)}function c(e){i(`change`,e)}return(n,r)=>{let i=(0,t.resolveComponent)(`wt-icon`),l=(0,t.resolveComponent)(`wt-icon-btn`),u=(0,t.resolveComponent)(`wt-button`),d=(0,t.resolveComponent)(`wt-popup`),f=(0,t.resolveDirective)(`tooltip`);return(0,t.openBlock)(),(0,t.createBlock)(d,(0,t.mergeProps)(n.$attrs,{class:`wt-selection-popup`,overflow:``,size:`sm`},{onClose:s}),{title:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),main:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`ul`,MK,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.options,(r,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:a,class:(0,t.normalizeClass)([{active:r.value===e.selected.value},`wt-selection-popup__item-wrapper`]),onClick:e=>c(r)},[(0,t.renderSlot)(n.$slots,`option`,{option:r},()=>[r.icon?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,icon:r.icon,size:`sm`},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`h4`,PK,(0,t.toDisplayString)(r.title),1),r.description?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,FK,(0,t.toDisplayString)(r.description),1)):(0,t.createCommentVNode)(``,!0),r.description?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createBlock)(l,{key:2,color:`info`,icon:`rounded-info`},null,512)),[[f,r.description]]):(0,t.createCommentVNode)(``,!0)],!0)],10,NK))),128))]),(0,t.renderSlot)(n.$slots,`after-section`,{},void 0,!0)]),actions:(0,t.withCtx)(()=>[(0,t.createVNode)(u,{disabled:!e.selected,onClick:o},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`reusable.create`)),1)],void 0,!0),_:1},8,[`disabled`]),(0,t.createVNode)(u,{color:`secondary`,onClick:s},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`reusable.close`)),1)],void 0,!0),_:1})]),_:3},16)}}},LK=L(IK,[[`__scopeId`,`data-v-d7ed7032`]])})),RK,zK,Nit=O((()=>{ht(),Array.isArray,RK=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Symbol(M.env.NODE_ENV===`production`?``:`navigation failure`),RK.MATCHER_NOT_FOUND,RK.NAVIGATION_GUARD_REDIRECT,RK.NAVIGATION_ABORTED,RK.NAVIGATION_CANCELLED,RK.NAVIGATION_DUPLICATED,Symbol(M.env.NODE_ENV===`production`?``:`router view location matched`),Symbol(M.env.NODE_ENV===`production`?``:`router view depth`),zK=Symbol(M.env.NODE_ENV===`production`?``:`router`),Symbol(M.env.NODE_ENV===`production`?``:`route location`),Symbol(M.env.NODE_ENV===`production`?``:`router view location`)}));function Pit(){return(0,t.inject)(zK)}var BK,Fit=O((()=>{ht(),Nit(),BK=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),BK.Static})),Iit=O((()=>{})),VK,HK,UK,WK,GK,KK,qK,Lit=O((()=>{Fit(),Iit(),R(),VK={class:`start-page-card`},HK={class:`typo-heading-4 start-page-card__header`},UK={class:`start-page-card__main-section`},WK=[`alt`,`src`],GK={class:`typo-body-1 start-page-card__description`},KK={__name:`start-page-card`,props:{card:{type:Object,required:!0}},setup(e){let n=Pit(),r=e,i=()=>n.push(r.card.route);return(n,r)=>{let a=(0,t.resolveComponent)(`wt-icon`),o=(0,t.resolveComponent)(`wt-button`);return(0,t.openBlock)(),(0,t.createElementBlock)(`article`,VK,[(0,t.createElementVNode)(`header`,HK,[e.card.disabled?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,icon:`lock`})):(0,t.createCommentVNode)(``,!0),(0,t.createTextVNode)(` `+(0,t.toDisplayString)(e.card.name),1)]),(0,t.createElementVNode)(`section`,UK,[(0,t.createElementVNode)(`img`,{alt:e.card.name,src:e.card.image},null,8,WK),(0,t.createElementVNode)(`p`,GK,(0,t.toDisplayString)(e.card.text),1)]),(0,t.createElementVNode)(`footer`,null,[(0,t.createVNode)(o,{disabled:e.card.disabled,class:`start-page-card__button`,color:`secondary`,wide:``,onClick:i},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.$t(`reusable.open`)),1)],void 0,!0),_:1},8,[`disabled`])])])}}},qK=L(KK,[[`__scopeId`,`data-v-e4560b27`]])})),Rit=O((()=>{})),JK,YK,XK,ZK,zit=O((()=>{Rit(),R(),JK={class:`start-page-logo`},YK=[`src`],XK={__name:`start-page-logo`,props:{logo:{type:String,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,JK,[(0,t.createElementVNode)(`img`,{src:e.logo},null,8,YK)]))}},ZK=L(XK,[[`__scopeId`,`data-v-187dc1b4`]])})),QK,$K,eq,tq=O((()=>{Lit(),zit(),QK={class:`wt-start-page`},$K={class:`wt-start-page__wrapper`},eq=(0,t.defineComponent)({__name:`wt-start-page`,props:{nav:{},appLogo:{},darkMode:{type:Boolean,default:!1}},setup(e){let n=e;(0,t.provide)(`darkMode`,n.darkMode);let r=(0,t.computed)(()=>n.darkMode?n.appLogo.dark:n.appLogo.light),i=(0,t.computed)(()=>n.nav.map(e=>({...e,image:n.darkMode?e.images.dark:e.images.light})));return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,QK,[e.appLogo?((0,t.openBlock)(),(0,t.createBlock)(ZK,{key:0,logo:r.value},null,8,[`logo`])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,$K,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,e=>((0,t.openBlock)(),(0,t.createBlock)(qK,{key:e.value,card:e},null,8,[`card`]))),128))])]))}})})),Bit=O((()=>{})),Vit=A({default:()=>Hit}),Hit,Uit=O((()=>{tq(),tq(),Bit(),R(),Hit=L(eq,[[`__scopeId`,`data-v-85dd1b85`]])})),nq,Wit=O((()=>{nq=()=>({items:[],next:!1})})),rq,Git=O((()=>{rq=({page:e=1,size:t=10}={})=>({page:e,size:t})})),Y=O((()=>{Wit(),Git(),xa()})),iq,Kit=O((()=>{iq=e=>t=>{let n=t;if(e&&e.length>0){if(n.includes(`?`))return n+=`&${e.join(`&`)}`,n;n+=`?${e.join(`&`)}`}return n}})),aq,qit=O((()=>{aq=(e,t,{debug:n=!1,withContext:r=null}={})=>t.reduce((e,t,i)=>(n&&console.info(`applyTransform debug on step ${i}`,e),r?t(e,r):t(e)),e)})),oq,Jit=O((()=>{qo(),oq=(e=[])=>t=>Go(t,e)})),sq,Yit=O((()=>{Je(),sq=e=>t=>`${e}?${Fe(t,{skipEmptyString:!0,skipNull:!0,arrayFormat:`repeat`})}`})),cq=k(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),lq,uq,Xit=O((()=>{lq=ye(cq(),1),uq=(...e)=>t=>lq.default.all([...e,t])})),dq,fq,Zit=O((()=>{dq=ye(cq(),1),fq=(...e)=>t=>t.map(t=>dq.default.all([...e,t]))})),pq,mq=O((()=>{pq={eventBus:null,i18n:null}}));function hq(e){if(typeof e==`function`){let t=({type:e,text:t})=>pq.eventBus?.$emit(`notification`,{type:e,text:t});return n=>(e({callback:t}),n)}if(e instanceof Error){let{response:t}=e,n=t?.data?.translation||t?.data?.detail||t?.data?.message||e;pq.eventBus?.$emit(`notification`,{type:`error`,text:n})}return e}var Qit=O((()=>{mq()})),gq,_q=O((()=>{gq=e=>t=>Object.keys(t).reduce((n,r)=>(e.indexOf(r)===-1||(n[r]=t[r]),n),{})})),vq,yq,$it=O((()=>{vq=e=>e.replace(/[^a-zA-Z0-9]/g,``).toLowerCase(),yq=e=>t=>{if(!t)return t;let n=new Map(e.map(e=>[vq(e),e]));return Object.entries(t).reduce((e,[t,r])=>(e[n.get(vq(t))??t]=r,e),{})}})),bq,eat=O((()=>{_q(),$it(),bq=e=>t=>gq(e)(yq(e)(t))})),xq,tat=O((()=>{qo(),xq=(e=[])=>t=>Wo(t,e)})),Sq,Cq,nat=O((()=>{Sq=ye(mz(),1),Cq=(e=`search`)=>t=>{let r=(0,Sq.default)(t),i=(0,n.get)(r,e);return!i||i.slice(-1)===`*`?r:(0,n.set)(r,e,`${i}*`)}})),rat=O((()=>{bu(),mq()})),X=O((()=>{Kit(),qit(),Jit(),Yit(),Xit(),Zit(),Qit(),_q(),eat(),tat(),nat(),rat()})),wq,Tq,Eq,Dq=O((()=>{Y(),X(),wq=`acl`,Tq=e=>e.map(e=>({...e,access:{x:{id:(e.granted.match(/x/g)||[]).length+1,rule:`x`.repeat((e.granted.match(/x/g)||[]).length)},r:{id:(e.granted.match(/r/g)||[]).length+1,rule:`r`.repeat((e.granted.match(/r/g)||[]).length)},w:{id:(e.granted.match(/w/g)||[]).length+1,rule:`w`.repeat((e.granted.match(/w/g)||[]).length)},d:{id:(e.granted.match(/d/g)||[]).length+1,rule:`d`.repeat((e.granted.match(/d/g)||[]).length)}}})),Eq=e=>{let t=ba();return{getPermissionsList:async({parentId:n,...r})=>{let i=[`page`,`size`,`q`,`sort`,`fields`,`id`],a={user:!1},o=aq(r,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),gq(i),oq(),sq(`${e}/${n}/${wq}`)]);try{let{items:e,next:n}=aq((await t.get(o)).data,[xq(),uq(nq())]);return{items:aq(e,[fq(a),Tq]),next:n}}catch(e){throw aq(e,[hq])}},patchPermissions:async({changes:n,id:r})=>{let i=aq(n,[oq()]),a=`${e}/${r}/${wq}`;try{return aq((await t.patch(a,i)).data,[xq()])}catch(e){throw aq(e,[hq])}}}}})),iat=O((()=>{})),aat=O((()=>{})),oat=O((()=>{})),sat=O((()=>{})),cat=O((()=>{})),lat=O((()=>{})),uat=O((()=>{})),dat=O((()=>{})),fat=O((()=>{})),pat=O((()=>{})),mat=O((()=>{})),hat=O((()=>{})),gat=O((()=>{})),_at=O((()=>{})),vat=O((()=>{})),yat=O((()=>{})),bat=O((()=>{})),xat=O((()=>{})),Sat=O((()=>{})),Cat=O((()=>{})),wat=O((()=>{})),Tat=O((()=>{})),Eat=O((()=>{})),Dat=O((()=>{})),Oat=O((()=>{})),kat=O((()=>{})),Aat=O((()=>{})),jat=O((()=>{})),Mat=O((()=>{})),Nat=O((()=>{})),Pat=O((()=>{})),Fat=O((()=>{})),Iat=O((()=>{})),Lat=O((()=>{})),Rat=O((()=>{})),zat=O((()=>{})),Bat=O((()=>{})),Vat=O((()=>{})),Hat=O((()=>{})),Uat=O((()=>{})),Wat=O((()=>{})),Gat=O((()=>{})),Kat=O((()=>{})),qat=O((()=>{})),Jat=O((()=>{})),Yat=O((()=>{})),Xat=O((()=>{})),Zat=O((()=>{})),Qat=O((()=>{})),$at=O((()=>{})),eot=O((()=>{})),tot=O((()=>{})),not=O((()=>{})),rot=O((()=>{})),iot=O((()=>{})),aot=O((()=>{})),oot=O((()=>{})),sot=O((()=>{})),cot=O((()=>{})),lot=O((()=>{})),uot=O((()=>{})),dot=O((()=>{})),fot=O((()=>{})),pot=O((()=>{})),mot=O((()=>{})),hot=O((()=>{})),got=O((()=>{})),_ot=O((()=>{})),vot=O((()=>{})),yot=O((()=>{})),bot=O((()=>{})),xot=O((()=>{})),Sot=O((()=>{})),Cot=O((()=>{})),wot=O((()=>{})),Tot=O((()=>{})),Eot=O((()=>{})),Dot=O((()=>{})),Oot=O((()=>{})),kot=O((()=>{})),Aot=O((()=>{})),jot=O((()=>{})),Mot=O((()=>{})),Not=O((()=>{})),Pot=O((()=>{})),Fot=O((()=>{})),Iot=O((()=>{})),Lot=O((()=>{})),Rot=O((()=>{})),zot=O((()=>{})),Bot=O((()=>{})),Vot=O((()=>{})),Hot=O((()=>{})),Uot=O((()=>{})),Wot=O((()=>{})),Got=O((()=>{})),Kot=O((()=>{})),qot=O((()=>{})),Jot=O((()=>{})),Yot=O((()=>{})),Xot=O((()=>{})),Zot=O((()=>{})),Qot=O((()=>{})),$ot=O((()=>{})),est=O((()=>{})),tst=O((()=>{})),nst=O((()=>{})),rst=O((()=>{})),ist=O((()=>{})),ast=O((()=>{})),ost=O((()=>{})),sst=O((()=>{})),cst=O((()=>{})),lst=O((()=>{})),ust=O((()=>{})),dst=O((()=>{})),fst=O((()=>{})),pst=O((()=>{})),mst=O((()=>{})),hst=O((()=>{})),gst=O((()=>{})),_st=O((()=>{})),vst=O((()=>{})),yst=O((()=>{})),bst=O((()=>{})),xst=O((()=>{})),Sst=O((()=>{})),Cst=O((()=>{})),wst=O((()=>{})),Tst=O((()=>{})),Est=O((()=>{})),Dst=O((()=>{})),Ost=O((()=>{})),kst=O((()=>{})),Ast=O((()=>{})),jst=O((()=>{})),Mst=O((()=>{})),Nst=O((()=>{})),Pst=O((()=>{})),Fst=O((()=>{})),Ist=O((()=>{})),Lst=O((()=>{})),Rst=O((()=>{})),zst=O((()=>{})),Bst=O((()=>{})),Vst=O((()=>{})),Hst=O((()=>{})),Ust=O((()=>{})),Wst=O((()=>{})),Gst=O((()=>{})),Kst=O((()=>{})),qst=O((()=>{})),Jst=O((()=>{})),Yst=O((()=>{})),Xst=O((()=>{})),Zst=O((()=>{})),Qst=O((()=>{})),$st=O((()=>{})),ect=O((()=>{})),tct=O((()=>{})),nct=O((()=>{})),rct=O((()=>{})),ict=O((()=>{})),act=O((()=>{})),oct=O((()=>{})),sct=O((()=>{})),cct=O((()=>{})),lct=O((()=>{})),uct=O((()=>{})),dct=O((()=>{})),fct=O((()=>{})),pct=O((()=>{})),mct=O((()=>{})),hct=O((()=>{})),gct=O((()=>{})),_ct=O((()=>{})),vct=O((()=>{})),yct=O((()=>{})),bct=O((()=>{})),xct=O((()=>{})),Sct=O((()=>{})),Cct=O((()=>{})),wct=O((()=>{})),Tct=O((()=>{})),Ect=O((()=>{})),Dct=O((()=>{})),Oct=O((()=>{})),kct=O((()=>{})),Act=O((()=>{})),jct=O((()=>{})),Mct=O((()=>{})),Nct=O((()=>{})),Pct=O((()=>{})),Fct=O((()=>{})),Ict=O((()=>{})),Lct=O((()=>{})),Rct=O((()=>{})),zct=O((()=>{})),Bct=O((()=>{})),Vct=O((()=>{})),Hct=O((()=>{})),Uct=O((()=>{})),Wct=O((()=>{})),Gct=O((()=>{})),Kct=O((()=>{})),qct=O((()=>{})),Jct=O((()=>{})),Yct=O((()=>{})),Xct=O((()=>{})),Zct=O((()=>{})),Qct=O((()=>{})),$ct=O((()=>{})),elt=O((()=>{})),tlt=O((()=>{})),nlt=O((()=>{})),rlt=O((()=>{})),ilt=O((()=>{})),alt=O((()=>{})),olt=O((()=>{})),slt=O((()=>{})),clt=O((()=>{})),llt=O((()=>{})),ult=O((()=>{})),dlt=O((()=>{})),flt=O((()=>{})),plt=O((()=>{})),mlt=O((()=>{})),hlt=O((()=>{})),glt=O((()=>{})),_lt=O((()=>{})),vlt=O((()=>{})),ylt=O((()=>{})),blt=O((()=>{})),xlt=O((()=>{})),Slt=O((()=>{})),Clt=O((()=>{})),wlt=O((()=>{})),Tlt=O((()=>{})),Elt=O((()=>{})),Dlt=O((()=>{})),Olt=O((()=>{})),klt=O((()=>{})),Alt=O((()=>{})),jlt=O((()=>{})),Mlt=O((()=>{})),Nlt=O((()=>{})),Plt=O((()=>{})),Flt=O((()=>{})),Ilt=O((()=>{})),Llt=O((()=>{})),Rlt=O((()=>{})),zlt=O((()=>{})),Blt=O((()=>{})),Vlt=O((()=>{})),Hlt=O((()=>{})),Ult=O((()=>{})),Wlt=O((()=>{})),Glt=O((()=>{})),Klt=O((()=>{})),qlt=O((()=>{})),Jlt=O((()=>{})),Ylt=O((()=>{})),Xlt=O((()=>{})),Zlt=O((()=>{})),Qlt=O((()=>{})),$lt=O((()=>{})),eut=O((()=>{})),tut=O((()=>{})),nut=O((()=>{})),rut=O((()=>{})),iut=O((()=>{})),aut=O((()=>{})),out=O((()=>{})),sut=O((()=>{})),cut=O((()=>{})),lut=O((()=>{})),uut=O((()=>{})),dut=O((()=>{})),fut=O((()=>{})),put=O((()=>{})),mut=O((()=>{})),hut=O((()=>{})),gut=O((()=>{})),_ut=O((()=>{})),vut=O((()=>{})),yut=O((()=>{})),but=O((()=>{})),xut=O((()=>{})),Sut=O((()=>{})),Cut=O((()=>{})),wut=O((()=>{})),Tut=O((()=>{})),Eut=O((()=>{})),Dut=O((()=>{})),Out=O((()=>{})),kut=O((()=>{})),Aut=O((()=>{})),jut=O((()=>{})),Mut=O((()=>{})),Nut=O((()=>{})),Put=O((()=>{})),Fut=O((()=>{})),Iut=O((()=>{})),Lut=O((()=>{})),Rut=O((()=>{})),zut=O((()=>{})),But=O((()=>{})),Vut=O((()=>{})),Hut=O((()=>{})),Uut=O((()=>{})),Wut=O((()=>{})),Gut=O((()=>{})),Kut=O((()=>{})),qut=O((()=>{})),Jut=O((()=>{})),Yut=O((()=>{})),Xut=O((()=>{})),Zut=O((()=>{})),Qut=O((()=>{})),$ut=O((()=>{})),edt=O((()=>{})),tdt=O((()=>{})),ndt=O((()=>{})),rdt=O((()=>{})),idt=O((()=>{})),adt=O((()=>{})),odt=O((()=>{})),sdt=O((()=>{})),cdt=O((()=>{})),ldt=O((()=>{})),udt=O((()=>{})),ddt=O((()=>{})),fdt=O((()=>{})),pdt=O((()=>{})),mdt=O((()=>{})),hdt=O((()=>{})),gdt=O((()=>{})),_dt=O((()=>{})),vdt=O((()=>{})),ydt=O((()=>{})),bdt=O((()=>{})),xdt=O((()=>{})),Sdt=O((()=>{})),Cdt=O((()=>{})),wdt=O((()=>{})),Tdt=O((()=>{})),Edt=O((()=>{})),Ddt=O((()=>{})),Odt=O((()=>{})),kdt=O((()=>{})),Adt=O((()=>{})),jdt=O((()=>{})),Mdt=O((()=>{})),Ndt=O((()=>{})),Pdt=O((()=>{})),Fdt=O((()=>{})),Idt=O((()=>{})),Ldt=O((()=>{})),Rdt=O((()=>{})),zdt=O((()=>{})),Bdt=O((()=>{})),Vdt=O((()=>{})),Hdt=O((()=>{})),Udt=O((()=>{})),Wdt=O((()=>{})),Gdt=O((()=>{})),Kdt=O((()=>{})),qdt=O((()=>{})),Jdt=O((()=>{})),Ydt=O((()=>{})),Xdt=O((()=>{})),Zdt=O((()=>{})),Qdt=O((()=>{})),$dt=O((()=>{})),eft=O((()=>{})),tft=O((()=>{})),nft=O((()=>{})),rft=O((()=>{})),ift=O((()=>{})),aft=O((()=>{})),oft=O((()=>{})),sft=O((()=>{})),cft=O((()=>{})),lft=O((()=>{})),uft=O((()=>{})),dft=O((()=>{})),fft=O((()=>{})),pft=O((()=>{})),mft=O((()=>{})),hft=O((()=>{})),gft=O((()=>{})),_ft=O((()=>{})),vft=O((()=>{})),yft=O((()=>{})),bft=O((()=>{})),xft=O((()=>{})),Sft=O((()=>{})),Cft=O((()=>{})),wft=O((()=>{})),Tft=O((()=>{})),Eft=O((()=>{})),Dft=O((()=>{})),Oft=O((()=>{})),kft=O((()=>{})),Aft=O((()=>{})),jft=O((()=>{})),Mft=O((()=>{})),Nft=O((()=>{})),Pft=O((()=>{})),Fft=O((()=>{})),Ift=O((()=>{})),Lft=O((()=>{})),Rft=O((()=>{})),zft=O((()=>{})),Bft=O((()=>{})),Vft=O((()=>{})),Hft=O((()=>{})),Uft=O((()=>{})),Wft=O((()=>{})),Gft=O((()=>{})),Kft=O((()=>{})),qft=O((()=>{})),Jft=O((()=>{})),Yft=O((()=>{})),Xft=O((()=>{})),Zft=O((()=>{})),Qft=O((()=>{})),$ft=O((()=>{})),ept=O((()=>{})),tpt=O((()=>{})),npt=O((()=>{})),rpt=O((()=>{})),ipt=O((()=>{})),apt=O((()=>{})),opt=O((()=>{})),spt=O((()=>{})),cpt=O((()=>{})),lpt=O((()=>{})),upt=O((()=>{})),dpt=O((()=>{})),fpt=O((()=>{})),ppt=O((()=>{})),mpt=O((()=>{})),hpt=O((()=>{})),gpt=O((()=>{})),_pt=O((()=>{})),vpt=O((()=>{})),ypt=O((()=>{})),bpt=O((()=>{})),xpt=O((()=>{})),Spt=O((()=>{})),Cpt=O((()=>{})),wpt=O((()=>{})),Tpt=O((()=>{})),Ept=O((()=>{})),Dpt=O((()=>{})),Opt=O((()=>{})),kpt=O((()=>{})),Apt=O((()=>{})),jpt=O((()=>{})),Mpt=O((()=>{})),Npt=O((()=>{})),Ppt=O((()=>{})),Fpt=O((()=>{})),Ipt=O((()=>{})),Lpt=O((()=>{})),Rpt=O((()=>{})),zpt=O((()=>{})),Bpt=O((()=>{})),Vpt=O((()=>{})),Hpt=O((()=>{})),Upt=O((()=>{})),Wpt=O((()=>{})),Gpt=O((()=>{})),Kpt=O((()=>{})),qpt=O((()=>{})),Jpt=O((()=>{})),Ypt=O((()=>{})),Xpt=O((()=>{})),Zpt=O((()=>{})),Qpt=O((()=>{})),$pt=O((()=>{})),emt=O((()=>{})),tmt=O((()=>{})),nmt=O((()=>{})),rmt=O((()=>{})),imt=O((()=>{})),amt=O((()=>{})),omt=O((()=>{})),smt=O((()=>{})),cmt=O((()=>{})),lmt=O((()=>{})),umt=O((()=>{})),dmt=O((()=>{})),fmt=O((()=>{})),pmt=O((()=>{})),mmt=O((()=>{})),hmt=O((()=>{})),gmt=O((()=>{})),_mt=O((()=>{})),vmt=O((()=>{})),ymt=O((()=>{})),bmt=O((()=>{})),xmt=O((()=>{})),Smt=O((()=>{})),Cmt=O((()=>{})),wmt=O((()=>{})),Tmt=O((()=>{})),Emt=O((()=>{})),Dmt=O((()=>{})),Omt=O((()=>{})),kmt=O((()=>{})),Amt=O((()=>{})),jmt=O((()=>{})),Mmt=O((()=>{})),Nmt=O((()=>{})),Pmt=O((()=>{})),Fmt=O((()=>{})),Imt=O((()=>{})),Lmt=O((()=>{})),Rmt=O((()=>{})),zmt=O((()=>{})),Bmt=O((()=>{})),Vmt=O((()=>{})),Hmt=O((()=>{})),Umt=O((()=>{})),Wmt=O((()=>{})),Gmt=O((()=>{})),Kmt=O((()=>{})),qmt=O((()=>{})),Jmt=O((()=>{})),Ymt=O((()=>{})),Xmt=O((()=>{})),Zmt=O((()=>{})),Qmt=O((()=>{})),$mt=O((()=>{})),eht=O((()=>{})),tht=O((()=>{})),nht=O((()=>{})),rht=O((()=>{})),iht=O((()=>{})),aht=O((()=>{})),oht=O((()=>{})),sht=O((()=>{})),cht=O((()=>{})),lht=O((()=>{})),uht=O((()=>{})),dht=O((()=>{})),fht=O((()=>{})),pht=O((()=>{})),mht=O((()=>{})),hht=O((()=>{})),ght=O((()=>{})),_ht=O((()=>{})),vht=O((()=>{})),yht=O((()=>{})),bht=O((()=>{})),xht=O((()=>{})),Sht=O((()=>{})),Cht=O((()=>{})),wht=O((()=>{})),Tht=O((()=>{})),Eht=O((()=>{})),Dht=O((()=>{})),Oht=O((()=>{})),kht=O((()=>{})),Aht=O((()=>{})),jht=O((()=>{})),Mht=O((()=>{})),Nht=O((()=>{})),Pht=O((()=>{})),Fht=O((()=>{})),Iht=O((()=>{})),Lht=O((()=>{})),Rht=O((()=>{})),zht=O((()=>{})),Bht=O((()=>{})),Vht=O((()=>{})),Hht=O((()=>{})),Uht=O((()=>{})),Wht=O((()=>{})),Ght=O((()=>{})),Kht=O((()=>{})),qht=O((()=>{})),Jht=O((()=>{})),Yht=O((()=>{})),Xht=O((()=>{})),Zht=O((()=>{})),Qht=O((()=>{})),$ht=O((()=>{})),egt=O((()=>{})),tgt=O((()=>{})),ngt=O((()=>{})),rgt=O((()=>{})),igt=O((()=>{})),agt=O((()=>{})),ogt=O((()=>{})),sgt=O((()=>{})),cgt=O((()=>{})),lgt=O((()=>{})),ugt=O((()=>{})),dgt=O((()=>{})),fgt=O((()=>{})),pgt=O((()=>{})),mgt=O((()=>{})),hgt=O((()=>{})),ggt=O((()=>{})),_gt=O((()=>{})),vgt=O((()=>{})),ygt=O((()=>{})),bgt=O((()=>{})),xgt=O((()=>{})),Sgt=O((()=>{})),Cgt=O((()=>{})),wgt=O((()=>{})),Tgt=O((()=>{})),Egt=O((()=>{})),Dgt=O((()=>{})),Ogt=O((()=>{})),kgt=O((()=>{})),Agt=O((()=>{})),jgt=O((()=>{})),Mgt=O((()=>{})),Ngt=O((()=>{})),Pgt=O((()=>{})),Fgt=O((()=>{})),Igt=O((()=>{})),Lgt=O((()=>{})),Rgt=O((()=>{})),zgt=O((()=>{})),Bgt=O((()=>{})),Vgt=O((()=>{})),Hgt=O((()=>{})),Ugt=O((()=>{})),Wgt=O((()=>{})),Ggt=O((()=>{})),Kgt=O((()=>{})),qgt=O((()=>{})),Jgt=O((()=>{})),Ygt=O((()=>{})),Xgt=O((()=>{})),Zgt=O((()=>{})),Qgt=O((()=>{})),$gt=O((()=>{})),e_t=O((()=>{})),t_t=O((()=>{})),n_t=O((()=>{})),r_t=O((()=>{})),i_t=O((()=>{})),a_t=O((()=>{})),o_t=O((()=>{})),s_t=O((()=>{})),c_t=O((()=>{})),l_t=O((()=>{})),u_t=O((()=>{})),d_t=O((()=>{})),f_t=O((()=>{})),p_t=O((()=>{})),m_t=O((()=>{})),h_t=O((()=>{})),g_t=O((()=>{})),__t=O((()=>{})),v_t=O((()=>{})),y_t=O((()=>{})),b_t=O((()=>{})),x_t=O((()=>{})),S_t=O((()=>{})),C_t=O((()=>{})),w_t=O((()=>{})),T_t=O((()=>{})),E_t=O((()=>{})),D_t=O((()=>{})),O_t=O((()=>{})),k_t=O((()=>{})),A_t=O((()=>{})),j_t=O((()=>{})),M_t=O((()=>{})),N_t=O((()=>{})),P_t=O((()=>{})),F_t=O((()=>{})),I_t=O((()=>{})),L_t=O((()=>{})),R_t=O((()=>{})),z_t=O((()=>{})),B_t=O((()=>{})),V_t=O((()=>{})),H_t=O((()=>{})),U_t=O((()=>{})),W_t=O((()=>{})),G_t=O((()=>{})),K_t=O((()=>{})),q_t=O((()=>{})),J_t=O((()=>{})),Y_t=O((()=>{})),X_t=O((()=>{})),Z_t=O((()=>{})),Q_t=O((()=>{})),$_t=O((()=>{})),evt=O((()=>{})),tvt=O((()=>{})),nvt=O((()=>{})),rvt=O((()=>{})),ivt=O((()=>{})),avt=O((()=>{})),ovt=O((()=>{})),svt=O((()=>{})),cvt=O((()=>{})),lvt=O((()=>{})),uvt=O((()=>{})),dvt=O((()=>{})),fvt=O((()=>{})),pvt=O((()=>{})),mvt=O((()=>{})),hvt=O((()=>{})),gvt=O((()=>{})),_vt=O((()=>{})),vvt=O((()=>{})),yvt=O((()=>{})),bvt=O((()=>{})),xvt=O((()=>{})),Svt=O((()=>{})),Cvt=O((()=>{})),wvt=O((()=>{})),Tvt=O((()=>{})),Evt=O((()=>{})),Dvt=O((()=>{})),Ovt=O((()=>{})),kvt=O((()=>{})),Avt=O((()=>{})),jvt=O((()=>{})),Mvt=O((()=>{})),Nvt=O((()=>{})),Pvt=O((()=>{})),Fvt=O((()=>{})),Ivt=O((()=>{})),Lvt=O((()=>{})),Rvt=O((()=>{})),zvt=O((()=>{})),Bvt=O((()=>{})),Vvt=O((()=>{})),Hvt=O((()=>{})),Uvt=O((()=>{})),Wvt=O((()=>{})),Gvt=O((()=>{})),Kvt=O((()=>{})),qvt=O((()=>{})),Jvt=O((()=>{})),Yvt=O((()=>{})),Xvt=O((()=>{})),Zvt=O((()=>{})),Qvt=O((()=>{})),$vt=O((()=>{})),eyt=O((()=>{})),tyt=O((()=>{})),nyt=O((()=>{})),ryt=O((()=>{})),iyt=O((()=>{})),ayt=O((()=>{})),oyt=O((()=>{})),syt=O((()=>{})),cyt=O((()=>{})),lyt=O((()=>{})),uyt=O((()=>{})),dyt=O((()=>{})),fyt=O((()=>{})),pyt=O((()=>{})),myt=O((()=>{})),hyt=O((()=>{})),gyt=O((()=>{})),_yt=O((()=>{})),vyt=O((()=>{})),yyt=O((()=>{})),byt=O((()=>{})),xyt=O((()=>{})),Syt=O((()=>{})),Cyt=O((()=>{})),wyt=O((()=>{})),Tyt=O((()=>{})),Eyt=O((()=>{})),Dyt=O((()=>{})),Oyt=O((()=>{})),kyt=O((()=>{})),Ayt=O((()=>{})),jyt=O((()=>{})),Myt=O((()=>{})),Nyt=O((()=>{})),Pyt=O((()=>{})),Fyt=O((()=>{})),Iyt=O((()=>{})),Lyt=O((()=>{})),Ryt=O((()=>{})),zyt=O((()=>{})),Byt=O((()=>{})),Vyt=O((()=>{})),Hyt=O((()=>{})),Uyt=O((()=>{})),Wyt=O((()=>{})),Gyt=O((()=>{})),Kyt=O((()=>{})),qyt=O((()=>{})),Jyt=O((()=>{})),Yyt=O((()=>{})),Xyt=O((()=>{})),Zyt=O((()=>{})),Qyt=O((()=>{})),$yt=O((()=>{})),ebt=O((()=>{})),tbt=O((()=>{})),nbt=O((()=>{})),rbt=O((()=>{})),ibt=O((()=>{})),abt=O((()=>{})),obt=O((()=>{})),sbt=O((()=>{})),cbt=O((()=>{})),lbt=O((()=>{})),ubt=O((()=>{})),dbt=O((()=>{})),fbt=O((()=>{})),pbt=O((()=>{})),mbt=O((()=>{})),hbt=O((()=>{})),gbt=O((()=>{})),_bt=O((()=>{})),vbt=O((()=>{})),ybt=O((()=>{})),bbt=O((()=>{})),xbt=O((()=>{})),Sbt=O((()=>{})),Cbt=O((()=>{})),wbt=O((()=>{})),Tbt=O((()=>{})),Ebt=O((()=>{})),Dbt=O((()=>{})),Obt=O((()=>{})),kbt=O((()=>{})),Abt=O((()=>{})),jbt=O((()=>{})),Mbt=O((()=>{})),Nbt=O((()=>{})),Pbt=O((()=>{})),Fbt=O((()=>{})),Ibt=O((()=>{})),Lbt=O((()=>{})),Rbt=O((()=>{})),zbt=O((()=>{})),Bbt=O((()=>{})),Vbt=O((()=>{})),Hbt=O((()=>{})),Ubt=O((()=>{})),Wbt=O((()=>{})),Gbt=O((()=>{})),Kbt=O((()=>{})),qbt=O((()=>{})),Jbt=O((()=>{})),Ybt=O((()=>{})),Xbt=O((()=>{})),Zbt=O((()=>{})),Qbt=O((()=>{})),$bt=O((()=>{})),ext=O((()=>{})),txt=O((()=>{})),nxt=O((()=>{})),rxt=O((()=>{})),ixt=O((()=>{})),axt=O((()=>{})),oxt=O((()=>{})),sxt=O((()=>{})),cxt=O((()=>{})),lxt=O((()=>{})),uxt=O((()=>{})),dxt=O((()=>{})),fxt=O((()=>{})),pxt=O((()=>{})),mxt=O((()=>{})),hxt=O((()=>{})),gxt=O((()=>{})),_xt=O((()=>{})),vxt=O((()=>{})),yxt=O((()=>{})),bxt=O((()=>{})),xxt=O((()=>{})),Sxt=O((()=>{})),Cxt=O((()=>{})),wxt=O((()=>{})),Txt=O((()=>{})),Ext=O((()=>{})),Dxt=O((()=>{})),Oxt=O((()=>{})),kxt=O((()=>{})),Axt=O((()=>{})),jxt=O((()=>{})),Mxt=O((()=>{})),Nxt=O((()=>{})),Pxt=O((()=>{})),Fxt=O((()=>{})),Ixt=O((()=>{})),Lxt=O((()=>{})),Rxt=O((()=>{})),zxt=O((()=>{})),Bxt=O((()=>{})),Vxt=O((()=>{})),Hxt=O((()=>{})),Uxt=O((()=>{})),Wxt=O((()=>{})),Gxt=O((()=>{})),Kxt=O((()=>{})),qxt=O((()=>{})),Jxt=O((()=>{})),Yxt=O((()=>{})),Xxt=O((()=>{})),Zxt=O((()=>{})),Qxt=O((()=>{})),$xt=O((()=>{})),eSt=O((()=>{})),tSt=O((()=>{})),nSt=O((()=>{})),rSt=O((()=>{})),iSt=O((()=>{})),aSt=O((()=>{})),oSt=O((()=>{})),sSt=O((()=>{})),cSt=O((()=>{})),lSt=O((()=>{})),uSt=O((()=>{})),dSt=O((()=>{})),fSt=O((()=>{})),pSt=O((()=>{})),mSt=O((()=>{})),hSt=O((()=>{})),gSt=O((()=>{})),_St=O((()=>{})),vSt=O((()=>{})),ySt=O((()=>{})),bSt=O((()=>{})),xSt=O((()=>{})),SSt=O((()=>{})),CSt=O((()=>{})),wSt=O((()=>{})),TSt=O((()=>{})),ESt=O((()=>{})),DSt=O((()=>{})),OSt=O((()=>{})),kSt=O((()=>{})),ASt=O((()=>{})),jSt=O((()=>{})),MSt=O((()=>{})),NSt=O((()=>{})),PSt=O((()=>{})),FSt=O((()=>{})),ISt=O((()=>{})),LSt=O((()=>{})),RSt=O((()=>{})),zSt=O((()=>{})),BSt=O((()=>{})),VSt=O((()=>{})),HSt=O((()=>{})),USt=O((()=>{})),WSt=O((()=>{})),GSt=O((()=>{})),KSt=O((()=>{})),qSt=O((()=>{})),JSt=O((()=>{})),YSt=O((()=>{})),XSt=O((()=>{})),ZSt=O((()=>{})),QSt=O((()=>{})),$St=O((()=>{})),eCt=O((()=>{})),tCt=O((()=>{})),nCt=O((()=>{})),rCt=O((()=>{})),iCt=O((()=>{})),aCt=O((()=>{})),oCt=O((()=>{})),sCt=O((()=>{})),cCt=O((()=>{})),lCt=O((()=>{})),uCt=O((()=>{})),dCt=O((()=>{})),fCt=O((()=>{})),pCt=O((()=>{})),mCt=O((()=>{})),hCt=O((()=>{})),gCt=O((()=>{})),_Ct=O((()=>{})),vCt=O((()=>{})),yCt=O((()=>{})),bCt=O((()=>{})),xCt=O((()=>{})),SCt=O((()=>{})),CCt=O((()=>{})),wCt=O((()=>{})),TCt=O((()=>{})),ECt=O((()=>{})),DCt=O((()=>{})),OCt=O((()=>{})),kCt=O((()=>{})),ACt=O((()=>{})),jCt=O((()=>{})),MCt=O((()=>{})),NCt=O((()=>{})),PCt=O((()=>{})),FCt=O((()=>{})),ICt=O((()=>{})),LCt=O((()=>{})),RCt=O((()=>{})),zCt=O((()=>{})),BCt=O((()=>{})),VCt=O((()=>{})),HCt=O((()=>{})),UCt=O((()=>{})),WCt=O((()=>{})),GCt=O((()=>{})),KCt=O((()=>{})),qCt=O((()=>{})),JCt=O((()=>{})),YCt=O((()=>{})),XCt=O((()=>{})),ZCt=O((()=>{})),QCt=O((()=>{})),$Ct=O((()=>{})),ewt=O((()=>{})),twt=O((()=>{})),nwt=O((()=>{})),rwt=O((()=>{})),iwt=O((()=>{})),awt=O((()=>{})),owt=O((()=>{})),swt=O((()=>{})),cwt=O((()=>{})),lwt=O((()=>{})),uwt=O((()=>{})),dwt=O((()=>{})),fwt=O((()=>{})),pwt=O((()=>{})),mwt=O((()=>{})),hwt=O((()=>{})),gwt=O((()=>{})),_wt=O((()=>{})),vwt=O((()=>{})),ywt=O((()=>{})),bwt=O((()=>{})),xwt=O((()=>{})),Swt=O((()=>{})),Cwt=O((()=>{})),wwt=O((()=>{})),Twt=O((()=>{})),Ewt=O((()=>{})),Dwt=O((()=>{})),Owt=O((()=>{})),kwt=O((()=>{})),Awt=O((()=>{})),jwt=O((()=>{})),Mwt=O((()=>{})),Nwt=O((()=>{})),Pwt=O((()=>{})),Fwt=O((()=>{})),Iwt=O((()=>{})),Lwt=O((()=>{})),Rwt=O((()=>{})),zwt=O((()=>{})),Bwt=O((()=>{})),Vwt=O((()=>{})),Hwt=O((()=>{})),Uwt=O((()=>{})),Wwt=O((()=>{})),Gwt=O((()=>{})),Kwt=O((()=>{})),qwt=O((()=>{})),Jwt=O((()=>{})),Ywt=O((()=>{})),Xwt=O((()=>{})),Zwt=O((()=>{})),Qwt=O((()=>{})),$wt=O((()=>{})),eTt=O((()=>{})),tTt=O((()=>{})),nTt=O((()=>{})),rTt=O((()=>{})),iTt=O((()=>{})),aTt=O((()=>{})),oTt=O((()=>{})),sTt=O((()=>{})),cTt=O((()=>{})),lTt=O((()=>{})),uTt=O((()=>{})),dTt=O((()=>{})),fTt=O((()=>{})),pTt=O((()=>{})),mTt=O((()=>{})),hTt=O((()=>{})),gTt=O((()=>{})),_Tt=O((()=>{})),vTt=O((()=>{})),yTt=O((()=>{})),bTt=O((()=>{})),xTt=O((()=>{})),STt=O((()=>{})),CTt=O((()=>{})),wTt=O((()=>{})),TTt=O((()=>{})),ETt=O((()=>{})),DTt=O((()=>{})),OTt=O((()=>{})),kTt=O((()=>{})),ATt=O((()=>{})),jTt=O((()=>{})),MTt=O((()=>{})),NTt=O((()=>{})),PTt=O((()=>{})),FTt=O((()=>{})),ITt=O((()=>{})),LTt=O((()=>{})),RTt=O((()=>{})),zTt=O((()=>{})),BTt=O((()=>{})),VTt=O((()=>{})),HTt=O((()=>{})),UTt=O((()=>{})),WTt=O((()=>{})),GTt=O((()=>{})),KTt=O((()=>{})),qTt=O((()=>{})),JTt=O((()=>{})),YTt=O((()=>{})),XTt=O((()=>{})),ZTt=O((()=>{})),QTt=O((()=>{})),$Tt=O((()=>{})),eEt=O((()=>{})),tEt=O((()=>{})),nEt=O((()=>{})),rEt=O((()=>{})),iEt=O((()=>{})),aEt=O((()=>{})),oEt=O((()=>{})),sEt=O((()=>{})),cEt=O((()=>{})),lEt=O((()=>{})),uEt=O((()=>{})),dEt=O((()=>{})),fEt=O((()=>{})),pEt=O((()=>{})),mEt=O((()=>{})),hEt=O((()=>{})),gEt=O((()=>{})),_Et=O((()=>{})),vEt=O((()=>{})),yEt=O((()=>{})),bEt=O((()=>{})),xEt=O((()=>{})),SEt=O((()=>{})),CEt=O((()=>{})),wEt=O((()=>{})),TEt=O((()=>{})),EEt=O((()=>{})),DEt=O((()=>{})),OEt=O((()=>{})),kEt=O((()=>{})),AEt=O((()=>{})),jEt=O((()=>{})),MEt=O((()=>{})),NEt=O((()=>{})),PEt=O((()=>{})),FEt=O((()=>{})),IEt=O((()=>{})),LEt=O((()=>{})),REt=O((()=>{})),zEt=O((()=>{})),BEt=O((()=>{})),VEt=O((()=>{})),HEt=O((()=>{})),UEt=O((()=>{})),WEt=O((()=>{})),GEt=O((()=>{})),KEt=O((()=>{})),qEt=O((()=>{})),JEt=O((()=>{})),YEt=O((()=>{})),XEt=O((()=>{})),ZEt=O((()=>{})),QEt=O((()=>{})),$Et=O((()=>{})),eDt=O((()=>{})),tDt=O((()=>{})),nDt=O((()=>{})),rDt=O((()=>{})),iDt=O((()=>{})),aDt=O((()=>{})),oDt=O((()=>{})),sDt=O((()=>{})),cDt=O((()=>{})),lDt=O((()=>{})),uDt=O((()=>{})),dDt=O((()=>{})),fDt=O((()=>{})),pDt=O((()=>{})),mDt=O((()=>{})),hDt=O((()=>{})),gDt=O((()=>{})),_Dt=O((()=>{})),vDt=O((()=>{})),yDt=O((()=>{})),bDt=O((()=>{})),xDt=O((()=>{})),SDt=O((()=>{})),CDt=O((()=>{})),wDt=O((()=>{})),TDt=O((()=>{})),EDt=O((()=>{})),DDt=O((()=>{})),ODt=O((()=>{})),kDt=O((()=>{})),ADt=O((()=>{})),jDt=O((()=>{})),MDt=O((()=>{})),NDt=O((()=>{})),PDt=O((()=>{})),FDt=O((()=>{})),IDt=O((()=>{})),LDt=O((()=>{})),RDt=O((()=>{})),zDt=O((()=>{})),BDt=O((()=>{})),VDt=O((()=>{})),HDt=O((()=>{})),UDt=O((()=>{})),WDt=O((()=>{})),GDt=O((()=>{})),KDt=O((()=>{})),qDt=O((()=>{})),JDt=O((()=>{})),YDt=O((()=>{})),XDt=O((()=>{})),ZDt=O((()=>{})),QDt=O((()=>{})),$Dt=O((()=>{})),eOt=O((()=>{})),tOt=O((()=>{})),nOt=O((()=>{})),rOt=O((()=>{})),iOt=O((()=>{})),aOt=O((()=>{})),oOt=O((()=>{})),sOt=O((()=>{})),cOt=O((()=>{})),lOt=O((()=>{})),uOt=O((()=>{})),dOt=O((()=>{})),fOt=O((()=>{})),pOt=O((()=>{})),mOt=O((()=>{})),hOt=O((()=>{})),gOt=O((()=>{})),_Ot=O((()=>{})),vOt=O((()=>{})),yOt=O((()=>{})),bOt=O((()=>{})),xOt=O((()=>{})),SOt=O((()=>{})),COt=O((()=>{})),wOt=O((()=>{})),TOt=O((()=>{})),EOt=O((()=>{})),DOt=O((()=>{})),OOt=O((()=>{})),kOt=O((()=>{})),AOt=O((()=>{})),jOt=O((()=>{})),MOt=O((()=>{})),NOt=O((()=>{})),POt=O((()=>{})),FOt=O((()=>{})),IOt=O((()=>{})),LOt=O((()=>{})),ROt=O((()=>{})),zOt=O((()=>{})),BOt=O((()=>{})),VOt=O((()=>{})),HOt=O((()=>{})),UOt=O((()=>{})),WOt=O((()=>{})),GOt=O((()=>{})),KOt=O((()=>{})),qOt=O((()=>{})),JOt=O((()=>{})),YOt=O((()=>{})),XOt=O((()=>{})),ZOt=O((()=>{})),QOt=O((()=>{})),$Ot=O((()=>{})),ekt=O((()=>{})),tkt=O((()=>{})),nkt=O((()=>{})),rkt=O((()=>{})),ikt=O((()=>{})),akt=O((()=>{})),okt=O((()=>{})),skt=O((()=>{})),ckt=O((()=>{})),lkt=O((()=>{})),ukt=O((()=>{})),dkt=O((()=>{})),fkt=O((()=>{})),pkt=O((()=>{})),mkt=O((()=>{})),hkt=O((()=>{})),gkt=O((()=>{})),_kt=O((()=>{})),vkt=O((()=>{})),ykt=O((()=>{})),bkt=O((()=>{})),xkt=O((()=>{})),Skt=O((()=>{})),Ckt=O((()=>{})),wkt=O((()=>{})),Tkt=O((()=>{})),Ekt=O((()=>{})),Dkt=O((()=>{})),Okt=O((()=>{})),kkt=O((()=>{})),Akt=O((()=>{})),jkt=O((()=>{})),Mkt=O((()=>{})),Nkt=O((()=>{})),Pkt=O((()=>{})),Fkt=O((()=>{})),Ikt=O((()=>{})),Lkt=O((()=>{})),Rkt=O((()=>{})),zkt=O((()=>{})),Bkt=O((()=>{})),Vkt=O((()=>{})),Hkt=O((()=>{})),Ukt=O((()=>{})),Wkt=O((()=>{})),Gkt=O((()=>{})),Kkt=O((()=>{})),qkt=O((()=>{})),Jkt=O((()=>{})),Ykt=O((()=>{})),Xkt=O((()=>{})),Zkt=O((()=>{})),Qkt=O((()=>{})),$kt=O((()=>{})),eAt=O((()=>{})),tAt=O((()=>{})),nAt=O((()=>{})),rAt=O((()=>{})),iAt=O((()=>{})),aAt=O((()=>{})),oAt=O((()=>{})),sAt=O((()=>{})),cAt=O((()=>{})),lAt=O((()=>{})),uAt=O((()=>{})),dAt=O((()=>{})),fAt=O((()=>{})),pAt=O((()=>{})),mAt=O((()=>{})),hAt=O((()=>{})),gAt=O((()=>{})),_At=O((()=>{})),vAt=O((()=>{})),yAt=O((()=>{})),bAt=O((()=>{})),xAt=O((()=>{})),SAt=O((()=>{})),CAt=O((()=>{})),wAt=O((()=>{})),TAt=O((()=>{})),EAt=O((()=>{})),DAt=O((()=>{})),OAt=O((()=>{})),kAt=O((()=>{})),AAt=O((()=>{})),jAt=O((()=>{})),MAt=O((()=>{})),NAt=O((()=>{})),PAt=O((()=>{})),FAt=O((()=>{})),IAt=O((()=>{})),LAt=O((()=>{})),RAt=O((()=>{})),zAt=O((()=>{})),BAt=O((()=>{})),VAt=O((()=>{})),HAt=O((()=>{})),UAt=O((()=>{})),WAt=O((()=>{})),GAt=O((()=>{})),KAt=O((()=>{})),qAt=O((()=>{})),JAt=O((()=>{})),YAt=O((()=>{})),XAt=O((()=>{})),ZAt=O((()=>{})),QAt=O((()=>{})),$At=O((()=>{})),ejt=O((()=>{})),tjt=O((()=>{})),njt=O((()=>{})),rjt=O((()=>{})),ijt=O((()=>{})),ajt=O((()=>{})),ojt=O((()=>{})),sjt=O((()=>{})),cjt=O((()=>{})),ljt=O((()=>{})),ujt=O((()=>{})),djt=O((()=>{})),fjt=O((()=>{})),pjt=O((()=>{})),mjt=O((()=>{})),hjt=O((()=>{})),gjt=O((()=>{})),_jt=O((()=>{})),vjt=O((()=>{})),yjt=O((()=>{})),bjt=O((()=>{})),xjt=O((()=>{})),Sjt=O((()=>{})),Cjt=O((()=>{})),wjt=O((()=>{})),Tjt=O((()=>{})),Ejt=O((()=>{})),Djt=O((()=>{})),Ojt=O((()=>{})),kjt=O((()=>{})),Ajt=O((()=>{})),jjt=O((()=>{})),Mjt=O((()=>{})),Njt=O((()=>{})),Pjt=O((()=>{})),Fjt=O((()=>{})),Ijt=O((()=>{})),Ljt=O((()=>{})),Rjt=O((()=>{})),zjt=O((()=>{})),Bjt=O((()=>{})),Vjt=O((()=>{})),Hjt=O((()=>{})),Ujt=O((()=>{})),Wjt=O((()=>{})),Gjt=O((()=>{})),Kjt=O((()=>{})),qjt=O((()=>{})),Jjt=O((()=>{})),Yjt=O((()=>{})),Xjt=O((()=>{})),Zjt=O((()=>{})),Qjt=O((()=>{})),$jt=O((()=>{})),eMt=O((()=>{})),tMt=O((()=>{})),nMt=O((()=>{})),rMt=O((()=>{})),iMt=O((()=>{})),aMt=O((()=>{})),oMt=O((()=>{})),sMt=O((()=>{})),cMt=O((()=>{})),lMt=O((()=>{})),uMt=O((()=>{})),dMt=O((()=>{})),fMt=O((()=>{})),pMt=O((()=>{})),mMt=O((()=>{})),hMt=O((()=>{})),gMt=O((()=>{})),_Mt=O((()=>{})),vMt=O((()=>{})),yMt=O((()=>{})),bMt=O((()=>{})),xMt=O((()=>{})),SMt=O((()=>{})),CMt=O((()=>{})),wMt=O((()=>{})),TMt=O((()=>{})),EMt=O((()=>{})),DMt=O((()=>{})),OMt=O((()=>{})),kMt=O((()=>{})),AMt=O((()=>{})),jMt=O((()=>{})),MMt=O((()=>{})),NMt=O((()=>{})),PMt=O((()=>{})),FMt=O((()=>{})),IMt=O((()=>{})),LMt=O((()=>{})),RMt=O((()=>{})),zMt=O((()=>{})),BMt=O((()=>{})),VMt=O((()=>{})),HMt=O((()=>{})),UMt=O((()=>{})),WMt=O((()=>{})),GMt=O((()=>{})),KMt=O((()=>{})),qMt=O((()=>{})),JMt=O((()=>{})),YMt=O((()=>{})),XMt=O((()=>{})),ZMt=O((()=>{})),QMt=O((()=>{})),$Mt=O((()=>{})),eNt=O((()=>{})),tNt=O((()=>{})),nNt=O((()=>{})),rNt=O((()=>{})),iNt=O((()=>{})),aNt=O((()=>{})),oNt=O((()=>{})),sNt=O((()=>{})),cNt=O((()=>{})),lNt=O((()=>{})),uNt=O((()=>{})),dNt=O((()=>{})),fNt=O((()=>{})),pNt=O((()=>{})),mNt=O((()=>{})),hNt=O((()=>{})),gNt=O((()=>{})),_Nt=O((()=>{})),vNt=O((()=>{})),yNt=O((()=>{})),bNt=O((()=>{})),xNt=O((()=>{})),SNt=O((()=>{})),CNt=O((()=>{})),wNt=O((()=>{})),TNt=O((()=>{})),ENt=O((()=>{})),DNt=O((()=>{})),ONt=O((()=>{})),kNt=O((()=>{})),ANt=O((()=>{})),jNt=O((()=>{})),MNt=O((()=>{})),NNt=O((()=>{})),PNt=O((()=>{})),FNt=O((()=>{})),INt=O((()=>{})),LNt=O((()=>{})),RNt=O((()=>{})),zNt=O((()=>{})),BNt=O((()=>{})),VNt=O((()=>{})),HNt=O((()=>{})),UNt=O((()=>{})),WNt=O((()=>{})),GNt=O((()=>{})),KNt=O((()=>{})),qNt=O((()=>{})),JNt=O((()=>{})),YNt=O((()=>{})),XNt=O((()=>{})),ZNt=O((()=>{})),QNt=O((()=>{})),$Nt=O((()=>{})),ePt=O((()=>{})),tPt=O((()=>{})),nPt=O((()=>{})),rPt=O((()=>{})),iPt=O((()=>{})),aPt=O((()=>{})),oPt=O((()=>{})),sPt=O((()=>{})),cPt=O((()=>{})),lPt=O((()=>{})),uPt=O((()=>{})),dPt=O((()=>{})),fPt=O((()=>{})),pPt=O((()=>{})),mPt=O((()=>{})),hPt=O((()=>{})),gPt=O((()=>{})),_Pt=O((()=>{})),vPt=O((()=>{})),yPt=O((()=>{})),bPt=O((()=>{})),xPt=O((()=>{})),SPt=O((()=>{})),CPt=O((()=>{})),wPt=O((()=>{})),TPt=O((()=>{})),EPt=O((()=>{})),DPt=O((()=>{})),OPt=O((()=>{})),kPt=O((()=>{})),APt=O((()=>{})),jPt=O((()=>{})),MPt=O((()=>{})),NPt=O((()=>{})),PPt=O((()=>{})),FPt=O((()=>{})),IPt=O((()=>{})),LPt=O((()=>{})),RPt=O((()=>{})),zPt=O((()=>{})),BPt=O((()=>{})),VPt=O((()=>{})),HPt=O((()=>{})),UPt=O((()=>{})),WPt=O((()=>{})),GPt=O((()=>{})),KPt=O((()=>{})),qPt=O((()=>{})),JPt=O((()=>{})),YPt=O((()=>{})),XPt=O((()=>{})),ZPt=O((()=>{})),QPt=O((()=>{})),$Pt=O((()=>{})),eFt=O((()=>{})),tFt=O((()=>{})),nFt=O((()=>{})),rFt=O((()=>{})),iFt=O((()=>{})),aFt=O((()=>{})),oFt=O((()=>{})),sFt=O((()=>{})),cFt=O((()=>{})),lFt=O((()=>{})),uFt=O((()=>{})),dFt=O((()=>{})),fFt=O((()=>{})),pFt=O((()=>{})),mFt=O((()=>{})),hFt=O((()=>{})),gFt=O((()=>{})),_Ft=O((()=>{})),vFt=O((()=>{})),yFt=O((()=>{})),bFt=O((()=>{})),xFt=O((()=>{})),SFt=O((()=>{})),CFt=O((()=>{})),wFt=O((()=>{})),TFt=O((()=>{})),EFt=O((()=>{})),DFt=O((()=>{})),OFt=O((()=>{})),kFt=O((()=>{})),AFt=O((()=>{})),jFt=O((()=>{})),MFt=O((()=>{})),NFt=O((()=>{})),PFt=O((()=>{})),FFt=O((()=>{})),IFt=O((()=>{})),LFt=O((()=>{})),RFt=O((()=>{})),zFt=O((()=>{})),BFt=O((()=>{})),VFt=O((()=>{})),HFt=O((()=>{})),UFt=O((()=>{})),WFt=O((()=>{})),GFt=O((()=>{})),KFt=O((()=>{})),qFt=O((()=>{})),JFt=O((()=>{})),YFt=O((()=>{})),XFt=O((()=>{})),ZFt=O((()=>{})),QFt=O((()=>{})),$Ft=O((()=>{})),eIt=O((()=>{})),tIt=O((()=>{})),nIt=O((()=>{})),rIt=O((()=>{})),iIt=O((()=>{})),aIt=O((()=>{})),oIt=O((()=>{})),sIt=O((()=>{})),cIt=O((()=>{})),lIt=O((()=>{})),uIt=O((()=>{})),dIt=O((()=>{})),fIt=O((()=>{})),pIt=O((()=>{})),mIt=O((()=>{})),hIt=O((()=>{})),gIt=O((()=>{})),_It=O((()=>{})),vIt=O((()=>{})),yIt=O((()=>{})),bIt=O((()=>{})),xIt=O((()=>{})),SIt=O((()=>{})),CIt=O((()=>{})),wIt=O((()=>{})),TIt=O((()=>{})),EIt=O((()=>{})),DIt=O((()=>{})),OIt=O((()=>{})),kIt=O((()=>{})),AIt=O((()=>{})),jIt=O((()=>{})),MIt=O((()=>{})),NIt=O((()=>{})),PIt=O((()=>{})),FIt=O((()=>{})),IIt=O((()=>{})),LIt=O((()=>{})),RIt=O((()=>{})),zIt=O((()=>{})),BIt=O((()=>{})),VIt=O((()=>{})),HIt=O((()=>{})),UIt=O((()=>{})),WIt=O((()=>{})),GIt=O((()=>{})),KIt=O((()=>{})),qIt=O((()=>{})),JIt=O((()=>{})),YIt=O((()=>{})),XIt=O((()=>{})),ZIt=O((()=>{})),QIt=O((()=>{})),$It=O((()=>{})),eLt=O((()=>{})),tLt=O((()=>{})),nLt=O((()=>{})),rLt=O((()=>{})),iLt=O((()=>{})),aLt=O((()=>{})),oLt=O((()=>{})),sLt=O((()=>{})),cLt=O((()=>{})),lLt=O((()=>{})),uLt=O((()=>{})),dLt=O((()=>{})),fLt=O((()=>{})),pLt=O((()=>{})),mLt=O((()=>{})),hLt=O((()=>{})),gLt=O((()=>{})),_Lt=O((()=>{})),vLt=O((()=>{})),yLt=O((()=>{})),bLt=O((()=>{})),xLt=O((()=>{})),SLt=O((()=>{})),CLt=O((()=>{})),wLt=O((()=>{})),TLt=O((()=>{})),ELt=O((()=>{})),DLt=O((()=>{})),OLt=O((()=>{})),kLt=O((()=>{})),ALt=O((()=>{})),jLt=O((()=>{})),MLt=O((()=>{})),NLt=O((()=>{})),PLt=O((()=>{})),FLt=O((()=>{})),ILt=O((()=>{})),LLt=O((()=>{})),RLt=O((()=>{})),zLt=O((()=>{})),BLt=O((()=>{})),VLt=O((()=>{})),HLt=O((()=>{})),ULt=O((()=>{})),WLt=O((()=>{})),GLt=O((()=>{})),KLt=O((()=>{})),qLt=O((()=>{})),JLt=O((()=>{})),YLt=O((()=>{})),XLt=O((()=>{})),ZLt=O((()=>{})),QLt=O((()=>{})),$Lt=O((()=>{})),eRt=O((()=>{})),tRt=O((()=>{})),nRt=O((()=>{})),rRt=O((()=>{})),iRt=O((()=>{})),aRt=O((()=>{})),oRt=O((()=>{})),sRt=O((()=>{})),cRt=O((()=>{})),lRt=O((()=>{})),uRt=O((()=>{})),dRt=O((()=>{})),fRt=O((()=>{})),pRt=O((()=>{})),mRt=O((()=>{})),hRt=O((()=>{})),gRt=O((()=>{})),_Rt=O((()=>{})),vRt=O((()=>{})),yRt=O((()=>{})),bRt=O((()=>{})),xRt=O((()=>{})),SRt=O((()=>{})),CRt=O((()=>{})),wRt=O((()=>{})),TRt=O((()=>{})),ERt=O((()=>{})),DRt=O((()=>{})),ORt=O((()=>{})),kRt=O((()=>{})),ARt=O((()=>{})),jRt=O((()=>{})),MRt=O((()=>{})),NRt=O((()=>{})),PRt=O((()=>{})),FRt=O((()=>{})),IRt=O((()=>{})),LRt=O((()=>{})),RRt=O((()=>{})),zRt=O((()=>{})),BRt=O((()=>{})),VRt=O((()=>{})),HRt=O((()=>{})),URt=O((()=>{})),WRt=O((()=>{})),GRt=O((()=>{})),KRt=O((()=>{})),qRt=O((()=>{})),JRt=O((()=>{})),YRt=O((()=>{})),XRt=O((()=>{})),ZRt=O((()=>{})),QRt=O((()=>{})),$Rt=O((()=>{})),ezt=O((()=>{})),tzt=O((()=>{})),nzt=O((()=>{})),rzt=O((()=>{})),izt=O((()=>{})),azt=O((()=>{})),ozt=O((()=>{})),szt=O((()=>{})),czt=O((()=>{})),lzt=O((()=>{})),uzt=O((()=>{})),dzt=O((()=>{})),fzt=O((()=>{})),pzt=O((()=>{})),mzt=O((()=>{})),hzt=O((()=>{})),gzt=O((()=>{})),_zt=O((()=>{})),vzt=O((()=>{})),yzt=O((()=>{})),bzt=O((()=>{})),xzt=O((()=>{})),Szt=O((()=>{})),Czt=O((()=>{})),wzt=O((()=>{})),Tzt=O((()=>{})),Ezt=O((()=>{})),Dzt=O((()=>{})),Ozt=O((()=>{})),kzt=O((()=>{})),Azt=O((()=>{})),jzt=O((()=>{})),Mzt=O((()=>{})),Nzt=O((()=>{})),Pzt=O((()=>{})),Fzt=O((()=>{})),Izt=O((()=>{})),Lzt=O((()=>{})),Rzt=O((()=>{})),zzt=O((()=>{})),Bzt=O((()=>{})),Vzt=O((()=>{})),Hzt=O((()=>{})),Uzt=O((()=>{})),Wzt=O((()=>{})),Gzt=O((()=>{})),Kzt=O((()=>{})),qzt=O((()=>{})),Jzt=O((()=>{})),Yzt=O((()=>{})),Xzt=O((()=>{})),Zzt=O((()=>{})),Qzt=O((()=>{})),$zt=O((()=>{})),eBt=O((()=>{})),tBt=O((()=>{})),nBt=O((()=>{})),rBt=O((()=>{})),iBt=O((()=>{})),aBt=O((()=>{})),oBt=O((()=>{})),sBt=O((()=>{})),cBt=O((()=>{})),lBt=O((()=>{})),uBt=O((()=>{})),dBt=O((()=>{})),fBt=O((()=>{})),pBt=O((()=>{})),mBt=O((()=>{})),hBt=O((()=>{})),gBt=O((()=>{})),_Bt=O((()=>{})),vBt=O((()=>{})),yBt=O((()=>{})),bBt=O((()=>{})),xBt=O((()=>{})),SBt=O((()=>{})),CBt=O((()=>{})),wBt=O((()=>{})),TBt=O((()=>{})),EBt=O((()=>{})),DBt=O((()=>{})),OBt=O((()=>{})),kBt=O((()=>{})),ABt=O((()=>{})),jBt=O((()=>{})),MBt=O((()=>{})),NBt=O((()=>{})),PBt=O((()=>{})),FBt=O((()=>{})),IBt=O((()=>{})),LBt=O((()=>{})),RBt=O((()=>{})),zBt=O((()=>{})),BBt=O((()=>{})),VBt=O((()=>{})),HBt=O((()=>{})),UBt=O((()=>{})),WBt=O((()=>{})),GBt=O((()=>{})),KBt=O((()=>{})),qBt=O((()=>{})),JBt=O((()=>{})),YBt=O((()=>{})),XBt=O((()=>{})),ZBt=O((()=>{})),QBt=O((()=>{})),$Bt=O((()=>{})),eVt=O((()=>{})),tVt=O((()=>{})),nVt=O((()=>{})),rVt=O((()=>{})),iVt=O((()=>{})),aVt=O((()=>{})),oVt=O((()=>{})),sVt=O((()=>{})),cVt=O((()=>{})),lVt=O((()=>{})),uVt=O((()=>{})),dVt=O((()=>{})),fVt=O((()=>{})),pVt=O((()=>{})),mVt=O((()=>{})),hVt=O((()=>{})),gVt=O((()=>{})),_Vt=O((()=>{})),vVt=O((()=>{})),yVt=O((()=>{})),bVt=O((()=>{})),xVt=O((()=>{})),SVt=O((()=>{})),CVt=O((()=>{})),wVt=O((()=>{})),TVt=O((()=>{})),EVt=O((()=>{})),DVt=O((()=>{})),OVt=O((()=>{})),kVt=O((()=>{})),AVt=O((()=>{})),jVt=O((()=>{})),MVt=O((()=>{})),NVt=O((()=>{})),PVt=O((()=>{})),FVt=O((()=>{})),IVt=O((()=>{})),LVt=O((()=>{})),RVt=O((()=>{})),zVt=O((()=>{})),BVt=O((()=>{})),VVt=O((()=>{})),HVt=O((()=>{})),UVt=O((()=>{})),WVt=O((()=>{})),GVt=O((()=>{})),KVt=O((()=>{})),qVt=O((()=>{})),JVt=O((()=>{})),YVt=O((()=>{})),XVt=O((()=>{})),ZVt=O((()=>{})),QVt=O((()=>{})),$Vt=O((()=>{})),eHt=O((()=>{})),tHt=O((()=>{})),nHt=O((()=>{})),rHt=O((()=>{})),iHt=O((()=>{})),aHt=O((()=>{})),oHt=O((()=>{})),sHt=O((()=>{})),cHt=O((()=>{})),lHt=O((()=>{})),uHt=O((()=>{})),dHt=O((()=>{})),fHt=O((()=>{})),pHt=O((()=>{})),mHt=O((()=>{})),hHt=O((()=>{})),gHt=O((()=>{})),_Ht=O((()=>{})),vHt=O((()=>{})),yHt=O((()=>{})),bHt=O((()=>{})),xHt=O((()=>{})),SHt=O((()=>{})),CHt=O((()=>{})),wHt=O((()=>{})),THt=O((()=>{})),EHt=O((()=>{})),DHt=O((()=>{})),OHt=O((()=>{})),kHt=O((()=>{})),AHt=O((()=>{})),jHt=O((()=>{})),MHt=O((()=>{})),NHt=O((()=>{})),PHt=O((()=>{})),FHt=O((()=>{})),IHt=O((()=>{})),LHt=O((()=>{})),RHt=O((()=>{})),zHt=O((()=>{})),BHt=O((()=>{})),VHt=O((()=>{})),HHt=O((()=>{})),UHt=O((()=>{})),WHt=O((()=>{})),GHt=O((()=>{})),KHt=O((()=>{})),qHt=O((()=>{})),JHt=O((()=>{})),YHt=O((()=>{})),XHt=O((()=>{})),ZHt=O((()=>{})),QHt=O((()=>{})),$Ht=O((()=>{})),eUt=O((()=>{})),tUt=O((()=>{})),nUt=O((()=>{})),rUt=O((()=>{})),iUt=O((()=>{})),aUt=O((()=>{})),oUt=O((()=>{})),sUt=O((()=>{})),cUt=O((()=>{})),lUt=O((()=>{})),uUt=O((()=>{})),dUt=O((()=>{})),fUt=O((()=>{})),pUt=O((()=>{})),mUt=O((()=>{})),hUt=O((()=>{})),gUt=O((()=>{})),_Ut=O((()=>{})),vUt=O((()=>{})),yUt=O((()=>{})),bUt=O((()=>{})),xUt=O((()=>{})),SUt=O((()=>{})),CUt=O((()=>{})),wUt=O((()=>{})),TUt=O((()=>{})),EUt=O((()=>{})),DUt=O((()=>{})),OUt=O((()=>{})),kUt=O((()=>{})),AUt=O((()=>{})),jUt=O((()=>{})),MUt=O((()=>{iat(),aat(),oat(),sat(),cat(),lat(),uat(),dat(),fat(),pat(),mat(),hat(),gat(),_at(),vat(),yat(),bat(),xat(),Sat(),Cat(),wat(),Tat(),Eat(),Dat(),Oat(),kat(),Aat(),jat(),Mat(),Nat(),Pat(),Fat(),Iat(),Lat(),Rat(),zat(),Bat(),Vat(),Hat(),Uat(),Wat(),Gat(),Kat(),qat(),Jat(),Yat(),Xat(),Zat(),Qat(),$at(),eot(),tot(),not(),rot(),iot(),aot(),oot(),sot(),cot(),lot(),uot(),dot(),fot(),pot(),mot(),hot(),got(),_ot(),vot(),yot(),bot(),xot(),Sot(),Cot(),wot(),Tot(),Eot(),Dot(),Oot(),kot(),Aot(),jot(),Mot(),Not(),Pot(),Fot(),Iot(),Lot(),Rot(),zot(),Bot(),Vot(),Hot(),Uot(),Wot(),Got(),Kot(),qot(),Jot(),Yot(),Xot(),Zot(),Qot(),$ot(),est(),tst(),nst(),rst(),ist(),ast(),ost(),sst(),cst(),lst(),ust(),dst(),fst(),pst(),mst(),hst(),gst(),_st(),vst(),yst(),bst(),xst(),Sst(),Cst(),wst(),Tst(),Est(),Dst(),Ost(),kst(),Ast(),jst(),Mst(),Nst(),Pst(),Fst(),Ist(),Lst(),Rst(),zst(),Bst(),Vst(),Hst(),Ust(),Wst(),Gst(),Kst(),qst(),Jst(),Yst(),Xst(),Zst(),Qst(),$st(),ect(),tct(),nct(),rct(),ict(),act(),oct(),sct(),cct(),lct(),uct(),dct(),fct(),pct(),mct(),hct(),gct(),_ct(),vct(),yct(),bct(),xct(),Sct(),Cct(),wct(),Tct(),Ect(),Dct(),Oct(),kct(),Act(),jct(),Mct(),Nct(),Pct(),Fct(),Ict(),Lct(),Rct(),zct(),Bct(),Vct(),Hct(),Uct(),Wct(),Gct(),Kct(),qct(),Jct(),Yct(),Xct(),Zct(),Qct(),$ct(),elt(),tlt(),nlt(),rlt(),ilt(),alt(),olt(),slt(),clt(),llt(),ult(),dlt(),flt(),plt(),mlt(),hlt(),glt(),_lt(),vlt(),ylt(),blt(),xlt(),Slt(),Clt(),wlt(),Tlt(),Elt(),Dlt(),Olt(),klt(),Alt(),jlt(),Mlt(),Nlt(),Plt(),Flt(),Ilt(),Llt(),Rlt(),zlt(),Blt(),Vlt(),Hlt(),Ult(),Wlt(),Glt(),Klt(),qlt(),Jlt(),Ylt(),Xlt(),Zlt(),Qlt(),$lt(),eut(),tut(),nut(),rut(),iut(),aut(),out(),sut(),cut(),lut(),uut(),dut(),fut(),put(),mut(),hut(),gut(),_ut(),vut(),yut(),but(),xut(),Sut(),Cut(),wut(),Tut(),Eut(),Dut(),Out(),kut(),Aut(),jut(),Mut(),Nut(),Put(),Fut(),Iut(),Lut(),Rut(),zut(),But(),Vut(),Hut(),Uut(),Wut(),Gut(),Kut(),qut(),Jut(),Yut(),Xut(),Zut(),Qut(),$ut(),edt(),tdt(),ndt(),rdt(),idt(),adt(),odt(),sdt(),cdt(),ldt(),udt(),ddt(),fdt(),pdt(),mdt(),hdt(),gdt(),_dt(),vdt(),ydt(),bdt(),xdt(),Sdt(),Cdt(),wdt(),Tdt(),Edt(),Ddt(),Odt(),kdt(),Adt(),jdt(),Mdt(),Ndt(),Pdt(),Fdt(),Idt(),Ldt(),Rdt(),zdt(),Bdt(),Vdt(),Hdt(),Udt(),Wdt(),Gdt(),Kdt(),qdt(),Jdt(),Ydt(),Xdt(),Zdt(),Qdt(),$dt(),eft(),tft(),nft(),rft(),ift(),aft(),oft(),sft(),cft(),lft(),uft(),dft(),fft(),pft(),mft(),hft(),gft(),_ft(),vft(),yft(),bft(),xft(),Sft(),Cft(),wft(),Tft(),Eft(),Dft(),Oft(),kft(),Aft(),jft(),Mft(),Nft(),Pft(),Fft(),Ift(),Lft(),Rft(),zft(),Bft(),Vft(),Hft(),Uft(),Wft(),Gft(),Kft(),qft(),Jft(),Yft(),Xft(),Zft(),Qft(),$ft(),ept(),tpt(),npt(),rpt(),ipt(),apt(),opt(),spt(),cpt(),lpt(),upt(),dpt(),fpt(),ppt(),mpt(),hpt(),gpt(),_pt(),vpt(),ypt(),bpt(),xpt(),Spt(),Cpt(),wpt(),Tpt(),Ept(),Dpt(),Opt(),kpt(),Apt(),jpt(),Mpt(),Npt(),Ppt(),Fpt(),Ipt(),Lpt(),Rpt(),zpt(),Bpt(),Vpt(),Hpt(),Upt(),Wpt(),Gpt(),Kpt(),qpt(),Jpt(),Ypt(),Xpt(),Zpt(),Qpt(),$pt(),emt(),tmt(),nmt(),rmt(),imt(),amt(),omt(),smt(),cmt(),lmt(),umt(),dmt(),fmt(),pmt(),mmt(),hmt(),gmt(),_mt(),vmt(),ymt(),bmt(),xmt(),Smt(),Cmt(),wmt(),Tmt(),Emt(),Dmt(),Omt(),kmt(),Amt(),jmt(),Mmt(),Nmt(),Pmt(),Fmt(),Imt(),Lmt(),Rmt(),zmt(),Bmt(),Vmt(),Hmt(),Umt(),Wmt(),Gmt(),Kmt(),qmt(),Jmt(),Ymt(),Xmt(),Zmt(),Qmt(),$mt(),eht(),tht(),nht(),rht(),iht(),aht(),oht(),sht(),cht(),lht(),uht(),dht(),fht(),pht(),mht(),hht(),ght(),_ht(),vht(),yht(),bht(),xht(),Sht(),Cht(),wht(),Tht(),Eht(),Dht(),Oht(),kht(),Aht(),jht(),Mht(),Nht(),Pht(),Fht(),Iht(),Lht(),Rht(),zht(),Bht(),Vht(),Hht(),Uht(),Wht(),Ght(),Kht(),qht(),Jht(),Yht(),Xht(),Zht(),Qht(),$ht(),egt(),tgt(),ngt(),rgt(),igt(),agt(),ogt(),sgt(),cgt(),lgt(),ugt(),dgt(),fgt(),pgt(),mgt(),hgt(),ggt(),_gt(),vgt(),ygt(),bgt(),xgt(),Sgt(),Cgt(),wgt(),Tgt(),Egt(),Dgt(),Ogt(),kgt(),Agt(),jgt(),Mgt(),Ngt(),Pgt(),Fgt(),Igt(),Lgt(),Rgt(),zgt(),Bgt(),Vgt(),Hgt(),Ugt(),Wgt(),Ggt(),Kgt(),qgt(),Jgt(),Ygt(),Xgt(),Zgt(),Qgt(),$gt(),e_t(),t_t(),n_t(),r_t(),i_t(),a_t(),o_t(),s_t(),c_t(),l_t(),u_t(),d_t(),f_t(),p_t(),m_t(),h_t(),g_t(),__t(),v_t(),y_t(),b_t(),x_t(),S_t(),C_t(),w_t(),T_t(),E_t(),D_t(),O_t(),k_t(),A_t(),j_t(),M_t(),N_t(),P_t(),F_t(),I_t(),L_t(),R_t(),z_t(),B_t(),V_t(),H_t(),U_t(),W_t(),G_t(),K_t(),q_t(),J_t(),Y_t(),X_t(),Z_t(),Q_t(),$_t(),evt(),tvt(),nvt(),rvt(),ivt(),avt(),ovt(),svt(),cvt(),lvt(),uvt(),dvt(),fvt(),pvt(),mvt(),hvt(),gvt(),_vt(),vvt(),yvt(),bvt(),xvt(),Svt(),Cvt(),wvt(),Tvt(),Evt(),Dvt(),Ovt(),kvt(),Avt(),jvt(),Mvt(),Nvt(),Pvt(),Fvt(),Ivt(),Lvt(),Rvt(),zvt(),Bvt(),Vvt(),Hvt(),Uvt(),Wvt(),Gvt(),Kvt(),qvt(),Jvt(),Yvt(),Xvt(),Zvt(),Qvt(),$vt(),eyt(),tyt(),nyt(),ryt(),iyt(),ayt(),oyt(),syt(),cyt(),lyt(),uyt(),dyt(),fyt(),pyt(),myt(),hyt(),gyt(),_yt(),vyt(),yyt(),byt(),xyt(),Syt(),Cyt(),wyt(),Tyt(),Eyt(),Dyt(),Oyt(),kyt(),Ayt(),jyt(),Myt(),Nyt(),Pyt(),Fyt(),Iyt(),Lyt(),Ryt(),zyt(),Byt(),Vyt(),Hyt(),Uyt(),Wyt(),Gyt(),Kyt(),qyt(),Jyt(),Yyt(),Xyt(),Zyt(),Qyt(),$yt(),ebt(),tbt(),nbt(),rbt(),ibt(),abt(),obt(),sbt(),cbt(),lbt(),ubt(),dbt(),fbt(),pbt(),mbt(),hbt(),gbt(),_bt(),vbt(),ybt(),bbt(),xbt(),Sbt(),Cbt(),wbt(),Tbt(),Ebt(),Dbt(),Obt(),kbt(),Abt(),jbt(),Mbt(),Nbt(),Pbt(),Fbt(),Ibt(),Lbt(),Rbt(),zbt(),Bbt(),Vbt(),Hbt(),Ubt(),Wbt(),Gbt(),Kbt(),qbt(),Jbt(),Ybt(),Xbt(),Zbt(),Qbt(),$bt(),ext(),txt(),nxt(),rxt(),ixt(),axt(),oxt(),sxt(),cxt(),lxt(),uxt(),dxt(),fxt(),pxt(),mxt(),hxt(),gxt(),_xt(),vxt(),yxt(),bxt(),xxt(),Sxt(),Cxt(),wxt(),Txt(),Ext(),Dxt(),Oxt(),kxt(),Axt(),jxt(),Mxt(),Nxt(),Pxt(),Fxt(),Ixt(),Lxt(),Rxt(),zxt(),Bxt(),Vxt(),Hxt(),Uxt(),Wxt(),Gxt(),Kxt(),qxt(),Jxt(),Yxt(),Xxt(),Zxt(),Qxt(),$xt(),eSt(),tSt(),nSt(),rSt(),iSt(),aSt(),oSt(),sSt(),cSt(),lSt(),uSt(),dSt(),fSt(),pSt(),mSt(),hSt(),gSt(),_St(),vSt(),ySt(),bSt(),xSt(),SSt(),CSt(),wSt(),TSt(),ESt(),DSt(),OSt(),kSt(),ASt(),jSt(),MSt(),NSt(),PSt(),FSt(),ISt(),LSt(),RSt(),zSt(),BSt(),VSt(),HSt(),USt(),WSt(),GSt(),KSt(),qSt(),JSt(),YSt(),XSt(),ZSt(),QSt(),$St(),eCt(),tCt(),nCt(),rCt(),iCt(),aCt(),oCt(),sCt(),cCt(),lCt(),uCt(),dCt(),fCt(),pCt(),mCt(),hCt(),gCt(),_Ct(),vCt(),yCt(),bCt(),xCt(),SCt(),CCt(),wCt(),TCt(),ECt(),DCt(),OCt(),kCt(),ACt(),jCt(),MCt(),NCt(),PCt(),FCt(),ICt(),LCt(),RCt(),zCt(),BCt(),VCt(),HCt(),UCt(),WCt(),GCt(),KCt(),qCt(),JCt(),YCt(),XCt(),ZCt(),QCt(),$Ct(),ewt(),twt(),nwt(),rwt(),iwt(),awt(),owt(),swt(),cwt(),lwt(),uwt(),dwt(),fwt(),pwt(),mwt(),hwt(),gwt(),_wt(),vwt(),ywt(),bwt(),xwt(),Swt(),Cwt(),wwt(),Twt(),Ewt(),Dwt(),Owt(),kwt(),Awt(),jwt(),Mwt(),Nwt(),Pwt(),Fwt(),Iwt(),Lwt(),Rwt(),zwt(),Bwt(),Vwt(),Hwt(),Uwt(),Wwt(),Gwt(),Kwt(),qwt(),Jwt(),Ywt(),Xwt(),Zwt(),Qwt(),$wt(),eTt(),tTt(),nTt(),rTt(),iTt(),aTt(),oTt(),sTt(),cTt(),lTt(),uTt(),dTt(),fTt(),pTt(),mTt(),hTt(),gTt(),_Tt(),vTt(),yTt(),bTt(),xTt(),STt(),CTt(),wTt(),TTt(),ETt(),DTt(),OTt(),kTt(),ATt(),jTt(),MTt(),NTt(),PTt(),FTt(),ITt(),LTt(),RTt(),zTt(),BTt(),VTt(),HTt(),UTt(),WTt(),GTt(),KTt(),qTt(),JTt(),YTt(),XTt(),ZTt(),QTt(),$Tt(),eEt(),tEt(),nEt(),rEt(),iEt(),aEt(),oEt(),sEt(),cEt(),lEt(),uEt(),dEt(),fEt(),pEt(),mEt(),hEt(),gEt(),_Et(),vEt(),yEt(),bEt(),xEt(),SEt(),CEt(),wEt(),TEt(),EEt(),DEt(),OEt(),kEt(),AEt(),jEt(),MEt(),NEt(),PEt(),FEt(),IEt(),LEt(),REt(),zEt(),BEt(),VEt(),HEt(),UEt(),WEt(),GEt(),KEt(),qEt(),JEt(),YEt(),XEt(),ZEt(),QEt(),$Et(),eDt(),tDt(),nDt(),rDt(),iDt(),aDt(),oDt(),sDt(),cDt(),lDt(),uDt(),dDt(),fDt(),pDt(),mDt(),hDt(),gDt(),_Dt(),vDt(),yDt(),bDt(),xDt(),SDt(),CDt(),wDt(),TDt(),EDt(),DDt(),ODt(),kDt(),ADt(),jDt(),MDt(),NDt(),PDt(),FDt(),IDt(),LDt(),RDt(),zDt(),BDt(),VDt(),HDt(),UDt(),WDt(),GDt(),KDt(),qDt(),JDt(),YDt(),XDt(),ZDt(),QDt(),$Dt(),eOt(),tOt(),nOt(),rOt(),iOt(),aOt(),oOt(),sOt(),cOt(),lOt(),uOt(),dOt(),fOt(),pOt(),mOt(),hOt(),gOt(),_Ot(),vOt(),yOt(),bOt(),xOt(),SOt(),COt(),wOt(),TOt(),EOt(),DOt(),OOt(),kOt(),AOt(),jOt(),MOt(),NOt(),POt(),FOt(),IOt(),LOt(),ROt(),zOt(),BOt(),VOt(),HOt(),UOt(),WOt(),GOt(),KOt(),qOt(),JOt(),YOt(),XOt(),ZOt(),QOt(),$Ot(),ekt(),tkt(),nkt(),rkt(),ikt(),akt(),okt(),skt(),ckt(),lkt(),ukt(),dkt(),fkt(),pkt(),mkt(),hkt(),gkt(),_kt(),vkt(),ykt(),bkt(),xkt(),Skt(),Ckt(),wkt(),Tkt(),Ekt(),Dkt(),Okt(),kkt(),Akt(),jkt(),Mkt(),Nkt(),Pkt(),Fkt(),Ikt(),Lkt(),Rkt(),zkt(),Bkt(),Vkt(),Hkt(),Ukt(),Wkt(),Gkt(),Kkt(),qkt(),Jkt(),Ykt(),Xkt(),Zkt(),Qkt(),$kt(),eAt(),tAt(),nAt(),rAt(),iAt(),aAt(),oAt(),sAt(),cAt(),lAt(),uAt(),dAt(),fAt(),pAt(),mAt(),hAt(),gAt(),_At(),vAt(),yAt(),bAt(),xAt(),SAt(),CAt(),wAt(),TAt(),EAt(),DAt(),OAt(),kAt(),AAt(),jAt(),MAt(),NAt(),PAt(),FAt(),IAt(),LAt(),RAt(),zAt(),BAt(),VAt(),HAt(),UAt(),WAt(),GAt(),KAt(),qAt(),JAt(),YAt(),XAt(),ZAt(),QAt(),$At(),ejt(),tjt(),njt(),rjt(),ijt(),ajt(),ojt(),sjt(),cjt(),ljt(),ujt(),djt(),fjt(),pjt(),mjt(),hjt(),gjt(),_jt(),vjt(),yjt(),bjt(),xjt(),Sjt(),Cjt(),wjt(),Tjt(),Ejt(),Djt(),Ojt(),kjt(),Ajt(),jjt(),Mjt(),Njt(),Pjt(),Fjt(),Ijt(),Ljt(),Rjt(),zjt(),Bjt(),Vjt(),Hjt(),Ujt(),Wjt(),Gjt(),Kjt(),qjt(),Jjt(),Yjt(),Xjt(),Zjt(),Qjt(),$jt(),eMt(),tMt(),nMt(),rMt(),iMt(),aMt(),oMt(),sMt(),cMt(),lMt(),uMt(),dMt(),fMt(),pMt(),mMt(),hMt(),gMt(),_Mt(),vMt(),yMt(),bMt(),xMt(),SMt(),CMt(),wMt(),TMt(),EMt(),DMt(),OMt(),kMt(),AMt(),jMt(),MMt(),NMt(),PMt(),FMt(),IMt(),LMt(),RMt(),zMt(),BMt(),VMt(),HMt(),UMt(),WMt(),GMt(),KMt(),qMt(),JMt(),YMt(),XMt(),ZMt(),QMt(),$Mt(),eNt(),tNt(),nNt(),rNt(),iNt(),aNt(),oNt(),sNt(),cNt(),lNt(),uNt(),dNt(),fNt(),pNt(),mNt(),hNt(),gNt(),_Nt(),vNt(),yNt(),bNt(),xNt(),SNt(),CNt(),wNt(),TNt(),ENt(),DNt(),ONt(),kNt(),ANt(),jNt(),MNt(),NNt(),PNt(),FNt(),INt(),LNt(),RNt(),zNt(),BNt(),VNt(),HNt(),UNt(),WNt(),GNt(),KNt(),qNt(),JNt(),YNt(),XNt(),ZNt(),QNt(),$Nt(),ePt(),tPt(),nPt(),rPt(),iPt(),aPt(),oPt(),sPt(),cPt(),lPt(),uPt(),dPt(),fPt(),pPt(),mPt(),hPt(),gPt(),_Pt(),vPt(),yPt(),bPt(),xPt(),SPt(),CPt(),wPt(),TPt(),EPt(),DPt(),OPt(),kPt(),APt(),jPt(),MPt(),NPt(),PPt(),FPt(),IPt(),LPt(),RPt(),zPt(),BPt(),VPt(),HPt(),UPt(),WPt(),GPt(),KPt(),qPt(),JPt(),YPt(),XPt(),ZPt(),QPt(),$Pt(),eFt(),tFt(),nFt(),rFt(),iFt(),aFt(),oFt(),sFt(),cFt(),lFt(),uFt(),dFt(),fFt(),pFt(),mFt(),hFt(),gFt(),_Ft(),vFt(),yFt(),bFt(),xFt(),SFt(),CFt(),wFt(),TFt(),EFt(),DFt(),OFt(),kFt(),AFt(),jFt(),MFt(),NFt(),PFt(),FFt(),IFt(),LFt(),RFt(),zFt(),BFt(),VFt(),HFt(),UFt(),WFt(),GFt(),KFt(),qFt(),JFt(),YFt(),XFt(),ZFt(),QFt(),$Ft(),eIt(),tIt(),nIt(),rIt(),iIt(),aIt(),oIt(),sIt(),cIt(),lIt(),uIt(),dIt(),fIt(),pIt(),mIt(),hIt(),gIt(),_It(),vIt(),yIt(),bIt(),xIt(),SIt(),CIt(),wIt(),TIt(),EIt(),DIt(),OIt(),kIt(),AIt(),jIt(),MIt(),NIt(),PIt(),FIt(),IIt(),LIt(),RIt(),zIt(),BIt(),VIt(),HIt(),UIt(),WIt(),GIt(),KIt(),qIt(),JIt(),YIt(),XIt(),ZIt(),QIt(),$It(),eLt(),tLt(),nLt(),rLt(),iLt(),aLt(),oLt(),sLt(),cLt(),lLt(),uLt(),dLt(),fLt(),pLt(),mLt(),hLt(),gLt(),_Lt(),vLt(),yLt(),bLt(),xLt(),SLt(),CLt(),wLt(),TLt(),ELt(),DLt(),OLt(),kLt(),ALt(),jLt(),MLt(),NLt(),PLt(),FLt(),ILt(),LLt(),RLt(),zLt(),BLt(),VLt(),HLt(),ULt(),WLt(),GLt(),KLt(),qLt(),JLt(),YLt(),XLt(),ZLt(),QLt(),$Lt(),eRt(),tRt(),nRt(),rRt(),iRt(),aRt(),oRt(),sRt(),cRt(),lRt(),uRt(),dRt(),fRt(),pRt(),mRt(),hRt(),gRt(),_Rt(),vRt(),yRt(),bRt(),xRt(),SRt(),CRt(),wRt(),TRt(),ERt(),DRt(),ORt(),kRt(),ARt(),jRt(),MRt(),NRt(),PRt(),FRt(),IRt(),LRt(),RRt(),zRt(),BRt(),VRt(),HRt(),URt(),WRt(),GRt(),KRt(),qRt(),JRt(),YRt(),XRt(),ZRt(),QRt(),$Rt(),ezt(),tzt(),nzt(),rzt(),izt(),azt(),ozt(),szt(),czt(),lzt(),uzt(),dzt(),fzt(),pzt(),mzt(),hzt(),gzt(),_zt(),vzt(),yzt(),bzt(),xzt(),Szt(),Czt(),wzt(),Tzt(),Ezt(),Dzt(),Ozt(),kzt(),Azt(),jzt(),Mzt(),Nzt(),Pzt(),Fzt(),Izt(),Lzt(),Rzt(),zzt(),Bzt(),Vzt(),Hzt(),Uzt(),Wzt(),Gzt(),Kzt(),qzt(),Jzt(),Yzt(),Xzt(),Zzt(),Qzt(),$zt(),eBt(),tBt(),nBt(),rBt(),iBt(),aBt(),oBt(),sBt(),cBt(),lBt(),uBt(),dBt(),fBt(),pBt(),mBt(),hBt(),gBt(),_Bt(),vBt(),yBt(),bBt(),xBt(),SBt(),CBt(),wBt(),TBt(),EBt(),DBt(),OBt(),kBt(),ABt(),jBt(),MBt(),NBt(),PBt(),FBt(),IBt(),LBt(),RBt(),zBt(),BBt(),VBt(),HBt(),UBt(),WBt(),GBt(),KBt(),qBt(),JBt(),YBt(),XBt(),ZBt(),QBt(),$Bt(),eVt(),tVt(),nVt(),rVt(),iVt(),aVt(),oVt(),sVt(),cVt(),lVt(),uVt(),dVt(),fVt(),pVt(),mVt(),hVt(),gVt(),_Vt(),vVt(),yVt(),bVt(),xVt(),SVt(),CVt(),wVt(),TVt(),EVt(),DVt(),OVt(),kVt(),AVt(),jVt(),MVt(),NVt(),PVt(),FVt(),IVt(),LVt(),RVt(),zVt(),BVt(),VVt(),HVt(),UVt(),WVt(),GVt(),KVt(),qVt(),JVt(),YVt(),XVt(),ZVt(),QVt(),$Vt(),eHt(),tHt(),nHt(),rHt(),iHt(),aHt(),oHt(),sHt(),cHt(),lHt(),uHt(),dHt(),fHt(),pHt(),mHt(),hHt(),gHt(),_Ht(),vHt(),yHt(),bHt(),xHt(),SHt(),CHt(),wHt(),THt(),EHt(),DHt(),OHt(),kHt(),AHt(),jHt(),MHt(),NHt(),PHt(),FHt(),IHt(),LHt(),RHt(),zHt(),BHt(),VHt(),HHt(),UHt(),WHt(),GHt(),KHt(),qHt(),JHt(),YHt(),XHt(),ZHt(),QHt(),$Ht(),eUt(),tUt(),nUt(),rUt(),iUt(),aUt(),oUt(),sUt(),cUt(),lUt(),uUt(),dUt(),fUt(),pUt(),mUt(),hUt(),gUt(),_Ut(),vUt(),yUt(),bUt(),xUt(),SUt(),CUt(),wUt(),TUt(),EUt(),DUt(),OUt(),kUt(),AUt(),jUt()})),NUt=O((()=>{I()})),Oq,kq=O((()=>{s.object({"object.name":s.string().describe(`display name`),"object.id":s.string().describe(`identifier`)}),s.object({grantor:s.array(s.string()).optional().describe(`--- filters ---
|
|
1436
1436
|
|
|
1437
1437
|
[optional] [FROM] each rule owner is any of role(s) id; user -or- role`),grantee:s.array(s.string()).optional().describe(`[optional] [TO] subject role(s) id; user -or- role`),granted:s.array(s.string()).optional().describe(`[xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)`),q:s.string().optional().describe(`[optional] [TO] subject.name ILIKE ?q=; user -or- role`),fields:s.array(s.string()).optional().describe(`----- Select Options -------------------------
|
|
1438
1438
|
|
|
@@ -4809,7 +4809,7 @@ to the external chat partner.`),s.looseObject({}).describe(`ProviderSendTypingRe
|
|
|
4809
4809
|
|
|
4810
4810
|
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
4811
4811
|
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
4812
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`),updated_at:s.string().optional(),waba_id:s.string().optional()}).optional()}).describe(`/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider.`)})),aGt=O((()=>{s.object({page:s.int().optional(),size:s.int().optional(),q:s.string().optional(),sort:s.string().optional(),fields:s.array(s.string()).optional()}),s.object({items:s.array(s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()})).optional(),next:s.boolean().optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({fields:s.array(s.string()).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({"item.id":s.string()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()})})),oGt,sGt,cGt,lGt,uGt,dGt,fGt=O((()=>{s.object({q:s.string().optional(),page:s.int().optional(),size:s.int().optional(),sort:s.string().optional(),fields:s.array(s.string()).optional()}),oGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({items:s.array(s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(oGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()})).optional(),next:s.boolean().optional()}),sGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(sGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),cGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(cGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),s.object({id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({fields:s.array(s.string()).optional()}),lGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(lGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),s.object({id:s.string()}),s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional()}),s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional()}),s.object({id:s.string(),agent_id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({"date.from":s.string().optional(),"date.to":s.string().optional()}),s.object({items:s.record(s.string(),s.object({forecast:s.array(s.object({agents:s.string().optional(),hour:s.string().optional()})).optional()})).optional()}),s.object({"item.id":s.string()}),uGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(uGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),dGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(dGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()})})),pGt=O((()=>{kq(),zq(),Vq(),Hq(),Uq(),Xq(),Zq(),Qq(),$q(),nJ(),UJ(),WJ(),aY(),oY(),sY(),cY(),lY(),bY(),TY(),EY(),DY(),OY(),AY(),NY(),tX(),iX(),aX(),oX(),sX(),cX(),DX(),AX(),BX(),VX(),GX(),KX(),sZ(),dZ(),fZ(),pZ(),hZ(),IZ(),LZ(),zZ(),VZ(),ZZ(),rQ(),iQ(),_Q(),vQ(),OQ(),BQ(),VQ(),HQ(),UQ(),QQ(),r$(),i$(),f$(),p$(),_$(),b$(),x$(),S$(),C$(),O$(),k$(),A$(),j$(),F$(),L$(),R$(),z$(),B$(),V$(),K$(),q$(),Z$(),e1(),t1(),n1(),r1(),i1(),a1(),o1(),s1(),c1(),l1(),g1(),_1(),D1(),R1(),z1(),B1(),X1(),Z1(),Q1(),$1(),r0(),i0(),a0(),o0(),s0(),_0(),C0(),w0(),T0(),P0(),F0(),I0(),K0(),q0(),X0(),e2(),A2(),j2(),L2(),R2(),z2(),H2(),Q2(),$2(),e4(),t4(),n4(),r4(),s4(),g4(),B4(),j3(),M3(),N3(),a6(),l6(),p6(),m6(),h6(),y6(),C6(),O6(),N6(),L6(),R6(),U6(),W6(),G6(),UWt(),YWt(),eGt(),iGt(),aGt(),fGt()})),mGt=O((()=>{I()})),hGt=O((()=>{I()})),gGt=O((()=>{I()})),_Gt=O((()=>{I()})),vGt=O((()=>{I()})),yGt=O((()=>{I()})),bGt=O((()=>{I()})),xGt=O((()=>{I()})),SGt=O((()=>{I()})),CGt=O((()=>{I()})),X6,wGt=O((()=>{I(),X6=(e=Ca)=>({messagesServiceBroadcastMessage:(t,n)=>e.post(`/chat/broadcast`,t,n),catalogGetCustomers:(t,n)=>e.get(`/chat/customers`,{...n,params:{...t,...n?.params}}),catalogGetDialogs:(t,n)=>e.get(`/chat/dialogs`,{...n,params:{...t,...n?.params}}),catalogGetMembers:(t,n,r)=>e.get(`/chat/dialogs/${t}/members`,{...r,params:{...n,...r?.params}}),catalogGetHistory:(t,n,r)=>e.get(`/chat/dialogs/${t}/messages`,{...r,params:{...n,...r?.params}}),catalogGetHistory2:(t,n,r,i)=>e.get(`/chat/${t}/${n}/messages`,{...i,params:{...r,...i?.params}})})})),TGt=O((()=>{I()})),EGt=O((()=>{I()})),DGt=O((()=>{I()})),OGt=O((()=>{I()})),kGt=O((()=>{I()})),AGt=O((()=>{I()})),jGt=O((()=>{I()})),MGt=O((()=>{I()})),NGt=O((()=>{I()})),PGt=O((()=>{I()})),FGt=O((()=>{I()})),IGt=O((()=>{I()})),LGt=O((()=>{I()})),RGt=O((()=>{I()})),zGt=O((()=>{I()})),BGt=O((()=>{I()})),VGt=O((()=>{I()})),HGt=O((()=>{I()})),UGt=O((()=>{I()})),WGt=O((()=>{I()})),GGt=O((()=>{I()})),KGt=O((()=>{I()})),qGt=O((()=>{I()})),JGt=O((()=>{I()})),YGt=O((()=>{I()})),XGt=O((()=>{I()})),ZGt=O((()=>{I()})),QGt=O((()=>{I()})),$Gt=O((()=>{I()})),eKt=O((()=>{I()})),tKt=O((()=>{I()})),nKt=O((()=>{I()})),rKt=O((()=>{I()})),iKt=O((()=>{I()})),aKt=O((()=>{I()})),oKt=O((()=>{I()})),sKt=O((()=>{I()})),cKt=O((()=>{I()})),lKt=O((()=>{I()})),uKt=O((()=>{I()})),dKt=O((()=>{I()})),fKt=O((()=>{I()})),pKt=O((()=>{I()})),mKt=O((()=>{I()})),hKt=O((()=>{I()})),gKt=O((()=>{I()})),Z6,_Kt=O((()=>{I(),Z6=(e=Ca)=>({searchTypes:(t,n)=>e.get(`/types`,{...n,params:{...t,...n?.params}}),locate:(t,n)=>e.get(`/types/${t}`,n)})})),vKt=O((()=>{I()})),yKt=O((()=>{I()})),bKt=O((()=>{I()})),xKt=O((()=>{I()})),SKt=O((()=>{I()})),CKt=O((()=>{I()})),wKt=O((()=>{I()})),TKt=O((()=>{I()})),EKt=O((()=>{I()})),DKt=O((()=>{I()})),OKt=O((()=>{I()})),kKt=O((()=>{I()})),AKt=O((()=>{I()})),jKt=O((()=>{I()})),MKt=O((()=>{I()})),NKt=O((()=>{I()})),PKt=O((()=>{I()})),FKt=O((()=>{I()})),IKt=O((()=>{I()})),LKt=O((()=>{I()})),RKt=O((()=>{I()})),zKt=O((()=>{I()})),BKt=O((()=>{I()})),VKt=O((()=>{I()})),HKt=O((()=>{I()})),UKt=O((()=>{I()})),WKt=O((()=>{I()})),GKt=O((()=>{I()})),KKt=O((()=>{I()})),qKt=O((()=>{I()})),JKt=O((()=>{I()})),YKt=O((()=>{I()})),XKt=O((()=>{I()})),ZKt=O((()=>{I()})),QKt=O((()=>{I()})),Z=O((()=>{MUt(),NUt(),kq(),PUt(),zq(),FUt(),Vq(),IUt(),Hq(),LUt(),Uq(),RUt(),Xq(),zUt(),Zq(),BUt(),Qq(),VUt(),$q(),HUt(),nJ(),UUt(),UJ(),WUt(),WJ(),GUt(),aY(),KUt(),oY(),qUt(),sY(),JUt(),cY(),YUt(),lY(),XUt(),bY(),ZUt(),TY(),QUt(),EY(),$Ut(),DY(),eWt(),OY(),tWt(),AY(),nWt(),NY(),rWt(),tX(),iWt(),iX(),aWt(),aX(),oWt(),oX(),sWt(),sX(),cWt(),cX(),lWt(),DX(),uWt(),AX(),dWt(),BX(),fWt(),VX(),pWt(),GX(),mWt(),KX(),hWt(),sZ(),gWt(),dZ(),_Wt(),fZ(),vWt(),pZ(),yWt(),hZ(),bWt(),IZ(),xWt(),LZ(),SWt(),zZ(),CWt(),VZ(),wWt(),ZZ(),TWt(),rQ(),EWt(),iQ(),DWt(),_Q(),OWt(),vQ(),kWt(),OQ(),AWt(),BQ(),jWt(),VQ(),MWt(),HQ(),NWt(),UQ(),PWt(),QQ(),FWt(),r$(),IWt(),i$(),LWt(),f$(),pGt(),mGt(),p$(),hGt(),_$(),gGt(),b$(),_Gt(),x$(),vGt(),S$(),yGt(),C$(),bGt(),O$(),xGt(),k$(),SGt(),A$(),CGt(),j$(),wGt(),F$(),TGt(),L$(),EGt(),R$(),DGt(),z$(),OGt(),B$(),kGt(),V$(),AGt(),K$(),jGt(),q$(),MGt(),Z$(),NGt(),e1(),PGt(),t1(),FGt(),n1(),IGt(),r1(),LGt(),i1(),RGt(),a1(),zGt(),o1(),BGt(),s1(),VGt(),c1(),HGt(),l1(),UGt(),g1(),WGt(),_1(),GGt(),D1(),KGt(),R1(),qGt(),z1(),JGt(),B1(),YGt(),X1(),XGt(),Z1(),ZGt(),Q1(),QGt(),$1(),$Gt(),r0(),eKt(),i0(),tKt(),a0(),nKt(),o0(),rKt(),s0(),iKt(),_0(),aKt(),C0(),oKt(),w0(),sKt(),T0(),cKt(),P0(),lKt(),F0(),uKt(),I0(),dKt(),K0(),fKt(),q0(),pKt(),X0(),mKt(),e2(),hKt(),A2(),gKt(),j2(),_Kt(),L2(),vKt(),R2(),yKt(),z2(),bKt(),H2(),xKt(),Q2(),SKt(),$2(),CKt(),e4(),wKt(),t4(),TKt(),n4(),EKt(),r4(),DKt(),s4(),OKt(),g4(),kKt(),B4(),AKt(),j3(),jKt(),M3(),MKt(),N3(),NKt(),a6(),PKt(),l6(),FKt(),p6(),IKt(),m6(),LKt(),h6(),RKt(),y6(),zKt(),C6(),BKt(),O6(),VKt(),N6(),HKt(),L6(),UKt(),R6(),WKt(),U6(),GKt(),W6(),KKt(),G6(),qKt(),UWt(),JKt(),YWt(),YKt(),eGt(),XKt(),iGt(),ZKt(),aGt(),QKt(),fGt()})),$Kt=O((()=>{Ap(),Z(),_y(),bu(),Y(),X()})),eqt=O((()=>{Ap(),Z(),_y(),bu(),Y(),X()})),tqt=O((()=>{Z(),Y(),X()})),nqt=O((()=>{Z(),Y(),X()})),rqt=O((()=>{Z(),Y(),X()})),iqt=O((()=>{Z(),Y(),X()})),aqt,Q6,$6,oqt,sqt,cqt,lqt,uqt,dqt,fqt,pqt,mqt,hqt,gqt,_qt,vqt,yqt,bqt,xqt,Sqt,Cqt=O((()=>{yu(),Ap(),Z(),_y(),bu(),Y(),X(),Dq(),aqt=`/call_center/agents`,Q6=e=>e>3600*24?`>24:00:00`:dy(e),$6=async e=>{let t=e=>e.map(e=>({...e,statusDuration:Q6(e.statusDuration)})),n=vu(Gq),r=aq(e,[oq(),uq(rq()),e=>({...e,q:e.search,team_id:e.team_id??e.team,skill_id:e.skill_id??e.skill,not_supervisor:e.not_supervisor??e.is_not_supervisor}),bq(n)]);try{let{items:e,next:n}=aq((await Wq().searchAgent(r)).data,[xq(),uq(nq())]);return{items:aq(e,[t]),next:n}}catch(e){throw aq(e,[hq])}},oqt={user:{},team:{},supervisor:[],auditor:[],region:{},progressiveCount:null,chatCount:0,taskCount:0,isSupervisor:!1,description:``,greetingMedia:{}},sqt=async({itemId:e,defaultObject:t=oqt})=>{try{return aq((await Wq().readAgent(String(e))).data,[xq(),uq(t)])}catch(e){throw aq(e,[hq])}},cqt=async({itemInstance:e})=>{let t=aq(e,[bq(vu(Kq)),oq()]);try{return aq((await Wq().createAgent(t)).data,[xq()])}catch(e){throw aq(e,[hq])}},lqt=async({changes:e,id:t})=>{let n=aq(e,[bq(vu(qq)),oq()]);try{return aq((await Wq().patchAgent(String(t),n)).data,[xq()])}catch(e){throw aq(e,[hq])}},uqt=async({itemInstance:e,itemId:t})=>{let n=aq(e,[bq(vu(Jq)),oq()]);try{return aq((await Wq().updateAgent(String(t),n)).data,[xq()])}catch(e){throw aq(e,[hq])}},dqt=async({id:e})=>{try{return aq((await Wq().deleteAgent(String(e))).data,[])}catch(e){throw aq(e,[hq])}},fqt=async e=>{let t={search:``,sort:`+name`,fields:[],from:new Date().setHours(0,0,0,0),to:new Date().setHours(23,59,59,999),utilizationFrom:`0`},n={offline:0,online:0,pause:0,statusDuration:0,transferred:0,missed:0,utilization:0,occupancy:0,callTime:0,chatTime:0},r=e=>e.map(e=>{let t={...n,...e};return{...t,_isSelected:!1,statusDuration:Q6(t.statusDuration),utilization:`${t.utilization.toFixed(2)}%`,occupancy:`${t.occupancy.toFixed(2)}%`,online:dy(t.online),offline:dy(t.offline),pause:dy(t.pause),callTime:dy(t.callTime),chatTime:dy(t.chatTime)}}),{page:i,size:a,search:o,sort:s,ids:c,fields:l,from:u,to:d,queue:f,team:p,skill:m,supervisor:h,auditor:g,region:_,utilizationFrom:v,utilizationProgress:y,agentStatus:b,callNow:x}=aq(e,[uq(t),uq(rq())]);try{let{items:e,next:t}=aq((await Wq().searchAgentStatusStatistic({page:i,size:a,q:o,sort:s,fields:l,agent_id:c,"time.from":u==null?void 0:String(u),"time.to":d==null?void 0:String(d),status:b,queue_id:f,team_id:p,"utilization.from":v,"utilization.to":y,has_call:x,skill_id:m,region_id:_,supervisor_id:h,auditor_id:g})).data,[xq(),uq(nq())]);return{items:aq(e,[r]),next:t}}catch(e){throw aq(e,[hq])}},pqt=async({agentId:e,from:t,to:n})=>{try{return aq((await Wq().searchAgentStatusStatisticItem(String(e),{"time.from":t,"time.to":n})).data,[xq()])}catch(e){throw aq(e,[hq])}},mqt=async e=>{let{parentId:t,page:n,size:r,search:i,sort:a,fields:o}=aq(e,[uq(rq()),Cq(`search`)]);try{let{items:e,next:s}=aq((await Wq().searchAgentInQueue(String(t),{page:n,size:r,q:i,sort:a,fields:o})).data,[xq(),uq(nq())]);return{items:aq(e,[fq({countMembers:0,waitingMembers:0,type:0})]),next:s}}catch(e){throw aq(e,[hq])}},hqt=async({agentId:e})=>{let t={name:``,durationMin:0,limitMin:0};try{let{items:n,next:r}=aq((await Wq().searchPauseCauseForAgent(String(e))).data,[xq(),uq(nq())]);return{items:aq(n,[fq(t)]),next:r}}catch(e){throw aq(e,[hq])}},gqt=e=>$6({...e,fields:e.fields||[`id`,`name`]}),_qt=async e=>{let{parentId:t,joinedAt:n,page:r,size:i,sort:a}=aq(e,[uq(rq()),uq({sort:`-joined_at`}),Cq(`search`)]),o=gy(n),s=e=>e.map(e=>({...e,from:hu(+e.joinedAt,Tp.DATETIME),to:e.duration?hu(+e.joinedAt+e.duration*1e3,Tp.DATETIME):null,duration:dy(e.duration)}));try{let{items:e,next:n}=aq((await Wq().searchAgentStateHistory({page:r,size:i,agent_id:t?[t]:void 0,sort:a,"joined_at.from":o?.from==null?void 0:String(o.from),"joined_at.to":o?.to==null?void 0:String(o.to)})).data,[xq(),uq(nq())]);return{items:aq(e,[s]),next:n}}catch(e){throw aq(e,[hq])}},vqt=async e=>{let{page:t,size:n,search:r}=aq(e,[uq(rq()),Cq(`search`)]);try{let{items:e,next:i}=aq((await Wq().searchLookupUsersAgentNotExists({page:t,size:n,q:r})).data,[xq(),uq(nq())]);return{items:e,next:i}}catch(e){throw aq(e,[hq])}},yqt=async e=>{let t=vu(Yq),n=aq(e,[oq(),uq(rq()),Cq(`search`),e=>({...e,q:e.search}),bq(t)]);try{let{items:e,next:t}=aq((await Wq().searchUserStatus(n)).data,[xq(),uq(nq())]);return{items:e,next:t}}catch(e){throw aq(e,[hq])}},bqt=async e=>$6({...e,isSupervisor:!0}),xqt=async e=>$6({...e,isNotSupervisor:!0}),Sqt={getList:$6,get:sqt,add:cqt,patch:lqt,update:uqt,delete:dqt,getLookup:gqt,getAgentHistory:_qt,getRegularAgentsOptions:xqt,getAgentUsersOptions:vqt,getSupervisorOptions:bqt,getUsersStatus:yqt,getPauseCausesForAgent:hqt,getAgentQueues:mqt,getStatusStatistics:fqt,getStatusStatisticsItem:pqt,...Eq(aqt)}})),wqt=O((()=>{Z(),X()})),Tqt=O((()=>{rW(),Z(),Y(),X()})),Eqt=O((()=>{Z(),X(),Tqt(),xq()})),Dqt=O((()=>{Z(),Y(),X()})),Oqt=O((()=>{Z(),Y(),X()})),kqt,Aqt=O((()=>{mz(),Z(),Y(),X(),Dq(),kqt=`/calendars`,{...Eq(kqt)}})),jqt=O((()=>{Z(),X()})),Mqt=O((()=>{Z(),Y(),X()})),Nqt=O((()=>{Z(),Y(),X()})),Pqt=O((()=>{Z(),Y(),X()})),Fqt=O((()=>{Z(),Y(),X()})),Iqt=O((()=>{Z(),Y(),X()})),Lqt=O((()=>{yu(),Z(),Y(),X(),vu(kY)})),Rqt=O((()=>{Z(),Y(),X()})),zqt=O((()=>{Z(),Y(),X()})),Bqt=O((()=>{Z(),Y(),X()})),Vqt=O((()=>{rW(),yu(),Z(),Y(),X(),vu(e0),vu(e0),vu(n0),vu(t0)})),Hqt=O((()=>{Z(),Y(),X()})),Uqt=O((()=>{Z(),Y(),X()})),Wqt=O((()=>{Z(),Y(),X()})),Gqt=O((()=>{yu(),Z(),Y(),X()})),Kqt=O((()=>{Ap(),_y()})),qqt,Jqt=O((()=>{yu(),bu(),Z(),Y(),X(),Dq(),Gqt(),Kqt(),PY(),qqt=`/cases`,vu(XY),vu(RY),{...Eq(qqt)}})),Yqt=O((()=>{Z(),X()})),Xqt=O((()=>{Z(),Y(),X()})),Zqt=O((()=>{Z(),Y(),X()})),Qqt=O((()=>{Object.freeze({VIBER:`viber`,WHATSAPP:`whatsapp`,TELEGRAM:`telegram`,MESSENGER:`messenger`,EMAIL:`email`})})),$qt=O((()=>{Ap(),Qqt()})),eJt=O((()=>{Ap(),mz(),cq(),Y(),X(),$qt(),ba()})),tJt,e8,nJt=O((()=>{Z(),X(),tJt=({messages:e,peers:t})=>e?e.map(({from:e,...n})=>({...n,peer:e&&t?t[e.id-1]:void 0})):[],e8=e=>async({parentId:t,taskId:n})=>{try{let{messages:r,peers:i}=aq((await e(String(t),String(n))).data,[xq()]);return{items:aq({messages:r,peers:i},[tJt])}}catch(e){throw aq(e,[hq])}},e8((e,t)=>cZ().contactsChatCatalogGetContactChatHistory(e,t)),e8((e,t)=>nX().casesChatCatalogGetCaseChatHistory(e,t))})),rJt=O((()=>{Z(),Y(),X()})),iJt,aJt=O((()=>{Z(),Y(),X(),Dq(),iJt=`/storage/cognitive_profiles`,{...Eq(iJt)}})),oJt=O((()=>{Z(),Y(),X()})),sJt=O((()=>{rW(),yu(),Z(),Y(),X(),[...vu(O0)]})),cJt=O((()=>{bu(),Z(),Y(),X(),Gqt(),Kqt()})),lJt,uJt=O((()=>{rW(),yu(),Z(),Y(),X(),Dq(),lJt=`/contacts/groups`,vu(XQ),{...Eq(lJt)}})),dJt,fJt=O((()=>{mz(),Z(),Y(),X(),Dq(),dJt=`/devices`,{...Eq(dJt)}})),pJt=O((()=>{Z(),Y(),X()})),mJt=O((()=>{yu(),Z(),Y(),X(),vu(RZ)})),hJt=O((()=>{rW(),yu(),Z(),Y(),X(),vu(BZ)})),gJt=O((()=>{rW(),Z(),Y(),X()})),_Jt=O((()=>{yu(),Z(),Y(),X(),vu($Z),vu(nQ)})),vJt=O((()=>{Z(),_y(),Y(),X()})),yJt=O((()=>{rW(),Z(),Y(),X()})),bJt=O((()=>{Z(),Y(),X()})),xJt=O((()=>{Y(),X(),ba()})),SJt=O((()=>{Z(),Y(),X()})),CJt=O((()=>{Z(),Y(),X()})),wJt,TJt=O((()=>{Z(),Y(),X(),Dq(),wJt=`/storage/import_templates`,{...Eq(wJt)}})),EJt=O((()=>{Z(),Y(),X()})),DJt=O((()=>{Z(),Y(),X(),ba()})),OJt=O((()=>{Z(),Y(),X()})),kJt=O((()=>{Z(),Y(),X()})),AJt,jJt=O((()=>{Z(),Y(),X(),Dq(),AJt=`/call_center/list`,{...Eq(AJt)}})),MJt=O((()=>{Z(),_y(),Y(),X()})),NJt=O((()=>{ha(),Z(),Y(),X(),ba(),localStorage.getItem(`access-token`),ma.create({headers:{"content-type":`multipart/form-data`}})})),PJt,FJt,IJt,LJt=O((()=>{Z(),Y(),X(),PJt=async e=>{let t=aq(e,[oq()]);try{return aq((await X6().messagesServiceBroadcastMessage(t)).data,[xq()])}catch(e){throw aq(e,[hq])}},FJt=async({chatId:e,...t})=>{let n=aq(t,[uq(rq()),oq()]);try{let{messages:t,peers:r,next:i}=aq((await X6().catalogGetHistory(String(e),n)).data,[xq(),uq(nq())]);return{messages:t,peers:r,next:i}}catch(e){throw aq(e,[hq])}},IJt={patch:PJt,getChatHistory:FJt}})),RJt,zJt=O((()=>{yu(),Z(),Y(),X(),Dq(),vu(I$),RJt=`/oauth/apps`,{...Eq(RJt)}})),BJt,VJt,HJt,UJt,WJt,GJt,KJt=O((()=>{Z(),Y(),X(),BJt=ba(),VJt=async e=>{let{page:t,size:n,fields:r,sort:i,id:a,q:o}=aq(e,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),gq([`page`,`size`,`q`,`sort`,`fields`,`id`]),oq()]);try{let{data:e,next:s}=aq((await Z6().searchTypes({q:o,id:a,size:n,page:t,sort:i,fields:r})).data,[uq(nq())]);return{items:aq(e,[xq(),e=>(e||[]).map(e=>({...e,id:e.repo}))]),next:s}}catch(e){throw aq(e,[hq])}},HJt=async({...e})=>{let t=aq(e,[uq(rq()),e=>({...e,q:e.search,extensions:!1}),gq([`page`,`size`,`q`,`sort`,`extensions`,`fields`,`id`]),oq(),sq(`types`)]);try{let{data:e,next:n}=aq((await BJt.get(t)).data,[xq(),uq(nq())]);return{items:e??[],next:n}}catch(e){throw aq(e,[hq])}},UJt=async e=>HJt({...e,fields:e.fields||[`id`,`name`]}),WJt=async({itemId:e})=>{try{return aq((await Z6().locate(String(e))).data,[xq()])}catch(e){throw aq(e,[hq])}},GJt={getList:VJt,get:WJt,getLookup:UJt}})),qJt=O((()=>{Z(),Y(),X()})),JJt,YJt=O((()=>{mz(),Z(),Y(),X(),Dq(),JJt=`/call_center/resource_group`,{...Eq(JJt)}})),XJt=O((()=>{Z(),Y(),X()})),ZJt,QJt=O((()=>{yu(),Z(),Y(),X(),Dq(),ZJt=`/call_center/resources`,{...Eq(ZJt)}})),$Jt=O((()=>{Z(),Y(),X(),ba()})),t8,n8=O((()=>{t8=s.z.number().nullable().optional()})),r8,i8=O((()=>{r8=(e=1)=>s.z.union([s.z.string().min(e),s.z.number().min(e)])})),a8,o8=O((()=>{a8=e=>({params:{i18nKey:e}})})),s8,eYt=O((()=>{s8=e=>e==null?!1:Array.isArray(e)?e.length>0:e instanceof Date?!Number.isNaN(e.getTime()):typeof e==`object`?Object.keys(e).length>0:String(e).length>0})),c8,l8,u8,d8,f8=O((()=>{o8(),eYt(),c8=s.z.object({id:s.z.string().optional(),name:s.z.string().optional()}),l8=s.z.object({id:s.z.string().min(1),name:s.z.string().optional()}),u8=s.z.object({id:s.z.union([s.z.string(),s.z.number()]).optional(),name:s.z.string().optional()}),d8=u8.refine(e=>s8(e),a8(`required`))})),tYt,p8,m8=O((()=>{o8(),tYt=/^\+?[A-Za-z0-9\-_.!~*'()]*$/,p8=s.z.string().min(1).refine(e=>e===``||tYt.test(e),a8(`phoneNumberSymbolsValidator`))})),h8,nYt,g8,_8,v8,rYt,y8,b8=O((()=>{o8(),h8=s.z.number().int().refine(e=>e>=0&&e<1440,a8(`hourRange`)),nYt=[`start`,`end`],g8=(e,t,...n)=>{nYt.forEach(r=>{e.addIssue({code:`custom`,path:[...n,r],...a8(t)})})},_8=(e,t)=>{e.start>=e.end&&g8(t,`timerangeStartLessThanEnd`)},v8=s.z.object({start:h8,end:h8}).superRefine(_8),rYt=(e,t)=>e.start<=t.end&&t.start<=e.end,y8=e=>(t,n)=>{t.forEach((r,i)=>{t.some((t,n)=>n!==i&&e?.(r)===e?.(t)&&rYt(r,t))&&g8(n,`timerangeNotIntersect`,i)})}})),x8,S8=O((()=>{x8=s.z.object({key:s.z.string(),value:s.z.string()})})),iYt=O((()=>{o8(),s.z.object({name:s.z.string().min(1),repo:s.z.string().min(1).refine(e=>/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e),a8(`latinWithNumber`)),about:s.z.string().optional(),administered:s.z.boolean().optional(),primary:s.z.string().optional(),display:s.z.string().optional(),fields:s.z.array(s.z.any()).optional(),indexes:s.z.any().optional()})})),aYt=O((()=>{f8(),s.z.object({id:s.z.string().optional(),user:d8,team:d8,supervisor:s.z.array(u8).optional().default([]),auditor:s.z.array(u8).optional().default([]),region:u8.optional().default({}),greetingMedia:u8.optional().default({}),progressiveCount:s.z.number().min(1).nullable().optional().default(null),chatCount:s.z.number().min(1).default(1),taskCount:s.z.number().min(1).default(1),extraChatCount:s.z.number().min(0).nullable().optional().default(0),isSupervisor:s.z.boolean().optional().default(!1),screenControl:s.z.boolean().optional().default(!1),allowSetScreenControl:s.z.boolean().optional()}),s.z.object({workingCondition:d8,pauseTemplate:u8.optional().default({})})})),oYt=O((()=>{n8(),f8(),s.z.object({name:s.z.string().min(1).default(``),limitMin:t8.default(60),description:s.z.string().optional().default(``),allowAdmin:s.z.boolean().default(!0),allowSupervisor:s.z.boolean().default(!0),allowAgent:s.z.boolean().default(!0),teams:s.z.array(u8).optional().default([])})})),sYt=O((()=>{f8(),s.z.object({skill:d8,capacity:s.z.number().min(0).max(100).default(10),enabled:s.z.boolean().default(!0)})})),cYt=O((()=>{f8(),s.z.object({agent:d8})})),lYt=O((()=>{f8(),s.z.object({name:s.z.string().min(3),description:s.z.string().optional(),teams:s.z.array(c8).optional().default([]),enabled:s.z.boolean().optional().default(!0),questions:s.z.array(s.z.any()).min(1).default([])})})),uYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),dYt,C8,fYt,pYt,mYt,w8,hYt=O((()=>{f8(),b8(),dYt=s.z.object({day:s.z.number().int().min(0).max(6),disabled:s.z.boolean().default(!1),start:h8,end:h8}).superRefine(_8),C8=s.z.array(dYt).superRefine(y8(e=>e.day)),fYt=s.z.object({name:s.z.string().min(1),date:s.z.union([s.z.number(),s.z.string()]).optional(),repeat:s.z.boolean().optional(),working:s.z.boolean().optional(),workStart:h8.nullish(),workStop:h8.nullish()}),pYt=()=>Array.from({length:7},(e,t)=>({day:t,disabled:!1,start:540,end:1200})),mYt=()=>Array.from({length:7},(e,t)=>({day:t,disabled:!0,start:540,end:1200})),w8=()=>Date.now(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional().default(``),timezone:l8,startAt:s.z.any().optional().default(w8),endAt:s.z.any().optional().default(w8),expires:s.z.boolean().optional().default(!1),accepts:C8.default(pYt),specials:C8.default(mYt),excepts:s.z.array(fYt).optional().default([])})})),T8,gYt,E8,_Yt=O((()=>{o8(),f8(),T8=()=>c8.passthrough().default({}),gYt=()=>s.z.object({id:s.z.union([s.z.string(),s.z.number()]).optional(),name:s.z.string().optional(),final:s.z.boolean().optional(),initial:s.z.boolean().optional()}).passthrough().default({}),s.z.object({subject:s.z.string().default(``),source:T8(),priority:T8(),reporter:T8(),service:T8(),statusCondition:gYt(),closeReason:c8.passthrough().nullish().default(null),closeResult:s.z.string().default(``)}),E8=(e,t)=>s.z.refine(t=>!t?.statusCondition?.final||e(t),{path:t,when:()=>!0,...a8(`required`)}),E8(e=>!!e.closeReason,[`closeReason`]),E8(e=>!e.closeReason||!!e.closeReason.id,[`closeReason`,`id`]),E8(e=>!!e.closeResult,[`closeResult`])})),vYt=O((()=>{o8(),s.z.object({reason:s.z.object({id:s.z.union([s.z.string(),s.z.number()])}).passthrough().nullable(),result:s.z.string().nullable()}).superRefine((e,t)=>{e.reason?.id||t.addIssue({code:`custom`,path:[`reason`],...a8(`required`)}),e.result||t.addIssue({code:`custom`,path:[`result`],...a8(`required`)})})})),yYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),bYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),xYt=O((()=>{o8(),s.z.object({type:s.z.object({name:s.z.string(),value:s.z.string()}).nullable(),separator:s.z.string().nullable()}).superRefine((e,t)=>{e.type||t.addIssue({code:`custom`,path:[`type`],...a8(`required`)}),e.type?.value===`csv`&&!e.separator&&t.addIssue({code:`custom`,path:[`separator`],...a8(`required`)})})})),SYt,CYt=O((()=>{Ap(),o8(),SYt=e=>{try{return Object.values(kp).includes(new URL(e).protocol)}catch{return!1}},s.z.object({url:s.z.string().min(1).refine(e=>!e||SYt(e),a8(`url`)),name:s.z.string().optional()})})),wYt=O((()=>{s.z.object({name:s.z.string().min(1),color:s.z.string().min(1),description:s.z.string().optional()})})),TYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),assignee:c8.optional(),group:c8.optional(),sla:c8.optional(),defaultPriority:c8.optional(),code:s.z.string().optional(),description:s.z.string().optional(),state:s.z.boolean().default(!0)})})),EYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),prefix:s.z.string().min(1),status:l8,closeReasonGroup:l8,sla:l8,defaultPriority:l8,teams:s.z.array(c8).optional(),skills:s.z.array(c8).optional(),code:s.z.string().optional(),description:s.z.string().optional(),state:s.z.boolean().default(!0)})})),DYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),type:s.z.string().min(1)})})),OYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),kYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),AYt=O((()=>{s.z.object({name:s.z.object({commonName:s.z.string().min(1)}).passthrough().optional(),timezones:s.z.any().optional(),managers:s.z.any().optional(),groups:s.z.any().optional(),labels:s.z.any().optional(),about:s.z.string().nullish(),user:s.z.any().nullish()})})),jYt=O((()=>{f8(),s.z.object({email:s.z.string().min(1).email(),type:d8,primary:s.z.boolean().optional()})})),D8,MYt,NYt,PYt=O((()=>{rW(),f8(),D8={name:s.z.string().min(1),description:s.z.string().optional(),enabled:s.z.boolean().default(!0),type:s.z.string().optional()},MYt=s.z.object({...D8,defaultGroup:c8.optional()}),NYt=s.z.object({...D8,defaultGroup:l8}),s.z.discriminatedUnion(`type`,[MYt.extend({type:s.z.literal(XU.Static)}),NYt.extend({type:s.z.literal(XU.Dynamic)})])})),FYt=O((()=>{f8(),s.z.object({expression:s.z.string().min(1),group:l8,assignee:c8.nullish()})})),IYt=O((()=>{f8(),s.z.object({number:s.z.string().min(1),type:d8,primary:s.z.boolean().optional()})})),LYt,RYt,zYt,BYt,VYt=O((()=>{o8(),f8(),LYt=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,RYt=/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,zYt=s.z.string().optional().default(``).refine(e=>e?e===`127.0.0.1`||e===`0.0.0.0`?!1:LYt.test(e):!0,a8(`ipValidator`)),BYt=s.z.string().optional().default(``).refine(e=>!e||RYt.test(e),a8(`macValidator`)),s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),account:s.z.string().min(1).default(``),password:s.z.string().optional().default(``),user:u8.optional().default({}),ip:zYt,brand:s.z.string().optional().default(``),model:s.z.string().optional().default(``),mac:BYt,hotdesk:s.z.boolean().optional(),hotdesks:s.z.array(s.z.string()).optional()}).superRefine((e,t)=>{!e.id&&!e.password&&t.addIssue({code:`custom`,path:[`password`],...a8(`required`)});let n=e.hotdesks;e.hotdesk&&n?.some(e=>!/\w+/.test(e))&&t.addIssue({code:`custom`,path:[`hotdesks`],...a8(`required`)})})})),HYt=O((()=>{s.z.object({certificate:s.z.string().min(1).default(``)})})),UYt=O((()=>{s.z.object({name:s.z.string().min(1),type:s.z.string().min(1),clientId:s.z.string().min(1),clientSecret:s.z.string().min(1),discoveryUrl:s.z.string().min(1),scopes:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().optional(),claims:s.z.array(s.z.object({type:s.z.string().optional(),value:s.z.string().optional()})).optional()})})),WYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),skills:s.z.array(c8).optional()})})),GYt,KYt,qYt,JYt,YYt=O((()=>{f8(),GYt=s.z.preprocess(e=>e===``||e==null?void 0:Number(e),s.z.number().int().min(1)),KYt=s.z.object({cause:u8.nullish(),duration:GYt}),qYt=()=>({duration:`30`}),JYt=s.z.object({name:s.z.string().min(1).max(250).default(``),description:s.z.string().optional().default(``),causes:s.z.array(KYt).min(1).prefault(()=>[qYt()])})})),XYt,ZYt,QYt=O((()=>{Ap(),XYt={required:[`name`],minValue:{priority:0,"payload.minOnlineAgents":0}},ZYt={[z.OFFLINE_QUEUE]:{required:[`strategy`,`calendar`],minValue:{"payload.originateTimeout":0}},[z.INBOUND_QUEUE]:{required:[`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.OUTBOUND_IVR_QUEUE]:{required:[`strategy`,`calendar`,`schema`,`payload.resourceStrategy`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.minDuration":0}},[z.PREVIEW_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0}},[z.PROGRESSIVE_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`,`payload.progressiveCount`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.progressiveCount":1}},[z.PREDICTIVE_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`,`payload.progressiveCount`,`payload.maxAgentLine`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.maxWaitTime":0,"payload.progressiveCount":1,"payload.maxAgentLine":1}},[z.CHAT_INBOUND_QUEUE]:{required:[`strategy`,`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.IM_CHAT_QUEUE]:{required:[`strategy`,`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.INBOUND_JOB_QUEUE]:{required:[`strategy`,`calendar`],minValue:{"payload.waitBetweenRetries":0}},[z.OUTBOUND_JOB_QUEUE]:{required:[`strategy`,`calendar`,`schema`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.minDuration":0}}}})),$Yt,eXt=O((()=>{n8(),f8(),$Yt=s.z.object({enabled:s.z.boolean().optional(),ai:s.z.boolean().optional(),positive:s.z.array(s.z.string()).optional(),playback:u8.optional(),allowNotSure:s.z.boolean().optional(),silenceNotSure:s.z.boolean().optional(),maxWordLength:t8,maxNumberOfWords:t8,betweenWordsSilence:t8,minWordLength:t8,totalAnalysisTime:t8,silenceThreshold:t8,afterGreetingSilence:t8,greeting:t8,initialSilence:t8})})),tXt,nXt=O((()=>{n8(),eXt(),tXt=s.z.object({maxAttempts:t8,minAttempts:t8,originateTimeout:t8,waitBetweenRetries:t8,waitBetweenRetriesDesc:s.z.boolean().optional(),minDuration:t8,maxCalls:t8,progressiveCount:t8,dialingRate:t8,resourceStrategy:s.z.string().optional(),strictCircuit:s.z.boolean().optional(),perNumbers:s.z.boolean().optional(),endless:s.z.boolean().optional(),retryAbandoned:s.z.boolean().optional(),maxAgentLine:t8,maxAgentLose:t8,maxAbandonedRate:t8,targetAbandonedRate:t8,abandonRateAdjustment:t8,loadFactor:t8,playbackSilence:t8,statisticTime:t8,timeBaseScore:s.z.string().optional(),maxWaitTime:t8,maxWaitingSize:t8,discardAbandonedAfter:t8,manualDistribution:s.z.boolean().optional(),minOnlineAgents:t8,maxMemberLimit:t8,ignoreCalendar:s.z.boolean().optional(),stickyAgentSec:t8,stickyIgnoreStatus:s.z.boolean().optional(),maxIdleAgent:t8,maxIdleClient:t8,maxIdleDialog:t8,lastMessageTimeout:s.z.boolean().optional(),recordings:s.z.boolean().optional(),recordAll:s.z.boolean().optional(),allowGreetingAgent:s.z.boolean().optional(),autoAnswerTone:s.z.string().nullable().optional(),amd:$Yt.optional()})})),rXt,iXt,aXt=O((()=>{n8(),f8(),rXt=s.z.object({enabled:s.z.boolean().optional(),isTimeoutRetry:s.z.boolean().optional(),prolongationTimeSec:t8,repeatsNumber:t8}),iXt=s.z.object({enabled:s.z.boolean().optional(),formSchema:u8.optional(),sec:t8,renewalSec:t8,prolongationOptions:rXt.prefault({})})})),oXt,sXt,cXt=O((()=>{n8(),o8(),eYt(),f8(),S8(),QYt(),nXt(),aXt(),oXt=s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),type:s.z.number(),enabled:s.z.boolean().optional(),priority:t8,tags:s.z.array(s.z.object({name:s.z.string()})).optional(),calendar:u8.optional(),team:u8.optional(),dncList:u8.optional(),grantee:u8.optional(),ringtone:u8.optional(),schema:u8.optional(),doSchema:u8.optional(),afterSchema:u8.optional(),formSchema:u8.optional(),strategy:s.z.string().optional(),stickyAgent:s.z.boolean().optional(),taskProcessing:iXt.optional(),payload:tXt.optional(),variables:s.z.array(x8).optional()}),sXt=oXt.superRefine((e,t)=>{let r=[XYt,ZYt[Number(e.type)]??{}];for(let i of r){for(let r of i.required??[]){let i=(0,n.get)(e,r);s8(i)||t.addIssue({code:`custom`,path:(0,n.isPlainObject)(i)?[...r.split(`.`),`id`]:r.split(`.`),...a8(`required`)})}for(let[r,a]of Object.entries(i.minValue??{})){let i=(0,n.get)(e,r);i==null||i===``||Number(i)<a&&t.addIssue({code:`too_small`,origin:`number`,minimum:a,inclusive:!0,input:i,path:r.split(`.`)})}}})})),lXt,uXt=O((()=>{f8(),lXt=s.z.object({bucket:d8,priority:s.z.number().min(0).default(0),disabled:s.z.boolean().optional()})})),dXt,fXt=O((()=>{f8(),dXt=s.z.object({event:s.z.string().min(1),schema:d8,properties:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().default(!0)})})),pXt,O8,mXt=O((()=>{f8(),m8(),pXt=/^[\d|w|W]*$/,O8=s.z.object({destination:s.z.string().min(1),type:d8,dtmf:s.z.string().regex(pXt).optional(),display:s.z.string().optional(),priority:s.z.number().optional(),resource:u8.optional(),description:s.z.string().optional()}),O8.extend({destination:p8})})),hXt,gXt=O((()=>{El(),f8(),S8(),mXt(),hXt=s.z.object({name:s.z.string().min(1),communications:s.z.array(O8).min(1),priority:s.z.number().optional().default(0),bucket:u8.optional(),timezone:u8.optional(),agent:u8.optional(),expireAt:s.z.union([s.z.string(),s.z.number()]).optional().default(()=>Ure(Date.now(),7).getTime()),minOfferingAt:s.z.union([s.z.string(),s.z.number()]).optional(),stopCause:s.z.string().optional(),variables:s.z.array(x8).optional()})})),_Xt,vXt=O((()=>{f8(),_Xt=s.z.object({resourceGroup:d8,communication:u8.optional()})})),yXt,bXt,xXt=O((()=>{f8(),yXt=s.z.object({skill:d8,lvl:s.z.number().min(0).max(1e3).default(0),minCapacity:s.z.number().min(0).max(100).optional().default(0),maxCapacity:s.z.number().min(0).max(100).optional().default(10),buckets:s.z.array(u8).optional().default([]),enabled:s.z.boolean().default(!0)}),bXt=yXt.superRefine((e,t)=>{e.minCapacity==null||e.maxCapacity==null||e.minCapacity<=e.maxCapacity||(t.addIssue({code:`custom`,path:[`minCapacity`],message:`Value must be less than or equal to the maximum capacity`}),t.addIssue({code:`custom`,path:[`maxCapacity`],message:`Value must be greater than or equal to the minimum capacity`}))})})),SXt=O((()=>{n8(),f8(),s.z.object({name:s.z.string().min(1).default(``),gateway:d8,rps:s.z.number().min(-1).max(1e3).default(10),limit:s.z.number().min(-1).max(5e3).default(10),description:s.z.string().optional().default(``),maxSuccessivelyErrors:s.z.number().default(2),errorIds:s.z.array(s.z.string()).optional().default([]),patterns:s.z.array(s.z.string()).optional().default([]),failureDialDelay:t8.default(0),parameters:s.z.object({cidType:s.z.string().optional().default(``),ignoreEarlyMedia:s.z.string().optional().default(``)}).optional().default({cidType:``,ignoreEarlyMedia:``})})})),CXt=O((()=>{m8(),s.z.object({display:p8.default(``)})})),wXt,TXt,EXt=O((()=>{f8(),b8(),wXt=s.z.array(v8).min(1).superRefine(y8()),TXt=()=>({start:540,end:1200}),s.z.object({name:s.z.string().min(1),communication:d8,description:s.z.string().optional().default(``),time:wXt.default(()=>[TXt()])})})),DXt=O((()=>{n8(),f8(),s.z.object({resource:d8,reserveResource:u8.nullish().default({}),priority:t8.default(0)})})),OXt,kXt,AXt,jXt=O((()=>{b8(),OXt=s.z.array(v8).min(1),kXt=()=>({start:540,end:1080}),AXt=s.z.object({name:s.z.string().min(1).max(250).default(``),description:s.z.string().optional().default(``),times:OXt.default(()=>[kXt()])})})),MXt,NXt=O((()=>{i8(),f8(),MXt=6e4,s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),calendar:l8,reactionTime:r8(),resolutionTime:r8(),validFrom:s.z.union([s.z.string(),s.z.number()]).nullish(),validTo:s.z.union([s.z.string(),s.z.number()]).nullish()}).superRefine((e,t)=>{if(!e.validFrom||!e.validTo)return;let n=Number(e.validFrom),r=Number(e.validTo);Number.isNaN(n)||Number.isNaN(r)||n>r-MXt&&t.addIssue({code:`too_big`,origin:`date`,maximum:r,inclusive:!1,input:e.validFrom,path:[`validFrom`]})})})),PXt=O((()=>{i8(),f8(),s.z.object({name:s.z.string().min(1),priorities:s.z.array(l8).min(1),reactionTime:r8(),resolutionTime:r8()})})),FXt=O((()=>{f8(),s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),description:s.z.string().optional().default(``),strategy:s.z.string().min(1).default(``),admin:s.z.array(u8).optional().default([]),screenControl:s.z.boolean().optional().default(!1),maxNoAnswer:s.z.number().min(0).default(3),wrapUpTime:s.z.number().min(0).default(15),noAnswerDelayTime:s.z.number().min(0).default(30),taskAcceptTimeout:s.z.number().min(0).default(30),callTimeout:s.z.number().min(0).default(60),inviteChatTimeout:s.z.number().min(0).default(30)})})),IXt=O((()=>{f8(),s.z.object({agent:d8})})),LXt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),schema:d8,enabled:s.z.boolean().default(!0)})})),RXt=O((()=>{f8(),s.z.object({event:s.z.string().min(1),schema:d8,properties:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().default(!0)})})),zXt=O((()=>{s.z.object({fields:s.z.array(s.z.any()).optional()})})),BXt=O((()=>{})),VXt,HXt,UXt=O((()=>{o8(),f8(),S8(),VXt=/^[0-9]*$/,HXt=s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),username:s.z.string().min(1).default(``),password:s.z.string().optional().default(``),extension:s.z.string().optional().default(``).refine(e=>!e||VXt.test(e),a8(`numeric`)),email:s.z.string().optional().default(``),chatName:s.z.string().optional().default(``),contact:u8.nullish().default({}),roles:s.z.array(u8).optional().default([]),license:s.z.array(s.z.any()).optional().default([]),devices:s.z.array(u8).optional().default([]),device:u8.nullish().default({}),forcePasswordChange:s.z.boolean().optional().default(!1),generateDevice:s.z.boolean().optional().default(!1),variables:s.z.array(x8).optional().default([])}),HXt.superRefine((e,t)=>{!e.id&&!e.password&&t.addIssue({code:`custom`,path:[`password`],...a8(`required`)}),e.variables?.forEach(({key:e,value:n},r)=>{n&&!e&&t.addIssue({code:`custom`,path:[`variables`,r,`key`],...a8(`required`)}),e&&!n&&t.addIssue({code:`custom`,path:[`variables`,r,`value`],...a8(`required`)})})})})),WXt,GXt=O((()=>{WXt=s.z.object({usage:s.z.string().default(``)})})),KXt=O((()=>{s.z.object({key:s.z.string().min(1),value:s.z.string().min(1)})})),k8,qXt,JXt=O((()=>{f8(),k8=e=>s.z.number().int().min(0).max(e).nullish(),qXt=s.z.object({name:s.z.string().min(1).max(250),description:s.z.string().optional().default(``),workdayHours:k8(24),workdaysPerMonth:k8(31),vacation:k8(365),sickLeaves:k8(365),daysOff:k8(365),pauseDuration:k8(1440),pauseTemplate:d8,shiftTemplate:u8.nullish()})})),A8=O((()=>{n8(),i8(),o8(),f8(),m8(),b8(),S8(),iYt(),aYt(),oYt(),sYt(),cYt(),lYt(),uYt(),hYt(),_Yt(),vYt(),yYt(),bYt(),xYt(),CYt(),wYt(),TYt(),EYt(),DYt(),OYt(),kYt(),AYt(),jYt(),PYt(),FYt(),IYt(),VYt(),HYt(),UYt(),WYt(),YYt(),QYt(),cXt(),eXt(),nXt(),aXt(),uXt(),fXt(),mXt(),gXt(),vXt(),xXt(),SXt(),CXt(),EXt(),DXt(),jXt(),NXt(),PXt(),FXt(),IXt(),LXt(),RXt(),zXt(),BXt(),UXt(),GXt(),KXt(),JXt()})),YXt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(JYt)})),XXt=O((()=>{Z(),_y(),Y(),X()})),ZXt=O((()=>{yu(),Z(),Y(),X(),vu(J$),vu(X$)})),QXt=O((()=>{Z(),Y(),X()})),$Xt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(lXt)]})),eZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(dXt)]})),tZt=O((()=>{Z(),_y(),Y(),X()})),nZt=O((()=>{yu(),A8(),mz(),Z(),_y(),Y(),X(),[...vu(hXt)]})),rZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(_Xt)]})),iZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(bXt)]})),aZt=O((()=>{Z(),X()})),oZt=O((()=>{cq()})),sZt=O((()=>{})),cZt=O((()=>{})),lZt=O((()=>{Ap(),sZt(),cZt(),oZt(),z.OFFLINE_QUEUE,z.INBOUND_QUEUE,z.OUTBOUND_IVR_QUEUE,z.PREVIEW_DIALER,z.PROGRESSIVE_DIALER,z.PREDICTIVE_DIALER,z.CHAT_INBOUND_QUEUE,z.IM_CHAT_QUEUE,z.INBOUND_JOB_QUEUE,z.OUTBOUND_JOB_QUEUE})),uZt,dZt,fZt=O((()=>{yu(),A8(),mz(),cq(),Ap(),Z(),Y(),X(),Dq(),oZt(),lZt(),uZt=`/call_center/queues`,dZt=[`variables`],vu(sXt),xq(dZt),{...Eq(uZt)}})),pZt=O((()=>{Z(),Y(),X()})),mZt=O((()=>{Z(),Y(),X()})),hZt=O((()=>{Z(),Y(),X()})),gZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(AXt)})),_Zt=O((()=>{Z(),Y(),X()})),vZt=O((()=>{Z(),Y(),X()})),yZt=O((()=>{Z(),Y(),X()})),bZt=O((()=>{Z(),Y(),X()})),xZt=O((()=>{mz(),Z(),Y(),X()})),SZt=O((()=>{Z(),Y(),X()})),CZt,wZt=O((()=>{Z(),Y(),X(),Dq(),CZt=`/call_center/teams`,{...Eq(CZt)}})),TZt=O((()=>{Z(),Y(),X()})),EZt=O((()=>{Z(),Y(),X()})),DZt=O((()=>{Z(),Y(),X()})),OZt=O((()=>{Z(),Y(),X()})),kZt=O((()=>{mz(),Z(),Y(),X()})),AZt=O((()=>{I(),X()})),jZt,MZt=O((()=>{yu(),mz(),Z(),Y(),X(),Dq(),ba(),jZt=`/users`,{...Eq(jZt)}})),NZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(WXt)})),PZt=O((()=>{yu(),Z(),Y(),X(),vu(G2),vu(Z2)})),FZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(qXt)})),IZt=O((()=>{Z(),_y(),X()})),LZt=O((()=>{Z(),Y(),X(),ba()})),RZt=O((()=>{mz()})),zZt=O((()=>{Z(),Y(),X(),RZt()})),BZt,j8,M8,VZt,HZt,N8,UZt,WZt,GZt=O((()=>{Y(),X(),BZt=ba(),j8=/\{([^}]+)\}/g,M8=(e,t)=>t.split(`.`).reduce((e,t)=>e?.[t],e),VZt=(e,t)=>e.match(j8)?e.replace(j8,(e,n)=>{let r=M8(t,n);return r==null?`{${n}}`:String(r)}):M8(t,e),HZt=({display:e,primary:t})=>n=>n.map(n=>({...n,...t&&{id:n[t]},...e&&{name:VZt(e,n)}})),N8=async({path:e,display:t,primary:n,filters:r=[],...i})=>{let a=aq(i,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),e=>({...e,ids:e.id}),gq([`page`,`size`,`q`,`sort`,`fields`,`id`,`ids`]),oq(),sq(e),iq(r)]);try{let{data:e,items:r,next:i}=aq((await BZt.get(a)).data,[uq(nq())]);return{items:aq(e||r||[],[HZt({display:t,primary:n})])??[],next:i}}catch(e){throw aq(e,[hq])}},UZt=e=>N8({...e,fields:e.fields||[`id`,`name`]}),WZt={getList:N8,getLookup:UZt}})),KZt=O((()=>{Z(),X(),RZt(),aQ()})),qZt=O((()=>{Z(),Y(),X()})),JZt=O((()=>{eW(),_y()})),YZt=O((()=>{Object.freeze({NAME:`name`,LABELS:`labels`,ABOUT:`about`,VARIABLES:`variables`,DESTINATION:`destination`})})),XZt,ZZt=O((()=>{yu(),Z(),Y(),X(),Dq(),JZt(),YZt(),XZt=`/contacts`,vu(ZX),[...vu($X)],[...vu(oZ)],{...Eq(XZt)}})),QZt=O((()=>{})),$Zt=O((()=>{qZt(),ZZt(),YZt(),QZt()})),P8=O((()=>{Dq(),$Kt(),eqt(),tqt(),nqt(),rqt(),iqt(),Cqt(),wqt(),Tqt(),Eqt(),Dqt(),Oqt(),Aqt(),jqt(),Mqt(),Nqt(),Pqt(),Fqt(),Iqt(),Lqt(),Rqt(),zqt(),Bqt(),Vqt(),Hqt(),Uqt(),Wqt(),Jqt(),Yqt(),Xqt(),Zqt(),eJt(),nJt(),rJt(),aJt(),oJt(),sJt(),cJt(),uJt(),fJt(),pJt(),mJt(),hJt(),gJt(),_Jt(),vJt(),yJt(),bJt(),xJt(),SJt(),CJt(),TJt(),EJt(),DJt(),OJt(),kJt(),jJt(),MJt(),NJt(),LJt(),zJt(),KJt(),qJt(),YJt(),XJt(),QJt(),$Jt(),YXt(),XXt(),ZXt(),QXt(),$Xt(),eZt(),tZt(),nZt(),rZt(),iZt(),aZt(),fZt(),pZt(),mZt(),hZt(),gZt(),_Zt(),vZt(),yZt(),bZt(),xZt(),SZt(),wZt(),TZt(),EZt(),DZt(),OZt(),kZt(),AZt(),MZt(),NZt(),PZt(),FZt(),IZt(),LZt(),zZt(),GZt(),KZt(),$Zt()})),eQt=O((()=>{mz(),cq(),qp()})),tQt=O((()=>{qp(),ky()})),nQt,rQt,iQt=O((()=>{nQt=Symbol(`filterReadAccess`),rQt=()=>(0,t.inject)(nQt,()=>void 0)})),F8,I8,aQt=O((()=>{F8={Read:`read`,Write:`write`,Delete:`delete`,Add:`add`},I8={PlaybackRecordFile:`playback_record_file`,ResetActiveAttempts:`reset_active_attempts`,TimeLimitedRecordFile:`time_limited_record_file`,ManageUserLicense:`manage_user_license`,SchemeVariables:`scheme_variables`,SystemSetting:`system_setting`,ManageUserRoles:`manage_user_roles`,ExportDataGrid:`export_data_grid`,LimitWorkspaceContacts:`limit_workspace_contacts`,ViewCdrPhoneNumbers:`view_cdr_phone_numbers`,ChangeUserPassword:`change_user_password`,EavesdropCall:`eavesdrop_call`,ControlAgentScreen:`control_agent_screen`}})),L8,oQt=O((()=>{L8={Agent:`cc_agent`,Queue:`cc_queue`,Dictionaries:`dictionaries`,EmailProfile:`email_profile`,Skills:`cc_skill`,Users:`users`,Devices:`devices`,AcrRouting:`acr_routing`,Gateways:`gateways`,AcrChatPlan:`acr_chat_plan`,Chats:`chats`,List:`cc_list`,Calendars:`calendars`,Team:`cc_team`,ResourceGroup:`cc_resource_group`,Resource:`cc_resource`,StorageProfile:`storage_profile`,CognitiveProfile:`cognitive_profile`,ImportTemplate:`import_template`,Trigger:`trigger`,Schema:`schema`,Role:`roles`,Contacts:`contacts`,MediaFile:`media_file`,Logger:`logger`,Calls:`calls`,RecordFile:`record_file`,ScreenRecordings:`screen_recordings`,VideocallFiles:`videocall_files`,ContactGroups:`contact_groups`,ChatBots:`chat_bots`,Cases:`cases`,CaseComments:`case_comments`,AuditForm:`cc_audit_form`,AuditRating:`rating`,PauseTemplates:`pause_templates`,ShiftTemplates:`shift_templates`,WorkingConditions:`working_conditions`,AgentWorkingConditions:`agent_working_conditions`,ListNumber:`cc_list_number`,CaseLookups:`case_lookups`,FilesPolicy:`files_policy`,PortalUsers:`portal_users`,Custom:`custom`,SingleSignOn:`sso`}})),R8=O((()=>{aQt(),oQt()})),sQt,z8,cQt,lQt,B8=O((()=>{qp(),R8(),sQt={[F8.Add]:Fp.Create,[F8.Read]:Fp.Read,[F8.Write]:Fp.Update,[F8.Delete]:Fp.Delete},(0,n.invert)(sQt),z8={[L8.Users]:[K.User],[L8.Devices]:[K.Device],[L8.Schema]:[K.Flow],[L8.AcrRouting]:[K.Dialplan],[L8.Gateways]:[K.Gateway],[L8.AcrChatPlan]:[K.Chatplan],[L8.Dictionaries]:[K.Region,K.Bucket,K.Communication,K.PauseCause,K.QuickReply],[L8.List]:[K.Blacklist],[L8.Skills]:[K.Skill,K.ActivityType],[L8.Calendars]:[K.Calendar],[L8.MediaFile]:[K.Media],[L8.Agent]:[K.Agent],[L8.Queue]:[K.Queue,K.Member],[L8.ResourceGroup]:[K.ResourceGroup],[L8.Resource]:[K.Resource],[L8.Team]:[K.Team],[L8.StorageProfile]:[K.Storage],[L8.CognitiveProfile]:[K.CognitiveProfile],[L8.EmailProfile]:[K.EmailProfile],[L8.SingleSignOn]:[K.SingleSignOn],[L8.ImportTemplate]:[K.ImportCsv],[L8.Trigger]:[K.Trigger],[L8.Role]:[K.Role],[L8.Contacts]:[K.Contact],[L8.Logger]:[K.ChangeLog],[L8.Calls]:[K.Call],[L8.RecordFile]:[K.RecordFile],[L8.ScreenRecordings]:[K.ScreenRecordings],[L8.VideocallFiles]:[K.VideocallFiles],[L8.ContactGroups]:[K.ContactGroup],[L8.ChatBots]:[K.ChatGateway],[L8.Cases]:[K.Case],[L8.CaseComments]:[K.CaseComment],[L8.AuditForm]:[K.AuditForm],[L8.AuditRating]:[K.AuditRating],[L8.PauseTemplates]:[K.PauseTemplate],[L8.ShiftTemplates]:[K.ShiftTemplate],[L8.WorkingConditions]:[K.WorkingCondition],[L8.AgentWorkingConditions]:[K.AgentWorkingCondition],[L8.ListNumber]:[K.ListNumber],[L8.CaseLookups]:[K.Slas,K.ServiceCatalog,K.Priorities,K.Status,K.Source,K.CloseReasonGroup],[L8.FilesPolicy]:[K.FilePolicy],[L8.PortalUsers]:[K.PortalUser],[L8.Custom]:[K.CustomLookup]},K.License,K.Object,K.Configuration,I8.SystemSetting,K.GlobalVariable,I8.SchemeVariables,cQt={r:Fp.Read,w:Fp.Update,d:Fp.Delete,x:Fp.Create},(0,n.invert)(cQt),lQt={[G.Admin]:{[K.User]:U.Users,[K.Agent]:U.Agents,[K.License]:U.License,[K.Device]:U.Devices,[K.Flow]:U.Flow,[K.Dialplan]:U.Dialplan,[K.Gateway]:U.Gateways,[K.Chatplan]:U.Chatplan,[K.ChatGateway]:U.ChatGateways,[K.Skill]:U.Skills,[K.Bucket]:U.Buckets,[K.Blacklist]:U.Blacklist,[K.Region]:U.Regions,[K.Calendar]:U.Calendars,[K.Communication]:U.Communications,[K.PauseCause]:U.PauseCause,[K.Media]:U.Media,[K.Team]:U.Teams,[K.Resource]:U.Resources,[K.ResourceGroup]:U.ResourceGroups,[K.Queue]:U.Queues,[K.Storage]:U.Storage,[K.CognitiveProfile]:U.CognitiveProfiles,[K.EmailProfile]:U.EmailProfiles,[K.ImportCsv]:U.ImportCsv,[K.Trigger]:U.Triggers,[K.Role]:U.Roles,[K.Object]:U.Objects,[K.ChangeLog]:U.Changelogs,[K.Configuration]:U.Configuration,[K.GlobalVariable]:U.GlobalVariables,[K.Member]:U.Members,[K.QuickReply]:U.QuickReplies,[K.ActivityType]:U.ActivityTypes},[G.Audit]:{[K.AuditForm]:Up.Scorecards},[G.Crm]:{[K.Contact]:W.Contacts,[K.Case]:W.Cases,[K.Slas]:W.Slas,[K.ServiceCatalog]:W.ServiceCatalogs,[K.CaseSource]:W.CaseSources,[K.CloseReasonGroup]:W.CloseReasonGroups,[K.Priorities]:W.Priorities,[K.Status]:W.Statuses,[K.Source]:W.Sources,[K.ContactGroup]:W.ContactGroups,[K.CustomLookup]:W.CustomLookups},[G.Supervisor]:{[K.Queue]:Wp.Queues,[K.Agent]:Wp.Agents,[K.Communication]:Wp.ActiveCalls},[G.Wfm]:{[K.Agent]:Gp.Agents,[K.ShiftTemplate]:Gp.ShiftTemplates,[K.PauseTemplate]:Gp.PauseTemplates,[K.WorkingCondition]:Gp.WorkingConditions}},(0,n.invert)(lQt),(0,n.invert)(U),(0,n.invert)(Up),(0,n.invert)(W),(0,n.invert)(Wp),(0,n.invert)(Gp)})),uQt,dQt,fQt,pQt,mQt=O((()=>{R8(),B8(),uQt={"call_center/queues":L8.Queue,"call_center/agents":L8.Agent,"call_center/list":L8.List,"call_center/teams":L8.Team,"call_center/skills":L8.Skills,"call_center/resources":L8.Resource,"call_center/resource_group":L8.ResourceGroup,"call_center/communication_type":L8.Dictionaries,"call_center/buckets":L8.Dictionaries,"call_center/pause_causes":L8.Dictionaries,"call_center/quick_replies":L8.Dictionaries,regions:L8.Dictionaries,"contacts/groups":L8.ContactGroups},dQt=[{prefix:`cases/`,scopeClass:L8.CaseLookups},{prefix:`dictionaries/`,scopeClass:L8.Custom}],fQt=e=>e?z8[e]?e:uQt[e]||dQt.find(({prefix:t})=>e.startsWith(t))?.scopeClass:void 0,pQt=e=>e?z8[e]?.[0]:void 0})),V8,H8,U8,hQt,gQt,_Qt=O((()=>{P8(),V8=(0,t.reactive)(new Map),H8=new Map,U8=e=>e?.replace(/^\//,``)||void 0,hQt=async e=>{if(V8.has(e))return V8.get(e);let t=H8.get(e);if(t)return t;let n=GJt.get({itemId:e}).then(t=>{let n=t?.objclass;return V8.set(e,n),n}).catch(()=>{V8.set(e,void 0)}).finally(()=>{H8.delete(e)});return H8.set(e,n),n},gQt=e=>{let t=U8(e);if(t)return V8.has(t)||hQt(t),V8.get(t)}})),vQt,yQt,bQt=O((()=>{iQt(),mQt(),_Qt(),vQt=(e,t)=>{let n=U8(e?.lookup?.path);if(!n)return!0;let r=e?.lookup?.objclass||fQt(n)||gQt(n);if(!r)return!1;let i=pQt(r);return t?.(i??r)??!1},yQt=(e,n)=>{let r=rQt();return{hasReadAccess:(0,t.computed)(()=>vQt((0,t.toValue)(e),n??r()))}}})),W8,xQt=O((()=>{W8={en:`en`,uk:`uk`,ru:`ru`,es:`es`,kz:`kz`,vi:`vi`,pl:`pl`,ro:`ro`,uz:`uz`}})),SQt=k((e=>{var t=e&&e.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw TypeError(`Generator is already executing.`);for(;n;)try{if(r=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,i=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if((a=n.trys,!(a=a.length>0&&a[a.length-1]))&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};Object.defineProperty(e,"__esModule",{value:!0}),e.$listeners=Symbol(`EventEmitter.listeners`),e.$addListener=Symbol(`EventEmitter.addListener`),e.EventEmitter=function(){function i(){this[e.$listeners]={}}return i.count=function(t,n){var r=0,i=t[e.$listeners][n];if(i)for(var a=i.first;++r&&a.next;)a=a.next;return r},i.has=function(t,n){if(n==`*`){for(n in t[e.$listeners])return!0;return!1}return t[e.$listeners][n]!==void 0},i.keys=function(t){return Object.keys(t[e.$listeners])},i.unhandle=function(t,n,r,i){return t.on(n,function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(!t[e.$listeners][n].first.next)return r.apply(void 0,i)},i)},i.prototype.on=function(t,n,r){return typeof n==`function`?this[e.$addListener](t,n,r):this[e.$addListener](t,void 0,n)},i.prototype.one=function(t,n,r){return typeof n==`function`?this[e.$addListener](t,n,r,!0):this[e.$addListener](t,void 0,n,!0)},i.prototype.off=function(t,n){if(t==`*`){var i=this[e.$listeners];if(this[e.$listeners]={},this._onEventUnhandled)for(var a in i)this._onEventUnhandled(a);return this}if(typeof n==`function`){var o=this[e.$listeners][t];if(!o||r(o,function(e){return e.fn==n}))return this}return delete this[e.$listeners][t],this._onEventUnhandled&&this._onEventUnhandled(t),this},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r,i=this.listeners(e);;){var a=i.next(),o=a.value;if(a.done)return r;var s=o.apply(void 0,t);s!==void 0&&(r=s)}},i.prototype.listeners=function(n){var r,i,a;return t(this,function(t){switch(t.label){case 0:if(r=this[e.$listeners][n],!r)return[2];i=null,a=r.first,t.label=1;case 1:return[4,a.fn];case 2:if(t.sent(),a.once)if(i)i.next=a.next;else if(a.next)return r.first=a=a.next,[3,1];else return delete this[e.$listeners][n],this._onEventUnhandled&&this._onEventUnhandled(n),[2];else i=a;return a.next?(a=a.next,[3,1]):(r.last=a,[2]);case 3:return[2]}})},i.prototype[e.$addListener]=function(t,r,i,a){var o=this;if(a===void 0&&(a=!1),typeof t==`object`){var s,c=function(){if(typeof t[s]==`function`){var r=t[s],c=n(l[e.$listeners],s,{fn:r,once:a,next:null});i&&i.push({dispose:function(){return o.off(s,r)}}),r==c.first.fn&&l._onEventHandled&&l._onEventHandled(s)}},l=this;for(s in t)c();return this}if(typeof r==`function`){var u=t,d=n(this[e.$listeners],u,{fn:r,once:a,next:null});i&&i.push({dispose:function(){return o.off(u,r)}}),r==d.first.fn&&this._onEventHandled&&this._onEventHandled(t)}return r},i.ev=e.$listeners,i}();function n(e,t,n){var r=e[t];return r?(r.last.next=n,r.last=n):e[t]=r={first:n,last:n},r}function r(e,t){for(var n=null,r=e.first;;)if(t(r))if(n)if(n.next=r.next,r.next)r=r.next;else break;else if(r.next)e.first=r=r.next;else return null;else if(n=r,r.next)r=r.next;else break;return e.last=n,e}})),CQt=A({bugs:()=>t5,contributors:()=>X8,default:()=>wQt,dependencies:()=>i5,description:()=>q8,devDependencies:()=>a5,files:()=>n5,homepage:()=>Y8,keywords:()=>$8,license:()=>`MIT`,main:()=>Q8,name:()=>G8,repository:()=>e5,scripts:()=>r5,title:()=>K8,types:()=>Z8,version:()=>J8}),G8,K8,q8,J8,Y8,X8,Z8,Q8,$8,e5,t5,n5,r5,i5,a5,wQt,TQt=O((()=>{G8=`jssip`,K8=`JsSIP`,q8=`The Javascript SIP library`,J8=`3.13.8`,Y8=`https://jssip.net`,X8=[`José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)`,`Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)`],Z8=`lib/JsSIP.d.ts`,Q8=`lib/JsSIP.js`,$8=[`sip`,`websocket`,`webrtc`,`node`,`browser`,`library`],e5={type:`git`,url:`https://github.com/versatica/JsSIP.git`},t5={url:`https://github.com/versatica/JsSIP/issues`},n5=[`LICENSE`,`README.md`,`npm-scripts.mjs`,`lib`],r5={lint:`node npm-scripts.mjs lint`,"lint:fix":`node npm-scripts.mjs lint:fix`,test:`node npm-scripts.mjs test`,coverage:`node npm-scripts.mjs coverage`,build:`node npm-scripts.mjs build`,"typescript:build":`node npm-scripts.mjs typescript:build`,release:`node npm-scripts.mjs release`,docs:`node npm-scripts.mjs docs`,"docs:watch":`node npm-scripts.mjs docs:watch`,"docs:check":`node npm-scripts.mjs docs:check`},i5={debug:`^4.3.1`,events:`^3.3.0`,"sdp-transform":`^2.14.1`},a5={"@eslint/eslintrc":`^3.3.3`,"@eslint/js":`^9.39.2`,"@types/debug":`^4.1.12`,"@types/events":`^3.0.3`,"@types/jest":`^30.0.0`,"@types/node":`^25.0.10`,cpx:`^1.5.0`,esbuild:`^0.27.2`,eslint:`^9.39.1`,"eslint-config-prettier":`^10.1.8`,"eslint-plugin-jest":`^29.12.1`,"eslint-plugin-prettier":`^5.5.5`,globals:`^17.0.0`,jest:`^30.2.0`,"open-cli":`^8.0.0`,pegjs:`^0.7.0`,prettier:`^3.8.1`,"ts-jest":`^29.4.6`,typedoc:`^0.28.16`,typescript:`^5.9.3`,"typescript-eslint":`^8.53.1`},wQt={name:G8,title:K8,description:q8,version:J8,homepage:Y8,contributors:X8,types:Z8,main:Q8,keywords:$8,license:`MIT`,repository:e5,bugs:t5,files:n5,scripts:r5,dependencies:i5,devDependencies:a5}})),o5=k(((e,t)=>{var n=(TQt(),be(CQt).default);t.exports={USER_AGENT:`${n.title} ${n.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,SUBSCRIBE`,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}})),s5=k(((e,t)=>{t.exports={ConfigurationError:class extends Error{constructor(e,t){super(),this.code=1,this.name=`CONFIGURATION_ERROR`,this.parameter=e,this.value=t,this.message=this.value?`Invalid value ${JSON.stringify(this.value)} for parameter "${this.parameter}"`:`Missing parameter: ${this.parameter}`}},InvalidStateError:class extends Error{constructor(e){super(),this.code=2,this.name=`INVALID_STATE_ERROR`,this.status=e,this.message=`Invalid status: ${e}`}},NotSupportedError:class extends Error{constructor(e){super(),this.code=3,this.name=`NOT_SUPPORTED_ERROR`,this.message=e}},NotReadyError:class extends Error{constructor(e){super(),this.code=4,this.name=`NOT_READY_ERROR`,this.message=e}}}})),c5=k(((e,t)=>{var n=u5(),r=l5();t.exports=class e{static parse(e){if(e=r.parse(e,`Name_Addr_Header`),e!==-1)return e}constructor(e,t,r){if(!e||!(e instanceof n))throw TypeError(`missing or invalid "uri" parameter`);this._uri=e,this._parameters={},this.display_name=t;for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&this.setParam(e,r[e])}get uri(){return this._uri}get display_name(){return this._display_name}set display_name(e){this._display_name=e===0?`0`:e}setParam(e,t){e&&(this._parameters[e.toLowerCase()]=t==null?null:t.toString())}getParam(e){if(e)return this._parameters[e.toLowerCase()]}hasParam(e){if(e)return this._parameters.hasOwnProperty(e.toLowerCase())&&!0||!1}deleteParam(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){let t=this._parameters[e];return delete this._parameters[e],t}}clearParams(){this._parameters={}}clone(){return new e(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}_quote(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}toString(){let e=this._display_name?`"${this._quote(this._display_name)}" `:``;e+=`<${this._uri.toString()}>`;for(let t in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,t)&&(e+=`;${t}`,this._parameters[t]!==null&&(e+=`=${this._parameters[t]}`));return e}}})),l5=k(((e,t)=>{t.exports=(function(){function e(e){return`"`+e.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(t,n){var r={CRLF:l,DIGIT:u,ALPHA:d,HEXDIG:f,WSP:p,OCTET:m,DQUOTE:h,SP:g,HTAB:_,alphanum:v,reserved:y,unreserved:b,mark:x,escaped:S,LWS:C,SWS:w,HCOLON:T,TEXT_UTF8_TRIM:ee,TEXT_UTF8char:te,UTF8_NONASCII:ne,UTF8_CONT:re,LHEX:ie,token:E,token_nodot:ae,separators:oe,word:se,STAR:ce,SLASH:le,EQUAL:D,LPAREN:ue,RPAREN:de,RAQUOT:fe,LAQUOT:pe,COMMA:me,SEMI:he,COLON:ge,LDQUOT:O,RDQUOT:k,comment:A,ctext:_e,quoted_string:ve,quoted_string_clean:ye,qdtext:be,quoted_pair:xe,SIP_URI_noparams:Se,SIP_URI:Ce,uri_scheme:we,uri_scheme_sips:Te,uri_scheme_sip:Ee,userinfo:De,user:Oe,user_unreserved:ke,password:Ae,hostport:je,host:Me,hostname:Ne,domainlabel:Pe,toplabel:Fe,IPv6reference:Ie,IPv6address:Le,h16:j,ls32:Re,IPv4address:ze,dec_octet:Be,port:Ve,uri_parameters:He,uri_parameter:Ue,transport_param:We,user_param:Ge,method_param:Ke,ttl_param:qe,maddr_param:Je,lr_param:Ye,other_param:Xe,pname:Ze,pvalue:Qe,paramchar:$e,param_unreserved:et,headers:tt,header:nt,hname:rt,hvalue:it,hnv_unreserved:at,Request_Response:ot,Request_Line:st,Request_URI:ct,absoluteURI:lt,hier_part:ut,net_path:dt,abs_path:ft,opaque_part:pt,uric:mt,uric_no_slash:M,path_segments:ht,segment:gt,param:_t,pchar:vt,scheme:yt,authority:bt,srvr:xt,reg_name:St,query:Ct,SIP_Version:wt,INVITEm:Tt,ACKm:Et,OPTIONSm:Dt,BYEm:Ot,CANCELm:kt,REGISTERm:At,SUBSCRIBEm:jt,NOTIFYm:Mt,REFERm:Nt,Method:Pt,Status_Line:Ft,Status_Code:It,extension_code:Lt,Reason_Phrase:Rt,Allow_Events:zt,Call_ID:Bt,Contact:Vt,contact_param:Ht,name_addr:Ut,display_name:Wt,contact_params:Gt,c_p_q:Kt,c_p_expires:qt,delta_seconds:Jt,qvalue:Yt,generic_param:Xt,gen_value:Zt,Content_Disposition:Qt,disp_type:$t,disp_param:en,handling_param:tn,Content_Encoding:nn,Content_Length:rn,Content_Type:an,media_type:on,m_type:sn,discrete_type:cn,composite_type:ln,extension_token:un,x_token:dn,m_subtype:fn,m_parameter:pn,m_value:mn,CSeq:hn,CSeq_value:gn,Expires:_n,Event:vn,event_type:yn,From:bn,from_param:xn,tag_param:Sn,Max_Forwards:Cn,Min_Expires:wn,Name_Addr_Header:Tn,Proxy_Authenticate:En,challenge:Dn,other_challenge:On,auth_param:kn,digest_cln:An,realm:jn,realm_value:Mn,domain:Nn,URI:Pn,nonce:N,nonce_value:Fn,opaque:In,stale:Ln,algorithm:Rn,qop_options:zn,qop_value:Bn,Proxy_Require:Vn,Record_Route:Hn,rec_route:Un,Reason:Wn,reason_param:Gn,reason_cause:Kn,Require:qn,Route:Jn,route_param:Yn,Subscription_State:Xn,substate_value:Zn,subexp_params:Qn,event_reason_value:$n,Subject:er,Supported:tr,To:nr,to_param:rr,Via:ir,via_param:ar,via_params:or,via_ttl:sr,via_maddr:cr,via_received:lr,via_branch:ur,response_port:dr,rport:fr,sent_protocol:pr,protocol_name:mr,transport:hr,sent_by:gr,via_host:_r,via_port:vr,ttl:yr,WWW_Authenticate:br,Session_Expires:xr,s_e_expires:Sr,s_e_params:Cr,s_e_refresher:P,extension_header:wr,header_value:Tr,message_body:Er,uuid_URI:Dr,uuid:Or,hex4:kr,hex8:Ar,hex12:jr,Refer_To:Mr,Replaces:Nr,call_id:Pr,replaces_param:Fr,to_tag:Ir,from_tag:Lr,early_flag:Rr};if(n!==void 0){if(r[n]===void 0)throw Error(`Invalid rule name: `+e(n)+`.`)}else n=`CRLF`;var i=0,a=0,o=0,s=[];function c(e){i<o||(i>o&&(o=i,s=[]),s.push(e))}function l(){var e;return t.substr(i,2)===`\r
|
|
4812
|
+
- PROVIDER_STATUS_ERROR: Connection or authentication failed`),updated_at:s.string().optional(),waba_id:s.string().optional()}).optional()}).describe(`/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider.`)})),aGt=O((()=>{s.object({page:s.int().optional(),size:s.int().optional(),q:s.string().optional(),sort:s.string().optional(),fields:s.array(s.string()).optional()}),s.object({items:s.array(s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()})).optional(),next:s.boolean().optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({fields:s.array(s.string()).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({"item.id":s.string()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()}),s.object({item:s.object({created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),days_off:s.int().optional(),description:s.string().optional(),domain_id:s.string().optional(),id:s.string().optional(),name:s.string().optional(),pause_duration:s.int().optional(),pause_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),shift_template:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),sick_leaves:s.int().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),vacation:s.int().optional(),workday_hours:s.int().optional(),workdays_per_month:s.int().optional()}).optional()})})),oGt,sGt,cGt,lGt,uGt,dGt,fGt=O((()=>{s.object({q:s.string().optional(),page:s.int().optional(),size:s.int().optional(),sort:s.string().optional(),fields:s.array(s.string()).optional()}),oGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({items:s.array(s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(oGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()})).optional(),next:s.boolean().optional()}),sGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(sGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),cGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(cGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),s.object({id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({fields:s.array(s.string()).optional()}),lGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(lGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),s.object({id:s.string()}),s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional()}),s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional()}),s.object({id:s.string(),agent_id:s.string()}),s.object({id:s.string().optional()}),s.object({id:s.string()}),s.object({"date.from":s.string().optional(),"date.to":s.string().optional()}),s.object({items:s.record(s.string(),s.object({forecast:s.array(s.object({agents:s.string().optional(),hour:s.string().optional()})).optional()})).optional()}),s.object({"item.id":s.string()}),uGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(uGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()}),dGt=`WORKING_SCHEDULE_STATE_UNSPECIFIED`,s.object({item:s.object({agents:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),block_outside_activity:s.boolean().optional(),calendar:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),created_at:s.string().optional(),created_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),domain_id:s.string().optional(),end_date_at:s.string().optional(),end_time_at:s.string().optional(),extra_skills:s.array(s.object({id:s.string().optional(),name:s.string().optional()})).optional(),id:s.string().optional(),name:s.string().optional(),start_date_at:s.string().optional(),start_time_at:s.string().optional(),state:s.enum([`WORKING_SCHEDULE_STATE_UNSPECIFIED`,`WORKING_SCHEDULE_STATE_ACTIVE`,`WORKING_SCHEDULE_STATE_PENDING`,`WORKING_SCHEDULE_STATE_DRAFT`,`WORKING_SCHEDULE_STATE_ARCHIVED`]).default(dGt),team:s.object({id:s.string().optional(),name:s.string().optional()}).optional(),total_agents:s.string().optional(),updated_at:s.string().optional(),updated_by:s.object({id:s.string().optional(),name:s.string().optional()}).optional()}).optional()})})),pGt=O((()=>{kq(),zq(),Vq(),Hq(),Uq(),Xq(),Zq(),Qq(),$q(),nJ(),UJ(),WJ(),aY(),oY(),sY(),cY(),lY(),bY(),TY(),EY(),DY(),OY(),AY(),NY(),tX(),iX(),aX(),oX(),sX(),cX(),DX(),AX(),BX(),VX(),GX(),KX(),sZ(),dZ(),fZ(),pZ(),hZ(),IZ(),LZ(),zZ(),VZ(),ZZ(),rQ(),iQ(),_Q(),vQ(),OQ(),BQ(),VQ(),HQ(),UQ(),QQ(),r$(),i$(),f$(),p$(),_$(),b$(),x$(),S$(),C$(),O$(),k$(),A$(),j$(),F$(),L$(),R$(),z$(),B$(),V$(),K$(),q$(),Z$(),e1(),t1(),n1(),r1(),i1(),a1(),o1(),s1(),c1(),l1(),g1(),_1(),D1(),R1(),z1(),B1(),X1(),Z1(),Q1(),$1(),r0(),i0(),a0(),o0(),s0(),_0(),C0(),w0(),T0(),P0(),F0(),I0(),K0(),q0(),X0(),e2(),A2(),j2(),L2(),R2(),z2(),H2(),Q2(),$2(),e4(),t4(),n4(),r4(),s4(),g4(),B4(),j3(),M3(),N3(),a6(),l6(),p6(),m6(),h6(),y6(),C6(),O6(),N6(),L6(),R6(),U6(),W6(),G6(),UWt(),YWt(),eGt(),iGt(),aGt(),fGt()})),mGt=O((()=>{I()})),hGt=O((()=>{I()})),gGt=O((()=>{I()})),_Gt=O((()=>{I()})),vGt=O((()=>{I()})),yGt=O((()=>{I()})),bGt=O((()=>{I()})),xGt=O((()=>{I()})),SGt=O((()=>{I()})),CGt=O((()=>{I()})),X6,wGt=O((()=>{I(),X6=(e=Ca)=>({messagesServiceBroadcastMessage:(t,n)=>e.post(`/chat/broadcast`,t,n),catalogGetCustomers:(t,n)=>e.get(`/chat/customers`,{...n,params:{...t,...n?.params}}),catalogGetDialogs:(t,n)=>e.get(`/chat/dialogs`,{...n,params:{...t,...n?.params}}),catalogGetMembers:(t,n,r)=>e.get(`/chat/dialogs/${t}/members`,{...r,params:{...n,...r?.params}}),catalogGetHistory:(t,n,r)=>e.get(`/chat/dialogs/${t}/messages`,{...r,params:{...n,...r?.params}}),catalogGetHistory2:(t,n,r,i)=>e.get(`/chat/${t}/${n}/messages`,{...i,params:{...r,...i?.params}})})})),TGt=O((()=>{I()})),EGt=O((()=>{I()})),DGt=O((()=>{I()})),OGt=O((()=>{I()})),kGt=O((()=>{I()})),AGt=O((()=>{I()})),jGt=O((()=>{I()})),MGt=O((()=>{I()})),NGt=O((()=>{I()})),PGt=O((()=>{I()})),FGt=O((()=>{I()})),IGt=O((()=>{I()})),LGt=O((()=>{I()})),RGt=O((()=>{I()})),zGt=O((()=>{I()})),BGt=O((()=>{I()})),VGt=O((()=>{I()})),HGt=O((()=>{I()})),UGt=O((()=>{I()})),WGt=O((()=>{I()})),GGt=O((()=>{I()})),KGt=O((()=>{I()})),qGt=O((()=>{I()})),JGt=O((()=>{I()})),YGt=O((()=>{I()})),XGt=O((()=>{I()})),ZGt=O((()=>{I()})),QGt=O((()=>{I()})),$Gt=O((()=>{I()})),eKt=O((()=>{I()})),tKt=O((()=>{I()})),nKt=O((()=>{I()})),rKt=O((()=>{I()})),iKt=O((()=>{I()})),aKt=O((()=>{I()})),oKt=O((()=>{I()})),sKt=O((()=>{I()})),cKt=O((()=>{I()})),lKt=O((()=>{I()})),uKt=O((()=>{I()})),dKt=O((()=>{I()})),fKt=O((()=>{I()})),pKt=O((()=>{I()})),mKt=O((()=>{I()})),hKt=O((()=>{I()})),gKt=O((()=>{I()})),Z6,_Kt=O((()=>{I(),Z6=(e=Ca)=>({searchTypes:(t,n)=>e.get(`/types`,{...n,params:{...t,...n?.params}}),locate:(t,n)=>e.get(`/types/${t}`,n)})})),vKt=O((()=>{I()})),yKt=O((()=>{I()})),bKt=O((()=>{I()})),xKt=O((()=>{I()})),SKt=O((()=>{I()})),CKt=O((()=>{I()})),wKt=O((()=>{I()})),TKt=O((()=>{I()})),EKt=O((()=>{I()})),DKt=O((()=>{I()})),OKt=O((()=>{I()})),kKt=O((()=>{I()})),AKt=O((()=>{I()})),jKt=O((()=>{I()})),MKt=O((()=>{I()})),NKt=O((()=>{I()})),PKt=O((()=>{I()})),FKt=O((()=>{I()})),IKt=O((()=>{I()})),LKt=O((()=>{I()})),RKt=O((()=>{I()})),zKt=O((()=>{I()})),BKt=O((()=>{I()})),VKt=O((()=>{I()})),HKt=O((()=>{I()})),UKt=O((()=>{I()})),WKt=O((()=>{I()})),GKt=O((()=>{I()})),KKt=O((()=>{I()})),qKt=O((()=>{I()})),JKt=O((()=>{I()})),YKt=O((()=>{I()})),XKt=O((()=>{I()})),ZKt=O((()=>{I()})),QKt=O((()=>{I()})),Z=O((()=>{MUt(),NUt(),kq(),PUt(),zq(),FUt(),Vq(),IUt(),Hq(),LUt(),Uq(),RUt(),Xq(),zUt(),Zq(),BUt(),Qq(),VUt(),$q(),HUt(),nJ(),UUt(),UJ(),WUt(),WJ(),GUt(),aY(),KUt(),oY(),qUt(),sY(),JUt(),cY(),YUt(),lY(),XUt(),bY(),ZUt(),TY(),QUt(),EY(),$Ut(),DY(),eWt(),OY(),tWt(),AY(),nWt(),NY(),rWt(),tX(),iWt(),iX(),aWt(),aX(),oWt(),oX(),sWt(),sX(),cWt(),cX(),lWt(),DX(),uWt(),AX(),dWt(),BX(),fWt(),VX(),pWt(),GX(),mWt(),KX(),hWt(),sZ(),gWt(),dZ(),_Wt(),fZ(),vWt(),pZ(),yWt(),hZ(),bWt(),IZ(),xWt(),LZ(),SWt(),zZ(),CWt(),VZ(),wWt(),ZZ(),TWt(),rQ(),EWt(),iQ(),DWt(),_Q(),OWt(),vQ(),kWt(),OQ(),AWt(),BQ(),jWt(),VQ(),MWt(),HQ(),NWt(),UQ(),PWt(),QQ(),FWt(),r$(),IWt(),i$(),LWt(),f$(),pGt(),mGt(),p$(),hGt(),_$(),gGt(),b$(),_Gt(),x$(),vGt(),S$(),yGt(),C$(),bGt(),O$(),xGt(),k$(),SGt(),A$(),CGt(),j$(),wGt(),F$(),TGt(),L$(),EGt(),R$(),DGt(),z$(),OGt(),B$(),kGt(),V$(),AGt(),K$(),jGt(),q$(),MGt(),Z$(),NGt(),e1(),PGt(),t1(),FGt(),n1(),IGt(),r1(),LGt(),i1(),RGt(),a1(),zGt(),o1(),BGt(),s1(),VGt(),c1(),HGt(),l1(),UGt(),g1(),WGt(),_1(),GGt(),D1(),KGt(),R1(),qGt(),z1(),JGt(),B1(),YGt(),X1(),XGt(),Z1(),ZGt(),Q1(),QGt(),$1(),$Gt(),r0(),eKt(),i0(),tKt(),a0(),nKt(),o0(),rKt(),s0(),iKt(),_0(),aKt(),C0(),oKt(),w0(),sKt(),T0(),cKt(),P0(),lKt(),F0(),uKt(),I0(),dKt(),K0(),fKt(),q0(),pKt(),X0(),mKt(),e2(),hKt(),A2(),gKt(),j2(),_Kt(),L2(),vKt(),R2(),yKt(),z2(),bKt(),H2(),xKt(),Q2(),SKt(),$2(),CKt(),e4(),wKt(),t4(),TKt(),n4(),EKt(),r4(),DKt(),s4(),OKt(),g4(),kKt(),B4(),AKt(),j3(),jKt(),M3(),MKt(),N3(),NKt(),a6(),PKt(),l6(),FKt(),p6(),IKt(),m6(),LKt(),h6(),RKt(),y6(),zKt(),C6(),BKt(),O6(),VKt(),N6(),HKt(),L6(),UKt(),R6(),WKt(),U6(),GKt(),W6(),KKt(),G6(),qKt(),UWt(),JKt(),YWt(),YKt(),eGt(),XKt(),iGt(),ZKt(),aGt(),QKt(),fGt()})),$Kt=O((()=>{Ap(),Z(),_y(),bu(),Y(),X()})),eqt=O((()=>{Ap(),Z(),_y(),bu(),Y(),X()})),tqt=O((()=>{Z(),Y(),X()})),nqt=O((()=>{Z(),Y(),X()})),rqt=O((()=>{Z(),Y(),X()})),iqt=O((()=>{Z(),Y(),X()})),aqt,Q6,$6,oqt,sqt,cqt,lqt,uqt,dqt,fqt,pqt,mqt,hqt,gqt,_qt,vqt,yqt,bqt,xqt,Sqt,Cqt=O((()=>{yu(),Ap(),Z(),_y(),bu(),Y(),X(),Dq(),aqt=`/call_center/agents`,Q6=e=>e>3600*24?`>24:00:00`:dy(e),$6=async e=>{let t=e=>e.map(e=>({...e,statusDuration:Q6(e.statusDuration)})),n=vu(Gq),r=aq(e,[oq(),uq(rq()),e=>({...e,q:e.search,team_id:e.team_id??e.team,skill_id:e.skill_id??e.skill,not_supervisor:e.not_supervisor??e.is_not_supervisor}),bq(n)]);try{let{items:e,next:n}=aq((await Wq().searchAgent(r)).data,[xq(),uq(nq())]);return{items:aq(e,[t]),next:n}}catch(e){throw aq(e,[hq])}},oqt={user:{},team:{},supervisor:[],auditor:[],region:{},progressiveCount:null,chatCount:0,taskCount:0,isSupervisor:!1,description:``,greetingMedia:{}},sqt=async({itemId:e,defaultObject:t=oqt})=>{try{return aq((await Wq().readAgent(String(e))).data,[xq(),uq(t)])}catch(e){throw aq(e,[hq])}},cqt=async({itemInstance:e})=>{let t=aq(e,[bq(vu(Kq)),oq()]);try{return aq((await Wq().createAgent(t)).data,[xq()])}catch(e){throw aq(e,[hq])}},lqt=async({changes:e,id:t})=>{let n=aq(e,[bq(vu(qq)),oq()]);try{return aq((await Wq().patchAgent(String(t),n)).data,[xq()])}catch(e){throw aq(e,[hq])}},uqt=async({itemInstance:e,itemId:t})=>{let n=aq(e,[bq(vu(Jq)),oq()]);try{return aq((await Wq().updateAgent(String(t),n)).data,[xq()])}catch(e){throw aq(e,[hq])}},dqt=async({id:e})=>{try{return aq((await Wq().deleteAgent(String(e))).data,[])}catch(e){throw aq(e,[hq])}},fqt=async e=>{let t={search:``,sort:`+name`,fields:[],from:new Date().setHours(0,0,0,0),to:new Date().setHours(23,59,59,999),utilizationFrom:`0`},n={offline:0,online:0,pause:0,statusDuration:0,transferred:0,missed:0,utilization:0,occupancy:0,callTime:0,chatTime:0},r=e=>e.map(e=>{let t={...n,...e};return{...t,_isSelected:!1,statusDuration:Q6(t.statusDuration),utilization:`${t.utilization.toFixed(2)}%`,occupancy:`${t.occupancy.toFixed(2)}%`,online:dy(t.online),offline:dy(t.offline),pause:dy(t.pause),callTime:dy(t.callTime),chatTime:dy(t.chatTime)}}),{page:i,size:a,search:o,sort:s,ids:c,fields:l,from:u,to:d,queue:f,team:p,skill:m,supervisor:h,auditor:g,region:_,utilizationFrom:v,utilizationProgress:y,agentStatus:b,callNow:x}=aq(e,[uq(t),uq(rq())]);try{let{items:e,next:t}=aq((await Wq().searchAgentStatusStatistic({page:i,size:a,q:o,sort:s,fields:l,agent_id:c,"time.from":u==null?void 0:String(u),"time.to":d==null?void 0:String(d),status:b,queue_id:f,team_id:p,"utilization.from":v,"utilization.to":y,has_call:x,skill_id:m,region_id:_,supervisor_id:h,auditor_id:g})).data,[xq(),uq(nq())]);return{items:aq(e,[r]),next:t}}catch(e){throw aq(e,[hq])}},pqt=async({agentId:e,from:t,to:n})=>{try{return aq((await Wq().searchAgentStatusStatisticItem(String(e),{"time.from":t,"time.to":n})).data,[xq()])}catch(e){throw aq(e,[hq])}},mqt=async e=>{let{parentId:t,page:n,size:r,search:i,sort:a,fields:o}=aq(e,[uq(rq()),Cq(`search`)]);try{let{items:e,next:s}=aq((await Wq().searchAgentInQueue(String(t),{page:n,size:r,q:i,sort:a,fields:o})).data,[xq(),uq(nq())]);return{items:aq(e,[fq({countMembers:0,waitingMembers:0,type:0})]),next:s}}catch(e){throw aq(e,[hq])}},hqt=async({agentId:e})=>{let t={name:``,durationMin:0,limitMin:0};try{let{items:n,next:r}=aq((await Wq().searchPauseCauseForAgent(String(e))).data,[xq(),uq(nq())]);return{items:aq(n,[fq(t)]),next:r}}catch(e){throw aq(e,[hq])}},gqt=e=>$6({...e,fields:e.fields||[`id`,`name`]}),_qt=async e=>{let{parentId:t,joinedAt:n,page:r,size:i,sort:a}=aq(e,[uq(rq()),uq({sort:`-joined_at`}),Cq(`search`)]),o=gy(n),s=e=>e.map(e=>({...e,from:hu(+e.joinedAt,Tp.DATETIME),to:e.duration?hu(+e.joinedAt+e.duration*1e3,Tp.DATETIME):null,duration:dy(e.duration)}));try{let{items:e,next:n}=aq((await Wq().searchAgentStateHistory({page:r,size:i,agent_id:t?[t]:void 0,sort:a,"joined_at.from":o?.from==null?void 0:String(o.from),"joined_at.to":o?.to==null?void 0:String(o.to)})).data,[xq(),uq(nq())]);return{items:aq(e,[s]),next:n}}catch(e){throw aq(e,[hq])}},vqt=async e=>{let{page:t,size:n,search:r}=aq(e,[uq(rq()),Cq(`search`)]);try{let{items:e,next:i}=aq((await Wq().searchLookupUsersAgentNotExists({page:t,size:n,q:r})).data,[xq(),uq(nq())]);return{items:e,next:i}}catch(e){throw aq(e,[hq])}},yqt=async e=>{let t=vu(Yq),n=aq(e,[oq(),uq(rq()),Cq(`search`),e=>({...e,q:e.search}),bq(t)]);try{let{items:e,next:t}=aq((await Wq().searchUserStatus(n)).data,[xq(),uq(nq())]);return{items:e,next:t}}catch(e){throw aq(e,[hq])}},bqt=async e=>$6({...e,isSupervisor:!0}),xqt=async e=>$6({...e,isNotSupervisor:!0}),Sqt={getList:$6,get:sqt,add:cqt,patch:lqt,update:uqt,delete:dqt,getLookup:gqt,getAgentHistory:_qt,getRegularAgentsOptions:xqt,getAgentUsersOptions:vqt,getSupervisorOptions:bqt,getUsersStatus:yqt,getPauseCausesForAgent:hqt,getAgentQueues:mqt,getStatusStatistics:fqt,getStatusStatisticsItem:pqt,...Eq(aqt)}})),wqt=O((()=>{Z(),X()})),Tqt=O((()=>{rW(),Z(),Y(),X()})),Eqt=O((()=>{Z(),X(),Tqt(),xq()})),Dqt=O((()=>{Z(),Y(),X()})),Oqt=O((()=>{Z(),Y(),X()})),kqt,Aqt=O((()=>{mz(),Z(),Y(),X(),Dq(),kqt=`/calendars`,{...Eq(kqt)}})),jqt=O((()=>{Z(),X()})),Mqt=O((()=>{Z(),Y(),X()})),Nqt=O((()=>{Z(),Y(),X()})),Pqt=O((()=>{Z(),Y(),X()})),Fqt=O((()=>{Z(),Y(),X()})),Iqt=O((()=>{Z(),Y(),X()})),Lqt=O((()=>{yu(),Z(),Y(),X(),vu(kY)})),Rqt=O((()=>{Z(),Y(),X()})),zqt=O((()=>{Z(),Y(),X()})),Bqt=O((()=>{Z(),Y(),X()})),Vqt=O((()=>{rW(),yu(),Z(),Y(),X(),vu(e0),vu(e0),vu(n0),vu(t0)})),Hqt=O((()=>{Z(),Y(),X()})),Uqt=O((()=>{Z(),Y(),X()})),Wqt=O((()=>{Z(),Y(),X()})),Gqt=O((()=>{yu(),Z(),Y(),X()})),Kqt=O((()=>{Ap(),_y()})),qqt,Jqt=O((()=>{yu(),bu(),Z(),Y(),X(),Dq(),Gqt(),Kqt(),PY(),qqt=`/cases`,vu(XY),vu(RY),{...Eq(qqt)}})),Yqt=O((()=>{Z(),X()})),Xqt=O((()=>{Z(),Y(),X()})),Zqt=O((()=>{Z(),Y(),X()})),Qqt=O((()=>{Object.freeze({VIBER:`viber`,WHATSAPP:`whatsapp`,TELEGRAM:`telegram`,MESSENGER:`messenger`,EMAIL:`email`})})),$qt=O((()=>{Ap(),Qqt()})),eJt=O((()=>{Ap(),mz(),cq(),Y(),X(),$qt(),ba()})),tJt,e8,nJt=O((()=>{Z(),X(),tJt=({messages:e,peers:t})=>e?e.map(({from:e,...n})=>({...n,peer:e&&t?t[e.id-1]:void 0})):[],e8=e=>async({parentId:t,taskId:n})=>{try{let{messages:r,peers:i}=aq((await e(String(t),String(n))).data,[xq()]);return{items:aq({messages:r,peers:i},[tJt])}}catch(e){throw aq(e,[hq])}},e8((e,t)=>cZ().contactsChatCatalogGetContactChatHistory(e,t)),e8((e,t)=>nX().casesChatCatalogGetCaseChatHistory(e,t))})),rJt=O((()=>{Z(),Y(),X()})),iJt,aJt=O((()=>{Z(),Y(),X(),Dq(),iJt=`/storage/cognitive_profiles`,{...Eq(iJt)}})),oJt=O((()=>{Z(),Y(),X()})),sJt=O((()=>{rW(),yu(),Z(),Y(),X(),[...vu(O0)]})),cJt=O((()=>{bu(),Z(),Y(),X(),Gqt(),Kqt()})),lJt,uJt=O((()=>{rW(),yu(),Z(),Y(),X(),Dq(),lJt=`/contacts/groups`,vu(XQ),{...Eq(lJt)}})),dJt,fJt=O((()=>{mz(),Z(),Y(),X(),Dq(),dJt=`/devices`,{...Eq(dJt)}})),pJt=O((()=>{Z(),Y(),X()})),mJt=O((()=>{yu(),Z(),Y(),X(),vu(RZ)})),hJt=O((()=>{rW(),yu(),Z(),Y(),X(),vu(BZ)})),gJt=O((()=>{rW(),Z(),Y(),X()})),_Jt=O((()=>{yu(),Z(),Y(),X(),vu($Z),vu(nQ)})),vJt=O((()=>{Z(),_y(),Y(),X()})),yJt=O((()=>{rW(),Z(),Y(),X()})),bJt=O((()=>{Z(),Y(),X()})),xJt=O((()=>{Y(),X(),ba()})),SJt=O((()=>{Z(),Y(),X()})),CJt=O((()=>{Z(),Y(),X()})),wJt,TJt=O((()=>{Z(),Y(),X(),Dq(),wJt=`/storage/import_templates`,{...Eq(wJt)}})),EJt=O((()=>{Z(),Y(),X()})),DJt=O((()=>{Z(),Y(),X(),ba()})),OJt=O((()=>{Z(),Y(),X()})),kJt=O((()=>{Z(),Y(),X()})),AJt,jJt=O((()=>{Z(),Y(),X(),Dq(),AJt=`/call_center/list`,{...Eq(AJt)}})),MJt=O((()=>{Z(),_y(),Y(),X()})),NJt=O((()=>{ha(),Z(),Y(),X(),ba(),localStorage.getItem(`access-token`),ma.create({headers:{"content-type":`multipart/form-data`}})})),PJt,FJt,IJt,LJt=O((()=>{Z(),Y(),X(),PJt=async e=>{let t=aq(e,[oq()]);try{return aq((await X6().messagesServiceBroadcastMessage(t)).data,[xq()])}catch(e){throw aq(e,[hq])}},FJt=async({chatId:e,...t})=>{let n=aq(t,[uq(rq()),oq()]);try{let{messages:t,peers:r,next:i}=aq((await X6().catalogGetHistory(String(e),n)).data,[xq(),uq(nq())]);return{messages:t,peers:r,next:i}}catch(e){throw aq(e,[hq])}},IJt={patch:PJt,getChatHistory:FJt}})),RJt,zJt=O((()=>{yu(),Z(),Y(),X(),Dq(),vu(I$),RJt=`/oauth/apps`,{...Eq(RJt)}})),BJt,VJt,HJt,UJt,WJt,GJt,KJt=O((()=>{Z(),Y(),X(),BJt=ba(),VJt=async e=>{let{page:t,size:n,fields:r,sort:i,id:a,q:o}=aq(e,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),gq([`page`,`size`,`q`,`sort`,`fields`,`id`]),oq()]);try{let{data:e,next:s}=aq((await Z6().searchTypes({q:o,id:a,size:n,page:t,sort:i,fields:r})).data,[uq(nq())]);return{items:aq(e,[xq(),e=>(e||[]).map(e=>({...e,id:e.repo}))]),next:s}}catch(e){throw aq(e,[hq])}},HJt=async({...e})=>{let t=aq(e,[uq(rq()),e=>({...e,q:e.search,extensions:!1}),gq([`page`,`size`,`q`,`sort`,`extensions`,`fields`,`id`]),oq(),sq(`types`)]);try{let{data:e,next:n}=aq((await BJt.get(t)).data,[xq(),uq(nq())]);return{items:e??[],next:n}}catch(e){throw aq(e,[hq])}},UJt=async e=>HJt({...e,fields:e.fields||[`id`,`name`]}),WJt=async({itemId:e})=>{try{return aq((await Z6().locate(String(e))).data,[xq()])}catch(e){throw aq(e,[hq])}},GJt={getList:VJt,get:WJt,getLookup:UJt}})),qJt=O((()=>{Z(),Y(),X()})),JJt,YJt=O((()=>{mz(),Z(),Y(),X(),Dq(),JJt=`/call_center/resource_group`,{...Eq(JJt)}})),XJt=O((()=>{Z(),Y(),X()})),ZJt,QJt=O((()=>{yu(),Z(),Y(),X(),Dq(),ZJt=`/call_center/resources`,{...Eq(ZJt)}})),$Jt=O((()=>{Z(),Y(),X(),ba()})),t8,n8=O((()=>{t8=s.z.number().nullable().optional()})),r8,i8=O((()=>{r8=(e=1)=>s.z.union([s.z.string().min(e),s.z.number().min(e)])})),a8,o8=O((()=>{a8=e=>({params:{i18nKey:e}})})),s8,eYt=O((()=>{s8=e=>e==null?!1:Array.isArray(e)?e.length>0:e instanceof Date?!Number.isNaN(e.getTime()):typeof e==`object`?Object.keys(e).length>0:String(e).length>0})),c8,l8,u8,d8,f8=O((()=>{o8(),eYt(),c8=s.z.object({id:s.z.string().optional(),name:s.z.string().optional()}),l8=s.z.object({id:s.z.string().min(1),name:s.z.string().optional()}),u8=s.z.object({id:s.z.union([s.z.string(),s.z.number()]).optional(),name:s.z.string().optional()}),d8=u8.refine(e=>s8(e),{path:[`id`],...a8(`required`)})})),tYt,p8,m8=O((()=>{o8(),tYt=/^\+?[A-Za-z0-9\-_.!~*'()]*$/,p8=s.z.string().min(1).refine(e=>e===``||tYt.test(e),a8(`phoneNumberSymbolsValidator`))})),h8,nYt,g8,_8,v8,rYt,y8,b8=O((()=>{o8(),h8=s.z.number().int().refine(e=>e>=0&&e<1440,a8(`hourRange`)),nYt=[`start`,`end`],g8=(e,t,...n)=>{nYt.forEach(r=>{e.addIssue({code:`custom`,path:[...n,r],...a8(t)})})},_8=(e,t)=>{e.start>=e.end&&g8(t,`timerangeStartLessThanEnd`)},v8=s.z.object({start:h8,end:h8}).superRefine(_8),rYt=(e,t)=>e.start<=t.end&&t.start<=e.end,y8=e=>(t,n)=>{t.forEach((r,i)=>{t.some((t,n)=>n!==i&&e?.(r)===e?.(t)&&rYt(r,t))&&g8(n,`timerangeNotIntersect`,i)})}})),x8,S8=O((()=>{x8=s.z.object({key:s.z.string(),value:s.z.string()})})),iYt=O((()=>{o8(),s.z.object({name:s.z.string().min(1),repo:s.z.string().min(1).refine(e=>/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e),a8(`latinWithNumber`)),about:s.z.string().optional(),administered:s.z.boolean().optional(),primary:s.z.string().optional(),display:s.z.string().optional(),fields:s.z.array(s.z.any()).optional(),indexes:s.z.any().optional()})})),aYt=O((()=>{f8(),s.z.object({id:s.z.string().optional(),user:d8,team:d8,supervisor:s.z.array(u8).optional().default([]),auditor:s.z.array(u8).optional().default([]),region:u8.optional().default({}),greetingMedia:u8.optional().default({}),progressiveCount:s.z.number().min(1).nullable().optional().default(null),chatCount:s.z.number().min(1).default(1),taskCount:s.z.number().min(1).default(1),extraChatCount:s.z.number().min(0).nullable().optional().default(0),isSupervisor:s.z.boolean().optional().default(!1),screenControl:s.z.boolean().optional().default(!1),allowSetScreenControl:s.z.boolean().optional()}),s.z.object({workingCondition:d8,pauseTemplate:u8.optional().default({})})})),oYt=O((()=>{n8(),f8(),s.z.object({name:s.z.string().min(1).default(``),limitMin:t8.default(60),description:s.z.string().optional().default(``),allowAdmin:s.z.boolean().default(!0),allowSupervisor:s.z.boolean().default(!0),allowAgent:s.z.boolean().default(!0),teams:s.z.array(u8).optional().default([])})})),sYt=O((()=>{f8(),s.z.object({skill:d8,capacity:s.z.number().min(0).max(100).default(10),enabled:s.z.boolean().default(!0)})})),cYt=O((()=>{f8(),s.z.object({agent:d8})})),lYt=O((()=>{f8(),s.z.object({name:s.z.string().min(3),description:s.z.string().optional(),teams:s.z.array(c8).optional().default([]),enabled:s.z.boolean().optional().default(!0),questions:s.z.array(s.z.any()).min(1).default([])})})),uYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),dYt,C8,fYt,pYt,mYt,w8,hYt=O((()=>{f8(),b8(),dYt=s.z.object({day:s.z.number().int().min(0).max(6),disabled:s.z.boolean().default(!1),start:h8,end:h8}).superRefine(_8),C8=s.z.array(dYt).superRefine(y8(e=>e.day)),fYt=s.z.object({name:s.z.string().min(1),date:s.z.union([s.z.number(),s.z.string()]).optional(),repeat:s.z.boolean().optional(),working:s.z.boolean().optional(),workStart:h8.nullish(),workStop:h8.nullish()}),pYt=()=>Array.from({length:7},(e,t)=>({day:t,disabled:!1,start:540,end:1200})),mYt=()=>Array.from({length:7},(e,t)=>({day:t,disabled:!0,start:540,end:1200})),w8=()=>Date.now(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional().default(``),timezone:l8,startAt:s.z.any().optional().default(w8),endAt:s.z.any().optional().default(w8),expires:s.z.boolean().optional().default(!1),accepts:C8.default(pYt),specials:C8.default(mYt),excepts:s.z.array(fYt).optional().default([])})})),T8,gYt,E8,_Yt=O((()=>{o8(),f8(),T8=()=>c8.passthrough().default({}),gYt=()=>s.z.object({id:s.z.union([s.z.string(),s.z.number()]).optional(),name:s.z.string().optional(),final:s.z.boolean().optional(),initial:s.z.boolean().optional()}).passthrough().default({}),s.z.object({subject:s.z.string().default(``),source:T8(),priority:T8(),reporter:T8(),service:T8(),statusCondition:gYt(),closeReason:c8.passthrough().nullish().default(null),closeResult:s.z.string().default(``)}),E8=(e,t)=>s.z.refine(t=>!t?.statusCondition?.final||e(t),{path:t,when:()=>!0,...a8(`required`)}),E8(e=>!!e.closeReason,[`closeReason`]),E8(e=>!e.closeReason||!!e.closeReason.id,[`closeReason`,`id`]),E8(e=>!!e.closeResult,[`closeResult`])})),vYt=O((()=>{o8(),s.z.object({reason:s.z.object({id:s.z.union([s.z.string(),s.z.number()])}).passthrough().nullable(),result:s.z.string().nullable()}).superRefine((e,t)=>{e.reason?.id||t.addIssue({code:`custom`,path:[`reason`],...a8(`required`)}),e.result||t.addIssue({code:`custom`,path:[`result`],...a8(`required`)})})})),yYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),bYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),xYt=O((()=>{o8(),s.z.object({type:s.z.object({name:s.z.string(),value:s.z.string()}).nullable(),separator:s.z.string().nullable()}).superRefine((e,t)=>{e.type||t.addIssue({code:`custom`,path:[`type`],...a8(`required`)}),e.type?.value===`csv`&&!e.separator&&t.addIssue({code:`custom`,path:[`separator`],...a8(`required`)})})})),SYt,CYt=O((()=>{Ap(),o8(),SYt=e=>{try{return Object.values(kp).includes(new URL(e).protocol)}catch{return!1}},s.z.object({url:s.z.string().min(1).refine(e=>!e||SYt(e),a8(`url`)),name:s.z.string().optional()})})),wYt=O((()=>{s.z.object({name:s.z.string().min(1),color:s.z.string().min(1),description:s.z.string().optional()})})),TYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),assignee:c8.optional(),group:c8.optional(),sla:c8.optional(),defaultPriority:c8.optional(),code:s.z.string().optional(),description:s.z.string().optional(),state:s.z.boolean().default(!0)})})),EYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),prefix:s.z.string().min(1),status:l8,closeReasonGroup:l8,sla:l8,defaultPriority:l8,teams:s.z.array(c8).optional(),skills:s.z.array(c8).optional(),code:s.z.string().optional(),description:s.z.string().optional(),state:s.z.boolean().default(!0)})})),DYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),type:s.z.string().min(1)})})),OYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),kYt=O((()=>{s.z.object({name:s.z.string().min(1),description:s.z.string().optional()})})),AYt=O((()=>{s.z.object({name:s.z.object({commonName:s.z.string().min(1)}).passthrough().optional(),timezones:s.z.any().optional(),managers:s.z.any().optional(),groups:s.z.any().optional(),labels:s.z.any().optional(),about:s.z.string().nullish(),user:s.z.any().nullish()})})),jYt=O((()=>{f8(),s.z.object({email:s.z.string().min(1).email(),type:d8,primary:s.z.boolean().optional()})})),D8,MYt,NYt,PYt=O((()=>{rW(),f8(),D8={name:s.z.string().min(1),description:s.z.string().optional(),enabled:s.z.boolean().default(!0),type:s.z.string().optional()},MYt=s.z.object({...D8,defaultGroup:c8.optional()}),NYt=s.z.object({...D8,defaultGroup:l8}),s.z.discriminatedUnion(`type`,[MYt.extend({type:s.z.literal(XU.Static)}),NYt.extend({type:s.z.literal(XU.Dynamic)})])})),FYt=O((()=>{f8(),s.z.object({expression:s.z.string().min(1),group:l8,assignee:c8.nullish()})})),IYt=O((()=>{f8(),s.z.object({number:s.z.string().min(1),type:d8,primary:s.z.boolean().optional()})})),LYt,RYt,zYt,BYt,VYt=O((()=>{o8(),f8(),LYt=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,RYt=/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/,zYt=s.z.string().optional().default(``).refine(e=>e?e===`127.0.0.1`||e===`0.0.0.0`?!1:LYt.test(e):!0,a8(`ipValidator`)),BYt=s.z.string().optional().default(``).refine(e=>!e||RYt.test(e),a8(`macValidator`)),s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),account:s.z.string().min(1).default(``),password:s.z.string().optional().default(``),user:u8.optional().default({}),ip:zYt,brand:s.z.string().optional().default(``),model:s.z.string().optional().default(``),mac:BYt,hotdesk:s.z.boolean().optional(),hotdesks:s.z.array(s.z.string()).optional()}).superRefine((e,t)=>{!e.id&&!e.password&&t.addIssue({code:`custom`,path:[`password`],...a8(`required`)});let n=e.hotdesks;e.hotdesk&&n?.some(e=>!/\w+/.test(e))&&t.addIssue({code:`custom`,path:[`hotdesks`],...a8(`required`)})})})),HYt=O((()=>{s.z.object({certificate:s.z.string().min(1).default(``)})})),UYt=O((()=>{s.z.object({name:s.z.string().min(1),type:s.z.string().min(1),clientId:s.z.string().min(1),clientSecret:s.z.string().min(1),discoveryUrl:s.z.string().min(1),scopes:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().optional(),claims:s.z.array(s.z.object({type:s.z.string().optional(),value:s.z.string().optional()})).optional()})})),WYt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),skills:s.z.array(c8).optional()})})),GYt,KYt,qYt,JYt,YYt=O((()=>{f8(),GYt=s.z.preprocess(e=>e===``||e==null?void 0:Number(e),s.z.number().int().min(1)),KYt=s.z.object({cause:u8.nullish(),duration:GYt}),qYt=()=>({duration:`30`}),JYt=s.z.object({name:s.z.string().min(1).max(250).default(``),description:s.z.string().optional().default(``),causes:s.z.array(KYt).min(1).prefault(()=>[qYt()])})})),XYt,ZYt,QYt=O((()=>{Ap(),XYt={required:[`name`],minValue:{priority:0,"payload.minOnlineAgents":0}},ZYt={[z.OFFLINE_QUEUE]:{required:[`strategy`,`calendar`],minValue:{"payload.originateTimeout":0}},[z.INBOUND_QUEUE]:{required:[`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.OUTBOUND_IVR_QUEUE]:{required:[`strategy`,`calendar`,`schema`,`payload.resourceStrategy`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.minDuration":0}},[z.PREVIEW_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0}},[z.PROGRESSIVE_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`,`payload.progressiveCount`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.progressiveCount":1}},[z.PREDICTIVE_DIALER]:{required:[`strategy`,`calendar`,`payload.resourceStrategy`,`payload.progressiveCount`,`payload.maxAgentLine`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.maxWaitTime":0,"payload.progressiveCount":1,"payload.maxAgentLine":1}},[z.CHAT_INBOUND_QUEUE]:{required:[`strategy`,`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.IM_CHAT_QUEUE]:{required:[`strategy`,`payload.timeBaseScore`],minValue:{"payload.maxWaitTime":0,"payload.discardAbandonedAfter":0}},[z.INBOUND_JOB_QUEUE]:{required:[`strategy`,`calendar`],minValue:{"payload.waitBetweenRetries":0}},[z.OUTBOUND_JOB_QUEUE]:{required:[`strategy`,`calendar`,`schema`],minValue:{"payload.originateTimeout":0,"payload.waitBetweenRetries":0,"payload.minDuration":0}}}})),$Yt,eXt=O((()=>{n8(),f8(),$Yt=s.z.object({enabled:s.z.boolean().optional(),ai:s.z.boolean().optional(),positive:s.z.array(s.z.string()).optional(),playback:u8.optional(),allowNotSure:s.z.boolean().optional(),silenceNotSure:s.z.boolean().optional(),maxWordLength:t8,maxNumberOfWords:t8,betweenWordsSilence:t8,minWordLength:t8,totalAnalysisTime:t8,silenceThreshold:t8,afterGreetingSilence:t8,greeting:t8,initialSilence:t8})})),tXt,nXt=O((()=>{n8(),eXt(),tXt=s.z.object({maxAttempts:t8,minAttempts:t8,originateTimeout:t8,waitBetweenRetries:t8,waitBetweenRetriesDesc:s.z.boolean().optional(),minDuration:t8,maxCalls:t8,progressiveCount:t8,dialingRate:t8,resourceStrategy:s.z.string().optional(),strictCircuit:s.z.boolean().optional(),perNumbers:s.z.boolean().optional(),endless:s.z.boolean().optional(),retryAbandoned:s.z.boolean().optional(),maxAgentLine:t8,maxAgentLose:t8,maxAbandonedRate:t8,targetAbandonedRate:t8,abandonRateAdjustment:t8,loadFactor:t8,playbackSilence:t8,statisticTime:t8,timeBaseScore:s.z.string().optional(),maxWaitTime:t8,maxWaitingSize:t8,discardAbandonedAfter:t8,manualDistribution:s.z.boolean().optional(),minOnlineAgents:t8,maxMemberLimit:t8,ignoreCalendar:s.z.boolean().optional(),stickyAgentSec:t8,stickyIgnoreStatus:s.z.boolean().optional(),maxIdleAgent:t8,maxIdleClient:t8,maxIdleDialog:t8,lastMessageTimeout:s.z.boolean().optional(),recordings:s.z.boolean().optional(),recordAll:s.z.boolean().optional(),allowGreetingAgent:s.z.boolean().optional(),autoAnswerTone:s.z.string().nullable().optional(),amd:$Yt.optional()})})),rXt,iXt,aXt=O((()=>{n8(),f8(),rXt=s.z.object({enabled:s.z.boolean().optional(),isTimeoutRetry:s.z.boolean().optional(),prolongationTimeSec:t8,repeatsNumber:t8}),iXt=s.z.object({enabled:s.z.boolean().optional(),formSchema:u8.optional(),sec:t8,renewalSec:t8,prolongationOptions:rXt.prefault({})})})),oXt,sXt,cXt=O((()=>{n8(),o8(),eYt(),f8(),S8(),QYt(),nXt(),aXt(),oXt=s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),type:s.z.number(),enabled:s.z.boolean().optional(),priority:t8,tags:s.z.array(s.z.object({name:s.z.string()})).optional(),calendar:u8.optional(),team:u8.optional(),dncList:u8.optional(),grantee:u8.optional(),ringtone:u8.optional(),schema:u8.optional(),doSchema:u8.optional(),afterSchema:u8.optional(),formSchema:u8.optional(),strategy:s.z.string().optional(),stickyAgent:s.z.boolean().optional(),taskProcessing:iXt.optional(),payload:tXt.optional(),variables:s.z.array(x8).optional()}),sXt=oXt.superRefine((e,t)=>{let r=[XYt,ZYt[Number(e.type)]??{}];for(let i of r){for(let r of i.required??[]){let i=(0,n.get)(e,r);s8(i)||t.addIssue({code:`custom`,path:(0,n.isPlainObject)(i)?[...r.split(`.`),`id`]:r.split(`.`),...a8(`required`)})}for(let[r,a]of Object.entries(i.minValue??{})){let i=(0,n.get)(e,r);i==null||i===``||Number(i)<a&&t.addIssue({code:`too_small`,origin:`number`,minimum:a,inclusive:!0,input:i,path:r.split(`.`)})}}})})),lXt,uXt=O((()=>{f8(),lXt=s.z.object({bucket:d8,priority:s.z.number().min(0).default(0),disabled:s.z.boolean().optional()})})),dXt,fXt=O((()=>{f8(),dXt=s.z.object({event:s.z.string().min(1),schema:d8,properties:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().default(!0)})})),pXt,O8,mXt=O((()=>{f8(),m8(),pXt=/^[\d|w|W]*$/,O8=s.z.object({destination:s.z.string().min(1),type:d8,dtmf:s.z.string().regex(pXt).optional(),display:s.z.string().optional(),priority:s.z.number().optional(),resource:u8.optional(),description:s.z.string().optional()}),O8.extend({destination:p8})})),hXt,gXt=O((()=>{El(),f8(),S8(),mXt(),hXt=s.z.object({name:s.z.string().min(1),communications:s.z.array(O8).min(1),priority:s.z.number().optional().default(0),bucket:u8.optional(),timezone:u8.optional(),agent:u8.optional(),expireAt:s.z.union([s.z.string(),s.z.number()]).optional().default(()=>Ure(Date.now(),7).getTime()),minOfferingAt:s.z.union([s.z.string(),s.z.number()]).optional(),stopCause:s.z.string().optional(),variables:s.z.array(x8).optional()})})),_Xt,vXt=O((()=>{f8(),_Xt=s.z.object({resourceGroup:d8,communication:u8.optional()})})),yXt,bXt,xXt=O((()=>{f8(),yXt=s.z.object({skill:d8,lvl:s.z.number().min(0).max(1e3).default(0),minCapacity:s.z.number().min(0).max(100).optional().default(0),maxCapacity:s.z.number().min(0).max(100).optional().default(10),buckets:s.z.array(u8).optional().default([]),enabled:s.z.boolean().default(!0)}),bXt=yXt.superRefine((e,t)=>{e.minCapacity==null||e.maxCapacity==null||e.minCapacity<=e.maxCapacity||(t.addIssue({code:`custom`,path:[`minCapacity`],message:`Value must be less than or equal to the maximum capacity`}),t.addIssue({code:`custom`,path:[`maxCapacity`],message:`Value must be greater than or equal to the minimum capacity`}))})})),SXt=O((()=>{n8(),f8(),s.z.object({name:s.z.string().min(1).default(``),gateway:d8,rps:s.z.number().min(-1).max(1e3).default(10),limit:s.z.number().min(-1).max(5e3).default(10),description:s.z.string().optional().default(``),maxSuccessivelyErrors:s.z.number().default(2),errorIds:s.z.array(s.z.string()).optional().default([]),patterns:s.z.array(s.z.string()).optional().default([]),failureDialDelay:t8.default(0),parameters:s.z.object({cidType:s.z.string().optional().default(``),ignoreEarlyMedia:s.z.string().optional().default(``)}).optional().default({cidType:``,ignoreEarlyMedia:``})})})),CXt=O((()=>{m8(),s.z.object({display:p8.default(``)})})),wXt,TXt,EXt=O((()=>{f8(),b8(),wXt=s.z.array(v8).min(1).superRefine(y8()),TXt=()=>({start:540,end:1200}),s.z.object({name:s.z.string().min(1),communication:d8,description:s.z.string().optional().default(``),time:wXt.default(()=>[TXt()])})})),DXt=O((()=>{n8(),f8(),s.z.object({resource:d8,reserveResource:u8.nullish().default({}),priority:t8.default(0)})})),OXt,kXt,AXt,jXt=O((()=>{b8(),OXt=s.z.array(v8).min(1),kXt=()=>({start:540,end:1080}),AXt=s.z.object({name:s.z.string().min(1).max(250).default(``),description:s.z.string().optional().default(``),times:OXt.default(()=>[kXt()])})})),MXt,NXt=O((()=>{i8(),f8(),MXt=6e4,s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),calendar:l8,reactionTime:r8(),resolutionTime:r8(),validFrom:s.z.union([s.z.string(),s.z.number()]).nullish(),validTo:s.z.union([s.z.string(),s.z.number()]).nullish()}).superRefine((e,t)=>{if(!e.validFrom||!e.validTo)return;let n=Number(e.validFrom),r=Number(e.validTo);Number.isNaN(n)||Number.isNaN(r)||n>r-MXt&&t.addIssue({code:`too_big`,origin:`date`,maximum:r,inclusive:!1,input:e.validFrom,path:[`validFrom`]})})})),PXt=O((()=>{i8(),f8(),s.z.object({name:s.z.string().min(1),priorities:s.z.array(l8).min(1),reactionTime:r8(),resolutionTime:r8()})})),FXt=O((()=>{f8(),s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),description:s.z.string().optional().default(``),strategy:s.z.string().min(1).default(``),admin:s.z.array(u8).optional().default([]),screenControl:s.z.boolean().optional().default(!1),maxNoAnswer:s.z.number().min(0).default(3),wrapUpTime:s.z.number().min(0).default(15),noAnswerDelayTime:s.z.number().min(0).default(30),taskAcceptTimeout:s.z.number().min(0).default(30),callTimeout:s.z.number().min(0).default(60),inviteChatTimeout:s.z.number().min(0).default(30)})})),IXt=O((()=>{f8(),s.z.object({agent:d8})})),LXt=O((()=>{f8(),s.z.object({name:s.z.string().min(1),description:s.z.string().optional(),schema:d8,enabled:s.z.boolean().default(!0)})})),RXt=O((()=>{f8(),s.z.object({event:s.z.string().min(1),schema:d8,properties:s.z.array(s.z.string()).optional(),enabled:s.z.boolean().default(!0)})})),zXt=O((()=>{s.z.object({fields:s.z.array(s.z.any()).optional()})})),BXt=O((()=>{})),VXt,HXt,UXt=O((()=>{o8(),f8(),S8(),VXt=/^[0-9]*$/,HXt=s.z.object({id:s.z.string().optional(),name:s.z.string().min(1).default(``),username:s.z.string().min(1).default(``),password:s.z.string().optional().default(``),extension:s.z.string().optional().default(``).refine(e=>!e||VXt.test(e),a8(`numeric`)),email:s.z.string().optional().default(``),chatName:s.z.string().optional().default(``),contact:u8.nullish().default({}),roles:s.z.array(u8).optional().default([]),license:s.z.array(s.z.any()).optional().default([]),devices:s.z.array(u8).optional().default([]),device:u8.nullish().default({}),forcePasswordChange:s.z.boolean().optional().default(!1),generateDevice:s.z.boolean().optional().default(!1),variables:s.z.array(x8).optional().default([])}),HXt.superRefine((e,t)=>{!e.id&&!e.password&&t.addIssue({code:`custom`,path:[`password`],...a8(`required`)}),e.variables?.forEach(({key:e,value:n},r)=>{n&&!e&&t.addIssue({code:`custom`,path:[`variables`,r,`key`],...a8(`required`)}),e&&!n&&t.addIssue({code:`custom`,path:[`variables`,r,`value`],...a8(`required`)})})})})),WXt,GXt=O((()=>{WXt=s.z.object({usage:s.z.string().default(``)})})),KXt=O((()=>{s.z.object({key:s.z.string().min(1),value:s.z.string().min(1)})})),k8,qXt,JXt=O((()=>{f8(),k8=e=>s.z.number().int().min(0).max(e).nullish(),qXt=s.z.object({name:s.z.string().min(1).max(250),description:s.z.string().optional().default(``),workdayHours:k8(24),workdaysPerMonth:k8(31),vacation:k8(365),sickLeaves:k8(365),daysOff:k8(365),pauseDuration:k8(1440),pauseTemplate:d8,shiftTemplate:u8.nullish()})})),A8=O((()=>{n8(),i8(),o8(),f8(),m8(),b8(),S8(),iYt(),aYt(),oYt(),sYt(),cYt(),lYt(),uYt(),hYt(),_Yt(),vYt(),yYt(),bYt(),xYt(),CYt(),wYt(),TYt(),EYt(),DYt(),OYt(),kYt(),AYt(),jYt(),PYt(),FYt(),IYt(),VYt(),HYt(),UYt(),WYt(),YYt(),QYt(),cXt(),eXt(),nXt(),aXt(),uXt(),fXt(),mXt(),gXt(),vXt(),xXt(),SXt(),CXt(),EXt(),DXt(),jXt(),NXt(),PXt(),FXt(),IXt(),LXt(),RXt(),zXt(),BXt(),UXt(),GXt(),KXt(),JXt()})),YXt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(JYt)})),XXt=O((()=>{Z(),_y(),Y(),X()})),ZXt=O((()=>{yu(),Z(),Y(),X(),vu(J$),vu(X$)})),QXt=O((()=>{Z(),Y(),X()})),$Xt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(lXt)]})),eZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(dXt)]})),tZt=O((()=>{Z(),_y(),Y(),X()})),nZt=O((()=>{yu(),A8(),mz(),Z(),_y(),Y(),X(),[...vu(hXt)]})),rZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(_Xt)]})),iZt=O((()=>{yu(),A8(),Z(),Y(),X(),[...vu(bXt)]})),aZt=O((()=>{Z(),X()})),oZt=O((()=>{cq()})),sZt=O((()=>{})),cZt=O((()=>{})),lZt=O((()=>{Ap(),sZt(),cZt(),oZt(),z.OFFLINE_QUEUE,z.INBOUND_QUEUE,z.OUTBOUND_IVR_QUEUE,z.PREVIEW_DIALER,z.PROGRESSIVE_DIALER,z.PREDICTIVE_DIALER,z.CHAT_INBOUND_QUEUE,z.IM_CHAT_QUEUE,z.INBOUND_JOB_QUEUE,z.OUTBOUND_JOB_QUEUE})),uZt,dZt,fZt=O((()=>{yu(),A8(),mz(),cq(),Ap(),Z(),Y(),X(),Dq(),oZt(),lZt(),uZt=`/call_center/queues`,dZt=[`variables`],vu(sXt),xq(dZt),{...Eq(uZt)}})),pZt=O((()=>{Z(),Y(),X()})),mZt=O((()=>{Z(),Y(),X()})),hZt=O((()=>{Z(),Y(),X()})),gZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(AXt)})),_Zt=O((()=>{Z(),Y(),X()})),vZt=O((()=>{Z(),Y(),X()})),yZt=O((()=>{Z(),Y(),X()})),bZt=O((()=>{Z(),Y(),X()})),xZt=O((()=>{mz(),Z(),Y(),X()})),SZt=O((()=>{Z(),Y(),X()})),CZt,wZt=O((()=>{Z(),Y(),X(),Dq(),CZt=`/call_center/teams`,{...Eq(CZt)}})),TZt=O((()=>{Z(),Y(),X()})),EZt=O((()=>{Z(),Y(),X()})),DZt=O((()=>{Z(),Y(),X()})),OZt=O((()=>{Z(),Y(),X()})),kZt=O((()=>{mz(),Z(),Y(),X()})),AZt=O((()=>{I(),X()})),jZt,MZt=O((()=>{yu(),mz(),Z(),Y(),X(),Dq(),ba(),jZt=`/users`,{...Eq(jZt)}})),NZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(WXt)})),PZt=O((()=>{yu(),Z(),Y(),X(),vu(G2),vu(Z2)})),FZt=O((()=>{yu(),A8(),Z(),Y(),X(),vu(qXt)})),IZt=O((()=>{Z(),_y(),X()})),LZt=O((()=>{Z(),Y(),X(),ba()})),RZt=O((()=>{mz()})),zZt=O((()=>{Z(),Y(),X(),RZt()})),BZt,j8,M8,VZt,HZt,N8,UZt,WZt,GZt=O((()=>{Y(),X(),BZt=ba(),j8=/\{([^}]+)\}/g,M8=(e,t)=>t.split(`.`).reduce((e,t)=>e?.[t],e),VZt=(e,t)=>e.match(j8)?e.replace(j8,(e,n)=>{let r=M8(t,n);return r==null?`{${n}}`:String(r)}):M8(t,e),HZt=({display:e,primary:t})=>n=>n.map(n=>({...n,...t&&{id:n[t]},...e&&{name:VZt(e,n)}})),N8=async({path:e,display:t,primary:n,filters:r=[],...i})=>{let a=aq(i,[uq(rq()),Cq(`search`),e=>({...e,q:e.search}),e=>({...e,ids:e.id}),gq([`page`,`size`,`q`,`sort`,`fields`,`id`,`ids`]),oq(),sq(e),iq(r)]);try{let{data:e,items:r,next:i}=aq((await BZt.get(a)).data,[uq(nq())]);return{items:aq(e||r||[],[HZt({display:t,primary:n})])??[],next:i}}catch(e){throw aq(e,[hq])}},UZt=e=>N8({...e,fields:e.fields||[`id`,`name`]}),WZt={getList:N8,getLookup:UZt}})),KZt=O((()=>{Z(),X(),RZt(),aQ()})),qZt=O((()=>{Z(),Y(),X()})),JZt=O((()=>{eW(),_y()})),YZt=O((()=>{Object.freeze({NAME:`name`,LABELS:`labels`,ABOUT:`about`,VARIABLES:`variables`,DESTINATION:`destination`})})),XZt,ZZt=O((()=>{yu(),Z(),Y(),X(),Dq(),JZt(),YZt(),XZt=`/contacts`,vu(ZX),[...vu($X)],[...vu(oZ)],{...Eq(XZt)}})),QZt=O((()=>{})),$Zt=O((()=>{qZt(),ZZt(),YZt(),QZt()})),P8=O((()=>{Dq(),$Kt(),eqt(),tqt(),nqt(),rqt(),iqt(),Cqt(),wqt(),Tqt(),Eqt(),Dqt(),Oqt(),Aqt(),jqt(),Mqt(),Nqt(),Pqt(),Fqt(),Iqt(),Lqt(),Rqt(),zqt(),Bqt(),Vqt(),Hqt(),Uqt(),Wqt(),Jqt(),Yqt(),Xqt(),Zqt(),eJt(),nJt(),rJt(),aJt(),oJt(),sJt(),cJt(),uJt(),fJt(),pJt(),mJt(),hJt(),gJt(),_Jt(),vJt(),yJt(),bJt(),xJt(),SJt(),CJt(),TJt(),EJt(),DJt(),OJt(),kJt(),jJt(),MJt(),NJt(),LJt(),zJt(),KJt(),qJt(),YJt(),XJt(),QJt(),$Jt(),YXt(),XXt(),ZXt(),QXt(),$Xt(),eZt(),tZt(),nZt(),rZt(),iZt(),aZt(),fZt(),pZt(),mZt(),hZt(),gZt(),_Zt(),vZt(),yZt(),bZt(),xZt(),SZt(),wZt(),TZt(),EZt(),DZt(),OZt(),kZt(),AZt(),MZt(),NZt(),PZt(),FZt(),IZt(),LZt(),zZt(),GZt(),KZt(),$Zt()})),eQt=O((()=>{mz(),cq(),qp()})),tQt=O((()=>{qp(),ky()})),nQt,rQt,iQt=O((()=>{nQt=Symbol(`filterReadAccess`),rQt=()=>(0,t.inject)(nQt,()=>void 0)})),F8,I8,aQt=O((()=>{F8={Read:`read`,Write:`write`,Delete:`delete`,Add:`add`},I8={PlaybackRecordFile:`playback_record_file`,ResetActiveAttempts:`reset_active_attempts`,TimeLimitedRecordFile:`time_limited_record_file`,ManageUserLicense:`manage_user_license`,SchemeVariables:`scheme_variables`,SystemSetting:`system_setting`,ManageUserRoles:`manage_user_roles`,ExportDataGrid:`export_data_grid`,LimitWorkspaceContacts:`limit_workspace_contacts`,ViewCdrPhoneNumbers:`view_cdr_phone_numbers`,ChangeUserPassword:`change_user_password`,EavesdropCall:`eavesdrop_call`,ControlAgentScreen:`control_agent_screen`}})),L8,oQt=O((()=>{L8={Agent:`cc_agent`,Queue:`cc_queue`,Dictionaries:`dictionaries`,EmailProfile:`email_profile`,Skills:`cc_skill`,Users:`users`,Devices:`devices`,AcrRouting:`acr_routing`,Gateways:`gateways`,AcrChatPlan:`acr_chat_plan`,Chats:`chats`,List:`cc_list`,Calendars:`calendars`,Team:`cc_team`,ResourceGroup:`cc_resource_group`,Resource:`cc_resource`,StorageProfile:`storage_profile`,CognitiveProfile:`cognitive_profile`,ImportTemplate:`import_template`,Trigger:`trigger`,Schema:`schema`,Role:`roles`,Contacts:`contacts`,MediaFile:`media_file`,Logger:`logger`,Calls:`calls`,RecordFile:`record_file`,ScreenRecordings:`screen_recordings`,VideocallFiles:`videocall_files`,ContactGroups:`contact_groups`,ChatBots:`chat_bots`,Cases:`cases`,CaseComments:`case_comments`,AuditForm:`cc_audit_form`,AuditRating:`rating`,PauseTemplates:`pause_templates`,ShiftTemplates:`shift_templates`,WorkingConditions:`working_conditions`,AgentWorkingConditions:`agent_working_conditions`,ListNumber:`cc_list_number`,CaseLookups:`case_lookups`,FilesPolicy:`files_policy`,PortalUsers:`portal_users`,Custom:`custom`,SingleSignOn:`sso`}})),R8=O((()=>{aQt(),oQt()})),sQt,z8,cQt,lQt,B8=O((()=>{qp(),R8(),sQt={[F8.Add]:Fp.Create,[F8.Read]:Fp.Read,[F8.Write]:Fp.Update,[F8.Delete]:Fp.Delete},(0,n.invert)(sQt),z8={[L8.Users]:[K.User],[L8.Devices]:[K.Device],[L8.Schema]:[K.Flow],[L8.AcrRouting]:[K.Dialplan],[L8.Gateways]:[K.Gateway],[L8.AcrChatPlan]:[K.Chatplan],[L8.Dictionaries]:[K.Region,K.Bucket,K.Communication,K.PauseCause,K.QuickReply],[L8.List]:[K.Blacklist],[L8.Skills]:[K.Skill,K.ActivityType],[L8.Calendars]:[K.Calendar],[L8.MediaFile]:[K.Media],[L8.Agent]:[K.Agent],[L8.Queue]:[K.Queue,K.Member],[L8.ResourceGroup]:[K.ResourceGroup],[L8.Resource]:[K.Resource],[L8.Team]:[K.Team],[L8.StorageProfile]:[K.Storage],[L8.CognitiveProfile]:[K.CognitiveProfile],[L8.EmailProfile]:[K.EmailProfile],[L8.SingleSignOn]:[K.SingleSignOn],[L8.ImportTemplate]:[K.ImportCsv],[L8.Trigger]:[K.Trigger],[L8.Role]:[K.Role],[L8.Contacts]:[K.Contact],[L8.Logger]:[K.ChangeLog],[L8.Calls]:[K.Call],[L8.RecordFile]:[K.RecordFile],[L8.ScreenRecordings]:[K.ScreenRecordings],[L8.VideocallFiles]:[K.VideocallFiles],[L8.ContactGroups]:[K.ContactGroup],[L8.ChatBots]:[K.ChatGateway],[L8.Cases]:[K.Case],[L8.CaseComments]:[K.CaseComment],[L8.AuditForm]:[K.AuditForm],[L8.AuditRating]:[K.AuditRating],[L8.PauseTemplates]:[K.PauseTemplate],[L8.ShiftTemplates]:[K.ShiftTemplate],[L8.WorkingConditions]:[K.WorkingCondition],[L8.AgentWorkingConditions]:[K.AgentWorkingCondition],[L8.ListNumber]:[K.ListNumber],[L8.CaseLookups]:[K.Slas,K.ServiceCatalog,K.Priorities,K.Status,K.Source,K.CloseReasonGroup],[L8.FilesPolicy]:[K.FilePolicy],[L8.PortalUsers]:[K.PortalUser],[L8.Custom]:[K.CustomLookup]},K.License,K.Object,K.Configuration,I8.SystemSetting,K.GlobalVariable,I8.SchemeVariables,cQt={r:Fp.Read,w:Fp.Update,d:Fp.Delete,x:Fp.Create},(0,n.invert)(cQt),lQt={[G.Admin]:{[K.User]:U.Users,[K.Agent]:U.Agents,[K.License]:U.License,[K.Device]:U.Devices,[K.Flow]:U.Flow,[K.Dialplan]:U.Dialplan,[K.Gateway]:U.Gateways,[K.Chatplan]:U.Chatplan,[K.ChatGateway]:U.ChatGateways,[K.Skill]:U.Skills,[K.Bucket]:U.Buckets,[K.Blacklist]:U.Blacklist,[K.Region]:U.Regions,[K.Calendar]:U.Calendars,[K.Communication]:U.Communications,[K.PauseCause]:U.PauseCause,[K.Media]:U.Media,[K.Team]:U.Teams,[K.Resource]:U.Resources,[K.ResourceGroup]:U.ResourceGroups,[K.Queue]:U.Queues,[K.Storage]:U.Storage,[K.CognitiveProfile]:U.CognitiveProfiles,[K.EmailProfile]:U.EmailProfiles,[K.ImportCsv]:U.ImportCsv,[K.Trigger]:U.Triggers,[K.Role]:U.Roles,[K.Object]:U.Objects,[K.ChangeLog]:U.Changelogs,[K.Configuration]:U.Configuration,[K.GlobalVariable]:U.GlobalVariables,[K.Member]:U.Members,[K.QuickReply]:U.QuickReplies,[K.ActivityType]:U.ActivityTypes},[G.Audit]:{[K.AuditForm]:Up.Scorecards},[G.Crm]:{[K.Contact]:W.Contacts,[K.Case]:W.Cases,[K.Slas]:W.Slas,[K.ServiceCatalog]:W.ServiceCatalogs,[K.CaseSource]:W.CaseSources,[K.CloseReasonGroup]:W.CloseReasonGroups,[K.Priorities]:W.Priorities,[K.Status]:W.Statuses,[K.Source]:W.Sources,[K.ContactGroup]:W.ContactGroups,[K.CustomLookup]:W.CustomLookups},[G.Supervisor]:{[K.Queue]:Wp.Queues,[K.Agent]:Wp.Agents,[K.Communication]:Wp.ActiveCalls},[G.Wfm]:{[K.Agent]:Gp.Agents,[K.ShiftTemplate]:Gp.ShiftTemplates,[K.PauseTemplate]:Gp.PauseTemplates,[K.WorkingCondition]:Gp.WorkingConditions}},(0,n.invert)(lQt),(0,n.invert)(U),(0,n.invert)(Up),(0,n.invert)(W),(0,n.invert)(Wp),(0,n.invert)(Gp)})),uQt,dQt,fQt,pQt,mQt=O((()=>{R8(),B8(),uQt={"call_center/queues":L8.Queue,"call_center/agents":L8.Agent,"call_center/list":L8.List,"call_center/teams":L8.Team,"call_center/skills":L8.Skills,"call_center/resources":L8.Resource,"call_center/resource_group":L8.ResourceGroup,"call_center/communication_type":L8.Dictionaries,"call_center/buckets":L8.Dictionaries,"call_center/pause_causes":L8.Dictionaries,"call_center/quick_replies":L8.Dictionaries,regions:L8.Dictionaries,"contacts/groups":L8.ContactGroups},dQt=[{prefix:`cases/`,scopeClass:L8.CaseLookups},{prefix:`dictionaries/`,scopeClass:L8.Custom}],fQt=e=>e?z8[e]?e:uQt[e]||dQt.find(({prefix:t})=>e.startsWith(t))?.scopeClass:void 0,pQt=e=>e?z8[e]?.[0]:void 0})),V8,H8,U8,hQt,gQt,_Qt=O((()=>{P8(),V8=(0,t.reactive)(new Map),H8=new Map,U8=e=>e?.replace(/^\//,``)||void 0,hQt=async e=>{if(V8.has(e))return V8.get(e);let t=H8.get(e);if(t)return t;let n=GJt.get({itemId:e}).then(t=>{let n=t?.objclass;return V8.set(e,n),n}).catch(()=>{V8.set(e,void 0)}).finally(()=>{H8.delete(e)});return H8.set(e,n),n},gQt=e=>{let t=U8(e);if(t)return V8.has(t)||hQt(t),V8.get(t)}})),vQt,yQt,bQt=O((()=>{iQt(),mQt(),_Qt(),vQt=(e,t)=>{let n=U8(e?.lookup?.path);if(!n)return!0;let r=e?.lookup?.objclass||fQt(n)||gQt(n);if(!r)return!1;let i=pQt(r);return t?.(i??r)??!1},yQt=(e,n)=>{let r=rQt();return{hasReadAccess:(0,t.computed)(()=>vQt((0,t.toValue)(e),n??r()))}}})),W8,xQt=O((()=>{W8={en:`en`,uk:`uk`,ru:`ru`,es:`es`,kz:`kz`,vi:`vi`,pl:`pl`,ro:`ro`,uz:`uz`}})),SQt=k((e=>{var t=e&&e.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(r)throw TypeError(`Generator is already executing.`);for(;n;)try{if(r=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return n.label++,{value:o[1],done:!1};case 5:n.label++,i=o[1],o=[0];continue;case 7:o=n.ops.pop(),n.trys.pop();continue;default:if((a=n.trys,!(a=a.length>0&&a[a.length-1]))&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1],a=o;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(o);break}a[2]&&n.ops.pop(),n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e],i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};Object.defineProperty(e,"__esModule",{value:!0}),e.$listeners=Symbol(`EventEmitter.listeners`),e.$addListener=Symbol(`EventEmitter.addListener`),e.EventEmitter=function(){function i(){this[e.$listeners]={}}return i.count=function(t,n){var r=0,i=t[e.$listeners][n];if(i)for(var a=i.first;++r&&a.next;)a=a.next;return r},i.has=function(t,n){if(n==`*`){for(n in t[e.$listeners])return!0;return!1}return t[e.$listeners][n]!==void 0},i.keys=function(t){return Object.keys(t[e.$listeners])},i.unhandle=function(t,n,r,i){return t.on(n,function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(!t[e.$listeners][n].first.next)return r.apply(void 0,i)},i)},i.prototype.on=function(t,n,r){return typeof n==`function`?this[e.$addListener](t,n,r):this[e.$addListener](t,void 0,n)},i.prototype.one=function(t,n,r){return typeof n==`function`?this[e.$addListener](t,n,r,!0):this[e.$addListener](t,void 0,n,!0)},i.prototype.off=function(t,n){if(t==`*`){var i=this[e.$listeners];if(this[e.$listeners]={},this._onEventUnhandled)for(var a in i)this._onEventUnhandled(a);return this}if(typeof n==`function`){var o=this[e.$listeners][t];if(!o||r(o,function(e){return e.fn==n}))return this}return delete this[e.$listeners][t],this._onEventUnhandled&&this._onEventUnhandled(t),this},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r,i=this.listeners(e);;){var a=i.next(),o=a.value;if(a.done)return r;var s=o.apply(void 0,t);s!==void 0&&(r=s)}},i.prototype.listeners=function(n){var r,i,a;return t(this,function(t){switch(t.label){case 0:if(r=this[e.$listeners][n],!r)return[2];i=null,a=r.first,t.label=1;case 1:return[4,a.fn];case 2:if(t.sent(),a.once)if(i)i.next=a.next;else if(a.next)return r.first=a=a.next,[3,1];else return delete this[e.$listeners][n],this._onEventUnhandled&&this._onEventUnhandled(n),[2];else i=a;return a.next?(a=a.next,[3,1]):(r.last=a,[2]);case 3:return[2]}})},i.prototype[e.$addListener]=function(t,r,i,a){var o=this;if(a===void 0&&(a=!1),typeof t==`object`){var s,c=function(){if(typeof t[s]==`function`){var r=t[s],c=n(l[e.$listeners],s,{fn:r,once:a,next:null});i&&i.push({dispose:function(){return o.off(s,r)}}),r==c.first.fn&&l._onEventHandled&&l._onEventHandled(s)}},l=this;for(s in t)c();return this}if(typeof r==`function`){var u=t,d=n(this[e.$listeners],u,{fn:r,once:a,next:null});i&&i.push({dispose:function(){return o.off(u,r)}}),r==d.first.fn&&this._onEventHandled&&this._onEventHandled(t)}return r},i.ev=e.$listeners,i}();function n(e,t,n){var r=e[t];return r?(r.last.next=n,r.last=n):e[t]=r={first:n,last:n},r}function r(e,t){for(var n=null,r=e.first;;)if(t(r))if(n)if(n.next=r.next,r.next)r=r.next;else break;else if(r.next)e.first=r=r.next;else return null;else if(n=r,r.next)r=r.next;else break;return e.last=n,e}})),CQt=A({bugs:()=>t5,contributors:()=>X8,default:()=>wQt,dependencies:()=>i5,description:()=>q8,devDependencies:()=>a5,files:()=>n5,homepage:()=>Y8,keywords:()=>$8,license:()=>`MIT`,main:()=>Q8,name:()=>G8,repository:()=>e5,scripts:()=>r5,title:()=>K8,types:()=>Z8,version:()=>J8}),G8,K8,q8,J8,Y8,X8,Z8,Q8,$8,e5,t5,n5,r5,i5,a5,wQt,TQt=O((()=>{G8=`jssip`,K8=`JsSIP`,q8=`The Javascript SIP library`,J8=`3.13.8`,Y8=`https://jssip.net`,X8=[`José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)`,`Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)`],Z8=`lib/JsSIP.d.ts`,Q8=`lib/JsSIP.js`,$8=[`sip`,`websocket`,`webrtc`,`node`,`browser`,`library`],e5={type:`git`,url:`https://github.com/versatica/JsSIP.git`},t5={url:`https://github.com/versatica/JsSIP/issues`},n5=[`LICENSE`,`README.md`,`npm-scripts.mjs`,`lib`],r5={lint:`node npm-scripts.mjs lint`,"lint:fix":`node npm-scripts.mjs lint:fix`,test:`node npm-scripts.mjs test`,coverage:`node npm-scripts.mjs coverage`,build:`node npm-scripts.mjs build`,"typescript:build":`node npm-scripts.mjs typescript:build`,release:`node npm-scripts.mjs release`,docs:`node npm-scripts.mjs docs`,"docs:watch":`node npm-scripts.mjs docs:watch`,"docs:check":`node npm-scripts.mjs docs:check`},i5={debug:`^4.3.1`,events:`^3.3.0`,"sdp-transform":`^2.14.1`},a5={"@eslint/eslintrc":`^3.3.3`,"@eslint/js":`^9.39.2`,"@types/debug":`^4.1.12`,"@types/events":`^3.0.3`,"@types/jest":`^30.0.0`,"@types/node":`^25.0.10`,cpx:`^1.5.0`,esbuild:`^0.27.2`,eslint:`^9.39.1`,"eslint-config-prettier":`^10.1.8`,"eslint-plugin-jest":`^29.12.1`,"eslint-plugin-prettier":`^5.5.5`,globals:`^17.0.0`,jest:`^30.2.0`,"open-cli":`^8.0.0`,pegjs:`^0.7.0`,prettier:`^3.8.1`,"ts-jest":`^29.4.6`,typedoc:`^0.28.16`,typescript:`^5.9.3`,"typescript-eslint":`^8.53.1`},wQt={name:G8,title:K8,description:q8,version:J8,homepage:Y8,contributors:X8,types:Z8,main:Q8,keywords:$8,license:`MIT`,repository:e5,bugs:t5,files:n5,scripts:r5,dependencies:i5,devDependencies:a5}})),o5=k(((e,t)=>{var n=(TQt(),be(CQt).default);t.exports={USER_AGENT:`${n.title} ${n.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,SUBSCRIBE`,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}})),s5=k(((e,t)=>{t.exports={ConfigurationError:class extends Error{constructor(e,t){super(),this.code=1,this.name=`CONFIGURATION_ERROR`,this.parameter=e,this.value=t,this.message=this.value?`Invalid value ${JSON.stringify(this.value)} for parameter "${this.parameter}"`:`Missing parameter: ${this.parameter}`}},InvalidStateError:class extends Error{constructor(e){super(),this.code=2,this.name=`INVALID_STATE_ERROR`,this.status=e,this.message=`Invalid status: ${e}`}},NotSupportedError:class extends Error{constructor(e){super(),this.code=3,this.name=`NOT_SUPPORTED_ERROR`,this.message=e}},NotReadyError:class extends Error{constructor(e){super(),this.code=4,this.name=`NOT_READY_ERROR`,this.message=e}}}})),c5=k(((e,t)=>{var n=u5(),r=l5();t.exports=class e{static parse(e){if(e=r.parse(e,`Name_Addr_Header`),e!==-1)return e}constructor(e,t,r){if(!e||!(e instanceof n))throw TypeError(`missing or invalid "uri" parameter`);this._uri=e,this._parameters={},this.display_name=t;for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&this.setParam(e,r[e])}get uri(){return this._uri}get display_name(){return this._display_name}set display_name(e){this._display_name=e===0?`0`:e}setParam(e,t){e&&(this._parameters[e.toLowerCase()]=t==null?null:t.toString())}getParam(e){if(e)return this._parameters[e.toLowerCase()]}hasParam(e){if(e)return this._parameters.hasOwnProperty(e.toLowerCase())&&!0||!1}deleteParam(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){let t=this._parameters[e];return delete this._parameters[e],t}}clearParams(){this._parameters={}}clone(){return new e(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}_quote(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}toString(){let e=this._display_name?`"${this._quote(this._display_name)}" `:``;e+=`<${this._uri.toString()}>`;for(let t in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,t)&&(e+=`;${t}`,this._parameters[t]!==null&&(e+=`=${this._parameters[t]}`));return e}}})),l5=k(((e,t)=>{t.exports=(function(){function e(e){return`"`+e.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(t,n){var r={CRLF:l,DIGIT:u,ALPHA:d,HEXDIG:f,WSP:p,OCTET:m,DQUOTE:h,SP:g,HTAB:_,alphanum:v,reserved:y,unreserved:b,mark:x,escaped:S,LWS:C,SWS:w,HCOLON:T,TEXT_UTF8_TRIM:ee,TEXT_UTF8char:te,UTF8_NONASCII:ne,UTF8_CONT:re,LHEX:ie,token:E,token_nodot:ae,separators:oe,word:se,STAR:ce,SLASH:le,EQUAL:D,LPAREN:ue,RPAREN:de,RAQUOT:fe,LAQUOT:pe,COMMA:me,SEMI:he,COLON:ge,LDQUOT:O,RDQUOT:k,comment:A,ctext:_e,quoted_string:ve,quoted_string_clean:ye,qdtext:be,quoted_pair:xe,SIP_URI_noparams:Se,SIP_URI:Ce,uri_scheme:we,uri_scheme_sips:Te,uri_scheme_sip:Ee,userinfo:De,user:Oe,user_unreserved:ke,password:Ae,hostport:je,host:Me,hostname:Ne,domainlabel:Pe,toplabel:Fe,IPv6reference:Ie,IPv6address:Le,h16:j,ls32:Re,IPv4address:ze,dec_octet:Be,port:Ve,uri_parameters:He,uri_parameter:Ue,transport_param:We,user_param:Ge,method_param:Ke,ttl_param:qe,maddr_param:Je,lr_param:Ye,other_param:Xe,pname:Ze,pvalue:Qe,paramchar:$e,param_unreserved:et,headers:tt,header:nt,hname:rt,hvalue:it,hnv_unreserved:at,Request_Response:ot,Request_Line:st,Request_URI:ct,absoluteURI:lt,hier_part:ut,net_path:dt,abs_path:ft,opaque_part:pt,uric:mt,uric_no_slash:M,path_segments:ht,segment:gt,param:_t,pchar:vt,scheme:yt,authority:bt,srvr:xt,reg_name:St,query:Ct,SIP_Version:wt,INVITEm:Tt,ACKm:Et,OPTIONSm:Dt,BYEm:Ot,CANCELm:kt,REGISTERm:At,SUBSCRIBEm:jt,NOTIFYm:Mt,REFERm:Nt,Method:Pt,Status_Line:Ft,Status_Code:It,extension_code:Lt,Reason_Phrase:Rt,Allow_Events:zt,Call_ID:Bt,Contact:Vt,contact_param:Ht,name_addr:Ut,display_name:Wt,contact_params:Gt,c_p_q:Kt,c_p_expires:qt,delta_seconds:Jt,qvalue:Yt,generic_param:Xt,gen_value:Zt,Content_Disposition:Qt,disp_type:$t,disp_param:en,handling_param:tn,Content_Encoding:nn,Content_Length:rn,Content_Type:an,media_type:on,m_type:sn,discrete_type:cn,composite_type:ln,extension_token:un,x_token:dn,m_subtype:fn,m_parameter:pn,m_value:mn,CSeq:hn,CSeq_value:gn,Expires:_n,Event:vn,event_type:yn,From:bn,from_param:xn,tag_param:Sn,Max_Forwards:Cn,Min_Expires:wn,Name_Addr_Header:Tn,Proxy_Authenticate:En,challenge:Dn,other_challenge:On,auth_param:kn,digest_cln:An,realm:jn,realm_value:Mn,domain:Nn,URI:Pn,nonce:N,nonce_value:Fn,opaque:In,stale:Ln,algorithm:Rn,qop_options:zn,qop_value:Bn,Proxy_Require:Vn,Record_Route:Hn,rec_route:Un,Reason:Wn,reason_param:Gn,reason_cause:Kn,Require:qn,Route:Jn,route_param:Yn,Subscription_State:Xn,substate_value:Zn,subexp_params:Qn,event_reason_value:$n,Subject:er,Supported:tr,To:nr,to_param:rr,Via:ir,via_param:ar,via_params:or,via_ttl:sr,via_maddr:cr,via_received:lr,via_branch:ur,response_port:dr,rport:fr,sent_protocol:pr,protocol_name:mr,transport:hr,sent_by:gr,via_host:_r,via_port:vr,ttl:yr,WWW_Authenticate:br,Session_Expires:xr,s_e_expires:Sr,s_e_params:Cr,s_e_refresher:P,extension_header:wr,header_value:Tr,message_body:Er,uuid_URI:Dr,uuid:Or,hex4:kr,hex8:Ar,hex12:jr,Refer_To:Mr,Replaces:Nr,call_id:Pr,replaces_param:Fr,to_tag:Ir,from_tag:Lr,early_flag:Rr};if(n!==void 0){if(r[n]===void 0)throw Error(`Invalid rule name: `+e(n)+`.`)}else n=`CRLF`;var i=0,a=0,o=0,s=[];function c(e){i<o||(i>o&&(o=i,s=[]),s.push(e))}function l(){var e;return t.substr(i,2)===`\r
|
|
4813
4813
|
`?(e=`\r
|
|
4814
4814
|
`,i+=2):(e=null,a===0&&c(`"\\r\\n"`)),e}function u(){var e;return/^[0-9]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[0-9]`)),e}function d(){var e;return/^[a-zA-Z]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[a-zA-Z]`)),e}function f(){var e;return/^[0-9a-fA-F]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[0-9a-fA-F]`)),e}function p(){var e=g();return e===null&&(e=_()),e}function m(){var e;return/^[\0-\xFF]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[\\0-\\xFF]`)),e}function h(){var e;return/^["]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`["]`)),e}function g(){var e;return t.charCodeAt(i)===32?(e=` `,i++):(e=null,a===0&&c(`" "`)),e}function _(){var e;return t.charCodeAt(i)===9?(e=` `,i++):(e=null,a===0&&c(`"\\t"`)),e}function v(){var e;return/^[a-zA-Z0-9]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[a-zA-Z0-9]`)),e}function y(){var e;return t.charCodeAt(i)===59?(e=`;`,i++):(e=null,a===0&&c(`";"`)),e===null&&(t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`)),e===null&&(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===64?(e=`@`,i++):(e=null,a===0&&c(`"@"`)),e===null&&(t.charCodeAt(i)===38?(e=`&`,i++):(e=null,a===0&&c(`"&"`)),e===null&&(t.charCodeAt(i)===61?(e=`=`,i++):(e=null,a===0&&c(`"="`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)),e===null&&(t.charCodeAt(i)===44?(e=`,`,i++):(e=null,a===0&&c(`","`))))))))))),e}function b(){var e=v();return e===null&&(e=x()),e}function x(){var e;return t.charCodeAt(i)===45?(e=`-`,i++):(e=null,a===0&&c(`"-"`)),e===null&&(t.charCodeAt(i)===95?(e=`_`,i++):(e=null,a===0&&c(`"_"`)),e===null&&(t.charCodeAt(i)===46?(e=`.`,i++):(e=null,a===0&&c(`"."`)),e===null&&(t.charCodeAt(i)===33?(e=`!`,i++):(e=null,a===0&&c(`"!"`)),e===null&&(t.charCodeAt(i)===126?(e=`~`,i++):(e=null,a===0&&c(`"~"`)),e===null&&(t.charCodeAt(i)===42?(e=`*`,i++):(e=null,a===0&&c(`"*"`)),e===null&&(t.charCodeAt(i)===39?(e=`'`,i++):(e=null,a===0&&c(`"'"`)),e===null&&(t.charCodeAt(i)===40?(e=`(`,i++):(e=null,a===0&&c(`"("`)),e===null&&(t.charCodeAt(i)===41?(e=`)`,i++):(e=null,a===0&&c(`")"`)))))))))),e}function S(){var e,n,r,o=i,s=i;return t.charCodeAt(i)===37?(e=`%`,i++):(e=null,a===0&&c(`"%"`)),e===null?(e=null,i=s):(n=f(),n===null?(e=null,i=s):(r=f(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){return t.join(``)})(o,e)),e===null&&(i=o),e}function C(){var e,t,n,r=i,a=i,o=i;for(e=[],t=p();t!==null;)e.push(t),t=p();if(e===null?(e=null,i=o):(t=l(),t===null?(e=null,i=o):e=[e,t]),e=e===null?``:e,e!==null){if(n=p(),n!==null)for(t=[];n!==null;)t.push(n),n=p();else t=null;t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e!==null&&(e=(function(e){return` `})(r)),e===null&&(i=r),e}function w(){var e=C();return e=e===null?``:e,e}function T(){var e,n,r,o=i,s=i;for(e=[],n=g(),n===null&&(n=_());n!==null;)e.push(n),n=g(),n===null&&(n=_());return e===null?(e=null,i=s):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`:`})(o)),e===null&&(i=o),e}function ee(){var e,n,r,a,o=i,s=i,c;if(n=te(),n!==null)for(e=[];n!==null;)e.push(n),n=te();else e=null;if(e!==null){for(n=[],c=i,r=[],a=C();a!==null;)r.push(a),a=C();for(r===null?(r=null,i=c):(a=te(),a===null?(r=null,i=c):r=[r,a]);r!==null;){for(n.push(r),c=i,r=[],a=C();a!==null;)r.push(a),a=C();r===null?(r=null,i=c):(a=te(),a===null?(r=null,i=c):r=[r,a])}n===null?(e=null,i=s):e=[e,n]}else e=null,i=s;return e!==null&&(e=(function(e){return t.substring(i,e)})(o)),e===null&&(i=o),e}function te(){var e;return/^[!-~]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[!-~]`)),e===null&&(e=ne()),e}function ne(){var e;return/^[\x80-\uFFFF]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[\\x80-\\uFFFF]`)),e}function re(){var e;return/^[\x80-\xBF]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[\\x80-\\xBF]`)),e}function ie(){var e=u();return e===null&&(/^[a-f]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[a-f]`))),e}function E(){var e,n,r=i;if(n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`)))))))))))),n!==null)for(e=[];n!==null;)e.push(n),n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`))))))))))));else e=null;return e!==null&&(e=(function(e){return t.substring(i,e)})(r)),e===null&&(i=r),e}function ae(){var e,n,r=i;if(n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`))))))))))),n!==null)for(e=[];n!==null;)e.push(n),n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`)))))))))));else e=null;return e!==null&&(e=(function(e){return t.substring(i,e)})(r)),e===null&&(i=r),e}function oe(){var e;return t.charCodeAt(i)===40?(e=`(`,i++):(e=null,a===0&&c(`"("`)),e===null&&(t.charCodeAt(i)===41?(e=`)`,i++):(e=null,a===0&&c(`")"`)),e===null&&(t.charCodeAt(i)===60?(e=`<`,i++):(e=null,a===0&&c(`"<"`)),e===null&&(t.charCodeAt(i)===62?(e=`>`,i++):(e=null,a===0&&c(`">"`)),e===null&&(t.charCodeAt(i)===64?(e=`@`,i++):(e=null,a===0&&c(`"@"`)),e===null&&(t.charCodeAt(i)===44?(e=`,`,i++):(e=null,a===0&&c(`","`)),e===null&&(t.charCodeAt(i)===59?(e=`;`,i++):(e=null,a===0&&c(`";"`)),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===92?(e=`\\`,i++):(e=null,a===0&&c(`"\\\\"`)),e===null&&(e=h(),e===null&&(t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`)),e===null&&(t.charCodeAt(i)===91?(e=`[`,i++):(e=null,a===0&&c(`"["`)),e===null&&(t.charCodeAt(i)===93?(e=`]`,i++):(e=null,a===0&&c(`"]"`)),e===null&&(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e===null&&(t.charCodeAt(i)===61?(e=`=`,i++):(e=null,a===0&&c(`"="`)),e===null&&(t.charCodeAt(i)===123?(e=`{`,i++):(e=null,a===0&&c(`"{"`)),e===null&&(t.charCodeAt(i)===125?(e=`}`,i++):(e=null,a===0&&c(`"}"`)),e===null&&(e=g(),e===null&&(e=_())))))))))))))))))),e}function se(){var e,n,r=i;if(n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`)),n===null&&(t.charCodeAt(i)===40?(n=`(`,i++):(n=null,a===0&&c(`"("`)),n===null&&(t.charCodeAt(i)===41?(n=`)`,i++):(n=null,a===0&&c(`")"`)),n===null&&(t.charCodeAt(i)===60?(n=`<`,i++):(n=null,a===0&&c(`"<"`)),n===null&&(t.charCodeAt(i)===62?(n=`>`,i++):(n=null,a===0&&c(`">"`)),n===null&&(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null&&(t.charCodeAt(i)===92?(n=`\\`,i++):(n=null,a===0&&c(`"\\\\"`)),n===null&&(n=h(),n===null&&(t.charCodeAt(i)===47?(n=`/`,i++):(n=null,a===0&&c(`"/"`)),n===null&&(t.charCodeAt(i)===91?(n=`[`,i++):(n=null,a===0&&c(`"["`)),n===null&&(t.charCodeAt(i)===93?(n=`]`,i++):(n=null,a===0&&c(`"]"`)),n===null&&(t.charCodeAt(i)===63?(n=`?`,i++):(n=null,a===0&&c(`"?"`)),n===null&&(t.charCodeAt(i)===123?(n=`{`,i++):(n=null,a===0&&c(`"{"`)),n===null&&(t.charCodeAt(i)===125?(n=`}`,i++):(n=null,a===0&&c(`"}"`))))))))))))))))))))))))),n!==null)for(e=[];n!==null;)e.push(n),n=v(),n===null&&(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null&&(t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null&&(t.charCodeAt(i)===33?(n=`!`,i++):(n=null,a===0&&c(`"!"`)),n===null&&(t.charCodeAt(i)===37?(n=`%`,i++):(n=null,a===0&&c(`"%"`)),n===null&&(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null&&(t.charCodeAt(i)===95?(n=`_`,i++):(n=null,a===0&&c(`"_"`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===96?(n="`",i++):(n=null,a===0&&c('"`"')),n===null&&(t.charCodeAt(i)===39?(n=`'`,i++):(n=null,a===0&&c(`"'"`)),n===null&&(t.charCodeAt(i)===126?(n=`~`,i++):(n=null,a===0&&c(`"~"`)),n===null&&(t.charCodeAt(i)===40?(n=`(`,i++):(n=null,a===0&&c(`"("`)),n===null&&(t.charCodeAt(i)===41?(n=`)`,i++):(n=null,a===0&&c(`")"`)),n===null&&(t.charCodeAt(i)===60?(n=`<`,i++):(n=null,a===0&&c(`"<"`)),n===null&&(t.charCodeAt(i)===62?(n=`>`,i++):(n=null,a===0&&c(`">"`)),n===null&&(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null&&(t.charCodeAt(i)===92?(n=`\\`,i++):(n=null,a===0&&c(`"\\\\"`)),n===null&&(n=h(),n===null&&(t.charCodeAt(i)===47?(n=`/`,i++):(n=null,a===0&&c(`"/"`)),n===null&&(t.charCodeAt(i)===91?(n=`[`,i++):(n=null,a===0&&c(`"["`)),n===null&&(t.charCodeAt(i)===93?(n=`]`,i++):(n=null,a===0&&c(`"]"`)),n===null&&(t.charCodeAt(i)===63?(n=`?`,i++):(n=null,a===0&&c(`"?"`)),n===null&&(t.charCodeAt(i)===123?(n=`{`,i++):(n=null,a===0&&c(`"{"`)),n===null&&(t.charCodeAt(i)===125?(n=`}`,i++):(n=null,a===0&&c(`"}"`)))))))))))))))))))))))));else e=null;return e!==null&&(e=(function(e){return t.substring(i,e)})(r)),e===null&&(i=r),e}function ce(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===42?(n=`*`,i++):(n=null,a===0&&c(`"*"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`*`})(o)),e===null&&(i=o),e}function le(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===47?(n=`/`,i++):(n=null,a===0&&c(`"/"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`/`})(o)),e===null&&(i=o),e}function D(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`=`})(o)),e===null&&(i=o),e}function ue(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===40?(n=`(`,i++):(n=null,a===0&&c(`"("`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`(`})(o)),e===null&&(i=o),e}function de(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===41?(n=`)`,i++):(n=null,a===0&&c(`")"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`)`})(o)),e===null&&(i=o),e}function fe(){var e,n,r=i,o=i;return t.charCodeAt(i)===62?(e=`>`,i++):(e=null,a===0&&c(`">"`)),e===null?(e=null,i=o):(n=w(),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e){return`>`})(r)),e===null&&(i=r),e}function pe(){var e,n,r=i,o=i;return e=w(),e===null?(e=null,i=o):(t.charCodeAt(i)===60?(n=`<`,i++):(n=null,a===0&&c(`"<"`)),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e){return`<`})(r)),e===null&&(i=r),e}function me(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===44?(n=`,`,i++):(n=null,a===0&&c(`","`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`,`})(o)),e===null&&(i=o),e}function he(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===59?(n=`;`,i++):(n=null,a===0&&c(`";"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`;`})(o)),e===null&&(i=o),e}function ge(){var e,n,r,o=i,s=i;return e=w(),e===null?(e=null,i=s):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=s):(r=w(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return`:`})(o)),e===null&&(i=o),e}function O(){var e,t,n=i,r=i;return e=w(),e===null?(e=null,i=r):(t=h(),t===null?(e=null,i=r):e=[e,t]),e!==null&&(e=(function(e){return`"`})(n)),e===null&&(i=n),e}function k(){var e,t,n=i,r=i;return e=h(),e===null?(e=null,i=r):(t=w(),t===null?(e=null,i=r):e=[e,t]),e!==null&&(e=(function(e){return`"`})(n)),e===null&&(i=n),e}function A(){var e,t,n,r=i;if(e=ue(),e!==null){for(t=[],n=_e(),n===null&&(n=xe(),n===null&&(n=A()));n!==null;)t.push(n),n=_e(),n===null&&(n=xe(),n===null&&(n=A()));t===null?(e=null,i=r):(n=de(),n===null?(e=null,i=r):e=[e,t,n])}else e=null,i=r;return e}function _e(){var e;return/^[!-']/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[!-']`)),e===null&&(/^[*-[]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[*-[]`)),e===null&&(/^[\]-~]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[\\]-~]`)),e===null&&(e=ne(),e===null&&(e=C())))),e}function ve(){var e,n,r,a,o=i,s=i;if(e=w(),e!==null)if(n=h(),n!==null){for(r=[],a=be(),a===null&&(a=xe());a!==null;)r.push(a),a=be(),a===null&&(a=xe());r===null?(e=null,i=s):(a=h(),a===null?(e=null,i=s):e=[e,n,r,a])}else e=null,i=s;else e=null,i=s;return e!==null&&(e=(function(e){return t.substring(i,e)})(o)),e===null&&(i=o),e}function ye(){var e,n,r,a,o=i,s=i;if(e=w(),e!==null)if(n=h(),n!==null){for(r=[],a=be(),a===null&&(a=xe());a!==null;)r.push(a),a=be(),a===null&&(a=xe());r===null?(e=null,i=s):(a=h(),a===null?(e=null,i=s):e=[e,n,r,a])}else e=null,i=s;else e=null,i=s;return e!==null&&(e=(function(e){var n=t.substring(i,e).trim();return n.substring(1,n.length-1).replace(/\\([\x00-\x09\x0b-\x0c\x0e-\x7f])/g,`$1`)})(o)),e===null&&(i=o),e}function be(){var e=C();return e===null&&(t.charCodeAt(i)===33?(e=`!`,i++):(e=null,a===0&&c(`"!"`)),e===null&&(/^[#-[]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[#-[]`)),e===null&&(/^[\]-~]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[\\]-~]`)),e===null&&(e=ne())))),e}function xe(){var e,n,r=i;return t.charCodeAt(i)===92?(e=`\\`,i++):(e=null,a===0&&c(`"\\\\"`)),e===null?(e=null,i=r):(/^[\0-\t]/.test(t.charAt(i))?(n=t.charAt(i),i++):(n=null,a===0&&c(`[\\0-\\t]`)),n===null&&(/^[\x0B-\f]/.test(t.charAt(i))?(n=t.charAt(i),i++):(n=null,a===0&&c(`[\\x0B-\\f]`)),n===null&&(/^[\x0E-]/.test(t.charAt(i))?(n=t.charAt(i),i++):(n=null,a===0&&c(`[\\x0E-]`)))),n===null?(e=null,i=r):e=[e,n]),e}function Se(){var e,n,r,o,s=i,l=i;return e=we(),e===null?(e=null,i=l):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=l):(r=De(),r=r===null?``:r,r===null?(e=null,i=l):(o=je(),o===null?(e=null,i=l):e=[e,n,r,o]))),e!==null&&(e=(function(e){try{F.uri=new Vr(F.scheme,F.user,F.host,F.port),delete F.scheme,delete F.user,delete F.host,delete F.host_type,delete F.port}catch{F=-1}})(s)),e===null&&(i=s),e}function Ce(){var e,r,o,s,l,u,d=i,f=i;return e=we(),e===null?(e=null,i=f):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=f):(o=De(),o=o===null?``:o,o===null?(e=null,i=f):(s=je(),s===null?(e=null,i=f):(l=He(),l===null?(e=null,i=f):(u=tt(),u=u===null?``:u,u===null?(e=null,i=f):e=[e,r,o,s,l,u]))))),e!==null&&(e=(function(e){try{F.uri=new Vr(F.scheme,F.user,F.host,F.port,F.uri_params,F.uri_headers),delete F.scheme,delete F.user,delete F.host,delete F.host_type,delete F.port,delete F.uri_params,n===`SIP_URI`&&(F=F.uri)}catch{F=-1}})(d)),e===null&&(i=d),e}function we(){var e=Te();return e===null&&(e=Ee()),e}function Te(){var e,n=i;return t.substr(i,4).toLowerCase()===`sips`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"sips"`)),e!==null&&(e=(function(e,t){F.scheme=t.toLowerCase()})(n,e)),e===null&&(i=n),e}function Ee(){var e,n=i;return t.substr(i,3).toLowerCase()===`sip`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"sip"`)),e!==null&&(e=(function(e,t){F.scheme=t.toLowerCase()})(n,e)),e===null&&(i=n),e}function De(){var e,n,r,o=i,s=i,l;return e=Oe(),e===null?(e=null,i=s):(l=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=l):(r=Ae(),r===null?(n=null,i=l):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=s):(t.charCodeAt(i)===64?(r=`@`,i++):(r=null,a===0&&c(`"@"`)),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){F.user=decodeURIComponent(t.substring(i-1,e))})(o)),e===null&&(i=o),e}function Oe(){var e,t=b();if(t===null&&(t=S(),t===null&&(t=ke())),t!==null)for(e=[];t!==null;)e.push(t),t=b(),t===null&&(t=S(),t===null&&(t=ke()));else e=null;return e}function ke(){var e;return t.charCodeAt(i)===38?(e=`&`,i++):(e=null,a===0&&c(`"&"`)),e===null&&(t.charCodeAt(i)===61?(e=`=`,i++):(e=null,a===0&&c(`"="`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)),e===null&&(t.charCodeAt(i)===44?(e=`,`,i++):(e=null,a===0&&c(`","`)),e===null&&(t.charCodeAt(i)===59?(e=`;`,i++):(e=null,a===0&&c(`";"`)),e===null&&(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e===null&&(t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`))))))))),e}function Ae(){var e,n,r=i;for(e=[],n=b(),n===null&&(n=S(),n===null&&(t.charCodeAt(i)===38?(n=`&`,i++):(n=null,a===0&&c(`"&"`)),n===null&&(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===36?(n=`$`,i++):(n=null,a===0&&c(`"$"`)),n===null&&(t.charCodeAt(i)===44?(n=`,`,i++):(n=null,a===0&&c(`","`))))))));n!==null;)e.push(n),n=b(),n===null&&(n=S(),n===null&&(t.charCodeAt(i)===38?(n=`&`,i++):(n=null,a===0&&c(`"&"`)),n===null&&(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)),n===null&&(t.charCodeAt(i)===36?(n=`$`,i++):(n=null,a===0&&c(`"$"`)),n===null&&(t.charCodeAt(i)===44?(n=`,`,i++):(n=null,a===0&&c(`","`))))))));return e!==null&&(e=(function(e){F.password=t.substring(i,e)})(r)),e===null&&(i=r),e}function je(){var e,n,r,o=i,s;return e=Me(),e===null?(e=null,i=o):(s=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=s):(r=Ve(),r===null?(n=null,i=s):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=o):e=[e,n]),e}function Me(){var e,n=i;return e=Ne(),e===null&&(e=ze(),e===null&&(e=Ie())),e!==null&&(e=(function(e){return F.host=t.substring(i,e).toLowerCase(),F.host})(n)),e===null&&(i=n),e}function Ne(){var e,n,r,o=i,s=i,l;for(e=[],l=i,n=Pe(),n===null?(n=null,i=l):(t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`)),r===null?(n=null,i=l):n=[n,r]);n!==null;)e.push(n),l=i,n=Pe(),n===null?(n=null,i=l):(t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`)),r===null?(n=null,i=l):n=[n,r]);return e===null?(e=null,i=s):(n=Fe(),n===null?(e=null,i=s):(t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`)),r=r===null?``:r,r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return F.host_type=`domain`,t.substring(i,e)})(o)),e===null&&(i=o),e}function Pe(){var e,n,r,o=i;if(e=v(),e!==null){for(n=[],r=v(),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===95?(r=`_`,i++):(r=null,a===0&&c(`"_"`))));r!==null;)n.push(r),r=v(),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===95?(r=`_`,i++):(r=null,a===0&&c(`"_"`))));n===null?(e=null,i=o):e=[e,n]}else e=null,i=o;return e}function Fe(){var e,n,r,o=i;if(e=d(),e!==null){for(n=[],r=v(),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===95?(r=`_`,i++):(r=null,a===0&&c(`"_"`))));r!==null;)n.push(r),r=v(),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===95?(r=`_`,i++):(r=null,a===0&&c(`"_"`))));n===null?(e=null,i=o):e=[e,n]}else e=null,i=o;return e}function Ie(){var e,n,r,o=i,s=i;return t.charCodeAt(i)===91?(e=`[`,i++):(e=null,a===0&&c(`"["`)),e===null?(e=null,i=s):(n=Le(),n===null?(e=null,i=s):(t.charCodeAt(i)===93?(r=`]`,i++):(r=null,a===0&&c(`"]"`)),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e){return F.host_type=`IPv6`,t.substring(i,e)})(o)),e===null&&(i=o),e}function Le(){var e,n,r,o,s,l,u,d,f,p,m,h,g,_=i,v=i,y;return e=j(),e===null?(e=null,i=v):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=v):(r=j(),r===null?(e=null,i=v):(t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(e=null,i=v):(s=j(),s===null?(e=null,i=v):(t.charCodeAt(i)===58?(l=`:`,i++):(l=null,a===0&&c(`":"`)),l===null?(e=null,i=v):(u=j(),u===null?(e=null,i=v):(t.charCodeAt(i)===58?(d=`:`,i++):(d=null,a===0&&c(`":"`)),d===null?(e=null,i=v):(f=j(),f===null?(e=null,i=v):(t.charCodeAt(i)===58?(p=`:`,i++):(p=null,a===0&&c(`":"`)),p===null?(e=null,i=v):(m=j(),m===null?(e=null,i=v):(t.charCodeAt(i)===58?(h=`:`,i++):(h=null,a===0&&c(`":"`)),h===null?(e=null,i=v):(g=Re(),g===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f,p,m,h,g])))))))))))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=v):(o=j(),o===null?(e=null,i=v):(t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(e=null,i=v):(l=j(),l===null?(e=null,i=v):(t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(e=null,i=v):(d=j(),d===null?(e=null,i=v):(t.charCodeAt(i)===58?(f=`:`,i++):(f=null,a===0&&c(`":"`)),f===null?(e=null,i=v):(p=j(),p===null?(e=null,i=v):(t.charCodeAt(i)===58?(m=`:`,i++):(m=null,a===0&&c(`":"`)),m===null?(e=null,i=v):(h=Re(),h===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f,p,m,h]))))))))))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=v):(o=j(),o===null?(e=null,i=v):(t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(e=null,i=v):(l=j(),l===null?(e=null,i=v):(t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(e=null,i=v):(d=j(),d===null?(e=null,i=v):(t.charCodeAt(i)===58?(f=`:`,i++):(f=null,a===0&&c(`":"`)),f===null?(e=null,i=v):(p=Re(),p===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f,p]))))))))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=v):(o=j(),o===null?(e=null,i=v):(t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(e=null,i=v):(l=j(),l===null?(e=null,i=v):(t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(e=null,i=v):(d=Re(),d===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d]))))))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=v):(o=j(),o===null?(e=null,i=v):(t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(e=null,i=v):(l=Re(),l===null?(e=null,i=v):e=[e,n,r,o,s,l]))))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):(t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(e=null,i=v):(o=Re(),o===null?(e=null,i=v):e=[e,n,r,o]))),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=Re(),n===null?(e=null,i=v):e=[e,n]),e===null&&(v=i,t.substr(i,2)===`::`?(e=`::`,i+=2):(e=null,a===0&&c(`"::"`)),e===null?(e=null,i=v):(n=j(),n===null?(e=null,i=v):e=[e,n]),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(t.substr(i,2)===`::`?(n=`::`,i+=2):(n=null,a===0&&c(`"::"`)),n===null?(e=null,i=v):(r=j(),r===null?(e=null,i=v):(t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(e=null,i=v):(s=j(),s===null?(e=null,i=v):(t.charCodeAt(i)===58?(l=`:`,i++):(l=null,a===0&&c(`":"`)),l===null?(e=null,i=v):(u=j(),u===null?(e=null,i=v):(t.charCodeAt(i)===58?(d=`:`,i++):(d=null,a===0&&c(`":"`)),d===null?(e=null,i=v):(f=j(),f===null?(e=null,i=v):(t.charCodeAt(i)===58?(p=`:`,i++):(p=null,a===0&&c(`":"`)),p===null?(e=null,i=v):(m=Re(),m===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f,p,m])))))))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(t.substr(i,2)===`::`?(r=`::`,i+=2):(r=null,a===0&&c(`"::"`)),r===null?(e=null,i=v):(o=j(),o===null?(e=null,i=v):(t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(e=null,i=v):(l=j(),l===null?(e=null,i=v):(t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(e=null,i=v):(d=j(),d===null?(e=null,i=v):(t.charCodeAt(i)===58?(f=`:`,i++):(f=null,a===0&&c(`":"`)),f===null?(e=null,i=v):(p=Re(),p===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f,p]))))))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(r=null,i=y):(o=j(),o===null?(r=null,i=y):r=[r,o]),r=r===null?``:r,r===null?(e=null,i=v):(t.substr(i,2)===`::`?(o=`::`,i+=2):(o=null,a===0&&c(`"::"`)),o===null?(e=null,i=v):(s=j(),s===null?(e=null,i=v):(t.charCodeAt(i)===58?(l=`:`,i++):(l=null,a===0&&c(`":"`)),l===null?(e=null,i=v):(u=j(),u===null?(e=null,i=v):(t.charCodeAt(i)===58?(d=`:`,i++):(d=null,a===0&&c(`":"`)),d===null?(e=null,i=v):(f=Re(),f===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d,f])))))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(r=null,i=y):(o=j(),o===null?(r=null,i=y):r=[r,o]),r=r===null?``:r,r===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(o=null,i=y):(s=j(),s===null?(o=null,i=y):o=[o,s]),o=o===null?``:o,o===null?(e=null,i=v):(t.substr(i,2)===`::`?(s=`::`,i+=2):(s=null,a===0&&c(`"::"`)),s===null?(e=null,i=v):(l=j(),l===null?(e=null,i=v):(t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(e=null,i=v):(d=Re(),d===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d]))))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(r=null,i=y):(o=j(),o===null?(r=null,i=y):r=[r,o]),r=r===null?``:r,r===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(o=null,i=y):(s=j(),s===null?(o=null,i=y):o=[o,s]),o=o===null?``:o,o===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(s=null,i=y):(l=j(),l===null?(s=null,i=y):s=[s,l]),s=s===null?``:s,s===null?(e=null,i=v):(t.substr(i,2)===`::`?(l=`::`,i+=2):(l=null,a===0&&c(`"::"`)),l===null?(e=null,i=v):(u=Re(),u===null?(e=null,i=v):e=[e,n,r,o,s,l,u])))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(r=null,i=y):(o=j(),o===null?(r=null,i=y):r=[r,o]),r=r===null?``:r,r===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(o=null,i=y):(s=j(),s===null?(o=null,i=y):o=[o,s]),o=o===null?``:o,o===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(s=null,i=y):(l=j(),l===null?(s=null,i=y):s=[s,l]),s=s===null?``:s,s===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(l=`:`,i++):(l=null,a===0&&c(`":"`)),l===null?(l=null,i=y):(u=j(),u===null?(l=null,i=y):l=[l,u]),l=l===null?``:l,l===null?(e=null,i=v):(t.substr(i,2)===`::`?(u=`::`,i+=2):(u=null,a===0&&c(`"::"`)),u===null?(e=null,i=v):(d=j(),d===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d]))))))),e===null&&(v=i,e=j(),e===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(n=null,i=y):(r=j(),r===null?(n=null,i=y):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(r=`:`,i++):(r=null,a===0&&c(`":"`)),r===null?(r=null,i=y):(o=j(),o===null?(r=null,i=y):r=[r,o]),r=r===null?``:r,r===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(o=`:`,i++):(o=null,a===0&&c(`":"`)),o===null?(o=null,i=y):(s=j(),s===null?(o=null,i=y):o=[o,s]),o=o===null?``:o,o===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(s=`:`,i++):(s=null,a===0&&c(`":"`)),s===null?(s=null,i=y):(l=j(),l===null?(s=null,i=y):s=[s,l]),s=s===null?``:s,s===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(l=`:`,i++):(l=null,a===0&&c(`":"`)),l===null?(l=null,i=y):(u=j(),u===null?(l=null,i=y):l=[l,u]),l=l===null?``:l,l===null?(e=null,i=v):(y=i,t.charCodeAt(i)===58?(u=`:`,i++):(u=null,a===0&&c(`":"`)),u===null?(u=null,i=y):(d=j(),d===null?(u=null,i=y):u=[u,d]),u=u===null?``:u,u===null?(e=null,i=v):(t.substr(i,2)===`::`?(d=`::`,i+=2):(d=null,a===0&&c(`"::"`)),d===null?(e=null,i=v):e=[e,n,r,o,s,l,u,d]))))))))))))))))))))),e!==null&&(e=(function(e){return F.host_type=`IPv6`,t.substring(i,e)})(_)),e===null&&(i=_),e}function j(){var e,t,n,r,a=i;return e=f(),e===null?(e=null,i=a):(t=f(),t=t===null?``:t,t===null?(e=null,i=a):(n=f(),n=n===null?``:n,n===null?(e=null,i=a):(r=f(),r=r===null?``:r,r===null?(e=null,i=a):e=[e,t,n,r]))),e}function Re(){var e,n,r,o=i;return e=j(),e===null?(e=null,i=o):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=o):(r=j(),r===null?(e=null,i=o):e=[e,n,r])),e===null&&(e=ze()),e}function ze(){var e,n,r,o,s,l,u,d=i,f=i;return e=Be(),e===null?(e=null,i=f):(t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null?(e=null,i=f):(r=Be(),r===null?(e=null,i=f):(t.charCodeAt(i)===46?(o=`.`,i++):(o=null,a===0&&c(`"."`)),o===null?(e=null,i=f):(s=Be(),s===null?(e=null,i=f):(t.charCodeAt(i)===46?(l=`.`,i++):(l=null,a===0&&c(`"."`)),l===null?(e=null,i=f):(u=Be(),u===null?(e=null,i=f):e=[e,n,r,o,s,l,u])))))),e!==null&&(e=(function(e){return F.host_type=`IPv4`,t.substring(i,e)})(d)),e===null&&(i=d),e}function Be(){var e,n,r,o=i;return t.substr(i,2)===`25`?(e=`25`,i+=2):(e=null,a===0&&c(`"25"`)),e===null?(e=null,i=o):(/^[0-5]/.test(t.charAt(i))?(n=t.charAt(i),i++):(n=null,a===0&&c(`[0-5]`)),n===null?(e=null,i=o):e=[e,n]),e===null&&(o=i,t.charCodeAt(i)===50?(e=`2`,i++):(e=null,a===0&&c(`"2"`)),e===null?(e=null,i=o):(/^[0-4]/.test(t.charAt(i))?(n=t.charAt(i),i++):(n=null,a===0&&c(`[0-4]`)),n===null?(e=null,i=o):(r=u(),r===null?(e=null,i=o):e=[e,n,r])),e===null&&(o=i,t.charCodeAt(i)===49?(e=`1`,i++):(e=null,a===0&&c(`"1"`)),e===null?(e=null,i=o):(n=u(),n===null?(e=null,i=o):(r=u(),r===null?(e=null,i=o):e=[e,n,r])),e===null&&(o=i,/^[1-9]/.test(t.charAt(i))?(e=t.charAt(i),i++):(e=null,a===0&&c(`[1-9]`)),e===null?(e=null,i=o):(n=u(),n===null?(e=null,i=o):e=[e,n]),e===null&&(e=u())))),e}function Ve(){var e,t,n,r,a,o=i,s=i;return e=u(),e=e===null?``:e,e===null?(e=null,i=s):(t=u(),t=t===null?``:t,t===null?(e=null,i=s):(n=u(),n=n===null?``:n,n===null?(e=null,i=s):(r=u(),r=r===null?``:r,r===null?(e=null,i=s):(a=u(),a=a===null?``:a,a===null?(e=null,i=s):e=[e,t,n,r,a])))),e!==null&&(e=(function(e,t){return t=parseInt(t.join(``)),F.port=t,t})(o,e)),e===null&&(i=o),e}function He(){var e=[],n,r,o=i;for(t.charCodeAt(i)===59?(n=`;`,i++):(n=null,a===0&&c(`";"`)),n===null?(n=null,i=o):(r=Ue(),r===null?(n=null,i=o):n=[n,r]);n!==null;)e.push(n),o=i,t.charCodeAt(i)===59?(n=`;`,i++):(n=null,a===0&&c(`";"`)),n===null?(n=null,i=o):(r=Ue(),r===null?(n=null,i=o):n=[n,r]);return e}function Ue(){var e=We();return e===null&&(e=Ge(),e===null&&(e=Ke(),e===null&&(e=qe(),e===null&&(e=Je(),e===null&&(e=Ye(),e===null&&(e=Xe())))))),e}function We(){var e,n,r=i,o=i;return t.substr(i,10).toLowerCase()===`transport=`?(e=t.substr(i,10),i+=10):(e=null,a===0&&c(`"transport="`)),e===null?(e=null,i=o):(t.substr(i,3).toLowerCase()===`udp`?(n=t.substr(i,3),i+=3):(n=null,a===0&&c(`"udp"`)),n===null&&(t.substr(i,3).toLowerCase()===`tcp`?(n=t.substr(i,3),i+=3):(n=null,a===0&&c(`"tcp"`)),n===null&&(t.substr(i,4).toLowerCase()===`sctp`?(n=t.substr(i,4),i+=4):(n=null,a===0&&c(`"sctp"`)),n===null&&(t.substr(i,3).toLowerCase()===`tls`?(n=t.substr(i,3),i+=3):(n=null,a===0&&c(`"tls"`)),n===null&&(n=E())))),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e,t){F.uri_params||={},F.uri_params.transport=t.toLowerCase()})(r,e[1])),e===null&&(i=r),e}function Ge(){var e,n,r=i,o=i;return t.substr(i,5).toLowerCase()===`user=`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"user="`)),e===null?(e=null,i=o):(t.substr(i,5).toLowerCase()===`phone`?(n=t.substr(i,5),i+=5):(n=null,a===0&&c(`"phone"`)),n===null&&(t.substr(i,2).toLowerCase()===`ip`?(n=t.substr(i,2),i+=2):(n=null,a===0&&c(`"ip"`)),n===null&&(n=E())),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e,t){F.uri_params||={},F.uri_params.user=t.toLowerCase()})(r,e[1])),e===null&&(i=r),e}function Ke(){var e,n,r=i,o=i;return t.substr(i,7).toLowerCase()===`method=`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"method="`)),e===null?(e=null,i=o):(n=Pt(),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e,t){F.uri_params||={},F.uri_params.method=t})(r,e[1])),e===null&&(i=r),e}function qe(){var e,n,r=i,o=i;return t.substr(i,4).toLowerCase()===`ttl=`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"ttl="`)),e===null?(e=null,i=o):(n=yr(),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e,t){F.params||={},F.params.ttl=t})(r,e[1])),e===null&&(i=r),e}function Je(){var e,n,r=i,o=i;return t.substr(i,6).toLowerCase()===`maddr=`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"maddr="`)),e===null?(e=null,i=o):(n=Me(),n===null?(e=null,i=o):e=[e,n]),e!==null&&(e=(function(e,t){F.uri_params||={},F.uri_params.maddr=t})(r,e[1])),e===null&&(i=r),e}function Ye(){var e,n,r,o=i,s=i,l;return t.substr(i,2).toLowerCase()===`lr`?(e=t.substr(i,2),i+=2):(e=null,a===0&&c(`"lr"`)),e===null?(e=null,i=s):(l=i,t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null?(n=null,i=l):(r=E(),r===null?(n=null,i=l):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=s):e=[e,n]),e!==null&&(e=(function(e){F.uri_params||={},F.uri_params.lr=void 0})(o)),e===null&&(i=o),e}function Xe(){var e,n,r,o=i,s=i,l;return e=Ze(),e===null?(e=null,i=s):(l=i,t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null?(n=null,i=l):(r=Qe(),r===null?(n=null,i=l):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=s):e=[e,n]),e!==null&&(e=(function(e,t,n){F.uri_params||={},n=n===void 0?void 0:n[1],F.uri_params[t.toLowerCase()]=n})(o,e[0],e[1])),e===null&&(i=o),e}function Ze(){var e,t,n=i;if(t=$e(),t!==null)for(e=[];t!==null;)e.push(t),t=$e();else e=null;return e!==null&&(e=(function(e,t){return t.join(``)})(n,e)),e===null&&(i=n),e}function Qe(){var e,t,n=i;if(t=$e(),t!==null)for(e=[];t!==null;)e.push(t),t=$e();else e=null;return e!==null&&(e=(function(e,t){return t.join(``)})(n,e)),e===null&&(i=n),e}function $e(){var e=et();return e===null&&(e=b(),e===null&&(e=S())),e}function et(){var e;return t.charCodeAt(i)===91?(e=`[`,i++):(e=null,a===0&&c(`"["`)),e===null&&(t.charCodeAt(i)===93?(e=`]`,i++):(e=null,a===0&&c(`"]"`)),e===null&&(t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`)),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===38?(e=`&`,i++):(e=null,a===0&&c(`"&"`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)))))))),e}function tt(){var e,n,r,o,s,l=i,u;if(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e!==null)if(n=nt(),n!==null){for(r=[],u=i,t.charCodeAt(i)===38?(o=`&`,i++):(o=null,a===0&&c(`"&"`)),o===null?(o=null,i=u):(s=nt(),s===null?(o=null,i=u):o=[o,s]);o!==null;)r.push(o),u=i,t.charCodeAt(i)===38?(o=`&`,i++):(o=null,a===0&&c(`"&"`)),o===null?(o=null,i=u):(s=nt(),s===null?(o=null,i=u):o=[o,s]);r===null?(e=null,i=l):e=[e,n,r]}else e=null,i=l;else e=null,i=l;return e}function nt(){var e,n,r,o=i,s=i;return e=rt(),e===null?(e=null,i=s):(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null?(e=null,i=s):(r=it(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t,n){t=t.join(``).toLowerCase(),n=n.join(``),F.uri_headers||={},F.uri_headers[t]?F.uri_headers[t].push(n):F.uri_headers[t]=[n]})(o,e[0],e[2])),e===null&&(i=o),e}function rt(){var e,t=at();if(t===null&&(t=b(),t===null&&(t=S())),t!==null)for(e=[];t!==null;)e.push(t),t=at(),t===null&&(t=b(),t===null&&(t=S()));else e=null;return e}function it(){var e=[],t=at();for(t===null&&(t=b(),t===null&&(t=S()));t!==null;)e.push(t),t=at(),t===null&&(t=b(),t===null&&(t=S()));return e}function at(){var e;return t.charCodeAt(i)===91?(e=`[`,i++):(e=null,a===0&&c(`"["`)),e===null&&(t.charCodeAt(i)===93?(e=`]`,i++):(e=null,a===0&&c(`"]"`)),e===null&&(t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`)),e===null&&(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)))))))),e}function ot(){var e=Ft();return e===null&&(e=st()),e}function st(){var e,t,n,r,a,o=i;return e=Pt(),e===null?(e=null,i=o):(t=g(),t===null?(e=null,i=o):(n=ct(),n===null?(e=null,i=o):(r=g(),r===null?(e=null,i=o):(a=wt(),a===null?(e=null,i=o):e=[e,t,n,r,a])))),e}function ct(){var e=Ce();return e===null&&(e=lt()),e}function lt(){var e,n,r,o=i;return e=yt(),e===null?(e=null,i=o):(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null?(e=null,i=o):(r=ut(),r===null&&(r=pt()),r===null?(e=null,i=o):e=[e,n,r])),e}function ut(){var e,n,r,o=i,s;return e=dt(),e===null&&(e=ft()),e===null?(e=null,i=o):(s=i,t.charCodeAt(i)===63?(n=`?`,i++):(n=null,a===0&&c(`"?"`)),n===null?(n=null,i=s):(r=Ct(),r===null?(n=null,i=s):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=o):e=[e,n]),e}function dt(){var e,n,r,o=i;return t.substr(i,2)===`//`?(e=`//`,i+=2):(e=null,a===0&&c(`"//"`)),e===null?(e=null,i=o):(n=bt(),n===null?(e=null,i=o):(r=ft(),r=r===null?``:r,r===null?(e=null,i=o):e=[e,n,r])),e}function ft(){var e,n,r=i;return t.charCodeAt(i)===47?(e=`/`,i++):(e=null,a===0&&c(`"/"`)),e===null?(e=null,i=r):(n=ht(),n===null?(e=null,i=r):e=[e,n]),e}function pt(){var e,t,n,r=i;if(e=M(),e!==null){for(t=[],n=mt();n!==null;)t.push(n),n=mt();t===null?(e=null,i=r):e=[e,t]}else e=null,i=r;return e}function mt(){var e=y();return e===null&&(e=b(),e===null&&(e=S())),e}function M(){var e=b();return e===null&&(e=S(),e===null&&(t.charCodeAt(i)===59?(e=`;`,i++):(e=null,a===0&&c(`";"`)),e===null&&(t.charCodeAt(i)===63?(e=`?`,i++):(e=null,a===0&&c(`"?"`)),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===64?(e=`@`,i++):(e=null,a===0&&c(`"@"`)),e===null&&(t.charCodeAt(i)===38?(e=`&`,i++):(e=null,a===0&&c(`"&"`)),e===null&&(t.charCodeAt(i)===61?(e=`=`,i++):(e=null,a===0&&c(`"="`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)),e===null&&(t.charCodeAt(i)===44?(e=`,`,i++):(e=null,a===0&&c(`","`)))))))))))),e}function ht(){var e,n,r,o,s=i,l;if(e=gt(),e!==null){for(n=[],l=i,t.charCodeAt(i)===47?(r=`/`,i++):(r=null,a===0&&c(`"/"`)),r===null?(r=null,i=l):(o=gt(),o===null?(r=null,i=l):r=[r,o]);r!==null;)n.push(r),l=i,t.charCodeAt(i)===47?(r=`/`,i++):(r=null,a===0&&c(`"/"`)),r===null?(r=null,i=l):(o=gt(),o===null?(r=null,i=l):r=[r,o]);n===null?(e=null,i=s):e=[e,n]}else e=null,i=s;return e}function gt(){var e,n,r,o,s=i,l;for(e=[],n=vt();n!==null;)e.push(n),n=vt();if(e!==null){for(n=[],l=i,t.charCodeAt(i)===59?(r=`;`,i++):(r=null,a===0&&c(`";"`)),r===null?(r=null,i=l):(o=_t(),o===null?(r=null,i=l):r=[r,o]);r!==null;)n.push(r),l=i,t.charCodeAt(i)===59?(r=`;`,i++):(r=null,a===0&&c(`";"`)),r===null?(r=null,i=l):(o=_t(),o===null?(r=null,i=l):r=[r,o]);n===null?(e=null,i=s):e=[e,n]}else e=null,i=s;return e}function _t(){for(var e=[],t=vt();t!==null;)e.push(t),t=vt();return e}function vt(){var e=b();return e===null&&(e=S(),e===null&&(t.charCodeAt(i)===58?(e=`:`,i++):(e=null,a===0&&c(`":"`)),e===null&&(t.charCodeAt(i)===64?(e=`@`,i++):(e=null,a===0&&c(`"@"`)),e===null&&(t.charCodeAt(i)===38?(e=`&`,i++):(e=null,a===0&&c(`"&"`)),e===null&&(t.charCodeAt(i)===61?(e=`=`,i++):(e=null,a===0&&c(`"="`)),e===null&&(t.charCodeAt(i)===43?(e=`+`,i++):(e=null,a===0&&c(`"+"`)),e===null&&(t.charCodeAt(i)===36?(e=`$`,i++):(e=null,a===0&&c(`"$"`)),e===null&&(t.charCodeAt(i)===44?(e=`,`,i++):(e=null,a===0&&c(`","`)))))))))),e}function yt(){var e,n,r,o=i,s=i;if(e=d(),e!==null){for(n=[],r=d(),r===null&&(r=u(),r===null&&(t.charCodeAt(i)===43?(r=`+`,i++):(r=null,a===0&&c(`"+"`)),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`))))));r!==null;)n.push(r),r=d(),r===null&&(r=u(),r===null&&(t.charCodeAt(i)===43?(r=`+`,i++):(r=null,a===0&&c(`"+"`)),r===null&&(t.charCodeAt(i)===45?(r=`-`,i++):(r=null,a===0&&c(`"-"`)),r===null&&(t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`))))));n===null?(e=null,i=s):e=[e,n]}else e=null,i=s;return e!==null&&(e=(function(e){F.scheme=t.substring(i,e)})(o)),e===null&&(i=o),e}function bt(){var e=xt();return e===null&&(e=St()),e}function xt(){var e,n,r=i,o=i;return e=De(),e===null?(e=null,i=o):(t.charCodeAt(i)===64?(n=`@`,i++):(n=null,a===0&&c(`"@"`)),n===null?(e=null,i=o):e=[e,n]),e=e===null?``:e,e===null?(e=null,i=r):(n=je(),n===null?(e=null,i=r):e=[e,n]),e=e===null?``:e,e}function St(){var e,n=b();if(n===null&&(n=S(),n===null&&(t.charCodeAt(i)===36?(n=`$`,i++):(n=null,a===0&&c(`"$"`)),n===null&&(t.charCodeAt(i)===44?(n=`,`,i++):(n=null,a===0&&c(`","`)),n===null&&(t.charCodeAt(i)===59?(n=`;`,i++):(n=null,a===0&&c(`";"`)),n===null&&(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null&&(t.charCodeAt(i)===64?(n=`@`,i++):(n=null,a===0&&c(`"@"`)),n===null&&(t.charCodeAt(i)===38?(n=`&`,i++):(n=null,a===0&&c(`"&"`)),n===null&&(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`))))))))))),n!==null)for(e=[];n!==null;)e.push(n),n=b(),n===null&&(n=S(),n===null&&(t.charCodeAt(i)===36?(n=`$`,i++):(n=null,a===0&&c(`"$"`)),n===null&&(t.charCodeAt(i)===44?(n=`,`,i++):(n=null,a===0&&c(`","`)),n===null&&(t.charCodeAt(i)===59?(n=`;`,i++):(n=null,a===0&&c(`";"`)),n===null&&(t.charCodeAt(i)===58?(n=`:`,i++):(n=null,a===0&&c(`":"`)),n===null&&(t.charCodeAt(i)===64?(n=`@`,i++):(n=null,a===0&&c(`"@"`)),n===null&&(t.charCodeAt(i)===38?(n=`&`,i++):(n=null,a===0&&c(`"&"`)),n===null&&(t.charCodeAt(i)===61?(n=`=`,i++):(n=null,a===0&&c(`"="`)),n===null&&(t.charCodeAt(i)===43?(n=`+`,i++):(n=null,a===0&&c(`"+"`)))))))))));else e=null;return e}function Ct(){for(var e=[],t=mt();t!==null;)e.push(t),t=mt();return e}function wt(){var e,n,r,o,s,l,d=i,f=i;if(t.substr(i,3).toLowerCase()===`sip`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"SIP"`)),e!==null)if(t.charCodeAt(i)===47?(n=`/`,i++):(n=null,a===0&&c(`"/"`)),n!==null){if(o=u(),o!==null)for(r=[];o!==null;)r.push(o),o=u();else r=null;if(r!==null)if(t.charCodeAt(i)===46?(o=`.`,i++):(o=null,a===0&&c(`"."`)),o!==null){if(l=u(),l!==null)for(s=[];l!==null;)s.push(l),l=u();else s=null;s===null?(e=null,i=f):e=[e,n,r,o,s]}else e=null,i=f;else e=null,i=f}else e=null,i=f;else e=null,i=f;return e!==null&&(e=(function(e){F.sip_version=t.substring(i,e)})(d)),e===null&&(i=d),e}function Tt(){var e;return t.substr(i,6)===`INVITE`?(e=`INVITE`,i+=6):(e=null,a===0&&c(`"INVITE"`)),e}function Et(){var e;return t.substr(i,3)===`ACK`?(e=`ACK`,i+=3):(e=null,a===0&&c(`"ACK"`)),e}function Dt(){var e;return t.substr(i,7)===`OPTIONS`?(e=`OPTIONS`,i+=7):(e=null,a===0&&c(`"OPTIONS"`)),e}function Ot(){var e;return t.substr(i,3)===`BYE`?(e=`BYE`,i+=3):(e=null,a===0&&c(`"BYE"`)),e}function kt(){var e;return t.substr(i,6)===`CANCEL`?(e=`CANCEL`,i+=6):(e=null,a===0&&c(`"CANCEL"`)),e}function At(){var e;return t.substr(i,8)===`REGISTER`?(e=`REGISTER`,i+=8):(e=null,a===0&&c(`"REGISTER"`)),e}function jt(){var e;return t.substr(i,9)===`SUBSCRIBE`?(e=`SUBSCRIBE`,i+=9):(e=null,a===0&&c(`"SUBSCRIBE"`)),e}function Mt(){var e;return t.substr(i,6)===`NOTIFY`?(e=`NOTIFY`,i+=6):(e=null,a===0&&c(`"NOTIFY"`)),e}function Nt(){var e;return t.substr(i,5)===`REFER`?(e=`REFER`,i+=5):(e=null,a===0&&c(`"REFER"`)),e}function Pt(){var e,n=i;return e=Tt(),e===null&&(e=Et(),e===null&&(e=Dt(),e===null&&(e=Ot(),e===null&&(e=kt(),e===null&&(e=At(),e===null&&(e=jt(),e===null&&(e=Mt(),e===null&&(e=Nt(),e===null&&(e=E()))))))))),e!==null&&(e=(function(e){return F.method=t.substring(i,e),F.method})(n)),e===null&&(i=n),e}function Ft(){var e,t,n,r,a,o=i;return e=wt(),e===null?(e=null,i=o):(t=g(),t===null?(e=null,i=o):(n=It(),n===null?(e=null,i=o):(r=g(),r===null?(e=null,i=o):(a=Rt(),a===null?(e=null,i=o):e=[e,t,n,r,a])))),e}function It(){var e,t=i;return e=Lt(),e!==null&&(e=(function(e,t){F.status_code=parseInt(t.join(``))})(t,e)),e===null&&(i=t),e}function Lt(){var e,t,n,r=i;return e=u(),e===null?(e=null,i=r):(t=u(),t===null?(e=null,i=r):(n=u(),n===null?(e=null,i=r):e=[e,t,n])),e}function Rt(){var e,n,r=i;for(e=[],n=y(),n===null&&(n=b(),n===null&&(n=S(),n===null&&(n=ne(),n===null&&(n=re(),n===null&&(n=g(),n===null&&(n=_()))))));n!==null;)e.push(n),n=y(),n===null&&(n=b(),n===null&&(n=S(),n===null&&(n=ne(),n===null&&(n=re(),n===null&&(n=g(),n===null&&(n=_()))))));return e!==null&&(e=(function(e){F.reason_phrase=t.substring(i,e)})(r)),e===null&&(i=r),e}function zt(){var e,t,n,r,a=i,o;if(e=yn(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=yn(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=yn(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Bt(){var e,n,r,o=i,s=i,l;return e=se(),e===null?(e=null,i=s):(l=i,t.charCodeAt(i)===64?(n=`@`,i++):(n=null,a===0&&c(`"@"`)),n===null?(n=null,i=l):(r=se(),r===null?(n=null,i=l):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=s):e=[e,n]),e!==null&&(e=(function(e){F=t.substring(i,e)})(o)),e===null&&(i=o),e}function Vt(){var e,t,n,r,a=i,o,s;if(e=ce(),e===null)if(o=i,e=Ht(),e!==null){for(t=[],s=i,n=me(),n===null?(n=null,i=s):(r=Ht(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=me(),n===null?(n=null,i=s):(r=Ht(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t,n=F.multi_header.length;for(t=0;t<n;t++)if(F.multi_header[t].parsed===null){F=null;break}F=F===null?-1:F.multi_header})(a)),e===null&&(i=a),e}function Ht(){var e,t,n,r,a=i,o=i,s;if(e=Se(),e===null&&(e=Ut()),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=Gt(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=Gt(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t;F.multi_header||=[];try{t=new Hr(F.uri,F.display_name,F.params),delete F.uri,delete F.display_name,delete F.params}catch{t=null}F.multi_header.push({possition:i,offset:e,parsed:t})})(a)),e===null&&(i=a),e}function Ut(){var e,t,n,r,a=i;return e=Wt(),e=e===null?``:e,e===null?(e=null,i=a):(t=pe(),t===null?(e=null,i=a):(n=Ce(),n===null?(e=null,i=a):(r=fe(),r===null?(e=null,i=a):e=[e,t,n,r]))),e}function Wt(){var e,t,n,r,a=i,o=i,s;if(e=E(),e!==null){for(t=[],s=i,n=C(),n===null?(n=null,i=s):(r=E(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=C(),n===null?(n=null,i=s):(r=E(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e===null&&(e=ye()),e!==null&&(e=(function(e,t){typeof t==`string`?F.display_name=t:F.display_name=t[1].reduce(function(e,t){return e+t[0]+t[1]},t[0])})(a,e)),e===null&&(i=a),e}function Gt(){var e=Kt();return e===null&&(e=qt(),e===null&&(e=Xt())),e}function Kt(){var e,n,r,o=i,s=i;return t.substr(i,1).toLowerCase()===`q`?(e=t.substr(i,1),i++):(e=null,a===0&&c(`"q"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=Yt(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.params||={},F.params.q=t})(o,e[2])),e===null&&(i=o),e}function qt(){var e,n,r,o=i,s=i;return t.substr(i,7).toLowerCase()===`expires`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"expires"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=Jt(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.params||={},F.params.expires=t})(o,e[2])),e===null&&(i=o),e}function Jt(){var e,t,n=i;if(t=u(),t!==null)for(e=[];t!==null;)e.push(t),t=u();else e=null;return e!==null&&(e=(function(e,t){return parseInt(t.join(``))})(n,e)),e===null&&(i=n),e}function Yt(){var e,n,r,o,s,l=i,d=i,f;return t.charCodeAt(i)===48?(e=`0`,i++):(e=null,a===0&&c(`"0"`)),e===null?(e=null,i=d):(f=i,t.charCodeAt(i)===46?(n=`.`,i++):(n=null,a===0&&c(`"."`)),n===null?(n=null,i=f):(r=u(),r=r===null?``:r,r===null?(n=null,i=f):(o=u(),o=o===null?``:o,o===null?(n=null,i=f):(s=u(),s=s===null?``:s,s===null?(n=null,i=f):n=[n,r,o,s]))),n=n===null?``:n,n===null?(e=null,i=d):e=[e,n]),e!==null&&(e=(function(e){return parseFloat(t.substring(i,e))})(l)),e===null&&(i=l),e}function Xt(){var e,t,n,r=i,a=i,o;return e=E(),e===null?(e=null,i=a):(o=i,t=D(),t===null?(t=null,i=o):(n=Zt(),n===null?(t=null,i=o):t=[t,n]),t=t===null?``:t,t===null?(e=null,i=a):e=[e,t]),e!==null&&(e=(function(e,t,n){F.params||={},n=n===void 0?void 0:n[1],F.params[t.toLowerCase()]=n})(r,e[0],e[1])),e===null&&(i=r),e}function Zt(){var e=E();return e===null&&(e=Me(),e===null&&(e=ve())),e}function Qt(){var e,t,n,r,a=i,o;if(e=$t(),e!==null){for(t=[],o=i,n=he(),n===null?(n=null,i=o):(r=en(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=he(),n===null?(n=null,i=o):(r=en(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function $t(){var e;return t.substr(i,6).toLowerCase()===`render`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"render"`)),e===null&&(t.substr(i,7).toLowerCase()===`session`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"session"`)),e===null&&(t.substr(i,4).toLowerCase()===`icon`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"icon"`)),e===null&&(t.substr(i,5).toLowerCase()===`alert`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"alert"`)),e===null&&(e=E())))),e}function en(){var e=tn();return e===null&&(e=Xt()),e}function tn(){var e,n,r,o=i;return t.substr(i,8).toLowerCase()===`handling`?(e=t.substr(i,8),i+=8):(e=null,a===0&&c(`"handling"`)),e===null?(e=null,i=o):(n=D(),n===null?(e=null,i=o):(t.substr(i,8).toLowerCase()===`optional`?(r=t.substr(i,8),i+=8):(r=null,a===0&&c(`"optional"`)),r===null&&(t.substr(i,8).toLowerCase()===`required`?(r=t.substr(i,8),i+=8):(r=null,a===0&&c(`"required"`)),r===null&&(r=E())),r===null?(e=null,i=o):e=[e,n,r])),e}function nn(){var e,t,n,r,a=i,o;if(e=E(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function rn(){var e,t,n=i;if(t=u(),t!==null)for(e=[];t!==null;)e.push(t),t=u();else e=null;return e!==null&&(e=(function(e,t){F=parseInt(t.join(``))})(n,e)),e===null&&(i=n),e}function an(){var e,n=i;return e=on(),e!==null&&(e=(function(e){F=t.substring(i,e)})(n)),e===null&&(i=n),e}function on(){var e,t,n,r,a,o,s=i,c;if(e=sn(),e!==null)if(t=le(),t!==null)if(n=fn(),n!==null){for(r=[],c=i,a=he(),a===null?(a=null,i=c):(o=pn(),o===null?(a=null,i=c):a=[a,o]);a!==null;)r.push(a),c=i,a=he(),a===null?(a=null,i=c):(o=pn(),o===null?(a=null,i=c):a=[a,o]);r===null?(e=null,i=s):e=[e,t,n,r]}else e=null,i=s;else e=null,i=s;else e=null,i=s;return e}function sn(){var e=cn();return e===null&&(e=ln()),e}function cn(){var e;return t.substr(i,4).toLowerCase()===`text`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"text"`)),e===null&&(t.substr(i,5).toLowerCase()===`image`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"image"`)),e===null&&(t.substr(i,5).toLowerCase()===`audio`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"audio"`)),e===null&&(t.substr(i,5).toLowerCase()===`video`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"video"`)),e===null&&(t.substr(i,11).toLowerCase()===`application`?(e=t.substr(i,11),i+=11):(e=null,a===0&&c(`"application"`)),e===null&&(e=un()))))),e}function ln(){var e;return t.substr(i,7).toLowerCase()===`message`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"message"`)),e===null&&(t.substr(i,9).toLowerCase()===`multipart`?(e=t.substr(i,9),i+=9):(e=null,a===0&&c(`"multipart"`)),e===null&&(e=un())),e}function un(){var e=E();return e===null&&(e=dn()),e}function dn(){var e,n,r=i;return t.substr(i,2).toLowerCase()===`x-`?(e=t.substr(i,2),i+=2):(e=null,a===0&&c(`"x-"`)),e===null?(e=null,i=r):(n=E(),n===null?(e=null,i=r):e=[e,n]),e}function fn(){var e=un();return e===null&&(e=E()),e}function pn(){var e,t,n,r=i;return e=E(),e===null?(e=null,i=r):(t=D(),t===null?(e=null,i=r):(n=mn(),n===null?(e=null,i=r):e=[e,t,n])),e}function mn(){var e=E();return e===null&&(e=ve()),e}function hn(){var e,t,n,r=i;return e=gn(),e===null?(e=null,i=r):(t=C(),t===null?(e=null,i=r):(n=Pt(),n===null?(e=null,i=r):e=[e,t,n])),e}function gn(){var e,t,n=i;if(t=u(),t!==null)for(e=[];t!==null;)e.push(t),t=u();else e=null;return e!==null&&(e=(function(e,t){F.value=parseInt(t.join(``))})(n,e)),e===null&&(i=n),e}function _n(){var e,t=i;return e=Jt(),e!==null&&(e=(function(e,t){F=t})(t,e)),e===null&&(i=t),e}function vn(){var e,t,n,r,a=i,o=i,s;if(e=yn(),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e,t){F.event=t.join(``).toLowerCase()})(a,e[0])),e===null&&(i=a),e}function yn(){var e,n,r,o,s=i,l;if(e=ae(),e!==null){for(n=[],l=i,t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`)),r===null?(r=null,i=l):(o=ae(),o===null?(r=null,i=l):r=[r,o]);r!==null;)n.push(r),l=i,t.charCodeAt(i)===46?(r=`.`,i++):(r=null,a===0&&c(`"."`)),r===null?(r=null,i=l):(o=ae(),o===null?(r=null,i=l):r=[r,o]);n===null?(e=null,i=s):e=[e,n]}else e=null,i=s;return e}function bn(){var e,t,n,r,a=i,o=i,s;if(e=Se(),e===null&&(e=Ut()),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=xn(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=xn(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t=F.tag;try{F=new Hr(F.uri,F.display_name,F.params),t&&F.setParam(`tag`,t)}catch{F=-1}})(a)),e===null&&(i=a),e}function xn(){var e=Sn();return e===null&&(e=Xt()),e}function Sn(){var e,n,r,o=i,s=i;return t.substr(i,3).toLowerCase()===`tag`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"tag"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=E(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.tag=t})(o,e[2])),e===null&&(i=o),e}function Cn(){var e,t,n=i;if(t=u(),t!==null)for(e=[];t!==null;)e.push(t),t=u();else e=null;return e!==null&&(e=(function(e,t){F=parseInt(t.join(``))})(n,e)),e===null&&(i=n),e}function wn(){var e,t=i;return e=Jt(),e!==null&&(e=(function(e,t){F=t})(t,e)),e===null&&(i=t),e}function Tn(){var e,t,n,r,a,o,s,c=i,l=i,u;for(e=[],t=Wt();t!==null;)e.push(t),t=Wt();if(e!==null)if(t=pe(),t!==null)if(n=Ce(),n!==null)if(r=fe(),r!==null){for(a=[],u=i,o=he(),o===null?(o=null,i=u):(s=Xt(),s===null?(o=null,i=u):o=[o,s]);o!==null;)a.push(o),u=i,o=he(),o===null?(o=null,i=u):(s=Xt(),s===null?(o=null,i=u):o=[o,s]);a===null?(e=null,i=l):e=[e,t,n,r,a]}else e=null,i=l;else e=null,i=l;else e=null,i=l;else e=null,i=l;return e!==null&&(e=(function(e){try{F=new Hr(F.uri,F.display_name,F.params)}catch{F=-1}})(c)),e===null&&(i=c),e}function En(){return Dn()}function Dn(){var e,n,r,o,s,l,u=i,d;if(t.substr(i,6).toLowerCase()===`digest`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"Digest"`)),e!==null)if(n=C(),n!==null)if(r=An(),r!==null){for(o=[],d=i,s=me(),s===null?(s=null,i=d):(l=An(),l===null?(s=null,i=d):s=[s,l]);s!==null;)o.push(s),d=i,s=me(),s===null?(s=null,i=d):(l=An(),l===null?(s=null,i=d):s=[s,l]);o===null?(e=null,i=u):e=[e,n,r,o]}else e=null,i=u;else e=null,i=u;else e=null,i=u;return e===null&&(e=On()),e}function On(){var e,t,n,r,a,o,s=i,c;if(e=E(),e!==null)if(t=C(),t!==null)if(n=kn(),n!==null){for(r=[],c=i,a=me(),a===null?(a=null,i=c):(o=kn(),o===null?(a=null,i=c):a=[a,o]);a!==null;)r.push(a),c=i,a=me(),a===null?(a=null,i=c):(o=kn(),o===null?(a=null,i=c):a=[a,o]);r===null?(e=null,i=s):e=[e,t,n,r]}else e=null,i=s;else e=null,i=s;else e=null,i=s;return e}function kn(){var e,t,n,r=i;return e=E(),e===null?(e=null,i=r):(t=D(),t===null?(e=null,i=r):(n=E(),n===null&&(n=ve()),n===null?(e=null,i=r):e=[e,t,n])),e}function An(){var e=jn();return e===null&&(e=Nn(),e===null&&(e=N(),e===null&&(e=In(),e===null&&(e=Ln(),e===null&&(e=Rn(),e===null&&(e=zn(),e===null&&(e=kn()))))))),e}function jn(){var e,n,r,o=i;return t.substr(i,5).toLowerCase()===`realm`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"realm"`)),e===null?(e=null,i=o):(n=D(),n===null?(e=null,i=o):(r=Mn(),r===null?(e=null,i=o):e=[e,n,r])),e}function Mn(){var e,t=i;return e=ye(),e!==null&&(e=(function(e,t){F.realm=t})(t,e)),e===null&&(i=t),e}function Nn(){var e,n,r,o,s,l,u,d=i,f;if(t.substr(i,6).toLowerCase()===`domain`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"domain"`)),e!==null)if(n=D(),n!==null)if(r=O(),r!==null)if(o=Pn(),o!==null){if(s=[],f=i,u=g(),u!==null)for(l=[];u!==null;)l.push(u),u=g();else l=null;for(l===null?(l=null,i=f):(u=Pn(),u===null?(l=null,i=f):l=[l,u]);l!==null;){if(s.push(l),f=i,u=g(),u!==null)for(l=[];u!==null;)l.push(u),u=g();else l=null;l===null?(l=null,i=f):(u=Pn(),u===null?(l=null,i=f):l=[l,u])}s===null?(e=null,i=d):(l=k(),l===null?(e=null,i=d):e=[e,n,r,o,s,l])}else e=null,i=d;else e=null,i=d;else e=null,i=d;else e=null,i=d;return e}function Pn(){var e=lt();return e===null&&(e=ft()),e}function N(){var e,n,r,o=i;return t.substr(i,5).toLowerCase()===`nonce`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"nonce"`)),e===null?(e=null,i=o):(n=D(),n===null?(e=null,i=o):(r=Fn(),r===null?(e=null,i=o):e=[e,n,r])),e}function Fn(){var e,t=i;return e=ye(),e!==null&&(e=(function(e,t){F.nonce=t})(t,e)),e===null&&(i=t),e}function In(){var e,n,r,o=i,s=i;return t.substr(i,6).toLowerCase()===`opaque`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"opaque"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=ye(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.opaque=t})(o,e[2])),e===null&&(i=o),e}function Ln(){var e,n,r,o=i,s;return t.substr(i,5).toLowerCase()===`stale`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"stale"`)),e===null?(e=null,i=o):(n=D(),n===null?(e=null,i=o):(s=i,t.substr(i,4).toLowerCase()===`true`?(r=t.substr(i,4),i+=4):(r=null,a===0&&c(`"true"`)),r!==null&&(r=(function(e){F.stale=!0})(s)),r===null&&(i=s),r===null&&(s=i,t.substr(i,5).toLowerCase()===`false`?(r=t.substr(i,5),i+=5):(r=null,a===0&&c(`"false"`)),r!==null&&(r=(function(e){F.stale=!1})(s)),r===null&&(i=s)),r===null?(e=null,i=o):e=[e,n,r])),e}function Rn(){var e,n,r,o=i,s=i;return t.substr(i,9).toLowerCase()===`algorithm`?(e=t.substr(i,9),i+=9):(e=null,a===0&&c(`"algorithm"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(t.substr(i,3).toLowerCase()===`md5`?(r=t.substr(i,3),i+=3):(r=null,a===0&&c(`"MD5"`)),r===null&&(t.substr(i,8).toLowerCase()===`md5-sess`?(r=t.substr(i,8),i+=8):(r=null,a===0&&c(`"MD5-sess"`)),r===null&&(r=E())),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.algorithm=t.toUpperCase()})(o,e[2])),e===null&&(i=o),e}function zn(){var e,n,r,o,s,l,u,d=i,f,p;if(t.substr(i,3).toLowerCase()===`qop`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"qop"`)),e!==null)if(n=D(),n!==null)if(r=O(),r!==null){if(f=i,o=Bn(),o!==null){for(s=[],p=i,t.charCodeAt(i)===44?(l=`,`,i++):(l=null,a===0&&c(`","`)),l===null?(l=null,i=p):(u=Bn(),u===null?(l=null,i=p):l=[l,u]);l!==null;)s.push(l),p=i,t.charCodeAt(i)===44?(l=`,`,i++):(l=null,a===0&&c(`","`)),l===null?(l=null,i=p):(u=Bn(),u===null?(l=null,i=p):l=[l,u]);s===null?(o=null,i=f):o=[o,s]}else o=null,i=f;o===null?(e=null,i=d):(s=k(),s===null?(e=null,i=d):e=[e,n,r,o,s])}else e=null,i=d;else e=null,i=d;else e=null,i=d;return e}function Bn(){var e,n=i;return t.substr(i,8).toLowerCase()===`auth-int`?(e=t.substr(i,8),i+=8):(e=null,a===0&&c(`"auth-int"`)),e===null&&(t.substr(i,4).toLowerCase()===`auth`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"auth"`)),e===null&&(e=E())),e!==null&&(e=(function(e,t){F.qop||=[],F.qop.push(t.toLowerCase())})(n,e)),e===null&&(i=n),e}function Vn(){var e,t,n,r,a=i,o;if(e=E(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Hn(){var e,t,n,r,a=i,o=i,s;if(e=Un(),e!==null){for(t=[],s=i,n=me(),n===null?(n=null,i=s):(r=Un(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=me(),n===null?(n=null,i=s):(r=Un(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t,n=F.multi_header.length;for(t=0;t<n;t++)if(F.multi_header[t].parsed===null){F=null;break}F=F===null?-1:F.multi_header})(a)),e===null&&(i=a),e}function Un(){var e,t,n,r,a=i,o=i,s;if(e=Ut(),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t;F.multi_header||=[];try{t=new Hr(F.uri,F.display_name,F.params),delete F.uri,delete F.display_name,delete F.params}catch{t=null}F.multi_header.push({possition:i,offset:e,parsed:t})})(a)),e===null&&(i=a),e}function Wn(){var e,n,r,o,s=i,l=i,u;if(t.substr(i,3).toLowerCase()===`sip`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"SIP"`)),e===null&&(e=E()),e!==null){for(n=[],u=i,r=he(),r===null?(r=null,i=u):(o=Gn(),o===null?(r=null,i=u):r=[r,o]);r!==null;)n.push(r),u=i,r=he(),r===null?(r=null,i=u):(o=Gn(),o===null?(r=null,i=u):r=[r,o]);n===null?(e=null,i=l):e=[e,n]}else e=null,i=l;return e!==null&&(e=(function(e,t){if(F.protocol=t.toLowerCase(),F.params||={},F.params.text&&F.params.text[0]===`"`){var n=F.params.text;F.text=n.substring(1,n.length-1),delete F.params.text}})(s,e[0])),e===null&&(i=s),e}function Gn(){var e=Kn();return e===null&&(e=Xt()),e}function Kn(){var e,n,r,o,s=i,l=i;if(t.substr(i,5).toLowerCase()===`cause`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"cause"`)),e!==null)if(n=D(),n!==null){if(o=u(),o!==null)for(r=[];o!==null;)r.push(o),o=u();else r=null;r===null?(e=null,i=l):e=[e,n,r]}else e=null,i=l;else e=null,i=l;return e!==null&&(e=(function(e,t){F.cause=parseInt(t.join(``))})(s,e[2])),e===null&&(i=s),e}function qn(){var e,t,n,r,a=i,o;if(e=E(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Jn(){var e,t,n,r,a=i,o;if(e=Yn(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=Yn(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=Yn(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Yn(){var e,t,n,r,a=i,o;if(e=Ut(),e!==null){for(t=[],o=i,n=he(),n===null?(n=null,i=o):(r=Xt(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=he(),n===null?(n=null,i=o):(r=Xt(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Xn(){var e,t,n,r,a=i,o;if(e=Zn(),e!==null){for(t=[],o=i,n=he(),n===null?(n=null,i=o):(r=Qn(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=he(),n===null?(n=null,i=o):(r=Qn(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Zn(){var e,n=i;return t.substr(i,6).toLowerCase()===`active`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"active"`)),e===null&&(t.substr(i,7).toLowerCase()===`pending`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"pending"`)),e===null&&(t.substr(i,10).toLowerCase()===`terminated`?(e=t.substr(i,10),i+=10):(e=null,a===0&&c(`"terminated"`)),e===null&&(e=E()))),e!==null&&(e=(function(e){F.state=t.substring(i,e)})(n)),e===null&&(i=n),e}function Qn(){var e,n,r,o=i,s=i;return t.substr(i,6).toLowerCase()===`reason`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"reason"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=$n(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){t!==void 0&&(F.reason=t)})(o,e[2])),e===null&&(i=o),e===null&&(o=i,s=i,t.substr(i,7).toLowerCase()===`expires`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"expires"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=Jt(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){t!==void 0&&(F.expires=t)})(o,e[2])),e===null&&(i=o),e===null&&(o=i,s=i,t.substr(i,11).toLowerCase()===`retry_after`?(e=t.substr(i,11),i+=11):(e=null,a===0&&c(`"retry_after"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=Jt(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){t!==void 0&&(F.retry_after=t)})(o,e[2])),e===null&&(i=o),e===null&&(e=Xt()))),e}function $n(){var e;return t.substr(i,11).toLowerCase()===`deactivated`?(e=t.substr(i,11),i+=11):(e=null,a===0&&c(`"deactivated"`)),e===null&&(t.substr(i,9).toLowerCase()===`probation`?(e=t.substr(i,9),i+=9):(e=null,a===0&&c(`"probation"`)),e===null&&(t.substr(i,8).toLowerCase()===`rejected`?(e=t.substr(i,8),i+=8):(e=null,a===0&&c(`"rejected"`)),e===null&&(t.substr(i,7).toLowerCase()===`timeout`?(e=t.substr(i,7),i+=7):(e=null,a===0&&c(`"timeout"`)),e===null&&(t.substr(i,6).toLowerCase()===`giveup`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"giveup"`)),e===null&&(t.substr(i,10).toLowerCase()===`noresource`?(e=t.substr(i,10),i+=10):(e=null,a===0&&c(`"noresource"`)),e===null&&(t.substr(i,9).toLowerCase()===`invariant`?(e=t.substr(i,9),i+=9):(e=null,a===0&&c(`"invariant"`)),e===null&&(e=E()))))))),e}function er(){var e=ee();return e=e===null?``:e,e}function tr(){var e,t,n,r,a=i,o;if(e=E(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=E(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e=e===null?``:e,e}function nr(){var e,t,n,r,a=i,o=i,s;if(e=Se(),e===null&&(e=Ut()),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=rr(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=rr(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){var t=F.tag;try{F=new Hr(F.uri,F.display_name,F.params),t&&F.setParam(`tag`,t)}catch{F=-1}})(a)),e===null&&(i=a),e}function rr(){var e=Sn();return e===null&&(e=Xt()),e}function ir(){var e,t,n,r,a=i,o;if(e=ar(),e!==null){for(t=[],o=i,n=me(),n===null?(n=null,i=o):(r=ar(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=me(),n===null?(n=null,i=o):(r=ar(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function ar(){var e,t,n,r,a,o,s=i,c;if(e=pr(),e!==null)if(t=C(),t!==null)if(n=gr(),n!==null){for(r=[],c=i,a=he(),a===null?(a=null,i=c):(o=or(),o===null?(a=null,i=c):a=[a,o]);a!==null;)r.push(a),c=i,a=he(),a===null?(a=null,i=c):(o=or(),o===null?(a=null,i=c):a=[a,o]);r===null?(e=null,i=s):e=[e,t,n,r]}else e=null,i=s;else e=null,i=s;else e=null,i=s;return e}function or(){var e=sr();return e===null&&(e=cr(),e===null&&(e=lr(),e===null&&(e=ur(),e===null&&(e=dr(),e===null&&(e=Xt()))))),e}function sr(){var e,n,r,o=i,s=i;return t.substr(i,3).toLowerCase()===`ttl`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"ttl"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=yr(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.ttl=t})(o,e[2])),e===null&&(i=o),e}function cr(){var e,n,r,o=i,s=i;return t.substr(i,5).toLowerCase()===`maddr`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"maddr"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=Me(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.maddr=t})(o,e[2])),e===null&&(i=o),e}function lr(){var e,n,r,o=i,s=i;return t.substr(i,8).toLowerCase()===`received`?(e=t.substr(i,8),i+=8):(e=null,a===0&&c(`"received"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=ze(),r===null&&(r=Le()),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.received=t})(o,e[2])),e===null&&(i=o),e}function ur(){var e,n,r,o=i,s=i;return t.substr(i,6).toLowerCase()===`branch`?(e=t.substr(i,6),i+=6):(e=null,a===0&&c(`"branch"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=E(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.branch=t})(o,e[2])),e===null&&(i=o),e}function dr(){var e,n,r,o=i,s;return t.substr(i,5).toLowerCase()===`rport`?(e=t.substr(i,5),i+=5):(e=null,a===0&&c(`"rport"`)),e===null?(e=null,i=o):(s=i,n=D(),n===null?(n=null,i=s):(r=fr(),r===null?(n=null,i=s):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=o):e=[e,n]),e}function fr(){var e,t,n,r,a,o=i,s=i;return e=u(),e=e===null?``:e,e===null?(e=null,i=s):(t=u(),t=t===null?``:t,t===null?(e=null,i=s):(n=u(),n=n===null?``:n,n===null?(e=null,i=s):(r=u(),r=r===null?``:r,r===null?(e=null,i=s):(a=u(),a=a===null?``:a,a===null?(e=null,i=s):e=[e,t,n,r,a])))),e!==null&&(e=(function(e,t){F.rport=parseInt(t.join(``))})(o,e)),e===null&&(i=o),e}function pr(){var e,t,n,r,a,o=i;return e=mr(),e===null?(e=null,i=o):(t=le(),t===null?(e=null,i=o):(n=E(),n===null?(e=null,i=o):(r=le(),r===null?(e=null,i=o):(a=hr(),a===null?(e=null,i=o):e=[e,t,n,r,a])))),e}function mr(){var e,n=i;return t.substr(i,3).toLowerCase()===`sip`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"SIP"`)),e===null&&(e=E()),e!==null&&(e=(function(e,t){F.protocol=t})(n,e)),e===null&&(i=n),e}function hr(){var e,n=i;return t.substr(i,3).toLowerCase()===`udp`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"UDP"`)),e===null&&(t.substr(i,3).toLowerCase()===`tcp`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"TCP"`)),e===null&&(t.substr(i,3).toLowerCase()===`tls`?(e=t.substr(i,3),i+=3):(e=null,a===0&&c(`"TLS"`)),e===null&&(t.substr(i,4).toLowerCase()===`sctp`?(e=t.substr(i,4),i+=4):(e=null,a===0&&c(`"SCTP"`)),e===null&&(e=E())))),e!==null&&(e=(function(e,t){F.transport=t})(n,e)),e===null&&(i=n),e}function gr(){var e,t,n,r=i,a;return e=_r(),e===null?(e=null,i=r):(a=i,t=ge(),t===null?(t=null,i=a):(n=vr(),n===null?(t=null,i=a):t=[t,n]),t=t===null?``:t,t===null?(e=null,i=r):e=[e,t]),e}function _r(){var e,n=i;return e=ze(),e===null&&(e=Ie(),e===null&&(e=Ne())),e!==null&&(e=(function(e){F.host=t.substring(i,e)})(n)),e===null&&(i=n),e}function vr(){var e,t,n,r,a,o=i,s=i;return e=u(),e=e===null?``:e,e===null?(e=null,i=s):(t=u(),t=t===null?``:t,t===null?(e=null,i=s):(n=u(),n=n===null?``:n,n===null?(e=null,i=s):(r=u(),r=r===null?``:r,r===null?(e=null,i=s):(a=u(),a=a===null?``:a,a===null?(e=null,i=s):e=[e,t,n,r,a])))),e!==null&&(e=(function(e,t){F.port=parseInt(t.join(``))})(o,e)),e===null&&(i=o),e}function yr(){var e,t,n,r=i,a=i;return e=u(),e===null?(e=null,i=a):(t=u(),t=t===null?``:t,t===null?(e=null,i=a):(n=u(),n=n===null?``:n,n===null?(e=null,i=a):e=[e,t,n])),e!==null&&(e=(function(e,t){return parseInt(t.join(``))})(r,e)),e===null&&(i=r),e}function br(){return Dn()}function xr(){var e,t,n,r,a=i,o;if(e=Sr(),e!==null){for(t=[],o=i,n=he(),n===null?(n=null,i=o):(r=Cr(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=he(),n===null?(n=null,i=o):(r=Cr(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Sr(){var e,t=i;return e=Jt(),e!==null&&(e=(function(e,t){F.expires=t})(t,e)),e===null&&(i=t),e}function Cr(){var e=P();return e===null&&(e=Xt()),e}function P(){var e,n,r,o=i,s=i;return t.substr(i,9).toLowerCase()===`refresher`?(e=t.substr(i,9),i+=9):(e=null,a===0&&c(`"refresher"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(t.substr(i,3).toLowerCase()===`uac`?(r=t.substr(i,3),i+=3):(r=null,a===0&&c(`"uac"`)),r===null&&(t.substr(i,3).toLowerCase()===`uas`?(r=t.substr(i,3),i+=3):(r=null,a===0&&c(`"uas"`))),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.refresher=t.toLowerCase()})(o,e[2])),e===null&&(i=o),e}function wr(){var e,t,n,r=i;return e=E(),e===null?(e=null,i=r):(t=T(),t===null?(e=null,i=r):(n=Tr(),n===null?(e=null,i=r):e=[e,t,n])),e}function Tr(){var e=[],t=te();for(t===null&&(t=re(),t===null&&(t=C()));t!==null;)e.push(t),t=te(),t===null&&(t=re(),t===null&&(t=C()));return e}function Er(){for(var e=[],t=m();t!==null;)e.push(t),t=m();return e}function Dr(){var e,n,r=i;return t.substr(i,5)===`uuid:`?(e=`uuid:`,i+=5):(e=null,a===0&&c(`"uuid:"`)),e===null?(e=null,i=r):(n=Or(),n===null?(e=null,i=r):e=[e,n]),e}function Or(){var e,n,r,o,s,l,u,d,f,p=i,m=i;return e=Ar(),e===null?(e=null,i=m):(t.charCodeAt(i)===45?(n=`-`,i++):(n=null,a===0&&c(`"-"`)),n===null?(e=null,i=m):(r=kr(),r===null?(e=null,i=m):(t.charCodeAt(i)===45?(o=`-`,i++):(o=null,a===0&&c(`"-"`)),o===null?(e=null,i=m):(s=kr(),s===null?(e=null,i=m):(t.charCodeAt(i)===45?(l=`-`,i++):(l=null,a===0&&c(`"-"`)),l===null?(e=null,i=m):(u=kr(),u===null?(e=null,i=m):(t.charCodeAt(i)===45?(d=`-`,i++):(d=null,a===0&&c(`"-"`)),d===null?(e=null,i=m):(f=jr(),f===null?(e=null,i=m):e=[e,n,r,o,s,l,u,d,f])))))))),e!==null&&(e=(function(e,n){F=t.substring(i+5,e)})(p,e[0])),e===null&&(i=p),e}function kr(){var e,t,n,r,a=i;return e=f(),e===null?(e=null,i=a):(t=f(),t===null?(e=null,i=a):(n=f(),n===null?(e=null,i=a):(r=f(),r===null?(e=null,i=a):e=[e,t,n,r]))),e}function Ar(){var e,t,n=i;return e=kr(),e===null?(e=null,i=n):(t=kr(),t===null?(e=null,i=n):e=[e,t]),e}function jr(){var e,t,n,r=i;return e=kr(),e===null?(e=null,i=r):(t=kr(),t===null?(e=null,i=r):(n=kr(),n===null?(e=null,i=r):e=[e,t,n])),e}function Mr(){var e,t,n,r,a=i,o=i,s;if(e=Se(),e===null&&(e=Ut()),e!==null){for(t=[],s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);n!==null;)t.push(n),s=i,n=he(),n===null?(n=null,i=s):(r=Xt(),r===null?(n=null,i=s):n=[n,r]);t===null?(e=null,i=o):e=[e,t]}else e=null,i=o;return e!==null&&(e=(function(e){try{F=new Hr(F.uri,F.display_name,F.params)}catch{F=-1}})(a)),e===null&&(i=a),e}function Nr(){var e,t,n,r,a=i,o;if(e=Pr(),e!==null){for(t=[],o=i,n=he(),n===null?(n=null,i=o):(r=Fr(),r===null?(n=null,i=o):n=[n,r]);n!==null;)t.push(n),o=i,n=he(),n===null?(n=null,i=o):(r=Fr(),r===null?(n=null,i=o):n=[n,r]);t===null?(e=null,i=a):e=[e,t]}else e=null,i=a;return e}function Pr(){var e,n,r,o=i,s=i,l;return e=se(),e===null?(e=null,i=s):(l=i,t.charCodeAt(i)===64?(n=`@`,i++):(n=null,a===0&&c(`"@"`)),n===null?(n=null,i=l):(r=se(),r===null?(n=null,i=l):n=[n,r]),n=n===null?``:n,n===null?(e=null,i=s):e=[e,n]),e!==null&&(e=(function(e){F.call_id=t.substring(i,e)})(o)),e===null&&(i=o),e}function Fr(){var e=Ir();return e===null&&(e=Lr(),e===null&&(e=Rr(),e===null&&(e=Xt()))),e}function Ir(){var e,n,r,o=i,s=i;return t.substr(i,6)===`to-tag`?(e=`to-tag`,i+=6):(e=null,a===0&&c(`"to-tag"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=E(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.to_tag=t})(o,e[2])),e===null&&(i=o),e}function Lr(){var e,n,r,o=i,s=i;return t.substr(i,8)===`from-tag`?(e=`from-tag`,i+=8):(e=null,a===0&&c(`"from-tag"`)),e===null?(e=null,i=s):(n=D(),n===null?(e=null,i=s):(r=E(),r===null?(e=null,i=s):e=[e,n,r])),e!==null&&(e=(function(e,t){F.from_tag=t})(o,e[2])),e===null&&(i=o),e}function Rr(){var e,n=i;return t.substr(i,10)===`early-only`?(e=`early-only`,i+=10):(e=null,a===0&&c(`"early-only"`)),e!==null&&(e=(function(e){F.early_only=!0})(n)),e===null&&(i=n),e}function zr(e){e.sort();for(var t=null,n=[],r=0;r<e.length;r++)e[r]!==t&&(n.push(e[r]),t=e[r]);return n}function Br(){for(var e=1,n=1,r=!1,a=0;a<Math.max(i,o);a++){var s=t.charAt(a);s===`
|
|
4815
4815
|
`?(r||e++,n=1,r=!1):s===`\r`||s===`\u2028`||s===`\u2029`?(e++,n=1,r=!0):(n++,r=!1)}return{line:e,column:n}}var Vr=u5(),Hr=c5(),F={};if(r[n]()===null||i!==t.length){var Ur=Math.max(i,o),Wr=Ur<t.length?t.charAt(Ur):null,Gr=Br();return new this.SyntaxError(zr(s),Wr,Ur,Gr.line,Gr.column),-1}return F},toSource:function(){return this._source}};return t.SyntaxError=function(t,n,r,i,a){function o(t,n){var r,i;switch(t.length){case 0:r=`end of input`;break;case 1:r=t[0];break;default:r=t.slice(0,t.length-1).join(`, `)+` or `+t[t.length-1]}return i=n?e(n):`end of input`,`Expected `+r+` but `+i+` found.`}this.name=`SyntaxError`,this.expected=t,this.found=n,this.message=o(t,n),this.offset=r,this.line=i,this.column=a},t.SyntaxError.prototype=Error.prototype,t})()})),u5=k(((e,t)=>{var n=o5(),r=d5(),i=l5();t.exports=class e{static parse(e){if(e=i.parse(e,`SIP_URI`),e!==-1)return e}constructor(e,t,r,i,a={},o={}){if(!r)throw TypeError(`missing or invalid "host" parameter`);this._parameters={},this._headers={},this._scheme=e||n.SIP,this._user=t,this._host=r,this._port=i;for(let e in a)Object.prototype.hasOwnProperty.call(a,e)&&this.setParam(e,a[e]);for(let e in o)Object.prototype.hasOwnProperty.call(o,e)&&this.setHeader(e,o[e])}get scheme(){return this._scheme}set scheme(e){this._scheme=e.toLowerCase()}get user(){return this._user}set user(e){this._user=e}get host(){return this._host}set host(e){this._host=e.toLowerCase()}get port(){return this._port}set port(e){this._port=e===0?e:parseInt(e,10)||null}setParam(e,t){e&&(this._parameters[e.toLowerCase()]=t==null?null:t.toString())}getParam(e){if(e)return this._parameters[e.toLowerCase()]}hasParam(e){if(e)return this._parameters.hasOwnProperty(e.toLowerCase())&&!0||!1}deleteParam(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){let t=this._parameters[e];return delete this._parameters[e],t}}clearParams(){this._parameters={}}setHeader(e,t){this._headers[r.headerize(e)]=Array.isArray(t)?t:[t]}getHeader(e){if(e)return this._headers[r.headerize(e)]}hasHeader(e){if(e)return this._headers.hasOwnProperty(r.headerize(e))&&!0||!1}deleteHeader(e){if(e=r.headerize(e),this._headers.hasOwnProperty(e)){let t=this._headers[e];return delete this._headers[e],t}}clearHeaders(){this._headers={}}clone(){return new e(this._scheme,this._user,this._host,this._port,JSON.parse(JSON.stringify(this._parameters)),JSON.parse(JSON.stringify(this._headers)))}toString(){let e=[],t=`${this._scheme}:`;this._user&&(t+=`${r.escapeUser(this._user)}@`),t+=this._host,(this._port||this._port===0)&&(t+=`:${this._port}`);for(let e in this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,e)&&(t+=`;${e}`,this._parameters[e]!==null&&(t+=`=${this._parameters[e]}`));for(let t in this._headers)if(Object.prototype.hasOwnProperty.call(this._headers,t))for(let n of this._headers[t])e.push(`${t}=${n}`);return e.length>0&&(t+=`?${e.join(`&`)}`),t}toAor(e){let t=`${this._scheme}:`;return this._user&&(t+=`${r.escapeUser(this._user)}@`),t+=this._host,e&&(this._port||this._port===0)&&(t+=`:${this._port}`),t}}})),d5=k((e=>{var t=o5(),n=u5(),r=l5();e.str_utf8_length=e=>unescape(encodeURIComponent(e)).length;var i=e.isFunction=e=>e===void 0?!1:Object.prototype.toString.call(e)===`[object Function]`;e.isString=e=>e===void 0?!1:Object.prototype.toString.call(e)===`[object String]`,e.isDecimal=e=>!isNaN(e)&&parseFloat(e)===parseInt(e,10),e.isEmpty=e=>e===null||e===``||e===void 0||Array.isArray(e)&&e.length===0||typeof e==`number`&&isNaN(e),e.hasMethods=function(e,...t){for(let n of t)if(i(e[n]))return!1;return!0};var a=e.createRandomToken=(e,t=32)=>{let n,r,i=``;for(n=0;n<e;n++)r=Math.random()*t|0,i+=r.toString(t);return i};e.newTag=()=>a(10),e.newUUID=()=>`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)}),e.hostType=e=>{if(e&&(e=r.parse(e,`host`),e!==-1))return e.host_type};var o=e.escapeUser=e=>encodeURIComponent(decodeURIComponent(e)).replace(/%3A/gi,`:`).replace(/%2B/gi,`+`).replace(/%3F/gi,`?`).replace(/%2F/gi,`/`);e.normalizeTarget=(e,r)=>{if(e){if(e instanceof n)return e;if(typeof e==`string`){let i=e.split(`@`),a,s;switch(i.length){case 1:if(!r)return;a=e,s=r;break;case 2:a=i[0],s=i[1];break;default:a=i.slice(0,i.length-1).join(`@`),s=i[i.length-1]}a=a.replace(/^(sips?|tel):/i,``),/^[-.()]*\+?[0-9\-.()]+$/.test(a)&&(a=a.replace(/[-.()]/g,``)),e=`${t.SIP}:${o(a)}@${s}`;let c;return(c=n.parse(e))?c:void 0}else return}},e.headerize=e=>{let t={"Call-Id":`Call-ID`,Cseq:`CSeq`,"Www-Authenticate":`WWW-Authenticate`},n=e.toLowerCase().replace(/_/g,`-`).split(`-`),r=``,i=n.length,a;for(a=0;a<i;a++)a!==0&&(r+=`-`),r+=n[a].charAt(0).toUpperCase()+n[a].substring(1);return t[r]&&(r=t[r]),r},e.sipErrorCause=e=>{for(let n in t.SIP_ERROR_CAUSES)if(t.SIP_ERROR_CAUSES[n].indexOf(e)!==-1)return t.causes[n];return t.causes.SIP_FAILURE_CODE},e.getRandomTestNetIP=()=>{function e(e,t){return Math.floor(Math.random()*(t-e+1)+e)}return`192.0.2.${e(1,254)}`},e.calculateMD5=e=>{function t(e,t){return e<<t|e>>>32-t}function n(e,t){let n=e&2147483648,r=t&2147483648,i=e&1073741824,a=t&1073741824,o=(e&1073741823)+(t&1073741823);return i&a?o^2147483648^n^r:i|a?o&1073741824?o^3221225472^n^r:o^1073741824^n^r:o^n^r}function r(e,t,n){return e&t|~e&n}function i(e,t,n){return e&n|t&~n}function a(e,t,n){return e^t^n}function o(e,t,n){return t^(e|~n)}function s(e,i,a,o,s,c,l){return e=n(e,n(n(r(i,a,o),s),l)),n(t(e,c),i)}function c(e,r,a,o,s,c,l){return e=n(e,n(n(i(r,a,o),s),l)),n(t(e,c),r)}function l(e,r,i,o,s,c,l){return e=n(e,n(n(a(r,i,o),s),l)),n(t(e,c),r)}function u(e,r,i,a,s,c,l){return e=n(e,n(n(o(r,i,a),s),l)),n(t(e,c),r)}function d(e){let t,n=e.length,r=n+8,i=((r-r%64)/64+1)*16,a=Array(i-1),o=0,s=0;for(;s<n;)t=(s-s%4)/4,o=s%4*8,a[t]=a[t]|e.charCodeAt(s)<<o,s++;return t=(s-s%4)/4,o=s%4*8,a[t]=a[t]|128<<o,a[i-2]=n<<3,a[i-1]=n>>>29,a}function f(e){let t=``,n=``,r,i;for(i=0;i<=3;i++)r=e>>>i*8&255,n=`0${r.toString(16)}`,t+=n.substr(n.length-2,2);return t}function p(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(r&63|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(r&63|128))}return t}let m=[],h,g,_,v,y,b,x,S,C;for(e=p(e),m=d(e),b=1732584193,x=4023233417,S=2562383102,C=271733878,h=0;h<m.length;h+=16)g=b,_=x,v=S,y=C,b=s(b,x,S,C,m[h+0],7,3614090360),C=s(C,b,x,S,m[h+1],12,3905402710),S=s(S,C,b,x,m[h+2],17,606105819),x=s(x,S,C,b,m[h+3],22,3250441966),b=s(b,x,S,C,m[h+4],7,4118548399),C=s(C,b,x,S,m[h+5],12,1200080426),S=s(S,C,b,x,m[h+6],17,2821735955),x=s(x,S,C,b,m[h+7],22,4249261313),b=s(b,x,S,C,m[h+8],7,1770035416),C=s(C,b,x,S,m[h+9],12,2336552879),S=s(S,C,b,x,m[h+10],17,4294925233),x=s(x,S,C,b,m[h+11],22,2304563134),b=s(b,x,S,C,m[h+12],7,1804603682),C=s(C,b,x,S,m[h+13],12,4254626195),S=s(S,C,b,x,m[h+14],17,2792965006),x=s(x,S,C,b,m[h+15],22,1236535329),b=c(b,x,S,C,m[h+1],5,4129170786),C=c(C,b,x,S,m[h+6],9,3225465664),S=c(S,C,b,x,m[h+11],14,643717713),x=c(x,S,C,b,m[h+0],20,3921069994),b=c(b,x,S,C,m[h+5],5,3593408605),C=c(C,b,x,S,m[h+10],9,38016083),S=c(S,C,b,x,m[h+15],14,3634488961),x=c(x,S,C,b,m[h+4],20,3889429448),b=c(b,x,S,C,m[h+9],5,568446438),C=c(C,b,x,S,m[h+14],9,3275163606),S=c(S,C,b,x,m[h+3],14,4107603335),x=c(x,S,C,b,m[h+8],20,1163531501),b=c(b,x,S,C,m[h+13],5,2850285829),C=c(C,b,x,S,m[h+2],9,4243563512),S=c(S,C,b,x,m[h+7],14,1735328473),x=c(x,S,C,b,m[h+12],20,2368359562),b=l(b,x,S,C,m[h+5],4,4294588738),C=l(C,b,x,S,m[h+8],11,2272392833),S=l(S,C,b,x,m[h+11],16,1839030562),x=l(x,S,C,b,m[h+14],23,4259657740),b=l(b,x,S,C,m[h+1],4,2763975236),C=l(C,b,x,S,m[h+4],11,1272893353),S=l(S,C,b,x,m[h+7],16,4139469664),x=l(x,S,C,b,m[h+10],23,3200236656),b=l(b,x,S,C,m[h+13],4,681279174),C=l(C,b,x,S,m[h+0],11,3936430074),S=l(S,C,b,x,m[h+3],16,3572445317),x=l(x,S,C,b,m[h+6],23,76029189),b=l(b,x,S,C,m[h+9],4,3654602809),C=l(C,b,x,S,m[h+12],11,3873151461),S=l(S,C,b,x,m[h+15],16,530742520),x=l(x,S,C,b,m[h+2],23,3299628645),b=u(b,x,S,C,m[h+0],6,4096336452),C=u(C,b,x,S,m[h+7],10,1126891415),S=u(S,C,b,x,m[h+14],15,2878612391),x=u(x,S,C,b,m[h+5],21,4237533241),b=u(b,x,S,C,m[h+12],6,1700485571),C=u(C,b,x,S,m[h+3],10,2399980690),S=u(S,C,b,x,m[h+10],15,4293915773),x=u(x,S,C,b,m[h+1],21,2240044497),b=u(b,x,S,C,m[h+8],6,1873313359),C=u(C,b,x,S,m[h+15],10,4264355552),S=u(S,C,b,x,m[h+6],15,2734768916),x=u(x,S,C,b,m[h+13],21,1309151649),b=u(b,x,S,C,m[h+4],6,4149444226),C=u(C,b,x,S,m[h+11],10,3174756917),S=u(S,C,b,x,m[h+2],15,718787259),x=u(x,S,C,b,m[h+9],21,3951481745),b=n(b,g),x=n(x,_),S=n(S,v),C=n(C,y);return(f(b)+f(x)+f(S)+f(C)).toLowerCase()},e.closeMediaStream=e=>{if(e)try{let t;if(e.getTracks){t=e.getTracks();for(let e of t)e.stop()}else{t=e.getAudioTracks();for(let e of t)e.stop();t=e.getVideoTracks();for(let e of t)e.stop()}}catch{(typeof e.stop==`function`||typeof e.stop==`object`)&&e.stop()}},e.cloneArray=e=>e&&e.slice()||[],e.cloneObject=(e,t={})=>e&&Object.assign({},e)||t})),f5=k(((e,t)=>{var n=typeof Reflect==`object`?Reflect:null,r=n&&typeof n.apply==`function`?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},i=n&&typeof n.ownKeys==`function`?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};function a(e){console&&console.warn&&console.warn(e)}var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}t.exports=s,t.exports.once=y,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if(typeof e!=`function`)throw TypeError(`The "listener" argument must be of type Function. Received type `+typeof e)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received `+e+`.`);c=e}}),s.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},s.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "n" is out of range. It must be a non-negative number. Received `+e+`.`);return this._maxListeners=e,this};function u(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e===`error`,a=this._events;if(a!==void 0)i&&=a.error===void 0;else if(!i)return!1;if(i){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=Error(`Unhandled error.`+(o?` (`+o.message+`)`:``));throw s.context=o,s}var c=a[e];if(c===void 0)return!1;if(typeof c==`function`)r(c,this,t);else for(var l=c.length,u=g(c,l),n=0;n<l;++n)r(u[n],this,t);return!0};function d(e,t,n,r){var i,o,s;if(l(n),o=e._events,o===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit(`newListener`,t,n.listener?n.listener:n),o=e._events),s=o[t]),s===void 0)s=o[t]=n,++e._eventsCount;else if(typeof s==`function`?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=u(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=Error(`Possible EventEmitter memory leak detected. `+s.length+` `+String(t)+` listeners added. Use emitter.setMaxListeners() to increase limit`);c.name=`MaxListenersExceededWarning`,c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)};function f(){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 p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,a,o;if(l(t),r=this._events,r===void 0||(n=r[e],n===void 0))return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;i===0?n.shift():_(n,i),n.length===1&&(r[e]=n[0]),r.removeListener!==void 0&&this.emit(`removeListener`,e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n=this._events,r;if(n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),a;for(r=0;r<i.length;++r)a=i[r],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function m(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i==`function`?n?[i.listener||i]:[i]:n?v(i):g(i,i.length)}s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h;function h(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n==`function`)return 1;if(n!==void 0)return n.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function g(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function y(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){typeof e.removeListener==`function`&&e.removeListener(`error`,i),n([].slice.call(arguments))}x(e,t,a,{once:!0}),t!==`error`&&b(e,i,{once:!0})})}function b(e,t,n){typeof e.on==`function`&&x(e,`error`,t,n)}function x(e,t,n,r){if(typeof e.on==`function`)r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener==`function`)e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)});else throw TypeError(`The "emitter" argument must be of type EventEmitter. Received type `+typeof e)}})),EQt=k(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),DQt=k(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=EQt(),n.destroy=l,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){let t,i=null,a,o;function s(...e){if(!s.enabled)return;let r=s,i=Number(new Date);r.diff=i-(t||i),r.prev=t,r.curr=i,t=i,e[0]=n.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,i)=>{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function o(){let e=[...n.names,...n.skips.map(e=>`-`+e)].join(`,`);return n.enable(``),e}function s(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}function l(){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 n.enable(n.load()),n}t.exports=n})),p5=k(((e,t)=>{ht(),e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!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`."))}})(),e.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`.split(`.`);function n(){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 e;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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&M!==void 0&&`env`in M&&(t=M.env.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=DQt()(e);var{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),m5=k(((e,t)=>{var n=p5(),r=`JsSIP`;t.exports=class{constructor(e){e?(this._debug=n.default(`${r}:${e}`),this._warn=n.default(`${r}:WARN:${e}`),this._error=n.default(`${r}:ERROR:${e}`)):(this._debug=n.default(r),this._warn=n.default(`${r}:WARN`),this._error=n.default(`${r}:ERROR`)),this._debug.log=console.info.bind(console),this._warn.log=console.warn.bind(console),this._error.log=console.error.bind(console)}get debug(){return this._debug}get warn(){return this._warn}get error(){return this._error}}})),h5=k(((e,t)=>{var n=t.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(e){return e.encoding?`rtpmap:%d %s/%s/%s`:e.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(e){return e.address==null?`rtcp:%d`:`rtcp:%d %s IP%d %s`}},{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(e){return e.subtype==null?`rtcp-fb:%s %s`:`rtcp-fb:%s %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(e){return`extmap:%d`+(e.direction?`/%s`:`%v`)+(e[`encrypt-uri`]?` %s`:`%v`)+` %s`+(e.config?` %s`:``)}},{name:`extmapAllowMixed`,reg:/^(extmap-allow-mixed)/},{push:`crypto`,reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:[`id`,`suite`,`config`,`sessionConfig`],format:function(e){return e.sessionConfig==null?`crypto:%d %s %s`:`crypto:%d %s %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(e){var t=`candidate:%s %d %s %d %s %d typ %s`;return t+=e.raddr==null?`%v%v`:` raddr %s rport %d`,t+=e.tcptype==null?`%v`:` tcptype %s`,e.generation!=null&&(t+=` generation %d`),t+=e[`network-id`]==null?`%v`:` network-id %d`,t+=e[`network-cost`]==null?`%v`:` network-cost %d`,t}},{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(e){var t=`ssrc:%d`;return e.attribute!=null&&(t+=` %s`,e.value!=null&&(t+=`:%s`)),t}},{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(e){return e.maxMessageSize==null?`sctpmap:%s %s`:`sctpmap:%s %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(e){return e.params?`rid:%s %s %s`:`rid:%s %s`}},{push:`imageattrs`,reg: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(e){return`imageattr:%s %s %s`+(e.dir2?` %s %s`:``)}},{name:`simulcast`,reg:RegExp(`^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$`),names:[`dir1`,`list1`,`dir2`,`list2`],format:function(e){return`simulcast:%s %s`+(e.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(e){return`ts-refclk:%s`+(e.clksrcExt==null?``:`=%s`)}},{name:`mediaClk`,reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:[`id`,`mediaClockName`,`mediaClockValue`,`rateNumerator`,`rateDenominator`],format:function(e){var t=`mediaclk:`;return t+=e.id==null?`%v%s`:`id=%s %s`,t+=e.mediaClockValue==null?``:`=%s`,t+=e.rateNumerator==null?``:` rate=%s`,t+=e.rateDenominator==null?``:`/%s`,t}},{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`]}]};Object.keys(n).forEach(function(e){n[e].forEach(function(e){e.reg||=/(.*)/,e.format||=`%s`})})})),OQt=k((e=>{var t=function(e){return String(Number(e))===e?Number(e):e},n=function(e,n,r,i){if(i&&!r)n[i]=t(e[1]);else for(var a=0;a<r.length;a+=1)e[a+1]!=null&&(n[r[a]]=t(e[a+1]))},r=function(e,t,r){var i=e.name&&e.names;e.push&&!t[e.push]?t[e.push]=[]:i&&!t[e.name]&&(t[e.name]={});var a=e.push?{}:i?t[e.name]:t;n(r.match(e.reg),a,e.names,e.name),e.push&&t[e.push].push(a)},i=h5(),a=RegExp.prototype.test.bind(/^([a-z])=(.*)/);e.parse=function(e){var t={},n=[],o=t;return e.split(/(\r\n|\r|\n)/).filter(a).forEach(function(e){var t=e[0],a=e.slice(2);t===`m`&&(n.push({rtp:[],fmtp:[]}),o=n[n.length-1]);for(var s=0;s<(i[t]||[]).length;s+=1){var c=i[t][s];if(c.reg.test(a))return r(c,o,a)}}),t.media=n,t};var o=function(e,n){var r=n.split(/=(.+)/,2);return r.length===2?e[r[0]]=t(r[1]):r.length===1&&n.length>1&&(e[r[0]]=void 0),e};e.parseParams=function(e){return e.split(/;\s?/).reduce(o,{})},e.parseFmtpConfig=e.parseParams,e.parsePayloads=function(e){return e.toString().split(` `).map(Number)},e.parseRemoteCandidates=function(e){for(var n=[],r=e.split(` `).map(t),i=0;i<r.length;i+=3)n.push({component:r[i],ip:r[i+1],port:r[i+2]});return n},e.parseImageAttributes=function(e){return e.split(` `).map(function(e){return e.substring(1,e.length-1).split(`,`).reduce(o,{})})},e.parseSimulcastStreamList=function(e){return e.split(`;`).map(function(e){return e.split(`,`).map(function(e){var n,r=!1;return e[0]===`~`?(n=t(e.substring(1,e.length)),r=!0):n=t(e),{scid:n,paused:r}})})}})),kQt=k(((e,t)=>{var n=h5(),r=/%[sdv%]/g,i=function(e){var t=1,n=arguments,i=n.length;return e.replace(r,function(e){if(t>=i)return e;var r=n[t];switch(t+=1,e){case`%%`:return`%`;case`%s`:return String(r);case`%d`:return Number(r);case`%v`:return``}})},a=function(e,t,n){var r=t.format instanceof Function?t.format(t.push?n:n[t.name]):t.format,a=[e+`=`+r];if(t.names)for(var o=0;o<t.names.length;o+=1){var s=t.names[o];t.name?a.push(n[t.name][s]):a.push(n[t.names[o]])}else a.push(n[t.name]);return i.apply(null,a)},o=[`v`,`o`,`s`,`i`,`u`,`e`,`p`,`c`,`b`,`t`,`r`,`z`,`a`],s=[`i`,`c`,`b`,`a`];t.exports=function(e,t){t||={},e.version??=0,e.name??=` `,e.media.forEach(function(e){e.payloads??=``});var r=t.outerOrder||o,i=t.innerOrder||s,c=[];return r.forEach(function(t){n[t].forEach(function(n){n.name in e&&e[n.name]!=null?c.push(a(t,n,e)):n.push in e&&e[n.push]!=null&&e[n.push].forEach(function(e){c.push(a(t,n,e))})})}),e.media.forEach(function(e){c.push(a(`m`,n.m[0],e)),i.forEach(function(t){n[t].forEach(function(n){n.name in e&&e[n.name]!=null?c.push(a(t,n,e)):n.push in e&&e[n.push]!=null&&e[n.push].forEach(function(e){c.push(a(t,n,e))})})})}),c.join(`\r
|