@webitel/ui-sdk 26.4.10 → 26.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/{index-DqcvyASC.js → index-B1Ee1wRn.js} +1 -1
  2. package/dist/{index-CT13Z6ni.js → index-BA7y7uRH.js} +1 -1
  3. package/dist/{install-XjapqzsF.js → install-w6TQbfaC.js} +35 -35
  4. package/dist/{isObject-CKzhaz4R.js → isObject-DWtKO96x.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +21 -23
  8. package/dist/{useVidstackSrc-D5V7vOBS.js → useVidstackSrc-DyLnCeOm.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-CHCnztV2.js → vidstack-Bq6c3Bam-Dw6CUmi-.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-DMKPW2Jt.js → vidstack-D2pY00kU-C8zC41XC.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-Dftvb5PW.js → vidstack-DDXt6fpN-DrxVC99Q.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-DZ5A3Xqp.js → vidstack-D_-9AA6_--s2YkRfE.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-DkMf3Rup.js → vidstack-DqAw8m9J-B3uuwShJ.js} +1 -1
  14. package/dist/{vidstack-audio-CNuC4VGA.js → vidstack-audio-osm5EW1D.js} +2 -2
  15. package/dist/{vidstack-dash-BQ5iR1KW.js → vidstack-dash-kLXi8rPh.js} +4 -4
  16. package/dist/{vidstack-google-cast-DX3S6t6H.js → vidstack-google-cast-CttjCCRq.js} +4 -4
  17. package/dist/{vidstack-hls-BDFoc1Em.js → vidstack-hls-B0yEaKKY.js} +4 -4
  18. package/dist/{vidstack-video-DKNKKrsv.js → vidstack-video-Bzwlasf0.js} +3 -3
  19. package/dist/{vidstack-vimeo-B-Gbe7JI.js → vidstack-vimeo-BeuNLdUy.js} +4 -4
  20. package/dist/{vidstack-youtube-h8GBNlUy.js → vidstack-youtube-01ARNdF5.js} +3 -3
  21. package/dist/{wt-action-bar-B_Ub3cd2.js → wt-action-bar-CtMTmuQl.js} +1 -1
  22. package/dist/{wt-button-select-YMKpLOyz.js → wt-button-select-Rrn5hT2X.js} +1 -1
  23. package/dist/{wt-chat-emoji-OODP5Ny9.js → wt-chat-emoji-oc5C-AQN.js} +2 -2
  24. package/dist/{wt-confirm-dialog-D1PkUxs2.js → wt-confirm-dialog-Dcd8lHoG.js} +1 -1
  25. package/dist/{wt-context-menu-BGuxTQ8a.js → wt-context-menu-By_zUKc2.js} +1 -1
  26. package/dist/{wt-copy-action-UR05zHjH.js → wt-copy-action-mdDvkCxY.js} +1 -1
  27. package/dist/{wt-datepicker-atFZS0sH.js → wt-datepicker-DK2GDokB.js} +1 -1
  28. package/dist/{wt-display-chip-items-RkYhUE7q.js → wt-display-chip-items-p-p7aBjp.js} +1 -1
  29. package/dist/{wt-dual-panel-B-botw5O.js → wt-dual-panel-BVu4AQYE.js} +1 -1
  30. package/dist/{wt-dummy-DrQnqKGB.js → wt-dummy-Ct3S4Fmt.js} +1 -1
  31. package/dist/{wt-error-page-DE-hq7IR.js → wt-error-page-njw4gxn6.js} +1 -1
  32. package/dist/{wt-expansion-card-DbpPHxqv.js → wt-expansion-card-BjFuzvFo.js} +1 -1
  33. package/dist/{wt-expansion-panel-DG_KW1Hq.js → wt-expansion-panel-Bq-HgDYw.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-ykMTxGYw.js → wt-filters-panel-wrapper-BPZORxKx.js} +1 -1
  35. package/dist/{wt-galleria-Dh2s1W55.js → wt-galleria-c4Y1YsS0.js} +1 -1
  36. package/dist/{wt-navigation-menu-D0FVeLzV.js → wt-navigation-menu-C9PoxvK5.js} +1 -1
  37. package/dist/{wt-notifications-bar-WwpFCz1N.js → wt-notifications-bar-Bc7QDaEi.js} +2 -2
  38. package/dist/{wt-pagination-DD0oWLTi.js → wt-pagination-Cu3IBHYO.js} +1 -1
  39. package/dist/{wt-player-BzBd7We3.js → wt-player-CzwzB9bn.js} +2 -2
  40. package/dist/{wt-search-bar-CKY4QFxP.js → wt-search-bar-B0nid84J.js} +1 -1
  41. package/dist/{wt-selection-popup-Dv0bJjb1.js → wt-selection-popup-DJeRyJYp.js} +1 -1
  42. package/dist/{wt-start-page-Dv8hs50H.js → wt-start-page-C40AGfYI.js} +1 -1
  43. package/dist/{wt-status-select-DBd-L0qb.js → wt-status-select-BHOJl6QP.js} +1 -1
  44. package/dist/{wt-stepper-aq3gETOR.js → wt-stepper-CQS587CF.js} +1 -1
  45. package/dist/{wt-table-D2pBS2x1.js → wt-table-5kq2Q55c.js} +1 -1
  46. package/dist/{wt-table-actions-ChVWwJ1s.js → wt-table-actions-r5ABC8IX.js} +1 -1
  47. package/dist/{wt-table-column-select-yqxqJjJp.js → wt-table-column-select-DadnC3iY.js} +2 -2
  48. package/dist/{wt-tabs-B2FvVOU_.js → wt-tabs-B_hev4pK.js} +1 -1
  49. package/dist/{wt-tags-input-C7RGQUEb.js → wt-tags-input-tB8JmLm3.js} +2 -2
  50. package/dist/{wt-timepicker-DrUpMiPH.js → wt-timepicker-COpEYF2h.js} +1 -1
  51. package/dist/{wt-tree-BBJ6EqSw.js → wt-tree-TtTCcJZ7.js} +2 -2
  52. package/dist/{wt-tree-table-Cxmrmfgz.js → wt-tree-table-GcDSuDT4.js} +1 -1
  53. package/dist/{wt-type-extension-value-input-ZY0S7nv5.js → wt-type-extension-value-input-BW7LEC_S.js} +156 -131
  54. package/dist/{wt-vidstack-player-Cd8Uj1mU.js → wt-vidstack-player-B7Mwh6K9.js} +10 -10
  55. package/package.json +2 -2
  56. package/src/components/wt-select/wt-select.vue +2 -1
  57. package/src/locale/en/en.js +1 -0
  58. package/src/locale/es/es.js +2 -0
  59. package/src/locale/kz/kz.js +1 -0
  60. package/src/locale/pl/pl.js +2 -0
  61. package/src/locale/ro/ro.js +2 -0
  62. package/src/locale/ru/ru.js +2 -0
  63. package/src/locale/uk/uk.js +2 -0
  64. package/src/locale/uz/uz.js +2 -0
  65. package/src/locale/vi/vi.js +1 -0
  66. package/types/locale/en/en.d.ts +1 -0
  67. package/types/locale/es/es.d.ts +1 -0
  68. package/types/locale/i18n.d.ts +9 -0
  69. package/types/locale/index.d.ts +9 -0
  70. package/types/locale/kz/kz.d.ts +1 -0
  71. package/types/locale/pl/pl.d.ts +1 -0
  72. package/types/locale/ro/ro.d.ts +1 -0
  73. package/types/locale/ru/ru.d.ts +1 -0
  74. package/types/locale/uk/uk.d.ts +1 -0
  75. package/types/locale/uz/uz.d.ts +1 -0
  76. package/types/locale/vi/vi.d.ts +1 -0
@@ -1288,7 +1288,7 @@
1288
1288
  `,s=n.needIndent?n.needIndent:i!=="arrow",c=o.helpers||[],d=OF(o,{filename:r,breakLineCode:l,needIndent:s});d.push(i==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(s),c.length>0&&(d.push(`const { ${lu(c.map(g=>`${g}: _${g}`),", ")} } = ctx`),d.newline()),d.push("return "),Ts(d,o),d.deindent(s),d.push("}"),delete o.helpers;const{code:p,map:u}=d.context();return{ast:o,code:p,map:u?u.toJSON():void 0}};function PF(o,n={}){const i=yn({},n),r=!!i.jit,l=!!i.minify,s=i.optimize==null?!0:i.optimize,d=xF(i).parse(o);return r?(s&&TF(d),l&&Ss(d),{ast:d,code:""}):(SF(d,i),BF(d,i))}function $F(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ei(o){return bt(o)&&pu(o)===0&&(Vo(o,"b")||Vo(o,"body"))}const l8=["b","body"];function MF(o){return Sr(o,l8)}const c8=["c","cases"];function NF(o){return Sr(o,c8,[])}const d8=["s","static"];function FF(o){return Sr(o,d8)}const p8=["i","items"];function qF(o){return Sr(o,p8,[])}const u8=["t","type"];function pu(o){return Sr(o,u8)}const g8=["v","value"];function S1(o,n){const i=Sr(o,g8);if(i!=null)return i;throw Nl(n)}const f8=["m","modifier"];function UF(o){return Sr(o,f8)}const h8=["k","key"];function HF(o){const n=Sr(o,h8);if(n)return n;throw Nl(6)}function Sr(o,n,i){for(let r=0;r<n.length;r++){const l=n[r];if(Vo(o,l)&&o[l]!=null)return o[l]}return i}const m8=[...l8,...c8,...d8,...p8,...h8,...f8,...g8,...u8];function Nl(o){return new Error(`unhandled node type: ${o}`)}function uu(o){return i=>zF(i,o)}function zF(o,n){const i=MF(n);if(i==null)throw Nl(0);if(pu(i)===1){const s=NF(i);return o.plural(s.reduce((c,d)=>[...c,b8(o,d)],[]))}else return b8(o,i)}function b8(o,n){const i=FF(n);if(i!=null)return o.type==="text"?i:o.normalize([i]);{const r=qF(n).reduce((l,s)=>[...l,gu(o,s)],[]);return o.normalize(r)}}function gu(o,n){const i=pu(n);switch(i){case 3:return S1(n,i);case 9:return S1(n,i);case 4:{const r=n;if(Vo(r,"k")&&r.k)return o.interpolate(o.named(r.k));if(Vo(r,"key")&&r.key)return o.interpolate(o.named(r.key));throw Nl(i)}case 5:{const r=n;if(Vo(r,"i")&&bn(r.i))return o.interpolate(o.list(r.i));if(Vo(r,"index")&&bn(r.index))return o.interpolate(o.list(r.index));throw Nl(i)}case 6:{const r=n,l=UF(r),s=HF(r);return o.linked(gu(o,s),l?gu(o,l):void 0,o.type)}case 7:return S1(n,i);case 8:return S1(n,i);default:throw new Error(`unhandled node on format message part: ${i}`)}}const ZF="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function GF(o,n){n&&gF(o)&&Ai(w1(ZF,{source:o}))}const KF=o=>o;let T1=Et();function WF(o,n={}){let i=!1;const r=n.onError||pF;return n.onError=l=>{i=!0,r(l)},{...PF(o,n),detectError:i}}function YF(o,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&De(o)){const i=rn(n.warnHtmlMessage)?n.warnHtmlMessage:!0;Se.env.NODE_ENV!=="production"&&GF(o,i);const l=(n.onCacheKey||KF)(o),s=T1[l];if(s)return s;const{ast:c,detectError:d}=WF(o,{...n,location:Se.env.NODE_ENV!=="production",jit:!0}),p=uu(c);return d?p:T1[l]=p}else{if(Se.env.NODE_ENV!=="production"&&!ei(o))return Ai(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>o);const i=o.cacheKey;if(i){const r=T1[i];return r||(T1[i]=uu(o))}else return uu(o)}}let Fl=null;function XF(o){Fl=o}function QF(o,n,i){Fl&&Fl.emit("i18n:init",{timestamp:Date.now(),i18n:o,version:n,meta:i})}const JF=VF("function:translate");function VF(o){return n=>Fl&&Fl.emit(o,n)}const _n={INVALID_ARGUMENT:cF,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},eq=24;function rr(o){return Is(o,null,Se.env.NODE_ENV!=="production"?{messages:tq}:void 0)}const tq={[_n.INVALID_ARGUMENT]:"Invalid arguments",[_n.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[_n.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[_n.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[_n.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[_n.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[_n.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function fu(o,n){return n.locale!=null?y8(n.locale):y8(o.locale)}let hu;function y8(o){if(De(o))return o;if(Ut(o)){if(o.resolvedOnce&&hu!=null)return hu;if(o.constructor.name==="Function"){const n=o();if(iF(n))throw rr(_n.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return hu=n}else throw rr(_n.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw rr(_n.NOT_SUPPORT_LOCALE_TYPE)}function nq(o,n,i){return[...new Set([i,...on(n)?n:bt(n)?Object.keys(n):De(n)?[n]:[i]])]}function v8(o,n,i){const r=De(i)?i:A1,l=o;l.__localeChainCache||(l.__localeChainCache=new Map);let s=l.__localeChainCache.get(r);if(!s){s=[];let c=[i];for(;on(c);)c=C8(s,c,n);const d=on(n)||!yt(n)?n:n.default?n.default:null;c=De(d)?[d]:d,on(c)&&C8(s,c,!1),l.__localeChainCache.set(r,s)}return s}function C8(o,n,i){let r=!0;for(let l=0;l<n.length&&rn(r);l++){const s=n[l];De(s)&&(r=oq(o,n[l],i))}return r}function oq(o,n,i){let r;const l=n.split("-");do{const s=l.join("-");r=iq(o,s,i),l.splice(-1,1)}while(l.length&&r===!0);return r}function iq(o,n,i){let r=!1;if(!o.includes(n)&&(r=!0,n)){r=n[n.length-1]!=="!";const l=n.replace(/!/g,"");o.push(l),(on(i)||yt(i))&&i[l]&&(r=i[l])}return r}const Tr=[];Tr[0]={w:[0],i:[3,0],"[":[4],o:[7]},Tr[1]={w:[1],".":[2],"[":[4],o:[7]},Tr[2]={w:[2],i:[3,0],0:[3,0]},Tr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Tr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Tr[5]={"'":[4,0],o:8,l:[5,0]},Tr[6]={'"':[4,0],o:8,l:[6,0]};const rq=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function aq(o){return rq.test(o)}function sq(o){const n=o.charCodeAt(0),i=o.charCodeAt(o.length-1);return n===i&&(n===34||n===39)?o.slice(1,-1):o}function lq(o){if(o==null)return"o";switch(o.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return o;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function cq(o){const n=o.trim();return o.charAt(0)==="0"&&isNaN(parseInt(o))?!1:aq(n)?sq(n):"*"+n}function dq(o){const n=[];let i=-1,r=0,l=0,s,c,d,p,u,g,f;const h=[];h[0]=()=>{c===void 0?c=d:c+=d},h[1]=()=>{c!==void 0&&(n.push(c),c=void 0)},h[2]=()=>{h[0](),l++},h[3]=()=>{if(l>0)l--,r=4,h[0]();else{if(l=0,c===void 0||(c=cq(c),c===!1))return!1;h[1]()}};function m(){const y=o[i+1];if(r===5&&y==="'"||r===6&&y==='"')return i++,d="\\"+y,h[0](),!0}for(;r!==null;)if(i++,s=o[i],!(s==="\\"&&m())){if(p=lq(s),f=Tr[r],u=f[p]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(g=h[u[1]],g&&(d=s,g()===!1))))return;if(r===7)return n}}const w8=new Map;function pq(o,n){return bt(o)?o[n]:null}function uq(o,n){if(!bt(o))return null;let i=w8.get(n);if(i||(i=dq(n),i&&w8.set(n,i)),!i)return null;const r=i.length;let l=o,s=0;for(;s<r;){const c=i[s];if(m8.includes(c)&&ei(l))return null;const d=l[c];if(d===void 0||Ut(l))return null;l=d,s++}return l}const so={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},gq=8,fq={[so.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[so.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[so.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[so.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[so.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[so.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[so.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ka(o,...n){return w1(fq[o],...n)}const hq="11.2.2",E1=-1,A1="en-US",O1="",k8=o=>`${o.charAt(0).toLocaleUpperCase()}${o.substr(1)}`;function mq(){return{upper:(o,n)=>n==="text"&&De(o)?o.toUpperCase():n==="vnode"&&bt(o)&&"__v_isVNode"in o?o.children.toUpperCase():o,lower:(o,n)=>n==="text"&&De(o)?o.toLowerCase():n==="vnode"&&bt(o)&&"__v_isVNode"in o?o.children.toLowerCase():o,capitalize:(o,n)=>n==="text"&&De(o)?k8(o):n==="vnode"&&bt(o)&&"__v_isVNode"in o?k8(o.children):o}}let j8;function bq(o){j8=o}let x8;function yq(o){x8=o}let I8;function vq(o){I8=o}let S8=null;const Cq=o=>{S8=o},wq=()=>S8;let T8=null;const E8=o=>{T8=o},kq=()=>T8;let A8=0;function jq(o={}){const n=Ut(o.onWarn)?o.onWarn:Ai,i=De(o.version)?o.version:hq,r=De(o.locale)||Ut(o.locale)?o.locale:A1,l=Ut(r)?A1:r,s=on(o.fallbackLocale)||yt(o.fallbackLocale)||De(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:l,c=yt(o.messages)?o.messages:mu(l),d=yt(o.datetimeFormats)?o.datetimeFormats:mu(l),p=yt(o.numberFormats)?o.numberFormats:mu(l),u=yn(Et(),o.modifiers,mq()),g=o.pluralRules||Et(),f=Ut(o.missing)?o.missing:null,h=rn(o.missingWarn)||k1(o.missingWarn)?o.missingWarn:!0,m=rn(o.fallbackWarn)||k1(o.fallbackWarn)?o.fallbackWarn:!0,y=!!o.fallbackFormat,k=!!o.unresolving,w=Ut(o.postTranslation)?o.postTranslation:null,C=yt(o.processor)?o.processor:null,v=rn(o.warnHtmlMessage)?o.warnHtmlMessage:!0,S=!!o.escapeParameter,x=Ut(o.messageCompiler)?o.messageCompiler:j8;Se.env.NODE_ENV!=="production"&&Ut(o.messageCompiler)&&XN(ka(so.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const I=Ut(o.messageResolver)?o.messageResolver:x8||pq,O=Ut(o.localeFallbacker)?o.localeFallbacker:I8||nq,T=bt(o.fallbackContext)?o.fallbackContext:void 0,D=o,P=bt(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,z=bt(D.__numberFormatters)?D.__numberFormatters:new Map,R=bt(D.__meta)?D.__meta:{};A8++;const _={version:i,cid:A8,locale:r,fallbackLocale:s,messages:c,modifiers:u,pluralRules:g,missing:f,missingWarn:h,fallbackWarn:m,fallbackFormat:y,unresolving:k,postTranslation:w,processor:C,warnHtmlMessage:v,escapeParameter:S,messageCompiler:x,messageResolver:I,localeFallbacker:O,fallbackContext:T,onWarn:n,__meta:R};return _.datetimeFormats=d,_.numberFormats=p,_.__datetimeFormatters=P,_.__numberFormatters=z,Se.env.NODE_ENV!=="production"&&(_.__v_emitter=D.__v_emitter!=null?D.__v_emitter:void 0),(Se.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&QF(_,i,R),_}const mu=o=>({[o]:Et()});function D1(o,n){return o instanceof RegExp?o.test(n):o}function O8(o,n){return o instanceof RegExp?o.test(n):o}function bu(o,n,i,r,l){const{missing:s,onWarn:c}=o;if(Se.env.NODE_ENV!=="production"){const d=o.__v_emitter;d&&d.emit("missing",{locale:i,key:n,type:l,groupId:`${l}:${n}`})}if(s!==null){const d=s(o,i,n,l);return De(d)?d:n}else return Se.env.NODE_ENV!=="production"&&O8(r,n)&&c(ka(so.NOT_FOUND_KEY,{key:n,locale:i})),n}function ql(o,n,i){const r=o;r.__localeChainCache=new Map,o.localeFallbacker(o,i,n)}function D8(o,n){return o===n?!1:o.split("-")[0]===n.split("-")[0]}function xq(o,n){const i=n.indexOf(o);if(i===-1)return!1;for(let r=i+1;r<n.length;r++)if(D8(o,n[r]))return!0;return!1}const L8=typeof Intl<"u",R8={dateTimeFormat:L8&&typeof Intl.DateTimeFormat<"u",numberFormat:L8&&typeof Intl.NumberFormat<"u"};function _8(o,...n){const{datetimeFormats:i,unresolving:r,fallbackLocale:l,onWarn:s,localeFallbacker:c}=o,{__datetimeFormatters:d}=o;if(Se.env.NODE_ENV!=="production"&&!R8.dateTimeFormat)return s(ka(so.CANNOT_FORMAT_DATE)),O1;const[p,u,g,f]=yu(...n),h=rn(g.missingWarn)?g.missingWarn:o.missingWarn,m=rn(g.fallbackWarn)?g.fallbackWarn:o.fallbackWarn,y=!!g.part,k=fu(o,g),w=c(o,l,k);if(!De(p)||p==="")return new Intl.DateTimeFormat(k,f).format(u);let C={},v,S=null,x=k,I=null;const O="datetime format";for(let P=0;P<w.length;P++){if(v=I=w[P],Se.env.NODE_ENV!=="production"&&k!==v&&D1(m,p)&&s(ka(so.FALLBACK_TO_DATE_FORMAT,{key:p,target:v})),Se.env.NODE_ENV!=="production"&&k!==v){const z=o.__v_emitter;z&&z.emit("fallback",{type:O,key:p,from:x,to:I,groupId:`${O}:${p}`})}if(C=i[v]||{},S=C[p],yt(S))break;bu(o,p,v,h,O),x=I}if(!yt(S)||!De(v))return r?E1:p;let T=`${v}__${p}`;j1(f)||(T=`${T}__${JSON.stringify(f)}`);let D=d.get(T);return D||(D=new Intl.DateTimeFormat(v,yn({},S,f)),d.set(T,D)),y?D.formatToParts(u):D.format(u)}const B8=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function yu(...o){const[n,i,r,l]=o,s=Et();let c=Et(),d;if(De(n)){const p=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!p)throw rr(_n.INVALID_ISO_DATE_ARGUMENT);const u=p[3]?p[3].trim().startsWith("T")?`${p[1].trim()}${p[3].trim()}`:`${p[1].trim()}T${p[3].trim()}`:p[1].trim();d=new Date(u);try{d.toISOString()}catch{throw rr(_n.INVALID_ISO_DATE_ARGUMENT)}}else if(eF(n)){if(isNaN(n.getTime()))throw rr(_n.INVALID_DATE_ARGUMENT);d=n}else if(bn(n))d=n;else throw rr(_n.INVALID_ARGUMENT);return De(i)?s.key=i:yt(i)&&Object.keys(i).forEach(p=>{B8.includes(p)?c[p]=i[p]:s[p]=i[p]}),De(r)?s.locale=r:yt(r)&&(c=r),yt(l)&&(c=l),[s.key||"",d,s,c]}function P8(o,n,i){const r=o;for(const l in i){const s=`${n}__${l}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function $8(o,...n){const{numberFormats:i,unresolving:r,fallbackLocale:l,onWarn:s,localeFallbacker:c}=o,{__numberFormatters:d}=o;if(Se.env.NODE_ENV!=="production"&&!R8.numberFormat)return s(ka(so.CANNOT_FORMAT_NUMBER)),O1;const[p,u,g,f]=vu(...n),h=rn(g.missingWarn)?g.missingWarn:o.missingWarn,m=rn(g.fallbackWarn)?g.fallbackWarn:o.fallbackWarn,y=!!g.part,k=fu(o,g),w=c(o,l,k);if(!De(p)||p==="")return new Intl.NumberFormat(k,f).format(u);let C={},v,S=null,x=k,I=null;const O="number format";for(let P=0;P<w.length;P++){if(v=I=w[P],Se.env.NODE_ENV!=="production"&&k!==v&&D1(m,p)&&s(ka(so.FALLBACK_TO_NUMBER_FORMAT,{key:p,target:v})),Se.env.NODE_ENV!=="production"&&k!==v){const z=o.__v_emitter;z&&z.emit("fallback",{type:O,key:p,from:x,to:I,groupId:`${O}:${p}`})}if(C=i[v]||{},S=C[p],yt(S))break;bu(o,p,v,h,O),x=I}if(!yt(S)||!De(v))return r?E1:p;let T=`${v}__${p}`;j1(f)||(T=`${T}__${JSON.stringify(f)}`);let D=d.get(T);return D||(D=new Intl.NumberFormat(v,yn({},S,f)),d.set(T,D)),y?D.formatToParts(u):D.format(u)}const M8=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function vu(...o){const[n,i,r,l]=o,s=Et();let c=Et();if(!bn(n))throw rr(_n.INVALID_ARGUMENT);const d=n;return De(i)?s.key=i:yt(i)&&Object.keys(i).forEach(p=>{M8.includes(p)?c[p]=i[p]:s[p]=i[p]}),De(r)?s.locale=r:yt(r)&&(c=r),yt(l)&&(c=l),[s.key||"",d,s,c]}function N8(o,n,i){const r=o;for(const l in i){const s=`${n}__${l}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Iq=o=>o,Sq=o=>"",Tq="text",Eq=o=>o.length===0?"":lu(o),Aq=rF;function F8(o,n){return o=Math.abs(o),n===2?o?o>1?1:0:1:o?Math.min(o,2):0}function Oq(o){const n=bn(o.pluralIndex)?o.pluralIndex:-1;return o.named&&(bn(o.named.count)||bn(o.named.n))?bn(o.named.count)?o.named.count:bn(o.named.n)?o.named.n:n:n}function Dq(o,n){n.count||(n.count=o),n.n||(n.n=o)}function Lq(o={}){const n=o.locale,i=Oq(o),r=bt(o.pluralRules)&&De(n)&&Ut(o.pluralRules[n])?o.pluralRules[n]:F8,l=bt(o.pluralRules)&&De(n)&&Ut(o.pluralRules[n])?F8:void 0,s=C=>C[r(i,C.length,l)],c=o.list||[],d=C=>c[C],p=o.named||Et();bn(o.pluralIndex)&&Dq(i,p);const u=C=>p[C];function g(C,v){const S=Ut(o.messages)?o.messages(C,!!v):bt(o.messages)?o.messages[C]:!1;return S||(o.parent?o.parent.message(C):Sq)}const f=C=>o.modifiers?o.modifiers[C]:Iq,h=yt(o.processor)&&Ut(o.processor.normalize)?o.processor.normalize:Eq,m=yt(o.processor)&&Ut(o.processor.interpolate)?o.processor.interpolate:Aq,y=yt(o.processor)&&De(o.processor.type)?o.processor.type:Tq,w={list:d,named:u,plural:s,linked:(C,...v)=>{const[S,x]=v;let I="text",O="";v.length===1?bt(S)?(O=S.modifier||O,I=S.type||I):De(S)&&(O=S||O):v.length===2&&(De(S)&&(O=S||O),De(x)&&(I=x||I));const T=g(C,!0)(w),D=I==="vnode"&&on(T)&&O?T[0]:T;return O?f(O)(D,I):D},message:g,type:y,interpolate:m,normalize:h,values:yn(Et(),c,p)};return w}const q8=()=>"",Bo=o=>Ut(o);function U8(o,...n){const{fallbackFormat:i,postTranslation:r,unresolving:l,messageCompiler:s,fallbackLocale:c,messages:d}=o,[p,u]=Cu(...n),g=rn(u.missingWarn)?u.missingWarn:o.missingWarn,f=rn(u.fallbackWarn)?u.fallbackWarn:o.fallbackWarn,h=rn(u.escapeParameter)?u.escapeParameter:o.escapeParameter,m=!!u.resolvedMessage,y=De(u.default)||rn(u.default)?rn(u.default)?s?p:()=>p:u.default:i?s?p:()=>p:null,k=i||y!=null&&(De(y)||Ut(y)),w=fu(o,u);h&&Rq(u);let[C,v,S]=m?[p,w,d[w]||Et()]:H8(o,p,w,c,f,g),x=C,I=p;if(!m&&!(De(x)||ei(x)||Bo(x))&&k&&(x=y,I=x),!m&&(!(De(x)||ei(x)||Bo(x))||!De(v)))return l?E1:p;if(Se.env.NODE_ENV!=="production"&&De(x)&&o.messageCompiler==null)return Ai(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${p}'.`),p;let O=!1;const T=()=>{O=!0},D=Bo(x)?x:z8(o,p,v,x,I,T);if(O)return x;const P=$q(o,v,S,u),z=Lq(P),R=_q(o,D,z);let _=r?r(R,p):R;if(h&&De(_)&&(_=nF(_)),Se.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const G={timestamp:Date.now(),key:De(p)?p:Bo(x)?x.key:"",locale:v||(Bo(x)?x.locale:""),format:De(x)?x:Bo(x)?x.source:"",message:_};G.meta=yn({},o.__meta,wq()||{}),JF(G)}return _}function Rq(o){on(o.list)?o.list=o.list.map(n=>De(n)?t8(n):n):bt(o.named)&&Object.keys(o.named).forEach(n=>{De(o.named[n])&&(o.named[n]=t8(o.named[n]))})}function H8(o,n,i,r,l,s){const{messages:c,onWarn:d,messageResolver:p,localeFallbacker:u}=o,g=u(o,r,i);let f=Et(),h,m=null,y=i,k=null;const w="translate";for(let C=0;C<g.length;C++){if(h=k=g[C],Se.env.NODE_ENV!=="production"&&i!==h&&!D8(i,h)&&D1(l,n)&&d(ka(so.FALLBACK_TO_TRANSLATE,{key:n,target:h})),Se.env.NODE_ENV!=="production"&&i!==h){const I=o.__v_emitter;I&&I.emit("fallback",{type:w,key:n,from:y,to:k,groupId:`${w}:${n}`})}f=c[h]||Et();let v=null,S,x;if(Se.env.NODE_ENV!=="production"&&nr&&(v=window.performance.now(),S="intlify-message-resolve-start",x="intlify-message-resolve-end",yo&&yo(S)),(m=p(f,n))===null&&(m=f[n]),Se.env.NODE_ENV!=="production"&&nr){const I=window.performance.now(),O=o.__v_emitter;O&&v&&m&&O.emit("message-resolve",{type:"message-resolve",key:n,message:m,time:I-v,groupId:`${w}:${n}`}),S&&x&&yo&&Ca&&(yo(x),Ca("intlify message resolve",S,x))}if(De(m)||ei(m)||Bo(m))break;if(!xq(h,g)){const I=bu(o,n,h,s,w);I!==n&&(m=I)}y=k}return[m,h,f]}function z8(o,n,i,r,l,s){const{messageCompiler:c,warnHtmlMessage:d}=o;if(Bo(r)){const h=r;return h.locale=h.locale||i,h.key=h.key||n,h}if(c==null){const h=(()=>r);return h.locale=i,h.key=n,h}let p=null,u,g;Se.env.NODE_ENV!=="production"&&nr&&(p=window.performance.now(),u="intlify-message-compilation-start",g="intlify-message-compilation-end",yo&&yo(u));const f=c(r,Bq(o,i,l,r,d,s));if(Se.env.NODE_ENV!=="production"&&nr){const h=window.performance.now(),m=o.__v_emitter;m&&p&&m.emit("message-compilation",{type:"message-compilation",message:r,time:h-p,groupId:`translate:${n}`}),u&&g&&yo&&Ca&&(yo(g),Ca("intlify message compilation",u,g))}return f.locale=i,f.key=n,f.source=r,f}function _q(o,n,i){let r=null,l,s;Se.env.NODE_ENV!=="production"&&nr&&(r=window.performance.now(),l="intlify-message-evaluation-start",s="intlify-message-evaluation-end",yo&&yo(l));const c=n(i);if(Se.env.NODE_ENV!=="production"&&nr){const d=window.performance.now(),p=o.__v_emitter;p&&r&&p.emit("message-evaluation",{type:"message-evaluation",value:c,time:d-r,groupId:`translate:${n.key}`}),l&&s&&yo&&Ca&&(yo(s),Ca("intlify message evaluation",l,s))}return c}function Cu(...o){const[n,i,r]=o,l=Et();if(!De(n)&&!bn(n)&&!Bo(n)&&!ei(n))throw rr(_n.INVALID_ARGUMENT);const s=bn(n)?String(n):(Bo(n),n);return bn(i)?l.plural=i:De(i)?l.default=i:yt(i)&&!j1(i)?l.named=i:on(i)&&(l.list=i),bn(r)?l.plural=r:De(r)?l.default=r:yt(r)&&yn(l,r),[s,l]}function Bq(o,n,i,r,l,s){return{locale:n,key:i,warnHtmlMessage:l,onError:c=>{if(s&&s(c),Se.env.NODE_ENV!=="production"){const d=Pq(r),p=`Message compilation error: ${c.message}`,u=c.location&&d&&aF(d,c.location.start.offset,c.location.end.offset),g=o.__v_emitter;g&&d&&g.emit("compile-error",{message:d,error:c.message,start:c.location&&c.location.start.offset,end:c.location&&c.location.end.offset,groupId:`translate:${i}`}),console.error(u?`${p}
1289
1289
  ${u}`:p)}else throw c},onCacheKey:c=>JN(n,i,c)}}function Pq(o){if(De(o))return o;if(o.loc&&o.loc.source)return o.loc.source}function $q(o,n,i,r){const{modifiers:l,pluralRules:s,messageResolver:c,fallbackLocale:d,fallbackWarn:p,missingWarn:u,fallbackContext:g}=o,h={locale:n,modifiers:l,pluralRules:s,messages:(m,y)=>{let k=c(i,m);if(k==null&&(g||y)){const[,,w]=H8(g||o,m,n,d,p,u);k=c(w,m)}if(De(k)||ei(k)){let w=!1;const v=z8(o,m,n,k,m,()=>{w=!0});return w?q8:v}else return Bo(k)?k:q8}};return o.processor&&(h.processor=o.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),bn(r.plural)&&(h.pluralIndex=r.plural),h}$F();const Mq="11.2.2";function Nq(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wa().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wa().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1)}const jn={UNEXPECTED_RETURN_TYPE:eq,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ul(o,...n){return Is(o,null,Se.env.NODE_ENV!=="production"?{messages:Fq,args:n}:void 0)}const Fq={[jn.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[jn.INVALID_ARGUMENT]:"Invalid argument",[jn.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[jn.NOT_INSTALLED]:"Need to install with `app.use` function",[jn.UNEXPECTED_ERROR]:"Unexpected error",[jn.REQUIRED_VALUE]:"Required in value: {0}",[jn.INVALID_VALUE]:"Invalid value",[jn.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[jn.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[jn.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[jn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},wu=or("__translateVNode"),ku=or("__datetimeParts"),ju=or("__numberParts"),xu=or("__enableEmitter"),Iu=or("__disableEmitter"),qq=or("__setPluralRules"),Z8=or("__injectWithOption"),Su=or("__dispose"),Li={FALLBACK_TO_ROOT:gq,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},Uq={[Li.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Li.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Li.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Li.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
1290
1290
  About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Li.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Li.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function L1(o,...n){return w1(Uq[o],...n)}function Hl(o){if(!bt(o)||ei(o))return o;for(const n in o)if(Vo(o,n))if(!n.includes("."))bt(o[n])&&Hl(o[n]);else{const i=n.split("."),r=i.length-1;let l=o,s=!1;for(let c=0;c<r;c++){if(i[c]==="__proto__")throw new Error(`unsafe key: ${i[c]}`);if(i[c]in l||(l[i[c]]=Et()),!bt(l[i[c]])){Se.env.NODE_ENV!=="production"&&Ai(L1(Li.IGNORE_OBJ_FLATTEN,{key:i[c]})),s=!0;break}l=l[i[c]]}if(s||(ei(l)?m8.includes(i[r])||delete o[n]:(l[i[r]]=o[n],delete o[n])),!ei(l)){const c=l[i[r]];bt(c)&&Hl(c)}}return o}function G8(o,n){const{messages:i,__i18n:r,messageResolver:l,flatJson:s}=n,c=yt(i)?i:on(r)?Et():{[o]:Et()};if(on(r)&&r.forEach(d=>{if("locale"in d&&"resource"in d){const{locale:p,resource:u}=d;p?(c[p]=c[p]||Et(),I1(u,c[p])):I1(u,c)}else De(d)&&I1(JSON.parse(d),c)}),l==null&&s)for(const d in c)Vo(c,d)&&Hl(c[d]);return c}function K8(o){return o.type}function Hq(o,n,i){let r=bt(n.messages)?n.messages:Et();"__i18nGlobal"in i&&(r=G8(o.locale.value,{messages:r,__i18n:i.__i18nGlobal}));const l=Object.keys(r);l.length&&l.forEach(s=>{o.mergeLocaleMessage(s,r[s])});{if(bt(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(c=>{o.mergeDateTimeFormat(c,n.datetimeFormats[c])})}if(bt(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(c=>{o.mergeNumberFormat(c,n.numberFormats[c])})}}}function W8(o){return a.createVNode(a.Text,null,o,0)}function Tu(){return"currentInstance"in r0?r0["currentInstance"]:r0.getCurrentInstance()}const Y8="__INTLIFY_META__",X8=()=>[],zq=()=>!1;let Q8=0;function J8(o){return((n,i,r,l)=>o(i,r,Tu()||void 0,l))}const Zq=()=>{const o=Tu();let n=null;return o&&(n=K8(o)[Y8])?{[Y8]:n}:null};function Gq(o={}){const{__root:n,__injectWithOption:i}=o,r=n===void 0,l=o.flatJson,s=nr?a.ref:a.shallowRef;let c=rn(o.inheritLocale)?o.inheritLocale:!0;const d=s(n&&c?n.locale.value:De(o.locale)?o.locale:A1),p=s(n&&c?n.fallbackLocale.value:De(o.fallbackLocale)||on(o.fallbackLocale)||yt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:d.value),u=s(G8(d.value,o)),g=s(yt(o.datetimeFormats)?o.datetimeFormats:{[d.value]:{}}),f=s(yt(o.numberFormats)?o.numberFormats:{[d.value]:{}});let h=n?n.missingWarn:rn(o.missingWarn)||k1(o.missingWarn)?o.missingWarn:!0,m=n?n.fallbackWarn:rn(o.fallbackWarn)||k1(o.fallbackWarn)?o.fallbackWarn:!0,y=n?n.fallbackRoot:rn(o.fallbackRoot)?o.fallbackRoot:!0,k=!!o.fallbackFormat,w=Ut(o.missing)?o.missing:null,C=Ut(o.missing)?J8(o.missing):null,v=Ut(o.postTranslation)?o.postTranslation:null,S=n?n.warnHtmlMessage:rn(o.warnHtmlMessage)?o.warnHtmlMessage:!0,x=!!o.escapeParameter;const I=n?n.modifiers:yt(o.modifiers)?o.modifiers:{};let O=o.pluralRules||n&&n.pluralRules,T;T=(()=>{r&&E8(null);const ie={version:Mq,locale:d.value,fallbackLocale:p.value,messages:u.value,modifiers:I,pluralRules:O,missing:C===null?void 0:C,missingWarn:h,fallbackWarn:m,fallbackFormat:k,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:S,escapeParameter:x,messageResolver:o.messageResolver,messageCompiler:o.messageCompiler,__meta:{framework:"vue"}};ie.datetimeFormats=g.value,ie.numberFormats=f.value,ie.__datetimeFormatters=yt(T)?T.__datetimeFormatters:void 0,ie.__numberFormatters=yt(T)?T.__numberFormatters:void 0,Se.env.NODE_ENV!=="production"&&(ie.__v_emitter=yt(T)?T.__v_emitter:void 0);const ue=jq(ie);return r&&E8(ue),ue})(),ql(T,d.value,p.value);function P(){return[d.value,p.value,u.value,g.value,f.value]}const z=a.computed({get:()=>d.value,set:ie=>{T.locale=ie,d.value=ie}}),R=a.computed({get:()=>p.value,set:ie=>{T.fallbackLocale=ie,p.value=ie,ql(T,d.value,ie)}}),_=a.computed(()=>u.value),G=a.computed(()=>g.value),V=a.computed(()=>f.value);function oe(){return Ut(v)?v:null}function ee(ie){v=ie,T.postTranslation=ie}function E(){return w}function U(ie){ie!==null&&(C=J8(ie)),w=ie,T.missing=C}function $(ie,ue){return ie!=="translate"||!ue.resolvedMessage}const N=(ie,ue,Me,Ye,Rt,L)=>{P();let b;try{Se.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=n?kq():void 0),b=ie(T)}finally{Se.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=void 0)}if(Me!=="translate exists"&&bn(b)&&b===E1||Me==="translate exists"&&!b){const[j,B]=ue();if(Se.env.NODE_ENV!=="production"&&n&&De(j)&&$(Me,B)&&(y&&(D1(m,j)||O8(h,j))&&Ai(L1(Li.FALLBACK_TO_ROOT,{key:j,type:Me})),Se.env.NODE_ENV!=="production")){const{__v_emitter:Z}=T;Z&&y&&Z.emit("fallback",{type:Me,key:j,to:"global",groupId:`${Me}:${j}`})}return n&&y?Ye(n):Rt(j)}else{if(L(b))return b;throw Ul(jn.UNEXPECTED_RETURN_TYPE)}};function Y(...ie){return N(ue=>Reflect.apply(U8,null,[ue,...ie]),()=>Cu(...ie),"translate",ue=>Reflect.apply(ue.t,ue,[...ie]),ue=>ue,ue=>De(ue))}function ae(...ie){const[ue,Me,Ye]=ie;if(Ye&&!bt(Ye))throw Ul(jn.INVALID_ARGUMENT);return Y(ue,Me,yn({resolvedMessage:!0},Ye||{}))}function J(...ie){return N(ue=>Reflect.apply(_8,null,[ue,...ie]),()=>yu(...ie),"datetime format",ue=>Reflect.apply(ue.d,ue,[...ie]),()=>O1,ue=>De(ue)||on(ue))}function A(...ie){return N(ue=>Reflect.apply($8,null,[ue,...ie]),()=>vu(...ie),"number format",ue=>Reflect.apply(ue.n,ue,[...ie]),()=>O1,ue=>De(ue)||on(ue))}function F(ie){return ie.map(ue=>De(ue)||bn(ue)||rn(ue)?W8(String(ue)):ue)}const de={normalize:F,interpolate:ie=>ie,type:"vnode"};function fe(...ie){return N(ue=>{let Me;const Ye=ue;try{Ye.processor=de,Me=Reflect.apply(U8,null,[Ye,...ie])}finally{Ye.processor=null}return Me},()=>Cu(...ie),"translate",ue=>ue[wu](...ie),ue=>[W8(ue)],ue=>on(ue))}function ve(...ie){return N(ue=>Reflect.apply($8,null,[ue,...ie]),()=>vu(...ie),"number format",ue=>ue[ju](...ie),X8,ue=>De(ue)||on(ue))}function K(...ie){return N(ue=>Reflect.apply(_8,null,[ue,...ie]),()=>yu(...ie),"datetime format",ue=>ue[ku](...ie),X8,ue=>De(ue)||on(ue))}function X(ie){O=ie,T.pluralRules=O}function re(ie,ue){return N(()=>{if(!ie)return!1;const Me=De(ue)?ue:d.value,Ye=he(Me),Rt=T.messageResolver(Ye,ie);return ei(Rt)||Bo(Rt)||De(Rt)},()=>[ie],"translate exists",Me=>Reflect.apply(Me.te,Me,[ie,ue]),zq,Me=>rn(Me))}function pe(ie){let ue=null;const Me=v8(T,p.value,d.value);for(let Ye=0;Ye<Me.length;Ye++){const Rt=u.value[Me[Ye]]||{},L=T.messageResolver(Rt,ie);if(L!=null){ue=L;break}}return ue}function Ce(ie){const ue=pe(ie);return ue??(n?n.tm(ie)||{}:{})}function he(ie){return u.value[ie]||{}}function me(ie,ue){if(l){const Me={[ie]:ue};for(const Ye in Me)Vo(Me,Ye)&&Hl(Me[Ye]);ue=Me[ie]}u.value[ie]=ue,T.messages=u.value}function be(ie,ue){u.value[ie]=u.value[ie]||{};const Me={[ie]:ue};if(l)for(const Ye in Me)Vo(Me,Ye)&&Hl(Me[Ye]);ue=Me[ie],I1(ue,u.value[ie]),T.messages=u.value}function H(ie){return g.value[ie]||{}}function W(ie,ue){g.value[ie]=ue,T.datetimeFormats=g.value,P8(T,ie,ue)}function le(ie,ue){g.value[ie]=yn(g.value[ie]||{},ue),T.datetimeFormats=g.value,P8(T,ie,ue)}function we(ie){return f.value[ie]||{}}function qe(ie,ue){f.value[ie]=ue,T.numberFormats=f.value,N8(T,ie,ue)}function Ne(ie,ue){f.value[ie]=yn(f.value[ie]||{},ue),T.numberFormats=f.value,N8(T,ie,ue)}Q8++,n&&nr&&(a.watch(n.locale,ie=>{c&&(d.value=ie,T.locale=ie,ql(T,d.value,p.value))}),a.watch(n.fallbackLocale,ie=>{c&&(p.value=ie,T.fallbackLocale=ie,ql(T,d.value,p.value))}));const Le={id:Q8,locale:z,fallbackLocale:R,get inheritLocale(){return c},set inheritLocale(ie){c=ie,ie&&n&&(d.value=n.locale.value,p.value=n.fallbackLocale.value,ql(T,d.value,p.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:_,get modifiers(){return I},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(ie){h=ie,T.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(ie){m=ie,T.fallbackWarn=m},get fallbackRoot(){return y},set fallbackRoot(ie){y=ie},get fallbackFormat(){return k},set fallbackFormat(ie){k=ie,T.fallbackFormat=k},get warnHtmlMessage(){return S},set warnHtmlMessage(ie){S=ie,T.warnHtmlMessage=ie},get escapeParameter(){return x},set escapeParameter(ie){x=ie,T.escapeParameter=ie},t:Y,getLocaleMessage:he,setLocaleMessage:me,mergeLocaleMessage:be,getPostTranslationHandler:oe,setPostTranslationHandler:ee,getMissingHandler:E,setMissingHandler:U,[qq]:X};return Le.datetimeFormats=G,Le.numberFormats=V,Le.rt=ae,Le.te=re,Le.tm=Ce,Le.d=J,Le.n=A,Le.getDateTimeFormat=H,Le.setDateTimeFormat=W,Le.mergeDateTimeFormat=le,Le.getNumberFormat=we,Le.setNumberFormat=qe,Le.mergeNumberFormat=Ne,Le[Z8]=i,Le[wu]=fe,Le[ku]=K,Le[ju]=ve,Se.env.NODE_ENV!=="production"&&(Le[xu]=ie=>{T.__v_emitter=ie},Le[Iu]=()=>{T.__v_emitter=void 0}),Le}function V8(o,n){}const Eu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:o=>o==="parent"||o==="global",default:"parent"},i18n:{type:Object}};function Kq({slots:o},n){return n.length===1&&n[0]==="default"?(o.default?o.default():[]).reduce((r,l)=>[...r,...l.type===a.Fragment?l.children:[l]],[]):n.reduce((i,r)=>{const l=o[r];return l&&(i[r]=l()),i},Et())}function ey(){return a.Fragment}yn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:o=>bn(o)||!isNaN(o)}},Eu);function Wq(o){return on(o)&&!De(o[0])}function ty(o,n,i,r){const{slots:l,attrs:s}=n;return()=>{const c={part:!0};let d=Et();o.locale&&(c.locale=o.locale),De(o.format)?c.key=o.format:bt(o.format)&&(De(o.format.key)&&(c.key=o.format.key),d=Object.keys(o.format).reduce((h,m)=>i.includes(m)?yn(Et(),h,{[m]:o.format[m]}):h,Et()));const p=r(o.value,c,d);let u=[c.key];on(p)?u=p.map((h,m)=>{const y=l[h.type],k=y?y({[h.type]:h.value,index:m,parts:p}):[h.value];return Wq(k)&&(k[0].key=`${h.type}-${m}`),k}):De(p)&&(u=[p]);const g=yn(Et(),s),f=De(o.tag)||bt(o.tag)?o.tag:ey();return a.h(f,g,u)}}yn({value:{type:Number,required:!0},format:{type:[String,Object]}},Eu);const Yq=or("global-vue-i18n");function ti(o={}){const n=Tu();if(n==null)throw Ul(jn.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ul(jn.NOT_INSTALLED);const i=Xq(n),r=Jq(i),l=K8(n),s=Qq(o,l);if(s==="global")return Hq(r,o,l),r;if(s==="parent"){let p=Vq(i,n,o.__useComponent);return p==null&&(Se.env.NODE_ENV!=="production"&&Ai(L1(Li.NOT_FOUND_PARENT_SCOPE)),p=r),p}const c=i;let d=c.__getInstance(n);if(d==null){const p=yn({},o);"__i18n"in l&&(p.__i18n=l.__i18n),r&&(p.__root=r),d=Gq(p),c.__composerExtend&&(d[Su]=c.__composerExtend(d)),tU(c,n,d),c.__setInstance(n,d)}else Se.env.NODE_ENV!=="production"&&s==="local"&&Ai(L1(Li.DUPLICATE_USE_I18N_CALLING));return d}function Xq(o){const n=a.inject(o.isCE?Yq:o.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ul(o.isCE?jn.NOT_INSTALLED_WITH_PROVIDE:jn.UNEXPECTED_ERROR);return n}function Qq(o,n){return j1(o)?"__i18n"in n?"local":"global":o.useScope?o.useScope:"local"}function Jq(o){return o.mode==="composition"?o.global:o.global.__composer}function Vq(o,n,i=!1){let r=null;const l=n.root;let s=eU(n,i);for(;s!=null;){const c=o;if(o.mode==="composition")r=c.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const d=c.__getInstance(s);d!=null&&(r=d.__composer,i&&r&&!r[Z8]&&(r=null))}if(r!=null||l===s)break;s=s.parent}return r}function eU(o,n=!1){return o==null?null:n&&o.vnode.ctx||o.parent}function tU(o,n,i){let r=null;a.onMounted(()=>{if(Se.env.NODE_ENV!=="production"){n.__VUE_I18N__=i,r=sF();const l=i;l[xu]&&l[xu](r),r.on("*",V8)}},n),a.onUnmounted(()=>{const l=i;Se.env.NODE_ENV!=="production"&&(r&&r.off("*",V8),l[Iu]&&l[Iu](),delete n.__VUE_I18N__),o.__deleteInstance(n);const s=l[Su];s&&(s(),delete l[Su])},n)}if(yn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Eu),Nq(),bq(YF),yq(uq),vq(v8),Se.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const o=wa();o.__INTLIFY__=!0,XF(o.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}Se.env.NODE_ENV;const Er=Object.freeze({ASC:"asc",DESC:"desc",NONE:null}),ny=o=>{switch(o){case Er.ASC:return Er.DESC;case Er.DESC:return Er.NONE;default:return Er.ASC}},nU=Object.freeze({[Ue.ADD]:"plus",[Ue.DELETE]:"bucket",[Ue.DOWNLOAD]:"download",[Ue.EDIT]:"edit",[Ue.HISTORY]:"history",[Ue.REFRESH]:"refresh",[Ue.EXPAND]:"expand",[Ue.COLLAPSE]:"collapse",[Ue.FILTERS]:"filter",[Ue.COLUMNS]:"column-select",[Ue.VARIABLES]:"variable-select",[Ue.CLOSE]:"close--filled",[Ue.CANCEL]:"close",[Ue.CLEAR]:"clear",[Ue.ADD_FILTER]:"add-filter",[Ue.SAVE]:"save",[Ue.SAVE_PRESET]:"save",[Ue.APPLY_PRESET]:"load-preset",[Ue.ADD_CONTACT]:"add-contact",[Ue.DOWNLOAD_PDF]:"download-pdf",[Ue.CHAT]:"chat"}),oy={__name:"wt-icon-action",props:{action:{type:String,required:!0,validator:o=>Object.values([Ue.DELETE,Ue.EDIT,Ue.ADD,Ue.HISTORY,Ue.DOWNLOAD,Ue.REFRESH,Ue.SAVE,Ue.CANCEL,Ue.SAVE_PRESET,Ue.APPLY_PRESET,Ue.ADD_CONTACT,Ue.DOWNLOAD_PDF,Ue.CHAT,Ue.SORT]).includes(o)},disabled:{type:Boolean,default:!1},size:{type:String,default:"md",required:!1},"sort:order":{type:String,default:null,validator:o=>Object.values(Er).includes(o)}},emits:["click","mousedown"],setup(o,{emit:n}){const i=o,r=n,{t:l}=ti(),s=a.computed(()=>{if(i.action===Ue.SORT)return{icon:i["sort:order"]===Er.DESC?"sort-desc":"sort-asc",hint:"webitelUI.iconAction.hints.sort",hintParams:{order:i["sort:order"]}};const c=nU[i.action];return c?{icon:c,hint:`webitelUI.iconAction.hints.${i.action}`}:(console.error(`Unknown action for wt-icon-action component: ${i.action}`),{icon:"edit",hint:i.action})});return(c,d)=>{const p=a.resolveComponent("wt-icon-btn"),u=a.resolveDirective("tooltip");return a.withDirectives((a.openBlock(),a.createBlock(p,{disabled:o.disabled,icon:s.value.icon,size:o.size,onClick:d[0]||(d[0]=g=>r("click",g)),onMousedown:d[1]||(d[1]=g=>r("mousedown",g))},null,8,["disabled","icon","size"])),[[u,a.unref(l)(s.value.hint,s.value.hintParams)]])}}},ja=xe(a.defineComponent({__name:"wt-icon-btn",props:{disabled:{type:Boolean,default:!1}},emits:["click","mousedown"],setup(o,{emit:n}){const i=n;return(r,l)=>(a.openBlock(),a.createElementBlock("button",{class:a.normalizeClass([{"wt-icon-btn--disabled":o.disabled},"wt-icon-btn"]),type:"button",onClick:l[0]||(l[0]=s=>i("click",s)),onMousedown:l[1]||(l[1]=s=>i("mousedown",s))},[a.createVNode(Ml,a.mergeProps({...r.$attrs,class:""},{disabled:o.disabled}),null,16,["disabled"])],34))}}),[["__scopeId","data-v-40408333"]]),oU={name:"WtIndicator",props:{color:{type:String,default:"secondary",options:["primary","secondary","disabled","success","error","transfer","break-out","info","final-status","other-status","initial-status"]},text:{type:[String,Number]},size:{type:String,default:"md",options:["sm","md"]}},computed:{isText(){return this.text!==void 0&&this.text!==null&&this.text!==""}}};function iU(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[`wt-indicator--size-${i.size}`],"wt-indicator typo-body-1"])},[a.createElementVNode("span",{class:a.normalizeClass([[`wt-indicator__indicator--${i.color}`],"wt-indicator__indicator"])},null,2),s.isText?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass([i.size==="sm"?"typo-caption":"typo-body-1","wt-indicator__text"])},a.toDisplayString(i.text),3)):a.createCommentVNode("",!0)],2)}const rU=xe(oU,[["render",iU],["__scopeId","data-v-4a646a2c"]]);var Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zl(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function aU(o){if(Object.prototype.hasOwnProperty.call(o,"__esModule"))return o;var n=o.default;if(typeof n=="function"){var i=function r(){var l=!1;try{l=this instanceof r}catch{}return l?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(o).forEach(function(r){var l=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(i,r,l.get?l:{enumerable:!0,get:function(){return o[r]}})}),i}var Au,iy;function Es(){if(iy)return Au;iy=1;var o=Array.isArray;return Au=o,Au}var Ou,ry;function ay(){if(ry)return Ou;ry=1;var o=typeof Ri=="object"&&Ri&&Ri.Object===Object&&Ri;return Ou=o,Ou}var Du,sy;function ni(){if(sy)return Du;sy=1;var o=ay(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=o||n||Function("return this")();return Du=i,Du}var Lu,ly;function R1(){if(ly)return Lu;ly=1;var o=ni(),n=o.Symbol;return Lu=n,Lu}var Ru,cy;function sU(){if(cy)return Ru;cy=1;var o=R1(),n=Object.prototype,i=n.hasOwnProperty,r=n.toString,l=o?o.toStringTag:void 0;function s(c){var d=i.call(c,l),p=c[l];try{c[l]=void 0;var u=!0}catch{}var g=r.call(c);return u&&(d?c[l]=p:delete c[l]),g}return Ru=s,Ru}var _u,dy;function lU(){if(dy)return _u;dy=1;var o=Object.prototype,n=o.toString;function i(r){return n.call(r)}return _u=i,_u}var Bu,py;function Zl(){if(py)return Bu;py=1;var o=R1(),n=sU(),i=lU(),r="[object Null]",l="[object Undefined]",s=o?o.toStringTag:void 0;function c(d){return d==null?d===void 0?l:r:s&&s in Object(d)?n(d):i(d)}return Bu=c,Bu}var Pu,uy;function As(){if(uy)return Pu;uy=1;function o(n){return n!=null&&typeof n=="object"}return Pu=o,Pu}var $u,gy;function _1(){if(gy)return $u;gy=1;var o=Zl(),n=As(),i="[object Symbol]";function r(l){return typeof l=="symbol"||n(l)&&o(l)==i}return $u=r,$u}var Mu,fy;function cU(){if(fy)return Mu;fy=1;var o=Es(),n=_1(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function l(s,c){if(o(s))return!1;var d=typeof s;return d=="number"||d=="symbol"||d=="boolean"||s==null||n(s)?!0:r.test(s)||!i.test(s)||c!=null&&s in Object(c)}return Mu=l,Mu}var Nu,hy;function ar(){if(hy)return Nu;hy=1;function o(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}return Nu=o,Nu}var Fu,my;function by(){if(my)return Fu;my=1;var o=Zl(),n=ar(),i="[object AsyncFunction]",r="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!n(d))return!1;var p=o(d);return p==r||p==l||p==i||p==s}return Fu=c,Fu}var qu,yy;function dU(){if(yy)return qu;yy=1;var o=ni(),n=o["__core-js_shared__"];return qu=n,qu}var Uu,vy;function pU(){if(vy)return Uu;vy=1;var o=dU(),n=(function(){var r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function i(r){return!!n&&n in r}return Uu=i,Uu}var Hu,Cy;function wy(){if(Cy)return Hu;Cy=1;var o=Function.prototype,n=o.toString;function i(r){if(r!=null){try{return n.call(r)}catch{}try{return r+""}catch{}}return""}return Hu=i,Hu}var zu,ky;function uU(){if(ky)return zu;ky=1;var o=by(),n=pU(),i=ar(),r=wy(),l=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,p=c.toString,u=d.hasOwnProperty,g=RegExp("^"+p.call(u).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!i(h)||n(h))return!1;var m=o(h)?g:s;return m.test(r(h))}return zu=f,zu}var Zu,jy;function gU(){if(jy)return Zu;jy=1;function o(n,i){return n?.[i]}return Zu=o,Zu}var Gu,xy;function xa(){if(xy)return Gu;xy=1;var o=uU(),n=gU();function i(r,l){var s=n(r,l);return o(s)?s:void 0}return Gu=i,Gu}var Ku,Iy;function B1(){if(Iy)return Ku;Iy=1;var o=xa(),n=o(Object,"create");return Ku=n,Ku}var Wu,Sy;function fU(){if(Sy)return Wu;Sy=1;var o=B1();function n(){this.__data__=o?o(null):{},this.size=0}return Wu=n,Wu}var Yu,Ty;function hU(){if(Ty)return Yu;Ty=1;function o(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}return Yu=o,Yu}var Xu,Ey;function mU(){if(Ey)return Xu;Ey=1;var o=B1(),n="__lodash_hash_undefined__",i=Object.prototype,r=i.hasOwnProperty;function l(s){var c=this.__data__;if(o){var d=c[s];return d===n?void 0:d}return r.call(c,s)?c[s]:void 0}return Xu=l,Xu}var Qu,Ay;function bU(){if(Ay)return Qu;Ay=1;var o=B1(),n=Object.prototype,i=n.hasOwnProperty;function r(l){var s=this.__data__;return o?s[l]!==void 0:i.call(s,l)}return Qu=r,Qu}var Ju,Oy;function yU(){if(Oy)return Ju;Oy=1;var o=B1(),n="__lodash_hash_undefined__";function i(r,l){var s=this.__data__;return this.size+=this.has(r)?0:1,s[r]=o&&l===void 0?n:l,this}return Ju=i,Ju}var Vu,Dy;function vU(){if(Dy)return Vu;Dy=1;var o=fU(),n=hU(),i=mU(),r=bU(),l=yU();function s(c){var d=-1,p=c==null?0:c.length;for(this.clear();++d<p;){var u=c[d];this.set(u[0],u[1])}}return s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=r,s.prototype.set=l,Vu=s,Vu}var eg,Ly;function CU(){if(Ly)return eg;Ly=1;function o(){this.__data__=[],this.size=0}return eg=o,eg}var tg,Ry;function _y(){if(Ry)return tg;Ry=1;function o(n,i){return n===i||n!==n&&i!==i}return tg=o,tg}var ng,By;function P1(){if(By)return ng;By=1;var o=_y();function n(i,r){for(var l=i.length;l--;)if(o(i[l][0],r))return l;return-1}return ng=n,ng}var og,Py;function wU(){if(Py)return og;Py=1;var o=P1(),n=Array.prototype,i=n.splice;function r(l){var s=this.__data__,c=o(s,l);if(c<0)return!1;var d=s.length-1;return c==d?s.pop():i.call(s,c,1),--this.size,!0}return og=r,og}var ig,$y;function kU(){if($y)return ig;$y=1;var o=P1();function n(i){var r=this.__data__,l=o(r,i);return l<0?void 0:r[l][1]}return ig=n,ig}var rg,My;function jU(){if(My)return rg;My=1;var o=P1();function n(i){return o(this.__data__,i)>-1}return rg=n,rg}var ag,Ny;function xU(){if(Ny)return ag;Ny=1;var o=P1();function n(i,r){var l=this.__data__,s=o(l,i);return s<0?(++this.size,l.push([i,r])):l[s][1]=r,this}return ag=n,ag}var sg,Fy;function $1(){if(Fy)return sg;Fy=1;var o=CU(),n=wU(),i=kU(),r=jU(),l=xU();function s(c){var d=-1,p=c==null?0:c.length;for(this.clear();++d<p;){var u=c[d];this.set(u[0],u[1])}}return s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=r,s.prototype.set=l,sg=s,sg}var lg,qy;function cg(){if(qy)return lg;qy=1;var o=xa(),n=ni(),i=o(n,"Map");return lg=i,lg}var dg,Uy;function IU(){if(Uy)return dg;Uy=1;var o=vU(),n=$1(),i=cg();function r(){this.size=0,this.__data__={hash:new o,map:new(i||n),string:new o}}return dg=r,dg}var pg,Hy;function SU(){if(Hy)return pg;Hy=1;function o(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}return pg=o,pg}var ug,zy;function M1(){if(zy)return ug;zy=1;var o=SU();function n(i,r){var l=i.__data__;return o(r)?l[typeof r=="string"?"string":"hash"]:l.map}return ug=n,ug}var gg,Zy;function TU(){if(Zy)return gg;Zy=1;var o=M1();function n(i){var r=o(this,i).delete(i);return this.size-=r?1:0,r}return gg=n,gg}var fg,Gy;function EU(){if(Gy)return fg;Gy=1;var o=M1();function n(i){return o(this,i).get(i)}return fg=n,fg}var hg,Ky;function AU(){if(Ky)return hg;Ky=1;var o=M1();function n(i){return o(this,i).has(i)}return hg=n,hg}var mg,Wy;function OU(){if(Wy)return mg;Wy=1;var o=M1();function n(i,r){var l=o(this,i),s=l.size;return l.set(i,r),this.size+=l.size==s?0:1,this}return mg=n,mg}var bg,Yy;function Xy(){if(Yy)return bg;Yy=1;var o=IU(),n=TU(),i=EU(),r=AU(),l=OU();function s(c){var d=-1,p=c==null?0:c.length;for(this.clear();++d<p;){var u=c[d];this.set(u[0],u[1])}}return s.prototype.clear=o,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=r,s.prototype.set=l,bg=s,bg}var yg,Qy;function DU(){if(Qy)return yg;Qy=1;var o=Xy(),n="Expected a function";function i(r,l){if(typeof r!="function"||l!=null&&typeof l!="function")throw new TypeError(n);var s=function(){var c=arguments,d=l?l.apply(this,c):c[0],p=s.cache;if(p.has(d))return p.get(d);var u=r.apply(this,c);return s.cache=p.set(d,u)||p,u};return s.cache=new(i.Cache||o),s}return i.Cache=o,yg=i,yg}var vg,Jy;function LU(){if(Jy)return vg;Jy=1;var o=DU(),n=500;function i(r){var l=o(r,function(c){return s.size===n&&s.clear(),c}),s=l.cache;return l}return vg=i,vg}var Cg,Vy;function RU(){if(Vy)return Cg;Vy=1;var o=LU(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,r=o(function(l){var s=[];return l.charCodeAt(0)===46&&s.push(""),l.replace(n,function(c,d,p,u){s.push(p?u.replace(i,"$1"):d||c)}),s});return Cg=r,Cg}var wg,ev;function _U(){if(ev)return wg;ev=1;function o(n,i){for(var r=-1,l=n==null?0:n.length,s=Array(l);++r<l;)s[r]=i(n[r],r,n);return s}return wg=o,wg}var kg,tv;function BU(){if(tv)return kg;tv=1;var o=R1(),n=_U(),i=Es(),r=_1(),l=o?o.prototype:void 0,s=l?l.toString:void 0;function c(d){if(typeof d=="string")return d;if(i(d))return n(d,c)+"";if(r(d))return s?s.call(d):"";var p=d+"";return p=="0"&&1/d==-1/0?"-0":p}return kg=c,kg}var jg,nv;function PU(){if(nv)return jg;nv=1;var o=BU();function n(i){return i==null?"":o(i)}return jg=n,jg}var xg,ov;function iv(){if(ov)return xg;ov=1;var o=Es(),n=cU(),i=RU(),r=PU();function l(s,c){return o(s)?s:n(s,c)?[s]:i(r(s))}return xg=l,xg}var Ig,rv;function av(){if(rv)return Ig;rv=1;var o=_1();function n(i){if(typeof i=="string"||o(i))return i;var r=i+"";return r=="0"&&1/i==-1/0?"-0":r}return Ig=n,Ig}var Sg,sv;function $U(){if(sv)return Sg;sv=1;var o=iv(),n=av();function i(r,l){l=o(l,r);for(var s=0,c=l.length;r!=null&&s<c;)r=r[n(l[s++])];return s&&s==c?r:void 0}return Sg=i,Sg}var Tg,lv;function MU(){if(lv)return Tg;lv=1;var o=$U();function n(i,r,l){var s=i==null?void 0:o(i,r);return s===void 0?l:s}return Tg=n,Tg}MU(),Se.env.NODE_ENV,Se.env.NODE_ENV,Se.env.NODE_ENV;const NU=Symbol(Se.env.NODE_ENV!=="production"?"router":"");Se.env.NODE_ENV,Se.env.NODE_ENV;function FU(){return a.inject(NU)}function cv(o,n){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);n&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable})),i.push.apply(i,r)}return i}function _i(o){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?cv(Object(i),!0).forEach(function(r){qU(o,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):cv(Object(i)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(i,r))})}return o}function N1(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N1=function(n){return typeof n}:N1=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},N1(o)}function qU(o,n,i){return n in o?Object.defineProperty(o,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[n]=i,o}function sr(){return sr=Object.assign||function(o){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(o[r]=i[r])}return o},sr.apply(this,arguments)}function UU(o,n){if(o==null)return{};var i={},r=Object.keys(o),l,s;for(s=0;s<r.length;s++)l=r[s],!(n.indexOf(l)>=0)&&(i[l]=o[l]);return i}function HU(o,n){if(o==null)return{};var i=UU(o,n),r,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);for(l=0;l<s.length;l++)r=s[l],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(o,r)&&(i[r]=o[r])}return i}var zU="1.15.6";function lr(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var cr=lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Gl=lr(/Edge/i),dv=lr(/firefox/i),Kl=lr(/safari/i)&&!lr(/chrome/i)&&!lr(/android/i),Eg=lr(/iP(ad|od|hone)/i),pv=lr(/chrome/i)&&lr(/android/i),uv={capture:!1,passive:!1};function ft(o,n,i){o.addEventListener(n,i,!cr&&uv)}function ut(o,n,i){o.removeEventListener(n,i,!cr&&uv)}function F1(o,n){if(n){if(n[0]===">"&&(n=n.substring(1)),o)try{if(o.matches)return o.matches(n);if(o.msMatchesSelector)return o.msMatchesSelector(n);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(n)}catch{return!1}return!1}}function gv(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function oi(o,n,i,r){if(o){i=i||document;do{if(n!=null&&(n[0]===">"?o.parentNode===i&&F1(o,n):F1(o,n))||r&&o===i)return o;if(o===i)break}while(o=gv(o))}return null}var fv=/\s+/g;function vo(o,n,i){if(o&&n)if(o.classList)o.classList[i?"add":"remove"](n);else{var r=(" "+o.className+" ").replace(fv," ").replace(" "+n+" "," ");o.className=(r+(i?" "+n:"")).replace(fv," ")}}function Je(o,n,i){var r=o&&o.style;if(r){if(i===void 0)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(i=o.currentStyle),n===void 0?i:i[n];!(n in r)&&n.indexOf("webkit")===-1&&(n="-webkit-"+n),r[n]=i+(typeof i=="string"?"":"px")}}function Os(o,n){var i="";if(typeof o=="string")i=o;else do{var r=Je(o,"transform");r&&r!=="none"&&(i=r+" "+i)}while(!n&&(o=o.parentNode));var l=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return l&&new l(i)}function hv(o,n,i){if(o){var r=o.getElementsByTagName(n),l=0,s=r.length;if(i)for(;l<s;l++)i(r[l],l);return r}return[]}function Bi(){var o=document.scrollingElement;return o||document.documentElement}function sn(o,n,i,r,l){if(!(!o.getBoundingClientRect&&o!==window)){var s,c,d,p,u,g,f;if(o!==window&&o.parentNode&&o!==Bi()?(s=o.getBoundingClientRect(),c=s.top,d=s.left,p=s.bottom,u=s.right,g=s.height,f=s.width):(c=0,d=0,p=window.innerHeight,u=window.innerWidth,g=window.innerHeight,f=window.innerWidth),(n||i)&&o!==window&&(l=l||o.parentNode,!cr))do if(l&&l.getBoundingClientRect&&(Je(l,"transform")!=="none"||i&&Je(l,"position")!=="static")){var h=l.getBoundingClientRect();c-=h.top+parseInt(Je(l,"border-top-width")),d-=h.left+parseInt(Je(l,"border-left-width")),p=c+s.height,u=d+s.width;break}while(l=l.parentNode);if(r&&o!==window){var m=Os(l||o),y=m&&m.a,k=m&&m.d;m&&(c/=k,d/=y,f/=y,g/=k,p=c+g,u=d+f)}return{top:c,left:d,bottom:p,right:u,width:f,height:g}}}function mv(o,n,i){for(var r=Ar(o,!0),l=sn(o)[n];r;){var s=sn(r)[i],c=void 0;if(c=l>=s,!c)return r;if(r===Bi())break;r=Ar(r,!1)}return!1}function Ds(o,n,i,r){for(var l=0,s=0,c=o.children;s<c.length;){if(c[s].style.display!=="none"&&c[s]!==tt.ghost&&(r||c[s]!==tt.dragged)&&oi(c[s],i.draggable,o,!1)){if(l===n)return c[s];l++}s++}return null}function Ag(o,n){for(var i=o.lastElementChild;i&&(i===tt.ghost||Je(i,"display")==="none"||n&&!F1(i,n));)i=i.previousElementSibling;return i||null}function Po(o,n){var i=0;if(!o||!o.parentNode)return-1;for(;o=o.previousElementSibling;)o.nodeName.toUpperCase()!=="TEMPLATE"&&o!==tt.clone&&(!n||F1(o,n))&&i++;return i}function bv(o){var n=0,i=0,r=Bi();if(o)do{var l=Os(o),s=l.a,c=l.d;n+=o.scrollLeft*s,i+=o.scrollTop*c}while(o!==r&&(o=o.parentNode));return[n,i]}function ZU(o,n){for(var i in o)if(o.hasOwnProperty(i)){for(var r in n)if(n.hasOwnProperty(r)&&n[r]===o[i][r])return Number(i)}return-1}function Ar(o,n){if(!o||!o.getBoundingClientRect)return Bi();var i=o,r=!1;do if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var l=Je(i);if(i.clientWidth<i.scrollWidth&&(l.overflowX=="auto"||l.overflowX=="scroll")||i.clientHeight<i.scrollHeight&&(l.overflowY=="auto"||l.overflowY=="scroll")){if(!i.getBoundingClientRect||i===document.body)return Bi();if(r||n)return i;r=!0}}while(i=i.parentNode);return Bi()}function GU(o,n){if(o&&n)for(var i in n)n.hasOwnProperty(i)&&(o[i]=n[i]);return o}function Og(o,n){return Math.round(o.top)===Math.round(n.top)&&Math.round(o.left)===Math.round(n.left)&&Math.round(o.height)===Math.round(n.height)&&Math.round(o.width)===Math.round(n.width)}var Wl;function yv(o,n){return function(){if(!Wl){var i=arguments,r=this;i.length===1?o.call(r,i[0]):o.apply(r,i),Wl=setTimeout(function(){Wl=void 0},n)}}}function KU(){clearTimeout(Wl),Wl=void 0}function vv(o,n,i){o.scrollLeft+=n,o.scrollTop+=i}function Cv(o){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(o).cloneNode(!0):i?i(o).clone(!0)[0]:o.cloneNode(!0)}function wv(o,n,i){var r={};return Array.from(o.children).forEach(function(l){var s,c,d,p;if(!(!oi(l,n.draggable,o,!1)||l.animated||l===i)){var u=sn(l);r.left=Math.min((s=r.left)!==null&&s!==void 0?s:1/0,u.left),r.top=Math.min((c=r.top)!==null&&c!==void 0?c:1/0,u.top),r.right=Math.max((d=r.right)!==null&&d!==void 0?d:-1/0,u.right),r.bottom=Math.max((p=r.bottom)!==null&&p!==void 0?p:-1/0,u.bottom)}}),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var lo="Sortable"+new Date().getTime();function WU(){var o=[],n;return{captureAnimationState:function(){if(o=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(l){if(!(Je(l,"display")==="none"||l===tt.ghost)){o.push({target:l,rect:sn(l)});var s=_i({},o[o.length-1].rect);if(l.thisAnimationDuration){var c=Os(l,!0);c&&(s.top-=c.f,s.left-=c.e)}l.fromRect=s}})}},addAnimationState:function(r){o.push(r)},removeAnimationState:function(r){o.splice(ZU(o,{target:r}),1)},animateAll:function(r){var l=this;if(!this.options.animation){clearTimeout(n),typeof r=="function"&&r();return}var s=!1,c=0;o.forEach(function(d){var p=0,u=d.target,g=u.fromRect,f=sn(u),h=u.prevFromRect,m=u.prevToRect,y=d.rect,k=Os(u,!0);k&&(f.top-=k.f,f.left-=k.e),u.toRect=f,u.thisAnimationDuration&&Og(h,f)&&!Og(g,f)&&(y.top-f.top)/(y.left-f.left)===(g.top-f.top)/(g.left-f.left)&&(p=XU(y,h,m,l.options)),Og(f,g)||(u.prevFromRect=g,u.prevToRect=f,p||(p=l.options.animation),l.animate(u,y,f,p)),p&&(s=!0,c=Math.max(c,p),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},p),u.thisAnimationDuration=p)}),clearTimeout(n),s?n=setTimeout(function(){typeof r=="function"&&r()},c):typeof r=="function"&&r(),o=[]},animate:function(r,l,s,c){if(c){Je(r,"transition",""),Je(r,"transform","");var d=Os(this.el),p=d&&d.a,u=d&&d.d,g=(l.left-s.left)/(p||1),f=(l.top-s.top)/(u||1);r.animatingX=!!g,r.animatingY=!!f,Je(r,"transform","translate3d("+g+"px,"+f+"px,0)"),this.forRepaintDummy=YU(r),Je(r,"transition","transform "+c+"ms"+(this.options.easing?" "+this.options.easing:"")),Je(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Je(r,"transition",""),Je(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},c)}}}}function YU(o){return o.offsetWidth}function XU(o,n,i,r){return Math.sqrt(Math.pow(n.top-o.top,2)+Math.pow(n.left-o.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*r.animation}var Ls=[],Dg={initializeByDefault:!0},Yl={mount:function(n){for(var i in Dg)Dg.hasOwnProperty(i)&&!(i in n)&&(n[i]=Dg[i]);Ls.forEach(function(r){if(r.pluginName===n.pluginName)throw"Sortable: Cannot mount plugin ".concat(n.pluginName," more than once")}),Ls.push(n)},pluginEvent:function(n,i,r){var l=this;this.eventCanceled=!1,r.cancel=function(){l.eventCanceled=!0};var s=n+"Global";Ls.forEach(function(c){i[c.pluginName]&&(i[c.pluginName][s]&&i[c.pluginName][s](_i({sortable:i},r)),i.options[c.pluginName]&&i[c.pluginName][n]&&i[c.pluginName][n](_i({sortable:i},r)))})},initializePlugins:function(n,i,r,l){Ls.forEach(function(d){var p=d.pluginName;if(!(!n.options[p]&&!d.initializeByDefault)){var u=new d(n,i,n.options);u.sortable=n,u.options=n.options,n[p]=u,sr(r,u.defaults)}});for(var s in n.options)if(n.options.hasOwnProperty(s)){var c=this.modifyOption(n,s,n.options[s]);typeof c<"u"&&(n.options[s]=c)}},getEventProperties:function(n,i){var r={};return Ls.forEach(function(l){typeof l.eventProperties=="function"&&sr(r,l.eventProperties.call(i[l.pluginName],n))}),r},modifyOption:function(n,i,r){var l;return Ls.forEach(function(s){n[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(l=s.optionListeners[i].call(n[s.pluginName],r))}),l}};function QU(o){var n=o.sortable,i=o.rootEl,r=o.name,l=o.targetEl,s=o.cloneEl,c=o.toEl,d=o.fromEl,p=o.oldIndex,u=o.newIndex,g=o.oldDraggableIndex,f=o.newDraggableIndex,h=o.originalEvent,m=o.putSortable,y=o.extraEventProperties;if(n=n||i&&i[lo],!!n){var k,w=n.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!cr&&!Gl?k=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(k=document.createEvent("Event"),k.initEvent(r,!0,!0)),k.to=c||i,k.from=d||i,k.item=l||i,k.clone=s,k.oldIndex=p,k.newIndex=u,k.oldDraggableIndex=g,k.newDraggableIndex=f,k.originalEvent=h,k.pullMode=m?m.lastPutMode:void 0;var v=_i(_i({},y),Yl.getEventProperties(r,n));for(var S in v)k[S]=v[S];i&&i.dispatchEvent(k),w[C]&&w[C].call(n,k)}}var JU=["evt"],co=function(n,i){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=r.evt,s=HU(r,JU);Yl.pluginEvent.bind(tt)(n,i,_i({dragEl:Ie,parentEl:Jt,ghostEl:ot,rootEl:Ht,nextEl:Ia,lastDownEl:q1,cloneEl:Kt,cloneHidden:Or,dragStarted:Ql,putSortable:xn,activeSortable:tt.active,originalEvent:l,oldIndex:Rs,oldDraggableIndex:Xl,newIndex:Co,newDraggableIndex:Dr,hideGhostForTarget:Ev,unhideGhostForTarget:Av,cloneNowHidden:function(){Or=!0},cloneNowShown:function(){Or=!1},dispatchSortableEvent:function(d){Wn({sortable:i,name:d,originalEvent:l})}},s))};function Wn(o){QU(_i({putSortable:xn,cloneEl:Kt,targetEl:Ie,rootEl:Ht,oldIndex:Rs,oldDraggableIndex:Xl,newIndex:Co,newDraggableIndex:Dr},o))}var Ie,Jt,ot,Ht,Ia,q1,Kt,Or,Rs,Co,Xl,Dr,U1,xn,_s=!1,H1=!1,z1=[],Sa,ii,Lg,Rg,kv,jv,Ql,Bs,Jl,Vl=!1,Z1=!1,G1,Bn,_g=[],Bg=!1,K1=[],W1=typeof document<"u",Y1=Eg,xv=Gl||cr?"cssFloat":"float",VU=W1&&!pv&&!Eg&&"draggable"in document.createElement("div"),Iv=(function(){if(W1){if(cr)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}})(),Sv=function(n,i){var r=Je(n),l=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Ds(n,0,i),c=Ds(n,1,i),d=s&&Je(s),p=c&&Je(c),u=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+sn(s).width,g=p&&parseInt(p.marginLeft)+parseInt(p.marginRight)+sn(c).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&d.float&&d.float!=="none"){var f=d.float==="left"?"left":"right";return c&&(p.clear==="both"||p.clear===f)?"vertical":"horizontal"}return s&&(d.display==="block"||d.display==="flex"||d.display==="table"||d.display==="grid"||u>=l&&r[xv]==="none"||c&&r[xv]==="none"&&u+g>l)?"vertical":"horizontal"},eH=function(n,i,r){var l=r?n.left:n.top,s=r?n.right:n.bottom,c=r?n.width:n.height,d=r?i.left:i.top,p=r?i.right:i.bottom,u=r?i.width:i.height;return l===d||s===p||l+c/2===d+u/2},tH=function(n,i){var r;return z1.some(function(l){var s=l[lo].options.emptyInsertThreshold;if(!(!s||Ag(l))){var c=sn(l),d=n>=c.left-s&&n<=c.right+s,p=i>=c.top-s&&i<=c.bottom+s;if(d&&p)return r=l}}),r},Tv=function(n){function i(s,c){return function(d,p,u,g){var f=d.options.group.name&&p.options.group.name&&d.options.group.name===p.options.group.name;if(s==null&&(c||f))return!0;if(s==null||s===!1)return!1;if(c&&s==="clone")return s;if(typeof s=="function")return i(s(d,p,u,g),c)(d,p,u,g);var h=(c?d:p).options.group.name;return s===!0||typeof s=="string"&&s===h||s.join&&s.indexOf(h)>-1}}var r={},l=n.group;(!l||N1(l)!="object")&&(l={name:l}),r.name=l.name,r.checkPull=i(l.pull,!0),r.checkPut=i(l.put),r.revertClone=l.revertClone,n.group=r},Ev=function(){!Iv&&ot&&Je(ot,"display","none")},Av=function(){!Iv&&ot&&Je(ot,"display","")};W1&&!pv&&document.addEventListener("click",function(o){if(H1)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),H1=!1,!1},!0);var Ta=function(n){if(Ie){n=n.touches?n.touches[0]:n;var i=tH(n.clientX,n.clientY);if(i){var r={};for(var l in n)n.hasOwnProperty(l)&&(r[l]=n[l]);r.target=r.rootEl=i,r.preventDefault=void 0,r.stopPropagation=void 0,i[lo]._onDragOver(r)}}},nH=function(n){Ie&&Ie.parentNode[lo]._isOutsideThisEl(n.target)};function tt(o,n){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=n=sr({},n),o[lo]=this;var i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Sv(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(c,d){c.setData("Text",d.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:tt.supportPointer!==!1&&"PointerEvent"in window&&(!Kl||Eg),emptyInsertThreshold:5};Yl.initializePlugins(this,o,i);for(var r in i)!(r in n)&&(n[r]=i[r]);Tv(n);for(var l in this)l.charAt(0)==="_"&&typeof this[l]=="function"&&(this[l]=this[l].bind(this));this.nativeDraggable=n.forceFallback?!1:VU,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?ft(o,"pointerdown",this._onTapStart):(ft(o,"mousedown",this._onTapStart),ft(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(ft(o,"dragover",this),ft(o,"dragenter",this)),z1.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),sr(this,WU())}tt.prototype={constructor:tt,_isOutsideThisEl:function(n){!this.el.contains(n)&&n!==this.el&&(Bs=null)},_getDirection:function(n,i){return typeof this.options.direction=="function"?this.options.direction.call(this,n,i,Ie):this.options.direction},_onTapStart:function(n){if(n.cancelable){var i=this,r=this.el,l=this.options,s=l.preventOnFilter,c=n.type,d=n.touches&&n.touches[0]||n.pointerType&&n.pointerType==="touch"&&n,p=(d||n).target,u=n.target.shadowRoot&&(n.path&&n.path[0]||n.composedPath&&n.composedPath()[0])||p,g=l.filter;if(dH(r),!Ie&&!(/mousedown|pointerdown/.test(c)&&n.button!==0||l.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Kl&&p&&p.tagName.toUpperCase()==="SELECT")&&(p=oi(p,l.draggable,r,!1),!(p&&p.animated)&&q1!==p)){if(Rs=Po(p),Xl=Po(p,l.draggable),typeof g=="function"){if(g.call(this,n,p,this)){Wn({sortable:i,rootEl:u,name:"filter",targetEl:p,toEl:r,fromEl:r}),co("filter",i,{evt:n}),s&&n.preventDefault();return}}else if(g&&(g=g.split(",").some(function(f){if(f=oi(u,f.trim(),r,!1),f)return Wn({sortable:i,rootEl:f,name:"filter",targetEl:p,fromEl:r,toEl:r}),co("filter",i,{evt:n}),!0}),g)){s&&n.preventDefault();return}l.handle&&!oi(u,l.handle,r,!1)||this._prepareDragStart(n,d,p)}}},_prepareDragStart:function(n,i,r){var l=this,s=l.el,c=l.options,d=s.ownerDocument,p;if(r&&!Ie&&r.parentNode===s){var u=sn(r);if(Ht=s,Ie=r,Jt=Ie.parentNode,Ia=Ie.nextSibling,q1=r,U1=c.group,tt.dragged=Ie,Sa={target:Ie,clientX:(i||n).clientX,clientY:(i||n).clientY},kv=Sa.clientX-u.left,jv=Sa.clientY-u.top,this._lastX=(i||n).clientX,this._lastY=(i||n).clientY,Ie.style["will-change"]="all",p=function(){if(co("delayEnded",l,{evt:n}),tt.eventCanceled){l._onDrop();return}l._disableDelayedDragEvents(),!dv&&l.nativeDraggable&&(Ie.draggable=!0),l._triggerDragStart(n,i),Wn({sortable:l,name:"choose",originalEvent:n}),vo(Ie,c.chosenClass,!0)},c.ignore.split(",").forEach(function(g){hv(Ie,g.trim(),Pg)}),ft(d,"dragover",Ta),ft(d,"mousemove",Ta),ft(d,"touchmove",Ta),c.supportPointer?(ft(d,"pointerup",l._onDrop),!this.nativeDraggable&&ft(d,"pointercancel",l._onDrop)):(ft(d,"mouseup",l._onDrop),ft(d,"touchend",l._onDrop),ft(d,"touchcancel",l._onDrop)),dv&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ie.draggable=!0),co("delayStart",this,{evt:n}),c.delay&&(!c.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Gl||cr))){if(tt.eventCanceled){this._onDrop();return}c.supportPointer?(ft(d,"pointerup",l._disableDelayedDrag),ft(d,"pointercancel",l._disableDelayedDrag)):(ft(d,"mouseup",l._disableDelayedDrag),ft(d,"touchend",l._disableDelayedDrag),ft(d,"touchcancel",l._disableDelayedDrag)),ft(d,"mousemove",l._delayedDragTouchMoveHandler),ft(d,"touchmove",l._delayedDragTouchMoveHandler),c.supportPointer&&ft(d,"pointermove",l._delayedDragTouchMoveHandler),l._dragStartTimer=setTimeout(p,c.delay)}else p()}},_delayedDragTouchMoveHandler:function(n){var i=n.touches?n.touches[0]:n;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Ie&&Pg(Ie),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var n=this.el.ownerDocument;ut(n,"mouseup",this._disableDelayedDrag),ut(n,"touchend",this._disableDelayedDrag),ut(n,"touchcancel",this._disableDelayedDrag),ut(n,"pointerup",this._disableDelayedDrag),ut(n,"pointercancel",this._disableDelayedDrag),ut(n,"mousemove",this._delayedDragTouchMoveHandler),ut(n,"touchmove",this._delayedDragTouchMoveHandler),ut(n,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(n,i){i=i||n.pointerType=="touch"&&n,!this.nativeDraggable||i?this.options.supportPointer?ft(document,"pointermove",this._onTouchMove):i?ft(document,"touchmove",this._onTouchMove):ft(document,"mousemove",this._onTouchMove):(ft(Ie,"dragend",this),ft(Ht,"dragstart",this._onDragStart));try{document.selection?Q1(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(n,i){if(_s=!1,Ht&&Ie){co("dragStarted",this,{evt:i}),this.nativeDraggable&&ft(document,"dragover",nH);var r=this.options;!n&&vo(Ie,r.dragClass,!1),vo(Ie,r.ghostClass,!0),tt.active=this,n&&this._appendGhost(),Wn({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(ii){this._lastX=ii.clientX,this._lastY=ii.clientY,Ev();for(var n=document.elementFromPoint(ii.clientX,ii.clientY),i=n;n&&n.shadowRoot&&(n=n.shadowRoot.elementFromPoint(ii.clientX,ii.clientY),n!==i);)i=n;if(Ie.parentNode[lo]._isOutsideThisEl(n),i)do{if(i[lo]){var r=void 0;if(r=i[lo]._onDragOver({clientX:ii.clientX,clientY:ii.clientY,target:n,rootEl:i}),r&&!this.options.dragoverBubble)break}n=i}while(i=gv(i));Av()}},_onTouchMove:function(n){if(Sa){var i=this.options,r=i.fallbackTolerance,l=i.fallbackOffset,s=n.touches?n.touches[0]:n,c=ot&&Os(ot,!0),d=ot&&c&&c.a,p=ot&&c&&c.d,u=Y1&&Bn&&bv(Bn),g=(s.clientX-Sa.clientX+l.x)/(d||1)+(u?u[0]-_g[0]:0)/(d||1),f=(s.clientY-Sa.clientY+l.y)/(p||1)+(u?u[1]-_g[1]:0)/(p||1);if(!tt.active&&!_s){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(n,!0)}if(ot){c?(c.e+=g-(Lg||0),c.f+=f-(Rg||0)):c={a:1,b:0,c:0,d:1,e:g,f};var h="matrix(".concat(c.a,",").concat(c.b,",").concat(c.c,",").concat(c.d,",").concat(c.e,",").concat(c.f,")");Je(ot,"webkitTransform",h),Je(ot,"mozTransform",h),Je(ot,"msTransform",h),Je(ot,"transform",h),Lg=g,Rg=f,ii=s}n.cancelable&&n.preventDefault()}},_appendGhost:function(){if(!ot){var n=this.options.fallbackOnBody?document.body:Ht,i=sn(Ie,!0,Y1,!0,n),r=this.options;if(Y1){for(Bn=n;Je(Bn,"position")==="static"&&Je(Bn,"transform")==="none"&&Bn!==document;)Bn=Bn.parentNode;Bn!==document.body&&Bn!==document.documentElement?(Bn===document&&(Bn=Bi()),i.top+=Bn.scrollTop,i.left+=Bn.scrollLeft):Bn=Bi(),_g=bv(Bn)}ot=Ie.cloneNode(!0),vo(ot,r.ghostClass,!1),vo(ot,r.fallbackClass,!0),vo(ot,r.dragClass,!0),Je(ot,"transition",""),Je(ot,"transform",""),Je(ot,"box-sizing","border-box"),Je(ot,"margin",0),Je(ot,"top",i.top),Je(ot,"left",i.left),Je(ot,"width",i.width),Je(ot,"height",i.height),Je(ot,"opacity","0.8"),Je(ot,"position",Y1?"absolute":"fixed"),Je(ot,"zIndex","100000"),Je(ot,"pointerEvents","none"),tt.ghost=ot,n.appendChild(ot),Je(ot,"transform-origin",kv/parseInt(ot.style.width)*100+"% "+jv/parseInt(ot.style.height)*100+"%")}},_onDragStart:function(n,i){var r=this,l=n.dataTransfer,s=r.options;if(co("dragStart",this,{evt:n}),tt.eventCanceled){this._onDrop();return}co("setupClone",this),tt.eventCanceled||(Kt=Cv(Ie),Kt.removeAttribute("id"),Kt.draggable=!1,Kt.style["will-change"]="",this._hideClone(),vo(Kt,this.options.chosenClass,!1),tt.clone=Kt),r.cloneId=Q1(function(){co("clone",r),!tt.eventCanceled&&(r.options.removeCloneOnHide||Ht.insertBefore(Kt,Ie),r._hideClone(),Wn({sortable:r,name:"clone"}))}),!i&&vo(Ie,s.dragClass,!0),i?(H1=!0,r._loopId=setInterval(r._emulateDragOver,50)):(ut(document,"mouseup",r._onDrop),ut(document,"touchend",r._onDrop),ut(document,"touchcancel",r._onDrop),l&&(l.effectAllowed="move",s.setData&&s.setData.call(r,l,Ie)),ft(document,"drop",r),Je(Ie,"transform","translateZ(0)")),_s=!0,r._dragStartId=Q1(r._dragStarted.bind(r,i,n)),ft(document,"selectstart",r),Ql=!0,window.getSelection().removeAllRanges(),Kl&&Je(document.body,"user-select","none")},_onDragOver:function(n){var i=this.el,r=n.target,l,s,c,d=this.options,p=d.group,u=tt.active,g=U1===p,f=d.sort,h=xn||u,m,y=this,k=!1;if(Bg)return;function w(U,$){co(U,y,_i({evt:n,isOwner:g,axis:m?"vertical":"horizontal",revert:c,dragRect:l,targetRect:s,canSort:f,fromSortable:h,target:r,completed:v,onMove:function(Y,ae){return X1(Ht,i,Ie,l,Y,sn(Y),n,ae)},changed:S},$))}function C(){w("dragOverAnimationCapture"),y.captureAnimationState(),y!==h&&h.captureAnimationState()}function v(U){return w("dragOverCompleted",{insertion:U}),U&&(g?u._hideClone():u._showClone(y),y!==h&&(vo(Ie,xn?xn.options.ghostClass:u.options.ghostClass,!1),vo(Ie,d.ghostClass,!0)),xn!==y&&y!==tt.active?xn=y:y===tt.active&&xn&&(xn=null),h===y&&(y._ignoreWhileAnimating=r),y.animateAll(function(){w("dragOverAnimationComplete"),y._ignoreWhileAnimating=null}),y!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(r===Ie&&!Ie.animated||r===i&&!r.animated)&&(Bs=null),!d.dragoverBubble&&!n.rootEl&&r!==document&&(Ie.parentNode[lo]._isOutsideThisEl(n.target),!U&&Ta(n)),!d.dragoverBubble&&n.stopPropagation&&n.stopPropagation(),k=!0}function S(){Co=Po(Ie),Dr=Po(Ie,d.draggable),Wn({sortable:y,name:"change",toEl:i,newIndex:Co,newDraggableIndex:Dr,originalEvent:n})}if(n.preventDefault!==void 0&&n.cancelable&&n.preventDefault(),r=oi(r,d.draggable,i,!0),w("dragOver"),tt.eventCanceled)return k;if(Ie.contains(n.target)||r.animated&&r.animatingX&&r.animatingY||y._ignoreWhileAnimating===r)return v(!1);if(H1=!1,u&&!d.disabled&&(g?f||(c=Jt!==Ht):xn===this||(this.lastPutMode=U1.checkPull(this,u,Ie,n))&&p.checkPut(this,u,Ie,n))){if(m=this._getDirection(n,r)==="vertical",l=sn(Ie),w("dragOverValid"),tt.eventCanceled)return k;if(c)return Jt=Ht,C(),this._hideClone(),w("revert"),tt.eventCanceled||(Ia?Ht.insertBefore(Ie,Ia):Ht.appendChild(Ie)),v(!0);var x=Ag(i,d.draggable);if(!x||aH(n,m,this)&&!x.animated){if(x===Ie)return v(!1);if(x&&i===n.target&&(r=x),r&&(s=sn(r)),X1(Ht,i,Ie,l,r,s,n,!!r)!==!1)return C(),x&&x.nextSibling?i.insertBefore(Ie,x.nextSibling):i.appendChild(Ie),Jt=i,S(),v(!0)}else if(x&&rH(n,m,this)){var I=Ds(i,0,d,!0);if(I===Ie)return v(!1);if(r=I,s=sn(r),X1(Ht,i,Ie,l,r,s,n,!1)!==!1)return C(),i.insertBefore(Ie,I),Jt=i,S(),v(!0)}else if(r.parentNode===i){s=sn(r);var O=0,T,D=Ie.parentNode!==i,P=!eH(Ie.animated&&Ie.toRect||l,r.animated&&r.toRect||s,m),z=m?"top":"left",R=mv(r,"top","top")||mv(Ie,"top","top"),_=R?R.scrollTop:void 0;Bs!==r&&(T=s[z],Vl=!1,Z1=!P&&d.invertSwap||D),O=sH(n,r,s,m,P?1:d.swapThreshold,d.invertedSwapThreshold==null?d.swapThreshold:d.invertedSwapThreshold,Z1,Bs===r);var G;if(O!==0){var V=Po(Ie);do V-=O,G=Jt.children[V];while(G&&(Je(G,"display")==="none"||G===ot))}if(O===0||G===r)return v(!1);Bs=r,Jl=O;var oe=r.nextElementSibling,ee=!1;ee=O===1;var E=X1(Ht,i,Ie,l,r,s,n,ee);if(E!==!1)return(E===1||E===-1)&&(ee=E===1),Bg=!0,setTimeout(iH,30),C(),ee&&!oe?i.appendChild(Ie):r.parentNode.insertBefore(Ie,ee?oe:r),R&&vv(R,0,_-R.scrollTop),Jt=Ie.parentNode,T!==void 0&&!Z1&&(G1=Math.abs(T-sn(r)[z])),S(),v(!0)}if(i.contains(Ie))return v(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ut(document,"mousemove",this._onTouchMove),ut(document,"touchmove",this._onTouchMove),ut(document,"pointermove",this._onTouchMove),ut(document,"dragover",Ta),ut(document,"mousemove",Ta),ut(document,"touchmove",Ta)},_offUpEvents:function(){var n=this.el.ownerDocument;ut(n,"mouseup",this._onDrop),ut(n,"touchend",this._onDrop),ut(n,"pointerup",this._onDrop),ut(n,"pointercancel",this._onDrop),ut(n,"touchcancel",this._onDrop),ut(document,"selectstart",this)},_onDrop:function(n){var i=this.el,r=this.options;if(Co=Po(Ie),Dr=Po(Ie,r.draggable),co("drop",this,{evt:n}),Jt=Ie&&Ie.parentNode,Co=Po(Ie),Dr=Po(Ie,r.draggable),tt.eventCanceled){this._nulling();return}_s=!1,Z1=!1,Vl=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$g(this.cloneId),$g(this._dragStartId),this.nativeDraggable&&(ut(document,"drop",this),ut(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Kl&&Je(document.body,"user-select",""),Je(Ie,"transform",""),n&&(Ql&&(n.cancelable&&n.preventDefault(),!r.dropBubble&&n.stopPropagation()),ot&&ot.parentNode&&ot.parentNode.removeChild(ot),(Ht===Jt||xn&&xn.lastPutMode!=="clone")&&Kt&&Kt.parentNode&&Kt.parentNode.removeChild(Kt),Ie&&(this.nativeDraggable&&ut(Ie,"dragend",this),Pg(Ie),Ie.style["will-change"]="",Ql&&!_s&&vo(Ie,xn?xn.options.ghostClass:this.options.ghostClass,!1),vo(Ie,this.options.chosenClass,!1),Wn({sortable:this,name:"unchoose",toEl:Jt,newIndex:null,newDraggableIndex:null,originalEvent:n}),Ht!==Jt?(Co>=0&&(Wn({rootEl:Jt,name:"add",toEl:Jt,fromEl:Ht,originalEvent:n}),Wn({sortable:this,name:"remove",toEl:Jt,originalEvent:n}),Wn({rootEl:Jt,name:"sort",toEl:Jt,fromEl:Ht,originalEvent:n}),Wn({sortable:this,name:"sort",toEl:Jt,originalEvent:n})),xn&&xn.save()):Co!==Rs&&Co>=0&&(Wn({sortable:this,name:"update",toEl:Jt,originalEvent:n}),Wn({sortable:this,name:"sort",toEl:Jt,originalEvent:n})),tt.active&&((Co==null||Co===-1)&&(Co=Rs,Dr=Xl),Wn({sortable:this,name:"end",toEl:Jt,originalEvent:n}),this.save()))),this._nulling()},_nulling:function(){co("nulling",this),Ht=Ie=Jt=ot=Ia=Kt=q1=Or=Sa=ii=Ql=Co=Dr=Rs=Xl=Bs=Jl=xn=U1=tt.dragged=tt.ghost=tt.clone=tt.active=null,K1.forEach(function(n){n.checked=!0}),K1.length=Lg=Rg=0},handleEvent:function(n){switch(n.type){case"drop":case"dragend":this._onDrop(n);break;case"dragenter":case"dragover":Ie&&(this._onDragOver(n),oH(n));break;case"selectstart":n.preventDefault();break}},toArray:function(){for(var n=[],i,r=this.el.children,l=0,s=r.length,c=this.options;l<s;l++)i=r[l],oi(i,c.draggable,this.el,!1)&&n.push(i.getAttribute(c.dataIdAttr)||cH(i));return n},sort:function(n,i){var r={},l=this.el;this.toArray().forEach(function(s,c){var d=l.children[c];oi(d,this.options.draggable,l,!1)&&(r[s]=d)},this),i&&this.captureAnimationState(),n.forEach(function(s){r[s]&&(l.removeChild(r[s]),l.appendChild(r[s]))}),i&&this.animateAll()},save:function(){var n=this.options.store;n&&n.set&&n.set(this)},closest:function(n,i){return oi(n,i||this.options.draggable,this.el,!1)},option:function(n,i){var r=this.options;if(i===void 0)return r[n];var l=Yl.modifyOption(this,n,i);typeof l<"u"?r[n]=l:r[n]=i,n==="group"&&Tv(r)},destroy:function(){co("destroy",this);var n=this.el;n[lo]=null,ut(n,"mousedown",this._onTapStart),ut(n,"touchstart",this._onTapStart),ut(n,"pointerdown",this._onTapStart),this.nativeDraggable&&(ut(n,"dragover",this),ut(n,"dragenter",this)),Array.prototype.forEach.call(n.querySelectorAll("[draggable]"),function(i){i.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),z1.splice(z1.indexOf(this.el),1),this.el=n=null},_hideClone:function(){if(!Or){if(co("hideClone",this),tt.eventCanceled)return;Je(Kt,"display","none"),this.options.removeCloneOnHide&&Kt.parentNode&&Kt.parentNode.removeChild(Kt),Or=!0}},_showClone:function(n){if(n.lastPutMode!=="clone"){this._hideClone();return}if(Or){if(co("showClone",this),tt.eventCanceled)return;Ie.parentNode==Ht&&!this.options.group.revertClone?Ht.insertBefore(Kt,Ie):Ia?Ht.insertBefore(Kt,Ia):Ht.appendChild(Kt),this.options.group.revertClone&&this.animate(Ie,Kt),Je(Kt,"display",""),Or=!1}}};function oH(o){o.dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault()}function X1(o,n,i,r,l,s,c,d){var p,u=o[lo],g=u.options.onMove,f;return window.CustomEvent&&!cr&&!Gl?p=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(p=document.createEvent("Event"),p.initEvent("move",!0,!0)),p.to=n,p.from=o,p.dragged=i,p.draggedRect=r,p.related=l||n,p.relatedRect=s||sn(n),p.willInsertAfter=d,p.originalEvent=c,o.dispatchEvent(p),g&&(f=g.call(u,p,c)),f}function Pg(o){o.draggable=!1}function iH(){Bg=!1}function rH(o,n,i){var r=sn(Ds(i.el,0,i.options,!0)),l=wv(i.el,i.options,ot),s=10;return n?o.clientX<l.left-s||o.clientY<r.top&&o.clientX<r.right:o.clientY<l.top-s||o.clientY<r.bottom&&o.clientX<r.left}function aH(o,n,i){var r=sn(Ag(i.el,i.options.draggable)),l=wv(i.el,i.options,ot),s=10;return n?o.clientX>l.right+s||o.clientY>r.bottom&&o.clientX>r.left:o.clientY>l.bottom+s||o.clientX>r.right&&o.clientY>r.top}function sH(o,n,i,r,l,s,c,d){var p=r?o.clientY:o.clientX,u=r?i.height:i.width,g=r?i.top:i.left,f=r?i.bottom:i.right,h=!1;if(!c){if(d&&G1<u*l){if(!Vl&&(Jl===1?p>g+u*s/2:p<f-u*s/2)&&(Vl=!0),Vl)h=!0;else if(Jl===1?p<g+G1:p>f-G1)return-Jl}else if(p>g+u*(1-l)/2&&p<f-u*(1-l)/2)return lH(n)}return h=h||c,h&&(p<g+u*s/2||p>f-u*s/2)?p>g+u/2?1:-1:0}function lH(o){return Po(Ie)<Po(o)?1:-1}function cH(o){for(var n=o.tagName+o.className+o.src+o.href+o.textContent,i=n.length,r=0;i--;)r+=n.charCodeAt(i);return r.toString(36)}function dH(o){K1.length=0;for(var n=o.getElementsByTagName("input"),i=n.length;i--;){var r=n[i];r.checked&&K1.push(r)}}function Q1(o){return setTimeout(o,0)}function $g(o){return clearTimeout(o)}W1&&ft(document,"touchmove",function(o){(tt.active||_s)&&o.cancelable&&o.preventDefault()}),tt.utils={on:ft,off:ut,css:Je,find:hv,is:function(n,i){return!!oi(n,i,n,!1)},extend:GU,throttle:yv,closest:oi,toggleClass:vo,clone:Cv,index:Po,nextTick:Q1,cancelNextTick:$g,detectDirection:Sv,getChild:Ds,expando:lo},tt.get=function(o){return o[lo]},tt.mount=function(){for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(tt.utils=_i(_i({},tt.utils),r.utils)),Yl.mount(r)})},tt.create=function(o,n){return new tt(o,n)},tt.version=zU;var ln=[],ec,Mg,Ng=!1,Fg,qg,J1,tc;function pH(){function o(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this))}return o.prototype={dragStarted:function(i){var r=i.originalEvent;this.sortable.nativeDraggable?ft(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ft(document,"pointermove",this._handleFallbackAutoScroll):r.touches?ft(document,"touchmove",this._handleFallbackAutoScroll):ft(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(i){var r=i.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?ut(document,"dragover",this._handleAutoScroll):(ut(document,"pointermove",this._handleFallbackAutoScroll),ut(document,"touchmove",this._handleFallbackAutoScroll),ut(document,"mousemove",this._handleFallbackAutoScroll)),Ov(),V1(),KU()},nulling:function(){J1=Mg=ec=Ng=tc=Fg=qg=null,ln.length=0},_handleFallbackAutoScroll:function(i){this._handleAutoScroll(i,!0)},_handleAutoScroll:function(i,r){var l=this,s=(i.touches?i.touches[0]:i).clientX,c=(i.touches?i.touches[0]:i).clientY,d=document.elementFromPoint(s,c);if(J1=i,r||this.options.forceAutoScrollFallback||Gl||cr||Kl){Ug(i,this.options,d,r);var p=Ar(d,!0);Ng&&(!tc||s!==Fg||c!==qg)&&(tc&&Ov(),tc=setInterval(function(){var u=Ar(document.elementFromPoint(s,c),!0);u!==p&&(p=u,V1()),Ug(i,l.options,u,r)},10),Fg=s,qg=c)}else{if(!this.options.bubbleScroll||Ar(d,!0)===Bi()){V1();return}Ug(i,this.options,Ar(d,!1),!1)}}},sr(o,{pluginName:"scroll",initializeByDefault:!0})}function V1(){ln.forEach(function(o){clearInterval(o.pid)}),ln=[]}function Ov(){clearInterval(tc)}var Ug=yv(function(o,n,i,r){if(n.scroll){var l=(o.touches?o.touches[0]:o).clientX,s=(o.touches?o.touches[0]:o).clientY,c=n.scrollSensitivity,d=n.scrollSpeed,p=Bi(),u=!1,g;Mg!==i&&(Mg=i,V1(),ec=n.scroll,g=n.scrollFn,ec===!0&&(ec=Ar(i,!0)));var f=0,h=ec;do{var m=h,y=sn(m),k=y.top,w=y.bottom,C=y.left,v=y.right,S=y.width,x=y.height,I=void 0,O=void 0,T=m.scrollWidth,D=m.scrollHeight,P=Je(m),z=m.scrollLeft,R=m.scrollTop;m===p?(I=S<T&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),O=x<D&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(I=S<T&&(P.overflowX==="auto"||P.overflowX==="scroll"),O=x<D&&(P.overflowY==="auto"||P.overflowY==="scroll"));var _=I&&(Math.abs(v-l)<=c&&z+S<T)-(Math.abs(C-l)<=c&&!!z),G=O&&(Math.abs(w-s)<=c&&R+x<D)-(Math.abs(k-s)<=c&&!!R);if(!ln[f])for(var V=0;V<=f;V++)ln[V]||(ln[V]={});(ln[f].vx!=_||ln[f].vy!=G||ln[f].el!==m)&&(ln[f].el=m,ln[f].vx=_,ln[f].vy=G,clearInterval(ln[f].pid),(_!=0||G!=0)&&(u=!0,ln[f].pid=setInterval((function(){r&&this.layer===0&&tt.active._onTouchMove(J1);var oe=ln[this.layer].vy?ln[this.layer].vy*d:0,ee=ln[this.layer].vx?ln[this.layer].vx*d:0;typeof g=="function"&&g.call(tt.dragged.parentNode[lo],ee,oe,o,J1,ln[this.layer].el)!=="continue"||vv(ln[this.layer].el,ee,oe)}).bind({layer:f}),24))),f++}while(n.bubbleScroll&&h!==p&&(h=Ar(h,!1)));Ng=u}},30),Dv=function(n){var i=n.originalEvent,r=n.putSortable,l=n.dragEl,s=n.activeSortable,c=n.dispatchSortableEvent,d=n.hideGhostForTarget,p=n.unhideGhostForTarget;if(i){var u=r||s;d();var g=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,f=document.elementFromPoint(g.clientX,g.clientY);p(),u&&!u.el.contains(f)&&(c("spill"),this.onSpill({dragEl:l,putSortable:r}))}};function Hg(){}Hg.prototype={startIndex:null,dragStart:function(n){var i=n.oldDraggableIndex;this.startIndex=i},onSpill:function(n){var i=n.dragEl,r=n.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var l=Ds(this.sortable.el,this.startIndex,this.options);l?this.sortable.el.insertBefore(i,l):this.sortable.el.appendChild(i),this.sortable.animateAll(),r&&r.animateAll()},drop:Dv},sr(Hg,{pluginName:"revertOnSpill"});function zg(){}zg.prototype={onSpill:function(n){var i=n.dragEl,r=n.putSortable,l=r||this.sortable;l.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),l.animateAll()},drop:Dv},sr(zg,{pluginName:"removeOnSpill"}),tt.mount(new pH),tt.mount(zg,Hg);function Lv(o,n){const i=a.ref(!o.value);function r(){i.value||(i.value=!0,n?.("opened"))}function l(){i.value&&(i.value=!1,n?.("closed"))}function s(){i.value?l():r()}return a.watch(o,c=>{c?l():r()}),{opened:i,open:r,close:l,toggle:s}}const uH=()=>{const o=a.ref(!1),n=()=>{o.value?l():r()},i=()=>{o.value=!o.value},r=()=>{const d=document.querySelector(".p-galleria");d.requestFullscreen?d.requestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.msRequestFullscreen&&d.msRequestFullscreen()},l=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},s=()=>{document.addEventListener("fullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("msfullscreenchange",i)},c=()=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("msfullscreenchange",i)};return a.onMounted(()=>{s()}),a.onUnmounted(()=>{c()}),{fullScreen:o,toggleFullScreen:n}},gH=o=>{const n=({target:l})=>{l.classList.contains("p-galleria-mask")&&(o.value=!1)};return{listenMaskElementClick:()=>{document.querySelector(".p-galleria-mask")?.addEventListener("click",n)},removeMaskElementClick:()=>{document.querySelector(".p-galleria-mask")?.removeEventListener("click",n)}}},Zg=o=>{const n=a.computed(()=>o.value?.$el instanceof HTMLInputElement?o.value?.$el:o.value?.$el?.querySelector("input"));return{focus:()=>{n.value?.focus()},handleKeyup:s=>s.stopPropagation(),removeAutocomplete:()=>{n.value?.setAttribute("autocomplete","off")}}},fH=o=>{if(!o)return"00:00:00";let n=`${Math.floor(o/3600)}`,i=`${Math.floor(o%3600/60)}`,r=`${Math.floor(o%3600%60)}`;return n.length===1&&(n=`0${n}`),i.length===1&&(i=`0${i}`),r.length===1&&(r=`0${r}`),`${n}:${i}:${r}`},hH=(o,n)=>{let i=null,r=null,l=null,s=!1;const c=()=>{if(!r||!s||l===null)return;const h=r.getBoundingClientRect(),m=150,y=1,k=25,w=l-h.left,C=h.right-l,v=I=>I<.5?4*I*I*I:1-(-2*I+2)**3/2;let S=0,x=0;if(w<m&&r.scrollLeft>0?(S=-1,x=w):C<m&&(S=1,x=C),S!==0){const I=1-x/m,O=v(I),T=y+(k-y)*O;r.scrollLeft+=T*S,i=requestAnimationFrame(c)}else i=null},d=h=>{h.dataTransfer.effectAllowed="move";const m=h.target.cloneNode(!0);m.style.position="absolute",m.style.top="-9999px",m.style.background="var(--p-datatable-header-cell-drag-background)",m.style.width=h.target.offsetWidth+"px",document.body.appendChild(m),h.dataTransfer.setDragImage(m,h.offsetX,h.offsetY),setTimeout(()=>{document.body.removeChild(m)},0),s=!0,r||(r=o.value?.$el?.querySelector(".p-datatable-table-container"))},p=h=>{l=h.clientX,!i&&s&&(i=requestAnimationFrame(c))},u=()=>{i&&(cancelAnimationFrame(i),i=null),s=!1,l=null,r=null};return{addTableDragListener:()=>{if(!n)return;const h=o.value?.$el;h?.addEventListener("dragstart",d),h?.addEventListener("dragover",p),h?.addEventListener("dragend",u)},removeTableDragListener:()=>{if(!n)return;const h=o.value?.$el;h?.removeEventListener("dragstart",d),h?.removeEventListener("dragover",p),h?.removeEventListener("dragend",u)}}},mH=({headers:o})=>{const{t:n}=ti();return{tableHeaders:a.computed(()=>(a.unref(o)??[]).filter(r=>r.show===void 0||r.show).map(r=>!r.text&&r.locale?{...r,text:typeof r.locale=="string"?n(r.locale):n(...r.locale)}:r))}},bH=({field:o})=>{const n=a.computed(()=>o.value.$error),i=a.computed(()=>o.value?.$errors?.at(0));return{invalid:n,validationText:i}},yH=({field:o,customValidators:n})=>{const{t:i}=ti();let r=o,l=n;a.isReactive(r)&&(r=a.computed(()=>o),l=a.computed(()=>n));const s=a.computed(()=>!!r&&!!r.value&&!!Object.keys(r.value).length),c=a.computed(()=>s.value&&r.value.$error),d=a.computed(()=>{let p="";if(s.value&&c.value&&(r.value.required?.$invalid?p=i("validation.required"):r.value.numeric?.$invalid?p=i("validation.numeric"):r.value.email?.$invalid?p=i("validation.email"):r.value.gatewayHostValidator?.$invalid?p=i("validation.gatewayHostValidator"):r.value.ipValidator?.$invalid?p=i("validation.ipValidator"):r.value.macValidator?.$invalid?p=i("validation.macValidator"):r.value.minValue?.$invalid?p=i("validation.minValue",{min:r.value.minValue.$params.min}):r.value.maxValue?.$invalid?p=i("validation.maxValue",{max:r.value.maxValue.$params.max}):r.value.maxLength?.$invalid?p=i("validation.maxLength",{max:r.value.maxLength.$params.max}):r.value.sipAccountValidator?.$invalid?p=i("validation.sipAccountValidator"):r.value.minLength?.$invalid?p=i("validation.minLength",{min:r.value.minLength.$params.min}):r.value.url?.$invalid?p=`${i("validation.url")}`:r.value.regExpValidator?.$invalid?p=`${i("validation.regExpValidator")}`:r.value.sameAs?.$invalid?p=`${i("validation.sameAs")}`:r.value.domainValidator?.$invalid?p=`${i("validation.domainValidator")}`:r.value.decimalValidator?.$invalid?p=`${i("validation.decimalValidator")} ${r.value.decimalValidator.$params.count}`:r.value.websocketValidator?.$invalid?p=`${i("validation.websocketValidator")}`:r.value.integer?.$invalid?p=`${i("validation.integer")}`:r.value.regex?.$invalid?p=r.value.regex?.$message||`${i("validation.isRegExpMatched")} ${r.value.regex?.$params?.regex}`:r.value.nameAlreadyInUse?.$invalid&&(p=i("validation.nameAlreadyInUse"))),l?.value){for(const{name:u,text:g}of l.value)r.value[u]?.$invalid&&(p=g);return p}return p});return{isValidation:s,invalid:c,validationText:d}},Lr=({v:o,customValidators:n,regleValidation:i})=>{const{isValidation:r,invalid:l,validationText:s}=yH({field:o,customValidators:n}),{invalid:c,validationText:d}=bH({field:i}),p=a.computed(()=>!!i?.value),u=a.computed(()=>p.value||r.value),g=a.computed(()=>p.value?c.value:l.value),f=a.computed(()=>p.value?d.value:s.value),h=a.computed(()=>g.value?Xo.ERROR:Xo.SECONDARY);return{isValidation:u,invalid:g,validationText:f,validationTextColor:h}},vH={class:"wt-input-number"},CH=a.defineComponent({__name:"wt-input-number",props:a.mergeModels({label:{default:""},labelProps:{default:()=>({})},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},min:{default:void 0},max:{default:void 0},step:{default:1},useGrouping:{type:Boolean,default:!1},minFractionDigits:{default:void 0},maxFractionDigits:{default:void 0},showButtons:{type:Boolean,default:!0},v:{default:null},regleValidation:{default:null},customValidators:{default:()=>[]},hideInputInfo:{type:Boolean,default:!1}},{modelValue:{default:null},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue"],["update:modelValue"]),setup(o,{expose:n,emit:i}){const r=o,l=a.useModel(o,"modelValue"),s=i,c=a.useTemplateRef("inputNumber"),d=`input-number-${Math.random().toString(36).slice(2,11)}`,p=a.useSlots(),{v:u,customValidators:g,regleValidation:f}=a.toRefs(r),{isValidation:h,invalid:m,validationText:y,validationTextColor:k}=Lr({v:u,customValidators:g,regleValidation:f}),{focus:w,handleKeyup:C,removeAutocomplete:v}=Zg(c),S=a.computed(()=>r.label||p.label),x=a.computed(()=>r.required?`${r.label}*`:r.label);return a.onMounted(()=>{v()}),n({focus:w}),(I,O)=>{const T=a.resolveComponent("wt-label"),D=a.resolveComponent("p-input-group-addon"),P=a.resolveComponent("wt-icon"),z=a.resolveComponent("p-input-number"),R=a.resolveComponent("p-input-group"),_=a.resolveComponent("wt-message");return a.openBlock(),a.createElementBlock("div",vH,[S.value?(a.openBlock(),a.createBlock(T,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled,for:d,invalid:a.unref(m)}),{default:a.withCtx(()=>[a.renderSlot(I.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(x.value),1)])],void 0,!0),_:3},16,["disabled","invalid"])):a.createCommentVNode("",!0),a.createVNode(R,null,{default:a.withCtx(()=>[I.$slots.prefix?(a.openBlock(),a.createBlock(D,{key:0,class:"wt-input-number__addon typo-body-1"},{default:a.withCtx(()=>[a.renderSlot(I.$slots,"prefix")],void 0,!0),_:3})):a.createCommentVNode("",!0),a.createVNode(z,a.mergeProps(I.$attrs,{id:d,ref_key:"inputNumber",ref:c,"model-value":l.value,"use-grouping":o.useGrouping,disabled:o.disabled,invalid:a.unref(m),min:o.min,max:o.max,step:o.step,"min-fraction-digits":o.minFractionDigits,"max-fraction-digits":o.maxFractionDigits,placeholder:o.placeholder||o.label,"show-buttons":o.showButtons,"input-class":"wt-input-number__input typo-body-1"},{onKeyup:a.unref(C),onInput:O[0]||(O[0]=G=>s("update:modelValue",G.value))}),{incrementbuttonicon:a.withCtx(()=>[a.createVNode(P,{size:a.unref(Pe).SM,disabled:o.disabled,icon:"arrow-up"},null,8,["size","disabled"])]),decrementbuttonicon:a.withCtx(()=>[a.createVNode(P,{size:a.unref(Pe).SM,disabled:o.disabled,icon:"arrow-down"},null,8,["size","disabled"])]),_:1},16,["model-value","use-grouping","disabled","invalid","min","max","step","min-fraction-digits","max-fraction-digits","placeholder","show-buttons","onKeyup"]),I.$slots.suffix?(a.openBlock(),a.createBlock(D,{key:1,class:"wt-input-number__addon typo-body-1"},{default:a.withCtx(()=>[a.renderSlot(I.$slots,"suffix")],void 0,!0),_:3})):a.createCommentVNode("",!0)],void 0,!0),_:3}),a.unref(h)&&a.unref(y)&&!o.hideInputInfo?(a.openBlock(),a.createBlock(_,{key:1,color:a.unref(k),variant:a.unref(Vi).SIMPLE,size:a.unref(Pe).SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(y)),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)])}}}),wH={class:"wt-input-text"},kH=a.defineComponent({__name:"wt-input-text",props:a.mergeModels({label:{default:""},labelProps:{default:()=>({})},type:{default:"text"},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},preventTrim:{type:Boolean,default:!1},v:{default:null},regleValidation:{default:null},customValidators:{default:()=>[]},hideInputInfo:{type:Boolean,default:!1}},{modelValue:{default:""},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue"],["update:modelValue"]),setup(o,{expose:n,emit:i}){const r=o,l=a.useModel(o,"modelValue"),s=a.useTemplateRef("inputText"),c=`input-text-${Math.random().toString(36).slice(2,11)}`,d=i,p=a.useSlots(),{v:u,customValidators:g,regleValidation:f}=a.toRefs(r),{isValidation:h,invalid:m,validationText:y,validationTextColor:k}=Lr({v:u,customValidators:g,regleValidation:f}),{focus:w,handleKeyup:C}=Zg(s),v=a.computed(()=>r.label||p.label),S=a.computed(()=>r.required?`${r.label}*`:r.label),x=I=>{const O=r.preventTrim?I:I.trim();d("update:modelValue",O)};return n({focus:w}),(I,O)=>{const T=a.resolveComponent("wt-label"),D=a.resolveComponent("p-input-group-addon"),P=a.resolveComponent("p-input-text"),z=a.resolveComponent("p-input-group"),R=a.resolveComponent("wt-message");return a.openBlock(),a.createElementBlock("div",wH,[v.value?(a.openBlock(),a.createBlock(T,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled,for:c,invalid:a.unref(m)}),{default:a.withCtx(()=>[a.renderSlot(I.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(S.value),1)])],void 0,!0),_:3},16,["disabled","invalid"])):a.createCommentVNode("",!0),a.createVNode(z,null,{default:a.withCtx(()=>[I.$slots.prefix?(a.openBlock(),a.createBlock(D,{key:0,class:"wt-input-text__addon typo-body-1"},{default:a.withCtx(()=>[a.renderSlot(I.$slots,"prefix")],void 0,!0),_:3})):a.createCommentVNode("",!0),a.createVNode(P,a.mergeProps(I.$attrs,{id:c,ref_key:"inputText",ref:s,"model-value":l.value,disabled:o.disabled,invalid:a.unref(m),placeholder:o.placeholder||o.label,class:"wt-input-text__input typo-body-1",inputmode:o.type},{"onUpdate:modelValue":x,onKeyup:a.unref(C)}),null,16,["model-value","disabled","invalid","placeholder","inputmode","onKeyup"]),I.$slots.suffix?(a.openBlock(),a.createBlock(D,{key:1,class:"wt-input-text__addon typo-body-1"},{default:a.withCtx(()=>[a.renderSlot(I.$slots,"suffix")],void 0,!0),_:3})):a.createCommentVNode("",!0)],void 0,!0),_:3}),a.unref(h)&&a.unref(y)&&!o.hideInputInfo?(a.openBlock(),a.createBlock(R,{key:1,color:a.unref(k),variant:a.unref(Vi).SIMPLE,size:a.unref(Pe).SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(y)),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)])}}});function Rv(o,n){return a.getCurrentScope()?(a.onScopeDispose(o,n),!0):!1}const jH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const xH=o=>o!=null,IH=Object.prototype.toString,SH=o=>IH.call(o)==="[object Object]",Rr=()=>{};function TH(...o){if(o.length!==1)return a.toRef(...o);const n=o[0];return typeof n=="function"?a.readonly(a.customRef(()=>({get:n,set:Rr}))):a.ref(n)}function ep(o){return Array.isArray(o)?o:[o]}function EH(o,n,i){return a.watch(o,n,{...i,immediate:!0})}const tp=jH?window:void 0;function _r(o){var n;const i=a.toValue(o);return(n=i?.$el)!==null&&n!==void 0?n:i}function nc(...o){const n=(r,l,s,c)=>(r.addEventListener(l,s,c),()=>r.removeEventListener(l,s,c)),i=a.computed(()=>{const r=ep(a.toValue(o[0])).filter(l=>l!=null);return r.every(l=>typeof l!="string")?r:void 0});return EH(()=>{var r,l;return[(r=(l=i.value)===null||l===void 0?void 0:l.map(s=>_r(s)))!==null&&r!==void 0?r:[tp].filter(s=>s!=null),ep(a.toValue(i.value?o[1]:o[0])),ep(a.unref(i.value?o[2]:o[1])),a.toValue(i.value?o[3]:o[2])]},([r,l,s,c],d,p)=>{if(!r?.length||!l?.length||!s?.length)return;const u=SH(c)?{...c}:c,g=r.flatMap(f=>l.flatMap(h=>s.map(m=>n(f,h,m,u))));p(()=>{g.forEach(f=>f())})},{flush:"post"})}function _v(o,n,i={}){const{window:r=tp,ignore:l=[],capture:s=!0,detectIframe:c=!1,controls:d=!1}=i;if(!r)return d?{stop:Rr,cancel:Rr,trigger:Rr}:Rr;let p=!0;const u=w=>a.toValue(l).some(C=>{if(typeof C=="string")return Array.from(r.document.querySelectorAll(C)).some(v=>v===w.target||w.composedPath().includes(v));{const v=_r(C);return v&&(w.target===v||w.composedPath().includes(v))}});function g(w){const C=a.toValue(w);return C&&C.$.subTree.shapeFlag===16}function f(w,C){const v=a.toValue(w),S=v.$.subTree&&v.$.subTree.children;return S==null||!Array.isArray(S)?!1:S.some(x=>x.el===C.target||C.composedPath().includes(x.el))}const h=w=>{const C=_r(o);if(w.target!=null&&!(!(C instanceof Element)&&g(o)&&f(o,w))&&!(!C||C===w.target||w.composedPath().includes(C))){if("detail"in w&&w.detail===0&&(p=!u(w)),!p){p=!0;return}n(w)}};let m=!1;const y=[nc(r,"click",w=>{m||(m=!0,setTimeout(()=>{m=!1},0),h(w))},{passive:!0,capture:s}),nc(r,"pointerdown",w=>{const C=_r(o);p=!u(w)&&!!(C&&!w.composedPath().includes(C))},{passive:!0}),c&&nc(r,"blur",w=>{setTimeout(()=>{var C;const v=_r(o);((C=r.document.activeElement)===null||C===void 0?void 0:C.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&n(w)},0)},{passive:!0})].filter(Boolean),k=()=>y.forEach(w=>w());return d?{stop:k,cancel:()=>{p=!1},trigger:w=>{p=!0,h(w),p=!1}}:k}function AH(){const o=a.shallowRef(!1),n=a.getCurrentInstance();return n&&a.onMounted(()=>{o.value=!0},n),o}function OH(o){const n=AH();return a.computed(()=>(n.value,!!o()))}function DH(o,n,i={}){const{root:r,rootMargin:l="0px",threshold:s=0,window:c=tp,immediate:d=!0}=i,p=OH(()=>c&&"IntersectionObserver"in c),u=a.computed(()=>ep(a.toValue(o)).map(_r).filter(xH));let g=Rr;const f=a.shallowRef(d),h=p.value?a.watch(()=>[u.value,_r(r),f.value],([y,k])=>{if(g(),!f.value||!y.length)return;const w=new IntersectionObserver(n,{root:_r(k),rootMargin:l,threshold:s});y.forEach(C=>C&&w.observe(C)),g=()=>{w.disconnect(),g=Rr}},{immediate:d,flush:"post"}):Rr,m=()=>{g(),h(),f.value=!1};return Rv(m),{isSupported:p,isActive:f,pause(){g(),f.value=!1},resume(){f.value=!0},stop:m}}function Gg(o){return typeof Window<"u"&&o instanceof Window?o.document.documentElement:typeof Document<"u"&&o instanceof Document?o.documentElement:o}const Kg=new WeakMap;function LH(o,n=!1){const i=a.shallowRef(n);let r="";a.watch(TH(o),c=>{const d=Gg(a.toValue(c));if(d){const p=d;if(Kg.get(p)||Kg.set(p,p.style.overflow),p.style.overflow!=="hidden"&&(r=p.style.overflow),p.style.overflow==="hidden")return i.value=!0;if(i.value)return p.style.overflow="hidden"}},{immediate:!0});const l=()=>{const c=Gg(a.toValue(o));!c||i.value||(c.style.overflow="hidden",i.value=!0)},s=()=>{const c=Gg(a.toValue(o));!c||!i.value||(c.style.overflow=r,Kg.delete(c),i.value=!1)};return Rv(s),a.computed({get(){return i.value},set(c){c?l():s()}})}function RH(o={}){const{window:n=tp}=o;if(!n)return a.shallowRef(!1);const i=a.shallowRef(n.document.hasFocus()),r={passive:!0};return nc(n,"blur",()=>{i.value=!1},r),nc(n,"focus",()=>{i.value=!0},r),i}const _H=xe(a.defineComponent({__name:"wt-intersection-observer",props:{canLoadMore:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},emits:["next"],setup(o,{emit:n}){const i=o,r=n,l=a.ref(null);let s;return a.onMounted(()=>{const{stop:c}=DH(l.value,([{isIntersecting:d}])=>{d&&i.canLoadMore&&r("next")});s=c}),a.onUnmounted(()=>{s()}),(c,d)=>{const p=a.resolveComponent("wt-loader");return a.openBlock(),a.createElementBlock(a.Fragment,null,[o.loading?(a.openBlock(),a.createBlock(p,{key:0,size:"sm"})):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"intersectionTarget",ref:l},null,512)],64)}}}),[["__scopeId","data-v-08fafeb2"]]),BH=xe({__name:"wt-item-link",props:{link:{type:[String,Object],default:""},target:{type:String,default:"_self"},routeName:{type:String,default:""},id:{type:[String,Number],default:""},invisible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(o){const n=o,i=a.computed(()=>n.link||{name:`${n.routeName}-edit`,params:{id:n.id}});return(r,l)=>{const s=a.resolveComponent("router-link");return a.openBlock(),a.createBlock(s,{class:a.normalizeClass([{"wt-item-link--disabled":o.disabled,"wt-item-link--invisible":o.invisible},"wt-item-link"]),target:o.target,to:i.value},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},void 0,!0)],void 0,!0),_:3},8,["class","target","to"])}}},[["__scopeId","data-v-012eeb78"]]),PH=xe(a.defineComponent({__name:"wt-label",props:{disabled:{type:Boolean},invalid:{type:Boolean},required:{type:Boolean},hint:{}},setup(o){return(n,i)=>{const r=a.resolveComponent("wt-hint");return a.openBlock(),a.createElementBlock("label",{class:a.normalizeClass([{"wt-label--invalid":o.invalid,"wt-label--disabled":o.disabled,"wt-label--required":o.required},"wt-label typo-subtitle-2"])},[a.renderSlot(n.$slots,"default",{},void 0,!0),o.hint?(a.openBlock(),a.createBlock(r,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.hint),1)],void 0,!0),_:1})):a.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-7d80b998"]]),$H={name:"WtLoadBar",props:{max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},color:{type:String,default:xr.PRIMARY,validator:o=>[xr.PRIMARY,xr.ERROR,xr.WARNING,xr.SUCCESS,xr.INFO].includes(o)}},computed:{progress(){return this.value*100/this.max},progressWidth(){return this.isOverflow?100:this.progress}}};function MH(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["wt-load-bar",`wt-load-bar--color-${i.color}`])},[a.createElementVNode("span",{style:a.normalizeStyle(`width: ${s.progressWidth}%;`),class:"wt-load-bar__progress"},null,4)],2)}const NH=xe($H,[["render",MH],["__scopeId","data-v-0cbf7894"]]),FH={},qH={class:"wt-brand-loader"};function UH(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",qH,[...n[0]||(n[0]=[a.createElementVNode("svg",{class:"wt-brand-loader__svg",viewBox:"0 0 80 80"},[a.createElementVNode("rect",{class:"wt-brand-loader__svg__rect",height:"64",width:"64",x:"8",y:"8"})],-1)])])}const HH=xe(FH,[["render",UH],["__scopeId","data-v-87bddcef"]]),zH={props:{color:{type:String,default:"main",description:'["main", "icon", "on-dark", "on-light"]'},size:{type:String,default:"sm",description:'["xs", "sm"]'}}};function ZH(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[`wt-spinner-loader--${i.color}`,`wt-spinner-loader--${i.size}`],"wt-spinner-loader"])},[...n[0]||(n[0]=[a.createElementVNode("svg",{viewBox:"0 0 24 24"},[a.createElementVNode("circle",{cx:"12",cy:"12",r:"8"})],-1)])],2)}const GH={name:"WtLoader",components:{WtBrandLoader:HH,WtSpinnerLoader:xe(zH,[["render",ZH],["__scopeId","data-v-d9516e96"]])},props:{size:{type:String,default:"md",description:'["xs", "sm", "md"]'},color:{type:String,default:"main",description:'["main", "icon", "on-dark", "on-light"]'}}};function KH(o,n,i,r,l,s){const c=a.resolveComponent("wt-brand-loader"),d=a.resolveComponent("wt-spinner-loader");return i.size==="md"?(a.openBlock(),a.createBlock(c,{key:0,color:i.color,class:"wt-loader"},null,8,["color"])):(a.openBlock(),a.createBlock(d,{key:1,class:"wt-loader",color:i.color,size:i.size},null,8,["color","size"]))}const WH=xe(GH,[["render",KH]]),YH="data:image/svg+xml,%3csvg%20width='84'%20height='16'%20viewBox='0%200%2084%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20style=''%3e%3cpath%20d='M19.1471%206.76561C19.5192%206.46004%2019.6844%205.97826%2019.5751%205.5171L19.4594%205.02854C19.3506%204.56907%2018.9874%204.2066%2018.5174%204.08828L2.35134%200.0186988C1.8058%20-0.118634%201.40925%200.531474%201.77936%200.956411L7.27394%207.26494C7.73821%207.79799%208.55962%207.86467%209.1086%207.41386L12.8859%204.31212C13.4349%203.86131%2014.2563%203.92799%2014.7205%204.46104L16.8959%206.95867C17.3602%207.49173%2018.1816%207.5584%2018.7306%207.1076L19.1471%206.76561Z'%20fill='url(%23paint0_linear_8188_8305)'%20class='HcezHUeY_0'%3e%3c/path%3e%3cpath%20d='M2.8954%2013.2275L0.0318858%204.54719C-0.164915%203.95062%200.597042%203.51399%201.00917%203.98718L6.96719%2010.8278C7.43146%2011.3608%208.25287%2011.4275%208.80185%2010.9767L12.5791%207.87496C13.1281%207.42416%2013.9495%207.49084%2014.4138%208.02389L20.5264%2015.042C20.9236%2015.498%2020.4402%2016.1812%2019.8801%2015.9555L15.6717%2014.2593C15.478%2014.1812%2015.2676%2014.1497%2015.0586%2014.1676L5.60297%2014.9747C4.39086%2015.0782%203.26658%2014.3527%202.8954%2013.2275Z'%20fill='url(%23paint1_linear_8188_8305)'%20class='HcezHUeY_1'%3e%3c/path%3e%3cpath%20d='M20.0597%2010.6176C20.7881%2011.307%2022%2010.7984%2022%209.80342C22%208.80811%2020.7875%208.2997%2020.0592%208.98965C19.5902%209.43403%2019.5904%2010.1735%2020.0597%2010.6176Z'%20fill='url(%23paint2_linear_8188_8305)'%20class='HcezHUeY_2'%3e%3c/path%3e%3cpath%20d='M83%202L83%2014.0004'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_3'%3e%3c/path%3e%3cpath%20d='M25%202.15332C25%202.15332%2028.2186%2013.9992%2028.3273%2013.9992C28.436%2013.9992%2031.5128%202.15332%2031.6546%202.15332C31.7963%202.15332%2034.8519%2013.9992%2034.9819%2013.9992C35.1118%2013.9992%2038.3091%202.15332%2038.3091%202.15332'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_4'%3e%3c/path%3e%3cpath%20d='M62%206L62%2013.9995M62%202L62%203.07689'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_5'%3e%3c/path%3e%3cpath%20d='M67.0001%202L67.0001%2013.9996M70%206H65'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_6'%3e%3c/path%3e%3cpath%20d='M47.0809%2012.6863C46.3035%2013.5332%2045.1749%2014%2044.0462%2014C42.0231%2014%2040%2012.5%2040%2010C40%207.5%2042.0231%206%2044.0462%206C45.7855%206%2047.5247%207.10857%2047.9786%209.00803C48.107%209.54553%2047.6396%2010%2047.0809%2010H41.0116'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_7'%3e%3c/path%3e%3cpath%20d='M79.0811%2012.6864C78.3037%2013.5332%2077.175%2014.0001%2076.0464%2014.0001C74.0233%2014.0001%2072.0001%2012.5001%2072.0001%2010.0001C72.0001%207.50007%2074.0233%206.00007%2076.0464%206.00007C77.7856%206.00007%2079.5248%207.10864%2079.9787%209.00811C80.1071%209.5456%2079.6397%2010.0001%2079.0811%2010.0001H73.0117'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_8'%3e%3c/path%3e%3cpath%20d='M51%202L51%2013.9992M58.7637%2010.23C58.7637%2012.3117%2057.0257%2013.9992%2054.8818%2013.9992C52.738%2013.9992%2051%2012.3117%2051%2010.23C51%208.14839%2052.738%206.4609%2054.8818%206.4609C57.0257%206.4609%2058.7637%208.14839%2058.7637%2010.23Z'%20stroke='%23454E68'%20stroke-width='2'%20stroke-linecap='round'%20class='HcezHUeY_9'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8188_8305'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cstyle%20data-made-with='vivus-instant'%3e.HcezHUeY_0{stroke-dasharray:45%2047;stroke-dashoffset:46;animation:HcezHUeY_draw%202666ms%20ease%200ms%20forwards;}.HcezHUeY_1{stroke-dasharray:58%2060;stroke-dashoffset:59;animation:HcezHUeY_draw%202666ms%20ease%20148ms%20forwards;}.HcezHUeY_2{stroke-dasharray:8%2010;stroke-dashoffset:9;animation:HcezHUeY_draw%202666ms%20ease%20296ms%20forwards;}.HcezHUeY_3{stroke-dasharray:13%2015;stroke-dashoffset:14;animation:HcezHUeY_draw%202666ms%20ease%20444ms%20forwards;}.HcezHUeY_4{stroke-dasharray:50%2052;stroke-dashoffset:51;animation:HcezHUeY_draw%202666ms%20ease%20592ms%20forwards;}.HcezHUeY_5{stroke-dasharray:10%2012;stroke-dashoffset:11;animation:HcezHUeY_draw%202666ms%20ease%20740ms%20forwards;}.HcezHUeY_6{stroke-dasharray:17%2019;stroke-dashoffset:18;animation:HcezHUeY_draw%202666ms%20ease%20888ms%20forwards;}.HcezHUeY_7{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:HcezHUeY_draw%202666ms%20ease%201037ms%20forwards;}.HcezHUeY_8{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:HcezHUeY_draw%202666ms%20ease%201185ms%20forwards;}.HcezHUeY_9{stroke-dasharray:37%2039;stroke-dashoffset:38;animation:HcezHUeY_draw%202666ms%20ease%201333ms%20forwards;}@keyframes%20HcezHUeY_draw{100%25{stroke-dashoffset:0;}}@keyframes%20HcezHUeY_fade{0%25{stroke-opacity:1;}95.1219512195122%25{stroke-opacity:1;}100%25{stroke-opacity:0;}}%20%3c/style%3e%3c/svg%3e",XH="data:image/svg+xml,%3csvg%20width='84'%20height='16'%20viewBox='0%200%2084%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20style=''%3e%3cpath%20d='M19.1471%206.76561C19.5192%206.46004%2019.6844%205.97826%2019.5751%205.5171L19.4594%205.02854C19.3506%204.56907%2018.9874%204.2066%2018.5174%204.08828L2.35134%200.0186988C1.8058%20-0.118634%201.40925%200.531474%201.77936%200.956411L7.27394%207.26494C7.73821%207.79799%208.55962%207.86467%209.1086%207.41386L12.8859%204.31212C13.4349%203.86131%2014.2563%203.92799%2014.7205%204.46104L16.8959%206.95867C17.3602%207.49173%2018.1816%207.5584%2018.7306%207.1076L19.1471%206.76561Z'%20fill='url(%23paint0_linear_8188_8295)'%20class='mfqwVynX_0'%3e%3c/path%3e%3cpath%20d='M2.8954%2013.2275L0.0318858%204.54719C-0.164915%203.95062%200.597042%203.51399%201.00917%203.98718L6.96719%2010.8278C7.43146%2011.3608%208.25287%2011.4275%208.80185%2010.9767L12.5791%207.87496C13.1281%207.42416%2013.9495%207.49084%2014.4138%208.02389L20.5264%2015.042C20.9236%2015.498%2020.4402%2016.1812%2019.8801%2015.9555L15.6717%2014.2593C15.478%2014.1812%2015.2676%2014.1497%2015.0586%2014.1676L5.60297%2014.9747C4.39086%2015.0782%203.26658%2014.3527%202.8954%2013.2275Z'%20fill='url(%23paint1_linear_8188_8295)'%20class='mfqwVynX_1'%3e%3c/path%3e%3cpath%20d='M20.0597%2010.6176C20.7881%2011.307%2022%2010.7984%2022%209.80342C22%208.80811%2020.7875%208.2997%2020.0592%208.98965C19.5902%209.43403%2019.5904%2010.1735%2020.0597%2010.6176Z'%20fill='url(%23paint2_linear_8188_8295)'%20class='mfqwVynX_2'%3e%3c/path%3e%3cpath%20d='M83%202L83%2014.0004'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_3'%3e%3c/path%3e%3cpath%20d='M25%202.15332C25%202.15332%2028.2186%2013.9992%2028.3273%2013.9992C28.436%2013.9992%2031.5128%202.15332%2031.6546%202.15332C31.7963%202.15332%2034.8519%2013.9992%2034.9819%2013.9992C35.1118%2013.9992%2038.3091%202.15332%2038.3091%202.15332'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_4'%3e%3c/path%3e%3cpath%20d='M62%206L62%2013.9995M62%202L62%203.07689'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_5'%3e%3c/path%3e%3cpath%20d='M67.0001%202L67.0001%2013.9996M70%206H65'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_6'%3e%3c/path%3e%3cpath%20d='M47.0809%2012.6863C46.3035%2013.5332%2045.1749%2014%2044.0462%2014C42.0231%2014%2040%2012.5%2040%2010C40%207.5%2042.0231%206%2044.0462%206C45.7855%206%2047.5247%207.10857%2047.9786%209.00803C48.107%209.54553%2047.6396%2010%2047.0809%2010H41.0116'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_7'%3e%3c/path%3e%3cpath%20d='M79.0811%2012.6864C78.3037%2013.5332%2077.175%2014.0001%2076.0464%2014.0001C74.0233%2014.0001%2072.0001%2012.5001%2072.0001%2010.0001C72.0001%207.50007%2074.0233%206.00007%2076.0464%206.00007C77.7856%206.00007%2079.5248%207.10864%2079.9787%209.00811C80.1071%209.5456%2079.6397%2010.0001%2079.0811%2010.0001H73.0117'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_8'%3e%3c/path%3e%3cpath%20d='M51%202L51%2013.9992M58.7637%2010.23C58.7637%2012.3117%2057.0257%2013.9992%2054.8818%2013.9992C52.738%2013.9992%2051%2012.3117%2051%2010.23C51%208.14839%2052.738%206.4609%2054.8818%206.4609C57.0257%206.4609%2058.7637%208.14839%2058.7637%2010.23Z'%20stroke='%23919AB6'%20stroke-width='2'%20stroke-linecap='round'%20class='mfqwVynX_9'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8188_8295'%20x1='19.6018'%20y1='1.31343'%20x2='5.13539'%20y2='15.7822'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D93DF5'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%231A2EB2'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cstyle%20data-made-with='vivus-instant'%3e.mfqwVynX_0{stroke-dasharray:45%2047;stroke-dashoffset:46;animation:mfqwVynX_draw%202666ms%20ease%200ms%20forwards;}.mfqwVynX_1{stroke-dasharray:58%2060;stroke-dashoffset:59;animation:mfqwVynX_draw%202666ms%20ease%20148ms%20forwards;}.mfqwVynX_2{stroke-dasharray:8%2010;stroke-dashoffset:9;animation:mfqwVynX_draw%202666ms%20ease%20296ms%20forwards;}.mfqwVynX_3{stroke-dasharray:13%2015;stroke-dashoffset:14;animation:mfqwVynX_draw%202666ms%20ease%20444ms%20forwards;}.mfqwVynX_4{stroke-dasharray:50%2052;stroke-dashoffset:51;animation:mfqwVynX_draw%202666ms%20ease%20592ms%20forwards;}.mfqwVynX_5{stroke-dasharray:10%2012;stroke-dashoffset:11;animation:mfqwVynX_draw%202666ms%20ease%20740ms%20forwards;}.mfqwVynX_6{stroke-dasharray:17%2019;stroke-dashoffset:18;animation:mfqwVynX_draw%202666ms%20ease%20888ms%20forwards;}.mfqwVynX_7{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:mfqwVynX_draw%202666ms%20ease%201037ms%20forwards;}.mfqwVynX_8{stroke-dasharray:30%2032;stroke-dashoffset:31;animation:mfqwVynX_draw%202666ms%20ease%201185ms%20forwards;}.mfqwVynX_9{stroke-dasharray:37%2039;stroke-dashoffset:38;animation:mfqwVynX_draw%202666ms%20ease%201333ms%20forwards;}@keyframes%20mfqwVynX_draw{100%25{stroke-dashoffset:0;}}@keyframes%20mfqwVynX_fade{0%25{stroke-opacity:1;}95.1219512195122%25{stroke-opacity:1;}100%25{stroke-opacity:0;}}%20%3c/style%3e%3c/svg%3e",QH=["src"],JH=xe({__name:"wt-logo",props:{darkMode:{type:Boolean,default:!1},logoHref:{type:String,default:""},logoRoute:{type:String,default:""},disabled:{type:Boolean,default:!1}},setup(o){const n=o,i=a.computed(()=>n.logoHref||void 0),r=n.darkMode?YH:XH,l=n.disabled?"span":n.logoRoute?"router-link":"a",s=n.disabled?{}:n.logoRoute?{to:n.logoRoute}:{href:i.value};return(c,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(l)),a.normalizeProps(a.guardReactiveProps(a.unref(s))),{default:a.withCtx(()=>[a.createElementVNode("img",{src:a.unref(r),alt:"Webitel",class:"wt-logo"},null,8,QH)],void 0,!0),_:1},16))}},[["__scopeId","data-v-b0949b99"]]),VH=a.defineComponent({__name:"wt-message",props:{color:{default:Xo.SECONDARY},variant:{default:Vi.FILLED},size:{default:Pe.MD}},setup(o){const n={[Pe.SM]:"small",[Pe.MD]:"normal",[Pe.LG]:"large"};return(i,r)=>{const l=a.resolveComponent("wt-icon"),s=a.resolveComponent("p-message");return a.openBlock(),a.createBlock(s,a.mergeProps(i.$attrs,{severity:o.color,variant:o.variant,size:n[o.size]}),{closeicon:a.withCtx(()=>[a.createVNode(l,{icon:"close",size:a.unref(Pe).SM},null,8,["size"])]),default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")],void 0,!0),_:3},16,["severity","variant","size"])}}}),ez={name:"WtExpandTransition",methods:{afterEnter(o){o.style.height="auto"},enter(o){const{width:n}=getComputedStyle(o);o.style.width=n,o.style.position="absolute",o.style.visibility="hidden",o.style.height="auto";const{height:i}=getComputedStyle(o);o.style.width=null,o.style.position=null,o.style.visibility=null,o.style.height=0,getComputedStyle(o).height,requestAnimationFrame(()=>o.style.height=i)},leave(o){const{height:n}=getComputedStyle(o);o.style.height=n,getComputedStyle(o).height,requestAnimationFrame(()=>o.style.height=0)}}};function tz(o,n,i,r,l,s){return a.openBlock(),a.createBlock(a.Transition,{name:"expand",onEnter:s.enter,onLeave:s.leave,onAfterEnter:s.afterEnter},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")],void 0,!0),_:3},8,["onEnter","onLeave","onAfterEnter"])}const np=xe(ez,[["render",tz]]),nz="data:image/svg+xml,%3csvg%20width='117'%20height='24'%20viewBox='0%200%20117%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.2457%205.22555C15.5926%205.25714%2015.9962%205.43335%2016.2989%205.56551L14.7045%209.19308C14.6333%209.16197%2014.5863%209.14153%2014.5437%209.12368C13.6356%208.96158%2012.8284%208.49252%2012.2426%207.81918C11.9605%208.32111%2011.4383%209.04414%2010.5596%209.56884C10.3402%209.79839%2010.094%2010.001%209.82598%2010.1721C9.50443%2010.3775%208.95304%2010.7004%208.21696%2010.897C8.12635%2010.9212%208.03598%2010.9428%207.9459%2010.9617C7.99591%2011.0479%208.03902%2011.128%208.07584%2011.1998C8.39474%2011.8221%208.55257%2012.4307%208.63334%2012.8857C8.67624%2013.1273%208.69647%2013.3722%208.6939%2013.6171C8.70511%2013.7053%208.72374%2013.8609%208.7356%2014.0304C8.74299%2014.136%208.74868%2014.2565%208.74964%2014.3896C8.801%2015.0702%208.71083%2015.6941%208.53224%2016.2516C9.11636%2016.2329%209.7049%2016.3426%2010.2542%2016.5824C10.5283%2016.702%2010.7518%2016.8266%2010.9064%2016.9179C11.0299%2016.9908%2011.1548%2017.0701%2011.2135%2017.1074C11.217%2017.1096%2011.2203%2017.1117%2011.2233%2017.1136L9.62462%2020.751C9.40833%2020.6566%209.2337%2020.5459%209.07161%2020.4432C8.93124%2020.3543%208.80027%2020.2713%208.65978%2020.2099L6.45151%2021.4034C6.0162%2021.5729%205.36657%2021.4092%205.05136%2021.0318L3.03416%2018.2333C2.71894%2017.856%202.73814%2017.2651%203.16095%2016.8503L4.47358%2015.5056C4.70709%2015.2479%204.83969%2014.9462%204.77048%2014.5564C4.78633%2014.3836%204.76591%2014.2248%204.74548%2014.0661C4.72505%2013.9073%204.70462%2013.7486%204.72047%2013.5757C4.65127%2013.1859%204.48116%2012.752%204.17844%2012.6199L2.55148%2011.6699C2.09116%2011.349%201.86434%2010.7706%202.08535%2010.2677L3.45557%207.15017C3.67657%206.64734%204.25699%206.42128%204.80571%206.54098L6.60948%207.08874C7.0573%207.16439%207.34751%207.05136%207.68192%206.83777C7.91542%206.58012%208.14893%206.32247%208.43914%206.20945C8.72935%206.09642%208.90615%205.69415%208.93785%205.3484L9.03964%203.47503C9.01463%202.98466%209.48164%202.46936%209.97366%202.44444L13.4053%202.0248C13.9415%201.89931%2014.5027%202.2642%2014.6286%202.79862L15.2457%205.22555Z'%20fill='%23C9981D'/%3e%3cpath%20d='M26.0993%2018.122H17.6307L16.0571%2021.9999H10.2778L19.1184%202.03979H24.6974L33.5666%2021.9999H27.6729L26.0993%2018.122ZM24.4399%2013.9588L21.865%207.5716L19.2901%2013.9588H24.4399Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M35.1726%202.03979H44.6426C46.836%202.03979%2048.7815%202.4485%2050.4791%203.26592C52.1766%204.08333%2053.4927%205.24292%2054.4273%206.74468C55.3619%208.24644%2055.8292%2010.0048%2055.8292%2012.0199C55.8292%2014.0349%2055.3619%2015.7933%2054.4273%2017.295C53.4927%2018.7968%2052.1766%2019.9564%2050.4791%2020.7738C48.7815%2021.5912%2046.836%2021.9999%2044.6426%2021.9999H35.1726V2.03979ZM44.4137%2017.4946C46.1303%2017.4946%2047.5036%2017.0099%2048.5336%2016.0404C49.5826%2015.0709%2050.1071%2013.7307%2050.1071%2012.0199C50.1071%2010.309%2049.5826%208.96881%2048.5336%207.99932C47.5036%207.02983%2046.1303%206.54508%2044.4137%206.54508H40.8374V17.4946H44.4137Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M76.8912%2021.9999L76.834%2011.4211L71.6842%2020.0324H69.1665L64.0452%2011.7062V21.9999H58.8096V2.03979H63.473L70.5112%2013.5596L77.3776%202.03979H82.0411L82.0983%2021.9999H76.8912Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M86.1067%202.03979H91.7715V21.9999H86.1067V2.03979Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M114.856%202.03979V21.9999H110.193L101.352%2011.364V21.9999H95.8017V2.03979H100.465L109.306%2012.6757V2.03979H114.856Z'%20fill='%23EBEDF2'/%3e%3c/svg%3e",oz="data:image/svg+xml,%3csvg%20width='88'%20height='24'%20viewBox='0%200%2088%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M65.7546%202.12487C65.7908%202.04845%2065.8652%202%2065.9466%202C66.028%202%2066.1025%202.04845%2066.1386%202.12487L66.8271%203.58517C66.8582%203.65123%2066.9186%203.69705%2066.9884%203.70766L68.5282%203.94179C68.609%203.95402%2068.6758%204.01321%2068.7009%204.09425C68.7261%204.17529%2068.7051%204.26444%2068.6468%204.32388L67.5327%205.46066C67.4822%205.5121%2067.4592%205.58627%2067.471%205.65894L67.7339%207.26409C67.7476%207.34825%2067.7147%207.43316%2067.6486%207.48336C67.5827%207.5333%2067.4955%207.53992%2067.4232%207.50046L66.0459%206.74253C65.9836%206.70819%2065.909%206.70819%2065.8466%206.74253L64.4693%207.50034C64.3972%207.53992%2064.3098%207.53343%2064.2438%207.48336C64.1778%207.43329%2064.1449%207.34825%2064.1586%207.26409L64.4216%205.65894C64.4335%205.58627%2064.4104%205.5121%2064.3599%205.46066L63.2458%204.32388C63.1875%204.26432%2063.1665%204.17529%2063.1916%204.09425C63.2168%204.01321%2063.2837%203.95402%2063.3645%203.94179L64.9045%203.70766C64.9742%203.69705%2065.0346%203.65123%2065.0657%203.58505L65.7546%202.12487Z'%20fill='%23C9981D'/%3e%3cpath%20d='M15.7621%2018.27H8.39576L7.02702%2021.6519H2L9.68985%204.24487H14.5427L22.2574%2021.6519H17.1308L15.7621%2018.27ZM14.3187%2014.6394L12.0789%209.06911L9.83916%2014.6394H14.3187Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M31.328%2022.0001C28.7399%2022.0001%2026.7241%2021.2955%2025.2807%2019.8863C23.8539%2018.4772%2023.1405%2016.4795%2023.1405%2013.8933V4.24487H28.0679V13.7441C28.0679%2016.5293%2029.1712%2017.9218%2031.3778%2017.9218C33.5678%2017.9218%2034.6628%2016.5293%2034.6628%2013.7441V4.24487H39.5156V13.8933C39.5156%2016.4795%2038.7939%2018.4772%2037.3505%2019.8863C35.9237%2021.2955%2033.9162%2022.0001%2031.328%2022.0001Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M42.8537%204.24487H51.091C52.999%204.24487%2054.6912%204.6013%2056.1678%205.31416C57.6444%206.02702%2058.7892%207.03829%2059.6021%208.34796C60.4151%209.65763%2060.8215%2011.1911%2060.8215%2012.9484C60.8215%2014.7057%2060.4151%2016.2392%2059.6021%2017.5488C58.7892%2018.8585%2057.6444%2019.8698%2056.1678%2020.5826C54.6912%2021.2955%2052.999%2021.6519%2051.091%2021.6519H42.8537V4.24487ZM50.8919%2017.7229C52.3851%2017.7229%2053.5796%2017.3002%2054.4755%2016.4547C55.388%2015.6092%2055.8443%2014.4404%2055.8443%2012.9484C55.8443%2011.4564%2055.388%2010.2876%2054.4755%209.44212C53.5796%208.59663%2052.3851%208.17389%2050.8919%208.17389H47.7811V17.7229H50.8919Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M75.7469%208.14902H70.3963V4.24487H86V8.14902H80.6743V21.6519H75.7469V8.14902Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M63.3584%209.38232H68.2859V21.6517H63.3584V9.38232Z'%20fill='%23C9981D'/%3e%3c/svg%3e",iz="data:image/svg+xml,%3csvg%20width='69'%20height='24'%20viewBox='0%200%2069%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1763%2022V2.23535H32.2116C34.0186%202.23535%2035.5716%202.52712%2036.8704%203.11065C38.188%203.69417%2039.2045%204.54123%2039.9198%205.65182C40.6351%206.74358%2040.9927%208.04241%2040.9927%209.54829C40.9927%2011.0353%2040.6351%2012.3248%2039.9198%2013.4165C39.2045%2014.4895%2038.188%2015.3177%2036.8704%2015.9012C35.5716%2016.4659%2034.0186%2016.7483%2032.2116%2016.7483H26.2821L28.7669%2014.4048V22H23.1763ZM35.4021%2022L30.4892%2014.8H36.4468L41.388%2022H35.4021ZM28.7669%2014.9977L26.2821%2012.4283H31.8727C33.0398%2012.4283%2033.9057%2012.1742%2034.4704%2011.6659C35.0539%2011.1577%2035.3457%2010.4518%2035.3457%209.54829C35.3457%208.62594%2035.0539%207.91064%2034.4704%207.40241C33.9057%206.89417%2033.0398%206.64005%2031.8727%206.64005H26.2821L28.7669%204.07064V14.9977Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M44.077%2022V2.23535H48.6793L56.8676%2015.6753H54.4393L62.4017%202.23535H67.004L67.0605%2022H61.9217L61.8652%2010.0565H62.7405L56.7829%2020.0518H54.2982L48.1711%2010.0565H49.244V22H44.077Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M12.5642%2022C11.0459%2022%209.63733%2021.7619%208.33853%2021.2857C7.05802%2020.7912%205.94214%2020.0952%204.99091%2019.1978C4.05796%2018.3004%203.32624%2017.2472%202.79575%2016.0385C2.26525%2014.8113%202%2013.4652%202%2012C2%2010.5348%202.26525%209.1978%202.79575%207.98901C3.32624%206.7619%204.05796%205.69963%204.99091%204.8022C5.94214%203.90476%207.05802%203.21795%208.33853%202.74176C9.63733%202.24725%2011.0459%202%2012.5642%202C14.3386%202%2015.921%202.31136%2017.3113%202.93407C18.015%203.24517%2018.6593%203.62483%2019.2443%204.07307C20.2355%204.83253%2020.1032%206.2789%2019.1777%207.11722V7.11722C18.1868%208.01487%2016.6732%207.84579%2015.508%207.18988C15.4419%207.15266%2015.3753%207.11684%2015.3082%207.08241C14.5764%206.6978%2013.7533%206.50549%2012.8386%206.50549C12.052%206.50549%2011.3294%206.6337%2010.6709%206.89011C10.0123%207.14652%209.44526%207.52197%208.96964%208.01648C8.51231%208.49267%208.14645%209.06959%207.87206%209.74725C7.61596%2010.4249%207.4879%2011.1758%207.4879%2012C7.4879%2012.8242%207.61596%2013.5751%207.87206%2014.2527C8.14645%2014.9304%208.51231%2015.5165%208.96964%2016.011C9.44526%2016.4872%2010.0123%2016.8535%2010.6709%2017.1099C11.3294%2017.3663%2012.052%2017.4945%2012.8386%2017.4945C13.7533%2017.4945%2014.5764%2017.3022%2015.3082%2016.9176C15.378%2016.8818%2015.4472%2016.8445%2015.5158%2016.8057C16.6757%2016.1504%2018.1838%2015.9824%2019.1711%2016.8768V16.8768C20.0983%2017.7167%2020.2239%2019.1657%2019.2293%2019.9247C18.6483%2020.368%2018.0089%2020.7484%2017.3113%2021.0659C15.921%2021.6886%2014.3386%2022%2012.5642%2022Z'%20fill='%23EBEDF2'/%3e%3cellipse%20cx='13.1765'%20cy='12'%20rx='2.94117'%20ry='2.94117'%20fill='%23C9981D'/%3e%3c/svg%3e",rz="data:image/svg+xml,%3csvg%20width='136'%20height='24'%20viewBox='0%200%20136%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.2572%202.38452V21.6153H14.8293V14.1153H7.4278V21.6153H2V2.38452H7.4278V9.6098H14.8293V2.38452H20.2572Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M45.2949%2022C43.7415%2022%2042.2337%2021.8077%2040.7717%2021.4231C39.3097%2021.0385%2038.1218%2020.5256%2037.208%2019.8846L38.9899%2015.8736C39.8488%2016.4414%2040.8448%2016.8993%2041.9779%2017.2473C43.111%2017.5952%2044.2258%2017.7692%2045.3223%2017.7692C47.4057%2017.7692%2048.4474%2017.2473%2048.4474%2016.2033C48.4474%2015.6538%2048.1458%2015.2509%2047.5428%2014.9945C46.9579%2014.7198%2046.0076%2014.4359%2044.6918%2014.1429C43.248%2013.8315%2042.0419%2013.5018%2041.0733%2013.1538C40.1047%2012.7875%2039.2731%2012.2106%2038.5787%2011.4231C37.8842%2010.6355%2037.537%209.57326%2037.537%208.23626C37.537%207.0641%2037.8568%206.01099%2038.4964%205.07692C39.1361%204.12454%2040.0864%203.37363%2041.3474%202.82418C42.6267%202.27473%2044.1892%202%2046.035%202C47.296%202%2048.5388%202.14652%2049.7632%202.43956C50.9877%202.71429%2052.0659%203.12637%2052.998%203.67582L51.3258%207.71429C49.4982%206.72527%2047.7255%206.23077%2046.0076%206.23077C44.9294%206.23077%2044.1435%206.3956%2043.6501%206.72527C43.1567%207.03663%2042.9099%207.44872%2042.9099%207.96154C42.9099%208.47436%2043.2023%208.85897%2043.7872%209.11538C44.372%209.3718%2045.3132%209.63736%2046.6107%209.91209C48.0727%2010.2234%2049.2789%2010.5623%2050.2292%2010.9286C51.1978%2011.2766%2052.0294%2011.8443%2052.7238%2012.6319C53.4366%2013.4011%2053.793%2014.4542%2053.793%2015.7912C53.793%2016.9451%2053.4731%2017.989%2052.8335%2018.9231C52.1939%2019.8571%2051.2344%2020.6081%2049.9551%2021.1758C48.6758%2021.7253%2047.1224%2022%2045.2949%2022Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M60.117%206.6978H54.2232V2.38462H71.4112V6.6978H65.5448V21.6154H60.117V6.6978Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M82.8425%2022C80.814%2022%2078.9864%2021.5696%2077.3599%2020.7088C75.7517%2019.848%2074.4815%2018.6575%2073.5495%2017.1374C72.6357%2015.6172%2072.1788%2013.9048%2072.1788%2012C72.1788%2010.0952%2072.6357%208.38278%2073.5495%206.86264C74.4815%205.34249%2075.7517%204.15202%2077.3599%203.29121C78.9864%202.4304%2080.814%202%2082.8425%202C84.8711%202%2086.6895%202.4304%2088.2977%203.29121C89.9243%204.15202%2091.1944%205.34249%2092.1082%206.86264C93.0402%208.38278%2093.5062%2010.0952%2093.5062%2012C93.5062%2013.9048%2093.0402%2015.6172%2092.1082%2017.1374C91.1944%2018.6575%2089.9243%2019.848%2088.2977%2020.7088C86.6895%2021.5696%2084.8711%2022%2082.8425%2022ZM82.8425%2017.4945C83.8111%2017.4945%2084.6883%2017.2656%2085.4742%2016.8077C86.26%2016.3498%2086.8814%2015.7088%2087.3383%2014.8846C87.7952%2014.0421%2088.0236%2013.0806%2088.0236%2012C88.0236%2010.9194%2087.7952%209.96703%2087.3383%209.14286C86.8814%208.30037%2086.26%207.65018%2085.4742%207.19231C84.6883%206.73443%2083.8111%206.5055%2082.8425%206.5055C81.8739%206.5055%2080.9967%206.73443%2080.2109%207.19231C79.425%207.65018%2078.8037%208.30037%2078.3468%209.14286C77.8899%209.96703%2077.6614%2010.9194%2077.6614%2012C77.6614%2013.0806%2077.8899%2014.0421%2078.3468%2014.8846C78.8037%2015.7088%2079.425%2016.3498%2080.2109%2016.8077C80.9967%2017.2656%2081.8739%2017.4945%2082.8425%2017.4945Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M104.737%2016.5055H101.777V21.6154H96.3491V2.38462H105.121C106.857%202.38462%20108.365%202.67766%20109.644%203.26374C110.924%203.8315%20111.911%204.65568%20112.605%205.73626C113.3%206.79853%20113.647%208.05311%20113.647%209.5C113.647%2010.8919%20113.318%2012.1099%20112.66%2013.1538C112.02%2014.1795%20111.097%2014.9853%20109.891%2015.5714L114.031%2021.6154H108.219L104.737%2016.5055ZM108.164%209.5C108.164%208.60256%20107.881%207.90659%20107.314%207.41209C106.748%206.91758%20105.907%206.67033%20104.792%206.67033H101.777V12.3022H104.792C105.907%2012.3022%20106.748%2012.0641%20107.314%2011.5879C107.881%2011.0934%20108.164%2010.3974%20108.164%209.5Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M126.653%2014.7198V21.6154H121.226V14.6374L113.906%202.38462H119.636L124.186%2010.022L128.737%202.38462H134L126.653%2014.7198Z'%20fill='%23EBEDF2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M25.9717%202.53735C26.0359%202.7486%2026.0704%202.97281%2026.0704%203.20509C26.0704%205.83149%2027.2288%207.37663%2029.0972%209.06226C30.9657%207.37663%2032.1241%205.83149%2032.1241%203.20509C32.1241%202.97281%2032.1586%202.7486%2032.2228%202.53735H25.9717ZM32.2228%2021.6155C32.1586%2021.4042%2032.1241%2021.18%2032.1241%2020.9478C32.1241%2018.3214%2030.9657%2016.7762%2029.0972%2015.0906C27.2288%2016.7762%2026.0704%2018.3214%2026.0704%2020.9478C26.0704%2021.18%2026.0359%2021.4042%2025.9717%2021.6155H32.2228Z'%20fill='%23C9981D'/%3e%3c/svg%3e",az="data:image/svg+xml,%3csvg%20width='191'%20height='24'%20viewBox='0%200%20191%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.1194%2022C8.5597%2022%207.04593%2021.8077%205.57802%2021.4231C4.11011%2021.0385%202.91744%2020.5256%202%2019.8846L3.78901%2015.8736C4.6514%2016.4414%205.65142%2016.8993%206.78904%2017.2473C7.92667%2017.5952%209.04595%2017.7692%2010.1469%2017.7692C12.2386%2017.7692%2013.2845%2017.2473%2013.2845%2016.2033C13.2845%2015.6538%2012.9818%2015.2509%2012.3763%2014.9945C11.7891%2014.7198%2010.835%2014.4359%209.51384%2014.1429C8.06428%2013.8315%206.85326%2013.5018%205.88078%2013.1538C4.90829%2012.7875%204.07342%2012.2106%203.37616%2011.4231C2.67891%2010.6355%202.33028%209.57326%202.33028%208.23626C2.33028%207.0641%202.65138%206.01099%203.29359%205.07692C3.9358%204.12454%204.88994%203.37363%206.15601%202.82418C7.44043%202.27473%209.00925%202%2010.8625%202C12.1285%202%2013.3763%202.14652%2014.6056%202.43956C15.835%202.71429%2016.9176%203.12637%2017.8534%203.67582L16.1745%207.71429C14.3396%206.72528%2012.5597%206.23077%2010.835%206.23077C9.75238%206.23077%208.96338%206.3956%208.46796%206.72527C7.97254%207.03663%207.72483%207.44872%207.72483%207.96154C7.72483%208.47436%208.01841%208.85897%208.60557%209.11539C9.19274%209.3718%2010.1377%209.63736%2011.4405%209.91209C12.9084%2010.2234%2014.1194%2010.5623%2015.0735%2010.9286C16.046%2011.2766%2016.8809%2011.8443%2017.5781%2012.6319C18.2938%2013.4011%2018.6516%2014.4542%2018.6516%2015.7912C18.6516%2016.9451%2018.3305%2017.989%2017.6882%2018.9231C17.046%2019.8571%2016.0827%2020.6081%2014.7983%2021.1758C13.5139%2021.7253%2011.9542%2022%2010.1194%2022Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M30.0589%2022C27.1964%2022%2024.9671%2021.2216%2023.3707%2019.6648C21.7927%2018.1081%2021.0037%2015.9011%2021.0037%2013.044V2.38462H26.4533V12.8791C26.4533%2015.956%2027.6735%2017.4945%2030.1139%2017.4945C32.5359%2017.4945%2033.747%2015.956%2033.747%2012.8791V2.38462H39.114V13.044C39.114%2015.9011%2038.3158%2018.1081%2036.7195%2019.6648C35.1415%2021.2216%2032.9213%2022%2030.0589%2022Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M51.6132%202.38462C53.3563%202.38462%2054.8701%202.67766%2056.1545%203.26374C57.439%203.8315%2058.4298%204.65568%2059.127%205.73626C59.8243%206.79853%2060.1729%208.05311%2060.1729%209.5C60.1729%2010.9469%2059.8243%2012.2015%2059.127%2013.2637C58.4298%2014.326%2057.439%2015.1502%2056.1545%2015.7363C54.8701%2016.304%2053.3563%2016.5879%2051.6132%2016.5879H48.2554V21.6154H42.8058V2.38462H51.6132ZM51.2829%2012.3022C52.4022%2012.3022%2053.2462%2012.0641%2053.8151%2011.5879C54.3839%2011.0934%2054.6683%2010.3974%2054.6683%209.5C54.6683%208.60256%2054.3839%207.90659%2053.8151%207.41209C53.2462%206.91758%2052.4022%206.67033%2051.2829%206.67033H48.2554V12.3022H51.2829Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M78.298%2017.4121V21.6154H62.83V2.38462H77.9403V6.58791H68.2245V9.82967H76.7843V13.8956H68.2245V17.4121H78.298Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M89.7443%2016.5055H86.7718V21.6154H81.3222V2.38462H90.1296C91.8727%202.38462%2093.3865%202.67766%2094.6709%203.26374C95.9554%203.8315%2096.9462%204.65568%2097.6434%205.73626C98.3407%206.79853%2098.6893%208.05311%2098.6893%209.5C98.6893%2010.8919%2098.3591%2012.1099%2097.6985%2013.1538C97.0563%2014.1795%2096.1297%2014.9853%2094.9186%2015.5714L99.0746%2021.6154H93.2397L89.7443%2016.5055ZM93.1847%209.5C93.1847%208.60256%2092.9003%207.90659%2092.3315%207.41209C91.7626%206.91758%2090.9186%206.67033%2089.7993%206.67033H86.7718V12.3022H89.7993C90.9186%2012.3022%2091.7626%2012.0641%2092.3315%2011.5879C92.9003%2011.0934%2093.1847%2010.3974%2093.1847%209.5Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M121.237%202.38462L112.98%2021.6154H107.613L99.3839%202.38462H105.274L110.503%2014.9121L115.843%202.38462H121.237Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M122.365%202.38462H127.815V21.6154H122.365V2.38462Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M138.463%2022C136.903%2022%20135.389%2021.8077%20133.921%2021.4231C132.453%2021.0385%20131.261%2020.5256%20130.343%2019.8846L132.132%2015.8736C132.995%2016.4414%20133.995%2016.8993%20135.132%2017.2473C136.27%2017.5952%20137.389%2017.7692%20138.49%2017.7692C140.582%2017.7692%20141.628%2017.2473%20141.628%2016.2033C141.628%2015.6538%20141.325%2015.2509%20140.719%2014.9945C140.132%2014.7198%20139.178%2014.4359%20137.857%2014.1429C136.407%2013.8315%20135.196%2013.5018%20134.224%2013.1538C133.251%2012.7875%20132.417%2012.2106%20131.719%2011.4231C131.022%2010.6355%20130.673%209.57326%20130.673%208.23626C130.673%207.0641%20130.995%206.01099%20131.637%205.07692C132.279%204.12454%20133.233%203.37363%20134.499%202.82418C135.784%202.27473%20137.352%202%20139.206%202C140.472%202%20141.719%202.14652%20142.949%202.43956C144.178%202.71429%20145.261%203.12637%20146.197%203.67582L144.518%207.71429C142.683%206.72528%20140.903%206.23077%20139.178%206.23077C138.096%206.23077%20137.307%206.3956%20136.811%206.72527C136.316%207.03663%20136.068%207.44872%20136.068%207.96154C136.068%208.47436%20136.362%208.85897%20136.949%209.11539C137.536%209.3718%20138.481%209.63736%20139.784%209.91209C141.252%2010.2234%20142.463%2010.5623%20143.417%2010.9286C144.389%2011.2766%20145.224%2011.8443%20145.921%2012.6319C146.637%2013.4011%20146.995%2014.4542%20146.995%2015.7912C146.995%2016.9451%20146.674%2017.989%20146.031%2018.9231C145.389%2019.8571%20144.426%2020.6081%20143.141%2021.1758C141.857%2021.7253%20140.297%2022%20138.463%2022Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M179.67%2016.5055H176.697V21.6154H171.248V2.38462H180.055C181.798%202.38462%20183.312%202.67766%20184.596%203.26374C185.881%203.8315%20186.872%204.65568%20187.569%205.73626C188.266%206.79853%20188.615%208.05311%20188.615%209.5C188.615%2010.8919%20188.284%2012.1099%20187.624%2013.1538C186.982%2014.1795%20186.055%2014.9853%20184.844%2015.5714L189%2021.6154H183.165L179.67%2016.5055ZM183.11%209.5C183.11%208.60256%20182.826%207.90659%20182.257%207.41209C181.688%206.91758%20180.844%206.67033%20179.725%206.67033H176.697V12.3022H179.725C180.844%2012.3022%20181.688%2012.0641%20182.257%2011.5879C182.826%2011.0934%20183.11%2010.3974%20183.11%209.5Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M158.888%2022C156.851%2022%20155.017%2021.5696%20153.384%2020.7088C151.769%2019.848%20150.494%2018.6575%20149.558%2017.1374C148.64%2015.6172%20148.182%2013.9048%20148.182%2012C148.182%2010.0952%20148.64%208.38278%20149.558%206.86264C150.494%205.34249%20151.769%204.15202%20153.384%203.29121C155.017%202.4304%20156.851%202%20158.888%202C160.925%202%20162.751%202.4304%20164.365%203.29121C165.998%204.15202%20167.274%205.34249%20168.191%206.86264C169.127%208.38278%20169.595%2010.0952%20169.595%2012C169.595%2013.9048%20169.127%2015.6172%20168.191%2017.1374C167.274%2018.6575%20165.998%2019.848%20164.365%2020.7088C162.751%2021.5696%20160.925%2022%20158.888%2022ZM158.888%2017.4945C159.861%2017.4945%20160.741%2017.2656%20161.53%2016.8077C162.319%2016.3498%20162.943%2015.7088%20163.402%2014.8846C163.861%2014.0421%20164.09%2013.0806%20164.09%2012C164.09%2010.9194%20163.861%209.96703%20163.402%209.14286C162.943%208.30037%20162.319%207.65018%20161.53%207.19231C160.741%206.73443%20159.861%206.5055%20158.888%206.5055C157.916%206.5055%20157.035%206.73443%20156.246%207.19231C155.457%207.65018%20154.833%208.30037%20154.374%209.14286C153.916%209.96703%20153.686%2010.9194%20153.686%2012C153.686%2013.0806%20153.916%2014.0421%20154.374%2014.8846C154.833%2015.7088%20155.457%2016.3498%20156.246%2016.8077C157.035%2017.2656%20157.916%2017.4945%20158.888%2017.4945Z'%20fill='%23C9981D'/%3e%3cellipse%20cx='158.943'%20cy='12.0763'%20rx='1.91134'%20ry='1.90781'%20fill='%23EBEDF2'/%3e%3c/svg%3e",sz="data:image/svg+xml,%3csvg%20width='80'%20height='16'%20viewBox='0%200%2080%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_14446_7699)'%3e%3cpath%20d='M65.8376%201C66.0624%201%2066.2708%201.12287%2066.3864%201.32367L70.4512%208.38056C70.6998%208.81212%2071.3002%208.81212%2071.5488%208.38056L75.6136%201.32367C75.7292%201.12287%2075.9376%201%2076.1624%201H78.36C78.7135%201%2079%201.29848%2079%201.66667V14.3333C79%2014.7015%2078.7135%2015%2078.36%2015L75.8%2015C75.4465%2015%2075.16%2014.7015%2075.16%2014.3333V10.6579C75.16%209.98807%2074.3181%209.73655%2073.9773%2010.3045L72.148%2013.3533C72.031%2013.5483%2071.8259%2013.6667%2071.6053%2013.6667H70.3947C70.1741%2013.6667%2069.969%2013.5483%2069.852%2013.3533L68.0227%2010.3045C67.6819%209.73655%2066.84%209.98807%2066.84%2010.6579V14.3333C66.84%2014.7015%2066.5535%2015%2066.2%2015H63.64C63.2865%2015%2063%2014.7015%2063%2014.3333V1.66667C63%201.29848%2063.2865%201%2063.64%201H65.8376Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M53.2353%2014.3333C53.2353%2014.7015%2052.9193%2015%2052.5294%2015H49.7059C49.316%2015%2049%2014.7015%2049%2014.3333V1.66667C49%201.29848%2049.316%201%2049.7059%201H60.2941C60.684%201%2061%201.29848%2061%201.66667V3.66667C61%204.03486%2060.684%204.33333%2060.2941%204.33333H53.9412C53.5513%204.33333%2053.2353%204.63181%2053.2353%205V6.33333C53.2353%206.70152%2053.5513%207%2053.9412%207H58.8824C59.2722%207%2059.5882%207.29848%2059.5882%207.66667V9.66667C59.5882%2010.0349%2059.2722%2010.3333%2058.8824%2010.3333H53.9412C53.5513%2010.3333%2053.2353%2010.6318%2053.2353%2011V14.3333Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M33.9341%201.46673C34.0181%201.18896%2034.2659%201%2034.5461%201H37.4539C37.7341%201%2037.9819%201.18896%2038.0659%201.46673L40.0046%207.87482C40.1928%208.49689%2041.04%208.49721%2041.2286%207.87529L43.1726%201.46626C43.2568%201.18873%2043.5045%201%2043.7845%201H46.3579C46.7937%201%2047.1026%201.44164%2046.9682%201.87231L43.0152%2014.539C42.9294%2014.8138%2042.683%2015%2042.4049%2015H39.2527C38.9769%2015%2038.7319%2014.8167%2038.6443%2014.5449L36.6084%208.22269C36.413%207.61587%2035.587%207.61587%2035.3916%208.22269L33.3557%2014.5449C33.2681%2014.8167%2033.0231%2015%2032.7473%2015H29.5951C29.317%2015%2029.0706%2014.8138%2028.9848%2014.539L25.0318%201.87231C24.8974%201.44164%2025.2063%201%2025.6421%201H28.2155C28.4956%201%2028.7432%201.18873%2028.8274%201.46626L30.7714%207.87529C30.96%208.49721%2031.8072%208.49689%2031.9954%207.87482L33.9341%201.46673Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M8.31726%2011.6156C7.13826%2010.4515%207.13826%208.56412%208.31726%207.40002L8.5445%207.17566L10.9065%209.50781L8.5445%2011.84L8.31726%2011.6156Z'%20fill='%232AA012'/%3e%3cpath%20d='M1.58702%2010.9072C0.804325%2010.1344%200.804325%208.88145%201.58702%208.10864L2.53183%207.17578L4.89383%209.50794L2.53183%2011.8401L1.58702%2010.9072Z'%20fill='%23A07112'/%3e%3cpath%20d='M17.0477%201.57961C16.265%200.806798%2014.996%200.806798%2014.2133%201.57961L13.2685%202.51247L15.6305%204.84462L17.9925%202.51247L17.0477%201.57961Z'%20fill='%233CE61A'/%3e%3cpath%20d='M11.0351%201.57961C10.2524%200.806798%208.98336%200.806798%208.20066%201.57961L7.25586%202.51247L9.61787%204.84462L11.9799%202.51247L11.0351%201.57961Z'%20fill='%23E6A21A'/%3e%3cpath%20d='M8.54456%207.17578L10.9066%204.84363L13.2686%207.17578L10.9066%209.50794L8.54456%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M2.53186%207.17578L4.89387%204.84363L7.25587%207.17578L4.89387%209.50794L2.53186%207.17578Z'%20fill='%23B88114'/%3e%3cpath%20d='M10.9065%209.50781L13.2685%207.17566L15.6305%209.50781L13.2685%2011.84L10.9065%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M17.9926%2011.8398L20.3546%209.50769L22.7166%2011.8398L20.3546%2014.172L17.9926%2011.8398Z'%20fill='%23248A0F'/%3e%3cpath%20d='M8.54456%2011.8398L10.9066%209.50769L13.2686%2011.8398L10.9066%2014.172L8.54456%2011.8398Z'%20fill='%23248A0F'/%3e%3cpath%20d='M2.53186%2011.8398L4.89387%209.50769L7.25587%2011.8398L4.89387%2014.172L2.53186%2011.8398Z'%20fill='%238A610F'/%3e%3cpath%20d='M20.3546%209.50781L22.7166%207.17566L25.0786%209.50781L22.7166%2011.84L20.3546%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M10.9065%204.84375L13.2685%202.5116L15.6305%204.84375L13.2685%207.1759L10.9065%204.84375Z'%20fill='%2336CF17'/%3e%3cpath%20d='M4.8938%204.84375L7.2558%202.5116L9.61781%204.84375L7.2558%207.1759L4.8938%204.84375Z'%20fill='%23CF9117'/%3e%3cpath%20d='M13.2686%207.17578L15.6306%204.84363L17.9926%207.17578L15.6306%209.50794L13.2686%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M15.6306%204.84375L17.9926%202.5116L20.3546%204.84375L17.9926%207.1759L15.6306%204.84375Z'%20fill='%2336CE17'/%3e%3cpath%20d='M15.6306%209.50781L17.9926%207.17566L20.3546%209.50781L17.9926%2011.84L15.6306%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M17.9926%207.17578L20.3546%204.84363L22.7166%207.17578L20.3546%209.50794L17.9926%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M13.2686%2011.8398L15.6306%209.50769L17.9926%2011.8398L15.6306%2014.172L13.2686%2011.8398Z'%20fill='%23248A0F'/%3e%3cg%20filter='url(%23filter0_d_14446_7699)'%3e%3cpath%20d='M10.9066%2014.1727L14.2134%2010.9077C14.9961%2010.1349%2016.2651%2010.1349%2017.0478%2010.9077L20.3546%2014.1727H10.9066Z'%20fill='url(%23paint0_linear_14446_7699)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_14446_7699'%20x='8.90662'%20y='9.32812'%20width='13.448'%20height='7.84375'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_14446_7699'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_14446_7699'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_14446_7699'%20x1='15.5356'%20y1='10.4041'%20x2='15.5356'%20y2='14.3619'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23D0D0D0'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_14446_7699'%3e%3crect%20width='80'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",lz="data:image/svg+xml,%3csvg%20width='186'%20height='24'%20viewBox='0%200%20186%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.932%202.36384L26.034%2020.5561H20.5256L17.044%209.48481L13.4064%2020.5561H7.89806L2%202.36384H7.30046L10.964%2013.9809L14.8095%202.36384H19.5383L23.2018%2014.0849L27.0213%202.36384H31.932Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M64.7908%2015.7222H61.9846V20.5561H56.8401V2.36384H65.1545C66.8001%202.36384%2068.2291%202.64106%2069.4417%203.19549C70.6542%203.7326%2071.5896%204.51226%2072.2478%205.5345C72.906%206.5394%2073.2351%207.72623%2073.2351%209.09498C73.2351%2010.4118%2072.9233%2011.5639%2072.2997%2012.5515C71.6935%2013.5218%2070.8187%2014.2841%2069.6755%2014.8385L73.5989%2020.5561H68.0906L64.7908%2015.7222ZM68.0386%209.09498C68.0386%208.24601%2067.7701%207.58762%2067.2331%207.11982C66.6961%206.65202%2065.8993%206.41812%2064.8427%206.41812H61.9846V11.7458H64.8427C65.8993%2011.7458%2066.6961%2011.5206%2067.2331%2011.0701C67.7701%2010.6023%2068.0386%209.94395%2068.0386%209.09498Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M83.0886%2013.9549L81.1659%2016.008V20.5561H76.0733V2.36384H81.1659V9.92662L88.2072%202.36384H93.8714L86.4404%2010.4204L94.2612%2020.5561H88.2852L83.0886%2013.9549Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M101.622%2020.9199C100.15%2020.9199%2098.7208%2020.738%2097.335%2020.3742C95.9493%2020.0103%2094.8234%2019.5252%2093.9573%2018.9188L95.6462%2015.1244C96.4603%2015.6615%2097.4043%2016.0947%2098.4783%2016.4239C99.5522%2016.7531%20100.609%2016.9176%20101.648%2016.9176C103.623%2016.9176%20104.61%2016.4239%20104.61%2015.4363C104.61%2014.9165%20104.324%2014.5353%20103.753%2014.2928C103.198%2014.0329%20102.298%2013.7643%20101.051%2013.4871C99.6821%2013.1926%2098.5389%2012.8807%2097.6209%2012.5515C96.7028%2012.205%2095.9147%2011.6592%2095.2564%2010.9142C94.5982%2010.1692%2094.2691%209.16428%2094.2691%207.89949C94.2691%206.79063%2094.5722%205.79438%2095.1785%204.91076C95.7847%204.00981%2096.6855%203.29945%2097.8807%202.77967C99.0932%202.25989%20100.574%202%20102.324%202C103.519%202%20104.697%202.13861%20105.857%202.41582C107.018%202.67571%20108.04%203.06555%20108.923%203.58532L107.338%207.4057C105.606%206.4701%20103.926%206.0023%20102.298%206.0023C101.276%206.0023%20100.531%206.15823%20100.063%206.4701C99.5955%206.76464%2099.3617%207.15447%2099.3617%207.6396C99.3617%208.12473%2099.6388%208.48857%20100.193%208.73113C100.747%208.9737%20101.64%209.22492%20102.869%209.48481C104.255%209.77935%20105.398%2010.0999%20106.299%2010.4464C107.217%2010.7756%20108.005%2011.3127%20108.663%2012.0577C109.339%2012.7854%20109.677%2013.7816%20109.677%2015.0464C109.677%2016.138%20109.374%2017.1256%20108.767%2018.0092C108.161%2018.8928%20107.252%2019.6032%20106.039%2020.1403C104.827%2020.6601%20103.354%2020.9199%20101.622%2020.9199Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M120.368%202.36384C122.013%202.36384%20123.442%202.64106%20124.655%203.19549C125.867%203.7326%20126.803%204.51226%20127.461%205.5345C128.119%206.5394%20128.448%207.72623%20128.448%209.09498C128.448%2010.4637%20128.119%2011.6506%20127.461%2012.6555C126.803%2013.6604%20125.867%2014.44%20124.655%2014.9945C123.442%2015.5316%20122.013%2015.8001%20120.368%2015.8001H117.198V20.5561H112.053V2.36384H120.368ZM120.056%2011.7458C121.112%2011.7458%20121.909%2011.5206%20122.446%2011.0701C122.983%2010.6023%20123.252%209.94395%20123.252%209.09498C123.252%208.24601%20122.983%207.58762%20122.446%207.11982C121.909%206.65202%20121.112%206.41812%20120.056%206.41812H117.198V11.7458H120.056Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M142.229%2017.0216H134.538L133.109%2020.5561H127.861L135.889%202.36384H140.956L149.01%2020.5561H143.658L142.229%2017.0216ZM140.722%2013.2272L138.384%207.4057L136.045%2013.2272H140.722Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M159.283%2020.9199C157.378%2020.9199%20155.663%2020.5214%20154.139%2019.7245C152.632%2018.9101%20151.445%2017.7839%20150.579%2016.3459C149.713%2014.9078%20149.28%2013.2792%20149.28%2011.46C149.28%209.64075%20149.713%208.01211%20150.579%206.57405C151.445%205.136%20152.632%204.01847%20154.139%203.22148C155.663%202.40716%20157.378%202%20159.283%202C160.946%202%20162.444%202.29454%20163.778%202.88362C165.112%203.47271%20166.221%204.32168%20167.104%205.43054L163.83%208.39328C162.652%206.97255%20161.223%206.26219%20159.543%206.26219C158.556%206.26219%20157.672%206.47876%20156.893%206.91191C156.131%207.34506%20155.533%207.96013%20155.1%208.75712C154.684%209.53679%20154.476%2010.4377%20154.476%2011.46C154.476%2012.4822%20154.684%2013.3918%20155.1%2014.1888C155.533%2014.9685%20156.131%2015.5749%20156.893%2016.008C157.672%2016.4412%20158.556%2016.6578%20159.543%2016.6578C161.223%2016.6578%20162.652%2015.9474%20163.83%2014.5267L167.104%2017.4894C166.221%2018.5983%20165.112%2019.4472%20163.778%2020.0363C162.444%2020.6254%20160.946%2020.9199%20159.283%2020.9199Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M184%2016.5798V20.5561H169.398V2.36384H183.662V6.34015H174.49V9.40685H182.571V13.2532H174.49V16.5798H184Z'%20fill='%23EBEDF2'/%3e%3cpath%20d='M52.106%2011.5322C52.106%2016.516%2048.0668%2020.5562%2043.0843%2020.5562C38.1017%2020.5562%2034.0625%2016.516%2034.0625%2011.5322C34.0625%206.54845%2038.1017%202.5083%2043.0843%202.5083C48.0668%202.5083%2052.106%206.54845%2052.106%2011.5322Z'%20fill='%23169C18'/%3e%3cpath%20d='M35.5057%2019.8342C35.5057%2021.0303%2034.5363%2021.9999%2033.3405%2021.9999C32.1447%2021.9999%2031.1753%2021.0303%2031.1753%2019.8342C31.1753%2018.6381%2032.1447%2017.6685%2033.3405%2017.6685C34.5363%2017.6685%2035.5057%2018.6381%2035.5057%2019.8342Z'%20fill='%23F65855'/%3e%3c/svg%3e",cz="data:image/svg+xml,%3csvg%20width='117'%20height='24'%20viewBox='0%200%20117%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.2457%205.22555C15.5926%205.25714%2015.9962%205.43335%2016.2989%205.56551L14.7045%209.19308C14.6333%209.16197%2014.5863%209.14153%2014.5437%209.12368C13.6356%208.96158%2012.8284%208.49252%2012.2426%207.81918C11.9605%208.32111%2011.4383%209.04414%2010.5596%209.56884C10.3402%209.79839%2010.094%2010.001%209.82598%2010.1721C9.50443%2010.3775%208.95304%2010.7004%208.21696%2010.897C8.12635%2010.9212%208.03598%2010.9428%207.9459%2010.9617C7.99591%2011.0479%208.03902%2011.128%208.07584%2011.1998C8.39474%2011.8221%208.55257%2012.4307%208.63334%2012.8857C8.67624%2013.1273%208.69647%2013.3722%208.6939%2013.6171C8.70511%2013.7053%208.72374%2013.8609%208.7356%2014.0304C8.74299%2014.136%208.74868%2014.2565%208.74964%2014.3896C8.801%2015.0702%208.71083%2015.6941%208.53224%2016.2516C9.11636%2016.2329%209.7049%2016.3426%2010.2542%2016.5824C10.5283%2016.702%2010.7518%2016.8266%2010.9064%2016.9179C11.0299%2016.9908%2011.1548%2017.0701%2011.2135%2017.1074C11.217%2017.1096%2011.2203%2017.1117%2011.2233%2017.1136L9.62462%2020.751C9.40833%2020.6566%209.2337%2020.5459%209.07161%2020.4432C8.93124%2020.3543%208.80027%2020.2713%208.65978%2020.2099L6.45151%2021.4034C6.0162%2021.5729%205.36657%2021.4092%205.05136%2021.0318L3.03416%2018.2333C2.71894%2017.856%202.73814%2017.2651%203.16095%2016.8503L4.47358%2015.5056C4.70709%2015.2479%204.83969%2014.9462%204.77048%2014.5564C4.78633%2014.3836%204.76591%2014.2248%204.74548%2014.0661C4.72505%2013.9073%204.70462%2013.7486%204.72047%2013.5757C4.65127%2013.1859%204.48116%2012.752%204.17844%2012.6199L2.55148%2011.6699C2.09116%2011.349%201.86434%2010.7706%202.08535%2010.2677L3.45557%207.15017C3.67657%206.64734%204.25699%206.42128%204.80571%206.54098L6.60948%207.08874C7.0573%207.16439%207.34751%207.05136%207.68192%206.83777C7.91542%206.58012%208.14893%206.32247%208.43914%206.20945C8.72935%206.09642%208.90615%205.69415%208.93785%205.3484L9.03964%203.47503C9.01463%202.98466%209.48164%202.46936%209.97366%202.44444L13.4053%202.0248C13.9415%201.89931%2014.5027%202.2642%2014.6286%202.79862L15.2457%205.22555Z'%20fill='%23FAB404'/%3e%3cpath%20d='M26.0993%2018.122H17.6307L16.0571%2021.9999H10.2778L19.1184%202.03979H24.6974L33.5666%2021.9999H27.6729L26.0993%2018.122ZM24.4399%2013.9588L21.865%207.5716L19.2901%2013.9588H24.4399Z'%20fill='%23313749'/%3e%3cpath%20d='M35.1726%202.03979H44.6426C46.836%202.03979%2048.7815%202.4485%2050.4791%203.26592C52.1766%204.08333%2053.4927%205.24292%2054.4273%206.74468C55.3619%208.24644%2055.8292%2010.0048%2055.8292%2012.0199C55.8292%2014.0349%2055.3619%2015.7933%2054.4273%2017.295C53.4927%2018.7968%2052.1766%2019.9564%2050.4791%2020.7738C48.7815%2021.5912%2046.836%2021.9999%2044.6426%2021.9999H35.1726V2.03979ZM44.4137%2017.4946C46.1303%2017.4946%2047.5036%2017.0099%2048.5336%2016.0404C49.5826%2015.0709%2050.1071%2013.7307%2050.1071%2012.0199C50.1071%2010.309%2049.5826%208.96881%2048.5336%207.99932C47.5036%207.02983%2046.1303%206.54508%2044.4137%206.54508H40.8374V17.4946H44.4137Z'%20fill='%23313749'/%3e%3cpath%20d='M76.8912%2021.9999L76.834%2011.4211L71.6842%2020.0324H69.1665L64.0452%2011.7062V21.9999H58.8096V2.03979H63.473L70.5112%2013.5596L77.3776%202.03979H82.0411L82.0983%2021.9999H76.8912Z'%20fill='%23313749'/%3e%3cpath%20d='M86.1067%202.03979H91.7715V21.9999H86.1067V2.03979Z'%20fill='%23313749'/%3e%3cpath%20d='M114.856%202.03979V21.9999H110.193L101.352%2011.364V21.9999H95.8017V2.03979H100.465L109.306%2012.6757V2.03979H114.856Z'%20fill='%23313749'/%3e%3c/svg%3e",dz="data:image/svg+xml,%3csvg%20width='88'%20height='24'%20viewBox='0%200%2088%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M65.7546%202.12487C65.7908%202.04845%2065.8652%202%2065.9466%202C66.028%202%2066.1025%202.04845%2066.1386%202.12487L66.8271%203.58517C66.8582%203.65123%2066.9186%203.69705%2066.9884%203.70766L68.5282%203.94179C68.609%203.95402%2068.6758%204.01321%2068.7009%204.09425C68.7261%204.17529%2068.7051%204.26444%2068.6468%204.32388L67.5327%205.46066C67.4822%205.5121%2067.4592%205.58627%2067.471%205.65894L67.7339%207.26409C67.7476%207.34825%2067.7147%207.43316%2067.6486%207.48336C67.5827%207.5333%2067.4955%207.53992%2067.4232%207.50046L66.0459%206.74253C65.9836%206.70819%2065.909%206.70819%2065.8466%206.74253L64.4693%207.50034C64.3972%207.53992%2064.3098%207.53343%2064.2438%207.48336C64.1778%207.43329%2064.1449%207.34825%2064.1586%207.26409L64.4216%205.65894C64.4335%205.58627%2064.4104%205.5121%2064.3599%205.46066L63.2458%204.32388C63.1875%204.26432%2063.1665%204.17529%2063.1916%204.09425C63.2168%204.01321%2063.2837%203.95402%2063.3645%203.94179L64.9045%203.70766C64.9742%203.69705%2065.0346%203.65123%2065.0657%203.58505L65.7546%202.12487Z'%20fill='%23FAB404'/%3e%3cpath%20d='M15.7621%2018.27H8.39576L7.02702%2021.6519H2L9.68985%204.24487H14.5427L22.2574%2021.6519H17.1308L15.7621%2018.27ZM14.3187%2014.6394L12.0789%209.06911L9.83916%2014.6394H14.3187Z'%20fill='%23313749'/%3e%3cpath%20d='M31.328%2022.0001C28.7399%2022.0001%2026.7241%2021.2955%2025.2807%2019.8863C23.8539%2018.4772%2023.1405%2016.4795%2023.1405%2013.8933V4.24487H28.0679V13.7441C28.0679%2016.5293%2029.1712%2017.9218%2031.3778%2017.9218C33.5678%2017.9218%2034.6628%2016.5293%2034.6628%2013.7441V4.24487H39.5156V13.8933C39.5156%2016.4795%2038.7939%2018.4772%2037.3505%2019.8863C35.9237%2021.2955%2033.9162%2022.0001%2031.328%2022.0001Z'%20fill='%23313749'/%3e%3cpath%20d='M42.8537%204.24487H51.091C52.999%204.24487%2054.6912%204.6013%2056.1678%205.31416C57.6444%206.02702%2058.7892%207.03829%2059.6021%208.34796C60.4151%209.65763%2060.8215%2011.1911%2060.8215%2012.9484C60.8215%2014.7057%2060.4151%2016.2392%2059.6021%2017.5488C58.7892%2018.8585%2057.6444%2019.8698%2056.1678%2020.5826C54.6912%2021.2955%2052.999%2021.6519%2051.091%2021.6519H42.8537V4.24487ZM50.8919%2017.7229C52.3851%2017.7229%2053.5796%2017.3002%2054.4755%2016.4547C55.388%2015.6092%2055.8443%2014.4404%2055.8443%2012.9484C55.8443%2011.4564%2055.388%2010.2876%2054.4755%209.44212C53.5796%208.59663%2052.3851%208.17389%2050.8919%208.17389H47.7811V17.7229H50.8919Z'%20fill='%23313749'/%3e%3cpath%20d='M75.7469%208.14902H70.3963V4.24487H86V8.14902H80.6743V21.6519H75.7469V8.14902Z'%20fill='%23313749'/%3e%3cpath%20d='M63.3584%209.38232H68.2859V21.6517H63.3584V9.38232Z'%20fill='%23FAB404'/%3e%3c/svg%3e",pz="data:image/svg+xml,%3csvg%20width='69'%20height='24'%20viewBox='0%200%2069%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1763%2022V2.23535H32.2116C34.0186%202.23535%2035.5716%202.52712%2036.8704%203.11065C38.188%203.69417%2039.2045%204.54123%2039.9198%205.65182C40.6351%206.74358%2040.9927%208.04241%2040.9927%209.54829C40.9927%2011.0353%2040.6351%2012.3248%2039.9198%2013.4165C39.2045%2014.4895%2038.188%2015.3177%2036.8704%2015.9012C35.5716%2016.4659%2034.0186%2016.7483%2032.2116%2016.7483H26.2821L28.7669%2014.4048V22H23.1763ZM35.4021%2022L30.4892%2014.8H36.4468L41.388%2022H35.4021ZM28.7669%2014.9977L26.2821%2012.4283H31.8727C33.0398%2012.4283%2033.9057%2012.1742%2034.4704%2011.6659C35.0539%2011.1577%2035.3457%2010.4518%2035.3457%209.54829C35.3457%208.62594%2035.0539%207.91064%2034.4704%207.40241C33.9057%206.89417%2033.0398%206.64005%2031.8727%206.64005H26.2821L28.7669%204.07064V14.9977Z'%20fill='%23313749'/%3e%3cpath%20d='M44.077%2022V2.23535H48.6793L56.8676%2015.6753H54.4393L62.4017%202.23535H67.004L67.0605%2022H61.9217L61.8652%2010.0565H62.7405L56.7829%2020.0518H54.2982L48.1711%2010.0565H49.244V22H44.077Z'%20fill='%23313749'/%3e%3cpath%20d='M12.5642%2022C11.0459%2022%209.63733%2021.7619%208.33853%2021.2857C7.05802%2020.7912%205.94214%2020.0952%204.99091%2019.1978C4.05796%2018.3004%203.32624%2017.2472%202.79575%2016.0385C2.26525%2014.8113%202%2013.4652%202%2012C2%2010.5348%202.26525%209.1978%202.79575%207.98901C3.32624%206.7619%204.05796%205.69963%204.99091%204.8022C5.94214%203.90476%207.05802%203.21795%208.33853%202.74176C9.63733%202.24725%2011.0459%202%2012.5642%202C14.3386%202%2015.921%202.31136%2017.3113%202.93407C18.015%203.24517%2018.6593%203.62483%2019.2443%204.07307C20.2355%204.83253%2020.1032%206.2789%2019.1777%207.11722V7.11722C18.1868%208.01487%2016.6732%207.84579%2015.508%207.18988C15.4419%207.15266%2015.3753%207.11684%2015.3082%207.08241C14.5764%206.6978%2013.7533%206.50549%2012.8386%206.50549C12.052%206.50549%2011.3294%206.6337%2010.6709%206.89011C10.0123%207.14652%209.44526%207.52197%208.96964%208.01648C8.51231%208.49267%208.14645%209.06959%207.87206%209.74725C7.61596%2010.4249%207.4879%2011.1758%207.4879%2012C7.4879%2012.8242%207.61596%2013.5751%207.87206%2014.2527C8.14645%2014.9304%208.51231%2015.5165%208.96964%2016.011C9.44526%2016.4872%2010.0123%2016.8535%2010.6709%2017.1099C11.3294%2017.3663%2012.052%2017.4945%2012.8386%2017.4945C13.7533%2017.4945%2014.5764%2017.3022%2015.3082%2016.9176C15.378%2016.8818%2015.4472%2016.8445%2015.5158%2016.8057C16.6757%2016.1504%2018.1838%2015.9824%2019.1711%2016.8768V16.8768C20.0983%2017.7167%2020.2239%2019.1657%2019.2293%2019.9247C18.6483%2020.368%2018.0089%2020.7484%2017.3113%2021.0659C15.921%2021.6886%2014.3386%2022%2012.5642%2022Z'%20fill='%23313749'/%3e%3cellipse%20cx='13.1765'%20cy='12'%20rx='2.94117'%20ry='2.94117'%20fill='%23FAB404'/%3e%3c/svg%3e",uz="data:image/svg+xml,%3csvg%20width='136'%20height='24'%20viewBox='0%200%20136%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.2572%202.38452V21.6153H14.8293V14.1153H7.4278V21.6153H2V2.38452H7.4278V9.6098H14.8293V2.38452H20.2572Z'%20fill='%23313749'/%3e%3cpath%20d='M45.2949%2022C43.7415%2022%2042.2337%2021.8077%2040.7717%2021.4231C39.3097%2021.0385%2038.1218%2020.5256%2037.208%2019.8846L38.9899%2015.8736C39.8488%2016.4414%2040.8448%2016.8993%2041.9779%2017.2473C43.111%2017.5952%2044.2258%2017.7692%2045.3223%2017.7692C47.4057%2017.7692%2048.4474%2017.2473%2048.4474%2016.2033C48.4474%2015.6538%2048.1458%2015.2509%2047.5428%2014.9945C46.9579%2014.7198%2046.0076%2014.4359%2044.6918%2014.1429C43.248%2013.8315%2042.0419%2013.5018%2041.0733%2013.1538C40.1047%2012.7875%2039.2731%2012.2106%2038.5787%2011.4231C37.8842%2010.6355%2037.537%209.57326%2037.537%208.23626C37.537%207.0641%2037.8568%206.01099%2038.4964%205.07692C39.1361%204.12454%2040.0864%203.37363%2041.3474%202.82418C42.6267%202.27473%2044.1892%202%2046.035%202C47.296%202%2048.5388%202.14652%2049.7632%202.43956C50.9877%202.71429%2052.0659%203.12637%2052.998%203.67582L51.3258%207.71429C49.4982%206.72527%2047.7255%206.23077%2046.0076%206.23077C44.9294%206.23077%2044.1435%206.3956%2043.6501%206.72527C43.1567%207.03663%2042.9099%207.44872%2042.9099%207.96154C42.9099%208.47436%2043.2023%208.85897%2043.7872%209.11538C44.372%209.3718%2045.3132%209.63736%2046.6107%209.91209C48.0727%2010.2234%2049.2789%2010.5623%2050.2292%2010.9286C51.1978%2011.2766%2052.0294%2011.8443%2052.7238%2012.6319C53.4366%2013.4011%2053.793%2014.4542%2053.793%2015.7912C53.793%2016.9451%2053.4731%2017.989%2052.8335%2018.9231C52.1939%2019.8571%2051.2344%2020.6081%2049.9551%2021.1758C48.6758%2021.7253%2047.1224%2022%2045.2949%2022Z'%20fill='%23313749'/%3e%3cpath%20d='M60.117%206.6978H54.2232V2.38462H71.4112V6.6978H65.5448V21.6154H60.117V6.6978Z'%20fill='%23313749'/%3e%3cpath%20d='M82.8425%2022C80.814%2022%2078.9864%2021.5696%2077.3599%2020.7088C75.7517%2019.848%2074.4815%2018.6575%2073.5495%2017.1374C72.6357%2015.6172%2072.1788%2013.9048%2072.1788%2012C72.1788%2010.0952%2072.6357%208.38278%2073.5495%206.86264C74.4815%205.34249%2075.7517%204.15202%2077.3599%203.29121C78.9864%202.4304%2080.814%202%2082.8425%202C84.8711%202%2086.6895%202.4304%2088.2977%203.29121C89.9243%204.15202%2091.1944%205.34249%2092.1082%206.86264C93.0402%208.38278%2093.5062%2010.0952%2093.5062%2012C93.5062%2013.9048%2093.0402%2015.6172%2092.1082%2017.1374C91.1944%2018.6575%2089.9243%2019.848%2088.2977%2020.7088C86.6895%2021.5696%2084.8711%2022%2082.8425%2022ZM82.8425%2017.4945C83.8111%2017.4945%2084.6883%2017.2656%2085.4742%2016.8077C86.26%2016.3498%2086.8814%2015.7088%2087.3383%2014.8846C87.7952%2014.0421%2088.0236%2013.0806%2088.0236%2012C88.0236%2010.9194%2087.7952%209.96703%2087.3383%209.14286C86.8814%208.30037%2086.26%207.65018%2085.4742%207.19231C84.6883%206.73443%2083.8111%206.5055%2082.8425%206.5055C81.8739%206.5055%2080.9967%206.73443%2080.2109%207.19231C79.425%207.65018%2078.8037%208.30037%2078.3468%209.14286C77.8899%209.96703%2077.6614%2010.9194%2077.6614%2012C77.6614%2013.0806%2077.8899%2014.0421%2078.3468%2014.8846C78.8037%2015.7088%2079.425%2016.3498%2080.2109%2016.8077C80.9967%2017.2656%2081.8739%2017.4945%2082.8425%2017.4945Z'%20fill='%23313749'/%3e%3cpath%20d='M104.737%2016.5055H101.777V21.6154H96.3491V2.38462H105.121C106.857%202.38462%20108.365%202.67766%20109.644%203.26374C110.924%203.8315%20111.911%204.65568%20112.605%205.73626C113.3%206.79853%20113.647%208.05311%20113.647%209.5C113.647%2010.8919%20113.318%2012.1099%20112.66%2013.1538C112.02%2014.1795%20111.097%2014.9853%20109.891%2015.5714L114.031%2021.6154H108.219L104.737%2016.5055ZM108.164%209.5C108.164%208.60256%20107.881%207.90659%20107.314%207.41209C106.748%206.91758%20105.907%206.67033%20104.792%206.67033H101.777V12.3022H104.792C105.907%2012.3022%20106.748%2012.0641%20107.314%2011.5879C107.881%2011.0934%20108.164%2010.3974%20108.164%209.5Z'%20fill='%23313749'/%3e%3cpath%20d='M126.653%2014.7198V21.6154H121.226V14.6374L113.906%202.38462H119.636L124.186%2010.022L128.737%202.38462H134L126.653%2014.7198Z'%20fill='%23313749'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M25.9717%202.53735C26.0359%202.7486%2026.0704%202.97281%2026.0704%203.20509C26.0704%205.83149%2027.2288%207.37663%2029.0972%209.06226C30.9657%207.37663%2032.1241%205.83149%2032.1241%203.20509C32.1241%202.97281%2032.1586%202.7486%2032.2228%202.53735H25.9717ZM32.2228%2021.6155C32.1586%2021.4042%2032.1241%2021.18%2032.1241%2020.9478C32.1241%2018.3214%2030.9657%2016.7762%2029.0972%2015.0906C27.2288%2016.7762%2026.0704%2018.3214%2026.0704%2020.9478C26.0704%2021.18%2026.0359%2021.4042%2025.9717%2021.6155H32.2228Z'%20fill='%23FAB404'/%3e%3c/svg%3e",gz="data:image/svg+xml,%3csvg%20width='191'%20height='24'%20viewBox='0%200%20191%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.1194%2022C8.5597%2022%207.04593%2021.8077%205.57802%2021.4231C4.11011%2021.0385%202.91744%2020.5256%202%2019.8846L3.78901%2015.8736C4.6514%2016.4414%205.65142%2016.8993%206.78904%2017.2473C7.92667%2017.5952%209.04595%2017.7692%2010.1469%2017.7692C12.2386%2017.7692%2013.2845%2017.2473%2013.2845%2016.2033C13.2845%2015.6538%2012.9818%2015.2509%2012.3763%2014.9945C11.7891%2014.7198%2010.835%2014.4359%209.51384%2014.1429C8.06428%2013.8315%206.85326%2013.5018%205.88078%2013.1538C4.90829%2012.7875%204.07342%2012.2106%203.37616%2011.4231C2.67891%2010.6355%202.33028%209.57326%202.33028%208.23626C2.33028%207.0641%202.65138%206.01099%203.29359%205.07692C3.9358%204.12454%204.88994%203.37363%206.15601%202.82418C7.44043%202.27473%209.00925%202%2010.8625%202C12.1285%202%2013.3763%202.14652%2014.6056%202.43956C15.835%202.71429%2016.9176%203.12637%2017.8534%203.67582L16.1745%207.71429C14.3396%206.72528%2012.5597%206.23077%2010.835%206.23077C9.75238%206.23077%208.96338%206.3956%208.46796%206.72527C7.97254%207.03663%207.72483%207.44872%207.72483%207.96154C7.72483%208.47436%208.01841%208.85897%208.60557%209.11539C9.19274%209.3718%2010.1377%209.63736%2011.4405%209.91209C12.9084%2010.2234%2014.1194%2010.5623%2015.0735%2010.9286C16.046%2011.2766%2016.8809%2011.8443%2017.5781%2012.6319C18.2938%2013.4011%2018.6516%2014.4542%2018.6516%2015.7912C18.6516%2016.9451%2018.3305%2017.989%2017.6882%2018.9231C17.046%2019.8571%2016.0827%2020.6081%2014.7983%2021.1758C13.5139%2021.7253%2011.9542%2022%2010.1194%2022Z'%20fill='%23313749'/%3e%3cpath%20d='M30.0589%2022C27.1964%2022%2024.9671%2021.2216%2023.3707%2019.6648C21.7927%2018.1081%2021.0037%2015.9011%2021.0037%2013.044V2.38462H26.4533V12.8791C26.4533%2015.956%2027.6735%2017.4945%2030.1139%2017.4945C32.5359%2017.4945%2033.747%2015.956%2033.747%2012.8791V2.38462H39.114V13.044C39.114%2015.9011%2038.3158%2018.1081%2036.7195%2019.6648C35.1415%2021.2216%2032.9213%2022%2030.0589%2022Z'%20fill='%23313749'/%3e%3cpath%20d='M51.6132%202.38462C53.3563%202.38462%2054.8701%202.67766%2056.1545%203.26374C57.439%203.8315%2058.4298%204.65568%2059.127%205.73626C59.8243%206.79853%2060.1729%208.05311%2060.1729%209.5C60.1729%2010.9469%2059.8243%2012.2015%2059.127%2013.2637C58.4298%2014.326%2057.439%2015.1502%2056.1545%2015.7363C54.8701%2016.304%2053.3563%2016.5879%2051.6132%2016.5879H48.2554V21.6154H42.8058V2.38462H51.6132ZM51.2829%2012.3022C52.4022%2012.3022%2053.2462%2012.0641%2053.8151%2011.5879C54.3839%2011.0934%2054.6683%2010.3974%2054.6683%209.5C54.6683%208.60256%2054.3839%207.90659%2053.8151%207.41209C53.2462%206.91758%2052.4022%206.67033%2051.2829%206.67033H48.2554V12.3022H51.2829Z'%20fill='%23313749'/%3e%3cpath%20d='M78.298%2017.4121V21.6154H62.83V2.38462H77.9403V6.58791H68.2245V9.82967H76.7843V13.8956H68.2245V17.4121H78.298Z'%20fill='%23313749'/%3e%3cpath%20d='M89.7443%2016.5055H86.7718V21.6154H81.3222V2.38462H90.1296C91.8727%202.38462%2093.3865%202.67766%2094.6709%203.26374C95.9554%203.8315%2096.9462%204.65568%2097.6434%205.73626C98.3407%206.79853%2098.6893%208.05311%2098.6893%209.5C98.6893%2010.8919%2098.3591%2012.1099%2097.6985%2013.1538C97.0563%2014.1795%2096.1297%2014.9853%2094.9186%2015.5714L99.0746%2021.6154H93.2397L89.7443%2016.5055ZM93.1847%209.5C93.1847%208.60256%2092.9003%207.90659%2092.3315%207.41209C91.7626%206.91758%2090.9186%206.67033%2089.7993%206.67033H86.7718V12.3022H89.7993C90.9186%2012.3022%2091.7626%2012.0641%2092.3315%2011.5879C92.9003%2011.0934%2093.1847%2010.3974%2093.1847%209.5Z'%20fill='%23313749'/%3e%3cpath%20d='M121.237%202.38462L112.98%2021.6154H107.613L99.3839%202.38462H105.274L110.503%2014.9121L115.843%202.38462H121.237Z'%20fill='%23313749'/%3e%3cpath%20d='M122.365%202.38462H127.815V21.6154H122.365V2.38462Z'%20fill='%23313749'/%3e%3cpath%20d='M138.463%2022C136.903%2022%20135.389%2021.8077%20133.921%2021.4231C132.453%2021.0385%20131.261%2020.5256%20130.343%2019.8846L132.132%2015.8736C132.995%2016.4414%20133.995%2016.8993%20135.132%2017.2473C136.27%2017.5952%20137.389%2017.7692%20138.49%2017.7692C140.582%2017.7692%20141.628%2017.2473%20141.628%2016.2033C141.628%2015.6538%20141.325%2015.2509%20140.719%2014.9945C140.132%2014.7198%20139.178%2014.4359%20137.857%2014.1429C136.407%2013.8315%20135.196%2013.5018%20134.224%2013.1538C133.251%2012.7875%20132.417%2012.2106%20131.719%2011.4231C131.022%2010.6355%20130.673%209.57326%20130.673%208.23626C130.673%207.0641%20130.995%206.01099%20131.637%205.07692C132.279%204.12454%20133.233%203.37363%20134.499%202.82418C135.784%202.27473%20137.352%202%20139.206%202C140.472%202%20141.719%202.14652%20142.949%202.43956C144.178%202.71429%20145.261%203.12637%20146.197%203.67582L144.518%207.71429C142.683%206.72528%20140.903%206.23077%20139.178%206.23077C138.096%206.23077%20137.307%206.3956%20136.811%206.72527C136.316%207.03663%20136.068%207.44872%20136.068%207.96154C136.068%208.47436%20136.362%208.85897%20136.949%209.11539C137.536%209.3718%20138.481%209.63736%20139.784%209.91209C141.252%2010.2234%20142.463%2010.5623%20143.417%2010.9286C144.389%2011.2766%20145.224%2011.8443%20145.921%2012.6319C146.637%2013.4011%20146.995%2014.4542%20146.995%2015.7912C146.995%2016.9451%20146.674%2017.989%20146.031%2018.9231C145.389%2019.8571%20144.426%2020.6081%20143.141%2021.1758C141.857%2021.7253%20140.297%2022%20138.463%2022Z'%20fill='%23313749'/%3e%3cpath%20d='M179.67%2016.5055H176.697V21.6154H171.248V2.38462H180.055C181.798%202.38462%20183.312%202.67766%20184.596%203.26374C185.881%203.8315%20186.872%204.65568%20187.569%205.73626C188.266%206.79853%20188.615%208.05311%20188.615%209.5C188.615%2010.8919%20188.284%2012.1099%20187.624%2013.1538C186.982%2014.1795%20186.055%2014.9853%20184.844%2015.5714L189%2021.6154H183.165L179.67%2016.5055ZM183.11%209.5C183.11%208.60256%20182.826%207.90659%20182.257%207.41209C181.688%206.91758%20180.844%206.67033%20179.725%206.67033H176.697V12.3022H179.725C180.844%2012.3022%20181.688%2012.0641%20182.257%2011.5879C182.826%2011.0934%20183.11%2010.3974%20183.11%209.5Z'%20fill='%23313749'/%3e%3cpath%20d='M158.888%2022C156.851%2022%20155.017%2021.5696%20153.384%2020.7088C151.769%2019.848%20150.494%2018.6575%20149.558%2017.1374C148.64%2015.6172%20148.182%2013.9048%20148.182%2012C148.182%2010.0952%20148.64%208.38278%20149.558%206.86264C150.494%205.34249%20151.769%204.15202%20153.384%203.29121C155.017%202.4304%20156.851%202%20158.888%202C160.925%202%20162.751%202.4304%20164.365%203.29121C165.998%204.15202%20167.274%205.34249%20168.191%206.86264C169.127%208.38278%20169.595%2010.0952%20169.595%2012C169.595%2013.9048%20169.127%2015.6172%20168.191%2017.1374C167.274%2018.6575%20165.998%2019.848%20164.365%2020.7088C162.751%2021.5696%20160.925%2022%20158.888%2022ZM158.888%2017.4945C159.861%2017.4945%20160.741%2017.2656%20161.53%2016.8077C162.319%2016.3498%20162.943%2015.7088%20163.402%2014.8846C163.861%2014.0421%20164.09%2013.0806%20164.09%2012C164.09%2010.9194%20163.861%209.96703%20163.402%209.14286C162.943%208.30037%20162.319%207.65018%20161.53%207.19231C160.741%206.73443%20159.861%206.5055%20158.888%206.5055C157.916%206.5055%20157.035%206.73443%20156.246%207.19231C155.457%207.65018%20154.833%208.30037%20154.374%209.14286C153.916%209.96703%20153.686%2010.9194%20153.686%2012C153.686%2013.0806%20153.916%2014.0421%20154.374%2014.8846C154.833%2015.7088%20155.457%2016.3498%20156.246%2016.8077C157.035%2017.2656%20157.916%2017.4945%20158.888%2017.4945Z'%20fill='%23FAB404'/%3e%3cellipse%20cx='158.943'%20cy='12.0763'%20rx='1.91134'%20ry='1.90781'%20fill='%23313749'/%3e%3c/svg%3e",fz="data:image/svg+xml,%3csvg%20width='80'%20height='16'%20viewBox='0%200%2080%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_14446_7650)'%3e%3cpath%20d='M65.8376%201C66.0624%201%2066.2708%201.12287%2066.3864%201.32367L70.4512%208.38056C70.6998%208.81212%2071.3002%208.81212%2071.5488%208.38056L75.6136%201.32367C75.7292%201.12287%2075.9376%201%2076.1624%201H78.36C78.7135%201%2079%201.29848%2079%201.66667V14.3333C79%2014.7015%2078.7135%2015%2078.36%2015L75.8%2015C75.4465%2015%2075.16%2014.7015%2075.16%2014.3333V10.6579C75.16%209.98807%2074.3181%209.73655%2073.9773%2010.3045L72.148%2013.3533C72.031%2013.5483%2071.8259%2013.6667%2071.6053%2013.6667H70.3947C70.1741%2013.6667%2069.969%2013.5483%2069.852%2013.3533L68.0227%2010.3045C67.6819%209.73655%2066.84%209.98807%2066.84%2010.6579V14.3333C66.84%2014.7015%2066.5535%2015%2066.2%2015H63.64C63.2865%2015%2063%2014.7015%2063%2014.3333V1.66667C63%201.29848%2063.2865%201%2063.64%201H65.8376Z'%20fill='%23313749'/%3e%3cpath%20d='M53.2353%2014.3333C53.2353%2014.7015%2052.9193%2015%2052.5294%2015H49.7059C49.316%2015%2049%2014.7015%2049%2014.3333V1.66667C49%201.29848%2049.316%201%2049.7059%201H60.2941C60.684%201%2061%201.29848%2061%201.66667V3.66667C61%204.03486%2060.684%204.33333%2060.2941%204.33333H53.9412C53.5513%204.33333%2053.2353%204.63181%2053.2353%205V6.33333C53.2353%206.70152%2053.5513%207%2053.9412%207H58.8824C59.2722%207%2059.5882%207.29848%2059.5882%207.66667V9.66667C59.5882%2010.0349%2059.2722%2010.3333%2058.8824%2010.3333H53.9412C53.5513%2010.3333%2053.2353%2010.6318%2053.2353%2011V14.3333Z'%20fill='%23313749'/%3e%3cpath%20d='M33.9341%201.46673C34.0181%201.18896%2034.2659%201%2034.5461%201H37.4539C37.7341%201%2037.9819%201.18896%2038.0659%201.46673L40.0046%207.87482C40.1928%208.49689%2041.04%208.49721%2041.2286%207.87529L43.1726%201.46626C43.2568%201.18873%2043.5045%201%2043.7845%201H46.3579C46.7937%201%2047.1026%201.44164%2046.9682%201.87231L43.0152%2014.539C42.9294%2014.8138%2042.683%2015%2042.4049%2015H39.2527C38.9769%2015%2038.7319%2014.8167%2038.6443%2014.5449L36.6084%208.22269C36.413%207.61587%2035.587%207.61587%2035.3916%208.22269L33.3557%2014.5449C33.2681%2014.8167%2033.0231%2015%2032.7473%2015H29.5951C29.317%2015%2029.0706%2014.8138%2028.9848%2014.539L25.0318%201.87231C24.8974%201.44164%2025.2063%201%2025.6421%201H28.2155C28.4956%201%2028.7432%201.18873%2028.8274%201.46626L30.7714%207.87529C30.96%208.49721%2031.8072%208.49689%2031.9954%207.87482L33.9341%201.46673Z'%20fill='%23313749'/%3e%3cpath%20d='M8.31726%2011.6156C7.13826%2010.4515%207.13826%208.56412%208.31726%207.40002L8.5445%207.17566L10.9065%209.50781L8.5445%2011.84L8.31726%2011.6156Z'%20fill='%232AA012'/%3e%3cpath%20d='M1.58702%2010.9072C0.804325%2010.1344%200.804325%208.88145%201.58702%208.10864L2.53183%207.17578L4.89383%209.50794L2.53183%2011.8401L1.58702%2010.9072Z'%20fill='%23A07112'/%3e%3cpath%20d='M17.0478%201.57961C16.2651%200.806798%2014.9961%200.806798%2014.2134%201.57961L13.2686%202.51247L15.6306%204.84462L17.9926%202.51247L17.0478%201.57961Z'%20fill='%233CE61A'/%3e%3cpath%20d='M11.0351%201.57961C10.2524%200.806798%208.98336%200.806798%208.20066%201.57961L7.25586%202.51247L9.61787%204.84462L11.9799%202.51247L11.0351%201.57961Z'%20fill='%23E6A21A'/%3e%3cpath%20d='M8.54456%207.17578L10.9066%204.84363L13.2686%207.17578L10.9066%209.50794L8.54456%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M2.53186%207.17578L4.89387%204.84363L7.25587%207.17578L4.89387%209.50794L2.53186%207.17578Z'%20fill='%23B88114'/%3e%3cpath%20d='M10.9065%209.50781L13.2685%207.17566L15.6305%209.50781L13.2685%2011.84L10.9065%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M17.9926%2011.8398L20.3546%209.50769L22.7166%2011.8398L20.3546%2014.172L17.9926%2011.8398Z'%20fill='%23248A0F'/%3e%3cpath%20d='M8.54456%2011.8398L10.9066%209.50769L13.2686%2011.8398L10.9066%2014.172L8.54456%2011.8398Z'%20fill='%23248A0F'/%3e%3cpath%20d='M2.53186%2011.8398L4.89387%209.50769L7.25587%2011.8398L4.89387%2014.172L2.53186%2011.8398Z'%20fill='%238A610F'/%3e%3cpath%20d='M20.3546%209.50781L22.7166%207.17566L25.0786%209.50781L22.7166%2011.84L20.3546%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M10.9065%204.84375L13.2685%202.5116L15.6305%204.84375L13.2685%207.1759L10.9065%204.84375Z'%20fill='%2336CF17'/%3e%3cpath%20d='M4.8938%204.84375L7.2558%202.5116L9.61781%204.84375L7.2558%207.1759L4.8938%204.84375Z'%20fill='%23CF9117'/%3e%3cpath%20d='M13.2686%207.17578L15.6306%204.84363L17.9926%207.17578L15.6306%209.50794L13.2686%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M15.6306%204.84375L17.9926%202.5116L20.3546%204.84375L17.9926%207.1759L15.6306%204.84375Z'%20fill='%2336CE17'/%3e%3cpath%20d='M15.6306%209.50781L17.9926%207.17566L20.3546%209.50781L17.9926%2011.84L15.6306%209.50781Z'%20fill='%232AA112'/%3e%3cpath%20d='M17.9926%207.17578L20.3546%204.84363L22.7166%207.17578L20.3546%209.50794L17.9926%207.17578Z'%20fill='%2330B814'/%3e%3cpath%20d='M13.2686%2011.8398L15.6306%209.50769L17.9926%2011.8398L15.6306%2014.172L13.2686%2011.8398Z'%20fill='%23248A0F'/%3e%3cg%20filter='url(%23filter0_d_14446_7650)'%3e%3cpath%20d='M10.9066%2014.1727L14.2134%2010.9077C14.9961%2010.1349%2016.2651%2010.1349%2017.0478%2010.9077L20.3546%2014.1727H10.9066Z'%20fill='url(%23paint0_linear_14446_7650)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_14446_7650'%20x='8.90662'%20y='9.32812'%20width='13.448'%20height='7.84375'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_14446_7650'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_14446_7650'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_14446_7650'%20x1='15.5356'%20y1='10.4041'%20x2='15.5356'%20y2='14.3619'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23D0D0D0'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_14446_7650'%3e%3crect%20width='80'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hz="data:image/svg+xml,%3csvg%20width='186'%20height='24'%20viewBox='0%200%20186%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.932%202.36384L26.034%2020.5561H20.5256L17.044%209.48481L13.4064%2020.5561H7.89806L2%202.36384H7.30046L10.964%2013.9809L14.8095%202.36384H19.5383L23.2018%2014.0849L27.0213%202.36384H31.932Z'%20fill='%23313749'/%3e%3cpath%20d='M64.7908%2015.7222H61.9846V20.5561H56.8401V2.36384H65.1545C66.8001%202.36384%2068.2291%202.64106%2069.4417%203.19549C70.6542%203.7326%2071.5896%204.51226%2072.2478%205.5345C72.906%206.5394%2073.2351%207.72623%2073.2351%209.09498C73.2351%2010.4118%2072.9233%2011.5639%2072.2997%2012.5515C71.6935%2013.5218%2070.8187%2014.2841%2069.6755%2014.8385L73.5989%2020.5561H68.0906L64.7908%2015.7222ZM68.0386%209.09498C68.0386%208.24601%2067.7701%207.58762%2067.2331%207.11982C66.6961%206.65202%2065.8993%206.41812%2064.8427%206.41812H61.9846V11.7458H64.8427C65.8993%2011.7458%2066.6961%2011.5206%2067.2331%2011.0701C67.7701%2010.6023%2068.0386%209.94395%2068.0386%209.09498Z'%20fill='%23313749'/%3e%3cpath%20d='M83.0886%2013.9549L81.1659%2016.008V20.5561H76.0733V2.36384H81.1659V9.92662L88.2072%202.36384H93.8714L86.4404%2010.4204L94.2612%2020.5561H88.2852L83.0886%2013.9549Z'%20fill='%23313749'/%3e%3cpath%20d='M101.622%2020.9199C100.15%2020.9199%2098.7208%2020.738%2097.335%2020.3742C95.9493%2020.0103%2094.8234%2019.5252%2093.9573%2018.9188L95.6462%2015.1244C96.4603%2015.6615%2097.4043%2016.0947%2098.4783%2016.4239C99.5522%2016.7531%20100.609%2016.9176%20101.648%2016.9176C103.623%2016.9176%20104.61%2016.4239%20104.61%2015.4363C104.61%2014.9165%20104.324%2014.5353%20103.753%2014.2928C103.198%2014.0329%20102.298%2013.7643%20101.051%2013.4871C99.6821%2013.1926%2098.5389%2012.8807%2097.6209%2012.5515C96.7028%2012.205%2095.9147%2011.6592%2095.2564%2010.9142C94.5982%2010.1692%2094.2691%209.16428%2094.2691%207.89949C94.2691%206.79063%2094.5722%205.79438%2095.1785%204.91076C95.7847%204.00981%2096.6855%203.29945%2097.8807%202.77967C99.0932%202.25989%20100.574%202%20102.324%202C103.519%202%20104.697%202.13861%20105.857%202.41582C107.018%202.67571%20108.04%203.06555%20108.923%203.58532L107.338%207.4057C105.606%206.4701%20103.926%206.0023%20102.298%206.0023C101.276%206.0023%20100.531%206.15823%20100.063%206.4701C99.5955%206.76464%2099.3617%207.15447%2099.3617%207.6396C99.3617%208.12473%2099.6388%208.48857%20100.193%208.73113C100.747%208.9737%20101.64%209.22492%20102.869%209.48481C104.255%209.77935%20105.398%2010.0999%20106.299%2010.4464C107.217%2010.7756%20108.005%2011.3127%20108.663%2012.0577C109.339%2012.7854%20109.677%2013.7816%20109.677%2015.0464C109.677%2016.138%20109.374%2017.1256%20108.767%2018.0092C108.161%2018.8928%20107.252%2019.6032%20106.039%2020.1403C104.827%2020.6601%20103.354%2020.9199%20101.622%2020.9199Z'%20fill='%23313749'/%3e%3cpath%20d='M120.368%202.36384C122.013%202.36384%20123.442%202.64106%20124.655%203.19549C125.867%203.7326%20126.803%204.51226%20127.461%205.5345C128.119%206.5394%20128.448%207.72623%20128.448%209.09498C128.448%2010.4637%20128.119%2011.6506%20127.461%2012.6555C126.803%2013.6604%20125.867%2014.44%20124.655%2014.9945C123.442%2015.5316%20122.013%2015.8001%20120.368%2015.8001H117.198V20.5561H112.053V2.36384H120.368ZM120.056%2011.7458C121.112%2011.7458%20121.909%2011.5206%20122.446%2011.0701C122.983%2010.6023%20123.252%209.94395%20123.252%209.09498C123.252%208.24601%20122.983%207.58762%20122.446%207.11982C121.909%206.65202%20121.112%206.41812%20120.056%206.41812H117.198V11.7458H120.056Z'%20fill='%23313749'/%3e%3cpath%20d='M142.229%2017.0216H134.538L133.109%2020.5561H127.861L135.889%202.36384H140.956L149.01%2020.5561H143.658L142.229%2017.0216ZM140.722%2013.2272L138.384%207.4057L136.045%2013.2272H140.722Z'%20fill='%23313749'/%3e%3cpath%20d='M159.283%2020.9199C157.378%2020.9199%20155.663%2020.5214%20154.139%2019.7245C152.632%2018.9101%20151.445%2017.7839%20150.579%2016.3459C149.713%2014.9078%20149.28%2013.2792%20149.28%2011.46C149.28%209.64075%20149.713%208.01211%20150.579%206.57405C151.445%205.136%20152.632%204.01847%20154.139%203.22148C155.663%202.40716%20157.378%202%20159.283%202C160.946%202%20162.444%202.29454%20163.778%202.88362C165.112%203.47271%20166.221%204.32168%20167.104%205.43054L163.83%208.39328C162.652%206.97255%20161.223%206.26219%20159.543%206.26219C158.556%206.26219%20157.672%206.47876%20156.893%206.91191C156.131%207.34506%20155.533%207.96013%20155.1%208.75712C154.684%209.53679%20154.476%2010.4377%20154.476%2011.46C154.476%2012.4822%20154.684%2013.3918%20155.1%2014.1888C155.533%2014.9685%20156.131%2015.5749%20156.893%2016.008C157.672%2016.4412%20158.556%2016.6578%20159.543%2016.6578C161.223%2016.6578%20162.652%2015.9474%20163.83%2014.5267L167.104%2017.4894C166.221%2018.5983%20165.112%2019.4472%20163.778%2020.0363C162.444%2020.6254%20160.946%2020.9199%20159.283%2020.9199Z'%20fill='%23313749'/%3e%3cpath%20d='M184%2016.5798V20.5561H169.398V2.36384H183.662V6.34015H174.49V9.40685H182.571V13.2532H174.49V16.5798H184Z'%20fill='%23313749'/%3e%3cpath%20d='M52.106%2011.5322C52.106%2016.516%2048.0668%2020.5562%2043.0843%2020.5562C38.1017%2020.5562%2034.0625%2016.516%2034.0625%2011.5322C34.0625%206.54845%2038.1017%202.5083%2043.0843%202.5083C48.0668%202.5083%2052.106%206.54845%2052.106%2011.5322Z'%20fill='%23169C18'/%3e%3cpath%20d='M35.5057%2019.8342C35.5057%2021.0303%2034.5363%2021.9999%2033.3405%2021.9999C32.1447%2021.9999%2031.1753%2021.0303%2031.1753%2019.8342C31.1753%2018.6381%2032.1447%2017.6685%2033.3405%2017.6685C34.5363%2017.6685%2035.5057%2018.6381%2035.5057%2019.8342Z'%20fill='%23F65855'/%3e%3c/svg%3e",mz={[en.Supervisor]:{dark:az,light:gz},[en.Admin]:{dark:nz,light:cz},[en.Agent]:{dark:lz,light:hz},[en.Audit]:{dark:oz,light:dz},[en.History]:{dark:rz,light:uz},[en.Crm]:{dark:iz,light:pz},[en.Wfm]:{dark:sz,light:fz}},bz={name:"WtNavigationBar",components:{ExpandTransition:np},props:{currentApp:{type:String,default:"admin"},nav:{type:Array,default:()=>[]},darkMode:{type:Boolean,default:!1},logoRoute:{type:String,default:""}},data:()=>({isOpened:!1,expandedName:"",appLogo:mz}),computed:{currentNav(){const o=this.$route.path.split("/").filter(Boolean),n=this.nav.flatMap(c=>c.subNav??[c]),i=new Map(n.map(c=>[c.value,c])),r=o.find(c=>i.has(c)),l=i.get(r),s=this.nav.find(c=>c.subNav?.includes(l));return{nav:l?.value,expansion:s?.value}}},methods:{nestedRoute(o,n){return n.route?`${n.route}/${o.route}`:o.route},expand(o){this.expandedName=this.expandedName!==o.value?o.value:""},isExpanded(o){return this.expandedName===o.value},close(){this.isOpened=!1}}},yz={class:"wt-navigation-bar"},vz={class:"wt-navigation-bar__nav wt-scrollbar"},Cz={class:"wt-navigation-bar__nav-header"},wz=["alt","src"],kz={class:"wt-navigation-bar__nav-list"},jz={key:0},xz={class:"wt-navigation-bar__nav-item-wrapper"},Iz={key:1},Sz=["onClick"],Tz={class:"wt-navigation-bar__nav-expansion-name typo-subtitle-1"},Ez={key:0},Az={class:"wt-navigation-bar__nav-item-wrapper"};function Oz(o,n,i,r,l,s){const c=a.resolveComponent("wt-icon-btn"),d=a.resolveComponent("router-link"),p=a.resolveComponent("wt-divider"),u=a.resolveComponent("wt-icon"),g=a.resolveComponent("expand-transition"),f=a.resolveDirective("clickaway");return a.withDirectives((a.openBlock(),a.createElementBlock("aside",yz,[a.createVNode(c,{class:a.normalizeClass([{active:o.isOpened},"wt-navigation-bar__menu-btn"]),icon:"menu",onClick:n[0]||(n[0]=h=>o.isOpened=!o.isOpened)},null,8,["class"]),a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("nav",vz,[a.createElementVNode("header",Cz,[a.createVNode(d,{to:i.logoRoute,onClick:s.close},{default:a.withCtx(()=>[a.createElementVNode("img",{alt:i.currentApp,src:i.darkMode?o.appLogo[i.currentApp].dark:o.appLogo[i.currentApp].light,class:"wt-navigation-bar__app-pic"},null,8,wz)],void 0,!0),_:1},8,["to","onClick"]),a.createVNode(c,{class:"wt-navigation-bar__nav-close",icon:"close",onClick:s.close},null,8,["onClick"])]),a.createVNode(p),a.createElementVNode("ul",kz,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.nav,(h,m)=>(a.openBlock(),a.createElementBlock("li",{key:m,class:"wt-navigation-bar__nav-item"},[h.subNav?(a.openBlock(),a.createElementBlock("div",Iz,[a.createElementVNode("button",{class:a.normalizeClass([{"wt-navigation-bar__nav-expansion--expanded":s.isExpanded(h),"wt-navigation-bar__nav-expansion--active":s.currentNav.expansion===h.value},"wt-navigation-bar__nav-expansion"]),type:"button",onClick:y=>s.expand(h)},[a.createElementVNode("span",Tz,a.toDisplayString(h.name||h.value),1),a.createVNode(u,{class:"wt-navigation-bar__expansion-arrow",color:"active",icon:"arrow-right"})],10,Sz),a.createVNode(g,null,{default:a.withCtx(()=>[s.isExpanded(h)?(a.openBlock(),a.createElementBlock("ul",Ez,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.subNav,(y,k)=>(a.openBlock(),a.createElementBlock("li",{key:k,class:"wt-navigation-bar__nav-item"},[a.createElementVNode("div",Az,[a.createVNode(d,{class:a.normalizeClass([{"wt-navigation-bar__nav-item-link--active":s.currentNav.nav===y.value},"wt-navigation-bar__nav-item-link wt-navigation-bar__nav-item-link--subnav"]),to:s.nestedRoute(y,h),onClick:s.close},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(y.name||y.value),1)],void 0,!0),_:2},1032,["class","to","onClick"])])]))),128))])):a.createCommentVNode("",!0)],void 0,!0),_:2},1024)])):(a.openBlock(),a.createElementBlock("div",jz,[a.createElementVNode("div",xz,[a.createVNode(d,{class:a.normalizeClass([{"wt-navigation-bar__nav-item-link--active":s.currentNav.nav===h.value},"wt-navigation-bar__nav-item-link typo-body-1"]),to:h.route,onClick:s.close},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.name||h.value),1)],void 0,!0),_:2},1032,["class","to","onClick"])])]))]))),128))])],512),[[a.vShow,o.isOpened]])],void 0,!0),_:1})])),[[f,s.close]])}const Dz=xe(bz,[["render",Oz],["__scopeId","data-v-aeb3a451"]]),Lz={name:"WtNotification",props:{type:{type:String,default:"success"}},computed:{notificationIcon(){switch(this.type){case"info":return"rounded-info";case"error":return"attention";case"warning":return"attention";case"success":return"done";default:return""}},notificationIconColor(){return this.type||""}}},Rz={class:"wt-notification__text"};function _z(o,n,i,r,l,s){const c=a.resolveComponent("wt-icon");return a.openBlock(),a.createElementBlock("article",{class:"wt-notification typo-body-1",onClick:n[0]||(n[0]=d=>o.$emit("close"))},[a.createVNode(c,{color:s.notificationIconColor,icon:s.notificationIcon,class:"wt-notification__icon"},null,8,["color","icon"]),a.createElementVNode("p",Rz,[a.renderSlot(o.$slots,"default",{},void 0,!0)])])}const Bz=xe(Lz,[["render",_z],["__scopeId","data-v-3de069b1"]]),Pz={name:"WtPageWrapper",props:{hideHeader:{type:Boolean,default:!1},actionsPanel:{type:Boolean,default:!0}}},$z={class:"wt-page-wrapper"},Mz={key:0,class:"wt-page-wrapper__header"},Nz={key:1,class:"wt-page-wrapper__actions-panel"},Fz={class:"wt-page-wrapper__main"};function qz(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("section",$z,[i.hideHeader?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",Mz,[a.renderSlot(o.$slots,"header",{},void 0,!0)])),i.actionsPanel?(a.openBlock(),a.createElementBlock("div",Nz,[a.renderSlot(o.$slots,"actions-panel",{},void 0,!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",Fz,[a.renderSlot(o.$slots,"main",{},void 0,!0)])])}const Uz=xe(Pz,[["render",qz],["__scopeId","data-v-6a61d896"]]),Hz={class:"wt-password"},zz=a.defineComponent({__name:"wt-password",props:a.mergeModels({label:{default:""},labelProps:{default:()=>({})},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},toggleMask:{type:Boolean,default:!0},v:{default:null},regleValidation:{default:null},customValidators:{default:()=>[]}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:n}){const i=o,r=a.useModel(o,"modelValue"),l=a.useTemplateRef("password"),s=`password-${Math.random().toString(36).slice(2,11)}`,c=a.useSlots(),{v:d,customValidators:p,regleValidation:u}=a.toRefs(i),{isValidation:g,invalid:f,validationText:h,validationTextColor:m}=Lr({v:d,customValidators:p,regleValidation:u}),{focus:y,handleKeyup:k}=Zg(l),w=a.ref(!1),C=a.computed(()=>i.label||c.label),v=a.computed(()=>i.required?`${i.label}*`:i.label),S=a.computed(()=>w.value?"eye--closed":"eye--opened"),x=a.computed(()=>w.value?"text":"password"),I=()=>{w.value=!w.value};return n({focus:y}),(O,T)=>{const D=a.resolveComponent("wt-label"),P=a.resolveComponent("p-password"),z=a.resolveComponent("wt-icon-btn"),R=a.resolveComponent("p-input-group-addon"),_=a.resolveComponent("p-input-group"),G=a.resolveComponent("wt-message");return a.openBlock(),a.createElementBlock("div",Hz,[C.value?(a.openBlock(),a.createBlock(D,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled,for:s,invalid:a.unref(f)}),{default:a.withCtx(()=>[a.renderSlot(O.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(v.value),1)])],void 0,!0),_:3},16,["disabled","invalid"])):a.createCommentVNode("",!0),a.createVNode(_,null,{default:a.withCtx(()=>[a.createVNode(P,a.mergeProps(O.$attrs,{id:s,ref_key:"password",ref:l,modelValue:r.value,"onUpdate:modelValue":T[0]||(T[0]=V=>r.value=V),disabled:o.disabled,invalid:a.unref(f),placeholder:o.placeholder||o.label,"toggle-mask":!1,feedback:!1,"input-props":{type:x.value},"input-class":"wt-password__input typo-body-1"},{onKeyup:a.unref(k)}),null,16,["modelValue","disabled","invalid","placeholder","input-props","onKeyup"]),o.toggleMask?(a.openBlock(),a.createBlock(R,{key:0},{default:a.withCtx(()=>[a.createVNode(z,{disabled:o.disabled,icon:S.value,onClick:I},null,8,["disabled","icon"])],void 0,!0),_:1})):a.createCommentVNode("",!0)],void 0,!0),_:1}),a.unref(g)&&a.unref(h)?(a.openBlock(),a.createBlock(G,{key:1,color:a.unref(m),variant:a.unref(Vi).SIMPLE,size:a.unref(Pe).SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(h)),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)])}}});var Zz=o=>Object.prototype.toString.call(o).includes("Object"),Bv=o=>typeof o=="number"&&!isNaN(o),Gz=o=>Array.isArray(o),Wg=o=>Number.isInteger(o),Pv=o=>Object.prototype.toString.call(o)==="[object String]";const op=(o,n)=>n(o)?!0:!Zz(o)||Object.keys(o).length!==2?!1:!Object.entries(o).some(([i,r])=>{const l=!["enter","leave"].includes(i),s=!n(r);return l||s}),Kz=o=>op(o,n=>Wg(n)&&n>=0),Wz=o=>op(o,n=>Pv(n)&&n.trim()!==""),Yz=o=>op(o,n=>Wg(n)&&n>=0),$v=300,Xz="cubic-bezier(.25, .8, .5, 1)",Qz=0,Jz=[0,-16],Vz={inheritAttrs:!1,props:{duration:{validator:Kz,default:$v},easing:{validator:Wz,default:()=>Xz},delay:{validator:Yz,default:Qz},noOpacity:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},mode:{type:String,default:void 0},group:{type:Boolean,default:!1},tag:{type:String,default:"span"},noMove:{type:Boolean,default:!1},moveDuration:{type:Number,default:$v}},computed:{cComponent(){return this.group?a.TransitionGroup:a.Transition},cAttrs(){const{appear:o,mode:n,tag:i,duration:r}=this;return this.group?{appear:o,tag:i,duration:r,...this.$attrs}:{appear:o,mode:n,duration:r}},cHooks(){return{beforeEnter:(...o)=>{this.reduceTransition(...o),this.$emit("before-enter",...o)},beforeLeave:(...o)=>{var n;this.reduceTransition(...o),(n=this.initLeaving)==null||n.call(this,...o),this.$emit("before-leave",...o)},enter:(...o)=>{var n;(n=this.onEnter)==null||n.call(this,...o),this.$emit("enter",...o)},leave:(...o)=>{var n;(n=this.onLeave)==null||n.call(this,...o),this.$emit("leave",...o)},afterEnter:(...o)=>{var n;this.resetTransition(...o),(n=this.resetElement)==null||n.call(this,...o),this.$emit("after-enter",...o)},afterLeave:(...o)=>{var n;this.resetTransition(...o),(n=this.resetElement)==null||n.call(this,...o),this.$emit("after-leave",...o)}}}},methods:{setupTransition(o,n="enter"){var i,r,l;const s=((i=this.duration)==null?void 0:i[n])??this.duration,c=((r=this.easing)==null?void 0:r[n])??this.easing,d=((l=this.delay)==null?void 0:l[n])??this.delay;o.style.setProperty("transition-duration",`${s}ms`,"important"),o.style.setProperty("transition-timing-function",`${c}`,"important"),o.style.setProperty("transition-delay",`${d}ms`,"important")},reduceTransition(o){o.style.setProperty("transition-duration","0ms","important"),o.style.setProperty("transition-delay","0ms","important")},resetTransition(o){o.style.removeProperty("transition-duration"),o.style.removeProperty("transition-timing-function"),o.style.removeProperty("transition-delay")},initLeaving(o){if(!this.group||this.noMove)return o;const n=getComputedStyle(o),{width:i,height:r}=n,{marginLeft:l,marginTop:s}=n;return o.style.setProperty("left",`${o.offsetLeft-parseFloat(l)}px`,"important"),o.style.setProperty("top",`${o.offsetTop-parseFloat(s)}px`,"important"),o.style.setProperty("width",`${parseFloat(i)}px`,"important"),o.style.setProperty("height",`${parseFloat(r)}px`,"important"),o.style.setProperty("position","absolute","important"),o},setMoveDuration(){var o;this.group&&this.$el&&((o=this.$el.style)==null||o.setProperty("--move-duration",`${this.moveDuration}ms`))}},watch:{moveDuration(){this.setMoveDuration()},group(){this.setMoveDuration()}},mounted(){this.setMoveDuration()}},eZ=(o,n)=>{const i=o.__vccOpts||o;for(const[r,l]of n)i[r]=l;return i},tZ=o=>{const n=o.startsWith("matrix3d")?"matrix3d":"matrix",i=n==="matrix3d"?o.slice(9,-1).split(",").map(Number):o.startsWith("matrix")?o.slice(7,-1).split(",").map(Number):[1,0,0,1,0,0];return[n,i]},nZ={name:"transition-slide",mixins:[Vz],props:{offset:{validator:o=>op(o,n=>!Gz(n)||n.length!==2?!1:!n.some(i=>Wg(i)?!1:Pv(i)?isNaN(Number(i.endsWith("%")?i.slice(0,-1):i)):!0)),default:()=>Jz}},data:()=>({}),computed:{},methods:{onEnter(o){this.slideElement(o,"enter"),o.offsetTop,this.setupTransition(o,"enter"),o.style.removeProperty("opacity"),o.style.removeProperty("transform")},onLeave(o){this.setupTransition(o,"leave"),this.slideElement(o,"leave")},slideElement(o,n="enter"){var i;const{width:r,height:l,transform:s}=getComputedStyle(o),c=((i=this.offset)==null?void 0:i[n])??this.offset;let[d,p]=c;Bv(d)||(d=d.endsWith("%")?parseFloat(r)*(parseFloat(d.slice(0,-1))||0)/100:parseFloat(d)),Bv(p)||(p=p.endsWith("%")?parseFloat(l)*(parseFloat(p.slice(0,-1))||0)/100:parseFloat(p));const[u,g]=tZ(s);s.startsWith("matrix3d")?(g[12]+=d,g[13]+=p):s.startsWith("matrix")?(g[4]+=d,g[5]+=p):(g[4]=d,g[5]=p),this.noOpacity||o.style.setProperty("opacity",0),o.style.setProperty("transform",`${u}(${g})`)},resetElement(o){o.style.removeProperty("opacity"),o.style.removeProperty("transform")}}};function oZ(o,n,i,r,l,s){return a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.cComponent),a.mergeProps({name:"slide"},o.cAttrs,a.toHandlers(o.cHooks)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16)}const iZ=eZ(nZ,[["render",oZ]]),rZ={key:0,class:"wt-popup__popup"},aZ={class:"wt-popup__header typo-subtitle-1"},sZ={class:"wt-popup__title"},lZ={key:0,class:"wt-popup__main wt-scrollbar typo-body-1"},cZ={key:1,class:"wt-popup__actions"},dZ=a.defineComponent({__name:"wt-popup",props:{shown:{type:Boolean,default:!0},size:{default:Pe.MD},overflow:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closable:{type:Boolean,default:!0}},emits:["close","popup:opened","popup:closed"],setup(o,{emit:n}){const i=o,r=n,s=!!a.useSlots().activator,c=a.ref(i.shown),d=a.ref(!1),p=()=>{c.value=!0},u=()=>{d.value=!0,c.value=!1,setTimeout(()=>{d.value=!1},200)},g=a.computed(()=>c.value||d.value);return a.watch(()=>i.shown,f=>{s||(f?p():u())}),a.watch(c,f=>{r(f?"popup:opened":"popup:closed")}),(f,h)=>{const m=a.resolveComponent("wt-icon-btn");return a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[`wt-popup--size-${o.size}`,{"wt-popup--overflow":o.overflow}],"wt-popup"])},[a.createVNode(a.unref(iZ),{offset:[0,-1440/2]},{default:a.withCtx(()=>[c.value?(a.openBlock(),a.createElementBlock("aside",rZ,[a.createElementVNode("header",aZ,[a.renderSlot(f.$slots,"header",{},()=>[a.createElementVNode("h3",sZ,[a.renderSlot(f.$slots,"title",{},void 0,!0)])],!0),o.closable?(a.openBlock(),a.createBlock(m,{key:0,class:"wt-popup__close-btn",icon:"close",onClick:h[0]||(h[0]=y=>r("close"))})):a.createCommentVNode("",!0)]),f.$slots.main?(a.openBlock(),a.createElementBlock("section",lZ,[a.renderSlot(f.$slots,"main",{},void 0,!0)])):a.createCommentVNode("",!0),f.$slots.actions?(a.openBlock(),a.createElementBlock("footer",cZ,[a.renderSlot(f.$slots,"actions",{},void 0,!0)])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],void 0,!0),_:3})],2)),[[a.vShow,g.value]])}}}),pZ=xe(dZ,[["__scopeId","data-v-2d75eacc"]]),uZ={name:"WtProgressBar",props:{max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},color:{type:String,default:"primary",options:["primary","secondary","success","error"]}},computed:{progress(){return this.value*100/this.max},isOverflow(){return this.progress>=100},progressWidth(){return this.isOverflow?100:this.progress}}};function gZ(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([[{"wt-progress-bar--overflow":s.isOverflow},`wt-progress-bar--${i.color}`],"wt-progress-bar"])},[a.createElementVNode("span",{style:a.normalizeStyle(`width: ${s.progressWidth}%;`),class:"wt-progress-bar__progress"},null,4)],2)}const fZ=xe(uZ,[["render",gZ],["__scopeId","data-v-511819c2"]]),hZ={class:"wt-radio"},mZ={key:0,class:"wt-radio__label"},bZ=xe(a.defineComponent({__name:"wt-radio",props:a.mergeModels({value:{type:[String,Number,Boolean,Object]},label:{default:""},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},modelValue:{},defaultValue:{},name:{},binary:{type:Boolean},size:{},invalid:{type:Boolean},variant:{},readonly:{type:Boolean},tabindex:{},inputId:{},inputStyle:{},inputClass:{},ariaLabelledby:{},ariaLabel:{},formControl:{},dt:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},{selected:{type:[String,Number,Boolean,Object],required:!0},selectedModifiers:{}}),emits:["update:selected"],setup(o){const n=o,i=a.useModel(o,"selected"),r=`radio-${Math.random().toString(36).slice(2,11)}`,l=a.useSlots(),s=a.computed(()=>n.label||l.label),c=a.computed(()=>n.value===i.value);return(d,p)=>{const u=a.resolveComponent("p-radio"),g=a.resolveComponent("wt-label");return a.openBlock(),a.createElementBlock("div",hZ,[a.createVNode(u,{modelValue:i.value,"onUpdate:modelValue":p[0]||(p[0]=f=>i.value=f),"input-id":r,disabled:o.disabled,value:o.value},null,8,["modelValue","disabled","value"]),s.value?(a.openBlock(),a.createBlock(g,{key:0,for:r,disabled:o.disabled},{default:a.withCtx(()=>[a.renderSlot(d.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label,isChecked:c.value,disabled:o.disabled})),()=>[o.label?(a.openBlock(),a.createElementBlock("div",mZ,a.toDisplayString(o.label),1)):a.createCommentVNode("",!0)],!0)],void 0,!0),_:3},8,["disabled"])):a.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-24f41227"]]),yZ=xe({__name:"wt-rounded-action",props:{icon:{type:String,required:!0},iconPrefix:{type:String,default:""},color:{type:String,options:["primary","secondary","success","error","transfer"],default:"secondary"},size:{type:String,default:"md"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},wide:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click"],setup(o,{emit:n}){const i=o,r=n,l=a.ref(!1),s=a.computed(()=>i.size==="sm"?"xs":"sm"),c=a.computed(()=>i.disabled?"disabled":i.color==="secondary"?"default":i.color);return a.watch(()=>i.loading,d=>{d?l.value=!0:setTimeout(()=>{l.value=d},1e3)},{immediate:!0}),(d,p)=>{const u=a.resolveComponent("wt-loader"),g=a.resolveComponent("wt-icon");return a.openBlock(),a.createElementBlock("button",{class:a.normalizeClass([[`wt-rounded-action--size-${o.size}`,{"wt-rounded-action--active":o.active},{"wt-rounded-action--disabled":o.disabled},{"wt-rounded-action--rounded":o.rounded},{"wt-rounded-action--wide":o.wide},{"wt-button--loading":l.value}],"wt-rounded-action"]),type:"button",onClick:p[0]||(p[0]=f=>r("click",f))},[l.value?(a.openBlock(),a.createBlock(u,{key:0,color:"main",size:s.value},null,8,["size"])):(a.openBlock(),a.createBlock(g,{key:1,color:c.value,icon:o.icon,"icon-prefix":o.iconPrefix,size:o.size},null,8,["color","icon","icon-prefix","size"]))],2)}}},[["__scopeId","data-v-36f74496"]]),Mv=o=>Array.isArray(o)?!o.length:typeof o=="object"?!o||!Object.keys(o).length:!o,Nv={methods:{tag(o,n){this.emitTagEvent(o,n);const i=this.trackBy?{[this.optionLabel||"name"]:o,[this.trackBy]:n||o}:o;if(!(l=>typeof l=="string"?this.options.some(s=>s===l):this.options.some(s=>s[this.trackBy]===l[this.trackBy]))(i)&&(this.options.unshift(i),!this.manualTagging)){const l=this.multiple?[...this.value,i]:i;this.input(l)}},emitTagEvent(o,n){this.$emit("tag",o,n)}}};function Yg(o){return o===0?!1:Array.isArray(o)&&o.length===0?!0:!o}function vZ(o){return(...n)=>!o(...n)}function CZ(o,n){return o===void 0&&(o="undefined"),o===null&&(o="null"),o===!1&&(o="false"),o.toString().toLowerCase().indexOf(n.trim())!==-1}function wZ(o){return o.filter(n=>!n.$isLabel)}function Xg(o,n){return i=>i.reduce((r,l)=>l[o]&&l[o].length?(r.push({$groupLabel:l[n],$isLabel:!0}),r.concat(l[o])):r,[])}const Fv=(...o)=>n=>o.reduce((i,r)=>r(i),n);var kZ={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(o,n){return Yg(o)?"":n?o[n]:o}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1},filteringSortFunc:{type:Function,default:null}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const o=this.search||"",n=o.toLowerCase().trim();let i=this.options.concat();return this.internalSearch?i=this.groupValues?this.filterAndFlat(i,n,this.label):this.filterOptions(i,n,this.label,this.customLabel):i=this.groupValues?Xg(this.groupValues,this.groupLabel)(i):i,i=this.hideSelected?i.filter(vZ(this.isSelected)):i,this.taggable&&n.length&&!this.isExistingOption(n)&&(this.tagPosition==="bottom"?i.push({isTag:!0,label:o}):i.unshift({isTag:!0,label:o})),i.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(o=>o[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(n=>this.customLabel(n,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(o,n,i){return Fv(this.filterGroups(n,i,this.groupValues,this.groupLabel,this.customLabel),Xg(this.groupValues,this.groupLabel))(o)},flatAndStrip(o){return Fv(Xg(this.groupValues,this.groupLabel),wZ)(o)},updateSearch(o){this.search=o},isExistingOption(o){return this.options?this.optionKeys.indexOf(o)>-1:!1},isSelected(o){const n=this.trackBy?o[this.trackBy]:o;return this.valueKeys.indexOf(n)>-1},isOptionDisabled(o){return!!o.$isDisabled},getOptionLabel(o){if(Yg(o))return"";if(o.isTag)return o.label;if(o.$isLabel)return o.$groupLabel;const n=this.customLabel(o,this.label);return Yg(n)?"":n},select(o,n){if(o.$isLabel&&this.groupSelect){this.selectGroup(o);return}if(!(this.blockKeys.indexOf(n)!==-1||this.disabled||o.$isDisabled||o.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(n==="Tab"&&!this.pointerDirty)){if(o.isTag)this.$emit("tag",o.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(o)){n!=="Tab"&&this.removeElement(o);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([o])):this.$emit("update:modelValue",o),this.$emit("select",o,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(o){const n=this.options.find(i=>i[this.groupLabel]===o.$groupLabel);if(n){if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);const i=this.trackBy?n[this.groupValues].map(l=>l[this.trackBy]):n[this.groupValues],r=this.internalValue.filter(l=>i.indexOf(this.trackBy?l[this.trackBy]:l)===-1);this.$emit("update:modelValue",r)}else{const i=n[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&i.splice(this.max-this.internalValue.length),this.$emit("select",i,this.id),this.$emit("update:modelValue",this.internalValue.concat(i))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(o){return o[this.groupValues].every(n=>this.isSelected(n)||this.isOptionDisabled(n))},wholeGroupDisabled(o){return o[this.groupValues].every(this.isOptionDisabled)},removeElement(o,n=!0){if(this.disabled||o.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const i=typeof o=="object"?this.valueKeys.indexOf(o[this.trackBy]):this.valueKeys.indexOf(o);if(this.multiple){const r=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",o,this.id),this.closeOnSelect&&n&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const o=this.$el.getBoundingClientRect().top,n=window.innerHeight-this.$el.getBoundingClientRect().bottom;n>this.maxHeight||n>o||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(n-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(o-40,this.maxHeight))},filterOptions(o,n,i,r){return n?o.filter(l=>CZ(r(l,i),n)).sort((l,s)=>typeof this.filteringSortFunc=="function"?this.filteringSortFunc(l,s):r(l,i).length-r(s,i).length):o},filterGroups(o,n,i,r,l){return s=>s.map(c=>{if(!c[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const d=this.filterOptions(c[i],o,n,l);return d.length?{[r]:c[r],[i]:d}:[]})}}},jZ={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(o,n){return{"multiselect__option--highlight":o===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(n)}},groupHighlight(o,n){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":n.$isLabel}];const i=this.options.find(r=>r[this.groupLabel]===n.$groupLabel);return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":o===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement({key:o}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],o),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list?.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list?.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(o){this.pointer=o,this.pointerDirty=!0}}},qv={name:"vue-multiselect",mixins:[kZ,jZ],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:o=>`and ${o} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},spellcheck:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0},required:{type:Boolean,default:!1},useTeleport:{type:Boolean,default:!1},contentWrapperClass:{type:[String,Array,Object],default:""}},data(){return{dropdownStyles:{},ready:!1}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)},isRequired(){return this.required===!1?!1:this.internalValue.length<=0}},watch:{isOpen(o){o&&(this.useTeleport?(this.ready=!1,this.$nextTick(()=>{const n=this.$el.getBoundingClientRect();this.dropdownStyles={position:"absolute",top:`${n.bottom+window.scrollY}px`,left:`${n.left+window.scrollX}px`,width:`${n.width}px`,zIndex:9999},this.ready=!0})):this.ready=!0)}}};const xZ=["tabindex","aria-expanded","aria-owns","aria-activedescendant"],IZ={ref:"tags",class:"multiselect__tags"},SZ={class:"multiselect__tags-wrap"},TZ=["textContent"],EZ=["onKeydown","onMousedown"],AZ=["textContent"],OZ={class:"multiselect__spinner"},DZ=["name","id","spellcheck","placeholder","required","value","disabled","tabindex","aria-label","aria-controls"],LZ=["id","aria-multiselectable"],RZ={key:0},_Z={class:"multiselect__option"},BZ=["aria-selected","id","role"],PZ=["onClick","onMouseenter","data-select","data-selected","data-deselect"],$Z=["data-select","data-deselect","onMouseenter","onMousedown"],MZ={class:"multiselect__option"},NZ={class:"multiselect__option"};function FZ(o,n,i,r,l,s){return a.openBlock(),a.createElementBlock("div",{tabindex:o.searchable?-1:i.tabindex,class:a.normalizeClass([{"multiselect--active":o.isOpen,"multiselect--disabled":i.disabled,"multiselect--above":s.isAbove,"multiselect--has-options-group":s.hasOptionGroup},"multiselect"]),onFocus:n[14]||(n[14]=c=>o.activate()),onBlur:n[15]||(n[15]=c=>o.searchable?!1:o.deactivate()),onKeydown:[n[16]||(n[16]=a.withKeys(a.withModifiers(c=>o.pointerForward(),["self","prevent"]),["down"])),n[17]||(n[17]=a.withKeys(a.withModifiers(c=>o.pointerBackward(),["self","prevent"]),["up"])),n[18]||(n[18]=a.withKeys(a.withModifiers(c=>o.addPointerElement(c),["stop","self"]),["enter","tab"]))],onKeyup:n[19]||(n[19]=a.withKeys(c=>o.deactivate(),["esc"])),role:"combobox","aria-expanded":o.isOpen,"aria-owns":"listbox-"+o.id,"aria-activedescendant":o.isOpen&&o.pointer!==null?o.id+"-"+o.pointer:null},[a.renderSlot(o.$slots,"caret",{toggle:o.toggle},()=>[a.createElementVNode("div",{onMousedown:n[0]||(n[0]=a.withModifiers(c=>o.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),a.renderSlot(o.$slots,"clear",{search:o.search}),a.createElementVNode("div",IZ,[a.renderSlot(o.$slots,"selection",{search:o.search,remove:o.removeElement,values:s.visibleValues,isOpen:o.isOpen},()=>[a.withDirectives(a.createElementVNode("div",SZ,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(s.visibleValues,(c,d)=>a.renderSlot(o.$slots,"tag",{option:c,search:o.search,remove:o.removeElement},()=>[(a.openBlock(),a.createElementBlock("span",{class:"multiselect__tag",key:d,onMousedown:n[1]||(n[1]=a.withModifiers(()=>{},["prevent"]))},[a.createElementVNode("span",{textContent:a.toDisplayString(o.getOptionLabel(c))},null,8,TZ),a.createElementVNode("i",{tabindex:"1",onKeydown:a.withKeys(a.withModifiers(p=>o.removeElement(c),["prevent"]),["enter"]),onMousedown:a.withModifiers(p=>o.removeElement(c),["prevent"]),class:"multiselect__tag-icon"},null,40,EZ)],32))])),256))],512),[[a.vShow,s.visibleValues.length>0]]),o.internalValue&&o.internalValue.length>i.limit?a.renderSlot(o.$slots,"limit",{key:0},()=>[a.createElementVNode("strong",{class:"multiselect__strong",textContent:a.toDisplayString(i.limitText(o.internalValue.length-i.limit))},null,8,AZ)]):a.createCommentVNode("v-if",!0)]),a.createVNode(a.Transition,{name:"multiselect__loading"},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"loading",{},()=>[a.withDirectives(a.createElementVNode("div",OZ,null,512),[[a.vShow,i.loading]])])]),_:3}),o.searchable?(a.openBlock(),a.createElementBlock("input",{key:0,ref:"search",name:i.name,id:o.id,type:"text",autocomplete:"off",spellcheck:i.spellcheck,placeholder:o.placeholder,required:s.isRequired,style:a.normalizeStyle(s.inputStyle),value:o.search,disabled:i.disabled,tabindex:i.tabindex,"aria-label":i.name+"-searchbox",onInput:n[2]||(n[2]=c=>o.updateSearch(c.target.value)),onFocus:n[3]||(n[3]=a.withModifiers(c=>o.activate(),["prevent"])),onBlur:n[4]||(n[4]=a.withModifiers(c=>o.deactivate(),["prevent"])),onKeyup:n[5]||(n[5]=a.withKeys(c=>o.deactivate(),["esc"])),onKeydown:[n[6]||(n[6]=a.withKeys(a.withModifiers(c=>o.pointerForward(),["prevent"]),["down"])),n[7]||(n[7]=a.withKeys(a.withModifiers(c=>o.pointerBackward(),["prevent"]),["up"])),n[8]||(n[8]=a.withKeys(a.withModifiers(c=>o.addPointerElement(c),["prevent","stop","self"]),["enter"])),n[9]||(n[9]=a.withKeys(a.withModifiers(c=>o.removeLastElement(),["stop"]),["delete"]))],class:"multiselect__input","aria-controls":"listbox-"+o.id},null,44,DZ)):a.createCommentVNode("v-if",!0),s.isSingleLabelVisible?(a.openBlock(),a.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:n[10]||(n[10]=a.withModifiers((...c)=>o.toggle&&o.toggle(...c),["prevent"]))},[a.renderSlot(o.$slots,"singleLabel",{option:s.singleValue},()=>[a.createTextVNode(a.toDisplayString(o.currentOptionLabel),1)])],32)):a.createCommentVNode("v-if",!0),s.isPlaceholderVisible?(a.openBlock(),a.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:n[11]||(n[11]=a.withModifiers((...c)=>o.toggle&&o.toggle(...c),["prevent"]))},[a.renderSlot(o.$slots,"placeholder",{},()=>[a.createTextVNode(a.toDisplayString(o.placeholder),1)])],32)):a.createCommentVNode("v-if",!0)],512),(a.openBlock(),a.createBlock(a.Teleport,{to:"body",disabled:!i.useTeleport},[a.createVNode(a.Transition,{name:"multiselect"},{default:a.withCtx(()=>[o.isOpen&&l.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["multiselect__content-wrapper",i.contentWrapperClass]),onFocus:n[12]||(n[12]=(...c)=>o.activate&&o.activate(...c)),tabindex:"-1",onMousedown:n[13]||(n[13]=a.withModifiers(()=>{},["prevent"])),style:a.normalizeStyle([l.dropdownStyles,{maxHeight:o.optimizedHeight+"px"}]),ref:"list"},[a.createElementVNode("ul",{class:"multiselect__content",style:a.normalizeStyle(s.contentStyle),role:"listbox",id:"listbox-"+o.id,"aria-multiselectable":o.multiple},[a.renderSlot(o.$slots,"beforeList"),o.multiple&&o.max===o.internalValue.length?(a.openBlock(),a.createElementBlock("li",RZ,[a.createElementVNode("span",_Z,[a.renderSlot(o.$slots,"maxElements",{},()=>[a.createTextVNode("Maximum of "+a.toDisplayString(o.max)+" options selected. First remove a selected option to select another.",1)])])])):a.createCommentVNode("v-if",!0),!o.max||o.internalValue.length<o.max?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(o.filteredOptions,(c,d)=>(a.openBlock(),a.createElementBlock("li",{class:"multiselect__element",key:d,"aria-selected":o.isSelected(c),id:o.id+"-"+d,role:c&&(c.$isLabel||c.$isDisabled)?null:"option"},[c&&(c.$isLabel||c.$isDisabled)?a.createCommentVNode("v-if",!0):(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass([o.optionHighlight(d,c),"multiselect__option"]),onClick:a.withModifiers(p=>o.select(c),["stop"]),onMouseenter:a.withModifiers(p=>o.pointerSet(d),["self"]),"data-select":c&&c.isTag?o.tagPlaceholder:s.selectLabelText,"data-selected":s.selectedLabelText,"data-deselect":s.deselectLabelText},[a.renderSlot(o.$slots,"option",{option:c,search:o.search,index:d},()=>[a.createElementVNode("span",null,a.toDisplayString(o.getOptionLabel(c)),1)])],42,PZ)),c&&(c.$isLabel||c.$isDisabled)?(a.openBlock(),a.createElementBlock("span",{key:1,"data-select":o.groupSelect&&s.selectGroupLabelText,"data-deselect":o.groupSelect&&s.deselectGroupLabelText,class:a.normalizeClass([o.groupHighlight(d,c),"multiselect__option"]),onMouseenter:a.withModifiers(p=>o.groupSelect&&o.pointerSet(d),["self"]),onMousedown:a.withModifiers(p=>o.selectGroup(c),["prevent"])},[a.renderSlot(o.$slots,"option",{option:c,search:o.search,index:d},()=>[a.createElementVNode("span",null,a.toDisplayString(o.getOptionLabel(c)),1)])],42,$Z)):a.createCommentVNode("v-if",!0)],8,BZ))),128)):a.createCommentVNode("v-if",!0),a.withDirectives(a.createElementVNode("li",null,[a.createElementVNode("span",MZ,[a.renderSlot(o.$slots,"noResult",{search:o.search},()=>[n[20]||(n[20]=a.createTextVNode("No elements found. Consider changing the search query."))])])],512),[[a.vShow,i.showNoResults&&o.filteredOptions.length===0&&o.search&&!i.loading]]),a.withDirectives(a.createElementVNode("li",null,[a.createElementVNode("span",NZ,[a.renderSlot(o.$slots,"noOptions",{},()=>[n[21]||(n[21]=a.createTextVNode("List is empty."))])])],512),[[a.vShow,i.showNoOptions&&(o.options.length===0||s.hasOptionGroup===!0&&o.filteredOptions.length===0)&&!o.search&&!i.loading]]),a.renderSlot(o.$slots,"afterList")],12,LZ)],38)):a.createCommentVNode("v-if",!0)]),_:3})],8,["disabled"]))],42,xZ)}qv.render=FZ;function ip(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ip=function(n){return typeof n}:ip=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ip(o)}function qZ(o,n){if(!(o instanceof n))throw new TypeError("Cannot call a class as a function")}function UZ(o,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,r.key,r)}}function HZ(o,n,i){return n&&UZ(o.prototype,n),o}function Uv(o){return zZ(o)||ZZ(o)||GZ(o)||KZ()}function zZ(o){if(Array.isArray(o))return Qg(o)}function ZZ(o){if(typeof Symbol<"u"&&Symbol.iterator in Object(o))return Array.from(o)}function GZ(o,n){if(o){if(typeof o=="string")return Qg(o,n);var i=Object.prototype.toString.call(o).slice(8,-1);if(i==="Object"&&o.constructor&&(i=o.constructor.name),i==="Map"||i==="Set")return Array.from(o);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Qg(o,n)}}function Qg(o,n){(n==null||n>o.length)&&(n=o.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=o[i];return r}function KZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1291
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WZ(o){var n;return typeof o=="function"?n={callback:o}:n=o,n}function YZ(o,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,s,c=function(p){for(var u=arguments.length,g=new Array(u>1?u-1:0),f=1;f<u;f++)g[f-1]=arguments[f];if(s=g,!(r&&p===l)){var h=i.leading;typeof h=="function"&&(h=h(p,l)),(!r||p!==l)&&h&&o.apply(void 0,[p].concat(Uv(s))),l=p,clearTimeout(r),r=setTimeout(function(){o.apply(void 0,[p].concat(Uv(s))),r=0},n)}};return c._clear=function(){clearTimeout(r),r=null},c}function Hv(o,n){if(o===n)return!0;if(ip(o)==="object"){for(var i in o)if(!Hv(o[i],n[i]))return!1;return!0}return!1}var XZ=(function(){function o(n,i,r){qZ(this,o),this.el=n,this.observer=null,this.frozen=!1,this.createObserver(i,r)}return HZ(o,[{key:"createObserver",value:function(i,r){var l=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=WZ(i),this.callback=function(d,p){l.options.callback(d,p),d&&l.options.once&&(l.frozen=!0,l.destroyObserver())},this.callback&&this.options.throttle){var s=this.options.throttleOptions||{},c=s.leading;this.callback=YZ(this.callback,this.options.throttle,{leading:function(p){return c==="both"||c==="visible"&&p||c==="hidden"&&!p}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(d){var p=d[0];if(d.length>1){var u=d.find(function(f){return f.isIntersecting});u&&(p=u)}if(l.callback){var g=p.isIntersecting&&p.intersectionRatio>=l.threshold;if(g===l.oldResult)return;l.oldResult=g,l.callback(g,p)}},this.options.intersection),a.nextTick(function(){l.observer&&l.observer.observe(l.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),o})();function zv(o,n,i){var r=n.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var l=new XZ(o,r,i);o._vue_visibilityState=l}}function QZ(o,n,i){var r=n.value,l=n.oldValue;if(!Hv(r,l)){var s=o._vue_visibilityState;if(!r){Zv(o);return}s?s.createObserver(r,i):zv(o,{value:r},i)}}function Zv(o){var n=o._vue_visibilityState;n&&(n.destroyObserver(),delete o._vue_visibilityState)}var JZ={beforeMount:zv,updated:QZ,unmounted:Zv};const VZ={props:{v:{type:Object},customValidators:{type:Array,default:()=>[]}},computed:{isValidation(){return!!this.v&&!!Object.keys(this.v).length},invalid(){return this.isValidation&&this.v.$error},validationText(){let o="";this.isValidation&&this.invalid&&(this.v.required?.$invalid?o=this.$t("validation.required"):this.v.numeric?.$invalid?o=this.$t("validation.numeric"):this.v.email?.$invalid?o=this.$t("validation.email"):this.v.gatewayHostValidator?.$invalid?o=this.$t("validation.gatewayHostValidator"):this.v.ipValidator?.$invalid?o=this.$t("validation.ipValidator"):this.v.macValidator?.$invalid?o=this.$t("validation.macValidator"):this.v.minValue?.$invalid?o=this.$t("validation.minValue",{min:this.v.minValue.$params.min}):this.v.maxValue?.$invalid?o=this.$t("validation.maxValue",{max:this.v.maxValue.$params.max}):this.v.sipAccountValidator?.$invalid?o=this.$t("validation.sipAccountValidator"):this.v.minLength?.$invalid?o=this.$t("validation.minLength",{min:this.v.minLength.$params.min}):this.v.maxLength?.$invalid?o=this.$t("validation.maxLength",{max:this.v.maxLength.$params.max}):this.v.url?.$invalid?o=`${this.$t("validation.url")}`:this.v.regExpValidator?.$invalid?o=`${this.$t("validation.regExpValidator")}`:this.v.sameAs?.$invalid?o=`${this.$t("validation.sameAs")}`:this.v.domainValidator?.$invalid?o=`${this.$t("validation.domainValidator")}`:this.v.decimalValidator?.$invalid?o=`${this.$t("validation.decimalValidator")} ${this.v.decimalValidator.$params.count}`:this.v.websocketValidator?.$invalid?o=`${this.$t("validation.websocketValidator")}`:this.v.integer?.$invalid?o=`${this.$t("validation.integer")}`:this.v.isRegExpMatched?.$invalid&&(o=this.v.isRegExpMatched?.$params?.errorMessage||`${t("validation.isRegExpMatched")} ${this.v.isRegExpMatched?.$params?.regExp}`));for(const{name:n,text:i}of this.customValidators)this.v[n]?.$invalid&&(o=i);return o},validationTextColor(){return this.invalid?Xo.ERROR:Xo.SUCCESS}}};var Jg,Gv;function eG(){if(Gv)return Jg;Gv=1;var o=ni(),n=function(){return o.Date.now()};return Jg=n,Jg}var Vg,Kv;function tG(){if(Kv)return Vg;Kv=1;var o=/\s/;function n(i){for(var r=i.length;r--&&o.test(i.charAt(r)););return r}return Vg=n,Vg}var ef,Wv;function nG(){if(Wv)return ef;Wv=1;var o=tG(),n=/^\s+/;function i(r){return r&&r.slice(0,o(r)+1).replace(n,"")}return ef=i,ef}var tf,Yv;function oG(){if(Yv)return tf;Yv=1;var o=nG(),n=ar(),i=_1(),r=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function p(u){if(typeof u=="number")return u;if(i(u))return r;if(n(u)){var g=typeof u.valueOf=="function"?u.valueOf():u;u=n(g)?g+"":g}if(typeof u!="string")return u===0?u:+u;u=o(u);var f=s.test(u);return f||c.test(u)?d(u.slice(2),f?2:8):l.test(u)?r:+u}return tf=p,tf}var nf,Xv;function iG(){if(Xv)return nf;Xv=1;var o=ar(),n=eG(),i=oG(),r="Expected a function",l=Math.max,s=Math.min;function c(d,p,u){var g,f,h,m,y,k,w=0,C=!1,v=!1,S=!0;if(typeof d!="function")throw new TypeError(r);p=i(p)||0,o(u)&&(C=!!u.leading,v="maxWait"in u,h=v?l(i(u.maxWait)||0,p):h,S="trailing"in u?!!u.trailing:S);function x(G){var V=g,oe=f;return g=f=void 0,w=G,m=d.apply(oe,V),m}function I(G){return w=G,y=setTimeout(D,p),C?x(G):m}function O(G){var V=G-k,oe=G-w,ee=p-V;return v?s(ee,h-oe):ee}function T(G){var V=G-k,oe=G-w;return k===void 0||V>=p||V<0||v&&oe>=h}function D(){var G=n();if(T(G))return P(G);y=setTimeout(D,O(G))}function P(G){return y=void 0,S&&g?x(G):(g=f=void 0,m)}function z(){y!==void 0&&clearTimeout(y),w=0,g=k=f=y=void 0}function R(){return y===void 0?m:P(n())}function _(){var G=n(),V=T(G);if(g=arguments,f=this,k=G,V){if(y===void 0)return I(k);if(v)return clearTimeout(y),y=setTimeout(D,p),x(k)}return y===void 0&&(y=setTimeout(D,p)),m}return _.cancel=z,_.flush=R,_}return nf=c,nf}var rG=iG();const aG=zl(rG),of=(o,n,i=1e3)=>aG(o,i,n),Qv={mixins:[{props:{label:{type:String,default:""},labelProps:{type:Object,description:"Object with props, passed down to wt-label as props"}},computed:{hasLabel(){return!!(this.label||this.$slots.label)},requiredLabel(){return this.required?`${this.label}*`:this.label}}}],directives:{ObserveVisibility:JZ},components:{VueMultiselect:qv},props:{options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},trackBy:{type:String,default:"id"},optionLabel:{type:String},searchMethod:{type:Function},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},allowEmpty:{type:Boolean,default:!1},useValueFromOptionsByProp:{type:String,default:""}},data:()=>({apiOptions:[],cachedOptionsMap:{},isLoading:!1,defaultOptionLabel:"name",searchParams:{search:"",page:1},searchHasNext:!0}),computed:{selectOptionLabel(){return this.trackBy===null?null:this.optionLabel||this.defaultOptionLabel},isApiMode(){return!!this.searchMethod},showIntersectionObserver(){return this.isApiMode&&!this.isLoading&&this.apiOptions.length},selectValue(){if(!this.isValue)return"";let o=this.value;return this.multiple&&!Array.isArray(o)&&(console.warn("wt-select: value prop should be an array when using multiple mode"),o=[o]),this.useValueFromOptionsByProp&&(this.multiple?o=o.map(n=>this.cachedOptionsMap[n]||n):o=this.cachedOptionsMap[o]||o),o},selectOptions(){return this.isApiMode?this.apiOptions:this.options},isValue(){return!Mv(this.value)},listeners(){return{"update:model-value":this.input,close:this.close,tag:this.tag,"search-change":o=>{this.$emit("search-change",o),this.handleSearchChange(o)}}}},methods:{getOptionLabel({option:o,optionLabel:n}){return this.allowCustomValues&&o.isTag?o.label:n&&o[n]?o[n]:o.locale?Array.isArray(o.locale)?this.$t(...o.locale):this.$t(o.locale):o[this.defaultOptionLabel]||o},handleSearchChange(o){this.searchParams.search=o,this.isApiMode&&(this.isLoading=!0,this.searchParams.page=1,this.fetchOptions())},handleAfterListIntersect(o){o&&this.searchHasNext&&(this.isLoading=!0,this.searchParams.page+=1,this.fetchOptions())},async fetchOptions({search:o,page:n}=this.searchParams){if(!this.isApiMode)return;const{items:i,next:r}=await this.searchMethod({search:o,page:n});this.apiOptions=this.searchParams.page===1?i:this.apiOptions.concat(i),this.searchHasNext=r,this.isLoading=!1},input(o){let n=o;this.useValueFromOptionsByProp&&(this.multiple?n=o.map(i=>i[this.useValueFromOptionsByProp]):n=o[this.useValueFromOptionsByProp]),this.$emit("input",n),this.$emit("update:model-value",n)},close(o){this.$emit("closed",o)},tag(){}},watch:{disabled(){this.disabled||this.fetchOptions()},selectOptions:{handler(){if(this.trackBy!==null)for(const o of this.selectOptions)this.cachedOptionsMap[o[this.useValueFromOptionsByProp||this.trackBy]]=o},immediate:!0},value:{async handler(){if(this.useValueFromOptionsByProp&&this.isApiMode){const n=(Array.isArray(this.value)?this.value:[this.value]).filter(()=>!this.cachedOptionsMap[this.value]);if(n.length){const{items:i}=await this.searchMethod({id:n,size:n.length});i.forEach(r=>{this.cachedOptionsMap[r[this.useValueFromOptionsByProp]]=r})}}},immediate:!0}},created(){this.disabled||this.fetchOptions(),this.fetchOptions=of(this.fetchOptions,500)}},sG={name:"WtSelect",mixins:[Qv,Nv],props:{value:{},multiple:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},allowCustomValues:{type:Boolean,default:!1,description:'See wt-tags-input "taggable" prop.'},handleCustomValuesAdditionManually:{type:Boolean,default:!1,description:'See wt-tags-input "manualTagging" prop.'},v:{type:Object,default:null},regleValidation:{type:Object,default:null}},emits:["reset","search-change","input","update:modelValue","closed","custom-value"],setup:o=>{const{v:n,customValidators:i,regleValidation:r}=a.toRefs(o),{isValidation:l,invalid:s,validationText:c,validationTextColor:d}=Lr({v:n,customValidators:i,regleValidation:r});return{isValidation:l,invalid:s,validationText:c,validationTextColor:d,MessageVariant:Vi,ComponentSize:Pe}},data:()=>({isOpened:!1,items:[]}),computed:{taggable(){return this.allowCustomValues},manualTagging(){return this.handleCustomValuesAdditionManually},optionsWithCustomValues(){if(!this.allowCustomValues)return this.selectOptions;const o=Array.isArray(this.value)?this.value:Mv(this.value)?[]:[this.value],n=this.selectOptions.filter(i=>{const r=this.trackBy?i[this.trackBy]:i;return!o.some(l=>(this.trackBy?l[this.trackBy]:l)===r)});return[...o,...n]}},methods:{async handleCustomValue(o){this.tag(o)},async search(o){console.log("event.query",o.query),this.items=[...this.optionsWithCustomValues]},async handleCustomValueArrowInput(o){this.tag(this.searchParams.search),o()},emitTagEvent(o,n){this.$emit("custom-value",o,n)},clearValue(){let o="";Array.isArray(this.value)?o=[]:typeof this.value=="object"&&this.value!==null&&(o={}),this.input(o),this.$emit("reset",o)}}},lG=["onClick"],cG={class:"multiselect__custom-tag"},dG={class:"multiselect__single-label"},pG={class:"multiselect__loading-wrapper"},uG={style:{height:"1px"}};function gG(o,n,i,r,l,s){const c=a.resolveComponent("wt-label"),d=a.resolveComponent("wt-chip"),p=a.resolveComponent("wt-popover"),u=a.resolveComponent("wt-icon-btn"),g=a.resolveComponent("wt-loader"),f=a.resolveComponent("vue-multiselect"),h=a.resolveComponent("wt-message"),m=a.resolveDirective("observe-visibility");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"wt-select--disabled":o.disabled,"wt-select--invalid":o.invalid,"wt-select--multiple":i.multiple,"wt-select--clearable":i.clearable,"wt-select--loading":o.isLoading},"wt-select"])},[o.hasLabel?(a.openBlock(),a.createBlock(c,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled,invalid:o.invalid,class:"wt-select__label"}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(o.requiredLabel),1)],!0)],void 0,!0),_:3},16,["disabled","invalid"])):a.createCommentVNode("",!0),a.createVNode(f,a.mergeProps(o.$attrs,{ref:"vue-multiselect","allow-empty":o.allowEmpty,"close-on-select":o.$attrs.closeOnSelect||!i.multiple,disabled:o.disabled,"internal-search":!o.searchMethod,label:o.selectOptionLabel,limit:1,loading:!1,"model-value":o.selectValue,multiple:i.multiple,options:s.optionsWithCustomValues,placeholder:o.placeholder||o.label,taggable:s.taggable,"track-by":o.trackBy,class:"wt-select__select"},{onClose:n[2]||(n[2]=y=>o.isOpened=!1),onOpen:n[3]||(n[3]=y=>o.isOpened=!0)},a.toHandlers(o.listeners)),a.createSlots({tag:a.withCtx(({option:y})=>[a.createElementVNode("span",cG,a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)]),singleLabel:a.withCtx(({option:y})=>[a.renderSlot(o.$slots,"singleLabel",a.normalizeProps(a.guardReactiveProps({option:y,optionLabel:o.optionLabel})),()=>[a.createElementVNode("span",dG,a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)],!0)]),option:a.withCtx(({option:y})=>[a.renderSlot(o.$slots,"option",a.normalizeProps(a.guardReactiveProps({option:y,optionLabel:o.optionLabel})),()=>[a.createTextVNode(a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)],!0)]),caret:a.withCtx(({toggle:y})=>[i.allowCustomValues&&o.searchParams.search?(a.openBlock(),a.createBlock(u,{key:0,disabled:o.disabled,class:"multiselect__select multiselect__custom-value",icon:"select-custom-value-enter",onClick:k=>s.handleCustomValueArrowInput(y),onMousedown:n[0]||(n[0]=a.withModifiers(()=>{},["prevent"]))},null,8,["disabled","onClick"])):(a.openBlock(),a.createBlock(u,{key:1,disabled:o.disabled,class:"multiselect__select multiselect__arrow",icon:"arrow-down",onClick:y,onMousedown:n[1]||(n[1]=a.withModifiers(()=>{},["prevent"]))},null,8,["disabled","onClick"]))]),clear:a.withCtx(({})=>[i.clearable&&o.isValue?(a.openBlock(),a.createBlock(u,{key:0,disabled:o.disabled,class:"multiselect__clear",icon:"close",onClick:s.clearValue},null,8,["disabled","onClick"])):a.createCommentVNode("",!0)]),beforeList:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",pG,[a.createVNode(g,{size:"sm"})],512),[[a.vShow,o.isLoading]])]),_:2},[o.isOpened?void 0:{name:"limit",fn:a.withCtx(()=>[a.createVNode(p,{class:"multiselect__limit"},{activator:a.withCtx(({toggle:y})=>[a.createElementVNode("div",{onClick:a.withModifiers(y,["stop","prevent"])},[a.createVNode(d,null,{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(i.value.length-1),1)],void 0,!0),_:1})],8,lG)]),default:a.withCtx(()=>[a.createElementVNode("div",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value.slice(1),(y,k)=>(a.openBlock(),a.createElementBlock("p",{key:k},a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1))),128))])]),_:1})]),key:"0"},o.showIntersectionObserver?{name:"afterList",fn:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",uG,null,512),[[m,o.handleAfterListIntersect]])]),key:"1"}:void 0]),1040,["allow-empty","close-on-select","disabled","internal-search","label","model-value","multiple","options","placeholder","taggable","track-by"]),o.isValidation&&o.validationText?(a.openBlock(),a.createBlock(h,{key:1,color:o.validationTextColor,variant:o.MessageVariant.SIMPLE,size:o.ComponentSize.SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.validationText),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)],2)}const rf=xe(sG,[["render",gG],["__scopeId","data-v-1038982b"]]),fG={key:0,class:"wt-switcher__label typo-subtitle-2"},Jv=xe(a.defineComponent({__name:"wt-switcher",props:a.mergeModels({label:{default:""},labelLeft:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},labelProps:{default:()=>({})},controlled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String]},defaultValue:{type:[Boolean,String]},name:{},trueValue:{},falseValue:{},invalid:{type:Boolean},readonly:{type:Boolean},tabindex:{},inputId:{},inputClass:{},inputStyle:{},ariaLabelledby:{},ariaLabel:{},formControl:{},dt:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue"],["update:modelValue"]),setup(o,{emit:n}){const i=o,r=a.useModel(o,"modelValue"),l=a.ref(0),s=n,c=a.useSlots(),d=a.computed(()=>i.label||c.label),p=`switcher-${Math.random().toString(36).slice(2,11)}`,u=()=>{i.controlled&&a.nextTick(()=>{l.value++}),s("update:modelValue",!r.value)};return(g,f)=>{const h=a.resolveComponent("p-toggle-switch"),m=a.resolveComponent("wt-label");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["wt-switcher typo-subtitle-2",{"wt-switcher--label-left":o.labelLeft}])},[(a.openBlock(),a.createBlock(h,{key:l.value,"model-value":r.value,"input-id":p,disabled:o.disabled,"onUpdate:modelValue":u},null,8,["model-value","disabled"])),d.value?(a.openBlock(),a.createBlock(m,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled}),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label,value:r.value,disabled:o.disabled})),()=>[o.label?(a.openBlock(),a.createElementBlock("div",fG,a.toDisplayString(o.label),1)):a.createCommentVNode("",!0)],!0)],void 0,!0),_:3},16,["disabled"])):a.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-4274089a"]]),hG={class:"wt-textarea__wrapper"},mG=xe(a.defineComponent({__name:"wt-textarea",props:a.mergeModels({label:{default:""},placeholder:{default:void 0},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},name:{default:""},rows:{default:1},labelProps:{default:void 0},autoresize:{type:Boolean,default:!1},v:{default:void 0},customValidators:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["enter","paste","blur","keydown"],["update:modelValue"]),setup(o,{emit:n}){const i=o,r=a.useModel(o,"modelValue"),l=a.useTemplateRef("textarea-wrapper"),s=n,c=a.ref(!1),{isValidation:d,invalid:p,validationText:u,validationTextColor:g}=Lr({v:i.v,customValidators:i.customValidators}),f=y=>{s("keydown",y),i.autoresize&&y.key==="Enter"&&!y.shiftKey&&(s("enter"),y.preventDefault())},h=()=>{m()},m=async()=>{if(!i.autoresize)return;const y=l.value?.$el;y?.scrollHeight===y?.clientHeight||y?.scrollHeight===y?.clientHeight+2?c.value=!0:c.value=!1};return a.onMounted(()=>{m()}),(y,k)=>{const w=a.resolveComponent("wt-label"),C=a.resolveComponent("p-textarea"),v=a.resolveComponent("wt-message");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["wt-textarea",{"wt-textarea--hidden-scrollbar":c.value}])},[a.createVNode(w,a.mergeProps(o.labelProps,{disabled:o.disabled,for:o.name,required:o.required,invalid:a.unref(p)}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(o.label),1)],!0)],void 0,!0),_:3},16,["disabled","for","required","invalid"]),a.createElementVNode("div",hG,[a.createVNode(C,{id:o.name,ref:"textarea-wrapper",modelValue:r.value,"onUpdate:modelValue":k[0]||(k[0]=S=>r.value=S),placeholder:o.placeholder||o.label,invalid:a.unref(p),disabled:o.disabled,rows:o.rows,"auto-resize":o.autoresize,readonly:o.readonly,class:"wt-textarea__textarea",onPaste:k[1]||(k[1]=S=>s("paste",S)),onKeydown:f,onInput:h,onBlur:k[2]||(k[2]=S=>s("blur"))},null,8,["id","modelValue","placeholder","invalid","disabled","rows","auto-resize","readonly"])]),a.unref(d)&&a.unref(u)?(a.openBlock(),a.createBlock(v,{key:0,color:a.unref(g),variant:a.unref(Vi).SIMPLE,size:a.unref(Pe).SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(u)),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-4474e715"]]),bG=["top","right","bottom","left"],Vv=["start","end"],eC=bG.reduce((o,n)=>o.concat(n,n+"-"+Vv[0],n+"-"+Vv[1]),[]),rp=Math.min,Ea=Math.max,ap=Math.round,sp=Math.floor,Pi=o=>({x:o,y:o}),yG={left:"right",right:"left",bottom:"top",top:"bottom"},vG={start:"end",end:"start"};function tC(o,n,i){return Ea(o,rp(n,i))}function oc(o,n){return typeof o=="function"?o(n):o}function dr(o){return o.split("-")[0]}function pr(o){return o.split("-")[1]}function nC(o){return o==="x"?"y":"x"}function oC(o){return o==="y"?"height":"width"}const CG=new Set(["top","bottom"]);function Br(o){return CG.has(dr(o))?"y":"x"}function iC(o){return nC(Br(o))}function rC(o,n,i){i===void 0&&(i=!1);const r=pr(o),l=iC(o),s=oC(l);let c=l==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=cp(c)),[c,cp(c)]}function wG(o){const n=cp(o);return[lp(o),n,lp(n)]}function lp(o){return o.replace(/start|end/g,n=>vG[n])}const aC=["left","right"],sC=["right","left"],kG=["top","bottom"],jG=["bottom","top"];function xG(o,n,i){switch(o){case"top":case"bottom":return i?n?sC:aC:n?aC:sC;case"left":case"right":return n?kG:jG;default:return[]}}function IG(o,n,i,r){const l=pr(o);let s=xG(dr(o),i==="start",r);return l&&(s=s.map(c=>c+"-"+l),n&&(s=s.concat(s.map(lp)))),s}function cp(o){return o.replace(/left|right|bottom|top/g,n=>yG[n])}function SG(o){return{top:0,right:0,bottom:0,left:0,...o}}function TG(o){return typeof o!="number"?SG(o):{top:o,right:o,bottom:o,left:o}}function dp(o){const{x:n,y:i,width:r,height:l}=o;return{width:r,height:l,top:i,left:n,right:n+r,bottom:i+l,x:n,y:i}}function lC(o,n,i){let{reference:r,floating:l}=o;const s=Br(n),c=iC(n),d=oC(c),p=dr(n),u=s==="y",g=r.x+r.width/2-l.width/2,f=r.y+r.height/2-l.height/2,h=r[d]/2-l[d]/2;let m;switch(p){case"top":m={x:g,y:r.y-l.height};break;case"bottom":m={x:g,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-l.width,y:f};break;default:m={x:r.x,y:r.y}}switch(pr(n)){case"start":m[c]-=h*(i&&u?-1:1);break;case"end":m[c]+=h*(i&&u?-1:1);break}return m}const EG=async(o,n,i)=>{const{placement:r="bottom",strategy:l="absolute",middleware:s=[],platform:c}=i,d=s.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(n));let u=await c.getElementRects({reference:o,floating:n,strategy:l}),{x:g,y:f}=lC(u,r,p),h=r,m={},y=0;for(let k=0;k<d.length;k++){const{name:w,fn:C}=d[k],{x:v,y:S,data:x,reset:I}=await C({x:g,y:f,initialPlacement:r,placement:h,strategy:l,middlewareData:m,rects:u,platform:c,elements:{reference:o,floating:n}});g=v??g,f=S??f,m={...m,[w]:{...m[w],...x}},I&&y<=50&&(y++,typeof I=="object"&&(I.placement&&(h=I.placement),I.rects&&(u=I.rects===!0?await c.getElementRects({reference:o,floating:n,strategy:l}):I.rects),{x:g,y:f}=lC(u,h,p)),k=-1)}return{x:g,y:f,placement:h,strategy:l,middlewareData:m}};async function af(o,n){var i;n===void 0&&(n={});const{x:r,y:l,platform:s,rects:c,elements:d,strategy:p}=o,{boundary:u="clippingAncestors",rootBoundary:g="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=oc(n,o),y=TG(m),w=d[h?f==="floating"?"reference":"floating":f],C=dp(await s.getClippingRect({element:(i=await(s.isElement==null?void 0:s.isElement(w)))==null||i?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:u,rootBoundary:g,strategy:p})),v=f==="floating"?{x:r,y:l,width:c.floating.width,height:c.floating.height}:c.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),x=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},I=dp(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:v,offsetParent:S,strategy:p}):v);return{top:(C.top-I.top+y.top)/x.y,bottom:(I.bottom-C.bottom+y.bottom)/x.y,left:(C.left-I.left+y.left)/x.x,right:(I.right-C.right+y.right)/x.x}}function AG(o,n,i){return(o?[...i.filter(l=>pr(l)===o),...i.filter(l=>pr(l)!==o)]:i.filter(l=>dr(l)===l)).filter(l=>o?pr(l)===o||(n?lp(l)!==l:!1):!0)}const OG=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(n){var i,r,l;const{rects:s,middlewareData:c,placement:d,platform:p,elements:u}=n,{crossAxis:g=!1,alignment:f,allowedPlacements:h=eC,autoAlignment:m=!0,...y}=oc(o,n),k=f!==void 0||h===eC?AG(f||null,m,h):h,w=await af(n,y),C=((i=c.autoPlacement)==null?void 0:i.index)||0,v=k[C];if(v==null)return{};const S=rC(v,s,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(d!==v)return{reset:{placement:k[0]}};const x=[w[dr(v)],w[S[0]],w[S[1]]],I=[...((r=c.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:x}],O=k[C+1];if(O)return{data:{index:C+1,overflows:I},reset:{placement:O}};const T=I.map(z=>{const R=pr(z.placement);return[z.placement,R&&g?z.overflows.slice(0,2).reduce((_,G)=>_+G,0):z.overflows[0],z.overflows]}).sort((z,R)=>z[1]-R[1]),P=((l=T.filter(z=>z[2].slice(0,pr(z[0])?2:3).every(R=>R<=0))[0])==null?void 0:l[0])||T[0][0];return P!==d?{data:{index:C+1,overflows:I},reset:{placement:P}}:{}}}},DG=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var i,r;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:p,elements:u}=n,{mainAxis:g=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:k=!0,...w}=oc(o,n);if((i=s.arrow)!=null&&i.alignmentOffset)return{};const C=dr(l),v=Br(d),S=dr(d)===d,x=await(p.isRTL==null?void 0:p.isRTL(u.floating)),I=h||(S||!k?[cp(d)]:wG(d)),O=y!=="none";!h&&O&&I.push(...IG(d,k,y,x));const T=[d,...I],D=await af(n,w),P=[];let z=((r=s.flip)==null?void 0:r.overflows)||[];if(g&&P.push(D[C]),f){const V=rC(l,c,x);P.push(D[V[0]],D[V[1]])}if(z=[...z,{placement:l,overflows:P}],!P.every(V=>V<=0)){var R,_;const V=(((R=s.flip)==null?void 0:R.index)||0)+1,oe=T[V];if(oe&&(!(f==="alignment"?v!==Br(oe):!1)||z.every(U=>Br(U.placement)===v?U.overflows[0]>0:!0)))return{data:{index:V,overflows:z},reset:{placement:oe}};let ee=(_=z.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:_.placement;if(!ee)switch(m){case"bestFit":{var G;const E=(G=z.filter(U=>{if(O){const $=Br(U.placement);return $===v||$==="y"}return!0}).map(U=>[U.placement,U.overflows.filter($=>$>0).reduce(($,N)=>$+N,0)]).sort((U,$)=>U[1]-$[1])[0])==null?void 0:G[0];E&&(ee=E);break}case"initialPlacement":ee=d;break}if(l!==ee)return{reset:{placement:ee}}}return{}}}},LG=new Set(["left","top"]);async function RG(o,n){const{placement:i,platform:r,elements:l}=o,s=await(r.isRTL==null?void 0:r.isRTL(l.floating)),c=dr(i),d=pr(i),p=Br(i)==="y",u=LG.has(c)?-1:1,g=s&&p?-1:1,f=oc(n,o);let{mainAxis:h,crossAxis:m,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return d&&typeof y=="number"&&(m=d==="end"?y*-1:y),p?{x:m*g,y:h*u}:{x:h*u,y:m*g}}const _G=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var i,r;const{x:l,y:s,placement:c,middlewareData:d}=n,p=await RG(n,o);return c===((i=d.offset)==null?void 0:i.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:s+p.y,data:{...p,placement:c}}}}},BG=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:i,y:r,placement:l}=n,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:C,y:v}=w;return{x:C,y:v}}},...p}=oc(o,n),u={x:i,y:r},g=await af(n,p),f=Br(dr(l)),h=nC(f);let m=u[h],y=u[f];if(s){const w=h==="y"?"top":"left",C=h==="y"?"bottom":"right",v=m+g[w],S=m-g[C];m=tC(v,m,S)}if(c){const w=f==="y"?"top":"left",C=f==="y"?"bottom":"right",v=y+g[w],S=y-g[C];y=tC(v,y,S)}const k=d.fn({...n,[h]:m,[f]:y});return{...k,data:{x:k.x-i,y:k.y-r,enabled:{[h]:s,[f]:c}}}}}};function pp(){return typeof window<"u"}function Aa(o){return sf(o)?(o.nodeName||"").toLowerCase():"#document"}function wo(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function $i(o){var n;return(n=(sf(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function sf(o){return pp()?o instanceof Node||o instanceof wo(o).Node:!1}function ri(o){return pp()?o instanceof Element||o instanceof wo(o).Element:!1}function Mi(o){return pp()?o instanceof HTMLElement||o instanceof wo(o).HTMLElement:!1}function cC(o){return!pp()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof wo(o).ShadowRoot}const PG=new Set(["inline","contents"]);function ic(o){const{overflow:n,overflowX:i,overflowY:r,display:l}=ai(o);return/auto|scroll|overlay|hidden|clip/.test(n+r+i)&&!PG.has(l)}const $G=new Set(["table","td","th"]);function MG(o){return $G.has(Aa(o))}const NG=[":popover-open",":modal"];function up(o){return NG.some(n=>{try{return o.matches(n)}catch{return!1}})}const FG=["transform","translate","scale","rotate","perspective"],qG=["transform","translate","scale","rotate","perspective","filter"],UG=["paint","layout","strict","content"];function lf(o){const n=cf(),i=ri(o)?ai(o):o;return FG.some(r=>i[r]?i[r]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||qG.some(r=>(i.willChange||"").includes(r))||UG.some(r=>(i.contain||"").includes(r))}function HG(o){let n=Pr(o);for(;Mi(n)&&!Ps(n);){if(lf(n))return n;if(up(n))return null;n=Pr(n)}return null}function cf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zG=new Set(["html","body","#document"]);function Ps(o){return zG.has(Aa(o))}function ai(o){return wo(o).getComputedStyle(o)}function gp(o){return ri(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function Pr(o){if(Aa(o)==="html")return o;const n=o.assignedSlot||o.parentNode||cC(o)&&o.host||$i(o);return cC(n)?n.host:n}function dC(o){const n=Pr(o);return Ps(n)?o.ownerDocument?o.ownerDocument.body:o.body:Mi(n)&&ic(n)?n:dC(n)}function rc(o,n,i){var r;n===void 0&&(n=[]),i===void 0&&(i=!0);const l=dC(o),s=l===((r=o.ownerDocument)==null?void 0:r.body),c=wo(l);if(s){const d=df(c);return n.concat(c,c.visualViewport||[],ic(l)?l:[],d&&i?rc(d):[])}return n.concat(l,rc(l,[],i))}function df(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function pC(o){const n=ai(o);let i=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Mi(o),s=l?o.offsetWidth:i,c=l?o.offsetHeight:r,d=ap(i)!==s||ap(r)!==c;return d&&(i=s,r=c),{width:i,height:r,$:d}}function pf(o){return ri(o)?o:o.contextElement}function $s(o){const n=pf(o);if(!Mi(n))return Pi(1);const i=n.getBoundingClientRect(),{width:r,height:l,$:s}=pC(n);let c=(s?ap(i.width):i.width)/r,d=(s?ap(i.height):i.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const ZG=Pi(0);function uC(o){const n=wo(o);return!cf()||!n.visualViewport?ZG:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function GG(o,n,i){return n===void 0&&(n=!1),!i||n&&i!==wo(o)?!1:n}function Oa(o,n,i,r){n===void 0&&(n=!1),i===void 0&&(i=!1);const l=o.getBoundingClientRect(),s=pf(o);let c=Pi(1);n&&(r?ri(r)&&(c=$s(r)):c=$s(o));const d=GG(s,i,r)?uC(s):Pi(0);let p=(l.left+d.x)/c.x,u=(l.top+d.y)/c.y,g=l.width/c.x,f=l.height/c.y;if(s){const h=wo(s),m=r&&ri(r)?wo(r):r;let y=h,k=df(y);for(;k&&r&&m!==y;){const w=$s(k),C=k.getBoundingClientRect(),v=ai(k),S=C.left+(k.clientLeft+parseFloat(v.paddingLeft))*w.x,x=C.top+(k.clientTop+parseFloat(v.paddingTop))*w.y;p*=w.x,u*=w.y,g*=w.x,f*=w.y,p+=S,u+=x,y=wo(k),k=df(y)}}return dp({width:g,height:f,x:p,y:u})}function fp(o,n){const i=gp(o).scrollLeft;return n?n.left+i:Oa($i(o)).left+i}function gC(o,n){const i=o.getBoundingClientRect(),r=i.left+n.scrollLeft-fp(o,i),l=i.top+n.scrollTop;return{x:r,y:l}}function KG(o){let{elements:n,rect:i,offsetParent:r,strategy:l}=o;const s=l==="fixed",c=$i(r),d=n?up(n.floating):!1;if(r===c||d&&s)return i;let p={scrollLeft:0,scrollTop:0},u=Pi(1);const g=Pi(0),f=Mi(r);if((f||!f&&!s)&&((Aa(r)!=="body"||ic(c))&&(p=gp(r)),Mi(r))){const m=Oa(r);u=$s(r),g.x=m.x+r.clientLeft,g.y=m.y+r.clientTop}const h=c&&!f&&!s?gC(c,p):Pi(0);return{width:i.width*u.x,height:i.height*u.y,x:i.x*u.x-p.scrollLeft*u.x+g.x+h.x,y:i.y*u.y-p.scrollTop*u.y+g.y+h.y}}function WG(o){return Array.from(o.getClientRects())}function YG(o){const n=$i(o),i=gp(o),r=o.ownerDocument.body,l=Ea(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),s=Ea(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-i.scrollLeft+fp(o);const d=-i.scrollTop;return ai(r).direction==="rtl"&&(c+=Ea(n.clientWidth,r.clientWidth)-l),{width:l,height:s,x:c,y:d}}const fC=25;function XG(o,n){const i=wo(o),r=$i(o),l=i.visualViewport;let s=r.clientWidth,c=r.clientHeight,d=0,p=0;if(l){s=l.width,c=l.height;const g=cf();(!g||g&&n==="fixed")&&(d=l.offsetLeft,p=l.offsetTop)}const u=fp(r);if(u<=0){const g=r.ownerDocument,f=g.body,h=getComputedStyle(f),m=g.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(r.clientWidth-f.clientWidth-m);y<=fC&&(s-=y)}else u<=fC&&(s+=u);return{width:s,height:c,x:d,y:p}}const QG=new Set(["absolute","fixed"]);function JG(o,n){const i=Oa(o,!0,n==="fixed"),r=i.top+o.clientTop,l=i.left+o.clientLeft,s=Mi(o)?$s(o):Pi(1),c=o.clientWidth*s.x,d=o.clientHeight*s.y,p=l*s.x,u=r*s.y;return{width:c,height:d,x:p,y:u}}function hC(o,n,i){let r;if(n==="viewport")r=XG(o,i);else if(n==="document")r=YG($i(o));else if(ri(n))r=JG(n,i);else{const l=uC(o);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return dp(r)}function mC(o,n){const i=Pr(o);return i===n||!ri(i)||Ps(i)?!1:ai(i).position==="fixed"||mC(i,n)}function VG(o,n){const i=n.get(o);if(i)return i;let r=rc(o,[],!1).filter(d=>ri(d)&&Aa(d)!=="body"),l=null;const s=ai(o).position==="fixed";let c=s?Pr(o):o;for(;ri(c)&&!Ps(c);){const d=ai(c),p=lf(c);!p&&d.position==="fixed"&&(l=null),(s?!p&&!l:!p&&d.position==="static"&&!!l&&QG.has(l.position)||ic(c)&&!p&&mC(o,c))?r=r.filter(g=>g!==c):l=d,c=Pr(c)}return n.set(o,r),r}function eK(o){let{element:n,boundary:i,rootBoundary:r,strategy:l}=o;const c=[...i==="clippingAncestors"?up(n)?[]:VG(n,this._c):[].concat(i),r],d=c[0],p=c.reduce((u,g)=>{const f=hC(n,g,l);return u.top=Ea(f.top,u.top),u.right=rp(f.right,u.right),u.bottom=rp(f.bottom,u.bottom),u.left=Ea(f.left,u.left),u},hC(n,d,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function tK(o){const{width:n,height:i}=pC(o);return{width:n,height:i}}function nK(o,n,i){const r=Mi(n),l=$i(n),s=i==="fixed",c=Oa(o,!0,s,n);let d={scrollLeft:0,scrollTop:0};const p=Pi(0);function u(){p.x=fp(l)}if(r||!r&&!s)if((Aa(n)!=="body"||ic(l))&&(d=gp(n)),r){const m=Oa(n,!0,s,n);p.x=m.x+n.clientLeft,p.y=m.y+n.clientTop}else l&&u();s&&!r&&l&&u();const g=l&&!r&&!s?gC(l,d):Pi(0),f=c.left+d.scrollLeft-p.x-g.x,h=c.top+d.scrollTop-p.y-g.y;return{x:f,y:h,width:c.width,height:c.height}}function uf(o){return ai(o).position==="static"}function bC(o,n){if(!Mi(o)||ai(o).position==="fixed")return null;if(n)return n(o);let i=o.offsetParent;return $i(o)===i&&(i=i.ownerDocument.body),i}function yC(o,n){const i=wo(o);if(up(o))return i;if(!Mi(o)){let l=Pr(o);for(;l&&!Ps(l);){if(ri(l)&&!uf(l))return l;l=Pr(l)}return i}let r=bC(o,n);for(;r&&MG(r)&&uf(r);)r=bC(r,n);return r&&Ps(r)&&uf(r)&&!lf(r)?i:r||HG(o)||i}const oK=async function(o){const n=this.getOffsetParent||yC,i=this.getDimensions,r=await i(o.floating);return{reference:nK(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function iK(o){return ai(o).direction==="rtl"}const rK={convertOffsetParentRelativeRectToViewportRelativeRect:KG,getDocumentElement:$i,getClippingRect:eK,getOffsetParent:yC,getElementRects:oK,getClientRects:WG,getDimensions:tK,getScale:$s,isElement:ri,isRTL:iK};function vC(o,n){return o.x===n.x&&o.y===n.y&&o.width===n.width&&o.height===n.height}function aK(o,n){let i=null,r;const l=$i(o);function s(){var d;clearTimeout(r),(d=i)==null||d.disconnect(),i=null}function c(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),s();const u=o.getBoundingClientRect(),{left:g,top:f,width:h,height:m}=u;if(d||n(),!h||!m)return;const y=sp(f),k=sp(l.clientWidth-(g+h)),w=sp(l.clientHeight-(f+m)),C=sp(g),S={rootMargin:-y+"px "+-k+"px "+-w+"px "+-C+"px",threshold:Ea(0,rp(1,p))||1};let x=!0;function I(O){const T=O[0].intersectionRatio;if(T!==p){if(!x)return c();T?c(!1,T):r=setTimeout(()=>{c(!1,1e-7)},1e3)}T===1&&!vC(u,o.getBoundingClientRect())&&c(),x=!1}try{i=new IntersectionObserver(I,{...S,root:l.ownerDocument})}catch{i=new IntersectionObserver(I,S)}i.observe(o)}return c(!0),s}function CC(o,n,i,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,u=pf(o),g=l||s?[...u?rc(u):[],...rc(n)]:[];g.forEach(C=>{l&&C.addEventListener("scroll",i,{passive:!0}),s&&C.addEventListener("resize",i)});const f=u&&d?aK(u,i):null;let h=-1,m=null;c&&(m=new ResizeObserver(C=>{let[v]=C;v&&v.target===u&&m&&(m.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var S;(S=m)==null||S.observe(n)})),i()}),u&&!p&&m.observe(u),m.observe(n));let y,k=p?Oa(o):null;p&&w();function w(){const C=Oa(o);k&&!vC(k,C)&&i(),k=C,y=requestAnimationFrame(w)}return i(),()=>{var C;g.forEach(v=>{l&&v.removeEventListener("scroll",i),s&&v.removeEventListener("resize",i)}),f?.(),(C=m)==null||C.disconnect(),m=null,p&&cancelAnimationFrame(y)}}const sK=_G,lK=OG,wC=BG,kC=DG,jC=(o,n,i)=>{const r=new Map,l={platform:rK,...i},s={...l.platform,_c:r};return EG(o,n,{...l,platform:s})};function cK(o){return o!=null&&typeof o=="object"&&"$el"in o}function xC(o){if(cK(o)){const n=o.$el;return sf(n)&&Aa(n)==="#comment"?null:n}return o}function ac(o){return typeof o=="function"?o():a.unref(o)}function IC(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function SC(o,n){const i=IC(o);return Math.round(n*i)/i}function dK(o,n,i){i===void 0&&(i={});const r=i.whileElementsMounted,l=a.computed(()=>{var T;return(T=ac(i.open))!=null?T:!0}),s=a.computed(()=>ac(i.middleware)),c=a.computed(()=>{var T;return(T=ac(i.placement))!=null?T:"bottom"}),d=a.computed(()=>{var T;return(T=ac(i.strategy))!=null?T:"absolute"}),p=a.computed(()=>{var T;return(T=ac(i.transform))!=null?T:!0}),u=a.computed(()=>xC(o.value)),g=a.computed(()=>xC(n.value)),f=a.ref(0),h=a.ref(0),m=a.ref(d.value),y=a.ref(c.value),k=a.shallowRef({}),w=a.ref(!1),C=a.computed(()=>{const T={position:m.value,left:"0",top:"0"};if(!g.value)return T;const D=SC(g.value,f.value),P=SC(g.value,h.value);return p.value?{...T,transform:"translate("+D+"px, "+P+"px)",...IC(g.value)>=1.5&&{willChange:"transform"}}:{position:m.value,left:D+"px",top:P+"px"}});let v;function S(){if(u.value==null||g.value==null)return;const T=l.value;jC(u.value,g.value,{middleware:s.value,placement:c.value,strategy:d.value}).then(D=>{f.value=D.x,h.value=D.y,m.value=D.strategy,y.value=D.placement,k.value=D.middlewareData,w.value=T!==!1})}function x(){typeof v=="function"&&(v(),v=void 0)}function I(){if(x(),r===void 0){S();return}if(u.value!=null&&g.value!=null){v=r(u.value,g.value,S);return}}function O(){l.value||(w.value=!1)}return a.watch([s,c,d,l],S,{flush:"sync"}),a.watch([u,g],I,{flush:"sync"}),a.watch(l,O,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(x),{x:a.shallowReadonly(f),y:a.shallowReadonly(h),strategy:a.shallowReadonly(m),placement:a.shallowReadonly(y),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(w),floatingStyles:C,update:S}}const TC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},EC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"},AC=({target:o,triggers:n,show:i,hide:r})=>{const l=()=>{((d,p)=>{p.forEach(u=>{const g=TC[u];g?d.addEventListener(g,i):console.log(`No Tooltip Show event for ${u} trigger`);const f=EC[u];f?d.addEventListener(f,r):console.log(`No Tooltip Hide event for ${u} trigger`)})})(o.value,n)},s=()=>{((d,p)=>{p.forEach(u=>{const g=TC[u];g?d.removeEventListener(g,i):console.log(`No Tooltip Show event for ${u} trigger`);const f=EC[u];f?d.removeEventListener(f,r):console.log(`No Tooltip Hide event for ${u} trigger`)})})(o.value,n)};a.onMounted(()=>l()),a.onBeforeUnmount(()=>s())},pK={__name:"wt-tooltip-floating",props:{triggers:{type:Array,default:()=>[]}},emits:["show","hide"],setup(o,{emit:n}){const i=o,r=n,l=a.ref(null);return AC({target:l,triggers:i.triggers,show:()=>r("show"),hide:()=>r("hide")}),(s,c)=>(a.openBlock(),a.createElementBlock("aside",{ref_key:"floating",ref:l,class:"wt-tooltip-floating"},[a.renderSlot(s.$slots,"default")],512))}},uK=xe({__name:"wt-tooltip",props:{visible:{type:Boolean,default:!1},placement:{type:String,default:"auto"},popperTriggers:{type:Array,default:()=>[]},triggers:{type:Array,default:()=>["hover","focus","touch"]},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},disableClickAway:{type:Boolean,default:!1}},emits:["update:visible"],setup(o,{emit:n}){const i=o,r=n,l=a.useTemplateRef("activator"),s=a.useTemplateRef("floating"),c=a.useTemplateRef("floatingChild"),d=a.ref(i.visible),p=()=>{r("update:visible",d.value)},u=(k={})=>{i.disabled||d.value||(d.value=!0,k.usedByTooltip=!0,p(),h())},g=(k={})=>{const w=c.value?.contains(k.target);!d.value||k.usedByTooltip||w||(d.value=!1,p(),m())},f=(k={})=>{i.disableClickAway||g(k)},h=()=>{window.addEventListener("scroll",g,!0)},m=()=>{window.removeEventListener("scroll",g,!0)},{floatingStyles:y}=dK(l,s,{placement:i.placement==="auto"?null:i.placement,strategy:"fixed",whileElementsMounted:CC,middleware:[wC(),sK(4),i.placement==="auto"?lK():kC()]});return AC({target:l,triggers:i.triggers,show:u,hide:g}),a.watch(()=>i.visible,k=>{k?u():g()}),a.onMounted(()=>{i.visible&&u()}),a.onBeforeUnmount(()=>{m()}),(k,w)=>{const C=a.resolveDirective("clickaway");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"wt-tooltip--visible":d.value},"wt-tooltip"])},[a.createElementVNode("div",{ref_key:"activator",ref:l,class:"wt-tooltip__activator"},[a.renderSlot(k.$slots,"activator",a.normalizeProps(a.guardReactiveProps({visible:d.value})),void 0,!0)],512),d.value?a.withDirectives((a.openBlock(),a.createBlock(pK,{key:0,ref_key:"floating",ref:s,class:a.normalizeClass([[o.popperClass],"wt-tooltip__floating typo-body-2"]),style:a.normalizeStyle(a.unref(y)),triggers:o.popperTriggers,onHide:g,onShow:u},{default:a.withCtx(()=>[a.createElementVNode("div",{ref_key:"floatingChild",ref:c},[a.renderSlot(k.$slots,"default",a.normalizeProps(a.guardReactiveProps({hide:g})),void 0,!0)],512)],void 0,!0),_:3},8,["class","style","triggers"])),[[C,f]]):a.createCommentVNode("",!0)],2)}}},[["__scopeId","data-v-72aa56d0"]]),gK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>vhe)),fK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Che)),hK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>jhe)),mK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>She)),bK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Ahe)),OC=a.defineAsyncComponent(()=>Promise.resolve().then(()=>T3e)),yK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>R3e)),vK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>F3e)),CK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>X3e)),wK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>ebe)),kK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>obe)),jK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>lbe)),xK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>ybe)),IK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Tbe)),SK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Ebe)),TK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Bbe)),EK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Q9e)),DC=a.defineAsyncComponent(()=>Promise.resolve().then(()=>J9e)),AK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>e7e)),OK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>z9e)),DK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>i7e)),LK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>d7e)),RK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>f7e)),_K=a.defineAsyncComponent(()=>Promise.resolve().then(()=>m7e)),BK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>I7e)),PK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>D7e)),$K=a.defineAsyncComponent(()=>Promise.resolve().then(()=>_6e)),MK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>B6e)),NK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>$6e)),FK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>K6e)),qK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>l8e)),UK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>zye)),HK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>vwe)),zK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>jwe)),ZK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Owe)),GK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Bwe)),KK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Kwe));a.defineAsyncComponent(()=>Promise.resolve().then(()=>fje));const LC={WtActionBar:gK,WtImage:J6,WtEmpty:FN,WtLogo:JH,WtAvatar:O6,WtBadge:YM,WtBadgeNew:D6,WtMessage:VH,WtIcon:Ml,WtIndicator:rU,WtButton:SN,WtChip:W6,WtConfirmDialog:hK,WtDivider:LN,WtTooltip:uK,WtLabel:PH,WtLoader:WH,WtRoundedAction:yZ,WtReplaceTransition:S_,WtCheckbox:au,WtDatepicker:OC,WtIconBtn:ja,WtInputNumber:CH,WtInputText:kH,WtPassword:zz,WtIntersectionObserver:_H,WtHint:YN,WtNotification:Bz,WtPopup:pZ,WtProgressBar:fZ,WtRadio:bZ,WtSearchBar:AK,WtSelect:rf,WtSlider:OK,WtSwitcher:Jv,WtTabs:PK,WtTagsInput:$K,WtTimeInput:MK,WtTimepicker:NK,WtTextarea:mG,WtAppHeader:O_,WtHeadline:GN,WtBreadcrumb:XM,WtNavigationBar:Dz,WtAppNavigator:tB,WtFiltersPanelWrapper:jK,WtHeaderActions:NM,WtErrorPage:CK,WtNotificationsBar:IK,WtPageWrapper:Uz,WtDualPanel:yK,WtPagination:TK,WtPlayer:EK,WtPopover:DC,WtStatusSelect:DK,WtTable:RK,WtTree:FK,WtTreeTable:qK,WtTableActions:_K,WtTableColumnSelect:BK,WtButtonSelect:fK,WtContextMenu:mK,WtCopyAction:bK,WtLoadBar:NH,WtIconAction:oy,WtPageHeader:SK,WtItemLink:BH,WtDummy:vK,WtStepper:LK,WtExpansionPanel:wK,WtNavigationMenu:ZK,WtStartPage:KK,WtSelectionPopup:GK,WtDisplayChipItems:zK,WtGalleria:xK,WtVidstackPlayer:UK,WtChatEmoji:HK,WtExpansionCard:kK,WtDatetimeText:DN},gf=new WeakMap,WK={mounted(o,n){const i=!n.modifiers.bubble;let r;if(typeof n.value=="function")r=_v(o,n.value,{capture:i});else{const[l,s]=n.value;r=_v(o,l,Object.assign({capture:i},s))}gf.set(o,r)},unmounted(o){const n=gf.get(o);n&&typeof n=="function"?n():n?.stop(),gf.delete(o)}};function YK(){let o=!1;const n=a.shallowRef(!1);return(i,r)=>{if(n.value=r.value,o)return;o=!0;const l=LH(i,r.value);a.watch(n,s=>l.value=s)}}YK();const RC={clickaway:WK};function At(...o){if(o){let n=[];for(let i=0;i<o.length;i++){let r=o[i];if(!r)continue;let l=typeof r;if(l==="string"||l==="number")n.push(r);else if(l==="object"){let s=Array.isArray(r)?[At(...r)]:Object.entries(r).map(([c,d])=>d?c:void 0);n=s.length?n.concat(s.filter(c=>!!c)):n}}return n.join(" ").trim()}}function _C(o,n){return o?o.classList?o.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(o.className):!1}function $o(o,n){if(o&&n){let i=r=>{_C(o,r)||(o.classList?o.classList.add(r):o.className+=" "+r)};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(i))}}function XK(){return window.innerWidth-document.documentElement.offsetWidth}function QK(o){typeof o=="string"?$o(document.body,o||"p-overflow-hidden"):(o!=null&&o.variableName&&document.body.style.setProperty(o.variableName,XK()+"px"),$o(document.body,o?.className||"p-overflow-hidden"))}function JK(o){if(o){let n=document.createElement("a");if(n.download!==void 0){let{name:i,src:r}=o;return n.setAttribute("href",r),n.setAttribute("download",i),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n),!0}}return!1}function VK(o,n){let i=new Blob([o],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(i,n+".csv"):JK({name:n+".csv",src:URL.createObjectURL(i)})||(o="data:text/csv;charset=utf-8,"+o,window.open(encodeURI(o)))}function ko(o,n){if(o&&n){let i=r=>{o.classList?o.classList.remove(r):o.className=o.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(i))}}function eW(o){typeof o=="string"?ko(document.body,o||"p-overflow-hidden"):(o!=null&&o.variableName&&document.body.style.removeProperty(o.variableName),ko(document.body,o?.className||"p-overflow-hidden"))}function ff(o){for(let n of document?.styleSheets)try{for(let i of n?.cssRules)for(let r of i?.style)if(o.test(r))return{name:r,value:i.style.getPropertyValue(r).trim()}}catch{}return null}function BC(o){let n={width:0,height:0};if(o){let[i,r]=[o.style.visibility,o.style.display],l=o.getBoundingClientRect();o.style.visibility="hidden",o.style.display="block",n.width=l.width||o.offsetWidth,n.height=l.height||o.offsetHeight,o.style.display=r,o.style.visibility=i}return n}function sc(){let o=window,n=document,i=n.documentElement,r=n.getElementsByTagName("body")[0],l=o.innerWidth||i.clientWidth||r.clientWidth,s=o.innerHeight||i.clientHeight||r.clientHeight;return{width:l,height:s}}function hf(o){return o?Math.abs(o.scrollLeft):0}function mf(){let o=document.documentElement;return(window.pageXOffset||hf(o))-(o.clientLeft||0)}function bf(){let o=document.documentElement;return(window.pageYOffset||o.scrollTop)-(o.clientTop||0)}function yf(o){return o?getComputedStyle(o).direction==="rtl":!1}function lc(o,n,i=!0){var r,l,s,c;if(o){let d=o.offsetParent?{width:o.offsetWidth,height:o.offsetHeight}:BC(o),p=d.height,u=d.width,g=n.offsetHeight,f=n.offsetWidth,h=n.getBoundingClientRect(),m=bf(),y=mf(),k=sc(),w,C,v="top";h.top+g+p>k.height?(w=h.top+m-p,v="bottom",w<0&&(w=m)):w=g+h.top+m,h.left+u>k.width?C=Math.max(0,h.left+y+f-u):C=h.left+y,yf(o)?o.style.insetInlineEnd=C+"px":o.style.insetInlineStart=C+"px",o.style.top=w+"px",o.style.transformOrigin=v,i&&(o.style.marginTop=v==="bottom"?`calc(${(l=(r=ff(/-anchor-gutter$/))==null?void 0:r.value)!=null?l:"2px"} * -1)`:(c=(s=ff(/-anchor-gutter$/))==null?void 0:s.value)!=null?c:"")}}function Da(o,n){o&&(typeof n=="string"?o.style.cssText=n:Object.entries(n||{}).forEach(([i,r])=>o.style[i]=r))}function Wt(o,n){return o instanceof HTMLElement?o.offsetWidth:0}function vf(o,n,i=!0,r=void 0){var l;if(o){let s=o.offsetParent?{width:o.offsetWidth,height:o.offsetHeight}:BC(o),c=n.offsetHeight,d=n.getBoundingClientRect(),p=sc(),u,g,f=r??"top";if(!r&&d.top+c+s.height>p.height?(u=-1*s.height,f="bottom",d.top+u<0&&(u=-1*d.top)):u=c,s.width>p.width?g=d.left*-1:d.left+s.width>p.width?g=(d.left+s.width-p.width)*-1:g=0,o.style.top=u+"px",o.style.insetInlineStart=g+"px",o.style.transformOrigin=f,i){let h=(l=ff(/-anchor-gutter$/))==null?void 0:l.value;o.style.marginTop=f==="bottom"?`calc(${h??"2px"} * -1)`:h??""}}}function Cf(o){if(o){let n=o.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function PC(o){return!!(o!==null&&typeof o<"u"&&o.nodeName&&Cf(o))}function $r(o){return typeof Element<"u"?o instanceof Element:o!==null&&typeof o=="object"&&o.nodeType===1&&typeof o.nodeName=="string"}function hp(){if(window.getSelection){let o=window.getSelection()||{};o.empty?o.empty():o.removeAllRanges&&o.rangeCount>0&&o.getRangeAt(0).getClientRects().length>0&&o.removeAllRanges()}}function mp(o,n={}){if($r(o)){let i=(r,l)=>{var s,c;let d=(s=o?.$attrs)!=null&&s[r]?[(c=o?.$attrs)==null?void 0:c[r]]:[];return[l].flat().reduce((p,u)=>{if(u!=null){let g=typeof u;if(g==="string"||g==="number")p.push(u);else if(g==="object"){let f=Array.isArray(u)?i(r,u):Object.entries(u).map(([h,m])=>r==="style"&&(m||m===0)?`${h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${m}`:m?h:void 0);p=f.length?p.concat(f.filter(h=>!!h)):p}}return p},d)};Object.entries(n).forEach(([r,l])=>{if(l!=null){let s=r.match(/^on(.+)/);s?o.addEventListener(s[1].toLowerCase(),l):r==="p-bind"||r==="pBind"?mp(o,l):(l=r==="class"?[...new Set(i("class",l))].join(" ").trim():r==="style"?i("style",l).join(";").trim():l,(o.$attrs=o.$attrs||{})&&(o.$attrs[r]=l),o.setAttribute(r,l))}})}}function cc(o,n={},...i){if(o){let r=document.createElement(o);return mp(r,n),r.append(...i),r}}function tW(o,n){if(o){o.style.opacity="0";let i=+new Date,r="0",l=function(){r=`${+o.style.opacity+(new Date().getTime()-i)/n}`,o.style.opacity=r,i=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(l):setTimeout(l,16))};l()}}function Pn(o,n){return $r(o)?Array.from(o.querySelectorAll(n)):[]}function vn(o,n){return $r(o)?o.matches(n)?o:o.querySelector(n):null}function jt(o,n){o&&document.activeElement!==o&&o.focus(n)}function Ot(o,n){if($r(o)){let i=o.getAttribute(n);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}function wf(o,n=""){let i=Pn(o,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
1291
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WZ(o){var n;return typeof o=="function"?n={callback:o}:n=o,n}function YZ(o,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,l,s,c=function(p){for(var u=arguments.length,g=new Array(u>1?u-1:0),f=1;f<u;f++)g[f-1]=arguments[f];if(s=g,!(r&&p===l)){var h=i.leading;typeof h=="function"&&(h=h(p,l)),(!r||p!==l)&&h&&o.apply(void 0,[p].concat(Uv(s))),l=p,clearTimeout(r),r=setTimeout(function(){o.apply(void 0,[p].concat(Uv(s))),r=0},n)}};return c._clear=function(){clearTimeout(r),r=null},c}function Hv(o,n){if(o===n)return!0;if(ip(o)==="object"){for(var i in o)if(!Hv(o[i],n[i]))return!1;return!0}return!1}var XZ=(function(){function o(n,i,r){qZ(this,o),this.el=n,this.observer=null,this.frozen=!1,this.createObserver(i,r)}return HZ(o,[{key:"createObserver",value:function(i,r){var l=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=WZ(i),this.callback=function(d,p){l.options.callback(d,p),d&&l.options.once&&(l.frozen=!0,l.destroyObserver())},this.callback&&this.options.throttle){var s=this.options.throttleOptions||{},c=s.leading;this.callback=YZ(this.callback,this.options.throttle,{leading:function(p){return c==="both"||c==="visible"&&p||c==="hidden"&&!p}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(d){var p=d[0];if(d.length>1){var u=d.find(function(f){return f.isIntersecting});u&&(p=u)}if(l.callback){var g=p.isIntersecting&&p.intersectionRatio>=l.threshold;if(g===l.oldResult)return;l.oldResult=g,l.callback(g,p)}},this.options.intersection),a.nextTick(function(){l.observer&&l.observer.observe(l.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),o})();function zv(o,n,i){var r=n.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var l=new XZ(o,r,i);o._vue_visibilityState=l}}function QZ(o,n,i){var r=n.value,l=n.oldValue;if(!Hv(r,l)){var s=o._vue_visibilityState;if(!r){Zv(o);return}s?s.createObserver(r,i):zv(o,{value:r},i)}}function Zv(o){var n=o._vue_visibilityState;n&&(n.destroyObserver(),delete o._vue_visibilityState)}var JZ={beforeMount:zv,updated:QZ,unmounted:Zv};const VZ={props:{v:{type:Object},customValidators:{type:Array,default:()=>[]}},computed:{isValidation(){return!!this.v&&!!Object.keys(this.v).length},invalid(){return this.isValidation&&this.v.$error},validationText(){let o="";this.isValidation&&this.invalid&&(this.v.required?.$invalid?o=this.$t("validation.required"):this.v.numeric?.$invalid?o=this.$t("validation.numeric"):this.v.email?.$invalid?o=this.$t("validation.email"):this.v.gatewayHostValidator?.$invalid?o=this.$t("validation.gatewayHostValidator"):this.v.ipValidator?.$invalid?o=this.$t("validation.ipValidator"):this.v.macValidator?.$invalid?o=this.$t("validation.macValidator"):this.v.minValue?.$invalid?o=this.$t("validation.minValue",{min:this.v.minValue.$params.min}):this.v.maxValue?.$invalid?o=this.$t("validation.maxValue",{max:this.v.maxValue.$params.max}):this.v.sipAccountValidator?.$invalid?o=this.$t("validation.sipAccountValidator"):this.v.minLength?.$invalid?o=this.$t("validation.minLength",{min:this.v.minLength.$params.min}):this.v.maxLength?.$invalid?o=this.$t("validation.maxLength",{max:this.v.maxLength.$params.max}):this.v.url?.$invalid?o=`${this.$t("validation.url")}`:this.v.regExpValidator?.$invalid?o=`${this.$t("validation.regExpValidator")}`:this.v.sameAs?.$invalid?o=`${this.$t("validation.sameAs")}`:this.v.domainValidator?.$invalid?o=`${this.$t("validation.domainValidator")}`:this.v.decimalValidator?.$invalid?o=`${this.$t("validation.decimalValidator")} ${this.v.decimalValidator.$params.count}`:this.v.websocketValidator?.$invalid?o=`${this.$t("validation.websocketValidator")}`:this.v.integer?.$invalid?o=`${this.$t("validation.integer")}`:this.v.isRegExpMatched?.$invalid&&(o=this.v.isRegExpMatched?.$params?.errorMessage||`${t("validation.isRegExpMatched")} ${this.v.isRegExpMatched?.$params?.regExp}`));for(const{name:n,text:i}of this.customValidators)this.v[n]?.$invalid&&(o=i);return o},validationTextColor(){return this.invalid?Xo.ERROR:Xo.SUCCESS}}};var Jg,Gv;function eG(){if(Gv)return Jg;Gv=1;var o=ni(),n=function(){return o.Date.now()};return Jg=n,Jg}var Vg,Kv;function tG(){if(Kv)return Vg;Kv=1;var o=/\s/;function n(i){for(var r=i.length;r--&&o.test(i.charAt(r)););return r}return Vg=n,Vg}var ef,Wv;function nG(){if(Wv)return ef;Wv=1;var o=tG(),n=/^\s+/;function i(r){return r&&r.slice(0,o(r)+1).replace(n,"")}return ef=i,ef}var tf,Yv;function oG(){if(Yv)return tf;Yv=1;var o=nG(),n=ar(),i=_1(),r=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function p(u){if(typeof u=="number")return u;if(i(u))return r;if(n(u)){var g=typeof u.valueOf=="function"?u.valueOf():u;u=n(g)?g+"":g}if(typeof u!="string")return u===0?u:+u;u=o(u);var f=s.test(u);return f||c.test(u)?d(u.slice(2),f?2:8):l.test(u)?r:+u}return tf=p,tf}var nf,Xv;function iG(){if(Xv)return nf;Xv=1;var o=ar(),n=eG(),i=oG(),r="Expected a function",l=Math.max,s=Math.min;function c(d,p,u){var g,f,h,m,y,k,w=0,C=!1,v=!1,S=!0;if(typeof d!="function")throw new TypeError(r);p=i(p)||0,o(u)&&(C=!!u.leading,v="maxWait"in u,h=v?l(i(u.maxWait)||0,p):h,S="trailing"in u?!!u.trailing:S);function x(G){var V=g,oe=f;return g=f=void 0,w=G,m=d.apply(oe,V),m}function I(G){return w=G,y=setTimeout(D,p),C?x(G):m}function O(G){var V=G-k,oe=G-w,ee=p-V;return v?s(ee,h-oe):ee}function T(G){var V=G-k,oe=G-w;return k===void 0||V>=p||V<0||v&&oe>=h}function D(){var G=n();if(T(G))return P(G);y=setTimeout(D,O(G))}function P(G){return y=void 0,S&&g?x(G):(g=f=void 0,m)}function z(){y!==void 0&&clearTimeout(y),w=0,g=k=f=y=void 0}function R(){return y===void 0?m:P(n())}function _(){var G=n(),V=T(G);if(g=arguments,f=this,k=G,V){if(y===void 0)return I(k);if(v)return clearTimeout(y),y=setTimeout(D,p),x(k)}return y===void 0&&(y=setTimeout(D,p)),m}return _.cancel=z,_.flush=R,_}return nf=c,nf}var rG=iG();const aG=zl(rG),of=(o,n,i=1e3)=>aG(o,i,n),Qv={mixins:[{props:{label:{type:String,default:""},labelProps:{type:Object,description:"Object with props, passed down to wt-label as props"}},computed:{hasLabel(){return!!(this.label||this.$slots.label)},requiredLabel(){return this.required?`${this.label}*`:this.label}}}],directives:{ObserveVisibility:JZ},components:{VueMultiselect:qv},props:{options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},trackBy:{type:String,default:"id"},optionLabel:{type:String},searchMethod:{type:Function},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},allowEmpty:{type:Boolean,default:!1},useValueFromOptionsByProp:{type:String,default:""}},data:()=>({apiOptions:[],cachedOptionsMap:{},isLoading:!1,defaultOptionLabel:"name",searchParams:{search:"",page:1},searchHasNext:!0}),computed:{selectOptionLabel(){return this.trackBy===null?null:this.optionLabel||this.defaultOptionLabel},isApiMode(){return!!this.searchMethod},showIntersectionObserver(){return this.isApiMode&&!this.isLoading&&this.apiOptions.length},selectValue(){if(!this.isValue)return"";let o=this.value;return this.multiple&&!Array.isArray(o)&&(console.warn("wt-select: value prop should be an array when using multiple mode"),o=[o]),this.useValueFromOptionsByProp&&(this.multiple?o=o.map(n=>this.cachedOptionsMap[n]||n):o=this.cachedOptionsMap[o]||o),o},selectOptions(){return this.isApiMode?this.apiOptions:this.options},isValue(){return!Mv(this.value)},listeners(){return{"update:model-value":this.input,close:this.close,tag:this.tag,"search-change":o=>{this.$emit("search-change",o),this.handleSearchChange(o)}}}},methods:{getOptionLabel({option:o,optionLabel:n}){return this.allowCustomValues&&o.isTag?o.label:n&&o[n]?o[n]:o.locale?Array.isArray(o.locale)?this.$t(...o.locale):this.$t(o.locale):o[this.defaultOptionLabel]||o},handleSearchChange(o){this.searchParams.search=o,this.isApiMode&&(this.isLoading=!0,this.searchParams.page=1,this.fetchOptions())},handleAfterListIntersect(o){o&&this.searchHasNext&&(this.isLoading=!0,this.searchParams.page+=1,this.fetchOptions())},async fetchOptions({search:o,page:n}=this.searchParams){if(!this.isApiMode)return;const{items:i,next:r}=await this.searchMethod({search:o,page:n});this.apiOptions=this.searchParams.page===1?i:this.apiOptions.concat(i),this.searchHasNext=r,this.isLoading=!1},input(o){let n=o;this.useValueFromOptionsByProp&&(this.multiple?n=o.map(i=>i[this.useValueFromOptionsByProp]):n=o[this.useValueFromOptionsByProp]),this.$emit("input",n),this.$emit("update:model-value",n)},close(o){this.$emit("closed",o)},tag(){}},watch:{disabled(){this.disabled||this.fetchOptions()},selectOptions:{handler(){if(this.trackBy!==null)for(const o of this.selectOptions)this.cachedOptionsMap[o[this.useValueFromOptionsByProp||this.trackBy]]=o},immediate:!0},value:{async handler(){if(this.useValueFromOptionsByProp&&this.isApiMode){const n=(Array.isArray(this.value)?this.value:[this.value]).filter(()=>!this.cachedOptionsMap[this.value]);if(n.length){const{items:i}=await this.searchMethod({id:n,size:n.length});i.forEach(r=>{this.cachedOptionsMap[r[this.useValueFromOptionsByProp]]=r})}}},immediate:!0}},created(){this.disabled||this.fetchOptions(),this.fetchOptions=of(this.fetchOptions,500)}},sG={name:"WtSelect",mixins:[Qv,Nv],props:{value:{},multiple:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},allowCustomValues:{type:Boolean,default:!1,description:'See wt-tags-input "taggable" prop.'},handleCustomValuesAdditionManually:{type:Boolean,default:!1,description:'See wt-tags-input "manualTagging" prop.'},v:{type:Object,default:null},regleValidation:{type:Object,default:null}},emits:["reset","search-change","input","update:modelValue","closed","custom-value"],setup:o=>{const{v:n,customValidators:i,regleValidation:r}=a.toRefs(o),{isValidation:l,invalid:s,validationText:c,validationTextColor:d}=Lr({v:n,customValidators:i,regleValidation:r});return{isValidation:l,invalid:s,validationText:c,validationTextColor:d,MessageVariant:Vi,ComponentSize:Pe}},data:()=>({isOpened:!1,items:[]}),computed:{taggable(){return this.allowCustomValues},manualTagging(){return this.handleCustomValuesAdditionManually},optionsWithCustomValues(){if(!this.allowCustomValues)return this.selectOptions;const o=Array.isArray(this.value)?this.value:Mv(this.value)?[]:[this.value],n=this.selectOptions.filter(i=>{const r=this.trackBy?i[this.trackBy]:i;return!o.some(l=>(this.trackBy?l[this.trackBy]:l)===r)});return[...o,...n]}},methods:{async handleCustomValue(o){this.tag(o)},async search(o){console.log("event.query",o.query),this.items=[...this.optionsWithCustomValues]},async handleCustomValueArrowInput(o){this.tag(this.searchParams.search),o()},emitTagEvent(o,n){this.$emit("custom-value",o,n)},clearValue(){let o="";Array.isArray(this.value)?o=[]:typeof this.value=="object"&&this.value!==null&&(o={}),this.input(o),this.$emit("reset",o)}}},lG=["onClick"],cG={class:"multiselect__custom-tag"},dG={class:"multiselect__single-label"},pG={class:"multiselect__loading-wrapper"},uG={style:{height:"1px"}};function gG(o,n,i,r,l,s){const c=a.resolveComponent("wt-label"),d=a.resolveComponent("wt-chip"),p=a.resolveComponent("wt-popover"),u=a.resolveComponent("wt-icon-btn"),g=a.resolveComponent("wt-loader"),f=a.resolveComponent("vue-multiselect"),h=a.resolveComponent("wt-message"),m=a.resolveDirective("observe-visibility");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"wt-select--disabled":o.disabled,"wt-select--invalid":o.invalid,"wt-select--multiple":i.multiple,"wt-select--clearable":i.clearable,"wt-select--loading":o.isLoading},"wt-select"])},[o.hasLabel?(a.openBlock(),a.createBlock(c,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled,invalid:o.invalid,class:"wt-select__label"}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(o.requiredLabel),1)],!0)],void 0,!0),_:3},16,["disabled","invalid"])):a.createCommentVNode("",!0),a.createVNode(f,a.mergeProps(o.$attrs,{ref:"vue-multiselect","allow-empty":o.allowEmpty,"close-on-select":o.$attrs.closeOnSelect||!i.multiple,disabled:o.disabled,"internal-search":!o.searchMethod,label:o.selectOptionLabel,limit:1,loading:!1,"model-value":o.selectValue,multiple:i.multiple,options:s.optionsWithCustomValues,placeholder:o.placeholder||o.label,taggable:s.taggable,"track-by":o.trackBy,class:"wt-select__select"},{onClose:n[2]||(n[2]=y=>o.isOpened=!1),onOpen:n[3]||(n[3]=y=>o.isOpened=!0)},a.toHandlers(o.listeners)),a.createSlots({tag:a.withCtx(({option:y})=>[a.createElementVNode("span",cG,a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)]),singleLabel:a.withCtx(({option:y})=>[a.renderSlot(o.$slots,"singleLabel",a.normalizeProps(a.guardReactiveProps({option:y,optionLabel:o.optionLabel})),()=>[a.createElementVNode("span",dG,a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)],!0)]),option:a.withCtx(({option:y})=>[a.renderSlot(o.$slots,"option",a.normalizeProps(a.guardReactiveProps({option:y,optionLabel:o.optionLabel})),()=>[a.createTextVNode(a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1)],!0)]),caret:a.withCtx(({toggle:y})=>[i.allowCustomValues&&o.searchParams.search?(a.openBlock(),a.createBlock(u,{key:0,disabled:o.disabled,class:"multiselect__select multiselect__custom-value",icon:"select-custom-value-enter",onClick:k=>s.handleCustomValueArrowInput(y),onMousedown:n[0]||(n[0]=a.withModifiers(()=>{},["prevent"]))},null,8,["disabled","onClick"])):(a.openBlock(),a.createBlock(u,{key:1,disabled:o.disabled,class:"multiselect__select multiselect__arrow",icon:"arrow-down",onClick:y,onMousedown:n[1]||(n[1]=a.withModifiers(()=>{},["prevent"]))},null,8,["disabled","onClick"]))]),clear:a.withCtx(({})=>[i.clearable&&o.isValue?(a.openBlock(),a.createBlock(u,{key:0,disabled:o.disabled,class:"multiselect__clear",icon:"close",onClick:s.clearValue},null,8,["disabled","onClick"])):a.createCommentVNode("",!0)]),beforeList:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",pG,[a.createVNode(g,{size:"sm"})],512),[[a.vShow,o.isLoading]])]),_:2},[o.isOpened?void 0:{name:"limit",fn:a.withCtx(()=>[a.createVNode(p,{class:"multiselect__limit"},{activator:a.withCtx(({toggle:y})=>[a.createElementVNode("div",{onClick:a.withModifiers(y,["stop","prevent"])},[a.createVNode(d,null,{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(i.value.length-1),1)],void 0,!0),_:1})],8,lG)]),default:a.withCtx(()=>[a.createElementVNode("div",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value.slice(1),(y,k)=>(a.openBlock(),a.createElementBlock("p",{key:k},a.toDisplayString(o.getOptionLabel({option:y,optionLabel:o.optionLabel})),1))),128))])]),_:1})]),key:"0"},o.showIntersectionObserver?{name:"afterList",fn:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",uG,null,512),[[m,o.handleAfterListIntersect]])]),key:"1"}:void 0]),1040,["allow-empty","close-on-select","disabled","internal-search","label","model-value","multiple","options","placeholder","taggable","track-by"]),o.isValidation&&o.validationText?(a.openBlock(),a.createBlock(h,{key:1,color:o.validationTextColor,variant:o.MessageVariant.SIMPLE,size:o.ComponentSize.SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.validationText),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)],2)}const rf=xe(sG,[["render",gG],["__scopeId","data-v-1a7a1f98"]]),fG={key:0,class:"wt-switcher__label typo-subtitle-2"},Jv=xe(a.defineComponent({__name:"wt-switcher",props:a.mergeModels({label:{default:""},labelLeft:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},labelProps:{default:()=>({})},controlled:{type:Boolean,default:!1},modelValue:{type:[Boolean,String]},defaultValue:{type:[Boolean,String]},name:{},trueValue:{},falseValue:{},invalid:{type:Boolean},readonly:{type:Boolean},tabindex:{},inputId:{},inputClass:{},inputStyle:{},ariaLabelledby:{},ariaLabel:{},formControl:{},dt:{},pt:{},ptOptions:{},unstyled:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue"],["update:modelValue"]),setup(o,{emit:n}){const i=o,r=a.useModel(o,"modelValue"),l=a.ref(0),s=n,c=a.useSlots(),d=a.computed(()=>i.label||c.label),p=`switcher-${Math.random().toString(36).slice(2,11)}`,u=()=>{i.controlled&&a.nextTick(()=>{l.value++}),s("update:modelValue",!r.value)};return(g,f)=>{const h=a.resolveComponent("p-toggle-switch"),m=a.resolveComponent("wt-label");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["wt-switcher typo-subtitle-2",{"wt-switcher--label-left":o.labelLeft}])},[(a.openBlock(),a.createBlock(h,{key:l.value,"model-value":r.value,"input-id":p,disabled:o.disabled,"onUpdate:modelValue":u},null,8,["model-value","disabled"])),d.value?(a.openBlock(),a.createBlock(m,a.mergeProps({key:0},o.labelProps,{disabled:o.disabled}),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label,value:r.value,disabled:o.disabled})),()=>[o.label?(a.openBlock(),a.createElementBlock("div",fG,a.toDisplayString(o.label),1)):a.createCommentVNode("",!0)],!0)],void 0,!0),_:3},16,["disabled"])):a.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-4274089a"]]),hG={class:"wt-textarea__wrapper"},mG=xe(a.defineComponent({__name:"wt-textarea",props:a.mergeModels({label:{default:""},placeholder:{default:void 0},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},name:{default:""},rows:{default:1},labelProps:{default:void 0},autoresize:{type:Boolean,default:!1},v:{default:void 0},customValidators:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["enter","paste","blur","keydown"],["update:modelValue"]),setup(o,{emit:n}){const i=o,r=a.useModel(o,"modelValue"),l=a.useTemplateRef("textarea-wrapper"),s=n,c=a.ref(!1),{isValidation:d,invalid:p,validationText:u,validationTextColor:g}=Lr({v:i.v,customValidators:i.customValidators}),f=y=>{s("keydown",y),i.autoresize&&y.key==="Enter"&&!y.shiftKey&&(s("enter"),y.preventDefault())},h=()=>{m()},m=async()=>{if(!i.autoresize)return;const y=l.value?.$el;y?.scrollHeight===y?.clientHeight||y?.scrollHeight===y?.clientHeight+2?c.value=!0:c.value=!1};return a.onMounted(()=>{m()}),(y,k)=>{const w=a.resolveComponent("wt-label"),C=a.resolveComponent("p-textarea"),v=a.resolveComponent("wt-message");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["wt-textarea",{"wt-textarea--hidden-scrollbar":c.value}])},[a.createVNode(w,a.mergeProps(o.labelProps,{disabled:o.disabled,for:o.name,required:o.required,invalid:a.unref(p)}),{default:a.withCtx(()=>[a.renderSlot(y.$slots,"label",a.normalizeProps(a.guardReactiveProps({label:o.label})),()=>[a.createTextVNode(a.toDisplayString(o.label),1)],!0)],void 0,!0),_:3},16,["disabled","for","required","invalid"]),a.createElementVNode("div",hG,[a.createVNode(C,{id:o.name,ref:"textarea-wrapper",modelValue:r.value,"onUpdate:modelValue":k[0]||(k[0]=S=>r.value=S),placeholder:o.placeholder||o.label,invalid:a.unref(p),disabled:o.disabled,rows:o.rows,"auto-resize":o.autoresize,readonly:o.readonly,class:"wt-textarea__textarea",onPaste:k[1]||(k[1]=S=>s("paste",S)),onKeydown:f,onInput:h,onBlur:k[2]||(k[2]=S=>s("blur"))},null,8,["id","modelValue","placeholder","invalid","disabled","rows","auto-resize","readonly"])]),a.unref(d)&&a.unref(u)?(a.openBlock(),a.createBlock(v,{key:0,color:a.unref(g),variant:a.unref(Vi).SIMPLE,size:a.unref(Pe).SM},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(u)),1)],void 0,!0),_:1},8,["color","variant","size"])):a.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-4474e715"]]),bG=["top","right","bottom","left"],Vv=["start","end"],eC=bG.reduce((o,n)=>o.concat(n,n+"-"+Vv[0],n+"-"+Vv[1]),[]),rp=Math.min,Ea=Math.max,ap=Math.round,sp=Math.floor,Pi=o=>({x:o,y:o}),yG={left:"right",right:"left",bottom:"top",top:"bottom"},vG={start:"end",end:"start"};function tC(o,n,i){return Ea(o,rp(n,i))}function oc(o,n){return typeof o=="function"?o(n):o}function dr(o){return o.split("-")[0]}function pr(o){return o.split("-")[1]}function nC(o){return o==="x"?"y":"x"}function oC(o){return o==="y"?"height":"width"}const CG=new Set(["top","bottom"]);function Br(o){return CG.has(dr(o))?"y":"x"}function iC(o){return nC(Br(o))}function rC(o,n,i){i===void 0&&(i=!1);const r=pr(o),l=iC(o),s=oC(l);let c=l==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=cp(c)),[c,cp(c)]}function wG(o){const n=cp(o);return[lp(o),n,lp(n)]}function lp(o){return o.replace(/start|end/g,n=>vG[n])}const aC=["left","right"],sC=["right","left"],kG=["top","bottom"],jG=["bottom","top"];function xG(o,n,i){switch(o){case"top":case"bottom":return i?n?sC:aC:n?aC:sC;case"left":case"right":return n?kG:jG;default:return[]}}function IG(o,n,i,r){const l=pr(o);let s=xG(dr(o),i==="start",r);return l&&(s=s.map(c=>c+"-"+l),n&&(s=s.concat(s.map(lp)))),s}function cp(o){return o.replace(/left|right|bottom|top/g,n=>yG[n])}function SG(o){return{top:0,right:0,bottom:0,left:0,...o}}function TG(o){return typeof o!="number"?SG(o):{top:o,right:o,bottom:o,left:o}}function dp(o){const{x:n,y:i,width:r,height:l}=o;return{width:r,height:l,top:i,left:n,right:n+r,bottom:i+l,x:n,y:i}}function lC(o,n,i){let{reference:r,floating:l}=o;const s=Br(n),c=iC(n),d=oC(c),p=dr(n),u=s==="y",g=r.x+r.width/2-l.width/2,f=r.y+r.height/2-l.height/2,h=r[d]/2-l[d]/2;let m;switch(p){case"top":m={x:g,y:r.y-l.height};break;case"bottom":m={x:g,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-l.width,y:f};break;default:m={x:r.x,y:r.y}}switch(pr(n)){case"start":m[c]-=h*(i&&u?-1:1);break;case"end":m[c]+=h*(i&&u?-1:1);break}return m}const EG=async(o,n,i)=>{const{placement:r="bottom",strategy:l="absolute",middleware:s=[],platform:c}=i,d=s.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(n));let u=await c.getElementRects({reference:o,floating:n,strategy:l}),{x:g,y:f}=lC(u,r,p),h=r,m={},y=0;for(let k=0;k<d.length;k++){const{name:w,fn:C}=d[k],{x:v,y:S,data:x,reset:I}=await C({x:g,y:f,initialPlacement:r,placement:h,strategy:l,middlewareData:m,rects:u,platform:c,elements:{reference:o,floating:n}});g=v??g,f=S??f,m={...m,[w]:{...m[w],...x}},I&&y<=50&&(y++,typeof I=="object"&&(I.placement&&(h=I.placement),I.rects&&(u=I.rects===!0?await c.getElementRects({reference:o,floating:n,strategy:l}):I.rects),{x:g,y:f}=lC(u,h,p)),k=-1)}return{x:g,y:f,placement:h,strategy:l,middlewareData:m}};async function af(o,n){var i;n===void 0&&(n={});const{x:r,y:l,platform:s,rects:c,elements:d,strategy:p}=o,{boundary:u="clippingAncestors",rootBoundary:g="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=oc(n,o),y=TG(m),w=d[h?f==="floating"?"reference":"floating":f],C=dp(await s.getClippingRect({element:(i=await(s.isElement==null?void 0:s.isElement(w)))==null||i?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:u,rootBoundary:g,strategy:p})),v=f==="floating"?{x:r,y:l,width:c.floating.width,height:c.floating.height}:c.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),x=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},I=dp(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:v,offsetParent:S,strategy:p}):v);return{top:(C.top-I.top+y.top)/x.y,bottom:(I.bottom-C.bottom+y.bottom)/x.y,left:(C.left-I.left+y.left)/x.x,right:(I.right-C.right+y.right)/x.x}}function AG(o,n,i){return(o?[...i.filter(l=>pr(l)===o),...i.filter(l=>pr(l)!==o)]:i.filter(l=>dr(l)===l)).filter(l=>o?pr(l)===o||(n?lp(l)!==l:!1):!0)}const OG=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(n){var i,r,l;const{rects:s,middlewareData:c,placement:d,platform:p,elements:u}=n,{crossAxis:g=!1,alignment:f,allowedPlacements:h=eC,autoAlignment:m=!0,...y}=oc(o,n),k=f!==void 0||h===eC?AG(f||null,m,h):h,w=await af(n,y),C=((i=c.autoPlacement)==null?void 0:i.index)||0,v=k[C];if(v==null)return{};const S=rC(v,s,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(d!==v)return{reset:{placement:k[0]}};const x=[w[dr(v)],w[S[0]],w[S[1]]],I=[...((r=c.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:x}],O=k[C+1];if(O)return{data:{index:C+1,overflows:I},reset:{placement:O}};const T=I.map(z=>{const R=pr(z.placement);return[z.placement,R&&g?z.overflows.slice(0,2).reduce((_,G)=>_+G,0):z.overflows[0],z.overflows]}).sort((z,R)=>z[1]-R[1]),P=((l=T.filter(z=>z[2].slice(0,pr(z[0])?2:3).every(R=>R<=0))[0])==null?void 0:l[0])||T[0][0];return P!==d?{data:{index:C+1,overflows:I},reset:{placement:P}}:{}}}},DG=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var i,r;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:p,elements:u}=n,{mainAxis:g=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:k=!0,...w}=oc(o,n);if((i=s.arrow)!=null&&i.alignmentOffset)return{};const C=dr(l),v=Br(d),S=dr(d)===d,x=await(p.isRTL==null?void 0:p.isRTL(u.floating)),I=h||(S||!k?[cp(d)]:wG(d)),O=y!=="none";!h&&O&&I.push(...IG(d,k,y,x));const T=[d,...I],D=await af(n,w),P=[];let z=((r=s.flip)==null?void 0:r.overflows)||[];if(g&&P.push(D[C]),f){const V=rC(l,c,x);P.push(D[V[0]],D[V[1]])}if(z=[...z,{placement:l,overflows:P}],!P.every(V=>V<=0)){var R,_;const V=(((R=s.flip)==null?void 0:R.index)||0)+1,oe=T[V];if(oe&&(!(f==="alignment"?v!==Br(oe):!1)||z.every(U=>Br(U.placement)===v?U.overflows[0]>0:!0)))return{data:{index:V,overflows:z},reset:{placement:oe}};let ee=(_=z.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:_.placement;if(!ee)switch(m){case"bestFit":{var G;const E=(G=z.filter(U=>{if(O){const $=Br(U.placement);return $===v||$==="y"}return!0}).map(U=>[U.placement,U.overflows.filter($=>$>0).reduce(($,N)=>$+N,0)]).sort((U,$)=>U[1]-$[1])[0])==null?void 0:G[0];E&&(ee=E);break}case"initialPlacement":ee=d;break}if(l!==ee)return{reset:{placement:ee}}}return{}}}},LG=new Set(["left","top"]);async function RG(o,n){const{placement:i,platform:r,elements:l}=o,s=await(r.isRTL==null?void 0:r.isRTL(l.floating)),c=dr(i),d=pr(i),p=Br(i)==="y",u=LG.has(c)?-1:1,g=s&&p?-1:1,f=oc(n,o);let{mainAxis:h,crossAxis:m,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return d&&typeof y=="number"&&(m=d==="end"?y*-1:y),p?{x:m*g,y:h*u}:{x:h*u,y:m*g}}const _G=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var i,r;const{x:l,y:s,placement:c,middlewareData:d}=n,p=await RG(n,o);return c===((i=d.offset)==null?void 0:i.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:s+p.y,data:{...p,placement:c}}}}},BG=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:i,y:r,placement:l}=n,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:C,y:v}=w;return{x:C,y:v}}},...p}=oc(o,n),u={x:i,y:r},g=await af(n,p),f=Br(dr(l)),h=nC(f);let m=u[h],y=u[f];if(s){const w=h==="y"?"top":"left",C=h==="y"?"bottom":"right",v=m+g[w],S=m-g[C];m=tC(v,m,S)}if(c){const w=f==="y"?"top":"left",C=f==="y"?"bottom":"right",v=y+g[w],S=y-g[C];y=tC(v,y,S)}const k=d.fn({...n,[h]:m,[f]:y});return{...k,data:{x:k.x-i,y:k.y-r,enabled:{[h]:s,[f]:c}}}}}};function pp(){return typeof window<"u"}function Aa(o){return sf(o)?(o.nodeName||"").toLowerCase():"#document"}function wo(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function $i(o){var n;return(n=(sf(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function sf(o){return pp()?o instanceof Node||o instanceof wo(o).Node:!1}function ri(o){return pp()?o instanceof Element||o instanceof wo(o).Element:!1}function Mi(o){return pp()?o instanceof HTMLElement||o instanceof wo(o).HTMLElement:!1}function cC(o){return!pp()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof wo(o).ShadowRoot}const PG=new Set(["inline","contents"]);function ic(o){const{overflow:n,overflowX:i,overflowY:r,display:l}=ai(o);return/auto|scroll|overlay|hidden|clip/.test(n+r+i)&&!PG.has(l)}const $G=new Set(["table","td","th"]);function MG(o){return $G.has(Aa(o))}const NG=[":popover-open",":modal"];function up(o){return NG.some(n=>{try{return o.matches(n)}catch{return!1}})}const FG=["transform","translate","scale","rotate","perspective"],qG=["transform","translate","scale","rotate","perspective","filter"],UG=["paint","layout","strict","content"];function lf(o){const n=cf(),i=ri(o)?ai(o):o;return FG.some(r=>i[r]?i[r]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||qG.some(r=>(i.willChange||"").includes(r))||UG.some(r=>(i.contain||"").includes(r))}function HG(o){let n=Pr(o);for(;Mi(n)&&!Ps(n);){if(lf(n))return n;if(up(n))return null;n=Pr(n)}return null}function cf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zG=new Set(["html","body","#document"]);function Ps(o){return zG.has(Aa(o))}function ai(o){return wo(o).getComputedStyle(o)}function gp(o){return ri(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function Pr(o){if(Aa(o)==="html")return o;const n=o.assignedSlot||o.parentNode||cC(o)&&o.host||$i(o);return cC(n)?n.host:n}function dC(o){const n=Pr(o);return Ps(n)?o.ownerDocument?o.ownerDocument.body:o.body:Mi(n)&&ic(n)?n:dC(n)}function rc(o,n,i){var r;n===void 0&&(n=[]),i===void 0&&(i=!0);const l=dC(o),s=l===((r=o.ownerDocument)==null?void 0:r.body),c=wo(l);if(s){const d=df(c);return n.concat(c,c.visualViewport||[],ic(l)?l:[],d&&i?rc(d):[])}return n.concat(l,rc(l,[],i))}function df(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function pC(o){const n=ai(o);let i=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Mi(o),s=l?o.offsetWidth:i,c=l?o.offsetHeight:r,d=ap(i)!==s||ap(r)!==c;return d&&(i=s,r=c),{width:i,height:r,$:d}}function pf(o){return ri(o)?o:o.contextElement}function $s(o){const n=pf(o);if(!Mi(n))return Pi(1);const i=n.getBoundingClientRect(),{width:r,height:l,$:s}=pC(n);let c=(s?ap(i.width):i.width)/r,d=(s?ap(i.height):i.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const ZG=Pi(0);function uC(o){const n=wo(o);return!cf()||!n.visualViewport?ZG:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function GG(o,n,i){return n===void 0&&(n=!1),!i||n&&i!==wo(o)?!1:n}function Oa(o,n,i,r){n===void 0&&(n=!1),i===void 0&&(i=!1);const l=o.getBoundingClientRect(),s=pf(o);let c=Pi(1);n&&(r?ri(r)&&(c=$s(r)):c=$s(o));const d=GG(s,i,r)?uC(s):Pi(0);let p=(l.left+d.x)/c.x,u=(l.top+d.y)/c.y,g=l.width/c.x,f=l.height/c.y;if(s){const h=wo(s),m=r&&ri(r)?wo(r):r;let y=h,k=df(y);for(;k&&r&&m!==y;){const w=$s(k),C=k.getBoundingClientRect(),v=ai(k),S=C.left+(k.clientLeft+parseFloat(v.paddingLeft))*w.x,x=C.top+(k.clientTop+parseFloat(v.paddingTop))*w.y;p*=w.x,u*=w.y,g*=w.x,f*=w.y,p+=S,u+=x,y=wo(k),k=df(y)}}return dp({width:g,height:f,x:p,y:u})}function fp(o,n){const i=gp(o).scrollLeft;return n?n.left+i:Oa($i(o)).left+i}function gC(o,n){const i=o.getBoundingClientRect(),r=i.left+n.scrollLeft-fp(o,i),l=i.top+n.scrollTop;return{x:r,y:l}}function KG(o){let{elements:n,rect:i,offsetParent:r,strategy:l}=o;const s=l==="fixed",c=$i(r),d=n?up(n.floating):!1;if(r===c||d&&s)return i;let p={scrollLeft:0,scrollTop:0},u=Pi(1);const g=Pi(0),f=Mi(r);if((f||!f&&!s)&&((Aa(r)!=="body"||ic(c))&&(p=gp(r)),Mi(r))){const m=Oa(r);u=$s(r),g.x=m.x+r.clientLeft,g.y=m.y+r.clientTop}const h=c&&!f&&!s?gC(c,p):Pi(0);return{width:i.width*u.x,height:i.height*u.y,x:i.x*u.x-p.scrollLeft*u.x+g.x+h.x,y:i.y*u.y-p.scrollTop*u.y+g.y+h.y}}function WG(o){return Array.from(o.getClientRects())}function YG(o){const n=$i(o),i=gp(o),r=o.ownerDocument.body,l=Ea(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),s=Ea(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-i.scrollLeft+fp(o);const d=-i.scrollTop;return ai(r).direction==="rtl"&&(c+=Ea(n.clientWidth,r.clientWidth)-l),{width:l,height:s,x:c,y:d}}const fC=25;function XG(o,n){const i=wo(o),r=$i(o),l=i.visualViewport;let s=r.clientWidth,c=r.clientHeight,d=0,p=0;if(l){s=l.width,c=l.height;const g=cf();(!g||g&&n==="fixed")&&(d=l.offsetLeft,p=l.offsetTop)}const u=fp(r);if(u<=0){const g=r.ownerDocument,f=g.body,h=getComputedStyle(f),m=g.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(r.clientWidth-f.clientWidth-m);y<=fC&&(s-=y)}else u<=fC&&(s+=u);return{width:s,height:c,x:d,y:p}}const QG=new Set(["absolute","fixed"]);function JG(o,n){const i=Oa(o,!0,n==="fixed"),r=i.top+o.clientTop,l=i.left+o.clientLeft,s=Mi(o)?$s(o):Pi(1),c=o.clientWidth*s.x,d=o.clientHeight*s.y,p=l*s.x,u=r*s.y;return{width:c,height:d,x:p,y:u}}function hC(o,n,i){let r;if(n==="viewport")r=XG(o,i);else if(n==="document")r=YG($i(o));else if(ri(n))r=JG(n,i);else{const l=uC(o);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return dp(r)}function mC(o,n){const i=Pr(o);return i===n||!ri(i)||Ps(i)?!1:ai(i).position==="fixed"||mC(i,n)}function VG(o,n){const i=n.get(o);if(i)return i;let r=rc(o,[],!1).filter(d=>ri(d)&&Aa(d)!=="body"),l=null;const s=ai(o).position==="fixed";let c=s?Pr(o):o;for(;ri(c)&&!Ps(c);){const d=ai(c),p=lf(c);!p&&d.position==="fixed"&&(l=null),(s?!p&&!l:!p&&d.position==="static"&&!!l&&QG.has(l.position)||ic(c)&&!p&&mC(o,c))?r=r.filter(g=>g!==c):l=d,c=Pr(c)}return n.set(o,r),r}function eK(o){let{element:n,boundary:i,rootBoundary:r,strategy:l}=o;const c=[...i==="clippingAncestors"?up(n)?[]:VG(n,this._c):[].concat(i),r],d=c[0],p=c.reduce((u,g)=>{const f=hC(n,g,l);return u.top=Ea(f.top,u.top),u.right=rp(f.right,u.right),u.bottom=rp(f.bottom,u.bottom),u.left=Ea(f.left,u.left),u},hC(n,d,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function tK(o){const{width:n,height:i}=pC(o);return{width:n,height:i}}function nK(o,n,i){const r=Mi(n),l=$i(n),s=i==="fixed",c=Oa(o,!0,s,n);let d={scrollLeft:0,scrollTop:0};const p=Pi(0);function u(){p.x=fp(l)}if(r||!r&&!s)if((Aa(n)!=="body"||ic(l))&&(d=gp(n)),r){const m=Oa(n,!0,s,n);p.x=m.x+n.clientLeft,p.y=m.y+n.clientTop}else l&&u();s&&!r&&l&&u();const g=l&&!r&&!s?gC(l,d):Pi(0),f=c.left+d.scrollLeft-p.x-g.x,h=c.top+d.scrollTop-p.y-g.y;return{x:f,y:h,width:c.width,height:c.height}}function uf(o){return ai(o).position==="static"}function bC(o,n){if(!Mi(o)||ai(o).position==="fixed")return null;if(n)return n(o);let i=o.offsetParent;return $i(o)===i&&(i=i.ownerDocument.body),i}function yC(o,n){const i=wo(o);if(up(o))return i;if(!Mi(o)){let l=Pr(o);for(;l&&!Ps(l);){if(ri(l)&&!uf(l))return l;l=Pr(l)}return i}let r=bC(o,n);for(;r&&MG(r)&&uf(r);)r=bC(r,n);return r&&Ps(r)&&uf(r)&&!lf(r)?i:r||HG(o)||i}const oK=async function(o){const n=this.getOffsetParent||yC,i=this.getDimensions,r=await i(o.floating);return{reference:nK(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function iK(o){return ai(o).direction==="rtl"}const rK={convertOffsetParentRelativeRectToViewportRelativeRect:KG,getDocumentElement:$i,getClippingRect:eK,getOffsetParent:yC,getElementRects:oK,getClientRects:WG,getDimensions:tK,getScale:$s,isElement:ri,isRTL:iK};function vC(o,n){return o.x===n.x&&o.y===n.y&&o.width===n.width&&o.height===n.height}function aK(o,n){let i=null,r;const l=$i(o);function s(){var d;clearTimeout(r),(d=i)==null||d.disconnect(),i=null}function c(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),s();const u=o.getBoundingClientRect(),{left:g,top:f,width:h,height:m}=u;if(d||n(),!h||!m)return;const y=sp(f),k=sp(l.clientWidth-(g+h)),w=sp(l.clientHeight-(f+m)),C=sp(g),S={rootMargin:-y+"px "+-k+"px "+-w+"px "+-C+"px",threshold:Ea(0,rp(1,p))||1};let x=!0;function I(O){const T=O[0].intersectionRatio;if(T!==p){if(!x)return c();T?c(!1,T):r=setTimeout(()=>{c(!1,1e-7)},1e3)}T===1&&!vC(u,o.getBoundingClientRect())&&c(),x=!1}try{i=new IntersectionObserver(I,{...S,root:l.ownerDocument})}catch{i=new IntersectionObserver(I,S)}i.observe(o)}return c(!0),s}function CC(o,n,i,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,u=pf(o),g=l||s?[...u?rc(u):[],...rc(n)]:[];g.forEach(C=>{l&&C.addEventListener("scroll",i,{passive:!0}),s&&C.addEventListener("resize",i)});const f=u&&d?aK(u,i):null;let h=-1,m=null;c&&(m=new ResizeObserver(C=>{let[v]=C;v&&v.target===u&&m&&(m.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var S;(S=m)==null||S.observe(n)})),i()}),u&&!p&&m.observe(u),m.observe(n));let y,k=p?Oa(o):null;p&&w();function w(){const C=Oa(o);k&&!vC(k,C)&&i(),k=C,y=requestAnimationFrame(w)}return i(),()=>{var C;g.forEach(v=>{l&&v.removeEventListener("scroll",i),s&&v.removeEventListener("resize",i)}),f?.(),(C=m)==null||C.disconnect(),m=null,p&&cancelAnimationFrame(y)}}const sK=_G,lK=OG,wC=BG,kC=DG,jC=(o,n,i)=>{const r=new Map,l={platform:rK,...i},s={...l.platform,_c:r};return EG(o,n,{...l,platform:s})};function cK(o){return o!=null&&typeof o=="object"&&"$el"in o}function xC(o){if(cK(o)){const n=o.$el;return sf(n)&&Aa(n)==="#comment"?null:n}return o}function ac(o){return typeof o=="function"?o():a.unref(o)}function IC(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function SC(o,n){const i=IC(o);return Math.round(n*i)/i}function dK(o,n,i){i===void 0&&(i={});const r=i.whileElementsMounted,l=a.computed(()=>{var T;return(T=ac(i.open))!=null?T:!0}),s=a.computed(()=>ac(i.middleware)),c=a.computed(()=>{var T;return(T=ac(i.placement))!=null?T:"bottom"}),d=a.computed(()=>{var T;return(T=ac(i.strategy))!=null?T:"absolute"}),p=a.computed(()=>{var T;return(T=ac(i.transform))!=null?T:!0}),u=a.computed(()=>xC(o.value)),g=a.computed(()=>xC(n.value)),f=a.ref(0),h=a.ref(0),m=a.ref(d.value),y=a.ref(c.value),k=a.shallowRef({}),w=a.ref(!1),C=a.computed(()=>{const T={position:m.value,left:"0",top:"0"};if(!g.value)return T;const D=SC(g.value,f.value),P=SC(g.value,h.value);return p.value?{...T,transform:"translate("+D+"px, "+P+"px)",...IC(g.value)>=1.5&&{willChange:"transform"}}:{position:m.value,left:D+"px",top:P+"px"}});let v;function S(){if(u.value==null||g.value==null)return;const T=l.value;jC(u.value,g.value,{middleware:s.value,placement:c.value,strategy:d.value}).then(D=>{f.value=D.x,h.value=D.y,m.value=D.strategy,y.value=D.placement,k.value=D.middlewareData,w.value=T!==!1})}function x(){typeof v=="function"&&(v(),v=void 0)}function I(){if(x(),r===void 0){S();return}if(u.value!=null&&g.value!=null){v=r(u.value,g.value,S);return}}function O(){l.value||(w.value=!1)}return a.watch([s,c,d,l],S,{flush:"sync"}),a.watch([u,g],I,{flush:"sync"}),a.watch(l,O,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(x),{x:a.shallowReadonly(f),y:a.shallowReadonly(h),strategy:a.shallowReadonly(m),placement:a.shallowReadonly(y),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(w),floatingStyles:C,update:S}}const TC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},EC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"},AC=({target:o,triggers:n,show:i,hide:r})=>{const l=()=>{((d,p)=>{p.forEach(u=>{const g=TC[u];g?d.addEventListener(g,i):console.log(`No Tooltip Show event for ${u} trigger`);const f=EC[u];f?d.addEventListener(f,r):console.log(`No Tooltip Hide event for ${u} trigger`)})})(o.value,n)},s=()=>{((d,p)=>{p.forEach(u=>{const g=TC[u];g?d.removeEventListener(g,i):console.log(`No Tooltip Show event for ${u} trigger`);const f=EC[u];f?d.removeEventListener(f,r):console.log(`No Tooltip Hide event for ${u} trigger`)})})(o.value,n)};a.onMounted(()=>l()),a.onBeforeUnmount(()=>s())},pK={__name:"wt-tooltip-floating",props:{triggers:{type:Array,default:()=>[]}},emits:["show","hide"],setup(o,{emit:n}){const i=o,r=n,l=a.ref(null);return AC({target:l,triggers:i.triggers,show:()=>r("show"),hide:()=>r("hide")}),(s,c)=>(a.openBlock(),a.createElementBlock("aside",{ref_key:"floating",ref:l,class:"wt-tooltip-floating"},[a.renderSlot(s.$slots,"default")],512))}},uK=xe({__name:"wt-tooltip",props:{visible:{type:Boolean,default:!1},placement:{type:String,default:"auto"},popperTriggers:{type:Array,default:()=>[]},triggers:{type:Array,default:()=>["hover","focus","touch"]},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},disableClickAway:{type:Boolean,default:!1}},emits:["update:visible"],setup(o,{emit:n}){const i=o,r=n,l=a.useTemplateRef("activator"),s=a.useTemplateRef("floating"),c=a.useTemplateRef("floatingChild"),d=a.ref(i.visible),p=()=>{r("update:visible",d.value)},u=(k={})=>{i.disabled||d.value||(d.value=!0,k.usedByTooltip=!0,p(),h())},g=(k={})=>{const w=c.value?.contains(k.target);!d.value||k.usedByTooltip||w||(d.value=!1,p(),m())},f=(k={})=>{i.disableClickAway||g(k)},h=()=>{window.addEventListener("scroll",g,!0)},m=()=>{window.removeEventListener("scroll",g,!0)},{floatingStyles:y}=dK(l,s,{placement:i.placement==="auto"?null:i.placement,strategy:"fixed",whileElementsMounted:CC,middleware:[wC(),sK(4),i.placement==="auto"?lK():kC()]});return AC({target:l,triggers:i.triggers,show:u,hide:g}),a.watch(()=>i.visible,k=>{k?u():g()}),a.onMounted(()=>{i.visible&&u()}),a.onBeforeUnmount(()=>{m()}),(k,w)=>{const C=a.resolveDirective("clickaway");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([{"wt-tooltip--visible":d.value},"wt-tooltip"])},[a.createElementVNode("div",{ref_key:"activator",ref:l,class:"wt-tooltip__activator"},[a.renderSlot(k.$slots,"activator",a.normalizeProps(a.guardReactiveProps({visible:d.value})),void 0,!0)],512),d.value?a.withDirectives((a.openBlock(),a.createBlock(pK,{key:0,ref_key:"floating",ref:s,class:a.normalizeClass([[o.popperClass],"wt-tooltip__floating typo-body-2"]),style:a.normalizeStyle(a.unref(y)),triggers:o.popperTriggers,onHide:g,onShow:u},{default:a.withCtx(()=>[a.createElementVNode("div",{ref_key:"floatingChild",ref:c},[a.renderSlot(k.$slots,"default",a.normalizeProps(a.guardReactiveProps({hide:g})),void 0,!0)],512)],void 0,!0),_:3},8,["class","style","triggers"])),[[C,f]]):a.createCommentVNode("",!0)],2)}}},[["__scopeId","data-v-72aa56d0"]]),gK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>vhe)),fK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Che)),hK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>jhe)),mK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>She)),bK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Ahe)),OC=a.defineAsyncComponent(()=>Promise.resolve().then(()=>T3e)),yK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>R3e)),vK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>F3e)),CK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>X3e)),wK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>ebe)),kK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>obe)),jK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>lbe)),xK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>ybe)),IK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Tbe)),SK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Ebe)),TK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Bbe)),EK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Q9e)),DC=a.defineAsyncComponent(()=>Promise.resolve().then(()=>J9e)),AK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>e7e)),OK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>z9e)),DK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>i7e)),LK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>d7e)),RK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>f7e)),_K=a.defineAsyncComponent(()=>Promise.resolve().then(()=>m7e)),BK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>I7e)),PK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>D7e)),$K=a.defineAsyncComponent(()=>Promise.resolve().then(()=>_6e)),MK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>B6e)),NK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>$6e)),FK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>K6e)),qK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>l8e)),UK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>zye)),HK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>vwe)),zK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>jwe)),ZK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Owe)),GK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Bwe)),KK=a.defineAsyncComponent(()=>Promise.resolve().then(()=>Kwe));a.defineAsyncComponent(()=>Promise.resolve().then(()=>fje));const LC={WtActionBar:gK,WtImage:J6,WtEmpty:FN,WtLogo:JH,WtAvatar:O6,WtBadge:YM,WtBadgeNew:D6,WtMessage:VH,WtIcon:Ml,WtIndicator:rU,WtButton:SN,WtChip:W6,WtConfirmDialog:hK,WtDivider:LN,WtTooltip:uK,WtLabel:PH,WtLoader:WH,WtRoundedAction:yZ,WtReplaceTransition:S_,WtCheckbox:au,WtDatepicker:OC,WtIconBtn:ja,WtInputNumber:CH,WtInputText:kH,WtPassword:zz,WtIntersectionObserver:_H,WtHint:YN,WtNotification:Bz,WtPopup:pZ,WtProgressBar:fZ,WtRadio:bZ,WtSearchBar:AK,WtSelect:rf,WtSlider:OK,WtSwitcher:Jv,WtTabs:PK,WtTagsInput:$K,WtTimeInput:MK,WtTimepicker:NK,WtTextarea:mG,WtAppHeader:O_,WtHeadline:GN,WtBreadcrumb:XM,WtNavigationBar:Dz,WtAppNavigator:tB,WtFiltersPanelWrapper:jK,WtHeaderActions:NM,WtErrorPage:CK,WtNotificationsBar:IK,WtPageWrapper:Uz,WtDualPanel:yK,WtPagination:TK,WtPlayer:EK,WtPopover:DC,WtStatusSelect:DK,WtTable:RK,WtTree:FK,WtTreeTable:qK,WtTableActions:_K,WtTableColumnSelect:BK,WtButtonSelect:fK,WtContextMenu:mK,WtCopyAction:bK,WtLoadBar:NH,WtIconAction:oy,WtPageHeader:SK,WtItemLink:BH,WtDummy:vK,WtStepper:LK,WtExpansionPanel:wK,WtNavigationMenu:ZK,WtStartPage:KK,WtSelectionPopup:GK,WtDisplayChipItems:zK,WtGalleria:xK,WtVidstackPlayer:UK,WtChatEmoji:HK,WtExpansionCard:kK,WtDatetimeText:DN},gf=new WeakMap,WK={mounted(o,n){const i=!n.modifiers.bubble;let r;if(typeof n.value=="function")r=_v(o,n.value,{capture:i});else{const[l,s]=n.value;r=_v(o,l,Object.assign({capture:i},s))}gf.set(o,r)},unmounted(o){const n=gf.get(o);n&&typeof n=="function"?n():n?.stop(),gf.delete(o)}};function YK(){let o=!1;const n=a.shallowRef(!1);return(i,r)=>{if(n.value=r.value,o)return;o=!0;const l=LH(i,r.value);a.watch(n,s=>l.value=s)}}YK();const RC={clickaway:WK};function At(...o){if(o){let n=[];for(let i=0;i<o.length;i++){let r=o[i];if(!r)continue;let l=typeof r;if(l==="string"||l==="number")n.push(r);else if(l==="object"){let s=Array.isArray(r)?[At(...r)]:Object.entries(r).map(([c,d])=>d?c:void 0);n=s.length?n.concat(s.filter(c=>!!c)):n}}return n.join(" ").trim()}}function _C(o,n){return o?o.classList?o.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(o.className):!1}function $o(o,n){if(o&&n){let i=r=>{_C(o,r)||(o.classList?o.classList.add(r):o.className+=" "+r)};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(i))}}function XK(){return window.innerWidth-document.documentElement.offsetWidth}function QK(o){typeof o=="string"?$o(document.body,o||"p-overflow-hidden"):(o!=null&&o.variableName&&document.body.style.setProperty(o.variableName,XK()+"px"),$o(document.body,o?.className||"p-overflow-hidden"))}function JK(o){if(o){let n=document.createElement("a");if(n.download!==void 0){let{name:i,src:r}=o;return n.setAttribute("href",r),n.setAttribute("download",i),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n),!0}}return!1}function VK(o,n){let i=new Blob([o],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(i,n+".csv"):JK({name:n+".csv",src:URL.createObjectURL(i)})||(o="data:text/csv;charset=utf-8,"+o,window.open(encodeURI(o)))}function ko(o,n){if(o&&n){let i=r=>{o.classList?o.classList.remove(r):o.className=o.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[n].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(i))}}function eW(o){typeof o=="string"?ko(document.body,o||"p-overflow-hidden"):(o!=null&&o.variableName&&document.body.style.removeProperty(o.variableName),ko(document.body,o?.className||"p-overflow-hidden"))}function ff(o){for(let n of document?.styleSheets)try{for(let i of n?.cssRules)for(let r of i?.style)if(o.test(r))return{name:r,value:i.style.getPropertyValue(r).trim()}}catch{}return null}function BC(o){let n={width:0,height:0};if(o){let[i,r]=[o.style.visibility,o.style.display],l=o.getBoundingClientRect();o.style.visibility="hidden",o.style.display="block",n.width=l.width||o.offsetWidth,n.height=l.height||o.offsetHeight,o.style.display=r,o.style.visibility=i}return n}function sc(){let o=window,n=document,i=n.documentElement,r=n.getElementsByTagName("body")[0],l=o.innerWidth||i.clientWidth||r.clientWidth,s=o.innerHeight||i.clientHeight||r.clientHeight;return{width:l,height:s}}function hf(o){return o?Math.abs(o.scrollLeft):0}function mf(){let o=document.documentElement;return(window.pageXOffset||hf(o))-(o.clientLeft||0)}function bf(){let o=document.documentElement;return(window.pageYOffset||o.scrollTop)-(o.clientTop||0)}function yf(o){return o?getComputedStyle(o).direction==="rtl":!1}function lc(o,n,i=!0){var r,l,s,c;if(o){let d=o.offsetParent?{width:o.offsetWidth,height:o.offsetHeight}:BC(o),p=d.height,u=d.width,g=n.offsetHeight,f=n.offsetWidth,h=n.getBoundingClientRect(),m=bf(),y=mf(),k=sc(),w,C,v="top";h.top+g+p>k.height?(w=h.top+m-p,v="bottom",w<0&&(w=m)):w=g+h.top+m,h.left+u>k.width?C=Math.max(0,h.left+y+f-u):C=h.left+y,yf(o)?o.style.insetInlineEnd=C+"px":o.style.insetInlineStart=C+"px",o.style.top=w+"px",o.style.transformOrigin=v,i&&(o.style.marginTop=v==="bottom"?`calc(${(l=(r=ff(/-anchor-gutter$/))==null?void 0:r.value)!=null?l:"2px"} * -1)`:(c=(s=ff(/-anchor-gutter$/))==null?void 0:s.value)!=null?c:"")}}function Da(o,n){o&&(typeof n=="string"?o.style.cssText=n:Object.entries(n||{}).forEach(([i,r])=>o.style[i]=r))}function Wt(o,n){return o instanceof HTMLElement?o.offsetWidth:0}function vf(o,n,i=!0,r=void 0){var l;if(o){let s=o.offsetParent?{width:o.offsetWidth,height:o.offsetHeight}:BC(o),c=n.offsetHeight,d=n.getBoundingClientRect(),p=sc(),u,g,f=r??"top";if(!r&&d.top+c+s.height>p.height?(u=-1*s.height,f="bottom",d.top+u<0&&(u=-1*d.top)):u=c,s.width>p.width?g=d.left*-1:d.left+s.width>p.width?g=(d.left+s.width-p.width)*-1:g=0,o.style.top=u+"px",o.style.insetInlineStart=g+"px",o.style.transformOrigin=f,i){let h=(l=ff(/-anchor-gutter$/))==null?void 0:l.value;o.style.marginTop=f==="bottom"?`calc(${h??"2px"} * -1)`:h??""}}}function Cf(o){if(o){let n=o.parentNode;return n&&n instanceof ShadowRoot&&n.host&&(n=n.host),n}return null}function PC(o){return!!(o!==null&&typeof o<"u"&&o.nodeName&&Cf(o))}function $r(o){return typeof Element<"u"?o instanceof Element:o!==null&&typeof o=="object"&&o.nodeType===1&&typeof o.nodeName=="string"}function hp(){if(window.getSelection){let o=window.getSelection()||{};o.empty?o.empty():o.removeAllRanges&&o.rangeCount>0&&o.getRangeAt(0).getClientRects().length>0&&o.removeAllRanges()}}function mp(o,n={}){if($r(o)){let i=(r,l)=>{var s,c;let d=(s=o?.$attrs)!=null&&s[r]?[(c=o?.$attrs)==null?void 0:c[r]]:[];return[l].flat().reduce((p,u)=>{if(u!=null){let g=typeof u;if(g==="string"||g==="number")p.push(u);else if(g==="object"){let f=Array.isArray(u)?i(r,u):Object.entries(u).map(([h,m])=>r==="style"&&(m||m===0)?`${h.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${m}`:m?h:void 0);p=f.length?p.concat(f.filter(h=>!!h)):p}}return p},d)};Object.entries(n).forEach(([r,l])=>{if(l!=null){let s=r.match(/^on(.+)/);s?o.addEventListener(s[1].toLowerCase(),l):r==="p-bind"||r==="pBind"?mp(o,l):(l=r==="class"?[...new Set(i("class",l))].join(" ").trim():r==="style"?i("style",l).join(";").trim():l,(o.$attrs=o.$attrs||{})&&(o.$attrs[r]=l),o.setAttribute(r,l))}})}}function cc(o,n={},...i){if(o){let r=document.createElement(o);return mp(r,n),r.append(...i),r}}function tW(o,n){if(o){o.style.opacity="0";let i=+new Date,r="0",l=function(){r=`${+o.style.opacity+(new Date().getTime()-i)/n}`,o.style.opacity=r,i=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(l):setTimeout(l,16))};l()}}function Pn(o,n){return $r(o)?Array.from(o.querySelectorAll(n)):[]}function vn(o,n){return $r(o)?o.matches(n)?o:o.querySelector(n):null}function jt(o,n){o&&document.activeElement!==o&&o.focus(n)}function Ot(o,n){if($r(o)){let i=o.getAttribute(n);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}function wf(o,n=""){let i=Pn(o,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
1292
1292
  [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${n},
1293
1293
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
1294
1294
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n},
@@ -7011,7 +7011,7 @@ new access tokens using the same authorization grant.`),state:e.string().optiona
7011
7011
  otherwise, REQUIRED. The scope of the access token.
7012
7012
  repeated string scope = 5 [ json_name = "scope" ];
7013
7013
  REQUIRED if the "state" parameter was present in the client
7014
- authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional(),warnings:e.array(e.object({detail:e.string().optional(),id:e.string().optional(),warningData:e.object({passwordExpiry:e.object({daysRemaining:e.string().optional(),expiresAt:e.string().optional()}).optional()}).optional()})).optional()}),e.object({accessToken:e.string().optional().describe("string id_token = 2;")}),e.object({dc:e.string().optional(),domain:e.string().optional(),expiresAt:e.string().optional(),extension:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),preferredUsername:e.string().optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scope:e.array(e.object({abac:e.boolean().optional().describe("[A]ttribute-[b]ased; not implemented; next releases ..."),access:e.string().optional().describe("flags: [ CREATE | SELECT | UPDATE | DELETE ]"),class:e.string().optional(),id:e.string().optional().describe("class: object id"),name:e.string().optional(),obac:e.boolean().optional(),rbac:e.boolean().optional()})).optional(),updatedAt:e.string().optional(),userId:e.string().optional(),username:e.string().optional()}),e.object({accessToken:e.string().optional().describe("string id_token = 2;")}),e.object({dc:e.string().optional(),domain:e.string().optional(),expiresAt:e.string().optional(),extension:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),preferredUsername:e.string().optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scope:e.array(e.object({abac:e.boolean().optional().describe("[A]ttribute-[b]ased; not implemented; next releases ..."),access:e.string().optional().describe("flags: [ CREATE | SELECT | UPDATE | DELETE ]"),class:e.string().optional(),id:e.string().optional().describe("class: object id"),name:e.string().optional(),obac:e.boolean().optional(),rbac:e.boolean().optional()})).optional(),updatedAt:e.string().optional(),userId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),fields:e.array(e.string()).optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({id:e.string().optional(),name:e.string().optional(),offset:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({destination:e.string().optional(),domainId:e.string().optional(),from:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional(),params:e.object({cancelDistribute:e.boolean().optional(),contactId:e.string().optional(),disableAutoAnswer:e.boolean().optional(),disableStun:e.boolean().optional(),display:e.string().optional(),hideNumber:e.boolean().optional(),isOnline:e.boolean().optional(),timeout:e.number().optional(),variables:e.record(e.string(),e.string()).optional()}).optional(),to:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional()}),e.object({id:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),userId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),teamId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),gatewayId:e.array(e.string()).optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),skipParent:e.boolean().optional(),parentId:e.string().optional(),cause:e.array(e.string()).optional(),existsFile:e.boolean().optional(),domainId:e.string().optional(),number:e.string().optional(),direction:e.array(e.string()).optional(),answeredAtFrom:e.string().optional(),answeredAtTo:e.string().optional(),missed:e.boolean().optional(),storedAtFrom:e.string().optional(),storedAtTo:e.string().optional(),supervisorId:e.array(e.string()).optional(),state:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),state:e.string().optional(),supervisor:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timestamp:e.string().optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),cause:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),state:e.string().optional(),supervisor:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timestamp:e.string().optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()}),e.object({id:e.string()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),digit:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),control:e.boolean().optional(),from:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional(),listenA:e.boolean().optional(),listenB:e.boolean().optional(),whisperA:e.boolean().optional(),whisperB:e.boolean().optional()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),domainId:e.string().optional()}),e.object({state:e.string().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),destination:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),domainId:e.string().optional()}),e.object({state:e.string().optional()}),e.object({id:e.string()}),e.object({variables:e.record(e.string(),e.string()).optional()}),e.looseObject({}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),userId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),teamId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),gatewayId:e.array(e.string()).optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),skipParent:e.boolean().optional(),parentId:e.string().optional(),cause:e.array(e.string()).optional(),hasFile:e.boolean().optional(),domainId:e.string().optional(),number:e.string().optional(),direction:e.string().optional(),answeredAtFrom:e.string().optional(),answeredAtTo:e.string().optional(),missed:e.boolean().optional(),storedAtFrom:e.string().optional(),storedAtTo:e.string().optional(),id:e.array(e.string()).optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),dependencyId:e.string().optional(),tags:e.array(e.string()).optional(),variablesString:e.string().optional().describe('This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18'),amdResult:e.array(e.string()).optional(),fts:e.string().optional(),directions:e.array(e.string()).optional(),hasTranscript:e.boolean().optional(),agentDescription:e.string().optional(),ownerId:e.array(e.string()).optional(),granteeId:e.array(e.string()).optional(),amdAiResult:e.array(e.string()).optional(),talkFrom:e.string().optional(),talkTo:e.string().optional(),rated:e.boolean().optional(),ratedBy:e.array(e.string()).optional(),scoreRequiredFrom:e.string().optional(),scoreRequiredTo:e.string().optional(),scoreOptionalFrom:e.string().optional(),scoreOptionalTo:e.string().optional(),ratedUser:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),schemaId:e.array(e.number()).optional(),hasTransfer:e.boolean().optional(),timeline:e.boolean().optional()}),e.object({items:e.array(e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({tags:e.array(e.string()).optional(),agentDescription:e.string().optional(),agentId:e.array(e.string()).optional(),amdAiResult:e.array(e.string()).optional(),amdResult:e.array(e.string()).optional(),answeredAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),cause:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),dependencyId:e.string().optional(),direction:e.string().optional(),directions:e.array(e.string()).optional(),domainId:e.string().optional(),duration:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),fields:e.array(e.string()).optional(),fts:e.string().optional(),gatewayId:e.array(e.string()).optional(),granteeId:e.array(e.string()).optional(),hasFile:e.boolean().optional(),hasTranscript:e.boolean().optional(),hasTransfer:e.boolean().optional(),id:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),missed:e.boolean().optional(),number:e.string().optional(),ownerId:e.array(e.string()).optional(),page:e.number().optional(),parentId:e.string().optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),rated:e.boolean().optional(),ratedBy:e.array(e.string()).optional(),ratedUser:e.array(e.string()).optional(),schemaId:e.array(e.number()).optional(),scoreOptional:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),scoreRequired:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),size:e.number().optional(),skipParent:e.boolean().optional(),sort:e.string().optional(),storedAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),talk:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),teamId:e.array(e.string()).optional(),timeline:e.boolean().optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),userId:e.array(e.string()).optional(),variablesString:e.record(e.string(),e.string()).optional()}),e.object({items:e.array(e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({tags:e.array(e.string()).optional(),agentDescription:e.string().optional(),agentId:e.array(e.string()).optional(),aggs:e.array(e.object({avg:e.array(e.string()).optional(),count:e.array(e.string()).optional(),group:e.array(e.object({aggregate:e.string().optional(),desc:e.boolean().optional(),field:e.string().optional(),id:e.string().optional(),interval:e.string().optional(),top:e.number().optional()})).optional(),limit:e.number().optional(),max:e.array(e.string()).optional(),min:e.array(e.string()).optional(),name:e.string().optional(),sort:e.array(e.string()).optional(),sum:e.array(e.string()).optional()})).optional(),amdResult:e.array(e.string()).optional(),answeredAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),cause:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),dependencyId:e.string().optional(),direction:e.string().optional(),directions:e.array(e.string()).optional(),domainId:e.string().optional(),duration:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),fts:e.string().optional(),gatewayId:e.array(e.string()).optional(),hasFile:e.boolean().optional(),hasTranscript:e.boolean().optional(),id:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),missed:e.boolean().optional(),number:e.string().optional(),page:e.number().optional(),parentId:e.string().optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),size:e.number().optional(),skipParent:e.boolean().optional(),storedAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),teamId:e.array(e.string()).optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),userId:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({items:e.array(e.object({name:e.string().optional()})).optional()}),e.object({call_id:e.string()}),e.object({endSec:e.number().optional(),note:e.string().optional(),startSec:e.number().optional()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string(),id:e.string()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string(),id:e.string()}),e.object({endSec:e.number().optional(),note:e.string().optional(),startSec:e.number().optional()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string()}),e.looseObject({}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({hideMissed:e.boolean().optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()}),e.object({etag:e.string().describe("Identifier of the comment to delete.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to return after deletion.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({etag:e.string().describe("Identifier of the comment to retrieve.")}),e.object({fields:e.array(e.string()).optional().describe("Specific fields to return for the comment.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({"input.etag":e.string().describe("Identifier for the comment.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to include in the response."),updatedAt:e.string().optional().describe("Optional updating timestamp. If not set, will be set default(current) time.")}),e.object({text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({"input.etag":e.string().describe("Identifier for the comment.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to include in the response."),updatedAt:e.string().optional().describe("Optional updating timestamp. If not set, will be set default(current) time.")}),e.object({text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({case_etag:e.string().describe("Etag or ID of the case for which comments are requested.")}),e.object({page:e.number().optional().describe("Page number for pagination."),size:e.number().optional().describe("Number of comments per page."),q:e.string().optional().describe("Query string for search."),ids:e.array(e.string()).optional().describe("Array of requested id."),sort:e.string().optional().describe("Sorting order."),fields:e.array(e.string()).optional().describe("Fields to return for each comment.")}),e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).describe("Contains a paginated list of comments."),e.object({case_etag:e.string().describe("Etag or ID of the case to which comments belong.")}),e.object({fields:e.array(e.string()).optional().describe("Result fields to include in the response."),createdAt:e.string().optional().describe("Optional creation timestamp. If not set, will be set default(current) time.")}),e.object({etag:e.string().optional().describe("Identifier for the comment."),text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}).describe("Input structure for creating or updating a case comment."),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({case_etag:e.string().describe("Case identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response."),q:e.string().optional().describe("Query string for filtering results."),size:e.number().optional().describe("Number of records per page."),page:e.number().optional().describe("Page number for pagination."),sort:e.string().optional().describe("Sorting order.")}),e.object({data:e.array(e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication (e.g., Chat, Call)."),etag:e.string().optional().describe("Version of the communication record."),id:e.string().optional().describe("Database ID of the communication."),ver:e.number().optional().describe("Version of the communication record.")}).describe("Represents a single case communication.")).optional().describe("List of communications."),next:e.boolean().optional(),page:e.number().optional().describe("Current page number.")}).describe("Response message for listing communications linked to a case."),e.object({case_etag:e.string().describe("Case identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response.")}),e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication.")}).describe("Represents input data for creating or linking a communication."),e.object({data:e.array(e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication (e.g., Chat, Call)."),etag:e.string().optional().describe("Version of the communication record."),id:e.string().optional().describe("Database ID of the communication."),ver:e.number().optional().describe("Version of the communication record.")}).describe("Represents a single case communication.")).optional().describe("List of linked communications.")}).describe("Response message after linking communications to a case."),e.object({case_etag:e.string(),id:e.string().describe("Communication identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response.")}),e.object({affected:e.string().optional().describe("Affected rows.")}).describe("Response message after unlinking a communication from a case."),e.object({case_etag:e.string().describe("ID of the case to fetch files for (required).")}),e.object({page:e.number().optional().describe("The page number to retrieve."),size:e.number().optional().describe("Number of items per page."),q:e.string().optional().describe("Search term."),fields:e.array(e.string()).optional().describe("Fields to include in the response."),ids:e.array(e.string()).optional().describe("Array of requested id."),sort:e.string().optional().describe("Sorting")}),e.object({items:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),next:e.boolean().optional().describe("Indicator if there is a next page."),page:e.string().optional().describe("Current page number.")}).describe("Contains a list of case files with pagination."),e.object({case_etag:e.string(),id:e.string().describe("The unique ID of the file to delete.")}),e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case."),e.object({case_etag:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),ids:e.array(e.string()).optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()})).optional(),next:e.boolean().optional(),page:e.string().optional()}),e.object({case_etag:e.string().describe("new comment link")}),e.object({fields:e.array(e.string()).optional().describe("result fields needed on the front-end for each comment"),inputEtag:e.string().optional(),inputUrl:e.string().optional(),inputName:e.string().optional(),inputUserIdId:e.string().optional(),inputUserIdName:e.string().optional()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),etag:e.string()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),etag:e.string().describe("(id allowed)")}),e.object({fields:e.array(e.string()).optional()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),"input.etag":e.string()}),e.object({fields:e.array(e.string()).optional().describe("on return")}),e.object({name:e.string().optional(),url:e.string().optional(),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),"input.etag":e.string()}),e.object({fields:e.array(e.string()).optional().describe("on return")}),e.object({name:e.string().optional(),url:e.string().optional(),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),type:e.array(e.enum(["chat","call","email"])).optional()}),e.object({days:e.array(e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dayTimestamp:e.string().optional(),emailsCount:e.string().optional(),items:e.array(e.object({call:e.object({closedAt:e.string().optional(),duration:e.string().optional(),files:e.array(e.object({id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),stopAt:e.string().optional()})).optional(),flowScheme:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),isMissed:e.boolean().optional(),participants:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalDuration:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),locale:e.string().optional()})).optional()}).optional(),chat:e.object({closedAt:e.string().optional(),duration:e.string().optional(),flowScheme:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),isMissed:e.boolean().optional(),participants:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),createdAt:e.string().optional(),email:e.object({attachments:e.array(e.object({id:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),body:e.string().optional(),cc:e.array(e.string()).optional(),from:e.array(e.string()).optional(),html:e.string().optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),owner:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),profile:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sender:e.array(e.string()).optional(),subject:e.string().optional(),to:e.array(e.string()).optional()}).optional(),type:e.enum(["chat","call","email"]).default("chat")})).optional()})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({case_id:e.string()}),e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),emailsCount:e.string().optional()}),e.object({page:e.number().optional().describe("Page number for pagination."),size:e.number().optional().describe("Number of results per page."),q:e.string().optional().describe("General query string."),ids:e.array(e.string()).optional().describe("List of specific case IDs to retrieve."),sort:e.string().optional().describe("Sorting criteria (e.g., field:asc)."),fields:e.array(e.string()).optional().describe("List of fields to include in the response."),filters:e.array(e.string()).optional().describe("Key-value pairs for additional filtering."),contactId:e.string().optional().describe("Contact ID for filtering cases."),qin:e.string().optional().describe("Specify which fields to apply 'q' to."),filtersV1:e.string().optional().describe("Updated filters with CEL syntax.")}),e.object({items:e.array(e.object({assignee:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Assignee responsible for resolving the case."),author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Author or reporter of the case."),closeReason:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),closeReasonGroup:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Close reason group, immutable once set."),closeResult:e.string().optional(),comments:e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of comments on the case."),contactInfo:e.string().optional().describe("Contact information for the case."),createdAt:e.string().optional().describe("Creation timestamp (in milliseconds since Unix epoch)."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Creator of the case."),custom:e.looseObject({}).optional().describe("Custom data extension fields .."),dc:e.string().optional(),description:e.string().optional().describe("Detailed description of the case."),differenceInReaction:e.string().optional(),differenceInResolve:e.string().optional(),etag:e.string().optional().describe("Unique etag identifier."),files:e.object({items:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),next:e.boolean().optional().describe("Indicator if there is a next page."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of attached files."),group:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Group associated with the case."),id:e.string().optional().describe("Unique case ID."),impacted:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Impacted contact (defaults to reporter if null)."),links:e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()})).optional(),next:e.boolean().optional(),page:e.string().optional()}).optional().describe("List of attached links."),name:e.string().optional().describe("Name of the case (may serve as an ID in docs)."),plannedReactionAt:e.string().optional().describe("Planned reaction time (in milliseconds)."),plannedResolveAt:e.string().optional().describe("Planned resolution time (in milliseconds)."),priority:e.object({color:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional().describe("Priority level of the case."),rating:e.string().optional(),ratingComment:e.string().optional(),reactedAt:e.string().optional(),related:e.object({data:e.array(e.object({createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the relation was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the relation."),etag:e.string().optional().describe("Etag for the related case entity."),id:e.string().optional().describe("Unique identifier for the related case."),primaryCase:e.object({color:e.string().optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),subject:e.string().optional(),ver:e.number().optional()}).optional().describe("Primary case details."),relatedCase:e.object({color:e.string().optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),subject:e.string().optional(),ver:e.number().optional()}).optional().describe("Related case details."),relationType:e.enum(["RELATION_TYPE_UNSPECIFIED","DUPLICATES","IS_DUPLICATED_BY","BLOCKS","IS_BLOCKED_BY","CAUSES","IS_CAUSED_BY","IS_CHILD_OF","IS_PARENT_OF","RELATES_TO"]).default("RELATION_TYPE_UNSPECIFIED").describe("Relation type between cases."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the relation."),ver:e.number().optional().describe("Version number of the related case, used for concurrency control.")}).describe("Represents a related case with its relationship details.")).optional().describe("List of related cases on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of related cases."),reporter:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Reporter of the issue (null if anonymous)."),resolvedAt:e.string().optional(),roleIds:e.array(e.string()).optional(),service:e.object({assignee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),catalogId:e.string().optional(),code:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),defaultPriority:e.object({color:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),description:e.string().optional(),group:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional(),id:e.string().optional(),name:e.string().optional(),rootId:e.string().optional(),searched:e.boolean().optional(),service:e.array(e.unknown()).optional(),sla:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.boolean().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional().describe("Service associated with the case."),sla:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("SLA associated with the case."),slaCondition:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("List of SLA conditions."),source:e.object({id:e.string().optional(),name:e.string().optional(),type:e.enum(["TYPE_UNSPECIFIED","CALL","CHAT","SOCIAL_MEDIA","EMAIL","API","MANUAL"]).default("TYPE_UNSPECIFIED").describe(`Represents a source type for the source entity.
7014
+ authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional()}),e.object({accessToken:e.string().optional().describe("string id_token = 2;")}),e.object({dc:e.string().optional(),domain:e.string().optional(),expiresAt:e.string().optional(),extension:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),preferredUsername:e.string().optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scope:e.array(e.object({abac:e.boolean().optional().describe("[A]ttribute-[b]ased; not implemented; next releases ..."),access:e.string().optional().describe("flags: [ CREATE | SELECT | UPDATE | DELETE ]"),class:e.string().optional(),id:e.string().optional().describe("class: object id"),name:e.string().optional(),obac:e.boolean().optional(),rbac:e.boolean().optional()})).optional(),updatedAt:e.string().optional(),userId:e.string().optional(),username:e.string().optional()}),e.object({accessToken:e.string().optional().describe("string id_token = 2;")}),e.object({dc:e.string().optional(),domain:e.string().optional(),expiresAt:e.string().optional(),extension:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),preferredUsername:e.string().optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scope:e.array(e.object({abac:e.boolean().optional().describe("[A]ttribute-[b]ased; not implemented; next releases ..."),access:e.string().optional().describe("flags: [ CREATE | SELECT | UPDATE | DELETE ]"),class:e.string().optional(),id:e.string().optional().describe("class: object id"),name:e.string().optional(),obac:e.boolean().optional(),rbac:e.boolean().optional()})).optional(),updatedAt:e.string().optional(),userId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),fields:e.array(e.string()).optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),disabled:e.boolean().optional(),domainId:e.string().optional(),expireDays:e.number().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional()}),e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),dataCount:e.string().optional(),dataSize:e.string().optional(),description:e.string().optional(),disabled:e.boolean().optional(),expireDays:e.number().optional(),id:e.string().optional(),maxSize:e.string().optional(),name:e.string().optional(),priority:e.number().optional(),properties:e.record(e.string(),e.string()).optional(),type:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({id:e.string()}),e.object({description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional()}),e.object({description:e.string().optional(),id:e.string().optional(),name:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),id:e.array(e.number()).optional()}),e.object({items:e.array(e.object({id:e.string().optional(),name:e.string().optional(),offset:e.string().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({id:e.string()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({accepts:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),domainId:e.string().optional(),endAt:e.string().optional(),excepts:e.array(e.object({date:e.string().optional(),disabled:e.boolean().optional(),name:e.string().optional(),repeat:e.boolean().optional(),workStart:e.number().optional(),workStop:e.number().optional(),working:e.boolean().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),specials:e.array(e.object({day:e.number().optional(),disabled:e.boolean().optional(),endTimeOfDay:e.number().optional(),startTimeOfDay:e.number().optional()})).optional(),startAt:e.string().optional(),timezone:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({destination:e.string().optional(),domainId:e.string().optional(),from:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional(),params:e.object({cancelDistribute:e.boolean().optional(),contactId:e.string().optional(),disableAutoAnswer:e.boolean().optional(),disableStun:e.boolean().optional(),display:e.string().optional(),hideNumber:e.boolean().optional(),isOnline:e.boolean().optional(),timeout:e.number().optional(),variables:e.record(e.string(),e.string()).optional()}).optional(),to:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional()}),e.object({id:e.string().optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),userId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),teamId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),gatewayId:e.array(e.string()).optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),skipParent:e.boolean().optional(),parentId:e.string().optional(),cause:e.array(e.string()).optional(),existsFile:e.boolean().optional(),domainId:e.string().optional(),number:e.string().optional(),direction:e.array(e.string()).optional(),answeredAtFrom:e.string().optional(),answeredAtTo:e.string().optional(),missed:e.boolean().optional(),storedAtFrom:e.string().optional(),storedAtTo:e.string().optional(),supervisorId:e.array(e.string()).optional(),state:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),state:e.string().optional(),supervisor:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timestamp:e.string().optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),cause:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({domainId:e.string().optional()}),e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),state:e.string().optional(),supervisor:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),timestamp:e.string().optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()}),e.object({id:e.string()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),digit:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),control:e.boolean().optional(),from:e.object({appId:e.string().optional(),extension:e.string().optional(),id:e.string().optional(),type:e.string().optional()}).optional(),listenA:e.boolean().optional(),listenB:e.boolean().optional(),whisperA:e.boolean().optional(),whisperB:e.boolean().optional()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),domainId:e.string().optional()}),e.object({state:e.string().optional()}),e.object({id:e.string()}),e.object({appId:e.string().optional(),destination:e.string().optional(),domainId:e.string().optional()}),e.looseObject({}),e.object({id:e.string()}),e.object({appId:e.string().optional(),domainId:e.string().optional()}),e.object({state:e.string().optional()}),e.object({id:e.string()}),e.object({variables:e.record(e.string(),e.string()).optional()}),e.looseObject({}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),createdAtFrom:e.string().optional(),createdAtTo:e.string().optional(),userId:e.array(e.string()).optional(),agentId:e.array(e.string()).optional(),queueId:e.array(e.string()).optional(),teamId:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),gatewayId:e.array(e.string()).optional(),durationFrom:e.string().optional(),durationTo:e.string().optional(),skipParent:e.boolean().optional(),parentId:e.string().optional(),cause:e.array(e.string()).optional(),hasFile:e.boolean().optional(),domainId:e.string().optional(),number:e.string().optional(),direction:e.string().optional(),answeredAtFrom:e.string().optional(),answeredAtTo:e.string().optional(),missed:e.boolean().optional(),storedAtFrom:e.string().optional(),storedAtTo:e.string().optional(),id:e.array(e.string()).optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),dependencyId:e.string().optional(),tags:e.array(e.string()).optional(),variablesString:e.string().optional().describe('This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18'),amdResult:e.array(e.string()).optional(),fts:e.string().optional(),directions:e.array(e.string()).optional(),hasTranscript:e.boolean().optional(),agentDescription:e.string().optional(),ownerId:e.array(e.string()).optional(),granteeId:e.array(e.string()).optional(),amdAiResult:e.array(e.string()).optional(),talkFrom:e.string().optional(),talkTo:e.string().optional(),rated:e.boolean().optional(),ratedBy:e.array(e.string()).optional(),scoreRequiredFrom:e.string().optional(),scoreRequiredTo:e.string().optional(),scoreOptionalFrom:e.string().optional(),scoreOptionalTo:e.string().optional(),ratedUser:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),schemaId:e.array(e.number()).optional(),hasTransfer:e.boolean().optional(),timeline:e.boolean().optional()}),e.object({items:e.array(e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({tags:e.array(e.string()).optional(),agentDescription:e.string().optional(),agentId:e.array(e.string()).optional(),amdAiResult:e.array(e.string()).optional(),amdResult:e.array(e.string()).optional(),answeredAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),cause:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),dependencyId:e.string().optional(),direction:e.string().optional(),directions:e.array(e.string()).optional(),domainId:e.string().optional(),duration:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),fields:e.array(e.string()).optional(),fts:e.string().optional(),gatewayId:e.array(e.string()).optional(),granteeId:e.array(e.string()).optional(),hasFile:e.boolean().optional(),hasTranscript:e.boolean().optional(),hasTransfer:e.boolean().optional(),id:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),missed:e.boolean().optional(),number:e.string().optional(),ownerId:e.array(e.string()).optional(),page:e.number().optional(),parentId:e.string().optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),rated:e.boolean().optional(),ratedBy:e.array(e.string()).optional(),ratedUser:e.array(e.string()).optional(),schemaId:e.array(e.number()).optional(),scoreOptional:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),scoreRequired:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),size:e.number().optional(),skipParent:e.boolean().optional(),sort:e.string().optional(),storedAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),talk:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),teamId:e.array(e.string()).optional(),timeline:e.boolean().optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),userId:e.array(e.string()).optional(),variablesString:e.record(e.string(),e.string()).optional()}),e.object({items:e.array(e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({tags:e.array(e.string()).optional(),agentDescription:e.string().optional(),agentId:e.array(e.string()).optional(),aggs:e.array(e.object({avg:e.array(e.string()).optional(),count:e.array(e.string()).optional(),group:e.array(e.object({aggregate:e.string().optional(),desc:e.boolean().optional(),field:e.string().optional(),id:e.string().optional(),interval:e.string().optional(),top:e.number().optional()})).optional(),limit:e.number().optional(),max:e.array(e.string()).optional(),min:e.array(e.string()).optional(),name:e.string().optional(),sort:e.array(e.string()).optional(),sum:e.array(e.string()).optional()})).optional(),amdResult:e.array(e.string()).optional(),answeredAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),cause:e.array(e.string()).optional(),contactId:e.array(e.string()).optional(),createdAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),dependencyId:e.string().optional(),direction:e.string().optional(),directions:e.array(e.string()).optional(),domainId:e.string().optional(),duration:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),fts:e.string().optional(),gatewayId:e.array(e.string()).optional(),hasFile:e.boolean().optional(),hasTranscript:e.boolean().optional(),id:e.array(e.string()).optional(),memberId:e.array(e.string()).optional(),missed:e.boolean().optional(),number:e.string().optional(),page:e.number().optional(),parentId:e.string().optional(),q:e.string().optional(),queueId:e.array(e.string()).optional(),size:e.number().optional(),skipParent:e.boolean().optional(),storedAt:e.object({from:e.string().optional(),to:e.string().optional()}).optional(),teamId:e.array(e.string()).optional(),transferFrom:e.array(e.string()).optional(),transferTo:e.array(e.string()).optional(),userId:e.array(e.string()).optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({items:e.array(e.object({name:e.string().optional()})).optional()}),e.object({call_id:e.string()}),e.object({endSec:e.number().optional(),note:e.string().optional(),startSec:e.number().optional()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string(),id:e.string()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string(),id:e.string()}),e.object({endSec:e.number().optional(),note:e.string().optional(),startSec:e.number().optional()}),e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}),e.object({call_id:e.string()}),e.looseObject({}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({hideMissed:e.boolean().optional(),variables:e.record(e.string(),e.string()).optional()}),e.object({tags:e.array(e.string()).optional(),agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),agentDescription:e.string().optional(),allowEvaluation:e.boolean().optional(),amdAiLogs:e.array(e.string()).optional(),amdAiResult:e.string().optional(),amdResult:e.string().optional(),annotations:e.array(e.object({callId:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),endSec:e.number().optional(),id:e.string().optional(),note:e.string().optional(),startSec:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),answeredAt:e.string().optional(),appId:e.string().optional(),attemptId:e.string().optional(),billSec:e.number().optional(),blindTransfer:e.string().optional(),blindTransfers:e.array(e.object({number:e.string().optional(),time:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),bridgedAt:e.string().optional(),bridgedId:e.string().optional(),cause:e.string().optional(),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),conversationId:e.string().optional(),createdAt:e.string().optional(),destination:e.string().optional(),destinationName:e.string().optional(),direction:e.string().optional(),display:e.string().optional(),duration:e.number().optional(),extension:e.string().optional(),files:e.array(e.object({channel:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),startRecord:e.string().optional(),stopAt:e.string().optional(),type:e.enum(["file_type_empty","file_type_screenshot","file_type_screensharing","file_type_audio","file_type_video","file_type_pdf"]).default("file_type_empty")})).optional(),filesJob:e.array(e.object({action:e.enum(["undefined","STT","delete"]).default("undefined"),createdAt:e.string().optional(),errorDetail:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),state:e.enum(["idle","active","finished","error"]).default("idle")})).optional(),forms:e.array(e.object({agent:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional()})).optional(),from:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),fromNumber:e.string().optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),grantee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),hangupAt:e.string().optional(),hangupBy:e.string().optional(),hangupDisposition:e.string().optional(),hangupPhrase:e.string().optional(),hasChildren:e.boolean().optional(),hold:e.array(e.object({sec:e.number().optional(),start:e.string().optional(),stop:e.string().optional()})).optional(),holdSec:e.number().optional(),id:e.string().optional(),joinedAt:e.string().optional(),leavingAt:e.string().optional(),meetingId:e.string().optional(),member:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),memberId:e.string().optional(),parentId:e.string().optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),queueBridgedAt:e.string().optional(),queueDurationSec:e.number().optional(),queueWaitSec:e.number().optional(),rateId:e.string().optional(),ratedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),ratedUser:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),reportingAt:e.string().optional(),reportingSec:e.number().optional(),result:e.string().optional(),schemas:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),scoreOptional:e.number().optional(),scoreRequired:e.number().optional(),sipCode:e.number().optional(),storedAt:e.string().optional(),talkSec:e.number().optional(),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),to:e.object({id:e.string().optional(),name:e.string().optional(),number:e.string().optional(),type:e.string().optional()}).optional(),toNumber:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),fileId:e.string().optional(),id:e.string().optional(),locale:e.string().optional()})).optional(),transferFrom:e.string().optional(),transferTo:e.string().optional(),type:e.string().optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),variables:e.record(e.string(),e.string()).optional(),waitSec:e.number().optional()}),e.object({etag:e.string().describe("Identifier of the comment to delete.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to return after deletion.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({etag:e.string().describe("Identifier of the comment to retrieve.")}),e.object({fields:e.array(e.string()).optional().describe("Specific fields to return for the comment.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({"input.etag":e.string().describe("Identifier for the comment.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to include in the response."),updatedAt:e.string().optional().describe("Optional updating timestamp. If not set, will be set default(current) time.")}),e.object({text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({"input.etag":e.string().describe("Identifier for the comment.")}),e.object({fields:e.array(e.string()).optional().describe("Fields to include in the response."),updatedAt:e.string().optional().describe("Optional updating timestamp. If not set, will be set default(current) time.")}),e.object({text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({case_etag:e.string().describe("Etag or ID of the case for which comments are requested.")}),e.object({page:e.number().optional().describe("Page number for pagination."),size:e.number().optional().describe("Number of comments per page."),q:e.string().optional().describe("Query string for search."),ids:e.array(e.string()).optional().describe("Array of requested id."),sort:e.string().optional().describe("Sorting order."),fields:e.array(e.string()).optional().describe("Fields to return for each comment.")}),e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).describe("Contains a paginated list of comments."),e.object({case_etag:e.string().describe("Etag or ID of the case to which comments belong.")}),e.object({fields:e.array(e.string()).optional().describe("Result fields to include in the response."),createdAt:e.string().optional().describe("Optional creation timestamp. If not set, will be set default(current) time.")}),e.object({etag:e.string().optional().describe("Identifier for the comment."),text:e.string().optional().describe("Content of the comment."),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}).describe("Input structure for creating or updating a case comment."),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case."),e.object({case_etag:e.string().describe("Case identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response."),q:e.string().optional().describe("Query string for filtering results."),size:e.number().optional().describe("Number of records per page."),page:e.number().optional().describe("Page number for pagination."),sort:e.string().optional().describe("Sorting order.")}),e.object({data:e.array(e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication (e.g., Chat, Call)."),etag:e.string().optional().describe("Version of the communication record."),id:e.string().optional().describe("Database ID of the communication."),ver:e.number().optional().describe("Version of the communication record.")}).describe("Represents a single case communication.")).optional().describe("List of communications."),next:e.boolean().optional(),page:e.number().optional().describe("Current page number.")}).describe("Response message for listing communications linked to a case."),e.object({case_etag:e.string().describe("Case identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response.")}),e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication.")}).describe("Represents input data for creating or linking a communication."),e.object({data:e.array(e.object({communicationId:e.string().optional().describe("External communication ID."),communicationType:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Type of the communication (e.g., Chat, Call)."),etag:e.string().optional().describe("Version of the communication record."),id:e.string().optional().describe("Database ID of the communication."),ver:e.number().optional().describe("Version of the communication record.")}).describe("Represents a single case communication.")).optional().describe("List of linked communications.")}).describe("Response message after linking communications to a case."),e.object({case_etag:e.string(),id:e.string().describe("Communication identifier.")}),e.object({fields:e.array(e.string()).optional().describe("List of fields to include in the response.")}),e.object({affected:e.string().optional().describe("Affected rows.")}).describe("Response message after unlinking a communication from a case."),e.object({case_etag:e.string().describe("ID of the case to fetch files for (required).")}),e.object({page:e.number().optional().describe("The page number to retrieve."),size:e.number().optional().describe("Number of items per page."),q:e.string().optional().describe("Search term."),fields:e.array(e.string()).optional().describe("Fields to include in the response."),ids:e.array(e.string()).optional().describe("Array of requested id."),sort:e.string().optional().describe("Sorting")}),e.object({items:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),next:e.boolean().optional().describe("Indicator if there is a next page."),page:e.string().optional().describe("Current page number.")}).describe("Contains a list of case files with pagination."),e.object({case_etag:e.string(),id:e.string().describe("The unique ID of the file to delete.")}),e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case."),e.object({case_etag:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),ids:e.array(e.string()).optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()})).optional(),next:e.boolean().optional(),page:e.string().optional()}),e.object({case_etag:e.string().describe("new comment link")}),e.object({fields:e.array(e.string()).optional().describe("result fields needed on the front-end for each comment"),inputEtag:e.string().optional(),inputUrl:e.string().optional(),inputName:e.string().optional(),inputUserIdId:e.string().optional(),inputUserIdName:e.string().optional()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),etag:e.string()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),etag:e.string().describe("(id allowed)")}),e.object({fields:e.array(e.string()).optional()}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),"input.etag":e.string()}),e.object({fields:e.array(e.string()).optional().describe("on return")}),e.object({name:e.string().optional(),url:e.string().optional(),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_etag:e.string(),"input.etag":e.string()}),e.object({fields:e.array(e.string()).optional().describe("on return")}),e.object({name:e.string().optional(),url:e.string().optional(),userId:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")}),e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()}),e.object({case_id:e.string()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),type:e.array(e.enum(["chat","call","email"])).optional()}),e.object({days:e.array(e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dayTimestamp:e.string().optional(),emailsCount:e.string().optional(),items:e.array(e.object({call:e.object({closedAt:e.string().optional(),duration:e.string().optional(),files:e.array(e.object({id:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional(),size:e.string().optional(),startAt:e.string().optional(),stopAt:e.string().optional()})).optional(),flowScheme:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),isMissed:e.boolean().optional(),participants:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalDuration:e.string().optional(),transcripts:e.array(e.object({file:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),id:e.string().optional(),locale:e.string().optional()})).optional()}).optional(),chat:e.object({closedAt:e.string().optional(),duration:e.string().optional(),flowScheme:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),gateway:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),isMissed:e.boolean().optional(),participants:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),queue:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),createdAt:e.string().optional(),email:e.object({attachments:e.array(e.object({id:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),body:e.string().optional(),cc:e.array(e.string()).optional(),from:e.array(e.string()).optional(),html:e.string().optional(),id:e.string().optional(),isDetailed:e.boolean().optional(),isInbound:e.boolean().optional(),owner:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),profile:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sender:e.array(e.string()).optional(),subject:e.string().optional(),to:e.array(e.string()).optional()}).optional(),type:e.enum(["chat","call","email"]).default("chat")})).optional()})).optional(),next:e.boolean().optional(),page:e.number().optional()}),e.object({case_id:e.string()}),e.object({callsCount:e.string().optional(),chatsCount:e.string().optional(),dateFrom:e.string().optional(),dateTo:e.string().optional(),emailsCount:e.string().optional()}),e.object({page:e.number().optional().describe("Page number for pagination."),size:e.number().optional().describe("Number of results per page."),q:e.string().optional().describe("General query string."),ids:e.array(e.string()).optional().describe("List of specific case IDs to retrieve."),sort:e.string().optional().describe("Sorting criteria (e.g., field:asc)."),fields:e.array(e.string()).optional().describe("List of fields to include in the response."),filters:e.array(e.string()).optional().describe("Key-value pairs for additional filtering."),contactId:e.string().optional().describe("Contact ID for filtering cases."),qin:e.string().optional().describe("Specify which fields to apply 'q' to."),filtersV1:e.string().optional().describe("Updated filters with CEL syntax.")}),e.object({items:e.array(e.object({assignee:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Assignee responsible for resolving the case."),author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Author or reporter of the case."),closeReason:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),closeReasonGroup:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Close reason group, immutable once set."),closeResult:e.string().optional(),comments:e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Contact-author of the comment."),canEdit:e.boolean().optional().describe("Indicates if the comment can be edited by current user."),caseId:e.string().optional().describe("Optional relation to the associated case."),createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the comment."),edited:e.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),etag:e.string().optional(),id:e.string().optional().describe("Main identifier for read, update, and delete operations."),roleIds:e.array(e.string()).optional(),text:e.string().optional().describe("The content of the comment."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the comment."),ver:e.number().optional().describe("Version number of the comment, used for concurrency control.")}).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of comments on the case."),contactInfo:e.string().optional().describe("Contact information for the case."),createdAt:e.string().optional().describe("Creation timestamp (in milliseconds since Unix epoch)."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Creator of the case."),custom:e.looseObject({}).optional().describe("Custom data extension fields .."),dc:e.string().optional(),description:e.string().optional().describe("Detailed description of the case."),differenceInReaction:e.string().optional(),differenceInResolve:e.string().optional(),etag:e.string().optional().describe("Unique etag identifier."),files:e.object({items:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp in Unix milliseconds."),createdBy:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Creator of the file."),id:e.string().optional().describe("Storage file ID."),mime:e.string().optional().describe("MIME type of the file."),name:e.string().optional().describe("File name."),size:e.string().optional().describe("File size in bytes."),source:e.string().optional(),url:e.string().optional()}).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),next:e.boolean().optional().describe("Indicator if there is a next page."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of attached files."),group:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional().describe("Group associated with the case."),id:e.string().optional().describe("Unique case ID."),impacted:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Impacted contact (defaults to reporter if null)."),links:e.object({items:e.array(e.object({author:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),url:e.string().optional(),ver:e.number().optional()})).optional(),next:e.boolean().optional(),page:e.string().optional()}).optional().describe("List of attached links."),name:e.string().optional().describe("Name of the case (may serve as an ID in docs)."),plannedReactionAt:e.string().optional().describe("Planned reaction time (in milliseconds)."),plannedResolveAt:e.string().optional().describe("Planned resolution time (in milliseconds)."),priority:e.object({color:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional().describe("Priority level of the case."),rating:e.string().optional(),ratingComment:e.string().optional(),reactedAt:e.string().optional(),related:e.object({data:e.array(e.object({createdAt:e.string().optional().describe("Timestamp (in milliseconds) of when the relation was created."),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who created the relation."),etag:e.string().optional().describe("Etag for the related case entity."),id:e.string().optional().describe("Unique identifier for the related case."),primaryCase:e.object({color:e.string().optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),subject:e.string().optional(),ver:e.number().optional()}).optional().describe("Primary case details."),relatedCase:e.object({color:e.string().optional(),etag:e.string().optional(),id:e.string().optional(),name:e.string().optional(),subject:e.string().optional(),ver:e.number().optional()}).optional().describe("Related case details."),relationType:e.enum(["RELATION_TYPE_UNSPECIFIED","DUPLICATES","IS_DUPLICATED_BY","BLOCKS","IS_BLOCKED_BY","CAUSES","IS_CAUSED_BY","IS_CHILD_OF","IS_PARENT_OF","RELATES_TO"]).default("RELATION_TYPE_UNSPECIFIED").describe("Relation type between cases."),updatedAt:e.string().optional().describe("Timestamp (in milliseconds) of the last update."),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("User who last updated the relation."),ver:e.number().optional().describe("Version number of the related case, used for concurrency control.")}).describe("Represents a related case with its relationship details.")).optional().describe("List of related cases on the current page."),next:e.boolean().optional().describe("Flag to indicate if more pages are available."),page:e.string().optional().describe("Current page number.")}).optional().describe("List of related cases."),reporter:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("Reporter of the issue (null if anonymous)."),resolvedAt:e.string().optional(),roleIds:e.array(e.string()).optional(),service:e.object({assignee:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),catalogId:e.string().optional(),code:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),defaultPriority:e.object({color:e.string().optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),description:e.string().optional(),id:e.string().optional(),name:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional(),description:e.string().optional(),group:e.object({id:e.string().optional(),name:e.string().optional(),type:e.string().optional()}).optional(),id:e.string().optional(),name:e.string().optional(),rootId:e.string().optional(),searched:e.boolean().optional(),service:e.array(e.unknown()).optional(),sla:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),state:e.boolean().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional().describe("Service associated with the case."),sla:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("SLA associated with the case."),slaCondition:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("List of SLA conditions."),source:e.object({id:e.string().optional(),name:e.string().optional(),type:e.enum(["TYPE_UNSPECIFIED","CALL","CHAT","SOCIAL_MEDIA","EMAIL","API","MANUAL"]).default("TYPE_UNSPECIFIED").describe(`Represents a source type for the source entity.
7015
7015
 
7016
7016
  - TYPE_UNSPECIFIED: Unspecified source type.
7017
7017
  - CALL: Phone call source type.
@@ -9170,7 +9170,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
9170
9170
  For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
9171
9171
  string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).optional().describe("User profile.")}),e.object({confirmPassword:e.string().optional(),domain:e.string().optional(),id:e.string().optional(),oldPassword:e.string().optional(),userPassword:e.string().optional(),username:e.string().optional()}),e.looseObject({}),e.object({password:e.string().optional(),username:e.string().optional(),domain:e.string().optional()}),e.object({settings:e.record(e.string(),e.string()).optional()}),e.object({any:e.boolean().optional().describe("filter: include 'deleted' ALSO ! (inactive)"),deleted:e.boolean().optional(),extension:e.string().optional(),fields:e.array(e.string()).optional().describe("select: output (fields,...)"),id:e.array(e.string()).optional().describe("filter: .id = any({id}...)"),name:e.string().optional(),notId:e.array(e.string()).optional(),page:e.number().optional(),presence:e.object({note:e.string().optional(),status:e.string().optional()}).optional(),q:e.string().optional().describe("filter: (.name|.username|.extension|.status) ILIKE '{q}'"),size:e.number().optional(),sort:e.array(e.string()).optional(),status:e.string().optional(),username:e.string().optional()}),e.object({items:e.array(e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
9172
9172
  For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
9173
- string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional(),next:e.boolean().optional(),page:e.number().optional(),size:e.number().optional()}),e.object({id:e.string().describe("ONE /users/{id}")}),e.object({selection:e.array(e.string()).optional().describe("MANY /users .ids=[id,...]"),permanent:e.boolean().optional()}),e.object({deleted:e.array(e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
9173
+ string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional(),next:e.boolean().optional(),page:e.number().optional(),size:e.number().optional()}),e.object({warnings:e.array(e.object({detail:e.string().optional(),id:e.string().optional(),warningData:e.object({passwordExpiry:e.object({daysRemaining:e.string().optional(),expiresAt:e.string().optional()}).optional()}).optional()})).optional()}),e.object({id:e.string().describe("ONE /users/{id}")}),e.object({selection:e.array(e.string()).optional().describe("MANY /users .ids=[id,...]"),permanent:e.boolean().optional()}),e.object({deleted:e.array(e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
9174
9174
  For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
9175
9175
  string status = 8; // short display status (short description)`),profile:e.record(e.string(),e.string()).optional(),roles:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),totpUrl:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),username:e.string().optional()}).describe("User profile.")).optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional().describe("partial output")}),e.object({user:e.object({chatName:e.string().optional().describe(`The "chat_name" field is used to store the name displayed externally on the platform.
9176
9176
  For example, "chat_name" is shown when an agent connects to chats with clients.`),contact:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("[optional] contact connected to this user"),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),deletedAt:e.string().optional(),deletedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional().describe("UserId lookup value."),device:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),devices:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional().describe("[editable] list of unique `regular` devices, attached to this user"),email:e.string().optional(),extension:e.string().optional(),forcePasswordChange:e.boolean().optional().describe("When set to true, the user will be required to change their password on next login."),hotdesks:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),license:e.array(e.object({expiresAt:e.string().optional(),id:e.string().optional(),issuedAt:e.string().optional(),prod:e.string().optional(),scope:e.array(e.string()).optional(),user:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),name:e.string().optional(),password:e.string().optional(),permissions:e.array(e.object({id:e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),name:e.string().optional(),usage:e.string().optional()})).optional(),presence:e.object({expires:e.number().optional(),id:e.string().optional(),note:e.string().optional(),status:e.string().optional(),timestamp:e.string().optional()}).optional().describe(`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
@@ -9314,28 +9314,23 @@ The sub value is a case sensitive string.`),updatedAt:e.string().optional(),user
9314
9314
  For example, Europe/Kyiv or America/Los_Angeles.`)}).optional(),current:e.boolean().optional(),date:e.string().optional(),device:e.object({app:e.object({bot:e.boolean().optional(),desktop:e.boolean().optional(),device:e.string().optional(),mobile:e.boolean().optional(),name:e.string().optional(),os:e.string().optional(),osVersion:e.string().optional(),string:e.string().optional(),tablet:e.boolean().optional(),version:e.string().optional()}).optional(),ip:e.string().optional(),push:e.string().optional()}).optional(),name:e.string().optional().describe("Session (device) display name."),token:e.object({accessToken:e.string().optional().describe("REQUIRED. The access token issued by the authorization server."),expiresIn:e.number().optional().describe("RECOMMENDED. The lifetime in seconds of the access token."),refreshToken:e.string().optional().describe(`OPTIONAL. The refresh token, which can be used to obtain
9315
9315
  new access tokens using the same authorization grant.`),scope:e.array(e.string()).optional().describe(`OPTIONAL, if identical to the scope requested by the client;
9316
9316
  otherwise, REQUIRED. The scope of the access token.`),state:e.string().optional().describe(`REQUIRED if the "state" parameter was present in the client
9317
- authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional()}),e.object({metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({fieldMask:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional().describe("Page number to retrieve (starts from 1)."),size:e.number().optional().describe("Number of items per page."),sort:e.string().optional().describe('Sorting criteria (e.g., "name" or "-created_at").'),fields:e.array(e.string()).optional().describe("List of specific fields to include in the response. If empty, all fields are returned."),q:e.string().optional().describe("Full-text search query (matches against name or username)."),type:e.array(e.string()).optional().describe('Filter by channel types (e.g., ["telegram", "viber"]).'),subjects:e.array(e.string()).optional().describe("Filter by internal system subjects/user IDs."),onlyBots:e.boolean().optional()}),e.object({items:e.array(e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional(),issId:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),subject:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).describe("Contact represents an external messaging identity.")).optional().describe("List of contacts found."),next:e.boolean().optional().describe("Indicates if there are more pages available."),page:e.number().optional().describe("Current page number."),size:e.number().optional().describe("Number of items returned in this batch.")}).describe("SearchList represents a paginated collection of Contact entities."),e.object({document:e.object({body:e.string().optional(),documents:e.array(e.object({fileName:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),sizeBytes:e.string().optional(),url:e.string().optional()}).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional()}).optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9317
+ authorization request. The exact value received from the client.`),tokenType:e.string().optional().describe("REQUIRED. The type of the token issued. Value is case insensitive.")}).optional()}),e.object({metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string()}),e.object({fieldMask:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({id:e.string().optional(),metadata:e.record(e.string(),e.string()).optional(),name:e.string().optional(),schemaId:e.string().optional(),username:e.string().optional()}),e.object({page:e.number().optional().describe("Page number to retrieve (starts from 1)."),size:e.number().optional().describe("Number of items per page."),sort:e.string().optional().describe('Sorting criteria (e.g., "name" or "-created_at").'),fields:e.array(e.string()).optional().describe("List of specific fields to include in the response. If empty, all fields are returned."),q:e.string().optional().describe("Full-text search query (matches against name or username)."),type:e.array(e.string()).optional().describe('Filter by channel types (e.g., ["telegram", "viber"]).'),subjects:e.array(e.string()).optional().describe("Filter by internal system subjects/user IDs."),onlyBots:e.boolean().optional()}),e.object({items:e.array(e.object({appId:e.string().optional().describe("Identifier of the specific integration app or bot."),createdAt:e.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),isBot:e.boolean().optional().describe("Represents if usere is real person or automatic script."),iss:e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),metadata:e.record(e.string(),e.string()).optional().describe("Additional dynamic attributes provided by the messenger."),name:e.string().optional().describe("Display name of the contact."),sub:e.string().optional().describe("Associated internal system subject/identifier."),type:e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),updatedAt:e.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),username:e.string().optional().describe("Technical username or handle.")}).describe("Contact represents an external messaging identity.")).optional().describe("List of contacts found."),next:e.boolean().optional().describe("Indicates if there are more pages available."),page:e.number().optional().describe("Current page number."),size:e.number().optional().describe("Number of items returned in this batch.")}).describe("SearchList represents a paginated collection of Contact entities."),e.object({document:e.object({body:e.string().optional(),documents:e.array(e.object({fileName:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),sizeBytes:e.string().optional(),url:e.string().optional()}).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional()}).optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9318
9318
  It can be a user, chat, or channel.`)}).describe("Represents a request to send a message with document."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9319
9319
  It can be a user, chat, or channel.`)}).describe("Represents a response to send message with document."),e.object({image:e.object({body:e.string().optional(),images:e.array(e.object({id:e.string().optional(),link:e.string().optional(),mimeType:e.string().optional(),name:e.string().optional()}).describe("Represents `Image` entity with \nnecessary fields.")).optional()}).optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9320
9320
  It can be a user, chat, or channel.`)}).describe("Represents a request to send an message with image."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9321
9321
  It can be a user, chat, or channel.`)}).describe("Represents a response to send message with image."),e.object({body:e.string().optional(),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9322
9322
  It can be a user, chat, or channel.`)}).describe("Represents a request to send a text message."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contact:e.object({iss:e.string().optional(),sub:e.string().optional()}).optional(),groupId:e.string().optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9323
9323
  It can be a user, chat, or channel.`)}).describe("Represents a response to send a text message."),e.object({id:e.string()}),e.object({threadId:e.string().optional()}),e.looseObject({}),e.object({thread_id:e.string().describe("Filter by thread IDs.")}),e.object({fields:e.array(e.string()).optional().describe(`List of message fields to be returned.
9324
- Used to reduce payload size.`),ids:e.array(e.string()).optional().describe("Filter by specific message IDs."),senderIds:e.array(e.string()).optional().describe("Filter messages by sender user IDs."),types:e.array(e.number()).optional().describe("Filter messages by message types."),cursorCreatedAt:e.string().optional().describe("Message creation timestamp (Unix time, microseconds)."),cursorId:e.string().optional().describe("Unique message identifier."),cursorDirection:e.boolean().optional().describe(`Pagination direction.
9325
- true - backward (older messages).
9326
- false - forward (newer messages).`),size:e.number().optional().describe("Maximum number of messages to return.")}),e.object({from:e.array(e.object({isBot:e.boolean().optional(),issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type."),username:e.string().optional().describe("Sender username.")}).describe(`MessageParticipant represents aggregated participant information
9327
- present in the message history response.`)).optional().describe(`List of unique message senders present
9328
- in the current response page.`),messages:e.array(e.object({body:e.string().optional().describe("Message body content."),createdAt:e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),documents:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),id:e.string().optional().describe("Document identifier."),messageId:e.string().optional().describe("Identifier of the message this document belongs to."),mime:e.string().optional().describe("MIME type of the document."),name:e.string().optional().describe("Original file name."),size:e.string().optional().describe("File size in bytes."),url:e.string().optional().describe("Public signed URL for downloading the document.")}).describe(`Document represents a file attachment
9324
+ Used to reduce payload size.`),ids:e.array(e.string()).optional().describe("Filter by specific message IDs."),senderIds:e.array(e.string()).optional().describe("Filter messages by sender user IDs."),types:e.array(e.number()).optional().describe("Filter messages by message types."),cursorId:e.string().optional().describe(`Cursor identifier.
9325
+ Must be a valid UUID referencing an existing message.
9326
+ Defines the starting point for pagination.`),cursorBefore:e.boolean().optional().describe(`Pagination direction flag.
9327
+
9328
+ true -> fetch newer messages (back before history)
9329
+ false -> fetch older messages (back to older history)`),size:e.number().optional().describe("Maximum number of messages to return.")}),e.object({items:e.array(e.object({body:e.string().optional().describe("Message body content."),createdAt:e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),documents:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),id:e.string().optional().describe("Document identifier."),messageId:e.string().optional().describe("Identifier of the message this document belongs to."),mime:e.string().optional().describe("MIME type of the document."),name:e.string().optional().describe("Original file name."),size:e.string().optional().describe("File size in bytes."),url:e.string().optional().describe("Public signed URL for downloading the document.")}).describe(`Document represents a file attachment
9329
9330
  associated with a message.`)).optional().describe("List of document attachments."),id:e.string().optional().describe("Unique message identifier."),images:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),height:e.number().optional().describe("Image height in pixels."),id:e.string().optional().describe("Image identifier."),messageId:e.string().optional().describe("Identifier of the message this message belongs to."),mime:e.string().optional().describe("MIME type of the image."),url:e.string().optional().describe("Public signed URL for accessing the image."),width:e.number().optional().describe("Image width in pixels.")}).describe(`Image represents an image attachment
9330
- associated with a message.`)).optional().describe("List of image attachments."),metadata:e.record(e.string(),e.object({"@type":e.string().optional()})).optional().describe(`Arbitrary message metadata.
9331
- Can contain structured data depending on message type.`),sender:e.object({isBot:e.boolean().optional(),issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type."),username:e.string().optional().describe("Sender username.")}).optional().describe("Sender user aggregated information."),threadId:e.string().optional().describe("Identifier of the thread the message belongs to."),type:e.number().optional().describe("Message type identifier."),updatedAt:e.string().optional().describe("Message last update timestamp (Unix time, milliseconds).")}).describe(`HistoryMessage represents a single message
9332
- in thread history.`)).optional().describe("List of messages matching the search criteria."),next:e.boolean().optional().describe("Indicates whether more messages are available."),nextCursor:e.object({createdAt:e.string().optional().describe("Message creation timestamp (Unix time, microseconds)."),direction:e.boolean().optional().describe(`Pagination direction.
9333
- true - backward (older messages).
9334
- false - forward (newer messages).`),id:e.string().optional().describe("Unique message identifier.")}).optional().describe("Cursor pointing to the next page of messages."),paging:e.object({cursors:e.object({after:e.object({createdAt:e.string().optional().describe("Message creation timestamp (Unix time, microseconds)."),direction:e.boolean().optional().describe(`Pagination direction.
9335
- true - backward (older messages).
9336
- false - forward (newer messages).`),id:e.string().optional().describe("Unique message identifier.")}).optional().describe("Cursor pointing to the next page of results."),before:e.object({createdAt:e.string().optional().describe("Message creation timestamp (Unix time, microseconds)."),direction:e.boolean().optional().describe(`Pagination direction.
9337
- true - backward (older messages).
9338
- false - forward (newer messages).`),id:e.string().optional().describe("Unique message identifier.")}).optional().describe("Cursor pointing to the previous page of results.")}).optional().describe("Cursor-based pagination information.")}).optional().describe("Detailed paging metadata.")}).describe(`SearchMessageHistoryResponse contains
9331
+ associated with a message.`)).optional().describe("List of image attachments."),metadata:e.looseObject({}).optional().describe(`Arbitrary message metadata.
9332
+ Can contain structured data depending on message type.`),sender:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Sender username."),sub:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type.")}).optional().describe("Sender user aggregated information."),threadId:e.string().optional().describe("Identifier of the thread the message belongs to."),type:e.number().optional().describe("Message type identifier."),updatedAt:e.string().optional().describe("Message last update timestamp (Unix time, milliseconds).")}).describe(`HistoryMessage represents a single message
9333
+ in thread history.`)).optional().describe("List of messages matching the search criteria."),nextCursor:e.object({id:e.string().optional().describe("Unique identifier last message where cursor stopped.")}).optional().describe("Cursor that represents position to get older messages (used without 'before' param)."),prevCursor:e.object({id:e.string().optional().describe("Unique identifier last message where cursor stopped.")}).optional().describe("Cursor that represents position to get newest messages (used with 'before' param).")}).describe(`SearchMessageHistoryResponse contains
9339
9334
  message history search results and pagination metadata.`),e.object({fields:e.array(e.string()).optional().describe(`List of fields that should be returned in the response.
9340
9335
  If empty, a default set of fields is returned.
9341
9336
  Used for response optimization.`),ids:e.array(e.string()).optional().describe("Filter by specific thread IDs."),kinds:e.array(e.enum(["UNKNOWN","DIRECT","GROUP","CHANNEL"])).optional().describe(`Filter threads by their kinds.
@@ -9349,12 +9344,15 @@ Must not be used in valid requests.
9349
9344
  Typically applied to subject.`),size:e.number().optional().describe(`Maximum number of threads to return per page.
9350
9345
  Must be greater than 0 and less than or equal to 100.`),sort:e.string().optional().describe(`Sorting field.
9351
9346
  Optional "+" or "-" prefix indicates ascending or descending order.
9352
- Example: "-created_at", "subject"`),page:e.number().optional().describe("Page number (1-based).")}),e.object({next:e.boolean().optional().describe("Indicates whether there is a next page available."),threads:e.array(e.object({admins:e.array(e.object({issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type."),username:e.string().optional().describe("Participant name.")}).describe(`ExternalParticipant represents aggregated participant information
9353
- present in the thread history response.`)).optional().describe("List of users aggregated information with admin privileges."),createdAt:e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),description:e.string().optional().describe("Optional thread description."),id:e.string().optional().describe("Unique thread identifier."),kind:e.enum(["UNKNOWN","DIRECT","GROUP","CHANNEL"]).default("UNKNOWN").describe("Type of the thread."),memberIds:e.array(e.object({issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type."),username:e.string().optional().describe("Participant name.")}).describe(`ExternalParticipant represents aggregated participant information
9347
+ Example: "-created_at", "subject"`),page:e.number().optional().describe("Page number (1-based).")}),e.object({items:e.array(e.object({admins:e.array(e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Participant name."),sub:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type.")}).describe(`ExternalParticipant represents aggregated participant information
9348
+ present in the thread history response.`)).optional().describe("List of users aggregated information with admin privileges."),createdAt:e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),description:e.string().optional().describe("Optional thread description."),id:e.string().optional().describe("Unique thread identifier."),kind:e.enum(["UNKNOWN","DIRECT","GROUP","CHANNEL"]).default("UNKNOWN").describe("Type of the thread."),lastMsg:e.object({body:e.string().optional().describe("Message body content."),createdAt:e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),documents:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),id:e.string().optional().describe("Document identifier."),messageId:e.string().optional().describe("Identifier of the message this document belongs to."),mime:e.string().optional().describe("MIME type of the document."),name:e.string().optional().describe("Original file name."),size:e.string().optional().describe("File size in bytes."),url:e.string().optional().describe("Public signed URL for downloading the document.")}).describe(`Document represents a file attachment
9349
+ associated with a message.`)).optional().describe("List of document attachments."),id:e.string().optional().describe("Unique message identifier."),images:e.array(e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),fileId:e.string().optional().describe("File storage identifier."),height:e.number().optional().describe("Image height in pixels."),id:e.string().optional().describe("Image identifier."),messageId:e.string().optional().describe("Identifier of the message this message belongs to."),mime:e.string().optional().describe("MIME type of the image."),url:e.string().optional().describe("Public signed URL for accessing the image."),width:e.number().optional().describe("Image width in pixels.")}).describe(`Image represents an image attachment
9350
+ associated with a message.`)).optional().describe("List of image attachments."),metadata:e.looseObject({}).optional().describe(`Arbitrary message metadata.
9351
+ Can contain structured data depending on message type.`),sender:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Sender username."),sub:e.string().optional().describe("Client-readable sender subject or display name."),type:e.string().optional().describe("Sender type.")}).optional().describe("Sender user aggregated information."),threadId:e.string().optional().describe("Identifier of the thread the message belongs to."),type:e.number().optional().describe("Message type identifier."),updatedAt:e.string().optional().describe("Message last update timestamp (Unix time, milliseconds).")}).optional().describe("Last message of the linked thread."),memberIds:e.array(e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Participant name."),sub:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type.")}).describe(`ExternalParticipant represents aggregated participant information
9354
9352
  present in the thread history response.`)).optional().describe("List of member users aggregated information."),members:e.array(e.object({directSettings:e.object({createdAt:e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),domainId:e.number().optional().describe("Domain identifier."),id:e.string().optional().describe("Settings identifier."),title:e.string().optional().describe(`Custom title for the direct thread.
9355
9353
  Usually represents the display name of the conversation.`),updatedAt:e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")}).optional().describe(`Direct thread specific settings.
9356
- Present only for DIRECT threads.`),member:e.object({issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type."),username:e.string().optional().describe("Participant name.")}).optional().describe("User aggregated information.")}).describe(`ThreadMember represents a thread participant
9357
- with optional type-specific settings.`)).optional().describe("Detailed member information."),owner:e.object({issuer:e.string().optional().describe("Client issuer for the sender."),subject:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type."),username:e.string().optional().describe("Participant name.")}).optional().describe("Aggregated user information of the thread owner."),subject:e.string().optional().describe("Thread subject or title."),updatedAt:e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")}).describe("Thread represents a thread (aka chat or conversation) entity.")).optional().describe("List of threads matching the search criteria.")}).describe(`SearchThreadResponse contains the list of threads
9354
+ Present only for DIRECT threads.`),member:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Participant name."),sub:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type.")}).optional().describe("User aggregated information.")}).describe(`ThreadMember represents a thread participant
9355
+ with optional type-specific settings.`)).optional().describe("Detailed member information."),owner:e.object({isBot:e.boolean().optional().describe("Represents if user is automation bot or actual user of system."),iss:e.string().optional().describe("Client issuer for the sender."),name:e.string().optional().describe("Participant name."),sub:e.string().optional().describe("Client-readable participant subject or display name."),type:e.string().optional().describe("Participant type.")}).optional().describe("Aggregated user information of the thread owner."),subject:e.string().optional().describe("Thread subject or title."),updatedAt:e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")}).describe("Thread represents a thread (aka chat or conversation) entity.")).optional().describe("List of threads matching the search criteria."),next:e.boolean().optional().describe("Indicates whether there is a next page available.")}).describe(`SearchThreadResponse contains the list of threads
9358
9356
  and pagination metadata.`),e.object({document:e.object({body:e.string().optional(),documents:e.array(e.object({fileName:e.string().optional(),id:e.string().optional(),mimeType:e.string().optional(),sizeBytes:e.string().optional(),url:e.string().optional()}).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional()}).optional(),domainId:e.string().optional(),from:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9359
9357
  It can be a user, chat, or channel.`),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9360
9358
  It can be a user, chat, or channel.`)}).describe("Represents a request to send a message with document."),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
@@ -9364,7 +9362,7 @@ It can be a user, chat, or channel.`)}).describe("Represents a request to send a
9364
9362
  It can be a user, chat, or channel.`)}).describe("Represents a response to send message with image."),e.object({body:e.string().optional(),domainId:e.string().optional(),from:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9365
9363
  It can be a user, chat, or channel.`),sendId:e.string().optional(),to:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9366
9364
  It can be a user, chat, or channel.`)}),e.object({id:e.string().optional(),to:e.object({channelId:e.string().optional(),contactId:e.string().optional(),groupId:e.string().optional(),identity:e.object({issuer:e.string().optional(),name:e.string().optional()}).optional(),threadId:e.string().optional()}).optional().describe(`Represents a peer in the messaging system.
9367
- It can be a user, chat, or channel.`)}).describe("Represents a response to send a text message."),e.object({id_1:e.string()}),e.object({userId:e.string().optional(),threadId:e.string().optional(),domainId:e.number().optional()}),e.looseObject({}),e.object({thread_id:e.string()}),e.object({fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),senderIds:e.array(e.string()).optional(),types:e.array(e.number()).optional(),domainId:e.number().optional(),cursorCreatedAt:e.string().optional(),cursorId:e.string().optional(),cursorDirection:e.boolean().optional(),size:e.number().optional()}),e.object({from:e.array(e.string()).optional(),messages:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.record(e.string(),e.object({"@type":e.string().optional()})).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),next:e.boolean().optional(),nextCursor:e.object({createdAt:e.string().optional(),direction:e.boolean().optional(),id:e.string().optional()}).optional(),paging:e.object({cursors:e.object({after:e.object({createdAt:e.string().optional(),direction:e.boolean().optional(),id:e.string().optional()}).optional(),before:e.object({createdAt:e.string().optional(),direction:e.boolean().optional(),id:e.string().optional()}).optional()}).optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...ID("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...ID("/users")};const uje=Ct(),SD=async({path:o,display:n,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=hi(r,[G2(tD()),jD("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),wD(l),r9(),yD(o)]);try{const c=await uje.get(s),{data:d,items:p,next:u}=hi(c.data,[G2(eD())]);return{items:hi(d||p,[])??[],next:u}}catch(c){throw hi(c,[s9])}},gje={getList:SD,getLookup:o=>SD({...o,fields:o.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const fje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const n=a.useModel(o,"modelValue"),i=o,{t:r}=ti(),l=a.computed(()=>r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required||i.field.required),c=a.computed(()=>n.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=y=>{n.value=y},f=({path:y,display:k,primary:w})=>C=>gje.getSysTypeRecordsLookup({...C,path:y,display:k,primary:w}),h=y=>{if(Object.values(y).length===0)return g(null);g({id:y.id,name:y.name})},m=y=>{g(y.map(k=>({id:k.id,name:k.name})))};return(y,k)=>{const w=a.resolveComponent("wt-input-text"),C=a.resolveComponent("wt-input-number");return o.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(w,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(C,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Boolean?a.renderSlot(y.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(Jv),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):o.field.kind===a.unref(ki).Select?a.renderSlot(y.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(rf),a.mergeProps(d.value,{value:c.value,"search-method":f(o.field.lookup),"track-by":"id",clearable:"",onInput:h}),null,16,["value","search-method"])]):o.field.kind===a.unref(ki).Multiselect?a.renderSlot(y.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(rf),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:m}),null,16,["value"])]):o.field.kind===a.unref(ki).Calendar?a.renderSlot(y.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(OC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(n){super(n.reason),this.code=n.code,this.line=n.line}}const TD=/\r?\n|\r/gm;class hje{writable;readable;constructor(n){const i=new mje(n);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class mje{a="";b;onLine;onClose;constructor(n){this.b=new TextDecoder(n)}transform(n){this.a+=this.b.decode(n,{stream:!0});const i=this.a.split(TD);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function bje(o,n){const i=new ReadableStream({start(r){const l=o.split(TD);for(const s of l)r.enqueue(s);r.close()}});return l9(i,n)}async function l9(o,n){const i=n?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>uIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>fIe)).default;break;default:r=(await Promise.resolve().then(function(){return Pje})).default}else r=i;let l;const s=o.getReader(),c=r(),d=!!n?.strict||!!n?.errors;await c.init({strict:!1,...n,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function yje(o,n){const i=await o;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return ED(i.body,{type:l,encoding:s,...n})}async function ED(o,{encoding:n="utf-8",...i}={}){const r=o.pipeThrough(new hje(n));return l9(r,i)}class AD extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(n,i,r){super(),this.startTime=n,this.endTime=i,this.text=r}addEventListener(n,i,r){super.addEventListener(n,i,r)}removeEventListener(n,i,r){super.removeEventListener(n,i,r)}}const c9=typeof document>"u",vje=c9?AD:window.VTTCue;class K2 extends vje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class OD{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const DD=",",Cje="%";function wje(o){const n=parseInt(o,10);return Number.isNaN(n)?null:n}function Hd(o){const n=parseInt(o.replace(Cje,""),10);return!Number.isNaN(n)&&n>=0&&n<=100?n:null}function LD(o){if(!o.includes(DD))return null;const[n,i]=o.split(DD).map(Hd);return n!==null&&i!==null?[n,i]:null}function kje(o){const n=parseFloat(o);return Number.isNaN(n)?null:n}const jje="WEBVTT",RD=",",xje="%",ml=/[:=]/,Ije=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Sje="NOTE",Tje="REGION",Eje=/^REGION:?[\s\t]+/,zd=/[\s\t]+/,Aje="-->",Oje=/[\s\t]*-->[\s\t]+/,Dje=/start|center|end|left|right/,Lje=/start|center|end/,Rje=/line-(?:left|right)|center|auto/,_je=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Zd=(o=>(o[o.None=0]="None",o[o.Header=1]="Header",o[o.Cue=2]="Cue",o[o.Region=3]="Region",o[o.Note=4]="Note",o))(Zd||{});class d9{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(n){this.h=n,n.strict&&(this.e=1),n.errors&&(this.f=(await Promise.resolve().then(()=>lL)).ParseErrorBuilder)}parse(n,i){if(n==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(n,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(n,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&Ije.test(n)?this.o(n.split(zd),i):this.c.text+=(r?`
9365
+ It can be a user, chat, or channel.`)}).describe("Represents a response to send a text message."),e.object({id_1:e.string()}),e.object({userId:e.string().optional(),threadId:e.string().optional(),domainId:e.number().optional()}),e.looseObject({}),e.object({thread_id_1:e.string()}),e.object({fields:e.array(e.string()).optional(),ids:e.array(e.string()).optional(),senderIds:e.array(e.string()).optional(),types:e.array(e.number()).optional(),domainId:e.number().optional(),cursorId:e.string().optional(),cursorBefore:e.boolean().optional(),size:e.number().optional()}),e.object({from:e.array(e.string()).optional(),items:e.array(e.object({body:e.string().optional(),createdAt:e.string().optional(),documents:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),name:e.string().optional(),size:e.string().optional(),url:e.string().optional()})).optional(),id:e.string().optional(),images:e.array(e.object({createdAt:e.string().optional(),fileId:e.string().optional(),height:e.number().optional(),id:e.string().optional(),messageId:e.string().optional(),mime:e.string().optional(),url:e.string().optional(),width:e.number().optional()})).optional(),metadata:e.looseObject({}).optional(),senderId:e.string().optional(),threadId:e.string().optional(),type:e.number().optional(),updatedAt:e.string().optional()})).optional(),nextCursor:e.object({id:e.string().optional()}).optional(),prevCursor:e.object({id:e.string().optional()}).optional()}),e.object({page:e.number().optional(),size:e.number().optional(),q:e.string().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({item:e.object({createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),daysOff:e.number().optional(),description:e.string().optional(),domainId:e.string().optional(),id:e.string().optional(),name:e.string().optional(),pauseDuration:e.number().optional(),pauseTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),shiftTemplate:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),sickLeaves:e.number().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),vacation:e.number().optional(),workdayHours:e.number().optional(),workdaysPerMonth:e.number().optional()}).optional()}),e.object({q:e.string().optional(),page:e.number().optional(),size:e.number().optional(),sort:e.string().optional(),fields:e.array(e.string()).optional()}),e.object({items:e.array(e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()})).optional(),next:e.boolean().optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({fields:e.array(e.string()).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({id:e.string()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional()}),e.object({id:e.string(),agent_id:e.string()}),e.object({id:e.string().optional()}),e.object({id:e.string()}),e.object({dateFrom:e.string().optional(),dateTo:e.string().optional()}),e.object({items:e.record(e.string(),e.object({forecast:e.array(e.object({agents:e.string().optional(),hour:e.string().optional()})).optional()})).optional()}),e.object({"item.id":e.string()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),e.object({item:e.object({agents:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),blockOutsideActivity:e.boolean().optional(),calendar:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),createdAt:e.string().optional(),createdBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),domainId:e.string().optional(),endDateAt:e.string().optional(),endTimeAt:e.string().optional(),extraSkills:e.array(e.object({id:e.string().optional(),name:e.string().optional()})).optional(),id:e.string().optional(),name:e.string().optional(),startDateAt:e.string().optional(),startTimeAt:e.string().optional(),state:e.enum(["WORKING_SCHEDULE_STATE_UNSPECIFIED","WORKING_SCHEDULE_STATE_ACTIVE","WORKING_SCHEDULE_STATE_PENDING","WORKING_SCHEDULE_STATE_DRAFT","WORKING_SCHEDULE_STATE_ARCHIVED"]).default("WORKING_SCHEDULE_STATE_UNSPECIFIED"),team:e.object({id:e.string().optional(),name:e.string().optional()}).optional(),totalAgents:e.string().optional(),updatedAt:e.string().optional(),updatedBy:e.object({id:e.string().optional(),name:e.string().optional()}).optional()}).optional()}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),{...ID("/contacts/groups")},Ct(),_t(),Ct(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),localStorage.getItem("access-token"),Xt.create({headers:{"content-type":"multipart/form-data"}}),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),_t(),Ct(),{...ID("/users")};const uje=Ct(),SD=async({path:o,display:n,primary:i,...r})=>{const l=["page","size","q","sort","fields","id","ids"],s=hi(r,[G2(tD()),jD("search"),c=>({...c,q:c.search}),c=>({...c,ids:c.id}),wD(l),r9(),yD(o)]);try{const c=await uje.get(s),{data:d,items:p,next:u}=hi(c.data,[G2(eD())]);return{items:hi(d||p,[])??[],next:u}}catch(c){throw hi(c,[s9])}},gje={getList:SD,getLookup:o=>SD({...o,fields:o.fields||["id","name"]})};Ct(),_t(),Ct(),_t(),Ct(),_t();const fje=Object.freeze(Object.defineProperty({__proto__:null,default:a.defineComponent({__name:"wt-type-extension-value-input",props:a.mergeModels({field:{},required:{type:Boolean},v:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const n=a.useModel(o,"modelValue"),i=o,{t:r}=ti(),l=a.computed(()=>r(i.field?.name||"vocabulary.labels")),s=a.computed(()=>i.required||i.field.required),c=a.computed(()=>n.value),d=a.computed(()=>({label:l.value,required:s.value,v:i.v})),p=a.computed(()=>({clearable:!0,trackBy:"id",searchMethod:()=>f(i.field.lookup)})),u=a.computed(()=>({...p.value,multiple:!0})),g=y=>{n.value=y},f=({path:y,display:k,primary:w})=>C=>gje.getSysTypeRecordsLookup({...C,path:y,display:k,primary:w}),h=y=>{if(Object.values(y).length===0)return g(null);g({id:y.id,name:y.name})},m=y=>{g(y.map(k=>({id:k.id,name:k.name})))};return(y,k)=>{const w=a.resolveComponent("wt-input-text"),C=a.resolveComponent("wt-input-number");return o.field.kind===a.unref(ki).Text?(a.openBlock(),a.createBlock(w,a.mergeProps({key:0},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Number?(a.openBlock(),a.createBlock(C,a.mergeProps({key:1},d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])):o.field.kind===a.unref(ki).Boolean?a.renderSlot(y.$slots,a.unref(ki).Boolean,{key:2,defaultProps:{...d.value}},()=>[a.createVNode(a.unref(Jv),a.mergeProps(d.value,{"model-value":c.value,"onUpdate:modelValue":g}),null,16,["model-value"])]):o.field.kind===a.unref(ki).Select?a.renderSlot(y.$slots,a.unref(ki).Select,{key:3,defaultProps:{...d.value,...p.value,value:c.value}},()=>[a.createVNode(a.unref(rf),a.mergeProps(d.value,{value:c.value,"search-method":f(o.field.lookup),"track-by":"id",clearable:"",onInput:h}),null,16,["value","search-method"])]):o.field.kind===a.unref(ki).Multiselect?a.renderSlot(y.$slots,a.unref(ki).Multiselect,{key:4,defaultProps:{...d.value,...u.value,value:c.value}},()=>[a.createVNode(a.unref(rf),a.mergeProps({...d.value,...u.value},{value:c.value,onInput:m}),null,16,["value"])]):o.field.kind===a.unref(ki).Calendar?a.renderSlot(y.$slots,a.unref(ki).Calendar,{key:5,defaultProps:{...d.value,value:c.value}},()=>[a.createVNode(a.unref(OC),a.mergeProps(d.value,{value:c.value,mode:"datetime",onInput:g}),null,16,["value"])]):a.createCommentVNode("",!0)}}})},Symbol.toStringTag,{value:"Module"})),Yi={LoadFail:0,BadSignature:1,BadTimestamp:2,BadSettingValue:3,BadFormat:4,UnknownSetting:5};class Xi extends Error{code;line;constructor(n){super(n.reason),this.code=n.code,this.line=n.line}}const TD=/\r?\n|\r/gm;class hje{writable;readable;constructor(n){const i=new mje(n);this.writable=new WritableStream({write(r){i.transform(r)},close(){i.close()}}),this.readable=new ReadableStream({start(r){i.onLine=l=>r.enqueue(l),i.onClose=()=>r.close()}})}}class mje{a="";b;onLine;onClose;constructor(n){this.b=new TextDecoder(n)}transform(n){this.a+=this.b.decode(n,{stream:!0});const i=this.a.split(TD);this.a=i.pop()||"";for(let r=0;r<i.length;r++)this.onLine(i[r].trim())}close(){this.a&&this.onLine(this.a.trim()),this.a="",this.onClose()}}async function bje(o,n){const i=new ReadableStream({start(r){const l=o.split(TD);for(const s of l)r.enqueue(s);r.close()}});return l9(i,n)}async function l9(o,n){const i=n?.type??"vtt";let r;if(typeof i=="string")switch(i){case"srt":r=(await Promise.resolve().then(()=>uIe)).default;break;case"ssa":case"ass":r=(await Promise.resolve().then(()=>fIe)).default;break;default:r=(await Promise.resolve().then(function(){return Pje})).default}else r=i;let l;const s=o.getReader(),c=r(),d=!!n?.strict||!!n?.errors;await c.init({strict:!1,...n,errors:d,type:i,cancel(){s.cancel(),l=c.done(!0)}});let p=1;for(;;){const{value:u,done:g}=await s.read();if(g){c.parse("",p),l=c.done(!1);break}c.parse(u,p),p++}return l}async function yje(o,n){const i=await o;if(!i.ok||!i.body)return{metadata:{},cues:[],regions:[],errors:[void 0]};const r=i.headers.get("content-type")||"",l=r.match(/text\/(.*?)(?:;|$)/)?.[1],s=r.match(/charset=(.*?)(?:;|$)/)?.[1];return ED(i.body,{type:l,encoding:s,...n})}async function ED(o,{encoding:n="utf-8",...i}={}){const r=o.pipeThrough(new hje(n));return l9(r,i)}class AD extends EventTarget{id="";startTime;endTime;text;pauseOnExit=!1;constructor(n,i,r){super(),this.startTime=n,this.endTime=i,this.text=r}addEventListener(n,i,r){super.addEventListener(n,i,r)}removeEventListener(n,i,r){super.removeEventListener(n,i,r)}}const c9=typeof document>"u",vje=c9?AD:window.VTTCue;class K2 extends vje{region=null;vertical="";snapToLines=!0;line="auto";lineAlign="start";position="auto";positionAlign="auto";size=100;align="center";style}class OD{id="";width=100;lines=3;regionAnchorX=0;regionAnchorY=100;viewportAnchorX=0;viewportAnchorY=100;scroll=""}const DD=",",Cje="%";function wje(o){const n=parseInt(o,10);return Number.isNaN(n)?null:n}function Hd(o){const n=parseInt(o.replace(Cje,""),10);return!Number.isNaN(n)&&n>=0&&n<=100?n:null}function LD(o){if(!o.includes(DD))return null;const[n,i]=o.split(DD).map(Hd);return n!==null&&i!==null?[n,i]:null}function kje(o){const n=parseFloat(o);return Number.isNaN(n)?null:n}const jje="WEBVTT",RD=",",xje="%",ml=/[:=]/,Ije=/^[\s\t]*(region|vertical|line|position|size|align)[:=]/,Sje="NOTE",Tje="REGION",Eje=/^REGION:?[\s\t]+/,zd=/[\s\t]+/,Aje="-->",Oje=/[\s\t]*-->[\s\t]+/,Dje=/start|center|end|left|right/,Lje=/start|center|end/,Rje=/line-(?:left|right)|center|auto/,_je=/^(?:(\d{1,2}):)?(\d{2}):(\d{2})(?:\.(\d{1,3}))?$/;var Zd=(o=>(o[o.None=0]="None",o[o.Header=1]="Header",o[o.Cue=2]="Cue",o[o.Region=3]="Region",o[o.Note=4]="Note",o))(Zd||{});class d9{h;e=0;i={};j={};l=[];c=null;d=null;m=[];f;n="";async init(n){this.h=n,n.strict&&(this.e=1),n.errors&&(this.f=(await Promise.resolve().then(()=>lL)).ParseErrorBuilder)}parse(n,i){if(n==="")this.c?(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null):this.d?(this.j[this.d.id]=this.d,this.h.onRegion?.(this.d),this.d=null):this.e===1&&(this.k(n,i),this.h.onHeaderMetadata?.(this.i)),this.e=0;else if(this.e)switch(this.e){case 1:this.k(n,i);break;case 2:if(this.c){const r=this.c.text.length>0;!r&&Ije.test(n)?this.o(n.split(zd),i):this.c.text+=(r?`
9368
9366
  `:"")+n}break;case 3:this.p(n.split(zd),i);break}else if(n.startsWith(Sje))this.e=4;else if(n.startsWith(Tje))this.e=3,this.d=new OD,this.p(n.replace(Eje,"").split(zd),i);else if(n.includes(Aje)){const r=this.q(n,i);r&&(this.c=new K2(r[0],r[1],""),this.c.id=this.n,this.o(r[2],i)),this.e=2}else i===1&&this.k(n,i);this.n=n}done(){return{metadata:this.i,cues:this.l,regions:Object.values(this.j),errors:this.m}}k(n,i){if(i>1){if(ml.test(n)){const[r,l]=n.split(ml);r&&(this.i[r]=(l||"").replace(zd,""))}}else n.startsWith(jje)?this.e=1:this.g(this.f?.r())}q(n,i){const[r,l=""]=n.split(Oje),[s,...c]=l.split(zd),d=cs(r),p=cs(s);if(d!==null&&p!==null&&p>d)return[d,p,c];d===null&&this.g(this.f?.s(r,i)),p===null&&this.g(this.f?.t(s,i)),d!=null&&p!==null&&p>d&&this.g(this.f?.u(d,p,i))}p(n,i){let r;for(let l=0;l<n.length;l++)if(ml.test(n[l])){r=!1;const[s,c]=n[l].split(ml);switch(s){case"id":this.d.id=c;break;case"width":const d=Hd(c);d!==null?this.d.width=d:r=!0;break;case"lines":const p=wje(c);p!==null?this.d.lines=p:r=!0;break;case"regionanchor":const u=LD(c);u!==null?(this.d.regionAnchorX=u[0],this.d.regionAnchorY=u[1]):r=!0;break;case"viewportanchor":const g=LD(c);g!==null?(this.d.viewportAnchorX=g[0],this.d.viewportAnchorY=g[1]):r=!0;break;case"scroll":c==="up"?this.d.scroll="up":r=!0;break;default:this.g(this.f?.v(s,c,i))}r&&this.g(this.f?.w(s,c,i))}}o(n,i){let r;for(let l=0;l<n.length;l++)if(r=!1,ml.test(n[l])){const[s,c]=n[l].split(ml);switch(s){case"region":const d=this.j[c];d&&(this.c.region=d);break;case"vertical":c==="lr"||c==="rl"?(this.c.vertical=c,this.c.region=null):r=!0;break;case"line":const[p,u]=c.split(RD);if(p.includes(xje)){const y=Hd(p);y!==null?(this.c.line=y,this.c.snapToLines=!1):r=!0}else{const y=kje(p);y!==null?this.c.line=y:r=!0}Lje.test(u)?this.c.lineAlign=u:u&&(r=!0),this.c.line!=="auto"&&(this.c.region=null);break;case"position":const[g,f]=c.split(RD),h=Hd(g);h!==null?this.c.position=h:r=!0,f&&Rje.test(f)?this.c.positionAlign=f:f&&(r=!0);break;case"size":const m=Hd(c);m!==null?(this.c.size=m,m<100&&(this.c.region=null)):r=!0;break;case"align":Dje.test(c)?this.c.align=c:r=!0;break;default:this.g(this.f?.x(s,c,i))}r&&this.g(this.f?.y(s,c,i))}}g(n){if(n){if(this.m.push(n),this.h.strict)throw this.h.cancel(),n;this.h.onError?.(n)}}}function cs(o){const n=o.match(_je);if(!n)return null;const i=n[1]?parseInt(n[1],10):0,r=parseInt(n[2],10),l=parseInt(n[3],10),s=n[4]?parseInt(n[4].padEnd(3,"0"),10):0,c=i*3600+r*60+l+s/1e3;return i<0||r<0||l<0||s<0||r>59||l>59?null:c}function Bje(){return new d9}var Pje=Object.freeze({__proto__:null,VTTBlock:Zd,VTTParser:d9,default:Bje,parseVTTTimestamp:cs});const $je=/[0-9]/,Mje=/[\s\t]+/,_D={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span",timestamp:"span"},Nje={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&lrm;":"‎","&rlm;":"‏"},Fje=/&(?:amp|lt|gt|quot|#(0+)?39|nbsp|lrm|rlm);/g,qje=new Set(["white","lime","cyan","red","yellow","magenta","blue","black"]),Uje=new Set(Object.keys(_D));function BD(o){let n="",i=1,r=[],l=[],s;for(let u=0;u<o.text.length;u++){const g=o.text[u];switch(i){case 1:g==="<"?(p(),i=2):n+=g;break;case 2:switch(g){case`
9369
9367
  `:case" ":case" ":c(),i=4;break;case".":c(),i=3;break;case"/":i=5;break;case">":c(),i=1;break;default:!n&&$je.test(g)&&(i=6),n+=g;break}break;case 3:switch(g){case" ":case" ":case`
9370
9368
  `:d(),s&&s.class?.trim(),i=4;break;case".":d();break;case">":d(),s&&s.class?.trim(),i=1;break;default:n+=g}break;case 4:g===">"?(n=n.replace(Mje," "),s?.type==="v"?s.voice=p9(n):s?.type==="lang"&&(s.lang=p9(n)),n="",i=1):n+=g;break;case 5:g===">"&&(n="",s=l.pop(),i=1);break;case 6:if(g===">"){const f=cs(n);f!==null&&f>=o.startTime&&f<=o.endTime&&(n="timestamp",c(),s.time=f),n="",i=1}else n+=g;break}}function c(){if(Uje.has(n)){const u=s;s=Hje(n),u?(l[l.length-1]!==u&&l.push(u),u.children.push(s)):r.push(s)}n="",i=1}function d(){if(s&&n){const u=n.replace("bg_","");qje.has(u)?s[n.startsWith("bg_")?"bgColor":"color"]=u:s.class=s.class?s.class+" "+n:n}n=""}function p(){if(!n)return;const u={type:"text",data:p9(n)};s?s.children.push(u):r.push(u),n=""}return i===1&&p(),r}function Hje(o){return{tagName:_D[o],type:o,children:[]}}function p9(o){return o.replace(Fje,n=>Nje[n]||"'")}function no(o,n,i){o.style.setProperty(`--${n}`,i+"")}function ra(o,n,i=!0){o.setAttribute(`data-${n}`,i===!0?"":i+"")}function W2(o,n){o.setAttribute("data-part",n)}function zje(o){return parseFloat(getComputedStyle(o).lineHeight)||0}function Zje(o){if(c9)throw Error("[media-captions] called `createVTTCueTemplate` on the server - use `renderVTTCueString`");const n=document.createElement("template");return n.innerHTML=u9(o),{cue:o,content:n.content}}function u9(o,n=0){return g9(BD(o),n)}function g9(o,n=0){let i,r="";for(const l of o)if(l.type==="text")r+=l.data;else{const s=l.type==="timestamp";i={},i.class=l.class,i.title=l.type==="v"&&l.voice,i.lang=l.type==="lang"&&l.lang,i["data-part"]=l.type==="v"&&"voice",s&&(i["data-part"]="timed",i["data-time"]=l.time,i["data-future"]=l.time>n,i["data-past"]=l.time<n),i.style=`${l.color?`color: ${l.color};`:""}${l.bgColor?`background-color: ${l.bgColor};`:""}`;const c=Object.entries(i).filter(d=>d[1]).map(d=>`${d[0]}="${d[1]===!0?"":d[1]}"`).join(" ");r+=`<${l.tagName}${c?" "+c:""}>${g9(l.children)}</${l.tagName}>`}return r}function PD(o,n){if(!c9)for(const i of o.querySelectorAll('[data-part="timed"]')){const r=Number(i.getAttribute("data-time"));Number.isNaN(r)||(r>n?ra(i,"future"):i.removeAttribute("data-future"),r<n?ra(i,"past"):i.removeAttribute("data-past"))}}function Gje(o,n){let i=null,r;function l(){s(),o(...r),r=void 0}function s(){clearTimeout(i),i=null}function c(){r=[].slice.call(arguments),s(),i=setTimeout(l,n)}return c}const aa=Symbol(0);function f9(o){return o instanceof HTMLElement?{top:o.offsetTop,width:o.clientWidth,height:o.clientHeight,left:o.offsetLeft,right:o.offsetLeft+o.clientWidth,bottom:o.offsetTop+o.clientHeight}:{...o}}function Y2(o,n,i){switch(n){case"+x":o.left+=i,o.right+=i;break;case"-x":o.left-=i,o.right-=i;break;case"+y":o.top+=i,o.bottom+=i;break;case"-y":o.top-=i,o.bottom-=i;break}}function Kje(o,n){return o.left<=n.right&&o.right>=n.left&&o.top<=n.bottom&&o.bottom>=n.top}function Wje(o,n){for(let i=0;i<n.length;i++)if(Kje(o,n[i]))return n[i];return null}function $D(o,n){return n.top>=0&&n.bottom<=o.height&&n.left>=0&&n.right<=o.width}function Yje(o,n,i){switch(i){case"+x":return n.left<0;case"-x":return n.right>o.width;case"+y":return n.top<0;case"-y":return n.bottom>o.height}}function Xje(o,n){const i=Math.max(0,Math.min(o.width,n.right)-Math.max(0,n.left)),r=Math.max(0,Math.min(o.height,n.bottom)-Math.max(0,n.top));return i*r/(o.height*o.width)}function h9(o,n){return{top:n.top/o.height,left:n.left/o.width,right:(o.width-n.right)/o.width,bottom:(o.height-n.bottom)/o.height}}function MD(o,n){return n.top=n.top*o.height,n.left=n.left*o.width,n.right=o.width-n.right*o.width,n.bottom=o.height-n.bottom*o.height,n}const ND=["top","left","right","bottom"];function FD(o,n,i,r){const l=h9(n,i);for(const s of ND)no(o,`${r}-${s}`,l[s]*100+"%")}function qD(o,n,i,r){let l=1,s,c={...n};for(let d=0;d<r.length;d++){for(;Yje(o,n,r[d])||$D(o,n)&&Wje(n,i);)Y2(n,r[d],1);if($D(o,n))return n;const p=Xje(o,n);l>p&&(s={...n},l=p),n={...c}}return s||c}const Gd=Symbol(0);function Qje(o,n,i,r){let l=i.firstElementChild,s=exe(n),c,d=[];if(i[aa]||(i[aa]=Jje(o,i)),c=MD(o,{...i[aa]}),i[Gd])d=[i[Gd]==="top"?"+y":"-y","+x","-x"];else if(n.snapToLines){let p;switch(n.vertical){case"":d=["+y","-y"],p="height";break;case"rl":d=["+x","-x"],p="width";break;case"lr":d=["-x","+x"],p="width";break}let u=zje(l),g=u*Math.round(s),f=o[p]+u,h=d[0];Math.abs(g)>f&&(g=g<0?-1:1,g*=Math.ceil(f/u)*u),s<0&&(g+=n.vertical===""?o.height:o.width,d=d.reverse()),Y2(c,h,g)}else{const p=n.vertical==="",u=p?"+y":"+x",g=p?c.height:c.width;Y2(c,u,(p?o.height:o.width)*s/100),Y2(c,u,n.lineAlign==="center"?g/2:n.lineAlign==="end"?g:0),d=p?["-y","+y","-x","+x"]:["-x","+x","-y","+y"]}return c=qD(o,c,r,d),FD(i,o,c,"cue"),c}function Jje(o,n){const i=f9(n),r=Vje(n);if(n[Gd]=!1,r.top&&(i.top=r.top,i.bottom=r.top+i.height,n[Gd]="top"),r.bottom){const l=o.height-r.bottom;i.top=l-i.height,i.bottom=l,n[Gd]="bottom"}return r.left&&(i.left=r.left),r.right&&(i.right=o.width-r.right),h9(o,i)}function Vje(o){const n={};for(const i of ND)n[i]=parseFloat(o.style.getPropertyValue(`--cue-${i}`));return n}function exe(o){return o.line==="auto"?o.snapToLines?-1:100:o.line}function txe(o){if(o.position==="auto")switch(o.align){case"start":case"left":return 0;case"right":case"end":return 100;default:return 50}return o.position}function nxe(o,n){if(o.positionAlign==="auto")switch(o.align){case"start":return n==="ltr"?"line-left":"line-right";case"end":return n==="ltr"?"line-right":"line-left";case"center":return"center";default:return`line-${o.align}`}return o.positionAlign}const oxe=["-y","+y","-x","+x"];function ixe(o,n,i,r){let l=Array.from(i.querySelectorAll('[data-part="cue-display"]')),s=0,c=Math.max(0,l.length-n.lines);for(let p=l.length-1;p>=c;p--)s+=l[p].offsetHeight;no(i,"region-height",s+"px"),i[aa]||(i[aa]=h9(o,f9(i)));let d={...i[aa]};return d=MD(o,d),d.width=i.clientWidth,d.height=s,d.right=d.left+d.width,d.bottom=d.top+s,d=qD(o,d,r,oxe),FD(i,o,d,"region"),d}class rxe{overlay;z;A=0;C="ltr";B=[];D=!1;E;j=new Map;l=new Map;get dir(){return this.C}set dir(n){this.C=n,ra(this.overlay,"dir",n)}get currentTime(){return this.A}set currentTime(n){this.A=n,this.update()}constructor(n,i){this.overlay=n,this.dir=i?.dir??"ltr",n.setAttribute("translate","yes"),n.setAttribute("aria-live","off"),n.setAttribute("aria-atomic","true"),W2(n,"captions"),this.G(),this.E=new ResizeObserver(this.I.bind(this)),this.E.observe(n)}changeTrack({regions:n,cues:i}){this.reset(),this.J(n);for(const r of i)this.l.set(r,null);this.update()}addCue(n){this.l.set(n,null),this.update()}removeCue(n){this.l.delete(n),this.update()}update(n=!1){this.H(n)}reset(){this.l.clear(),this.j.clear(),this.B=[],this.overlay.textContent=""}destroy(){this.reset(),this.E.disconnect()}I(){this.D=!0,this.K()}K=Gje(()=>{this.D=!1,this.G();for(const n of this.j.values())n[aa]=null;for(const n of this.l.values())n&&(n[aa]=null);this.H(!0)},50);G(){this.z=f9(this.overlay),no(this.overlay,"overlay-width",this.z.width+"px"),no(this.overlay,"overlay-height",this.z.height+"px")}H(n=!1){if(!this.l.size||this.D)return;let i,r=[...this.l.keys()].filter(s=>this.A>=s.startTime&&this.A<=s.endTime).sort((s,c)=>s.startTime!==c.startTime?s.startTime-c.startTime:s.endTime-c.endTime),l=r.map(s=>s.region);for(let s=0;s<this.B.length;s++){if(i=this.B[s],r[s]===i)continue;if(i.region&&!l.includes(i.region)){const d=this.j.get(i.region.id);d&&(d.removeAttribute("data-active"),n=!0)}const c=this.l.get(i);c&&(c.remove(),n=!0)}for(let s=0;s<r.length;s++){i=r[s];let c=this.l.get(i);c||this.l.set(i,c=this.L(i));const d=this.F(i)&&this.j.get(i.region.id);d&&!d.hasAttribute("data-active")&&(requestAnimationFrame(()=>ra(d,"active")),n=!0),c.isConnected||((d||this.overlay).append(c),n=!0)}if(n){const s=[],c=new Set;for(let d=r.length-1;d>=0;d--){if(i=r[d],c.has(i.region||i))continue;const p=this.F(i),u=p?this.j.get(i.region.id):this.l.get(i);p?s.push(ixe(this.z,i.region,u,s)):s.push(Qje(this.z,i,u,s)),c.add(p?i.region:i)}}PD(this.overlay,this.A),this.B=r}J(n){if(n)for(const i of n){const r=this.M(i);this.j.set(i.id,r),this.overlay.append(r)}}M(n){const i=document.createElement("div");return W2(i,"region"),ra(i,"id",n.id),ra(i,"scroll",n.scroll),no(i,"region-width",n.width+"%"),no(i,"region-anchor-x",n.regionAnchorX),no(i,"region-anchor-y",n.regionAnchorY),no(i,"region-viewport-anchor-x",n.viewportAnchorX),no(i,"region-viewport-anchor-y",n.viewportAnchorY),no(i,"region-lines",n.lines),i}L(n){const i=document.createElement("div"),r=txe(n),l=nxe(n,this.C);if(W2(i,"cue-display"),n.vertical!==""&&ra(i,"vertical"),no(i,"cue-text-align",n.align),n.style)for(const c of Object.keys(n.style))i.style.setProperty(c,n.style[c]);if(this.F(n))no(i,"cue-offset",`${r-(l==="line-right"?100:l==="center"?50:0)}%`);else if(no(i,"cue-writing-mode",n.vertical===""?"horizontal-tb":n.vertical==="lr"?"vertical-lr":"vertical-rl"),!n.style?.["--cue-width"]){let c=r;l==="line-left"?c=100-r:l==="center"&&r<=50?c=r*2:l==="center"&&r>50&&(c=(100-r)*2);const d=n.size<c?n.size:c;n.vertical===""?no(i,"cue-width",d+"%"):no(i,"cue-height",d+"%")}const s=document.createElement("div");return W2(s,"cue"),n.id&&ra(s,"id",n.id),s.innerHTML=u9(n),i.append(s),i}F(n){return n.region&&n.size===100&&n.vertical===""&&n.line==="auto"}}const X2=Object.freeze(Object.defineProperty({__proto__:null,CaptionsRenderer:rxe,ParseError:Xi,ParseErrorCode:Yi,TextCue:AD,VTTCue:K2,VTTRegion:OD,createVTTCueTemplate:Zje,parseByteStream:ED,parseResponse:yje,parseText:bje,parseTextStream:l9,parseVTTTimestamp:cs,renderVTTCueString:u9,renderVTTTokensString:g9,tokenizeVTTCue:BD,updateTimedVTTCueNodes:PD},Symbol.toStringTag,{value:"Module"}));class Kd{#e;#t;constructor(n){this.#t=n}start(){Tn(this.#e)&&this.#n()}stop(){gn(this.#e)&&window.cancelAnimationFrame(this.#e),this.#e=void 0}#n(){this.#e=window.requestAnimationFrame(()=>{Tn(this.#e)||(this.#t(),this.#n())})}}let Q2=null,J2=[],V2=[];function m9(){return Q2??=new AudioContext}function axe(){const o=m9(),n=o.createGain();return n.connect(o.destination),J2.push(n),n}function sxe(o,n){const i=m9(),r=i.createMediaElementSource(o);return n&&r.connect(n),V2.push(r),r}function lxe(o){const n=J2.indexOf(o);n!==-1&&(J2.splice(n,1),o.disconnect(),UD())}function cxe(o){const n=V2.indexOf(o);n!==-1&&(V2.splice(n,1),o.disconnect(),UD())}function UD(){Q2&&J2.length===0&&V2.length===0&&Q2.close().then(()=>{Q2=null})}class dxe{#e;#t;#n=null;#o=null;get currentGain(){return this.#n?.gain?.value??null}get supported(){return!0}constructor(n,i){this.#e=n,this.#t=i}setGain(n){const i=this.currentGain;if(n!==this.currentGain){if(n===1&&i!==1){this.removeGain();return}this.#n||(this.#n=axe(),this.#o&&this.#o.connect(this.#n)),this.#o||(this.#o=sxe(this.#e,this.#n)),this.#n.gain.value=n,this.#t(n)}}removeGain(){this.#n&&(this.#o&&this.#o.connect(m9().destination),this.#r(),this.#t(null))}destroy(){this.#i(),this.#r()}#i(){if(this.#o)try{cxe(this.#o)}catch{}finally{this.#o=null}}#r(){if(this.#n)try{lxe(this.#n)}catch{}finally{this.#n=null}}}const pxe=["focus","blur","visibilitychange","pageshow","pagehide"];class uxe{#e=Ge(HD());#t=Ge(document.visibilityState);#n;connect(){const n=new xt(window),i=this.#o.bind(this);for(const r of pxe)n.add(r,i);f2&&n.add("beforeunload",r=>{this.#n=setTimeout(()=>{r.defaultPrevented||r.returnValue.length>0||(this.#e.set("hidden"),this.#t.set("hidden"))},0)})}get pageState(){return this.#e()}get visibility(){return this.#t()}#o(n){f2&&window.clearTimeout(this.#n),(n.type!=="blur"||this.#e()==="active")&&(this.#e.set(HD(n)),this.#t.set(document.visibilityState=="hidden"?"hidden":"visible"))}}function HD(o){return o?.type==="blur"||document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}class gxe{#e;#t;#n=!1;#o=!1;#i=!1;#r=new Kd(this.#p.bind(this));#a=new uxe;#l;get#s(){return this.#e.media}constructor(n,i){this.#e=n,this.#t=i,this.#l=new xt(n.media),this.#g(),this.#a.connect(),ne(this.#L.bind(this)),it(this.#c.bind(this))}#c(){this.#o=!1,this.#i=!1,this.#r.stop(),this.#l.abort(),this.#m?.clear()}#d=0;#u=-1;#p(){const n=this.#s.currentTime;!(f2&&n-this.#u<.35)&&this.#d!==n&&(this.#v(n),this.#d=n)}#g(){this.#f("loadstart",this.#k),this.#f("abort",this.#b),this.#f("emptied",this.#x),this.#f("error",this.#z),this.#f("volumechange",this.#M)}#h(){this.#o||(this.#f("loadeddata",this.#I),this.#f("loadedmetadata",this.#S),this.#f("canplay",this.#O),this.#f("canplaythrough",this.#D),this.#f("durationchange",this.#j),this.#f("play",this.#A),this.#f("progress",this.#q),this.#f("stalled",this.#E),this.#f("suspend",this.#U),this.#f("ratechange",this.#H),this.#o=!0)}#y(){this.#i||(this.#f("pause",this.#R),this.#f("playing",this.#_),this.#f("seeked",this.#N),this.#f("seeking",this.#F),this.#f("ended",this.#P),this.#f("waiting",this.#B),this.#i=!0)}#m=void 0;#w=void 0;#f(n,i){this.#l.add(n,i.bind(this))}#C(n){}#v(n,i){const r=Math.min(n,this.#t.$state.seekableEnd());this.#t.notify("time-change",r,i)}#k(n){if(this.#s.networkState===3){this.#b(n);return}this.#h(),this.#t.notify("load-start",void 0,n)}#b(n){this.#t.notify("abort",void 0,n)}#x(){this.#t.notify("emptied",void 0,event)}#I(n){this.#t.notify("loaded-data",void 0,n)}#S(n){this.#d=0,this.#u=-1,this.#y(),this.#t.notify("loaded-metadata",void 0,n),(u2||f2&&rl(this.#t.$state.source()))&&this.#t.delegate.ready(this.#T(),n)}#T(){return{provider:je(this.#t.$provider),duration:this.#s.duration,buffered:this.#s.buffered,seekable:this.#s.seekable}}#A(n){this.#t.$state.canPlay&&this.#t.notify("play",void 0,n)}#R(n){this.#s.readyState===1&&!this.#n||(this.#n=!1,this.#r.stop(),this.#t.notify("pause",void 0,n))}#O(n){this.#t.delegate.ready(this.#T(),n)}#D(n){this.#t.$state.started()||this.#t.notify("can-play-through",this.#T(),n)}#_(n){this.#s.paused||(this.#n=!1,this.#t.notify("playing",void 0,n),this.#r.start())}#E(n){this.#t.notify("stalled",void 0,n),this.#s.readyState<3&&(this.#n=!0,this.#t.notify("waiting",void 0,n))}#B(n){this.#s.readyState<3&&(this.#n=!0,this.#t.notify("waiting",void 0,n))}#P(n){this.#r.stop(),this.#v(this.#s.duration,n),this.#t.notify("end",void 0,n),this.#t.$state.loop()&&Gbe(this.#s.controls)&&(this.#s.controls=!1)}#L(){const n=this.#t.$state.paused(),i=this.#a.visibility==="hidden";(n||i)&&vt(this.#s,"timeupdate",this.#$.bind(this))}#$(n){this.#v(this.#s.currentTime,n)}#j(n){this.#t.$state.ended()&&this.#v(this.#s.duration,n),this.#t.notify("duration-change",this.#s.duration,n)}#M(n){const i={volume:this.#s.volume,muted:this.#s.muted};this.#t.notify("volume-change",i,n)}#N(n){this.#u=this.#s.currentTime,this.#v(this.#s.currentTime,n),this.#t.notify("seeked",this.#s.currentTime,n),Math.trunc(this.#s.currentTime)===Math.trunc(this.#s.duration)&&Nm(this.#s.duration)>Nm(this.#s.currentTime)&&(this.#v(this.#s.duration,n),this.#s.ended||this.#t.player.dispatch(new st("media-play-request",{trigger:n})))}#F(n){this.#t.notify("seeking",this.#s.currentTime,n)}#q(n){const i={buffered:this.#s.buffered,seekable:this.#s.seekable};this.#t.notify("progress",i,n)}#U(n){this.#t.notify("suspend",void 0,n)}#H(n){this.#t.notify("rate-change",this.#s.playbackRate,n)}#z(n){const i=this.#s.error;if(!i)return;const r={message:i.message,code:i.code,mediaError:i};this.#t.notify("error",r,n)}}class fxe{#e;#t;get#n(){return this.#e.media.audioTracks}constructor(n,i){this.#e=n,this.#t=i,this.#n.onaddtrack=this.#o.bind(this),this.#n.onremovetrack=this.#i.bind(this),this.#n.onchange=this.#r.bind(this),vt(this.#t.audioTracks,"change",this.#l.bind(this))}#o(n){const i=n.track;if(i.label==="")return;const r=i.id.toString()||`native-audio-${this.#t.audioTracks.length}`,l={id:r,label:i.label,language:i.language,kind:i.kind,selected:!1};this.#t.audioTracks[Xe.add](l,n),i.enabled&&(l.selected=!0)}#i(n){const i=this.#t.audioTracks.getById(n.track.id);i&&this.#t.audioTracks[Xe.remove](i,n)}#r(n){let i=this.#a();if(!i)return;const r=this.#t.audioTracks.getById(i.id);r&&this.#t.audioTracks[Xe.select](r,!0,n)}#a(){return Array.from(this.#n).find(n=>n.enabled)}#l(n){const{current:i}=n.detail;if(!i)return;const r=this.#n.getTrackById(i.id);if(r){const l=this.#a();l&&(l.enabled=!1),r.enabled=!0}}}class zD{constructor(n,i){this.media=n,this.ctx=i,this.audioGain=new dxe(n,r=>{this.ctx.notify("audio-gain-change",r)})}scope=Yr();currentSrc=null;audioGain;setup(){new gxe(this,this.ctx),"audioTracks"in this.media&&new fxe(this,this.ctx),it(()=>{this.audioGain.destroy(),this.media.srcObject=null,this.media.removeAttribute("src");for(const n of this.media.querySelectorAll("source"))n.remove();this.media.load()})}get type(){return""}setPlaybackRate(n){this.media.playbackRate=n}async play(){return this.media.play()}async pause(){return this.media.pause()}setMuted(n){this.media.muted=n}setVolume(n){this.media.volume=n}setCurrentTime(n){this.media.currentTime=n}setPlaysInline(n){Ae(this.media,"playsinline",n)}async loadSource({src:n,type:i},r){this.media.preload=r||"",F5e(n)?(this.removeSource(),this.media.srcObject=n):(this.media.srcObject=null,$e(n)?i!=="?"?this.appendSource({src:n,type:i}):(this.removeSource(),this.media.src=this.#e(n)):(this.removeSource(),this.media.src=window.URL.createObjectURL(n))),this.media.load(),this.currentSrc={src:n,type:i}}appendSource(n,i){const r=this.media.querySelector("source[data-vds]"),l=r??document.createElement("source");Ae(l,"src",this.#e(n.src)),Ae(l,"type",n.type!=="?"?n.type:i),Ae(l,"data-vds",""),r||this.media.append(l)}removeSource(){this.media.querySelector("source[data-vds]")?.remove()}#e(n){const{clipStartTime:i,clipEndTime:r}=this.ctx.$state,l=i(),s=r();return l>0&&s>0?`${n}#t=${l},${s}`:l>0?`${n}#t=${l}`:s>0?`${n}#t=0,${s}`:n}}class hxe{#e;#t;#n;#o=Ge(!1);get supported(){return this.#o()}constructor(n,i){this.#e=n,this.#t=i,this.#i()}#i(){!this.#e?.remote||!this.canPrompt||(this.#e.remote.watchAvailability(n=>{this.#o.set(n)}).catch(()=>{this.#o.set(!1)}),ne(this.#r.bind(this)))}#r(){if(!this.#o())return;const n=["connecting","connect","disconnect"],i=this.#a.bind(this);i(),vt(this.#e,"playing",i);const r=new xt(this.#e.remote);for(const l of n)r.add(l,i)}async prompt(){if(!this.supported)throw Error("Not supported on this platform.");return this.type==="airplay"&&this.#e.webkitShowPlaybackTargetPicker?this.#e.webkitShowPlaybackTargetPicker():this.#e.remote.prompt()}#a(n){const i=this.#e.remote.state;if(i===this.#n)return;const r={type:this.type,state:i};this.#t.notify("remote-playback-change",r,n),this.#n=i}}class ZD extends hxe{type="airplay";get canPrompt(){return"WebKitPlaybackTargetAvailabilityEvent"in window}}class mxe extends zD{$$PROVIDER_TYPE="AUDIO";get type(){return"audio"}airPlay;constructor(n,i){super(n,i),Nn(()=>{this.airPlay=new ZD(this.media,i)},this.scope)}setup(){super.setup(),this.type==="audio"&&this.ctx.notify("provider-setup",this)}get audio(){return this.media}}const bxe=Object.freeze(Object.defineProperty({__proto__:null,AudioProvider:mxe},Symbol.toStringTag,{value:"Module"}));class yxe{#e;#t;constructor(n,i){this.#e=n,this.#t=i,n.textTracks.onaddtrack=this.#n.bind(this),it(this.#o.bind(this))}#n(n){const i=n.track;if(!i||vxe(this.#e,i))return;const r=new Vr({id:i.id,kind:i.kind,label:i.label??"",language:i.language,type:"vtt"});r[nt.native]={track:i},r[nt.readyState]=2,r[nt.nativeHLS]=!0;let l=0;const s=c=>{if(i.cues)for(let d=l;d<i.cues.length;d++)r.addCue(i.cues[d],c),l++};s(n),i.oncuechange=s,this.#t.textTracks.add(r,n),r.setMode(i.mode,n)}#o(){this.#e.textTracks.onaddtrack=null;for(const n of this.#t.textTracks){const i=n[nt.native]?.track;i?.oncuechange&&(i.oncuechange=null)}}}function vxe(o,n){return Array.from(o.children).find(i=>i.track===n)}class Cxe{#e;#t;constructor(n,i){this.#e=n,this.#t=i,new xt(n).add("enterpictureinpicture",this.#n.bind(this)).add("leavepictureinpicture",this.#o.bind(this))}get active(){return document.pictureInPictureElement===this.#e}get supported(){return RI(this.#e)}async enter(){return this.#e.requestPictureInPicture()}exit(){return document.exitPictureInPicture()}#n(n){this.#i(!0,n)}#o(n){this.#i(!1,n)}#i=(n,i)=>{this.#t.notify("picture-in-picture-change",n,i)}}class wxe{#e;#t;#n="inline";get mode(){return this.#n}constructor(n,i){this.#e=n,this.#t=i,vt(n,"webkitpresentationmodechanged",this.#o.bind(this))}get supported(){return _I(this.#e)}async setPresentationMode(n){this.#n!==n&&this.#e.webkitSetPresentationMode(n)}#o(n){const i=this.#n;this.#n=this.#e.webkitPresentationMode,this.#t.player?.dispatch(new st("video-presentation-change",{detail:this.#n,trigger:n})),["fullscreen","picture-in-picture"].forEach(r=>{(this.#n===r||i===r)&&this.#t.notify(`${r}-change`,this.#n===r,n)})}}class kxe{#e;get active(){return this.#e.mode==="fullscreen"}get supported(){return this.#e.supported}constructor(n){this.#e=n}async enter(){this.#e.setPresentationMode("fullscreen")}async exit(){this.#e.setPresentationMode("inline")}}class jxe{#e;get active(){return this.#e.mode==="picture-in-picture"}get supported(){return this.#e.supported}constructor(n){this.#e=n}async enter(){this.#e.setPresentationMode("picture-in-picture")}async exit(){this.#e.setPresentationMode("inline")}}class b9 extends zD{$$PROVIDER_TYPE="VIDEO";get type(){return"video"}airPlay;fullscreen;pictureInPicture;constructor(n,i){super(n,i),Nn(()=>{if(this.airPlay=new ZD(n,i),_I(n)){const r=new wxe(n,i);this.fullscreen=new kxe(r),this.pictureInPicture=new jxe(r)}else RI(n)&&(this.pictureInPicture=new Cxe(n,i))},this.scope)}setup(){super.setup(),LI(this.video)&&new yxe(this.video,this.ctx),this.ctx.textRenderers.attachVideo(this.video),it(()=>{this.ctx.textRenderers.attachVideo(null)}),this.type==="video"&&this.ctx.notify("provider-setup",this)}get video(){return this.media}}const xxe=Object.freeze(Object.defineProperty({__proto__:null,VideoProvider:b9},Symbol.toStringTag,{value:"Module"})),Ixe=o=>l2(o);class Sxe{#e;#t;#n=null;#o=null;config={};#i=new Set;get instance(){return this.#n}constructor(n,i){this.#e=n,this.#t=i}setup(n){const{streamType:i}=this.#t.$state,r=je(i).includes("live"),l=je(i).includes("ll-");this.#n=new n({lowLatencyMode:l,backBufferLength:l?4:r?8:void 0,renderTextTracksNatively:!1,...this.config});const s=this.#s.bind(this);for(const c of Object.values(n.Events))this.#n.on(c,s);this.#n.on(n.Events.ERROR,this.#y.bind(this));for(const c of this.#i)c(this.#n);this.#t.player.dispatch("hls-instance",{detail:this.#n}),this.#n.attachMedia(this.#e),this.#n.on(n.Events.AUDIO_TRACK_SWITCHED,this.#u.bind(this)),this.#n.on(n.Events.LEVEL_SWITCHED,this.#p.bind(this)),this.#n.on(n.Events.LEVEL_LOADED,this.#h.bind(this)),this.#n.on(n.Events.LEVEL_UPDATED,this.#g.bind(this)),this.#n.on(n.Events.NON_NATIVE_TEXT_TRACKS_FOUND,this.#c.bind(this)),this.#n.on(n.Events.CUES_PARSED,this.#d.bind(this)),this.#t.qualities[An.enableAuto]=this.#w.bind(this),vt(this.#t.qualities,"change",this.#f.bind(this)),vt(this.#t.audioTracks,"change",this.#C.bind(this)),this.#o=ne(this.#a.bind(this))}#r(n,i){return new st(Ixe(n),{detail:i})}#a(){if(!this.#t.$state.live())return;const n=new Kd(this.#l.bind(this));return n.start(),n.stop.bind(n)}#l(){this.#t.$state.liveSyncPosition.set(this.#n?.liveSyncPosition??1/0)}#s(n,i){this.#t.player?.dispatch(this.#r(n,i))}#c(n,i){const r=this.#r(n,i);let l=-1;for(let s=0;s<i.tracks.length;s++){const c=i.tracks[s],d=c.subtitleTrack??c.closedCaptions,p=new Vr({id:`hls-${c.kind}-${s}`,src:d?.url,label:c.label,language:d?.lang,kind:c.kind,default:c.default});p[nt.readyState]=2,p[nt.onModeChange]=()=>{p.mode==="showing"?(this.#n.subtitleTrack=s,l=s):l===s&&(this.#n.subtitleTrack=-1,l=-1)},this.#t.textTracks.add(p,r)}}#d(n,i){const r=this.#n?.subtitleTrack,l=this.#t.textTracks.getById(`hls-${i.type}-${r}`);if(!l)return;const s=this.#r(n,i);for(const c of i.cues)c.positionAlign="auto",l.addCue(c,s)}#u(n,i){const r=this.#t.audioTracks[i.id];if(r){const l=this.#r(n,i);this.#t.audioTracks[Xe.select](r,!0,l)}}#p(n,i){const r=this.#t.qualities[i.level];if(r){const l=this.#r(n,i);this.#t.qualities[Xe.select](r,!0,l)}}#g(n,i){i.details.totalduration>0&&this.#t.$state.inferredLiveDVRWindow.set(i.details.totalduration)}#h(n,i){if(this.#t.$state.canPlay())return;const{type:r,live:l,totalduration:s,targetduration:c}=i.details,d=this.#r(n,i);this.#t.notify("stream-type-change",l?r==="EVENT"&&Number.isFinite(s)&&c>=10?"live:dvr":"live":"on-demand",d),this.#t.notify("duration-change",s,d);const p=this.#n.media;this.#n.currentLevel===-1&&this.#t.qualities[An.setAuto](!0,d);for(const u of this.#n.audioTracks){const g={id:u.id.toString(),label:u.name,language:u.lang||"",kind:"main"};this.#t.audioTracks[Xe.add](g,d)}for(const u of this.#n.levels){const g={id:u.id?.toString()??u.height+"p",width:u.width,height:u.height,codec:u.codecSet,bitrate:u.bitrate};this.#t.qualities[Xe.add](g,d)}p.dispatchEvent(new st("canplay",{trigger:d}))}#y(n,i){i.fatal&&(i.type==="mediaError"?this.#n?.recoverMediaError():this.#m(i.error))}#m(n){this.#t.notify("error",{message:n.message,code:1,error:n})}#w(){this.#n&&(this.#n.currentLevel=-1)}#f(){const{qualities:n}=this.#t;!this.#n||n.auto||(this.#n[n.switch+"Level"]=n.selectedIndex,g2&&(this.#e.currentTime=this.#e.currentTime))}#C(){const{audioTracks:n}=this.#t;this.#n&&this.#n.audioTrack!==n.selectedIndex&&(this.#n.audioTrack=n.selectedIndex)}onInstance(n){return this.#i.add(n),()=>this.#i.delete(n)}loadSource(n){$e(n.src)&&this.#n?.loadSource(n.src)}destroy(){this.#n?.destroy(),this.#n=null,this.#o?.(),this.#o=null}}class Txe{#e;#t;#n;constructor(n,i,r){this.#e=n,this.#t=i,this.#n=r,this.#o()}async#o(){const n={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await Axe(this.#e,n);if(Tn(i)&&!$e(this.#e)&&(i=await Exe(this.#e,n)),!i)return null;if(!i.isSupported()){const r="[vidstack] `hls.js` is not supported in this environment";return this.#t.player.dispatch(new st("hls-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("hls-lib-load-start"))}#r(n){this.#t.player.dispatch(new st("hls-lib-loaded",{detail:n})),this.#n(n)}#a(n){const i=kd(n);this.#t.player.dispatch(new st("hls-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function Exe(o,n={}){if(!Tn(o)){if(n.onLoadStart?.(),o.prototype&&o.prototype!==Function)return n.onLoaded?.(o),o;try{const i=(await o())?.default;if(i&&i.isSupported)n.onLoaded?.(i);else throw Error("");return i}catch(i){n.onLoadError?.(i)}}}async function Axe(o,n={}){if($e(o)){n.onLoadStart?.();try{if(await Lm(o),!ui(window.Hls))throw Error("");const i=window.Hls;return n.onLoaded?.(i),i}catch(i){n.onLoadError?.(i)}}}const Oxe="https://cdn.jsdelivr.net";class Dxe extends b9{$$PROVIDER_TYPE="HLS";#e=null;#t=new Sxe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=h2();get type(){return"hls"}get canLiveSync(){return!0}#n=`${Oxe}/npm/hls.js@^1.5.0/dist/hls.min.js`;get config(){return this.#t.config}set config(n){this.#t.config=n}get library(){return this.#n}set library(n){this.#n=n}preconnect(){$e(this.#n)&&mr(this.#n)}setup(){super.setup(),new Txe(this.#n,this.ctx,n=>{this.#e=n,this.#t.setup(n),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(n,i){if(!$e(n.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(n,"application/x-mpegurl"),this.#t.loadSource(n),this.currentSrc=n}onInstance(n){const i=this.#t.instance;return i&&n(i),this.#t.onInstance(n)}destroy(){this.#t.destroy()}}const Lxe=Object.freeze(Object.defineProperty({__proto__:null,HLSProvider:Dxe},Symbol.toStringTag,{value:"Module"}));function GD(o){try{return new Intl.DisplayNames(navigator.languages,{type:"language"}).of(o)??null}catch{return null}}const Rxe=o=>`dash-${l2(o)}`;class _xe{#e;#t;#n=null;#o=new Set;#i=null;config={};get instance(){return this.#n}constructor(n,i){this.#e=n,this.#t=i}setup(n){this.#n=n().create();const i=this.#s.bind(this);for(const r of Object.values(n.events))this.#n.on(r,i);this.#n.on(n.events.ERROR,this.#m.bind(this));for(const r of this.#o)r(this.#n);this.#t.player.dispatch("dash-instance",{detail:this.#n}),this.#n.initialize(this.#e,void 0,!1),this.#n.updateSettings({streaming:{text:{defaultEnabled:!1,dispatchForManualRendering:!0},buffer:{fastSwitchEnabled:!0}},...this.config}),this.#n.on(n.events.FRAGMENT_LOADING_STARTED,this.#w.bind(this)),this.#n.on(n.events.FRAGMENT_LOADING_COMPLETED,this.#f.bind(this)),this.#n.on(n.events.MANIFEST_LOADED,this.#y.bind(this)),this.#n.on(n.events.QUALITY_CHANGE_RENDERED,this.#h.bind(this)),this.#n.on(n.events.TEXT_TRACKS_ADDED,this.#p.bind(this)),this.#n.on(n.events.TRACK_CHANGE_RENDERED,this.#g.bind(this)),this.#t.qualities[An.enableAuto]=this.#x.bind(this),vt(this.#t.qualities,"change",this.#S.bind(this)),vt(this.#t.audioTracks,"change",this.#T.bind(this)),this.#i=ne(this.#a.bind(this))}#r(n){return new st(Rxe(n.type),{detail:n})}#a(){if(!this.#t.$state.live())return;const n=new Kd(this.#l.bind(this));return n.start(),n.stop.bind(n)}#l(){if(!this.#n)return;const n=this.#n.duration()-this.#n.time();this.#t.$state.liveSyncPosition.set(isNaN(n)?1/0:n)}#s(n){this.#t.player?.dispatch(this.#r(n))}#c=null;#d={};#u(n){const i=this.#c?.[nt.native],r=(i?.track).cues;if(!i||!r)return;const l=this.#c.id,s=this.#d[l]??0,c=this.#r(n);for(let d=s;d<r.length;d++){const p=r[d];p.positionAlign||(p.positionAlign="auto"),this.#c.addCue(p,c)}this.#d[l]=r.length}#p(n){if(!this.#n)return;const i=n.tracks,r=[...this.#e.textTracks].filter(s=>"manualMode"in s),l=this.#r(n);for(let s=0;s<r.length;s++){const c=i[s],d=r[s],p=`dash-${c.kind}-${s}`,u=new Vr({id:p,label:c?.label??c.labels.find(g=>g.text)?.text??(c?.lang&&GD(c.lang))??c?.lang??void 0,language:c.lang??void 0,kind:c.kind,default:c.defaultTrack});u[nt.native]={managed:!0,track:d},u[nt.readyState]=2,u[nt.onModeChange]=()=>{this.#n&&(u.mode==="showing"?(this.#n.setTextTrack(s),this.#c=u):(this.#n.setTextTrack(-1),this.#c=null))},this.#t.textTracks.add(u,l)}}#g(n){const{mediaType:i,newMediaInfo:r}=n;if(i==="audio"){const l=this.#t.audioTracks.getById(`dash-audio-${r.index}`);if(l){const s=this.#r(n);this.#t.audioTracks[Xe.select](l,!0,s)}}}#h(n){if(n.mediaType!=="video")return;const i=this.#t.qualities[n.newQuality];if(i){const r=this.#r(n);this.#t.qualities[Xe.select](i,!0,r)}}#y(n){if(this.#t.$state.canPlay()||!this.#n)return;const{type:i,mediaPresentationDuration:r}=n.data,l=this.#r(n);this.#t.notify("stream-type-change",i!=="static"?"live":"on-demand",l),this.#t.notify("duration-change",r,l),this.#t.qualities[An.setAuto](!0,l);const s=this.#n.getVideoElement(),c=this.#n.getTracksForTypeFromManifest("video",n.data),d=[...new Set(c.map(f=>f.mimeType))].find(f=>f&&DI(s,f)),p=c.filter(f=>d===f.mimeType)[0];let u=this.#n.getTracksForTypeFromManifest("audio",n.data);const g=[...new Set(u.map(f=>f.mimeType))].find(f=>f&&OI(s,f));if(u=u.filter(f=>g===f.mimeType),p.bitrateList.forEach((f,h)=>{const m={id:f.id?.toString()??`dash-bitrate-${h}`,width:f.width??0,height:f.height??0,bitrate:f.bandwidth??0,codec:p.codec,index:h};this.#t.qualities[Xe.add](m,l)}),gn(p.index)){const f=this.#t.qualities[p.index];f&&this.#t.qualities[Xe.select](f,!0,l)}u.forEach((f,h)=>{const y=f.labels.find(w=>navigator.languages.some(C=>w.lang&&C.toLowerCase().startsWith(w.lang.toLowerCase())))||f.labels[0],k={id:`dash-audio-${f?.index}`,label:y?.text??(f.lang&&GD(f.lang))??f.lang??"",language:f.lang??"",kind:"main",mimeType:f.mimeType,codec:f.codec,index:h};this.#t.audioTracks[Xe.add](k,l)}),s.dispatchEvent(new st("canplay",{trigger:l}))}#m(n){const{type:i,error:r}=n;r.code===27?this.#v(r):this.#b(r)}#w(){this.#C>=0&&this.#k()}#f(n){n.mediaType==="text"&&requestAnimationFrame(this.#u.bind(this,n))}#C=-1;#v(n){this.#k(),this.#n?.play(),this.#C=window.setTimeout(()=>{this.#C=-1,this.#b(n)},5e3)}#k(){clearTimeout(this.#C),this.#C=-1}#b(n){this.#t.notify("error",{message:n.message??"",code:1,error:n})}#x(){this.#I("video",!0);const{qualities:n}=this.#t;this.#n?.setQualityFor("video",n.selectedIndex,!0)}#I(n,i){this.#n?.updateSettings({streaming:{abr:{autoSwitchBitrate:{[n]:i}}}})}#S(){const{qualities:n}=this.#t;!this.#n||n.auto||!n.selected||(this.#I("video",!1),this.#n.setQualityFor("video",n.selectedIndex,n.switch==="current"),g2&&(this.#e.currentTime=this.#e.currentTime))}#T(){if(!this.#n)return;const{audioTracks:n}=this.#t,i=this.#n.getTracksFor("audio").find(r=>n.selected&&n.selected.id===`dash-audio-${r.index}`);i&&this.#n.setCurrentTrack(i)}#A(){this.#k(),this.#c=null,this.#d={}}onInstance(n){return this.#o.add(n),()=>this.#o.delete(n)}loadSource(n){this.#A(),$e(n.src)&&this.#n?.attachSource(n.src)}destroy(){this.#A(),this.#n?.destroy(),this.#n=null,this.#i?.(),this.#i=null}}class Bxe{#e;#t;#n;constructor(n,i,r){this.#e=n,this.#t=i,this.#n=r,this.#o()}async#o(){const n={onLoadStart:this.#i.bind(this),onLoaded:this.#r.bind(this),onLoadError:this.#a.bind(this)};let i=await $xe(this.#e,n);if(Tn(i)&&!$e(this.#e)&&(i=await Pxe(this.#e,n)),!i)return null;if(!window.dashjs.supportsMediaSource()){const r="[vidstack] `dash.js` is not supported in this environment";return this.#t.player.dispatch(new st("dash-unsupported")),this.#t.notify("error",{message:r,code:4}),null}return i}#i(){this.#t.player.dispatch(new st("dash-lib-load-start"))}#r(n){this.#t.player.dispatch(new st("dash-lib-loaded",{detail:n})),this.#n(n)}#a(n){const i=kd(n);this.#t.player.dispatch(new st("dash-lib-load-error",{detail:i})),this.#t.notify("error",{message:i.message,code:4,error:i})}}async function Pxe(o,n={}){if(!Tn(o)){if(n.onLoadStart?.(),Mxe(o))return n.onLoaded?.(o),o;if(KD(o)){const i=o.MediaPlayer;return n.onLoaded?.(i),i}try{const i=(await o())?.default;if(KD(i))return n.onLoaded?.(i.MediaPlayer),i.MediaPlayer;if(i)n.onLoaded?.(i);else throw Error("");return i}catch(i){n.onLoadError?.(i)}}}async function $xe(o,n={}){if($e(o)){n.onLoadStart?.();try{if(await Lm(o),!ui(window.dashjs.MediaPlayer))throw Error("");const i=window.dashjs.MediaPlayer;return n.onLoaded?.(i),i}catch(i){n.onLoadError?.(i)}}}function Mxe(o){return o&&o.prototype&&o.prototype!==Function}function KD(o){return o&&"MediaPlayer"in o}const Nxe="https://cdn.jsdelivr.net";class Fxe extends b9{$$PROVIDER_TYPE="DASH";#e=null;#t=new _xe(this.video,this.ctx);get ctor(){return this.#e}get instance(){return this.#t.instance}static supported=BI();get type(){return"dash"}get canLiveSync(){return!0}#n=`${Nxe}/npm/dashjs@4.7.4/dist/dash.all.min.js`;get config(){return this.#t.config}set config(n){this.#t.config=n}get library(){return this.#n}set library(n){this.#n=n}preconnect(){$e(this.#n)&&mr(this.#n)}setup(){super.setup(),new Bxe(this.#n,this.ctx,n=>{this.#e=n,this.#t.setup(n),this.ctx.notify("provider-setup",this);const i=je(this.ctx.$state.source);i&&this.loadSource(i)})}async loadSource(n,i){if(!$e(n.src)){this.removeSource();return}this.media.preload=i||"",this.appendSource(n,"application/x-mpegurl"),this.#t.loadSource(n),this.currentSrc=n}onInstance(n){const i=this.#t.instance;return i&&n(i),this.#t.onInstance(n)}destroy(){this.#t.destroy()}}const qxe=Object.freeze(Object.defineProperty({__proto__:null,DASHProvider:Fxe},Symbol.toStringTag,{value:"Module"}));class WD{#e;src=Ge("");referrerPolicy=null;get iframe(){return this.#e}constructor(n){this.#e=n,n.setAttribute("frameBorder","0"),n.setAttribute("aria-hidden","true"),n.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; accelerometer; gyroscope"),this.referrerPolicy!==null&&n.setAttribute("referrerpolicy",this.referrerPolicy)}setup(){vt(window,"message",this.#n.bind(this)),vt(this.#e,"load",this.onLoad.bind(this)),ne(this.#t.bind(this))}#t(){const n=this.src();if(!n.length){this.#e.setAttribute("src","");return}const i=je(()=>this.buildParams());this.#e.setAttribute("src",H5e(n,i))}postMessage(n,i){this.#e.contentWindow?.postMessage(JSON.stringify(n),i??"*")}#n(n){const i=this.getOrigin();if((n.source===null||n.source===this.#e?.contentWindow)&&(!$e(i)||i===n.origin)){try{const l=JSON.parse(n.data);l&&this.onMessage(l,n);return}catch{}n.data&&this.onMessage(n.data,n)}}}const Uxe=/(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/,y9=new Map,e0=new Map;function YD(o){const n=o.match(Uxe);return{videoId:n?.[1],hash:n?.[2]}}async function XD(o,n,i){if(y9.has(o))return y9.get(o);if(e0.has(o))return e0.get(o);let r=`https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/${o}`;i&&(r=r.concat(`?h=${i}`));const l=window.fetch(r,{mode:"cors",signal:n.signal}).then(s=>s.json()).then(s=>{const c=/vimeocdn.com\/video\/(.*)?_/,d=s?.thumbnail_url?.match(c)?.[1],p=d?`https://i.vimeocdn.com/video/${d}_1920x1080.webp`:"",u={title:s?.title??"",duration:s?.duration??0,poster:p,pro:s.account_type!=="basic"};return y9.set(o,u),u}).finally(()=>e0.delete(o));return e0.set(o,l),l}const Hxe=Object.freeze(Object.defineProperty({__proto__:null,getVimeoVideoInfo:XD,resolveVimeoVideoId:YD},Symbol.toStringTag,{value:"Module"})),zxe=["bufferend","bufferstart","durationchange","ended","enterpictureinpicture","error","fullscreenchange","leavepictureinpicture","loaded","playProgress","loadProgress","pause","play","playbackratechange","qualitychange","seeked","seeking","timeupdate","volumechange","waiting"];class Zxe extends WD{$$PROVIDER_TYPE="VIMEO";scope=Yr();fullscreen;#e;#t=Ge("");#n=Ge(!1);#o=null;#i=null;#r=!1;#a=new cn(0,0);#l=new Kd(this.#y.bind(this));#s=null;#c=null;#d=new Map;#u=null;constructor(n,i){super(n),this.#e=i;const r=this;this.fullscreen={get active(){return r.#r},supported:!0,enter:()=>this.#j("requestFullscreen"),exit:()=>this.#j("exitFullscreen")}}cookies=!1;title=!0;byline=!0;portrait=!0;color="00ADEF";get type(){return"vimeo"}get currentSrc(){return this.#i}get videoId(){return this.#t()}get hash(){return this.#o}get isPro(){return this.#n()}preconnect(){mr(this.getOrigin())}setup(){super.setup(),ne(this.#p.bind(this)),ne(this.#g.bind(this)),ne(this.#h.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#M(),this.fullscreen=void 0;const n="provider destroyed";for(const i of this.#d.values())for(const{reject:r}of i)r(n);this.#d.clear(),this.#j("destroy")}async play(){return this.#j("play")}async pause(){return this.#j("pause")}setMuted(n){this.#j("setMuted",n)}setCurrentTime(n){this.#j("seekTo",n),this.#e.notify("seeking",n)}setVolume(n){this.#j("setVolume",n),this.#j("setMuted",je(this.#e.$state.muted))}setPlaybackRate(n){this.#j("setPlaybackRate",n)}async loadSource(n){if(!$e(n.src)){this.#i=null,this.#o=null,this.#t.set("");return}const{videoId:i,hash:r}=YD(n.src);this.#t.set(i??""),this.#o=r??null,this.#i=n}#p(){this.#M();const n=this.#t();if(!n){this.src.set("");return}this.src.set(`${this.getOrigin()}/video/${n}`),this.#e.notify("load-start")}#g(){const n=this.#t();if(!n)return;const i=ol(),r=new AbortController;return this.#u=i,XD(n,r,this.#o).then(l=>{i.resolve(l)}).catch(l=>{i.reject()}),()=>{i.reject(),r.abort()}}#h(){const n=this.#n(),{$state:i,qualities:r}=this.#e;if(i.canSetPlaybackRate.set(n),r[Xe.setReadonly](!n),n)return vt(r,"change",()=>{if(r.auto)return;const l=r.selected?.id;l&&this.#j("setQuality",l)})}getOrigin(){return"https://player.vimeo.com"}buildParams(){const{keyDisabled:n}=this.#e.$props,{playsInline:i,nativeControls:r}=this.#e.$state,l=r();return{title:this.title,byline:this.byline,color:this.color,portrait:this.portrait,controls:l,h:this.hash,keyboard:l&&!n(),transparent:!0,playsinline:i(),dnt:!this.cookies}}#y(){this.#j("getCurrentTime")}#m=!1;#w(n,i){if(this.#m&&n===0)return;const{realCurrentTime:r,paused:l,bufferedEnd:s,seekableEnd:c,live:d}=this.#e.$state;if(r()===n)return;const p=r();this.#e.notify("time-change",n,i),Math.abs(p-n)>1.5&&(this.#e.notify("seeking",n,i),!l()&&s()<n&&this.#e.notify("waiting",void 0,i)),!d()&&c()-n<.01&&(this.#e.notify("end",void 0,i),this.#m=!0,setTimeout(()=>{this.#m=!1},500))}#f(n,i){this.#e.notify("seeked",n,i)}#C(n){const i=this.#t();this.#u?.promise.then(r=>{if(!r)return;const{title:l,poster:s,duration:c,pro:d}=r;this.#n.set(d),this.#e.notify("title-change",l,n),this.#e.notify("poster-change",s,n),this.#e.notify("duration-change",c,n),this.#v(c,n)}).catch(()=>{i===this.#t()&&(this.#j("getVideoTitle"),this.#j("getDuration"))})}#v(n,i){const{nativeControls:r}=this.#e.$state,l=r();this.#a=new cn(0,n);const s={buffered:new cn(0,0),seekable:this.#a,duration:n};this.#e.delegate.ready(s,i),l||this.#j("_hideOverlay"),this.#j("getQualities"),this.#j("getChapters")}#k(n,i,r){switch(n){case"getVideoTitle":const l=i;this.#e.notify("title-change",l,r);break;case"getDuration":const s=i;this.#e.$state.canPlay()?this.#e.notify("duration-change",s,r):this.#v(s,r);break;case"getCurrentTime":this.#w(i,r);break;case"getBuffered":En(i)&&i.length&&this.#T(i[i.length-1][1],r);break;case"setMuted":this.#D(je(this.#e.$state.volume),i,r);break;case"getChapters":this.#_(i);break;case"getQualities":this.#B(i,r);break}this.#N(n)?.resolve()}#b(){for(const n of zxe)this.#j("addEventListener",n)}#x(n){this.#l.stop(),this.#e.notify("pause",void 0,n)}#I(n){this.#l.start(),this.#e.notify("play",void 0,n)}#S(n){const{paused:i}=this.#e.$state;!i()&&!this.#m&&this.#e.notify("playing",void 0,n)}#T(n,i){const r={buffered:new cn(0,n),seekable:this.#a};this.#e.notify("progress",r,i)}#A(n){this.#e.notify("waiting",void 0,n)}#R(n){const{paused:i}=this.#e.$state;i()||this.#e.notify("playing",void 0,n)}#O(n){const{paused:i}=this.#e.$state;i()&&this.#e.notify("play",void 0,n),this.#e.notify("waiting",void 0,n)}#D(n,i,r){const l={volume:n,muted:i};this.#e.notify("volume-change",l,r)}#_(n){if(this.#E(),!n.length)return;const i=new Vr({kind:"chapters",default:!0}),{seekableEnd:r}=this.#e.$state;for(let l=0;l<n.length;l++){const s=n[l],c=n[l+1];i.addCue(new window.VTTCue(s.startTime,c?.startTime??r(),s.title))}this.#c=i,this.#e.textTracks.add(i)}#E(){this.#c&&(this.#e.textTracks.remove(this.#c),this.#c=null)}#B(n,i){this.#e.qualities[An.enableAuto]=n.some(r=>r.id==="auto")?()=>this.#j("setQuality","auto"):void 0;for(const r of n){if(r.id==="auto")continue;const l=+r.id.slice(0,-1);isNaN(l)||this.#e.qualities[Xe.add]({id:r.id,width:l*(16/9),height:l,codec:"avc1,h.264",bitrate:-1},i)}this.#P(n.find(r=>r.active),i)}#P({id:n}={},i){if(!n)return;const r=n==="auto",l=this.#e.qualities.getById(n);r?(this.#e.qualities[An.setAuto](r,i),this.#e.qualities[Xe.select](void 0,!0,i)):this.#e.qualities[Xe.select](l??void 0,!0,i)}#L(n,i,r){switch(n){case"ready":this.#b();break;case"loaded":this.#C(r);break;case"play":this.#I(r);break;case"playProgress":this.#S(r);break;case"pause":this.#x(r);break;case"loadProgress":this.#T(i.seconds,r);break;case"waiting":this.#O(r);break;case"bufferstart":this.#A(r);break;case"bufferend":this.#R(r);break;case"volumechange":this.#D(i.volume,je(this.#e.$state.muted),r);break;case"durationchange":this.#a=new cn(0,i.duration),this.#e.notify("duration-change",i.duration,r);break;case"playbackratechange":this.#e.notify("rate-change",i.playbackRate,r);break;case"qualitychange":this.#P(i,r);break;case"fullscreenchange":this.#r=i.fullscreen,this.#e.notify("fullscreen-change",i.fullscreen,r);break;case"enterpictureinpicture":this.#e.notify("picture-in-picture-change",!0,r);break;case"leavepictureinpicture":this.#e.notify("picture-in-picture-change",!1,r);break;case"ended":this.#e.notify("end",void 0,r);break;case"error":this.#$(i,r);break;case"seek":case"seeked":this.#f(i.seconds,r);break}}#$(n,i){const{message:r,method:l}=n;l==="setPlaybackRate"&&this.#n.set(!1),l&&this.#N(l)?.reject(r)}onMessage(n,i){n.event?this.#L(n.event,n.data,i):n.method&&this.#k(n.method,n.value,i)}onLoad(){}async#j(n,i){let r=ol(),l=this.#d.get(n);return l||this.#d.set(n,l=[]),l.push(r),this.postMessage({method:n,value:i}),r.promise}#M(){this.#l.stop(),this.#a=new cn(0,0),this.#u=null,this.#s=null,this.#n.set(!1),this.#E()}#N(n){return this.#d.get(n)?.shift()}}const Gxe=Object.freeze(Object.defineProperty({__proto__:null,VimeoProvider:Zxe},Symbol.toStringTag,{value:"Module"})),Kxe=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,v9=new Map,t0=new Map;function QD(o){return o.match(Kxe)?.[1]}async function Wxe(o,n){if(v9.has(o))return v9.get(o);if(t0.has(o))return t0.get(o);const i=new Promise(async r=>{const l=["maxresdefault","sddefault","hqdefault"];for(const s of l)for(const c of[!0,!1]){const d=Yxe(o,s,c);if((await fetch(d,{mode:"no-cors",signal:n.signal})).status<400){v9.set(o,d),r(d);return}}}).catch(()=>"").finally(()=>t0.delete(o));return t0.set(o,i),i}function Yxe(o,n,i){return`https://i.ytimg.com/${i?"vi_webp":"vi"}/${o}/${n}.${i?"webp":"jpg"}`}const Xxe=Object.freeze(Object.defineProperty({__proto__:null,findYouTubePoster:Wxe,resolveYouTubeVideoId:QD},Symbol.toStringTag,{value:"Module"})),ds={Ended:0,Playing:1,Paused:2,Buffering:3,Cued:5};class Qxe extends WD{$$PROVIDER_TYPE="YOUTUBE";scope=Yr();#e;#t=Ge("");#n=-1;#o=null;#i=-1;#r=!1;#a=new Map;constructor(n,i){super(n),this.#e=i}language="en";color="red";cookies=!1;get currentSrc(){return this.#o}get type(){return"youtube"}get videoId(){return this.#t()}preconnect(){mr(this.getOrigin())}setup(){super.setup(),ne(this.#c.bind(this)),this.#e.notify("provider-setup",this)}destroy(){this.#f();const n="provider destroyed";for(const i of this.#a.values())for(const{reject:r}of i)r(n);this.#a.clear()}async play(){return this.#d("playVideo")}#l(n){this.#C("playVideo")?.reject(n)}async pause(){return this.#d("pauseVideo")}#s(n){this.#C("pauseVideo")?.reject(n)}setMuted(n){n?this.#d("mute"):this.#d("unMute")}setCurrentTime(n){this.#d("seekTo",n),this.#e.notify("seeking",n)}setVolume(n){this.#d("setVolume",n*100)}setPlaybackRate(n){this.#d("setPlaybackRate",n)}async loadSource(n){if(!$e(n.src)){this.#o=null,this.#t.set("");return}const i=QD(n.src);this.#t.set(i??""),this.#o=n}getOrigin(){return this.cookies?"https://www.youtube.com":"https://www.youtube-nocookie.com"}#c(){this.#f();const n=this.#t();if(!n){this.src.set("");return}this.src.set(`${this.getOrigin()}/embed/${n}`),this.#e.notify("load-start")}buildParams(){const{keyDisabled:n}=this.#e.$props,{muted:i,playsInline:r,nativeControls:l}=this.#e.$state,s=l();return{rel:0,autoplay:0,cc_lang_pref:this.language,cc_load_policy:s?1:void 0,color:this.color,controls:s?1:0,disablekb:!s||n()?1:0,enablejsapi:1,fs:1,hl:this.language,iv_load_policy:s?1:3,mute:i()?1:0,playsinline:r()?1:0}}#d(n,i){let r=ol(),l=this.#a.get(n);return l||this.#a.set(n,l=[]),l.push(r),this.postMessage({event:"command",func:n,args:i?[i]:void 0}),r.promise}onLoad(){window.setTimeout(()=>this.postMessage({event:"listening"}),100)}#u(n){this.#e.notify("loaded-metadata"),this.#e.notify("loaded-data"),this.#e.delegate.ready(void 0,n)}#p(n){this.#C("pauseVideo")?.resolve(),this.#e.notify("pause",void 0,n)}#g(n,i){const{duration:r,realCurrentTime:l}=this.#e.$state,s=this.#n===ds.Ended,c=s?r():n;this.#e.notify("time-change",c,i),!s&&Math.abs(c-l())>1&&this.#e.notify("seeking",c,i)}#h(n,i,r){const l={buffered:new cn(0,n),seekable:i};this.#e.notify("progress",l,r);const{seeking:s,realCurrentTime:c}=this.#e.$state;s()&&n>c()&&this.#y(r)}#y(n){const{paused:i,realCurrentTime:r}=this.#e.$state;window.clearTimeout(this.#i),this.#i=window.setTimeout(()=>{this.#e.notify("seeked",r(),n),this.#i=-1},i()?100:0)}#m(n){const{seeking:i}=this.#e.$state;i()&&this.#y(n),this.#e.notify("pause",void 0,n),this.#e.notify("end",void 0,n)}#w(n,i){const{paused:r,seeking:l}=this.#e.$state,s=n===ds.Playing,c=n===ds.Buffering,d=this.#v("playVideo"),p=r()&&(c||s);if(c&&this.#e.notify("waiting",void 0,i),l()&&s&&this.#y(i),this.#r&&s){this.pause(),this.#r=!1,this.setMuted(this.#e.$state.muted());return}if(!d&&p){this.#r=!0,this.setMuted(!0);return}switch(p&&(this.#C("playVideo")?.resolve(),this.#e.notify("play",void 0,i)),n){case ds.Cued:this.#u(i);break;case ds.Playing:this.#e.notify("playing",void 0,i);break;case ds.Paused:this.#p(i);break;case ds.Ended:this.#m(i);break}this.#n=n}onMessage({info:n},i){if(!n)return;const{title:r,intrinsicDuration:l,playbackRate:s}=this.#e.$state;if(pI(n.videoData)&&n.videoData.title!==r()&&this.#e.notify("title-change",n.videoData.title,i),gn(n.duration)&&n.duration!==l()){if(gn(n.videoLoadedFraction)){const c=n.progressState?.loaded??n.videoLoadedFraction*n.duration,d=new cn(0,n.duration);this.#h(c,d,i)}this.#e.notify("duration-change",n.duration,i)}if(gn(n.playbackRate)&&n.playbackRate!==s()&&this.#e.notify("rate-change",n.playbackRate,i),n.progressState){const{current:c,seekableStart:d,seekableEnd:p,loaded:u,duration:g}=n.progressState;this.#g(c,i),this.#h(u,new cn(d,p),i),g!==l()&&this.#e.notify("duration-change",g,i)}if(gn(n.volume)&&uI(n.muted)&&!this.#r){const c={muted:n.muted,volume:n.volume/100};this.#e.notify("volume-change",c,i)}gn(n.playerState)&&n.playerState!==this.#n&&this.#w(n.playerState,i)}#f(){this.#n=-1,this.#i=-1,this.#r=!1}#C(n){return this.#a.get(n)?.shift()}#v(n){return!!this.#a.get(n)?.length}}const Jxe=Object.freeze(Object.defineProperty({__proto__:null,YouTubeProvider:Qxe},Symbol.toStringTag,{value:"Module"}));function Vxe(){return"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"}function eIe(){return!!window.cast?.framework}function tIe(){return!!window.chrome?.cast?.isAvailable}function JD(){return Wd().getCastState()===cast.framework.CastState.CONNECTED}function Wd(){return window.cast.framework.CastContext.getInstance()}function C9(){return Wd().getCurrentSession()}function w9(){return C9()?.getSessionObj().media[0]}function VD(o){return w9()?.media.contentId===o?.src}function nIe(){return{language:"en-US",autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,resumeSavedSession:!0,androidReceiverCompatible:!0}}function eL(o){return`Google Cast Error Code: ${o}`}function oIe(o,n){return vt(Wd(),o,n)}class iIe{name="google-cast";target;#e;get cast(){return Wd()}mediaType(){return"video"}canPlay(n){return g2&&!u2&&PI(n)}async prompt(n){let i,r,l;try{i=await this.#t(n),this.#e||(this.#e=new cast.framework.RemotePlayer,new cast.framework.RemotePlayerController(this.#e)),r=n.player.createEvent("google-cast-prompt-open",{trigger:i}),n.player.dispatchEvent(r),this.#i(n,"connecting",r),await this.#n(je(n.$props.googleCast)),n.$state.remotePlaybackInfo.set({deviceName:C9()?.getCastDevice().friendlyName}),JD()&&this.#i(n,"connected",r)}catch(s){const c=s instanceof Error?s:this.#r((s+"").toUpperCase(),"Prompt failed.");throw l=n.player.createEvent("google-cast-prompt-error",{detail:c,trigger:r??i,cancelable:!0}),n.player.dispatch(l),this.#i(n,JD()?"connected":"disconnected",l),c}finally{n.player.dispatch("google-cast-prompt-close",{trigger:l??r??i})}}async load(n){if(!this.#e)throw Error("[vidstack] google cast player was not initialized");return new(await Promise.resolve().then(()=>yIe)).GoogleCastProvider(this.#e,n)}async#t(n){if(eIe())return;const i=n.player.createEvent("google-cast-load-start");n.player.dispatch(i),await Lm(Vxe()),await customElements.whenDefined("google-cast-launcher");const r=n.player.createEvent("google-cast-loaded",{trigger:i});if(n.player.dispatch(r),!tIe())throw this.#r("CAST_NOT_AVAILABLE","Google Cast not available on this platform.");return r}async#n(n){this.#o(n);const i=await this.cast.requestSession();if(i)throw this.#r(i.toUpperCase(),eL(i))}#o(n){this.cast?.setOptions({...nIe(),...n})}#i(n,i,r){const l={type:"google-cast",state:i};n.notify("remote-playback-change",l,r)}#r(n,i){const r=Error(i);return r.code=n,r}}const rIe=Object.freeze(Object.defineProperty({__proto__:null,GoogleCastLoader:iIe},Symbol.toStringTag,{value:"Module"})),aIe=$m('<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>');function sIe(o,n){const i=Mm(aIe);i.innerHTML=S5e,o.append(i);const r=document.createElement("span");r.classList.add("vds-google-cast-info"),o.append(r);const l=document.createElement("span");l.classList.add("vds-google-cast-device-name"),ne(()=>{const{remotePlaybackInfo:s}=n,c=s();return c?.deviceName&&(l.textContent=c.deviceName,r.append("Google Cast on ",l)),()=>{r.textContent=""}})}const lIe=Object.freeze(Object.defineProperty({__proto__:null,insertContent:sIe},Symbol.toStringTag,{value:"Module"})),cIe=/,/g,dIe="-->";class tL extends d9{parse(n,i){if(n==="")this.c&&(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null),this.e=Zd.None;else if(this.e===Zd.Cue)this.c.text+=(this.c.text?`