@qualityunit/liveagent-ticket-grid 0.0.78 → 0.0.80

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.
@@ -7,7 +7,7 @@ Note: there are at least one loader still registered to this locale that wasn't
7
7
  *
8
8
  * @author Feross Aboukhadijeh <https://feross.org>
9
9
  * @license MIT
10
- */var za=function(e){return e!=null&&(er(e)||Ka(e)||!!e._isBuffer)};function er(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ka(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&er(e.slice(0,0))}(function(){var e=Va,t=ri.utf8,n=za,i=ri.bin,r=function(o,s){o.constructor==String?s&&s.encoding==="binary"?o=i.stringToBytes(o):o=t.stringToBytes(o):n(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var a=e.bytesToWords(o),u=o.length*8,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<a.length;h++)a[h]=(a[h]<<8|a[h]>>>24)&16711935|(a[h]<<24|a[h]>>>8)&4278255360;a[u>>>5]|=128<<u%32,a[(u+64>>>9<<4)+14]=u;for(var p=r._ff,_=r._gg,y=r._hh,g=r._ii,h=0;h<a.length;h+=16){var E=l,L=c,O=f,I=d;l=p(l,c,f,d,a[h+0],7,-680876936),d=p(d,l,c,f,a[h+1],12,-389564586),f=p(f,d,l,c,a[h+2],17,606105819),c=p(c,f,d,l,a[h+3],22,-1044525330),l=p(l,c,f,d,a[h+4],7,-176418897),d=p(d,l,c,f,a[h+5],12,1200080426),f=p(f,d,l,c,a[h+6],17,-1473231341),c=p(c,f,d,l,a[h+7],22,-45705983),l=p(l,c,f,d,a[h+8],7,1770035416),d=p(d,l,c,f,a[h+9],12,-1958414417),f=p(f,d,l,c,a[h+10],17,-42063),c=p(c,f,d,l,a[h+11],22,-1990404162),l=p(l,c,f,d,a[h+12],7,1804603682),d=p(d,l,c,f,a[h+13],12,-40341101),f=p(f,d,l,c,a[h+14],17,-1502002290),c=p(c,f,d,l,a[h+15],22,1236535329),l=_(l,c,f,d,a[h+1],5,-165796510),d=_(d,l,c,f,a[h+6],9,-1069501632),f=_(f,d,l,c,a[h+11],14,643717713),c=_(c,f,d,l,a[h+0],20,-373897302),l=_(l,c,f,d,a[h+5],5,-701558691),d=_(d,l,c,f,a[h+10],9,38016083),f=_(f,d,l,c,a[h+15],14,-660478335),c=_(c,f,d,l,a[h+4],20,-405537848),l=_(l,c,f,d,a[h+9],5,568446438),d=_(d,l,c,f,a[h+14],9,-1019803690),f=_(f,d,l,c,a[h+3],14,-187363961),c=_(c,f,d,l,a[h+8],20,1163531501),l=_(l,c,f,d,a[h+13],5,-1444681467),d=_(d,l,c,f,a[h+2],9,-51403784),f=_(f,d,l,c,a[h+7],14,1735328473),c=_(c,f,d,l,a[h+12],20,-1926607734),l=y(l,c,f,d,a[h+5],4,-378558),d=y(d,l,c,f,a[h+8],11,-2022574463),f=y(f,d,l,c,a[h+11],16,1839030562),c=y(c,f,d,l,a[h+14],23,-35309556),l=y(l,c,f,d,a[h+1],4,-1530992060),d=y(d,l,c,f,a[h+4],11,1272893353),f=y(f,d,l,c,a[h+7],16,-155497632),c=y(c,f,d,l,a[h+10],23,-1094730640),l=y(l,c,f,d,a[h+13],4,681279174),d=y(d,l,c,f,a[h+0],11,-358537222),f=y(f,d,l,c,a[h+3],16,-722521979),c=y(c,f,d,l,a[h+6],23,76029189),l=y(l,c,f,d,a[h+9],4,-640364487),d=y(d,l,c,f,a[h+12],11,-421815835),f=y(f,d,l,c,a[h+15],16,530742520),c=y(c,f,d,l,a[h+2],23,-995338651),l=g(l,c,f,d,a[h+0],6,-198630844),d=g(d,l,c,f,a[h+7],10,1126891415),f=g(f,d,l,c,a[h+14],15,-1416354905),c=g(c,f,d,l,a[h+5],21,-57434055),l=g(l,c,f,d,a[h+12],6,1700485571),d=g(d,l,c,f,a[h+3],10,-1894986606),f=g(f,d,l,c,a[h+10],15,-1051523),c=g(c,f,d,l,a[h+1],21,-2054922799),l=g(l,c,f,d,a[h+8],6,1873313359),d=g(d,l,c,f,a[h+15],10,-30611744),f=g(f,d,l,c,a[h+6],15,-1560198380),c=g(c,f,d,l,a[h+13],21,1309151649),l=g(l,c,f,d,a[h+4],6,-145523070),d=g(d,l,c,f,a[h+11],10,-1120210379),f=g(f,d,l,c,a[h+2],15,718787259),c=g(c,f,d,l,a[h+9],21,-343485551),l=l+E>>>0,c=c+L>>>0,f=f+O>>>0,d=d+I>>>0}return e.endian([l,c,f,d])};r._ff=function(o,s,a,u,l,c,f){var d=o+(s&a|~s&u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._gg=function(o,s,a,u,l,c,f){var d=o+(s&u|a&~u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._hh=function(o,s,a,u,l,c,f){var d=o+(s^a^u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._ii=function(o,s,a,u,l,c,f){var d=o+(a^(s|~u))+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._blocksize=16,r._digestsize=16,qi.exports=function(o,s){if(o==null)throw new Error("Illegal argument "+o);var a=e.wordsToBytes(r(o,s));return s&&s.asBytes?a:s&&s.asString?i.bytesToString(a):e.bytesToHex(a)}})();var Wa=qi.exports;const Ja=Vt(Wa);function Xa(e){return[...e].reduce((t,n)=>Math.imul(31,t)+n.charCodeAt(0)|0,0)}function Za(e){ue(e,"svelte-1rap1nb",".Column.svelte-1rap1nb{height:100%;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(min-width: 768px){.Column.importanceColumn.svelte-1rap1nb{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start}.Column.statusColumn.svelte-1rap1nb{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start}}")}function Ya(e){let t,n,i;const r=e[2].default,o=wt(r,e,e[1],null);return{c(){t=x("div"),o&&o.c(),v(t,"class",n="Column "+e[0]+" svelte-1rap1nb")},m(s,a){N(s,t,a),o&&o.m(t,null),i=!0},p(s,[a]){o&&o.p&&(!i||a&2)&&Tt(o,r,s,s[1],i?Et(r,s[1],a,null):xt(s[1]),null),(!i||a&1&&n!==(n="Column "+s[0]+" svelte-1rap1nb"))&&v(t,"class",n)},i(s){i||(T(o,s),i=!0)},o(s){k(o,s),i=!1},d(s){s&&R(t),o&&o.d(s)}}}function Qa(e,t,n){let{$$slots:i={},$$scope:r}=t,{className:o=""}=t;return e.$$set=s=>{"className"in s&&n(0,o=s.className),"$$scope"in s&&n(1,r=s.$$scope)},[o,r,i]}class An extends re{constructor(t){super(),ie(this,t,Qa,Ya,te,{className:0},Za)}}var tr={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wi,function(){var n=1e3,i=6e4,r=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",c="week",f="month",d="quarter",h="year",p="date",_="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var S=["th","st","nd","rd"],C=M%100;return"["+M+(S[(C-20)%10]||S[C]||S[0])+"]"}},L=function(M,S,C){var D=String(M);return!D||D.length>=S?M:""+Array(S+1-D.length).join(C)+M},O={s:L,z:function(M){var S=-M.utcOffset(),C=Math.abs(S),D=Math.floor(C/60),A=C%60;return(S<=0?"+":"-")+L(D,2,"0")+":"+L(A,2,"0")},m:function M(S,C){if(S.date()<C.date())return-M(C,S);var D=12*(C.year()-S.year())+(C.month()-S.month()),A=S.clone().add(D,f),B=C-A<0,U=S.clone().add(D+(B?-1:1),f);return+(-(D+(C-A)/(B?A-U:U-A))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:h,w:c,d:l,D:p,h:u,m:a,s,ms:o,Q:d}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},I="en",Y={};Y[I]=E;var de="$isDayjsObject",ne=function(M){return M instanceof Te||!(!M||!M[de])},fe=function M(S,C,D){var A;if(!S)return I;if(typeof S=="string"){var B=S.toLowerCase();Y[B]&&(A=B),C&&(Y[B]=C,A=B);var U=S.split("-");if(!A&&U.length>1)return M(U[0])}else{var X=S.name;Y[X]=S,A=X}return!D&&A&&(I=A),A||!D&&I},ae=function(M,S){if(ne(M))return M.clone();var C=typeof S=="object"?S:{};return C.date=M,C.args=arguments,new Te(C)},z=O;z.l=fe,z.i=ne,z.w=function(M,S){return ae(M,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var Te=function(){function M(C){this.$L=fe(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[de]=!0}var S=M.prototype;return S.parse=function(C){this.$d=function(D){var A=D.date,B=D.utc;if(A===null)return new Date(NaN);if(z.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var U=A.match(y);if(U){var X=U[2]-1||0,ee=(U[7]||"0").substring(0,3);return B?new Date(Date.UTC(U[1],X,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ee)):new Date(U[1],X,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ee)}}return new Date(A)}(C),this.init()},S.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},S.$utils=function(){return z},S.isValid=function(){return this.$d.toString()!==_},S.isSame=function(C,D){var A=ae(C);return this.startOf(D)<=A&&A<=this.endOf(D)},S.isAfter=function(C,D){return ae(C)<this.startOf(D)},S.isBefore=function(C,D){return this.endOf(D)<ae(C)},S.$g=function(C,D,A){return z.u(C)?this[D]:this.set(A,C)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(C,D){var A=this,B=!!z.u(D)||D,U=z.p(C),X=function(He,_e){var Re=z.w(A.$u?Date.UTC(A.$y,_e,He):new Date(A.$y,_e,He),A);return B?Re:Re.endOf(l)},ee=function(He,_e){return z.w(A.toDate()[He].apply(A.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(_e)),A)},P=this.$W,Q=this.$M,ge=this.$D,Se="set"+(this.$u?"UTC":"");switch(U){case h:return B?X(1,0):X(31,11);case f:return B?X(1,Q):X(0,Q+1);case c:var Le=this.$locale().weekStart||0,ot=(P<Le?P+7:P)-Le;return X(B?ge-ot:ge+(6-ot),Q);case l:case p:return ee(Se+"Hours",0);case u:return ee(Se+"Minutes",1);case a:return ee(Se+"Seconds",2);case s:return ee(Se+"Milliseconds",3);default:return this.clone()}},S.endOf=function(C){return this.startOf(C,!1)},S.$set=function(C,D){var A,B=z.p(C),U="set"+(this.$u?"UTC":""),X=(A={},A[l]=U+"Date",A[p]=U+"Date",A[f]=U+"Month",A[h]=U+"FullYear",A[u]=U+"Hours",A[a]=U+"Minutes",A[s]=U+"Seconds",A[o]=U+"Milliseconds",A)[B],ee=B===l?this.$D+(D-this.$W):D;if(B===f||B===h){var P=this.clone().set(p,1);P.$d[X](ee),P.init(),this.$d=P.set(p,Math.min(this.$D,P.daysInMonth())).$d}else X&&this.$d[X](ee);return this.init(),this},S.set=function(C,D){return this.clone().$set(C,D)},S.get=function(C){return this[z.p(C)]()},S.add=function(C,D){var A,B=this;C=Number(C);var U=z.p(D),X=function(Q){var ge=ae(B);return z.w(ge.date(ge.date()+Math.round(Q*C)),B)};if(U===f)return this.set(f,this.$M+C);if(U===h)return this.set(h,this.$y+C);if(U===l)return X(1);if(U===c)return X(7);var ee=(A={},A[a]=i,A[u]=r,A[s]=n,A)[U]||1,P=this.$d.getTime()+C*ee;return z.w(P,this)},S.subtract=function(C,D){return this.add(-1*C,D)},S.format=function(C){var D=this,A=this.$locale();if(!this.isValid())return A.invalidDate||_;var B=C||"YYYY-MM-DDTHH:mm:ssZ",U=z.z(this),X=this.$H,ee=this.$m,P=this.$M,Q=A.weekdays,ge=A.months,Se=A.meridiem,Le=function(_e,Re,st,Lt){return _e&&(_e[Re]||_e(D,B))||st[Re].slice(0,Lt)},ot=function(_e){return z.s(X%12||12,_e,"0")},He=Se||function(_e,Re,st){var Lt=_e<12?"AM":"PM";return st?Lt.toLowerCase():Lt};return B.replace(g,function(_e,Re){return Re||function(st){switch(st){case"YY":return String(D.$y).slice(-2);case"YYYY":return z.s(D.$y,4,"0");case"M":return P+1;case"MM":return z.s(P+1,2,"0");case"MMM":return Le(A.monthsShort,P,ge,3);case"MMMM":return Le(ge,P);case"D":return D.$D;case"DD":return z.s(D.$D,2,"0");case"d":return String(D.$W);case"dd":return Le(A.weekdaysMin,D.$W,Q,2);case"ddd":return Le(A.weekdaysShort,D.$W,Q,3);case"dddd":return Q[D.$W];case"H":return String(X);case"HH":return z.s(X,2,"0");case"h":return ot(1);case"hh":return ot(2);case"a":return He(X,ee,!0);case"A":return He(X,ee,!1);case"m":return String(ee);case"mm":return z.s(ee,2,"0");case"s":return String(D.$s);case"ss":return z.s(D.$s,2,"0");case"SSS":return z.s(D.$ms,3,"0");case"Z":return U}return null}(_e)||U.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(C,D,A){var B,U=this,X=z.p(D),ee=ae(C),P=(ee.utcOffset()-this.utcOffset())*i,Q=this-ee,ge=function(){return z.m(U,ee)};switch(X){case h:B=ge()/12;break;case f:B=ge();break;case d:B=ge()/3;break;case c:B=(Q-P)/6048e5;break;case l:B=(Q-P)/864e5;break;case u:B=Q/r;break;case a:B=Q/i;break;case s:B=Q/n;break;default:B=Q}return A?B:z.a(B)},S.daysInMonth=function(){return this.endOf(f).$D},S.$locale=function(){return Y[this.$L]},S.locale=function(C,D){if(!C)return this.$L;var A=this.clone(),B=fe(C,D,!0);return B&&(A.$L=B),A},S.clone=function(){return z.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},M}(),Ce=Te.prototype;return ae.prototype=Ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",f],["$y",h],["$D",p]].forEach(function(M){Ce[M[1]]=function(S){return this.$g(S,M[0],M[1])}}),ae.extend=function(M,S){return M.$i||(M(S,Te,ae),M.$i=!0),ae},ae.locale=fe,ae.isDayjs=ne,ae.unix=function(M){return ae(1e3*M)},ae.en=Y[I],ae.Ls=Y,ae.p={},ae})})(tr);var qa=tr.exports;const ft=Vt(qa);var nr={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wi,function(){return function(n,i,r){n=n||{};var o=i.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(l,c,f,d){return o.fromToBase(l,c,f,d)}r.en.relativeTime=s,o.fromToBase=function(l,c,f,d,h){for(var p,_,y,g=f.$locale().relativeTime||s,E=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],L=E.length,O=0;O<L;O+=1){var I=E[O];I.d&&(p=d?r(l).diff(f,I.d,!0):f.diff(l,I.d,!0));var Y=(n.rounding||Math.round)(Math.abs(p));if(y=p>0,Y<=I.r||!I.r){Y<=1&&O>0&&(I=E[O-1]);var de=g[I.l];h&&(Y=h(""+Y)),_=typeof de=="string"?de.replace("%d",Y):de(Y,c,I.l,y);break}}if(c)return _;var ne=y?g.future:g.past;return typeof ne=="function"?ne(_):ne.replace("%s",_)},o.to=function(l,c){return a(l,c,this,!0)},o.from=function(l,c){return a(l,c,this)};var u=function(l){return l.$u?r.utc():r()};o.toNow=function(l){return this.to(u(this),l)},o.fromNow=function(l){return this.from(u(this),l)}}})})(nr);var ja=nr.exports;const el=Vt(ja);ft.extend(el);function tl(e){let t,n,i=[e[3],{title:e[2]},{datetime:e[1]}],r={};for(let o=0;o<i.length;o+=1)r=pt(r,i[o]);return{c(){t=x("time"),n=j(e[0]),Nn(t,r)},m(o,s){N(o,t,s),w(t,n)},p(o,[s]){s&1&&vr(n,o[0],r.contenteditable),Nn(t,r=yi(i,[s&8&&o[3],s&4&&{title:o[2]},s&2&&{datetime:o[1]}]))},i:J,o:J,d(o){o&&R(t)}}}function nl(e,t,n){let i;const r=["timestamp","format","relative","live","formatted"];let o=Rn(t,r),{timestamp:s=new Date().toISOString()}=t,{format:a="MMM DD, YYYY"}=t,{relative:u=!1}=t,{live:l=!1}=t,{formatted:c=""}=t,f;const d=60*1e3;return Ut(()=>()=>clearInterval(f)),e.$$set=h=>{t=pt(pt({},t),cr(h)),n(3,o=Rn(t,r)),"timestamp"in h&&n(1,s=h.timestamp),"format"in h&&n(4,a=h.format),"relative"in h&&n(5,u=h.relative),"live"in h&&n(6,l=h.live),"formatted"in h&&n(0,c=h.formatted)},e.$$.update=()=>{e.$$.dirty&98&&u&&l!==!1&&(f=setInterval(()=>{n(0,c=ft(s).from())},Math.abs(typeof l=="number"?l:d))),e.$$.dirty&50&&n(0,c=u?ft(s).from():ft(s).format(a)),e.$$.dirty&50&&n(2,i=u?ft(s).format(a):void 0)},[c,s,i,o,a,u,l]}class ir extends re{constructor(t){super(),ie(this,t,nl,tl,te,{timestamp:1,format:4,relative:5,live:6,formatted:0})}}function il(e){ue(e,"svelte-1xxfpqg",`.Tag.svelte-1xxfpqg{box-sizing:border-box;display:inline-flex;color:var(--main-textcolor);align-items:center;justify-content:center;font-size:13px;font-weight:bold;line-height:20px;padding:2px 6px;margin-right:6px;margin-top:2px;border-radius:69px}.empty.svelte-1xxfpqg{display:none}.Tag.svelte-1xxfpqg:before{font-family:"la-icon-font"}.SLA.svelte-1xxfpqg{border:1px solid var(--main-lighter-textcolor);border-radius:4px;color:var(--main-lighter-textcolor)
10
+ */var za=function(e){return e!=null&&(er(e)||Ka(e)||!!e._isBuffer)};function er(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ka(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&er(e.slice(0,0))}(function(){var e=Va,t=ri.utf8,n=za,i=ri.bin,r=function(o,s){o.constructor==String?s&&s.encoding==="binary"?o=i.stringToBytes(o):o=t.stringToBytes(o):n(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var a=e.bytesToWords(o),u=o.length*8,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<a.length;h++)a[h]=(a[h]<<8|a[h]>>>24)&16711935|(a[h]<<24|a[h]>>>8)&4278255360;a[u>>>5]|=128<<u%32,a[(u+64>>>9<<4)+14]=u;for(var p=r._ff,_=r._gg,y=r._hh,g=r._ii,h=0;h<a.length;h+=16){var E=l,L=c,O=f,I=d;l=p(l,c,f,d,a[h+0],7,-680876936),d=p(d,l,c,f,a[h+1],12,-389564586),f=p(f,d,l,c,a[h+2],17,606105819),c=p(c,f,d,l,a[h+3],22,-1044525330),l=p(l,c,f,d,a[h+4],7,-176418897),d=p(d,l,c,f,a[h+5],12,1200080426),f=p(f,d,l,c,a[h+6],17,-1473231341),c=p(c,f,d,l,a[h+7],22,-45705983),l=p(l,c,f,d,a[h+8],7,1770035416),d=p(d,l,c,f,a[h+9],12,-1958414417),f=p(f,d,l,c,a[h+10],17,-42063),c=p(c,f,d,l,a[h+11],22,-1990404162),l=p(l,c,f,d,a[h+12],7,1804603682),d=p(d,l,c,f,a[h+13],12,-40341101),f=p(f,d,l,c,a[h+14],17,-1502002290),c=p(c,f,d,l,a[h+15],22,1236535329),l=_(l,c,f,d,a[h+1],5,-165796510),d=_(d,l,c,f,a[h+6],9,-1069501632),f=_(f,d,l,c,a[h+11],14,643717713),c=_(c,f,d,l,a[h+0],20,-373897302),l=_(l,c,f,d,a[h+5],5,-701558691),d=_(d,l,c,f,a[h+10],9,38016083),f=_(f,d,l,c,a[h+15],14,-660478335),c=_(c,f,d,l,a[h+4],20,-405537848),l=_(l,c,f,d,a[h+9],5,568446438),d=_(d,l,c,f,a[h+14],9,-1019803690),f=_(f,d,l,c,a[h+3],14,-187363961),c=_(c,f,d,l,a[h+8],20,1163531501),l=_(l,c,f,d,a[h+13],5,-1444681467),d=_(d,l,c,f,a[h+2],9,-51403784),f=_(f,d,l,c,a[h+7],14,1735328473),c=_(c,f,d,l,a[h+12],20,-1926607734),l=y(l,c,f,d,a[h+5],4,-378558),d=y(d,l,c,f,a[h+8],11,-2022574463),f=y(f,d,l,c,a[h+11],16,1839030562),c=y(c,f,d,l,a[h+14],23,-35309556),l=y(l,c,f,d,a[h+1],4,-1530992060),d=y(d,l,c,f,a[h+4],11,1272893353),f=y(f,d,l,c,a[h+7],16,-155497632),c=y(c,f,d,l,a[h+10],23,-1094730640),l=y(l,c,f,d,a[h+13],4,681279174),d=y(d,l,c,f,a[h+0],11,-358537222),f=y(f,d,l,c,a[h+3],16,-722521979),c=y(c,f,d,l,a[h+6],23,76029189),l=y(l,c,f,d,a[h+9],4,-640364487),d=y(d,l,c,f,a[h+12],11,-421815835),f=y(f,d,l,c,a[h+15],16,530742520),c=y(c,f,d,l,a[h+2],23,-995338651),l=g(l,c,f,d,a[h+0],6,-198630844),d=g(d,l,c,f,a[h+7],10,1126891415),f=g(f,d,l,c,a[h+14],15,-1416354905),c=g(c,f,d,l,a[h+5],21,-57434055),l=g(l,c,f,d,a[h+12],6,1700485571),d=g(d,l,c,f,a[h+3],10,-1894986606),f=g(f,d,l,c,a[h+10],15,-1051523),c=g(c,f,d,l,a[h+1],21,-2054922799),l=g(l,c,f,d,a[h+8],6,1873313359),d=g(d,l,c,f,a[h+15],10,-30611744),f=g(f,d,l,c,a[h+6],15,-1560198380),c=g(c,f,d,l,a[h+13],21,1309151649),l=g(l,c,f,d,a[h+4],6,-145523070),d=g(d,l,c,f,a[h+11],10,-1120210379),f=g(f,d,l,c,a[h+2],15,718787259),c=g(c,f,d,l,a[h+9],21,-343485551),l=l+E>>>0,c=c+L>>>0,f=f+O>>>0,d=d+I>>>0}return e.endian([l,c,f,d])};r._ff=function(o,s,a,u,l,c,f){var d=o+(s&a|~s&u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._gg=function(o,s,a,u,l,c,f){var d=o+(s&u|a&~u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._hh=function(o,s,a,u,l,c,f){var d=o+(s^a^u)+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._ii=function(o,s,a,u,l,c,f){var d=o+(a^(s|~u))+(l>>>0)+f;return(d<<c|d>>>32-c)+s},r._blocksize=16,r._digestsize=16,qi.exports=function(o,s){if(o==null)throw new Error("Illegal argument "+o);var a=e.wordsToBytes(r(o,s));return s&&s.asBytes?a:s&&s.asString?i.bytesToString(a):e.bytesToHex(a)}})();var Wa=qi.exports;const Ja=Vt(Wa);function Xa(e){return[...e].reduce((t,n)=>Math.imul(31,t)+n.charCodeAt(0)|0,0)}function Za(e){ue(e,"svelte-1rap1nb",".Column.svelte-1rap1nb{height:100%;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(min-width: 768px){.Column.importanceColumn.svelte-1rap1nb{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start}.Column.statusColumn.svelte-1rap1nb{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start}}")}function Ya(e){let t,n,i;const r=e[2].default,o=wt(r,e,e[1],null);return{c(){t=x("div"),o&&o.c(),v(t,"class",n="Column "+e[0]+" svelte-1rap1nb")},m(s,a){N(s,t,a),o&&o.m(t,null),i=!0},p(s,[a]){o&&o.p&&(!i||a&2)&&Tt(o,r,s,s[1],i?Et(r,s[1],a,null):xt(s[1]),null),(!i||a&1&&n!==(n="Column "+s[0]+" svelte-1rap1nb"))&&v(t,"class",n)},i(s){i||(T(o,s),i=!0)},o(s){k(o,s),i=!1},d(s){s&&R(t),o&&o.d(s)}}}function Qa(e,t,n){let{$$slots:i={},$$scope:r}=t,{className:o=""}=t;return e.$$set=s=>{"className"in s&&n(0,o=s.className),"$$scope"in s&&n(1,r=s.$$scope)},[o,r,i]}class An extends re{constructor(t){super(),ie(this,t,Qa,Ya,te,{className:0},Za)}}var tr={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wi,function(){var n=1e3,i=6e4,r=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",c="week",f="month",d="quarter",h="year",p="date",_="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var S=["th","st","nd","rd"],C=M%100;return"["+M+(S[(C-20)%10]||S[C]||S[0])+"]"}},L=function(M,S,C){var D=String(M);return!D||D.length>=S?M:""+Array(S+1-D.length).join(C)+M},O={s:L,z:function(M){var S=-M.utcOffset(),C=Math.abs(S),D=Math.floor(C/60),A=C%60;return(S<=0?"+":"-")+L(D,2,"0")+":"+L(A,2,"0")},m:function M(S,C){if(S.date()<C.date())return-M(C,S);var D=12*(C.year()-S.year())+(C.month()-S.month()),A=S.clone().add(D,f),B=C-A<0,U=S.clone().add(D+(B?-1:1),f);return+(-(D+(C-A)/(B?A-U:U-A))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:h,w:c,d:l,D:p,h:u,m:a,s,ms:o,Q:d}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},I="en",Y={};Y[I]=E;var de="$isDayjsObject",ne=function(M){return M instanceof Te||!(!M||!M[de])},fe=function M(S,C,D){var A;if(!S)return I;if(typeof S=="string"){var B=S.toLowerCase();Y[B]&&(A=B),C&&(Y[B]=C,A=B);var U=S.split("-");if(!A&&U.length>1)return M(U[0])}else{var X=S.name;Y[X]=S,A=X}return!D&&A&&(I=A),A||!D&&I},ae=function(M,S){if(ne(M))return M.clone();var C=typeof S=="object"?S:{};return C.date=M,C.args=arguments,new Te(C)},z=O;z.l=fe,z.i=ne,z.w=function(M,S){return ae(M,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var Te=function(){function M(C){this.$L=fe(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[de]=!0}var S=M.prototype;return S.parse=function(C){this.$d=function(D){var A=D.date,B=D.utc;if(A===null)return new Date(NaN);if(z.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var U=A.match(y);if(U){var X=U[2]-1||0,ee=(U[7]||"0").substring(0,3);return B?new Date(Date.UTC(U[1],X,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ee)):new Date(U[1],X,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ee)}}return new Date(A)}(C),this.init()},S.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},S.$utils=function(){return z},S.isValid=function(){return this.$d.toString()!==_},S.isSame=function(C,D){var A=ae(C);return this.startOf(D)<=A&&A<=this.endOf(D)},S.isAfter=function(C,D){return ae(C)<this.startOf(D)},S.isBefore=function(C,D){return this.endOf(D)<ae(C)},S.$g=function(C,D,A){return z.u(C)?this[D]:this.set(A,C)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(C,D){var A=this,B=!!z.u(D)||D,U=z.p(C),X=function(He,_e){var Re=z.w(A.$u?Date.UTC(A.$y,_e,He):new Date(A.$y,_e,He),A);return B?Re:Re.endOf(l)},ee=function(He,_e){return z.w(A.toDate()[He].apply(A.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(_e)),A)},P=this.$W,Q=this.$M,ge=this.$D,Se="set"+(this.$u?"UTC":"");switch(U){case h:return B?X(1,0):X(31,11);case f:return B?X(1,Q):X(0,Q+1);case c:var Le=this.$locale().weekStart||0,ot=(P<Le?P+7:P)-Le;return X(B?ge-ot:ge+(6-ot),Q);case l:case p:return ee(Se+"Hours",0);case u:return ee(Se+"Minutes",1);case a:return ee(Se+"Seconds",2);case s:return ee(Se+"Milliseconds",3);default:return this.clone()}},S.endOf=function(C){return this.startOf(C,!1)},S.$set=function(C,D){var A,B=z.p(C),U="set"+(this.$u?"UTC":""),X=(A={},A[l]=U+"Date",A[p]=U+"Date",A[f]=U+"Month",A[h]=U+"FullYear",A[u]=U+"Hours",A[a]=U+"Minutes",A[s]=U+"Seconds",A[o]=U+"Milliseconds",A)[B],ee=B===l?this.$D+(D-this.$W):D;if(B===f||B===h){var P=this.clone().set(p,1);P.$d[X](ee),P.init(),this.$d=P.set(p,Math.min(this.$D,P.daysInMonth())).$d}else X&&this.$d[X](ee);return this.init(),this},S.set=function(C,D){return this.clone().$set(C,D)},S.get=function(C){return this[z.p(C)]()},S.add=function(C,D){var A,B=this;C=Number(C);var U=z.p(D),X=function(Q){var ge=ae(B);return z.w(ge.date(ge.date()+Math.round(Q*C)),B)};if(U===f)return this.set(f,this.$M+C);if(U===h)return this.set(h,this.$y+C);if(U===l)return X(1);if(U===c)return X(7);var ee=(A={},A[a]=i,A[u]=r,A[s]=n,A)[U]||1,P=this.$d.getTime()+C*ee;return z.w(P,this)},S.subtract=function(C,D){return this.add(-1*C,D)},S.format=function(C){var D=this,A=this.$locale();if(!this.isValid())return A.invalidDate||_;var B=C||"YYYY-MM-DDTHH:mm:ssZ",U=z.z(this),X=this.$H,ee=this.$m,P=this.$M,Q=A.weekdays,ge=A.months,Se=A.meridiem,Le=function(_e,Re,st,Lt){return _e&&(_e[Re]||_e(D,B))||st[Re].slice(0,Lt)},ot=function(_e){return z.s(X%12||12,_e,"0")},He=Se||function(_e,Re,st){var Lt=_e<12?"AM":"PM";return st?Lt.toLowerCase():Lt};return B.replace(g,function(_e,Re){return Re||function(st){switch(st){case"YY":return String(D.$y).slice(-2);case"YYYY":return z.s(D.$y,4,"0");case"M":return P+1;case"MM":return z.s(P+1,2,"0");case"MMM":return Le(A.monthsShort,P,ge,3);case"MMMM":return Le(ge,P);case"D":return D.$D;case"DD":return z.s(D.$D,2,"0");case"d":return String(D.$W);case"dd":return Le(A.weekdaysMin,D.$W,Q,2);case"ddd":return Le(A.weekdaysShort,D.$W,Q,3);case"dddd":return Q[D.$W];case"H":return String(X);case"HH":return z.s(X,2,"0");case"h":return ot(1);case"hh":return ot(2);case"a":return He(X,ee,!0);case"A":return He(X,ee,!1);case"m":return String(ee);case"mm":return z.s(ee,2,"0");case"s":return String(D.$s);case"ss":return z.s(D.$s,2,"0");case"SSS":return z.s(D.$ms,3,"0");case"Z":return U}return null}(_e)||U.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(C,D,A){var B,U=this,X=z.p(D),ee=ae(C),P=(ee.utcOffset()-this.utcOffset())*i,Q=this-ee,ge=function(){return z.m(U,ee)};switch(X){case h:B=ge()/12;break;case f:B=ge();break;case d:B=ge()/3;break;case c:B=(Q-P)/6048e5;break;case l:B=(Q-P)/864e5;break;case u:B=Q/r;break;case a:B=Q/i;break;case s:B=Q/n;break;default:B=Q}return A?B:z.a(B)},S.daysInMonth=function(){return this.endOf(f).$D},S.$locale=function(){return Y[this.$L]},S.locale=function(C,D){if(!C)return this.$L;var A=this.clone(),B=fe(C,D,!0);return B&&(A.$L=B),A},S.clone=function(){return z.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},M}(),Ce=Te.prototype;return ae.prototype=Ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",f],["$y",h],["$D",p]].forEach(function(M){Ce[M[1]]=function(S){return this.$g(S,M[0],M[1])}}),ae.extend=function(M,S){return M.$i||(M(S,Te,ae),M.$i=!0),ae},ae.locale=fe,ae.isDayjs=ne,ae.unix=function(M){return ae(1e3*M)},ae.en=Y[I],ae.Ls=Y,ae.p={},ae})})(tr);var qa=tr.exports;const ft=Vt(qa);var nr={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(wi,function(){return function(n,i,r){n=n||{};var o=i.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(l,c,f,d){return o.fromToBase(l,c,f,d)}r.en.relativeTime=s,o.fromToBase=function(l,c,f,d,h){for(var p,_,y,g=f.$locale().relativeTime||s,E=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],L=E.length,O=0;O<L;O+=1){var I=E[O];I.d&&(p=d?r(l).diff(f,I.d,!0):f.diff(l,I.d,!0));var Y=(n.rounding||Math.round)(Math.abs(p));if(y=p>0,Y<=I.r||!I.r){Y<=1&&O>0&&(I=E[O-1]);var de=g[I.l];h&&(Y=h(""+Y)),_=typeof de=="string"?de.replace("%d",Y):de(Y,c,I.l,y);break}}if(c)return _;var ne=y?g.future:g.past;return typeof ne=="function"?ne(_):ne.replace("%s",_)},o.to=function(l,c){return a(l,c,this,!0)},o.from=function(l,c){return a(l,c,this)};var u=function(l){return l.$u?r.utc():r()};o.toNow=function(l){return this.to(u(this),l)},o.fromNow=function(l){return this.from(u(this),l)}}})})(nr);var ja=nr.exports;const el=Vt(ja);ft.extend(el);function tl(e){let t,n,i=[{title:e[2]},e[3],{datetime:e[1]}],r={};for(let o=0;o<i.length;o+=1)r=pt(r,i[o]);return{c(){t=x("time"),n=j(e[0]),Nn(t,r)},m(o,s){N(o,t,s),w(t,n)},p(o,[s]){s&1&&vr(n,o[0],r.contenteditable),Nn(t,r=yi(i,[s&4&&{title:o[2]},s&8&&o[3],s&2&&{datetime:o[1]}]))},i:J,o:J,d(o){o&&R(t)}}}function nl(e,t,n){let i;const r=["timestamp","format","relative","live","formatted"];let o=Rn(t,r),{timestamp:s=new Date().toISOString()}=t,{format:a="MMM DD, YYYY"}=t,{relative:u=!1}=t,{live:l=!1}=t,{formatted:c=""}=t,f;const d=60*1e3;return Ut(()=>()=>clearInterval(f)),e.$$set=h=>{t=pt(pt({},t),cr(h)),n(3,o=Rn(t,r)),"timestamp"in h&&n(1,s=h.timestamp),"format"in h&&n(4,a=h.format),"relative"in h&&n(5,u=h.relative),"live"in h&&n(6,l=h.live),"formatted"in h&&n(0,c=h.formatted)},e.$$.update=()=>{e.$$.dirty&98&&u&&l!==!1&&(f=setInterval(()=>{n(0,c=ft(s).from())},Math.abs(typeof l=="number"?l:d))),e.$$.dirty&50&&n(0,c=u?ft(s).from():ft(s).format(a)),e.$$.dirty&50&&n(2,i=u?ft(s).format(a):void 0)},[c,s,i,o,a,u,l]}class ir extends re{constructor(t){super(),ie(this,t,nl,tl,te,{timestamp:1,format:4,relative:5,live:6,formatted:0})}}function il(e){ue(e,"svelte-1xxfpqg",`.Tag.svelte-1xxfpqg{box-sizing:border-box;display:inline-flex;color:var(--main-textcolor);align-items:center;justify-content:center;font-size:13px;font-weight:bold;line-height:20px;padding:2px 6px;margin-right:6px;margin-top:2px;border-radius:69px}.empty.svelte-1xxfpqg{display:none}.Tag.svelte-1xxfpqg:before{font-family:"la-icon-font"}.SLA.svelte-1xxfpqg{border:1px solid var(--main-lighter-textcolor);border-radius:4px;color:var(--main-lighter-textcolor)
11
11
  }@media(min-width: 768px){.Tag.svelte-1xxfpqg{font-size:12px}}`)}function rl(e){let t,n;return{c(){t=x("span"),n=j(e[1]),v(t,"class","text")},m(i,r){N(i,t,r),w(t,n)},p(i,r){r&2&&se(n,i[1])},i:J,o:J,d(i){i&&R(t)}}}function ol(e){let t,n,i,r,o;const s=[al,sl],a=[];function u(l,c){return c&2&&(t=null),t==null&&(t=!isNaN(l[1].getTime())),t?0:1}return n=u(e,-1),i=a[n]=s[n](e),{c(){i.c(),r=kt()},m(l,c){a[n].m(l,c),N(l,r,c),o=!0},p(l,c){let f=n;n=u(l,c),n===f?a[n].p(l,c):(be(),k(a[f],1,1,()=>{a[f]=null}),we(),i=a[n],i?i.p(l,c):(i=a[n]=s[n](l),i.c()),T(i,1),i.m(r.parentNode,r))},i(l){o||(T(i),o=!0)},o(l){k(i),o=!1},d(l){l&&R(r),a[n].d(l)}}}function sl(e){let t,n=e[4]("Invalid data")+"",i;return{c(){t=x("span"),i=j(n),v(t,"class","invalid")},m(r,o){N(r,t,o),w(t,i)},p(r,o){o&16&&n!==(n=r[4]("Invalid data")+"")&&se(i,n)},i:J,o:J,d(r){r&&R(t)}}}function al(e){let t,n;return t=new ir({props:{style:e[3],timestamp:e[1],format:"",relative:!0}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&8&&(o.style=i[3]),r&2&&(o.timestamp=i[1]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function ll(e){let t,n,i,r,o,s;const a=e[6].default,u=wt(a,e,e[5],null),l=[ol,rl],c=[];function f(d,h){return d[1]instanceof Date?0:1}return i=f(e),r=c[i]=l[i](e),{c(){t=x("div"),u&&u.c(),n=V(),r.c(),v(t,"class",o="Tag "+e[0]+" svelte-1xxfpqg"),v(t,"style",e[2])},m(d,h){N(d,t,h),u&&u.m(t,null),w(t,n),c[i].m(t,null),s=!0},p(d,[h]){u&&u.p&&(!s||h&32)&&Tt(u,a,d,d[5],s?Et(a,d[5],h,null):xt(d[5]),null);let p=i;i=f(d),i===p?c[i].p(d,h):(be(),k(c[p],1,1,()=>{c[p]=null}),we(),r=c[i],r?r.p(d,h):(r=c[i]=l[i](d),r.c()),T(r,1),r.m(t,null)),(!s||h&1&&o!==(o="Tag "+d[0]+" svelte-1xxfpqg"))&&v(t,"class",o),(!s||h&4)&&v(t,"style",d[2])},i(d){s||(T(u,d),T(r),s=!0)},o(d){k(u,d),k(r),s=!1},d(d){d&&R(t),u&&u.d(d),c[i].d()}}}function ul(e,t,n){let i;K(e,Ee,c=>n(4,i=c));let{$$slots:r={},$$scope:o}=t,{text:s}=t,{className:a=""}=t,{style:u=""}=t,{timeStyle:l=""}=t;return e.$$set=c=>{"text"in c&&n(1,s=c.text),"className"in c&&n(0,a=c.className),"style"in c&&n(2,u=c.style),"timeStyle"in c&&n(3,l=c.timeStyle),"$$scope"in c&&n(5,o=c.$$scope)},e.$$.update=()=>{e.$$.dirty&3&&s===""&&n(0,a="empty")},[a,s,u,l,i,o,r]}class Zt extends re{constructor(t){super(),ie(this,t,ul,ll,te,{text:1,className:0,style:2,timeStyle:3},il)}}function cl(e){ue(e,"svelte-1ify73x","div.Tag.IconTag{display:flex;align-items:center;justify-content:center;gap:5px;border-radius:4px}.IconTag .Icon{display:flex;align-items:center;justify-content:center;font-size:16px;width:16px;height:16px}div.Tag.IconTag.Department{background-color:var(--department-bg-color);color:white}")}function fl(e){let t,n;return t=new Ae({props:{iconLaClassName:e[2]}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&4&&(o.iconLaClassName=i[2]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function dl(e){let t,n;return t=new Zt({props:{text:e[0],className:e[3],style:e[1],$$slots:{default:[fl]},$$scope:{ctx:e}}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&1&&(o.text=i[0]),r&2&&(o.style=i[1]),r&36&&(o.$$scope={dirty:r,ctx:i}),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function hl(e,t,n){let{text:i}=t,{className:r=""}=t,{style:o=""}=t,{iconLaClassName:s}=t,a=`IconTag ${r}`;return e.$$set=u=>{"text"in u&&n(0,i=u.text),"className"in u&&n(4,r=u.className),"style"in u&&n(1,o=u.style),"iconLaClassName"in u&&n(2,s=u.iconLaClassName)},[i,o,s,a,r]}class Yt extends re{constructor(t){super(),ie(this,t,hl,dl,te,{text:0,className:4,style:1,iconLaClassName:2},cl)}}function ml(e){ue(e,"svelte-1wen6ck",".Column.userColumn{display:flex;align-items:center}.Tag.CompanyTag{background-color:var(--department-bg-color);color:var(--main-textcolor)}div.Tag.NoCompanyTag{color:var(--main-lighter-textcolor);border:1px solid var(--main-lighter-textcolor)}.avatar.svelte-1wen6ck{display:none}.companyTag.svelte-1wen6ck{display:none}.name.svelte-1wen6ck{font-size:14px;line-height:20px;font-weight:bold;padding-right:8px;margin-right:6px;position:relative}.name.svelte-1wen6ck::after{content:'';display:block;height:14px;width:1px;background-color:var(--main-textcolor);position:absolute;right:0;top:15%}.no.svelte-1wen6ck{font-weight:400;color:var(--main-lighter-textcolor)}.email.svelte-1wen6ck{font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.texts.svelte-1wen6ck{display:flex;flex-direction:row;justify-content:flex-start;overflow:hidden}@media(min-width: 900px){.avatar.svelte-1wen6ck{display:flex;align-items:center;justify-content:center;margin:0 10px;width:40px;height:40px}.name.svelte-1wen6ck{padding:0;border:none;font-size:13px}.name.svelte-1wen6ck::after{display:none}.email.svelte-1wen6ck{font-size:13px;padding:0}.companyTag.svelte-1wen6ck{display:flex}.texts.svelte-1wen6ck{display:flex;flex-direction:column;justify-content:space-around}}")}function oi(e){let t,n;const i=[e[2]];let r={};for(let o=0;o<i.length;o+=1)r=pt(r,i[o]);return t=new Ua({props:r}),{c(){G(t.$$.fragment)},m(o,s){F(t,o,s),n=!0},p(o,s){const a=s&4?yi(i,[kr(o[2])]):{};t.$set(a)},i(o){n||(T(t.$$.fragment,o),n=!0)},o(o){k(t.$$.fragment,o),n=!1},d(o){$(t,o)}}}function gl(e){let t,n=e[2].name,i,r,o,s=(e[3]!==void 0?e[3]:e[4]("No name"))+"",a,u,l,c,f=(e[0].emails.length!==0?e[0].emails[0]:e[4]("No email"))+"",d,h,p,_,y,g,E=oi(e);return y=new Yt({props:{text:e[0].company==="Y"?"Company":e[4]("No Company"),className:(e[0].company==="Y"?"Company":"No Company")=="Company"?"CompanyTag":"NoCompanyTag",iconLaClassName:"la-companies"}}),{c(){t=x("div"),E.c(),i=V(),r=x("div"),o=x("div"),a=j(s),l=V(),c=x("div"),d=j(f),p=V(),_=x("div"),G(y.$$.fragment),v(t,"class","avatar svelte-1wen6ck"),v(o,"class",u=ce(e[3]?"name":"no name")+" svelte-1wen6ck"),v(c,"class",h=ce(e[0].emails.length===0?"no email":"email")+" svelte-1wen6ck"),v(_,"class","companyTag svelte-1wen6ck"),v(r,"class","texts svelte-1wen6ck")},m(L,O){N(L,t,O),E.m(t,null),N(L,i,O),N(L,r,O),w(r,o),w(o,a),w(r,l),w(r,c),w(c,d),w(r,p),w(r,_),F(y,_,null),g=!0},p(L,O){O&4&&te(n,n=L[2].name)?(be(),k(E,1,1,J),we(),E=oi(L),E.c(),T(E,1),E.m(t,null)):E.p(L,O),(!g||O&24)&&s!==(s=(L[3]!==void 0?L[3]:L[4]("No name"))+"")&&se(a,s),(!g||O&8&&u!==(u=ce(L[3]?"name":"no name")+" svelte-1wen6ck"))&&v(o,"class",u),(!g||O&17)&&f!==(f=(L[0].emails.length!==0?L[0].emails[0]:L[4]("No email"))+"")&&se(d,f),(!g||O&1&&h!==(h=ce(L[0].emails.length===0?"no email":"email")+" svelte-1wen6ck"))&&v(c,"class",h);const I={};O&17&&(I.text=L[0].company==="Y"?"Company":L[4]("No Company")),O&1&&(I.className=(L[0].company==="Y"?"Company":"No Company")=="Company"?"CompanyTag":"NoCompanyTag"),y.$set(I)},i(L){g||(T(E),T(y.$$.fragment,L),g=!0)},o(L){k(E),k(y.$$.fragment,L),g=!1},d(L){L&&(R(t),R(i),R(r)),E.d(L),$(y)}}}function pl(e){let t,n;return t=new An({props:{className:e[1],$$slots:{default:[gl]},$$scope:{ctx:e}}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&2&&(o.className=i[1]),r&285&&(o.$$scope={dirty:r,ctx:i}),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function _l(e,t,n){if(!e)return(n[0]+n[1]).toUpperCase();let i=e[0];return t&&(i+=t[0]),i}function vl(e,t,n){let i,r,o;K(e,Ee,f=>n(4,o=f));let{row:s}=t,{className:a="userColumn"}=t;function u(f,d,h){if(!f)return"";let p=f+" "+d;return p.trim()||(p=h),p}function l(f,d){let h=f;return h||(h="https://www.gravatar.com/avatar/"+Ja(d[0]??"")+"?s=200&d=404"),h}function c(f,d,h,p){let _;p?_=Xa(u(f,d,p)+h):_=Math.floor(Math.random()*16777215);let y=(_&16711680)>>16,g=(_&65280)>>8,E=_&255;return y+g+E<150&&(y=150),y+g+E>400&&(y=0),`rgb(${y},${g},${E})`}return e.$$set=f=>{"row"in f&&n(0,s=f.row),"className"in f&&n(1,a=f.className)},e.$$.update=()=>{e.$$.dirty&1&&n(3,i=s.name),e.$$.dirty&1&&n(2,r={bgColor:c(s.firstname,s.lastname,s.emails,s.systemName),name:u(s.firstname,s.lastname,s.systemName),src:l(s.avatarUrl,s.emails),initials:_l(s.firstname,s.lastname,s.systemName)})},[s,a,r,i,o]}class yl extends re{constructor(t){super(),ie(this,t,vl,pl,te,{row:0,className:1},ml)}}function bl(e){ue(e,"svelte-hsbbji",".invalid.svelte-hsbbji{color:var(--panel_text_color)}.Date.svelte-hsbbji{display:inline-flex;align-items:center;justify-content:center}")}function wl(e){let t,n=e[4]("Invalid data")+"",i;return{c(){t=x("span"),i=j(n),v(t,"class","invalid svelte-hsbbji")},m(r,o){N(r,t,o),w(t,i)},p(r,o){o&16&&n!==(n=r[4]("Invalid data")+"")&&se(i,n)},i:J,o:J,d(r){r&&R(t)}}}function El(e){let t,n;return t=new ir({props:{style:e[2],timestamp:e[0],format:e[1],relative:e[3]}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&4&&(o.style=i[2]),r&1&&(o.timestamp=i[0]),r&2&&(o.format=i[1]),r&8&&(o.relative=i[3]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Tl(e){let t,n,i,r,o;const s=[El,wl],a=[];function u(l,c){return c&1&&(n=null),n==null&&(n=l[0]instanceof Date&&!isNaN(l[0].getTime())),n?0:1}return i=u(e,-1),r=a[i]=s[i](e),{c(){t=x("div"),r.c(),v(t,"class","Date svelte-hsbbji")},m(l,c){N(l,t,c),a[i].m(t,null),o=!0},p(l,[c]){let f=i;i=u(l,c),i===f?a[i].p(l,c):(be(),k(a[f],1,1,()=>{a[f]=null}),we(),r=a[i],r?r.p(l,c):(r=a[i]=s[i](l),r.c()),T(r,1),r.m(t,null))},i(l){o||(T(r),o=!0)},o(l){k(r),o=!1},d(l){l&&R(t),a[i].d()}}}function xl(e,t,n){let i;K(e,Ee,u=>n(4,i=u));let{data:r}=t,{format:o=ca()}=t,{style:s=""}=t,{relative:a=!1}=t;return e.$$set=u=>{"data"in u&&n(0,r=u.data),"format"in u&&n(1,o=u.format),"style"in u&&n(2,s=u.style),"relative"in u&&n(3,a=u.relative)},[r,o,s,a,i]}class si extends re{constructor(t){super(),ie(this,t,xl,Tl,te,{data:0,format:1,style:2,relative:3},bl)}}function kl(e){ue(e,"svelte-1q9wgt3",".IconWrapper.svelte-1q9wgt3{display:flex;justify-content:center;align-items:center;margin:4px 6px}.CombinedTag.svelte-1q9wgt3{display:inline-flex;flex-direction:row;border-radius:4px;margin-top:2px;margin-right:6px;padding-right:0}.Pending.svelte-1q9wgt3{background-color:var(--ok-color)}.Overdue.svelte-1q9wgt3{background-color:var(--notif-error-color)}")}function Cl(e){let t,n,i,r;n=new Ae({props:{iconLaClassName:e[2]}});const o=e[7].default,s=wt(o,e,e[6],null);return{c(){t=x("div"),G(n.$$.fragment),i=V(),s&&s.c(),v(t,"class","IconWrapper svelte-1q9wgt3")},m(a,u){N(a,t,u),F(n,t,null),N(a,i,u),s&&s.m(a,u),r=!0},p(a,u){const l={};u&4&&(l.iconLaClassName=a[2]),n.$set(l),s&&s.p&&(!r||u&64)&&Tt(s,o,a,a[6],r?Et(o,a[6],u,null):xt(a[6]),null)},i(a){r||(T(n.$$.fragment,a),T(s,a),r=!0)},o(a){k(n.$$.fragment,a),k(s,a),r=!1},d(a){a&&(R(t),R(i)),$(n),s&&s.d(a)}}}function Ll(e){let t,n;return t=new Yt({props:{style:e[4],text:e[0],iconLaClassName:e[2],className:"Combined"}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&16&&(o.style=i[4]),r&1&&(o.text=i[0]),r&4&&(o.iconLaClassName=i[2]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Sl(e){let t,n,i,r,o,s,a;const u=[Ll,Cl],l=[];function c(f,d){return f[0]!==""?0:1}return n=c(e),i=l[n]=u[n](e),o=new Zt({props:{style:e[5],text:e[1]}}),{c(){t=x("div"),i.c(),r=V(),G(o.$$.fragment),v(t,"class",s=ce(`CombinedTag ${e[3]}`)+" svelte-1q9wgt3")},m(f,d){N(f,t,d),l[n].m(t,null),w(t,r),F(o,t,null),a=!0},p(f,[d]){let h=n;n=c(f),n===h?l[n].p(f,d):(be(),k(l[h],1,1,()=>{l[h]=null}),we(),i=l[n],i?i.p(f,d):(i=l[n]=u[n](f),i.c()),T(i,1),i.m(t,r));const p={};d&32&&(p.style=f[5]),d&2&&(p.text=f[1]),o.$set(p),(!a||d&8&&s!==(s=ce(`CombinedTag ${f[3]}`)+" svelte-1q9wgt3"))&&v(t,"class",s)},i(f){a||(T(i),T(o.$$.fragment,f),a=!0)},o(f){k(i),k(o.$$.fragment,f),a=!1},d(f){f&&R(t),l[n].d(),$(o)}}}function Al(e,t,n){let{$$slots:i={},$$scope:r}=t,{iconText:o=""}=t,{tagText:s}=t,{iconLaClassName:a}=t,{className:u}=t,{iconTagStyles:l}=t,{tagStyles:c}=t;return e.$$set=f=>{"iconText"in f&&n(0,o=f.iconText),"tagText"in f&&n(1,s=f.tagText),"iconLaClassName"in f&&n(2,a=f.iconLaClassName),"className"in f&&n(3,u=f.className),"iconTagStyles"in f&&n(4,l=f.iconTagStyles),"tagStyles"in f&&n(5,c=f.tagStyles),"$$scope"in f&&n(6,r=f.$$scope)},[o,s,a,u,l,c,r,i]}class rr extends re{constructor(t){super(),ie(this,t,Al,Sl,te,{iconText:0,tagText:1,iconLaClassName:2,className:3,iconTagStyles:4,tagStyles:5},kl)}}function Ol(e){let t,n;return t=new Zt({props:{text:e[4]("No SLA"),className:"SLA"}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&16&&(o.text=i[4]("No SLA")),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Rl(e){let t,n;return t=new rr({props:{iconText:e[1],iconLaClassName:e[3].icon,tagText:e[0],className:e[3].className,iconTagStyles:"color: white",tagStyles:e[3].tagStyles}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&2&&(o.iconText=i[1]),r&8&&(o.iconLaClassName=i[3].icon),r&1&&(o.tagText=i[0]),r&8&&(o.className=i[3].className),r&8&&(o.tagStyles=i[3].tagStyles),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Nl(e){let t,n,i,r;const o=[Rl,Ol],s=[];function a(u,l){return u[2]?0:1}return t=a(e),n=s[t]=o[t](e),{c(){n.c(),i=kt()},m(u,l){s[t].m(u,l),N(u,i,l),r=!0},p(u,[l]){let c=t;t=a(u),t===c?s[t].p(u,l):(be(),k(s[c],1,1,()=>{s[c]=null}),we(),n=s[t],n?n.p(u,l):(n=s[t]=o[t](u),n.c()),T(n,1),n.m(i.parentNode,i))},i(u){r||(T(n),r=!0)},o(u){k(n),r=!1},d(u){u&&R(i),s[t].d(u)}}}function Il(e){return!e||!(e instanceof Date)||isNaN(e)?{className:"SLATag",icon:"",tagStyles:""}:e>new Date?{className:"SLATag Pending",icon:"la-sla",tagStyles:"color: var(--ok-color); background-color: #D9FAE0; border-radius: 4px; border: 1px solid var(--ok-color); margin: 0"}:{className:"SLATag Overdue",icon:"la-sla-compliance",tagStyles:"color: var(--notif-error-color); background-color: #FEEAE8; border-radius: 4px; border: 1px solid var(--notif-error-color); margin: 0"}}function Dl(e,t,n){let i,r,o;K(e,Ee,u=>n(4,o=u));let{tagText:s=o("First answer")}=t,{due:a}=t;return e.$$set=u=>{"tagText"in u&&n(0,s=u.tagText),"due"in u&&n(1,a=u.due)},e.$$.update=()=>{e.$$.dirty&2&&n(3,i=Il(a)),e.$$.dirty&2&&n(2,r=a instanceof Date&&!isNaN(a))},[s,a,r,i,o]}class Hl extends re{constructor(t){super(),ie(this,t,Dl,Nl,te,{tagText:0,due:1})}}function Pl(e){ue(e,"svelte-eafxx5",".TicketId.svelte-eafxx5{font-weight:bold;font-size:14px;line-height:20px;margin-right:14px}.Created.svelte-eafxx5,.Changed.svelte-eafxx5{font-size:14px;line-height:20px}.Communication.svelte-eafxx5{font-size:14px;line-height:20px;display:inline-flex;align-items:center;justify-content:center;margin-right:6px}.ticketDetails.svelte-eafxx5{display:flex;align-items:center;margin-top:6px;margin-bottom:2px}@media(min-width: 900px){.Changed.svelte-eafxx5{display:none}.Created.svelte-eafxx5,.Changed.svelte-eafxx5{font-size:13px}.TicketId.svelte-eafxx5{font-size:13px}.ticketDetails.svelte-eafxx5{margin:0}.Communication.svelte-eafxx5{font-size:13px}}")}function Ml(e){let t,n,i=e[1].code+"",r,o,s,a,u,l,c,f=e[1].messagegroupsIn+"",d,h,p,_,y,g,E=e[1].messagegroupsOut+"",L,O,I,Y,de=e[2]("Created")+"",ne,fe,ae,z,Te,Ce,M,S=e[2]("Changed")+"",C,D,A,B,U,X,ee;return u=new Ae({props:{iconLaClassName:"la-incoming"}}),_=new Ae({props:{iconLaClassName:"la-outgoing"}}),z=new si({props:{data:Ot(e[1].datecreated)}}),B=new si({props:{data:Ot(e[1].datechanged)}}),X=new Hl({props:{tagText:"",due:e[1].datedue}}),{c(){t=x("div"),n=x("span"),r=j(i),o=V(),s=x("div"),a=x("div"),G(u.$$.fragment),l=V(),c=x("span"),d=j(f),h=V(),p=x("div"),G(_.$$.fragment),y=V(),g=x("span"),L=j(E),O=V(),I=x("div"),Y=x("span"),ne=j(de),fe=j(":"),ae=V(),G(z.$$.fragment),Te=V(),Ce=x("div"),M=x("span"),C=j(S),D=j(":"),A=V(),G(B.$$.fragment),U=V(),G(X.$$.fragment),v(n,"class","TicketId svelte-eafxx5"),v(a,"class","Communication incomingMessages svelte-eafxx5"),v(p,"class","Communication outgoingMessages svelte-eafxx5"),v(s,"class","arrows"),v(t,"class","ticketDetails svelte-eafxx5"),v(I,"class","Created svelte-eafxx5"),v(Ce,"class","Changed svelte-eafxx5")},m(P,Q){N(P,t,Q),w(t,n),w(n,r),w(t,o),w(t,s),w(s,a),F(u,a,null),w(a,l),w(a,c),w(c,d),w(s,h),w(s,p),F(_,p,null),w(p,y),w(p,g),w(g,L),N(P,O,Q),N(P,I,Q),w(I,Y),w(Y,ne),w(Y,fe),w(I,ae),F(z,I,null),N(P,Te,Q),N(P,Ce,Q),w(Ce,M),w(M,C),w(M,D),w(Ce,A),F(B,Ce,null),N(P,U,Q),F(X,P,Q),ee=!0},p(P,Q){(!ee||Q&2)&&i!==(i=P[1].code+"")&&se(r,i),(!ee||Q&2)&&f!==(f=P[1].messagegroupsIn+"")&&se(d,f),(!ee||Q&2)&&E!==(E=P[1].messagegroupsOut+"")&&se(L,E),(!ee||Q&4)&&de!==(de=P[2]("Created")+"")&&se(ne,de);const ge={};Q&2&&(ge.data=Ot(P[1].datecreated)),z.$set(ge),(!ee||Q&4)&&S!==(S=P[2]("Changed")+"")&&se(C,S);const Se={};Q&2&&(Se.data=Ot(P[1].datechanged)),B.$set(Se);const Le={};Q&2&&(Le.due=P[1].datedue),X.$set(Le)},i(P){ee||(T(u.$$.fragment,P),T(_.$$.fragment,P),T(z.$$.fragment,P),T(B.$$.fragment,P),T(X.$$.fragment,P),ee=!0)},o(P){k(u.$$.fragment,P),k(_.$$.fragment,P),k(z.$$.fragment,P),k(B.$$.fragment,P),k(X.$$.fragment,P),ee=!1},d(P){P&&(R(t),R(O),R(I),R(Te),R(Ce),R(U)),$(u),$(_),$(z),$(B),$(X,P)}}}function Bl(e){let t,n;return t=new An({props:{className:e[0],$$slots:{default:[Ml]},$$scope:{ctx:e}}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&1&&(o.className=i[0]),r&14&&(o.$$scope={dirty:r,ctx:i}),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Fl(e,t,n){let i;K(e,Ee,s=>n(2,i=s));let{className:r="importanceColumn"}=t,{row:o}=t;return e.$$set=s=>{"className"in s&&n(0,r=s.className),"row"in s&&n(1,o=s.row)},[r,o,i]}class $l extends re{constructor(t){super(),ie(this,t,Fl,Bl,te,{className:0,row:1},Pl)}}function Gl(e){ue(e,"svelte-1ufzjpr",".Tag.TicketTag{font-size:12px;font-weight:normal !important;padding:2px 10px !important}")}function Ul(e){let t,n;return t=new Zt({props:{style:"color: #"+e[2]+"; background: #"+e[1]+"99; border: 1px solid #"+e[1],text:e[0],className:"TicketTag"}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&6&&(o.style="color: #"+i[2]+"; background: #"+i[1]+"99; border: 1px solid #"+i[1]),r&1&&(o.text=i[0]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Vl(e,t,n){let i,r,o,s;K(e,Xi,u=>n(4,s=u));let{tagId:a}=t;return console.log(s[a]),e.$$set=u=>{"tagId"in u&&n(3,a=u.tagId)},e.$$.update=()=>{var u,l,c;e.$$.dirty&24&&n(2,i=((u=s[a])==null?void 0:u.color)??0),e.$$.dirty&24&&n(1,r=((l=s[a])==null?void 0:l.backgroundcolor)??0),e.$$.dirty&24&&n(0,o=((c=s[a])==null?void 0:c.name)??"")},[o,r,i,a,s]}class zl extends re{constructor(t){super(),ie(this,t,Vl,Ul,te,{tagId:3},Gl)}}function ai(e,t,n){const i=e.slice();return i[1]=t[n],i}function li(e){let t,n;return t=new zl({props:{tagId:e[1]}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&1&&(o.tagId=i[1]),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Kl(e){let t,n,i=Ze(e[0]),r=[];for(let s=0;s<i.length;s+=1)r[s]=li(ai(e,i,s));const o=s=>k(r[s],1,1,()=>{r[s]=null});return{c(){t=x("span");for(let s=0;s<r.length;s+=1)r[s].c()},m(s,a){N(s,t,a);for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(t,null);n=!0},p(s,[a]){if(a&1){i=Ze(s[0]);let u;for(u=0;u<i.length;u+=1){const l=ai(s,i,u);r[u]?(r[u].p(l,a),T(r[u],1)):(r[u]=li(l),r[u].c(),T(r[u],1),r[u].m(t,null))}for(be(),u=i.length;u<r.length;u+=1)o(u);we()}},i(s){if(!n){for(let a=0;a<i.length;a+=1)T(r[a]);n=!0}},o(s){r=r.filter(Boolean);for(let a=0;a<r.length;a+=1)k(r[a]);n=!1},d(s){s&&R(t),bn(r,s)}}}function Wl(e,t,n){let{tags:i}=t;return e.$$set=r=>{"tags"in r&&n(0,i=r.tags)},[i]}class Jl extends re{constructor(t){super(),ie(this,t,Wl,Kl,te,{tags:0})}}function Xl(e){ue(e,"svelte-q9af99",".Tag.IconTag.StatusTag .text{display:none}@media(min-width: 768px){.Tag.IconTag.StatusTag .text{display:inline}}")}function Zl(e){let t,n;return t=new Yt({props:{className:"StatusTag "+e[1][e[0]].text,style:"color: "+Ne(e[0]).text+"; background-color: "+Ne(e[0]).bg+"; border-color: "+Ne(e[0]).border,text:e[1][e[0]].text,iconLaClassName:e[1][e[0]].icon}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&1&&(o.className="StatusTag "+i[1][i[0]].text),r&1&&(o.style="color: "+Ne(i[0]).text+"; background-color: "+Ne(i[0]).bg+"; border-color: "+Ne(i[0]).border),r&1&&(o.text=i[1][i[0]].text),r&1&&(o.iconLaClassName=i[1][i[0]].icon),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function Yl(e,t,n){let i;K(e,Ee,s=>n(2,i=s));let{status:r}=t;const o={A:{text:i("Answered"),icon:"la-ticket-answered"},T:{text:i("Chatting"),icon:"la-chatting"},P:{text:i("Calling"),icon:"la-call"},X:{text:i("Deleted"),icon:"la-ticket-deleted"},B:{text:i("Spam"),icon:"la-spam"},I:{text:i("Init"),icon:""},R:{text:i("Resolved"),icon:"la-ticket-resolved"},N:{text:i("New"),icon:"la-ticket-new"},C:{text:i("Open"),icon:"la-ticket-open"},W:{text:i("Postponed"),icon:"la-ticket-postponed"}};return e.$$set=s=>{"status"in s&&n(0,r=s.status)},[r,o]}class Ql extends re{constructor(t){super(),ie(this,t,Yl,Zl,te,{status:0},Xl)}}function ql(e){let t,n;return t=new Yt({props:{className:sr,text:e[0].departmentname,iconLaClassName:or}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&1&&(o.text=i[0].departmentname),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function jl(e){let t,n;return t=new rr({props:{iconText:e[0].departmentname,tagText:e[0].agentname,iconLaClassName:or,className:sr,iconTagStyles:e[1],tagStyles:e[2]}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,r){const o={};r&1&&(o.iconText=i[0].departmentname),r&1&&(o.tagText=i[0].agentname),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function eu(e){let t,n,i,r,o;const s=[jl,ql],a=[];function u(l,c){return c&1&&(t=null),t==null&&(t=l[0].agentname.trim()!==""),t?0:1}return n=u(e,-1),i=a[n]=s[n](e),{c(){i.c(),r=kt()},m(l,c){a[n].m(l,c),N(l,r,c),o=!0},p(l,[c]){let f=n;n=u(l,c),n===f?a[n].p(l,c):(be(),k(a[f],1,1,()=>{a[f]=null}),we(),i=a[n],i?i.p(l,c):(i=a[n]=s[n](l),i.c()),T(i,1),i.m(r.parentNode,r))},i(l){o||(T(i),o=!0)},o(l){k(i),o=!1},d(l){l&&R(r),a[n].d(l)}}}const or="la-department",sr="Department";function tu(e,t,n){let{data:i}=t,r="color: white; background-color: var(--department-bg-color); margin-top: 0;",o="color: var(--tag-department-agent-text); background-color: var(--tag-department-agent-bg); border-radius: 4px; margin: 0";return e.$$set=s=>{"data"in s&&n(0,i=s.data)},[i,r,o]}class nu extends re{constructor(t){super(),ie(this,t,tu,eu,te,{data:0})}}function iu(e){ue(e,"svelte-ccmpo7",`.subject.svelte-ccmpo7{font-size:14px;font-weight:bold;line-height:20px;margin:0}.preview.svelte-ccmpo7{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:5px;margin:0 0 4px;line-height:20px;font-size:14px}.no-text.svelte-ccmpo7{color:var(--main-lighter-textcolor)}.additional.svelte-ccmpo7{display:flex}.CombinedTag.Department{background-color:var(--department-bg-color)}@media(min-width: 768px){.subject.svelte-ccmpo7{font-size:13px
12
12
  }.preview.svelte-ccmpo7{font-size:13px;margin:0}}`)}function ru(e){let t,n=e[0].subject+"",i,r,o,s=(e[0].preview?e[0].preview:e[2]("No text for preview"))+"",a,u,l,c,f,d,h,p,_,y;return f=new Ql({props:{status:e[0].status}}),h=new nu({props:{data:e[0]}}),_=new Jl({props:{tags:e[0].tags}}),{c(){t=x("h1"),i=j(n),r=V(),o=x("p"),a=j(s),l=V(),c=x("div"),G(f.$$.fragment),d=V(),G(h.$$.fragment),p=V(),G(_.$$.fragment),v(t,"class","subject svelte-ccmpo7"),v(o,"class",u=ce(e[0].preview?"preview":"preview no-text")+" svelte-ccmpo7"),v(c,"class","additional svelte-ccmpo7")},m(g,E){N(g,t,E),w(t,i),N(g,r,E),N(g,o,E),w(o,a),N(g,l,E),N(g,c,E),F(f,c,null),w(c,d),F(h,c,null),w(c,p),F(_,c,null),y=!0},p(g,E){(!y||E&1)&&n!==(n=g[0].subject+"")&&se(i,n),(!y||E&5)&&s!==(s=(g[0].preview?g[0].preview:g[2]("No text for preview"))+"")&&se(a,s),(!y||E&1&&u!==(u=ce(g[0].preview?"preview":"preview no-text")+" svelte-ccmpo7"))&&v(o,"class",u);const L={};E&1&&(L.status=g[0].status),f.$set(L);const O={};E&1&&(O.data=g[0]),h.$set(O);const I={};E&1&&(I.tags=g[0].tags),_.$set(I)},i(g){y||(T(f.$$.fragment,g),T(h.$$.fragment,g),T(_.$$.fragment,g),y=!0)},o(g){k(f.$$.fragment,g),k(h.$$.fragment,g),k(_.$$.fragment,g),y=!1},d(g){g&&(R(t),R(r),R(o),R(l),R(c)),$(f),$(h),$(_)}}}function ou(e){let t,n;return t=new An({props:{className:e[1],$$slots:{default:[ru]},$$scope:{ctx:e}}}),{c(){G(t.$$.fragment)},m(i,r){F(t,i,r),n=!0},p(i,[r]){const o={};r&2&&(o.className=i[1]),r&13&&(o.$$scope={dirty:r,ctx:i}),t.$set(o)},i(i){n||(T(t.$$.fragment,i),n=!0)},o(i){k(t.$$.fragment,i),n=!1},d(i){$(t,i)}}}function su(e,t,n){let i;K(e,Ee,s=>n(2,i=s));let{row:r}=t,{className:o="statusColumn"}=t;return e.$$set=s=>{"row"in s&&n(0,r=s.row),"className"in s&&n(1,o=s.className)},[r,o,i]}class au extends re{constructor(t){super(),ie(this,t,su,ou,te,{row:0,className:1},iu)}}function lu(e){ue(e,"svelte-d34xx3",`.Body.svelte-d34xx3.svelte-d34xx3{padding:0px 20px}.Row.svelte-d34xx3.svelte-d34xx3{display:grid;grid-template-columns:60px 1fr;grid-template-rows:auto;grid-template-areas:"checkbox user"
13
13
  "checkbox status"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qualityunit/liveagent-ticket-grid",
3
3
  "private": false,
4
- "version": "0.0.78",
4
+ "version": "0.0.80",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "predev": "npm run extractLocales",
@@ -19,9 +19,9 @@
19
19
  "@sveltejs/vite-plugin-svelte": "^2.5.3",
20
20
  "@tsconfig/svelte": "^5.0.2",
21
21
  "svelte": "^4.2.8",
22
- "svelte-check": "^3.6.2",
22
+ "svelte-check": "^3.7.1",
23
23
  "svelte-i18n": "^4.0.0",
24
- "svelte-time": "^0.8.0",
24
+ "svelte-time": "^0.9.0",
25
25
  "tslib": "^2.6.2",
26
26
  "typescript": "^5.3.3",
27
27
  "vite": "^4.0.0"