@kubex/zinc 1.1.110 → 1.1.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zn.min.js CHANGED
@@ -1,5 +1,5 @@
1
- import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L1=Bn((Grt,M1)=>{var yi=-1,Fr=1,Xe=0;function Ul(o,i,t,r,n){if(o===i)return o?[[Xe,o]]:[];if(t!=null){var a=d8(o,i,t);if(a)return a}var s=om(o,i),l=o.substring(0,s);o=o.substring(s),i=i.substring(s),s=tp(o,i);var d=o.substring(o.length-s);o=o.substring(0,o.length-s),i=i.substring(0,i.length-s);var h=r8(o,i);return l&&h.unshift([Xe,l]),d&&h.push([Xe,d]),am(h,n),r&&o8(h),h}function r8(o,i){var t;if(!o)return[[Fr,i]];if(!i)return[[yi,o]];var r=o.length>i.length?o:i,n=o.length>i.length?i:o,a=r.indexOf(n);if(a!==-1)return t=[[Fr,r.substring(0,a)],[Xe,n],[Fr,r.substring(a+n.length)]],o.length>i.length&&(t[0][0]=t[2][0]=yi),t;if(n.length===1)return[[yi,o],[Fr,i]];var s=n8(o,i);if(s){var l=s[0],d=s[1],h=s[2],m=s[3],f=s[4],b=Ul(l,h),g=Ul(d,m);return b.concat([[Xe,f]],g)}return i8(o,i)}function i8(o,i){for(var t=o.length,r=i.length,n=Math.ceil((t+r)/2),a=n,s=2*n,l=new Array(s),d=new Array(s),h=0;h<s;h++)l[h]=-1,d[h]=-1;l[a+1]=0,d[a+1]=0;for(var m=t-r,f=m%2!==0,b=0,g=0,v=0,y=0,S=0;S<n;S++){for(var E=-S+b;E<=S-g;E+=2){var N=a+E,U;E===-S||E!==S&&l[N-1]<l[N+1]?U=l[N+1]:U=l[N-1]+1;for(var I=U-E;U<t&&I<r&&o.charAt(U)===i.charAt(I);)U++,I++;if(l[N]=U,U>t)g+=2;else if(I>r)b+=2;else if(f){var C=a+m-E;if(C>=0&&C<s&&d[C]!==-1){var $=t-d[C];if(U>=$)return z1(o,i,U,I)}}}for(var M=-S+v;M<=S-y;M+=2){var C=a+M,$;M===-S||M!==S&&d[C-1]<d[C+1]?$=d[C+1]:$=d[C-1]+1;for(var W=$-M;$<t&&W<r&&o.charAt(t-$-1)===i.charAt(r-W-1);)$++,W++;if(d[C]=$,$>t)y+=2;else if(W>r)v+=2;else if(!f){var N=a+m-M;if(N>=0&&N<s&&l[N]!==-1){var U=l[N],I=a+U-N;if($=t-$,U>=$)return z1(o,i,U,I)}}}}return[[yi,o],[Fr,i]]}function z1(o,i,t,r){var n=o.substring(0,t),a=i.substring(0,r),s=o.substring(t),l=i.substring(r),d=Ul(n,a),h=Ul(s,l);return d.concat(h)}function om(o,i){if(!o||!i||o.charAt(0)!==i.charAt(0))return 0;for(var t=0,r=Math.min(o.length,i.length),n=r,a=0;t<n;)o.substring(a,n)==i.substring(a,n)?(t=n,a=t):r=n,n=Math.floor((r-t)/2+t);return E1(o.charCodeAt(n-1))&&n--,n}function _1(o,i){var t=o.length,r=i.length;if(t==0||r==0)return 0;t>r?o=o.substring(t-r):t<r&&(i=i.substring(0,t));var n=Math.min(t,r);if(o==i)return n;for(var a=0,s=1;;){var l=o.substring(n-s),d=i.indexOf(l);if(d==-1)return a;s+=d,(d==0||o.substring(n-s)==i.substring(0,s))&&(a=s,s++)}}function tp(o,i){if(!o||!i||o.slice(-1)!==i.slice(-1))return 0;for(var t=0,r=Math.min(o.length,i.length),n=r,a=0;t<n;)o.substring(o.length-n,o.length-a)==i.substring(i.length-n,i.length-a)?(t=n,a=t):r=n,n=Math.floor((r-t)/2+t);return T1(o.charCodeAt(o.length-n))&&n--,n}function n8(o,i){var t=o.length>i.length?o:i,r=o.length>i.length?i:o;if(t.length<4||r.length*2<t.length)return null;function n(g,v,y){for(var S=g.substring(y,y+Math.floor(g.length/4)),E=-1,N="",U,I,C,$;(E=v.indexOf(S,E+1))!==-1;){var M=om(g.substring(y),v.substring(E)),W=tp(g.substring(0,y),v.substring(0,E));N.length<W+M&&(N=v.substring(E-W,E)+v.substring(E,E+M),U=g.substring(0,y-W),I=g.substring(y+M),C=v.substring(0,E-W),$=v.substring(E+M))}return N.length*2>=g.length?[U,I,C,$,N]:null}var a=n(t,r,Math.ceil(t.length/4)),s=n(t,r,Math.ceil(t.length/2)),l;if(!a&&!s)return null;s?a?l=a[4].length>s[4].length?a:s:l=s:l=a;var d,h,m,f;o.length>i.length?(d=l[0],h=l[1],m=l[2],f=l[3]):(m=l[0],f=l[1],d=l[2],h=l[3]);var b=l[4];return[d,h,m,f,b]}function o8(o){for(var i=!1,t=[],r=0,n=null,a=0,s=0,l=0,d=0,h=0;a<o.length;)o[a][0]==Xe?(t[r++]=a,s=d,l=h,d=0,h=0,n=o[a][1]):(o[a][0]==Fr?d+=o[a][1].length:h+=o[a][1].length,n&&n.length<=Math.max(s,l)&&n.length<=Math.max(d,h)&&(o.splice(t[r-1],0,[yi,n]),o[t[r-1]+1][0]=Fr,r--,r--,a=r>0?t[r-1]:-1,s=0,l=0,d=0,h=0,n=null,i=!0)),a++;for(i&&am(o),l8(o),a=1;a<o.length;){if(o[a-1][0]==yi&&o[a][0]==Fr){var m=o[a-1][1],f=o[a][1],b=_1(m,f),g=_1(f,m);b>=g?(b>=m.length/2||b>=f.length/2)&&(o.splice(a,0,[Xe,f.substring(0,b)]),o[a-1][1]=m.substring(0,m.length-b),o[a+1][1]=f.substring(b),a++):(g>=m.length/2||g>=f.length/2)&&(o.splice(a,0,[Xe,m.substring(0,g)]),o[a-1][0]=Fr,o[a-1][1]=f.substring(0,f.length-g),o[a+1][0]=yi,o[a+1][1]=m.substring(g),a++),a++}a++}}var k1=/[^a-zA-Z0-9]/,C1=/\s/,S1=/[\r\n]/,a8=/\n\r?\n$/,s8=/^\r?\n\r?\n/;function l8(o){function i(g,v){if(!g||!v)return 6;var y=g.charAt(g.length-1),S=v.charAt(0),E=y.match(k1),N=S.match(k1),U=E&&y.match(C1),I=N&&S.match(C1),C=U&&y.match(S1),$=I&&S.match(S1),M=C&&g.match(a8),W=$&&v.match(s8);return M||W?5:C||$?4:E&&!U&&I?3:U||I?2:E||N?1:0}for(var t=1;t<o.length-1;){if(o[t-1][0]==Xe&&o[t+1][0]==Xe){var r=o[t-1][1],n=o[t][1],a=o[t+1][1],s=tp(r,n);if(s){var l=n.substring(n.length-s);r=r.substring(0,r.length-s),n=l+n.substring(0,n.length-s),a=l+a}for(var d=r,h=n,m=a,f=i(r,n)+i(n,a);n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);var b=i(r,n)+i(n,a);b>=f&&(f=b,d=r,h=n,m=a)}o[t-1][1]!=d&&(d?o[t-1][1]=d:(o.splice(t-1,1),t--),o[t][1]=h,m?o[t+1][1]=m:(o.splice(t+1,1),t--))}t++}}function am(o,i){o.push([Xe,""]);for(var t=0,r=0,n=0,a="",s="",l;t<o.length;){if(t<o.length-1&&!o[t][1]){o.splice(t,1);continue}switch(o[t][0]){case Fr:n++,s+=o[t][1],t++;break;case yi:r++,a+=o[t][1],t++;break;case Xe:var d=t-n-r-1;if(i){if(d>=0&&A1(o[d][1])){var h=o[d][1].slice(-1);if(o[d][1]=o[d][1].slice(0,-1),a=h+a,s=h+s,!o[d][1]){o.splice(d,1),t--;var m=d-1;o[m]&&o[m][0]===Fr&&(n++,s=o[m][1]+s,m--),o[m]&&o[m][0]===yi&&(r++,a=o[m][1]+a,m--),d=m}}if($1(o[t][1])){var h=o[t][1].charAt(0);o[t][1]=o[t][1].slice(1),a+=h,s+=h}}if(t<o.length-1&&!o[t][1]){o.splice(t,1);break}if(a.length>0||s.length>0){a.length>0&&s.length>0&&(l=om(s,a),l!==0&&(d>=0?o[d][1]+=s.substring(0,l):(o.splice(0,0,[Xe,s.substring(0,l)]),t++),s=s.substring(l),a=a.substring(l)),l=tp(s,a),l!==0&&(o[t][1]=s.substring(s.length-l)+o[t][1],s=s.substring(0,s.length-l),a=a.substring(0,a.length-l)));var f=n+r;a.length===0&&s.length===0?(o.splice(t-f,f),t=t-f):a.length===0?(o.splice(t-f,f,[Fr,s]),t=t-f+1):s.length===0?(o.splice(t-f,f,[yi,a]),t=t-f+1):(o.splice(t-f,f,[yi,a],[Fr,s]),t=t-f+2)}t!==0&&o[t-1][0]===Xe?(o[t-1][1]+=o[t][1],o.splice(t,1)):t++,n=0,r=0,a="",s="";break}}o[o.length-1][1]===""&&o.pop();var b=!1;for(t=1;t<o.length-1;)o[t-1][0]===Xe&&o[t+1][0]===Xe&&(o[t][1].substring(o[t][1].length-o[t-1][1].length)===o[t-1][1]?(o[t][1]=o[t-1][1]+o[t][1].substring(0,o[t][1].length-o[t-1][1].length),o[t+1][1]=o[t-1][1]+o[t+1][1],o.splice(t-1,1),b=!0):o[t][1].substring(0,o[t+1][1].length)==o[t+1][1]&&(o[t-1][1]+=o[t+1][1],o[t][1]=o[t][1].substring(o[t+1][1].length)+o[t+1][1],o.splice(t+1,1),b=!0)),t++;b&&am(o,i)}function E1(o){return o>=55296&&o<=56319}function T1(o){return o>=56320&&o<=57343}function $1(o){return T1(o.charCodeAt(0))}function A1(o){return E1(o.charCodeAt(o.length-1))}function c8(o){for(var i=[],t=0;t<o.length;t++)o[t][1].length>0&&i.push(o[t]);return i}function nm(o,i,t,r){return A1(o)||$1(r)?null:c8([[Xe,o],[yi,i],[Fr,t],[Xe,r]])}function d8(o,i,t){var r=typeof t=="number"?{index:t,length:0}:t.oldRange,n=typeof t=="number"?null:t.newRange,a=o.length,s=i.length;if(r.length===0&&(n===null||n.length===0)){var l=r.index,d=o.slice(0,l),h=o.slice(l),m=n?n.index:null;t:{var f=l+s-a;if(m!==null&&m!==f||f<0||f>s)break t;var b=i.slice(0,f),g=i.slice(f);if(g!==h)break t;var v=Math.min(l,f),y=d.slice(0,v),S=b.slice(0,v);if(y!==S)break t;var E=d.slice(v),N=b.slice(v);return nm(y,E,N,h)}t:{if(m!==null&&m!==l)break t;var U=l,b=i.slice(0,U),g=i.slice(U);if(b!==d)break t;var I=Math.min(a-U,s-U),C=h.slice(h.length-I),$=g.slice(g.length-I);if(C!==$)break t;var E=h.slice(0,h.length-I),N=g.slice(0,g.length-I);return nm(d,E,N,C)}}if(r.length>0&&n&&n.length===0)t:{var y=o.slice(0,r.index),C=o.slice(r.index+r.length),v=y.length,I=C.length;if(s<v+I)break t;var S=i.slice(0,v),$=i.slice(s-I);if(y!==S||C!==$)break t;var E=o.slice(v,a-I),N=i.slice(v,s-I);return nm(y,E,N,C)}return null}function ep(o,i,t,r){return Ul(o,i,t,r,!0)}ep.INSERT=Fr;ep.DELETE=yi;ep.EQUAL=Xe;M1.exports=ep});var wm=Bn((jl,bs)=>{var p8=200,U1="__lodash_hash_undefined__",j1=9007199254740991,mm="[object Arguments]",h8="[object Array]",G1="[object Boolean]",W1="[object Date]",u8="[object Error]",fm="[object Function]",K1="[object GeneratorFunction]",rp="[object Map]",Y1="[object Number]",gm="[object Object]",q1="[object Promise]",X1="[object RegExp]",ip="[object Set]",Q1="[object String]",J1="[object Symbol]",lm="[object WeakMap]",Z1="[object ArrayBuffer]",np="[object DataView]",ty="[object Float32Array]",ey="[object Float64Array]",ry="[object Int8Array]",iy="[object Int16Array]",ny="[object Int32Array]",oy="[object Uint8Array]",ay="[object Uint8ClampedArray]",sy="[object Uint16Array]",ly="[object Uint32Array]",m8=/[\\^$.*+?()[\]{}|]/g,f8=/\w*$/,g8=/^\[object .+?Constructor\]$/,b8=/^(?:0|[1-9]\d*)$/,te={};te[mm]=te[h8]=te[Z1]=te[np]=te[G1]=te[W1]=te[ty]=te[ey]=te[ry]=te[iy]=te[ny]=te[rp]=te[Y1]=te[gm]=te[X1]=te[ip]=te[Q1]=te[J1]=te[oy]=te[ay]=te[sy]=te[ly]=!0;te[u8]=te[fm]=te[lm]=!1;var v8=typeof global=="object"&&global&&global.Object===Object&&global,y8=typeof self=="object"&&self&&self.Object===Object&&self,Kn=v8||y8||Function("return this")(),cy=typeof jl=="object"&&jl&&!jl.nodeType&&jl,I1=cy&&typeof bs=="object"&&bs&&!bs.nodeType&&bs,x8=I1&&I1.exports===cy;function w8(o,i){return o.set(i[0],i[1]),o}function z8(o,i){return o.add(i),o}function _8(o,i){for(var t=-1,r=o?o.length:0;++t<r&&i(o[t],t,o)!==!1;);return o}function k8(o,i){for(var t=-1,r=i.length,n=o.length;++t<r;)o[n+t]=i[t];return o}function dy(o,i,t,r){var n=-1,a=o?o.length:0;for(r&&a&&(t=o[++n]);++n<a;)t=i(t,o[n],n,o);return t}function C8(o,i){for(var t=-1,r=Array(o);++t<o;)r[t]=i(t);return r}function S8(o,i){return o?.[i]}function py(o){var i=!1;if(o!=null&&typeof o.toString!="function")try{i=!!(o+"")}catch{}return i}function D1(o){var i=-1,t=Array(o.size);return o.forEach(function(r,n){t[++i]=[n,r]}),t}function bm(o,i){return function(t){return o(i(t))}}function R1(o){var i=-1,t=Array(o.size);return o.forEach(function(r){t[++i]=r}),t}var E8=Array.prototype,T8=Function.prototype,op=Object.prototype,sm=Kn["__core-js_shared__"],N1=(function(){var o=/[^.]+$/.exec(sm&&sm.keys&&sm.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})(),hy=T8.toString,$o=op.hasOwnProperty,ap=op.toString,$8=RegExp("^"+hy.call($o).replace(m8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O1=x8?Kn.Buffer:void 0,P1=Kn.Symbol,H1=Kn.Uint8Array,A8=bm(Object.getPrototypeOf,Object),M8=Object.create,L8=op.propertyIsEnumerable,q8=E8.splice,F1=Object.getOwnPropertySymbols,I8=O1?O1.isBuffer:void 0,D8=bm(Object.keys,Object),cm=xs(Kn,"DataView"),Gl=xs(Kn,"Map"),dm=xs(Kn,"Promise"),pm=xs(Kn,"Set"),hm=xs(Kn,"WeakMap"),Wl=xs(Object,"create"),R8=Ea(cm),N8=Ea(Gl),O8=Ea(dm),P8=Ea(pm),H8=Ea(hm),B1=P1?P1.prototype:void 0,V1=B1?B1.valueOf:void 0;function Sa(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function F8(){this.__data__=Wl?Wl(null):{}}function B8(o){return this.has(o)&&delete this.__data__[o]}function V8(o){var i=this.__data__;if(Wl){var t=i[o];return t===U1?void 0:t}return $o.call(i,o)?i[o]:void 0}function U8(o){var i=this.__data__;return Wl?i[o]!==void 0:$o.call(i,o)}function j8(o,i){var t=this.__data__;return t[o]=Wl&&i===void 0?U1:i,this}Sa.prototype.clear=F8;Sa.prototype.delete=B8;Sa.prototype.get=V8;Sa.prototype.has=U8;Sa.prototype.set=j8;function Yn(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function G8(){this.__data__=[]}function W8(o){var i=this.__data__,t=sp(i,o);if(t<0)return!1;var r=i.length-1;return t==r?i.pop():q8.call(i,t,1),!0}function K8(o){var i=this.__data__,t=sp(i,o);return t<0?void 0:i[t][1]}function Y8(o){return sp(this.__data__,o)>-1}function X8(o,i){var t=this.__data__,r=sp(t,o);return r<0?t.push([o,i]):t[r][1]=i,this}Yn.prototype.clear=G8;Yn.prototype.delete=W8;Yn.prototype.get=K8;Yn.prototype.has=Y8;Yn.prototype.set=X8;function vs(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function Q8(){this.__data__={hash:new Sa,map:new(Gl||Yn),string:new Sa}}function J8(o){return lp(this,o).delete(o)}function Z8(o){return lp(this,o).get(o)}function t9(o){return lp(this,o).has(o)}function e9(o,i){return lp(this,o).set(o,i),this}vs.prototype.clear=Q8;vs.prototype.delete=J8;vs.prototype.get=Z8;vs.prototype.has=t9;vs.prototype.set=e9;function ys(o){this.__data__=new Yn(o)}function r9(){this.__data__=new Yn}function i9(o){return this.__data__.delete(o)}function n9(o){return this.__data__.get(o)}function o9(o){return this.__data__.has(o)}function a9(o,i){var t=this.__data__;if(t instanceof Yn){var r=t.__data__;if(!Gl||r.length<p8-1)return r.push([o,i]),this;t=this.__data__=new vs(r)}return t.set(o,i),this}ys.prototype.clear=r9;ys.prototype.delete=i9;ys.prototype.get=n9;ys.prototype.has=o9;ys.prototype.set=a9;function s9(o,i){var t=ym(o)||M9(o)?C8(o.length,String):[],r=t.length,n=!!r;for(var a in o)(i||$o.call(o,a))&&!(n&&(a=="length"||E9(a,r)))&&t.push(a);return t}function uy(o,i,t){var r=o[i];(!($o.call(o,i)&&by(r,t))||t===void 0&&!(i in o))&&(o[i]=t)}function sp(o,i){for(var t=o.length;t--;)if(by(o[t][0],i))return t;return-1}function l9(o,i){return o&&my(i,xm(i),o)}function um(o,i,t,r,n,a,s){var l;if(r&&(l=a?r(o,n,a,s):r(o)),l!==void 0)return l;if(!cp(o))return o;var d=ym(o);if(d){if(l=k9(o),!i)return w9(o,l)}else{var h=Ca(o),m=h==fm||h==K1;if(q9(o))return m9(o,i);if(h==gm||h==mm||m&&!a){if(py(o))return a?o:{};if(l=C9(m?{}:o),!i)return z9(o,l9(l,o))}else{if(!te[h])return a?o:{};l=S9(o,h,um,i)}}s||(s=new ys);var f=s.get(o);if(f)return f;if(s.set(o,l),!d)var b=t?_9(o):xm(o);return _8(b||o,function(g,v){b&&(v=g,g=o[v]),uy(l,v,um(g,i,t,r,v,o,s))}),l}function c9(o){return cp(o)?M8(o):{}}function d9(o,i,t){var r=i(o);return ym(o)?r:k8(r,t(o))}function p9(o){return ap.call(o)}function h9(o){if(!cp(o)||$9(o))return!1;var i=yy(o)||py(o)?$8:g8;return i.test(Ea(o))}function u9(o){if(!gy(o))return D8(o);var i=[];for(var t in Object(o))$o.call(o,t)&&t!="constructor"&&i.push(t);return i}function m9(o,i){if(i)return o.slice();var t=new o.constructor(o.length);return o.copy(t),t}function vm(o){var i=new o.constructor(o.byteLength);return new H1(i).set(new H1(o)),i}function f9(o,i){var t=i?vm(o.buffer):o.buffer;return new o.constructor(t,o.byteOffset,o.byteLength)}function g9(o,i,t){var r=i?t(D1(o),!0):D1(o);return dy(r,w8,new o.constructor)}function b9(o){var i=new o.constructor(o.source,f8.exec(o));return i.lastIndex=o.lastIndex,i}function v9(o,i,t){var r=i?t(R1(o),!0):R1(o);return dy(r,z8,new o.constructor)}function y9(o){return V1?Object(V1.call(o)):{}}function x9(o,i){var t=i?vm(o.buffer):o.buffer;return new o.constructor(t,o.byteOffset,o.length)}function w9(o,i){var t=-1,r=o.length;for(i||(i=Array(r));++t<r;)i[t]=o[t];return i}function my(o,i,t,r){t||(t={});for(var n=-1,a=i.length;++n<a;){var s=i[n],l=r?r(t[s],o[s],s,t,o):void 0;uy(t,s,l===void 0?o[s]:l)}return t}function z9(o,i){return my(o,fy(o),i)}function _9(o){return d9(o,xm,fy)}function lp(o,i){var t=o.__data__;return T9(i)?t[typeof i=="string"?"string":"hash"]:t.map}function xs(o,i){var t=S8(o,i);return h9(t)?t:void 0}var fy=F1?bm(F1,Object):R9,Ca=p9;(cm&&Ca(new cm(new ArrayBuffer(1)))!=np||Gl&&Ca(new Gl)!=rp||dm&&Ca(dm.resolve())!=q1||pm&&Ca(new pm)!=ip||hm&&Ca(new hm)!=lm)&&(Ca=function(o){var i=ap.call(o),t=i==gm?o.constructor:void 0,r=t?Ea(t):void 0;if(r)switch(r){case R8:return np;case N8:return rp;case O8:return q1;case P8:return ip;case H8:return lm}return i});function k9(o){var i=o.length,t=o.constructor(i);return i&&typeof o[0]=="string"&&$o.call(o,"index")&&(t.index=o.index,t.input=o.input),t}function C9(o){return typeof o.constructor=="function"&&!gy(o)?c9(A8(o)):{}}function S9(o,i,t,r){var n=o.constructor;switch(i){case Z1:return vm(o);case G1:case W1:return new n(+o);case np:return f9(o,r);case ty:case ey:case ry:case iy:case ny:case oy:case ay:case sy:case ly:return x9(o,r);case rp:return g9(o,r,t);case Y1:case Q1:return new n(o);case X1:return b9(o);case ip:return v9(o,r,t);case J1:return y9(o)}}function E9(o,i){return i=i??j1,!!i&&(typeof o=="number"||b8.test(o))&&o>-1&&o%1==0&&o<i}function T9(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}function $9(o){return!!N1&&N1 in o}function gy(o){var i=o&&o.constructor,t=typeof i=="function"&&i.prototype||op;return o===t}function Ea(o){if(o!=null){try{return hy.call(o)}catch{}try{return o+""}catch{}}return""}function A9(o){return um(o,!0,!0)}function by(o,i){return o===i||o!==o&&i!==i}function M9(o){return L9(o)&&$o.call(o,"callee")&&(!L8.call(o,"callee")||ap.call(o)==mm)}var ym=Array.isArray;function vy(o){return o!=null&&I9(o.length)&&!yy(o)}function L9(o){return D9(o)&&vy(o)}var q9=I8||N9;function yy(o){var i=cp(o)?ap.call(o):"";return i==fm||i==K1}function I9(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=j1}function cp(o){var i=typeof o;return!!o&&(i=="object"||i=="function")}function D9(o){return!!o&&typeof o=="object"}function xm(o){return vy(o)?s9(o):u9(o)}function R9(){return[]}function N9(){return!1}bs.exports=A9});var qm=Bn((Kl,zs)=>{var O9=200,Lm="__lodash_hash_undefined__",bp=1,My=2,Ly=9007199254740991,dp="[object Arguments]",Cm="[object Array]",P9="[object AsyncFunction]",qy="[object Boolean]",Iy="[object Date]",Dy="[object Error]",Ry="[object Function]",H9="[object GeneratorFunction]",pp="[object Map]",Ny="[object Number]",F9="[object Null]",ws="[object Object]",xy="[object Promise]",B9="[object Proxy]",Oy="[object RegExp]",hp="[object Set]",Py="[object String]",V9="[object Symbol]",U9="[object Undefined]",Sm="[object WeakMap]",Hy="[object ArrayBuffer]",up="[object DataView]",j9="[object Float32Array]",G9="[object Float64Array]",W9="[object Int8Array]",K9="[object Int16Array]",Y9="[object Int32Array]",X9="[object Uint8Array]",Q9="[object Uint8ClampedArray]",J9="[object Uint16Array]",Z9="[object Uint32Array]",t6=/[\\^$.*+?()[\]{}|]/g,e6=/^\[object .+?Constructor\]$/,r6=/^(?:0|[1-9]\d*)$/,ae={};ae[j9]=ae[G9]=ae[W9]=ae[K9]=ae[Y9]=ae[X9]=ae[Q9]=ae[J9]=ae[Z9]=!0;ae[dp]=ae[Cm]=ae[Hy]=ae[qy]=ae[up]=ae[Iy]=ae[Dy]=ae[Ry]=ae[pp]=ae[Ny]=ae[ws]=ae[Oy]=ae[hp]=ae[Py]=ae[Sm]=!1;var Fy=typeof global=="object"&&global&&global.Object===Object&&global,i6=typeof self=="object"&&self&&self.Object===Object&&self,Xn=Fy||i6||Function("return this")(),By=typeof Kl=="object"&&Kl&&!Kl.nodeType&&Kl,wy=By&&typeof zs=="object"&&zs&&!zs.nodeType&&zs,Vy=wy&&wy.exports===By,zm=Vy&&Fy.process,zy=(function(){try{return zm&&zm.binding&&zm.binding("util")}catch{}})(),_y=zy&&zy.isTypedArray;function n6(o,i){for(var t=-1,r=o==null?0:o.length,n=0,a=[];++t<r;){var s=o[t];i(s,t,o)&&(a[n++]=s)}return a}function o6(o,i){for(var t=-1,r=i.length,n=o.length;++t<r;)o[n+t]=i[t];return o}function a6(o,i){for(var t=-1,r=o==null?0:o.length;++t<r;)if(i(o[t],t,o))return!0;return!1}function s6(o,i){for(var t=-1,r=Array(o);++t<o;)r[t]=i(t);return r}function l6(o){return function(i){return o(i)}}function c6(o,i){return o.has(i)}function d6(o,i){return o?.[i]}function p6(o){var i=-1,t=Array(o.size);return o.forEach(function(r,n){t[++i]=[n,r]}),t}function h6(o,i){return function(t){return o(i(t))}}function u6(o){var i=-1,t=Array(o.size);return o.forEach(function(r){t[++i]=r}),t}var m6=Array.prototype,f6=Function.prototype,vp=Object.prototype,_m=Xn["__core-js_shared__"],Uy=f6.toString,An=vp.hasOwnProperty,ky=(function(){var o=/[^.]+$/.exec(_m&&_m.keys&&_m.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})(),jy=vp.toString,g6=RegExp("^"+Uy.call(An).replace(t6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cy=Vy?Xn.Buffer:void 0,mp=Xn.Symbol,Sy=Xn.Uint8Array,Gy=vp.propertyIsEnumerable,b6=m6.splice,Ta=mp?mp.toStringTag:void 0,Ey=Object.getOwnPropertySymbols,v6=Cy?Cy.isBuffer:void 0,y6=h6(Object.keys,Object),Em=_s(Xn,"DataView"),Yl=_s(Xn,"Map"),Tm=_s(Xn,"Promise"),$m=_s(Xn,"Set"),Am=_s(Xn,"WeakMap"),Xl=_s(Object,"create"),x6=Ma(Em),w6=Ma(Yl),z6=Ma(Tm),_6=Ma($m),k6=Ma(Am),Ty=mp?mp.prototype:void 0,km=Ty?Ty.valueOf:void 0;function $a(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function C6(){this.__data__=Xl?Xl(null):{},this.size=0}function S6(o){var i=this.has(o)&&delete this.__data__[o];return this.size-=i?1:0,i}function E6(o){var i=this.__data__;if(Xl){var t=i[o];return t===Lm?void 0:t}return An.call(i,o)?i[o]:void 0}function T6(o){var i=this.__data__;return Xl?i[o]!==void 0:An.call(i,o)}function $6(o,i){var t=this.__data__;return this.size+=this.has(o)?0:1,t[o]=Xl&&i===void 0?Lm:i,this}$a.prototype.clear=C6;$a.prototype.delete=S6;$a.prototype.get=E6;$a.prototype.has=T6;$a.prototype.set=$6;function Qn(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function A6(){this.__data__=[],this.size=0}function M6(o){var i=this.__data__,t=yp(i,o);if(t<0)return!1;var r=i.length-1;return t==r?i.pop():b6.call(i,t,1),--this.size,!0}function L6(o){var i=this.__data__,t=yp(i,o);return t<0?void 0:i[t][1]}function q6(o){return yp(this.__data__,o)>-1}function I6(o,i){var t=this.__data__,r=yp(t,o);return r<0?(++this.size,t.push([o,i])):t[r][1]=i,this}Qn.prototype.clear=A6;Qn.prototype.delete=M6;Qn.prototype.get=L6;Qn.prototype.has=q6;Qn.prototype.set=I6;function Aa(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function D6(){this.size=0,this.__data__={hash:new $a,map:new(Yl||Qn),string:new $a}}function R6(o){var i=xp(this,o).delete(o);return this.size-=i?1:0,i}function N6(o){return xp(this,o).get(o)}function O6(o){return xp(this,o).has(o)}function P6(o,i){var t=xp(this,o),r=t.size;return t.set(o,i),this.size+=t.size==r?0:1,this}Aa.prototype.clear=D6;Aa.prototype.delete=R6;Aa.prototype.get=N6;Aa.prototype.has=O6;Aa.prototype.set=P6;function fp(o){var i=-1,t=o==null?0:o.length;for(this.__data__=new Aa;++i<t;)this.add(o[i])}function H6(o){return this.__data__.set(o,Lm),this}function F6(o){return this.__data__.has(o)}fp.prototype.add=fp.prototype.push=H6;fp.prototype.has=F6;function Mo(o){var i=this.__data__=new Qn(o);this.size=i.size}function B6(){this.__data__=new Qn,this.size=0}function V6(o){var i=this.__data__,t=i.delete(o);return this.size=i.size,t}function U6(o){return this.__data__.get(o)}function j6(o){return this.__data__.has(o)}function G6(o,i){var t=this.__data__;if(t instanceof Qn){var r=t.__data__;if(!Yl||r.length<O9-1)return r.push([o,i]),this.size=++t.size,this;t=this.__data__=new Aa(r)}return t.set(o,i),this.size=t.size,this}Mo.prototype.clear=B6;Mo.prototype.delete=V6;Mo.prototype.get=U6;Mo.prototype.has=j6;Mo.prototype.set=G6;function W6(o,i){var t=gp(o),r=!t&&lC(o),n=!t&&!r&&Mm(o),a=!t&&!r&&!n&&Zy(o),s=t||r||n||a,l=s?s6(o.length,String):[],d=l.length;for(var h in o)(i||An.call(o,h))&&!(s&&(h=="length"||n&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||iC(h,d)))&&l.push(h);return l}function yp(o,i){for(var t=o.length;t--;)if(Yy(o[t][0],i))return t;return-1}function K6(o,i,t){var r=i(o);return gp(o)?r:o6(r,t(o))}function Jl(o){return o==null?o===void 0?U9:F9:Ta&&Ta in Object(o)?eC(o):sC(o)}function $y(o){return Ql(o)&&Jl(o)==dp}function Wy(o,i,t,r,n){return o===i?!0:o==null||i==null||!Ql(o)&&!Ql(i)?o!==o&&i!==i:Y6(o,i,t,r,Wy,n)}function Y6(o,i,t,r,n,a){var s=gp(o),l=gp(i),d=s?Cm:Ao(o),h=l?Cm:Ao(i);d=d==dp?ws:d,h=h==dp?ws:h;var m=d==ws,f=h==ws,b=d==h;if(b&&Mm(o)){if(!Mm(i))return!1;s=!0,m=!1}if(b&&!m)return a||(a=new Mo),s||Zy(o)?Ky(o,i,t,r,n,a):Z6(o,i,d,t,r,n,a);if(!(t&bp)){var g=m&&An.call(o,"__wrapped__"),v=f&&An.call(i,"__wrapped__");if(g||v){var y=g?o.value():o,S=v?i.value():i;return a||(a=new Mo),n(y,S,t,r,a)}}return b?(a||(a=new Mo),tC(o,i,t,r,n,a)):!1}function X6(o){if(!Jy(o)||oC(o))return!1;var i=Xy(o)?g6:e6;return i.test(Ma(o))}function Q6(o){return Ql(o)&&Qy(o.length)&&!!ae[Jl(o)]}function J6(o){if(!aC(o))return y6(o);var i=[];for(var t in Object(o))An.call(o,t)&&t!="constructor"&&i.push(t);return i}function Ky(o,i,t,r,n,a){var s=t&bp,l=o.length,d=i.length;if(l!=d&&!(s&&d>l))return!1;var h=a.get(o);if(h&&a.get(i))return h==i;var m=-1,f=!0,b=t&My?new fp:void 0;for(a.set(o,i),a.set(i,o);++m<l;){var g=o[m],v=i[m];if(r)var y=s?r(v,g,m,i,o,a):r(g,v,m,o,i,a);if(y!==void 0){if(y)continue;f=!1;break}if(b){if(!a6(i,function(S,E){if(!c6(b,E)&&(g===S||n(g,S,t,r,a)))return b.push(E)})){f=!1;break}}else if(!(g===v||n(g,v,t,r,a))){f=!1;break}}return a.delete(o),a.delete(i),f}function Z6(o,i,t,r,n,a,s){switch(t){case up:if(o.byteLength!=i.byteLength||o.byteOffset!=i.byteOffset)return!1;o=o.buffer,i=i.buffer;case Hy:return!(o.byteLength!=i.byteLength||!a(new Sy(o),new Sy(i)));case qy:case Iy:case Ny:return Yy(+o,+i);case Dy:return o.name==i.name&&o.message==i.message;case Oy:case Py:return o==i+"";case pp:var l=p6;case hp:var d=r&bp;if(l||(l=u6),o.size!=i.size&&!d)return!1;var h=s.get(o);if(h)return h==i;r|=My,s.set(o,i);var m=Ky(l(o),l(i),r,n,a,s);return s.delete(o),m;case V9:if(km)return km.call(o)==km.call(i)}return!1}function tC(o,i,t,r,n,a){var s=t&bp,l=Ay(o),d=l.length,h=Ay(i),m=h.length;if(d!=m&&!s)return!1;for(var f=d;f--;){var b=l[f];if(!(s?b in i:An.call(i,b)))return!1}var g=a.get(o);if(g&&a.get(i))return g==i;var v=!0;a.set(o,i),a.set(i,o);for(var y=s;++f<d;){b=l[f];var S=o[b],E=i[b];if(r)var N=s?r(E,S,b,i,o,a):r(S,E,b,o,i,a);if(!(N===void 0?S===E||n(S,E,t,r,a):N)){v=!1;break}y||(y=b=="constructor")}if(v&&!y){var U=o.constructor,I=i.constructor;U!=I&&"constructor"in o&&"constructor"in i&&!(typeof U=="function"&&U instanceof U&&typeof I=="function"&&I instanceof I)&&(v=!1)}return a.delete(o),a.delete(i),v}function Ay(o){return K6(o,pC,rC)}function xp(o,i){var t=o.__data__;return nC(i)?t[typeof i=="string"?"string":"hash"]:t.map}function _s(o,i){var t=d6(o,i);return X6(t)?t:void 0}function eC(o){var i=An.call(o,Ta),t=o[Ta];try{o[Ta]=void 0;var r=!0}catch{}var n=jy.call(o);return r&&(i?o[Ta]=t:delete o[Ta]),n}var rC=Ey?function(o){return o==null?[]:(o=Object(o),n6(Ey(o),function(i){return Gy.call(o,i)}))}:hC,Ao=Jl;(Em&&Ao(new Em(new ArrayBuffer(1)))!=up||Yl&&Ao(new Yl)!=pp||Tm&&Ao(Tm.resolve())!=xy||$m&&Ao(new $m)!=hp||Am&&Ao(new Am)!=Sm)&&(Ao=function(o){var i=Jl(o),t=i==ws?o.constructor:void 0,r=t?Ma(t):"";if(r)switch(r){case x6:return up;case w6:return pp;case z6:return xy;case _6:return hp;case k6:return Sm}return i});function iC(o,i){return i=i??Ly,!!i&&(typeof o=="number"||r6.test(o))&&o>-1&&o%1==0&&o<i}function nC(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}function oC(o){return!!ky&&ky in o}function aC(o){var i=o&&o.constructor,t=typeof i=="function"&&i.prototype||vp;return o===t}function sC(o){return jy.call(o)}function Ma(o){if(o!=null){try{return Uy.call(o)}catch{}try{return o+""}catch{}}return""}function Yy(o,i){return o===i||o!==o&&i!==i}var lC=$y((function(){return arguments})())?$y:function(o){return Ql(o)&&An.call(o,"callee")&&!Gy.call(o,"callee")},gp=Array.isArray;function cC(o){return o!=null&&Qy(o.length)&&!Xy(o)}var Mm=v6||uC;function dC(o,i){return Wy(o,i)}function Xy(o){if(!Jy(o))return!1;var i=Jl(o);return i==Ry||i==H9||i==P9||i==B9}function Qy(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=Ly}function Jy(o){var i=typeof o;return o!=null&&(i=="object"||i=="function")}function Ql(o){return o!=null&&typeof o=="object"}var Zy=_y?l6(_y):Q6;function pC(o){return cC(o)?W6(o):J6(o)}function hC(){return[]}function uC(){return!1}zs.exports=dC});var tx=Bn(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});var mC=wm(),fC=qm(),Im;(function(o){function i(a={},s={},l=!1){typeof a!="object"&&(a={}),typeof s!="object"&&(s={});let d=mC(s);l||(d=Object.keys(d).reduce((h,m)=>(d[m]!=null&&(h[m]=d[m]),h),{}));for(let h in a)a[h]!==void 0&&s[h]===void 0&&(d[h]=a[h]);return Object.keys(d).length>0?d:void 0}o.compose=i;function t(a={},s={}){typeof a!="object"&&(a={}),typeof s!="object"&&(s={});let l=Object.keys(a).concat(Object.keys(s)).reduce((d,h)=>(fC(a[h],s[h])||(d[h]=s[h]===void 0?null:s[h]),d),{});return Object.keys(l).length>0?l:void 0}o.diff=t;function r(a={},s={}){a=a||{};let l=Object.keys(s).reduce((d,h)=>(s[h]!==a[h]&&a[h]!==void 0&&(d[h]=s[h]),d),{});return Object.keys(a).reduce((d,h)=>(a[h]!==s[h]&&s[h]===void 0&&(d[h]=null),d),l)}o.invert=r;function n(a,s,l=!1){if(typeof a!="object")return s;if(typeof s!="object")return;if(!l)return s;let d=Object.keys(s).reduce((h,m)=>(a[m]===void 0&&(h[m]=s[m]),h),{});return Object.keys(d).length>0?d:void 0}o.transform=n})(Im||(Im={}));Dm.default=Im});var Om=Bn(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});var Rm;(function(o){function i(t){return typeof t.delete=="number"?t.delete:typeof t.retain=="number"?t.retain:typeof t.retain=="object"&&t.retain!==null?1:typeof t.insert=="string"?t.insert.length:1}o.length=i})(Rm||(Rm={}));Nm.default=Rm});var rx=Bn(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});var ex=Om(),Pm=class{constructor(i){this.ops=i,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(i){i||(i=1/0);let t=this.ops[this.index];if(t){let r=this.offset,n=ex.default.length(t);if(i>=n-r?(i=n-r,this.index+=1,this.offset=0):this.offset+=i,typeof t.delete=="number")return{delete:i};{let a={};return t.attributes&&(a.attributes=t.attributes),typeof t.retain=="number"?a.retain=i:typeof t.retain=="object"&&t.retain!==null?a.retain=t.retain:typeof t.insert=="string"?a.insert=t.insert.substr(r,i):a.insert=t.insert,a}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?ex.default.length(this.ops[this.index])-this.offset:1/0}peekType(){let i=this.ops[this.index];return i?typeof i.delete=="number"?"delete":typeof i.retain=="number"||typeof i.retain=="object"&&i.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{let i=this.offset,t=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=i,this.index=t,[r].concat(n)}}else return[]}};Hm.default=Pm});var Zr=Bn((Zn,zp)=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.AttributeMap=Zn.OpIterator=Zn.Op=void 0;var wp=L1(),gC=wm(),Fm=qm(),La=tx();Zn.AttributeMap=La.default;var Jn=Om();Zn.Op=Jn.default;var Di=rx();Zn.OpIterator=Di.default;var bC="\0",ix=(o,i)=>{if(typeof o!="object"||o===null)throw new Error(`cannot retain a ${typeof o}`);if(typeof i!="object"||i===null)throw new Error(`cannot retain a ${typeof i}`);let t=Object.keys(o)[0];if(!t||t!==Object.keys(i)[0])throw new Error(`embed types not matched: ${t} != ${Object.keys(i)[0]}`);return[t,o[t],i[t]]},to=class o{constructor(i){Array.isArray(i)?this.ops=i:i!=null&&Array.isArray(i.ops)?this.ops=i.ops:this.ops=[]}static registerEmbed(i,t){this.handlers[i]=t}static unregisterEmbed(i){delete this.handlers[i]}static getHandler(i){let t=this.handlers[i];if(!t)throw new Error(`no handlers for embed type "${i}"`);return t}insert(i,t){let r={};return typeof i=="string"&&i.length===0?this:(r.insert=i,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(r.attributes=t),this.push(r))}delete(i){return i<=0?this:this.push({delete:i})}retain(i,t){if(typeof i=="number"&&i<=0)return this;let r={retain:i};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(r.attributes=t),this.push(r)}push(i){let t=this.ops.length,r=this.ops[t-1];if(i=gC(i),typeof r=="object"){if(typeof i.delete=="number"&&typeof r.delete=="number")return this.ops[t-1]={delete:r.delete+i.delete},this;if(typeof r.delete=="number"&&i.insert!=null&&(t-=1,r=this.ops[t-1],typeof r!="object"))return this.ops.unshift(i),this;if(Fm(i.attributes,r.attributes)){if(typeof i.insert=="string"&&typeof r.insert=="string")return this.ops[t-1]={insert:r.insert+i.insert},typeof i.attributes=="object"&&(this.ops[t-1].attributes=i.attributes),this;if(typeof i.retain=="number"&&typeof r.retain=="number")return this.ops[t-1]={retain:r.retain+i.retain},typeof i.attributes=="object"&&(this.ops[t-1].attributes=i.attributes),this}}return t===this.ops.length?this.ops.push(i):this.ops.splice(t,0,i),this}chop(){let i=this.ops[this.ops.length-1];return i&&typeof i.retain=="number"&&!i.attributes&&this.ops.pop(),this}filter(i){return this.ops.filter(i)}forEach(i){this.ops.forEach(i)}map(i){return this.ops.map(i)}partition(i){let t=[],r=[];return this.forEach(n=>{(i(n)?t:r).push(n)}),[t,r]}reduce(i,t){return this.ops.reduce(i,t)}changeLength(){return this.reduce((i,t)=>t.insert?i+Jn.default.length(t):t.delete?i-t.delete:i,0)}length(){return this.reduce((i,t)=>i+Jn.default.length(t),0)}slice(i=0,t=1/0){let r=[],n=new Di.default(this.ops),a=0;for(;a<t&&n.hasNext();){let s;a<i?s=n.next(i-a):(s=n.next(t-a),r.push(s)),a+=Jn.default.length(s)}return new o(r)}compose(i){let t=new Di.default(this.ops),r=new Di.default(i.ops),n=[],a=r.peek();if(a!=null&&typeof a.retain=="number"&&a.attributes==null){let l=a.retain;for(;t.peekType()==="insert"&&t.peekLength()<=l;)l-=t.peekLength(),n.push(t.next());a.retain-l>0&&r.next(a.retain-l)}let s=new o(n);for(;t.hasNext()||r.hasNext();)if(r.peekType()==="insert")s.push(r.next());else if(t.peekType()==="delete")s.push(t.next());else{let l=Math.min(t.peekLength(),r.peekLength()),d=t.next(l),h=r.next(l);if(h.retain){let m={};if(typeof d.retain=="number")m.retain=typeof h.retain=="number"?l:h.retain;else if(typeof h.retain=="number")d.retain==null?m.insert=d.insert:m.retain=d.retain;else{let b=d.retain==null?"insert":"retain",[g,v,y]=ix(d[b],h.retain),S=o.getHandler(g);m[b]={[g]:S.compose(v,y,b==="retain")}}let f=La.default.compose(d.attributes,h.attributes,typeof d.retain=="number");if(f&&(m.attributes=f),s.push(m),!r.hasNext()&&Fm(s.ops[s.ops.length-1],m)){let b=new o(t.rest());return s.concat(b).chop()}}else typeof h.delete=="number"&&(typeof d.retain=="number"||typeof d.retain=="object"&&d.retain!==null)&&s.push(h)}return s.chop()}concat(i){let t=new o(this.ops.slice());return i.ops.length>0&&(t.push(i.ops[0]),t.ops=t.ops.concat(i.ops.slice(1))),t}diff(i,t){if(this.ops===i.ops)return new o;let r=[this,i].map(d=>d.map(h=>{if(h.insert!=null)return typeof h.insert=="string"?h.insert:bC;let m=d===i?"on":"with";throw new Error("diff() called "+m+" non-document")}).join("")),n=new o,a=wp(r[0],r[1],t,!0),s=new Di.default(this.ops),l=new Di.default(i.ops);return a.forEach(d=>{let h=d[1].length;for(;h>0;){let m=0;switch(d[0]){case wp.INSERT:m=Math.min(l.peekLength(),h),n.push(l.next(m));break;case wp.DELETE:m=Math.min(h,s.peekLength()),s.next(m),n.delete(m);break;case wp.EQUAL:m=Math.min(s.peekLength(),l.peekLength(),h);let f=s.next(m),b=l.next(m);Fm(f.insert,b.insert)?n.retain(m,La.default.diff(f.attributes,b.attributes)):n.push(b).delete(m);break}h-=m}}),n.chop()}eachLine(i,t=`
2
- `){let r=new Di.default(this.ops),n=new o,a=0;for(;r.hasNext();){if(r.peekType()!=="insert")return;let s=r.peek(),l=Jn.default.length(s)-r.peekLength(),d=typeof s.insert=="string"?s.insert.indexOf(t,l)-l:-1;if(d<0)n.push(r.next());else if(d>0)n.push(r.next(d));else{if(i(n,r.next(1).attributes||{},a)===!1)return;a+=1,n=new o}}n.length()>0&&i(n,{},a)}invert(i){let t=new o;return this.reduce((r,n)=>{if(n.insert)t.delete(Jn.default.length(n));else{if(typeof n.retain=="number"&&n.attributes==null)return t.retain(n.retain),r+n.retain;if(n.delete||typeof n.retain=="number"){let a=n.delete||n.retain;return i.slice(r,r+a).forEach(l=>{n.delete?t.push(l):n.retain&&n.attributes&&t.retain(Jn.default.length(l),La.default.invert(n.attributes,l.attributes))}),r+a}else if(typeof n.retain=="object"&&n.retain!==null){let a=i.slice(r,r+1),s=new Di.default(a.ops).next(),[l,d,h]=ix(n.retain,s.insert),m=o.getHandler(l);return t.retain({[l]:m.invert(d,h)},La.default.invert(n.attributes,s.attributes)),r+1}}return r},0),t.chop()}transform(i,t=!1){if(t=!!t,typeof i=="number")return this.transformPosition(i,t);let r=i,n=new Di.default(this.ops),a=new Di.default(r.ops),s=new o;for(;n.hasNext()||a.hasNext();)if(n.peekType()==="insert"&&(t||a.peekType()!=="insert"))s.retain(Jn.default.length(n.next()));else if(a.peekType()==="insert")s.push(a.next());else{let l=Math.min(n.peekLength(),a.peekLength()),d=n.next(l),h=a.next(l);if(d.delete)continue;if(h.delete)s.push(h);else{let m=d.retain,f=h.retain,b=typeof f=="object"&&f!==null?f:l;if(typeof m=="object"&&m!==null&&typeof f=="object"&&f!==null){let g=Object.keys(m)[0];if(g===Object.keys(f)[0]){let v=o.getHandler(g);v&&(b={[g]:v.transform(m[g],f[g],t)})}}s.retain(b,La.default.transform(d.attributes,h.attributes,t))}}return s.chop()}transformPosition(i,t=!1){t=!!t;let r=new Di.default(this.ops),n=0;for(;r.hasNext()&&n<=i;){let a=r.peekLength(),s=r.peekType();if(r.next(),s==="delete"){i-=Math.min(a,i-n);continue}else s==="insert"&&(n<i||!t)&&(i+=a);n+=a}return i}};to.Op=Jn.default;to.OpIterator=Di.default;to.AttributeMap=La.default;to.handlers={};Zn.default=to;typeof zp=="object"&&(zp.exports=to,zp.exports.default=to)});var yz=Bn((jdt,sf)=>{"use strict";var Z$=Object.prototype.hasOwnProperty,Vr="~";function cc(){}Object.create&&(cc.prototype=Object.create(null),new cc().__proto__||(Vr=!1));function tA(o,i,t){this.fn=o,this.context=i,this.once=t||!1}function vz(o,i,t,r,n){if(typeof t!="function")throw new TypeError("The listener must be a function");var a=new tA(t,r||o,n),s=Vr?Vr+i:i;return o._events[s]?o._events[s].fn?o._events[s]=[o._events[s],a]:o._events[s].push(a):(o._events[s]=a,o._eventsCount++),o}function Yp(o,i){--o._eventsCount===0?o._events=new cc:delete o._events[i]}function Mr(){this._events=new cc,this._eventsCount=0}Mr.prototype.eventNames=function(){var i=[],t,r;if(this._eventsCount===0)return i;for(r in t=this._events)Z$.call(t,r)&&i.push(Vr?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i};Mr.prototype.listeners=function(i){var t=Vr?Vr+i:i,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,a=r.length,s=new Array(a);n<a;n++)s[n]=r[n].fn;return s};Mr.prototype.listenerCount=function(i){var t=Vr?Vr+i:i,r=this._events[t];return r?r.fn?1:r.length:0};Mr.prototype.emit=function(i,t,r,n,a,s){var l=Vr?Vr+i:i;if(!this._events[l])return!1;var d=this._events[l],h=arguments.length,m,f;if(d.fn){switch(d.once&&this.removeListener(i,d.fn,void 0,!0),h){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,t),!0;case 3:return d.fn.call(d.context,t,r),!0;case 4:return d.fn.call(d.context,t,r,n),!0;case 5:return d.fn.call(d.context,t,r,n,a),!0;case 6:return d.fn.call(d.context,t,r,n,a,s),!0}for(f=1,m=new Array(h-1);f<h;f++)m[f-1]=arguments[f];d.fn.apply(d.context,m)}else{var b=d.length,g;for(f=0;f<b;f++)switch(d[f].once&&this.removeListener(i,d[f].fn,void 0,!0),h){case 1:d[f].fn.call(d[f].context);break;case 2:d[f].fn.call(d[f].context,t);break;case 3:d[f].fn.call(d[f].context,t,r);break;case 4:d[f].fn.call(d[f].context,t,r,n);break;default:if(!m)for(g=1,m=new Array(h-1);g<h;g++)m[g-1]=arguments[g];d[f].fn.apply(d[f].context,m)}}return!0};Mr.prototype.on=function(i,t,r){return vz(this,i,t,r,!1)};Mr.prototype.once=function(i,t,r){return vz(this,i,t,r,!0)};Mr.prototype.removeListener=function(i,t,r,n){var a=Vr?Vr+i:i;if(!this._events[a])return this;if(!t)return Yp(this,a),this;var s=this._events[a];if(s.fn)s.fn===t&&(!n||s.once)&&(!r||s.context===r)&&Yp(this,a);else{for(var l=0,d=[],h=s.length;l<h;l++)(s[l].fn!==t||n&&!s[l].once||r&&s[l].context!==r)&&d.push(s[l]);d.length?this._events[a]=d.length===1?d[0]:d:Yp(this,a)}return this};Mr.prototype.removeAllListeners=function(i){var t;return i?(t=Vr?Vr+i:i,this._events[t]&&Yp(this,t)):(this._events=new cc,this._eventsCount=0),this};Mr.prototype.off=Mr.prototype.removeListener;Mr.prototype.addListener=Mr.prototype.on;Mr.prefixed=Vr;Mr.EventEmitter=Mr;typeof sf<"u"&&(sf.exports=Mr)});var Kf=Bn((Rc,Wf)=>{(function(o,i){typeof Rc=="object"&&typeof Wf=="object"?Wf.exports=i():typeof define=="function"&&define.amd?define([],i):typeof Rc=="object"?Rc.AirDatepicker=i():o.AirDatepicker=i()})(Rc,(function(){return(function(){"use strict";var o={d:function(O,x){for(var T in x)o.o(x,T)&&!o.o(O,T)&&Object.defineProperty(O,T,{enumerable:!0,get:x[T]})},o:function(O,x){return Object.prototype.hasOwnProperty.call(O,x)}},i={};o.d(i,{default:function(){return at}});var t={days:"days",months:"months",years:"years",day:"day",month:"month",year:"year",eventChangeViewDate:"changeViewDate",eventChangeCurrentView:"changeCurrentView",eventChangeFocusDate:"changeFocusDate",eventChangeSelectedDate:"changeSelectedDate",eventChangeTime:"changeTime",eventChangeLastSelectedDate:"changeLastSelectedDate",actionSelectDate:"selectDate",actionUnselectDate:"unselectDate",cssClassWeekend:"-weekend-"},r={classes:"",inline:!1,locale:{days:["\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0412\u0442\u043E\u0440\u043D\u0438\u043A","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041F\u044F\u0442\u043D\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043E\u0442\u0430"],daysShort:["\u0412\u043E\u0441","\u041F\u043E\u043D","\u0412\u0442\u043E","\u0421\u0440\u0435","\u0427\u0435\u0442","\u041F\u044F\u0442","\u0421\u0443\u0431"],daysMin:["\u0412\u0441","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431"],months:["\u042F\u043D\u0432\u0430\u0440\u044C","\u0424\u0435\u0432\u0440\u0430\u043B\u044C","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B\u044C","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u041E\u043A\u0442\u044F\u0431\u0440\u044C","\u041D\u043E\u044F\u0431\u0440\u044C","\u0414\u0435\u043A\u0430\u0431\u0440\u044C"],monthsShort:["\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",dateFormat:"dd.MM.yyyy",timeFormat:"HH:mm",firstDay:1},startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"T",toggleSelected:!0,keyboardNav:!0,selectedDates:!1,container:"",isMobile:!1,visible:!1,position:"bottom left",offset:12,view:t.days,minView:t.days,showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:", ",range:!1,dynamicRange:!0,buttons:!1,monthsField:"monthsShort",showEvent:"focus",autoClose:!1,fixedHeight:!1,prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MMMM, <i>yyyy</i>",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:!1,onChangeViewDate:!1,onChangeView:!1,onRenderCell:!1,onShow:!1,onHide:!1,onClickDayName:!1};function n(O){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;return typeof O=="string"?x.querySelector(O):O}function a(){let{tagName:O="div",className:x="",innerHtml:T="",id:w="",attrs:D={}}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=document.createElement(O);return x&&L.classList.add(...x.split(" ")),w&&(L.id=w),T&&(L.innerHTML=T),D&&s(L,D),L}function s(O,x){for(let[T,w]of Object.entries(x))w!==void 0&&O.setAttribute(T,w);return O}function l(O){return new Date(O.getFullYear(),O.getMonth()+1,0).getDate()}function d(O){let x=O.getHours(),{hours:T,dayPeriod:w}=h(x);return{year:O.getFullYear(),month:O.getMonth(),fullMonth:O.getMonth()+1<10?"0"+(O.getMonth()+1):O.getMonth()+1,date:O.getDate(),fullDate:O.getDate()<10?"0"+O.getDate():O.getDate(),day:O.getDay(),hours:x,fullHours:m(x),hours12:T,dayPeriod:w,fullHours12:m(T),minutes:O.getMinutes(),fullMinutes:O.getMinutes()<10?"0"+O.getMinutes():O.getMinutes()}}function h(O){return{dayPeriod:O>11?"pm":"am",hours:O%12==0?12:O%12}}function m(O){return O<10?"0"+O:O}function f(O){let x=10*Math.floor(O.getFullYear()/10);return[x,x+9]}function b(){let O=[];for(var x=arguments.length,T=new Array(x),w=0;w<x;w++)T[w]=arguments[w];return T.forEach((D=>{if(typeof D=="object")for(let L in D)D[L]&&O.push(L);else D&&O.push(D)})),O.join(" ")}function g(O,x){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t.days;if(!O||!x)return!1;let w=d(O),D=d(x);return{[t.days]:w.date===D.date&&w.month===D.month&&w.year===D.year,[t.months]:w.month===D.month&&w.year===D.year,[t.years]:w.year===D.year}[T]}function v(O,x,T){let w=S(O,!1).getTime(),D=S(x,!1).getTime();return T?w>=D:w>D}function y(O,x){return!v(O,x,!0)}function S(O){let x=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=new Date(O.getTime());return typeof x!="boolean"||x||(function(w){w.setHours(0,0,0,0)})(T),T}function E(O,x,T){O.length?O.forEach((w=>{w.addEventListener(x,T)})):O.addEventListener(x,T)}function N(O,x){return!(!O||O===document||O instanceof DocumentFragment)&&(O.matches(x)?O:N(O.parentNode,x))}function U(O,x,T){return O>T?T:O<x?x:O}function I(O){for(var x=arguments.length,T=new Array(x>1?x-1:0),w=1;w<x;w++)T[w-1]=arguments[w];return T.filter((D=>D)).forEach((D=>{for(let[L,A]of Object.entries(D))if(A!==void 0&&A.toString()==="[object Object]"){let H=O[L]!==void 0?O[L].toString():void 0,j=A.toString(),X=Array.isArray(A)?[]:{};O[L]=O[L]?H!==j?X:O[L]:X,I(O[L],A)}else O[L]=A})),O}function C(O){let x=O;return O instanceof Date||(typeof O=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(O)&&(O+="T00:00:00"),x=new Date(O)),isNaN(x.getTime())&&(console.log(`Unable to convert value "${O}" to Date object`),x=!1),x}function $(O){let x="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+x+")("+O+")($|<|"+x+")","g")}function M(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class W{constructor(){let{type:x,date:T,dp:w,opts:D,body:L}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};M(this,"focus",(()=>{this.$cell.classList.add("-focus-"),this.focused=!0})),M(this,"removeFocus",(()=>{this.$cell.classList.remove("-focus-"),this.focused=!1})),M(this,"select",(()=>{this.$cell.classList.add("-selected-"),this.selected=!0})),M(this,"removeSelect",(()=>{this.$cell.classList.remove("-selected-","-range-from-","-range-to-"),this.selected=!1})),M(this,"onChangeSelectedDate",(()=>{this.isDisabled||(this._handleSelectedStatus(),this.opts.range&&this._handleRangeStatus())})),M(this,"onChangeFocusDate",(A=>{if(!A)return void(this.focused&&this.removeFocus());let H=g(A,this.date,this.type);H?this.focus():!H&&this.focused&&this.removeFocus(),this.opts.range&&this._handleRangeStatus()})),M(this,"render",(()=>(this.$cell.innerHTML=this._getHtml(),this._handleClasses(),this.$cell))),this.type=x,this.singleType=this.type.slice(0,-1),this.date=T,this.dp=w,this.opts=D,this.body=L,this.customData=!1,this.init()}init(){var x,T;let{onRenderCell:w}=this.opts;w&&(this.customData=w({date:this.date,cellType:this.singleType,datepicker:this.dp})),this._createElement(),this._bindDatepickerEvents(),(x=this.customData)!==null&&x!==void 0&&x.disabled?this.dp.disableDate(this.date):((T=this.customData)===null||T===void 0?void 0:T.disabled)===!1&&this.dp.enableDate(this.date)}_bindDatepickerEvents(){this.dp.on(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(t.eventChangeFocusDate,this.onChangeFocusDate)}unbindDatepickerEvents(){this.dp.off(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(t.eventChangeFocusDate,this.onChangeFocusDate)}_createElement(){var x;let{year:T,month:w,fullMonth:D,date:L,fullDate:A}=d(this.date),H=((x=this.customData)===null||x===void 0?void 0:x.attrs)||{};this.$cell=a({attrs:{"data-year":T,"data-month":w,"data-date":L,"data-iso-date":`${T}-${D}-${A}`,...H}}),this.$cell.adpCell=this}_getClassName(){var x;let T=new Date,{selectOtherMonths:w,selectOtherYears:D}=this.opts,{minDate:L,maxDate:A,isDateDisabled:H}=this.dp,{day:j}=d(this.date),X=this._isOutOfMinMaxRange(),it=H(this.date),et=b("air-datepicker-cell",`-${this.singleType}-`,{"-current-":g(T,this.date,this.type),"-min-date-":L&&g(L,this.date,this.type),"-max-date-":A&&g(A,this.date,this.type)}),st="";switch(this.type){case t.days:st=b({"-weekend-":this.dp.isWeekend(j),"-other-month-":this.isOtherMonth,"-disabled-":this.isOtherMonth&&!w||X||it});break;case t.months:st=b({"-disabled-":X});break;case t.years:st=b({"-other-decade-":this.isOtherDecade,"-disabled-":X||this.isOtherDecade&&!D})}return b(et,st,(x=this.customData)===null||x===void 0?void 0:x.classes).split(" ")}_getHtml(){var x;let{year:T,month:w,date:D}=d(this.date),{showOtherMonths:L,showOtherYears:A}=this.opts;if((x=this.customData)!==null&&x!==void 0&&x.html)return this.customData.html;switch(this.type){case t.days:return!L&&this.isOtherMonth?"":D;case t.months:return this.dp.locale[this.opts.monthsField][w];case t.years:return!A&&this.isOtherDecade?"":T}}_isOutOfMinMaxRange(){let{minDate:x,maxDate:T}=this.dp,{type:w,date:D}=this,{month:L,year:A,date:H}=d(D),j=w===t.days,X=w===t.years,it=!!x&&new Date(A,X?x.getMonth():L,j?H:x.getDate()),et=!!T&&new Date(A,X?T.getMonth():L,j?H:T.getDate());return x&&T?y(it,x)||v(et,T):x?y(it,x):T?v(et,T):void 0}destroy(){this.unbindDatepickerEvents()}_handleRangeStatus(){let{selectedDates:x,focusDate:T,rangeDateTo:w,rangeDateFrom:D}=this.dp,L=x.length;if(this.$cell.classList.remove("-range-from-","-range-to-","-in-range-"),!L)return;let A=D,H=w;if(L===1&&T){let st=v(T,x[0]);A=st?x[0]:T,H=st?T:x[0]}let j=b({"-in-range-":A&&H&&(X=this.date,it=A,et=H,v(X,it)&&y(X,et)),"-range-from-":A&&g(this.date,A,this.type),"-range-to-":H&&g(this.date,H,this.type)});var X,it,et;j&&this.$cell.classList.add(...j.split(" "))}_handleSelectedStatus(){let x=this.dp._checkIfDateIsSelected(this.date,this.type);x?this.select():!x&&this.selected&&this.removeSelect()}_handleInitialFocusStatus(){g(this.dp.focusDate,this.date,this.type)&&this.focus()}_handleClasses(){this.$cell.setAttribute("class",""),this._handleInitialFocusStatus(),this.dp.hasSelectedDates&&(this._handleSelectedStatus(),this.dp.opts.range&&this._handleRangeStatus()),this.$cell.classList.add(...this._getClassName())}get isDisabled(){return this.$cell.matches(".-disabled-")}get isOtherMonth(){return this.dp.isOtherMonth(this.date)}get isOtherDecade(){return this.dp.isOtherDecade(this.date)}}function ot(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}let vt={[t.days]:`<div class="air-datepicker-body--day-names"></div><div class="air-datepicker-body--cells -${t.days}-"></div>`,[t.months]:`<div class="air-datepicker-body--cells -${t.months}-"></div>`,[t.years]:`<div class="air-datepicker-body--cells -${t.years}-"></div>`},Dt=".air-datepicker-cell";class Nt{constructor(x){let{dp:T,type:w,opts:D}=x;ot(this,"handleClick",(L=>{let A=L.target.closest(Dt).adpCell;if(A.isDisabled)return;if(!this.dp.isMinViewReached)return void this.dp.down();let H=this.dp._checkIfDateIsSelected(A.date,A.type);H?this.dp._handleAlreadySelectedDates(H,A.date):this.dp.selectDate(A.date)})),ot(this,"handleDayNameClick",(L=>{let A=L.target.getAttribute("data-day-index");this.opts.onClickDayName({dayIndex:Number(A),datepicker:this.dp})})),ot(this,"onChangeCurrentView",(L=>{L!==this.type?this.hide():(this.show(),this.render())})),ot(this,"onMouseOverCell",(L=>{let A=N(L.target,Dt);this.dp.setFocusDate(!!A&&A.adpCell.date)})),ot(this,"onMouseOutCell",(()=>{this.dp.setFocusDate(!1)})),ot(this,"onClickBody",(L=>{let{onClickDayName:A}=this.opts,H=L.target;H.closest(Dt)&&this.handleClick(L),A&&H.closest(".air-datepicker-body--day-name")&&this.handleDayNameClick(L)})),ot(this,"onMouseDown",(L=>{this.pressed=!0;let A=N(L.target,Dt),H=A&&A.adpCell;g(H.date,this.dp.rangeDateFrom)&&(this.rangeFromFocused=!0),g(H.date,this.dp.rangeDateTo)&&(this.rangeToFocused=!0)})),ot(this,"onMouseMove",(L=>{if(!this.pressed||!this.dp.isMinViewReached)return;L.preventDefault();let A=N(L.target,Dt),H=A&&A.adpCell,{selectedDates:j,rangeDateTo:X,rangeDateFrom:it}=this.dp;if(!H||H.isDisabled)return;let{date:et}=H;if(j.length===2){if(this.rangeFromFocused&&!v(et,X)){let{hours:st,minutes:ke}=d(it);et.setHours(st),et.setMinutes(ke),this.dp.rangeDateFrom=et,this.dp.replaceDate(it,et)}if(this.rangeToFocused&&!y(et,it)){let{hours:st,minutes:ke}=d(X);et.setHours(st),et.setMinutes(ke),this.dp.rangeDateTo=et,this.dp.replaceDate(X,et)}}})),ot(this,"onMouseUp",(()=>{this.pressed=!1,this.rangeFromFocused=!1,this.rangeToFocused=!1})),ot(this,"onChangeViewDate",((L,A)=>{if(!this.isVisible)return;let H=f(L),j=f(A);switch(this.dp.currentView){case t.days:if(g(L,A,t.months))return;break;case t.months:if(g(L,A,t.years))return;break;case t.years:if(H[0]===j[0]&&H[1]===j[1])return}this.render()})),ot(this,"render",(()=>{this.destroyCells(),this._generateCells(),this.cells.forEach((L=>{this.$cells.appendChild(L.render())}))})),this.dp=T,this.type=w,this.opts=D,this.cells=[],this.$el="",this.pressed=!1,this.isVisible=!0,this.init()}init(){this._buildBaseHtml(),this.type===t.days&&this.renderDayNames(),this.render(),this._bindEvents(),this._bindDatepickerEvents()}_bindEvents(){let{range:x,dynamicRange:T}=this.opts;E(this.$el,"mouseover",this.onMouseOverCell),E(this.$el,"mouseout",this.onMouseOutCell),E(this.$el,"click",this.onClickBody),x&&T&&(E(this.$el,"mousedown",this.onMouseDown),E(this.$el,"mousemove",this.onMouseMove),E(window.document,"mouseup",this.onMouseUp))}_bindDatepickerEvents(){this.dp.on(t.eventChangeViewDate,this.onChangeViewDate),this.dp.on(t.eventChangeCurrentView,this.onChangeCurrentView)}_buildBaseHtml(){this.$el=a({className:`air-datepicker-body -${this.type}-`,innerHtml:vt[this.type]}),this.$names=n(".air-datepicker-body--day-names",this.$el),this.$cells=n(".air-datepicker-body--cells",this.$el)}_getDayNamesHtml(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.dp.locale.firstDay,T="",w=this.dp.isWeekend,{onClickDayName:D}=this.opts,L=x,A=0;for(;A<7;){let H=L%7;T+=`<div class="${b("air-datepicker-body--day-name",{[t.cssClassWeekend]:w(H),"-clickable-":!!D})}" data-day-index='${H}'>${this.dp.locale.daysMin[H]}</div>`,A++,L++}return T}renderDayNames(){this.$names.innerHTML=this._getDayNamesHtml()}_generateCell(x){let{type:T,dp:w,opts:D}=this;return new W({type:T,dp:w,opts:D,date:x,body:this})}_generateCells(){Nt.getDatesFunction(this.type)(this.dp,(x=>{this.cells.push(this._generateCell(x))}))}show(){this.isVisible=!0,this.$el.classList.remove("-hidden-")}hide(){this.isVisible=!1,this.$el.classList.add("-hidden-")}destroyCells(){this.cells.forEach((x=>x.destroy())),this.cells=[],this.$cells.innerHTML=""}destroy(){this.destroyCells(),this.dp.off(t.eventChangeViewDate,this.onChangeViewDate),this.dp.off(t.eventChangeCurrentView,this.onChangeCurrentView)}static getDaysDates(x,T){let{viewDate:w,opts:{fixedHeight:D},locale:{firstDay:L}}=x,A=l(w),{year:H,month:j}=d(w),X=new Date(H,j,1),it=new Date(H,j,A),et=X.getDay()-L,st=6-it.getDay()+L;et=et<0?et+7:et,st=st>6?st-7:st;let ke=(function(aa,Vh){let{year:Zc,month:o3,date:a3}=d(aa);return new Date(Zc,o3,a3-Vh)})(X,et),Kr=A+et+st,wr=ke.getDate(),{year:yn,month:ul}=d(ke),na=0;D&&(Kr=42);let oa=[];for(;na<Kr;){let aa=new Date(yn,ul,wr+na);T&&T(aa),oa.push(aa),na++}return oa}static getMonthsDates(x,T){let{year:w}=x.parsedViewDate,D=0,L=[];for(;D<12;){let A=new Date(w,D);L.push(A),T&&T(A),D++}return L}static getYearsDates(x,T){let w=f(x.viewDate),D=w[0]-1,L=w[1]+1,A=D,H=[];for(;A<=L;){let j=new Date(A,0);H.push(j),T&&T(j),A++}return H}static getDatesFunction(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.days;return{[t.days]:Nt.getDaysDates,[t.months]:Nt.getMonthsDates,[t.years]:Nt.getYearsDates}[x]}}function re(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class er{constructor(x){let{dp:T,opts:w}=x;re(this,"onClickNav",(D=>{let L=N(D.target,".air-datepicker-nav--action");if(!L)return;let A=L.dataset.action;this.dp[A]()})),re(this,"onChangeViewDate",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus()})),re(this,"onChangeCurrentView",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus()})),re(this,"onClickNavTitle",(()=>{this.dp.isFinalView||this.dp.up()})),re(this,"update",(()=>{let{prevHtml:D,nextHtml:L}=this.opts;this.$prev.innerHTML=D,this.$next.innerHTML=L,this._resetNavStatus(),this.render(),this.handleNavStatus()})),re(this,"renderDelay",(()=>{setTimeout(this.render)})),re(this,"render",(()=>{this.$title.innerHTML=this._getTitle(),(function(D,L){for(let A in L)L[A]?D.classList.add(A):D.classList.remove(A)})(this.$title,{"-disabled-":this.dp.isFinalView})})),this.dp=T,this.opts=w,this.init()}init(){this._createElement(),this._buildBaseHtml(),this._defineDOM(),this.render(),this.handleNavStatus(),this._bindEvents(),this._bindDatepickerEvents()}_defineDOM(){this.$title=n(".air-datepicker-nav--title",this.$el),this.$prev=n('[data-action="prev"]',this.$el),this.$next=n('[data-action="next"]',this.$el)}_bindEvents(){this.$el.addEventListener("click",this.onClickNav),this.$title.addEventListener("click",this.onClickNavTitle)}_bindDatepickerEvents(){this.dp.on(t.eventChangeViewDate,this.onChangeViewDate),this.dp.on(t.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.on(t.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.on(t.eventChangeTime,this.render))}destroy(){this.dp.off(t.eventChangeViewDate,this.onChangeViewDate),this.dp.off(t.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.off(t.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.off(t.eventChangeTime,this.render))}_createElement(){this.$el=a({tagName:"nav",className:"air-datepicker-nav"})}_getTitle(){let{dp:x,opts:T}=this,w=T.navTitles[x.currentView];return typeof w=="function"?w(x):x.formatDate(x.viewDate,w)}handleNavStatus(){let{disableNavWhenOutOfRange:x}=this.opts,{minDate:T,maxDate:w}=this.dp;if(!T&&!w||!x)return;let{year:D,month:L}=this.dp.parsedViewDate,A=!!T&&d(T),H=!!w&&d(w);switch(this.dp.currentView){case t.days:T&&A.month>=L&&A.year>=D&&this._disableNav("prev"),w&&H.month<=L&&H.year<=D&&this._disableNav("next");break;case t.months:T&&A.year>=D&&this._disableNav("prev"),w&&H.year<=D&&this._disableNav("next");break;case t.years:{let j=f(this.dp.viewDate);T&&A.year>=j[0]&&this._disableNav("prev"),w&&H.year<=j[1]&&this._disableNav("next");break}}}_disableNav(x){n('[data-action="'+x+'"]',this.$el).classList.add("-disabled-")}_resetNavStatus(){(function(x){for(var T=arguments.length,w=new Array(T>1?T-1:0),D=1;D<T;D++)w[D-1]=arguments[D];x.length?x.forEach((L=>{L.classList.remove(...w)})):x.classList.remove(...w)})(this.$el.querySelectorAll(".air-datepicker-nav--action"),"-disabled-")}_buildBaseHtml(){let{prevHtml:x,nextHtml:T}=this.opts;this.$el.innerHTML=`<div class="air-datepicker-nav--action" data-action="prev">${x}</div><div class="air-datepicker-nav--title"></div><div class="air-datepicker-nav--action" data-action="next">${T}</div>`}get isNavIsFunction(){let{navTitles:x}=this.opts;return Object.keys(x).find((T=>typeof x[T]=="function"))}}var Nr={today:{content:O=>O.locale.today,onClick:O=>O.setViewDate(new Date)},clear:{content:O=>O.locale.clear,onClick:O=>O.clear()}};class xr{constructor(x){let{dp:T,opts:w}=x;this.dp=T,this.opts=w,this.init()}init(){this.createElement(),this.render()}createElement(){this.$el=a({className:"air-datepicker-buttons"})}destroy(){this.$el.parentNode.removeChild(this.$el)}clearHtml(){return this.$el.innerHTML="",this}generateButtons(){let{buttons:x}=this.opts;Array.isArray(x)||(x=[x]),x.forEach((T=>{let w=T;typeof T=="string"&&Nr[T]&&(w=Nr[T]);let D=this.createButton(w);w.onClick&&this.attachEventToButton(D,w.onClick),this.$el.appendChild(D)}))}attachEventToButton(x,T){x.addEventListener("click",(()=>{T(this.dp)}))}createButton(x){let{content:T,className:w,tagName:D="button",attrs:L={}}=x;return a({tagName:D,innerHtml:`<span tabindex='-1'>${typeof T=="function"?T(this.dp):T}</span>`,className:b("air-datepicker-button",w),attrs:L})}render(){this.generateButtons()}}function Ne(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class rr{constructor(){let{opts:x,dp:T}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ne(this,"toggleTimepickerIsActive",(D=>{this.dp.timepickerIsActive=D})),Ne(this,"onChangeSelectedDate",(D=>{let{date:L,updateTime:A=!1}=D;L&&(this.setMinMaxTime(L),this.setCurrentTime(!!A&&L),this.addTimeToDate(L))})),Ne(this,"onChangeLastSelectedDate",(D=>{D&&(this.setTime(D),this.render())})),Ne(this,"onChangeInputRange",(D=>{let L=D.target;this[L.getAttribute("name")]=L.value,this.updateText(),this.dp.trigger(t.eventChangeTime,{hours:this.hours,minutes:this.minutes})})),Ne(this,"onMouseEnterLeave",(D=>{let L=D.target.getAttribute("name"),A=this.$minutesText;L==="hours"&&(A=this.$hoursText),A.classList.toggle("-focus-")})),Ne(this,"onFocus",(()=>{this.toggleTimepickerIsActive(!0)})),Ne(this,"onBlur",(()=>{this.toggleTimepickerIsActive(!1)})),this.opts=x,this.dp=T;let{timeFormat:w}=this.dp.locale;w&&(w.match($("h"))||w.match($("hh")))&&(this.ampm=!0),this.init()}init(){this.setTime(this.dp.lastSelectedDate||this.dp.viewDate),this.createElement(),this.buildHtml(),this.defineDOM(),this.render(),this.bindDatepickerEvents(),this.bindDOMEvents()}bindDatepickerEvents(){this.dp.on(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(t.eventChangeLastSelectedDate,this.onChangeLastSelectedDate)}bindDOMEvents(){let x="input";navigator.userAgent.match(/trident/gi)&&(x="change"),E(this.$ranges,x,this.onChangeInputRange),E(this.$ranges,"mouseenter",this.onMouseEnterLeave),E(this.$ranges,"mouseleave",this.onMouseEnterLeave),E(this.$ranges,"focus",this.onFocus),E(this.$ranges,"mousedown",this.onFocus),E(this.$ranges,"blur",this.onBlur)}createElement(){this.$el=a({className:b("air-datepicker-time",{"-am-pm-":this.dp.ampm})})}destroy(){this.dp.off(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(t.eventChangeLastSelectedDate,this.onChangeLastSelectedDate),this.$el.parentNode.removeChild(this.$el)}buildHtml(){let{ampm:x,hours:T,displayHours:w,minutes:D,minHours:L,minMinutes:A,maxHours:H,maxMinutes:j,dayPeriod:X,opts:{hoursStep:it,minutesStep:et}}=this;this.$el.innerHTML=`<div class="air-datepicker-time--current"> <span class="air-datepicker-time--current-hours">${m(w)}</span> <span class="air-datepicker-time--current-colon">:</span> <span class="air-datepicker-time--current-minutes">${m(D)}</span> `+(x?`<span class='air-datepicker-time--current-ampm'>${X}</span>`:"")+`</div><div class="air-datepicker-time--sliders"> <div class="air-datepicker-time--row"> <input type="range" name="hours" value="${T}" min="${L}" max="${H}" step="${it}"/> </div> <div class="air-datepicker-time--row"> <input type="range" name="minutes" value="${D}" min="${A}" max="${j}" step="${et}"/> </div></div>`}defineDOM(){let x=T=>n(T,this.$el);this.$ranges=this.$el.querySelectorAll('[type="range"]'),this.$hours=x('[name="hours"]'),this.$minutes=x('[name="minutes"]'),this.$hoursText=x(".air-datepicker-time--current-hours"),this.$minutesText=x(".air-datepicker-time--current-minutes"),this.$ampm=x(".air-datepicker-time--current-ampm")}setTime(x){this.setMinMaxTime(x),this.setCurrentTime(x)}addTimeToDate(x){x&&(x.setHours(this.hours),x.setMinutes(this.minutes))}setMinMaxTime(x){if(this.setMinMaxTimeFromOptions(),x){let{minDate:T,maxDate:w}=this.dp;T&&g(x,T)&&this.setMinTimeFromMinDate(T),w&&g(x,w)&&this.setMaxTimeFromMaxDate(w)}}setCurrentTime(x){let{hours:T,minutes:w}=x?d(x):this;this.hours=U(T,this.minHours,this.maxHours),this.minutes=U(w,this.minMinutes,this.maxMinutes)}setMinMaxTimeFromOptions(){let{minHours:x,minMinutes:T,maxHours:w,maxMinutes:D}=this.opts;this.minHours=U(x,0,23),this.minMinutes=U(T,0,59),this.maxHours=U(w,0,23),this.maxMinutes=U(D,0,59)}setMinTimeFromMinDate(x){let{lastSelectedDate:T}=this.dp;this.minHours=x.getHours(),T&&T.getHours()>x.getHours()?this.minMinutes=this.opts.minMinutes:this.minMinutes=x.getMinutes()}setMaxTimeFromMaxDate(x){let{lastSelectedDate:T}=this.dp;this.maxHours=x.getHours(),T&&T.getHours()<x.getHours()?this.maxMinutes=this.opts.maxMinutes:this.maxMinutes=x.getMinutes()}updateSliders(){s(this.$hours,{min:this.minHours,max:this.maxHours}).value=this.hours,s(this.$minutes,{min:this.minMinutes,max:this.maxMinutes}).value=this.minutes}updateText(){this.$hoursText.innerHTML=m(this.displayHours),this.$minutesText.innerHTML=m(this.minutes),this.ampm&&(this.$ampm.innerHTML=this.dayPeriod)}set hours(x){this._hours=x;let{hours:T,dayPeriod:w}=h(x);this.displayHours=this.ampm?T:x,this.dayPeriod=w}get hours(){return this._hours}render(){this.updateSliders(),this.updateText()}}function Ae(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class uo{constructor(x){let{dp:T,opts:w}=x;Ae(this,"pressedKeys",new Set),Ae(this,"hotKeys",new Map([[[["Control","ArrowRight"],["Control","ArrowUp"]],D=>D.month++],[[["Control","ArrowLeft"],["Control","ArrowDown"]],D=>D.month--],[[["Shift","ArrowRight"],["Shift","ArrowUp"]],D=>D.year++],[[["Shift","ArrowLeft"],["Shift","ArrowDown"]],D=>D.year--],[[["Alt","ArrowRight"],["Alt","ArrowUp"]],D=>D.year+=10],[[["Alt","ArrowLeft"],["Alt","ArrowDown"]],D=>D.year-=10],[["Control","Shift","ArrowUp"],(D,L)=>L.up()]])),Ae(this,"handleHotKey",(D=>{let L=this.hotKeys.get(D),A=d(this.getInitialFocusDate());L(A,this.dp);let{year:H,month:j,date:X}=A,it=l(new Date(H,j));it<X&&(X=it);let et=this.dp.getClampedDate(new Date(H,j,X));this.dp.setFocusDate(et,{viewDateTransition:!0})})),Ae(this,"isHotKeyPressed",(()=>{let D=!1,L=this.pressedKeys.size,A=H=>this.pressedKeys.has(H);for(let[H]of this.hotKeys){if(D)break;if(Array.isArray(H[0]))H.forEach((j=>{D||L!==j.length||(D=j.every(A)&&H)}));else{if(L!==H.length)continue;D=H.every(A)&&H}}return D})),Ae(this,"isArrow",(D=>D>=37&&D<=40)),Ae(this,"onKeyDown",(D=>{if(!this.dp.visible&&!this.dp.treatAsInline)return;let{key:L,which:A}=D,{dp:H,dp:{focusDate:j},opts:X}=this;this.registerKey(L);let it=this.isHotKeyPressed();if(it)return D.preventDefault(),void this.handleHotKey(it);if(this.isArrow(A))return D.preventDefault(),void this.focusNextCell(L);if(L==="Enter"){if(H.currentView!==X.minView)return void H.down();if(j){let et=H._checkIfDateIsSelected(j);return void(et?H._handleAlreadySelectedDates(et,j):H.selectDate(j))}}L==="Escape"&&this.dp.hide()})),Ae(this,"onKeyUp",(D=>{this.removeKey(D.key)})),this.dp=T,this.opts=w,this.init()}init(){this.bindKeyboardEvents()}bindKeyboardEvents(){let{$el:x}=this.dp;x.addEventListener("keydown",this.onKeyDown),x.addEventListener("keyup",this.onKeyUp)}destroy(){let{$el:x}=this.dp;x.removeEventListener("keydown",this.onKeyDown),x.removeEventListener("keyup",this.onKeyUp),this.hotKeys=null,this.pressedKeys=null}getInitialFocusDate(){let{focusDate:x,currentView:T,selectedDates:w,parsedViewDate:{year:D,month:L}}=this.dp,A=x||w[w.length-1];if(!A)switch(T){case t.days:A=new Date(D,L,new Date().getDate());break;case t.months:A=new Date(D,L,1);break;case t.years:A=new Date(D,0,1)}return A}focusNextCell(x){let T=this.getInitialFocusDate(),{currentView:w}=this.dp,{days:D,months:L,years:A}=t,H=d(T),j=H.year,X=H.month,it=H.date;switch(x){case"ArrowLeft":w===D&&(it-=1),w===L&&(X-=1),w===A&&(j-=1);break;case"ArrowUp":w===D&&(it-=7),w===L&&(X-=3),w===A&&(j-=4);break;case"ArrowRight":w===D&&(it+=1),w===L&&(X+=1),w===A&&(j+=1);break;case"ArrowDown":w===D&&(it+=7),w===L&&(X+=3),w===A&&(j+=4)}let et=this.dp.getClampedDate(new Date(j,X,it));this.dp.setFocusDate(et,{viewDateTransition:!0})}registerKey(x){this.pressedKeys.add(x)}removeKey(x){this.pressedKeys.delete(x)}}let Ka={on(O,x){this.__events||(this.__events={}),this.__events[O]?this.__events[O].push(x):this.__events[O]=[x]},off(O,x){this.__events&&this.__events[O]&&(this.__events[O]=this.__events[O].filter((T=>T!==x)))},removeAllEvents(){this.__events={}},trigger(O){for(var x=arguments.length,T=new Array(x>1?x-1:0),w=1;w<x;w++)T[w-1]=arguments[w];this.__events&&this.__events[O]&&this.__events[O].forEach((D=>{D(...T)}))}};function ut(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}let Wi="",Ki="",ht=!1;class at{static buildGlobalContainer(x){ht=!0,Wi=a({className:x,id:x}),n("body").appendChild(Wi)}constructor(x,T){var w=this;if(ut(this,"viewIndexes",[t.days,t.months,t.years]),ut(this,"next",(()=>{let{year:A,month:H}=this.parsedViewDate;switch(this.currentView){case t.days:this.setViewDate(new Date(A,H+1,1));break;case t.months:this.setViewDate(new Date(A+1,H,1));break;case t.years:this.setViewDate(new Date(A+10,0,1))}})),ut(this,"prev",(()=>{let{year:A,month:H}=this.parsedViewDate;switch(this.currentView){case t.days:this.setViewDate(new Date(A,H-1,1));break;case t.months:this.setViewDate(new Date(A-1,H,1));break;case t.years:this.setViewDate(new Date(A-10,0,1))}})),ut(this,"_finishHide",(()=>{this.hideAnimation=!1,this._destroyComponents(),this.$container.removeChild(this.$datepicker)})),ut(this,"setPosition",(function(A){let H=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(typeof(A=A||w.opts.position)=="function")return void(w.customHide=A({$datepicker:w.$datepicker,$target:w.$el,$pointer:w.$pointer,isViewChange:H,done:w._finishHide}));let j,X,{isMobile:it}=w.opts,et=w.$el.getBoundingClientRect(),st=w.$el.getBoundingClientRect(),ke=w.$datepicker.offsetParent,Kr=w.$el.offsetParent,wr=w.$datepicker.getBoundingClientRect(),yn=A.split(" "),ul=window.scrollY,na=window.scrollX,oa=w.opts.offset,aa=yn[0],Vh=yn[1];if(it)w.$datepicker.style.cssText="left: 50%; top: 50%";else{if(ke===Kr&&ke!==document.body&&(st={top:w.$el.offsetTop,left:w.$el.offsetLeft,width:et.width,height:w.$el.offsetHeight},ul=0,na=0),ke!==Kr&&ke!==document.body){let Zc=ke.getBoundingClientRect();st={top:et.top-Zc.top,left:et.left-Zc.left,width:et.width,height:et.height},ul=0,na=0}switch(aa){case"top":j=st.top-wr.height-oa;break;case"right":X=st.left+st.width+oa;break;case"bottom":j=st.top+st.height+oa;break;case"left":X=st.left-wr.width-oa}switch(Vh){case"top":j=st.top;break;case"right":X=st.left+st.width-wr.width;break;case"bottom":j=st.top+st.height-wr.height;break;case"left":X=st.left;break;case"center":/left|right/.test(aa)?j=st.top+st.height/2-wr.height/2:X=st.left+st.width/2-wr.width/2}w.$datepicker.style.cssText=`left: ${X+na}px; top: ${j+ul}px`}})),ut(this,"_setInputValue",(()=>{let{opts:A,$altField:H,locale:{dateFormat:j}}=this,{altFieldDateFormat:X,altField:it}=A;it&&H&&(H.value=this._getInputValue(X)),this.$el.value=this._getInputValue(j),this.$el.dispatchEvent(new Event("change"))})),ut(this,"_getInputValue",(A=>{let{selectedDates:H,opts:j}=this,{multipleDates:X,multipleDatesSeparator:it}=j;if(!H.length)return"";let et=typeof A=="function",st=et?A(X?H:H[0]):H.map((ke=>this.formatDate(ke,A)));return st=et?st:st.join(it),st})),ut(this,"_checkIfDateIsSelected",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.days,j=!1;return w.selectedDates.some((X=>{let it=g(A,X,H);return j=it&&X,it})),j})),ut(this,"_scheduleCallAfterTransition",(A=>{this._cancelScheduledCall(),A&&A(!1),this._onTransitionEnd=()=>{A&&A(!0)},this.$datepicker.addEventListener("transitionend",this._onTransitionEnd,{once:!0})})),ut(this,"_cancelScheduledCall",(()=>{this.$datepicker.removeEventListener("transitionend",this._onTransitionEnd)})),ut(this,"setViewDate",(A=>{if(!((A=C(A))instanceof Date)||g(A,this.viewDate))return;let H=this.viewDate;this.viewDate=A;let{onChangeViewDate:j}=this.opts;if(j){let{month:X,year:it}=this.parsedViewDate;j({month:X,year:it,decade:this.curDecade})}this.trigger(t.eventChangeViewDate,A,H)})),ut(this,"setFocusDate",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!A||(A=C(A))instanceof Date)&&(w.focusDate=A,w.trigger(t.eventChangeFocusDate,A,H))})),ut(this,"setCurrentView",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(w.viewIndexes.includes(A)){if(w.currentView=A,w.elIsInput&&w.visible&&w.setPosition(void 0,!0),w.trigger(t.eventChangeCurrentView,A),!w.views[A]){let j=w.views[A]=new Nt({dp:w,opts:w.opts,type:A});w.shouldUpdateDOM&&w.$content.appendChild(j.$el)}w.opts.onChangeView&&!H.silent&&w.opts.onChangeView(A)}})),ut(this,"_updateLastSelectedDate",(A=>{this.lastSelectedDate=A,this.trigger(t.eventChangeLastSelectedDate,A)})),ut(this,"destroy",(()=>{if(this.isDestroyed)return;let{showEvent:A,isMobile:H}=this.opts,j=this.$datepicker.parentNode;j&&j.removeChild(this.$datepicker),this.$el.removeEventListener(A,this._onFocus),this.$el.removeEventListener("blur",this._onBlur),window.removeEventListener("resize",this._onResize),H&&this._removeMobileAttributes(),this.keyboardNav&&this.keyboardNav.destroy(),this.views=null,this.nav=null,this.$datepicker=null,this.opts={},this.$customContainer=null,this.viewDate=null,this.focusDate=null,this.selectedDates=[],this.rangeDateFrom=null,this.rangeDateTo=null,this.isDestroyed=!0})),ut(this,"update",(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=I({},w.opts),{silent:X}=H;I(w.opts,A);let{timepicker:it,buttons:et,range:st,selectedDates:ke,isMobile:Kr}=w.opts,wr=w.visible||w.treatAsInline;w._createMinMaxDates(),w._limitViewDateByMaxMinDates(),w._handleLocale(),ke&&(w.selectedDates=[],w.selectDate(ke,{silent:X})),A.view&&w.setCurrentView(A.view,{silent:X}),w._setInputValue(),j.range&&!st?(w.rangeDateTo=!1,w.rangeDateFrom=!1):!j.range&&st&&w.selectedDates.length&&(w.rangeDateFrom=w.selectedDates[0],w.rangeDateTo=w.selectedDates[1]),j.timepicker&&!it?(wr&&w.timepicker.destroy(),w.timepicker=!1,w.$timepicker.parentNode.removeChild(w.$timepicker)):!j.timepicker&&it&&w._addTimepicker(),!j.buttons&&et?w._addButtons():j.buttons&&!et?(w.buttons.destroy(),w.$buttons.parentNode.removeChild(w.$buttons)):wr&&j.buttons&&et&&w.buttons.clearHtml().render(),!j.isMobile&&Kr?(w.treatAsInline||Ki||w._createMobileOverlay(),w._addMobileAttributes(),w.visible&&w._showMobileOverlay()):j.isMobile&&!Kr&&(w._removeMobileAttributes(),w.visible&&(Ki.classList.remove("-active-"),typeof w.opts.position!="function"&&w.setPosition())),wr&&(w.nav.update(),w.views[w.currentView].render(),w.currentView===t.days&&w.views[w.currentView].renderDayNames())})),ut(this,"disableDate",((A,H)=>{(Array.isArray(A)?A:[A]).forEach((j=>{let X=C(j);if(!X)return;let it=H?"delete":"add";this.disabledDates[it](this.formatDate(X,"yyyy-MM-dd"));let et=this.getCell(X,this.currentViewSingular);et&&et.adpCell.render()}),[])})),ut(this,"enableDate",(A=>{this.disableDate(A,!0)})),ut(this,"isDateDisabled",(A=>{let H=C(A);return this.disabledDates.has(this.formatDate(H,"yyyy-MM-dd"))})),ut(this,"isOtherMonth",(A=>{let{month:H}=d(A);return H!==this.parsedViewDate.month})),ut(this,"isOtherYear",(A=>{let{year:H}=d(A);return H!==this.parsedViewDate.year})),ut(this,"isOtherDecade",(A=>{let{year:H}=d(A),[j,X]=f(this.viewDate);return H<j||H>X})),ut(this,"_onChangeSelectedDate",(A=>{let{silent:H}=A;setTimeout((()=>{this._setInputValue(),this.opts.onSelect&&!H&&this._triggerOnSelect()}))})),ut(this,"_onChangeFocusedDate",(function(A){let{viewDateTransition:H}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!A)return;let j=!1;H&&(j=w.isOtherMonth(A)||w.isOtherYear(A)||w.isOtherDecade(A)),j&&w.setViewDate(A),w.opts.onFocus&&w.opts.onFocus({datepicker:w,date:A})})),ut(this,"_onChangeTime",(A=>{let{hours:H,minutes:j}=A,X=new Date,{lastSelectedDate:it,opts:{onSelect:et}}=this,st=it;it||(st=X);let ke=this.getCell(st,this.currentViewSingular),Kr=ke&&ke.adpCell;Kr&&Kr.isDisabled||(st.setHours(H),st.setMinutes(j),it?(this._setInputValue(),et&&this._triggerOnSelect()):this.selectDate(st))})),ut(this,"_onFocus",(A=>{this.visible||this.show()})),ut(this,"_onBlur",(A=>{this.inFocus||!this.visible||this.opts.isMobile||this.hide()})),ut(this,"_onMouseDown",(A=>{this.inFocus=!0})),ut(this,"_onMouseUp",(A=>{this.inFocus=!1,this.$el.focus()})),ut(this,"_onResize",(()=>{this.visible&&typeof this.opts.position!="function"&&this.setPosition()})),ut(this,"_onClickOverlay",(()=>{this.visible&&this.hide()})),ut(this,"getViewDates",(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.days;return Nt.getDatesFunction(A)(w)})),ut(this,"isWeekend",(A=>this.opts.weekends.includes(A))),ut(this,"getClampedDate",(A=>{let{minDate:H,maxDate:j}=this,X=A;return j&&v(A,j)?X=j:H&&y(A,H)&&(X=H),X})),this.$el=n(x),!this.$el)return;this.$datepicker=a({className:"air-datepicker"}),this.opts=I({},r,T),this.$customContainer=!!this.opts.container&&n(this.opts.container),this.$altField=n(this.opts.altField||!1);let{view:D,startDate:L}=this.opts;L||(this.opts.startDate=new Date),this.$el.nodeName==="INPUT"&&(this.elIsInput=!0),this.inited=!1,this.visible=!1,this.viewDate=C(this.opts.startDate),this.focusDate=!1,this.initialReadonly=this.$el.getAttribute("readonly"),this.customHide=!1,this.currentView=D,this.selectedDates=[],this.disabledDates=new Set,this.isDestroyed=!1,this.views={},this.keys=[],this.rangeDateFrom="",this.rangeDateTo="",this.timepickerIsActive=!1,this.treatAsInline=this.opts.inline||!this.elIsInput,this.init()}init(){let{opts:x,treatAsInline:T,opts:{inline:w,isMobile:D,selectedDates:L,keyboardNav:A,onlyTimepicker:H}}=this,j=n("body");(!ht||ht&&Wi&&!j.contains(Wi))&&!w&&this.elIsInput&&!this.$customContainer&&at.buildGlobalContainer(at.defaultGlobalContainerId),!D||Ki||T||this._createMobileOverlay(),this._handleLocale(),this._bindSubEvents(),this._createMinMaxDates(),this._limitViewDateByMaxMinDates(),this.elIsInput&&(w||this._bindEvents(),A&&!H&&(this.keyboardNav=new uo({dp:this,opts:x}))),L&&this.selectDate(L,{silent:!0}),this.opts.visible&&!T&&this.show(),D&&!T&&this.$el.setAttribute("readonly",!0),T&&this._createComponents()}_createMobileOverlay(){Ki=a({className:"air-datepicker-overlay"}),Wi.appendChild(Ki)}_createComponents(){let{opts:x,treatAsInline:T,opts:{inline:w,buttons:D,timepicker:L,position:A,classes:H,onlyTimepicker:j,isMobile:X}}=this;this._buildBaseHtml(),this.elIsInput&&(w||this._setPositionClasses(A)),!w&&this.elIsInput||this.$datepicker.classList.add("-inline-"),H&&this.$datepicker.classList.add(...H.split(" ")),j&&this.$datepicker.classList.add("-only-timepicker-"),X&&!T&&this._addMobileAttributes(),this.views[this.currentView]=new Nt({dp:this,type:this.currentView,opts:x}),this.nav=new er({dp:this,opts:x}),L&&this._addTimepicker(),D&&this._addButtons(),this.$content.appendChild(this.views[this.currentView].$el),this.$nav.appendChild(this.nav.$el)}_destroyComponents(){for(let x in this.views)this.views[x].destroy();this.views={},this.nav.destroy(),this.timepicker&&this.timepicker.destroy()}_addMobileAttributes(){Ki.addEventListener("click",this._onClickOverlay),this.$datepicker.classList.add("-is-mobile-"),this.$el.setAttribute("readonly",!0)}_removeMobileAttributes(){Ki.removeEventListener("click",this._onClickOverlay),this.$datepicker.classList.remove("-is-mobile-"),this.initialReadonly||this.initialReadonly===""||this.$el.removeAttribute("readonly")}_createMinMaxDates(){let{minDate:x,maxDate:T}=this.opts;this.minDate=!!x&&C(x),this.maxDate=!!T&&C(T)}_addTimepicker(){this.$timepicker=a({className:"air-datepicker--time"}),this.$datepicker.appendChild(this.$timepicker),this.timepicker=new rr({dp:this,opts:this.opts}),this.$timepicker.appendChild(this.timepicker.$el)}_addButtons(){this.$buttons=a({className:"air-datepicker--buttons"}),this.$datepicker.appendChild(this.$buttons),this.buttons=new xr({dp:this,opts:this.opts}),this.$buttons.appendChild(this.buttons.$el)}_bindSubEvents(){this.on(t.eventChangeSelectedDate,this._onChangeSelectedDate),this.on(t.eventChangeFocusDate,this._onChangeFocusedDate),this.on(t.eventChangeTime,this._onChangeTime)}_buildBaseHtml(){let{inline:x}=this.opts;var T,w;this.elIsInput?x?(T=this.$datepicker,(w=this.$el).parentNode.insertBefore(T,w.nextSibling)):this.$container.appendChild(this.$datepicker):this.$el.appendChild(this.$datepicker),this.$datepicker.innerHTML='<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>',this.$content=n(".air-datepicker--content",this.$datepicker),this.$pointer=n(".air-datepicker--pointer",this.$datepicker),this.$nav=n(".air-datepicker--navigation",this.$datepicker)}_handleLocale(){let{locale:x,dateFormat:T,firstDay:w,timepicker:D,onlyTimepicker:L,timeFormat:A,dateTimeSeparator:H}=this.opts;var j;this.locale=(j=x,JSON.parse(JSON.stringify(j))),T&&(this.locale.dateFormat=T),A!==void 0&&A!==""&&(this.locale.timeFormat=A);let{timeFormat:X}=this.locale;if(w!==""&&(this.locale.firstDay=w),D&&typeof T!="function"){let it=X?H:"";this.locale.dateFormat=[this.locale.dateFormat,X||""].join(it)}L&&typeof T!="function"&&(this.locale.dateFormat=this.locale.timeFormat)}_setPositionClasses(x){if(typeof x=="function")return void this.$datepicker.classList.add("-custom-position-");let T=(x=x.split(" "))[0],w=`air-datepicker -${T}-${x[1]}- -from-${T}-`;this.$datepicker.classList.add(...w.split(" "))}_bindEvents(){this.$el.addEventListener(this.opts.showEvent,this._onFocus),this.$el.addEventListener("blur",this._onBlur),this.$datepicker.addEventListener("mousedown",this._onMouseDown),this.$datepicker.addEventListener("mouseup",this._onMouseUp),window.addEventListener("resize",this._onResize)}_limitViewDateByMaxMinDates(){let{viewDate:x,minDate:T,maxDate:w}=this;w&&v(x,w)&&this.setViewDate(w),T&&y(x,T)&&this.setViewDate(T)}formatDate(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.viewDate,T=arguments.length>1?arguments[1]:void 0;if(x=C(x),!(x instanceof Date))return;let w=T,D=this.locale,L=d(x),A=L.dayPeriod,H=f(x),j=at.replacer,X={T:x.getTime(),m:L.minutes,mm:L.fullMinutes,h:L.hours12,hh:L.fullHours12,H:L.hours,HH:L.fullHours,aa:A,AA:A.toUpperCase(),E:D.daysShort[L.day],EEEE:D.days[L.day],d:L.date,dd:L.fullDate,M:L.month+1,MM:L.fullMonth,MMM:D.monthsShort[L.month],MMMM:D.months[L.month],yy:L.year.toString().slice(-2),yyyy:L.year,yyyy1:H[0],yyyy2:H[1]};for(let[it,et]of Object.entries(X))w=j(w,$(it),et);return w}down(x){this._handleUpDownActions(x,"down")}up(x){this._handleUpDownActions(x,"up")}selectDate(x){let T,w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{currentView:D,parsedViewDate:L,selectedDates:A}=this,{updateTime:H,silent:j}=w,{moveToOtherMonthsOnSelect:X,moveToOtherYearsOnSelect:it,multipleDates:et,range:st,autoClose:ke,onBeforeSelect:Kr}=this.opts,wr=A.length;if(Array.isArray(x))return x.forEach((yn=>{this.selectDate(yn,w)})),new Promise((yn=>{setTimeout(yn)}));if((x=C(x))instanceof Date){if(Kr&&!j&&!Kr({date:x,datepicker:this}))return Promise.resolve();if(D===t.days&&x.getMonth()!==L.month&&X&&(T=new Date(x.getFullYear(),x.getMonth(),1)),D===t.years&&x.getFullYear()!==L.year&&it&&(T=new Date(x.getFullYear(),0,1)),T&&this.setViewDate(T),et&&!st){if(wr===et)return;this._checkIfDateIsSelected(x)||A.push(x)}else if(st)switch(wr){case 1:A.push(x),this.rangeDateTo||(this.rangeDateTo=x),v(this.rangeDateFrom,this.rangeDateTo)&&(this.rangeDateTo=this.rangeDateFrom,this.rangeDateFrom=x),this.selectedDates=[this.rangeDateFrom,this.rangeDateTo];break;case 2:this.selectedDates=[x],this.rangeDateFrom=x,this.rangeDateTo="";break;default:this.selectedDates=[x],this.rangeDateFrom=x}else this.selectedDates=[x];return this.trigger(t.eventChangeSelectedDate,{action:t.actionSelectDate,silent:w?.silent,date:x,updateTime:H}),this._updateLastSelectedDate(x),ke&&!this.timepickerIsActive&&this.visible&&(et||st?st&&wr===1&&this.hide():this.hide()),new Promise((yn=>{setTimeout(yn)}))}}unselectDate(x){let T=this.selectedDates,w=this;if((x=C(x))instanceof Date)return T.some(((D,L)=>{if(g(D,x))return T.splice(L,1),w.selectedDates.length?(w.rangeDateTo="",w.rangeDateFrom=T[0],w._updateLastSelectedDate(w.selectedDates[w.selectedDates.length-1])):(w.rangeDateFrom="",w.rangeDateTo="",w._updateLastSelectedDate(!1)),this.trigger(t.eventChangeSelectedDate,{action:t.actionUnselectDate,date:x}),!0}))}replaceDate(x,T){let w=this.selectedDates.find((L=>g(L,x,this.currentView))),D=this.selectedDates.indexOf(w);D<0||g(this.selectedDates[D],T,this.currentView)||(this.selectedDates[D]=T,this.trigger(t.eventChangeSelectedDate,{action:t.actionSelectDate,date:T,updateTime:!0}),this._updateLastSelectedDate(T))}clear(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.selectedDates=[],this.rangeDateFrom=!1,this.rangeDateTo=!1,this.lastSelectedDate=!1,this.trigger(t.eventChangeSelectedDate,{action:t.actionUnselectDate,silent:x.silent}),new Promise((T=>{setTimeout(T)}))}show(){let{onShow:x,isMobile:T}=this.opts;this._cancelScheduledCall(),this.visible||this.hideAnimation||this._createComponents(),this.setPosition(this.opts.position),this.$datepicker.classList.add("-active-"),this.visible=!0,x&&this._scheduleCallAfterTransition(x),T&&this._showMobileOverlay()}hide(){let{onHide:x,isMobile:T}=this.opts,w=this._hasTransition();this.visible=!1,this.hideAnimation=!0,this.$datepicker.classList.remove("-active-"),this.customHide&&this.customHide(),this.elIsInput&&this.$el.blur(),this._scheduleCallAfterTransition((D=>{!this.customHide&&(D&&w||!D&&!w)&&this._finishHide(),x&&x(D)})),T&&Ki.classList.remove("-active-")}_triggerOnSelect(){let x=[],T=[],{selectedDates:w,locale:D,opts:{onSelect:L,multipleDates:A,range:H}}=this,j=A||H,X=typeof D.dateFormat=="function";w.length&&(x=w.map(S),T=X?A?D.dateFormat(x):x.map((it=>D.dateFormat(it))):x.map((it=>this.formatDate(it,D.dateFormat)))),L({date:j?x:x[0],formattedDate:j?T:T[0],datepicker:this})}_handleAlreadySelectedDates(x,T){let{selectedDates:w,rangeDateFrom:D,rangeDateTo:L}=this,{range:A,toggleSelected:H}=this.opts,j=w.length,X=typeof H=="function"?H({datepicker:this,date:T}):H,it=!!(A&&j===1&&x),et=it?S(T):T;A&&!X&&(j!==2&&this.selectDate(et),j===2&&g(D,L))||(X?this.unselectDate(et):this._updateLastSelectedDate(it?et:x))}_handleUpDownActions(x,T){if(!((x=C(x||this.focusDate||this.viewDate))instanceof Date))return;let w=T==="up"?this.viewIndex+1:this.viewIndex-1;w>2&&(w=2),w<0&&(w=0),this.setViewDate(new Date(x.getFullYear(),x.getMonth(),1)),this.setCurrentView(this.viewIndexes[w])}getCell(x){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.day;if(!((x=C(x))instanceof Date))return;let{year:w,month:D,date:L}=d(x),A=`[data-year="${w}"]`,H=`[data-month="${D}"]`,j={[t.day]:`${A}${H}[data-date="${L}"]`,[t.month]:`${A}${H}`,[t.year]:`${A}`};return this.views[this.currentView]?this.views[this.currentView].$el.querySelector(j[T]):void 0}_showMobileOverlay(){Ki.classList.add("-active-")}_hasTransition(){return window.getComputedStyle(this.$datepicker).getPropertyValue("transition-duration").split(", ").reduce(((x,T)=>parseFloat(T)+x),0)>0}get shouldUpdateDOM(){return this.visible||this.treatAsInline}get parsedViewDate(){return d(this.viewDate)}get currentViewSingular(){return this.currentView.slice(0,-1)}get curDecade(){return f(this.viewDate)}get viewIndex(){return this.viewIndexes.indexOf(this.currentView)}get isFinalView(){return this.currentView===t.years}get hasSelectedDates(){return this.selectedDates.length>0}get isMinViewReached(){return this.currentView===this.opts.minView||this.currentView===t.days}get $container(){return this.$customContainer||Wi}static replacer(x,T,w){return x.replace(T,(function(D,L,A,H){return L+w+H}))}}var xt;return ut(at,"defaults",r),ut(at,"version","3.6.0"),ut(at,"defaultGlobalContainerId","air-datepicker-global-container"),xt=at.prototype,Object.assign(xt,Ka),i.default})()}))});var fl=globalThis,jg=o=>o,td=fl.trustedTypes,Gg=td?td.createPolicy("lit-html",{createHTML:o=>o}):void 0,jh="$lit$",Vn=`lit$${Math.random().toFixed(9).slice(2)}$`,Gh="?"+Vn,l3=`<${Gh}>`,ca=document,gl=()=>ca.createComment(""),bl=o=>o===null||typeof o!="object"&&typeof o!="function",Wh=Array.isArray,Jg=o=>Wh(o)||typeof o?.[Symbol.iterator]=="function",Uh=`[
1
+ import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L1=Bn((jrt,M1)=>{var yi=-1,Fr=1,Xe=0;function Ul(o,i,t,r,n){if(o===i)return o?[[Xe,o]]:[];if(t!=null){var a=d8(o,i,t);if(a)return a}var s=om(o,i),l=o.substring(0,s);o=o.substring(s),i=i.substring(s),s=tp(o,i);var d=o.substring(o.length-s);o=o.substring(0,o.length-s),i=i.substring(0,i.length-s);var h=r8(o,i);return l&&h.unshift([Xe,l]),d&&h.push([Xe,d]),am(h,n),r&&o8(h),h}function r8(o,i){var t;if(!o)return[[Fr,i]];if(!i)return[[yi,o]];var r=o.length>i.length?o:i,n=o.length>i.length?i:o,a=r.indexOf(n);if(a!==-1)return t=[[Fr,r.substring(0,a)],[Xe,n],[Fr,r.substring(a+n.length)]],o.length>i.length&&(t[0][0]=t[2][0]=yi),t;if(n.length===1)return[[yi,o],[Fr,i]];var s=n8(o,i);if(s){var l=s[0],d=s[1],h=s[2],m=s[3],f=s[4],b=Ul(l,h),g=Ul(d,m);return b.concat([[Xe,f]],g)}return i8(o,i)}function i8(o,i){for(var t=o.length,r=i.length,n=Math.ceil((t+r)/2),a=n,s=2*n,l=new Array(s),d=new Array(s),h=0;h<s;h++)l[h]=-1,d[h]=-1;l[a+1]=0,d[a+1]=0;for(var m=t-r,f=m%2!==0,b=0,g=0,v=0,y=0,S=0;S<n;S++){for(var E=-S+b;E<=S-g;E+=2){var N=a+E,U;E===-S||E!==S&&l[N-1]<l[N+1]?U=l[N+1]:U=l[N-1]+1;for(var I=U-E;U<t&&I<r&&o.charAt(U)===i.charAt(I);)U++,I++;if(l[N]=U,U>t)g+=2;else if(I>r)b+=2;else if(f){var C=a+m-E;if(C>=0&&C<s&&d[C]!==-1){var $=t-d[C];if(U>=$)return z1(o,i,U,I)}}}for(var M=-S+v;M<=S-y;M+=2){var C=a+M,$;M===-S||M!==S&&d[C-1]<d[C+1]?$=d[C+1]:$=d[C-1]+1;for(var W=$-M;$<t&&W<r&&o.charAt(t-$-1)===i.charAt(r-W-1);)$++,W++;if(d[C]=$,$>t)y+=2;else if(W>r)v+=2;else if(!f){var N=a+m-M;if(N>=0&&N<s&&l[N]!==-1){var U=l[N],I=a+U-N;if($=t-$,U>=$)return z1(o,i,U,I)}}}}return[[yi,o],[Fr,i]]}function z1(o,i,t,r){var n=o.substring(0,t),a=i.substring(0,r),s=o.substring(t),l=i.substring(r),d=Ul(n,a),h=Ul(s,l);return d.concat(h)}function om(o,i){if(!o||!i||o.charAt(0)!==i.charAt(0))return 0;for(var t=0,r=Math.min(o.length,i.length),n=r,a=0;t<n;)o.substring(a,n)==i.substring(a,n)?(t=n,a=t):r=n,n=Math.floor((r-t)/2+t);return E1(o.charCodeAt(n-1))&&n--,n}function _1(o,i){var t=o.length,r=i.length;if(t==0||r==0)return 0;t>r?o=o.substring(t-r):t<r&&(i=i.substring(0,t));var n=Math.min(t,r);if(o==i)return n;for(var a=0,s=1;;){var l=o.substring(n-s),d=i.indexOf(l);if(d==-1)return a;s+=d,(d==0||o.substring(n-s)==i.substring(0,s))&&(a=s,s++)}}function tp(o,i){if(!o||!i||o.slice(-1)!==i.slice(-1))return 0;for(var t=0,r=Math.min(o.length,i.length),n=r,a=0;t<n;)o.substring(o.length-n,o.length-a)==i.substring(i.length-n,i.length-a)?(t=n,a=t):r=n,n=Math.floor((r-t)/2+t);return T1(o.charCodeAt(o.length-n))&&n--,n}function n8(o,i){var t=o.length>i.length?o:i,r=o.length>i.length?i:o;if(t.length<4||r.length*2<t.length)return null;function n(g,v,y){for(var S=g.substring(y,y+Math.floor(g.length/4)),E=-1,N="",U,I,C,$;(E=v.indexOf(S,E+1))!==-1;){var M=om(g.substring(y),v.substring(E)),W=tp(g.substring(0,y),v.substring(0,E));N.length<W+M&&(N=v.substring(E-W,E)+v.substring(E,E+M),U=g.substring(0,y-W),I=g.substring(y+M),C=v.substring(0,E-W),$=v.substring(E+M))}return N.length*2>=g.length?[U,I,C,$,N]:null}var a=n(t,r,Math.ceil(t.length/4)),s=n(t,r,Math.ceil(t.length/2)),l;if(!a&&!s)return null;s?a?l=a[4].length>s[4].length?a:s:l=s:l=a;var d,h,m,f;o.length>i.length?(d=l[0],h=l[1],m=l[2],f=l[3]):(m=l[0],f=l[1],d=l[2],h=l[3]);var b=l[4];return[d,h,m,f,b]}function o8(o){for(var i=!1,t=[],r=0,n=null,a=0,s=0,l=0,d=0,h=0;a<o.length;)o[a][0]==Xe?(t[r++]=a,s=d,l=h,d=0,h=0,n=o[a][1]):(o[a][0]==Fr?d+=o[a][1].length:h+=o[a][1].length,n&&n.length<=Math.max(s,l)&&n.length<=Math.max(d,h)&&(o.splice(t[r-1],0,[yi,n]),o[t[r-1]+1][0]=Fr,r--,r--,a=r>0?t[r-1]:-1,s=0,l=0,d=0,h=0,n=null,i=!0)),a++;for(i&&am(o),l8(o),a=1;a<o.length;){if(o[a-1][0]==yi&&o[a][0]==Fr){var m=o[a-1][1],f=o[a][1],b=_1(m,f),g=_1(f,m);b>=g?(b>=m.length/2||b>=f.length/2)&&(o.splice(a,0,[Xe,f.substring(0,b)]),o[a-1][1]=m.substring(0,m.length-b),o[a+1][1]=f.substring(b),a++):(g>=m.length/2||g>=f.length/2)&&(o.splice(a,0,[Xe,m.substring(0,g)]),o[a-1][0]=Fr,o[a-1][1]=f.substring(0,f.length-g),o[a+1][0]=yi,o[a+1][1]=m.substring(g),a++),a++}a++}}var k1=/[^a-zA-Z0-9]/,C1=/\s/,S1=/[\r\n]/,a8=/\n\r?\n$/,s8=/^\r?\n\r?\n/;function l8(o){function i(g,v){if(!g||!v)return 6;var y=g.charAt(g.length-1),S=v.charAt(0),E=y.match(k1),N=S.match(k1),U=E&&y.match(C1),I=N&&S.match(C1),C=U&&y.match(S1),$=I&&S.match(S1),M=C&&g.match(a8),W=$&&v.match(s8);return M||W?5:C||$?4:E&&!U&&I?3:U||I?2:E||N?1:0}for(var t=1;t<o.length-1;){if(o[t-1][0]==Xe&&o[t+1][0]==Xe){var r=o[t-1][1],n=o[t][1],a=o[t+1][1],s=tp(r,n);if(s){var l=n.substring(n.length-s);r=r.substring(0,r.length-s),n=l+n.substring(0,n.length-s),a=l+a}for(var d=r,h=n,m=a,f=i(r,n)+i(n,a);n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);var b=i(r,n)+i(n,a);b>=f&&(f=b,d=r,h=n,m=a)}o[t-1][1]!=d&&(d?o[t-1][1]=d:(o.splice(t-1,1),t--),o[t][1]=h,m?o[t+1][1]=m:(o.splice(t+1,1),t--))}t++}}function am(o,i){o.push([Xe,""]);for(var t=0,r=0,n=0,a="",s="",l;t<o.length;){if(t<o.length-1&&!o[t][1]){o.splice(t,1);continue}switch(o[t][0]){case Fr:n++,s+=o[t][1],t++;break;case yi:r++,a+=o[t][1],t++;break;case Xe:var d=t-n-r-1;if(i){if(d>=0&&A1(o[d][1])){var h=o[d][1].slice(-1);if(o[d][1]=o[d][1].slice(0,-1),a=h+a,s=h+s,!o[d][1]){o.splice(d,1),t--;var m=d-1;o[m]&&o[m][0]===Fr&&(n++,s=o[m][1]+s,m--),o[m]&&o[m][0]===yi&&(r++,a=o[m][1]+a,m--),d=m}}if($1(o[t][1])){var h=o[t][1].charAt(0);o[t][1]=o[t][1].slice(1),a+=h,s+=h}}if(t<o.length-1&&!o[t][1]){o.splice(t,1);break}if(a.length>0||s.length>0){a.length>0&&s.length>0&&(l=om(s,a),l!==0&&(d>=0?o[d][1]+=s.substring(0,l):(o.splice(0,0,[Xe,s.substring(0,l)]),t++),s=s.substring(l),a=a.substring(l)),l=tp(s,a),l!==0&&(o[t][1]=s.substring(s.length-l)+o[t][1],s=s.substring(0,s.length-l),a=a.substring(0,a.length-l)));var f=n+r;a.length===0&&s.length===0?(o.splice(t-f,f),t=t-f):a.length===0?(o.splice(t-f,f,[Fr,s]),t=t-f+1):s.length===0?(o.splice(t-f,f,[yi,a]),t=t-f+1):(o.splice(t-f,f,[yi,a],[Fr,s]),t=t-f+2)}t!==0&&o[t-1][0]===Xe?(o[t-1][1]+=o[t][1],o.splice(t,1)):t++,n=0,r=0,a="",s="";break}}o[o.length-1][1]===""&&o.pop();var b=!1;for(t=1;t<o.length-1;)o[t-1][0]===Xe&&o[t+1][0]===Xe&&(o[t][1].substring(o[t][1].length-o[t-1][1].length)===o[t-1][1]?(o[t][1]=o[t-1][1]+o[t][1].substring(0,o[t][1].length-o[t-1][1].length),o[t+1][1]=o[t-1][1]+o[t+1][1],o.splice(t-1,1),b=!0):o[t][1].substring(0,o[t+1][1].length)==o[t+1][1]&&(o[t-1][1]+=o[t+1][1],o[t][1]=o[t][1].substring(o[t+1][1].length)+o[t+1][1],o.splice(t+1,1),b=!0)),t++;b&&am(o,i)}function E1(o){return o>=55296&&o<=56319}function T1(o){return o>=56320&&o<=57343}function $1(o){return T1(o.charCodeAt(0))}function A1(o){return E1(o.charCodeAt(o.length-1))}function c8(o){for(var i=[],t=0;t<o.length;t++)o[t][1].length>0&&i.push(o[t]);return i}function nm(o,i,t,r){return A1(o)||$1(r)?null:c8([[Xe,o],[yi,i],[Fr,t],[Xe,r]])}function d8(o,i,t){var r=typeof t=="number"?{index:t,length:0}:t.oldRange,n=typeof t=="number"?null:t.newRange,a=o.length,s=i.length;if(r.length===0&&(n===null||n.length===0)){var l=r.index,d=o.slice(0,l),h=o.slice(l),m=n?n.index:null;t:{var f=l+s-a;if(m!==null&&m!==f||f<0||f>s)break t;var b=i.slice(0,f),g=i.slice(f);if(g!==h)break t;var v=Math.min(l,f),y=d.slice(0,v),S=b.slice(0,v);if(y!==S)break t;var E=d.slice(v),N=b.slice(v);return nm(y,E,N,h)}t:{if(m!==null&&m!==l)break t;var U=l,b=i.slice(0,U),g=i.slice(U);if(b!==d)break t;var I=Math.min(a-U,s-U),C=h.slice(h.length-I),$=g.slice(g.length-I);if(C!==$)break t;var E=h.slice(0,h.length-I),N=g.slice(0,g.length-I);return nm(d,E,N,C)}}if(r.length>0&&n&&n.length===0)t:{var y=o.slice(0,r.index),C=o.slice(r.index+r.length),v=y.length,I=C.length;if(s<v+I)break t;var S=i.slice(0,v),$=i.slice(s-I);if(y!==S||C!==$)break t;var E=o.slice(v,a-I),N=i.slice(v,s-I);return nm(y,E,N,C)}return null}function ep(o,i,t,r){return Ul(o,i,t,r,!0)}ep.INSERT=Fr;ep.DELETE=yi;ep.EQUAL=Xe;M1.exports=ep});var wm=Bn((jl,bs)=>{var p8=200,U1="__lodash_hash_undefined__",j1=9007199254740991,mm="[object Arguments]",h8="[object Array]",G1="[object Boolean]",W1="[object Date]",u8="[object Error]",fm="[object Function]",K1="[object GeneratorFunction]",rp="[object Map]",Y1="[object Number]",gm="[object Object]",q1="[object Promise]",X1="[object RegExp]",ip="[object Set]",Q1="[object String]",J1="[object Symbol]",lm="[object WeakMap]",Z1="[object ArrayBuffer]",np="[object DataView]",ty="[object Float32Array]",ey="[object Float64Array]",ry="[object Int8Array]",iy="[object Int16Array]",ny="[object Int32Array]",oy="[object Uint8Array]",ay="[object Uint8ClampedArray]",sy="[object Uint16Array]",ly="[object Uint32Array]",m8=/[\\^$.*+?()[\]{}|]/g,f8=/\w*$/,g8=/^\[object .+?Constructor\]$/,b8=/^(?:0|[1-9]\d*)$/,te={};te[mm]=te[h8]=te[Z1]=te[np]=te[G1]=te[W1]=te[ty]=te[ey]=te[ry]=te[iy]=te[ny]=te[rp]=te[Y1]=te[gm]=te[X1]=te[ip]=te[Q1]=te[J1]=te[oy]=te[ay]=te[sy]=te[ly]=!0;te[u8]=te[fm]=te[lm]=!1;var v8=typeof global=="object"&&global&&global.Object===Object&&global,y8=typeof self=="object"&&self&&self.Object===Object&&self,Kn=v8||y8||Function("return this")(),cy=typeof jl=="object"&&jl&&!jl.nodeType&&jl,I1=cy&&typeof bs=="object"&&bs&&!bs.nodeType&&bs,x8=I1&&I1.exports===cy;function w8(o,i){return o.set(i[0],i[1]),o}function z8(o,i){return o.add(i),o}function _8(o,i){for(var t=-1,r=o?o.length:0;++t<r&&i(o[t],t,o)!==!1;);return o}function k8(o,i){for(var t=-1,r=i.length,n=o.length;++t<r;)o[n+t]=i[t];return o}function dy(o,i,t,r){var n=-1,a=o?o.length:0;for(r&&a&&(t=o[++n]);++n<a;)t=i(t,o[n],n,o);return t}function C8(o,i){for(var t=-1,r=Array(o);++t<o;)r[t]=i(t);return r}function S8(o,i){return o?.[i]}function py(o){var i=!1;if(o!=null&&typeof o.toString!="function")try{i=!!(o+"")}catch{}return i}function D1(o){var i=-1,t=Array(o.size);return o.forEach(function(r,n){t[++i]=[n,r]}),t}function bm(o,i){return function(t){return o(i(t))}}function R1(o){var i=-1,t=Array(o.size);return o.forEach(function(r){t[++i]=r}),t}var E8=Array.prototype,T8=Function.prototype,op=Object.prototype,sm=Kn["__core-js_shared__"],N1=(function(){var o=/[^.]+$/.exec(sm&&sm.keys&&sm.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})(),hy=T8.toString,$o=op.hasOwnProperty,ap=op.toString,$8=RegExp("^"+hy.call($o).replace(m8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O1=x8?Kn.Buffer:void 0,P1=Kn.Symbol,H1=Kn.Uint8Array,A8=bm(Object.getPrototypeOf,Object),M8=Object.create,L8=op.propertyIsEnumerable,q8=E8.splice,F1=Object.getOwnPropertySymbols,I8=O1?O1.isBuffer:void 0,D8=bm(Object.keys,Object),cm=xs(Kn,"DataView"),Gl=xs(Kn,"Map"),dm=xs(Kn,"Promise"),pm=xs(Kn,"Set"),hm=xs(Kn,"WeakMap"),Wl=xs(Object,"create"),R8=Ea(cm),N8=Ea(Gl),O8=Ea(dm),P8=Ea(pm),H8=Ea(hm),B1=P1?P1.prototype:void 0,V1=B1?B1.valueOf:void 0;function Sa(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function F8(){this.__data__=Wl?Wl(null):{}}function B8(o){return this.has(o)&&delete this.__data__[o]}function V8(o){var i=this.__data__;if(Wl){var t=i[o];return t===U1?void 0:t}return $o.call(i,o)?i[o]:void 0}function U8(o){var i=this.__data__;return Wl?i[o]!==void 0:$o.call(i,o)}function j8(o,i){var t=this.__data__;return t[o]=Wl&&i===void 0?U1:i,this}Sa.prototype.clear=F8;Sa.prototype.delete=B8;Sa.prototype.get=V8;Sa.prototype.has=U8;Sa.prototype.set=j8;function Yn(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function G8(){this.__data__=[]}function W8(o){var i=this.__data__,t=sp(i,o);if(t<0)return!1;var r=i.length-1;return t==r?i.pop():q8.call(i,t,1),!0}function K8(o){var i=this.__data__,t=sp(i,o);return t<0?void 0:i[t][1]}function Y8(o){return sp(this.__data__,o)>-1}function X8(o,i){var t=this.__data__,r=sp(t,o);return r<0?t.push([o,i]):t[r][1]=i,this}Yn.prototype.clear=G8;Yn.prototype.delete=W8;Yn.prototype.get=K8;Yn.prototype.has=Y8;Yn.prototype.set=X8;function vs(o){var i=-1,t=o?o.length:0;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function Q8(){this.__data__={hash:new Sa,map:new(Gl||Yn),string:new Sa}}function J8(o){return lp(this,o).delete(o)}function Z8(o){return lp(this,o).get(o)}function t9(o){return lp(this,o).has(o)}function e9(o,i){return lp(this,o).set(o,i),this}vs.prototype.clear=Q8;vs.prototype.delete=J8;vs.prototype.get=Z8;vs.prototype.has=t9;vs.prototype.set=e9;function ys(o){this.__data__=new Yn(o)}function r9(){this.__data__=new Yn}function i9(o){return this.__data__.delete(o)}function n9(o){return this.__data__.get(o)}function o9(o){return this.__data__.has(o)}function a9(o,i){var t=this.__data__;if(t instanceof Yn){var r=t.__data__;if(!Gl||r.length<p8-1)return r.push([o,i]),this;t=this.__data__=new vs(r)}return t.set(o,i),this}ys.prototype.clear=r9;ys.prototype.delete=i9;ys.prototype.get=n9;ys.prototype.has=o9;ys.prototype.set=a9;function s9(o,i){var t=ym(o)||M9(o)?C8(o.length,String):[],r=t.length,n=!!r;for(var a in o)(i||$o.call(o,a))&&!(n&&(a=="length"||E9(a,r)))&&t.push(a);return t}function uy(o,i,t){var r=o[i];(!($o.call(o,i)&&by(r,t))||t===void 0&&!(i in o))&&(o[i]=t)}function sp(o,i){for(var t=o.length;t--;)if(by(o[t][0],i))return t;return-1}function l9(o,i){return o&&my(i,xm(i),o)}function um(o,i,t,r,n,a,s){var l;if(r&&(l=a?r(o,n,a,s):r(o)),l!==void 0)return l;if(!cp(o))return o;var d=ym(o);if(d){if(l=k9(o),!i)return w9(o,l)}else{var h=Ca(o),m=h==fm||h==K1;if(q9(o))return m9(o,i);if(h==gm||h==mm||m&&!a){if(py(o))return a?o:{};if(l=C9(m?{}:o),!i)return z9(o,l9(l,o))}else{if(!te[h])return a?o:{};l=S9(o,h,um,i)}}s||(s=new ys);var f=s.get(o);if(f)return f;if(s.set(o,l),!d)var b=t?_9(o):xm(o);return _8(b||o,function(g,v){b&&(v=g,g=o[v]),uy(l,v,um(g,i,t,r,v,o,s))}),l}function c9(o){return cp(o)?M8(o):{}}function d9(o,i,t){var r=i(o);return ym(o)?r:k8(r,t(o))}function p9(o){return ap.call(o)}function h9(o){if(!cp(o)||$9(o))return!1;var i=yy(o)||py(o)?$8:g8;return i.test(Ea(o))}function u9(o){if(!gy(o))return D8(o);var i=[];for(var t in Object(o))$o.call(o,t)&&t!="constructor"&&i.push(t);return i}function m9(o,i){if(i)return o.slice();var t=new o.constructor(o.length);return o.copy(t),t}function vm(o){var i=new o.constructor(o.byteLength);return new H1(i).set(new H1(o)),i}function f9(o,i){var t=i?vm(o.buffer):o.buffer;return new o.constructor(t,o.byteOffset,o.byteLength)}function g9(o,i,t){var r=i?t(D1(o),!0):D1(o);return dy(r,w8,new o.constructor)}function b9(o){var i=new o.constructor(o.source,f8.exec(o));return i.lastIndex=o.lastIndex,i}function v9(o,i,t){var r=i?t(R1(o),!0):R1(o);return dy(r,z8,new o.constructor)}function y9(o){return V1?Object(V1.call(o)):{}}function x9(o,i){var t=i?vm(o.buffer):o.buffer;return new o.constructor(t,o.byteOffset,o.length)}function w9(o,i){var t=-1,r=o.length;for(i||(i=Array(r));++t<r;)i[t]=o[t];return i}function my(o,i,t,r){t||(t={});for(var n=-1,a=i.length;++n<a;){var s=i[n],l=r?r(t[s],o[s],s,t,o):void 0;uy(t,s,l===void 0?o[s]:l)}return t}function z9(o,i){return my(o,fy(o),i)}function _9(o){return d9(o,xm,fy)}function lp(o,i){var t=o.__data__;return T9(i)?t[typeof i=="string"?"string":"hash"]:t.map}function xs(o,i){var t=S8(o,i);return h9(t)?t:void 0}var fy=F1?bm(F1,Object):R9,Ca=p9;(cm&&Ca(new cm(new ArrayBuffer(1)))!=np||Gl&&Ca(new Gl)!=rp||dm&&Ca(dm.resolve())!=q1||pm&&Ca(new pm)!=ip||hm&&Ca(new hm)!=lm)&&(Ca=function(o){var i=ap.call(o),t=i==gm?o.constructor:void 0,r=t?Ea(t):void 0;if(r)switch(r){case R8:return np;case N8:return rp;case O8:return q1;case P8:return ip;case H8:return lm}return i});function k9(o){var i=o.length,t=o.constructor(i);return i&&typeof o[0]=="string"&&$o.call(o,"index")&&(t.index=o.index,t.input=o.input),t}function C9(o){return typeof o.constructor=="function"&&!gy(o)?c9(A8(o)):{}}function S9(o,i,t,r){var n=o.constructor;switch(i){case Z1:return vm(o);case G1:case W1:return new n(+o);case np:return f9(o,r);case ty:case ey:case ry:case iy:case ny:case oy:case ay:case sy:case ly:return x9(o,r);case rp:return g9(o,r,t);case Y1:case Q1:return new n(o);case X1:return b9(o);case ip:return v9(o,r,t);case J1:return y9(o)}}function E9(o,i){return i=i??j1,!!i&&(typeof o=="number"||b8.test(o))&&o>-1&&o%1==0&&o<i}function T9(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}function $9(o){return!!N1&&N1 in o}function gy(o){var i=o&&o.constructor,t=typeof i=="function"&&i.prototype||op;return o===t}function Ea(o){if(o!=null){try{return hy.call(o)}catch{}try{return o+""}catch{}}return""}function A9(o){return um(o,!0,!0)}function by(o,i){return o===i||o!==o&&i!==i}function M9(o){return L9(o)&&$o.call(o,"callee")&&(!L8.call(o,"callee")||ap.call(o)==mm)}var ym=Array.isArray;function vy(o){return o!=null&&I9(o.length)&&!yy(o)}function L9(o){return D9(o)&&vy(o)}var q9=I8||N9;function yy(o){var i=cp(o)?ap.call(o):"";return i==fm||i==K1}function I9(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=j1}function cp(o){var i=typeof o;return!!o&&(i=="object"||i=="function")}function D9(o){return!!o&&typeof o=="object"}function xm(o){return vy(o)?s9(o):u9(o)}function R9(){return[]}function N9(){return!1}bs.exports=A9});var qm=Bn((Kl,zs)=>{var O9=200,Lm="__lodash_hash_undefined__",bp=1,My=2,Ly=9007199254740991,dp="[object Arguments]",Cm="[object Array]",P9="[object AsyncFunction]",qy="[object Boolean]",Iy="[object Date]",Dy="[object Error]",Ry="[object Function]",H9="[object GeneratorFunction]",pp="[object Map]",Ny="[object Number]",F9="[object Null]",ws="[object Object]",xy="[object Promise]",B9="[object Proxy]",Oy="[object RegExp]",hp="[object Set]",Py="[object String]",V9="[object Symbol]",U9="[object Undefined]",Sm="[object WeakMap]",Hy="[object ArrayBuffer]",up="[object DataView]",j9="[object Float32Array]",G9="[object Float64Array]",W9="[object Int8Array]",K9="[object Int16Array]",Y9="[object Int32Array]",X9="[object Uint8Array]",Q9="[object Uint8ClampedArray]",J9="[object Uint16Array]",Z9="[object Uint32Array]",t6=/[\\^$.*+?()[\]{}|]/g,e6=/^\[object .+?Constructor\]$/,r6=/^(?:0|[1-9]\d*)$/,ae={};ae[j9]=ae[G9]=ae[W9]=ae[K9]=ae[Y9]=ae[X9]=ae[Q9]=ae[J9]=ae[Z9]=!0;ae[dp]=ae[Cm]=ae[Hy]=ae[qy]=ae[up]=ae[Iy]=ae[Dy]=ae[Ry]=ae[pp]=ae[Ny]=ae[ws]=ae[Oy]=ae[hp]=ae[Py]=ae[Sm]=!1;var Fy=typeof global=="object"&&global&&global.Object===Object&&global,i6=typeof self=="object"&&self&&self.Object===Object&&self,Xn=Fy||i6||Function("return this")(),By=typeof Kl=="object"&&Kl&&!Kl.nodeType&&Kl,wy=By&&typeof zs=="object"&&zs&&!zs.nodeType&&zs,Vy=wy&&wy.exports===By,zm=Vy&&Fy.process,zy=(function(){try{return zm&&zm.binding&&zm.binding("util")}catch{}})(),_y=zy&&zy.isTypedArray;function n6(o,i){for(var t=-1,r=o==null?0:o.length,n=0,a=[];++t<r;){var s=o[t];i(s,t,o)&&(a[n++]=s)}return a}function o6(o,i){for(var t=-1,r=i.length,n=o.length;++t<r;)o[n+t]=i[t];return o}function a6(o,i){for(var t=-1,r=o==null?0:o.length;++t<r;)if(i(o[t],t,o))return!0;return!1}function s6(o,i){for(var t=-1,r=Array(o);++t<o;)r[t]=i(t);return r}function l6(o){return function(i){return o(i)}}function c6(o,i){return o.has(i)}function d6(o,i){return o?.[i]}function p6(o){var i=-1,t=Array(o.size);return o.forEach(function(r,n){t[++i]=[n,r]}),t}function h6(o,i){return function(t){return o(i(t))}}function u6(o){var i=-1,t=Array(o.size);return o.forEach(function(r){t[++i]=r}),t}var m6=Array.prototype,f6=Function.prototype,vp=Object.prototype,_m=Xn["__core-js_shared__"],Uy=f6.toString,An=vp.hasOwnProperty,ky=(function(){var o=/[^.]+$/.exec(_m&&_m.keys&&_m.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})(),jy=vp.toString,g6=RegExp("^"+Uy.call(An).replace(t6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cy=Vy?Xn.Buffer:void 0,mp=Xn.Symbol,Sy=Xn.Uint8Array,Gy=vp.propertyIsEnumerable,b6=m6.splice,Ta=mp?mp.toStringTag:void 0,Ey=Object.getOwnPropertySymbols,v6=Cy?Cy.isBuffer:void 0,y6=h6(Object.keys,Object),Em=_s(Xn,"DataView"),Yl=_s(Xn,"Map"),Tm=_s(Xn,"Promise"),$m=_s(Xn,"Set"),Am=_s(Xn,"WeakMap"),Xl=_s(Object,"create"),x6=Ma(Em),w6=Ma(Yl),z6=Ma(Tm),_6=Ma($m),k6=Ma(Am),Ty=mp?mp.prototype:void 0,km=Ty?Ty.valueOf:void 0;function $a(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function C6(){this.__data__=Xl?Xl(null):{},this.size=0}function S6(o){var i=this.has(o)&&delete this.__data__[o];return this.size-=i?1:0,i}function E6(o){var i=this.__data__;if(Xl){var t=i[o];return t===Lm?void 0:t}return An.call(i,o)?i[o]:void 0}function T6(o){var i=this.__data__;return Xl?i[o]!==void 0:An.call(i,o)}function $6(o,i){var t=this.__data__;return this.size+=this.has(o)?0:1,t[o]=Xl&&i===void 0?Lm:i,this}$a.prototype.clear=C6;$a.prototype.delete=S6;$a.prototype.get=E6;$a.prototype.has=T6;$a.prototype.set=$6;function Qn(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function A6(){this.__data__=[],this.size=0}function M6(o){var i=this.__data__,t=yp(i,o);if(t<0)return!1;var r=i.length-1;return t==r?i.pop():b6.call(i,t,1),--this.size,!0}function L6(o){var i=this.__data__,t=yp(i,o);return t<0?void 0:i[t][1]}function q6(o){return yp(this.__data__,o)>-1}function I6(o,i){var t=this.__data__,r=yp(t,o);return r<0?(++this.size,t.push([o,i])):t[r][1]=i,this}Qn.prototype.clear=A6;Qn.prototype.delete=M6;Qn.prototype.get=L6;Qn.prototype.has=q6;Qn.prototype.set=I6;function Aa(o){var i=-1,t=o==null?0:o.length;for(this.clear();++i<t;){var r=o[i];this.set(r[0],r[1])}}function D6(){this.size=0,this.__data__={hash:new $a,map:new(Yl||Qn),string:new $a}}function R6(o){var i=xp(this,o).delete(o);return this.size-=i?1:0,i}function N6(o){return xp(this,o).get(o)}function O6(o){return xp(this,o).has(o)}function P6(o,i){var t=xp(this,o),r=t.size;return t.set(o,i),this.size+=t.size==r?0:1,this}Aa.prototype.clear=D6;Aa.prototype.delete=R6;Aa.prototype.get=N6;Aa.prototype.has=O6;Aa.prototype.set=P6;function fp(o){var i=-1,t=o==null?0:o.length;for(this.__data__=new Aa;++i<t;)this.add(o[i])}function H6(o){return this.__data__.set(o,Lm),this}function F6(o){return this.__data__.has(o)}fp.prototype.add=fp.prototype.push=H6;fp.prototype.has=F6;function Mo(o){var i=this.__data__=new Qn(o);this.size=i.size}function B6(){this.__data__=new Qn,this.size=0}function V6(o){var i=this.__data__,t=i.delete(o);return this.size=i.size,t}function U6(o){return this.__data__.get(o)}function j6(o){return this.__data__.has(o)}function G6(o,i){var t=this.__data__;if(t instanceof Qn){var r=t.__data__;if(!Yl||r.length<O9-1)return r.push([o,i]),this.size=++t.size,this;t=this.__data__=new Aa(r)}return t.set(o,i),this.size=t.size,this}Mo.prototype.clear=B6;Mo.prototype.delete=V6;Mo.prototype.get=U6;Mo.prototype.has=j6;Mo.prototype.set=G6;function W6(o,i){var t=gp(o),r=!t&&lC(o),n=!t&&!r&&Mm(o),a=!t&&!r&&!n&&Zy(o),s=t||r||n||a,l=s?s6(o.length,String):[],d=l.length;for(var h in o)(i||An.call(o,h))&&!(s&&(h=="length"||n&&(h=="offset"||h=="parent")||a&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||iC(h,d)))&&l.push(h);return l}function yp(o,i){for(var t=o.length;t--;)if(Yy(o[t][0],i))return t;return-1}function K6(o,i,t){var r=i(o);return gp(o)?r:o6(r,t(o))}function Jl(o){return o==null?o===void 0?U9:F9:Ta&&Ta in Object(o)?eC(o):sC(o)}function $y(o){return Ql(o)&&Jl(o)==dp}function Wy(o,i,t,r,n){return o===i?!0:o==null||i==null||!Ql(o)&&!Ql(i)?o!==o&&i!==i:Y6(o,i,t,r,Wy,n)}function Y6(o,i,t,r,n,a){var s=gp(o),l=gp(i),d=s?Cm:Ao(o),h=l?Cm:Ao(i);d=d==dp?ws:d,h=h==dp?ws:h;var m=d==ws,f=h==ws,b=d==h;if(b&&Mm(o)){if(!Mm(i))return!1;s=!0,m=!1}if(b&&!m)return a||(a=new Mo),s||Zy(o)?Ky(o,i,t,r,n,a):Z6(o,i,d,t,r,n,a);if(!(t&bp)){var g=m&&An.call(o,"__wrapped__"),v=f&&An.call(i,"__wrapped__");if(g||v){var y=g?o.value():o,S=v?i.value():i;return a||(a=new Mo),n(y,S,t,r,a)}}return b?(a||(a=new Mo),tC(o,i,t,r,n,a)):!1}function X6(o){if(!Jy(o)||oC(o))return!1;var i=Xy(o)?g6:e6;return i.test(Ma(o))}function Q6(o){return Ql(o)&&Qy(o.length)&&!!ae[Jl(o)]}function J6(o){if(!aC(o))return y6(o);var i=[];for(var t in Object(o))An.call(o,t)&&t!="constructor"&&i.push(t);return i}function Ky(o,i,t,r,n,a){var s=t&bp,l=o.length,d=i.length;if(l!=d&&!(s&&d>l))return!1;var h=a.get(o);if(h&&a.get(i))return h==i;var m=-1,f=!0,b=t&My?new fp:void 0;for(a.set(o,i),a.set(i,o);++m<l;){var g=o[m],v=i[m];if(r)var y=s?r(v,g,m,i,o,a):r(g,v,m,o,i,a);if(y!==void 0){if(y)continue;f=!1;break}if(b){if(!a6(i,function(S,E){if(!c6(b,E)&&(g===S||n(g,S,t,r,a)))return b.push(E)})){f=!1;break}}else if(!(g===v||n(g,v,t,r,a))){f=!1;break}}return a.delete(o),a.delete(i),f}function Z6(o,i,t,r,n,a,s){switch(t){case up:if(o.byteLength!=i.byteLength||o.byteOffset!=i.byteOffset)return!1;o=o.buffer,i=i.buffer;case Hy:return!(o.byteLength!=i.byteLength||!a(new Sy(o),new Sy(i)));case qy:case Iy:case Ny:return Yy(+o,+i);case Dy:return o.name==i.name&&o.message==i.message;case Oy:case Py:return o==i+"";case pp:var l=p6;case hp:var d=r&bp;if(l||(l=u6),o.size!=i.size&&!d)return!1;var h=s.get(o);if(h)return h==i;r|=My,s.set(o,i);var m=Ky(l(o),l(i),r,n,a,s);return s.delete(o),m;case V9:if(km)return km.call(o)==km.call(i)}return!1}function tC(o,i,t,r,n,a){var s=t&bp,l=Ay(o),d=l.length,h=Ay(i),m=h.length;if(d!=m&&!s)return!1;for(var f=d;f--;){var b=l[f];if(!(s?b in i:An.call(i,b)))return!1}var g=a.get(o);if(g&&a.get(i))return g==i;var v=!0;a.set(o,i),a.set(i,o);for(var y=s;++f<d;){b=l[f];var S=o[b],E=i[b];if(r)var N=s?r(E,S,b,i,o,a):r(S,E,b,o,i,a);if(!(N===void 0?S===E||n(S,E,t,r,a):N)){v=!1;break}y||(y=b=="constructor")}if(v&&!y){var U=o.constructor,I=i.constructor;U!=I&&"constructor"in o&&"constructor"in i&&!(typeof U=="function"&&U instanceof U&&typeof I=="function"&&I instanceof I)&&(v=!1)}return a.delete(o),a.delete(i),v}function Ay(o){return K6(o,pC,rC)}function xp(o,i){var t=o.__data__;return nC(i)?t[typeof i=="string"?"string":"hash"]:t.map}function _s(o,i){var t=d6(o,i);return X6(t)?t:void 0}function eC(o){var i=An.call(o,Ta),t=o[Ta];try{o[Ta]=void 0;var r=!0}catch{}var n=jy.call(o);return r&&(i?o[Ta]=t:delete o[Ta]),n}var rC=Ey?function(o){return o==null?[]:(o=Object(o),n6(Ey(o),function(i){return Gy.call(o,i)}))}:hC,Ao=Jl;(Em&&Ao(new Em(new ArrayBuffer(1)))!=up||Yl&&Ao(new Yl)!=pp||Tm&&Ao(Tm.resolve())!=xy||$m&&Ao(new $m)!=hp||Am&&Ao(new Am)!=Sm)&&(Ao=function(o){var i=Jl(o),t=i==ws?o.constructor:void 0,r=t?Ma(t):"";if(r)switch(r){case x6:return up;case w6:return pp;case z6:return xy;case _6:return hp;case k6:return Sm}return i});function iC(o,i){return i=i??Ly,!!i&&(typeof o=="number"||r6.test(o))&&o>-1&&o%1==0&&o<i}function nC(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}function oC(o){return!!ky&&ky in o}function aC(o){var i=o&&o.constructor,t=typeof i=="function"&&i.prototype||vp;return o===t}function sC(o){return jy.call(o)}function Ma(o){if(o!=null){try{return Uy.call(o)}catch{}try{return o+""}catch{}}return""}function Yy(o,i){return o===i||o!==o&&i!==i}var lC=$y((function(){return arguments})())?$y:function(o){return Ql(o)&&An.call(o,"callee")&&!Gy.call(o,"callee")},gp=Array.isArray;function cC(o){return o!=null&&Qy(o.length)&&!Xy(o)}var Mm=v6||uC;function dC(o,i){return Wy(o,i)}function Xy(o){if(!Jy(o))return!1;var i=Jl(o);return i==Ry||i==H9||i==P9||i==B9}function Qy(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=Ly}function Jy(o){var i=typeof o;return o!=null&&(i=="object"||i=="function")}function Ql(o){return o!=null&&typeof o=="object"}var Zy=_y?l6(_y):Q6;function pC(o){return cC(o)?W6(o):J6(o)}function hC(){return[]}function uC(){return!1}zs.exports=dC});var tx=Bn(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});var mC=wm(),fC=qm(),Im;(function(o){function i(a={},s={},l=!1){typeof a!="object"&&(a={}),typeof s!="object"&&(s={});let d=mC(s);l||(d=Object.keys(d).reduce((h,m)=>(d[m]!=null&&(h[m]=d[m]),h),{}));for(let h in a)a[h]!==void 0&&s[h]===void 0&&(d[h]=a[h]);return Object.keys(d).length>0?d:void 0}o.compose=i;function t(a={},s={}){typeof a!="object"&&(a={}),typeof s!="object"&&(s={});let l=Object.keys(a).concat(Object.keys(s)).reduce((d,h)=>(fC(a[h],s[h])||(d[h]=s[h]===void 0?null:s[h]),d),{});return Object.keys(l).length>0?l:void 0}o.diff=t;function r(a={},s={}){a=a||{};let l=Object.keys(s).reduce((d,h)=>(s[h]!==a[h]&&a[h]!==void 0&&(d[h]=s[h]),d),{});return Object.keys(a).reduce((d,h)=>(a[h]!==s[h]&&s[h]===void 0&&(d[h]=null),d),l)}o.invert=r;function n(a,s,l=!1){if(typeof a!="object")return s;if(typeof s!="object")return;if(!l)return s;let d=Object.keys(s).reduce((h,m)=>(a[m]===void 0&&(h[m]=s[m]),h),{});return Object.keys(d).length>0?d:void 0}o.transform=n})(Im||(Im={}));Dm.default=Im});var Om=Bn(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});var Rm;(function(o){function i(t){return typeof t.delete=="number"?t.delete:typeof t.retain=="number"?t.retain:typeof t.retain=="object"&&t.retain!==null?1:typeof t.insert=="string"?t.insert.length:1}o.length=i})(Rm||(Rm={}));Nm.default=Rm});var rx=Bn(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});var ex=Om(),Pm=class{constructor(i){this.ops=i,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(i){i||(i=1/0);let t=this.ops[this.index];if(t){let r=this.offset,n=ex.default.length(t);if(i>=n-r?(i=n-r,this.index+=1,this.offset=0):this.offset+=i,typeof t.delete=="number")return{delete:i};{let a={};return t.attributes&&(a.attributes=t.attributes),typeof t.retain=="number"?a.retain=i:typeof t.retain=="object"&&t.retain!==null?a.retain=t.retain:typeof t.insert=="string"?a.insert=t.insert.substr(r,i):a.insert=t.insert,a}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?ex.default.length(this.ops[this.index])-this.offset:1/0}peekType(){let i=this.ops[this.index];return i?typeof i.delete=="number"?"delete":typeof i.retain=="number"||typeof i.retain=="object"&&i.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{let i=this.offset,t=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=i,this.index=t,[r].concat(n)}}else return[]}};Hm.default=Pm});var Zr=Bn((Zn,zp)=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.AttributeMap=Zn.OpIterator=Zn.Op=void 0;var wp=L1(),gC=wm(),Fm=qm(),La=tx();Zn.AttributeMap=La.default;var Jn=Om();Zn.Op=Jn.default;var Di=rx();Zn.OpIterator=Di.default;var bC="\0",ix=(o,i)=>{if(typeof o!="object"||o===null)throw new Error(`cannot retain a ${typeof o}`);if(typeof i!="object"||i===null)throw new Error(`cannot retain a ${typeof i}`);let t=Object.keys(o)[0];if(!t||t!==Object.keys(i)[0])throw new Error(`embed types not matched: ${t} != ${Object.keys(i)[0]}`);return[t,o[t],i[t]]},to=class o{constructor(i){Array.isArray(i)?this.ops=i:i!=null&&Array.isArray(i.ops)?this.ops=i.ops:this.ops=[]}static registerEmbed(i,t){this.handlers[i]=t}static unregisterEmbed(i){delete this.handlers[i]}static getHandler(i){let t=this.handlers[i];if(!t)throw new Error(`no handlers for embed type "${i}"`);return t}insert(i,t){let r={};return typeof i=="string"&&i.length===0?this:(r.insert=i,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(r.attributes=t),this.push(r))}delete(i){return i<=0?this:this.push({delete:i})}retain(i,t){if(typeof i=="number"&&i<=0)return this;let r={retain:i};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(r.attributes=t),this.push(r)}push(i){let t=this.ops.length,r=this.ops[t-1];if(i=gC(i),typeof r=="object"){if(typeof i.delete=="number"&&typeof r.delete=="number")return this.ops[t-1]={delete:r.delete+i.delete},this;if(typeof r.delete=="number"&&i.insert!=null&&(t-=1,r=this.ops[t-1],typeof r!="object"))return this.ops.unshift(i),this;if(Fm(i.attributes,r.attributes)){if(typeof i.insert=="string"&&typeof r.insert=="string")return this.ops[t-1]={insert:r.insert+i.insert},typeof i.attributes=="object"&&(this.ops[t-1].attributes=i.attributes),this;if(typeof i.retain=="number"&&typeof r.retain=="number")return this.ops[t-1]={retain:r.retain+i.retain},typeof i.attributes=="object"&&(this.ops[t-1].attributes=i.attributes),this}}return t===this.ops.length?this.ops.push(i):this.ops.splice(t,0,i),this}chop(){let i=this.ops[this.ops.length-1];return i&&typeof i.retain=="number"&&!i.attributes&&this.ops.pop(),this}filter(i){return this.ops.filter(i)}forEach(i){this.ops.forEach(i)}map(i){return this.ops.map(i)}partition(i){let t=[],r=[];return this.forEach(n=>{(i(n)?t:r).push(n)}),[t,r]}reduce(i,t){return this.ops.reduce(i,t)}changeLength(){return this.reduce((i,t)=>t.insert?i+Jn.default.length(t):t.delete?i-t.delete:i,0)}length(){return this.reduce((i,t)=>i+Jn.default.length(t),0)}slice(i=0,t=1/0){let r=[],n=new Di.default(this.ops),a=0;for(;a<t&&n.hasNext();){let s;a<i?s=n.next(i-a):(s=n.next(t-a),r.push(s)),a+=Jn.default.length(s)}return new o(r)}compose(i){let t=new Di.default(this.ops),r=new Di.default(i.ops),n=[],a=r.peek();if(a!=null&&typeof a.retain=="number"&&a.attributes==null){let l=a.retain;for(;t.peekType()==="insert"&&t.peekLength()<=l;)l-=t.peekLength(),n.push(t.next());a.retain-l>0&&r.next(a.retain-l)}let s=new o(n);for(;t.hasNext()||r.hasNext();)if(r.peekType()==="insert")s.push(r.next());else if(t.peekType()==="delete")s.push(t.next());else{let l=Math.min(t.peekLength(),r.peekLength()),d=t.next(l),h=r.next(l);if(h.retain){let m={};if(typeof d.retain=="number")m.retain=typeof h.retain=="number"?l:h.retain;else if(typeof h.retain=="number")d.retain==null?m.insert=d.insert:m.retain=d.retain;else{let b=d.retain==null?"insert":"retain",[g,v,y]=ix(d[b],h.retain),S=o.getHandler(g);m[b]={[g]:S.compose(v,y,b==="retain")}}let f=La.default.compose(d.attributes,h.attributes,typeof d.retain=="number");if(f&&(m.attributes=f),s.push(m),!r.hasNext()&&Fm(s.ops[s.ops.length-1],m)){let b=new o(t.rest());return s.concat(b).chop()}}else typeof h.delete=="number"&&(typeof d.retain=="number"||typeof d.retain=="object"&&d.retain!==null)&&s.push(h)}return s.chop()}concat(i){let t=new o(this.ops.slice());return i.ops.length>0&&(t.push(i.ops[0]),t.ops=t.ops.concat(i.ops.slice(1))),t}diff(i,t){if(this.ops===i.ops)return new o;let r=[this,i].map(d=>d.map(h=>{if(h.insert!=null)return typeof h.insert=="string"?h.insert:bC;let m=d===i?"on":"with";throw new Error("diff() called "+m+" non-document")}).join("")),n=new o,a=wp(r[0],r[1],t,!0),s=new Di.default(this.ops),l=new Di.default(i.ops);return a.forEach(d=>{let h=d[1].length;for(;h>0;){let m=0;switch(d[0]){case wp.INSERT:m=Math.min(l.peekLength(),h),n.push(l.next(m));break;case wp.DELETE:m=Math.min(h,s.peekLength()),s.next(m),n.delete(m);break;case wp.EQUAL:m=Math.min(s.peekLength(),l.peekLength(),h);let f=s.next(m),b=l.next(m);Fm(f.insert,b.insert)?n.retain(m,La.default.diff(f.attributes,b.attributes)):n.push(b).delete(m);break}h-=m}}),n.chop()}eachLine(i,t=`
2
+ `){let r=new Di.default(this.ops),n=new o,a=0;for(;r.hasNext();){if(r.peekType()!=="insert")return;let s=r.peek(),l=Jn.default.length(s)-r.peekLength(),d=typeof s.insert=="string"?s.insert.indexOf(t,l)-l:-1;if(d<0)n.push(r.next());else if(d>0)n.push(r.next(d));else{if(i(n,r.next(1).attributes||{},a)===!1)return;a+=1,n=new o}}n.length()>0&&i(n,{},a)}invert(i){let t=new o;return this.reduce((r,n)=>{if(n.insert)t.delete(Jn.default.length(n));else{if(typeof n.retain=="number"&&n.attributes==null)return t.retain(n.retain),r+n.retain;if(n.delete||typeof n.retain=="number"){let a=n.delete||n.retain;return i.slice(r,r+a).forEach(l=>{n.delete?t.push(l):n.retain&&n.attributes&&t.retain(Jn.default.length(l),La.default.invert(n.attributes,l.attributes))}),r+a}else if(typeof n.retain=="object"&&n.retain!==null){let a=i.slice(r,r+1),s=new Di.default(a.ops).next(),[l,d,h]=ix(n.retain,s.insert),m=o.getHandler(l);return t.retain({[l]:m.invert(d,h)},La.default.invert(n.attributes,s.attributes)),r+1}}return r},0),t.chop()}transform(i,t=!1){if(t=!!t,typeof i=="number")return this.transformPosition(i,t);let r=i,n=new Di.default(this.ops),a=new Di.default(r.ops),s=new o;for(;n.hasNext()||a.hasNext();)if(n.peekType()==="insert"&&(t||a.peekType()!=="insert"))s.retain(Jn.default.length(n.next()));else if(a.peekType()==="insert")s.push(a.next());else{let l=Math.min(n.peekLength(),a.peekLength()),d=n.next(l),h=a.next(l);if(d.delete)continue;if(h.delete)s.push(h);else{let m=d.retain,f=h.retain,b=typeof f=="object"&&f!==null?f:l;if(typeof m=="object"&&m!==null&&typeof f=="object"&&f!==null){let g=Object.keys(m)[0];if(g===Object.keys(f)[0]){let v=o.getHandler(g);v&&(b={[g]:v.transform(m[g],f[g],t)})}}s.retain(b,La.default.transform(d.attributes,h.attributes,t))}}return s.chop()}transformPosition(i,t=!1){t=!!t;let r=new Di.default(this.ops),n=0;for(;r.hasNext()&&n<=i;){let a=r.peekLength(),s=r.peekType();if(r.next(),s==="delete"){i-=Math.min(a,i-n);continue}else s==="insert"&&(n<i||!t)&&(i+=a);n+=a}return i}};to.Op=Jn.default;to.OpIterator=Di.default;to.AttributeMap=La.default;to.handlers={};Zn.default=to;typeof zp=="object"&&(zp.exports=to,zp.exports.default=to)});var yz=Bn((Udt,sf)=>{"use strict";var Z$=Object.prototype.hasOwnProperty,Vr="~";function cc(){}Object.create&&(cc.prototype=Object.create(null),new cc().__proto__||(Vr=!1));function tA(o,i,t){this.fn=o,this.context=i,this.once=t||!1}function vz(o,i,t,r,n){if(typeof t!="function")throw new TypeError("The listener must be a function");var a=new tA(t,r||o,n),s=Vr?Vr+i:i;return o._events[s]?o._events[s].fn?o._events[s]=[o._events[s],a]:o._events[s].push(a):(o._events[s]=a,o._eventsCount++),o}function Yp(o,i){--o._eventsCount===0?o._events=new cc:delete o._events[i]}function Mr(){this._events=new cc,this._eventsCount=0}Mr.prototype.eventNames=function(){var i=[],t,r;if(this._eventsCount===0)return i;for(r in t=this._events)Z$.call(t,r)&&i.push(Vr?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i};Mr.prototype.listeners=function(i){var t=Vr?Vr+i:i,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,a=r.length,s=new Array(a);n<a;n++)s[n]=r[n].fn;return s};Mr.prototype.listenerCount=function(i){var t=Vr?Vr+i:i,r=this._events[t];return r?r.fn?1:r.length:0};Mr.prototype.emit=function(i,t,r,n,a,s){var l=Vr?Vr+i:i;if(!this._events[l])return!1;var d=this._events[l],h=arguments.length,m,f;if(d.fn){switch(d.once&&this.removeListener(i,d.fn,void 0,!0),h){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,t),!0;case 3:return d.fn.call(d.context,t,r),!0;case 4:return d.fn.call(d.context,t,r,n),!0;case 5:return d.fn.call(d.context,t,r,n,a),!0;case 6:return d.fn.call(d.context,t,r,n,a,s),!0}for(f=1,m=new Array(h-1);f<h;f++)m[f-1]=arguments[f];d.fn.apply(d.context,m)}else{var b=d.length,g;for(f=0;f<b;f++)switch(d[f].once&&this.removeListener(i,d[f].fn,void 0,!0),h){case 1:d[f].fn.call(d[f].context);break;case 2:d[f].fn.call(d[f].context,t);break;case 3:d[f].fn.call(d[f].context,t,r);break;case 4:d[f].fn.call(d[f].context,t,r,n);break;default:if(!m)for(g=1,m=new Array(h-1);g<h;g++)m[g-1]=arguments[g];d[f].fn.apply(d[f].context,m)}}return!0};Mr.prototype.on=function(i,t,r){return vz(this,i,t,r,!1)};Mr.prototype.once=function(i,t,r){return vz(this,i,t,r,!0)};Mr.prototype.removeListener=function(i,t,r,n){var a=Vr?Vr+i:i;if(!this._events[a])return this;if(!t)return Yp(this,a),this;var s=this._events[a];if(s.fn)s.fn===t&&(!n||s.once)&&(!r||s.context===r)&&Yp(this,a);else{for(var l=0,d=[],h=s.length;l<h;l++)(s[l].fn!==t||n&&!s[l].once||r&&s[l].context!==r)&&d.push(s[l]);d.length?this._events[a]=d.length===1?d[0]:d:Yp(this,a)}return this};Mr.prototype.removeAllListeners=function(i){var t;return i?(t=Vr?Vr+i:i,this._events[t]&&Yp(this,t)):(this._events=new cc,this._eventsCount=0),this};Mr.prototype.off=Mr.prototype.removeListener;Mr.prototype.addListener=Mr.prototype.on;Mr.prefixed=Vr;Mr.EventEmitter=Mr;typeof sf<"u"&&(sf.exports=Mr)});var Kf=Bn((Rc,Wf)=>{(function(o,i){typeof Rc=="object"&&typeof Wf=="object"?Wf.exports=i():typeof define=="function"&&define.amd?define([],i):typeof Rc=="object"?Rc.AirDatepicker=i():o.AirDatepicker=i()})(Rc,(function(){return(function(){"use strict";var o={d:function(O,x){for(var T in x)o.o(x,T)&&!o.o(O,T)&&Object.defineProperty(O,T,{enumerable:!0,get:x[T]})},o:function(O,x){return Object.prototype.hasOwnProperty.call(O,x)}},i={};o.d(i,{default:function(){return at}});var t={days:"days",months:"months",years:"years",day:"day",month:"month",year:"year",eventChangeViewDate:"changeViewDate",eventChangeCurrentView:"changeCurrentView",eventChangeFocusDate:"changeFocusDate",eventChangeSelectedDate:"changeSelectedDate",eventChangeTime:"changeTime",eventChangeLastSelectedDate:"changeLastSelectedDate",actionSelectDate:"selectDate",actionUnselectDate:"unselectDate",cssClassWeekend:"-weekend-"},r={classes:"",inline:!1,locale:{days:["\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0412\u0442\u043E\u0440\u043D\u0438\u043A","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041F\u044F\u0442\u043D\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043E\u0442\u0430"],daysShort:["\u0412\u043E\u0441","\u041F\u043E\u043D","\u0412\u0442\u043E","\u0421\u0440\u0435","\u0427\u0435\u0442","\u041F\u044F\u0442","\u0421\u0443\u0431"],daysMin:["\u0412\u0441","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431"],months:["\u042F\u043D\u0432\u0430\u0440\u044C","\u0424\u0435\u0432\u0440\u0430\u043B\u044C","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B\u044C","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u041E\u043A\u0442\u044F\u0431\u0440\u044C","\u041D\u043E\u044F\u0431\u0440\u044C","\u0414\u0435\u043A\u0430\u0431\u0440\u044C"],monthsShort:["\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",dateFormat:"dd.MM.yyyy",timeFormat:"HH:mm",firstDay:1},startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"T",toggleSelected:!0,keyboardNav:!0,selectedDates:!1,container:"",isMobile:!1,visible:!1,position:"bottom left",offset:12,view:t.days,minView:t.days,showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:", ",range:!1,dynamicRange:!0,buttons:!1,monthsField:"monthsShort",showEvent:"focus",autoClose:!1,fixedHeight:!1,prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MMMM, <i>yyyy</i>",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:!1,onChangeViewDate:!1,onChangeView:!1,onRenderCell:!1,onShow:!1,onHide:!1,onClickDayName:!1};function n(O){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;return typeof O=="string"?x.querySelector(O):O}function a(){let{tagName:O="div",className:x="",innerHtml:T="",id:w="",attrs:D={}}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=document.createElement(O);return x&&L.classList.add(...x.split(" ")),w&&(L.id=w),T&&(L.innerHTML=T),D&&s(L,D),L}function s(O,x){for(let[T,w]of Object.entries(x))w!==void 0&&O.setAttribute(T,w);return O}function l(O){return new Date(O.getFullYear(),O.getMonth()+1,0).getDate()}function d(O){let x=O.getHours(),{hours:T,dayPeriod:w}=h(x);return{year:O.getFullYear(),month:O.getMonth(),fullMonth:O.getMonth()+1<10?"0"+(O.getMonth()+1):O.getMonth()+1,date:O.getDate(),fullDate:O.getDate()<10?"0"+O.getDate():O.getDate(),day:O.getDay(),hours:x,fullHours:m(x),hours12:T,dayPeriod:w,fullHours12:m(T),minutes:O.getMinutes(),fullMinutes:O.getMinutes()<10?"0"+O.getMinutes():O.getMinutes()}}function h(O){return{dayPeriod:O>11?"pm":"am",hours:O%12==0?12:O%12}}function m(O){return O<10?"0"+O:O}function f(O){let x=10*Math.floor(O.getFullYear()/10);return[x,x+9]}function b(){let O=[];for(var x=arguments.length,T=new Array(x),w=0;w<x;w++)T[w]=arguments[w];return T.forEach((D=>{if(typeof D=="object")for(let L in D)D[L]&&O.push(L);else D&&O.push(D)})),O.join(" ")}function g(O,x){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t.days;if(!O||!x)return!1;let w=d(O),D=d(x);return{[t.days]:w.date===D.date&&w.month===D.month&&w.year===D.year,[t.months]:w.month===D.month&&w.year===D.year,[t.years]:w.year===D.year}[T]}function v(O,x,T){let w=S(O,!1).getTime(),D=S(x,!1).getTime();return T?w>=D:w>D}function y(O,x){return!v(O,x,!0)}function S(O){let x=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],T=new Date(O.getTime());return typeof x!="boolean"||x||(function(w){w.setHours(0,0,0,0)})(T),T}function E(O,x,T){O.length?O.forEach((w=>{w.addEventListener(x,T)})):O.addEventListener(x,T)}function N(O,x){return!(!O||O===document||O instanceof DocumentFragment)&&(O.matches(x)?O:N(O.parentNode,x))}function U(O,x,T){return O>T?T:O<x?x:O}function I(O){for(var x=arguments.length,T=new Array(x>1?x-1:0),w=1;w<x;w++)T[w-1]=arguments[w];return T.filter((D=>D)).forEach((D=>{for(let[L,A]of Object.entries(D))if(A!==void 0&&A.toString()==="[object Object]"){let H=O[L]!==void 0?O[L].toString():void 0,j=A.toString(),X=Array.isArray(A)?[]:{};O[L]=O[L]?H!==j?X:O[L]:X,I(O[L],A)}else O[L]=A})),O}function C(O){let x=O;return O instanceof Date||(typeof O=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(O)&&(O+="T00:00:00"),x=new Date(O)),isNaN(x.getTime())&&(console.log(`Unable to convert value "${O}" to Date object`),x=!1),x}function $(O){let x="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+x+")("+O+")($|<|"+x+")","g")}function M(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class W{constructor(){let{type:x,date:T,dp:w,opts:D,body:L}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};M(this,"focus",(()=>{this.$cell.classList.add("-focus-"),this.focused=!0})),M(this,"removeFocus",(()=>{this.$cell.classList.remove("-focus-"),this.focused=!1})),M(this,"select",(()=>{this.$cell.classList.add("-selected-"),this.selected=!0})),M(this,"removeSelect",(()=>{this.$cell.classList.remove("-selected-","-range-from-","-range-to-"),this.selected=!1})),M(this,"onChangeSelectedDate",(()=>{this.isDisabled||(this._handleSelectedStatus(),this.opts.range&&this._handleRangeStatus())})),M(this,"onChangeFocusDate",(A=>{if(!A)return void(this.focused&&this.removeFocus());let H=g(A,this.date,this.type);H?this.focus():!H&&this.focused&&this.removeFocus(),this.opts.range&&this._handleRangeStatus()})),M(this,"render",(()=>(this.$cell.innerHTML=this._getHtml(),this._handleClasses(),this.$cell))),this.type=x,this.singleType=this.type.slice(0,-1),this.date=T,this.dp=w,this.opts=D,this.body=L,this.customData=!1,this.init()}init(){var x,T;let{onRenderCell:w}=this.opts;w&&(this.customData=w({date:this.date,cellType:this.singleType,datepicker:this.dp})),this._createElement(),this._bindDatepickerEvents(),(x=this.customData)!==null&&x!==void 0&&x.disabled?this.dp.disableDate(this.date):((T=this.customData)===null||T===void 0?void 0:T.disabled)===!1&&this.dp.enableDate(this.date)}_bindDatepickerEvents(){this.dp.on(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(t.eventChangeFocusDate,this.onChangeFocusDate)}unbindDatepickerEvents(){this.dp.off(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(t.eventChangeFocusDate,this.onChangeFocusDate)}_createElement(){var x;let{year:T,month:w,fullMonth:D,date:L,fullDate:A}=d(this.date),H=((x=this.customData)===null||x===void 0?void 0:x.attrs)||{};this.$cell=a({attrs:{"data-year":T,"data-month":w,"data-date":L,"data-iso-date":`${T}-${D}-${A}`,...H}}),this.$cell.adpCell=this}_getClassName(){var x;let T=new Date,{selectOtherMonths:w,selectOtherYears:D}=this.opts,{minDate:L,maxDate:A,isDateDisabled:H}=this.dp,{day:j}=d(this.date),X=this._isOutOfMinMaxRange(),it=H(this.date),et=b("air-datepicker-cell",`-${this.singleType}-`,{"-current-":g(T,this.date,this.type),"-min-date-":L&&g(L,this.date,this.type),"-max-date-":A&&g(A,this.date,this.type)}),st="";switch(this.type){case t.days:st=b({"-weekend-":this.dp.isWeekend(j),"-other-month-":this.isOtherMonth,"-disabled-":this.isOtherMonth&&!w||X||it});break;case t.months:st=b({"-disabled-":X});break;case t.years:st=b({"-other-decade-":this.isOtherDecade,"-disabled-":X||this.isOtherDecade&&!D})}return b(et,st,(x=this.customData)===null||x===void 0?void 0:x.classes).split(" ")}_getHtml(){var x;let{year:T,month:w,date:D}=d(this.date),{showOtherMonths:L,showOtherYears:A}=this.opts;if((x=this.customData)!==null&&x!==void 0&&x.html)return this.customData.html;switch(this.type){case t.days:return!L&&this.isOtherMonth?"":D;case t.months:return this.dp.locale[this.opts.monthsField][w];case t.years:return!A&&this.isOtherDecade?"":T}}_isOutOfMinMaxRange(){let{minDate:x,maxDate:T}=this.dp,{type:w,date:D}=this,{month:L,year:A,date:H}=d(D),j=w===t.days,X=w===t.years,it=!!x&&new Date(A,X?x.getMonth():L,j?H:x.getDate()),et=!!T&&new Date(A,X?T.getMonth():L,j?H:T.getDate());return x&&T?y(it,x)||v(et,T):x?y(it,x):T?v(et,T):void 0}destroy(){this.unbindDatepickerEvents()}_handleRangeStatus(){let{selectedDates:x,focusDate:T,rangeDateTo:w,rangeDateFrom:D}=this.dp,L=x.length;if(this.$cell.classList.remove("-range-from-","-range-to-","-in-range-"),!L)return;let A=D,H=w;if(L===1&&T){let st=v(T,x[0]);A=st?x[0]:T,H=st?T:x[0]}let j=b({"-in-range-":A&&H&&(X=this.date,it=A,et=H,v(X,it)&&y(X,et)),"-range-from-":A&&g(this.date,A,this.type),"-range-to-":H&&g(this.date,H,this.type)});var X,it,et;j&&this.$cell.classList.add(...j.split(" "))}_handleSelectedStatus(){let x=this.dp._checkIfDateIsSelected(this.date,this.type);x?this.select():!x&&this.selected&&this.removeSelect()}_handleInitialFocusStatus(){g(this.dp.focusDate,this.date,this.type)&&this.focus()}_handleClasses(){this.$cell.setAttribute("class",""),this._handleInitialFocusStatus(),this.dp.hasSelectedDates&&(this._handleSelectedStatus(),this.dp.opts.range&&this._handleRangeStatus()),this.$cell.classList.add(...this._getClassName())}get isDisabled(){return this.$cell.matches(".-disabled-")}get isOtherMonth(){return this.dp.isOtherMonth(this.date)}get isOtherDecade(){return this.dp.isOtherDecade(this.date)}}function ot(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}let vt={[t.days]:`<div class="air-datepicker-body--day-names"></div><div class="air-datepicker-body--cells -${t.days}-"></div>`,[t.months]:`<div class="air-datepicker-body--cells -${t.months}-"></div>`,[t.years]:`<div class="air-datepicker-body--cells -${t.years}-"></div>`},Dt=".air-datepicker-cell";class Nt{constructor(x){let{dp:T,type:w,opts:D}=x;ot(this,"handleClick",(L=>{let A=L.target.closest(Dt).adpCell;if(A.isDisabled)return;if(!this.dp.isMinViewReached)return void this.dp.down();let H=this.dp._checkIfDateIsSelected(A.date,A.type);H?this.dp._handleAlreadySelectedDates(H,A.date):this.dp.selectDate(A.date)})),ot(this,"handleDayNameClick",(L=>{let A=L.target.getAttribute("data-day-index");this.opts.onClickDayName({dayIndex:Number(A),datepicker:this.dp})})),ot(this,"onChangeCurrentView",(L=>{L!==this.type?this.hide():(this.show(),this.render())})),ot(this,"onMouseOverCell",(L=>{let A=N(L.target,Dt);this.dp.setFocusDate(!!A&&A.adpCell.date)})),ot(this,"onMouseOutCell",(()=>{this.dp.setFocusDate(!1)})),ot(this,"onClickBody",(L=>{let{onClickDayName:A}=this.opts,H=L.target;H.closest(Dt)&&this.handleClick(L),A&&H.closest(".air-datepicker-body--day-name")&&this.handleDayNameClick(L)})),ot(this,"onMouseDown",(L=>{this.pressed=!0;let A=N(L.target,Dt),H=A&&A.adpCell;g(H.date,this.dp.rangeDateFrom)&&(this.rangeFromFocused=!0),g(H.date,this.dp.rangeDateTo)&&(this.rangeToFocused=!0)})),ot(this,"onMouseMove",(L=>{if(!this.pressed||!this.dp.isMinViewReached)return;L.preventDefault();let A=N(L.target,Dt),H=A&&A.adpCell,{selectedDates:j,rangeDateTo:X,rangeDateFrom:it}=this.dp;if(!H||H.isDisabled)return;let{date:et}=H;if(j.length===2){if(this.rangeFromFocused&&!v(et,X)){let{hours:st,minutes:ke}=d(it);et.setHours(st),et.setMinutes(ke),this.dp.rangeDateFrom=et,this.dp.replaceDate(it,et)}if(this.rangeToFocused&&!y(et,it)){let{hours:st,minutes:ke}=d(X);et.setHours(st),et.setMinutes(ke),this.dp.rangeDateTo=et,this.dp.replaceDate(X,et)}}})),ot(this,"onMouseUp",(()=>{this.pressed=!1,this.rangeFromFocused=!1,this.rangeToFocused=!1})),ot(this,"onChangeViewDate",((L,A)=>{if(!this.isVisible)return;let H=f(L),j=f(A);switch(this.dp.currentView){case t.days:if(g(L,A,t.months))return;break;case t.months:if(g(L,A,t.years))return;break;case t.years:if(H[0]===j[0]&&H[1]===j[1])return}this.render()})),ot(this,"render",(()=>{this.destroyCells(),this._generateCells(),this.cells.forEach((L=>{this.$cells.appendChild(L.render())}))})),this.dp=T,this.type=w,this.opts=D,this.cells=[],this.$el="",this.pressed=!1,this.isVisible=!0,this.init()}init(){this._buildBaseHtml(),this.type===t.days&&this.renderDayNames(),this.render(),this._bindEvents(),this._bindDatepickerEvents()}_bindEvents(){let{range:x,dynamicRange:T}=this.opts;E(this.$el,"mouseover",this.onMouseOverCell),E(this.$el,"mouseout",this.onMouseOutCell),E(this.$el,"click",this.onClickBody),x&&T&&(E(this.$el,"mousedown",this.onMouseDown),E(this.$el,"mousemove",this.onMouseMove),E(window.document,"mouseup",this.onMouseUp))}_bindDatepickerEvents(){this.dp.on(t.eventChangeViewDate,this.onChangeViewDate),this.dp.on(t.eventChangeCurrentView,this.onChangeCurrentView)}_buildBaseHtml(){this.$el=a({className:`air-datepicker-body -${this.type}-`,innerHtml:vt[this.type]}),this.$names=n(".air-datepicker-body--day-names",this.$el),this.$cells=n(".air-datepicker-body--cells",this.$el)}_getDayNamesHtml(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.dp.locale.firstDay,T="",w=this.dp.isWeekend,{onClickDayName:D}=this.opts,L=x,A=0;for(;A<7;){let H=L%7;T+=`<div class="${b("air-datepicker-body--day-name",{[t.cssClassWeekend]:w(H),"-clickable-":!!D})}" data-day-index='${H}'>${this.dp.locale.daysMin[H]}</div>`,A++,L++}return T}renderDayNames(){this.$names.innerHTML=this._getDayNamesHtml()}_generateCell(x){let{type:T,dp:w,opts:D}=this;return new W({type:T,dp:w,opts:D,date:x,body:this})}_generateCells(){Nt.getDatesFunction(this.type)(this.dp,(x=>{this.cells.push(this._generateCell(x))}))}show(){this.isVisible=!0,this.$el.classList.remove("-hidden-")}hide(){this.isVisible=!1,this.$el.classList.add("-hidden-")}destroyCells(){this.cells.forEach((x=>x.destroy())),this.cells=[],this.$cells.innerHTML=""}destroy(){this.destroyCells(),this.dp.off(t.eventChangeViewDate,this.onChangeViewDate),this.dp.off(t.eventChangeCurrentView,this.onChangeCurrentView)}static getDaysDates(x,T){let{viewDate:w,opts:{fixedHeight:D},locale:{firstDay:L}}=x,A=l(w),{year:H,month:j}=d(w),X=new Date(H,j,1),it=new Date(H,j,A),et=X.getDay()-L,st=6-it.getDay()+L;et=et<0?et+7:et,st=st>6?st-7:st;let ke=(function(aa,Vh){let{year:Zc,month:o3,date:a3}=d(aa);return new Date(Zc,o3,a3-Vh)})(X,et),Kr=A+et+st,wr=ke.getDate(),{year:yn,month:ul}=d(ke),na=0;D&&(Kr=42);let oa=[];for(;na<Kr;){let aa=new Date(yn,ul,wr+na);T&&T(aa),oa.push(aa),na++}return oa}static getMonthsDates(x,T){let{year:w}=x.parsedViewDate,D=0,L=[];for(;D<12;){let A=new Date(w,D);L.push(A),T&&T(A),D++}return L}static getYearsDates(x,T){let w=f(x.viewDate),D=w[0]-1,L=w[1]+1,A=D,H=[];for(;A<=L;){let j=new Date(A,0);H.push(j),T&&T(j),A++}return H}static getDatesFunction(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.days;return{[t.days]:Nt.getDaysDates,[t.months]:Nt.getMonthsDates,[t.years]:Nt.getYearsDates}[x]}}function re(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class er{constructor(x){let{dp:T,opts:w}=x;re(this,"onClickNav",(D=>{let L=N(D.target,".air-datepicker-nav--action");if(!L)return;let A=L.dataset.action;this.dp[A]()})),re(this,"onChangeViewDate",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus()})),re(this,"onChangeCurrentView",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus()})),re(this,"onClickNavTitle",(()=>{this.dp.isFinalView||this.dp.up()})),re(this,"update",(()=>{let{prevHtml:D,nextHtml:L}=this.opts;this.$prev.innerHTML=D,this.$next.innerHTML=L,this._resetNavStatus(),this.render(),this.handleNavStatus()})),re(this,"renderDelay",(()=>{setTimeout(this.render)})),re(this,"render",(()=>{this.$title.innerHTML=this._getTitle(),(function(D,L){for(let A in L)L[A]?D.classList.add(A):D.classList.remove(A)})(this.$title,{"-disabled-":this.dp.isFinalView})})),this.dp=T,this.opts=w,this.init()}init(){this._createElement(),this._buildBaseHtml(),this._defineDOM(),this.render(),this.handleNavStatus(),this._bindEvents(),this._bindDatepickerEvents()}_defineDOM(){this.$title=n(".air-datepicker-nav--title",this.$el),this.$prev=n('[data-action="prev"]',this.$el),this.$next=n('[data-action="next"]',this.$el)}_bindEvents(){this.$el.addEventListener("click",this.onClickNav),this.$title.addEventListener("click",this.onClickNavTitle)}_bindDatepickerEvents(){this.dp.on(t.eventChangeViewDate,this.onChangeViewDate),this.dp.on(t.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.on(t.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.on(t.eventChangeTime,this.render))}destroy(){this.dp.off(t.eventChangeViewDate,this.onChangeViewDate),this.dp.off(t.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.off(t.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.off(t.eventChangeTime,this.render))}_createElement(){this.$el=a({tagName:"nav",className:"air-datepicker-nav"})}_getTitle(){let{dp:x,opts:T}=this,w=T.navTitles[x.currentView];return typeof w=="function"?w(x):x.formatDate(x.viewDate,w)}handleNavStatus(){let{disableNavWhenOutOfRange:x}=this.opts,{minDate:T,maxDate:w}=this.dp;if(!T&&!w||!x)return;let{year:D,month:L}=this.dp.parsedViewDate,A=!!T&&d(T),H=!!w&&d(w);switch(this.dp.currentView){case t.days:T&&A.month>=L&&A.year>=D&&this._disableNav("prev"),w&&H.month<=L&&H.year<=D&&this._disableNav("next");break;case t.months:T&&A.year>=D&&this._disableNav("prev"),w&&H.year<=D&&this._disableNav("next");break;case t.years:{let j=f(this.dp.viewDate);T&&A.year>=j[0]&&this._disableNav("prev"),w&&H.year<=j[1]&&this._disableNav("next");break}}}_disableNav(x){n('[data-action="'+x+'"]',this.$el).classList.add("-disabled-")}_resetNavStatus(){(function(x){for(var T=arguments.length,w=new Array(T>1?T-1:0),D=1;D<T;D++)w[D-1]=arguments[D];x.length?x.forEach((L=>{L.classList.remove(...w)})):x.classList.remove(...w)})(this.$el.querySelectorAll(".air-datepicker-nav--action"),"-disabled-")}_buildBaseHtml(){let{prevHtml:x,nextHtml:T}=this.opts;this.$el.innerHTML=`<div class="air-datepicker-nav--action" data-action="prev">${x}</div><div class="air-datepicker-nav--title"></div><div class="air-datepicker-nav--action" data-action="next">${T}</div>`}get isNavIsFunction(){let{navTitles:x}=this.opts;return Object.keys(x).find((T=>typeof x[T]=="function"))}}var Nr={today:{content:O=>O.locale.today,onClick:O=>O.setViewDate(new Date)},clear:{content:O=>O.locale.clear,onClick:O=>O.clear()}};class xr{constructor(x){let{dp:T,opts:w}=x;this.dp=T,this.opts=w,this.init()}init(){this.createElement(),this.render()}createElement(){this.$el=a({className:"air-datepicker-buttons"})}destroy(){this.$el.parentNode.removeChild(this.$el)}clearHtml(){return this.$el.innerHTML="",this}generateButtons(){let{buttons:x}=this.opts;Array.isArray(x)||(x=[x]),x.forEach((T=>{let w=T;typeof T=="string"&&Nr[T]&&(w=Nr[T]);let D=this.createButton(w);w.onClick&&this.attachEventToButton(D,w.onClick),this.$el.appendChild(D)}))}attachEventToButton(x,T){x.addEventListener("click",(()=>{T(this.dp)}))}createButton(x){let{content:T,className:w,tagName:D="button",attrs:L={}}=x;return a({tagName:D,innerHtml:`<span tabindex='-1'>${typeof T=="function"?T(this.dp):T}</span>`,className:b("air-datepicker-button",w),attrs:L})}render(){this.generateButtons()}}function Ne(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class rr{constructor(){let{opts:x,dp:T}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ne(this,"toggleTimepickerIsActive",(D=>{this.dp.timepickerIsActive=D})),Ne(this,"onChangeSelectedDate",(D=>{let{date:L,updateTime:A=!1}=D;L&&(this.setMinMaxTime(L),this.setCurrentTime(!!A&&L),this.addTimeToDate(L))})),Ne(this,"onChangeLastSelectedDate",(D=>{D&&(this.setTime(D),this.render())})),Ne(this,"onChangeInputRange",(D=>{let L=D.target;this[L.getAttribute("name")]=L.value,this.updateText(),this.dp.trigger(t.eventChangeTime,{hours:this.hours,minutes:this.minutes})})),Ne(this,"onMouseEnterLeave",(D=>{let L=D.target.getAttribute("name"),A=this.$minutesText;L==="hours"&&(A=this.$hoursText),A.classList.toggle("-focus-")})),Ne(this,"onFocus",(()=>{this.toggleTimepickerIsActive(!0)})),Ne(this,"onBlur",(()=>{this.toggleTimepickerIsActive(!1)})),this.opts=x,this.dp=T;let{timeFormat:w}=this.dp.locale;w&&(w.match($("h"))||w.match($("hh")))&&(this.ampm=!0),this.init()}init(){this.setTime(this.dp.lastSelectedDate||this.dp.viewDate),this.createElement(),this.buildHtml(),this.defineDOM(),this.render(),this.bindDatepickerEvents(),this.bindDOMEvents()}bindDatepickerEvents(){this.dp.on(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(t.eventChangeLastSelectedDate,this.onChangeLastSelectedDate)}bindDOMEvents(){let x="input";navigator.userAgent.match(/trident/gi)&&(x="change"),E(this.$ranges,x,this.onChangeInputRange),E(this.$ranges,"mouseenter",this.onMouseEnterLeave),E(this.$ranges,"mouseleave",this.onMouseEnterLeave),E(this.$ranges,"focus",this.onFocus),E(this.$ranges,"mousedown",this.onFocus),E(this.$ranges,"blur",this.onBlur)}createElement(){this.$el=a({className:b("air-datepicker-time",{"-am-pm-":this.dp.ampm})})}destroy(){this.dp.off(t.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(t.eventChangeLastSelectedDate,this.onChangeLastSelectedDate),this.$el.parentNode.removeChild(this.$el)}buildHtml(){let{ampm:x,hours:T,displayHours:w,minutes:D,minHours:L,minMinutes:A,maxHours:H,maxMinutes:j,dayPeriod:X,opts:{hoursStep:it,minutesStep:et}}=this;this.$el.innerHTML=`<div class="air-datepicker-time--current"> <span class="air-datepicker-time--current-hours">${m(w)}</span> <span class="air-datepicker-time--current-colon">:</span> <span class="air-datepicker-time--current-minutes">${m(D)}</span> `+(x?`<span class='air-datepicker-time--current-ampm'>${X}</span>`:"")+`</div><div class="air-datepicker-time--sliders"> <div class="air-datepicker-time--row"> <input type="range" name="hours" value="${T}" min="${L}" max="${H}" step="${it}"/> </div> <div class="air-datepicker-time--row"> <input type="range" name="minutes" value="${D}" min="${A}" max="${j}" step="${et}"/> </div></div>`}defineDOM(){let x=T=>n(T,this.$el);this.$ranges=this.$el.querySelectorAll('[type="range"]'),this.$hours=x('[name="hours"]'),this.$minutes=x('[name="minutes"]'),this.$hoursText=x(".air-datepicker-time--current-hours"),this.$minutesText=x(".air-datepicker-time--current-minutes"),this.$ampm=x(".air-datepicker-time--current-ampm")}setTime(x){this.setMinMaxTime(x),this.setCurrentTime(x)}addTimeToDate(x){x&&(x.setHours(this.hours),x.setMinutes(this.minutes))}setMinMaxTime(x){if(this.setMinMaxTimeFromOptions(),x){let{minDate:T,maxDate:w}=this.dp;T&&g(x,T)&&this.setMinTimeFromMinDate(T),w&&g(x,w)&&this.setMaxTimeFromMaxDate(w)}}setCurrentTime(x){let{hours:T,minutes:w}=x?d(x):this;this.hours=U(T,this.minHours,this.maxHours),this.minutes=U(w,this.minMinutes,this.maxMinutes)}setMinMaxTimeFromOptions(){let{minHours:x,minMinutes:T,maxHours:w,maxMinutes:D}=this.opts;this.minHours=U(x,0,23),this.minMinutes=U(T,0,59),this.maxHours=U(w,0,23),this.maxMinutes=U(D,0,59)}setMinTimeFromMinDate(x){let{lastSelectedDate:T}=this.dp;this.minHours=x.getHours(),T&&T.getHours()>x.getHours()?this.minMinutes=this.opts.minMinutes:this.minMinutes=x.getMinutes()}setMaxTimeFromMaxDate(x){let{lastSelectedDate:T}=this.dp;this.maxHours=x.getHours(),T&&T.getHours()<x.getHours()?this.maxMinutes=this.opts.maxMinutes:this.maxMinutes=x.getMinutes()}updateSliders(){s(this.$hours,{min:this.minHours,max:this.maxHours}).value=this.hours,s(this.$minutes,{min:this.minMinutes,max:this.maxMinutes}).value=this.minutes}updateText(){this.$hoursText.innerHTML=m(this.displayHours),this.$minutesText.innerHTML=m(this.minutes),this.ampm&&(this.$ampm.innerHTML=this.dayPeriod)}set hours(x){this._hours=x;let{hours:T,dayPeriod:w}=h(x);this.displayHours=this.ampm?T:x,this.dayPeriod=w}get hours(){return this._hours}render(){this.updateSliders(),this.updateText()}}function Ae(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}class uo{constructor(x){let{dp:T,opts:w}=x;Ae(this,"pressedKeys",new Set),Ae(this,"hotKeys",new Map([[[["Control","ArrowRight"],["Control","ArrowUp"]],D=>D.month++],[[["Control","ArrowLeft"],["Control","ArrowDown"]],D=>D.month--],[[["Shift","ArrowRight"],["Shift","ArrowUp"]],D=>D.year++],[[["Shift","ArrowLeft"],["Shift","ArrowDown"]],D=>D.year--],[[["Alt","ArrowRight"],["Alt","ArrowUp"]],D=>D.year+=10],[[["Alt","ArrowLeft"],["Alt","ArrowDown"]],D=>D.year-=10],[["Control","Shift","ArrowUp"],(D,L)=>L.up()]])),Ae(this,"handleHotKey",(D=>{let L=this.hotKeys.get(D),A=d(this.getInitialFocusDate());L(A,this.dp);let{year:H,month:j,date:X}=A,it=l(new Date(H,j));it<X&&(X=it);let et=this.dp.getClampedDate(new Date(H,j,X));this.dp.setFocusDate(et,{viewDateTransition:!0})})),Ae(this,"isHotKeyPressed",(()=>{let D=!1,L=this.pressedKeys.size,A=H=>this.pressedKeys.has(H);for(let[H]of this.hotKeys){if(D)break;if(Array.isArray(H[0]))H.forEach((j=>{D||L!==j.length||(D=j.every(A)&&H)}));else{if(L!==H.length)continue;D=H.every(A)&&H}}return D})),Ae(this,"isArrow",(D=>D>=37&&D<=40)),Ae(this,"onKeyDown",(D=>{if(!this.dp.visible&&!this.dp.treatAsInline)return;let{key:L,which:A}=D,{dp:H,dp:{focusDate:j},opts:X}=this;this.registerKey(L);let it=this.isHotKeyPressed();if(it)return D.preventDefault(),void this.handleHotKey(it);if(this.isArrow(A))return D.preventDefault(),void this.focusNextCell(L);if(L==="Enter"){if(H.currentView!==X.minView)return void H.down();if(j){let et=H._checkIfDateIsSelected(j);return void(et?H._handleAlreadySelectedDates(et,j):H.selectDate(j))}}L==="Escape"&&this.dp.hide()})),Ae(this,"onKeyUp",(D=>{this.removeKey(D.key)})),this.dp=T,this.opts=w,this.init()}init(){this.bindKeyboardEvents()}bindKeyboardEvents(){let{$el:x}=this.dp;x.addEventListener("keydown",this.onKeyDown),x.addEventListener("keyup",this.onKeyUp)}destroy(){let{$el:x}=this.dp;x.removeEventListener("keydown",this.onKeyDown),x.removeEventListener("keyup",this.onKeyUp),this.hotKeys=null,this.pressedKeys=null}getInitialFocusDate(){let{focusDate:x,currentView:T,selectedDates:w,parsedViewDate:{year:D,month:L}}=this.dp,A=x||w[w.length-1];if(!A)switch(T){case t.days:A=new Date(D,L,new Date().getDate());break;case t.months:A=new Date(D,L,1);break;case t.years:A=new Date(D,0,1)}return A}focusNextCell(x){let T=this.getInitialFocusDate(),{currentView:w}=this.dp,{days:D,months:L,years:A}=t,H=d(T),j=H.year,X=H.month,it=H.date;switch(x){case"ArrowLeft":w===D&&(it-=1),w===L&&(X-=1),w===A&&(j-=1);break;case"ArrowUp":w===D&&(it-=7),w===L&&(X-=3),w===A&&(j-=4);break;case"ArrowRight":w===D&&(it+=1),w===L&&(X+=1),w===A&&(j+=1);break;case"ArrowDown":w===D&&(it+=7),w===L&&(X+=3),w===A&&(j+=4)}let et=this.dp.getClampedDate(new Date(j,X,it));this.dp.setFocusDate(et,{viewDateTransition:!0})}registerKey(x){this.pressedKeys.add(x)}removeKey(x){this.pressedKeys.delete(x)}}let Ka={on(O,x){this.__events||(this.__events={}),this.__events[O]?this.__events[O].push(x):this.__events[O]=[x]},off(O,x){this.__events&&this.__events[O]&&(this.__events[O]=this.__events[O].filter((T=>T!==x)))},removeAllEvents(){this.__events={}},trigger(O){for(var x=arguments.length,T=new Array(x>1?x-1:0),w=1;w<x;w++)T[w-1]=arguments[w];this.__events&&this.__events[O]&&this.__events[O].forEach((D=>{D(...T)}))}};function ut(O,x,T){return(x=(function(w){var D=(function(L,A){if(typeof L!="object"||L===null)return L;var H=L[Symbol.toPrimitive];if(H!==void 0){var j=H.call(L,"string");if(typeof j!="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(L)})(w);return typeof D=="symbol"?D:String(D)})(x))in O?Object.defineProperty(O,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):O[x]=T,O}let Wi="",Ki="",ht=!1;class at{static buildGlobalContainer(x){ht=!0,Wi=a({className:x,id:x}),n("body").appendChild(Wi)}constructor(x,T){var w=this;if(ut(this,"viewIndexes",[t.days,t.months,t.years]),ut(this,"next",(()=>{let{year:A,month:H}=this.parsedViewDate;switch(this.currentView){case t.days:this.setViewDate(new Date(A,H+1,1));break;case t.months:this.setViewDate(new Date(A+1,H,1));break;case t.years:this.setViewDate(new Date(A+10,0,1))}})),ut(this,"prev",(()=>{let{year:A,month:H}=this.parsedViewDate;switch(this.currentView){case t.days:this.setViewDate(new Date(A,H-1,1));break;case t.months:this.setViewDate(new Date(A-1,H,1));break;case t.years:this.setViewDate(new Date(A-10,0,1))}})),ut(this,"_finishHide",(()=>{this.hideAnimation=!1,this._destroyComponents(),this.$container.removeChild(this.$datepicker)})),ut(this,"setPosition",(function(A){let H=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(typeof(A=A||w.opts.position)=="function")return void(w.customHide=A({$datepicker:w.$datepicker,$target:w.$el,$pointer:w.$pointer,isViewChange:H,done:w._finishHide}));let j,X,{isMobile:it}=w.opts,et=w.$el.getBoundingClientRect(),st=w.$el.getBoundingClientRect(),ke=w.$datepicker.offsetParent,Kr=w.$el.offsetParent,wr=w.$datepicker.getBoundingClientRect(),yn=A.split(" "),ul=window.scrollY,na=window.scrollX,oa=w.opts.offset,aa=yn[0],Vh=yn[1];if(it)w.$datepicker.style.cssText="left: 50%; top: 50%";else{if(ke===Kr&&ke!==document.body&&(st={top:w.$el.offsetTop,left:w.$el.offsetLeft,width:et.width,height:w.$el.offsetHeight},ul=0,na=0),ke!==Kr&&ke!==document.body){let Zc=ke.getBoundingClientRect();st={top:et.top-Zc.top,left:et.left-Zc.left,width:et.width,height:et.height},ul=0,na=0}switch(aa){case"top":j=st.top-wr.height-oa;break;case"right":X=st.left+st.width+oa;break;case"bottom":j=st.top+st.height+oa;break;case"left":X=st.left-wr.width-oa}switch(Vh){case"top":j=st.top;break;case"right":X=st.left+st.width-wr.width;break;case"bottom":j=st.top+st.height-wr.height;break;case"left":X=st.left;break;case"center":/left|right/.test(aa)?j=st.top+st.height/2-wr.height/2:X=st.left+st.width/2-wr.width/2}w.$datepicker.style.cssText=`left: ${X+na}px; top: ${j+ul}px`}})),ut(this,"_setInputValue",(()=>{let{opts:A,$altField:H,locale:{dateFormat:j}}=this,{altFieldDateFormat:X,altField:it}=A;it&&H&&(H.value=this._getInputValue(X)),this.$el.value=this._getInputValue(j),this.$el.dispatchEvent(new Event("change"))})),ut(this,"_getInputValue",(A=>{let{selectedDates:H,opts:j}=this,{multipleDates:X,multipleDatesSeparator:it}=j;if(!H.length)return"";let et=typeof A=="function",st=et?A(X?H:H[0]):H.map((ke=>this.formatDate(ke,A)));return st=et?st:st.join(it),st})),ut(this,"_checkIfDateIsSelected",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.days,j=!1;return w.selectedDates.some((X=>{let it=g(A,X,H);return j=it&&X,it})),j})),ut(this,"_scheduleCallAfterTransition",(A=>{this._cancelScheduledCall(),A&&A(!1),this._onTransitionEnd=()=>{A&&A(!0)},this.$datepicker.addEventListener("transitionend",this._onTransitionEnd,{once:!0})})),ut(this,"_cancelScheduledCall",(()=>{this.$datepicker.removeEventListener("transitionend",this._onTransitionEnd)})),ut(this,"setViewDate",(A=>{if(!((A=C(A))instanceof Date)||g(A,this.viewDate))return;let H=this.viewDate;this.viewDate=A;let{onChangeViewDate:j}=this.opts;if(j){let{month:X,year:it}=this.parsedViewDate;j({month:X,year:it,decade:this.curDecade})}this.trigger(t.eventChangeViewDate,A,H)})),ut(this,"setFocusDate",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!A||(A=C(A))instanceof Date)&&(w.focusDate=A,w.trigger(t.eventChangeFocusDate,A,H))})),ut(this,"setCurrentView",(function(A){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(w.viewIndexes.includes(A)){if(w.currentView=A,w.elIsInput&&w.visible&&w.setPosition(void 0,!0),w.trigger(t.eventChangeCurrentView,A),!w.views[A]){let j=w.views[A]=new Nt({dp:w,opts:w.opts,type:A});w.shouldUpdateDOM&&w.$content.appendChild(j.$el)}w.opts.onChangeView&&!H.silent&&w.opts.onChangeView(A)}})),ut(this,"_updateLastSelectedDate",(A=>{this.lastSelectedDate=A,this.trigger(t.eventChangeLastSelectedDate,A)})),ut(this,"destroy",(()=>{if(this.isDestroyed)return;let{showEvent:A,isMobile:H}=this.opts,j=this.$datepicker.parentNode;j&&j.removeChild(this.$datepicker),this.$el.removeEventListener(A,this._onFocus),this.$el.removeEventListener("blur",this._onBlur),window.removeEventListener("resize",this._onResize),H&&this._removeMobileAttributes(),this.keyboardNav&&this.keyboardNav.destroy(),this.views=null,this.nav=null,this.$datepicker=null,this.opts={},this.$customContainer=null,this.viewDate=null,this.focusDate=null,this.selectedDates=[],this.rangeDateFrom=null,this.rangeDateTo=null,this.isDestroyed=!0})),ut(this,"update",(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=I({},w.opts),{silent:X}=H;I(w.opts,A);let{timepicker:it,buttons:et,range:st,selectedDates:ke,isMobile:Kr}=w.opts,wr=w.visible||w.treatAsInline;w._createMinMaxDates(),w._limitViewDateByMaxMinDates(),w._handleLocale(),ke&&(w.selectedDates=[],w.selectDate(ke,{silent:X})),A.view&&w.setCurrentView(A.view,{silent:X}),w._setInputValue(),j.range&&!st?(w.rangeDateTo=!1,w.rangeDateFrom=!1):!j.range&&st&&w.selectedDates.length&&(w.rangeDateFrom=w.selectedDates[0],w.rangeDateTo=w.selectedDates[1]),j.timepicker&&!it?(wr&&w.timepicker.destroy(),w.timepicker=!1,w.$timepicker.parentNode.removeChild(w.$timepicker)):!j.timepicker&&it&&w._addTimepicker(),!j.buttons&&et?w._addButtons():j.buttons&&!et?(w.buttons.destroy(),w.$buttons.parentNode.removeChild(w.$buttons)):wr&&j.buttons&&et&&w.buttons.clearHtml().render(),!j.isMobile&&Kr?(w.treatAsInline||Ki||w._createMobileOverlay(),w._addMobileAttributes(),w.visible&&w._showMobileOverlay()):j.isMobile&&!Kr&&(w._removeMobileAttributes(),w.visible&&(Ki.classList.remove("-active-"),typeof w.opts.position!="function"&&w.setPosition())),wr&&(w.nav.update(),w.views[w.currentView].render(),w.currentView===t.days&&w.views[w.currentView].renderDayNames())})),ut(this,"disableDate",((A,H)=>{(Array.isArray(A)?A:[A]).forEach((j=>{let X=C(j);if(!X)return;let it=H?"delete":"add";this.disabledDates[it](this.formatDate(X,"yyyy-MM-dd"));let et=this.getCell(X,this.currentViewSingular);et&&et.adpCell.render()}),[])})),ut(this,"enableDate",(A=>{this.disableDate(A,!0)})),ut(this,"isDateDisabled",(A=>{let H=C(A);return this.disabledDates.has(this.formatDate(H,"yyyy-MM-dd"))})),ut(this,"isOtherMonth",(A=>{let{month:H}=d(A);return H!==this.parsedViewDate.month})),ut(this,"isOtherYear",(A=>{let{year:H}=d(A);return H!==this.parsedViewDate.year})),ut(this,"isOtherDecade",(A=>{let{year:H}=d(A),[j,X]=f(this.viewDate);return H<j||H>X})),ut(this,"_onChangeSelectedDate",(A=>{let{silent:H}=A;setTimeout((()=>{this._setInputValue(),this.opts.onSelect&&!H&&this._triggerOnSelect()}))})),ut(this,"_onChangeFocusedDate",(function(A){let{viewDateTransition:H}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!A)return;let j=!1;H&&(j=w.isOtherMonth(A)||w.isOtherYear(A)||w.isOtherDecade(A)),j&&w.setViewDate(A),w.opts.onFocus&&w.opts.onFocus({datepicker:w,date:A})})),ut(this,"_onChangeTime",(A=>{let{hours:H,minutes:j}=A,X=new Date,{lastSelectedDate:it,opts:{onSelect:et}}=this,st=it;it||(st=X);let ke=this.getCell(st,this.currentViewSingular),Kr=ke&&ke.adpCell;Kr&&Kr.isDisabled||(st.setHours(H),st.setMinutes(j),it?(this._setInputValue(),et&&this._triggerOnSelect()):this.selectDate(st))})),ut(this,"_onFocus",(A=>{this.visible||this.show()})),ut(this,"_onBlur",(A=>{this.inFocus||!this.visible||this.opts.isMobile||this.hide()})),ut(this,"_onMouseDown",(A=>{this.inFocus=!0})),ut(this,"_onMouseUp",(A=>{this.inFocus=!1,this.$el.focus()})),ut(this,"_onResize",(()=>{this.visible&&typeof this.opts.position!="function"&&this.setPosition()})),ut(this,"_onClickOverlay",(()=>{this.visible&&this.hide()})),ut(this,"getViewDates",(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.days;return Nt.getDatesFunction(A)(w)})),ut(this,"isWeekend",(A=>this.opts.weekends.includes(A))),ut(this,"getClampedDate",(A=>{let{minDate:H,maxDate:j}=this,X=A;return j&&v(A,j)?X=j:H&&y(A,H)&&(X=H),X})),this.$el=n(x),!this.$el)return;this.$datepicker=a({className:"air-datepicker"}),this.opts=I({},r,T),this.$customContainer=!!this.opts.container&&n(this.opts.container),this.$altField=n(this.opts.altField||!1);let{view:D,startDate:L}=this.opts;L||(this.opts.startDate=new Date),this.$el.nodeName==="INPUT"&&(this.elIsInput=!0),this.inited=!1,this.visible=!1,this.viewDate=C(this.opts.startDate),this.focusDate=!1,this.initialReadonly=this.$el.getAttribute("readonly"),this.customHide=!1,this.currentView=D,this.selectedDates=[],this.disabledDates=new Set,this.isDestroyed=!1,this.views={},this.keys=[],this.rangeDateFrom="",this.rangeDateTo="",this.timepickerIsActive=!1,this.treatAsInline=this.opts.inline||!this.elIsInput,this.init()}init(){let{opts:x,treatAsInline:T,opts:{inline:w,isMobile:D,selectedDates:L,keyboardNav:A,onlyTimepicker:H}}=this,j=n("body");(!ht||ht&&Wi&&!j.contains(Wi))&&!w&&this.elIsInput&&!this.$customContainer&&at.buildGlobalContainer(at.defaultGlobalContainerId),!D||Ki||T||this._createMobileOverlay(),this._handleLocale(),this._bindSubEvents(),this._createMinMaxDates(),this._limitViewDateByMaxMinDates(),this.elIsInput&&(w||this._bindEvents(),A&&!H&&(this.keyboardNav=new uo({dp:this,opts:x}))),L&&this.selectDate(L,{silent:!0}),this.opts.visible&&!T&&this.show(),D&&!T&&this.$el.setAttribute("readonly",!0),T&&this._createComponents()}_createMobileOverlay(){Ki=a({className:"air-datepicker-overlay"}),Wi.appendChild(Ki)}_createComponents(){let{opts:x,treatAsInline:T,opts:{inline:w,buttons:D,timepicker:L,position:A,classes:H,onlyTimepicker:j,isMobile:X}}=this;this._buildBaseHtml(),this.elIsInput&&(w||this._setPositionClasses(A)),!w&&this.elIsInput||this.$datepicker.classList.add("-inline-"),H&&this.$datepicker.classList.add(...H.split(" ")),j&&this.$datepicker.classList.add("-only-timepicker-"),X&&!T&&this._addMobileAttributes(),this.views[this.currentView]=new Nt({dp:this,type:this.currentView,opts:x}),this.nav=new er({dp:this,opts:x}),L&&this._addTimepicker(),D&&this._addButtons(),this.$content.appendChild(this.views[this.currentView].$el),this.$nav.appendChild(this.nav.$el)}_destroyComponents(){for(let x in this.views)this.views[x].destroy();this.views={},this.nav.destroy(),this.timepicker&&this.timepicker.destroy()}_addMobileAttributes(){Ki.addEventListener("click",this._onClickOverlay),this.$datepicker.classList.add("-is-mobile-"),this.$el.setAttribute("readonly",!0)}_removeMobileAttributes(){Ki.removeEventListener("click",this._onClickOverlay),this.$datepicker.classList.remove("-is-mobile-"),this.initialReadonly||this.initialReadonly===""||this.$el.removeAttribute("readonly")}_createMinMaxDates(){let{minDate:x,maxDate:T}=this.opts;this.minDate=!!x&&C(x),this.maxDate=!!T&&C(T)}_addTimepicker(){this.$timepicker=a({className:"air-datepicker--time"}),this.$datepicker.appendChild(this.$timepicker),this.timepicker=new rr({dp:this,opts:this.opts}),this.$timepicker.appendChild(this.timepicker.$el)}_addButtons(){this.$buttons=a({className:"air-datepicker--buttons"}),this.$datepicker.appendChild(this.$buttons),this.buttons=new xr({dp:this,opts:this.opts}),this.$buttons.appendChild(this.buttons.$el)}_bindSubEvents(){this.on(t.eventChangeSelectedDate,this._onChangeSelectedDate),this.on(t.eventChangeFocusDate,this._onChangeFocusedDate),this.on(t.eventChangeTime,this._onChangeTime)}_buildBaseHtml(){let{inline:x}=this.opts;var T,w;this.elIsInput?x?(T=this.$datepicker,(w=this.$el).parentNode.insertBefore(T,w.nextSibling)):this.$container.appendChild(this.$datepicker):this.$el.appendChild(this.$datepicker),this.$datepicker.innerHTML='<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>',this.$content=n(".air-datepicker--content",this.$datepicker),this.$pointer=n(".air-datepicker--pointer",this.$datepicker),this.$nav=n(".air-datepicker--navigation",this.$datepicker)}_handleLocale(){let{locale:x,dateFormat:T,firstDay:w,timepicker:D,onlyTimepicker:L,timeFormat:A,dateTimeSeparator:H}=this.opts;var j;this.locale=(j=x,JSON.parse(JSON.stringify(j))),T&&(this.locale.dateFormat=T),A!==void 0&&A!==""&&(this.locale.timeFormat=A);let{timeFormat:X}=this.locale;if(w!==""&&(this.locale.firstDay=w),D&&typeof T!="function"){let it=X?H:"";this.locale.dateFormat=[this.locale.dateFormat,X||""].join(it)}L&&typeof T!="function"&&(this.locale.dateFormat=this.locale.timeFormat)}_setPositionClasses(x){if(typeof x=="function")return void this.$datepicker.classList.add("-custom-position-");let T=(x=x.split(" "))[0],w=`air-datepicker -${T}-${x[1]}- -from-${T}-`;this.$datepicker.classList.add(...w.split(" "))}_bindEvents(){this.$el.addEventListener(this.opts.showEvent,this._onFocus),this.$el.addEventListener("blur",this._onBlur),this.$datepicker.addEventListener("mousedown",this._onMouseDown),this.$datepicker.addEventListener("mouseup",this._onMouseUp),window.addEventListener("resize",this._onResize)}_limitViewDateByMaxMinDates(){let{viewDate:x,minDate:T,maxDate:w}=this;w&&v(x,w)&&this.setViewDate(w),T&&y(x,T)&&this.setViewDate(T)}formatDate(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.viewDate,T=arguments.length>1?arguments[1]:void 0;if(x=C(x),!(x instanceof Date))return;let w=T,D=this.locale,L=d(x),A=L.dayPeriod,H=f(x),j=at.replacer,X={T:x.getTime(),m:L.minutes,mm:L.fullMinutes,h:L.hours12,hh:L.fullHours12,H:L.hours,HH:L.fullHours,aa:A,AA:A.toUpperCase(),E:D.daysShort[L.day],EEEE:D.days[L.day],d:L.date,dd:L.fullDate,M:L.month+1,MM:L.fullMonth,MMM:D.monthsShort[L.month],MMMM:D.months[L.month],yy:L.year.toString().slice(-2),yyyy:L.year,yyyy1:H[0],yyyy2:H[1]};for(let[it,et]of Object.entries(X))w=j(w,$(it),et);return w}down(x){this._handleUpDownActions(x,"down")}up(x){this._handleUpDownActions(x,"up")}selectDate(x){let T,w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{currentView:D,parsedViewDate:L,selectedDates:A}=this,{updateTime:H,silent:j}=w,{moveToOtherMonthsOnSelect:X,moveToOtherYearsOnSelect:it,multipleDates:et,range:st,autoClose:ke,onBeforeSelect:Kr}=this.opts,wr=A.length;if(Array.isArray(x))return x.forEach((yn=>{this.selectDate(yn,w)})),new Promise((yn=>{setTimeout(yn)}));if((x=C(x))instanceof Date){if(Kr&&!j&&!Kr({date:x,datepicker:this}))return Promise.resolve();if(D===t.days&&x.getMonth()!==L.month&&X&&(T=new Date(x.getFullYear(),x.getMonth(),1)),D===t.years&&x.getFullYear()!==L.year&&it&&(T=new Date(x.getFullYear(),0,1)),T&&this.setViewDate(T),et&&!st){if(wr===et)return;this._checkIfDateIsSelected(x)||A.push(x)}else if(st)switch(wr){case 1:A.push(x),this.rangeDateTo||(this.rangeDateTo=x),v(this.rangeDateFrom,this.rangeDateTo)&&(this.rangeDateTo=this.rangeDateFrom,this.rangeDateFrom=x),this.selectedDates=[this.rangeDateFrom,this.rangeDateTo];break;case 2:this.selectedDates=[x],this.rangeDateFrom=x,this.rangeDateTo="";break;default:this.selectedDates=[x],this.rangeDateFrom=x}else this.selectedDates=[x];return this.trigger(t.eventChangeSelectedDate,{action:t.actionSelectDate,silent:w?.silent,date:x,updateTime:H}),this._updateLastSelectedDate(x),ke&&!this.timepickerIsActive&&this.visible&&(et||st?st&&wr===1&&this.hide():this.hide()),new Promise((yn=>{setTimeout(yn)}))}}unselectDate(x){let T=this.selectedDates,w=this;if((x=C(x))instanceof Date)return T.some(((D,L)=>{if(g(D,x))return T.splice(L,1),w.selectedDates.length?(w.rangeDateTo="",w.rangeDateFrom=T[0],w._updateLastSelectedDate(w.selectedDates[w.selectedDates.length-1])):(w.rangeDateFrom="",w.rangeDateTo="",w._updateLastSelectedDate(!1)),this.trigger(t.eventChangeSelectedDate,{action:t.actionUnselectDate,date:x}),!0}))}replaceDate(x,T){let w=this.selectedDates.find((L=>g(L,x,this.currentView))),D=this.selectedDates.indexOf(w);D<0||g(this.selectedDates[D],T,this.currentView)||(this.selectedDates[D]=T,this.trigger(t.eventChangeSelectedDate,{action:t.actionSelectDate,date:T,updateTime:!0}),this._updateLastSelectedDate(T))}clear(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.selectedDates=[],this.rangeDateFrom=!1,this.rangeDateTo=!1,this.lastSelectedDate=!1,this.trigger(t.eventChangeSelectedDate,{action:t.actionUnselectDate,silent:x.silent}),new Promise((T=>{setTimeout(T)}))}show(){let{onShow:x,isMobile:T}=this.opts;this._cancelScheduledCall(),this.visible||this.hideAnimation||this._createComponents(),this.setPosition(this.opts.position),this.$datepicker.classList.add("-active-"),this.visible=!0,x&&this._scheduleCallAfterTransition(x),T&&this._showMobileOverlay()}hide(){let{onHide:x,isMobile:T}=this.opts,w=this._hasTransition();this.visible=!1,this.hideAnimation=!0,this.$datepicker.classList.remove("-active-"),this.customHide&&this.customHide(),this.elIsInput&&this.$el.blur(),this._scheduleCallAfterTransition((D=>{!this.customHide&&(D&&w||!D&&!w)&&this._finishHide(),x&&x(D)})),T&&Ki.classList.remove("-active-")}_triggerOnSelect(){let x=[],T=[],{selectedDates:w,locale:D,opts:{onSelect:L,multipleDates:A,range:H}}=this,j=A||H,X=typeof D.dateFormat=="function";w.length&&(x=w.map(S),T=X?A?D.dateFormat(x):x.map((it=>D.dateFormat(it))):x.map((it=>this.formatDate(it,D.dateFormat)))),L({date:j?x:x[0],formattedDate:j?T:T[0],datepicker:this})}_handleAlreadySelectedDates(x,T){let{selectedDates:w,rangeDateFrom:D,rangeDateTo:L}=this,{range:A,toggleSelected:H}=this.opts,j=w.length,X=typeof H=="function"?H({datepicker:this,date:T}):H,it=!!(A&&j===1&&x),et=it?S(T):T;A&&!X&&(j!==2&&this.selectDate(et),j===2&&g(D,L))||(X?this.unselectDate(et):this._updateLastSelectedDate(it?et:x))}_handleUpDownActions(x,T){if(!((x=C(x||this.focusDate||this.viewDate))instanceof Date))return;let w=T==="up"?this.viewIndex+1:this.viewIndex-1;w>2&&(w=2),w<0&&(w=0),this.setViewDate(new Date(x.getFullYear(),x.getMonth(),1)),this.setCurrentView(this.viewIndexes[w])}getCell(x){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.day;if(!((x=C(x))instanceof Date))return;let{year:w,month:D,date:L}=d(x),A=`[data-year="${w}"]`,H=`[data-month="${D}"]`,j={[t.day]:`${A}${H}[data-date="${L}"]`,[t.month]:`${A}${H}`,[t.year]:`${A}`};return this.views[this.currentView]?this.views[this.currentView].$el.querySelector(j[T]):void 0}_showMobileOverlay(){Ki.classList.add("-active-")}_hasTransition(){return window.getComputedStyle(this.$datepicker).getPropertyValue("transition-duration").split(", ").reduce(((x,T)=>parseFloat(T)+x),0)>0}get shouldUpdateDOM(){return this.visible||this.treatAsInline}get parsedViewDate(){return d(this.viewDate)}get currentViewSingular(){return this.currentView.slice(0,-1)}get curDecade(){return f(this.viewDate)}get viewIndex(){return this.viewIndexes.indexOf(this.currentView)}get isFinalView(){return this.currentView===t.years}get hasSelectedDates(){return this.selectedDates.length>0}get isMinViewReached(){return this.currentView===this.opts.minView||this.currentView===t.days}get $container(){return this.$customContainer||Wi}static replacer(x,T,w){return x.replace(T,(function(D,L,A,H){return L+w+H}))}}var xt;return ut(at,"defaults",r),ut(at,"version","3.6.0"),ut(at,"defaultGlobalContainerId","air-datepicker-global-container"),xt=at.prototype,Object.assign(xt,Ka),i.default})()}))});var fl=globalThis,jg=o=>o,td=fl.trustedTypes,Gg=td?td.createPolicy("lit-html",{createHTML:o=>o}):void 0,jh="$lit$",Vn=`lit$${Math.random().toFixed(9).slice(2)}$`,Gh="?"+Vn,l3=`<${Gh}>`,ca=document,gl=()=>ca.createComment(""),bl=o=>o===null||typeof o!="object"&&typeof o!="function",Wh=Array.isArray,Jg=o=>Wh(o)||typeof o?.[Symbol.iterator]=="function",Uh=`[
3
3
  \f\r]`,ml=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wg=/-->/g,Kg=/>/g,sa=RegExp(`>|${Uh}(?:([^\\s"'>=/]+)(${Uh}*=${Uh}*(?:[^
4
4
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Yg=/'/g,Xg=/"/g,Zg=/^(?:script|style|textarea|title)$/i,Kh=o=>(i,...t)=>({_$litType$:o,strings:i,values:t}),u=Kh(1),Yi=Kh(2),tb=Kh(3),ge=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Qg=new WeakMap,la=ca.createTreeWalker(ca,129);function eb(o,i){if(!Wh(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gg!==void 0?Gg.createHTML(i):i}var rb=(o,i)=>{let t=o.length-1,r=[],n,a=i===2?"<svg>":i===3?"<math>":"",s=ml;for(let l=0;l<t;l++){let d=o[l],h,m,f=-1,b=0;for(;b<d.length&&(s.lastIndex=b,m=s.exec(d),m!==null);)b=s.lastIndex,s===ml?m[1]==="!--"?s=Wg:m[1]!==void 0?s=Kg:m[2]!==void 0?(Zg.test(m[2])&&(n=RegExp("</"+m[2],"g")),s=sa):m[3]!==void 0&&(s=sa):s===sa?m[0]===">"?(s=n??ml,f=-1):m[1]===void 0?f=-2:(f=s.lastIndex-m[2].length,h=m[1],s=m[3]===void 0?sa:m[3]==='"'?Xg:Yg):s===Xg||s===Yg?s=sa:s===Wg||s===Kg?s=ml:(s=sa,n=void 0);let g=s===sa&&o[l+1].startsWith("/>")?" ":"";a+=s===ml?d+l3:f>=0?(r.push(h),d.slice(0,f)+jh+d.slice(f)+Vn+g):d+Vn+(f===-2?l:g)}return[eb(o,a+(o[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),r]},vl=class o{constructor({strings:i,_$litType$:t},r){let n;this.parts=[];let a=0,s=0,l=i.length-1,d=this.parts,[h,m]=rb(i,t);if(this.el=o.createElement(h,r),la.currentNode=this.el.content,t===2||t===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=la.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let f of n.getAttributeNames())if(f.endsWith(jh)){let b=m[s++],g=n.getAttribute(f).split(Vn),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:v[2],strings:g,ctor:v[1]==="."?rd:v[1]==="?"?id:v[1]==="@"?nd:pa}),n.removeAttribute(f)}else f.startsWith(Vn)&&(d.push({type:6,index:a}),n.removeAttribute(f));if(Zg.test(n.tagName)){let f=n.textContent.split(Vn),b=f.length-1;if(b>0){n.textContent=td?td.emptyScript:"";for(let g=0;g<b;g++)n.append(f[g],gl()),la.nextNode(),d.push({type:2,index:++a});n.append(f[b],gl())}}}else if(n.nodeType===8)if(n.data===Gh)d.push({type:2,index:a});else{let f=-1;for(;(f=n.data.indexOf(Vn,f+1))!==-1;)d.push({type:7,index:a}),f+=Vn.length-1}a++}}static createElement(i,t){let r=ca.createElement("template");return r.innerHTML=i,r}};function da(o,i,t=o,r){if(i===ge)return i;let n=r!==void 0?t._$Co?.[r]:t._$Cl,a=bl(i)?void 0:i._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,t,r)),r!==void 0?(t._$Co??(t._$Co=[]))[r]=n:t._$Cl=n),n!==void 0&&(i=da(o,n._$AS(o,i.values),n,r)),i}var ed=class{constructor(i,t){this._$AV=[],this._$AN=void 0,this._$AD=i,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(i){let{el:{content:t},parts:r}=this._$AD,n=(i?.creationScope??ca).importNode(t,!0);la.currentNode=n;let a=la.nextNode(),s=0,l=0,d=r[0];for(;d!==void 0;){if(s===d.index){let h;d.type===2?h=new Ya(a,a.nextSibling,this,i):d.type===1?h=new d.ctor(a,d.name,d.strings,this,i):d.type===6&&(h=new od(a,this,i)),this._$AV.push(h),d=r[++l]}s!==d?.index&&(a=la.nextNode(),s++)}return la.currentNode=ca,n}p(i){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(i,r,t),t+=r.strings.length-2):r._$AI(i[t])),t++}},Ya=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(i,t,r,n){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=i,this._$AB=t,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let i=this._$AA.parentNode,t=this._$AM;return t!==void 0&&i?.nodeType===11&&(i=t.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,t=this){i=da(this,i,t),bl(i)?i===B||i==null||i===""?(this._$AH!==B&&this._$AR(),this._$AH=B):i!==this._$AH&&i!==ge&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Jg(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==B&&bl(this._$AH)?this._$AA.nextSibling.data=i:this.T(ca.createTextNode(i)),this._$AH=i}$(i){let{values:t,_$litType$:r}=i,n=typeof r=="number"?this._$AC(i):(r.el===void 0&&(r.el=vl.createElement(eb(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(t);else{let a=new ed(n,this),s=a.u(this.options);a.p(t),this.T(s),this._$AH=a}}_$AC(i){let t=Qg.get(i.strings);return t===void 0&&Qg.set(i.strings,t=new vl(i)),t}k(i){Wh(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,n=0;for(let a of i)n===t.length?t.push(r=new o(this.O(gl()),this.O(gl()),this,this.options)):r=t[n],r._$AI(a),n++;n<t.length&&(this._$AR(r&&r._$AB.nextSibling,n),t.length=n)}_$AR(i=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);i!==this._$AB;){let r=jg(i).nextSibling;jg(i).remove(),i=r}}setConnected(i){this._$AM===void 0&&(this._$Cv=i,this._$AP?.(i))}},pa=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(i,t,r,n,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=i,this.name=t,this._$AM=n,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=B}_$AI(i,t=this,r,n){let a=this.strings,s=!1;if(a===void 0)i=da(this,i,t,0),s=!bl(i)||i!==this._$AH&&i!==ge,s&&(this._$AH=i);else{let l=i,d,h;for(i=a[0],d=0;d<a.length-1;d++)h=da(this,l[r+d],t,d),h===ge&&(h=this._$AH[d]),s||(s=!bl(h)||h!==this._$AH[d]),h===B?i=B:i!==B&&(i+=(h??"")+a[d+1]),this._$AH[d]=h}s&&!n&&this.j(i)}j(i){i===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,i??"")}},rd=class extends pa{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===B?void 0:i}},id=class extends pa{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==B)}},nd=class extends pa{constructor(i,t,r,n,a){super(i,t,r,n,a),this.type=5}_$AI(i,t=this){if((i=da(this,i,t,0)??B)===ge)return;let r=this._$AH,n=i===B&&r!==B||i.capture!==r.capture||i.once!==r.once||i.passive!==r.passive,a=i!==B&&(r===B||n);n&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,i),this._$AH=i}handleEvent(i){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,i):this._$AH.handleEvent(i)}},od=class{constructor(i,t,r){this.element=i,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(i){da(this,i)}},ib={M:jh,P:Vn,A:Gh,C:1,L:rb,R:ed,D:Jg,V:da,I:Ya,H:pa,N:id,U:nd,B:rd,F:od},c3=fl.litHtmlPolyfillSupport;c3?.(vl,Ya),(fl.litHtmlVersions??(fl.litHtmlVersions=[])).push("3.3.3");var Xa=(o,i,t)=>{let r=t?.renderBefore??i,n=r._$litPart$;if(n===void 0){let a=t?.renderBefore??null;r._$litPart$=n=new Ya(i.insertBefore(gl(),a),a,void 0,t??{})}return n._$AI(o),n};var cr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},be=o=>(...i)=>({_$litDirective$:o,values:i}),ir=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,r){this._$Ct=i,this._$AM=t,this._$Ci=r}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var q=be(class extends ir{constructor(o){if(super(o),o.type!==cr.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(i=>o[i]).join(" ")+" "}update(o,[i]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(r=>r!=="")));for(let r in i)i[r]&&!this.nt?.has(r)&&this.st.add(r);return this.render(i)}let t=o.element.classList;for(let r of this.st)r in i||(t.remove(r),this.st.delete(r));for(let r in i){let n=!!i[r];n===this.st.has(r)||this.nt?.has(r)||(n?(t.add(r),this.st.add(r)):(t.remove(r),this.st.delete(r)))}return ge}});var ad=globalThis,sd=ad.ShadowRoot&&(ad.ShadyCSS===void 0||ad.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yh=Symbol(),nb=new WeakMap,yl=class{constructor(i,t,r){if(this._$cssResult$=!0,r!==Yh)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(sd&&i===void 0){let r=t!==void 0&&t.length===1;r&&(i=nb.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),r&&nb.set(t,i))}return i}toString(){return this.cssText}},z=o=>new yl(typeof o=="string"?o:o+"",void 0,Yh),_=(o,...i)=>{let t=o.length===1?o[0]:i.reduce((r,n,a)=>r+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[a+1],o[0]);return new yl(t,o,Yh)},ob=(o,i)=>{if(sd)o.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let r=document.createElement("style"),n=ad.litNonce;n!==void 0&&r.setAttribute("nonce",n),r.textContent=t.cssText,o.appendChild(r)}},Xh=sd?o=>o:o=>o instanceof CSSStyleSheet?(i=>{let t="";for(let r of i.cssRules)t+=r.cssText;return z(t)})(o):o;var{is:d3,defineProperty:p3,getOwnPropertyDescriptor:h3,getOwnPropertyNames:u3,getOwnPropertySymbols:m3,getPrototypeOf:f3}=Object,mo=globalThis,ab=mo.trustedTypes,g3=ab?ab.emptyScript:"",b3=mo.reactiveElementPolyfillSupport,xl=(o,i)=>o,fo={toAttribute(o,i){switch(i){case Boolean:o=o?g3:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,i){let t=o;switch(i){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Qa=(o,i)=>!d3(o,i),sb={attribute:!0,type:String,converter:fo,reflect:!1,useDefault:!1,hasChanged:Qa};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),mo.litPropertyMetadata??(mo.litPropertyMetadata=new WeakMap);var Un=class extends HTMLElement{static addInitializer(i){this._$Ei(),(this.l??(this.l=[])).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=sb){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(i)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(i,t),!t.noAccessor){let r=Symbol(),n=this.getPropertyDescriptor(i,r,t);n!==void 0&&p3(this.prototype,i,n)}}static getPropertyDescriptor(i,t,r){let{get:n,set:a}=h3(this.prototype,i)??{get(){return this[t]},set(s){this[t]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(i,l,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){return this.elementProperties.get(i)??sb}static _$Ei(){if(this.hasOwnProperty(xl("elementProperties")))return;let i=f3(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(xl("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xl("properties"))){let t=this.properties,r=[...u3(t),...m3(t)];for(let n of r)this.createProperty(n,t[n])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[r,n]of t)this.elementProperties.set(r,n)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let n=this._$Eu(t,r);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let r=new Set(i.flat(1/0).reverse());for(let n of r)t.unshift(Xh(n))}else i!==void 0&&t.push(Xh(i));return t}static _$Eu(i,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(i=>i(this))}addController(i){(this._$EO??(this._$EO=new Set)).add(i),this.renderRoot!==void 0&&this.isConnected&&i.hostConnected?.()}removeController(i){this._$EO?.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(i.set(r,this[r]),delete this[r]);i.size>0&&(this._$Ep=i)}createRenderRoot(){let i=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ob(i,this.constructor.elementStyles),i}connectedCallback(){this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),this._$EO?.forEach(i=>i.hostConnected?.())}enableUpdating(i){}disconnectedCallback(){this._$EO?.forEach(i=>i.hostDisconnected?.())}attributeChangedCallback(i,t,r){this._$AK(i,r)}_$ET(i,t){let r=this.constructor.elementProperties.get(i),n=this.constructor._$Eu(i,r);if(n!==void 0&&r.reflect===!0){let a=(r.converter?.toAttribute!==void 0?r.converter:fo).toAttribute(t,r.type);this._$Em=i,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(i,t){let r=this.constructor,n=r._$Eh.get(i);if(n!==void 0&&this._$Em!==n){let a=r.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:fo;this._$Em=n;let l=s.fromAttribute(t,a.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(i,t,r,n=!1,a){if(i!==void 0){let s=this.constructor;if(n===!1&&(a=this[i]),r??(r=s.getPropertyOptions(i)),!((r.hasChanged??Qa)(a,t)||r.useDefault&&r.reflect&&a===this._$Ej?.get(i)&&!this.hasAttribute(s._$Eu(i,r))))return;this.C(i,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(i,t,{useDefault:r,reflect:n,wrapped:a},s){r&&!(this._$Ej??(this._$Ej=new Map)).has(i)&&(this._$Ej.set(i,s??t??this[i]),a!==!0||s!==void 0)||(this._$AL.has(i)||(this.hasUpdated||r||(t=void 0),this._$AL.set(i,t)),n===!0&&this._$Em!==i&&(this._$Eq??(this._$Eq=new Set)).add(i))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[n,a]of r){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),this._$EO?.forEach(r=>r.hostUpdate?.()),this.update(t)):this._$EM()}catch(r){throw i=!1,this._$EM(),r}i&&this._$AE(t)}willUpdate(i){}_$AE(i){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(i){}firstUpdated(i){}};Un.elementStyles=[],Un.shadowRootOptions={mode:"open"},Un[xl("elementProperties")]=new Map,Un[xl("finalized")]=new Map,b3?.({ReactiveElement:Un}),(mo.reactiveElementVersions??(mo.reactiveElementVersions=[])).push("2.1.2");var wl=globalThis,go=class extends Un{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;let i=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=i.firstChild),i}update(i){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this._$Do=Xa(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ge}};go._$litElement$=!0,go.finalized=!0,wl.litElementHydrateSupport?.({LitElement:go});var v3=wl.litElementPolyfillSupport;v3?.({LitElement:go});(wl.litElementVersions??(wl.litElementVersions=[])).push("4.2.2");var lb=new WeakMap;function cb(o){let i=lb.get(o);return i||(i=window.getComputedStyle(o,null),lb.set(o,i)),i}function y3(o){if(typeof o.checkVisibility=="function")return o.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0});let i=cb(o);return i.visibility!=="hidden"&&i.display!=="none"}function x3(o){let i=cb(o),{overflowY:t,overflowX:r}=i;return t==="scroll"||r==="scroll"?!0:t!=="auto"||r!=="auto"?!1:o.scrollHeight>o.clientHeight&&t==="auto"||o.scrollWidth>o.clientWidth&&r==="auto"}function w3(o){let i=o.tagName.toLowerCase(),t=Number(o.getAttribute("tabindex"));return o.hasAttribute("tabindex")&&(isNaN(t)||t<=-1)||o.hasAttribute("disabled")||o.closest("[inert]")||i==="input"&&o.getAttribute("type")==="radio"&&!o.hasAttribute("checked")||!y3(o)?!1:(i==="audio"||i==="video")&&o.hasAttribute("controls")||o.hasAttribute("tabindex")||o.hasAttribute("contenteditable")&&o.getAttribute("contenteditable")!=="false"||["button","input","select","textarea","a","audio","video","summary","iframe"].includes(i)?!0:x3(o)}function db(o){let i=Qh(o),t=i[0]??null,r=i[i.length-1]??null;return{start:t,end:r}}function z3(o,i){return o.getRootNode({composed:!0})?.host!==i}function Qh(o){let i=new WeakMap,t=[];function r(n){if(n instanceof Element){if(n.hasAttribute("inert")||n.closest("[inert]")||i.has(n))return;i.set(n,!0),!t.includes(n)&&w3(n)&&t.push(n),n instanceof HTMLSlotElement&&z3(n,o)&&n.assignedElements({flatten:!0}).forEach(a=>{r(a)}),n.shadowRoot!==null&&n.shadowRoot.mode==="open"&&r(n.shadowRoot)}for(let a of n.children)r(a)}return r(o),t.sort((n,a)=>{let s=Number(n.getAttribute("tabindex"))||0;return(Number(a.getAttribute("tabindex"))||0)-s})}var pb=new WeakMap,Jh=class{constructor(i){this.handleKeyDown=i=>{if(i.key==="Enter"){if(i.altKey||i.ctrlKey||i.metaKey||i.shiftKey||i.isComposing||i.defaultPrevented)return;let r=i.target;if(this.isSelectOption(r)){i.preventDefault(),setTimeout(()=>{let a=this.findParentSelect(r);a&&this.focusNextControl(a)},0);return}if(this.shouldSkipEnterKey(r)||r.hasAttribute("trigger-submit"))return;let n=this.findParentGroup(r);if(n){i.preventDefault(),this.focusNextInGroup(r,n)||this.focusNextControl(n);return}i.preventDefault(),this.areRequiredFieldsFilled()?this.submitForm():this.focusNextControl(r);return}if(i.key==="ArrowDown"){let t=i.target,r=t.tagName;if(!(i.altKey||i.ctrlKey||i.metaKey||i.shiftKey)&&!i.defaultPrevented){let a=this.findParentGroup(t);if(a){i.preventDefault(),this.focusNextInGroup(t,a)||this.focusNextControl(a);return}(r==="ZN-CHECKBOX"||r==="ZN-TOGGLE")&&(i.preventDefault(),this.focusNextControl(t))}}if(i.key==="ArrowUp"){let t=i.target,r=t.tagName;if(!(i.altKey||i.ctrlKey||i.metaKey||i.shiftKey)&&!i.defaultPrevented){let a=this.findParentGroup(t);if(a){i.preventDefault(),this.focusPreviousInGroup(t,a)||this.focusPreviousControl(a);return}(r==="ZN-CHECKBOX"||r==="ZN-TOGGLE")&&(i.preventDefault(),this.focusPreviousControl(t))}}};this.form=i,this.form.addEventListener("keydown",this.handleKeyDown,!0)}shouldSkipEnterKey(i){let t=i.tagName.toLowerCase();return t==="zn-textarea"||t==="textarea"||(t==="zn-input"||t==="input")&&i.getAttribute("type")==="search"?!0:t==="button"||t==="zn-button"}shouldExcludeFromNavigation(i){let t=i.tagName.toLowerCase();return t==="button"||t==="zn-button"}isSelectOption(i){return i.tagName.toLowerCase()==="zn-option"}findParentSelect(i){let t=i;for(;t;){if(t.tagName.toLowerCase()==="zn-select")return t;let r=t.getRootNode();if(r instanceof ShadowRoot)t=r.host;else if(t.parentElement)t=t.parentElement;else break}return null}findParentGroup(i){let t=i;for(;t;){let r=t.tagName;if(r==="ZN-RADIO-GROUP"||r==="ZN-CHECKBOX-GROUP")return t;let n=t.getRootNode();if(n instanceof ShadowRoot)t=n.host;else if(t.parentElement)t=t.parentElement;else break}return null}getGroupItems(i){let t=i.tagName==="ZN-RADIO-GROUP"?"ZN-RADIO":"ZN-CHECKBOX",r=[],n=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>s.tagName===t?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),a;for(;a=n.nextNode();)r.push(a);return r}focusNextInGroup(i,t){let r=this.getGroupItems(t);if(r.length===0)return!1;let n=-1;for(let a=0;a<r.length;a++)if(r[a]===i||r[a].contains(i)){n=a;break}if(n>=0&&n<r.length-1){let a=r[n+1];if(typeof a.focus=="function")return a.focus(),!0}return!1}focusPreviousInGroup(i,t){let r=this.getGroupItems(t);if(r.length===0)return!1;let n=-1;for(let a=0;a<r.length;a++)if(r[a]===i||r[a].contains(i)){n=a;break}if(n>0){let a=r[n-1];if(typeof a.focus=="function")return a.focus(),!0}return!1}areRequiredFieldsFilled(){let i=ha.get(this.form);if(!i)return!0;for(let t of i){let r=t;if(!r.name||r.disabled)continue;let n=r.value;if(!(n!=null&&n!=="")||typeof r.checkValidity=="function"&&!r.checkValidity())return!1}return!0}getNavigableControls(){let i=Qh(this.form),t=[],r=new Set;for(let n of i){let a=n.tagName.toLowerCase();if(["zn-input","zn-select","zn-datepicker","zn-textarea","zn-file","zn-checkbox","zn-radio","zn-radio-group","zn-toggle"].includes(a)){if(a==="zn-radio"){let h=n.closest("zn-radio-group");if(h){r.has(h)||(r.add(h),this.shouldExcludeFromNavigation(h)||t.push(h));continue}}if(r.has(n)||(r.add(n),this.shouldExcludeFromNavigation(n)))continue;t.push(n);continue}let l=n.getRootNode().host;if(l&&l!==this.form){let h=l.tagName.toLowerCase();if(["zn-input","zn-select","zn-datepicker","zn-textarea","zn-file","zn-checkbox","zn-radio","zn-radio-group","zn-toggle"].includes(h)){if(h==="zn-radio"){let f=l.closest("zn-radio-group");if(f){r.has(f)||(r.add(f),this.shouldExcludeFromNavigation(f)||t.push(f));continue}}if(r.has(l)||(r.add(l),this.shouldExcludeFromNavigation(l)))continue;t.push(l);continue}}if(["input","select"].includes(a)){if(r.has(n)||(r.add(n),n.getAttribute("type")==="search"))continue;t.push(n)}}return t}findCurrentControlIndex(i,t){for(let r=0;r<t.length;r++){let n=t[r];if(n===i)return r;let a=i.getRootNode();if(a instanceof ShadowRoot&&a.host===n||n.contains(i)||i.contains(n))return r}return-1}focusNextControl(i){let t=this.getNavigableControls(),r=this.findCurrentControlIndex(i,t);if(r>=0&&r<t.length-1){let n=t[r+1];if(typeof n.focus=="function"&&(n.focus(),n.tagName.toLowerCase()==="zn-select")){let s=n;typeof s.show=="function"&&setTimeout(()=>{s.show?.()},0)}}}focusPreviousControl(i){let t=this.getNavigableControls(),r=this.findCurrentControlIndex(i,t);if(r>0){let n=t[r-1];if(typeof n.focus=="function"&&(n.focus(),n.tagName.toLowerCase()==="zn-select")){let s=n;typeof s.show=="function"&&setTimeout(()=>{s.show?.()},0)}}}submitForm(){let i=this.form.querySelector('[type="submit"]');if(i)i.click();else if(typeof this.form.requestSubmit=="function")this.form.requestSubmit();else{let t=new Event("submit",{bubbles:!0,cancelable:!0});this.form.dispatchEvent(t)}}destroy(){this.form.removeEventListener("keydown",this.handleKeyDown,!0)}};function hb(o){let i=pb.get(o);return i||(i=new Jh(o),pb.set(o,i)),i}function dr(o){return`#${CSS.escape(o.startsWith("#")?o.slice(1):o)}`}function _3(o,i=document){let t=i.querySelector(o);if(t)return t;for(let r of i.querySelectorAll("*"))if(r.shadowRoot){let n=_3(o,r.shadowRoot);if(n)return n}return null}function k3(o,i=document,t=[]){t.push(...i.querySelectorAll(o));for(let r of i.querySelectorAll("*"))r.shadowRoot&&k3(o,r.shadowRoot,t);return t}function Gt(o,i,t){let r=[],n=(a,s)=>{if(!a||a.nodeType!==Node.ELEMENT_NODE||s&&t&&a.matches(t))return;a.matches(o)&&r.push(a);let l=a.children;if(l.length)for(let h of l)n(h,!0);let d=a.shadowRoot;if(d){let h=d.children;for(let m of h)n(m,!0)}};return n(i,!1),r}var _r=class{constructor(i,t,r=0){this.storage=i,this.prefix=t,this.ttl=r*1e3,this.cleanup()}get(i){return!i||i.length<1?null:this.stripTtl(this.storage.getItem(this.prefix+i))}stripTtl(i){if(i===null)return null;let t=i.split(",");if(t.length===1)return t[0];let r=t.shift(),n=r?parseInt(r):0;return n>0&&n<Date.now()?null:t.join(",")||""}setWithTTL(i,t,r){!i||i.length<1||(r=r>0?Date.now()+r*1e3:0,this.storage.setItem(this.prefix+i,r+","+t))}set(i,t){this.setWithTTL(i,t,this.ttl)}remove(i){this.storage.removeItem(this.prefix+i)}cleanup(){for(let i=0;i<this.storage.length;i++){let t=this.storage.key(i);t!==null&&t.startsWith(this.prefix)&&this.stripTtl(this.storage.getItem(t))===null&&this.storage.removeItem(t)}}};var ha=new WeakMap,zl=new WeakMap,_l=new WeakMap,ld=new WeakMap,Zh=new WeakSet,cd=new WeakMap,bb="znform:";function tu(o=!1){try{return o?window.localStorage:window.sessionStorage}catch{return null}}function C3(o=!1,i=0){let t=tu(o);return t?new _r(t,bb,i):null}function ub(o){let i=o?.getAttribute("store-ttl");return i&&Number(i)||0}function mb(o){return!!o?.hasAttribute("local-storage")}function vb(o){return o?.getAttribute("store-key")||""}function S3(o){return o.getAttribute("store-key")||""}function E3(o){return o.getAttribute("name")||("name"in o&&typeof o.name=="string"?o.name:"")}function yb(o,i){let t=S3(o),r=vb(i);if(t)return r?`${r}:${t}`:t;let n=E3(o);return r&&n?`${r}:${n}`:""}function xb(o,i){let t=mb(o)||mb(i),r=ub(o)||ub(i);return C3(t,r)}function wb(o,i){let t=yb(o,i),n=(t?xb(o,i):null)?.get(t);if(!n)return null;try{return JSON.parse(n)}catch{return{value:n}}}function zb(o,i,t){let r=yb(o,i),n=r?xb(o,i):null;n&&n.set(r,JSON.stringify(t))}function T3(o){return o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement}function $3(o){return o instanceof HTMLInputElement&&(o.type==="checkbox"||o.type==="radio")?{checked:o.checked,value:o.value}:{value:o.value}}function A3(o){o.querySelectorAll("input, textarea, select").forEach(t=>{let r=wb(t,o);if(r){if(t instanceof HTMLInputElement&&(t.type==="checkbox"||t.type==="radio")){typeof r.checked=="boolean"&&(t.checked=r.checked);return}"value"in r&&(t.value=String(r.value??""))}})}function fb(o,i){!T3(o)||o.form!==i||zb(o,i,$3(o))}function M3(o,i){let t={value:i};return"checked"in o&&typeof o.checked=="boolean"&&(t.checked=o.checked),"indeterminate"in o&&typeof o.indeterminate=="boolean"&&(t.indeterminate=o.indeterminate),t}function gb(o,i){let t=[],r=bb+i;for(let n=0;n<o.length;n++){let a=o.key(n);(a===r||a?.startsWith(r+":"))&&t.push(a)}t.forEach(n=>o.removeItem(n))}function L3(o){let i=typeof o=="string"?o:vb(o);if(!i)return;let t=tu(!0),r=tu(!1);t&&gb(t,i),r&&r!==t&&gb(r,i)}var rt=class{constructor(i,t){this.handleFormData=i=>{let t=this.options.disabled(this.host),r=this.options.name(this.host),n=this.options.value(this.host),a=this.host.tagName.toLowerCase()==="zn-button";if(this.host.isConnected&&!t&&!a&&r.length>0&&typeof n<"u"){let s=m=>{i.formData.append(r,m.toString())},l=(m,f)=>{let b=m,g=f??(typeof b.name=="string"?b.name:void 0);typeof g=="string"?i.formData.append(r,m,g):i.formData.append(r,m)},d=m=>typeof FileList<"u"&&m instanceof FileList,h=m=>typeof Blob<"u"&&m instanceof Blob;if(d(n)){if(n.length>0)for(let m=0;m<n.length;m++){let f=n.item(m);f&&l(f,f.name)}}else h(n)?l(n,n.name):Array.isArray(n)?n.forEach(m=>{if(h(m))l(m,m.name);else if(d(m)){let f=m;for(let b=0;b<f.length;b++){let g=f.item(b);g&&l(g,g.name)}}else s(m)}):s(n);this.host.dispatchEvent(new CustomEvent("zn-formdata",{bubbles:!0,composed:!0}))}};this.handleFormSubmit=i=>{let t=this.options.disabled(this.host),r=this.options.reportValidity;this.form&&!this.form.noValidate&&ha.get(this.form)?.forEach(s=>{this.setUserInteracted(s,!0)});let n=this.form?.querySelector('[type="submit"]'),a=n?.innerHTML??"Submit";n&&(n.setAttribute("data-original-text",a),setTimeout(()=>{n.disabled=!0,n.innerHTML=this.form?.hasAttribute("data-no-loading-text")?a:this.form?.getAttribute("data-loading-text")||"Processing..."},20),setTimeout(()=>{n.disabled=!1,n.innerHTML=a},15e3)),this.form&&!this.form.noValidate&&!t&&!r(this.host)&&(i.preventDefault(),i.stopImmediatePropagation(),n&&(n.disabled=!1,n.innerHTML=a))};this.enableSubmit=i=>{if(i.target!==this.form)return;let r=this.form?.querySelector('[type="submit"]');if(r){let n=r.getAttribute("data-original-text")??r.innerHTML;r.disabled=!1,r.innerHTML=n}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),cd.set(this.host,[])};this.handleInteraction=i=>{let t=cd.get(this.host);t.includes(i.type)||t.push(i.type),t.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0),this.persistHostValue(),this.checkFormValidity()};this.checkFormValidity=()=>{let i=this.form?.querySelector('[type="submit"]');if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let r of t)if(typeof r.checkValidity=="function"&&!r.checkValidity())return i?.setAttribute("disabled","disabled"),!1}return i?.removeAttribute("disabled"),!0};this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){let i=this.form.querySelectorAll("*");for(let t of i)if(typeof t.reportValidity=="function"&&!t.reportValidity())return!1}return!0};(this.host=i).addController(this),this.options={form:r=>{let n=r.form;if(n){let s=r.getRootNode().querySelector(dr(n));if(s)return s}return r.closest("form")},name:r=>r.name,value:r=>r.value,defaultValue:r=>r.defaultValue,disabled:r=>r.disabled??!1,reportValidity:r=>typeof r.reportValidity=="function"?r.reportValidity():!0,checkValidity:r=>typeof r.checkValidity=="function"?r.checkValidity():!0,setValue:(r,n)=>r.value=n,assumeInteractionOn:["zn-input"],...t}}async hostConnected(){let i=this.options.form(this.host);i&&this.attachForm(i),cd.set(this.host,[]),this.options.assumeInteractionOn.forEach(t=>{this.host.addEventListener(t,this.handleInteraction)}),await this.host.updateComplete,this.restorePersistedValue(),i&&this.checkFormValidity()}hostDisconnected(){this.detachForm(),cd.delete(this.host),this.options.assumeInteractionOn.forEach(i=>{this.host.removeEventListener(i,this.handleInteraction)})}hostUpdated(){let i=this.options.form(this.host);i||this.detachForm(),i&&this.form!==i&&(this.detachForm(),this.attachForm(i)),this.host.hasUpdated&&this.setValidity(this.host.validity?.valid)}attachForm(i){if(!i){this.form=void 0;return}this.form=i,ha.has(this.form)?ha.get(this.form).add(this.host):ha.set(this.form,new Set([this.host])),this.form.hasAttribute("data-enter-navigation")&&hb(this.form),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),this.form.addEventListener("complete",this.enableSubmit),this.form.addEventListener("cancelled",this.enableSubmit),this.form.addEventListener("error",this.enableSubmit),this.attachFormPersistence(this.form),zl.has(this.form)||(zl.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity()),_l.has(this.form)||(_l.set(this.form,this.form.checkValidity),this.form.checkValidity=()=>this.checkFormValidity())}detachForm(){if(!this.form)return;let i=ha.get(this.form);i&&(i.delete(this.host),i.size<=0&&(this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),this.form.removeEventListener("complete",this.enableSubmit),this.form.removeEventListener("cancelled",this.enableSubmit),this.form.removeEventListener("error",this.enableSubmit),this.detachFormPersistence(this.form),zl.has(this.form)&&(this.form.reportValidity=zl.get(this.form),zl.delete(this.form)),_l.has(this.form)&&(this.form.checkValidity=_l.get(this.form),_l.delete(this.form)),this.form=void 0))}attachFormPersistence(i){if(ld.has(i))return;let t=n=>fb(n.target,i),r=n=>fb(n.target,i);i.addEventListener("input",t),i.addEventListener("change",r),ld.set(i,{handleInput:t,handleChange:r}),A3(i)}detachFormPersistence(i){let t=ld.get(i);t&&(i.removeEventListener("input",t.handleInput),i.removeEventListener("change",t.handleChange),ld.delete(i))}restorePersistedValue(){let i=wb(this.host,this.form);i&&("checked"in this.host&&typeof i.checked=="boolean"?this.options.setValue(this.host,i.checked):"value"in i&&this.options.setValue(this.host,i.value),"indeterminate"in this.host&&typeof i.indeterminate=="boolean"&&(this.host.indeterminate=i.indeterminate))}persistHostValue(){zb(this.host,this.form,M3(this.host,this.options.value(this.host)))}setUserInteracted(i,t){t?Zh.add(i):Zh.delete(i),i.requestUpdate()}doAction(i,t){if(this.form){let r=document.createElement("button");r.type=i,r.style.position="absolute",r.style.width="0",r.style.height="0",r.style.clipPath="inset(50%)",r.style.overflow="hidden",r.style.whiteSpace="nowrap",t&&(r.name=t.name,r.value=t.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(n=>{t.hasAttribute(n)&&r.setAttribute(n,t.getAttribute(n))})),this.form.append(r),this.form instanceof HTMLFormElement&&document.dispatchEvent(new CustomEvent("zn-register-element",{detail:{element:this.form}})),r.click(),r.remove()}}getForm(){return this.form??null}reset(i){this.doAction("reset",i)}submit(i){this.doAction("submit",i)}setValidity(i){let t=this.host,r=!!Zh.has(t),n=!!t.required;t.toggleAttribute("data-required",n),t.toggleAttribute("data-optional",!n),t.toggleAttribute("data-invalid",!i),t.toggleAttribute("data-valid",i),t.toggleAttribute("data-user-invalid",!i&&r),t.toggleAttribute("data-user-valid",i&&r)}updateValidity(){let i=this.host;this.setValidity(i.validity?.valid)}emitInvalidEvent(i){let t=new CustomEvent("zn-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});i||t.preventDefault(),this.host.dispatchEvent(t)||i?.preventDefault()}},de=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),dd=Object.freeze({...de,customError:!0,valid:!1}),pd=Object.freeze({...de,valueMissing:!0,valid:!1});var Y=class{constructor(i,...t){this.slotNames=[];this.handleSlotChange=i=>{let t=i.target;(this.slotNames.includes("[default]")&&!t.name||t.name&&this.slotNames.includes(t.name))&&this.host.requestUpdate()};(this.host=i).addController(this),this.slotNames=t}hasDefaultSlot(){return[...this.host.childNodes].some(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent.trim()!=="")return!0;if(i.nodeType===i.ELEMENT_NODE){let t=i;if(t.tagName.toLowerCase()==="zn-visually-hidden")return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(i){return this.host.querySelector(`:scope > [slot="${i}"]`)!==null}test(i){return i==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(i)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}getSlot(i){return this.host.querySelector(`:scope > [slot="${i}"]`)}getDefaultSlot(){return[...this.host.childNodes].filter(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent.trim()!=="")return!0;if(i.nodeType===i.ELEMENT_NODE){let t=i;if(t.tagName.toLowerCase()==="zn-visually-hidden")return!1;if(!t.hasAttribute("slot"))return!0}return!1})}getSlots(i){return this.host.querySelectorAll(`:scope > [slot="${i}"]`)}};function _b(o){if(!o)return"";let i=o.assignedNodes({flatten:!0}),t="";return[...i].forEach(r=>{r.nodeType===Node.TEXT_NODE&&(t+=r.textContent)}),t}var Cb=Symbol.for(""),q3=o=>{if(o?.r===Cb)return o?._$litStatic$};var Ti=(o,...i)=>({_$litStatic$:i.reduce((t,r,n)=>t+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
5
5
  take care to ensure page security.`)})(r)+o[n+1],o[0]),r:Cb}),kb=new Map,eu=o=>(i,...t)=>{let r=t.length,n,a,s=[],l=[],d,h=0,m=!1;for(;h<r;){for(d=i[h];h<r&&(a=t[h],(n=q3(a))!==void 0);)d+=n+i[++h],m=!0;h!==r&&l.push(a),s.push(d),h++}if(h===r&&s.push(i[r]),m){let f=s.join("$$lit$$");(i=kb.get(f))===void 0&&(s.raw=s,kb.set(f,i=s)),t=l}return o(i,...t)},Ct=eu(u),MD=eu(Yi),LD=eu(tb);var P=o=>o??B;var Sb=o=>(i,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,i)}):customElements.define(o,i)};var I3={attribute:!0,type:String,converter:fo,reflect:!1,hasChanged:Qa},D3=(o=I3,i,t)=>{let{kind:r,metadata:n}=t,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),r==="setter"&&((o=Object.create(o)).wrapped=!0),a.set(t.name,o),r==="accessor"){let{name:s}=t;return{set(l){let d=i.get.call(this);i.set.call(this,l),this.requestUpdate(s,d,o,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,o,l),l}}}if(r==="setter"){let{name:s}=t;return function(l){let d=this[s];i.call(this,l),this.requestUpdate(s,d,o,!0,l)}}throw Error("Unsupported decorator location: "+r)};function p(o){return(i,t)=>typeof t=="object"?D3(o,i,t):((r,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,r),s?Object.getOwnPropertyDescriptor(n,a):void 0})(o,i,t)}function R(o){return p({...o,state:!0,attribute:!1})}function Eb(o){return(i,t)=>{let r=typeof i=="function"?i:i[t];Object.assign(r,o)}}var xn=(o,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(o,i,t),t);function F(o,i){return(t,r,n)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(i){let{get:s,set:l}=typeof r=="object"?t:n??(()=>{let d=Symbol();return{get(){return this[d]},set(h){this[d]=h}}})();return xn(t,r,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return xn(t,r,{get(){return a(this)}})}}var R3;function Ja(o){return(i,t)=>xn(i,t,{get(){return(this.renderRoot??R3??(R3=document.createDocumentFragment())).querySelectorAll(o)}})}function Tb(o){return(i,t)=>xn(i,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function $b(o){return(i,t)=>{let{slot:r}=o??{},n="slot"+(r?`[name=${r}]`:":not([name])");return xn(i,t,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(o)??[]}})}}var Ab="important",N3=" !"+Ab,ve=be(class extends ir{constructor(o){if(super(o),o.type!==cr.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((i,t)=>{let r=o[t];return r==null?i:i+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(o,[i]){let{style:t}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(i)),this.render(i);for(let r of this.ft)i[r]==null&&(this.ft.delete(r),r.includes("-")?t.removeProperty(r):t[r]=null);for(let r in i){let n=i[r];if(n!=null){this.ft.add(r);let a=typeof n=="string"&&n.endsWith(N3);r.includes("-")||a?t.setProperty(r,a?n.slice(0,-11):n,a?Ab:""):t[r]=n}}return ge}});function K(o,i){let t={waitUntilFirstUpdate:!1,...i};return(r,n)=>{let{update:a}=r,s=Array.isArray(o)?o:[o];r.update=function(l){s.forEach(d=>{let h=d;if(l.has(h)){let m=l.get(h),f=this[h];m!==f&&(!t.waitUntilFirstUpdate||this.hasUpdated)&&this[n](m,f)}}),a.call(this,l)}}}var O3=Object.defineProperty,P3=(o,i,t)=>i in o?O3(o,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[i]=t,ru=(o,i,t)=>(P3(o,typeof i!="symbol"?i+"":i,t),t),H3=(o,i,t)=>{if(!i.has(o))throw TypeError("Cannot "+t)},iu=(o,i)=>{if(Object(i)!==i)throw TypeError('Cannot use the "in" operator on this value');return o.has(i)},hd=(o,i,t)=>{if(i.has(o))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(o):i.set(o,t)},Mb=(o,i,t)=>(H3(o,i,"access private method"),t);function Lb(o,i){return Object.is(o,i)}var Oe=null,kl=!1,ud=1,md=Symbol("SIGNAL");function Za(o){let i=Oe;return Oe=o,i}function F3(){return Oe}function B3(){return kl}var lu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function fd(o){if(kl)throw new Error(typeof ngDevMode<"u"&&ngDevMode?"Assertion error: signal read during notification phase":"");if(Oe===null)return;Oe.consumerOnSignalRead(o);let i=Oe.nextProducerIndex++;if(ts(Oe),i<Oe.producerNode.length&&Oe.producerNode[i]!==o&&au(Oe)){let t=Oe.producerNode[i];gd(t,Oe.producerIndexOfThis[i])}Oe.producerNode[i]!==o&&(Oe.producerNode[i]=o,Oe.producerIndexOfThis[i]=au(Oe)?Db(o,Oe,i):0),Oe.producerLastReadVersion[i]=o.version}function V3(){ud++}function qb(o){if(!(!o.dirty&&o.lastCleanEpoch===ud)){if(!o.producerMustRecompute(o)&&!K3(o)){o.dirty=!1,o.lastCleanEpoch=ud;return}o.producerRecomputeValue(o),o.dirty=!1,o.lastCleanEpoch=ud}}function Ib(o){if(o.liveConsumerNode===void 0)return;let i=kl;kl=!0;try{for(let t of o.liveConsumerNode)t.dirty||j3(t)}finally{kl=i}}function U3(){return Oe?.consumerAllowSignalWrites!==!1}function j3(o){var i;o.dirty=!0,Ib(o),(i=o.consumerMarkedDirty)==null||i.call(o.wrapper??o)}function G3(o){return o&&(o.nextProducerIndex=0),Za(o)}function W3(o,i){if(Za(i),!(!o||o.producerNode===void 0||o.producerIndexOfThis===void 0||o.producerLastReadVersion===void 0)){if(au(o))for(let t=o.nextProducerIndex;t<o.producerNode.length;t++)gd(o.producerNode[t],o.producerIndexOfThis[t]);for(;o.producerNode.length>o.nextProducerIndex;)o.producerNode.pop(),o.producerLastReadVersion.pop(),o.producerIndexOfThis.pop()}}function K3(o){ts(o);for(let i=0;i<o.producerNode.length;i++){let t=o.producerNode[i],r=o.producerLastReadVersion[i];if(r!==t.version||(qb(t),r!==t.version))return!0}return!1}function Db(o,i,t){var r;if(cu(o),ts(o),o.liveConsumerNode.length===0){(r=o.watched)==null||r.call(o.wrapper);for(let n=0;n<o.producerNode.length;n++)o.producerIndexOfThis[n]=Db(o.producerNode[n],o,n)}return o.liveConsumerIndexOfThis.push(t),o.liveConsumerNode.push(i)-1}function gd(o,i){var t;if(cu(o),ts(o),typeof ngDevMode<"u"&&ngDevMode&&i>=o.liveConsumerNode.length)throw new Error(`Assertion error: active consumer index ${i} is out of bounds of ${o.liveConsumerNode.length} consumers)`);if(o.liveConsumerNode.length===1){(t=o.unwatched)==null||t.call(o.wrapper);for(let n=0;n<o.producerNode.length;n++)gd(o.producerNode[n],o.producerIndexOfThis[n])}let r=o.liveConsumerNode.length-1;if(o.liveConsumerNode[i]=o.liveConsumerNode[r],o.liveConsumerIndexOfThis[i]=o.liveConsumerIndexOfThis[r],o.liveConsumerNode.length--,o.liveConsumerIndexOfThis.length--,i<o.liveConsumerNode.length){let n=o.liveConsumerIndexOfThis[i],a=o.liveConsumerNode[i];ts(a),a.producerIndexOfThis[n]=i}}function au(o){var i;return o.consumerIsAlwaysLive||(((i=o?.liveConsumerNode)==null?void 0:i.length)??0)>0}function ts(o){o.producerNode??(o.producerNode=[]),o.producerIndexOfThis??(o.producerIndexOfThis=[]),o.producerLastReadVersion??(o.producerLastReadVersion=[])}function cu(o){o.liveConsumerNode??(o.liveConsumerNode=[]),o.liveConsumerIndexOfThis??(o.liveConsumerIndexOfThis=[])}function Rb(o){if(qb(o),fd(o),o.value===su)throw o.error;return o.value}function Y3(o){let i=Object.create(X3);i.computation=o;let t=()=>Rb(i);return t[md]=i,t}var nu=Symbol("UNSET"),ou=Symbol("COMPUTING"),su=Symbol("ERRORED"),X3={...lu,value:nu,dirty:!0,error:null,equal:Lb,producerMustRecompute(o){return o.value===nu||o.value===ou},producerRecomputeValue(o){if(o.value===ou)throw new Error("Detected cycle in computations.");let i=o.value;o.value=ou;let t=G3(o),r,n=!1;try{r=o.computation.call(o.wrapper),n=i!==nu&&i!==su&&o.equal.call(o.wrapper,i,r)}catch(a){r=su,o.error=a}finally{W3(o,t)}if(n){o.value=i;return}o.value=r,o.version++}};function Q3(){throw new Error}var J3=Q3;function Z3(){J3()}function t5(o){let i=Object.create(i5);i.value=o;let t=()=>(fd(i),i.value);return t[md]=i,t}function e5(){return fd(this),this.value}function r5(o,i){U3()||Z3(),o.equal.call(o.wrapper,o.value,i)||(o.value=i,n5(o))}var i5={...lu,equal:Lb,value:void 0};function n5(o){o.version++,V3(),Ib(o)}var pr=Symbol("node"),ie;(o=>{var i,t,r,n,a,s;class l{constructor(m,f={}){hd(this,t),ru(this,i);let g=t5(m)[md];if(this[pr]=g,g.wrapper=this,f){let v=f.equals;v&&(g.equal=v),g.watched=f[o.subtle.watched],g.unwatched=f[o.subtle.unwatched]}}get(){if(!(0,o.isState)(this))throw new TypeError("Wrong receiver type for Signal.State.prototype.get");return e5.call(this[pr])}set(m){if(!(0,o.isState)(this))throw new TypeError("Wrong receiver type for Signal.State.prototype.set");if(B3())throw new Error("Writes to signals not permitted during Watcher callback");let f=this[pr];r5(f,m)}}i=pr,t=new WeakSet,r=function(){},o.isState=h=>typeof h=="object"&&iu(t,h),o.State=l;class d{constructor(m,f){hd(this,a),ru(this,n);let g=Y3(m)[md];if(g.consumerAllowSignalWrites=!0,this[pr]=g,g.wrapper=this,f){let v=f.equals;v&&(g.equal=v),g.watched=f[o.subtle.watched],g.unwatched=f[o.subtle.unwatched]}}get(){if(!(0,o.isComputed)(this))throw new TypeError("Wrong receiver type for Signal.Computed.prototype.get");return Rb(this[pr])}}n=pr,a=new WeakSet,s=function(){},o.isComputed=h=>typeof h=="object"&&iu(a,h),o.Computed=d,(h=>{var m,f,b,g,v;function y($){let M,W=null;try{W=Za(null),M=$()}finally{Za(W)}return M}h.untrack=y;function S($){var M;if(!(0,o.isComputed)($)&&!(0,o.isWatcher)($))throw new TypeError("Called introspectSources without a Computed or Watcher argument");return((M=$[pr].producerNode)==null?void 0:M.map(W=>W.wrapper))??[]}h.introspectSources=S;function E($){var M;if(!(0,o.isComputed)($)&&!(0,o.isState)($))throw new TypeError("Called introspectSinks without a Signal argument");return((M=$[pr].liveConsumerNode)==null?void 0:M.map(W=>W.wrapper))??[]}h.introspectSinks=E;function N($){if(!(0,o.isComputed)($)&&!(0,o.isState)($))throw new TypeError("Called hasSinks without a Signal argument");let M=$[pr].liveConsumerNode;return M?M.length>0:!1}h.hasSinks=N;function U($){if(!(0,o.isComputed)($)&&!(0,o.isWatcher)($))throw new TypeError("Called hasSources without a Computed or Watcher argument");let M=$[pr].producerNode;return M?M.length>0:!1}h.hasSources=U;class I{constructor(M){hd(this,f),hd(this,g),ru(this,m);let W=Object.create(lu);W.wrapper=this,W.consumerMarkedDirty=M,W.consumerIsAlwaysLive=!0,W.consumerAllowSignalWrites=!1,W.producerNode=[],this[pr]=W}watch(...M){if(!(0,o.isWatcher)(this))throw new TypeError("Called unwatch without Watcher receiver");Mb(this,g,v).call(this,M);let W=this[pr];W.dirty=!1;let ot=Za(W);for(let vt of M)fd(vt[pr]);Za(ot)}unwatch(...M){if(!(0,o.isWatcher)(this))throw new TypeError("Called unwatch without Watcher receiver");Mb(this,g,v).call(this,M);let W=this[pr];ts(W);for(let ot=W.producerNode.length-1;ot>=0;ot--)if(M.includes(W.producerNode[ot].wrapper)){gd(W.producerNode[ot],W.producerIndexOfThis[ot]);let vt=W.producerNode.length-1;if(W.producerNode[ot]=W.producerNode[vt],W.producerIndexOfThis[ot]=W.producerIndexOfThis[vt],W.producerNode.length--,W.producerIndexOfThis.length--,W.nextProducerIndex--,ot<W.producerNode.length){let Dt=W.producerIndexOfThis[ot],Nt=W.producerNode[ot];cu(Nt),Nt.liveConsumerIndexOfThis[Dt]=ot}}}getPending(){if(!(0,o.isWatcher)(this))throw new TypeError("Called getPending without Watcher receiver");return this[pr].producerNode.filter(W=>W.dirty).map(W=>W.wrapper)}}m=pr,f=new WeakSet,b=function(){},g=new WeakSet,v=function($){for(let M of $)if(!(0,o.isComputed)(M)&&!(0,o.isState)(M))throw new TypeError("Called watch/unwatch without a Computed or State argument")},o.isWatcher=$=>iu(f,$),h.Watcher=I;function C(){var $;return($=F3())==null?void 0:$.wrapper}h.currentComputed=C,h.watched=Symbol("watched"),h.unwatched=Symbol("unwatched")})(o.subtle||(o.subtle={}))})(ie||(ie={}));var du=!1,Nb=new ie.subtle.Watcher(()=>{du||(du=!0,queueMicrotask(()=>{du=!1;for(let o of Nb.getPending())o.get();Nb.watch()}))}),o5=Symbol("SignalWatcherBrand"),a5=new FinalizationRegistry(o=>{o.unwatch(...ie.subtle.introspectSources(o))}),Ob=new WeakMap;function bd(o){return o[o5]===!0?(console.warn("SignalWatcher should not be applied to the same class more than once."),o):class extends o{constructor(){super(...arguments),this._$St=new Map,this._$So=new ie.State(0),this._$Si=!1}_$Sl(){var i,t;let r=[],n=[];this._$St.forEach((s,l)=>{(s?.beforeUpdate?r:n).push(l)});let a=(i=this.h)===null||i===void 0?void 0:i.getPending().filter(s=>s!==this._$Su&&!this._$St.has(s));r.forEach(s=>s.get()),(t=this._$Su)===null||t===void 0||t.get(),a.forEach(s=>s.get()),n.forEach(s=>s.get())}_$Sv(){this.isUpdatePending||queueMicrotask(()=>{this.isUpdatePending||this._$Sl()})}_$S_(){if(this.h!==void 0)return;this._$Su=new ie.Computed(()=>{this._$So.get(),super.performUpdate()});let i=this.h=new ie.subtle.Watcher(function(){let t=Ob.get(this);t!==void 0&&(t._$Si===!1&&(new Set(this.getPending()).has(t._$Su)?t.requestUpdate():t._$Sv()),this.watch())});Ob.set(i,this),a5.register(this,i),i.watch(this._$Su),i.watch(...Array.from(this._$St).map(([t])=>t))}_$Sp(){if(this.h===void 0)return;let i=!1;this.h.unwatch(...ie.subtle.introspectSources(this.h).filter(t=>{var r;let n=((r=this._$St.get(t))===null||r===void 0?void 0:r.manualDispose)!==!0;return n&&this._$St.delete(t),i||(i=!n),n})),i||(this._$Su=void 0,this.h=void 0,this._$St.clear())}updateEffect(i,t){var r;this._$S_();let n=new ie.Computed(()=>{i()});return this.h.watch(n),this._$St.set(n,t),(r=t?.beforeUpdate)!==null&&r!==void 0&&r?ie.subtle.untrack(()=>n.get()):this.updateComplete.then(()=>ie.subtle.untrack(()=>n.get())),()=>{this._$St.delete(n),this.h.unwatch(n),this.isConnected===!1&&this._$Sp()}}performUpdate(){this.isUpdatePending&&(this._$S_(),this._$Si=!0,this._$So.set(this._$So.get()+1),this._$Si=!1,this._$Sl())}connectedCallback(){super.connectedCallback(),this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),queueMicrotask(()=>{this.isConnected===!1&&this._$Sp()})}}}var{I:s5}=ib,Pb=o=>o;var vd=o=>o.strings===void 0,Hb=()=>document.createComment(""),es=(o,i,t)=>{let r=o._$AA.parentNode,n=i===void 0?o._$AB:i._$AA;if(t===void 0){let a=r.insertBefore(Hb(),n),s=r.insertBefore(Hb(),n);t=new s5(a,s,o,o.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==o;if(l){let d;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(d=o._$AU)!==s._$AU&&t._$AP(d)}if(a!==n||l){let d=t._$AA;for(;d!==a;){let h=Pb(d).nextSibling;Pb(r).insertBefore(d,n),d=h}}}return t},bo=(o,i,t=o)=>(o._$AI(i,t),o),l5={},rs=(o,i=l5)=>o._$AH=i,Fb=o=>o._$AH,yd=o=>{o._$AR(),o._$AA.remove()};var Cl=(o,i)=>{let t=o._$AN;if(t===void 0)return!1;for(let r of t)r._$AO?.(i,!1),Cl(r,i);return!0},xd=o=>{let i,t;do{if((i=o._$AM)===void 0)break;t=i._$AN,t.delete(o),o=i}while(t?.size===0)},Bb=o=>{for(let i;i=o._$AM;o=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(o))break;t.add(o),p5(i)}};function c5(o){this._$AN!==void 0?(xd(this),this._$AM=o,Bb(this)):this._$AM=o}function d5(o,i=!1,t=0){let r=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(i)if(Array.isArray(r))for(let a=t;a<r.length;a++)Cl(r[a],!1),xd(r[a]);else r!=null&&(Cl(r,!1),xd(r));else Cl(this,o)}var p5=o=>{o.type==cr.CHILD&&(o._$AP??(o._$AP=d5),o._$AQ??(o._$AQ=c5))},vo=class extends ir{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,r){super._$AT(i,t,r),Bb(this),this.isConnected=i._$AU}_$AO(i,t=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(Cl(this,i),xd(this))}setValue(i){if(vd(this._$Ct))this._$Ct._$AI(i,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=i,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}};var pu=!1,hu=new ie.subtle.Watcher(async()=>{pu||(pu=!0,queueMicrotask(()=>{pu=!1;for(let o of hu.getPending())o.get();hu.watch()}))}),wd=class extends vo{_$S_(){var i,t;this._$Sm===void 0&&(this._$Sj=new ie.Computed(()=>{var r;let n=(r=this._$SW)===null||r===void 0?void 0:r.get();return this.setValue(n),n}),this._$Sm=(t=(i=this._$Sk)===null||i===void 0?void 0:i.h)!==null&&t!==void 0?t:hu,this._$Sm.watch(this._$Sj),ie.subtle.untrack(()=>{var r;return(r=this._$Sj)===null||r===void 0?void 0:r.get()}))}_$Sp(){this._$Sm!==void 0&&(this._$Sm.unwatch(this._$SW),this._$Sm=void 0)}render(i){return ie.subtle.untrack(()=>i.get())}update(i,[t]){var r,n;return(r=this._$Sk)!==null&&r!==void 0||(this._$Sk=(n=i.options)===null||n===void 0?void 0:n.host),t!==this._$SW&&this._$SW!==void 0&&this._$Sp(),this._$SW=t,this._$S_(),ie.subtle.untrack(()=>this._$SW.get())}disconnected(){this._$Sp()}reconnected(){this._$S_()}},uu=be(wd);var mu=o=>(i,...t)=>o(i,...t.map(r=>r instanceof ie.State||r instanceof ie.Computed?uu(r):r)),h5=mu(u),u5=mu(Yi);var jR=ie.State,GR=ie.Computed,fu=(o,i)=>new ie.State(o,i);function Ub(o,i){return typeof document>"u"?i:document.documentElement.getAttribute(o)||document.body?.getAttribute(o)||i}function jb(){return Ub("t","light")}function Gb(){return Ub("m","light")}var zd=fu(jb()),_d=fu(Gb()),Vb=!1;function m5(){Vb||typeof window>"u"||(Vb=!0,window.addEventListener("theme-change",o=>{let i=o.detail,t,r;if(typeof i=="string")t=i;else if(i&&typeof i=="object"){let n=i;typeof n.theme=="string"&&(t=n.theme),typeof n.mode=="string"&&(r=n.mode)}t===void 0&&(t=jb()),r===void 0&&(r=Gb()),t!==zd.get()&&zd.set(t),r!==_d.get()&&_d.set(r)}))}m5();var f5=bd(go),k=class extends f5{willUpdate(i){this.t=zd.get(),this.m=_d.get(),super.willUpdate(i)}static define(i,t=this,r={}){let n=customElements.get(i);if(!n){customElements.define(i,class extends t{},r);return}let a=" (unknown version)",s=a;"version"in t&&t.version&&typeof t.version=="string"&&(a=` v${t.version}`),"version"in n&&n.version&&typeof n.version=="string"&&(s=` v${n.version}`),!(a&&s&&a===s)&&console.warn(`Attempted to register <${i}>${a} but it is already registered as <${i}>${s}.`)}constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([i,t])=>{this.constructor.define(i,t)})}emit(i,t){let r=new CustomEvent(i,{bubbles:!0,cancelable:!0,composed:!0,detail:{element:this},...t});return this.dispatchEvent(r),r}};k.dependencies={},c([p()],k.prototype,"dir",2),c([p()],k.prototype,"lang",2),c([p({reflect:!0})],k.prototype,"t",2),c([p({reflect:!0})],k.prototype,"m",2);var ua=class extends ir{constructor(i){if(super(i),this.it=B,i.type!==cr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(i){if(i===B||i==null)return this._t=void 0,this.it=i;if(i===ge)return i;if(typeof i!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(i===this.it)return this._t;this.it=i;let t=[i];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};ua.directiveName="unsafeHTML",ua.resultType=1;var Ce=be(ua);function $i(o,i){return new Promise(t=>{function r(n){n.target===o&&(o.removeEventListener(i,r),t())}o.addEventListener(i,r)})}var gu=class{constructor(){this.openDropdowns=new Set;this.openTooltips=new Set}registerDropdown(i){this.openDropdowns.add(i)}unregisterDropdown(i){this.openDropdowns.delete(i)}isDropdownOpen(){return this.openDropdowns.size>0}registerTooltip(i){this.openTooltips.add(i)}unregisterTooltip(i){this.openTooltips.delete(i)}isTooltipOpen(){return this.openTooltips.size>0}},g5=new gu,Xi=g5;var Wb=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:inline-block}.dropdown::part(popup){z-index:var(--zn-z-index-dropdown)}`;var Se=class extends k{constructor(){super(...arguments);this.open=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.hoist=!0;this.sync=void 0;this.fetchedContent="";this.handlePanelSelect=t=>{let r=t.target;!this.stayOpenOnSelect&&r.tagName.toLowerCase()==="zn-menu"&&(this.hide().then(n=>n),this.focusOnTrigger())};this.handlePreload=()=>{this.preloadContent().then(t=>t)}}connectedCallback(){super.connectedCallback(),this.containingElement||(this.containingElement=this)}focusOnTrigger(){let t=this.trigger?.assignedElements({flatten:!0})[0];typeof t?.focus=="function"&&t.focus()}firstUpdated(t){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0),super.firstUpdated(t)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide().then(t=>t)}getMenu(){return this.panel.assignedElements({flatten:!0}).find(t=>t.tagName.toLowerCase()==="zn-menu")}addOpenListeners(){this.panel.addEventListener("zn-select",this.handlePanelSelect),"CloseWatcher"in window?(this.closeWatcher?.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide().then(t=>t),this.focusOnTrigger()}):this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown.bind(this)),document.addEventListener("mousedown",this.handleDocumentMouseDown.bind(this)),this.closeWatcher?.destroy()}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("zn-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.closeWatcher?.destroy()}async preloadContent(){if(this.uri&&!this.fetchedContent){let t=await fetch(this.uri,{credentials:"same-origin",headers:{"x-kx-inline":"inline"}});this.fetchedContent=await t.text(),this.requestUpdate()}}async handleTriggerClick(){this.open?await this.hide():(await this.show(),this.focusOnTrigger())}handleKeyDown(t){this.open&&t.key==="Escape"&&(t.stopPropagation(),this.hide().then(r=>r),this.focusOnTrigger())}async handleTriggerKeyDown(t){if([" ","Enter","Tab"].includes(t.key)){t.preventDefault(),await this.handleTriggerClick();return}let r=this.getMenu();if(r){let n=r.getAllItems(),a=n[0],s=n[n.length-1];["ArrowDown","ArrowUp","Home","End"].includes(t.key)&&(t.preventDefault(),this.open||(this.show().then(l=>l),await this.updateComplete),n.length>0&&this.updateComplete.then(()=>{(t.key==="ArrowDown"||t.key==="Home")&&(r.setCurrentItem(a),a.focus()),(t.key==="ArrowUp"||t.key==="End")&&(r.setCurrentItem(s),s.focus())}))}}handleTriggerKeyUp(t){t.key===" "&&t.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}handleDocumentMouseDown(t){let r=t.composedPath();this.containingElement&&!r.includes(this.containingElement)&&this.hide().then(n=>n)}handleDocumentKeyDown(t){if(t.key==="Escape"&&this.open&&!this.closeWatcher){t.stopPropagation(),this.focusOnTrigger(),this.hide().then(r=>r);return}if(t.key==="Tab"){if(this.open){t.preventDefault(),this.hide().then(r=>r),this.focusOnTrigger();return}setTimeout(()=>{let r=this.containingElement?.getRootNode()instanceof ShadowRoot?document.activeElement?.shadowRoot?.activeElement:document.activeElement;(!this.containingElement||r?.closest(this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide().then(n=>n)})}}async show(){if(!this.open)return this.open=!0,$i(this,"zn-after-show")}async hide(){if(this.open)return this.open=!1,$i(this,"zn-after-hide")}reposition(){this.popup.reposition()}updateAccessibleTrigger(){let r=this.trigger.assignedElements({flatten:!0}).find(a=>db(a).start),n=null;r&&(r.tagName.toLowerCase()==="zn-button"?n=r.button:n=r),n&&(n.setAttribute("aria-haspopup","true"),n.setAttribute("aria-expanded",this.open.toString()))}handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open)this.emit("zn-show"),Xi.registerDropdown(this),this.addOpenListeners(),this.panel.hidden=!1,this.popup.active=!0,this.panel.focus(),this.emit("zn-after-show");else{this.emit("zn-hide"),Xi.unregisterDropdown(this),this.removeOpenListeners();let t=this.getRootNode().activeElement;t&&this.panel.assignedElements({flatten:!0}).some(r=>r.contains(t))&&(this.focusOnTrigger(),t.blur()),this.panel.blur(),this.panel.hidden=!0,this.popup.active=!1,this.emit("zn-after-hide")}}render(){return u`
@@ -381,7 +381,7 @@ import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L
381
381
  <zn-button color="default" slot="footer" @click=${this.handleQBUpdate}>Show Results</zn-button>
382
382
  </div>
383
383
  </zn-slideout>
384
- `}};Cn.styles=z(Yv),c([p()],Cn.prototype,"filters",2),c([p()],Cn.prototype,"name",2),c([p()],Cn.prototype,"value",2);var Mu=Cn;Cn.define("zn-data-table-filter");var Mt=(o="value")=>(i,t)=>{let r=i.constructor,n=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(a,s,l){let d=r.getPropertyOptions(o),h=typeof d.attribute=="string"?d.attribute:o;if(a===h){let m=d.converter||fo,b=(typeof m=="function"?m:m?.fromAttribute??fo.fromAttribute)(l,d.type);this[o]!==b&&(this[t]=b)}n.call(this,a,s,l)}};var t4=new Map;function Nd(o){return(Array.isArray(o)?o:o.split(",")).reduce((t,r)=>{let n=t4.get(r.trim());return n?[...t,...n]:t},[])}function e4(o){return typeof o=="object"&&o!==null&&typeof o.label=="string"}function zo(o){let i=o?.trim();if(!i)return[];if(i.startsWith("["))try{let t=JSON.parse(i);return Array.isArray(t)?t.filter(e4):[]}catch{return console.warn("slash-items could not be parsed as JSON",i),[]}return i.split(",").map(t=>t.trim()).filter(t=>t!=="").map(t=>{let r=t.indexOf("=");if(r===-1)return{label:t,value:t};let n=t.slice(0,r).trim(),a=t.slice(r+1).trim();return{label:n||a,value:a}}).filter(t=>t.label!=="")}function r4(o){return o.keywords?(Array.isArray(o.keywords)?o.keywords:o.keywords.split(",")).map(t=>t.trim().toLowerCase()).filter(t=>t!==""):[]}function i4(o,i){let t=o.label.toLowerCase();return t.startsWith(i)?0:t.split(/\s+/).some(r=>r.startsWith(i))?1:t.includes(i)?2:r4(o).some(r=>r.includes(i))?3:o.value?.toLowerCase().includes(i)?4:o.description?.toLowerCase().includes(i)?5:-1}function Od(o,i){let t=i.trim().toLowerCase();return o.map((r,n)=>({item:r,index:n,score:t?i4(r,t):0})).filter(r=>r.score!==-1).sort((r,n)=>r.score-n.score||(r.item.order??r.index)-(n.item.order??n.index)||r.index-n.index).map(r=>r.item)}var Lu="zn-slash-recent:",n4=10;function qu(o){return o.action?`action:${o.action}`:`value:${o.value||o.label}`}function Iu(o){if(!o)return[];try{let i=JSON.parse(localStorage.getItem(Lu+o)??"[]");return Array.isArray(i)?i.filter(t=>typeof t=="string"):[]}catch{return[]}}function Xv(o,i){if(!o)return[];let t=qu(i),r=[t,...Iu(o).filter(n=>n!==t)].slice(0,n4);try{localStorage.setItem(Lu+o,JSON.stringify(r))}catch{}return r}function Qv(o){if(o)try{localStorage.removeItem(Lu+o)}catch{}}var Pr=be(class extends ir{constructor(o){if(super(o),o.type!==cr.PROPERTY&&o.type!==cr.ATTRIBUTE&&o.type!==cr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!vd(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[i]){if(i===ge||i===B)return i;let t=o.element,r=o.name;if(o.type===cr.PROPERTY){if(i===t[r])return ge}else if(o.type===cr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(r))return ge}else if(o.type===cr.ATTRIBUTE&&t.getAttribute(r)===i+"")return ge;return rs(o),i}});var Du=new Set,ds=new Map,Wn,Ru="ltr",Nu="en",Jv=typeof MutationObserver<"u"&&typeof document<"u"&&typeof document.documentElement<"u";if(Jv){let o=new MutationObserver(Zv);Ru=document.documentElement.dir||"ltr",Nu=document.documentElement.lang||navigator.language,o.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}function Hl(...o){o.map(i=>{let t=i.$code.toLowerCase();ds.has(t)?ds.set(t,Object.assign(Object.assign({},ds.get(t)),i)):ds.set(t,i),Wn||(Wn=i)}),Zv()}function Zv(){Jv&&(Ru=document.documentElement.dir||"ltr",Nu=document.documentElement.lang||navigator.language),[...Du.keys()].map(o=>{typeof o.requestUpdate=="function"&&o.requestUpdate()})}var Pd=class{constructor(i){this.host=i,this.host.addController(this)}hostConnected(){Du.add(this.host)}hostDisconnected(){Du.delete(this.host)}dir(){return`${this.host.dir||Ru}`.toLowerCase()}lang(){let i=`${this.host.lang||Nu}`.toLowerCase().replace(/_/g,"-");try{return new Intl.Locale(i),i}catch{return Wn?Wn.$code.toLowerCase():"en"}}getTranslationData(i){var t,r;let n;try{n=new Intl.Locale(i.replace(/_/g,"-"))}catch{return{locale:void 0,language:"",region:"",primary:void 0,secondary:void 0}}let a=n.language.toLowerCase(),s=(r=(t=n.region)===null||t===void 0?void 0:t.toLowerCase())!==null&&r!==void 0?r:"",l=ds.get(`${a}-${s}`),d=ds.get(a);return{locale:n,language:a,region:s,primary:l,secondary:d}}exists(i,t){var r;let{primary:n,secondary:a}=this.getTranslationData((r=t.lang)!==null&&r!==void 0?r:this.lang());return t=Object.assign({includeFallback:!1},t),!!(n&&n[i]||a&&a[i]||t.includeFallback&&Wn&&Wn[i])}term(i,...t){let{primary:r,secondary:n}=this.getTranslationData(this.lang()),a;if(r&&r[i])a=r[i];else if(n&&n[i])a=n[i];else if(Wn&&Wn[i])a=Wn[i];else return console.error(`No translation found for: ${String(i)}`),String(i);return typeof a=="function"?a(...t):a}date(i,t){return i=new Date(i),new Intl.DateTimeFormat(this.lang(),t).format(i)}number(i,t){return i=Number(i),isNaN(i)?"":new Intl.NumberFormat(this.lang(),t).format(i)}relativeTime(i,t,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(i,t)}};var t0={$code:"en",$name:"English",$dir:"ltr",onChange:"onChange",showPassword:"Show password",hidePassword:"Hide password",clearEntry:"Clear entry",numOptionsSelected:o=>o===0?"No options selected":o===1?"1 option selected":`${o} options selected`,fileButtonText:"Choose a file",fileButtonTextMultiple:"Choose files",folderButtonText:"Choose a folder",fileDragDrop:"Drop files here to upload",folderDragDrop:"Drop folder here to upload",numFilesSelected:o=>o===0?"No files selected":o===1?"1 file selected":`${o} files selected`};Hl(t0);var e0=t0;var He=class extends Pd{};Hl(e0);var o4=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize"];function a4(o){let i=parseFloat(o.lineHeight);if(!Number.isNaN(i))return i;let t=parseFloat(o.fontSize);return Number.isNaN(t)?16:t*1.2}function Ou(o,i){let t=o.ownerDocument,r=getComputedStyle(o),n=o.nodeName==="INPUT",a=t.createElement("div"),s=a.style,l=r;s.position="absolute",s.visibility="hidden",s.top="0",s.left="-9999px",s.whiteSpace=n?"pre":"pre-wrap",s.overflow="hidden",n||(s.wordWrap="break-word"),o4.forEach(f=>{let b=l[f];typeof b=="string"&&(s[f]=b)}),n&&(s.height="auto");let d=o.value.slice(0,i);a.textContent=n?d.replace(/\s/g,"\xA0"):d;let h=t.createElement("span");h.textContent=o.value.slice(i)||".",a.appendChild(h),t.body.appendChild(a);let m={top:h.offsetTop+(parseFloat(r.borderTopWidth)||0),left:h.offsetLeft+(parseFloat(r.borderLeftWidth)||0),height:a4(r)};return a.remove(),m}function Pu(o,{top:i,left:t,height:r}){let n=o.getBoundingClientRect(),a=Math.max(n.top,n.bottom-r),s=Math.min(Math.max(n.top+i-o.scrollTop,n.top),a),l=Math.min(Math.max(n.left+t-o.scrollLeft,n.left),n.right);return new DOMRect(l,s,1,r)}function XB(o,i){return Pu(o,Ou(o,i))}var r0=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host ::-webkit-scrollbar{width:5px;height:5px}:host{}:host ::-webkit-scrollbar-track{background:transparent}:host{}:host ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}:host{}:host ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}:host{--slash-menu-width:320px;--slash-menu-max-height:260px;--slash-menu-border-radius:12px;--slash-menu-item-border-radius:8px;display:contents}:host(:not([open])) .slash-menu__panel{display:none}.slash-menu__panel{display:flex;flex-direction:column;position:fixed;inset:0 auto auto 0;margin:0;width:var(--slash-menu-width);max-width:var(--auto-size-available-width,none);max-height:min(var(--slash-menu-max-height),var(--auto-size-available-height,100vh));z-index:var(--zn-z-index-dropdown);overflow:hidden;background:var(--zn-panel-background-color);border:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);border-radius:var(--slash-menu-border-radius);box-shadow:var(--zn-shadow-medium);font-family:var(--zn-font-sans);font-size:var(--zn-font-size-medium);color:rgb(var(--zn-text))}.slash-menu__list{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--zn-spacing-3x-small,2px);min-height:0;overflow-y:auto;overscroll-behavior:none;padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px)}.slash-menu__group-heading,.slash-menu__footer,.slash-menu__empty{padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);-moz-user-select:none;user-select:none;-webkit-user-select:none}.slash-menu__group-heading{padding-top:var(--zn-spacing-x-small,8px);font-weight:var(--zn-font-weight-semibold);text-transform:uppercase;letter-spacing:0.06em;color:var(--zn-color-neutral-400)}.slash-menu__footer{border-top:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);margin-top:var(--zn-spacing-2x-small,4px)}.slash-menu__divider{height:var(--zn-panel-border-width,1px);margin:var(--zn-spacing-2x-small,4px) 0;background:var(--zn-panel-border-color)}.slash-menu__hints{display:flex;flex:0 0 auto;align-items:center;gap:var(--zn-spacing-small,12px);padding:var(--zn-spacing-x-small,8px) var(--zn-spacing-small,12px);border-top:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);-moz-user-select:none;user-select:none;-webkit-user-select:none}.slash-menu__hint{display:flex;align-items:center;gap:var(--zn-spacing-2x-small,4px)}.slash-menu__key{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 var(--zn-spacing-2x-small,4px);border:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);border-radius:var(--zn-border-radius,6px);background:var(--zn-panel-background-color);font-family:var(--zn-font-sans);font-size:var(--zn-font-size-2x-small);line-height:1;color:var(--zn-color-neutral-600)}.slash-menu__item{display:flex;align-items:center;gap:var(--zn-spacing-small,12px);width:100%;padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px);border:none;border-radius:var(--slash-menu-item-border-radius);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.slash-menu__item:hover:not(.slash-menu__item--disabled){background:var(--zn-input-background-color-hover)}.slash-menu__item--active,.slash-menu__item--active:hover:not(.slash-menu__item--disabled){background:rgba(var(--zn-color-primary),0.08)}.slash-menu__item--disabled{opacity:0.5;cursor:not-allowed}.slash-menu__icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border:solid var(--zn-panel-border-width,1px) rgba(var(--zn-color-primary),0.18);border-radius:var(--slash-menu-item-border-radius);background:rgba(var(--zn-color-primary),0.06);color:var(--zn-color-neutral-700)}.slash-menu__icon--empty{border-color:transparent;background:none}.slash-menu__item--active .slash-menu__icon{border-color:rgba(var(--zn-color-primary),0.3);background:rgba(var(--zn-color-primary),0.14);color:rgb(var(--zn-color-primary))}.slash-menu__text{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.slash-menu__label{font-weight:var(--zn-font-weight-semibold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slash-menu__description{font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slash-menu__token{flex:0 1 auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--zn-font-mono);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-600)}`;var ps="zn-slash-item-select";function s4(o,i){return!!o&&o.length===i.length&&o.every((t,r)=>t.label===i[r].label&&t.value===i[r].value&&t.disabled===i[r].disabled)}var Jt=class extends k{constructor(){super(...arguments);this.open=!1;this.items=[];this.query="";this.heading="Insert";this.emptyText="No matches";this.maxItems=25;this.hideKeys=!1;this.hideHints=!1;this.recentKey="";this.maxRecent=3;this.recentHeading="Recently used";this.anchor=null;this.placement="bottom-start";this.distance=4;this.activeIndex=0;this.recentKeys=[];this.recentCount=0;this.handleItemMouseDown=t=>{t.preventDefault(),t.stopPropagation();let r=Number(t.currentTarget.dataset.index),n=this.visibleItems[r];n&&(this.activeIndex=r,this.selectItem(n))}}get listItems(){return this.maxItems>0?this.items.slice(0,this.maxItems):this.items}get recentItems(){if(!this.recentKey||this.maxRecent<1||this.query.trim()!=="")return[];let t=new Map;for(let n of this.items){let a=qu(n);!n.disabled&&!t.has(a)&&t.set(a,n)}let r=this.recentKeys.map(n=>t.get(n)).filter(n=>n!==void 0).slice(0,this.maxRecent);return r.length<this.items.length?r:[]}get visibleItems(){return[...this.recentItems,...this.listItems]}get activeItem(){return this.visibleItems[this.activeIndex]}show(){this.open=!0}hide(){this.open=!1}clearRecent(){Qv(this.recentKey),this.recentKeys=[]}setActiveIndex(t){let r=this.visibleItems;if(!r.filter(l=>!l.disabled).length){this.activeIndex=-1;return}let a=(t+r.length)%r.length,s=t<this.activeIndex?-1:1;for(;r[a]?.disabled;)a=(a+s+r.length)%r.length;this.activeIndex=a,this.updateComplete.then(()=>this.scrollActiveIntoView())}moveActive(t){this.setActiveIndex(this.activeIndex+t)}selectActive(){let t=this.activeItem;t&&this.selectItem(t)}reposition(){this.position()}connectedCallback(){super.connectedCallback(),this.open&&this.updateComplete.then(()=>this.startPositioner())}disconnectedCallback(){super.disconnectedCallback(),this.stopPositioner(),this.hidePanelPopover()}showPanelPopover(){let t=this.panel;typeof t?.showPopover=="function"&&!t.matches(":popover-open")&&t.showPopover()}hidePanelPopover(){let t=this.panel;typeof t?.hidePopover=="function"&&t.matches(":popover-open")&&t.hidePopover()}startPositioner(){this.stopPositioner(),!(!this.anchor||!this.panel)&&(this.stopAutoUpdate=Ld(this.anchor,this.panel,()=>{this.position()}))}stopPositioner(){this.stopAutoUpdate?.(),this.stopAutoUpdate=void 0}async position(){let{anchor:t,panel:r}=this;if(!this.open||!t||!r)return;this.showPanelPopover();let{x:n,y:a}=await Rd(t,r,{placement:this.placement,strategy:"fixed",middleware:[qd(this.distance),Dd({padding:8}),Id({padding:8}),Il({padding:8,apply:({availableHeight:s})=>{r.style.setProperty("--auto-size-available-height",`${Math.max(s,0)}px`)}})]});Object.assign(r.style,{left:`${n}px`,top:`${a}px`})}selectItem(t){t.disabled||(this.recentKey&&(this.recentKeys=Xv(this.recentKey,t)),this.dispatchEvent(new CustomEvent(ps,{bubbles:!0,cancelable:!0,composed:!1,detail:{item:t,query:this.query}})))}scrollActiveIntoView(){let t=this.renderRoot.querySelector('[data-slash-item][aria-selected="true"]');if(!t)return;let r=this.visibleItems,n=this.list;if(n&&r.slice(0,this.activeIndex).every(a=>a.disabled)){n.scrollTop=0;return}if(n&&r.slice(this.activeIndex+1).every(a=>a.disabled)){n.scrollTop=n.scrollHeight;return}t.scrollIntoView({block:"nearest"})}willUpdate(t){super.willUpdate(t),(t.has("recentKey")||t.has("open")&&this.open)&&(this.recentKeys=Iu(this.recentKey));let r=t.has("items")&&!s4(t.get("items"),this.items),n=this.recentItems.length;(r||n!==this.recentCount)&&(this.recentCount=n,this.activeIndex=this.visibleItems.findIndex(a=>!a.disabled))}updated(t){super.updated(t),(t.has("open")||t.has("anchor"))&&(this.open?this.startPositioner():(this.stopPositioner(),this.hidePanelPopover())),this.open&&this.position(),(t.has("items")||t.has("open")&&this.open)&&this.scrollActiveIntoView()}renderItem(t,r,n){let a=r===this.activeIndex,s=!this.hideKeys&&t.value&&t.value!==t.label&&!t.value.includes(`
384
+ `}};Cn.styles=z(Yv),c([p()],Cn.prototype,"filters",2),c([p()],Cn.prototype,"name",2),c([p()],Cn.prototype,"value",2);var Mu=Cn;Cn.define("zn-data-table-filter");var Mt=(o="value")=>(i,t)=>{let r=i.constructor,n=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(a,s,l){let d=r.getPropertyOptions(o),h=typeof d.attribute=="string"?d.attribute:o;if(a===h){let m=d.converter||fo,b=(typeof m=="function"?m:m?.fromAttribute??fo.fromAttribute)(l,d.type);this[o]!==b&&(this[t]=b)}n.call(this,a,s,l)}};var t4=new Map;function Nd(o){return(Array.isArray(o)?o:o.split(",")).reduce((t,r)=>{let n=t4.get(r.trim());return n?[...t,...n]:t},[])}function e4(o){return typeof o=="object"&&o!==null&&typeof o.label=="string"}function zo(o){let i=o?.trim();if(!i)return[];if(i.startsWith("["))try{let t=JSON.parse(i);return Array.isArray(t)?t.filter(e4):[]}catch{return console.warn("slash-items could not be parsed as JSON",i),[]}return i.split(",").map(t=>t.trim()).filter(t=>t!=="").map(t=>{let r=t.indexOf("=");if(r===-1)return{label:t,value:t};let n=t.slice(0,r).trim(),a=t.slice(r+1).trim();return{label:n||a,value:a}}).filter(t=>t.label!=="")}function r4(o){return o.keywords?(Array.isArray(o.keywords)?o.keywords:o.keywords.split(",")).map(t=>t.trim().toLowerCase()).filter(t=>t!==""):[]}function i4(o,i){let t=o.label.toLowerCase();return t.startsWith(i)?0:t.split(/\s+/).some(r=>r.startsWith(i))?1:t.includes(i)?2:r4(o).some(r=>r.includes(i))?3:o.value?.toLowerCase().includes(i)?4:o.description?.toLowerCase().includes(i)?5:-1}function Od(o,i){let t=i.trim().toLowerCase();return o.map((r,n)=>({item:r,index:n,score:t?i4(r,t):0})).filter(r=>r.score!==-1).sort((r,n)=>r.score-n.score||(r.item.order??r.index)-(n.item.order??n.index)||r.index-n.index).map(r=>r.item)}var Lu="zn-slash-recent:",n4=10;function qu(o){return o.action?`action:${o.action}`:`value:${o.value||o.label}`}function Iu(o){if(!o)return[];try{let i=JSON.parse(localStorage.getItem(Lu+o)??"[]");return Array.isArray(i)?i.filter(t=>typeof t=="string"):[]}catch{return[]}}function Xv(o,i){if(!o)return[];let t=qu(i),r=[t,...Iu(o).filter(n=>n!==t)].slice(0,n4);try{localStorage.setItem(Lu+o,JSON.stringify(r))}catch{}return r}function Qv(o){if(o)try{localStorage.removeItem(Lu+o)}catch{}}var Jv=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host ::-webkit-scrollbar{width:5px;height:5px}:host{}:host ::-webkit-scrollbar-track{background:transparent}:host{}:host ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}:host{}:host ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}:host{--slash-menu-width:320px;--slash-menu-max-height:260px;--slash-menu-border-radius:12px;--slash-menu-item-border-radius:8px;display:contents}:host(:not([open])) .slash-menu__panel{display:none}.slash-menu__panel{display:flex;flex-direction:column;position:fixed;inset:0 auto auto 0;margin:0;width:var(--slash-menu-width);max-width:var(--auto-size-available-width,none);max-height:min(var(--slash-menu-max-height),var(--auto-size-available-height,100vh));z-index:var(--zn-z-index-dropdown);overflow:hidden;background:var(--zn-panel-background-color);border:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);border-radius:var(--slash-menu-border-radius);box-shadow:var(--zn-shadow-medium);font-family:var(--zn-font-sans);font-size:var(--zn-font-size-medium);color:rgb(var(--zn-text))}.slash-menu__list{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--zn-spacing-3x-small,2px);min-height:0;overflow-y:auto;overscroll-behavior:none;padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px)}.slash-menu__group-heading,.slash-menu__footer,.slash-menu__empty{padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);-moz-user-select:none;user-select:none;-webkit-user-select:none}.slash-menu__group-heading{padding-top:var(--zn-spacing-x-small,8px);font-weight:var(--zn-font-weight-semibold);text-transform:uppercase;letter-spacing:0.06em;color:var(--zn-color-neutral-400)}.slash-menu__footer{border-top:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);margin-top:var(--zn-spacing-2x-small,4px)}.slash-menu__divider{height:var(--zn-panel-border-width,1px);margin:var(--zn-spacing-2x-small,4px) 0;background:var(--zn-panel-border-color)}.slash-menu__hints{display:flex;flex:0 0 auto;align-items:center;gap:var(--zn-spacing-small,12px);padding:var(--zn-spacing-x-small,8px) var(--zn-spacing-small,12px);border-top:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);-moz-user-select:none;user-select:none;-webkit-user-select:none}.slash-menu__hint{display:flex;align-items:center;gap:var(--zn-spacing-2x-small,4px)}.slash-menu__key{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 var(--zn-spacing-2x-small,4px);border:solid var(--zn-panel-border-width,1px) var(--zn-panel-border-color);border-radius:var(--zn-border-radius,6px);background:var(--zn-panel-background-color);font-family:var(--zn-font-sans);font-size:var(--zn-font-size-2x-small);line-height:1;color:var(--zn-color-neutral-600)}.slash-menu__item{display:flex;align-items:center;gap:var(--zn-spacing-small,12px);width:100%;padding:var(--zn-spacing-2x-small,4px) var(--zn-spacing-x-small,8px);border:none;border-radius:var(--slash-menu-item-border-radius);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.slash-menu__item:hover:not(.slash-menu__item--disabled){background:var(--zn-input-background-color-hover)}.slash-menu__item--active,.slash-menu__item--active:hover:not(.slash-menu__item--disabled){background:rgba(var(--zn-color-primary),0.08)}.slash-menu__item--disabled{opacity:0.5;cursor:not-allowed}.slash-menu__icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border:solid var(--zn-panel-border-width,1px) rgba(var(--zn-color-primary),0.18);border-radius:var(--slash-menu-item-border-radius);background:rgba(var(--zn-color-primary),0.06);color:var(--zn-color-neutral-700)}.slash-menu__icon--empty{border-color:transparent;background:none}.slash-menu__item--active .slash-menu__icon{border-color:rgba(var(--zn-color-primary),0.3);background:rgba(var(--zn-color-primary),0.14);color:rgb(var(--zn-color-primary))}.slash-menu__text{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.slash-menu__label{font-weight:var(--zn-font-weight-semibold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slash-menu__description{font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slash-menu__token{flex:0 1 auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--zn-font-mono);font-size:var(--zn-font-size-x-small);color:var(--zn-color-neutral-600)}`;var ds="zn-slash-item-select";function o4(o,i){return!!o&&o.length===i.length&&o.every((t,r)=>t.label===i[r].label&&t.value===i[r].value&&t.disabled===i[r].disabled)}var Jt=class extends k{constructor(){super(...arguments);this.open=!1;this.items=[];this.query="";this.heading="Insert";this.emptyText="No matches";this.maxItems=25;this.hideKeys=!1;this.hideHints=!1;this.recentKey="";this.maxRecent=3;this.recentHeading="Recently used";this.anchor=null;this.placement="bottom-start";this.distance=4;this.activeIndex=0;this.recentKeys=[];this.recentCount=0;this.handleItemMouseDown=t=>{t.preventDefault(),t.stopPropagation();let r=Number(t.currentTarget.dataset.index),n=this.visibleItems[r];n&&(this.activeIndex=r,this.selectItem(n))}}get listItems(){return this.maxItems>0?this.items.slice(0,this.maxItems):this.items}get recentItems(){if(!this.recentKey||this.maxRecent<1||this.query.trim()!=="")return[];let t=new Map;for(let n of this.items){let a=qu(n);!n.disabled&&!t.has(a)&&t.set(a,n)}let r=this.recentKeys.map(n=>t.get(n)).filter(n=>n!==void 0).slice(0,this.maxRecent);return r.length<this.items.length?r:[]}get visibleItems(){return[...this.recentItems,...this.listItems]}get activeItem(){return this.visibleItems[this.activeIndex]}show(){this.open=!0}hide(){this.open=!1}clearRecent(){Qv(this.recentKey),this.recentKeys=[]}setActiveIndex(t){let r=this.visibleItems;if(!r.filter(l=>!l.disabled).length){this.activeIndex=-1;return}let a=(t+r.length)%r.length,s=t<this.activeIndex?-1:1;for(;r[a]?.disabled;)a=(a+s+r.length)%r.length;this.activeIndex=a,this.updateComplete.then(()=>this.scrollActiveIntoView())}moveActive(t){this.setActiveIndex(this.activeIndex+t)}selectActive(){let t=this.activeItem;t&&this.selectItem(t)}reposition(){this.position()}connectedCallback(){super.connectedCallback(),this.open&&this.updateComplete.then(()=>this.startPositioner())}disconnectedCallback(){super.disconnectedCallback(),this.stopPositioner(),this.hidePanelPopover()}showPanelPopover(){let t=this.panel;typeof t?.showPopover=="function"&&!t.matches(":popover-open")&&t.showPopover()}hidePanelPopover(){let t=this.panel;typeof t?.hidePopover=="function"&&t.matches(":popover-open")&&t.hidePopover()}startPositioner(){this.stopPositioner(),!(!this.anchor||!this.panel)&&(this.stopAutoUpdate=Ld(this.anchor,this.panel,()=>{this.position()}))}stopPositioner(){this.stopAutoUpdate?.(),this.stopAutoUpdate=void 0}async position(){let{anchor:t,panel:r}=this;if(!this.open||!t||!r)return;this.showPanelPopover();let{x:n,y:a}=await Rd(t,r,{placement:this.placement,strategy:"fixed",middleware:[qd(this.distance),Dd({padding:8}),Id({padding:8}),Il({padding:8,apply:({availableHeight:s})=>{r.style.setProperty("--auto-size-available-height",`${Math.max(s,0)}px`)}})]});Object.assign(r.style,{left:`${n}px`,top:`${a}px`})}selectItem(t){t.disabled||(this.recentKey&&(this.recentKeys=Xv(this.recentKey,t)),this.dispatchEvent(new CustomEvent(ds,{bubbles:!0,cancelable:!0,composed:!1,detail:{item:t,query:this.query}})))}scrollActiveIntoView(){let t=this.renderRoot.querySelector('[data-slash-item][aria-selected="true"]');if(!t)return;let r=this.visibleItems,n=this.list;if(n&&r.slice(0,this.activeIndex).every(a=>a.disabled)){n.scrollTop=0;return}if(n&&r.slice(this.activeIndex+1).every(a=>a.disabled)){n.scrollTop=n.scrollHeight;return}t.scrollIntoView({block:"nearest"})}willUpdate(t){super.willUpdate(t),(t.has("recentKey")||t.has("open")&&this.open)&&(this.recentKeys=Iu(this.recentKey));let r=t.has("items")&&!o4(t.get("items"),this.items),n=this.recentItems.length;(r||n!==this.recentCount)&&(this.recentCount=n,this.activeIndex=this.visibleItems.findIndex(a=>!a.disabled))}updated(t){super.updated(t),(t.has("open")||t.has("anchor"))&&(this.open?this.startPositioner():(this.stopPositioner(),this.hidePanelPopover())),this.open&&this.position(),(t.has("items")||t.has("open")&&this.open)&&this.scrollActiveIntoView()}renderItem(t,r,n){let a=r===this.activeIndex,s=!this.hideKeys&&t.value&&t.value!==t.label&&!t.value.includes(`
385
385
  `)?t.value:"";return u`
386
386
  <button
387
387
  type="button"
@@ -438,8 +438,8 @@ import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L
438
438
  <div part="footer" class="slash-menu__footer">${t} more — keep typing to narrow</div>`:""}
439
439
  </div>
440
440
  ${this.hideHints?"":this.renderHints()}
441
- </div>`}};Jt.styles=z(r0),Jt.dependencies={"zn-icon":nt},c([F(".slash-menu__panel")],Jt.prototype,"panel",2),c([F(".slash-menu__list")],Jt.prototype,"list",2),c([p({type:Boolean,reflect:!0})],Jt.prototype,"open",2),c([p({type:Array})],Jt.prototype,"items",2),c([p()],Jt.prototype,"query",2),c([p()],Jt.prototype,"heading",2),c([p({attribute:"empty-text"})],Jt.prototype,"emptyText",2),c([p({attribute:"max-items",type:Number})],Jt.prototype,"maxItems",2),c([p({attribute:"hide-keys",type:Boolean})],Jt.prototype,"hideKeys",2),c([p({attribute:"hide-hints",type:Boolean})],Jt.prototype,"hideHints",2),c([p({attribute:"recent-key"})],Jt.prototype,"recentKey",2),c([p({attribute:"max-recent",type:Number})],Jt.prototype,"maxRecent",2),c([p({attribute:"recent-heading"})],Jt.prototype,"recentHeading",2),c([p({attribute:!1})],Jt.prototype,"anchor",2),c([p()],Jt.prototype,"placement",2),c([p({type:Number})],Jt.prototype,"distance",2),c([R()],Jt.prototype,"activeIndex",2),c([R()],Jt.prototype,"recentKeys",2);var l4=40,_o=class{constructor(i,t){this.caretAnchor={getBoundingClientRect:()=>this.caretRect()};this.field=null;this.menu=null;this.triggerIndex=-1;this.query="";this.dismissedIndex=-1;this.resolveToken=0;this.inserting=!1;this.isOpen=!1;this.listening=!1;this.handleInput=()=>this.detect();this.handleCaretMove=()=>this.detect();this.handleKeyUp=i=>{this.isOpen&&(i.key==="ArrowDown"||i.key==="ArrowUp")||(i.key.startsWith("Arrow")||i.key==="Home"||i.key==="End")&&this.detect()};this.handleBlur=()=>this.close();this.handleScroll=()=>{this.isOpen&&this.menu?.reposition()};this.handleKeyDown=i=>{if(!this.isOpen||i.isComposing)return;let t=()=>{i.preventDefault(),i.stopPropagation()};switch(i.key){case"Escape":t(),this.dismissedIndex=this.triggerIndex,this.close();return;case"ArrowDown":t(),this.menu?.moveActive(1);return;case"ArrowUp":t(),this.menu?.moveActive(-1);return;case"Enter":case"Tab":{if(i.shiftKey||i.metaKey||i.ctrlKey||i.altKey)return;let r=this.menu?.activeItem;if(!r){this.close();return}t(),this.select(r)}}};this.handleItemSelect=i=>{let{item:t}=i.detail;t&&this.select(t)};this.host=i,this.options=t,i.addController(this)}get open(){return this.isOpen}hostConnected(){this.addListeners()}hostDisconnected(){this.removeListeners()}attach(i){this.field===i&&this.listening||(this.removeListeners(),this.field=i,this.caretAnchor.contextElement=i,this.addListeners())}detach(){this.removeListeners(),this.field=null}addListeners(){let i=this.field;!i||this.listening||(i.addEventListener("keydown",this.handleKeyDown,{capture:!0}),i.addEventListener("input",this.handleInput),i.addEventListener("keyup",this.handleKeyUp),i.addEventListener("click",this.handleCaretMove),i.addEventListener("blur",this.handleBlur),i.addEventListener("scroll",this.handleScroll),this.listening=!0)}removeListeners(){let i=this.field;!i||!this.listening||(this.close(),i.removeEventListener("keydown",this.handleKeyDown,{capture:!0}),i.removeEventListener("input",this.handleInput),i.removeEventListener("keyup",this.handleKeyUp),i.removeEventListener("click",this.handleCaretMove),i.removeEventListener("blur",this.handleBlur),i.removeEventListener("scroll",this.handleScroll),this.listening=!1)}close(){this.resolveToken++,this.triggerIndex=-1,this.query="",this.isOpen&&(this.isOpen=!1,this.menu?.hide(),this.field?.setAttribute("aria-expanded","false"))}requestOpen(){this.dismissedIndex=-1,this.detect()}caretRect(){let i=this.field;if(!i)return new DOMRect;let t=this.triggerIndex>=0?this.triggerIndex:i.selectionStart??0,r=i.clientWidth,n=this.measured;return(!n||n.index!==t||n.width!==r||n.value!==i.value)&&(this.measured={value:i.value,index:t,width:r,coordinates:Ou(i,t)}),Pu(i,this.measured.coordinates)}detect(){if(this.inserting)return;let i=this.field;if(!i||i.disabled||i.readOnly){this.close();return}let t=this.options.trigger?.()||"/",r=i.selectionStart;if(!t||r===null||i.selectionEnd!==r){this.close();return}let n=i.value,a=n.lastIndexOf(t,Math.max(0,r-t.length));if(a===-1||a+t.length>r){this.close();return}let s=a>0?n.charAt(a-1):"";if(s!==""&&!/\s/.test(s)){this.close();return}let l=n.slice(a+t.length,r);if(l.length>l4||/[\r\n]/.test(l)){this.close();return}if(a===this.dismissedIndex){this.close();return}this.triggerIndex=a,this.query=l,this.resolve(l)}async resolve(i){let t=++this.resolveToken,r=[];try{r=await this.options.items(i)}catch(s){console.warn("slash menu items could not be resolved",s)}if(t!==this.resolveToken)return;let n=Od(r,i);if(!n.length){this.close();return}let a=await this.options.menu();!a||t!==this.resolveToken||(a!==this.menu&&(this.menu?.removeEventListener(ps,this.handleItemSelect),a.addEventListener(ps,this.handleItemSelect),this.menu=a),a.anchor=this.caretAnchor,a.query=i,a.items=n,this.isOpen||(this.isOpen=!0,this.dismissedIndex=-1,a.show(),this.field?.setAttribute("aria-expanded","true"),this.field?.setAttribute("aria-haspopup","listbox")),await a.updateComplete,this.isOpen&&a.reposition())}select(i){let t=this.field,r=this.triggerIndex,n=t?.selectionStart??r,a=this.query,s=this.options.trigger?.()||"/";if(i.disabled||(this.close(),!t||r<0))return;let l=this.options.onSelect?.(i,a)===!1,d=l?"":i.value??"";t.value.slice(r,n)===s+a&&(this.replace(t,r,n,d,i),!l&&d&&this.options.onInsert?.(i,d))}replace(i,t,r,n,a){this.inserting=!0;try{i.focus({preventScroll:!0}),i.setSelectionRange(t,r);let s=!1;try{s=i.ownerDocument.execCommand("insertText",!1,n)}catch{s=!1}s||(i.setRangeText(n,t,r,"end"),i.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})));let l=Math.min(Math.max(a.caretOffset??n.length,0),n.length);i.setSelectionRange(t+l,t+l)}finally{this.inserting=!1}this.host.requestUpdate()}};var i0=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:none}`;var mr=class extends k{constructor(){super(...arguments);this.label="";this.disabled=!1}toSlashMenuItem(){return{label:this.label||this.insertValue,value:this.insertValue,icon:this.icon,description:this.description,keywords:this.keywords,group:this.group,order:this.order,action:this.action,caretOffset:this.caretOffset,disabled:this.disabled}}get insertValue(){return this.value??(this.textContent??"").trim()}render(){return u`
442
- <slot></slot>`}};mr.styles=z(i0),c([p()],mr.prototype,"label",2),c([p()],mr.prototype,"value",2),c([p()],mr.prototype,"icon",2),c([p()],mr.prototype,"description",2),c([p()],mr.prototype,"keywords",2),c([p()],mr.prototype,"group",2),c([p({type:Number})],mr.prototype,"order",2),c([p({attribute:"caret-offset",type:Number})],mr.prototype,"caretOffset",2),c([p()],mr.prototype,"action",2),c([p({type:Boolean,reflect:!0})],mr.prototype,"disabled",2);var Fl=mr;mr.define("zn-slash-item");var _a=Jt;Jt.define("zn-slash-menu");var St=_`.form-control-input{margin:var(--zn-spacing-2x-small) 3px 3px 0}.form-control-input--flush{margin:0}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--zn-input-label-color);font-weight:var(--zn-input-label-font-weight);line-height:var(--zn-input-label-line-height);margin-bottom:var(--zn-spacing-x-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--zn-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control__label{font-size:var(--zn-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--zn-input-required-content);margin-inline-start:var(--zn-input-required-content-offset);color:var(--zn-input-required-content-color)}.form-control--has-label.form-control--radio-group .form-control__label,.form-control--has-label.form-control--checkbox-group .form-control__label{margin-bottom:0}.form-control--has-label.form-control--has-label-tooltip .form-control__label{display:inline-flex;align-items:center;gap:var(--zn-spacing-2x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--zn-input-label-font-size-small)}.form-control--label-tooltip{color:var(--zn-color-neutral-700);font-size:var(--zn-font-size-small)}.form-control--label-tooltip zn-icon{--icon-color:var(--zn-color-neutral-700);--icon-size:var(--zn-font-size-small)}.form-control--has-label.form-control--has-context-note{display:flex;justify-content:space-between;flex-wrap:wrap}.form-control__label-context-note{color:var(--zn-input-help-text-color);font-size:var(--zn-font-size-small);margin-bottom:var(--zn-spacing-2x-small)}.form-control--has-label.form-control--has-context-note .form-control-input{width:100%}.form-control--has-help-text .form-control__help-text,.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{display:block;color:var(--zn-input-help-text-color);margin-top:var(--zn-spacing-x-small)}.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{margin-top:0.375rem}.radio--has-selected-content .radio__selected-content,.checkbox--has-selected-content .checkbox__selected-content{display:block;margin-top:var(--zn-spacing-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--zn-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text,.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{font-size:var(--zn-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--zn-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text,.form-control--has-help-text.form-control--checkbox-group .form-control__help-text{margin-top:var(--zn-spacing-medium)}.form-control--has-help-text .switch .form-control__help-text{margin-top:var(--zn-spacing-3x-small)}.form-control--checkbox-contained-wrapper,.form-control--radio-contained-wrapper{height:100%}`;var n0=_`@charset "UTF-8";@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:block}.input{flex:1 1 auto;display:inline-flex;align-items:stretch;justify-content:start;position:relative;width:100%;box-shadow:var(--zn-shadow-x-small);font-family:var(--zn-input-font-family),sans-serif;font-weight:var(--zn-input-font-weight);letter-spacing:var(--zn-input-letter-spacing);vertical-align:middle;overflow:hidden;cursor:text;transition:var(--zn-transition-fast) color,var(--zn-transition-fast) border,var(--zn-transition-fast) background-color}.input--standard{background-color:var(--zn-input-background-color);border:solid var(--zn-input-border-width) var(--zn-input-border-color)}.input--standard:hover:not(.input--disabled,.input--filled){background-color:var(--zn-input-background-color-hover);border-color:var(--zn-input-border-color-hover)}.input--filled:hover:not(.input--disabled){background-color:var(--zn-color-neutral-50);border-color:var(--zn-input-border-color-hover)}.input--standard.input--focused:not(.input--disabled){background-color:var(--zn-input-background-color-focus);border-color:var(--zn-input-border-color-focus)}.input--standard.input--focused:not(.input--disabled):not(.input--x-small){box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input--standard.input--focused:not(.input--disabled).input--x-small{box-shadow:0 0 0 var(--zn-focus-ring-width-x-small) var(--zn-input-focus-ring-color)}.input--standard.input--focused:not(.input--disabled) .input__control{color:var(--zn-input-color-focus)}.input--standard.input--disabled{background-color:var(--zn-input-background-color-disabled);border-color:var(--zn-input-border-color-disabled);opacity:0.5;cursor:not-allowed}.input--standard.input--filled{background-color:rgba(var(--zn-panel),var(--zn-panel-opacity))}.input--standard.input--disabled .input__control{color:var(--zn-input-color-disabled)}.input--standard.input--disabled .input__control::-moz-placeholder{color:var(--zn-input-placeholder-color-disabled)}.input--standard.input--disabled .input__control::placeholder{color:var(--zn-input-placeholder-color-disabled)}.input__control{flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;min-width:0;height:100%;color:var(--zn-input-color);border:none;background:inherit;box-shadow:none;padding:0;margin:0;cursor:inherit;-webkit-appearance:none;line-height:var(--zn-input-line-height)}input[type=text].input__control[data-color-input]{font-family:var(--zn-font-mono,"SFMono-Regular","Consolas","Liberation Mono","Menlo",monospace);font-size:0.9em}.input__control::-webkit-search-decoration,.input__control::-webkit-search-cancel-button,.input__control::-webkit-search-results-button,.input__control::-webkit-search-results-decoration{-webkit-appearance:none}.input__control:-webkit-autofill,.input__control:-webkit-autofill:hover,.input__control:-webkit-autofill:focus,.input__control:-webkit-autofill:active{box-shadow:0 0 0 var(--zn-input-height-large) var(--zn-input-background-color) inset !important;-webkit-text-fill-color:var(--zn-input-color);caret-color:var(--zn-input-color)}.input__control::-moz-placeholder{color:var(--zn-input-placeholder-color);-moz-user-select:none;user-select:none;-webkit-user-select:none}.input__control::placeholder{color:var(--zn-input-placeholder-color);-moz-user-select:none;user-select:none;-webkit-user-select:none}.input:hover:not(.input--disabled) .input__control{color:var(--zn-input-color-hover)}.input__control:focus{outline:none}.input__prefix,.input__suffix{display:inline-flex;flex:0 0 auto;align-items:center;align-self:stretch;height:100%;cursor:default;color:var(--zn-input-icon-color);font-size:var(--zn-font-size-small)}.input__prefix zn-icon,.input__suffix zn-icon{--icon-size:var(--zn-font-size-x-large);color:var(--zn-input-icon-color);font-size:var(--zn-font-size-small)}.input__prefix ::slotted(zn-icon),.input__suffix ::slotted(zn-icon){--icon-size:var(--zn-font-size-medium);font-size:var(--zn-font-size-medium);color:var(--zn-input-icon-color)}.input--x-small{border-radius:var(--zn-input-border-radius-x-small);font-size:var(--zn-input-font-size-small);height:var(--zn-input-height-x-small)}.input--x-small .input__control{height:calc(var(--zn-input-height-x-small) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--x-small .input__clear,.input--x-small .input__password-toggle{width:calc(1em + var(--zn-input-spacing-x-small) * 2)}.input--x-small .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-spacing-x-small)}.input--x-small .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-input-spacing-x-small)}.input--x-small .input__suffix ::slotted(zn-button),.input--x-small .input__prefix ::slotted(zn-button),.input--x-small .input__suffix ::slotted(zn-checkbox),.input--x-small .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--small{border-radius:var(--zn-input-border-radius-small);font-size:var(--zn-input-font-size-small);height:var(--zn-input-height-small)}.input--small .input__control{height:calc(var(--zn-input-height-small) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--small .input__clear,.input--small .input__password-toggle{width:calc(1em + var(--zn-input-spacing-small) * 2)}.input--small .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-input-spacing-small)}.input--small .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-input-spacing-small)}.input--small .input__suffix ::slotted(zn-button),.input--small .input__prefix ::slotted(zn-button),.input--small .input__suffix ::slotted(zn-checkbox),.input--small .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--medium{border-radius:var(--zn-input-border-radius-medium);font-size:var(--zn-input-font-size-medium);height:var(--zn-input-height-medium)}.input--medium .input__control{height:calc(var(--zn-input-height-medium) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--medium .input__clear,.input--medium .input__password-toggle{width:calc(1em + var(--zn-input-spacing-medium) * 2)}.input--medium .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-spacing-small)}.input--medium .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-spacing-small)}.input--medium .input__suffix ::slotted(zn-button),.input--medium .input__prefix ::slotted(zn-button),.input--medium .input__suffix ::slotted(zn-checkbox),.input--medium .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input__suffix ::slotted(zn-button),.input__prefix ::slotted(zn-button){--zn-button-border-color:rgb(var(--zn-color-border));--zn-button-border-width:0}.input__suffix ::slotted(zn-button){--zn-button-border-left-width:1px}.input__prefix ::slotted(zn-button){--zn-button-border-right-width:1px}.input--large{border-radius:var(--zn-input-border-radius-large);font-size:var(--zn-input-font-size-large);height:var(--zn-input-height-large)}.input--large .input__control{height:calc(var(--zn-input-height-large) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-medium) 0 var(--zn-spacing-small)}.input--large .input__clear,.input--large .input__password-toggle{width:calc(1em + var(--zn-input-spacing-large) * 2)}.input--large .input__suffix ::slotted(zn-button),.input--large .input__prefix ::slotted(zn-button),.input--large .input__suffix ::slotted(zn-checkbox),.input--large .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--pill.input--x-small{border-radius:var(--zn-input-height-small);padding:0 var(--zn-spacing-x-small)}.input--pill.input--small{border-radius:var(--zn-input-height-small);padding:0 var(--zn-spacing-x-small)}.input--pill.input--medium{border-radius:var(--zn-input-height-medium);padding:0 var(--zn-spacing-x-small)}.input--pill.input--large{border-radius:var(--zn-input-height-large);padding:0 var(--zn-spacing-x-small)}.input__clear:not(.input__clear--visible){visibility:hidden}.input__clear,.input__password-toggle{display:inline-flex;align-items:center;justify-content:center;font-size:var(--zn-font-size-large);color:var(--zn-input-icon-color);border:none;background:none;padding:0;transition:var(--zn-transition-fast) color;cursor:pointer}.input__clear zn-icon,.input__password-toggle zn-icon{--icon-size:var(--zn-font-size-large)}.input__clear:hover,.input__password-toggle:hover{color:var(--zn-input-icon-color-hover)}.input__clear:focus,.input__password-toggle:focus{outline:none}.input--empty .input__clear{visibility:hidden}::-ms-reveal{display:none}.input--no-spin-buttons input[type=number]::-webkit-outer-spin-button,.input--no-spin-buttons input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;display:none}.input--no-spin-buttons input[type=number]{-moz-appearance:textfield}input[type=date]::-webkit-calendar-picker-indicator{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="12.25" viewBox="0 0 448 512"><path fill="%236d7176" d="M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"/></svg>')}.input__color-swatch{display:inline-flex;align-self:stretch;border:none;border-inline-start:solid var(--zn-input-border-width) var(--zn-input-border-color);border-radius:0;background-color:var(--zn-color-neutral-0);cursor:pointer;overflow:hidden;position:relative;flex-shrink:0;margin:0}.input__color-swatch:hover .input__color-swatch-inner{filter:brightness(0.95)}.input__color-swatch-inner{width:100%;height:100%;background-color:var(--color-value,#000000);transition:var(--zn-transition-fast) filter}.input--x-small .input__color-swatch{width:calc(var(--zn-input-height-x-small) * 1.2)}.input--small .input__color-swatch{width:calc(var(--zn-input-height-small) * 1.2)}.input--medium .input__color-swatch{width:calc(var(--zn-input-height-medium) * 1.2)}.input--large .input__color-swatch{width:calc(var(--zn-input-height-large) * 1.2)}:host([type=range]) .form-control--has-label .form-control__label,:host([type=range]) .form-control__label-context-note{margin-bottom:0}:host([type=range]) .form-control-input{margin-top:0}.input--standard.input--range{--zn-range-track-height:6px;--zn-range-track-color:var(--zn-color-neutral-200);--zn-range-thumb-size:18px;--zn-range-thumb-color:var(--zn-color-primary-600);--zn-range-thumb-ring-width:4px;align-items:center;height:var(--zn-range-thumb-size);padding:0;overflow:visible;cursor:pointer}.input--standard.input--range,.input--standard.input--range:hover,.input--standard.input--range.input--focused,.input--standard.input--range.input--disabled{border:none;background:none;box-shadow:none}.input--standard.input--range.input--x-small{--zn-range-track-height:4px;--zn-range-thumb-size:14px;--zn-range-thumb-ring-width:3px}.input--standard.input--range.input--small{--zn-range-track-height:5px;--zn-range-thumb-size:16px;--zn-range-thumb-ring-width:3px}.input--standard.input--range.input--large{--zn-range-track-height:7px;--zn-range-thumb-size:20px}.input--range .input__control{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:var(--zn-range-thumb-size);padding:0;margin:0;background:none;cursor:inherit}.input--range .input__control::-webkit-slider-runnable-track{height:var(--zn-range-track-height);border-radius:calc(var(--zn-range-track-height) / 2);background-color:var(--zn-range-track-color)}.input--range .input__control::-moz-range-track{height:var(--zn-range-track-height);border-radius:calc(var(--zn-range-track-height) / 2);background-color:var(--zn-range-track-color)}.input--range .input__control::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--zn-range-thumb-size);height:var(--zn-range-thumb-size);margin-top:calc((var(--zn-range-track-height) - var(--zn-range-thumb-size)) / 2);border:var(--zn-range-thumb-ring-width) solid var(--zn-color-neutral-0);border-radius:50%;background-color:var(--zn-range-thumb-color);box-shadow:0 0 0 1px var(--zn-input-border-color);-webkit-transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color;transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color}.input--range .input__control::-moz-range-thumb{width:var(--zn-range-thumb-size);height:var(--zn-range-thumb-size);box-sizing:border-box;border:var(--zn-range-thumb-ring-width) solid var(--zn-color-neutral-0);border-radius:50%;background-color:var(--zn-range-thumb-color);box-shadow:0 0 0 1px var(--zn-input-border-color);-moz-transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color;transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color}.input--range:hover:not(.input--disabled) .input__control::-webkit-slider-thumb{background-color:var(--zn-color-primary-500);box-shadow:0 0 0 1px var(--zn-input-border-color-hover)}.input--range:hover:not(.input--disabled) .input__control::-moz-range-thumb{background-color:var(--zn-color-primary-500);box-shadow:0 0 0 1px var(--zn-input-border-color-hover)}.input--range .input__control:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input--range .input__control:focus-visible::-moz-range-thumb{box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input__color-picker{position:absolute;opacity:0;width:0;height:0;padding:0;margin:0;pointer-events:none;border:none;visibility:hidden}`;var tt=class extends k{constructor(){super(...arguments);this.formControlController=new rt(this,{assumeInteractionOn:["zn-blur","zn-input"]});this.hasSlotController=new Y(this,"help-text","label","label-tooltip");this.localize=new He(this);this.slashController=new _o(this,{menu:()=>this.mountSlashMenu(),items:t=>this.resolveSlashItems(t),trigger:()=>this.slashTrigger,onSelect:(t,r)=>!this.emit("zn-slash-select",{detail:{item:t,query:r}}).defaultPrevented,onInsert:(t,r)=>this.emit("zn-slash-insert",{detail:{item:t,value:r}})});this.hasFocus=!1;this.hasSlashMenu=!1;this.isUserTyping=!1;this.title="";this.__numberInput=Object.assign(document.createElement("input"),{type:"number"});this.__dateInput=Object.assign(document.createElement("input"),{type:"date"});this.type="text";this.name="";this.value="";this.defaultValue="";this.size="medium";this.pill=!1;this.label="";this.labelTooltip="";this.contextNote="";this.helpText="";this.clearable=!1;this.optionalIcon=!1;this.disabled=!1;this.filled=!1;this.placeholder="";this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.noSpinButtons=!1;this.colorFormat="hex";this.valueSuffix="";this.required=!1;this.spellcheck=!0;this.slashItems=[];this.slashPreset="";this.slashTrigger="/";this.slashHeading="Insert";this.slashHideKeys=!1;this.slashRecentKey="";this.triggerSubmit=!1}get valueAsDate(){return this.__dateInput.type=this.type,this.__dateInput.value=this.value,this.input?.valueAsDate||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){return this.__numberInput.value=this.value,this.input?.valueAsNumber||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input?.validity}get validationMessage(){return this.input.validationMessage}validateMinMax(){this.type!=="number"&&this.type!=="date"||(typeof this.min<"u"&&parseInt(this.value)<parseInt(this.min)&&(this.value=this.min.toString()),typeof this.max<"u"&&parseInt(this.value)>parseInt(this.max)&&(this.value=this.max.toString()))}hexToRgb(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16),a=parseInt(r[2],16),s=parseInt(r[3],16);return`rgb(${n}, ${a}, ${s})`}rgbToHex(t){let r=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(!r)return"";let n=parseInt(r[1]).toString(16).padStart(2,"0"),a=parseInt(r[2]).toString(16).padStart(2,"0"),s=parseInt(r[3]).toString(16).padStart(2,"0");return`#${n}${a}${s}`}hexToOklch(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16)/255,a=parseInt(r[2],16)/255,s=parseInt(r[3],16)/255;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;let l=n*.4124564+a*.3575761+s*.1804375,d=n*.2126729+a*.7151522+s*.072175,h=n*.0193339+a*.119192+s*.9503041,m=l/.95047,f=d/1,b=h/1.08883,g=m>.008856?Math.pow(m,1/3):7.787*m+16/116,v=f>.008856?Math.pow(f,1/3):7.787*f+16/116,y=b>.008856?Math.pow(b,1/3):7.787*b+16/116,S=116*v-16,E=500*(g-v),N=200*(v-y),U=Math.sqrt(E*E+N*N),I=Math.atan2(N,E)*180/Math.PI;I<0&&(I+=360);let C=(S/100).toFixed(3),$=(U/150).toFixed(3),M=I.toFixed(1);return`oklch(${C} ${$} ${M})`}oklchToHex(t){let r=t.match(/^oklch\(([0-9.]+)\s+([0-9.]+)\s+([0-9.]+)\)$/);if(!r)return"";let n=parseFloat(r[1])*100,a=parseFloat(r[2])*150,s=parseFloat(r[3]),l=a*Math.cos(s*Math.PI/180),d=a*Math.sin(s*Math.PI/180),h=(n+16)/116,m=l/500+h,f=h-d/200,b=m>.206897?Math.pow(m,3):(m-16/116)/7.787,g=h>.206897?Math.pow(h,3):(h-16/116)/7.787,v=f>.206897?Math.pow(f,3):(f-16/116)/7.787,y=b*.95047,S=g*1,E=v*1.08883,N=y*3.2404542+S*-1.5371385+E*-.4985314,U=y*-.969266+S*1.8760108+E*.041556,I=y*.0556434+S*-.2040259+E*1.0572252;N=N>.0031308?1.055*Math.pow(N,1/2.4)-.055:12.92*N,U=U>.0031308?1.055*Math.pow(U,1/2.4)-.055:12.92*U,I=I>.0031308?1.055*Math.pow(I,1/2.4)-.055:12.92*I,N=Math.max(0,Math.min(1,N)),U=Math.max(0,Math.min(1,U)),I=Math.max(0,Math.min(1,I));let C=Math.round(N*255).toString(16).padStart(2,"0"),$=Math.round(U*255).toString(16).padStart(2,"0"),M=Math.round(I*255).toString(16).padStart(2,"0");return`#${C}${$}${M}`}hexToHsl(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16)/255,a=parseInt(r[2],16)/255,s=parseInt(r[3],16)/255,l=Math.max(n,a,s),d=Math.min(n,a,s),h=(l+d)/2,m=0,f=0;if(l!==d){let b=l-d;switch(f=h>.5?b/(2-l-d):b/(l+d),l){case n:m=((a-s)/b+(a<s?6:0))/6;break;case a:m=((s-n)/b+2)/6;break;case s:m=((n-a)/b+4)/6;break}}return`hsl(${Math.round(m*360)}, ${Math.round(f*100)}%, ${Math.round(h*100)}%)`}hslToHex(t){let r=t.match(/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)$/);if(!r)return"";let n=parseInt(r[1])/360,a=parseInt(r[2])/100,s=parseInt(r[3])/100,l,d,h;if(a===0)l=d=h=s;else{let g=(S,E,N)=>(N<0&&(N+=1),N>1&&(N-=1),N<.16666666666666666?S+(E-S)*6*N:N<.5?E:N<.6666666666666666?S+(E-S)*(.6666666666666666-N)*6:S),v=s<.5?s*(1+a):s+a-s*a,y=2*s-v;l=g(y,v,n+1/3),d=g(y,v,n),h=g(y,v,n-1/3)}let m=Math.round(l*255).toString(16).padStart(2,"0"),f=Math.round(d*255).toString(16).padStart(2,"0"),b=Math.round(h*255).toString(16).padStart(2,"0");return`#${m}${f}${b}`}convertToHex(t){return t?t.startsWith("#")?t:t.startsWith("rgb")?this.rgbToHex(t):t.startsWith("hsl")?this.hslToHex(t):t.startsWith("oklch")?this.oklchToHex(t):t:"#000000"}convertFromHex(t){return t?this.colorFormat==="hex"?t:this.colorFormat==="rgb"?this.hexToRgb(t):this.colorFormat==="hsl"?this.hexToHsl(t):this.colorFormat==="oklch"?this.hexToOklch(t):t:""}handleBlur(){if(this.hasFocus=!1,this.isUserTyping=!1,this.validateMinMax(),this.type==="color"&&this.value){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);r!==this.value&&(this.value=r)}}this.emit("zn-blur")}handleChange(){if(this.type==="currency"&&this.input.value)this.value=parseFloat(this.input.value).toFixed(2);else if(this.type==="color"){let t=this.input.value.trim();if(t==="")this.value="";else if(this.colorFormat==="hex"){let r=t;r&&!r.startsWith("#")&&(r="#"+r),/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(r)&&(this.value=r.toLowerCase())}else this.colorFormat==="rgb"?/^rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)$/.test(t)&&(this.value=t):this.colorFormat==="hsl"?/^hsl\(\s*\d+\s*,\s*\d+%\s*,\s*\d+%\s*\)$/.test(t)&&(this.value=t):this.colorFormat==="oklch"&&/^oklch\(\s*[0-9.]+\s+[0-9.]+\s+[0-9.]+\s*\)$/.test(t)&&(this.value=t)}else this.value=this.input.value;this.emit("zn-change")}handleClearClick(t){this.value="",this.emit("zn-clear"),this.emit("zn-input"),this.emit("zn-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("zn-focus")}handleInput(){this.isUserTyping=!0,this.type==="color"?this.value=this.input.value:this.value=this.input.value,this.formControlController.updateValidity(),this.emit("zn-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){if(this.slashController.open)return;if(t.key==="Escape"){this.input.blur(),t.stopPropagation();return}let r=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;if(t.key==="Enter"&&!r&&!t.defaultPrevented&&!t.isComposing){let n=this.formControlController.getForm();if(!this.triggerSubmit&&(n?.hasAttribute("enter-navigation")||n?.hasAttribute("data-enter-navigation")))return;this.formControlController.submit()}}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleColorSwatchClick(){this.type==="color"&&this.colorPicker&&this.colorPicker.click()}handleColorPickerChange(){if(this.type==="color"&&this.colorPicker){let t=this.colorPicker.value;this.value=this.convertFromHex(t),this.emit("zn-change"),this.emit("zn-input")}}focusInput(t){if(this.hasFocus)return;let r=t.target;r.tagName==="ZN-CHECKBOX"&&(r.slot==="prefix"||r.closest('[slot="prefix"]'))||(r.classList.contains("input__prefix")||r.slot==="prefix"||r.hasAttribute("part")&&r.getAttribute("part")==="base")&&(this.handleFocus(),this.input.focus())}firstUpdated(){this.type==="range"&&this.value===""&&(this.value=this.input.value),this.slashController.attach(this.input)}async resolveSlashItems(t=""){let r=[...Nd(this.slashPreset),...this.slashItems,...this.slottedSlashItems()],n=await this.slashItemsProvider?.(t);return n?[...r,...n]:r}async showSlashMenu(){this.focus();let t=this.input.selectionStart??this.input.value.length;this.input.value.slice(t-this.slashTrigger.length,t)!==this.slashTrigger&&this.setRangeText(this.slashTrigger,t,t,"end"),await this.updateComplete,this.slashController.requestOpen()}hideSlashMenu(){this.slashController.close()}slottedSlashItems(){return[...this.querySelectorAll("zn-slash-item")].map(r=>{if(typeof r.toSlashMenuItem=="function")return r.toSlashMenuItem();let n=r.getAttribute("value")??(r.textContent??"").trim(),a=r.getAttribute("order"),s=r.getAttribute("caret-offset");return{label:r.getAttribute("label")??n,value:n,icon:r.getAttribute("icon")??void 0,description:r.getAttribute("description")??void 0,keywords:r.getAttribute("keywords")??void 0,group:r.getAttribute("group")??void 0,action:r.getAttribute("action")??void 0,order:a===null?void 0:Number(a),caretOffset:s===null?void 0:Number(s),disabled:r.hasAttribute("disabled")}})}async mountSlashMenu(){let t=this.querySelector("zn-slash-menu");return t||(this.hasSlashMenu||(this.hasSlashMenu=!0,await this.updateComplete),this.slashMenuElement)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){if(await this.updateComplete,this.type==="color"&&this.value&&!this.isUserTyping){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);if(r!==this.value){this.value=r,this.emit("zn-change");return}}}this.formControlController.updateValidity(),this.type==="color"&&this.colorPicker&&(this.colorPicker.value=this.convertToHex(this.value)||"#000000")}async handleColorFormatChange(){if(this.type==="color"&&this.value){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);r!==this.value&&(this.value=r,this.emit("zn-change"))}}}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,r,n="none"){this.input.setSelectionRange(t,r,n)}setRangeText(t,r,n,a="preserve"){let s=r??this.input.selectionStart,l=n??this.input.selectionEnd;this.input.setRangeText(t,s,l,a),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),r=this.hasSlotController.test("label-tooltip"),n=this.hasSlotController.test("context-note"),a=this.hasSlotController.test("help-text"),s=this.type==="range",l=this.label?!0:t,d=this.labelTooltip?!0:r,h=this.contextNote||s?!0:n,m=this.helpText?!0:a,f=this.clearable&&!this.disabled&&!this.readonly,b=this.optionalIcon,g=f&&(typeof this.value=="number"||this.value.length>0);return u`
441
+ </div>`}};Jt.styles=z(Jv),Jt.dependencies={"zn-icon":nt},c([F(".slash-menu__panel")],Jt.prototype,"panel",2),c([F(".slash-menu__list")],Jt.prototype,"list",2),c([p({type:Boolean,reflect:!0})],Jt.prototype,"open",2),c([p({type:Array})],Jt.prototype,"items",2),c([p()],Jt.prototype,"query",2),c([p()],Jt.prototype,"heading",2),c([p({attribute:"empty-text"})],Jt.prototype,"emptyText",2),c([p({attribute:"max-items",type:Number})],Jt.prototype,"maxItems",2),c([p({attribute:"hide-keys",type:Boolean})],Jt.prototype,"hideKeys",2),c([p({attribute:"hide-hints",type:Boolean})],Jt.prototype,"hideHints",2),c([p({attribute:"recent-key"})],Jt.prototype,"recentKey",2),c([p({attribute:"max-recent",type:Number})],Jt.prototype,"maxRecent",2),c([p({attribute:"recent-heading"})],Jt.prototype,"recentHeading",2),c([p({attribute:!1})],Jt.prototype,"anchor",2),c([p()],Jt.prototype,"placement",2),c([p({type:Number})],Jt.prototype,"distance",2),c([R()],Jt.prototype,"activeIndex",2),c([R()],Jt.prototype,"recentKeys",2);var a4=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize"];function s4(o){let i=parseFloat(o.lineHeight);if(!Number.isNaN(i))return i;let t=parseFloat(o.fontSize);return Number.isNaN(t)?16:t*1.2}function Du(o,i){let t=o.ownerDocument,r=getComputedStyle(o),n=o.nodeName==="INPUT",a=t.createElement("div"),s=a.style,l=r;s.position="absolute",s.visibility="hidden",s.top="0",s.left="-9999px",s.whiteSpace=n?"pre":"pre-wrap",s.overflow="hidden",n||(s.wordWrap="break-word"),a4.forEach(f=>{let b=l[f];typeof b=="string"&&(s[f]=b)}),n&&(s.height="auto");let d=o.value.slice(0,i);a.textContent=n?d.replace(/\s/g,"\xA0"):d;let h=t.createElement("span");h.textContent=o.value.slice(i)||".",a.appendChild(h),t.body.appendChild(a);let m={top:h.offsetTop+(parseFloat(r.borderTopWidth)||0),left:h.offsetLeft+(parseFloat(r.borderLeftWidth)||0),height:s4(r)};return a.remove(),m}function Ru(o,{top:i,left:t,height:r}){let n=o.getBoundingClientRect(),a=Math.max(n.top,n.bottom-r),s=Math.min(Math.max(n.top+i-o.scrollTop,n.top),a),l=Math.min(Math.max(n.left+t-o.scrollLeft,n.left),n.right);return new DOMRect(l,s,1,r)}function KB(o,i){return Ru(o,Du(o,i))}var l4=40,_o=class{constructor(i,t){this.caretAnchor={getBoundingClientRect:()=>this.caretRect()};this.field=null;this.menu=null;this.triggerIndex=-1;this.query="";this.dismissedIndex=-1;this.resolveToken=0;this.inserting=!1;this.isOpen=!1;this.listening=!1;this.handleInput=()=>this.detect();this.handleCaretMove=()=>this.detect();this.handleKeyUp=i=>{this.isOpen&&(i.key==="ArrowDown"||i.key==="ArrowUp")||(i.key.startsWith("Arrow")||i.key==="Home"||i.key==="End")&&this.detect()};this.handleBlur=()=>this.close();this.handleScroll=()=>{this.isOpen&&this.menu?.reposition()};this.handleKeyDown=i=>{if(!this.isOpen||i.isComposing)return;let t=()=>{i.preventDefault(),i.stopPropagation()};switch(i.key){case"Escape":t(),this.dismissedIndex=this.triggerIndex,this.close();return;case"ArrowDown":t(),this.menu?.moveActive(1);return;case"ArrowUp":t(),this.menu?.moveActive(-1);return;case"Enter":case"Tab":{if(i.shiftKey||i.metaKey||i.ctrlKey||i.altKey)return;let r=this.menu?.activeItem;if(!r){this.close();return}t(),this.select(r)}}};this.handleItemSelect=i=>{let{item:t}=i.detail;t&&this.select(t)};this.host=i,this.options=t,i.addController(this)}get open(){return this.isOpen}hostConnected(){this.addListeners()}hostDisconnected(){this.removeListeners()}attach(i){this.field===i&&this.listening||(this.removeListeners(),this.field=i,this.caretAnchor.contextElement=i,this.addListeners())}detach(){this.removeListeners(),this.field=null}addListeners(){let i=this.field;!i||this.listening||(i.addEventListener("keydown",this.handleKeyDown,{capture:!0}),i.addEventListener("input",this.handleInput),i.addEventListener("keyup",this.handleKeyUp),i.addEventListener("click",this.handleCaretMove),i.addEventListener("blur",this.handleBlur),i.addEventListener("scroll",this.handleScroll),this.listening=!0)}removeListeners(){let i=this.field;!i||!this.listening||(this.close(),i.removeEventListener("keydown",this.handleKeyDown,{capture:!0}),i.removeEventListener("input",this.handleInput),i.removeEventListener("keyup",this.handleKeyUp),i.removeEventListener("click",this.handleCaretMove),i.removeEventListener("blur",this.handleBlur),i.removeEventListener("scroll",this.handleScroll),this.listening=!1)}close(){this.resolveToken++,this.triggerIndex=-1,this.query="",this.isOpen&&(this.isOpen=!1,this.menu?.hide(),this.field?.setAttribute("aria-expanded","false"))}requestOpen(){this.dismissedIndex=-1,this.detect()}caretRect(){let i=this.field;if(!i)return new DOMRect;let t=this.triggerIndex>=0?this.triggerIndex:i.selectionStart??0,r=i.clientWidth,n=this.measured;return(!n||n.index!==t||n.width!==r||n.value!==i.value)&&(this.measured={value:i.value,index:t,width:r,coordinates:Du(i,t)}),Ru(i,this.measured.coordinates)}detect(){if(this.inserting)return;let i=this.field;if(!i||i.disabled||i.readOnly){this.close();return}let t=this.options.trigger?.()||"/",r=i.selectionStart;if(!t||r===null||i.selectionEnd!==r){this.close();return}let n=i.value,a=n.lastIndexOf(t,Math.max(0,r-t.length));if(a===-1||a+t.length>r){this.close();return}let s=a>0?n.charAt(a-1):"";if(s!==""&&!/\s/.test(s)){this.close();return}let l=n.slice(a+t.length,r);if(l.length>l4||/[\r\n]/.test(l)){this.close();return}if(a===this.dismissedIndex){this.close();return}this.triggerIndex=a,this.query=l,this.resolve(l)}async resolve(i){let t=++this.resolveToken,r=[];try{r=await this.options.items(i)}catch(s){console.warn("slash menu items could not be resolved",s)}if(t!==this.resolveToken)return;let n=Od(r,i);if(!n.length){this.close();return}let a=await this.options.menu();!a||t!==this.resolveToken||(a!==this.menu&&(this.menu?.removeEventListener(ds,this.handleItemSelect),a.addEventListener(ds,this.handleItemSelect),this.menu=a),a.anchor=this.caretAnchor,a.query=i,a.items=n,this.isOpen||(this.isOpen=!0,this.dismissedIndex=-1,a.show(),this.field?.setAttribute("aria-expanded","true"),this.field?.setAttribute("aria-haspopup","listbox")),await a.updateComplete,this.isOpen&&a.reposition())}select(i){let t=this.field,r=this.triggerIndex,n=t?.selectionStart??r,a=this.query,s=this.options.trigger?.()||"/";if(i.disabled||(this.close(),!t||r<0))return;let l=this.options.onSelect?.(i,a)===!1,d=l?"":i.value??"";t.value.slice(r,n)===s+a&&(this.replace(t,r,n,d,i),!l&&d&&this.options.onInsert?.(i,d))}replace(i,t,r,n,a){this.inserting=!0;try{i.focus({preventScroll:!0}),i.setSelectionRange(t,r);let s=!1;try{s=i.ownerDocument.execCommand("insertText",!1,n)}catch{s=!1}s||(i.setRangeText(n,t,r,"end"),i.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})));let l=Math.min(Math.max(a.caretOffset??n.length,0),n.length);i.setSelectionRange(t+l,t+l)}finally{this.inserting=!1}this.host.requestUpdate()}};var _a=Jt;Jt.define("zn-slash-menu");var Pr=be(class extends ir{constructor(o){if(super(o),o.type!==cr.PROPERTY&&o.type!==cr.ATTRIBUTE&&o.type!==cr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!vd(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[i]){if(i===ge||i===B)return i;let t=o.element,r=o.name;if(o.type===cr.PROPERTY){if(i===t[r])return ge}else if(o.type===cr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(r))return ge}else if(o.type===cr.ATTRIBUTE&&t.getAttribute(r)===i+"")return ge;return rs(o),i}});var Nu=new Set,ps=new Map,Wn,Ou="ltr",Pu="en",Zv=typeof MutationObserver<"u"&&typeof document<"u"&&typeof document.documentElement<"u";if(Zv){let o=new MutationObserver(t0);Ou=document.documentElement.dir||"ltr",Pu=document.documentElement.lang||navigator.language,o.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}function Hl(...o){o.map(i=>{let t=i.$code.toLowerCase();ps.has(t)?ps.set(t,Object.assign(Object.assign({},ps.get(t)),i)):ps.set(t,i),Wn||(Wn=i)}),t0()}function t0(){Zv&&(Ou=document.documentElement.dir||"ltr",Pu=document.documentElement.lang||navigator.language),[...Nu.keys()].map(o=>{typeof o.requestUpdate=="function"&&o.requestUpdate()})}var Pd=class{constructor(i){this.host=i,this.host.addController(this)}hostConnected(){Nu.add(this.host)}hostDisconnected(){Nu.delete(this.host)}dir(){return`${this.host.dir||Ou}`.toLowerCase()}lang(){let i=`${this.host.lang||Pu}`.toLowerCase().replace(/_/g,"-");try{return new Intl.Locale(i),i}catch{return Wn?Wn.$code.toLowerCase():"en"}}getTranslationData(i){var t,r;let n;try{n=new Intl.Locale(i.replace(/_/g,"-"))}catch{return{locale:void 0,language:"",region:"",primary:void 0,secondary:void 0}}let a=n.language.toLowerCase(),s=(r=(t=n.region)===null||t===void 0?void 0:t.toLowerCase())!==null&&r!==void 0?r:"",l=ps.get(`${a}-${s}`),d=ps.get(a);return{locale:n,language:a,region:s,primary:l,secondary:d}}exists(i,t){var r;let{primary:n,secondary:a}=this.getTranslationData((r=t.lang)!==null&&r!==void 0?r:this.lang());return t=Object.assign({includeFallback:!1},t),!!(n&&n[i]||a&&a[i]||t.includeFallback&&Wn&&Wn[i])}term(i,...t){let{primary:r,secondary:n}=this.getTranslationData(this.lang()),a;if(r&&r[i])a=r[i];else if(n&&n[i])a=n[i];else if(Wn&&Wn[i])a=Wn[i];else return console.error(`No translation found for: ${String(i)}`),String(i);return typeof a=="function"?a(...t):a}date(i,t){return i=new Date(i),new Intl.DateTimeFormat(this.lang(),t).format(i)}number(i,t){return i=Number(i),isNaN(i)?"":new Intl.NumberFormat(this.lang(),t).format(i)}relativeTime(i,t,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(i,t)}};var e0={$code:"en",$name:"English",$dir:"ltr",onChange:"onChange",showPassword:"Show password",hidePassword:"Hide password",clearEntry:"Clear entry",numOptionsSelected:o=>o===0?"No options selected":o===1?"1 option selected":`${o} options selected`,fileButtonText:"Choose a file",fileButtonTextMultiple:"Choose files",folderButtonText:"Choose a folder",fileDragDrop:"Drop files here to upload",folderDragDrop:"Drop folder here to upload",numFilesSelected:o=>o===0?"No files selected":o===1?"1 file selected":`${o} files selected`};Hl(e0);var r0=e0;var He=class extends Pd{};Hl(r0);var i0=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:none}`;var mr=class extends k{constructor(){super(...arguments);this.label="";this.disabled=!1}toSlashMenuItem(){return{label:this.label||this.insertValue,value:this.insertValue,icon:this.icon,description:this.description,keywords:this.keywords,group:this.group,order:this.order,action:this.action,caretOffset:this.caretOffset,disabled:this.disabled}}get insertValue(){return this.value??(this.textContent??"").trim()}render(){return u`
442
+ <slot></slot>`}};mr.styles=z(i0),c([p()],mr.prototype,"label",2),c([p()],mr.prototype,"value",2),c([p()],mr.prototype,"icon",2),c([p()],mr.prototype,"description",2),c([p()],mr.prototype,"keywords",2),c([p()],mr.prototype,"group",2),c([p({type:Number})],mr.prototype,"order",2),c([p({attribute:"caret-offset",type:Number})],mr.prototype,"caretOffset",2),c([p()],mr.prototype,"action",2),c([p({type:Boolean,reflect:!0})],mr.prototype,"disabled",2);var Fl=mr;mr.define("zn-slash-item");var St=_`.form-control-input{margin:var(--zn-spacing-2x-small) 3px 3px 0}.form-control-input--flush{margin:0}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--zn-input-label-color);font-weight:var(--zn-input-label-font-weight);line-height:var(--zn-input-label-line-height);margin-bottom:var(--zn-spacing-x-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--zn-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control__label{font-size:var(--zn-input-label-font-size-large)}:host([required]) .form-control--has-label .form-control__label::after{content:var(--zn-input-required-content);margin-inline-start:var(--zn-input-required-content-offset);color:var(--zn-input-required-content-color)}.form-control--has-label.form-control--radio-group .form-control__label,.form-control--has-label.form-control--checkbox-group .form-control__label{margin-bottom:0}.form-control--has-label.form-control--has-label-tooltip .form-control__label{display:inline-flex;align-items:center;gap:var(--zn-spacing-2x-small)}.form-control--has-label.form-control--small .form-control__label{font-size:var(--zn-input-label-font-size-small)}.form-control--label-tooltip{color:var(--zn-color-neutral-700);font-size:var(--zn-font-size-small)}.form-control--label-tooltip zn-icon{--icon-color:var(--zn-color-neutral-700);--icon-size:var(--zn-font-size-small)}.form-control--has-label.form-control--has-context-note{display:flex;justify-content:space-between;flex-wrap:wrap}.form-control__label-context-note{color:var(--zn-input-help-text-color);font-size:var(--zn-font-size-small);margin-bottom:var(--zn-spacing-2x-small)}.form-control--has-label.form-control--has-context-note .form-control-input{width:100%}.form-control--has-help-text .form-control__help-text,.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{display:block;color:var(--zn-input-help-text-color);margin-top:var(--zn-spacing-x-small)}.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{margin-top:0.375rem}.radio--has-selected-content .radio__selected-content,.checkbox--has-selected-content .checkbox__selected-content{display:block;margin-top:var(--zn-spacing-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--zn-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text,.radio--has-description .radio__description,.checkbox--has-description .checkbox__description{font-size:var(--zn-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--zn-input-help-text-font-size-large)}.form-control--has-help-text.form-control--radio-group .form-control__help-text,.form-control--has-help-text.form-control--checkbox-group .form-control__help-text{margin-top:var(--zn-spacing-medium)}.form-control--has-help-text .switch .form-control__help-text{margin-top:var(--zn-spacing-3x-small)}.form-control--checkbox-contained-wrapper,.form-control--radio-contained-wrapper{height:100%}`;var n0=_`@charset "UTF-8";@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:block}.input{flex:1 1 auto;display:inline-flex;align-items:stretch;justify-content:start;position:relative;width:100%;box-shadow:var(--zn-shadow-x-small);font-family:var(--zn-input-font-family),sans-serif;font-weight:var(--zn-input-font-weight);letter-spacing:var(--zn-input-letter-spacing);vertical-align:middle;overflow:hidden;cursor:text;transition:var(--zn-transition-fast) color,var(--zn-transition-fast) border,var(--zn-transition-fast) background-color}.input--standard{background-color:var(--zn-input-background-color);border:solid var(--zn-input-border-width) var(--zn-input-border-color)}.input--standard:hover:not(.input--disabled,.input--filled){background-color:var(--zn-input-background-color-hover);border-color:var(--zn-input-border-color-hover)}.input--filled:hover:not(.input--disabled){background-color:var(--zn-color-neutral-50);border-color:var(--zn-input-border-color-hover)}.input--standard.input--focused:not(.input--disabled){background-color:var(--zn-input-background-color-focus);border-color:var(--zn-input-border-color-focus)}.input--standard.input--focused:not(.input--disabled):not(.input--x-small){box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input--standard.input--focused:not(.input--disabled).input--x-small{box-shadow:0 0 0 var(--zn-focus-ring-width-x-small) var(--zn-input-focus-ring-color)}.input--standard.input--focused:not(.input--disabled) .input__control{color:var(--zn-input-color-focus)}.input--standard.input--disabled{background-color:var(--zn-input-background-color-disabled);border-color:var(--zn-input-border-color-disabled);opacity:0.5;cursor:not-allowed}.input--standard.input--filled{background-color:rgba(var(--zn-panel),var(--zn-panel-opacity))}.input--standard.input--disabled .input__control{color:var(--zn-input-color-disabled)}.input--standard.input--disabled .input__control::-moz-placeholder{color:var(--zn-input-placeholder-color-disabled)}.input--standard.input--disabled .input__control::placeholder{color:var(--zn-input-placeholder-color-disabled)}.input__control{flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;min-width:0;height:100%;color:var(--zn-input-color);border:none;background:inherit;box-shadow:none;padding:0;margin:0;cursor:inherit;-webkit-appearance:none;line-height:var(--zn-input-line-height)}input[type=text].input__control[data-color-input]{font-family:var(--zn-font-mono,"SFMono-Regular","Consolas","Liberation Mono","Menlo",monospace);font-size:0.9em}.input__control::-webkit-search-decoration,.input__control::-webkit-search-cancel-button,.input__control::-webkit-search-results-button,.input__control::-webkit-search-results-decoration{-webkit-appearance:none}.input__control:-webkit-autofill,.input__control:-webkit-autofill:hover,.input__control:-webkit-autofill:focus,.input__control:-webkit-autofill:active{box-shadow:0 0 0 var(--zn-input-height-large) var(--zn-input-background-color) inset !important;-webkit-text-fill-color:var(--zn-input-color);caret-color:var(--zn-input-color)}.input__control::-moz-placeholder{color:var(--zn-input-placeholder-color);-moz-user-select:none;user-select:none;-webkit-user-select:none}.input__control::placeholder{color:var(--zn-input-placeholder-color);-moz-user-select:none;user-select:none;-webkit-user-select:none}.input:hover:not(.input--disabled) .input__control{color:var(--zn-input-color-hover)}.input__control:focus{outline:none}.input__prefix,.input__suffix{display:inline-flex;flex:0 0 auto;align-items:center;align-self:stretch;height:100%;cursor:default;color:var(--zn-input-icon-color);font-size:var(--zn-font-size-small)}.input__prefix zn-icon,.input__suffix zn-icon{--icon-size:var(--zn-font-size-x-large);color:var(--zn-input-icon-color);font-size:var(--zn-font-size-small)}.input__prefix ::slotted(zn-icon),.input__suffix ::slotted(zn-icon){--icon-size:var(--zn-font-size-medium);font-size:var(--zn-font-size-medium);color:var(--zn-input-icon-color)}.input--x-small{border-radius:var(--zn-input-border-radius-x-small);font-size:var(--zn-input-font-size-small);height:var(--zn-input-height-x-small)}.input--x-small .input__control{height:calc(var(--zn-input-height-x-small) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--x-small .input__clear,.input--x-small .input__password-toggle{width:calc(1em + var(--zn-input-spacing-x-small) * 2)}.input--x-small .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-spacing-x-small)}.input--x-small .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-input-spacing-x-small)}.input--x-small .input__suffix ::slotted(zn-button),.input--x-small .input__prefix ::slotted(zn-button),.input--x-small .input__suffix ::slotted(zn-checkbox),.input--x-small .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--small{border-radius:var(--zn-input-border-radius-small);font-size:var(--zn-input-font-size-small);height:var(--zn-input-height-small)}.input--small .input__control{height:calc(var(--zn-input-height-small) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--small .input__clear,.input--small .input__password-toggle{width:calc(1em + var(--zn-input-spacing-small) * 2)}.input--small .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-input-spacing-small)}.input--small .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-input-spacing-small)}.input--small .input__suffix ::slotted(zn-button),.input--small .input__prefix ::slotted(zn-button),.input--small .input__suffix ::slotted(zn-checkbox),.input--small .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--medium{border-radius:var(--zn-input-border-radius-medium);font-size:var(--zn-input-font-size-medium);height:var(--zn-input-height-medium)}.input--medium .input__control{height:calc(var(--zn-input-height-medium) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-small) 0 var(--zn-spacing-small)}.input--medium .input__clear,.input--medium .input__password-toggle{width:calc(1em + var(--zn-input-spacing-medium) * 2)}.input--medium .input__prefix ::slotted(*),.input__prefix-default{margin-inline-start:var(--zn-spacing-small)}.input--medium .input__suffix ::slotted(*),.input__suffix-default{margin-inline-end:var(--zn-spacing-small)}.input--medium .input__suffix ::slotted(zn-button),.input--medium .input__prefix ::slotted(zn-button),.input--medium .input__suffix ::slotted(zn-checkbox),.input--medium .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input__suffix ::slotted(zn-button),.input__prefix ::slotted(zn-button){--zn-button-border-color:rgb(var(--zn-color-border));--zn-button-border-width:0}.input__suffix ::slotted(zn-button){--zn-button-border-left-width:1px}.input__prefix ::slotted(zn-button){--zn-button-border-right-width:1px}.input--large{border-radius:var(--zn-input-border-radius-large);font-size:var(--zn-input-font-size-large);height:var(--zn-input-height-large)}.input--large .input__control{height:calc(var(--zn-input-height-large) - var(--zn-input-border-width) * 2);padding:0 var(--zn-input-spacing-medium) 0 var(--zn-spacing-small)}.input--large .input__clear,.input--large .input__password-toggle{width:calc(1em + var(--zn-input-spacing-large) * 2)}.input--large .input__suffix ::slotted(zn-button),.input--large .input__prefix ::slotted(zn-button),.input--large .input__suffix ::slotted(zn-checkbox),.input--large .input__prefix ::slotted(zn-checkbox){margin-inline-end:0;margin-inline-start:0}.input--pill.input--x-small{border-radius:var(--zn-input-height-small);padding:0 var(--zn-spacing-x-small)}.input--pill.input--small{border-radius:var(--zn-input-height-small);padding:0 var(--zn-spacing-x-small)}.input--pill.input--medium{border-radius:var(--zn-input-height-medium);padding:0 var(--zn-spacing-x-small)}.input--pill.input--large{border-radius:var(--zn-input-height-large);padding:0 var(--zn-spacing-x-small)}.input__clear:not(.input__clear--visible){visibility:hidden}.input__clear,.input__password-toggle{display:inline-flex;align-items:center;justify-content:center;font-size:var(--zn-font-size-large);color:var(--zn-input-icon-color);border:none;background:none;padding:0;transition:var(--zn-transition-fast) color;cursor:pointer}.input__clear zn-icon,.input__password-toggle zn-icon{--icon-size:var(--zn-font-size-large)}.input__clear:hover,.input__password-toggle:hover{color:var(--zn-input-icon-color-hover)}.input__clear:focus,.input__password-toggle:focus{outline:none}.input--empty .input__clear{visibility:hidden}::-ms-reveal{display:none}.input--no-spin-buttons input[type=number]::-webkit-outer-spin-button,.input--no-spin-buttons input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;display:none}.input--no-spin-buttons input[type=number]{-moz-appearance:textfield}input[type=date]::-webkit-calendar-picker-indicator{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="12.25" viewBox="0 0 448 512"><path fill="%236d7176" d="M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"/></svg>')}.input__color-swatch{display:inline-flex;align-self:stretch;border:none;border-inline-start:solid var(--zn-input-border-width) var(--zn-input-border-color);border-radius:0;background-color:var(--zn-color-neutral-0);cursor:pointer;overflow:hidden;position:relative;flex-shrink:0;margin:0}.input__color-swatch:hover .input__color-swatch-inner{filter:brightness(0.95)}.input__color-swatch-inner{width:100%;height:100%;background-color:var(--color-value,#000000);transition:var(--zn-transition-fast) filter}.input--x-small .input__color-swatch{width:calc(var(--zn-input-height-x-small) * 1.2)}.input--small .input__color-swatch{width:calc(var(--zn-input-height-small) * 1.2)}.input--medium .input__color-swatch{width:calc(var(--zn-input-height-medium) * 1.2)}.input--large .input__color-swatch{width:calc(var(--zn-input-height-large) * 1.2)}:host([type=range]) .form-control--has-label .form-control__label,:host([type=range]) .form-control__label-context-note{margin-bottom:0}:host([type=range]) .form-control-input{margin-top:0}.input--standard.input--range{--zn-range-track-height:6px;--zn-range-track-color:var(--zn-color-neutral-200);--zn-range-thumb-size:18px;--zn-range-thumb-color:var(--zn-color-primary-600);--zn-range-thumb-ring-width:4px;align-items:center;height:var(--zn-range-thumb-size);padding:0;overflow:visible;cursor:pointer}.input--standard.input--range,.input--standard.input--range:hover,.input--standard.input--range.input--focused,.input--standard.input--range.input--disabled{border:none;background:none;box-shadow:none}.input--standard.input--range.input--x-small{--zn-range-track-height:4px;--zn-range-thumb-size:14px;--zn-range-thumb-ring-width:3px}.input--standard.input--range.input--small{--zn-range-track-height:5px;--zn-range-thumb-size:16px;--zn-range-thumb-ring-width:3px}.input--standard.input--range.input--large{--zn-range-track-height:7px;--zn-range-thumb-size:20px}.input--range .input__control{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:var(--zn-range-thumb-size);padding:0;margin:0;background:none;cursor:inherit}.input--range .input__control::-webkit-slider-runnable-track{height:var(--zn-range-track-height);border-radius:calc(var(--zn-range-track-height) / 2);background-color:var(--zn-range-track-color)}.input--range .input__control::-moz-range-track{height:var(--zn-range-track-height);border-radius:calc(var(--zn-range-track-height) / 2);background-color:var(--zn-range-track-color)}.input--range .input__control::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--zn-range-thumb-size);height:var(--zn-range-thumb-size);margin-top:calc((var(--zn-range-track-height) - var(--zn-range-thumb-size)) / 2);border:var(--zn-range-thumb-ring-width) solid var(--zn-color-neutral-0);border-radius:50%;background-color:var(--zn-range-thumb-color);box-shadow:0 0 0 1px var(--zn-input-border-color);-webkit-transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color;transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color}.input--range .input__control::-moz-range-thumb{width:var(--zn-range-thumb-size);height:var(--zn-range-thumb-size);box-sizing:border-box;border:var(--zn-range-thumb-ring-width) solid var(--zn-color-neutral-0);border-radius:50%;background-color:var(--zn-range-thumb-color);box-shadow:0 0 0 1px var(--zn-input-border-color);-moz-transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color;transition:var(--zn-transition-fast) box-shadow,var(--zn-transition-fast) background-color}.input--range:hover:not(.input--disabled) .input__control::-webkit-slider-thumb{background-color:var(--zn-color-primary-500);box-shadow:0 0 0 1px var(--zn-input-border-color-hover)}.input--range:hover:not(.input--disabled) .input__control::-moz-range-thumb{background-color:var(--zn-color-primary-500);box-shadow:0 0 0 1px var(--zn-input-border-color-hover)}.input--range .input__control:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input--range .input__control:focus-visible::-moz-range-thumb{box-shadow:0 0 0 var(--zn-focus-ring-width) var(--zn-input-focus-ring-color)}.input__color-picker{position:absolute;opacity:0;width:0;height:0;padding:0;margin:0;pointer-events:none;border:none;visibility:hidden}`;var tt=class extends k{constructor(){super(...arguments);this.formControlController=new rt(this,{assumeInteractionOn:["zn-blur","zn-input"]});this.hasSlotController=new Y(this,"help-text","label","label-tooltip");this.localize=new He(this);this.slashController=new _o(this,{menu:()=>this.mountSlashMenu(),items:t=>this.resolveSlashItems(t),trigger:()=>this.slashTrigger,onSelect:(t,r)=>!this.emit("zn-slash-select",{detail:{item:t,query:r}}).defaultPrevented,onInsert:(t,r)=>this.emit("zn-slash-insert",{detail:{item:t,value:r}})});this.hasFocus=!1;this.hasSlashMenu=!1;this.isUserTyping=!1;this.title="";this.__numberInput=Object.assign(document.createElement("input"),{type:"number"});this.__dateInput=Object.assign(document.createElement("input"),{type:"date"});this.type="text";this.name="";this.value="";this.defaultValue="";this.size="medium";this.pill=!1;this.label="";this.labelTooltip="";this.contextNote="";this.helpText="";this.clearable=!1;this.optionalIcon=!1;this.disabled=!1;this.filled=!1;this.placeholder="";this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.noSpinButtons=!1;this.colorFormat="hex";this.valueSuffix="";this.required=!1;this.spellcheck=!0;this.slashItems=[];this.slashPreset="";this.slashTrigger="/";this.slashHeading="Insert";this.slashHideKeys=!1;this.slashRecentKey="";this.triggerSubmit=!1}get valueAsDate(){return this.__dateInput.type=this.type,this.__dateInput.value=this.value,this.input?.valueAsDate||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){return this.__numberInput.value=this.value,this.input?.valueAsNumber||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input?.validity}get validationMessage(){return this.input.validationMessage}validateMinMax(){this.type!=="number"&&this.type!=="date"||(typeof this.min<"u"&&parseInt(this.value)<parseInt(this.min)&&(this.value=this.min.toString()),typeof this.max<"u"&&parseInt(this.value)>parseInt(this.max)&&(this.value=this.max.toString()))}hexToRgb(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16),a=parseInt(r[2],16),s=parseInt(r[3],16);return`rgb(${n}, ${a}, ${s})`}rgbToHex(t){let r=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(!r)return"";let n=parseInt(r[1]).toString(16).padStart(2,"0"),a=parseInt(r[2]).toString(16).padStart(2,"0"),s=parseInt(r[3]).toString(16).padStart(2,"0");return`#${n}${a}${s}`}hexToOklch(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16)/255,a=parseInt(r[2],16)/255,s=parseInt(r[3],16)/255;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;let l=n*.4124564+a*.3575761+s*.1804375,d=n*.2126729+a*.7151522+s*.072175,h=n*.0193339+a*.119192+s*.9503041,m=l/.95047,f=d/1,b=h/1.08883,g=m>.008856?Math.pow(m,1/3):7.787*m+16/116,v=f>.008856?Math.pow(f,1/3):7.787*f+16/116,y=b>.008856?Math.pow(b,1/3):7.787*b+16/116,S=116*v-16,E=500*(g-v),N=200*(v-y),U=Math.sqrt(E*E+N*N),I=Math.atan2(N,E)*180/Math.PI;I<0&&(I+=360);let C=(S/100).toFixed(3),$=(U/150).toFixed(3),M=I.toFixed(1);return`oklch(${C} ${$} ${M})`}oklchToHex(t){let r=t.match(/^oklch\(([0-9.]+)\s+([0-9.]+)\s+([0-9.]+)\)$/);if(!r)return"";let n=parseFloat(r[1])*100,a=parseFloat(r[2])*150,s=parseFloat(r[3]),l=a*Math.cos(s*Math.PI/180),d=a*Math.sin(s*Math.PI/180),h=(n+16)/116,m=l/500+h,f=h-d/200,b=m>.206897?Math.pow(m,3):(m-16/116)/7.787,g=h>.206897?Math.pow(h,3):(h-16/116)/7.787,v=f>.206897?Math.pow(f,3):(f-16/116)/7.787,y=b*.95047,S=g*1,E=v*1.08883,N=y*3.2404542+S*-1.5371385+E*-.4985314,U=y*-.969266+S*1.8760108+E*.041556,I=y*.0556434+S*-.2040259+E*1.0572252;N=N>.0031308?1.055*Math.pow(N,1/2.4)-.055:12.92*N,U=U>.0031308?1.055*Math.pow(U,1/2.4)-.055:12.92*U,I=I>.0031308?1.055*Math.pow(I,1/2.4)-.055:12.92*I,N=Math.max(0,Math.min(1,N)),U=Math.max(0,Math.min(1,U)),I=Math.max(0,Math.min(1,I));let C=Math.round(N*255).toString(16).padStart(2,"0"),$=Math.round(U*255).toString(16).padStart(2,"0"),M=Math.round(I*255).toString(16).padStart(2,"0");return`#${C}${$}${M}`}hexToHsl(t){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!r)return"";let n=parseInt(r[1],16)/255,a=parseInt(r[2],16)/255,s=parseInt(r[3],16)/255,l=Math.max(n,a,s),d=Math.min(n,a,s),h=(l+d)/2,m=0,f=0;if(l!==d){let b=l-d;switch(f=h>.5?b/(2-l-d):b/(l+d),l){case n:m=((a-s)/b+(a<s?6:0))/6;break;case a:m=((s-n)/b+2)/6;break;case s:m=((n-a)/b+4)/6;break}}return`hsl(${Math.round(m*360)}, ${Math.round(f*100)}%, ${Math.round(h*100)}%)`}hslToHex(t){let r=t.match(/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)$/);if(!r)return"";let n=parseInt(r[1])/360,a=parseInt(r[2])/100,s=parseInt(r[3])/100,l,d,h;if(a===0)l=d=h=s;else{let g=(S,E,N)=>(N<0&&(N+=1),N>1&&(N-=1),N<.16666666666666666?S+(E-S)*6*N:N<.5?E:N<.6666666666666666?S+(E-S)*(.6666666666666666-N)*6:S),v=s<.5?s*(1+a):s+a-s*a,y=2*s-v;l=g(y,v,n+1/3),d=g(y,v,n),h=g(y,v,n-1/3)}let m=Math.round(l*255).toString(16).padStart(2,"0"),f=Math.round(d*255).toString(16).padStart(2,"0"),b=Math.round(h*255).toString(16).padStart(2,"0");return`#${m}${f}${b}`}convertToHex(t){return t?t.startsWith("#")?t:t.startsWith("rgb")?this.rgbToHex(t):t.startsWith("hsl")?this.hslToHex(t):t.startsWith("oklch")?this.oklchToHex(t):t:"#000000"}convertFromHex(t){return t?this.colorFormat==="hex"?t:this.colorFormat==="rgb"?this.hexToRgb(t):this.colorFormat==="hsl"?this.hexToHsl(t):this.colorFormat==="oklch"?this.hexToOklch(t):t:""}handleBlur(){if(this.hasFocus=!1,this.isUserTyping=!1,this.validateMinMax(),this.type==="color"&&this.value){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);r!==this.value&&(this.value=r)}}this.emit("zn-blur")}handleChange(){if(this.type==="currency"&&this.input.value)this.value=parseFloat(this.input.value).toFixed(2);else if(this.type==="color"){let t=this.input.value.trim();if(t==="")this.value="";else if(this.colorFormat==="hex"){let r=t;r&&!r.startsWith("#")&&(r="#"+r),/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(r)&&(this.value=r.toLowerCase())}else this.colorFormat==="rgb"?/^rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)$/.test(t)&&(this.value=t):this.colorFormat==="hsl"?/^hsl\(\s*\d+\s*,\s*\d+%\s*,\s*\d+%\s*\)$/.test(t)&&(this.value=t):this.colorFormat==="oklch"&&/^oklch\(\s*[0-9.]+\s+[0-9.]+\s+[0-9.]+\s*\)$/.test(t)&&(this.value=t)}else this.value=this.input.value;this.emit("zn-change")}handleClearClick(t){this.value="",this.emit("zn-clear"),this.emit("zn-input"),this.emit("zn-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("zn-focus")}handleInput(){this.isUserTyping=!0,this.type==="color"?this.value=this.input.value:this.value=this.input.value,this.formControlController.updateValidity(),this.emit("zn-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){if(this.slashController.open)return;if(t.key==="Escape"){this.input.blur(),t.stopPropagation();return}let r=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;if(t.key==="Enter"&&!r&&!t.defaultPrevented&&!t.isComposing){let n=this.formControlController.getForm();if(!this.triggerSubmit&&(n?.hasAttribute("enter-navigation")||n?.hasAttribute("data-enter-navigation")))return;this.formControlController.submit()}}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleColorSwatchClick(){this.type==="color"&&this.colorPicker&&this.colorPicker.click()}handleColorPickerChange(){if(this.type==="color"&&this.colorPicker){let t=this.colorPicker.value;this.value=this.convertFromHex(t),this.emit("zn-change"),this.emit("zn-input")}}focusInput(t){if(this.hasFocus)return;let r=t.target;r.tagName==="ZN-CHECKBOX"&&(r.slot==="prefix"||r.closest('[slot="prefix"]'))||(r.classList.contains("input__prefix")||r.slot==="prefix"||r.hasAttribute("part")&&r.getAttribute("part")==="base")&&(this.handleFocus(),this.input.focus())}firstUpdated(){this.type==="range"&&this.value===""&&(this.value=this.input.value),this.slashController.attach(this.input)}async resolveSlashItems(t=""){let r=[...Nd(this.slashPreset),...this.slashItems,...this.slottedSlashItems()],n=await this.slashItemsProvider?.(t);return n?[...r,...n]:r}async showSlashMenu(){this.focus();let t=this.input.selectionStart??this.input.value.length;this.input.value.slice(t-this.slashTrigger.length,t)!==this.slashTrigger&&this.setRangeText(this.slashTrigger,t,t,"end"),await this.updateComplete,this.slashController.requestOpen()}hideSlashMenu(){this.slashController.close()}slottedSlashItems(){return[...this.querySelectorAll("zn-slash-item")].map(r=>{if(typeof r.toSlashMenuItem=="function")return r.toSlashMenuItem();let n=r.getAttribute("value")??(r.textContent??"").trim(),a=r.getAttribute("order"),s=r.getAttribute("caret-offset");return{label:r.getAttribute("label")??n,value:n,icon:r.getAttribute("icon")??void 0,description:r.getAttribute("description")??void 0,keywords:r.getAttribute("keywords")??void 0,group:r.getAttribute("group")??void 0,action:r.getAttribute("action")??void 0,order:a===null?void 0:Number(a),caretOffset:s===null?void 0:Number(s),disabled:r.hasAttribute("disabled")}})}async mountSlashMenu(){let t=this.querySelector("zn-slash-menu");return t||(this.hasSlashMenu||(this.hasSlashMenu=!0,await this.updateComplete),this.slashMenuElement)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){if(await this.updateComplete,this.type==="color"&&this.value&&!this.isUserTyping){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);if(r!==this.value){this.value=r,this.emit("zn-change");return}}}this.formControlController.updateValidity(),this.type==="color"&&this.colorPicker&&(this.colorPicker.value=this.convertToHex(this.value)||"#000000")}async handleColorFormatChange(){if(this.type==="color"&&this.value){let t=this.convertToHex(this.value);if(t){let r=this.convertFromHex(t);r!==this.value&&(this.value=r,this.emit("zn-change"))}}}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,r,n="none"){this.input.setSelectionRange(t,r,n)}setRangeText(t,r,n,a="preserve"){let s=r??this.input.selectionStart,l=n??this.input.selectionEnd;this.input.setRangeText(t,s,l,a),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),r=this.hasSlotController.test("label-tooltip"),n=this.hasSlotController.test("context-note"),a=this.hasSlotController.test("help-text"),s=this.type==="range",l=this.label?!0:t,d=this.labelTooltip?!0:r,h=this.contextNote||s?!0:n,m=this.helpText?!0:a,f=this.clearable&&!this.disabled&&!this.readonly,b=this.optionalIcon,g=f&&(typeof this.value=="number"||this.value.length>0);return u`
443
443
  <div part="form-control"
444
444
  class="${q({"form-control":!0,"form-control--x-small":this.size==="x-small","form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-label":l,"form-control--has-label-tooltip":d,"form-control--has-context-note":h,"form-control--has-help-text":m})}">
445
445
 
@@ -1630,7 +1630,7 @@ import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L
1630
1630
  @click="${this.handleIconCloseClicked}"
1631
1631
  icon="close"
1632
1632
  icon-size="20">
1633
- </zn-button>`}};Ye.styles=z(j0),c([p()],Ye.prototype,"icon",2),c([p()],Ye.prototype,"method",2),c([p({attribute:"context-uri",reflect:!0})],Ye.prototype,"contextUri",2),c([p({reflect:!0})],Ye.prototype,"count",2),c([p({reflect:!0})],Ye.prototype,"color",2),c([p({type:Boolean})],Ye.prototype,"prefetch",2),c([p()],Ye.prototype,"basis",2),c([p({attribute:"max-height"})],Ye.prototype,"maxHeight",2),c([p({reflect:!0,type:Boolean})],Ye.prototype,"open",2),c([p({attribute:"master-id",reflect:!0})],Ye.prototype,"masterId",2),c([p({attribute:"fetch-style",type:String,reflect:!0})],Ye.prototype,"fetchStyle",2),c([p({attribute:"no-prefetch",type:Boolean,reflect:!0})],Ye.prototype,"noPrefetch",2);var Ju=Ye;Ye.define("zn-expanding-action");var G0=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:contents;height:100%}`;var sn=class extends k{constructor(){super(...arguments);this.selected=!1}render(){return u`<slot></slot>`}};sn.styles=z(G0),c([p()],sn.prototype,"caption",2),c([p({type:Number})],sn.prototype,"priority",2),c([p()],sn.prototype,"uri",2),c([p({type:Boolean,reflect:!0})],sn.prototype,"selected",2);var Zu=sn;sn.define("zn-tab");var Kd="zntab:",$4=["reload","back_forward"],A4="__znTabsVisit",K0="__znTabs",tm=new Set,W0=0;function em(){try{return window.sessionStorage}catch{return null}}function Bl(){return window.location.pathname+window.location.search}function M4(){return window.performance?.getEntriesByType("navigation")?.[0]?.type??""}function Yd(o){return`${o}@${Bl()}`}function Y0(){return Kd+Yd(A4)}function rm(){return em()?.getItem(Y0())??""}function L4(){let o=em();o===null||rm()!==""||(W0+=1,o.setItem(Y0(),`${Date.now()}-${W0}`))}function Xd(){let o=em();if(o===null)return;let i=`@${Bl()}`;for(let t=o.length-1;t>=0;t--){let r=o.key(t);r!==null&&r.startsWith(Kd)&&!r.endsWith(i)&&o.removeItem(r)}}$4.includes(M4())&&tm.add(Bl());Xd();window.addEventListener("popstate",()=>{tm.add(Bl()),Xd()},{passive:!0});function X0(){return tm.has(Bl())}function Wd(o){return o!==null&&typeof o=="object"?o:null}function Q0(){let o=Wd(window.history.state),i=o===null?null:Wd(o[K0]),t=i===null?null:Wd(i.tabs);return i===null||t===null||typeof i.visit!="string"?null:{visit:i.visit,tabs:t}}function im(o){if(!o)return null;let i=rm(),t=Q0();if(i===""||t===null||t.visit!==i)return null;let r=t.tabs[o];return typeof r=="string"?r:null}function J0(o,i,t){L4();let r=rm();if(!o||r==="")return;let n=Q0(),a=n!==null&&n.visit===r?n.tabs:{};if(!t&&a[o]===i)return;let s={...Wd(window.history.state),[K0]:{visit:r,tabs:{...a,[o]:i}}};t?window.history.pushState(s,"",window.location.href):window.history.replaceState(s,"")}function Z0(o,i){J0(o,i,!0)}function t1(o,i){J0(o,i,!1)}var e1=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host ::-webkit-scrollbar{width:5px;height:5px}:host{}:host ::-webkit-scrollbar-track{background:transparent}:host{}:host ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}:host{}:host ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}:host{display:contents}#mid,#content{flex:1;display:flex;flex-direction:column;overflow:hidden}.tabs{flex:1;display:flex;flex-direction:column;overflow:hidden;height:100%;min-height:100%;max-height:100%;width:100%}h1,h2{padding:0;margin:0}#mid{container-type:inline-size;flex-direction:row}#content{flex:1;max-height:100%;min-height:15px;padding:var(--zn-base-gap,0)}#content ::-webkit-scrollbar{width:5px;height:5px}#content{}#content ::-webkit-scrollbar-track{background:transparent}#content{}#content ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}#content{}#content ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}#content{display:flex;align-items:normal;overflow:auto}#content>::slotted(div),#content>div{max-height:100%}:host([no-scroll]) #content{overflow:hidden}:host([no-scroll]) #content>div{max-height:100%}:host([no-scroll]) #content>::slotted(div){max-height:100%}:host([flush]) #content{padding:0}:host([flush-x]) #content{padding-left:0;padding-right:0}#content.contents-slot slot{display:contents}#content ::slotted([selected]),#content>[selected]{flex-grow:1}#content ::slotted(:not([selected])),#content>:not([selected]):not(slot){display:none !important}:host #header~slot[name=top]::slotted(zn-navbar){padding-top:0}:host #header:not(:empty){display:flex;align-items:center;padding:var(--zn-spacing-medium);gap:var(--zn-spacing-medium)}:host #header:not(:empty) #actions ::slotted(*:not(.zn-tb-active)){display:none}:host #header:not(:empty) #actions{display:flex;overflow:visible}:host #header:not(:empty) h1,:host #header:not(:empty) h2{flex-grow:1}:host h2{font-weight:var(--zn-font-weight-bold);flex-grow:1;font-size:var(--zn-font-size-medium);color:rgba(var(--zn-text-panel-title),100%);padding:0;margin:0}::slotted(div[ref-tab]:not(.zn-tb-active)){display:none}`;var Qd="zn-tabs, zn-page, zn-page-nav",jt=class extends k{constructor(){super();this.defaultUri="";this._current="";this._splitMin=60;this.primaryCaption="Navigation";this.secondaryCaption="Content";this.noPrefetch=!1;this.noCache=!1;this.storeTtl=0;this.padded=!1;this.fetchStyle="";this.fullWidth=!1;this.paddedRight=!1;this.preload=!0;this._activeClicks=0;this._activeTab=null;this._tabs=[];this._actions=[];this._knownUri=new Map;this._defaultTab="";this.hasSlotController=new Y(this,"[default]","bottom","right","left","top","actions");this._domObserver=new Ot(this,{target:null,config:{childList:!0,subtree:!0},callback:t=>{t.forEach(r=>{r.type==="childList"&&(r.addedNodes.length>0&&this._registerTabs(),r.removedNodes.length>0&&r.removedNodes.forEach(n=>{let a=n instanceof HTMLElement?n.id:"";a&&this.removeTabAndPanel(a)}))})}});this._monitorObserver=new Ot(this,{target:null,config:{childList:!0,subtree:!0},callback:t=>{t.forEach(r=>{r.type==="childList"&&r.addedNodes.forEach(n=>{if(n instanceof HTMLElement&&n.id===this.monitor){this.reRegisterTabs();let a=this.getStoredTab();a!==null&&this.restoreStoredTab(a)}})})}});this.handlePopState=()=>{let t=this.getTabStoreKey();if(t===null)return;let r=im(t);r!==null&&this.restoreStoredTab(r)};this.reRegisterTabs=()=>{this._registerTabs()};this._registerTabs=()=>{Gt("[tab]",this,Qd).forEach(t=>{this._addTab(t)}),Gt("[tab-uri]",this,Qd).forEach(t=>{t.getAttribute("tab-uri")===""&&(t.setAttribute("tab",""),t.removeAttribute("tab-uri")),this._addTab(t)}),Gt("[ref-tab-uri]",this,Qd).forEach(t=>{t.hasAttribute("ref-tab")||(t.setAttribute("ref-tab",this._uriToId(t.getAttribute("ref-tab-uri"))),t.removeAttribute("ref-tab-uri"),this._actions.push(t))})};this._panels=new Map}async connectedCallback(){super.connectedCallback(),this.masterId||(this.masterId=this.storeKey||Math.floor(Math.random()*1e6).toString()),this.preload=!this.noPrefetch&&!this.noCache,await this.updateComplete,this._panel=this.shadowRoot?.querySelector("#content"),this.observerDom(),this._registerTabs(),this.storeKey&&this.storeTtl===0&&(this.storeTtl=300);let t=this.defaultUri?this._uriToId(this.defaultUri):"";this._store=new _r(this.localStorage?window.localStorage:window.sessionStorage,Kd,this.storeTtl),Array.from(this.children).forEach(r=>{r.slot===""&&this._panels.set(r.getAttribute("id")||t,[r])}),this.observerDom(),this.monitorDom(),window.addEventListener("popstate",this.handlePopState,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("popstate",this.handlePopState),setTimeout(()=>{this.isConnected||Xd()})}monitorDom(){this.monitor&&this._monitorObserver.observe(this)}getTabStoreKey(){return this.storeKey||null}getStoredTab(){let t=this.getTabStoreKey();if(t===null||!this._store)return null;if(this.localStorage)return this._store.get(t);let r=this._store.get(Yd(t));if(r===null)return null;let n=im(t);return n!==null?n:X0()?r:null}storeActiveTab(t){let r=this.getTabStoreKey();if(r===null||!this._store)return;let n=this.getUriForTabId(t)??t;this._store.set(this.localStorage?r:Yd(r),n),this.localStorage||t1(r,n)}restoreStoredTab(t){let r=this._tabs.find(n=>n.getAttribute("tab-uri")===t);if(r){this.clickTab(r,!1);return}this._prepareTab(t),this.setActiveTab(t,!0,!1)}activateDefaultTab(){if(!this._panels.has(this._defaultTab)&&this._tabs.length>0&&this._tabs[0].getAttribute("tab-uri")){this.clickTab(this._tabs[0],!1);return}this.setActiveTab(this._defaultTab,!0,!1)}pushTabHistory(t){let r=this.getTabStoreKey();r===null||this.localStorage||Z0(r,this.getUriForTabId(t)??t)}getUriForTabId(t){for(let[r,n]of this._knownUri)if(n===t)return r;return null}_addPanel(t){this._panels.has(t.getAttribute("id"))||this._panels.set(t.getAttribute("id"),[t])}_addTab(t){this._tabs.includes(t)||(this._tabs.push(t),this.preload&&t.addEventListener("mouseover",this.fetchUriTab.bind(this,t)),t.addEventListener("click",this._handleClick.bind(this)))}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>{this._registerTabs(),this._defaultTab=this._current||"";let r=this.getStoredTab();if(r!==null){this.restoreStoredTab(r);return}this.activateDefaultTab()},10),this.addEventListener("zn-menu-select",()=>{setTimeout(this.reRegisterTabs,200)},{passive:!0})}switchTab(t){let r=this._panels.size;if(r<2)return;let a=Array.from(this._panels.keys()).indexOf(this._current)+t;a<0?a=r-1:a>=r&&(a=0);let s=Array.from(this._panels.keys())[a];this.setActiveTab(s,!0,!1,null,!0)}nextTab(){this.switchTab(1)}previousTab(){this.switchTab(-1)}_prepareTab(t){for(let r of this._tabs)if(r.getAttribute("tab")===t)return;for(let r of Gt("[tab-uri]",this,Qd)){let n=r.getAttribute("tab-uri"),a=this._uriToId(n);a===t&&this._createUriPanel(r,n,a)}}_uriToId(t){return"tab-"+Gd(t).substr(0,8)+"-"+this.masterId}_createUriPanel(t,r,n){if(t.hasAttribute("tab")||(t.setAttribute("tab",n),this._setTabEleActive(t,this._current===n)),this._knownUri.has(r)||this._knownUri.set(r,n),this._panels.has(n)&&this._panels.get(n)!==void 0)return this._panels.get(n)[0];let a=document.createElement("div");return a.setAttribute("id",n),this.fetchStyle!==""?a.setAttribute("data-fetch-style",this.fetchStyle):t.hasAttribute("data-fetch-style")&&a.setAttribute("data-fetch-style",t.getAttribute("data-fetch-style")??""),a.setAttribute("data-self-uri",r),a.textContent="Loading ...",this._panel instanceof HTMLElement&&(this._panel.appendChild(a),this._panels.set(n,[a])),document.dispatchEvent(new CustomEvent("zn-new-element",{detail:{element:a,source:t}})),a}_handleClick(t){let r=t.relatedTarget??t.target;r&&("startViewTransition"in document?document.startViewTransition(()=>this.clickTab(r,t.altKey,!0)):this.clickTab(r,t.altKey,!0))}fetchUriTab(t){if(!t.hasAttribute("tab")&&t.hasAttribute("tab-uri")){let r=t.getAttribute("tab-uri")??"";this._createUriPanel(t,r,this._uriToId(r)),t.setAttribute("tab-id",this._uriToId(r))}}clickTab(t,r,n=!1){let a=t.getAttribute("tab-uri"),s=!!a&&this._panels.has(this._uriToId(a));if(this.fetchUriTab(t),t.hasAttribute("tab")){let l=r||this.noCache&&s;setTimeout(()=>{this.setActiveTab(t.getAttribute("tab")||"",!0,l,this.getRefTab(t),n)},10)}}getRefTab(t){let r=t;for(;r;){if(r===this)return null;if(r.hasAttribute("ref-tab"))return r.getAttribute("ref-tab");r=r?.parentElement||r?.getRootNode()?.host}return null}setActiveTab(t,r,n,a=null,s=!1){let l=this._current,d=!1;this._tabs.forEach(h=>{h.hasAttribute("tab-uri")&&this._knownUri.has(h.getAttribute("tab-uri"))&&h.setAttribute("tab",this._knownUri.get(h.getAttribute("tab-uri")));let m=t===h.getAttribute("tab");!m&&a&&!this.getRefTab(h)&&(m=a===h.getAttribute("tab")),d=d||m,this._setTabEleActive(h,m)}),!d&&this._tabs.length>0&&this._setTabEleActive(this._tabs[0],!0),this._actions.forEach(h=>this._setTabEleActive(h,h.getAttribute("ref-tab")===(a||t))),this.selectTab(t,n),s&&this._current===t&&l!==t&&this.pushTabHistory(t),r&&this.storeActiveTab(t)}_setTabEleActive(t,r){r&&(this._activeTab=t),t.classList.toggle("zn-tb-active",r),t.classList.toggle("active",r)}selectTab(t,r){if(t&&!this._panels.has(t))return!1;let n=this._current===t;n?(this._activeClicks++,this._activeClicks>2&&(r=!0,this._activeClicks=0)):this._activeClicks=0;let a=!0,s=()=>{this._panels.forEach((d,h)=>{let m=h===t;d.forEach(f=>{if(m&&f.parentNode!==this&&(a=!1),f.toggleAttribute("selected",m),m&&r){let b="",g="";this._activeTab&&this._activeTab.hasAttribute("tab-uri")&&(b=this._activeTab.getAttribute("tab-uri"),g=this._activeTab.getAttribute("gaid")),document.dispatchEvent(new CustomEvent("zn-refresh-element",{detail:{element:f,uri:b,gaid:g}}))}})}),this._panel&&this._panel.classList.toggle("contents-slot",!a),this._current=t},l=n?[]:jv(this._panel);return s(),Gv(l),!0}getActiveTab(){return this._panels.get(this._current)||[]}observerDom(){this._domObserver.observe(this)}removeTabAndPanel(t){this._current===t&&this.setActiveTab("",!0,!1);for(let r of this._tabs)if(r.getAttribute("tab")===t){if(r.hasAttribute("tab-uri")){let n=r.getAttribute("tab-uri");this._knownUri.has(n)&&this._knownUri.delete(n)}r.parentElement?.removeChild(r),this._tabs.splice(this._tabs.indexOf(r),1)}if(this._panels.has(t)){let r=this._panels.get(t);r instanceof HTMLElement?r.remove():r instanceof Array&&r.forEach(n=>{n instanceof HTMLElement&&n.remove()}),this._panels.delete(t)}}render(){let t=this.hasSlotController.test("actions"),r=this.caption&&this.caption.length>0,n=this.description&&this.description.length>0,a=r||t||n;if(this._split>0){let s=this.storeKey;s&&(s+="-split");let l="secondary";return this.querySelectorAll('[slot="right"]').length>0&&(l="primary"),u`
1633
+ </zn-button>`}};Ye.styles=z(j0),c([p()],Ye.prototype,"icon",2),c([p()],Ye.prototype,"method",2),c([p({attribute:"context-uri",reflect:!0})],Ye.prototype,"contextUri",2),c([p({reflect:!0})],Ye.prototype,"count",2),c([p({reflect:!0})],Ye.prototype,"color",2),c([p({type:Boolean})],Ye.prototype,"prefetch",2),c([p()],Ye.prototype,"basis",2),c([p({attribute:"max-height"})],Ye.prototype,"maxHeight",2),c([p({reflect:!0,type:Boolean})],Ye.prototype,"open",2),c([p({attribute:"master-id",reflect:!0})],Ye.prototype,"masterId",2),c([p({attribute:"fetch-style",type:String,reflect:!0})],Ye.prototype,"fetchStyle",2),c([p({attribute:"no-prefetch",type:Boolean,reflect:!0})],Ye.prototype,"noPrefetch",2);var Ju=Ye;Ye.define("zn-expanding-action");var G0=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:contents;height:100%}`;var sn=class extends k{constructor(){super(...arguments);this.selected=!1}render(){return u`<slot></slot>`}};sn.styles=z(G0),c([p()],sn.prototype,"caption",2),c([p({type:Number})],sn.prototype,"priority",2),c([p()],sn.prototype,"uri",2),c([p({type:Boolean,reflect:!0})],sn.prototype,"selected",2);var Zu=sn;sn.define("zn-tab");var Kd="zntab:",$4=["reload","back_forward"],A4="__znTabsVisit",K0="__znTabs",tm=new Set,W0=0;function em(){try{return window.sessionStorage}catch{return null}}function Bl(){return window.location.pathname+window.location.search}function M4(){return window.performance?.getEntriesByType("navigation")?.[0]?.type??""}function Yd(o){return`${o}@${Bl()}`}function Y0(){return Kd+Yd(A4)}function rm(){return em()?.getItem(Y0())??""}function L4(){let o=em();o===null||rm()!==""||(W0+=1,o.setItem(Y0(),`${Date.now()}-${W0}`))}function Xd(){let o=em();if(o===null)return;let i=`@${Bl()}`;for(let t=o.length-1;t>=0;t--){let r=o.key(t);r!==null&&r.startsWith(Kd)&&!r.endsWith(i)&&o.removeItem(r)}}$4.includes(M4())&&tm.add(Bl());Xd();window.addEventListener("popstate",()=>{tm.add(Bl()),Xd()},{passive:!0});function X0(){return tm.has(Bl())}function Wd(o){return o!==null&&typeof o=="object"?o:null}function Q0(){let o=Wd(window.history.state),i=o===null?null:Wd(o[K0]),t=i===null?null:Wd(i.tabs);return i===null||t===null||typeof i.visit!="string"?null:{visit:i.visit,tabs:t}}function im(o){if(!o)return null;let i=rm(),t=Q0();if(i===""||t===null||t.visit!==i)return null;let r=t.tabs[o];return typeof r=="string"?r:null}function J0(o,i,t){L4();let r=rm();if(!o||r==="")return;let n=Q0(),a=n!==null&&n.visit===r?n.tabs:{};if(!t&&a[o]===i)return;let s={...Wd(window.history.state),[K0]:{visit:r,tabs:{...a,[o]:i}}};t?window.history.pushState(s,"",window.location.href):window.history.replaceState(s,"")}function Z0(o,i){J0(o,i,!0)}function t1(o,i){J0(o,i,!1)}var e1=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host ::-webkit-scrollbar{width:5px;height:5px}:host{}:host ::-webkit-scrollbar-track{background:transparent}:host{}:host ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}:host{}:host ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}:host{display:contents}#mid,#content{flex:1;display:flex;flex-direction:column;overflow:hidden}.tabs{flex:1;display:flex;flex-direction:column;overflow:hidden;height:100%;min-height:100%;max-height:100%;width:100%}h1,h2{padding:0;margin:0}#mid{container-type:inline-size;flex-direction:row}#content{flex:1;max-height:100%;min-height:15px;padding:var(--zn-base-gap,0)}#content ::-webkit-scrollbar{width:5px;height:5px}#content{}#content ::-webkit-scrollbar-track{background:transparent}#content{}#content ::-webkit-scrollbar-thumb{background:rgba(var(--inverse-base),0.2);border-radius:5px}#content{}#content ::-webkit-scrollbar-thumb:hover{background:rgba(var(--inverse-base),0.6)}#content{display:flex;align-items:normal;overflow:auto}#content>::slotted(div),#content>div{max-height:100%}:host([no-scroll]) #content{overflow:hidden}:host([no-scroll]) #content>div{max-height:100%}:host([no-scroll]) #content>::slotted(div){max-height:100%}:host([flush]) #content{padding:0}:host([flush-x]) #content{padding-left:0;padding-right:0}#content.contents-slot slot{display:contents}#content ::slotted([selected]),#content>[selected]{flex-grow:1}#content ::slotted(:not([selected])),#content>:not([selected]):not(slot){display:none !important}:host #header~slot[name=top]::slotted(zn-navbar){padding-top:0}:host #header:not(:empty){display:flex;align-items:center;padding:var(--zn-spacing-medium);gap:var(--zn-spacing-medium)}:host #header:not(:empty) #actions ::slotted(*:not(.zn-tb-active)){display:none}:host #header:not(:empty) #actions{display:flex;overflow:visible}:host #header:not(:empty) h1,:host #header:not(:empty) h2{flex-grow:1}:host h2{font-weight:var(--zn-font-weight-bold);flex-grow:1;font-size:var(--zn-font-size-medium);color:rgba(var(--zn-text-panel-title),100%);padding:0;margin:0}::slotted(div[ref-tab]:not(.zn-tb-active)){display:none}`;var Qd="zn-tabs, zn-page, zn-page-nav",jt=class extends k{constructor(){super();this.defaultUri="";this._current="";this._splitMin=60;this.primaryCaption="Navigation";this.secondaryCaption="Content";this.noPrefetch=!1;this.noCache=!1;this.storeTtl=0;this.padded=!1;this.fetchStyle="";this.fullWidth=!1;this.paddedRight=!1;this.preload=!0;this._activeClicks=0;this._activeTab=null;this._tabs=[];this._actions=[];this._knownUri=new Map;this._defaultTab="";this.hasSlotController=new Y(this,"[default]","bottom","right","left","top","actions");this._domObserver=new Ot(this,{target:null,config:{childList:!0,subtree:!0},callback:t=>{t.forEach(r=>{r.type==="childList"&&(r.addedNodes.length>0&&this._registerTabs(),r.removedNodes.length>0&&r.removedNodes.forEach(n=>{let a=n instanceof HTMLElement?n.id:"";a&&this.removeTabAndPanel(a)}))})}});this._monitorObserver=new Ot(this,{target:null,config:{childList:!0,subtree:!0},callback:t=>{t.forEach(r=>{r.type==="childList"&&r.addedNodes.forEach(n=>{if(n instanceof HTMLElement&&n.id===this.monitor){this.reRegisterTabs();let a=this.getStoredTab();a!==null&&this.restoreStoredTab(a)}})})}});this.handlePopState=()=>{let t=this.getTabStoreKey();if(t===null)return;let r=im(t);r!==null&&this.restoreStoredTab(r)};this.reRegisterTabs=()=>{this._registerTabs()};this._registerTabs=()=>{Gt("[tab]",this,Qd).forEach(t=>{this._addTab(t)}),Gt("[tab-uri]",this,Qd).forEach(t=>{t.getAttribute("tab-uri")===""&&(t.setAttribute("tab",""),t.removeAttribute("tab-uri")),this._addTab(t)}),Gt("[ref-tab-uri]",this,Qd).forEach(t=>{t.hasAttribute("ref-tab")||(t.setAttribute("ref-tab",this._uriToId(t.getAttribute("ref-tab-uri"))),t.removeAttribute("ref-tab-uri"),this._actions.push(t))})};this._panels=new Map}async connectedCallback(){super.connectedCallback(),this.masterId||(this.masterId=this.storeKey||Math.floor(Math.random()*1e6).toString()),this.preload=!this.noPrefetch&&!this.noCache,await this.updateComplete,this._panel=this.shadowRoot?.querySelector("#content"),this.observerDom(),this._registerTabs(),this.storeKey&&this.storeTtl===0&&(this.storeTtl=300);let t=this.defaultUri?this._uriToId(this.defaultUri):"";this._store=new _r(this.localStorage?window.localStorage:window.sessionStorage,Kd,this.storeTtl),Array.from(this.children).forEach(r=>{r.slot===""&&this._panels.set(r.getAttribute("id")||t,[r])}),this.observerDom(),this.monitorDom(),window.addEventListener("popstate",this.handlePopState,{passive:!0})}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("popstate",this.handlePopState),setTimeout(()=>{this.isConnected||Xd()})}monitorDom(){this.monitor&&this._monitorObserver.observe(this)}getTabStoreKey(){return this.storeKey||null}getStoredTab(){let t=this.getTabStoreKey();if(t===null||!this._store)return null;if(this.localStorage)return this._store.get(t);let r=this._store.get(Yd(t));if(r===null)return null;let n=im(t);return n!==null?n:X0()?r:null}storeActiveTab(t){let r=this.getTabStoreKey();if(r===null||!this._store)return;let n=this.getUriForTabId(t)??t;this._store.set(this.localStorage?r:Yd(r),n),this.localStorage||t1(r,n)}restoreStoredTab(t){let r=this._tabs.find(n=>n.getAttribute("tab-uri")===t);if(r){this.clickTab(r,!1);return}this._prepareTab(t),this.setActiveTab(t,!0,!1)}activateDefaultTab(){if(!this._panels.has(this._defaultTab)&&this._tabs.length>0&&this._tabs[0].getAttribute("tab-uri")){this.clickTab(this._tabs[0],!1);return}this.setActiveTab(this._defaultTab,!0,!1)}pushTabHistory(t){let r=this.getTabStoreKey();r===null||this.localStorage||Z0(r,this.getUriForTabId(t)??t)}getUriForTabId(t){for(let[r,n]of this._knownUri)if(n===t)return r;return null}_addPanel(t){this._panels.has(t.getAttribute("id"))||this._panels.set(t.getAttribute("id"),[t])}_addTab(t){this._tabs.includes(t)||(this._tabs.push(t),this.preload&&t.addEventListener("mouseover",this.fetchUriTab.bind(this,t)),t.addEventListener("click",this._handleClick.bind(this)))}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>{this._registerTabs(),this._defaultTab=this._current||"";let r=this.getStoredTab();if(r!==null){this.restoreStoredTab(r);return}this.activateDefaultTab()},10),this.addEventListener("zn-menu-select",()=>{setTimeout(this.reRegisterTabs,200)},{passive:!0})}switchTab(t){let r=this._panels.size;if(r<2)return;let a=Array.from(this._panels.keys()).indexOf(this._current)+t;a<0?a=r-1:a>=r&&(a=0);let s=Array.from(this._panels.keys())[a];this.setActiveTab(s,!0,!1,null,!0)}nextTab(){this.switchTab(1)}previousTab(){this.switchTab(-1)}_prepareTab(t){for(let r of this._tabs)if(r.getAttribute("tab")===t)return;for(let r of Gt("[tab-uri]",this,Qd)){let n=r.getAttribute("tab-uri"),a=this._uriToId(n);a===t&&this._createUriPanel(r,n,a)}}_uriToId(t){return"tab-"+Gd(t).substr(0,8)+"-"+this.masterId}_createUriPanel(t,r,n){if(t.hasAttribute("tab")||(t.setAttribute("tab",n),this._setTabEleActive(t,this._current===n)),this._knownUri.has(r)||this._knownUri.set(r,n),this._panels.has(n)&&this._panels.get(n)!==void 0)return this._panels.get(n)[0];let a=document.createElement("div");return a.setAttribute("id",n),this.fetchStyle!==""?a.setAttribute("data-fetch-style",this.fetchStyle):t.hasAttribute("data-fetch-style")&&a.setAttribute("data-fetch-style",t.getAttribute("data-fetch-style")??""),a.setAttribute("data-self-uri",r),a.textContent="Loading ...",this._panel instanceof HTMLElement&&(this._panel.appendChild(a),this._panels.set(n,[a])),document.dispatchEvent(new CustomEvent("zn-new-element",{detail:{element:a,source:t}})),a}_handleClick(t){let r=t.relatedTarget??t.target;if(!r)return;if(!("startViewTransition"in document)){this.clickTab(r,t.altKey,!0);return}let n=document.startViewTransition(()=>this.clickTab(r,t.altKey,!0));n.ready.catch(()=>{}),n.finished.catch(()=>{}),n.updateCallbackDone.catch(()=>{})}fetchUriTab(t){if(!t.hasAttribute("tab")&&t.hasAttribute("tab-uri")){let r=t.getAttribute("tab-uri")??"";this._createUriPanel(t,r,this._uriToId(r)),t.setAttribute("tab-id",this._uriToId(r))}}clickTab(t,r,n=!1){let a=t.getAttribute("tab-uri"),s=!!a&&this._panels.has(this._uriToId(a));if(this.fetchUriTab(t),t.hasAttribute("tab")){let l=r||this.noCache&&s;setTimeout(()=>{this.setActiveTab(t.getAttribute("tab")||"",!0,l,this.getRefTab(t),n)},10)}}getRefTab(t){let r=t;for(;r;){if(r===this)return null;if(r.hasAttribute("ref-tab"))return r.getAttribute("ref-tab");r=r?.parentElement||r?.getRootNode()?.host}return null}setActiveTab(t,r,n,a=null,s=!1){let l=this._current,d=!1;this._tabs.forEach(h=>{h.hasAttribute("tab-uri")&&this._knownUri.has(h.getAttribute("tab-uri"))&&h.setAttribute("tab",this._knownUri.get(h.getAttribute("tab-uri")));let m=t===h.getAttribute("tab");!m&&a&&!this.getRefTab(h)&&(m=a===h.getAttribute("tab")),d=d||m,this._setTabEleActive(h,m)}),!d&&this._tabs.length>0&&this._setTabEleActive(this._tabs[0],!0),this._actions.forEach(h=>this._setTabEleActive(h,h.getAttribute("ref-tab")===(a||t))),this.selectTab(t,n),s&&this._current===t&&l!==t&&this.pushTabHistory(t),r&&this.storeActiveTab(t)}_setTabEleActive(t,r){r&&(this._activeTab=t),t.classList.toggle("zn-tb-active",r),t.classList.toggle("active",r)}selectTab(t,r){if(t&&!this._panels.has(t))return!1;let n=this._current===t;n?(this._activeClicks++,this._activeClicks>2&&(r=!0,this._activeClicks=0)):this._activeClicks=0;let a=!0,s=()=>{this._panels.forEach((d,h)=>{let m=h===t;d.forEach(f=>{if(m&&f.parentNode!==this&&(a=!1),f.toggleAttribute("selected",m),m&&r){let b="",g="";this._activeTab&&this._activeTab.hasAttribute("tab-uri")&&(b=this._activeTab.getAttribute("tab-uri"),g=this._activeTab.getAttribute("gaid")),document.dispatchEvent(new CustomEvent("zn-refresh-element",{detail:{element:f,uri:b,gaid:g}}))}})}),this._panel&&this._panel.classList.toggle("contents-slot",!a),this._current=t},l=n?[]:jv(this._panel);return s(),Gv(l),!0}getActiveTab(){return this._panels.get(this._current)||[]}observerDom(){this._domObserver.observe(this)}removeTabAndPanel(t){this._current===t&&this.setActiveTab("",!0,!1);for(let r of this._tabs)if(r.getAttribute("tab")===t){if(r.hasAttribute("tab-uri")){let n=r.getAttribute("tab-uri");this._knownUri.has(n)&&this._knownUri.delete(n)}r.parentElement?.removeChild(r),this._tabs.splice(this._tabs.indexOf(r),1)}if(this._panels.has(t)){let r=this._panels.get(t);r instanceof HTMLElement?r.remove():r instanceof Array&&r.forEach(n=>{n instanceof HTMLElement&&n.remove()}),this._panels.delete(t)}}render(){let t=this.hasSlotController.test("actions"),r=this.caption&&this.caption.length>0,n=this.description&&this.description.length>0,a=r||t||n;if(this._split>0){let s=this.storeKey;s&&(s+="-split");let l="secondary";return this.querySelectorAll('[slot="right"]').length>0&&(l="primary"),u`
1634
1634
  <slot name="top"></slot>
1635
1635
  <div id="mid">
1636
1636
  <zn-split-pane
@@ -1668,7 +1668,7 @@ import{a as Bn,b as s3,c as zr,d as c,e as V}from"./chunks/zn.UBLZO6CI.js";var L
1668
1668
  </div>
1669
1669
  <slot name="bottom"></slot>
1670
1670
  </div>
1671
- `}};jt.styles=[z(hs),z(e1)],c([p({attribute:"master-id",reflect:!0})],jt.prototype,"masterId",2),c([p({attribute:"default-uri",reflect:!0})],jt.prototype,"defaultUri",2),c([p({attribute:"active",reflect:!0})],jt.prototype,"_current",2),c([p({attribute:"split",type:Number,reflect:!0})],jt.prototype,"_split",2),c([p({attribute:"split-min",type:Number,reflect:!0})],jt.prototype,"_splitMin",2),c([p({attribute:"split-min-secondary",type:Number,reflect:!0})],jt.prototype,"_splitMinSecondary",2),c([p({attribute:"split-max",type:Number,reflect:!0})],jt.prototype,"_splitMax",2),c([p({attribute:"primary-caption",reflect:!0})],jt.prototype,"primaryCaption",2),c([p({attribute:"secondary-caption",reflect:!0})],jt.prototype,"secondaryCaption",2),c([p({attribute:"no-prefetch",type:Boolean,reflect:!0})],jt.prototype,"noPrefetch",2),c([p({attribute:"no-cache",type:Boolean,reflect:!0})],jt.prototype,"noCache",2),c([p({attribute:"local-storage",type:Boolean,reflect:!0})],jt.prototype,"localStorage",2),c([p({attribute:"store-key"})],jt.prototype,"storeKey",2),c([p({attribute:"store-ttl",type:Number,reflect:!0})],jt.prototype,"storeTtl",2),c([p({attribute:"padded",type:Boolean,reflect:!0})],jt.prototype,"padded",2),c([p({attribute:"fetch-style",type:String,reflect:!0})],jt.prototype,"fetchStyle",2),c([p({attribute:"full-width",type:Boolean,reflect:!0})],jt.prototype,"fullWidth",2),c([p({attribute:"padded-right",type:Boolean,reflect:!0})],jt.prototype,"paddedRight",2),c([p()],jt.prototype,"monitor",2),c([p()],jt.prototype,"caption",2),c([p()],jt.prototype,"description",2);var ln=jt;jt.define("zn-tabs");var r1=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}@container (width > 1024px){:host{--zn-gutter:16px}}@container (width > 1400px){:host{--zn-gutter:24px}}@container (width > 1500px){:host{--zn-gutter:32px}}:host{display:block;width:100%;height:100%;min-height:0;container-type:inline-size;--zn-page-texture:none;--zn-page-texture-size:auto;--zn-page-content-background:var(--zn-page-canvas,var(--zn-body));--zn-page-header-background:var(--zn-page-surface-background,var(--zn-page-background,var(--zn-body)));--zn-page-closer-size:36px;--zn-page-closer-gap:var(--zn-spacing-x-small)}:host([panel]){--zn-page-content-background:var(--zn-panel)}:host([panel-head]){--zn-page-header-background:var(--zn-panel)}:host([panel-nav]){--zn-active-nav-background:var(--zn-panel)}.page__header{flex:0 0 auto;position:sticky;top:0;z-index:2;box-sizing:border-box;background-color:rgba(var(--zn-page-header-background),95%);background-image:var(--zn-page-texture);background-repeat:repeat;background-position:center top;background-size:var(--zn-page-texture-size)}.page__header::after{content:"";position:absolute;right:var(--zn-base-gap);bottom:0;left:var(--zn-base-gap);height:1px;background:rgb(var(--zn-border-color));opacity:0;transition:opacity 180ms ease-in-out;pointer-events:none}.page__header--scrolled-no-navigation::after{opacity:1}:host-context([t=aura]) .page__header,:host-context(.theme-aura) .page__header{background:var(--zn-page-header-aurora,linear-gradient(225deg,rgb(233,227,255) 0%,rgb(214,246,245) 40%,rgb(233,227,255) 100%),linear-gradient(180deg,rgba(129,153,217,0) 0%,rgb(0,0,0) 100%));background-size:150% 150%;background-position:0% 7%}:host-context([t=aura]) .page__header .header:not(.header--has-navigation),:host-context(.theme-aura) .page__header .header:not(.header--has-navigation){padding-bottom:var(--zn-base-gap);border-bottom:1px solid rgb(var(--zn-border-color))}:host-context([t=aura]) .page__header .header::before,:host-context(.theme-aura) .page__header .header::before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 2030 297'%3E%3CclipPath id='a'%3E%3Cpath d='M1745.121 547.488c-.699 0-1.41-.008-2.109-.027-59.434-1.852-104.902-66.16-148.883-128.352-35.129-49.668-71.449-101.039-114.398-119.871-65.121-28.539-137.75 10.363-207.98 47.961-26 13.922-50.559 27.07-73.949 36.289-38.902 15.32-77.77 20.742-118.801 16.582-34.629-3.52-71.93-13.93-117.387-32.762-84.102-34.828-150.801-48.859-223.359-11.199-21.039 10.922-41.84 24.832-63.863 39.562-47.594 31.828-96.457 64.508-147.098 64.508-14.434 0-29-2.648-43.734-8.73-35.766-14.77-68.043-48.219-99.258-80.57-41.438-42.938-84.281-87.348-135.34-87.867-.281 0-.562-.012-.844-.012-48.602 0-87.566 43.051-125.258 84.691-40.719 44.98-82.828 91.5-137.785 85.328l.277-2.488c53.707 6.02 95.359-40 135.652-84.512 38.281-42.289 77.84-85.988 127.98-85.508 52.105.527 95.324 45.316 137.117 88.637 31.035 32.16 63.129 65.422 98.41 79.992 65.199 26.91 127.875-15.012 188.488-55.551 21.109-14.109 42.941-28.711 64.102-39.699 35.859-18.609 72.832-25.629 113.035-21.469 39.656 4.098 79.09 18.77 112.434 32.578 69.711 28.871 146.34 50.809 234.32 16.16 23.25-9.16 47.738-22.27 73.68-36.16 34.602-18.531 70.391-37.691 105.949-48.719 40.48-12.543 74.559-12.32 104.211.668 43.59 19.109 80.121 70.762 115.441 120.711 43.629 61.691 88.738 125.488 146.918 127.301 43.672 1.367 81.031-41.781 117.16-83.5 34.262-39.562 66.629-76.941 101.969-73.449 23.672 2.34 46.262 23 69.082 63.148l-2.172 1.23c-22.391-39.391-44.359-59.641-67.148-61.891-34.059-3.359-66.012 33.531-99.84 72.602-35.941 41.5-73.082 84.387-117.02 84.387Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3CclipPath id='b'%3E%3Cpath d='M1745.121 547.488c-.699 0-1.41-.008-2.109-.027-59.434-1.852-104.902-66.16-148.883-128.352-35.129-49.668-71.449-101.039-114.398-119.871-65.121-28.539-137.75 10.363-207.98 47.961-26 13.922-50.559 27.07-73.949 36.289-38.902 15.32-77.77 20.742-118.801 16.582-34.629-3.52-71.93-13.93-117.387-32.762-84.102-34.828-150.801-48.859-223.359-11.199-21.039 10.922-41.84 24.832-63.863 39.562-47.594 31.828-96.457 64.508-147.098 64.508-14.434 0-29-2.648-43.734-8.73-35.766-14.77-68.043-48.219-99.258-80.57-41.438-42.938-84.281-87.348-135.34-87.867-.281 0-.562-.012-.844-.012-48.602 0-87.566 43.051-125.258 84.691-40.719 44.98-82.828 91.5-137.785 85.328l.277-2.488c53.707 6.02 95.359-40 135.652-84.512 38.281-42.289 77.84-85.988 127.98-85.508 52.105.527 95.324 45.316 137.117 88.637 31.035 32.16 63.129 65.422 98.41 79.992 65.199 26.91 127.875-15.012 188.488-55.551 21.109-14.109 42.941-28.711 64.102-39.699 35.859-18.609 72.832-25.629 113.035-21.469 39.656 4.098 79.09 18.77 112.434 32.578 69.711 28.871 146.34 50.809 234.32 16.16 23.25-9.16 47.738-22.27 73.68-36.16 34.602-18.531 70.391-37.691 105.949-48.719 40.48-12.543 74.559-12.32 104.211.668 43.59 19.109 80.121 70.762 115.441 120.711 43.629 61.691 88.738 125.488 146.918 127.301 43.672 1.367 81.031-41.781 117.16-83.5 34.262-39.562 66.629-76.941 101.969-73.449 23.672 2.34 46.262 23 69.082 63.148l-2.172 1.23c-22.391-39.391-44.359-59.641-67.148-61.891-34.059-3.359-66.012 33.531-99.84 72.602-35.941 41.5-73.082 84.387-117.02 84.387'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23b)'%3E%3Cpath d='M-14.926 270.699h2046.227v276.789H-14.926z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='c'%3E%3Cpath d='M1747.91 524.301c-2.648 0-5.32-.152-8.02-.473-56.961-6.719-99.57-66.418-140.762-124.148-34.898-48.898-70.98-99.461-115.527-117.738-64.781-26.57-134.543 11.82-202 48.957-24.031 13.223-46.723 25.723-68.641 34.93-40.34 16.953-80.242 22.832-121.992 17.961-35.52-4.129-72.559-15.629-120.09-37.289-73.633-33.551-146.555-59.762-228.953-12.602-19.609 11.223-39.742 25.652-59.211 39.613-56.871 40.758-115.676 82.91-179.262 62.09-40.32-13.191-75.301-49.082-109.133-83.801-39.812-40.852-80.988-83.102-130.445-87.34-51.141-4.359-92.844 39.668-133.172 82.27-43.387 45.828-88.254 93.219-145.727 82.219l.473-2.461c56.129 10.742 100.512-36.137 143.438-81.477 40.734-43.031 82.855-87.523 135.203-83.043 50.387 4.312 91.887 46.902 132.023 88.09 33.617 34.492 68.379 70.16 108.117 83.172 62.383 20.418 120.664-21.359 177.027-61.762 19.52-13.988 39.707-28.449 59.426-39.738 37.137-21.25 75.07-29.289 115.973-24.59 39.805 4.578 78.918 20.531 115.258 37.078 82.367 37.531 154.715 55.172 240.074 19.301 21.801-9.16 44.441-21.621 68.41-34.809 33.281-18.332 67.703-37.27 102.133-48.352 39.141-12.598 72.508-12.84 102.008-.73 45.23 18.551 81.52 69.41 116.621 118.602 40.879 57.289 83.16 116.531 139.031 123.109 45.25 5.34 83.738-37.48 120.938-78.879 34.262-38.133 66.633-74.141 102.391-71.133 23.109 1.953 45.27 20.172 67.75 55.723l-2.109 1.34c-22.031-34.84-43.57-52.691-65.852-54.57-34.508-2.898-66.488 32.66-100.32 70.309-35.449 39.449-72.027 80.172-115.078 80.172Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3CclipPath id='d'%3E%3Cpath d='M1747.91 524.301c-2.648 0-5.32-.152-8.02-.473-56.961-6.719-99.57-66.418-140.762-124.148-34.898-48.898-70.98-99.461-115.527-117.738-64.781-26.57-134.543 11.82-202 48.957-24.031 13.223-46.723 25.723-68.641 34.93-40.34 16.953-80.242 22.832-121.992 17.961-35.52-4.129-72.559-15.629-120.09-37.289-73.633-33.551-146.555-59.762-228.953-12.602-19.609 11.223-39.742 25.652-59.211 39.613-56.871 40.758-115.676 82.91-179.262 62.09-40.32-13.191-75.301-49.082-109.133-83.801-39.812-40.852-80.988-83.102-130.445-87.34-51.141-4.359-92.844 39.668-133.172 82.27-43.387 45.828-88.254 93.219-145.727 82.219l.473-2.461c56.129 10.742 100.512-36.137 143.438-81.477 40.734-43.031 82.855-87.523 135.203-83.043 50.387 4.312 91.887 46.902 132.023 88.09 33.617 34.492 68.379 70.16 108.117 83.172 62.383 20.418 120.664-21.359 177.027-61.762 19.52-13.988 39.707-28.449 59.426-39.738 37.137-21.25 75.07-29.289 115.973-24.59 39.805 4.578 78.918 20.531 115.258 37.078 82.367 37.531 154.715 55.172 240.074 19.301 21.801-9.16 44.441-21.621 68.41-34.809 33.281-18.332 67.703-37.27 102.133-48.352 39.141-12.598 72.508-12.84 102.008-.73 45.23 18.551 81.52 69.41 116.621 118.602 40.879 57.289 83.16 116.531 139.031 123.109 45.25 5.34 83.738-37.48 120.938-78.879 34.262-38.133 66.633-74.141 102.391-71.133 23.109 1.953 45.27 20.172 67.75 55.723l-2.109 1.34c-22.031-34.84-43.57-52.691-65.852-54.57-34.508-2.898-66.488 32.66-100.32 70.309-35.449 39.449-72.027 80.172-115.078 80.172'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23d)'%3E%3Cpath d='M-15.023 255.371H2031.27V526.68H-15.023z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='e'%3E%3Cpath d='M1749.141 500.23q-1.28 0-2.57-.039c-58.16-2.102-102.539-62.613-145.461-121.141-34.789-47.43-70.77-96.492-113.73-114.09-63.598-26.051-131.809 13.039-197.77 50.828-24.551 14.07-47.73 27.352-70.09 36.91-39.668 16.941-79.039 22.02-120.371 15.512-43.188-6.801-85.59-26.051-117.695-42.063-78.641-39.219-150.578-67.348-234.68-14.047-17.863 11.328-36.109 25.25-53.754 38.707-46.023 35.121-93.293 71.18-144.152 71.191-13.434 0-27.113-2.52-41.094-8.23-35.668-14.578-68.43-47.961-100.113-80.23-44.598-45.438-90.719-92.418-145.355-87.418-46.254 4.23-85.137 43.328-122.738 81.148-22.941 23.082-46.664 46.941-71.766 62.5-28.293 17.539-55.414 22.48-82.914 15.102l.648-2.422c59.797 16.062 104.707-29.121 152.258-76.937 37.918-38.141 77.125-77.57 124.285-81.883 55.82-5.098 102.359 42.312 147.367 88.16 31.504 32.09 64.082 65.281 99.273 79.66 65.582 26.812 125.164-18.66 182.785-62.629 17.684-13.492 35.977-27.449 53.93-38.832 38.945-24.68 76.758-33.648 118.992-28.219 37.598 4.82 74.422 20.332 118.145 42.141 84.871 42.328 153.949 61.52 235.969 26.488 22.223-9.5 45.352-22.75 69.832-36.777 32.57-18.66 66.25-37.961 99.938-49.359 38.312-12.961 71.031-13.492 100.02-1.613 43.621 17.871 79.801 67.211 114.793 114.922 42.57 58.051 86.59 118.07 143.539 120.121 42.828 1.547 79.809-37.293 115.559-74.852 34.492-36.238 67.051-70.469 103.27-67.891 22.41 1.602 43.91 17.301 65.742 47.992l-2.039 1.449c-21.363-30.051-42.262-45.402-63.883-46.941-35.027-2.488-67.199 31.32-101.277 67.121-35.422 37.211-72.031 75.66-114.891 75.66Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23e)'%3E%3CclipPath id='f'%3E%3Cpath d='M1749.141 500.23q-1.28 0-2.57-.039c-58.16-2.102-102.539-62.613-145.461-121.141-34.789-47.43-70.77-96.492-113.73-114.09-63.598-26.051-131.809 13.039-197.77 50.828-24.551 14.07-47.73 27.352-70.09 36.91-39.668 16.941-79.039 22.02-120.371 15.512-43.188-6.801-85.59-26.051-117.695-42.063-78.641-39.219-150.578-67.348-234.68-14.047-17.863 11.328-36.109 25.25-53.754 38.707-46.023 35.121-93.293 71.18-144.152 71.191-13.434 0-27.113-2.52-41.094-8.23-35.668-14.578-68.43-47.961-100.113-80.23-44.598-45.438-90.719-92.418-145.355-87.418-46.254 4.23-85.137 43.328-122.738 81.148-22.941 23.082-46.664 46.941-71.766 62.5-28.293 17.539-55.414 22.48-82.914 15.102l.648-2.422c59.797 16.062 104.707-29.121 152.258-76.937 37.918-38.141 77.125-77.57 124.285-81.883 55.82-5.098 102.359 42.312 147.367 88.16 31.504 32.09 64.082 65.281 99.273 79.66 65.582 26.812 125.164-18.66 182.785-62.629 17.684-13.492 35.977-27.449 53.93-38.832 38.945-24.68 76.758-33.648 118.992-28.219 37.598 4.82 74.422 20.332 118.145 42.141 84.871 42.328 153.949 61.52 235.969 26.488 22.223-9.5 45.352-22.75 69.832-36.777 32.57-18.66 66.25-37.961 99.938-49.359 38.312-12.961 71.031-13.492 100.02-1.613 43.621 17.871 79.801 67.211 114.793 114.922 42.57 58.051 86.59 118.07 143.539 120.121 42.828 1.547 79.809-37.293 115.559-74.852 34.492-36.238 67.051-70.469 103.27-67.891 22.41 1.602 43.91 17.301 65.742 47.992l-2.039 1.449c-21.363-30.051-42.262-45.402-63.883-46.941-35.027-2.488-67.199 31.32-101.277 67.121-35.422 37.211-72.031 75.66-114.891 75.66'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23f)'%3E%3Cpath d='M-15.113 238.531h2046.344V500.23H-15.113z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='g'%3E%3Cpath d='M1750.629 477.512c-25.91 0-51.301-11.871-77.551-36.23-24.098-22.371-46.699-53-68.559-82.621-34.77-47.109-70.73-95.84-113.559-112.559-63.301-24.73-128.812 15.328-192.172 54.07-25.027 15.297-48.68 29.758-71.867 40.109-38.402 17.129-77.23 21.32-118.723 12.797-40.449-8.297-79.328-27.488-115.32-46.988-80.762-43.75-148.551-73.48-224.199-26.398-21.398 13.309-43.035 31.25-63.961 48.598-45.125 37.402-91.535 75.859-142.578 75.871-10.242 0-20.668-1.551-31.312-4.969-40.238-12.91-75.602-48.883-109.797-83.66-42.727-43.453-86.922-88.391-140.184-87.23-49.008 1.07-90.926 40.789-131.465 79.199-24.648 23.359-50.137 47.512-76.91 62.609-30.18 17.031-58.855 20.52-87.664 10.68l.809-2.367c62.691 21.418 110.949-24.312 162.043-72.73 40.887-38.742 83.16-78.801 133.133-79.891 54.328-1.16 98.922 44.141 142.02 87.98 33.984 34.559 69.129 70.309 108.781 83.027 62.379 20.02 117.871-25.969 171.531-70.449 20.988-17.398 42.691-35.391 64.23-48.789 36-22.398 73.449-29.23 114.48-20.871 37.188 7.582 74.309 26.652 112.234 47.191 73.371 39.75 146.309 72.27 231.828 34.109 23.043-10.281 46.621-24.699 71.59-39.969 63.871-39.051 129.922-79.441 194.383-54.262 43.5 16.992 79.68 66 114.66 113.41 43.43 58.84 88.359 119.68 146.789 117.781 40.98-1.34 76.461-37.012 110.77-71.5 34.352-34.531 66.789-67.141 103.199-65.313 21.672 1.102 42.57 14.402 63.891 40.66l-1.941 1.582c-20.848-25.68-41.148-38.68-62.078-39.742-35.289-1.777-67.352 30.453-101.289 64.57-34.66 34.84-70.5 70.871-112.473 72.242-.918.027-1.848.051-2.77.051Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23g)'%3E%3CclipPath id='h'%3E%3Cpath d='M1750.629 477.512c-25.91 0-51.301-11.871-77.551-36.23-24.098-22.371-46.699-53-68.559-82.621-34.77-47.109-70.73-95.84-113.559-112.559-63.301-24.73-128.812 15.328-192.172 54.07-25.027 15.297-48.68 29.758-71.867 40.109-38.402 17.129-77.23 21.32-118.723 12.797-40.449-8.297-79.328-27.488-115.32-46.988-80.762-43.75-148.551-73.48-224.199-26.398-21.398 13.309-43.035 31.25-63.961 48.598-45.125 37.402-91.535 75.859-142.578 75.871-10.242 0-20.668-1.551-31.312-4.969-40.238-12.91-75.602-48.883-109.797-83.66-42.727-43.453-86.922-88.391-140.184-87.23-49.008 1.07-90.926 40.789-131.465 79.199-24.648 23.359-50.137 47.512-76.91 62.609-30.18 17.031-58.855 20.52-87.664 10.68l.809-2.367c62.691 21.418 110.949-24.312 162.043-72.73 40.887-38.742 83.16-78.801 133.133-79.891 54.328-1.16 98.922 44.141 142.02 87.98 33.984 34.559 69.129 70.309 108.781 83.027 62.379 20.02 117.871-25.969 171.531-70.449 20.988-17.398 42.691-35.391 64.23-48.789 36-22.398 73.449-29.23 114.48-20.871 37.188 7.582 74.309 26.652 112.234 47.191 73.371 39.75 146.309 72.27 231.828 34.109 23.043-10.281 46.621-24.699 71.59-39.969 63.871-39.051 129.922-79.441 194.383-54.262 43.5 16.992 79.68 66 114.66 113.41 43.43 58.84 88.359 119.68 146.789 117.781 40.98-1.34 76.461-37.012 110.77-71.5 34.352-34.531 66.789-67.141 103.199-65.313 21.672 1.102 42.57 14.402 63.891 40.66l-1.941 1.582c-20.848-25.68-41.148-38.68-62.078-39.742-35.289-1.777-67.352 30.453-101.289 64.57-34.66 34.84-70.5 70.871-112.473 72.242-.918.027-1.848.051-2.77.051'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23h)'%3E%3Cpath d='M-15.191 218.59H2031.18v258.922H-15.191z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='i'%3E%3Cpath d='M1753.551 454.352h-.441c-26.25-.152-51.859-12.16-78.289-36.73-23.441-21.801-45.398-51.281-66.629-79.793-35.812-48.09-72.84-97.809-118.203-112.449-60.816-19.617-121.75 20.121-180.668 58.562-23.441 15.277-45.57 29.719-67.52 40.43-85.879 41.918-158.199 7.5-237.129-38.211-87.789-50.84-156.109-82.32-236.102-24.02-17.605 12.828-35.465 28.84-52.742 44.32-43.918 39.348-89.125 79.848-140.082 79.859-8.391 0-16.934-1.102-25.656-3.48-42.352-11.57-79.031-48.789-114.504-84.781-41.84-42.449-85.109-86.359-137.199-86.988-.395-.012-.793-.012-1.188-.012-50.453 0-94.527 39.242-137.168 77.203-26.508 23.59-53.918 47.988-82.5 62.547-32.211 16.41-62.562 18.332-92.793 5.891l.949-2.309c65.852 27.098 117.742-19.09 172.68-68 42.988-38.27 87.43-77.832 138.828-77.832.406 0 .812 0 1.223.012 53.117.648 96.754 44.918 138.949 87.738 35.238 35.75 71.68 72.73 113.379 84.121 60.383 16.492 112.762-30.449 163.414-75.828 17.32-15.523 35.23-31.57 52.938-44.48 38.664-28.18 76.891-37.312 120.305-28.73 38.867 7.68 76.672 28.371 118.527 52.609 78.289 45.34 150.012 79.512 234.781 38.121 21.801-10.641 43.867-25.043 67.238-40.281 59.422-38.75 120.852-78.828 182.812-58.84 46.117 14.879 83.387 64.941 119.438 113.34 42.172 56.629 85.77 115.191 142.922 115.512h.43c41.719 0 77.738-34.43 112.578-67.742 33.762-32.281 65.68-62.801 101.66-62.801.562 0 1.109.012 1.672.02 20.867.551 41.039 11.461 61.66 33.363l-1.82 1.707c-20.141-21.387-39.742-32.039-59.91-32.57-35.59-.906-67.641 29.684-101.539 62.094-35.191 33.637-71.582 68.43-114.301 68.43Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23i)'%3E%3CclipPath id='j'%3E%3Cpath d='M1753.551 454.352h-.441c-26.25-.152-51.859-12.16-78.289-36.73-23.441-21.801-45.398-51.281-66.629-79.793-35.812-48.09-72.84-97.809-118.203-112.449-60.816-19.617-121.75 20.121-180.668 58.562-23.441 15.277-45.57 29.719-67.52 40.43-85.879 41.918-158.199 7.5-237.129-38.211-87.789-50.84-156.109-82.32-236.102-24.02-17.605 12.828-35.465 28.84-52.742 44.32-43.918 39.348-89.125 79.848-140.082 79.859-8.391 0-16.934-1.102-25.656-3.48-42.352-11.57-79.031-48.789-114.504-84.781-41.84-42.449-85.109-86.359-137.199-86.988-.395-.012-.793-.012-1.188-.012-50.453 0-94.527 39.242-137.168 77.203-26.508 23.59-53.918 47.988-82.5 62.547-32.211 16.41-62.562 18.332-92.793 5.891l.949-2.309c65.852 27.098 117.742-19.09 172.68-68 42.988-38.27 87.43-77.832 138.828-77.832.406 0 .812 0 1.223.012 53.117.648 96.754 44.918 138.949 87.738 35.238 35.75 71.68 72.73 113.379 84.121 60.383 16.492 112.762-30.449 163.414-75.828 17.32-15.523 35.23-31.57 52.938-44.48 38.664-28.18 76.891-37.312 120.305-28.73 38.867 7.68 76.672 28.371 118.527 52.609 78.289 45.34 150.012 79.512 234.781 38.121 21.801-10.641 43.867-25.043 67.238-40.281 59.422-38.75 120.852-78.828 182.812-58.84 46.117 14.879 83.387 64.941 119.438 113.34 42.172 56.629 85.77 115.191 142.922 115.512h.43c41.719 0 77.738-34.43 112.578-67.742 33.762-32.281 65.68-62.801 101.66-62.801.562 0 1.109.012 1.672.02 20.867.551 41.039 11.461 61.66 33.363l-1.82 1.707c-20.141-21.387-39.742-32.039-59.91-32.57-35.59-.906-67.641 29.684-101.539 62.094-35.191 33.637-71.582 68.43-114.301 68.43'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23j)'%3E%3Cpath d='M-15.262 203.012h2046.383v251.34H-15.262z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='k'%3E%3Cpath d='M1756.352 431.23c-1.191 0-2.391-.031-3.602-.082-56.84-2.477-100.34-59.539-142.422-114.719-34.469-45.219-70.117-91.969-112.809-108.508-60.781-23.551-120.098 18.406-177.461 58.988-22.047 15.59-42.879 30.328-63.738 41.469-40.102 21.422-78.91 26.223-122.141 15.109-40.508-10.41-80.41-34.008-117.82-57.297-77.5-48.242-150.707-93.812-231.922-33.031-19.465 14.57-38.77 33.031-57.438 50.879-43.109 41.223-87.418 83.582-138.664 83.582-12.016.008-24.402-2.32-37.258-7.543-36.516-14.816-69.141-47.738-100.695-79.578-41-41.371-83.395-84.148-134.156-86.59-53.047-2.57-100.109 36.969-145.633 75.191-28.375 23.828-57.719 48.457-88.102 62.457-34.227 15.77-66.223 16.113-97.816 1.062l1.074-2.262c68.891 32.832 124.43-13.801 183.234-63.168 45.895-38.543 93.34-78.371 147.359-75.781 51.734 2.488 94.48 45.621 135.816 87.328 31.375 31.66 63.816 64.402 99.859 79.031 29.641 12.031 59.465 9.281 91.172-8.391 28.43-15.848 55.703-41.93 82.082-67.148 18.719-17.902 38.078-36.41 57.664-51.07 37.449-28.031 75.164-35.941 118.688-24.91 39.117 9.922 78.23 34.27 116.066 57.82 82.75 51.52 152.777 87.328 237.457 42.102 20.711-11.062 41.48-25.75 63.461-41.312 57.902-40.949 117.77-83.309 179.812-59.27 43.348 16.789 79.219 63.832 113.898 109.32 41.73 54.73 84.871 111.309 140.539 113.738 43.129 1.871 80.082-31.629 115.84-64.027 25.68-23.27 49.941-45.262 76.312-55.09 29.648-11.062 57.789-4.18 86.027 21.02l-1.66 1.871c-61.18-54.602-108.699-11.531-159 34.059-35.141 31.84-71.449 64.738-114.027 64.75Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23k)'%3E%3CclipPath id='l'%3E%3Cpath d='M1756.352 431.23c-1.191 0-2.391-.031-3.602-.082-56.84-2.477-100.34-59.539-142.422-114.719-34.469-45.219-70.117-91.969-112.809-108.508-60.781-23.551-120.098 18.406-177.461 58.988-22.047 15.59-42.879 30.328-63.738 41.469-40.102 21.422-78.91 26.223-122.141 15.109-40.508-10.41-80.41-34.008-117.82-57.297-77.5-48.242-150.707-93.812-231.922-33.031-19.465 14.57-38.77 33.031-57.438 50.879-43.109 41.223-87.418 83.582-138.664 83.582-12.016.008-24.402-2.32-37.258-7.543-36.516-14.816-69.141-47.738-100.695-79.578-41-41.371-83.395-84.148-134.156-86.59-53.047-2.57-100.109 36.969-145.633 75.191-28.375 23.828-57.719 48.457-88.102 62.457-34.227 15.77-66.223 16.113-97.816 1.062l1.074-2.262c68.891 32.832 124.43-13.801 183.234-63.168 45.895-38.543 93.34-78.371 147.359-75.781 51.734 2.488 94.48 45.621 135.816 87.328 31.375 31.66 63.816 64.402 99.859 79.031 29.641 12.031 59.465 9.281 91.172-8.391 28.43-15.848 55.703-41.93 82.082-67.148 18.719-17.902 38.078-36.41 57.664-51.07 37.449-28.031 75.164-35.941 118.688-24.91 39.117 9.922 78.23 34.27 116.066 57.82 82.75 51.52 152.777 87.328 237.457 42.102 20.711-11.062 41.48-25.75 63.461-41.312 57.902-40.949 117.77-83.309 179.812-59.27 43.348 16.789 79.219 63.832 113.898 109.32 41.73 54.73 84.871 111.309 140.539 113.738 43.129 1.871 80.082-31.629 115.84-64.027 25.68-23.27 49.941-45.262 76.312-55.09 29.648-11.062 57.789-4.18 86.027 21.02l-1.66 1.871c-61.18-54.602-108.699-11.531-159 34.059-35.141 31.84-71.449 64.738-114.027 64.75'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23l)'%3E%3Cpath d='M-15.324 172.379h2046.363v258.852H-15.324z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='m'%3E%3Cpath d='M1759.309 408.051c-2.34 0-4.688-.102-7.07-.289-55.457-4.543-98.398-60.062-139.93-113.762-33.098-42.789-67.328-87.051-107.547-105.109-61.062-27.441-119.793 17.641-176.59 61.23-23.031 17.68-44.793 34.379-66.594 46.367-38.578 21.223-76.629 24.801-119.738 11.273-37.051-11.621-72.219-33.871-114.352-61.73l-2.438-1.609c-78.355-51.852-152.367-100.82-233.16-34.051-17.574 14.52-35.246 32.719-52.336 50.309-42.676 43.941-86.57 89.109-137.766 89.121-10.438 0-21.176-1.879-32.273-6.031-38.145-14.25-71.801-48.121-104.352-80.879-40.219-40.469-81.809-82.32-131.562-86.371-55.133-4.48-104.723 35.109-152.68 73.391-30.168 24.09-61.367 48.988-93.504 62.441-36.191 15.148-69.816 13.898-102.797-3.82l1.184-2.203c71.977 38.684 131.035-8.457 193.559-58.367 48.34-38.59 98.324-78.48 154.437-73.93 50.676 4.117 92.598 46.309 133.137 87.098 32.359 32.562 65.82 66.242 103.453 80.301 64.004 23.922 116.551-30.168 167.371-82.488 17.137-17.641 34.859-35.891 52.539-50.5 82.215-67.941 156.977-18.48 236.129 33.887l2.441 1.613c72.109 47.699 146.668 97.02 231.5 50.359 21.641-11.902 43.32-28.539 66.277-46.16 57.383-44.039 116.711-89.582 179.141-61.531 40.789 18.32 75.211 62.82 108.492 105.859 41.199 53.27 83.797 108.352 138.16 112.801 44.41 3.629 82.438-28.82 119.207-60.191 24.043-20.52 48.902-41.727 74.801-51.727 29.141-11.262 56.781-6.98 84.5 13.07l-1.469 2.02c-60.09-43.473-106.781-3.633-156.211 38.539-35.211 30.051-71.57 61.059-113.961 61.07Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23m)'%3E%3CclipPath id='n'%3E%3Cpath d='M1759.309 408.051c-2.34 0-4.688-.102-7.07-.289-55.457-4.543-98.398-60.062-139.93-113.762-33.098-42.789-67.328-87.051-107.547-105.109-61.062-27.441-119.793 17.641-176.59 61.23-23.031 17.68-44.793 34.379-66.594 46.367-38.578 21.223-76.629 24.801-119.738 11.273-37.051-11.621-72.219-33.871-114.352-61.73l-2.438-1.609c-78.355-51.852-152.367-100.82-233.16-34.051-17.574 14.52-35.246 32.719-52.336 50.309-42.676 43.941-86.57 89.109-137.766 89.121-10.438 0-21.176-1.879-32.273-6.031-38.145-14.25-71.801-48.121-104.352-80.879-40.219-40.469-81.809-82.32-131.562-86.371-55.133-4.48-104.723 35.109-152.68 73.391-30.168 24.09-61.367 48.988-93.504 62.441-36.191 15.148-69.816 13.898-102.797-3.82l1.184-2.203c71.977 38.684 131.035-8.457 193.559-58.367 48.34-38.59 98.324-78.48 154.437-73.93 50.676 4.117 92.598 46.309 133.137 87.098 32.359 32.562 65.82 66.242 103.453 80.301 64.004 23.922 116.551-30.168 167.371-82.488 17.137-17.641 34.859-35.891 52.539-50.5 82.215-67.941 156.977-18.48 236.129 33.887l2.441 1.613c72.109 47.699 146.668 97.02 231.5 50.359 21.641-11.902 43.32-28.539 66.277-46.16 57.383-44.039 116.711-89.582 179.141-61.531 40.789 18.32 75.211 62.82 108.492 105.859 41.199 53.27 83.797 108.352 138.16 112.801 44.41 3.629 82.438-28.82 119.207-60.191 24.043-20.52 48.902-41.727 74.801-51.727 29.141-11.262 56.781-6.98 84.5 13.07l-1.469 2.02c-60.09-43.473-106.781-3.633-156.211 38.539-35.211 30.051-71.57 61.059-113.961 61.07'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23n)'%3E%3Cpath d='M-15.379 140.5h2046.328v268.398H-15.379z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='o'%3E%3Cpath d='M1762.43 384.789c-3.621 0-7.27-.211-10.969-.648-54.18-6.539-96.082-60.281-136.609-112.25-34.23-43.902-69.621-89.289-112.16-106.07-58.43-23.059-113.031 22.168-165.84 65.918-18.742 15.523-36.453 30.184-54.211 41.793-40.621 26.559-80.359 32.57-125.07 18.918-41.121-12.551-83.02-41.449-119.992-66.949l-6.18-4.262C952.887 167.001 878.723 115.77 798.45 187.38c-16.758 14.961-33.43 33.312-49.551 51.062-41.352 45.527-83.922 92.387-135.598 92.387-8.582.012-17.406-1.289-26.527-4.09-40.766-12.527-75.855-48.137-109.789-82.566-38.801-39.383-78.922-80.094-127.191-85.531-57.105-6.449-109.066 33.359-159.32 71.848-31.848 24.383-64.777 49.613-98.539 62.551-38.012 14.582-73.129 11.77-107.359-8.59l1.277-2.148c33.992 20.219 67.418 22.898 105.188 8.41 33.422-12.82 66.207-37.93 97.91-62.211 50.648-38.789 103.027-78.91 161.125-72.352 49.148 5.543 89.586 46.582 128.691 86.262 33.715 34.219 68.578 69.59 108.742 81.941 62.527 19.219 111.844-35.082 159.539-87.59 16.164-17.801 32.883-36.203 49.738-51.242 19.656-17.539 39.402-28.371 60.371-33.098 18.754-4.242 38.082-3.48 59.082 2.34 38.922 10.77 76.641 36.828 116.582 64.418l6.18 4.262c79 54.488 153.629 105.957 242.27 48 17.652-11.531 35.301-26.152 53.98-41.633 53.371-44.207 108.559-89.918 168.359-66.32 43.172 17.031 78.781 62.703 113.211 106.863 40.211 51.57 81.789 104.887 134.941 111.297 45.898 5.543 85.367-25.91 123.559-56.328 23.52-18.73 47.852-38.109 73.18-48.242 28.531-11.406 55.461-9.707 82.32 5.203l-1.211 2.18c-58.328-32.383-104.18 4.148-152.73 42.82-35.551 28.309-72.207 57.508-114.449 57.508Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23o)'%3E%3CclipPath id='p'%3E%3Cpath d='M1762.43 384.789c-3.621 0-7.27-.211-10.969-.648-54.18-6.539-96.082-60.281-136.609-112.25-34.23-43.902-69.621-89.289-112.16-106.07-58.43-23.059-113.031 22.168-165.84 65.918-18.742 15.523-36.453 30.184-54.211 41.793-40.621 26.559-80.359 32.57-125.07 18.918-41.121-12.551-83.02-41.449-119.992-66.949l-6.18-4.262C952.887 167.001 878.723 115.77 798.45 187.38c-16.758 14.961-33.43 33.312-49.551 51.062-41.352 45.527-83.922 92.387-135.598 92.387-8.582.012-17.406-1.289-26.527-4.09-40.766-12.527-75.855-48.137-109.789-82.566-38.801-39.383-78.922-80.094-127.191-85.531-57.105-6.449-109.066 33.359-159.32 71.848-31.848 24.383-64.777 49.613-98.539 62.551-38.012 14.582-73.129 11.77-107.359-8.59l1.277-2.148c33.992 20.219 67.418 22.898 105.188 8.41 33.422-12.82 66.207-37.93 97.91-62.211 50.648-38.789 103.027-78.91 161.125-72.352 49.148 5.543 89.586 46.582 128.691 86.262 33.715 34.219 68.578 69.59 108.742 81.941 62.527 19.219 111.844-35.082 159.539-87.59 16.164-17.801 32.883-36.203 49.738-51.242 19.656-17.539 39.402-28.371 60.371-33.098 18.754-4.242 38.082-3.48 59.082 2.34 38.922 10.77 76.641 36.828 116.582 64.418l6.18 4.262c79 54.488 153.629 105.957 242.27 48 17.652-11.531 35.301-26.152 53.98-41.633 53.371-44.207 108.559-89.918 168.359-66.32 43.172 17.031 78.781 62.703 113.211 106.863 40.211 51.57 81.789 104.887 134.941 111.297 45.898 5.543 85.367-25.91 123.559-56.328 23.52-18.73 47.852-38.109 73.18-48.242 28.531-11.406 55.461-9.707 82.32 5.203l-1.211 2.18c-58.328-32.383-104.18 4.148-152.73 42.82-35.551 28.309-72.207 57.508-114.449 57.508'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23p)'%3E%3Cpath d='M-15.426 115.77H2030.82v271.422H-15.426z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='q'%3E%3Cpath d='M1765.238 361.371c-4.027 0-8.098-.25-12.207-.77-53.973-6.812-95.832-59.961-136.32-111.363-34.211-43.438-69.59-88.359-112.02-105.137-58.051-22.973-110.453 23.578-161.133 68.598-17.918 15.922-34.859 30.961-52.008 43.039-27.531 19.383-53.902 27.332-79.582 27.332-56.117.008-109.02-37.922-164.027-77.34l-1.793-1.281q-4.649-3.346-9.297-6.688c-37.633-27.07-76.543-55.062-114.922-66.172-43.324-12.539-80.273-2.59-116.277 31.332-16.449 15.5-32.707 34.449-48.434 52.777-46.918 54.711-95.441 111.27-159.695 91.531-40.633-12.48-75.594-47.992-109.402-82.34-38.637-39.25-78.59-79.84-126.664-85.27-57.805-6.551-111.012 32.988-162.465 71.207-33.359 24.793-67.852 50.422-103.062 62.91-39.633 14.062-76.074 9.684-111.402-13.379l1.367-2.09c35.113 22.922 69.812 27.09 109.199 13.109 34.855-12.359 69.195-37.879 102.406-62.551 51.84-38.52 105.453-78.348 164.238-71.699 48.953 5.543 89.223 46.449 128.168 86.012 33.59 34.121 68.324 69.41 108.352 81.699 62.691 19.262 110.668-36.668 157.062-90.762 15.77-18.387 32.07-37.387 48.617-52.977 19.375-18.25 38.941-29.512 59.82-34.422 18.645-4.379 37.898-3.559 58.867 2.512 38.793 11.219 77.887 39.348 115.684 66.539 3.102 2.23 6.203 4.461 9.301 6.68l1.789 1.289c40.633 29.121 79.012 56.621 118.402 69.492 44.109 14.387 82.969 8.199 122.309-19.5 17.039-11.992 33.922-26.992 51.789-42.863 51.25-45.52 104.23-92.59 163.711-69.059 43.062 17.031 78.652 62.219 113.07 105.922 40.172 51 81.711 103.738 134.66 110.43 46.582 5.891 87.332-24.152 126.73-53.199 46-33.91 93.57-68.98 150.602-46.773l-.91 2.332c-55.742-21.711-100.66 11.398-148.211 46.461-36.352 26.797-73.832 54.43-116.312 54.43Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23q)'%3E%3CclipPath id='r'%3E%3Cpath d='M1765.238 361.371c-4.027 0-8.098-.25-12.207-.77-53.973-6.812-95.832-59.961-136.32-111.363-34.211-43.438-69.59-88.359-112.02-105.137-58.051-22.973-110.453 23.578-161.133 68.598-17.918 15.922-34.859 30.961-52.008 43.039-27.531 19.383-53.902 27.332-79.582 27.332-56.117.008-109.02-37.922-164.027-77.34l-1.793-1.281q-4.649-3.346-9.297-6.688c-37.633-27.07-76.543-55.062-114.922-66.172-43.324-12.539-80.273-2.59-116.277 31.332-16.449 15.5-32.707 34.449-48.434 52.777-46.918 54.711-95.441 111.27-159.695 91.531-40.633-12.48-75.594-47.992-109.402-82.34-38.637-39.25-78.59-79.84-126.664-85.27-57.805-6.551-111.012 32.988-162.465 71.207-33.359 24.793-67.852 50.422-103.062 62.91-39.633 14.062-76.074 9.684-111.402-13.379l1.367-2.09c35.113 22.922 69.812 27.09 109.199 13.109 34.855-12.359 69.195-37.879 102.406-62.551 51.84-38.52 105.453-78.348 164.238-71.699 48.953 5.543 89.223 46.449 128.168 86.012 33.59 34.121 68.324 69.41 108.352 81.699 62.691 19.262 110.668-36.668 157.062-90.762 15.77-18.387 32.07-37.387 48.617-52.977 19.375-18.25 38.941-29.512 59.82-34.422 18.645-4.379 37.898-3.559 58.867 2.512 38.793 11.219 77.887 39.348 115.684 66.539 3.102 2.23 6.203 4.461 9.301 6.68l1.789 1.289c40.633 29.121 79.012 56.621 118.402 69.492 44.109 14.387 82.969 8.199 122.309-19.5 17.039-11.992 33.922-26.992 51.789-42.863 51.25-45.52 104.23-92.59 163.711-69.059 43.062 17.031 78.652 62.219 113.07 105.922 40.172 51 81.711 103.738 134.66 110.43 46.582 5.891 87.332-24.152 126.73-53.199 46-33.91 93.57-68.98 150.602-46.773l-.91 2.332c-55.742-21.711-100.66 11.398-148.211 46.461-36.352 26.797-73.832 54.43-116.312 54.43'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23r)'%3E%3Cpath d='M-15.473 118.238h2046.145v245.773H-15.473z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='s'%3E%3Cpath d='M1767.441 337.719c-3.5 0-7.02-.168-10.582-.527-54.84-5.531-97.629-59.211-139.008-111.133-33.023-41.418-67.172-84.258-107.113-102.289-60.129-27.141-111.867 21.551-161.91 68.641-19.527 18.371-39.719 37.371-59.816 51.078-36.223 24.711-74.41 29.25-116.73 13.891-37.52-13.609-74.59-41.219-110.43-67.91-3.043-2.27-6.07-4.527-9.113-6.777-3.879-2.883-7.758-5.781-11.648-8.68-36.961-27.613-75.176-56.152-113.234-67.852-42.547-13.09-80.125-3.059-114.879 30.66-16.676 16.18-33.117 36.211-49.016 55.578-39.816 48.5-80.781 98.383-132.188 98.391-9.785 0-19.941-1.809-30.547-5.77-37.773-14.129-71.07-47.73-103.273-80.219-39.742-40.102-80.84-81.562-130.039-85.609-48.121-3.961-95.988 30.199-142.277 63.238-13.238 9.449-25.742 18.371-38.105 26.289-67.078 42.98-133.082 77.422-203.043 27.551l1.449-2.031C54.63 283.2 119.857 249.11 186.185 206.622c12.309-7.891 24.789-16.801 38-26.23 46.656-33.301 94.898-67.742 143.938-63.699 50.117 4.129 91.543 45.93 131.609 86.348 32.012 32.301 65.113 65.699 102.371 79.633 64.656 24.188 113.09-34.812 159.926-91.863 15.945-19.418 32.43-39.5 49.207-55.777 79.098-76.742 156.5-18.93 231.344 36.969 3.891 2.91 7.773 5.809 11.652 8.68 3.039 2.262 6.07 4.52 9.109 6.781 35.699 26.59 72.621 54.078 109.789 67.57 41.52 15.07 78.961 10.609 114.473-13.609 19.93-13.594 40.047-32.531 59.508-50.832 50.641-47.66 103-96.93 164.66-69.102 40.492 18.281 74.832 61.363 108.031 103.012 41.059 51.52 83.52 104.781 137.309 110.199 46.719 4.711 88.602-23.668 129.09-51.129 44.672-30.289 90.871-61.609 144.289-49.531l-.547 2.43c-52.371-11.828-98.113 19.18-142.332 49.172-37.809 25.641-76.82 52.078-120.168 52.078Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3CclipPath id='t'%3E%3Cpath d='M1767.441 337.719c-3.5 0-7.02-.168-10.582-.527-54.84-5.531-97.629-59.211-139.008-111.133-33.023-41.418-67.172-84.258-107.113-102.289-60.129-27.141-111.867 21.551-161.91 68.641-19.527 18.371-39.719 37.371-59.816 51.078-36.223 24.711-74.41 29.25-116.73 13.891-37.52-13.609-74.59-41.219-110.43-67.91-3.043-2.27-6.07-4.527-9.113-6.777-3.879-2.883-7.758-5.781-11.648-8.68-36.961-27.613-75.176-56.152-113.234-67.852-42.547-13.09-80.125-3.059-114.879 30.66-16.676 16.18-33.117 36.211-49.016 55.578-39.816 48.5-80.781 98.383-132.188 98.391-9.785 0-19.941-1.809-30.547-5.77-37.773-14.129-71.07-47.73-103.273-80.219-39.742-40.102-80.84-81.562-130.039-85.609-48.121-3.961-95.988 30.199-142.277 63.238-13.238 9.449-25.742 18.371-38.105 26.289-67.078 42.98-133.082 77.422-203.043 27.551l1.449-2.031C54.63 283.2 119.857 249.11 186.185 206.622c12.309-7.891 24.789-16.801 38-26.23 46.656-33.301 94.898-67.742 143.938-63.699 50.117 4.129 91.543 45.93 131.609 86.348 32.012 32.301 65.113 65.699 102.371 79.633 64.656 24.188 113.09-34.812 159.926-91.863 15.945-19.418 32.43-39.5 49.207-55.777 79.098-76.742 156.5-18.93 231.344 36.969 3.891 2.91 7.773 5.809 11.652 8.68 3.039 2.262 6.07 4.52 9.109 6.781 35.699 26.59 72.621 54.078 109.789 67.57 41.52 15.07 78.961 10.609 114.473-13.609 19.93-13.594 40.047-32.531 59.508-50.832 50.641-47.66 103-96.93 164.66-69.102 40.492 18.281 74.832 61.363 108.031 103.012 41.059 51.52 83.52 104.781 137.309 110.199 46.719 4.711 88.602-23.668 129.09-51.129 44.672-30.289 90.871-61.609 144.289-49.531l-.547 2.43c-52.371-11.828-98.113 19.18-142.332 49.172-37.809 25.641-76.82 52.078-120.168 52.078'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23t)'%3E%3Cpath d='M-15.512 58.289h2046V339.41h-2046z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='u'%3E%3Cpath d='M1769.961 314.012c-4.102 0-8.223-.211-12.371-.672-54.699-6.012-97.48-59.262-138.859-110.75-33.012-41.09-67.152-83.578-107.031-101.738-60.32-27.461-110.57 21.848-159.168 69.539-19.082 18.719-38.82 38.09-58.711 52.211-23.609 16.77-46.742 23.68-69.441 23.688-54.367 0-106.34-39.609-157.109-78.301-3.469-2.637-6.93-5.277-10.391-7.91a2942 2942 0 0 1-12.398-9.449c-74.293-56.758-151.121-115.457-228.223-38.34-16.586 16.59-32.812 37.031-48.5 56.801-39.066 49.219-79.254 99.852-130.758 99.859-9.754 0-19.906-1.82-30.543-5.801-37.621-14.098-70.832-47.637-102.949-80.078-39.707-40.102-80.77-81.582-129.863-85.492-47.781-3.816-95.766 30.41-142.168 63.512-14.125 10.07-27.465 19.59-40.59 27.871-68.625 43.277-136.055 77.629-206.438 23.23l1.527-1.98c69.109 53.418 135.73 19.43 203.574-23.371 13.066-8.238 26.379-17.738 40.473-27.789 46.766-33.359 95.133-67.84 143.82-63.973 50.02 3.992 91.414 45.801 131.441 86.23 31.926 32.25 64.941 65.59 102.047 79.492 29.145 10.918 57.258 5.91 85.953-15.312 25.75-19.039 49.523-48.988 72.512-77.949 15.734-19.828 32.004-40.328 48.691-57.02 35.242-35.25 73.66-45.629 117.449-31.75 38.621 12.242 76.973 41.539 114.062 69.879 4.141 3.16 8.27 6.312 12.391 9.441 3.461 2.621 6.93 5.27 10.398 7.91 71.242 54.289 144.902 110.441 223.59 54.559 19.723-14.008 39.391-33.297 58.402-51.957 49.199-48.281 100.07-98.203 161.957-70.023 40.41 18.402 74.742 61.121 107.941 102.441 41.059 51.102 83.52 103.941 137.18 109.832 48.449 5.328 93.332-22.652 136.742-49.703 42.828-26.68 87.109-54.25 135.688-51.199l-.16 2.5c-47.777-3.02-91.707 24.352-134.199 50.832-40.09 24.969-81.441 50.73-125.969 50.73Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23u)'%3E%3CclipPath id='v'%3E%3Cpath d='M1769.961 314.012c-4.102 0-8.223-.211-12.371-.672-54.699-6.012-97.48-59.262-138.859-110.75-33.012-41.09-67.152-83.578-107.031-101.738-60.32-27.461-110.57 21.848-159.168 69.539-19.082 18.719-38.82 38.09-58.711 52.211-23.609 16.77-46.742 23.68-69.441 23.688-54.367 0-106.34-39.609-157.109-78.301-3.469-2.637-6.93-5.277-10.391-7.91a2942 2942 0 0 1-12.398-9.449c-74.293-56.758-151.121-115.457-228.223-38.34-16.586 16.59-32.812 37.031-48.5 56.801-39.066 49.219-79.254 99.852-130.758 99.859-9.754 0-19.906-1.82-30.543-5.801-37.621-14.098-70.832-47.637-102.949-80.078-39.707-40.102-80.77-81.582-129.863-85.492-47.781-3.816-95.766 30.41-142.168 63.512-14.125 10.07-27.465 19.59-40.59 27.871-68.625 43.277-136.055 77.629-206.438 23.23l1.527-1.98c69.109 53.418 135.73 19.43 203.574-23.371 13.066-8.238 26.379-17.738 40.473-27.789 46.766-33.359 95.133-67.84 143.82-63.973 50.02 3.992 91.414 45.801 131.441 86.23 31.926 32.25 64.941 65.59 102.047 79.492 29.145 10.918 57.258 5.91 85.953-15.312 25.75-19.039 49.523-48.988 72.512-77.949 15.734-19.828 32.004-40.328 48.691-57.02 35.242-35.25 73.66-45.629 117.449-31.75 38.621 12.242 76.973 41.539 114.062 69.879 4.141 3.16 8.27 6.312 12.391 9.441 3.461 2.621 6.93 5.27 10.398 7.91 71.242 54.289 144.902 110.441 223.59 54.559 19.723-14.008 39.391-33.297 58.402-51.957 49.199-48.281 100.07-98.203 161.957-70.023 40.41 18.402 74.742 61.121 107.941 102.441 41.059 51.102 83.52 103.941 137.18 109.832 48.449 5.328 93.332-22.652 136.742-49.703 42.828-26.68 87.109-54.25 135.688-51.199l-.16 2.5c-47.777-3.02-91.707 24.352-134.199 50.832-40.09 24.969-81.441 50.73-125.969 50.73'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23v)'%3E%3Cpath d='M-15.551 35.172h2045.84V316.18H-15.551z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='w'%3E%3Cpath d='M1771.539 289.961c-3.699.008-7.41-.16-11.141-.492-55.648-5.039-99.047-58.559-141.027-110.32-34.34-42.34-69.859-86.129-111.801-103.16-59.059-23.988-107.191 24.16-153.742 70.723-17.109 17.109-34.797 34.809-52.699 48.52-37.25 28.539-76.578 34.848-120.25 19.289-38.738-13.801-77.098-43.141-114.207-71.508a2811 2811 0 0 0-8.57-6.543c-4.34-3.309-8.691-6.66-13.062-10.02-73.715-56.66-149.934-115.258-226.254-40.508-18.219 17.84-35.445 39.828-52.105 61.098-22.992 29.34-46.762 59.68-72.848 78.41-29.391 21.102-58.898 25.129-90.211 12.34-35.758-14.598-67.824-46.988-98.832-78.309-40.402-40.82-82.184-83.02-132-85.352-46.492-2.168-95.867 33.43-139.438 64.84-15.125 10.91-29.414 21.203-43.301 29.891-32.676 20.41-67.68 40.23-102.266 46.93-37.934 7.352-71.746-1.711-103.367-27.68l1.59-1.938c68.477 56.25 134.965 22.906 202.715-19.434 13.82-8.637 28.078-18.918 43.168-29.797 43.902-31.652 93.668-67.512 141.016-65.301 50.789 2.371 92.918 44.918 133.66 86.078 30.832 31.141 62.715 63.352 98 77.762 30.875 12.609 58.777 8.781 87.805-12.059 25.797-18.523 49.457-48.723 72.34-77.934 16.711-21.328 33.988-43.379 52.324-61.34 34.879-34.148 73.008-43.828 116.566-29.578 38.355 12.551 76.277 41.699 112.957 69.898 4.371 3.352 8.723 6.703 13.062 10.012 2.859 2.18 5.707 4.359 8.57 6.539 36.949 28.262 75.16 57.469 113.52 71.141 42.82 15.262 81.379 9.07 117.898-18.91 17.77-13.621 35.402-31.25 52.449-48.309 47.133-47.141 95.852-95.883 156.453-71.27 42.539 17.27 78.258 61.316 112.797 103.906 41.652 51.352 84.723 104.453 139.312 109.391 49.988 4.531 97.777-23.207 143.988-50.039 40.27-23.391 81.91-47.57 125.5-51.039l.199 2.5c-43.02 3.418-84.418 27.461-124.449 50.699-43.129 25.039-87.621 50.871-134.32 50.871Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23w)'%3E%3CclipPath id='x'%3E%3Cpath d='M1771.539 289.961c-3.699.008-7.41-.16-11.141-.492-55.648-5.039-99.047-58.559-141.027-110.32-34.34-42.34-69.859-86.129-111.801-103.16-59.059-23.988-107.191 24.16-153.742 70.723-17.109 17.109-34.797 34.809-52.699 48.52-37.25 28.539-76.578 34.848-120.25 19.289-38.738-13.801-77.098-43.141-114.207-71.508a2811 2811 0 0 0-8.57-6.543c-4.34-3.309-8.691-6.66-13.062-10.02-73.715-56.66-149.934-115.258-226.254-40.508-18.219 17.84-35.445 39.828-52.105 61.098-22.992 29.34-46.762 59.68-72.848 78.41-29.391 21.102-58.898 25.129-90.211 12.34-35.758-14.598-67.824-46.988-98.832-78.309-40.402-40.82-82.184-83.02-132-85.352-46.492-2.168-95.867 33.43-139.438 64.84-15.125 10.91-29.414 21.203-43.301 29.891-32.676 20.41-67.68 40.23-102.266 46.93-37.934 7.352-71.746-1.711-103.367-27.68l1.59-1.938c68.477 56.25 134.965 22.906 202.715-19.434 13.82-8.637 28.078-18.918 43.168-29.797 43.902-31.652 93.668-67.512 141.016-65.301 50.789 2.371 92.918 44.918 133.66 86.078 30.832 31.141 62.715 63.352 98 77.762 30.875 12.609 58.777 8.781 87.805-12.059 25.797-18.523 49.457-48.723 72.34-77.934 16.711-21.328 33.988-43.379 52.324-61.34 34.879-34.148 73.008-43.828 116.566-29.578 38.355 12.551 76.277 41.699 112.957 69.898 4.371 3.352 8.723 6.703 13.062 10.012 2.859 2.18 5.707 4.359 8.57 6.539 36.949 28.262 75.16 57.469 113.52 71.141 42.82 15.262 81.379 9.07 117.898-18.91 17.77-13.621 35.402-31.25 52.449-48.309 47.133-47.141 95.852-95.883 156.453-71.27 42.539 17.27 78.258 61.316 112.797 103.906 41.652 51.352 84.723 104.453 139.312 109.391 49.988 4.531 97.777-23.207 143.988-50.039 40.27-23.391 81.91-47.57 125.5-51.039l.199 2.5c-43.02 3.418-84.418 27.461-124.449 50.699-43.129 25.039-87.621 50.871-134.32 50.871'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23x)'%3E%3Cpath d='M-15.582 11.191h2045.891V291.5H-15.582z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='y'%3E%3Cpath d='M1773.238 264.172c-5.297 0-10.609-.332-15.949-1.043-54-7.188-97.348-58.648-139.258-108.41-33.141-39.328-67.402-80.008-106.582-98.398-59.801-28.082-110.289 20.469-159.109 67.418-18.898 18.172-38.449 36.973-58.07 50.711-35.961 25.199-73.891 30.082-115.98 14.91-37.301-13.438-74.148-40.988-109.789-67.621q-5.641-4.215-11.281-8.418c-4.43-3.289-8.867-6.621-13.309-9.949-36.84-27.609-74.941-56.172-112.887-67.832-42.414-13.039-79.867-2.891-114.492 31.031-16.523 16.191-32.754 36.129-48.445 55.41-39.277 48.25-79.688 97.871-130.754 97.879-9.812 0-20.012-1.828-30.68-5.859-37.207-14.039-70.711-46.262-103.109-77.41-40.496-38.949-82.371-79.219-131.27-83.418-46.418-3.98-94 29.027-140.008 60.957-14.711 10.211-28.602 19.852-42.152 28.043-37.727 22.809-69.516 39.328-102.016 45.848-37.859 7.59-71.754-.238-103.633-23.93l1.492-2.012c68.914 51.23 135.281 18.801 202.863-22.047 13.48-8.152 27.344-17.77 42.02-27.961 44.211-30.68 94.328-65.461 141.648-61.391 49.777 4.281 91.977 44.859 132.785 84.109 32.219 30.98 65.535 63.02 102.262 76.871 28.875 10.898 56.902 6.078 85.68-14.719 25.816-18.672 49.77-48.09 72.93-76.543 15.738-19.328 32.012-39.328 48.637-55.609 78.812-77.219 155.992-19.359 230.629 36.582 4.441 3.328 8.871 6.648 13.301 9.949 3.758 2.789 7.527 5.602 11.289 8.418 35.488 26.523 72.18 53.953 109.141 67.273 41.258 14.867 78.449 10.09 113.699-14.602 19.449-13.641 38.93-32.359 57.762-50.48 49.438-47.531 100.547-96.691 161.91-67.879 39.68 18.629 74.117 59.52 107.43 99.059 41.609 49.402 84.629 100.469 137.68 107.539 50.98 6.781 100.859-21.488 149.098-48.828 39.922-22.629 81.191-46.02 123.383-49.98l.227 2.488c-41.648 3.91-82.688 27.172-122.367 49.66-43.602 24.711-88.539 50.184-134.723 50.184Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23y)'%3E%3CclipPath id='z'%3E%3Cpath d='M1773.238 264.172c-5.297 0-10.609-.332-15.949-1.043-54-7.188-97.348-58.648-139.258-108.41-33.141-39.328-67.402-80.008-106.582-98.398-59.801-28.082-110.289 20.469-159.109 67.418-18.898 18.172-38.449 36.973-58.07 50.711-35.961 25.199-73.891 30.082-115.98 14.91-37.301-13.438-74.148-40.988-109.789-67.621q-5.641-4.215-11.281-8.418c-4.43-3.289-8.867-6.621-13.309-9.949-36.84-27.609-74.941-56.172-112.887-67.832-42.414-13.039-79.867-2.891-114.492 31.031-16.523 16.191-32.754 36.129-48.445 55.41-39.277 48.25-79.688 97.871-130.754 97.879-9.812 0-20.012-1.828-30.68-5.859-37.207-14.039-70.711-46.262-103.109-77.41-40.496-38.949-82.371-79.219-131.27-83.418-46.418-3.98-94 29.027-140.008 60.957-14.711 10.211-28.602 19.852-42.152 28.043-37.727 22.809-69.516 39.328-102.016 45.848-37.859 7.59-71.754-.238-103.633-23.93l1.492-2.012c68.914 51.23 135.281 18.801 202.863-22.047 13.48-8.152 27.344-17.77 42.02-27.961 44.211-30.68 94.328-65.461 141.648-61.391 49.777 4.281 91.977 44.859 132.785 84.109 32.219 30.98 65.535 63.02 102.262 76.871 28.875 10.898 56.902 6.078 85.68-14.719 25.816-18.672 49.77-48.09 72.93-76.543 15.738-19.328 32.012-39.328 48.637-55.609 78.812-77.219 155.992-19.359 230.629 36.582 4.441 3.328 8.871 6.648 13.301 9.949 3.758 2.789 7.527 5.602 11.289 8.418 35.488 26.523 72.18 53.953 109.141 67.273 41.258 14.867 78.449 10.09 113.699-14.602 19.449-13.641 38.93-32.359 57.762-50.48 49.438-47.531 100.547-96.691 161.91-67.879 39.68 18.629 74.117 59.52 107.43 99.059 41.609 49.402 84.629 100.469 137.68 107.539 50.98 6.781 100.859-21.488 149.098-48.828 39.922-22.629 81.191-46.02 123.383-49.98l.227 2.488c-41.648 3.91-82.688 27.172-122.367 49.66-43.602 24.711-88.539 50.184-134.723 50.184'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23z)'%3E%3Cpath d='M-15.535-12.43h2045.863v279.859H-15.535z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='A'%3E%3Cpath d='M1773.789 235.84c-6.758 0-13.527-.531-20.309-1.68-52.301-8.832-95.051-56.699-136.402-102.988-34.617-38.762-70.418-78.844-111.559-95.75-56.828-23.383-107.051 22.027-155.609 65.938-16.898 15.281-32.852 29.711-49.191 41.531-27.391 19.82-53.629 27.898-79.23 27.898-54.309.012-105.738-36.379-159.188-74.188l-7.23-5.121c-4.191-2.961-8.379-5.941-12.57-8.91-37.359-26.57-75.984-54.039-114.066-64.871-42.969-12.23-79.645-2.34-115.402 31.121-16.23 15.191-32.176 33.52-47.598 51.25-39.828 45.789-80.832 92.918-132.191 92.93-8.207 0-16.672-1.211-25.445-3.809-40.168-11.922-76.121-43.953-110.887-74.93-40.105-35.73-81.578-72.684-129.246-78.191-46.316-5.352-93.809 25.941-139.738 56.211-13.945 9.188-27.121 17.867-40.027 25.348-67.445 39.09-133.75 70.223-203.395 22.422l1.414-2.062c68.445 46.973 134.004 16.152 200.727-22.52 12.844-7.449 25.988-16.109 39.906-25.277 44.145-29.09 94.18-62.062 141.398-56.602 48.453 5.602 90.227 42.809 130.625 78.809 34.563 30.793 70.301 62.633 109.938 74.391 27.824 8.262 55.039 2.672 83.199-17.09 25.27-17.738 48.941-44.949 71.836-71.277 15.465-17.773 31.449-36.152 47.777-51.434 19.242-18 38.664-29.129 59.387-34.008 18.5-4.359 37.605-3.609 58.41 2.309 38.492 10.949 77.301 38.551 114.828 65.242 4.18 2.98 8.371 5.949 12.562 8.91l7.238 5.117c39.738 28.113 77.281 54.672 115.891 66.891 43.27 13.699 81.281 7.152 119.621-20.59 16.219-11.738 32.129-26.121 48.969-41.348 49.141-44.434 99.949-90.383 158.25-66.41 41.66 17.137 77.66 57.438 112.469 96.41 41.062 45.957 83.52 93.5 134.941 102.188 51.891 8.762 103.848-19.219 154.109-46.27 39.789-21.43 80.93-43.578 122.09-47.648l.25 2.488c-40.66 4.02-81.578 26.051-121.16 47.359-44.109 23.75-89.539 48.211-135.391 48.211Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23A)'%3E%3CclipPath id='B'%3E%3Cpath d='M1773.789 235.84c-6.758 0-13.527-.531-20.309-1.68-52.301-8.832-95.051-56.699-136.402-102.988-34.617-38.762-70.418-78.844-111.559-95.75-56.828-23.383-107.051 22.027-155.609 65.938-16.898 15.281-32.852 29.711-49.191 41.531-27.391 19.82-53.629 27.898-79.23 27.898-54.309.012-105.738-36.379-159.188-74.188l-7.23-5.121c-4.191-2.961-8.379-5.941-12.57-8.91-37.359-26.57-75.984-54.039-114.066-64.871-42.969-12.23-79.645-2.34-115.402 31.121-16.23 15.191-32.176 33.52-47.598 51.25-39.828 45.789-80.832 92.918-132.191 92.93-8.207 0-16.672-1.211-25.445-3.809-40.168-11.922-76.121-43.953-110.887-74.93-40.105-35.73-81.578-72.684-129.246-78.191-46.316-5.352-93.809 25.941-139.738 56.211-13.945 9.188-27.121 17.867-40.027 25.348-67.445 39.09-133.75 70.223-203.395 22.422l1.414-2.062c68.445 46.973 134.004 16.152 200.727-22.52 12.844-7.449 25.988-16.109 39.906-25.277 44.145-29.09 94.18-62.062 141.398-56.602 48.453 5.602 90.227 42.809 130.625 78.809 34.563 30.793 70.301 62.633 109.938 74.391 27.824 8.262 55.039 2.672 83.199-17.09 25.27-17.738 48.941-44.949 71.836-71.277 15.465-17.773 31.449-36.152 47.777-51.434 19.242-18 38.664-29.129 59.387-34.008 18.5-4.359 37.605-3.609 58.41 2.309 38.492 10.949 77.301 38.551 114.828 65.242 4.18 2.98 8.371 5.949 12.562 8.91l7.238 5.117c39.738 28.113 77.281 54.672 115.891 66.891 43.27 13.699 81.281 7.152 119.621-20.59 16.219-11.738 32.129-26.121 48.969-41.348 49.141-44.434 99.949-90.383 158.25-66.41 41.66 17.137 77.66 57.438 112.469 96.41 41.062 45.957 83.52 93.5 134.941 102.188 51.891 8.762 103.848-19.219 154.109-46.27 39.789-21.43 80.93-43.578 122.09-47.648l.25 2.488c-40.66 4.02-81.578 26.051-121.16 47.359-44.109 23.75-89.539 48.211-135.391 48.211'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23B)'%3E%3Cpath d='M-15.496 5.469H2030.34v234.992H-15.496z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='C'%3E%3Cpath d='M1772.648 205.32c-6.957 0-13.918-.52-20.879-1.648-51.48-8.332-94.668-52.863-136.43-95.922-34.961-36.031-71.102-73.301-111.828-89.09-56.402-21.879-107.434 20.328-156.781 61.141-16.43 13.59-33.43 27.648-50.039 38.687-39.41 26.211-78.32 32.281-122.461 19.102-39.16-11.691-77.309-36.988-117.711-63.77l-4.668-3.09c-3.66-2.43-7.32-4.859-10.973-7.301-77.629-51.691-150.953-100.508-230.43-32.258-16.605 14.258-32.875 31.219-48.609 47.617-23.543 24.551-47.891 49.93-73.703 66.551-29.09 18.75-57.043 24.172-85.461 16.59-40.559-10.82-77.648-40.23-113.52-68.668-41.344-32.793-84.094-66.691-131.922-71.672-45.633-4.75-91.926 23.801-136.695 51.422-13.402 8.27-26.062 16.078-38.613 22.938-31.23 17.09-64.711 33.75-97.91 39.832-36.125 6.609-68.664.148-99.48-19.762l1.355-2.098c66.91 43.227 130.344 15.129 194.836-20.16 12.492-6.84 25.125-14.633 38.5-22.883 45.125-27.84 91.785-56.617 138.266-51.777 48.551 5.059 91.594 39.188 133.219 72.199 35.668 28.277 72.555 57.527 112.609 68.219 61.809 16.48 107.91-31.578 156.715-82.461 15.777-16.438 32.09-33.449 48.785-47.789 19.461-16.711 39-27.031 59.742-31.551 18.551-4.027 37.66-3.309 58.422 2.23 38.488 10.27 75.785 35.102 115.277 61.402 3.648 2.43 7.309 4.867 10.969 7.289l4.668 3.098c78.441 52 152.523 101.113 237.41 44.672 16.5-10.969 32.691-24.359 49.832-38.539 49.898-41.27 101.5-83.949 159.281-61.551 41.238 16 77.566 53.461 112.707 89.691 41.48 42.77 84.383 87 135.043 95.188 52.156 8.449 104.816-17.77 155.738-43.129 39.91-19.871 81.18-40.422 122.18-44.352l.238 2.492c-40.539 3.879-81.598 24.328-121.297 44.098-44.543 22.18-90.402 45.012-136.383 45.012Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23C)'%3E%3CclipPath id='D'%3E%3Cpath d='M1772.648 205.32c-6.957 0-13.918-.52-20.879-1.648-51.48-8.332-94.668-52.863-136.43-95.922-34.961-36.031-71.102-73.301-111.828-89.09-56.402-21.879-107.434 20.328-156.781 61.141-16.43 13.59-33.43 27.648-50.039 38.687-39.41 26.211-78.32 32.281-122.461 19.102-39.16-11.691-77.309-36.988-117.711-63.77l-4.668-3.09c-3.66-2.43-7.32-4.859-10.973-7.301-77.629-51.691-150.953-100.508-230.43-32.258-16.605 14.258-32.875 31.219-48.609 47.617-23.543 24.551-47.891 49.93-73.703 66.551-29.09 18.75-57.043 24.172-85.461 16.59-40.559-10.82-77.648-40.23-113.52-68.668-41.344-32.793-84.094-66.691-131.922-71.672-45.633-4.75-91.926 23.801-136.695 51.422-13.402 8.27-26.062 16.078-38.613 22.938-31.23 17.09-64.711 33.75-97.91 39.832-36.125 6.609-68.664.148-99.48-19.762l1.355-2.098c66.91 43.227 130.344 15.129 194.836-20.16 12.492-6.84 25.125-14.633 38.5-22.883 45.125-27.84 91.785-56.617 138.266-51.777 48.551 5.059 91.594 39.188 133.219 72.199 35.668 28.277 72.555 57.527 112.609 68.219 61.809 16.48 107.91-31.578 156.715-82.461 15.777-16.438 32.09-33.449 48.785-47.789 19.461-16.711 39-27.031 59.742-31.551 18.551-4.027 37.66-3.309 58.422 2.23 38.488 10.27 75.785 35.102 115.277 61.402 3.648 2.43 7.309 4.867 10.969 7.289l4.668 3.098c78.441 52 152.523 101.113 237.41 44.672 16.5-10.969 32.691-24.359 49.832-38.539 49.898-41.27 101.5-83.949 159.281-61.551 41.238 16 77.566 53.461 112.707 89.691 41.48 42.77 84.383 87 135.043 95.188 52.156 8.449 104.816-17.77 155.738-43.129 39.91-19.871 81.18-40.422 122.18-44.352l.238 2.492c-40.539 3.879-81.598 24.328-121.297 44.098-44.543 22.18-90.402 45.012-136.383 45.012'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23D)'%3E%3Cpath d='M-15.465-37.078h2045.793v246.727H-15.465z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='E'%3E%3Cpath d='M1771.48 173.23c-8.199 0-16.391-.66-24.559-2.109-49.332-8.723-91.793-48.25-132.852-86.48-36.84-34.289-74.93-69.75-117.73-82.719-54.57-16.531-104.871 20.789-153.5 56.867-18.668 13.859-37.98 28.18-56.98 38.922-25.23 14.258-49.52 20.168-73.281 20.168-55.418.012-107.93-32.187-162.566-65.68l-2.23-1.359q-5.009-3.078-10-6.148c-75.594-46.543-146.996-90.5-224.973-34.141-19.32 13.969-38.199 31.59-56.457 48.629-41.297 38.539-83.844 78.242-134.469 78.242-6.777 0-13.699-.711-20.785-2.23-41.883-9-81.234-35.793-119.293-61.703-45.898-31.25-93.363-63.559-144.973-64.09-49.672-.527-97.156 26.273-143.109 52.16-33.172 18.703-67.477 38.031-101.973 46.582-38.781 9.609-73.844 4.32-107.191-16.172l1.309-2.129c73.004 44.859 137.91 8.281 206.629-30.449 46.238-26.07 94.039-53.039 144.359-52.492 52.371.543 100.152 33.07 146.359 64.531 37.855 25.77 77.004 52.422 118.41 61.309 58.723 12.613 106.66-32.129 153.02-75.387 18.316-17.09 37.254-34.773 56.699-48.82 35.66-25.781 73.457-32.91 115.555-21.82 37.543 9.891 73.801 32.211 112.191 55.848 3.332 2.051 6.66 4.102 10 6.141l2.23 1.371c77.398 47.449 150.508 92.27 233.309 45.469 18.859-10.668 38.109-24.949 56.723-38.75 49.129-36.461 99.938-74.16 155.719-57.258 43.352 13.129 81.66 48.789 118.699 83.277 40.801 37.98 82.98 77.262 131.582 85.852 53.238 9.418 107.68-15.059 160.32-38.73 40.148-18.051 81.656-36.719 122.43-40.27l.219 2.488c-40.352 3.523-81.66 22.09-121.621 40.062-44.969 20.219-91.238 41.02-137.219 41.02Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23E)'%3E%3CclipPath id='F'%3E%3Cpath d='M1771.48 173.23c-8.199 0-16.391-.66-24.559-2.109-49.332-8.723-91.793-48.25-132.852-86.48-36.84-34.289-74.93-69.75-117.73-82.719-54.57-16.531-104.871 20.789-153.5 56.867-18.668 13.859-37.98 28.18-56.98 38.922-25.23 14.258-49.52 20.168-73.281 20.168-55.418.012-107.93-32.187-162.566-65.68l-2.23-1.359q-5.009-3.078-10-6.148c-75.594-46.543-146.996-90.5-224.973-34.141-19.32 13.969-38.199 31.59-56.457 48.629-41.297 38.539-83.844 78.242-134.469 78.242-6.777 0-13.699-.711-20.785-2.23-41.883-9-81.234-35.793-119.293-61.703-45.898-31.25-93.363-63.559-144.973-64.09-49.672-.527-97.156 26.273-143.109 52.16-33.172 18.703-67.477 38.031-101.973 46.582-38.781 9.609-73.844 4.32-107.191-16.172l1.309-2.129c73.004 44.859 137.91 8.281 206.629-30.449 46.238-26.07 94.039-53.039 144.359-52.492 52.371.543 100.152 33.07 146.359 64.531 37.855 25.77 77.004 52.422 118.41 61.309 58.723 12.613 106.66-32.129 153.02-75.387 18.316-17.09 37.254-34.773 56.699-48.82 35.66-25.781 73.457-32.91 115.555-21.82 37.543 9.891 73.801 32.211 112.191 55.848 3.332 2.051 6.66 4.102 10 6.141l2.23 1.371c77.398 47.449 150.508 92.27 233.309 45.469 18.859-10.668 38.109-24.949 56.723-38.75 49.129-36.461 99.938-74.16 155.719-57.258 43.352 13.129 81.66 48.789 118.699 83.277 40.801 37.98 82.98 77.262 131.582 85.852 53.238 9.418 107.68-15.059 160.32-38.73 40.148-18.051 81.656-36.719 122.43-40.27l.219 2.488c-40.352 3.523-81.66 22.09-121.621 40.062-44.969 20.219-91.238 41.02-137.219 41.02'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23F)'%3E%3Cpath d='M-15.441-45.809h2045.762v223.887H-15.441z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='G'%3E%3Cpath d='M1768.84 139.781c-8.141 0-16.281-.57-24.398-1.812-48.41-7.359-91.332-42.5-132.832-76.48-37.309-30.539-75.879-62.117-118.188-73.289-54.5-14.391-105.594 18.5-154.992 50.301-19.129 12.32-38.91 25.059-58.449 34.691-38.512 18.988-76.73 22.547-120.289 11.199-39.961-10.422-80.68-32.93-116.602-52.789l-5.621-3.113C960.739-13.999 888.262-54.128 809.02-4.199c-19.969 12.578-39.375 28.09-58.141 43.098-23.973 19.172-48.762 38.98-74.383 52.273-28.789 14.93-55.84 19.969-82.691 15.43-42.793-7.242-83.699-30.551-123.266-53.09-47.227-26.91-96.066-54.742-147.898-54.863h-.316c-46.621 0-91.781 22.801-135.461 44.852-32.309 16.301-65.719 33.172-99.141 40.359-37.57 8.09-71.309 2.879-103.148-15.93l1.273-2.16c69.715 41.199 132.945 9.281 199.891-24.508C229.677 19.09 275.11-3.851 322.321-3.851h.328c52.492.121 101.621 28.113 149.129 55.18 39.375 22.441 80.09 45.641 122.445 52.801 58.648 9.93 105.492-27.527 155.094-67.18 18.82-15.051 38.285-30.609 58.371-43.27 80.492-50.719 153.598-10.238 230.992 32.621l5.621 3.109c77.289 42.738 150.289 83.102 234.578 41.539 19.402-9.57 39.133-22.27 58.199-34.551 49.863-32.098 101.41-65.289 156.98-50.617 42.832 11.309 81.621 43.059 119.133 73.77 41.25 33.77 83.887 68.687 131.629 75.949 53.668 8.172 108.352-13.398 161.23-34.25 40.641-16.031 82.668-32.609 124.07-35.648l.18 2.5c-41.02 3.008-82.871 19.508-123.34 35.469-45.23 17.852-91.781 36.211-138.121 36.211Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23G)'%3E%3CclipPath id='H'%3E%3Cpath d='M1768.84 139.781c-8.141 0-16.281-.57-24.398-1.812-48.41-7.359-91.332-42.5-132.832-76.48-37.309-30.539-75.879-62.117-118.188-73.289-54.5-14.391-105.594 18.5-154.992 50.301-19.129 12.32-38.91 25.059-58.449 34.691-38.512 18.988-76.73 22.547-120.289 11.199-39.961-10.422-80.68-32.93-116.602-52.789l-5.621-3.113C960.739-13.999 888.262-54.128 809.02-4.199c-19.969 12.578-39.375 28.09-58.141 43.098-23.973 19.172-48.762 38.98-74.383 52.273-28.789 14.93-55.84 19.969-82.691 15.43-42.793-7.242-83.699-30.551-123.266-53.09-47.227-26.91-96.066-54.742-147.898-54.863h-.316c-46.621 0-91.781 22.801-135.461 44.852-32.309 16.301-65.719 33.172-99.141 40.359-37.57 8.09-71.309 2.879-103.148-15.93l1.273-2.16c69.715 41.199 132.945 9.281 199.891-24.508C229.677 19.09 275.11-3.851 322.321-3.851h.328c52.492.121 101.621 28.113 149.129 55.18 39.375 22.441 80.09 45.641 122.445 52.801 58.648 9.93 105.492-27.527 155.094-67.18 18.82-15.051 38.285-30.609 58.371-43.27 80.492-50.719 153.598-10.238 230.992 32.621l5.621 3.109c77.289 42.738 150.289 83.102 234.578 41.539 19.402-9.57 39.133-22.27 58.199-34.551 49.863-32.098 101.41-65.289 156.98-50.617 42.832 11.309 81.621 43.059 119.133 73.77 41.25 33.77 83.887 68.687 131.629 75.949 53.668 8.172 108.352-13.398 161.23-34.25 40.641-16.031 82.668-32.609 124.07-35.648l.18 2.5c-41.02 3.008-82.871 19.508-123.34 35.469-45.23 17.852-91.781 36.211-138.121 36.211'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23H)'%3E%3Cpath d='M-15.426-57.039h2045.727v200.711H-15.426z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='I'%3E%3Cpath d='M1764.059 104.82c-4.879 0-9.75-.172-14.629-.52-50.418-3.602-96.141-35.289-140.371-65.941-36.457-25.258-74.16-51.391-114.219-61.598-56.75-14.453-110.551 14.5-162.57 42.508-18.531 9.969-37.699 20.289-56.699 28.469-38.68 16.66-76.891 20.051-120.25 10.672-38.691-8.371-77.582-26.359-117.332-45.621-80.266-38.898-156.078-75.629-243.051-25.367-16.352 9.449-32.207 19.75-47.543 29.699-56.301 36.551-109.48 71.078-176.703 58.078-38.574-7.461-76.402-24.859-112.984-41.68-50.746-23.34-103.211-47.461-157.887-44.961-41.277 1.902-81.734 19.863-120.859 37.223-31.234 13.867-63.531 28.207-95.687 33.988-36.137 6.5-68.418 1.301-98.68-15.891l1.238-2.18c66.285 37.652 127.406 10.52 192.113-18.199 39.336-17.461 80.012-35.52 121.758-37.43 55.273-2.539 108.031 21.719 159.047 45.18 36.449 16.762 74.137 34.09 112.414 41.488 66.23 12.812 119.004-21.449 174.871-57.707 15.359-9.98 31.246-20.293 47.652-29.77 39.512-22.84 78.773-29.59 123.551-21.262 38.809 7.219 76.543 24.59 121.84 46.539 87.223 42.262 155.172 69.512 235.5 34.91 18.902-8.148 38.023-18.43 56.5-28.391 52.453-28.23 106.684-57.418 164.371-42.719 40.512 10.32 78.391 36.582 115.039 61.969 43.941 30.453 89.391 61.941 139.113 65.5 51.598 3.691 103.34-13.41 153.379-29.949 41.449-13.699 84.32-27.871 127.16-30.32l.141 2.5c-42.512 2.43-85.211 16.551-126.52 30.199-45.562 15.051-92.523 30.582-139.703 30.582Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23I)'%3E%3CclipPath id='J'%3E%3Cpath d='M1764.059 104.82c-4.879 0-9.75-.172-14.629-.52-50.418-3.602-96.141-35.289-140.371-65.941-36.457-25.258-74.16-51.391-114.219-61.598-56.75-14.453-110.551 14.5-162.57 42.508-18.531 9.969-37.699 20.289-56.699 28.469-38.68 16.66-76.891 20.051-120.25 10.672-38.691-8.371-77.582-26.359-117.332-45.621-80.266-38.898-156.078-75.629-243.051-25.367-16.352 9.449-32.207 19.75-47.543 29.699-56.301 36.551-109.48 71.078-176.703 58.078-38.574-7.461-76.402-24.859-112.984-41.68-50.746-23.34-103.211-47.461-157.887-44.961-41.277 1.902-81.734 19.863-120.859 37.223-31.234 13.867-63.531 28.207-95.687 33.988-36.137 6.5-68.418 1.301-98.68-15.891l1.238-2.18c66.285 37.652 127.406 10.52 192.113-18.199 39.336-17.461 80.012-35.52 121.758-37.43 55.273-2.539 108.031 21.719 159.047 45.18 36.449 16.762 74.137 34.09 112.414 41.488 66.23 12.812 119.004-21.449 174.871-57.707 15.359-9.98 31.246-20.293 47.652-29.77 39.512-22.84 78.773-29.59 123.551-21.262 38.809 7.219 76.543 24.59 121.84 46.539 87.223 42.262 155.172 69.512 235.5 34.91 18.902-8.148 38.023-18.43 56.5-28.391 52.453-28.23 106.684-57.418 164.371-42.719 40.512 10.32 78.391 36.582 115.039 61.969 43.941 30.453 89.391 61.941 139.113 65.5 51.598 3.691 103.34-13.41 153.379-29.949 41.449-13.699 84.32-27.871 127.16-30.32l.141 2.5c-42.512 2.43-85.211 16.551-126.52 30.199-45.562 15.051-92.523 30.582-139.703 30.582'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23J)'%3E%3Cpath d='M-15.406-62.84h2045.688V105.5H-15.406z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='K'%3E%3Cpath d='M1760.219 70.27q-6.807.002-13.598-.371c-49.242-2.668-95.141-29.027-139.531-54.52-37.109-21.32-75.48-43.359-115.539-51.379-57.012-11.422-111.691 12.531-164.57 35.699-18.941 8.289-38.531 16.871-58.012 23.742-82.777 29.23-155.988 4.047-236.289-29.25C945.828-41.829 872.84-66.27 790.395-27.2c-15.961 7.57-31.547 15.699-46.621 23.559-51.234 26.719-100 52.152-156.215 52.16-8.262 0-16.68-.551-25.297-1.73-40.062-5.461-79.617-19.43-117.867-32.938C393.012-4.301 339.879-23.071 285.348-21.11c-38.48 1.391-76.609 15.711-113.488 29.559C141.567 19.828 110.239 31.59 79.2 35.91c-34.883 4.852-65.82-.41-94.586-16.082l1.199-2.188C48.86 51.968 108.18 29.699 170.981 6.109 208.047-7.809 246.372-22.2 285.258-23.61c55.004-1.98 108.367 16.871 159.973 35.098 38.129 13.473 77.559 27.391 117.367 32.82 66.457 9.07 121.617-19.707 180.016-50.168 15.098-7.871 30.707-16.012 46.711-23.602C872.7-68.97 946.204-44.38 1033.63-8.122c79.82 33.102 152.562 58.141 234.512 29.211 19.391-6.852 38.93-15.41 57.828-23.691 53.242-23.309 108.312-47.418 166.07-35.848 40.461 8.098 79.02 30.238 116.301 51.66 44.129 25.34 89.77 51.559 138.41 54.188 51.539 2.812 103.289-11.227 153.34-24.797 42.43-11.512 86.309-23.402 130.07-25.113l.102 2.492c-43.48 1.711-87.223 13.559-129.512 25.031-45.859 12.438-93.148 25.25-140.531 25.258Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23K)'%3E%3CclipPath id='L'%3E%3Cpath d='M1760.219 70.27q-6.807.002-13.598-.371c-49.242-2.668-95.141-29.027-139.531-54.52-37.109-21.32-75.48-43.359-115.539-51.379-57.012-11.422-111.691 12.531-164.57 35.699-18.941 8.289-38.531 16.871-58.012 23.742-82.777 29.23-155.988 4.047-236.289-29.25C945.828-41.829 872.84-66.27 790.395-27.2c-15.961 7.57-31.547 15.699-46.621 23.559-51.234 26.719-100 52.152-156.215 52.16-8.262 0-16.68-.551-25.297-1.73-40.062-5.461-79.617-19.43-117.867-32.938C393.012-4.301 339.879-23.071 285.348-21.11c-38.48 1.391-76.609 15.711-113.488 29.559C141.567 19.828 110.239 31.59 79.2 35.91c-34.883 4.852-65.82-.41-94.586-16.082l1.199-2.188C48.86 51.968 108.18 29.699 170.981 6.109 208.047-7.809 246.372-22.2 285.258-23.61c55.004-1.98 108.367 16.871 159.973 35.098 38.129 13.473 77.559 27.391 117.367 32.82 66.457 9.07 121.617-19.707 180.016-50.168 15.098-7.871 30.707-16.012 46.711-23.602C872.7-68.97 946.204-44.38 1033.63-8.122c79.82 33.102 152.562 58.141 234.512 29.211 19.391-6.852 38.93-15.41 57.828-23.691 53.242-23.309 108.312-47.418 166.07-35.848 40.461 8.098 79.02 30.238 116.301 51.66 44.129 25.34 89.77 51.559 138.41 54.188 51.539 2.812 103.289-11.227 153.34-24.797 42.43-11.512 86.309-23.402 130.07-25.113l.102 2.492c-43.48 1.711-87.223 13.559-129.512 25.031-45.859 12.438-93.148 25.25-140.531 25.258'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23L)'%3E%3Cpath d='M-15.387-68.969h2045.648V70.269H-15.387z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='M'%3E%3Cpath d='M1755.609 35.719q-5.907 0-11.801-.207c-48.059-1.773-93.988-22.812-138.41-43.172-37.84-17.328-76.957-35.262-117.129-41.121-57.348-8.359-113.008 10.652-166.848 29.02-19.273 6.582-39.203 13.383-59.043 18.902-25.32 7.039-50.039 9.98-74.188 9.98-56.562 0-110-16.141-160.812-33.543-79.242-27.129-157.344-48.879-241.527-17.406-15.156 5.656-30.117 11.688-44.582 17.508-55.34 22.289-107.93 43.469-166.871 43.469-6.711 0-13.5-.27-20.387-.848-41.312-3.473-82.457-14.129-122.242-24.441-51.828-13.43-105.418-27.328-159.605-25.281-35.051 1.332-70.32 11.961-104.434 22.242-59.758 18-121.555 36.621-183.09 4.969l1.145-2.219C46.422 24.762 107.726 6.29 167.008-11.577c34.266-10.32 69.691-21 105.062-22.332 54.551-2.051 108.324 11.871 160.324 25.352 39.688 10.277 80.727 20.91 121.824 24.367 66.809 5.613 124.758-17.73 186.117-42.438 14.48-5.84 29.453-11.871 44.641-17.551 84.961-31.75 163.527-9.891 243.215 17.398 72.117 24.691 149.559 46.852 233.52 23.512 19.77-5.5 39.66-12.289 58.898-18.852 54.121-18.48 110.082-37.578 168.02-29.129 40.52 5.91 79.82 23.91 117.812 41.32 44.199 20.25 89.898 41.191 137.457 42.941 51.133 1.887 102.59-9.082 152.363-19.684 43.719-9.309 88.938-18.938 133.93-19.898l.047 2.5c-44.75.949-89.848 10.559-133.457 19.852-46.109 9.82-93.66 19.938-141.172 19.938'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23M)'%3E%3CclipPath id='N'%3E%3Cpath d='M1755.609 35.719q-5.907 0-11.801-.207c-48.059-1.773-93.988-22.812-138.41-43.172-37.84-17.328-76.957-35.262-117.129-41.121-57.348-8.359-113.008 10.652-166.848 29.02-19.273 6.582-39.203 13.383-59.043 18.902-25.32 7.039-50.039 9.98-74.188 9.98-56.562 0-110-16.141-160.812-33.543-79.242-27.129-157.344-48.879-241.527-17.406-15.156 5.656-30.117 11.688-44.582 17.508-55.34 22.289-107.93 43.469-166.871 43.469-6.711 0-13.5-.27-20.387-.848-41.312-3.473-82.457-14.129-122.242-24.441-51.828-13.43-105.418-27.328-159.605-25.281-35.051 1.332-70.32 11.961-104.434 22.242-59.758 18-121.555 36.621-183.09 4.969l1.145-2.219C46.422 24.762 107.726 6.29 167.008-11.577c34.266-10.32 69.691-21 105.062-22.332 54.551-2.051 108.324 11.871 160.324 25.352 39.688 10.277 80.727 20.91 121.824 24.367 66.809 5.613 124.758-17.73 186.117-42.438 14.48-5.84 29.453-11.871 44.641-17.551 84.961-31.75 163.527-9.891 243.215 17.398 72.117 24.691 149.559 46.852 233.52 23.512 19.77-5.5 39.66-12.289 58.898-18.852 54.121-18.48 110.082-37.578 168.02-29.129 40.52 5.91 79.82 23.91 117.812 41.32 44.199 20.25 89.898 41.191 137.457 42.941 51.133 1.887 102.59-9.082 152.363-19.684 43.719-9.309 88.938-18.938 133.93-19.898l.047 2.5c-44.75.949-89.848 10.559-133.457 19.852-46.109 9.82-93.66 19.938-141.172 19.938'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23N)'%3E%3Cpath d='M-15.359-75.93h2045.598V35.718H-15.359z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='O'%3E%3Cpath d='M1749.961 1.621c-2.949 0-5.902-.031-8.84-.09-46.883-.961-92.672-16.902-136.961-32.312-38.648-13.457-78.609-27.367-119.031-31.199-57.77-5.461-114.539 8.832-169.438 22.641-19.473 4.91-39.613 9.969-59.652 14.141-24.98 5.199-49.578 7.398-73.711 7.398-55.906 0-109.418-11.789-160.02-25.449-88.453-23.879-163.258-35.328-240.809-13.57-13.859 3.891-27.688 7.98-41.062 11.941-64.879 19.199-126.164 37.32-194.113 34.707-43.07-1.656-86.293-9.156-128.09-16.406C367.023-35.46 314.07-44.639 261.156-43.1c-32.16.941-64.879 8.41-96.516 15.633-59.121 13.488-120.258 27.43-179.961-.781l1.066-2.262c58.922 27.84 119.629 13.992 178.336.602 31.758-7.25 64.594-14.738 97-15.691 53.168-1.559 106.246 7.652 157.578 16.562 41.719 7.238 84.855 14.719 127.758 16.367 67.543 2.602 128.633-15.469 193.312-34.609 13.379-3.957 27.219-8.047 41.094-11.938 78.098-21.922 153.281-10.43 242.137 13.559 72.148 19.469 150.25 35.141 232.57 18.012 19.988-4.152 40.098-9.223 59.547-14.113 55.113-13.867 112.094-28.207 170.281-22.707 40.719 3.859 80.832 17.82 119.629 31.32 44.09 15.348 89.691 31.227 136.184 32.18 50.207 1.02 100.898-7.012 149.918-14.77 45.469-7.203 92.48-14.641 139.121-14.891l.008 2.5c-46.449.25-93.367 7.668-138.738 14.859-46.262 7.32-94.012 14.891-141.52 14.891Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23O)'%3E%3CclipPath id='P'%3E%3Cpath d='M1749.961 1.621c-2.949 0-5.902-.031-8.84-.09-46.883-.961-92.672-16.902-136.961-32.312-38.648-13.457-78.609-27.367-119.031-31.199-57.77-5.461-114.539 8.832-169.438 22.641-19.473 4.91-39.613 9.969-59.652 14.141-24.98 5.199-49.578 7.398-73.711 7.398-55.906 0-109.418-11.789-160.02-25.449-88.453-23.879-163.258-35.328-240.809-13.57-13.859 3.891-27.688 7.98-41.062 11.941-64.879 19.199-126.164 37.32-194.113 34.707-43.07-1.656-86.293-9.156-128.09-16.406C367.023-35.46 314.07-44.639 261.156-43.1c-32.16.941-64.879 8.41-96.516 15.633-59.121 13.488-120.258 27.43-179.961-.781l1.066-2.262c58.922 27.84 119.629 13.992 178.336.602 31.758-7.25 64.594-14.738 97-15.691 53.168-1.559 106.246 7.652 157.578 16.562 41.719 7.238 84.855 14.719 127.758 16.367 67.543 2.602 128.633-15.469 193.312-34.609 13.379-3.957 27.219-8.047 41.094-11.938 78.098-21.922 153.281-10.43 242.137 13.559 72.148 19.469 150.25 35.141 232.57 18.012 19.988-4.152 40.098-9.223 59.547-14.113 55.113-13.867 112.094-28.207 170.281-22.707 40.719 3.859 80.832 17.82 119.629 31.32 44.09 15.348 89.691 31.227 136.184 32.18 50.207 1.02 100.898-7.012 149.918-14.77 45.469-7.203 92.48-14.641 139.121-14.891l.008 2.5c-46.449.25-93.367 7.668-138.738 14.859-46.262 7.32-94.012 14.891-141.52 14.891'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23P)'%3E%3Cpath d='M-15.32-81.141h2045.539V1.621H-15.32z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-position:bottom center;background-size:cover;opacity:var(--zn-page-header-wave-opacity,0.04);pointer-events:none}:host-context([t=aura]) .page__header .header.header--has-navigation::before,:host-context(.theme-aura) .page__header .header.header--has-navigation::before{margin-bottom:-40px}.header{display:flex;flex-direction:column;position:relative;margin:0;padding:calc(var(--zn-base-px) * 3) var(--zn-base-gap) calc(var(--zn-base-px) * 3 - var(--zn-base-gap)) var(--zn-base-gap)}.header.header--has-navigation{padding:calc(var(--zn-base-px) * 3) var(--zn-base-gap)}.header .content{display:flex;flex-wrap:wrap;position:relative;width:100%;max-width:100%;height:-moz-fit-content;height:fit-content;gap:var(--zn-base-gap);margin:0 auto;padding:0;box-sizing:border-box}.header--has-navigation .content{min-height:36px}.header .caption{flex-grow:1;display:flex;align-items:flex-start;justify-content:space-between;gap:2px;max-width:100%;min-width:0;min-height:36px}.header .caption a{display:flex;align-items:center;color:inherit;text-decoration:none}.header__left{display:flex;justify-content:flex-start;flex-direction:column;gap:var(--zn-spacing-x-small);min-height:36px;flex-shrink:1;min-width:0;max-width:100%}.header__right{flex-grow:1;flex-shrink:0;overflow:hidden}.header__caption{font-weight:var(--zn-text-h1-font-weight);font-size:var(--zn-text-h1-font-size);text-transform:var(--zn-text-h1-transform,none);letter-spacing:var(--zn-text-h1-letter-spacing,normal);color:rgba(var(--zn-text-panel-title),100%);line-height:var(--zn-spacing-medium);margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;gap:var(--zn-spacing-2x-small);align-items:center;text-wrap:auto}.header__description{font-family:var(--zn-font-sans);font-size:var(--zn-text-subheading-font-size);font-weight:var(--zn-text-subheading-font-weight);line-height:var(--zn-text-subheading-line-height);color:var(--zn-text-subheading-color);text-transform:var(--zn-text-subheading-transform);letter-spacing:var(--zn-text-subheading-letter-spacing,normal);display:block;overflow-wrap:anywhere}.header .breadcrumb{display:inline-flex;align-items:center;gap:var(--zn-spacing-2x-small);font:inherit;color:inherit}.header .breadcrumb::slotted(a){font:inherit;color:inherit;text-decoration:inherit}.header .breadcrumb::slotted(a:hover){color:rgb(var(--zn-primary))}.header .breadcrumb::slotted([data-breadcrumb-separator]){color:rgb(var(--zn-text-muted))}.header .breadcrumb__separator{color:rgb(var(--zn-text-muted))}.header slot{display:flex;align-items:center;flex-wrap:wrap;gap:var(--zn-spacing-x-small);word-break:break-word}.header slot[name=actions]{justify-content:end;flex-wrap:nowrap}.header slot[name=actions]::slotted(zn-button-menu){flex-grow:1;flex-shrink:1}.caption__back{display:flex;justify-content:center;align-items:center;color:inherit}.alt-overlay{display:none}.alt-overlay--visible{display:flex}:host(.alt-pressed) .alt-overlay:empty{display:none !important}:host(.alt-pressed) .alt-overlay{display:flex}.alt-overlay{gap:10px;align-items:flex-end;position:absolute;left:0;top:0;padding:6px 15px;background:rgba(var(--zn-panel),0.95);z-index:10}.alt-overlay a{display:flex}.alt-overlay zn-icon:hover{color:rgb(var(--zn-primary));cursor:pointer}.page{display:flex;flex-direction:column;position:relative;height:100%;min-height:0;max-height:100%;width:100%;max-width:100%;overflow:auto;box-sizing:border-box;padding:0}.page__tabs{flex-grow:1;display:flex;flex-direction:column;min-height:0;width:100%;overflow:visible;box-sizing:border-box;padding:0 var(--zn-base-gap) var(--zn-base-gap);background-color:rgb(var(--zn-page-content-background,var(--zn-body)));background-image:var(--zn-page-texture);background-repeat:repeat;background-position:center top;background-size:var(--zn-page-texture-size)}.page__tabs .page__content{display:flex;flex-direction:column;flex-grow:1;min-height:0;max-width:100%;width:100%;overflow:visible;box-sizing:border-box}.page__tabs #content ::slotted(zn-tab){display:block !important}:host([flush]) .page__tabs,:host([flush]) .page__tabs .page__content#content{padding:0}zn-navbar::part(navbar){height:40px;min-height:40px;max-height:40px;padding-left:var(--zn-base-gap);margin:0}zn-navbar::part(navbar-item){height:40px;box-sizing:border-box;font-size:var(--zn-font-size-medium);line-height:16px}:host .page__header{padding-inline:0}:host .header{padding-inline:calc(var(--zn-gutter,0) + var(--zn-base-gap,0))}:host([modal]) .header{padding-inline-end:calc(var(--zn-base-gap,0) + var(--zn-page-closer-size) + var(--zn-page-closer-gap))}:host zn-navbar::part(navbar){padding-inline:calc(var(--zn-gutter,0) + var(--zn-base-gap,0))}:host .page__tabs{padding:0}:host .page__tabs #content.page__content{padding:0 var(--zn-gutter,0)}`;var ar=class ar extends ln{constructor(){super(...arguments);this.pageSlotController=new Y(this,"breadcrumb","actions","caption");this.modal=!1;this.nested=!1;this.primary=!1;this.scrolled=!1;this.tabDefinitions=[];this.hasExpandingActions=!1;this.actionObserver=null;this.tabObserver=null;this.pageHistoryKey=null;this.handleAltPress=()=>{this.classList.toggle("alt-pressed",!0)};this.handleAltUp=()=>{this.classList.toggle("alt-pressed",!1)};this.handleBreadcrumbSlotChange=t=>{let n=t.target.assignedElements(),a=n.filter(s=>s.tagName==="A");n.forEach(s=>{if(!s.hasAttribute("data-breadcrumb-separator"))return;let l=s.previousElementSibling;l?.tagName==="A"&&a.indexOf(l)<a.length-1||s.remove()}),a.forEach((s,l)=>{if(l===a.length-1||s.nextElementSibling?.hasAttribute("data-breadcrumb-separator"))return;let h=document.createElement("zn-icon");h.setAttribute("src","arrow-right@lu"),h.setAttribute("size","16"),h.setAttribute("slot","breadcrumb"),h.setAttribute("data-breadcrumb-separator",""),s.after(h)})};this._registerTabs=()=>{this.registerPageNavigationTabs()}}async connectedCallback(){let t=super.connectedCallback();window.addEventListener("alt-press",this.handleAltPress),window.addEventListener("alt-up",this.handleAltUp),this.prepareTabs(),this.refreshExpandingActionsState(),this.tabObserver=new MutationObserver(r=>{r.some(n=>n.type==="childList")&&this.prepareTabs()}),this.tabObserver.observe(this,{childList:!0}),this.actionObserver=new MutationObserver(r=>{r.some(n=>n.type==="childList")&&(this.refreshExpandingActionsState(),this.syncExpandingActionsToNavbar())}),this.actionObserver.observe(this,{childList:!0,subtree:!0}),await t}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("alt-press",this.handleAltPress),window.removeEventListener("alt-up",this.handleAltUp),this.tabObserver?.disconnect(),this.tabObserver=null,this.actionObserver?.disconnect(),this.actionObserver=null}firstUpdated(t){super.firstUpdated(t),this.registerPagePanels(),this.syncExpandingActionsToNavbar(),setTimeout(()=>this.activateInitialPageTab(),20)}getOwnExpandingActions(){return Array.from(this.querySelectorAll("zn-expanding-action")).filter(t=>t.closest("zn-page")===this)}getNavbar(){return this.shadowRoot?.querySelector("zn-navbar")||null}refreshExpandingActionsState(){let t=this.getNavbar(),r=!!(t?.querySelector("zn-expanding-action")||t?.shadowRoot?.querySelector("zn-expanding-action")),n=this.getOwnExpandingActions().length>0||r;this.hasExpandingActions!==n&&(this.hasExpandingActions=n)}syncExpandingActionsToNavbar(){let t=this.getNavbar();t&&(this.getOwnExpandingActions().forEach(r=>t.addExpandingAction(r)),this.refreshExpandingActionsState())}prepareTabs(){let t=[],r=new Set;Array.from(this.children).filter(a=>a.tagName==="ZN-TAB").forEach((a,s)=>{let l=a.getAttribute("caption")||"Tab",d=a.getAttribute("id"),h=this.uniqueId(d!==null?d:this.captionToId(l),r),m=this.parsePriority(a.getAttribute("priority")),f=a.getAttribute("uri"),b=f?null:`page-tab-${s}`,g=a.hasAttribute("selected");a.id=h,f||(a.slot=b),t.push({id:h,caption:l,priority:m,sourceIndex:s,uri:f,slotName:b,selected:g})}),this.tabDefinitions=t.sort((a,s)=>this.compareTabs(a,s))}parsePriority(t){if(t===null||t.trim()==="")return null;let r=Number(t);return Number.isFinite(r)?r:null}compareTabs(t,r){return t.id===""&&r.id!==""?-1:t.id!==""&&r.id===""?1:t.priority!==null&&r.priority!==null&&t.priority!==r.priority?t.priority-r.priority:t.priority!==null&&r.priority===null?-1:t.priority===null&&r.priority!==null?1:t.sourceIndex-r.sourceIndex}captionToId(t){return t.trim().toLowerCase()==="overview"?"":t.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"tab"}uniqueId(t,r){let n=t,a=2;for(;r.has(n);)n=t===""?`tab-${a}`:`${t}-${a}`,a+=1;return r.add(n),n}handlePageScroll(t){let r=t.currentTarget.scrollTop>24;this.scrolled!==r&&(this.scrolled=r)}updated(t){super.updated(t),t.has("tabDefinitions")&&this.registerPagePanels(),(t.has("tabDefinitions")||t.has("hasExpandingActions"))&&this.syncExpandingActionsToNavbar()}handleNavigationSelect(t){let r=t.detail.item;if(this.getNavigationItemPage(r)!==this)return;let n=r.getAttribute("tab-uri"),a=r.getAttribute("tab");if(n){this.clickTab(r,!1,!0),this.syncNavigationActive(r);return}a!==null&&this.activateTab(a,!0,!0)}getNavigationItemPage(t){let r=t;for(;r;){if(r instanceof ar)return r;let n=r.getRootNode();if(!(n instanceof ShadowRoot))return t.closest("zn-page");r=n.host}return null}activateTab(t,r,n=!1){this.setActiveTab(t,r,!1,null,n);let a=this.shadowRoot?.querySelector(`zn-navbar li[tab="${CSS.escape(t)}"]`);a&&this.syncNavigationActive(a)}activateInitialPageTab(){let t=this.getStoredTab();if(t!==null){let s=this.tabDefinitions.find(l=>l.id===t||l.uri===t);if(s){this.activateTabDefinition(s);return}}let r=this.tabDefinitions.find(s=>s.selected);if(r){this.activateTabDefinition(r);return}let n=this.shadowRoot?.querySelector("#content > div[selected]"),a=this.tabDefinitions[0];!n&&a&&this.activateTab(a.id,!1)}getTabStoreKey(){return this.getPageHistoryKey()}activateDefaultTab(){let t=this.tabDefinitions.find(r=>r.selected)??this.tabDefinitions[0];t&&this.activateTabDefinition(t,!0)}getPageHistoryKey(){if(this.pageHistoryKey!==null)return this.pageHistoryKey;let t=[this],r=this.parentElement?.closest("zn-page")??null;for(;r;)t.unshift(r),r=r.parentElement?.closest("zn-page")??null;return this.pageHistoryKey=t.map(n=>n.id||n.getAttribute("caption")||"page").join("/"),this.pageHistoryKey}activateTabDefinition(t,r=!1){if(t.uri){let n=this.findNavItemForUri(t.uri);if(n){this.clickTab(n,!1),this.syncNavigationActive(n);return}}this.activateTab(t.id,r)}findNavItemForUri(t){let r=this.shadowRoot?.querySelectorAll("zn-navbar li[tab-uri]")??[];for(let n of Array.from(r))if(n.getAttribute("tab-uri")===t)return n;return null}registerPagePanels(){this.shadowRoot?.querySelectorAll("#content > div[id]").forEach(t=>{this._addPanel(t)}),this.registerPageNavigationTabs(),setTimeout(()=>this.registerPageNavigationTabs())}registerPageNavigationTabs(){this.shadowRoot?.querySelectorAll("zn-navbar li[tab], zn-navbar li[tab-uri]").forEach(t=>this._addTab(t)),this.shadowRoot?.querySelectorAll("zn-navbar").forEach(t=>{t.shadowRoot?.querySelectorAll("li[tab], li[tab-uri]").forEach(r=>this._addTab(r))})}syncNavigationActive(t){(this.shadowRoot?.querySelectorAll("zn-navbar li[tab], zn-navbar li[tab-uri]")||[]).forEach(n=>{let a=n===t;n.classList.toggle("active",a),n.classList.toggle("zn-tb-active",a)})}render(){let t=!this.modal&&!this.nested&&this.pageSlotController.test("breadcrumb"),r=this.tabDefinitions.length>1||this.hasExpandingActions,n=this.entityId,a=this.fullLocation,s=this.previousPath;return u`
1671
+ `}};jt.styles=[z(hs),z(e1)],c([p({attribute:"master-id",reflect:!0})],jt.prototype,"masterId",2),c([p({attribute:"default-uri",reflect:!0})],jt.prototype,"defaultUri",2),c([p({attribute:"active",reflect:!0})],jt.prototype,"_current",2),c([p({attribute:"split",type:Number,reflect:!0})],jt.prototype,"_split",2),c([p({attribute:"split-min",type:Number,reflect:!0})],jt.prototype,"_splitMin",2),c([p({attribute:"split-min-secondary",type:Number,reflect:!0})],jt.prototype,"_splitMinSecondary",2),c([p({attribute:"split-max",type:Number,reflect:!0})],jt.prototype,"_splitMax",2),c([p({attribute:"primary-caption",reflect:!0})],jt.prototype,"primaryCaption",2),c([p({attribute:"secondary-caption",reflect:!0})],jt.prototype,"secondaryCaption",2),c([p({attribute:"no-prefetch",type:Boolean,reflect:!0})],jt.prototype,"noPrefetch",2),c([p({attribute:"no-cache",type:Boolean,reflect:!0})],jt.prototype,"noCache",2),c([p({attribute:"local-storage",type:Boolean,reflect:!0})],jt.prototype,"localStorage",2),c([p({attribute:"store-key"})],jt.prototype,"storeKey",2),c([p({attribute:"store-ttl",type:Number,reflect:!0})],jt.prototype,"storeTtl",2),c([p({attribute:"padded",type:Boolean,reflect:!0})],jt.prototype,"padded",2),c([p({attribute:"fetch-style",type:String,reflect:!0})],jt.prototype,"fetchStyle",2),c([p({attribute:"full-width",type:Boolean,reflect:!0})],jt.prototype,"fullWidth",2),c([p({attribute:"padded-right",type:Boolean,reflect:!0})],jt.prototype,"paddedRight",2),c([p()],jt.prototype,"monitor",2),c([p()],jt.prototype,"caption",2),c([p()],jt.prototype,"description",2);var ln=jt;jt.define("zn-tabs");var r1=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}@container (width > 1024px){:host{--zn-gutter:16px}}@container (width > 1400px){:host{--zn-gutter:24px}}@container (width > 1500px){:host{--zn-gutter:32px}}:host{display:block;width:100%;height:100%;min-height:0;container-type:inline-size;--zn-page-texture:none;--zn-page-texture-size:auto;--zn-page-content-background:var(--zn-page-canvas,var(--zn-body));--zn-page-header-background:var(--zn-page-surface-background,var(--zn-page-background,var(--zn-body)));--zn-page-closer-size:36px;--zn-page-closer-gap:var(--zn-spacing-x-small)}:host([panel]){--zn-page-content-background:var(--zn-panel)}:host([panel-head]){--zn-page-header-background:var(--zn-panel)}:host([panel-nav]){--zn-active-nav-background:var(--zn-panel)}.page__header{flex:0 0 auto;position:sticky;top:0;z-index:2;box-sizing:border-box;background-color:rgba(var(--zn-page-header-background),95%);background-image:var(--zn-page-texture);background-repeat:repeat;background-position:center top;background-size:var(--zn-page-texture-size)}.page__header::after{content:"";position:absolute;right:var(--zn-base-gap);bottom:0;left:var(--zn-base-gap);height:1px;background:rgb(var(--zn-border-color));opacity:0;transition:opacity 180ms ease-in-out;pointer-events:none}.page__header--scrolled-no-navigation::after{opacity:1}:host-context([t=aura]) .page__header,:host-context(.theme-aura) .page__header{background:var(--zn-page-header-aurora,linear-gradient(225deg,rgb(233,227,255) 0%,rgb(214,246,245) 40%,rgb(233,227,255) 100%),linear-gradient(180deg,rgba(129,153,217,0) 0%,rgb(0,0,0) 100%));background-size:150% 150%;background-position:0% 7%}:host-context([t=aura]) .page__header .header:not(.header--has-navigation),:host-context(.theme-aura) .page__header .header:not(.header--has-navigation){padding-bottom:var(--zn-base-gap);border-bottom:1px solid rgb(var(--zn-border-color))}:host-context([t=aura]) .page__header .header::before,:host-context(.theme-aura) .page__header .header::before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 2030 297'%3E%3CclipPath id='a'%3E%3Cpath d='M1745.121 547.488c-.699 0-1.41-.008-2.109-.027-59.434-1.852-104.902-66.16-148.883-128.352-35.129-49.668-71.449-101.039-114.398-119.871-65.121-28.539-137.75 10.363-207.98 47.961-26 13.922-50.559 27.07-73.949 36.289-38.902 15.32-77.77 20.742-118.801 16.582-34.629-3.52-71.93-13.93-117.387-32.762-84.102-34.828-150.801-48.859-223.359-11.199-21.039 10.922-41.84 24.832-63.863 39.562-47.594 31.828-96.457 64.508-147.098 64.508-14.434 0-29-2.648-43.734-8.73-35.766-14.77-68.043-48.219-99.258-80.57-41.438-42.938-84.281-87.348-135.34-87.867-.281 0-.562-.012-.844-.012-48.602 0-87.566 43.051-125.258 84.691-40.719 44.98-82.828 91.5-137.785 85.328l.277-2.488c53.707 6.02 95.359-40 135.652-84.512 38.281-42.289 77.84-85.988 127.98-85.508 52.105.527 95.324 45.316 137.117 88.637 31.035 32.16 63.129 65.422 98.41 79.992 65.199 26.91 127.875-15.012 188.488-55.551 21.109-14.109 42.941-28.711 64.102-39.699 35.859-18.609 72.832-25.629 113.035-21.469 39.656 4.098 79.09 18.77 112.434 32.578 69.711 28.871 146.34 50.809 234.32 16.16 23.25-9.16 47.738-22.27 73.68-36.16 34.602-18.531 70.391-37.691 105.949-48.719 40.48-12.543 74.559-12.32 104.211.668 43.59 19.109 80.121 70.762 115.441 120.711 43.629 61.691 88.738 125.488 146.918 127.301 43.672 1.367 81.031-41.781 117.16-83.5 34.262-39.562 66.629-76.941 101.969-73.449 23.672 2.34 46.262 23 69.082 63.148l-2.172 1.23c-22.391-39.391-44.359-59.641-67.148-61.891-34.059-3.359-66.012 33.531-99.84 72.602-35.941 41.5-73.082 84.387-117.02 84.387Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3CclipPath id='b'%3E%3Cpath d='M1745.121 547.488c-.699 0-1.41-.008-2.109-.027-59.434-1.852-104.902-66.16-148.883-128.352-35.129-49.668-71.449-101.039-114.398-119.871-65.121-28.539-137.75 10.363-207.98 47.961-26 13.922-50.559 27.07-73.949 36.289-38.902 15.32-77.77 20.742-118.801 16.582-34.629-3.52-71.93-13.93-117.387-32.762-84.102-34.828-150.801-48.859-223.359-11.199-21.039 10.922-41.84 24.832-63.863 39.562-47.594 31.828-96.457 64.508-147.098 64.508-14.434 0-29-2.648-43.734-8.73-35.766-14.77-68.043-48.219-99.258-80.57-41.438-42.938-84.281-87.348-135.34-87.867-.281 0-.562-.012-.844-.012-48.602 0-87.566 43.051-125.258 84.691-40.719 44.98-82.828 91.5-137.785 85.328l.277-2.488c53.707 6.02 95.359-40 135.652-84.512 38.281-42.289 77.84-85.988 127.98-85.508 52.105.527 95.324 45.316 137.117 88.637 31.035 32.16 63.129 65.422 98.41 79.992 65.199 26.91 127.875-15.012 188.488-55.551 21.109-14.109 42.941-28.711 64.102-39.699 35.859-18.609 72.832-25.629 113.035-21.469 39.656 4.098 79.09 18.77 112.434 32.578 69.711 28.871 146.34 50.809 234.32 16.16 23.25-9.16 47.738-22.27 73.68-36.16 34.602-18.531 70.391-37.691 105.949-48.719 40.48-12.543 74.559-12.32 104.211.668 43.59 19.109 80.121 70.762 115.441 120.711 43.629 61.691 88.738 125.488 146.918 127.301 43.672 1.367 81.031-41.781 117.16-83.5 34.262-39.562 66.629-76.941 101.969-73.449 23.672 2.34 46.262 23 69.082 63.148l-2.172 1.23c-22.391-39.391-44.359-59.641-67.148-61.891-34.059-3.359-66.012 33.531-99.84 72.602-35.941 41.5-73.082 84.387-117.02 84.387'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23b)'%3E%3Cpath d='M-14.926 270.699h2046.227v276.789H-14.926z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='c'%3E%3Cpath d='M1747.91 524.301c-2.648 0-5.32-.152-8.02-.473-56.961-6.719-99.57-66.418-140.762-124.148-34.898-48.898-70.98-99.461-115.527-117.738-64.781-26.57-134.543 11.82-202 48.957-24.031 13.223-46.723 25.723-68.641 34.93-40.34 16.953-80.242 22.832-121.992 17.961-35.52-4.129-72.559-15.629-120.09-37.289-73.633-33.551-146.555-59.762-228.953-12.602-19.609 11.223-39.742 25.652-59.211 39.613-56.871 40.758-115.676 82.91-179.262 62.09-40.32-13.191-75.301-49.082-109.133-83.801-39.812-40.852-80.988-83.102-130.445-87.34-51.141-4.359-92.844 39.668-133.172 82.27-43.387 45.828-88.254 93.219-145.727 82.219l.473-2.461c56.129 10.742 100.512-36.137 143.438-81.477 40.734-43.031 82.855-87.523 135.203-83.043 50.387 4.312 91.887 46.902 132.023 88.09 33.617 34.492 68.379 70.16 108.117 83.172 62.383 20.418 120.664-21.359 177.027-61.762 19.52-13.988 39.707-28.449 59.426-39.738 37.137-21.25 75.07-29.289 115.973-24.59 39.805 4.578 78.918 20.531 115.258 37.078 82.367 37.531 154.715 55.172 240.074 19.301 21.801-9.16 44.441-21.621 68.41-34.809 33.281-18.332 67.703-37.27 102.133-48.352 39.141-12.598 72.508-12.84 102.008-.73 45.23 18.551 81.52 69.41 116.621 118.602 40.879 57.289 83.16 116.531 139.031 123.109 45.25 5.34 83.738-37.48 120.938-78.879 34.262-38.133 66.633-74.141 102.391-71.133 23.109 1.953 45.27 20.172 67.75 55.723l-2.109 1.34c-22.031-34.84-43.57-52.691-65.852-54.57-34.508-2.898-66.488 32.66-100.32 70.309-35.449 39.449-72.027 80.172-115.078 80.172Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3CclipPath id='d'%3E%3Cpath d='M1747.91 524.301c-2.648 0-5.32-.152-8.02-.473-56.961-6.719-99.57-66.418-140.762-124.148-34.898-48.898-70.98-99.461-115.527-117.738-64.781-26.57-134.543 11.82-202 48.957-24.031 13.223-46.723 25.723-68.641 34.93-40.34 16.953-80.242 22.832-121.992 17.961-35.52-4.129-72.559-15.629-120.09-37.289-73.633-33.551-146.555-59.762-228.953-12.602-19.609 11.223-39.742 25.652-59.211 39.613-56.871 40.758-115.676 82.91-179.262 62.09-40.32-13.191-75.301-49.082-109.133-83.801-39.812-40.852-80.988-83.102-130.445-87.34-51.141-4.359-92.844 39.668-133.172 82.27-43.387 45.828-88.254 93.219-145.727 82.219l.473-2.461c56.129 10.742 100.512-36.137 143.438-81.477 40.734-43.031 82.855-87.523 135.203-83.043 50.387 4.312 91.887 46.902 132.023 88.09 33.617 34.492 68.379 70.16 108.117 83.172 62.383 20.418 120.664-21.359 177.027-61.762 19.52-13.988 39.707-28.449 59.426-39.738 37.137-21.25 75.07-29.289 115.973-24.59 39.805 4.578 78.918 20.531 115.258 37.078 82.367 37.531 154.715 55.172 240.074 19.301 21.801-9.16 44.441-21.621 68.41-34.809 33.281-18.332 67.703-37.27 102.133-48.352 39.141-12.598 72.508-12.84 102.008-.73 45.23 18.551 81.52 69.41 116.621 118.602 40.879 57.289 83.16 116.531 139.031 123.109 45.25 5.34 83.738-37.48 120.938-78.879 34.262-38.133 66.633-74.141 102.391-71.133 23.109 1.953 45.27 20.172 67.75 55.723l-2.109 1.34c-22.031-34.84-43.57-52.691-65.852-54.57-34.508-2.898-66.488 32.66-100.32 70.309-35.449 39.449-72.027 80.172-115.078 80.172'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23d)'%3E%3Cpath d='M-15.023 255.371H2031.27V526.68H-15.023z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='e'%3E%3Cpath d='M1749.141 500.23q-1.28 0-2.57-.039c-58.16-2.102-102.539-62.613-145.461-121.141-34.789-47.43-70.77-96.492-113.73-114.09-63.598-26.051-131.809 13.039-197.77 50.828-24.551 14.07-47.73 27.352-70.09 36.91-39.668 16.941-79.039 22.02-120.371 15.512-43.188-6.801-85.59-26.051-117.695-42.063-78.641-39.219-150.578-67.348-234.68-14.047-17.863 11.328-36.109 25.25-53.754 38.707-46.023 35.121-93.293 71.18-144.152 71.191-13.434 0-27.113-2.52-41.094-8.23-35.668-14.578-68.43-47.961-100.113-80.23-44.598-45.438-90.719-92.418-145.355-87.418-46.254 4.23-85.137 43.328-122.738 81.148-22.941 23.082-46.664 46.941-71.766 62.5-28.293 17.539-55.414 22.48-82.914 15.102l.648-2.422c59.797 16.062 104.707-29.121 152.258-76.937 37.918-38.141 77.125-77.57 124.285-81.883 55.82-5.098 102.359 42.312 147.367 88.16 31.504 32.09 64.082 65.281 99.273 79.66 65.582 26.812 125.164-18.66 182.785-62.629 17.684-13.492 35.977-27.449 53.93-38.832 38.945-24.68 76.758-33.648 118.992-28.219 37.598 4.82 74.422 20.332 118.145 42.141 84.871 42.328 153.949 61.52 235.969 26.488 22.223-9.5 45.352-22.75 69.832-36.777 32.57-18.66 66.25-37.961 99.938-49.359 38.312-12.961 71.031-13.492 100.02-1.613 43.621 17.871 79.801 67.211 114.793 114.922 42.57 58.051 86.59 118.07 143.539 120.121 42.828 1.547 79.809-37.293 115.559-74.852 34.492-36.238 67.051-70.469 103.27-67.891 22.41 1.602 43.91 17.301 65.742 47.992l-2.039 1.449c-21.363-30.051-42.262-45.402-63.883-46.941-35.027-2.488-67.199 31.32-101.277 67.121-35.422 37.211-72.031 75.66-114.891 75.66Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23e)'%3E%3CclipPath id='f'%3E%3Cpath d='M1749.141 500.23q-1.28 0-2.57-.039c-58.16-2.102-102.539-62.613-145.461-121.141-34.789-47.43-70.77-96.492-113.73-114.09-63.598-26.051-131.809 13.039-197.77 50.828-24.551 14.07-47.73 27.352-70.09 36.91-39.668 16.941-79.039 22.02-120.371 15.512-43.188-6.801-85.59-26.051-117.695-42.063-78.641-39.219-150.578-67.348-234.68-14.047-17.863 11.328-36.109 25.25-53.754 38.707-46.023 35.121-93.293 71.18-144.152 71.191-13.434 0-27.113-2.52-41.094-8.23-35.668-14.578-68.43-47.961-100.113-80.23-44.598-45.438-90.719-92.418-145.355-87.418-46.254 4.23-85.137 43.328-122.738 81.148-22.941 23.082-46.664 46.941-71.766 62.5-28.293 17.539-55.414 22.48-82.914 15.102l.648-2.422c59.797 16.062 104.707-29.121 152.258-76.937 37.918-38.141 77.125-77.57 124.285-81.883 55.82-5.098 102.359 42.312 147.367 88.16 31.504 32.09 64.082 65.281 99.273 79.66 65.582 26.812 125.164-18.66 182.785-62.629 17.684-13.492 35.977-27.449 53.93-38.832 38.945-24.68 76.758-33.648 118.992-28.219 37.598 4.82 74.422 20.332 118.145 42.141 84.871 42.328 153.949 61.52 235.969 26.488 22.223-9.5 45.352-22.75 69.832-36.777 32.57-18.66 66.25-37.961 99.938-49.359 38.312-12.961 71.031-13.492 100.02-1.613 43.621 17.871 79.801 67.211 114.793 114.922 42.57 58.051 86.59 118.07 143.539 120.121 42.828 1.547 79.809-37.293 115.559-74.852 34.492-36.238 67.051-70.469 103.27-67.891 22.41 1.602 43.91 17.301 65.742 47.992l-2.039 1.449c-21.363-30.051-42.262-45.402-63.883-46.941-35.027-2.488-67.199 31.32-101.277 67.121-35.422 37.211-72.031 75.66-114.891 75.66'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23f)'%3E%3Cpath d='M-15.113 238.531h2046.344V500.23H-15.113z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='g'%3E%3Cpath d='M1750.629 477.512c-25.91 0-51.301-11.871-77.551-36.23-24.098-22.371-46.699-53-68.559-82.621-34.77-47.109-70.73-95.84-113.559-112.559-63.301-24.73-128.812 15.328-192.172 54.07-25.027 15.297-48.68 29.758-71.867 40.109-38.402 17.129-77.23 21.32-118.723 12.797-40.449-8.297-79.328-27.488-115.32-46.988-80.762-43.75-148.551-73.48-224.199-26.398-21.398 13.309-43.035 31.25-63.961 48.598-45.125 37.402-91.535 75.859-142.578 75.871-10.242 0-20.668-1.551-31.312-4.969-40.238-12.91-75.602-48.883-109.797-83.66-42.727-43.453-86.922-88.391-140.184-87.23-49.008 1.07-90.926 40.789-131.465 79.199-24.648 23.359-50.137 47.512-76.91 62.609-30.18 17.031-58.855 20.52-87.664 10.68l.809-2.367c62.691 21.418 110.949-24.312 162.043-72.73 40.887-38.742 83.16-78.801 133.133-79.891 54.328-1.16 98.922 44.141 142.02 87.98 33.984 34.559 69.129 70.309 108.781 83.027 62.379 20.02 117.871-25.969 171.531-70.449 20.988-17.398 42.691-35.391 64.23-48.789 36-22.398 73.449-29.23 114.48-20.871 37.188 7.582 74.309 26.652 112.234 47.191 73.371 39.75 146.309 72.27 231.828 34.109 23.043-10.281 46.621-24.699 71.59-39.969 63.871-39.051 129.922-79.441 194.383-54.262 43.5 16.992 79.68 66 114.66 113.41 43.43 58.84 88.359 119.68 146.789 117.781 40.98-1.34 76.461-37.012 110.77-71.5 34.352-34.531 66.789-67.141 103.199-65.313 21.672 1.102 42.57 14.402 63.891 40.66l-1.941 1.582c-20.848-25.68-41.148-38.68-62.078-39.742-35.289-1.777-67.352 30.453-101.289 64.57-34.66 34.84-70.5 70.871-112.473 72.242-.918.027-1.848.051-2.77.051Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23g)'%3E%3CclipPath id='h'%3E%3Cpath d='M1750.629 477.512c-25.91 0-51.301-11.871-77.551-36.23-24.098-22.371-46.699-53-68.559-82.621-34.77-47.109-70.73-95.84-113.559-112.559-63.301-24.73-128.812 15.328-192.172 54.07-25.027 15.297-48.68 29.758-71.867 40.109-38.402 17.129-77.23 21.32-118.723 12.797-40.449-8.297-79.328-27.488-115.32-46.988-80.762-43.75-148.551-73.48-224.199-26.398-21.398 13.309-43.035 31.25-63.961 48.598-45.125 37.402-91.535 75.859-142.578 75.871-10.242 0-20.668-1.551-31.312-4.969-40.238-12.91-75.602-48.883-109.797-83.66-42.727-43.453-86.922-88.391-140.184-87.23-49.008 1.07-90.926 40.789-131.465 79.199-24.648 23.359-50.137 47.512-76.91 62.609-30.18 17.031-58.855 20.52-87.664 10.68l.809-2.367c62.691 21.418 110.949-24.312 162.043-72.73 40.887-38.742 83.16-78.801 133.133-79.891 54.328-1.16 98.922 44.141 142.02 87.98 33.984 34.559 69.129 70.309 108.781 83.027 62.379 20.02 117.871-25.969 171.531-70.449 20.988-17.398 42.691-35.391 64.23-48.789 36-22.398 73.449-29.23 114.48-20.871 37.188 7.582 74.309 26.652 112.234 47.191 73.371 39.75 146.309 72.27 231.828 34.109 23.043-10.281 46.621-24.699 71.59-39.969 63.871-39.051 129.922-79.441 194.383-54.262 43.5 16.992 79.68 66 114.66 113.41 43.43 58.84 88.359 119.68 146.789 117.781 40.98-1.34 76.461-37.012 110.77-71.5 34.352-34.531 66.789-67.141 103.199-65.313 21.672 1.102 42.57 14.402 63.891 40.66l-1.941 1.582c-20.848-25.68-41.148-38.68-62.078-39.742-35.289-1.777-67.352 30.453-101.289 64.57-34.66 34.84-70.5 70.871-112.473 72.242-.918.027-1.848.051-2.77.051'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23h)'%3E%3Cpath d='M-15.191 218.59H2031.18v258.922H-15.191z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='i'%3E%3Cpath d='M1753.551 454.352h-.441c-26.25-.152-51.859-12.16-78.289-36.73-23.441-21.801-45.398-51.281-66.629-79.793-35.812-48.09-72.84-97.809-118.203-112.449-60.816-19.617-121.75 20.121-180.668 58.562-23.441 15.277-45.57 29.719-67.52 40.43-85.879 41.918-158.199 7.5-237.129-38.211-87.789-50.84-156.109-82.32-236.102-24.02-17.605 12.828-35.465 28.84-52.742 44.32-43.918 39.348-89.125 79.848-140.082 79.859-8.391 0-16.934-1.102-25.656-3.48-42.352-11.57-79.031-48.789-114.504-84.781-41.84-42.449-85.109-86.359-137.199-86.988-.395-.012-.793-.012-1.188-.012-50.453 0-94.527 39.242-137.168 77.203-26.508 23.59-53.918 47.988-82.5 62.547-32.211 16.41-62.562 18.332-92.793 5.891l.949-2.309c65.852 27.098 117.742-19.09 172.68-68 42.988-38.27 87.43-77.832 138.828-77.832.406 0 .812 0 1.223.012 53.117.648 96.754 44.918 138.949 87.738 35.238 35.75 71.68 72.73 113.379 84.121 60.383 16.492 112.762-30.449 163.414-75.828 17.32-15.523 35.23-31.57 52.938-44.48 38.664-28.18 76.891-37.312 120.305-28.73 38.867 7.68 76.672 28.371 118.527 52.609 78.289 45.34 150.012 79.512 234.781 38.121 21.801-10.641 43.867-25.043 67.238-40.281 59.422-38.75 120.852-78.828 182.812-58.84 46.117 14.879 83.387 64.941 119.438 113.34 42.172 56.629 85.77 115.191 142.922 115.512h.43c41.719 0 77.738-34.43 112.578-67.742 33.762-32.281 65.68-62.801 101.66-62.801.562 0 1.109.012 1.672.02 20.867.551 41.039 11.461 61.66 33.363l-1.82 1.707c-20.141-21.387-39.742-32.039-59.91-32.57-35.59-.906-67.641 29.684-101.539 62.094-35.191 33.637-71.582 68.43-114.301 68.43Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23i)'%3E%3CclipPath id='j'%3E%3Cpath d='M1753.551 454.352h-.441c-26.25-.152-51.859-12.16-78.289-36.73-23.441-21.801-45.398-51.281-66.629-79.793-35.812-48.09-72.84-97.809-118.203-112.449-60.816-19.617-121.75 20.121-180.668 58.562-23.441 15.277-45.57 29.719-67.52 40.43-85.879 41.918-158.199 7.5-237.129-38.211-87.789-50.84-156.109-82.32-236.102-24.02-17.605 12.828-35.465 28.84-52.742 44.32-43.918 39.348-89.125 79.848-140.082 79.859-8.391 0-16.934-1.102-25.656-3.48-42.352-11.57-79.031-48.789-114.504-84.781-41.84-42.449-85.109-86.359-137.199-86.988-.395-.012-.793-.012-1.188-.012-50.453 0-94.527 39.242-137.168 77.203-26.508 23.59-53.918 47.988-82.5 62.547-32.211 16.41-62.562 18.332-92.793 5.891l.949-2.309c65.852 27.098 117.742-19.09 172.68-68 42.988-38.27 87.43-77.832 138.828-77.832.406 0 .812 0 1.223.012 53.117.648 96.754 44.918 138.949 87.738 35.238 35.75 71.68 72.73 113.379 84.121 60.383 16.492 112.762-30.449 163.414-75.828 17.32-15.523 35.23-31.57 52.938-44.48 38.664-28.18 76.891-37.312 120.305-28.73 38.867 7.68 76.672 28.371 118.527 52.609 78.289 45.34 150.012 79.512 234.781 38.121 21.801-10.641 43.867-25.043 67.238-40.281 59.422-38.75 120.852-78.828 182.812-58.84 46.117 14.879 83.387 64.941 119.438 113.34 42.172 56.629 85.77 115.191 142.922 115.512h.43c41.719 0 77.738-34.43 112.578-67.742 33.762-32.281 65.68-62.801 101.66-62.801.562 0 1.109.012 1.672.02 20.867.551 41.039 11.461 61.66 33.363l-1.82 1.707c-20.141-21.387-39.742-32.039-59.91-32.57-35.59-.906-67.641 29.684-101.539 62.094-35.191 33.637-71.582 68.43-114.301 68.43'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23j)'%3E%3Cpath d='M-15.262 203.012h2046.383v251.34H-15.262z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='k'%3E%3Cpath d='M1756.352 431.23c-1.191 0-2.391-.031-3.602-.082-56.84-2.477-100.34-59.539-142.422-114.719-34.469-45.219-70.117-91.969-112.809-108.508-60.781-23.551-120.098 18.406-177.461 58.988-22.047 15.59-42.879 30.328-63.738 41.469-40.102 21.422-78.91 26.223-122.141 15.109-40.508-10.41-80.41-34.008-117.82-57.297-77.5-48.242-150.707-93.812-231.922-33.031-19.465 14.57-38.77 33.031-57.438 50.879-43.109 41.223-87.418 83.582-138.664 83.582-12.016.008-24.402-2.32-37.258-7.543-36.516-14.816-69.141-47.738-100.695-79.578-41-41.371-83.395-84.148-134.156-86.59-53.047-2.57-100.109 36.969-145.633 75.191-28.375 23.828-57.719 48.457-88.102 62.457-34.227 15.77-66.223 16.113-97.816 1.062l1.074-2.262c68.891 32.832 124.43-13.801 183.234-63.168 45.895-38.543 93.34-78.371 147.359-75.781 51.734 2.488 94.48 45.621 135.816 87.328 31.375 31.66 63.816 64.402 99.859 79.031 29.641 12.031 59.465 9.281 91.172-8.391 28.43-15.848 55.703-41.93 82.082-67.148 18.719-17.902 38.078-36.41 57.664-51.07 37.449-28.031 75.164-35.941 118.688-24.91 39.117 9.922 78.23 34.27 116.066 57.82 82.75 51.52 152.777 87.328 237.457 42.102 20.711-11.062 41.48-25.75 63.461-41.312 57.902-40.949 117.77-83.309 179.812-59.27 43.348 16.789 79.219 63.832 113.898 109.32 41.73 54.73 84.871 111.309 140.539 113.738 43.129 1.871 80.082-31.629 115.84-64.027 25.68-23.27 49.941-45.262 76.312-55.09 29.648-11.062 57.789-4.18 86.027 21.02l-1.66 1.871c-61.18-54.602-108.699-11.531-159 34.059-35.141 31.84-71.449 64.738-114.027 64.75Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23k)'%3E%3CclipPath id='l'%3E%3Cpath d='M1756.352 431.23c-1.191 0-2.391-.031-3.602-.082-56.84-2.477-100.34-59.539-142.422-114.719-34.469-45.219-70.117-91.969-112.809-108.508-60.781-23.551-120.098 18.406-177.461 58.988-22.047 15.59-42.879 30.328-63.738 41.469-40.102 21.422-78.91 26.223-122.141 15.109-40.508-10.41-80.41-34.008-117.82-57.297-77.5-48.242-150.707-93.812-231.922-33.031-19.465 14.57-38.77 33.031-57.438 50.879-43.109 41.223-87.418 83.582-138.664 83.582-12.016.008-24.402-2.32-37.258-7.543-36.516-14.816-69.141-47.738-100.695-79.578-41-41.371-83.395-84.148-134.156-86.59-53.047-2.57-100.109 36.969-145.633 75.191-28.375 23.828-57.719 48.457-88.102 62.457-34.227 15.77-66.223 16.113-97.816 1.062l1.074-2.262c68.891 32.832 124.43-13.801 183.234-63.168 45.895-38.543 93.34-78.371 147.359-75.781 51.734 2.488 94.48 45.621 135.816 87.328 31.375 31.66 63.816 64.402 99.859 79.031 29.641 12.031 59.465 9.281 91.172-8.391 28.43-15.848 55.703-41.93 82.082-67.148 18.719-17.902 38.078-36.41 57.664-51.07 37.449-28.031 75.164-35.941 118.688-24.91 39.117 9.922 78.23 34.27 116.066 57.82 82.75 51.52 152.777 87.328 237.457 42.102 20.711-11.062 41.48-25.75 63.461-41.312 57.902-40.949 117.77-83.309 179.812-59.27 43.348 16.789 79.219 63.832 113.898 109.32 41.73 54.73 84.871 111.309 140.539 113.738 43.129 1.871 80.082-31.629 115.84-64.027 25.68-23.27 49.941-45.262 76.312-55.09 29.648-11.062 57.789-4.18 86.027 21.02l-1.66 1.871c-61.18-54.602-108.699-11.531-159 34.059-35.141 31.84-71.449 64.738-114.027 64.75'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23l)'%3E%3Cpath d='M-15.324 172.379h2046.363v258.852H-15.324z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='m'%3E%3Cpath d='M1759.309 408.051c-2.34 0-4.688-.102-7.07-.289-55.457-4.543-98.398-60.062-139.93-113.762-33.098-42.789-67.328-87.051-107.547-105.109-61.062-27.441-119.793 17.641-176.59 61.23-23.031 17.68-44.793 34.379-66.594 46.367-38.578 21.223-76.629 24.801-119.738 11.273-37.051-11.621-72.219-33.871-114.352-61.73l-2.438-1.609c-78.355-51.852-152.367-100.82-233.16-34.051-17.574 14.52-35.246 32.719-52.336 50.309-42.676 43.941-86.57 89.109-137.766 89.121-10.438 0-21.176-1.879-32.273-6.031-38.145-14.25-71.801-48.121-104.352-80.879-40.219-40.469-81.809-82.32-131.562-86.371-55.133-4.48-104.723 35.109-152.68 73.391-30.168 24.09-61.367 48.988-93.504 62.441-36.191 15.148-69.816 13.898-102.797-3.82l1.184-2.203c71.977 38.684 131.035-8.457 193.559-58.367 48.34-38.59 98.324-78.48 154.437-73.93 50.676 4.117 92.598 46.309 133.137 87.098 32.359 32.562 65.82 66.242 103.453 80.301 64.004 23.922 116.551-30.168 167.371-82.488 17.137-17.641 34.859-35.891 52.539-50.5 82.215-67.941 156.977-18.48 236.129 33.887l2.441 1.613c72.109 47.699 146.668 97.02 231.5 50.359 21.641-11.902 43.32-28.539 66.277-46.16 57.383-44.039 116.711-89.582 179.141-61.531 40.789 18.32 75.211 62.82 108.492 105.859 41.199 53.27 83.797 108.352 138.16 112.801 44.41 3.629 82.438-28.82 119.207-60.191 24.043-20.52 48.902-41.727 74.801-51.727 29.141-11.262 56.781-6.98 84.5 13.07l-1.469 2.02c-60.09-43.473-106.781-3.633-156.211 38.539-35.211 30.051-71.57 61.059-113.961 61.07Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23m)'%3E%3CclipPath id='n'%3E%3Cpath d='M1759.309 408.051c-2.34 0-4.688-.102-7.07-.289-55.457-4.543-98.398-60.062-139.93-113.762-33.098-42.789-67.328-87.051-107.547-105.109-61.062-27.441-119.793 17.641-176.59 61.23-23.031 17.68-44.793 34.379-66.594 46.367-38.578 21.223-76.629 24.801-119.738 11.273-37.051-11.621-72.219-33.871-114.352-61.73l-2.438-1.609c-78.355-51.852-152.367-100.82-233.16-34.051-17.574 14.52-35.246 32.719-52.336 50.309-42.676 43.941-86.57 89.109-137.766 89.121-10.438 0-21.176-1.879-32.273-6.031-38.145-14.25-71.801-48.121-104.352-80.879-40.219-40.469-81.809-82.32-131.562-86.371-55.133-4.48-104.723 35.109-152.68 73.391-30.168 24.09-61.367 48.988-93.504 62.441-36.191 15.148-69.816 13.898-102.797-3.82l1.184-2.203c71.977 38.684 131.035-8.457 193.559-58.367 48.34-38.59 98.324-78.48 154.437-73.93 50.676 4.117 92.598 46.309 133.137 87.098 32.359 32.562 65.82 66.242 103.453 80.301 64.004 23.922 116.551-30.168 167.371-82.488 17.137-17.641 34.859-35.891 52.539-50.5 82.215-67.941 156.977-18.48 236.129 33.887l2.441 1.613c72.109 47.699 146.668 97.02 231.5 50.359 21.641-11.902 43.32-28.539 66.277-46.16 57.383-44.039 116.711-89.582 179.141-61.531 40.789 18.32 75.211 62.82 108.492 105.859 41.199 53.27 83.797 108.352 138.16 112.801 44.41 3.629 82.438-28.82 119.207-60.191 24.043-20.52 48.902-41.727 74.801-51.727 29.141-11.262 56.781-6.98 84.5 13.07l-1.469 2.02c-60.09-43.473-106.781-3.633-156.211 38.539-35.211 30.051-71.57 61.059-113.961 61.07'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23n)'%3E%3Cpath d='M-15.379 140.5h2046.328v268.398H-15.379z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='o'%3E%3Cpath d='M1762.43 384.789c-3.621 0-7.27-.211-10.969-.648-54.18-6.539-96.082-60.281-136.609-112.25-34.23-43.902-69.621-89.289-112.16-106.07-58.43-23.059-113.031 22.168-165.84 65.918-18.742 15.523-36.453 30.184-54.211 41.793-40.621 26.559-80.359 32.57-125.07 18.918-41.121-12.551-83.02-41.449-119.992-66.949l-6.18-4.262C952.887 167.001 878.723 115.77 798.45 187.38c-16.758 14.961-33.43 33.312-49.551 51.062-41.352 45.527-83.922 92.387-135.598 92.387-8.582.012-17.406-1.289-26.527-4.09-40.766-12.527-75.855-48.137-109.789-82.566-38.801-39.383-78.922-80.094-127.191-85.531-57.105-6.449-109.066 33.359-159.32 71.848-31.848 24.383-64.777 49.613-98.539 62.551-38.012 14.582-73.129 11.77-107.359-8.59l1.277-2.148c33.992 20.219 67.418 22.898 105.188 8.41 33.422-12.82 66.207-37.93 97.91-62.211 50.648-38.789 103.027-78.91 161.125-72.352 49.148 5.543 89.586 46.582 128.691 86.262 33.715 34.219 68.578 69.59 108.742 81.941 62.527 19.219 111.844-35.082 159.539-87.59 16.164-17.801 32.883-36.203 49.738-51.242 19.656-17.539 39.402-28.371 60.371-33.098 18.754-4.242 38.082-3.48 59.082 2.34 38.922 10.77 76.641 36.828 116.582 64.418l6.18 4.262c79 54.488 153.629 105.957 242.27 48 17.652-11.531 35.301-26.152 53.98-41.633 53.371-44.207 108.559-89.918 168.359-66.32 43.172 17.031 78.781 62.703 113.211 106.863 40.211 51.57 81.789 104.887 134.941 111.297 45.898 5.543 85.367-25.91 123.559-56.328 23.52-18.73 47.852-38.109 73.18-48.242 28.531-11.406 55.461-9.707 82.32 5.203l-1.211 2.18c-58.328-32.383-104.18 4.148-152.73 42.82-35.551 28.309-72.207 57.508-114.449 57.508Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23o)'%3E%3CclipPath id='p'%3E%3Cpath d='M1762.43 384.789c-3.621 0-7.27-.211-10.969-.648-54.18-6.539-96.082-60.281-136.609-112.25-34.23-43.902-69.621-89.289-112.16-106.07-58.43-23.059-113.031 22.168-165.84 65.918-18.742 15.523-36.453 30.184-54.211 41.793-40.621 26.559-80.359 32.57-125.07 18.918-41.121-12.551-83.02-41.449-119.992-66.949l-6.18-4.262C952.887 167.001 878.723 115.77 798.45 187.38c-16.758 14.961-33.43 33.312-49.551 51.062-41.352 45.527-83.922 92.387-135.598 92.387-8.582.012-17.406-1.289-26.527-4.09-40.766-12.527-75.855-48.137-109.789-82.566-38.801-39.383-78.922-80.094-127.191-85.531-57.105-6.449-109.066 33.359-159.32 71.848-31.848 24.383-64.777 49.613-98.539 62.551-38.012 14.582-73.129 11.77-107.359-8.59l1.277-2.148c33.992 20.219 67.418 22.898 105.188 8.41 33.422-12.82 66.207-37.93 97.91-62.211 50.648-38.789 103.027-78.91 161.125-72.352 49.148 5.543 89.586 46.582 128.691 86.262 33.715 34.219 68.578 69.59 108.742 81.941 62.527 19.219 111.844-35.082 159.539-87.59 16.164-17.801 32.883-36.203 49.738-51.242 19.656-17.539 39.402-28.371 60.371-33.098 18.754-4.242 38.082-3.48 59.082 2.34 38.922 10.77 76.641 36.828 116.582 64.418l6.18 4.262c79 54.488 153.629 105.957 242.27 48 17.652-11.531 35.301-26.152 53.98-41.633 53.371-44.207 108.559-89.918 168.359-66.32 43.172 17.031 78.781 62.703 113.211 106.863 40.211 51.57 81.789 104.887 134.941 111.297 45.898 5.543 85.367-25.91 123.559-56.328 23.52-18.73 47.852-38.109 73.18-48.242 28.531-11.406 55.461-9.707 82.32 5.203l-1.211 2.18c-58.328-32.383-104.18 4.148-152.73 42.82-35.551 28.309-72.207 57.508-114.449 57.508'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23p)'%3E%3Cpath d='M-15.426 115.77H2030.82v271.422H-15.426z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='q'%3E%3Cpath d='M1765.238 361.371c-4.027 0-8.098-.25-12.207-.77-53.973-6.812-95.832-59.961-136.32-111.363-34.211-43.438-69.59-88.359-112.02-105.137-58.051-22.973-110.453 23.578-161.133 68.598-17.918 15.922-34.859 30.961-52.008 43.039-27.531 19.383-53.902 27.332-79.582 27.332-56.117.008-109.02-37.922-164.027-77.34l-1.793-1.281q-4.649-3.346-9.297-6.688c-37.633-27.07-76.543-55.062-114.922-66.172-43.324-12.539-80.273-2.59-116.277 31.332-16.449 15.5-32.707 34.449-48.434 52.777-46.918 54.711-95.441 111.27-159.695 91.531-40.633-12.48-75.594-47.992-109.402-82.34-38.637-39.25-78.59-79.84-126.664-85.27-57.805-6.551-111.012 32.988-162.465 71.207-33.359 24.793-67.852 50.422-103.062 62.91-39.633 14.062-76.074 9.684-111.402-13.379l1.367-2.09c35.113 22.922 69.812 27.09 109.199 13.109 34.855-12.359 69.195-37.879 102.406-62.551 51.84-38.52 105.453-78.348 164.238-71.699 48.953 5.543 89.223 46.449 128.168 86.012 33.59 34.121 68.324 69.41 108.352 81.699 62.691 19.262 110.668-36.668 157.062-90.762 15.77-18.387 32.07-37.387 48.617-52.977 19.375-18.25 38.941-29.512 59.82-34.422 18.645-4.379 37.898-3.559 58.867 2.512 38.793 11.219 77.887 39.348 115.684 66.539 3.102 2.23 6.203 4.461 9.301 6.68l1.789 1.289c40.633 29.121 79.012 56.621 118.402 69.492 44.109 14.387 82.969 8.199 122.309-19.5 17.039-11.992 33.922-26.992 51.789-42.863 51.25-45.52 104.23-92.59 163.711-69.059 43.062 17.031 78.652 62.219 113.07 105.922 40.172 51 81.711 103.738 134.66 110.43 46.582 5.891 87.332-24.152 126.73-53.199 46-33.91 93.57-68.98 150.602-46.773l-.91 2.332c-55.742-21.711-100.66 11.398-148.211 46.461-36.352 26.797-73.832 54.43-116.312 54.43Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23q)'%3E%3CclipPath id='r'%3E%3Cpath d='M1765.238 361.371c-4.027 0-8.098-.25-12.207-.77-53.973-6.812-95.832-59.961-136.32-111.363-34.211-43.438-69.59-88.359-112.02-105.137-58.051-22.973-110.453 23.578-161.133 68.598-17.918 15.922-34.859 30.961-52.008 43.039-27.531 19.383-53.902 27.332-79.582 27.332-56.117.008-109.02-37.922-164.027-77.34l-1.793-1.281q-4.649-3.346-9.297-6.688c-37.633-27.07-76.543-55.062-114.922-66.172-43.324-12.539-80.273-2.59-116.277 31.332-16.449 15.5-32.707 34.449-48.434 52.777-46.918 54.711-95.441 111.27-159.695 91.531-40.633-12.48-75.594-47.992-109.402-82.34-38.637-39.25-78.59-79.84-126.664-85.27-57.805-6.551-111.012 32.988-162.465 71.207-33.359 24.793-67.852 50.422-103.062 62.91-39.633 14.062-76.074 9.684-111.402-13.379l1.367-2.09c35.113 22.922 69.812 27.09 109.199 13.109 34.855-12.359 69.195-37.879 102.406-62.551 51.84-38.52 105.453-78.348 164.238-71.699 48.953 5.543 89.223 46.449 128.168 86.012 33.59 34.121 68.324 69.41 108.352 81.699 62.691 19.262 110.668-36.668 157.062-90.762 15.77-18.387 32.07-37.387 48.617-52.977 19.375-18.25 38.941-29.512 59.82-34.422 18.645-4.379 37.898-3.559 58.867 2.512 38.793 11.219 77.887 39.348 115.684 66.539 3.102 2.23 6.203 4.461 9.301 6.68l1.789 1.289c40.633 29.121 79.012 56.621 118.402 69.492 44.109 14.387 82.969 8.199 122.309-19.5 17.039-11.992 33.922-26.992 51.789-42.863 51.25-45.52 104.23-92.59 163.711-69.059 43.062 17.031 78.652 62.219 113.07 105.922 40.172 51 81.711 103.738 134.66 110.43 46.582 5.891 87.332-24.152 126.73-53.199 46-33.91 93.57-68.98 150.602-46.773l-.91 2.332c-55.742-21.711-100.66 11.398-148.211 46.461-36.352 26.797-73.832 54.43-116.312 54.43'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23r)'%3E%3Cpath d='M-15.473 118.238h2046.145v245.773H-15.473z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='s'%3E%3Cpath d='M1767.441 337.719c-3.5 0-7.02-.168-10.582-.527-54.84-5.531-97.629-59.211-139.008-111.133-33.023-41.418-67.172-84.258-107.113-102.289-60.129-27.141-111.867 21.551-161.91 68.641-19.527 18.371-39.719 37.371-59.816 51.078-36.223 24.711-74.41 29.25-116.73 13.891-37.52-13.609-74.59-41.219-110.43-67.91-3.043-2.27-6.07-4.527-9.113-6.777-3.879-2.883-7.758-5.781-11.648-8.68-36.961-27.613-75.176-56.152-113.234-67.852-42.547-13.09-80.125-3.059-114.879 30.66-16.676 16.18-33.117 36.211-49.016 55.578-39.816 48.5-80.781 98.383-132.188 98.391-9.785 0-19.941-1.809-30.547-5.77-37.773-14.129-71.07-47.73-103.273-80.219-39.742-40.102-80.84-81.562-130.039-85.609-48.121-3.961-95.988 30.199-142.277 63.238-13.238 9.449-25.742 18.371-38.105 26.289-67.078 42.98-133.082 77.422-203.043 27.551l1.449-2.031C54.63 283.2 119.857 249.11 186.185 206.622c12.309-7.891 24.789-16.801 38-26.23 46.656-33.301 94.898-67.742 143.938-63.699 50.117 4.129 91.543 45.93 131.609 86.348 32.012 32.301 65.113 65.699 102.371 79.633 64.656 24.188 113.09-34.812 159.926-91.863 15.945-19.418 32.43-39.5 49.207-55.777 79.098-76.742 156.5-18.93 231.344 36.969 3.891 2.91 7.773 5.809 11.652 8.68 3.039 2.262 6.07 4.52 9.109 6.781 35.699 26.59 72.621 54.078 109.789 67.57 41.52 15.07 78.961 10.609 114.473-13.609 19.93-13.594 40.047-32.531 59.508-50.832 50.641-47.66 103-96.93 164.66-69.102 40.492 18.281 74.832 61.363 108.031 103.012 41.059 51.52 83.52 104.781 137.309 110.199 46.719 4.711 88.602-23.668 129.09-51.129 44.672-30.289 90.871-61.609 144.289-49.531l-.547 2.43c-52.371-11.828-98.113 19.18-142.332 49.172-37.809 25.641-76.82 52.078-120.168 52.078Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3CclipPath id='t'%3E%3Cpath d='M1767.441 337.719c-3.5 0-7.02-.168-10.582-.527-54.84-5.531-97.629-59.211-139.008-111.133-33.023-41.418-67.172-84.258-107.113-102.289-60.129-27.141-111.867 21.551-161.91 68.641-19.527 18.371-39.719 37.371-59.816 51.078-36.223 24.711-74.41 29.25-116.73 13.891-37.52-13.609-74.59-41.219-110.43-67.91-3.043-2.27-6.07-4.527-9.113-6.777-3.879-2.883-7.758-5.781-11.648-8.68-36.961-27.613-75.176-56.152-113.234-67.852-42.547-13.09-80.125-3.059-114.879 30.66-16.676 16.18-33.117 36.211-49.016 55.578-39.816 48.5-80.781 98.383-132.188 98.391-9.785 0-19.941-1.809-30.547-5.77-37.773-14.129-71.07-47.73-103.273-80.219-39.742-40.102-80.84-81.562-130.039-85.609-48.121-3.961-95.988 30.199-142.277 63.238-13.238 9.449-25.742 18.371-38.105 26.289-67.078 42.98-133.082 77.422-203.043 27.551l1.449-2.031C54.63 283.2 119.857 249.11 186.185 206.622c12.309-7.891 24.789-16.801 38-26.23 46.656-33.301 94.898-67.742 143.938-63.699 50.117 4.129 91.543 45.93 131.609 86.348 32.012 32.301 65.113 65.699 102.371 79.633 64.656 24.188 113.09-34.812 159.926-91.863 15.945-19.418 32.43-39.5 49.207-55.777 79.098-76.742 156.5-18.93 231.344 36.969 3.891 2.91 7.773 5.809 11.652 8.68 3.039 2.262 6.07 4.52 9.109 6.781 35.699 26.59 72.621 54.078 109.789 67.57 41.52 15.07 78.961 10.609 114.473-13.609 19.93-13.594 40.047-32.531 59.508-50.832 50.641-47.66 103-96.93 164.66-69.102 40.492 18.281 74.832 61.363 108.031 103.012 41.059 51.52 83.52 104.781 137.309 110.199 46.719 4.711 88.602-23.668 129.09-51.129 44.672-30.289 90.871-61.609 144.289-49.531l-.547 2.43c-52.371-11.828-98.113 19.18-142.332 49.172-37.809 25.641-76.82 52.078-120.168 52.078'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23t)'%3E%3Cpath d='M-15.512 58.289h2046V339.41h-2046z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='u'%3E%3Cpath d='M1769.961 314.012c-4.102 0-8.223-.211-12.371-.672-54.699-6.012-97.48-59.262-138.859-110.75-33.012-41.09-67.152-83.578-107.031-101.738-60.32-27.461-110.57 21.848-159.168 69.539-19.082 18.719-38.82 38.09-58.711 52.211-23.609 16.77-46.742 23.68-69.441 23.688-54.367 0-106.34-39.609-157.109-78.301-3.469-2.637-6.93-5.277-10.391-7.91a2942 2942 0 0 1-12.398-9.449c-74.293-56.758-151.121-115.457-228.223-38.34-16.586 16.59-32.812 37.031-48.5 56.801-39.066 49.219-79.254 99.852-130.758 99.859-9.754 0-19.906-1.82-30.543-5.801-37.621-14.098-70.832-47.637-102.949-80.078-39.707-40.102-80.77-81.582-129.863-85.492-47.781-3.816-95.766 30.41-142.168 63.512-14.125 10.07-27.465 19.59-40.59 27.871-68.625 43.277-136.055 77.629-206.438 23.23l1.527-1.98c69.109 53.418 135.73 19.43 203.574-23.371 13.066-8.238 26.379-17.738 40.473-27.789 46.766-33.359 95.133-67.84 143.82-63.973 50.02 3.992 91.414 45.801 131.441 86.23 31.926 32.25 64.941 65.59 102.047 79.492 29.145 10.918 57.258 5.91 85.953-15.312 25.75-19.039 49.523-48.988 72.512-77.949 15.734-19.828 32.004-40.328 48.691-57.02 35.242-35.25 73.66-45.629 117.449-31.75 38.621 12.242 76.973 41.539 114.062 69.879 4.141 3.16 8.27 6.312 12.391 9.441 3.461 2.621 6.93 5.27 10.398 7.91 71.242 54.289 144.902 110.441 223.59 54.559 19.723-14.008 39.391-33.297 58.402-51.957 49.199-48.281 100.07-98.203 161.957-70.023 40.41 18.402 74.742 61.121 107.941 102.441 41.059 51.102 83.52 103.941 137.18 109.832 48.449 5.328 93.332-22.652 136.742-49.703 42.828-26.68 87.109-54.25 135.688-51.199l-.16 2.5c-47.777-3.02-91.707 24.352-134.199 50.832-40.09 24.969-81.441 50.73-125.969 50.73Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23u)'%3E%3CclipPath id='v'%3E%3Cpath d='M1769.961 314.012c-4.102 0-8.223-.211-12.371-.672-54.699-6.012-97.48-59.262-138.859-110.75-33.012-41.09-67.152-83.578-107.031-101.738-60.32-27.461-110.57 21.848-159.168 69.539-19.082 18.719-38.82 38.09-58.711 52.211-23.609 16.77-46.742 23.68-69.441 23.688-54.367 0-106.34-39.609-157.109-78.301-3.469-2.637-6.93-5.277-10.391-7.91a2942 2942 0 0 1-12.398-9.449c-74.293-56.758-151.121-115.457-228.223-38.34-16.586 16.59-32.812 37.031-48.5 56.801-39.066 49.219-79.254 99.852-130.758 99.859-9.754 0-19.906-1.82-30.543-5.801-37.621-14.098-70.832-47.637-102.949-80.078-39.707-40.102-80.77-81.582-129.863-85.492-47.781-3.816-95.766 30.41-142.168 63.512-14.125 10.07-27.465 19.59-40.59 27.871-68.625 43.277-136.055 77.629-206.438 23.23l1.527-1.98c69.109 53.418 135.73 19.43 203.574-23.371 13.066-8.238 26.379-17.738 40.473-27.789 46.766-33.359 95.133-67.84 143.82-63.973 50.02 3.992 91.414 45.801 131.441 86.23 31.926 32.25 64.941 65.59 102.047 79.492 29.145 10.918 57.258 5.91 85.953-15.312 25.75-19.039 49.523-48.988 72.512-77.949 15.734-19.828 32.004-40.328 48.691-57.02 35.242-35.25 73.66-45.629 117.449-31.75 38.621 12.242 76.973 41.539 114.062 69.879 4.141 3.16 8.27 6.312 12.391 9.441 3.461 2.621 6.93 5.27 10.398 7.91 71.242 54.289 144.902 110.441 223.59 54.559 19.723-14.008 39.391-33.297 58.402-51.957 49.199-48.281 100.07-98.203 161.957-70.023 40.41 18.402 74.742 61.121 107.941 102.441 41.059 51.102 83.52 103.941 137.18 109.832 48.449 5.328 93.332-22.652 136.742-49.703 42.828-26.68 87.109-54.25 135.688-51.199l-.16 2.5c-47.777-3.02-91.707 24.352-134.199 50.832-40.09 24.969-81.441 50.73-125.969 50.73'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23v)'%3E%3Cpath d='M-15.551 35.172h2045.84V316.18H-15.551z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='w'%3E%3Cpath d='M1771.539 289.961c-3.699.008-7.41-.16-11.141-.492-55.648-5.039-99.047-58.559-141.027-110.32-34.34-42.34-69.859-86.129-111.801-103.16-59.059-23.988-107.191 24.16-153.742 70.723-17.109 17.109-34.797 34.809-52.699 48.52-37.25 28.539-76.578 34.848-120.25 19.289-38.738-13.801-77.098-43.141-114.207-71.508a2811 2811 0 0 0-8.57-6.543c-4.34-3.309-8.691-6.66-13.062-10.02-73.715-56.66-149.934-115.258-226.254-40.508-18.219 17.84-35.445 39.828-52.105 61.098-22.992 29.34-46.762 59.68-72.848 78.41-29.391 21.102-58.898 25.129-90.211 12.34-35.758-14.598-67.824-46.988-98.832-78.309-40.402-40.82-82.184-83.02-132-85.352-46.492-2.168-95.867 33.43-139.438 64.84-15.125 10.91-29.414 21.203-43.301 29.891-32.676 20.41-67.68 40.23-102.266 46.93-37.934 7.352-71.746-1.711-103.367-27.68l1.59-1.938c68.477 56.25 134.965 22.906 202.715-19.434 13.82-8.637 28.078-18.918 43.168-29.797 43.902-31.652 93.668-67.512 141.016-65.301 50.789 2.371 92.918 44.918 133.66 86.078 30.832 31.141 62.715 63.352 98 77.762 30.875 12.609 58.777 8.781 87.805-12.059 25.797-18.523 49.457-48.723 72.34-77.934 16.711-21.328 33.988-43.379 52.324-61.34 34.879-34.148 73.008-43.828 116.566-29.578 38.355 12.551 76.277 41.699 112.957 69.898 4.371 3.352 8.723 6.703 13.062 10.012 2.859 2.18 5.707 4.359 8.57 6.539 36.949 28.262 75.16 57.469 113.52 71.141 42.82 15.262 81.379 9.07 117.898-18.91 17.77-13.621 35.402-31.25 52.449-48.309 47.133-47.141 95.852-95.883 156.453-71.27 42.539 17.27 78.258 61.316 112.797 103.906 41.652 51.352 84.723 104.453 139.312 109.391 49.988 4.531 97.777-23.207 143.988-50.039 40.27-23.391 81.91-47.57 125.5-51.039l.199 2.5c-43.02 3.418-84.418 27.461-124.449 50.699-43.129 25.039-87.621 50.871-134.32 50.871Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23w)'%3E%3CclipPath id='x'%3E%3Cpath d='M1771.539 289.961c-3.699.008-7.41-.16-11.141-.492-55.648-5.039-99.047-58.559-141.027-110.32-34.34-42.34-69.859-86.129-111.801-103.16-59.059-23.988-107.191 24.16-153.742 70.723-17.109 17.109-34.797 34.809-52.699 48.52-37.25 28.539-76.578 34.848-120.25 19.289-38.738-13.801-77.098-43.141-114.207-71.508a2811 2811 0 0 0-8.57-6.543c-4.34-3.309-8.691-6.66-13.062-10.02-73.715-56.66-149.934-115.258-226.254-40.508-18.219 17.84-35.445 39.828-52.105 61.098-22.992 29.34-46.762 59.68-72.848 78.41-29.391 21.102-58.898 25.129-90.211 12.34-35.758-14.598-67.824-46.988-98.832-78.309-40.402-40.82-82.184-83.02-132-85.352-46.492-2.168-95.867 33.43-139.438 64.84-15.125 10.91-29.414 21.203-43.301 29.891-32.676 20.41-67.68 40.23-102.266 46.93-37.934 7.352-71.746-1.711-103.367-27.68l1.59-1.938c68.477 56.25 134.965 22.906 202.715-19.434 13.82-8.637 28.078-18.918 43.168-29.797 43.902-31.652 93.668-67.512 141.016-65.301 50.789 2.371 92.918 44.918 133.66 86.078 30.832 31.141 62.715 63.352 98 77.762 30.875 12.609 58.777 8.781 87.805-12.059 25.797-18.523 49.457-48.723 72.34-77.934 16.711-21.328 33.988-43.379 52.324-61.34 34.879-34.148 73.008-43.828 116.566-29.578 38.355 12.551 76.277 41.699 112.957 69.898 4.371 3.352 8.723 6.703 13.062 10.012 2.859 2.18 5.707 4.359 8.57 6.539 36.949 28.262 75.16 57.469 113.52 71.141 42.82 15.262 81.379 9.07 117.898-18.91 17.77-13.621 35.402-31.25 52.449-48.309 47.133-47.141 95.852-95.883 156.453-71.27 42.539 17.27 78.258 61.316 112.797 103.906 41.652 51.352 84.723 104.453 139.312 109.391 49.988 4.531 97.777-23.207 143.988-50.039 40.27-23.391 81.91-47.57 125.5-51.039l.199 2.5c-43.02 3.418-84.418 27.461-124.449 50.699-43.129 25.039-87.621 50.871-134.32 50.871'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23x)'%3E%3Cpath d='M-15.582 11.191h2045.891V291.5H-15.582z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='y'%3E%3Cpath d='M1773.238 264.172c-5.297 0-10.609-.332-15.949-1.043-54-7.188-97.348-58.648-139.258-108.41-33.141-39.328-67.402-80.008-106.582-98.398-59.801-28.082-110.289 20.469-159.109 67.418-18.898 18.172-38.449 36.973-58.07 50.711-35.961 25.199-73.891 30.082-115.98 14.91-37.301-13.438-74.148-40.988-109.789-67.621q-5.641-4.215-11.281-8.418c-4.43-3.289-8.867-6.621-13.309-9.949-36.84-27.609-74.941-56.172-112.887-67.832-42.414-13.039-79.867-2.891-114.492 31.031-16.523 16.191-32.754 36.129-48.445 55.41-39.277 48.25-79.688 97.871-130.754 97.879-9.812 0-20.012-1.828-30.68-5.859-37.207-14.039-70.711-46.262-103.109-77.41-40.496-38.949-82.371-79.219-131.27-83.418-46.418-3.98-94 29.027-140.008 60.957-14.711 10.211-28.602 19.852-42.152 28.043-37.727 22.809-69.516 39.328-102.016 45.848-37.859 7.59-71.754-.238-103.633-23.93l1.492-2.012c68.914 51.23 135.281 18.801 202.863-22.047 13.48-8.152 27.344-17.77 42.02-27.961 44.211-30.68 94.328-65.461 141.648-61.391 49.777 4.281 91.977 44.859 132.785 84.109 32.219 30.98 65.535 63.02 102.262 76.871 28.875 10.898 56.902 6.078 85.68-14.719 25.816-18.672 49.77-48.09 72.93-76.543 15.738-19.328 32.012-39.328 48.637-55.609 78.812-77.219 155.992-19.359 230.629 36.582 4.441 3.328 8.871 6.648 13.301 9.949 3.758 2.789 7.527 5.602 11.289 8.418 35.488 26.523 72.18 53.953 109.141 67.273 41.258 14.867 78.449 10.09 113.699-14.602 19.449-13.641 38.93-32.359 57.762-50.48 49.438-47.531 100.547-96.691 161.91-67.879 39.68 18.629 74.117 59.52 107.43 99.059 41.609 49.402 84.629 100.469 137.68 107.539 50.98 6.781 100.859-21.488 149.098-48.828 39.922-22.629 81.191-46.02 123.383-49.98l.227 2.488c-41.648 3.91-82.688 27.172-122.367 49.66-43.602 24.711-88.539 50.184-134.723 50.184Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23y)'%3E%3CclipPath id='z'%3E%3Cpath d='M1773.238 264.172c-5.297 0-10.609-.332-15.949-1.043-54-7.188-97.348-58.648-139.258-108.41-33.141-39.328-67.402-80.008-106.582-98.398-59.801-28.082-110.289 20.469-159.109 67.418-18.898 18.172-38.449 36.973-58.07 50.711-35.961 25.199-73.891 30.082-115.98 14.91-37.301-13.438-74.148-40.988-109.789-67.621q-5.641-4.215-11.281-8.418c-4.43-3.289-8.867-6.621-13.309-9.949-36.84-27.609-74.941-56.172-112.887-67.832-42.414-13.039-79.867-2.891-114.492 31.031-16.523 16.191-32.754 36.129-48.445 55.41-39.277 48.25-79.688 97.871-130.754 97.879-9.812 0-20.012-1.828-30.68-5.859-37.207-14.039-70.711-46.262-103.109-77.41-40.496-38.949-82.371-79.219-131.27-83.418-46.418-3.98-94 29.027-140.008 60.957-14.711 10.211-28.602 19.852-42.152 28.043-37.727 22.809-69.516 39.328-102.016 45.848-37.859 7.59-71.754-.238-103.633-23.93l1.492-2.012c68.914 51.23 135.281 18.801 202.863-22.047 13.48-8.152 27.344-17.77 42.02-27.961 44.211-30.68 94.328-65.461 141.648-61.391 49.777 4.281 91.977 44.859 132.785 84.109 32.219 30.98 65.535 63.02 102.262 76.871 28.875 10.898 56.902 6.078 85.68-14.719 25.816-18.672 49.77-48.09 72.93-76.543 15.738-19.328 32.012-39.328 48.637-55.609 78.812-77.219 155.992-19.359 230.629 36.582 4.441 3.328 8.871 6.648 13.301 9.949 3.758 2.789 7.527 5.602 11.289 8.418 35.488 26.523 72.18 53.953 109.141 67.273 41.258 14.867 78.449 10.09 113.699-14.602 19.449-13.641 38.93-32.359 57.762-50.48 49.438-47.531 100.547-96.691 161.91-67.879 39.68 18.629 74.117 59.52 107.43 99.059 41.609 49.402 84.629 100.469 137.68 107.539 50.98 6.781 100.859-21.488 149.098-48.828 39.922-22.629 81.191-46.02 123.383-49.98l.227 2.488c-41.648 3.91-82.688 27.172-122.367 49.66-43.602 24.711-88.539 50.184-134.723 50.184'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23z)'%3E%3Cpath d='M-15.535-12.43h2045.863v279.859H-15.535z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='A'%3E%3Cpath d='M1773.789 235.84c-6.758 0-13.527-.531-20.309-1.68-52.301-8.832-95.051-56.699-136.402-102.988-34.617-38.762-70.418-78.844-111.559-95.75-56.828-23.383-107.051 22.027-155.609 65.938-16.898 15.281-32.852 29.711-49.191 41.531-27.391 19.82-53.629 27.898-79.23 27.898-54.309.012-105.738-36.379-159.188-74.188l-7.23-5.121c-4.191-2.961-8.379-5.941-12.57-8.91-37.359-26.57-75.984-54.039-114.066-64.871-42.969-12.23-79.645-2.34-115.402 31.121-16.23 15.191-32.176 33.52-47.598 51.25-39.828 45.789-80.832 92.918-132.191 92.93-8.207 0-16.672-1.211-25.445-3.809-40.168-11.922-76.121-43.953-110.887-74.93-40.105-35.73-81.578-72.684-129.246-78.191-46.316-5.352-93.809 25.941-139.738 56.211-13.945 9.188-27.121 17.867-40.027 25.348-67.445 39.09-133.75 70.223-203.395 22.422l1.414-2.062c68.445 46.973 134.004 16.152 200.727-22.52 12.844-7.449 25.988-16.109 39.906-25.277 44.145-29.09 94.18-62.062 141.398-56.602 48.453 5.602 90.227 42.809 130.625 78.809 34.563 30.793 70.301 62.633 109.938 74.391 27.824 8.262 55.039 2.672 83.199-17.09 25.27-17.738 48.941-44.949 71.836-71.277 15.465-17.773 31.449-36.152 47.777-51.434 19.242-18 38.664-29.129 59.387-34.008 18.5-4.359 37.605-3.609 58.41 2.309 38.492 10.949 77.301 38.551 114.828 65.242 4.18 2.98 8.371 5.949 12.562 8.91l7.238 5.117c39.738 28.113 77.281 54.672 115.891 66.891 43.27 13.699 81.281 7.152 119.621-20.59 16.219-11.738 32.129-26.121 48.969-41.348 49.141-44.434 99.949-90.383 158.25-66.41 41.66 17.137 77.66 57.438 112.469 96.41 41.062 45.957 83.52 93.5 134.941 102.188 51.891 8.762 103.848-19.219 154.109-46.27 39.789-21.43 80.93-43.578 122.09-47.648l.25 2.488c-40.66 4.02-81.578 26.051-121.16 47.359-44.109 23.75-89.539 48.211-135.391 48.211Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23A)'%3E%3CclipPath id='B'%3E%3Cpath d='M1773.789 235.84c-6.758 0-13.527-.531-20.309-1.68-52.301-8.832-95.051-56.699-136.402-102.988-34.617-38.762-70.418-78.844-111.559-95.75-56.828-23.383-107.051 22.027-155.609 65.938-16.898 15.281-32.852 29.711-49.191 41.531-27.391 19.82-53.629 27.898-79.23 27.898-54.309.012-105.738-36.379-159.188-74.188l-7.23-5.121c-4.191-2.961-8.379-5.941-12.57-8.91-37.359-26.57-75.984-54.039-114.066-64.871-42.969-12.23-79.645-2.34-115.402 31.121-16.23 15.191-32.176 33.52-47.598 51.25-39.828 45.789-80.832 92.918-132.191 92.93-8.207 0-16.672-1.211-25.445-3.809-40.168-11.922-76.121-43.953-110.887-74.93-40.105-35.73-81.578-72.684-129.246-78.191-46.316-5.352-93.809 25.941-139.738 56.211-13.945 9.188-27.121 17.867-40.027 25.348-67.445 39.09-133.75 70.223-203.395 22.422l1.414-2.062c68.445 46.973 134.004 16.152 200.727-22.52 12.844-7.449 25.988-16.109 39.906-25.277 44.145-29.09 94.18-62.062 141.398-56.602 48.453 5.602 90.227 42.809 130.625 78.809 34.563 30.793 70.301 62.633 109.938 74.391 27.824 8.262 55.039 2.672 83.199-17.09 25.27-17.738 48.941-44.949 71.836-71.277 15.465-17.773 31.449-36.152 47.777-51.434 19.242-18 38.664-29.129 59.387-34.008 18.5-4.359 37.605-3.609 58.41 2.309 38.492 10.949 77.301 38.551 114.828 65.242 4.18 2.98 8.371 5.949 12.562 8.91l7.238 5.117c39.738 28.113 77.281 54.672 115.891 66.891 43.27 13.699 81.281 7.152 119.621-20.59 16.219-11.738 32.129-26.121 48.969-41.348 49.141-44.434 99.949-90.383 158.25-66.41 41.66 17.137 77.66 57.438 112.469 96.41 41.062 45.957 83.52 93.5 134.941 102.188 51.891 8.762 103.848-19.219 154.109-46.27 39.789-21.43 80.93-43.578 122.09-47.648l.25 2.488c-40.66 4.02-81.578 26.051-121.16 47.359-44.109 23.75-89.539 48.211-135.391 48.211'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23B)'%3E%3Cpath d='M-15.496 5.469H2030.34v234.992H-15.496z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='C'%3E%3Cpath d='M1772.648 205.32c-6.957 0-13.918-.52-20.879-1.648-51.48-8.332-94.668-52.863-136.43-95.922-34.961-36.031-71.102-73.301-111.828-89.09-56.402-21.879-107.434 20.328-156.781 61.141-16.43 13.59-33.43 27.648-50.039 38.687-39.41 26.211-78.32 32.281-122.461 19.102-39.16-11.691-77.309-36.988-117.711-63.77l-4.668-3.09c-3.66-2.43-7.32-4.859-10.973-7.301-77.629-51.691-150.953-100.508-230.43-32.258-16.605 14.258-32.875 31.219-48.609 47.617-23.543 24.551-47.891 49.93-73.703 66.551-29.09 18.75-57.043 24.172-85.461 16.59-40.559-10.82-77.648-40.23-113.52-68.668-41.344-32.793-84.094-66.691-131.922-71.672-45.633-4.75-91.926 23.801-136.695 51.422-13.402 8.27-26.062 16.078-38.613 22.938-31.23 17.09-64.711 33.75-97.91 39.832-36.125 6.609-68.664.148-99.48-19.762l1.355-2.098c66.91 43.227 130.344 15.129 194.836-20.16 12.492-6.84 25.125-14.633 38.5-22.883 45.125-27.84 91.785-56.617 138.266-51.777 48.551 5.059 91.594 39.188 133.219 72.199 35.668 28.277 72.555 57.527 112.609 68.219 61.809 16.48 107.91-31.578 156.715-82.461 15.777-16.438 32.09-33.449 48.785-47.789 19.461-16.711 39-27.031 59.742-31.551 18.551-4.027 37.66-3.309 58.422 2.23 38.488 10.27 75.785 35.102 115.277 61.402 3.648 2.43 7.309 4.867 10.969 7.289l4.668 3.098c78.441 52 152.523 101.113 237.41 44.672 16.5-10.969 32.691-24.359 49.832-38.539 49.898-41.27 101.5-83.949 159.281-61.551 41.238 16 77.566 53.461 112.707 89.691 41.48 42.77 84.383 87 135.043 95.188 52.156 8.449 104.816-17.77 155.738-43.129 39.91-19.871 81.18-40.422 122.18-44.352l.238 2.492c-40.539 3.879-81.598 24.328-121.297 44.098-44.543 22.18-90.402 45.012-136.383 45.012Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23C)'%3E%3CclipPath id='D'%3E%3Cpath d='M1772.648 205.32c-6.957 0-13.918-.52-20.879-1.648-51.48-8.332-94.668-52.863-136.43-95.922-34.961-36.031-71.102-73.301-111.828-89.09-56.402-21.879-107.434 20.328-156.781 61.141-16.43 13.59-33.43 27.648-50.039 38.687-39.41 26.211-78.32 32.281-122.461 19.102-39.16-11.691-77.309-36.988-117.711-63.77l-4.668-3.09c-3.66-2.43-7.32-4.859-10.973-7.301-77.629-51.691-150.953-100.508-230.43-32.258-16.605 14.258-32.875 31.219-48.609 47.617-23.543 24.551-47.891 49.93-73.703 66.551-29.09 18.75-57.043 24.172-85.461 16.59-40.559-10.82-77.648-40.23-113.52-68.668-41.344-32.793-84.094-66.691-131.922-71.672-45.633-4.75-91.926 23.801-136.695 51.422-13.402 8.27-26.062 16.078-38.613 22.938-31.23 17.09-64.711 33.75-97.91 39.832-36.125 6.609-68.664.148-99.48-19.762l1.355-2.098c66.91 43.227 130.344 15.129 194.836-20.16 12.492-6.84 25.125-14.633 38.5-22.883 45.125-27.84 91.785-56.617 138.266-51.777 48.551 5.059 91.594 39.188 133.219 72.199 35.668 28.277 72.555 57.527 112.609 68.219 61.809 16.48 107.91-31.578 156.715-82.461 15.777-16.438 32.09-33.449 48.785-47.789 19.461-16.711 39-27.031 59.742-31.551 18.551-4.027 37.66-3.309 58.422 2.23 38.488 10.27 75.785 35.102 115.277 61.402 3.648 2.43 7.309 4.867 10.969 7.289l4.668 3.098c78.441 52 152.523 101.113 237.41 44.672 16.5-10.969 32.691-24.359 49.832-38.539 49.898-41.27 101.5-83.949 159.281-61.551 41.238 16 77.566 53.461 112.707 89.691 41.48 42.77 84.383 87 135.043 95.188 52.156 8.449 104.816-17.77 155.738-43.129 39.91-19.871 81.18-40.422 122.18-44.352l.238 2.492c-40.539 3.879-81.598 24.328-121.297 44.098-44.543 22.18-90.402 45.012-136.383 45.012'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23D)'%3E%3Cpath d='M-15.465-37.078h2045.793v246.727H-15.465z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='E'%3E%3Cpath d='M1771.48 173.23c-8.199 0-16.391-.66-24.559-2.109-49.332-8.723-91.793-48.25-132.852-86.48-36.84-34.289-74.93-69.75-117.73-82.719-54.57-16.531-104.871 20.789-153.5 56.867-18.668 13.859-37.98 28.18-56.98 38.922-25.23 14.258-49.52 20.168-73.281 20.168-55.418.012-107.93-32.187-162.566-65.68l-2.23-1.359q-5.009-3.078-10-6.148c-75.594-46.543-146.996-90.5-224.973-34.141-19.32 13.969-38.199 31.59-56.457 48.629-41.297 38.539-83.844 78.242-134.469 78.242-6.777 0-13.699-.711-20.785-2.23-41.883-9-81.234-35.793-119.293-61.703-45.898-31.25-93.363-63.559-144.973-64.09-49.672-.527-97.156 26.273-143.109 52.16-33.172 18.703-67.477 38.031-101.973 46.582-38.781 9.609-73.844 4.32-107.191-16.172l1.309-2.129c73.004 44.859 137.91 8.281 206.629-30.449 46.238-26.07 94.039-53.039 144.359-52.492 52.371.543 100.152 33.07 146.359 64.531 37.855 25.77 77.004 52.422 118.41 61.309 58.723 12.613 106.66-32.129 153.02-75.387 18.316-17.09 37.254-34.773 56.699-48.82 35.66-25.781 73.457-32.91 115.555-21.82 37.543 9.891 73.801 32.211 112.191 55.848 3.332 2.051 6.66 4.102 10 6.141l2.23 1.371c77.398 47.449 150.508 92.27 233.309 45.469 18.859-10.668 38.109-24.949 56.723-38.75 49.129-36.461 99.938-74.16 155.719-57.258 43.352 13.129 81.66 48.789 118.699 83.277 40.801 37.98 82.98 77.262 131.582 85.852 53.238 9.418 107.68-15.059 160.32-38.73 40.148-18.051 81.656-36.719 122.43-40.27l.219 2.488c-40.352 3.523-81.66 22.09-121.621 40.062-44.969 20.219-91.238 41.02-137.219 41.02Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23E)'%3E%3CclipPath id='F'%3E%3Cpath d='M1771.48 173.23c-8.199 0-16.391-.66-24.559-2.109-49.332-8.723-91.793-48.25-132.852-86.48-36.84-34.289-74.93-69.75-117.73-82.719-54.57-16.531-104.871 20.789-153.5 56.867-18.668 13.859-37.98 28.18-56.98 38.922-25.23 14.258-49.52 20.168-73.281 20.168-55.418.012-107.93-32.187-162.566-65.68l-2.23-1.359q-5.009-3.078-10-6.148c-75.594-46.543-146.996-90.5-224.973-34.141-19.32 13.969-38.199 31.59-56.457 48.629-41.297 38.539-83.844 78.242-134.469 78.242-6.777 0-13.699-.711-20.785-2.23-41.883-9-81.234-35.793-119.293-61.703-45.898-31.25-93.363-63.559-144.973-64.09-49.672-.527-97.156 26.273-143.109 52.16-33.172 18.703-67.477 38.031-101.973 46.582-38.781 9.609-73.844 4.32-107.191-16.172l1.309-2.129c73.004 44.859 137.91 8.281 206.629-30.449 46.238-26.07 94.039-53.039 144.359-52.492 52.371.543 100.152 33.07 146.359 64.531 37.855 25.77 77.004 52.422 118.41 61.309 58.723 12.613 106.66-32.129 153.02-75.387 18.316-17.09 37.254-34.773 56.699-48.82 35.66-25.781 73.457-32.91 115.555-21.82 37.543 9.891 73.801 32.211 112.191 55.848 3.332 2.051 6.66 4.102 10 6.141l2.23 1.371c77.398 47.449 150.508 92.27 233.309 45.469 18.859-10.668 38.109-24.949 56.723-38.75 49.129-36.461 99.938-74.16 155.719-57.258 43.352 13.129 81.66 48.789 118.699 83.277 40.801 37.98 82.98 77.262 131.582 85.852 53.238 9.418 107.68-15.059 160.32-38.73 40.148-18.051 81.656-36.719 122.43-40.27l.219 2.488c-40.352 3.523-81.66 22.09-121.621 40.062-44.969 20.219-91.238 41.02-137.219 41.02'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23F)'%3E%3Cpath d='M-15.441-45.809h2045.762v223.887H-15.441z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='G'%3E%3Cpath d='M1768.84 139.781c-8.141 0-16.281-.57-24.398-1.812-48.41-7.359-91.332-42.5-132.832-76.48-37.309-30.539-75.879-62.117-118.188-73.289-54.5-14.391-105.594 18.5-154.992 50.301-19.129 12.32-38.91 25.059-58.449 34.691-38.512 18.988-76.73 22.547-120.289 11.199-39.961-10.422-80.68-32.93-116.602-52.789l-5.621-3.113C960.739-13.999 888.262-54.128 809.02-4.199c-19.969 12.578-39.375 28.09-58.141 43.098-23.973 19.172-48.762 38.98-74.383 52.273-28.789 14.93-55.84 19.969-82.691 15.43-42.793-7.242-83.699-30.551-123.266-53.09-47.227-26.91-96.066-54.742-147.898-54.863h-.316c-46.621 0-91.781 22.801-135.461 44.852-32.309 16.301-65.719 33.172-99.141 40.359-37.57 8.09-71.309 2.879-103.148-15.93l1.273-2.16c69.715 41.199 132.945 9.281 199.891-24.508C229.677 19.09 275.11-3.851 322.321-3.851h.328c52.492.121 101.621 28.113 149.129 55.18 39.375 22.441 80.09 45.641 122.445 52.801 58.648 9.93 105.492-27.527 155.094-67.18 18.82-15.051 38.285-30.609 58.371-43.27 80.492-50.719 153.598-10.238 230.992 32.621l5.621 3.109c77.289 42.738 150.289 83.102 234.578 41.539 19.402-9.57 39.133-22.27 58.199-34.551 49.863-32.098 101.41-65.289 156.98-50.617 42.832 11.309 81.621 43.059 119.133 73.77 41.25 33.77 83.887 68.687 131.629 75.949 53.668 8.172 108.352-13.398 161.23-34.25 40.641-16.031 82.668-32.609 124.07-35.648l.18 2.5c-41.02 3.008-82.871 19.508-123.34 35.469-45.23 17.852-91.781 36.211-138.121 36.211Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23G)'%3E%3CclipPath id='H'%3E%3Cpath d='M1768.84 139.781c-8.141 0-16.281-.57-24.398-1.812-48.41-7.359-91.332-42.5-132.832-76.48-37.309-30.539-75.879-62.117-118.188-73.289-54.5-14.391-105.594 18.5-154.992 50.301-19.129 12.32-38.91 25.059-58.449 34.691-38.512 18.988-76.73 22.547-120.289 11.199-39.961-10.422-80.68-32.93-116.602-52.789l-5.621-3.113C960.739-13.999 888.262-54.128 809.02-4.199c-19.969 12.578-39.375 28.09-58.141 43.098-23.973 19.172-48.762 38.98-74.383 52.273-28.789 14.93-55.84 19.969-82.691 15.43-42.793-7.242-83.699-30.551-123.266-53.09-47.227-26.91-96.066-54.742-147.898-54.863h-.316c-46.621 0-91.781 22.801-135.461 44.852-32.309 16.301-65.719 33.172-99.141 40.359-37.57 8.09-71.309 2.879-103.148-15.93l1.273-2.16c69.715 41.199 132.945 9.281 199.891-24.508C229.677 19.09 275.11-3.851 322.321-3.851h.328c52.492.121 101.621 28.113 149.129 55.18 39.375 22.441 80.09 45.641 122.445 52.801 58.648 9.93 105.492-27.527 155.094-67.18 18.82-15.051 38.285-30.609 58.371-43.27 80.492-50.719 153.598-10.238 230.992 32.621l5.621 3.109c77.289 42.738 150.289 83.102 234.578 41.539 19.402-9.57 39.133-22.27 58.199-34.551 49.863-32.098 101.41-65.289 156.98-50.617 42.832 11.309 81.621 43.059 119.133 73.77 41.25 33.77 83.887 68.687 131.629 75.949 53.668 8.172 108.352-13.398 161.23-34.25 40.641-16.031 82.668-32.609 124.07-35.648l.18 2.5c-41.02 3.008-82.871 19.508-123.34 35.469-45.23 17.852-91.781 36.211-138.121 36.211'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23H)'%3E%3Cpath d='M-15.426-57.039h2045.727v200.711H-15.426z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='I'%3E%3Cpath d='M1764.059 104.82c-4.879 0-9.75-.172-14.629-.52-50.418-3.602-96.141-35.289-140.371-65.941-36.457-25.258-74.16-51.391-114.219-61.598-56.75-14.453-110.551 14.5-162.57 42.508-18.531 9.969-37.699 20.289-56.699 28.469-38.68 16.66-76.891 20.051-120.25 10.672-38.691-8.371-77.582-26.359-117.332-45.621-80.266-38.898-156.078-75.629-243.051-25.367-16.352 9.449-32.207 19.75-47.543 29.699-56.301 36.551-109.48 71.078-176.703 58.078-38.574-7.461-76.402-24.859-112.984-41.68-50.746-23.34-103.211-47.461-157.887-44.961-41.277 1.902-81.734 19.863-120.859 37.223-31.234 13.867-63.531 28.207-95.687 33.988-36.137 6.5-68.418 1.301-98.68-15.891l1.238-2.18c66.285 37.652 127.406 10.52 192.113-18.199 39.336-17.461 80.012-35.52 121.758-37.43 55.273-2.539 108.031 21.719 159.047 45.18 36.449 16.762 74.137 34.09 112.414 41.488 66.23 12.812 119.004-21.449 174.871-57.707 15.359-9.98 31.246-20.293 47.652-29.77 39.512-22.84 78.773-29.59 123.551-21.262 38.809 7.219 76.543 24.59 121.84 46.539 87.223 42.262 155.172 69.512 235.5 34.91 18.902-8.148 38.023-18.43 56.5-28.391 52.453-28.23 106.684-57.418 164.371-42.719 40.512 10.32 78.391 36.582 115.039 61.969 43.941 30.453 89.391 61.941 139.113 65.5 51.598 3.691 103.34-13.41 153.379-29.949 41.449-13.699 84.32-27.871 127.16-30.32l.141 2.5c-42.512 2.43-85.211 16.551-126.52 30.199-45.562 15.051-92.523 30.582-139.703 30.582Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23I)'%3E%3CclipPath id='J'%3E%3Cpath d='M1764.059 104.82c-4.879 0-9.75-.172-14.629-.52-50.418-3.602-96.141-35.289-140.371-65.941-36.457-25.258-74.16-51.391-114.219-61.598-56.75-14.453-110.551 14.5-162.57 42.508-18.531 9.969-37.699 20.289-56.699 28.469-38.68 16.66-76.891 20.051-120.25 10.672-38.691-8.371-77.582-26.359-117.332-45.621-80.266-38.898-156.078-75.629-243.051-25.367-16.352 9.449-32.207 19.75-47.543 29.699-56.301 36.551-109.48 71.078-176.703 58.078-38.574-7.461-76.402-24.859-112.984-41.68-50.746-23.34-103.211-47.461-157.887-44.961-41.277 1.902-81.734 19.863-120.859 37.223-31.234 13.867-63.531 28.207-95.687 33.988-36.137 6.5-68.418 1.301-98.68-15.891l1.238-2.18c66.285 37.652 127.406 10.52 192.113-18.199 39.336-17.461 80.012-35.52 121.758-37.43 55.273-2.539 108.031 21.719 159.047 45.18 36.449 16.762 74.137 34.09 112.414 41.488 66.23 12.812 119.004-21.449 174.871-57.707 15.359-9.98 31.246-20.293 47.652-29.77 39.512-22.84 78.773-29.59 123.551-21.262 38.809 7.219 76.543 24.59 121.84 46.539 87.223 42.262 155.172 69.512 235.5 34.91 18.902-8.148 38.023-18.43 56.5-28.391 52.453-28.23 106.684-57.418 164.371-42.719 40.512 10.32 78.391 36.582 115.039 61.969 43.941 30.453 89.391 61.941 139.113 65.5 51.598 3.691 103.34-13.41 153.379-29.949 41.449-13.699 84.32-27.871 127.16-30.32l.141 2.5c-42.512 2.43-85.211 16.551-126.52 30.199-45.562 15.051-92.523 30.582-139.703 30.582'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23J)'%3E%3Cpath d='M-15.406-62.84h2045.688V105.5H-15.406z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='K'%3E%3Cpath d='M1760.219 70.27q-6.807.002-13.598-.371c-49.242-2.668-95.141-29.027-139.531-54.52-37.109-21.32-75.48-43.359-115.539-51.379-57.012-11.422-111.691 12.531-164.57 35.699-18.941 8.289-38.531 16.871-58.012 23.742-82.777 29.23-155.988 4.047-236.289-29.25C945.828-41.829 872.84-66.27 790.395-27.2c-15.961 7.57-31.547 15.699-46.621 23.559-51.234 26.719-100 52.152-156.215 52.16-8.262 0-16.68-.551-25.297-1.73-40.062-5.461-79.617-19.43-117.867-32.938C393.012-4.301 339.879-23.071 285.348-21.11c-38.48 1.391-76.609 15.711-113.488 29.559C141.567 19.828 110.239 31.59 79.2 35.91c-34.883 4.852-65.82-.41-94.586-16.082l1.199-2.188C48.86 51.968 108.18 29.699 170.981 6.109 208.047-7.809 246.372-22.2 285.258-23.61c55.004-1.98 108.367 16.871 159.973 35.098 38.129 13.473 77.559 27.391 117.367 32.82 66.457 9.07 121.617-19.707 180.016-50.168 15.098-7.871 30.707-16.012 46.711-23.602C872.7-68.97 946.204-44.38 1033.63-8.122c79.82 33.102 152.562 58.141 234.512 29.211 19.391-6.852 38.93-15.41 57.828-23.691 53.242-23.309 108.312-47.418 166.07-35.848 40.461 8.098 79.02 30.238 116.301 51.66 44.129 25.34 89.77 51.559 138.41 54.188 51.539 2.812 103.289-11.227 153.34-24.797 42.43-11.512 86.309-23.402 130.07-25.113l.102 2.492c-43.48 1.711-87.223 13.559-129.512 25.031-45.859 12.438-93.148 25.25-140.531 25.258Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23K)'%3E%3CclipPath id='L'%3E%3Cpath d='M1760.219 70.27q-6.807.002-13.598-.371c-49.242-2.668-95.141-29.027-139.531-54.52-37.109-21.32-75.48-43.359-115.539-51.379-57.012-11.422-111.691 12.531-164.57 35.699-18.941 8.289-38.531 16.871-58.012 23.742-82.777 29.23-155.988 4.047-236.289-29.25C945.828-41.829 872.84-66.27 790.395-27.2c-15.961 7.57-31.547 15.699-46.621 23.559-51.234 26.719-100 52.152-156.215 52.16-8.262 0-16.68-.551-25.297-1.73-40.062-5.461-79.617-19.43-117.867-32.938C393.012-4.301 339.879-23.071 285.348-21.11c-38.48 1.391-76.609 15.711-113.488 29.559C141.567 19.828 110.239 31.59 79.2 35.91c-34.883 4.852-65.82-.41-94.586-16.082l1.199-2.188C48.86 51.968 108.18 29.699 170.981 6.109 208.047-7.809 246.372-22.2 285.258-23.61c55.004-1.98 108.367 16.871 159.973 35.098 38.129 13.473 77.559 27.391 117.367 32.82 66.457 9.07 121.617-19.707 180.016-50.168 15.098-7.871 30.707-16.012 46.711-23.602C872.7-68.97 946.204-44.38 1033.63-8.122c79.82 33.102 152.562 58.141 234.512 29.211 19.391-6.852 38.93-15.41 57.828-23.691 53.242-23.309 108.312-47.418 166.07-35.848 40.461 8.098 79.02 30.238 116.301 51.66 44.129 25.34 89.77 51.559 138.41 54.188 51.539 2.812 103.289-11.227 153.34-24.797 42.43-11.512 86.309-23.402 130.07-25.113l.102 2.492c-43.48 1.711-87.223 13.559-129.512 25.031-45.859 12.438-93.148 25.25-140.531 25.258'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23L)'%3E%3Cpath d='M-15.387-68.969h2045.648V70.269H-15.387z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='M'%3E%3Cpath d='M1755.609 35.719q-5.907 0-11.801-.207c-48.059-1.773-93.988-22.812-138.41-43.172-37.84-17.328-76.957-35.262-117.129-41.121-57.348-8.359-113.008 10.652-166.848 29.02-19.273 6.582-39.203 13.383-59.043 18.902-25.32 7.039-50.039 9.98-74.188 9.98-56.562 0-110-16.141-160.812-33.543-79.242-27.129-157.344-48.879-241.527-17.406-15.156 5.656-30.117 11.688-44.582 17.508-55.34 22.289-107.93 43.469-166.871 43.469-6.711 0-13.5-.27-20.387-.848-41.312-3.473-82.457-14.129-122.242-24.441-51.828-13.43-105.418-27.328-159.605-25.281-35.051 1.332-70.32 11.961-104.434 22.242-59.758 18-121.555 36.621-183.09 4.969l1.145-2.219C46.422 24.762 107.726 6.29 167.008-11.577c34.266-10.32 69.691-21 105.062-22.332 54.551-2.051 108.324 11.871 160.324 25.352 39.688 10.277 80.727 20.91 121.824 24.367 66.809 5.613 124.758-17.73 186.117-42.438 14.48-5.84 29.453-11.871 44.641-17.551 84.961-31.75 163.527-9.891 243.215 17.398 72.117 24.691 149.559 46.852 233.52 23.512 19.77-5.5 39.66-12.289 58.898-18.852 54.121-18.48 110.082-37.578 168.02-29.129 40.52 5.91 79.82 23.91 117.812 41.32 44.199 20.25 89.898 41.191 137.457 42.941 51.133 1.887 102.59-9.082 152.363-19.684 43.719-9.309 88.938-18.938 133.93-19.898l.047 2.5c-44.75.949-89.848 10.559-133.457 19.852-46.109 9.82-93.66 19.938-141.172 19.938'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23M)'%3E%3CclipPath id='N'%3E%3Cpath d='M1755.609 35.719q-5.907 0-11.801-.207c-48.059-1.773-93.988-22.812-138.41-43.172-37.84-17.328-76.957-35.262-117.129-41.121-57.348-8.359-113.008 10.652-166.848 29.02-19.273 6.582-39.203 13.383-59.043 18.902-25.32 7.039-50.039 9.98-74.188 9.98-56.562 0-110-16.141-160.812-33.543-79.242-27.129-157.344-48.879-241.527-17.406-15.156 5.656-30.117 11.688-44.582 17.508-55.34 22.289-107.93 43.469-166.871 43.469-6.711 0-13.5-.27-20.387-.848-41.312-3.473-82.457-14.129-122.242-24.441-51.828-13.43-105.418-27.328-159.605-25.281-35.051 1.332-70.32 11.961-104.434 22.242-59.758 18-121.555 36.621-183.09 4.969l1.145-2.219C46.422 24.762 107.726 6.29 167.008-11.577c34.266-10.32 69.691-21 105.062-22.332 54.551-2.051 108.324 11.871 160.324 25.352 39.688 10.277 80.727 20.91 121.824 24.367 66.809 5.613 124.758-17.73 186.117-42.438 14.48-5.84 29.453-11.871 44.641-17.551 84.961-31.75 163.527-9.891 243.215 17.398 72.117 24.691 149.559 46.852 233.52 23.512 19.77-5.5 39.66-12.289 58.898-18.852 54.121-18.48 110.082-37.578 168.02-29.129 40.52 5.91 79.82 23.91 117.812 41.32 44.199 20.25 89.898 41.191 137.457 42.941 51.133 1.887 102.59-9.082 152.363-19.684 43.719-9.309 88.938-18.938 133.93-19.898l.047 2.5c-44.75.949-89.848 10.559-133.457 19.852-46.109 9.82-93.66 19.938-141.172 19.938'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23N)'%3E%3Cpath d='M-15.359-75.93h2045.598V35.718H-15.359z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3CclipPath id='O'%3E%3Cpath d='M1749.961 1.621c-2.949 0-5.902-.031-8.84-.09-46.883-.961-92.672-16.902-136.961-32.312-38.648-13.457-78.609-27.367-119.031-31.199-57.77-5.461-114.539 8.832-169.438 22.641-19.473 4.91-39.613 9.969-59.652 14.141-24.98 5.199-49.578 7.398-73.711 7.398-55.906 0-109.418-11.789-160.02-25.449-88.453-23.879-163.258-35.328-240.809-13.57-13.859 3.891-27.688 7.98-41.062 11.941-64.879 19.199-126.164 37.32-194.113 34.707-43.07-1.656-86.293-9.156-128.09-16.406C367.023-35.46 314.07-44.639 261.156-43.1c-32.16.941-64.879 8.41-96.516 15.633-59.121 13.488-120.258 27.43-179.961-.781l1.066-2.262c58.922 27.84 119.629 13.992 178.336.602 31.758-7.25 64.594-14.738 97-15.691 53.168-1.559 106.246 7.652 157.578 16.562 41.719 7.238 84.855 14.719 127.758 16.367 67.543 2.602 128.633-15.469 193.312-34.609 13.379-3.957 27.219-8.047 41.094-11.938 78.098-21.922 153.281-10.43 242.137 13.559 72.148 19.469 150.25 35.141 232.57 18.012 19.988-4.152 40.098-9.223 59.547-14.113 55.113-13.867 112.094-28.207 170.281-22.707 40.719 3.859 80.832 17.82 119.629 31.32 44.09 15.348 89.691 31.227 136.184 32.18 50.207 1.02 100.898-7.012 149.918-14.77 45.469-7.203 92.48-14.641 139.121-14.891l.008 2.5c-46.449.25-93.367 7.668-138.738 14.859-46.262 7.32-94.012 14.891-141.52 14.891Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23O)'%3E%3CclipPath id='P'%3E%3Cpath d='M1749.961 1.621c-2.949 0-5.902-.031-8.84-.09-46.883-.961-92.672-16.902-136.961-32.312-38.648-13.457-78.609-27.367-119.031-31.199-57.77-5.461-114.539 8.832-169.438 22.641-19.473 4.91-39.613 9.969-59.652 14.141-24.98 5.199-49.578 7.398-73.711 7.398-55.906 0-109.418-11.789-160.02-25.449-88.453-23.879-163.258-35.328-240.809-13.57-13.859 3.891-27.688 7.98-41.062 11.941-64.879 19.199-126.164 37.32-194.113 34.707-43.07-1.656-86.293-9.156-128.09-16.406C367.023-35.46 314.07-44.639 261.156-43.1c-32.16.941-64.879 8.41-96.516 15.633-59.121 13.488-120.258 27.43-179.961-.781l1.066-2.262c58.922 27.84 119.629 13.992 178.336.602 31.758-7.25 64.594-14.738 97-15.691 53.168-1.559 106.246 7.652 157.578 16.562 41.719 7.238 84.855 14.719 127.758 16.367 67.543 2.602 128.633-15.469 193.312-34.609 13.379-3.957 27.219-8.047 41.094-11.938 78.098-21.922 153.281-10.43 242.137 13.559 72.148 19.469 150.25 35.141 232.57 18.012 19.988-4.152 40.098-9.223 59.547-14.113 55.113-13.867 112.094-28.207 170.281-22.707 40.719 3.859 80.832 17.82 119.629 31.32 44.09 15.348 89.691 31.227 136.184 32.18 50.207 1.02 100.898-7.012 149.918-14.77 45.469-7.203 92.48-14.641 139.121-14.891l.008 2.5c-46.449.25-93.367 7.668-138.738 14.859-46.262 7.32-94.012 14.891-141.52 14.891'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23P)'%3E%3Cpath d='M-15.32-81.141h2045.539V1.621H-15.32z' fill='%238b7fd4' style='fill-rule:nonzero'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-position:bottom center;background-size:cover;opacity:var(--zn-page-header-wave-opacity,0.04);pointer-events:none}:host-context([t=aura]) .page__header .header.header--has-navigation::before,:host-context(.theme-aura) .page__header .header.header--has-navigation::before{margin-bottom:-40px}.header{display:flex;flex-direction:column;position:relative;margin:0;padding:calc(var(--zn-base-px) * 3) var(--zn-base-gap) calc(var(--zn-base-px) * 3 - var(--zn-base-gap)) var(--zn-base-gap)}.header.header--has-navigation{padding:calc(var(--zn-base-px) * 3) var(--zn-base-gap)}.header .content{display:flex;flex-wrap:wrap;position:relative;width:100%;max-width:100%;height:-moz-fit-content;height:fit-content;gap:var(--zn-base-gap);margin:0 auto;padding:0;box-sizing:border-box}.header--has-navigation .content{min-height:36px}.header .caption{flex-grow:1;display:flex;align-items:flex-start;justify-content:space-between;gap:2px;max-width:100%;min-width:0;min-height:36px}.header .caption a{display:flex;align-items:center;color:inherit;text-decoration:none}.header__left{display:flex;justify-content:flex-start;flex-direction:column;gap:var(--zn-spacing-x-small);min-height:36px;flex-shrink:1;min-width:0;max-width:100%}.header__right{flex-grow:1;flex-shrink:0;overflow:hidden}.header__caption{font-weight:var(--zn-text-h1-font-weight);font-size:var(--zn-text-h1-font-size);text-transform:var(--zn-text-h1-transform,none);letter-spacing:var(--zn-text-h1-letter-spacing,normal);color:rgba(var(--zn-text-panel-title),100%);line-height:var(--zn-spacing-medium);margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;gap:var(--zn-spacing-2x-small);align-items:center;text-wrap:auto}.header__description{font-family:var(--zn-font-sans);font-size:var(--zn-text-subheading-font-size);font-weight:var(--zn-text-subheading-font-weight);line-height:var(--zn-text-subheading-line-height);color:var(--zn-text-subheading-color);text-transform:var(--zn-text-subheading-transform);letter-spacing:var(--zn-text-subheading-letter-spacing,normal);display:block;overflow-wrap:anywhere}.header .breadcrumb{display:inline-flex;align-items:center;gap:var(--zn-spacing-2x-small);font:inherit;color:inherit}.header .breadcrumb::slotted(a){font:inherit;color:inherit;text-decoration:inherit}.header .breadcrumb::slotted(a:hover){color:rgb(var(--zn-primary))}.header .breadcrumb::slotted([data-breadcrumb-separator]){color:rgb(var(--zn-text-muted))}.header .breadcrumb__separator{color:rgb(var(--zn-text-muted))}.header slot{display:flex;align-items:center;flex-wrap:wrap;gap:var(--zn-spacing-x-small);word-break:break-word}.header slot[name=actions]{justify-content:end;flex-wrap:nowrap}.header slot[name=actions]::slotted(zn-button-menu){flex-grow:1;flex-shrink:1}.caption__back{display:flex;justify-content:center;align-items:center;color:inherit}.alt-overlay{display:none}.alt-overlay--visible{display:flex}:host(.alt-pressed) .alt-overlay:empty{display:none !important}:host(.alt-pressed) .alt-overlay{display:flex}.alt-overlay{gap:10px;align-items:flex-end;position:absolute;left:0;top:0;padding:6px 15px;background:rgba(var(--zn-panel),0.95);z-index:10}.alt-overlay a{display:flex}.alt-overlay zn-icon:hover{color:rgb(var(--zn-primary));cursor:pointer}.page{display:flex;flex-direction:column;position:relative;height:100%;min-height:0;max-height:100%;width:100%;max-width:100%;overflow:auto;box-sizing:border-box;padding:0}.page__tabs{flex-grow:1;display:flex;flex-direction:column;min-height:0;width:100%;overflow:visible;box-sizing:border-box;padding:0 var(--zn-base-gap) var(--zn-base-gap);background-color:rgb(var(--zn-page-content-background,var(--zn-body)));background-image:var(--zn-page-texture);background-repeat:repeat;background-position:center top;background-size:var(--zn-page-texture-size)}.page__tabs .page__content{display:flex;flex-direction:column;flex-grow:1;min-height:0;max-width:100%;width:100%;overflow:visible;box-sizing:border-box}.page__tabs #content ::slotted(zn-tab){display:block !important}:host([flush]) .page__tabs,:host([flush]) .page__tabs .page__content#content{padding:0}zn-navbar::part(navbar){height:40px;min-height:40px;max-height:40px;padding-left:var(--zn-base-gap);margin:0}zn-navbar::part(navbar-item){height:40px;box-sizing:border-box;font-size:var(--zn-font-size-medium);line-height:16px}:host .page__header{padding-inline:0}:host .header{padding-inline:calc(var(--zn-gutter,0) + var(--zn-base-gap,0))}:host([modal]) .header{padding-inline-end:calc(var(--zn-base-gap,0) + var(--zn-page-closer-size) + var(--zn-page-closer-gap))}:host zn-navbar::part(navbar){padding-inline:calc(var(--zn-gutter,0) + var(--zn-base-gap,0))}:host .page__tabs{padding:0}:host .page__tabs #content.page__content{padding:0 var(--zn-gutter,0)}@container (max-width:600px){.header--has-breadcrumb .header__caption{align-items:flex-start;flex-direction:column;gap:var(--zn-spacing-3x-small)}.header--has-breadcrumb .breadcrumb{color:rgb(var(--zn-text-muted));font-size:var(--zn-font-size-small);font-weight:var(--zn-font-weight-normal);line-height:var(--zn-line-height-dense)}.header--has-breadcrumb .breadcrumb__separator{display:none}}`;var ar=class ar extends ln{constructor(){super(...arguments);this.pageSlotController=new Y(this,"breadcrumb","actions","caption");this.modal=!1;this.nested=!1;this.primary=!1;this.scrolled=!1;this.tabDefinitions=[];this.hasExpandingActions=!1;this.actionObserver=null;this.tabObserver=null;this.pageHistoryKey=null;this.handleAltPress=()=>{this.classList.toggle("alt-pressed",!0)};this.handleAltUp=()=>{this.classList.toggle("alt-pressed",!1)};this.handleBreadcrumbSlotChange=t=>{let n=t.target.assignedElements(),a=n.filter(s=>s.tagName==="A");n.forEach(s=>{if(!s.hasAttribute("data-breadcrumb-separator"))return;let l=s.previousElementSibling;l?.tagName==="A"&&a.indexOf(l)<a.length-1||s.remove()}),a.forEach((s,l)=>{if(l===a.length-1||s.nextElementSibling?.hasAttribute("data-breadcrumb-separator"))return;let h=document.createElement("zn-icon");h.setAttribute("src","arrow-right@lu"),h.setAttribute("size","16"),h.setAttribute("slot","breadcrumb"),h.setAttribute("data-breadcrumb-separator",""),s.after(h)})};this._registerTabs=()=>{this.registerPageNavigationTabs()}}async connectedCallback(){let t=super.connectedCallback();window.addEventListener("alt-press",this.handleAltPress),window.addEventListener("alt-up",this.handleAltUp),this.prepareTabs(),this.refreshExpandingActionsState(),this.tabObserver=new MutationObserver(r=>{r.some(n=>n.type==="childList")&&this.prepareTabs()}),this.tabObserver.observe(this,{childList:!0}),this.actionObserver=new MutationObserver(r=>{r.some(n=>n.type==="childList")&&(this.refreshExpandingActionsState(),this.syncExpandingActionsToNavbar())}),this.actionObserver.observe(this,{childList:!0,subtree:!0}),await t}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("alt-press",this.handleAltPress),window.removeEventListener("alt-up",this.handleAltUp),this.tabObserver?.disconnect(),this.tabObserver=null,this.actionObserver?.disconnect(),this.actionObserver=null}firstUpdated(t){super.firstUpdated(t),this.registerPagePanels(),this.syncExpandingActionsToNavbar(),setTimeout(()=>this.activateInitialPageTab(),20)}getOwnExpandingActions(){return Array.from(this.querySelectorAll("zn-expanding-action")).filter(t=>t.closest("zn-page")===this)}getNavbar(){return this.shadowRoot?.querySelector("zn-navbar")||null}refreshExpandingActionsState(){let t=this.getNavbar(),r=!!(t?.querySelector("zn-expanding-action")||t?.shadowRoot?.querySelector("zn-expanding-action")),n=this.getOwnExpandingActions().length>0||r;this.hasExpandingActions!==n&&(this.hasExpandingActions=n)}syncExpandingActionsToNavbar(){let t=this.getNavbar();t&&(this.getOwnExpandingActions().forEach(r=>t.addExpandingAction(r)),this.refreshExpandingActionsState())}prepareTabs(){let t=[],r=new Set;Array.from(this.children).filter(a=>a.tagName==="ZN-TAB").forEach((a,s)=>{let l=a.getAttribute("caption")||"Tab",d=a.getAttribute("id"),h=this.uniqueId(d!==null?d:this.captionToId(l),r),m=this.parsePriority(a.getAttribute("priority")),f=a.getAttribute("uri"),b=f?null:`page-tab-${s}`,g=a.hasAttribute("selected");a.id=h,f||(a.slot=b),t.push({id:h,caption:l,priority:m,sourceIndex:s,uri:f,slotName:b,selected:g})}),this.tabDefinitions=t.sort((a,s)=>this.compareTabs(a,s))}parsePriority(t){if(t===null||t.trim()==="")return null;let r=Number(t);return Number.isFinite(r)?r:null}compareTabs(t,r){return t.id===""&&r.id!==""?-1:t.id!==""&&r.id===""?1:t.priority!==null&&r.priority!==null&&t.priority!==r.priority?t.priority-r.priority:t.priority!==null&&r.priority===null?-1:t.priority===null&&r.priority!==null?1:t.sourceIndex-r.sourceIndex}captionToId(t){return t.trim().toLowerCase()==="overview"?"":t.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"tab"}uniqueId(t,r){let n=t,a=2;for(;r.has(n);)n=t===""?`tab-${a}`:`${t}-${a}`,a+=1;return r.add(n),n}handlePageScroll(t){let r=t.currentTarget.scrollTop>24;this.scrolled!==r&&(this.scrolled=r)}updated(t){super.updated(t),t.has("tabDefinitions")&&this.registerPagePanels(),(t.has("tabDefinitions")||t.has("hasExpandingActions"))&&this.syncExpandingActionsToNavbar()}handleNavigationSelect(t){let r=t.detail.item;if(this.getNavigationItemPage(r)!==this)return;let n=r.getAttribute("tab-uri"),a=r.getAttribute("tab");if(n){this.clickTab(r,!1,!0),this.syncNavigationActive(r);return}a!==null&&this.activateTab(a,!0,!0)}getNavigationItemPage(t){let r=t;for(;r;){if(r instanceof ar)return r;let n=r.getRootNode();if(!(n instanceof ShadowRoot))return t.closest("zn-page");r=n.host}return null}activateTab(t,r,n=!1){this.setActiveTab(t,r,!1,null,n);let a=this.shadowRoot?.querySelector(`zn-navbar li[tab="${CSS.escape(t)}"]`);a&&this.syncNavigationActive(a)}activateInitialPageTab(){let t=this.getStoredTab();if(t!==null){let s=this.tabDefinitions.find(l=>l.id===t||l.uri===t);if(s){this.activateTabDefinition(s);return}}let r=this.tabDefinitions.find(s=>s.selected);if(r){this.activateTabDefinition(r);return}let n=this.shadowRoot?.querySelector("#content > div[selected]"),a=this.tabDefinitions[0];!n&&a&&this.activateTab(a.id,!1)}getTabStoreKey(){return this.getPageHistoryKey()}activateDefaultTab(){let t=this.tabDefinitions.find(r=>r.selected)??this.tabDefinitions[0];t&&this.activateTabDefinition(t,!0)}getPageHistoryKey(){if(this.pageHistoryKey!==null)return this.pageHistoryKey;let t=[this],r=this.parentElement?.closest("zn-page")??null;for(;r;)t.unshift(r),r=r.parentElement?.closest("zn-page")??null;return this.pageHistoryKey=t.map(n=>n.id||n.getAttribute("caption")||"page").join("/"),this.pageHistoryKey}activateTabDefinition(t,r=!1){if(t.uri){let n=this.findNavItemForUri(t.uri);if(n){this.clickTab(n,!1),this.syncNavigationActive(n);return}}this.activateTab(t.id,r)}findNavItemForUri(t){let r=this.shadowRoot?.querySelectorAll("zn-navbar li[tab-uri]")??[];for(let n of Array.from(r))if(n.getAttribute("tab-uri")===t)return n;return null}registerPagePanels(){this.shadowRoot?.querySelectorAll("#content > div[id]").forEach(t=>{this._addPanel(t)}),this.registerPageNavigationTabs(),setTimeout(()=>this.registerPageNavigationTabs())}registerPageNavigationTabs(){this.shadowRoot?.querySelectorAll("zn-navbar li[tab], zn-navbar li[tab-uri]").forEach(t=>this._addTab(t)),this.shadowRoot?.querySelectorAll("zn-navbar").forEach(t=>{t.shadowRoot?.querySelectorAll("li[tab], li[tab-uri]").forEach(r=>this._addTab(r))})}syncNavigationActive(t){(this.shadowRoot?.querySelectorAll("zn-navbar li[tab], zn-navbar li[tab-uri]")||[]).forEach(n=>{let a=n===t;n.classList.toggle("active",a),n.classList.toggle("zn-tb-active",a)})}render(){let t=!this.modal&&!this.nested&&this.pageSlotController.test("breadcrumb"),r=this.tabDefinitions.length>1||this.hasExpandingActions,n=this.entityId,a=this.fullLocation,s=this.previousPath;return u`
1672
1672
  <div class="page" part="base" @scroll="${this.handlePageScroll}">
1673
1673
  <div class="${q({page__header:!0,"page__header--scrolled-no-navigation":this.scrolled&&!r})}" part="header">
1674
1674
  <div class="${q({header:!0,"header--has-breadcrumb":t,"header--has-entity-id":n,"header--has-full-location":a,"header--has-navigation":r,"header--has-previous":s})}">
@@ -2703,7 +2703,7 @@ ${Ra(this.code(i,t))}
2703
2703
  data-format-type="${this.uri}"
2704
2704
  data-toolbar-key="${this.key}"
2705
2705
  aria-label="${this.label}"></zn-button>
2706
- <div class="${this.handler}"></div>`}};c([p()],si.prototype,"uri",2),c([p()],si.prototype,"label",2),c([p()],si.prototype,"key",2),c([p()],si.prototype,"icon",2),c([p()],si.prototype,"handler",2),c([p({type:Boolean,attribute:"context-menu",reflect:!0})],si.prototype,"contextMenu",2),c([p({type:Number})],si.prototype,"order",2);si.define("zn-editor-tool");var Dc=si;si.define("zn-editor-tool");var Gf=class{constructor(i,t){this._startIndex=-1;this._dismissedIndex=-1;this._keydownHandler=i=>this.onKeydown(i);this._docClickHandler=i=>this.onDocumentClick(i);this._featureConfig={};this._caretAnchor={getBoundingClientRect:()=>this.caretRect()};this._quill=i,this._toolbarModule=i.getModule("toolbar"),this._featureConfig=t.config||{},this.initComponent(),this.attachEvents()}initComponent(){let i=this._quill.container.ownerDocument;this._menu=i.createElement("zn-slash-menu"),this._menu.heading="Options",this._caretAnchor.contextElement=this._quill.root,this._menu.anchor=this._caretAnchor,i.body.appendChild(this._menu)}attachEvents(){this._quill.on(ct.events.EDITOR_CHANGE,()=>this.updateFromEditor()),this._quill.root.addEventListener("keydown",this._keydownHandler),this._menu.addEventListener(ps,i=>this.onItemSelect(i)),this._quill.focus()}onDocumentClick(i){let t=i.composedPath();!t.includes(this._menu)&&!t.includes(this._quill.root)&&this.hide()}updateFromEditor(){let i=this.getToolbarQuery();if(!i||i.start===this._dismissedIndex){this.hide();return}let{start:t,formatQuery:r}=i,n=Od(this._getOptions(),r);if(!n.length){this.hide();return}this._startIndex=t,this._menu.query=r,this._menu.items=n,this.show()}caretRect(){let i=this._startIndex>=0?this._startIndex:this._quill.getSelection()?.index??0,t=this._quill.container.getBoundingClientRect(),r=this._quill.getBounds(i);return r?new DOMRect(t.left+r.left,t.top+r.top,0,r.height):new DOMRect(t.left,t.top,0,0)}getToolbarQuery(){try{let i=this._quill.getSelection();if(!i)return null;let t=i.index,r=50,n=this._quill.getText(Math.max(0,t-r),Math.min(r,t)),a=t-Math.max(0,t-r),s=n.slice(0,a),l=s.lastIndexOf("/");if(l===-1)return null;let d=l>0?s[l-1]:" ";if(d&&/[^\s\n]/.test(d))return null;let h=s.substring(l+1);return/[\s\n]/.test(h)?null:{start:t-h.length-1,formatQuery:h}}catch{return null}}onKeydown(i){if(this._menu.open)switch(i.key){case"Escape":i.preventDefault(),i.stopPropagation(),this._dismissedIndex=this._startIndex,this.hide();return;case"ArrowDown":i.preventDefault(),i.stopPropagation(),this._menu.moveActive(1);return;case"ArrowUp":i.preventDefault(),i.stopPropagation(),this._menu.moveActive(-1);return;case"Enter":{if(!this._menu.activeItem)return;i.preventDefault(),i.stopPropagation(),this._menu.selectActive()}}}onItemSelect(i){let t=i.detail?.item;if(t){if(t.key){this._clickToolbarItem(t.key);return}t.format&&this._applySelectedFormat(t.format,t.formatValue)}}_clickToolbarItem(i){this.deleteLastIndex(),this._toolbarModule.trigger?.(i),this.hide()}_applySelectedFormat(i,t){if(this.deleteLastIndex(),i==="insert"&&typeof t=="string"){let r=this._quill.getSelection();if(r){let n=r.index-1;this._quill.deleteText(n,1,ct.sources.USER),this._quill.getText(n-1,1)!==" "&&n>0&&(this._quill.insertText(n," ",ct.sources.USER),n+=1);let s=this._quill.clipboard.convert({html:t});this._quill.updateContents(new y_.default().retain(n).concat(s),ct.sources.USER),setTimeout(()=>this._quill.setSelection(n+s.length()+1,0,ct.sources.SILENT),0)}this._quill.focus(),this.hide();return}this._toolbarModule.callFormat(i,t),this._quill.focus(),this.hide()}deleteLastIndex(){let i=this._quill.getSelection();if(i&&this._startIndex>=0){let t=this._startIndex,r=i.index-t;r>=0&&(this._quill.deleteText(t,r,ct.sources.USER),this._quill.setSelection(t,0,ct.sources.SILENT))}}_getOptions(){let i=[],t=0,r=this._quill.container.getRootNode();if(r?.host){let n=r.querySelector('slot[name="context-items"]');(n?n.assignedElements({flatten:!0}):[]).forEach(d=>{if(!(d instanceof jf))return;let{label:h,content:m,uri:f,icon:b,key:g}=d,v;typeof d.order=="number"?v=d.order:v=t++,h&&b&&(g?i.push({icon:b,label:h,key:g,order:v}):f?i.push({icon:b,label:h,format:"dialog",formatValue:f,order:v}):m&&i.push({icon:b,label:h,format:"insert",formatValue:m,order:v}))});let s=r.querySelector('slot[name="tools"]');(s?s.assignedElements({flatten:!0}):[]).forEach(d=>{if(!(d instanceof Dc)||!d.contextMenu)return;let{label:h,icon:m,key:f}=d;if(!h||!m||!f)return;let b=typeof d.order=="number"?d.order:t++;i.push({icon:m,label:h,key:f,order:b})})}return i.push({icon:"bold@lu",label:"Bold",format:"bold",keywords:"bold",order:t++},{icon:"italic@lu",label:"Italic",format:"italic",keywords:"italic",order:t++},{icon:"underline@lu",label:"Underline",format:"underline",keywords:"underline",order:t++},{icon:"strikethrough@lu",label:"Strikethrough",format:"strike",keywords:"strike",order:t++},{icon:"text-quote@lu",label:"Blockquote",format:"blockquote",keywords:"blockquote",order:t++}),this._featureConfig.codeEnabled!==!1&&i.push({icon:"code@lu",label:"Inline Code",format:"code",keywords:"code",order:t++}),this._featureConfig.codeBlocksEnabled!==!1&&i.push({icon:"square-code@lu",label:"Code Block",format:"code-block",keywords:"code-block",order:t++}),i.push({icon:"heading-1@lu",label:"Heading 1",format:"header",formatValue:"1",keywords:"header,h1",order:t++},{icon:"heading-2@lu",label:"Heading 2",format:"header",formatValue:"2",keywords:"header,h2",order:t++},{icon:"case-sensitive@lu",label:"Normal Text",format:"header",formatValue:"",keywords:"header,paragraph",order:t++},{icon:"list@lu",label:"Bulleted List",format:"list",formatValue:"bullet",keywords:"list,bullet",order:t++},{icon:"list-ordered@lu",label:"Numbered List",format:"list",formatValue:"ordered",keywords:"list,ordered",order:t++},{icon:"list-todo@lu",label:"Checklist",format:"list",formatValue:"checked",keywords:"list,checked,todo",order:t++}),this._featureConfig.linksEnabled!==!1&&i.push({icon:"link@lu",label:"Link",format:"link",formatValue:!0,keywords:"link",order:t++}),this._featureConfig.dividersEnabled!==!1&&i.push({icon:"minus@lu",label:"Divider",format:"divider",keywords:"divider,hr",order:t++}),this._featureConfig.attachmentsEnabled!==!1&&i.push({icon:"paperclip@lu",label:"Attachment",format:"attachment",keywords:"attachment",order:t++}),this._featureConfig.imagesEnabled!==!1&&i.push({icon:"image@lu",label:"Image",format:"image",keywords:"image",order:t++}),this._featureConfig.videosEnabled!==!1&&i.push({icon:"video@lu",label:"Video",format:"video",keywords:"video",order:t++}),this._featureConfig.datesEnabled!==!1&&i.push({icon:"calendar@lu",label:"Date",format:"date",keywords:"date",order:t++}),i.push({icon:"remove-formatting@lu",label:"Clear Formatting",format:"clean",keywords:"clean",order:t++}),i}show(){this._menu.open||(this._menu.show(),this._quill.container.ownerDocument.addEventListener("click",this._docClickHandler))}hide(){this._startIndex=-1,this._menu.open&&(this._menu.hide(),this._quill.container.ownerDocument.removeEventListener("click",this._docClickHandler))}isOpen(){return this._menu?.open??!1}},x_=Gf;var w_=zr(Kf(),1);var Yf=class{constructor(i){this._quill=i,this._initPicker()}_initPicker(){this.getToolbarDateContainer().then(i=>{i&&(i.innerHTML="",new w_.default(i,{inline:!0,locale:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"MM/dd/yyyy",timeFormat:"hh:ii aa",firstDay:0},onSelect:({formattedDate:t})=>this._onDateSelect(t)}))})}async getToolbarDateContainer(){try{let i=this._quill.container?.getRootNode?.();if(!i)return null;let t=i.getElementById?.("toolbar");return await t?.updateComplete,t?.shadowRoot?.querySelector?.(".date-picker")??null}catch{return null}}_onDateSelect(i){try{if(!i||!this._quill)return;let t=this._quill.getSelection(!0);if(t){let r=Array.isArray(i)?i.join(", "):i;this._quill.insertText(t.index,r,ct.sources.USER),this._quill.setSelection(t.index+r.length,0,ct.sources.USER)}else{let r=Math.max(0,this._quill.getLength()-1),n=Array.isArray(i)?i.join(", "):i;this._quill.insertText(r,n,ct.sources.USER),this._quill.setSelection(r+n.length,0,ct.sources.USER)}}catch{}}},z_=Yf;var Xf=class{constructor(i,t){this._quill=i,this._editorId=t.editorId,this._document=this._quill.container.ownerDocument,this._initDialog()}_initDialog(){this._component=this.createComponent(),this._mountPoint().appendChild(this._component),this._component.editorId=this._editorId}get component(){return this._component}_mountPoint(){let i=this._quill.container.getRootNode();return(i instanceof ShadowRoot?i.host:null)?.parentElement??this._document.body}createComponent(){let i=u`
2706
+ <div class="${this.handler}"></div>`}};c([p()],si.prototype,"uri",2),c([p()],si.prototype,"label",2),c([p()],si.prototype,"key",2),c([p()],si.prototype,"icon",2),c([p()],si.prototype,"handler",2),c([p({type:Boolean,attribute:"context-menu",reflect:!0})],si.prototype,"contextMenu",2),c([p({type:Number})],si.prototype,"order",2);si.define("zn-editor-tool");var Dc=si;si.define("zn-editor-tool");var Gf=class{constructor(i,t){this._startIndex=-1;this._dismissedIndex=-1;this._keydownHandler=i=>this.onKeydown(i);this._docClickHandler=i=>this.onDocumentClick(i);this._featureConfig={};this._caretAnchor={getBoundingClientRect:()=>this.caretRect()};this._quill=i,this._toolbarModule=i.getModule("toolbar"),this._featureConfig=t.config||{},this.initComponent(),this.attachEvents()}initComponent(){let i=this._quill.container.ownerDocument;this._menu=i.createElement("zn-slash-menu"),this._menu.heading="Options",this._caretAnchor.contextElement=this._quill.root,this._menu.anchor=this._caretAnchor,i.body.appendChild(this._menu)}attachEvents(){this._quill.on(ct.events.EDITOR_CHANGE,()=>this.updateFromEditor()),this._quill.root.addEventListener("keydown",this._keydownHandler),this._menu.addEventListener(ds,i=>this.onItemSelect(i)),this._quill.focus()}onDocumentClick(i){let t=i.composedPath();!t.includes(this._menu)&&!t.includes(this._quill.root)&&this.hide()}updateFromEditor(){let i=this.getToolbarQuery();if(!i||i.start===this._dismissedIndex){this.hide();return}let{start:t,formatQuery:r}=i,n=Od(this._getOptions(),r);if(!n.length){this.hide();return}this._startIndex=t,this._menu.query=r,this._menu.items=n,this.show()}caretRect(){let i=this._startIndex>=0?this._startIndex:this._quill.getSelection()?.index??0,t=this._quill.container.getBoundingClientRect(),r=this._quill.getBounds(i);return r?new DOMRect(t.left+r.left,t.top+r.top,0,r.height):new DOMRect(t.left,t.top,0,0)}getToolbarQuery(){try{let i=this._quill.getSelection();if(!i)return null;let t=i.index,r=50,n=this._quill.getText(Math.max(0,t-r),Math.min(r,t)),a=t-Math.max(0,t-r),s=n.slice(0,a),l=s.lastIndexOf("/");if(l===-1)return null;let d=l>0?s[l-1]:" ";if(d&&/[^\s\n]/.test(d))return null;let h=s.substring(l+1);return/[\s\n]/.test(h)?null:{start:t-h.length-1,formatQuery:h}}catch{return null}}onKeydown(i){if(this._menu.open)switch(i.key){case"Escape":i.preventDefault(),i.stopPropagation(),this._dismissedIndex=this._startIndex,this.hide();return;case"ArrowDown":i.preventDefault(),i.stopPropagation(),this._menu.moveActive(1);return;case"ArrowUp":i.preventDefault(),i.stopPropagation(),this._menu.moveActive(-1);return;case"Enter":{if(!this._menu.activeItem)return;i.preventDefault(),i.stopPropagation(),this._menu.selectActive()}}}onItemSelect(i){let t=i.detail?.item;if(t){if(t.key){this._clickToolbarItem(t.key);return}t.format&&this._applySelectedFormat(t.format,t.formatValue)}}_clickToolbarItem(i){this.deleteLastIndex(),this._toolbarModule.trigger?.(i),this.hide()}_applySelectedFormat(i,t){if(this.deleteLastIndex(),i==="insert"&&typeof t=="string"){let r=this._quill.getSelection();if(r){let n=r.index-1;this._quill.deleteText(n,1,ct.sources.USER),this._quill.getText(n-1,1)!==" "&&n>0&&(this._quill.insertText(n," ",ct.sources.USER),n+=1);let s=this._quill.clipboard.convert({html:t});this._quill.updateContents(new y_.default().retain(n).concat(s),ct.sources.USER),setTimeout(()=>this._quill.setSelection(n+s.length()+1,0,ct.sources.SILENT),0)}this._quill.focus(),this.hide();return}this._toolbarModule.callFormat(i,t),this._quill.focus(),this.hide()}deleteLastIndex(){let i=this._quill.getSelection();if(i&&this._startIndex>=0){let t=this._startIndex,r=i.index-t;r>=0&&(this._quill.deleteText(t,r,ct.sources.USER),this._quill.setSelection(t,0,ct.sources.SILENT))}}_getOptions(){let i=[],t=0,r=this._quill.container.getRootNode();if(r?.host){let n=r.querySelector('slot[name="context-items"]');(n?n.assignedElements({flatten:!0}):[]).forEach(d=>{if(!(d instanceof jf))return;let{label:h,content:m,uri:f,icon:b,key:g}=d,v;typeof d.order=="number"?v=d.order:v=t++,h&&b&&(g?i.push({icon:b,label:h,key:g,order:v}):f?i.push({icon:b,label:h,format:"dialog",formatValue:f,order:v}):m&&i.push({icon:b,label:h,format:"insert",formatValue:m,order:v}))});let s=r.querySelector('slot[name="tools"]');(s?s.assignedElements({flatten:!0}):[]).forEach(d=>{if(!(d instanceof Dc)||!d.contextMenu)return;let{label:h,icon:m,key:f}=d;if(!h||!m||!f)return;let b=typeof d.order=="number"?d.order:t++;i.push({icon:m,label:h,key:f,order:b})})}return i.push({icon:"bold@lu",label:"Bold",format:"bold",keywords:"bold",order:t++},{icon:"italic@lu",label:"Italic",format:"italic",keywords:"italic",order:t++},{icon:"underline@lu",label:"Underline",format:"underline",keywords:"underline",order:t++},{icon:"strikethrough@lu",label:"Strikethrough",format:"strike",keywords:"strike",order:t++},{icon:"text-quote@lu",label:"Blockquote",format:"blockquote",keywords:"blockquote",order:t++}),this._featureConfig.codeEnabled!==!1&&i.push({icon:"code@lu",label:"Inline Code",format:"code",keywords:"code",order:t++}),this._featureConfig.codeBlocksEnabled!==!1&&i.push({icon:"square-code@lu",label:"Code Block",format:"code-block",keywords:"code-block",order:t++}),i.push({icon:"heading-1@lu",label:"Heading 1",format:"header",formatValue:"1",keywords:"header,h1",order:t++},{icon:"heading-2@lu",label:"Heading 2",format:"header",formatValue:"2",keywords:"header,h2",order:t++},{icon:"case-sensitive@lu",label:"Normal Text",format:"header",formatValue:"",keywords:"header,paragraph",order:t++},{icon:"list@lu",label:"Bulleted List",format:"list",formatValue:"bullet",keywords:"list,bullet",order:t++},{icon:"list-ordered@lu",label:"Numbered List",format:"list",formatValue:"ordered",keywords:"list,ordered",order:t++},{icon:"list-todo@lu",label:"Checklist",format:"list",formatValue:"checked",keywords:"list,checked,todo",order:t++}),this._featureConfig.linksEnabled!==!1&&i.push({icon:"link@lu",label:"Link",format:"link",formatValue:!0,keywords:"link",order:t++}),this._featureConfig.dividersEnabled!==!1&&i.push({icon:"minus@lu",label:"Divider",format:"divider",keywords:"divider,hr",order:t++}),this._featureConfig.attachmentsEnabled!==!1&&i.push({icon:"paperclip@lu",label:"Attachment",format:"attachment",keywords:"attachment",order:t++}),this._featureConfig.imagesEnabled!==!1&&i.push({icon:"image@lu",label:"Image",format:"image",keywords:"image",order:t++}),this._featureConfig.videosEnabled!==!1&&i.push({icon:"video@lu",label:"Video",format:"video",keywords:"video",order:t++}),this._featureConfig.datesEnabled!==!1&&i.push({icon:"calendar@lu",label:"Date",format:"date",keywords:"date",order:t++}),i.push({icon:"remove-formatting@lu",label:"Clear Formatting",format:"clean",keywords:"clean",order:t++}),i}show(){this._menu.open||(this._menu.show(),this._quill.container.ownerDocument.addEventListener("click",this._docClickHandler))}hide(){this._startIndex=-1,this._menu.open&&(this._menu.hide(),this._quill.container.ownerDocument.removeEventListener("click",this._docClickHandler))}isOpen(){return this._menu?.open??!1}},x_=Gf;var w_=zr(Kf(),1);var Yf=class{constructor(i){this._quill=i,this._initPicker()}_initPicker(){this.getToolbarDateContainer().then(i=>{i&&(i.innerHTML="",new w_.default(i,{inline:!0,locale:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"MM/dd/yyyy",timeFormat:"hh:ii aa",firstDay:0},onSelect:({formattedDate:t})=>this._onDateSelect(t)}))})}async getToolbarDateContainer(){try{let i=this._quill.container?.getRootNode?.();if(!i)return null;let t=i.getElementById?.("toolbar");return await t?.updateComplete,t?.shadowRoot?.querySelector?.(".date-picker")??null}catch{return null}}_onDateSelect(i){try{if(!i||!this._quill)return;let t=this._quill.getSelection(!0);if(t){let r=Array.isArray(i)?i.join(", "):i;this._quill.insertText(t.index,r,ct.sources.USER),this._quill.setSelection(t.index+r.length,0,ct.sources.USER)}else{let r=Math.max(0,this._quill.getLength()-1),n=Array.isArray(i)?i.join(", "):i;this._quill.insertText(r,n,ct.sources.USER),this._quill.setSelection(r+n.length,0,ct.sources.USER)}}catch{}}},z_=Yf;var Xf=class{constructor(i,t){this._quill=i,this._editorId=t.editorId,this._document=this._quill.container.ownerDocument,this._initDialog()}_initDialog(){this._component=this.createComponent(),this._mountPoint().appendChild(this._component),this._component.editorId=this._editorId}get component(){return this._component}_mountPoint(){let i=this._quill.container.getRootNode();return(i instanceof ShadowRoot?i.host:null)?.parentElement??this._document.body}createComponent(){let i=u`
2707
2707
  <zn-editor-dialog></zn-editor-dialog>`;return Ie(i)}isOpen(){return this._component.dialogEl.open}close(){this._component.dialogEl.close()}},__=Xf;var FM={onDrop:()=>{},draggableContentTypePattern:"^image\\/",draggables:[]},Nc=class{constructor(i,t){this._container=null;this._draggables=[];this.nullReturner=()=>null;this.handleDrop=i=>{let t=this._options.onDrop,r=i.target&&i.target["ql-data"]?i.target:this._container,n=i.dataTransfer?.files,a=VM(n,this._draggables);a.length!==0&&(i.stopPropagation(),i.preventDefault(),Promise.all(a.map(s=>Promise.resolve((t||this.nullReturner)(s.file,{tag:s.tag,attr:s.attr})).then(l=>({on_drop_ret_val:l,fileInfo:s})))).then(s=>Promise.all(s.map(({on_drop_ret_val:l,fileInfo:d})=>{if(l===!1)return;let{tag:h,attr:m}=d,f;return l===null||(f=l),Promise.resolve(f).then(b=>({data:b,tag:h,attr:m}))}))).then(s=>s.forEach(l=>{if(l){let{data:d,tag:h,attr:m}=l,f=document.createElement(h);f.setAttribute(m,d),r.appendChild(f)}})))};this._quill=i,this._options=Object.assign({},FM,t),this._container=this._quill.addContainer("ql-editor"),this._draggables=this._options.draggables.map(BM),this._quill.root.addEventListener("drop",this.handleDrop)}},BM=o=>{if(o.content_type_pattern&&o.tag&&o.attr){let i=Object.assign({},o);return i.content_type_regex=new RegExp(o.content_type_pattern),delete i.content_type_pattern,i}e.draggable=o},VM=(o,i)=>{let t=[];if(o)for(let r=0;r<o.length;r++){let n=o.item(r),a=i.find(s=>s.content_type_regex.test(n.type));a&&t.push({file:n,tag:a.tag,attr:a.attr})}return t};var k_;function vh(){return k_??(k_=(async()=>{let[o,i]=await Promise.all([import("./chunks/zn.XO7QERPZ.js"),import("./chunks/zn.GRJSS6IO.js")]),t=i.default;try{o.init({data:t})}catch{}return{Picker:o.Picker,SearchIndex:o.SearchIndex,data:t}})()),k_}var Qf=class{constructor(i){this._mo=null;this._quill=i,this.initPicker();let t=this.getHostEditor();t&&(this._mo=new MutationObserver(()=>this.initPicker()),this._mo.observe(t,{attributes:!0,attributeFilter:["t"]}))}getHostEditor(){let i=this._quill.container?.getRootNode?.();return i&&i.host}async getToolbarEmojiContainer(){try{let i=this._quill.container?.getRootNode?.();if(!i)return null;let t=i.getElementById?.("toolbar");return await t?.updateComplete,t?.shadowRoot?.querySelector?.(".emoji-picker")??null}catch{return null}}getTheme(){let i=this.getHostEditor();return(i?.t??i?.getAttribute?.("t"))==="dark"?"dark":"light"}initPicker(){Promise.all([this.getToolbarEmojiContainer(),vh()]).then(([i,{Picker:t,data:r}])=>{i&&(i.innerHTML="",new t({parent:i,data:r,previewPosition:"none",skinTonePosition:"none",theme:this.getTheme(),set:"native",icons:"solid",onEmojiSelect:n=>this.onEmojiSelect(n)}))})}onEmojiSelect(i){let t=i?.native??i?.skins?.[0]?.native??"";if(!t||!this._quill)return;let r=this._quill.getSelection(!0);if(r)this._quill.insertText(r.index,t,ct.sources.USER),this._quill.setSelection(r.index+t.length,0,ct.sources.USER);else{let n=Math.max(0,this._quill.getLength()-1);this._quill.insertText(n,t,ct.sources.USER),this._quill.setSelection(n+t.length,0,ct.sources.USER)}this.getToolbarEmojiContainer().then(n=>{if(!n)return;n.getRootNode().host?.closest?.("zn-dialog")?.hide?.()})}},C_=Qf;var S_=_`:host{position:absolute;z-index:var(--zn-z-index-editor-action);display:none;background:var(--zn-panel-background-color);border:1px solid var(--zn-border-color);border-radius:8px;box-shadow:var(--zn-shadow-medium);padding:6px;max-height:220px;overflow-y:auto;min-width:180px}:host([open]){display:block}.header{padding:4px 6px;font-size:var(--zn-font-size-x-small);opacity:0.6}.item{display:flex;align-items:center;gap:8px;padding:6px 8px;width:100%;border:none;background:transparent;cursor:pointer;font:inherit}.item[aria-selected=true]{background:var(--zn-input-background-color-hover)}.emoji{font-size:var(--zn-font-size-medium)}.label{opacity:0.7}.empty{padding:8px;opacity:0.7}`;var po=class extends k{constructor(){super(...arguments);this.open=!1;this.query="";this.results=[];this._activeIndex=-1;this.onMouseEnterItem=t=>{let r=t.currentTarget;if(!r)return;let n=parseInt(r.dataset.index||"-1",10);Number.isNaN(n)||this.setActiveIndex(n)};this.onClickItem=t=>{let r=t.currentTarget;if(!r)return;let n=parseInt(r.dataset.index||"-1",10);if(Number.isNaN(n))return;let a=this.results?.[n];a&&this.dispatchEvent(new CustomEvent("zn-emoji-select",{bubbles:!0,composed:!0,detail:{emojiChar:a.emojiChar,label:a.label}}))}}show(){this.open=!0}hide(){this.open=!1,this._activeIndex=-1}setPosition(t,r){this.style.left=`${Math.max(0,t)}px`,this.style.top=`${r}px`}setActiveIndex(t){let r=this.results?.length??0;if(!r){this._activeIndex=-1;return}t<0&&(t=r-1),t>=r&&(t=0),this._activeIndex=t,this.requestUpdate(),requestAnimationFrame(()=>{Array.from(this.renderRoot.querySelectorAll("[data-emoji-item]"))[this._activeIndex]?.scrollIntoView?.({block:"nearest"})})}getActiveIndex(){return this._activeIndex}willUpdate(t){t.has("results")&&(this._activeIndex=this.results?.length?0:-1)}render(){return u`
2708
2708
  <div class="header">${this.query?`Emoji: ${this.query}`:"Emoji"}</div>
2709
2709
  ${Array.isArray(this.results)&&this.results.length>0?this.results.slice(0,20).map((t,r)=>u`
@@ -4567,7 +4567,7 @@ ${this.parser.parse(o)}</blockquote>
4567
4567
  ${o}</tr>
4568
4568
  `}tablecell(o){let i=this.parser.parseInline(o.tokens),t=o.header?"th":"td";return(o.align?`<${t} align="${o.align}">`:`<${t}>`)+i+`</${t}>
4569
4569
  `}strong({tokens:o}){return`<strong>${this.parser.parseInline(o)}</strong>`}em({tokens:o}){return`<em>${this.parser.parseInline(o)}</em>`}codespan({text:o}){return`<code>${Hn(o,!0)}</code>`}br(o){return"<br>"}del({tokens:o}){return`<del>${this.parser.parseInline(o)}</del>`}link({href:o,title:i,tokens:t}){let r=this.parser.parseInline(t),n=R2(o);if(n===null)return r;o=n;let a='<a href="'+o+'"';return i&&(a+=' title="'+Hn(i)+'"'),a+=">"+r+"</a>",a}image({href:o,title:i,text:t,tokens:r}){r&&(t=this.parser.parseInline(r,this.parser.textRenderer));let n=R2(o);if(n===null)return Hn(t);o=n;let a=`<img src="${o}" alt="${Hn(t)}"`;return i&&(a+=` title="${Hn(i)}"`),a+=">",a}text(o){return"tokens"in o&&o.tokens?this.parser.parseInline(o.tokens):"escaped"in o&&o.escaped?o.text:Hn(o.text)}},mg=class{strong({text:o}){return o}em({text:o}){return o}codespan({text:o}){return o}del({text:o}){return o}html({text:o}){return o}text({text:o}){return o}link({text:o}){return""+o}image({text:o}){return""+o}br(){return""}checkbox({raw:o}){return o}},bn=class og{constructor(i){V(this,"options");V(this,"renderer");V(this,"textRenderer");this.options=i||Ua,this.options.renderer=this.options.renderer||new Eh,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new mg}static parse(i,t){return new og(t).parse(i)}static parseInline(i,t){return new og(t).parseInline(i)}parse(i){this.renderer.parser=this;let t="";for(let r=0;r<i.length;r++){let n=i[r];if(this.options.extensions?.renderers?.[n.type]){let s=n,l=this.options.extensions.renderers[s.type].call({parser:this},s);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){t+=l||"";continue}}let a=n;switch(a.type){case"space":{t+=this.renderer.space(a);break}case"hr":{t+=this.renderer.hr(a);break}case"heading":{t+=this.renderer.heading(a);break}case"code":{t+=this.renderer.code(a);break}case"table":{t+=this.renderer.table(a);break}case"blockquote":{t+=this.renderer.blockquote(a);break}case"list":{t+=this.renderer.list(a);break}case"checkbox":{t+=this.renderer.checkbox(a);break}case"html":{t+=this.renderer.html(a);break}case"def":{t+=this.renderer.def(a);break}case"paragraph":{t+=this.renderer.paragraph(a);break}case"text":{t+=this.renderer.text(a);break}default:{let s='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return t}parseInline(i,t=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<i.length;n++){let a=i[n];if(this.options.extensions?.renderers?.[a.type]){let l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=l||"";continue}}let s=a;switch(s.type){case"escape":{r+=t.text(s);break}case"html":{r+=t.html(s);break}case"link":{r+=t.link(s);break}case"image":{r+=t.image(s);break}case"checkbox":{r+=t.checkbox(s);break}case"strong":{r+=t.strong(s);break}case"em":{r+=t.em(s);break}case"codespan":{r+=t.codespan(s);break}case"br":{r+=t.br(s);break}case"del":{r+=t.del(s);break}case"text":{r+=t.text(s);break}default:{let l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return r}},kh,Fc=(kh=class{constructor(o){V(this,"options");V(this,"block");this.options=o||Ua}preprocess(o){return o}postprocess(o){return o}processAllTokens(o){return o}emStrongMask(o){return o}provideLexer(o=this.block){return o?gn.lex:gn.lexInline}provideParser(o=this.block){return o?bn.parse:bn.parseInline}},V(kh,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),V(kh,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),kh),Cq=class{constructor(...o){V(this,"defaults",ag());V(this,"options",this.setOptions);V(this,"parse",this.parseMarkdown(!0));V(this,"parseInline",this.parseMarkdown(!1));V(this,"Parser",bn);V(this,"Renderer",Eh);V(this,"TextRenderer",mg);V(this,"Lexer",gn);V(this,"Tokenizer",Sh);V(this,"Hooks",Fc);this.use(...o)}walkTokens(o,i){let t=[];for(let r of o)switch(t=t.concat(i.call(this,r)),r.type){case"table":{let n=r;for(let a of n.header)t=t.concat(this.walkTokens(a.tokens,i));for(let a of n.rows)for(let s of a)t=t.concat(this.walkTokens(s.tokens,i));break}case"list":{let n=r;t=t.concat(this.walkTokens(n.items,i));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(a=>{let s=n[a].flat(1/0);t=t.concat(this.walkTokens(s,i))}):n.tokens&&(t=t.concat(this.walkTokens(n.tokens,i)))}}return t}use(...o){let i=this.defaults.extensions||{renderers:{},childTokens:{}};return o.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let a=i.renderers[n.name];a?i.renderers[n.name]=function(...s){let l=n.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:i.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=i[n.level];a?a.unshift(n.tokenizer):i[n.level]=[n.tokenizer],n.start&&(n.level==="block"?i.startBlock?i.startBlock.push(n.start):i.startBlock=[n.start]:n.level==="inline"&&(i.startInline?i.startInline.push(n.start):i.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(i.childTokens[n.name]=n.childTokens)}),r.extensions=i),t.renderer){let n=this.defaults.renderer||new Eh(this.defaults);for(let a in t.renderer){if(!(a in n))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let s=a,l=t.renderer[s],d=n[s];n[s]=(...h)=>{let m=l.apply(n,h);return m===!1&&(m=d.apply(n,h)),m||""}}r.renderer=n}if(t.tokenizer){let n=this.defaults.tokenizer||new Sh(this.defaults);for(let a in t.tokenizer){if(!(a in n))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let s=a,l=t.tokenizer[s],d=n[s];n[s]=(...h)=>{let m=l.apply(n,h);return m===!1&&(m=d.apply(n,h)),m}}r.tokenizer=n}if(t.hooks){let n=this.defaults.hooks||new Fc;for(let a in t.hooks){if(!(a in n))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let s=a,l=t.hooks[s],d=n[s];Fc.passThroughHooks.has(a)?n[s]=h=>{if(this.defaults.async&&Fc.passThroughHooksRespectAsync.has(a))return(async()=>{let f=await l.call(n,h);return d.call(n,f)})();let m=l.call(n,h);return d.call(n,m)}:n[s]=(...h)=>{if(this.defaults.async)return(async()=>{let f=await l.apply(n,h);return f===!1&&(f=await d.apply(n,h)),f})();let m=l.apply(n,h);return m===!1&&(m=d.apply(n,h)),m}}r.hooks=n}if(t.walkTokens){let n=this.defaults.walkTokens,a=t.walkTokens;r.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),n&&(l=l.concat(n.call(this,s))),l}}this.defaults={...this.defaults,...r}}),this}setOptions(o){return this.defaults={...this.defaults,...o},this}lexer(o,i){return gn.lex(o,i??this.defaults)}parser(o,i){return bn.parse(o,i??this.defaults)}parseMarkdown(o){return(i,t)=>{let r={...t},n={...this.defaults,...r},a=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof i>"u"||i===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof i!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=o),n.async)return(async()=>{let s=n.hooks?await n.hooks.preprocess(i):i,l=await(n.hooks?await n.hooks.provideLexer(o):o?gn.lex:gn.lexInline)(s,n),d=n.hooks?await n.hooks.processAllTokens(l):l;n.walkTokens&&await Promise.all(this.walkTokens(d,n.walkTokens));let h=await(n.hooks?await n.hooks.provideParser(o):o?bn.parse:bn.parseInline)(d,n);return n.hooks?await n.hooks.postprocess(h):h})().catch(a);try{n.hooks&&(i=n.hooks.preprocess(i));let s=(n.hooks?n.hooks.provideLexer(o):o?gn.lex:gn.lexInline)(i,n);n.hooks&&(s=n.hooks.processAllTokens(s)),n.walkTokens&&this.walkTokens(s,n.walkTokens);let l=(n.hooks?n.hooks.provideParser(o):o?bn.parse:bn.parseInline)(s,n);return n.hooks&&(l=n.hooks.postprocess(l)),l}catch(s){return a(s)}}}onError(o,i){return t=>{if(t.message+=`
4570
- Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+Hn(t.message+"",!0)+"</pre>";return i?Promise.resolve(r):r}if(i)return Promise.reject(t);throw t}}},Va=new Cq;function Ht(o,i){return Va.parse(o,i)}Ht.options=Ht.setOptions=function(o){return Va.setOptions(o),Ht.defaults=Va.defaults,H2(Ht.defaults),Ht};Ht.getDefaults=ag;Ht.defaults=Ua;Ht.use=function(...o){return Va.use(...o),Ht.defaults=Va.defaults,H2(Ht.defaults),Ht};Ht.walkTokens=function(o,i){return Va.walkTokens(o,i)};Ht.parseInline=Va.parseInline;Ht.Parser=bn;Ht.parser=bn.parse;Ht.Renderer=Eh;Ht.TextRenderer=mg;Ht.Lexer=gn;Ht.lexer=gn.lex;Ht.Tokenizer=Sh;Ht.Hooks=Fc;Ht.parse=Ht;var X3t=Ht.options,Q3t=Ht.setOptions,J3t=Ht.use,Z3t=Ht.walkTokens,t5t=Ht.parseInline;var e5t=bn.parse,r5t=gn.lex;var X2=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}.panel{border:1px solid rgb(var(--zn-border-color));background-color:rgba(var(--zn-panel),var(--zn-panel-opacity));border-radius:var(--zn-border-radius)}.markdown-editor{display:flex;flex-direction:column;gap:var(--zn-spacing-small);width:100%;height:100%;min-height:0}:host([expanded]){position:absolute;top:10px;bottom:10px;left:var(--zn-sp-padding);right:var(--zn-sp-padding);z-index:var(--zn-z-index-editor-action,1000000)}:host([expanded]) .panel,:host([expanded]) .panel__inner,:host([expanded]) .panel__content,:host([expanded]) .panel__body{height:100%;max-height:100%}:host([expanded]) .markdown-editor{height:100%}.markdown-editor__label{font-size:var(--zn-input-label-font-size-medium);color:var(--zn-input-label-color);font-weight:var(--zn-font-weight-semibold)}.markdown-editor__toolbar{display:flex;align-items:end;gap:var(--zn-spacing-small);justify-content:flex-end;flex-wrap:wrap}.markdown-editor__markdown-link{display:inline-flex;align-items:center;gap:var(--zn-spacing-x-small);margin-right:auto;font-size:var(--zn-input-label-font-size-small);line-height:1;color:var(--zn-color-neutral-500,#656d76);text-decoration:none;cursor:pointer;transition:color 0.15s ease;padding-left:var(--zn-spacing-x-small)}.markdown-editor__markdown-link:hover{color:var(--zn-color-primary-600,#0969da)}.markdown-editor__markdown-link span{white-space:nowrap}.markdown-editor__view-toggle{display:inline-flex}.markdown-editor__body{display:flex;flex:1;min-height:0;gap:var(--zn-spacing-medium)}.markdown-editor__editor,.markdown-editor__preview-wrapper{flex:1;min-width:0;min-height:0;display:flex}.markdown-editor__editor[hidden],.markdown-editor__preview-wrapper[hidden]{display:none}.markdown-editor__editor zn-textarea{flex:1;width:100%}.markdown-editor__preview-wrapper{overflow:hidden}.markdown-editor__preview{flex:1;background:var(--zn-color-neutral-0,white);border:1px solid var(--zn-color-neutral-200);border-radius:var(--zn-border-radius);padding:var(--zn-spacing-x-large);overflow-y:auto;font-family:inherit;line-height:1.7;color:var(--zn-color-text,#222)}.markdown-editor__preview h1{font-size:1.8em;margin:0.8em 0 0.4em;border-bottom:1px solid var(--zn-color-neutral-200);padding-bottom:0.3em}.markdown-editor__preview h2{font-size:1.5em;margin:0.8em 0 0.4em;border-bottom:1px solid var(--zn-color-neutral-200);padding-bottom:0.2em}.markdown-editor__preview h3{font-size:1.25em;margin:0.7em 0 0.3em}.markdown-editor__preview h4,.markdown-editor__preview h5,.markdown-editor__preview h6{font-size:1.1em;margin:0.6em 0 0.3em}.markdown-editor__preview p{margin:0.6em 0}.markdown-editor__preview ul,.markdown-editor__preview ol{margin:0.6em 0;padding-left:2em;display:block}.markdown-editor__preview ul{list-style-type:disc}.markdown-editor__preview ol{list-style-type:decimal}.markdown-editor__preview ul ul{list-style-type:circle}.markdown-editor__preview ul ul ul{list-style-type:square}.markdown-editor__preview li{margin:0.2em 0;display:list-item}.markdown-editor__preview blockquote{border-left:4px solid var(--zn-color-neutral-300);margin:0.8em 0;padding:0.4em 1em;color:var(--zn-color-neutral-600,#555)}.markdown-editor__preview table{border-collapse:collapse;width:100%;margin:0.8em 0}.markdown-editor__preview th,.markdown-editor__preview td{border:1px solid var(--zn-color-neutral-300);padding:0.4em 0.8em;text-align:left}.markdown-editor__preview th{background:var(--zn-color-neutral-100);font-weight:bold}.markdown-editor__preview code{background:var(--zn-color-neutral-100);padding:0.15em 0.4em;border-radius:3px;font-size:0.9em}.markdown-editor__preview pre{background:var(--zn-color-neutral-100);padding:1em;border-radius:4px;overflow-x:auto}.markdown-editor__preview pre code{background:none;padding:0}.markdown-editor__preview hr{border:none;border-top:1px solid var(--zn-color-neutral-300);margin:1.5em 0}.markdown-editor__preview a{color:var(--zn-color-primary-600)}.markdown-editor__help-text{font-size:var(--zn-input-help-text-font-size-medium);color:var(--zn-input-help-text-color)}`;var Sq=[{mode:"editor",icon:"edit_note",label:"Editor"},{mode:"split",icon:"vertical_split",label:"Split"},{mode:"preview",icon:"visibility",label:"Preview"}],ce=class extends oe{constructor(){super(...arguments);this.formControlController=new rt(this,{assumeInteractionOn:["zn-input","zn-change"]});this.markdownSlotController=new Y(this,"label","help-text","actions","footer");this.debounceTimer=null;this.name="";this.value="";this.defaultValue="";this.label="";this.helpText="";this.placeholder="Enter markdown content...";this.rows=20;this.viewMode="editor";this.storageKey="zn-markdown-editor-view-mode";this.required=!1;this.readonly=!1;this.disabled=!1;this.expanded=!1;this.handleInput=()=>{this.value=this.textarea.value,this.emit("zn-input"),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>this.renderPreview(),150)};this.handleChange=()=>{this.value=this.textarea.value,this.emit("zn-change"),this.renderPreview()};this.handleViewToggle=t=>{let n=t.target.closest("[data-mode]")?.dataset.mode;!n||n===this.viewMode||(this.viewMode=n)};this.handleExpandToggle=()=>{this.expanded=!this.expanded}}get validity(){return this.textarea?.validity}get validationMessage(){return this.textarea?.validationMessage??""}checkValidity(){return this.textarea?.checkValidity()??!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.textarea?.reportValidity()??!0}setCustomValidity(t){this.textarea?.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.textarea?.focus(t)}blur(){this.textarea?.blur()}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute("value")&&!this.value){let r=Array.from(this.childNodes).filter(s=>s.nodeType===Node.TEXT_NODE),a=r.map(s=>s.textContent??"").join("").replace(/\r\n/g,`
4570
+ Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+Hn(t.message+"",!0)+"</pre>";return i?Promise.resolve(r):r}if(i)return Promise.reject(t);throw t}}},Va=new Cq;function Ht(o,i){return Va.parse(o,i)}Ht.options=Ht.setOptions=function(o){return Va.setOptions(o),Ht.defaults=Va.defaults,H2(Ht.defaults),Ht};Ht.getDefaults=ag;Ht.defaults=Ua;Ht.use=function(...o){return Va.use(...o),Ht.defaults=Va.defaults,H2(Ht.defaults),Ht};Ht.walkTokens=function(o,i){return Va.walkTokens(o,i)};Ht.parseInline=Va.parseInline;Ht.Parser=bn;Ht.parser=bn.parse;Ht.Renderer=Eh;Ht.TextRenderer=mg;Ht.Lexer=gn;Ht.lexer=gn.lex;Ht.Tokenizer=Sh;Ht.Hooks=Fc;Ht.parse=Ht;var K3t=Ht.options,Y3t=Ht.setOptions,X3t=Ht.use,Q3t=Ht.walkTokens,J3t=Ht.parseInline;var Z3t=bn.parse,t5t=gn.lex;var X2=_`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:none}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:var(--zn-default-margin,0 auto)}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}.panel{border:1px solid rgb(var(--zn-border-color));background-color:rgba(var(--zn-panel),var(--zn-panel-opacity));border-radius:var(--zn-border-radius)}.markdown-editor{display:flex;flex-direction:column;gap:var(--zn-spacing-small);width:100%;height:100%;min-height:0}:host([expanded]){position:absolute;top:10px;bottom:10px;left:var(--zn-sp-padding);right:var(--zn-sp-padding);z-index:var(--zn-z-index-editor-action,1000000)}:host([expanded]) .panel,:host([expanded]) .panel__inner,:host([expanded]) .panel__content,:host([expanded]) .panel__body{height:100%;max-height:100%}:host([expanded]) .markdown-editor{height:100%}.markdown-editor__label{font-size:var(--zn-input-label-font-size-medium);color:var(--zn-input-label-color);font-weight:var(--zn-font-weight-semibold)}.markdown-editor__toolbar{display:flex;align-items:end;gap:var(--zn-spacing-small);justify-content:flex-end;flex-wrap:wrap}.markdown-editor__markdown-link{display:inline-flex;align-items:center;gap:var(--zn-spacing-x-small);margin-right:auto;font-size:var(--zn-input-label-font-size-small);line-height:1;color:var(--zn-color-neutral-500,#656d76);text-decoration:none;cursor:pointer;transition:color 0.15s ease;padding-left:var(--zn-spacing-x-small)}.markdown-editor__markdown-link:hover{color:var(--zn-color-primary-600,#0969da)}.markdown-editor__markdown-link span{white-space:nowrap}.markdown-editor__view-toggle{display:inline-flex}.markdown-editor__body{display:flex;flex:1;min-height:0;gap:var(--zn-spacing-medium)}.markdown-editor__editor,.markdown-editor__preview-wrapper{flex:1;min-width:0;min-height:0;display:flex}.markdown-editor__editor[hidden],.markdown-editor__preview-wrapper[hidden]{display:none}.markdown-editor__editor zn-textarea{flex:1;width:100%}.markdown-editor__preview-wrapper{overflow:hidden}.markdown-editor__preview{flex:1;background:var(--zn-color-neutral-0,white);border:1px solid var(--zn-color-neutral-200);border-radius:var(--zn-border-radius);padding:var(--zn-spacing-x-large);overflow-y:auto;font-family:inherit;line-height:1.7;color:var(--zn-color-text,#222)}.markdown-editor__preview h1{font-size:1.8em;margin:0.8em 0 0.4em;border-bottom:1px solid var(--zn-color-neutral-200);padding-bottom:0.3em}.markdown-editor__preview h2{font-size:1.5em;margin:0.8em 0 0.4em;border-bottom:1px solid var(--zn-color-neutral-200);padding-bottom:0.2em}.markdown-editor__preview h3{font-size:1.25em;margin:0.7em 0 0.3em}.markdown-editor__preview h4,.markdown-editor__preview h5,.markdown-editor__preview h6{font-size:1.1em;margin:0.6em 0 0.3em}.markdown-editor__preview p{margin:0.6em 0}.markdown-editor__preview ul,.markdown-editor__preview ol{margin:0.6em 0;padding-left:2em;display:block}.markdown-editor__preview ul{list-style-type:disc}.markdown-editor__preview ol{list-style-type:decimal}.markdown-editor__preview ul ul{list-style-type:circle}.markdown-editor__preview ul ul ul{list-style-type:square}.markdown-editor__preview li{margin:0.2em 0;display:list-item}.markdown-editor__preview blockquote{border-left:4px solid var(--zn-color-neutral-300);margin:0.8em 0;padding:0.4em 1em;color:var(--zn-color-neutral-600,#555)}.markdown-editor__preview table{border-collapse:collapse;width:100%;margin:0.8em 0}.markdown-editor__preview th,.markdown-editor__preview td{border:1px solid var(--zn-color-neutral-300);padding:0.4em 0.8em;text-align:left}.markdown-editor__preview th{background:var(--zn-color-neutral-100);font-weight:bold}.markdown-editor__preview code{background:var(--zn-color-neutral-100);padding:0.15em 0.4em;border-radius:3px;font-size:0.9em}.markdown-editor__preview pre{background:var(--zn-color-neutral-100);padding:1em;border-radius:4px;overflow-x:auto}.markdown-editor__preview pre code{background:none;padding:0}.markdown-editor__preview hr{border:none;border-top:1px solid var(--zn-color-neutral-300);margin:1.5em 0}.markdown-editor__preview a{color:var(--zn-color-primary-600)}.markdown-editor__help-text{font-size:var(--zn-input-help-text-font-size-medium);color:var(--zn-input-help-text-color)}`;var Sq=[{mode:"editor",icon:"edit_note",label:"Editor"},{mode:"split",icon:"vertical_split",label:"Split"},{mode:"preview",icon:"visibility",label:"Preview"}],ce=class extends oe{constructor(){super(...arguments);this.formControlController=new rt(this,{assumeInteractionOn:["zn-input","zn-change"]});this.markdownSlotController=new Y(this,"label","help-text","actions","footer");this.debounceTimer=null;this.name="";this.value="";this.defaultValue="";this.label="";this.helpText="";this.placeholder="Enter markdown content...";this.rows=20;this.viewMode="editor";this.storageKey="zn-markdown-editor-view-mode";this.required=!1;this.readonly=!1;this.disabled=!1;this.expanded=!1;this.handleInput=()=>{this.value=this.textarea.value,this.emit("zn-input"),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>this.renderPreview(),150)};this.handleChange=()=>{this.value=this.textarea.value,this.emit("zn-change"),this.renderPreview()};this.handleViewToggle=t=>{let n=t.target.closest("[data-mode]")?.dataset.mode;!n||n===this.viewMode||(this.viewMode=n)};this.handleExpandToggle=()=>{this.expanded=!this.expanded}}get validity(){return this.textarea?.validity}get validationMessage(){return this.textarea?.validationMessage??""}checkValidity(){return this.textarea?.checkValidity()??!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.textarea?.reportValidity()??!0}setCustomValidity(t){this.textarea?.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.textarea?.focus(t)}blur(){this.textarea?.blur()}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute("value")&&!this.value){let r=Array.from(this.childNodes).filter(s=>s.nodeType===Node.TEXT_NODE),a=r.map(s=>s.textContent??"").join("").replace(/\r\n/g,`
4571
4571
  `).trim();a.length>0&&(this.value=a,this.defaultValue=a,r.forEach(s=>{(s.textContent??"").trim().length>0&&s.parentNode?.removeChild(s)}))}let t=this.readStoredViewMode();t&&(this.viewMode=t),this.addEventListener("toggle",this.handleExpandToggle)}disconnectedCallback(){super.disconnectedCallback(),this.debounceTimer&&clearTimeout(this.debounceTimer),this.removeEventListener("toggle",this.handleExpandToggle)}firstUpdated(t){super.firstUpdated(t),this.formControlController.updateValidity(),this.viewMode!=="editor"&&this.renderPreview()}readStoredViewMode(){if(!this.storageKey)return null;try{let t=localStorage.getItem(this.storageKey);if(t==="editor"||t==="split"||t==="preview")return t}catch{}return null}writeStoredViewMode(t){if(this.storageKey)try{localStorage.setItem(this.storageKey,t)}catch{}}renderPreview(){if(this.viewMode==="editor"||!this.previewEl)return;let t=Ht.parse(this.value||"",{async:!1});this.previewEl.innerHTML=typeof t=="string"?t:""}async handleViewModeChange(){await this.updateComplete,this.writeStoredViewMode(this.viewMode),this.renderPreview(),this.dispatchEvent(new CustomEvent("zn-view-mode-change",{bubbles:!0,composed:!0,detail:{mode:this.viewMode}}))}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.renderPreview()}handleMarkedReady(){this.renderPreview()}render(){let t=this.markdownSlotController.test("label"),r=this.markdownSlotController.test("help-text"),n=this.markdownSlotController.test("actions"),a=this.markdownSlotController.test("footer"),s=!!this.label||t,l=!!this.helpText||r,d=!!this.caption||n,h=this.viewMode==="editor"||this.viewMode==="split",m=this.viewMode==="preview"||this.viewMode==="split";return u`
4572
4572
  <div part="base" class=${q({panel:!0,"panel--flush":this.flush||this.tabbed,"panel--flush-x":this.flushX,"panel--flush-y":this.flushY,"panel--flush-footer":this.flushFooter,"panel--tabbed":this.tabbed,"panel--transparent":this.transparent,"panel--has-actions":n,"panel--has-footer":a,"panel--has-header":d,"panel--cosmic":this.cosmic,"panel--shadow":this.shadow})}>
4573
4573
 
@@ -6216,4 +6216,4 @@ ${n}`:""}</li></ol>`};return t(0)}parseTable(i,t){this.index++;let r=[],n=[];for
6216
6216
  `:""}
6217
6217
  <div part="content" class="background__content"><slot></slot></div>
6218
6218
  </div>
6219
- `}};Rr.styles=z(n3),Rr.dependencies={"zn-icon":nt},c([p()],Rr.prototype,"image",2),c([p()],Rr.prototype,"color",2),c([p({attribute:"image-strength",reflect:!0})],Rr.prototype,"imageStrength",2),c([p({reflect:!0})],Rr.prototype,"motion",2),c([p({reflect:!0})],Rr.prototype,"overlay",2),c([p({attribute:"overlay-tone",reflect:!0})],Rr.prototype,"overlayTone",2),c([p({attribute:"floating-icons"})],Rr.prototype,"floatingIcons",2),c([p({type:Boolean,reflect:!0})],Rr.prototype,"paused",2);var YI=Rr;Rr.define("zn-background");export{b5 as AbsoluteContainer,xL as ActionBar,Su as Alert,qL as AnimatedButton,$L as AudioSelect,YI as Background,t8 as BulkActions,_t as Button,Gn as ButtonGroup,bL as ButtonMenu,x4 as ChannelTile,k4 as Chart,Y5 as ChatMessage,X5 as ChatMessageAttachment,GM as Checkbox,iL as CheckboxGroup,Rl as Chip,xa as Collapsible,gL as ColorSelect,h4 as Cols,Pl as Confirm,kL as ContentBlock,Eu as CopyButton,fL as DataSelect,d4 as DataTable,Mu as DataTableFilter,Hu as DataTableSearch,yL as DataTableSort,KM as Datepicker,f4 as DefinedLabel,za as Dialog,je as Dropdown,UM as Editor,Vi as EditorDialog,jf as EditorQuickAction,Dc as EditorTool,Fu as EmptyState,Ju as ExpandingAction,rL as File,EL as FilterContainer,CL as FilterWrapper,$g as FlowBranchConditions,gI as FlowBuilder,vI as FlowStep,qg as FlowStepGroup,bI as FlowSteps,YM as FormActions,XM as FormGroup,Qu as Header,Bu as HoverContainer,nt as Icon,I4 as IconPicker,Jd as InlineEdit,ye as Input,QM as InputGroup,nL as Item,ML as Key,LL as KeyContainer,JM as LinkedSelect,Eq as MarkdownEditor,gi as Menu,rn as MenuItem,ka as Navbar,g4 as Note,Ku as OptGroup,qe as Option,Z4 as OrderTable,q4 as Page,CI as PageBuilder,wL as PageNav,Rg as PagePaletteItem,Ng as PageSectionCard,D4 as Pagination,H4 as Pane,O4 as Panel,Dl as Popup,Hg as PreviewFrame,RL as PriorityList,J4 as ProgressBar,Q4 as ProgressTile,X4 as QueryBuilder,ZM as Radio,eL as RadioGroup,tL as Rating,Kq as RemarkdEditor,TL as Reveal,UI as ScheduleBuilder,K4 as ScrollContainer,ne as Select,SL as SettingsContainer,V4 as Sidebar,E4 as SimpleChart,Vu as Skeleton,Fl as SlashItem,_a as SlashMenu,vL as Slideout,j4 as Sp,_L as SplitButton,B4 as SplitPane,W4 as Stat,zL as StatusIndicator,G4 as Stepper,Uu as Style,Zu as Tab,P4 as Table,ln as Tabs,Oc as Textarea,AI as ThemeEditor,WI as Thumbnail,KI as ThumbnailGroup,b4 as Tile,v4 as TileGroup,y4 as TileProperty,N4 as Timer,jM as Toggle,Qi as Tooltip,IL as TranslationGroup,AL as Translations,R4 as VerticalStepper,Q5 as Well,k as ZincElement,Pu as caretRectFrom,L3 as clearFormStoreValues,_3 as deepQuery,k3 as deepQueryAll,Gt as deepQuerySelectorAll,Ou as getCaretCoordinates,XB as getCaretRect,dr as idSelector,Ie as litToHTML,Zd as on};
6219
+ `}};Rr.styles=z(n3),Rr.dependencies={"zn-icon":nt},c([p()],Rr.prototype,"image",2),c([p()],Rr.prototype,"color",2),c([p({attribute:"image-strength",reflect:!0})],Rr.prototype,"imageStrength",2),c([p({reflect:!0})],Rr.prototype,"motion",2),c([p({reflect:!0})],Rr.prototype,"overlay",2),c([p({attribute:"overlay-tone",reflect:!0})],Rr.prototype,"overlayTone",2),c([p({attribute:"floating-icons"})],Rr.prototype,"floatingIcons",2),c([p({type:Boolean,reflect:!0})],Rr.prototype,"paused",2);var YI=Rr;Rr.define("zn-background");export{b5 as AbsoluteContainer,xL as ActionBar,Su as Alert,qL as AnimatedButton,$L as AudioSelect,YI as Background,t8 as BulkActions,_t as Button,Gn as ButtonGroup,bL as ButtonMenu,x4 as ChannelTile,k4 as Chart,Y5 as ChatMessage,X5 as ChatMessageAttachment,GM as Checkbox,iL as CheckboxGroup,Rl as Chip,xa as Collapsible,gL as ColorSelect,h4 as Cols,Pl as Confirm,kL as ContentBlock,Eu as CopyButton,fL as DataSelect,d4 as DataTable,Mu as DataTableFilter,Hu as DataTableSearch,yL as DataTableSort,KM as Datepicker,f4 as DefinedLabel,za as Dialog,je as Dropdown,UM as Editor,Vi as EditorDialog,jf as EditorQuickAction,Dc as EditorTool,Fu as EmptyState,Ju as ExpandingAction,rL as File,EL as FilterContainer,CL as FilterWrapper,$g as FlowBranchConditions,gI as FlowBuilder,vI as FlowStep,qg as FlowStepGroup,bI as FlowSteps,YM as FormActions,XM as FormGroup,Qu as Header,Bu as HoverContainer,nt as Icon,I4 as IconPicker,Jd as InlineEdit,ye as Input,QM as InputGroup,nL as Item,ML as Key,LL as KeyContainer,JM as LinkedSelect,Eq as MarkdownEditor,gi as Menu,rn as MenuItem,ka as Navbar,g4 as Note,Ku as OptGroup,qe as Option,Z4 as OrderTable,q4 as Page,CI as PageBuilder,wL as PageNav,Rg as PagePaletteItem,Ng as PageSectionCard,D4 as Pagination,H4 as Pane,O4 as Panel,Dl as Popup,Hg as PreviewFrame,RL as PriorityList,J4 as ProgressBar,Q4 as ProgressTile,X4 as QueryBuilder,ZM as Radio,eL as RadioGroup,tL as Rating,Kq as RemarkdEditor,TL as Reveal,UI as ScheduleBuilder,K4 as ScrollContainer,ne as Select,SL as SettingsContainer,V4 as Sidebar,E4 as SimpleChart,Vu as Skeleton,Fl as SlashItem,_a as SlashMenu,vL as Slideout,j4 as Sp,_L as SplitButton,B4 as SplitPane,W4 as Stat,zL as StatusIndicator,G4 as Stepper,Uu as Style,Zu as Tab,P4 as Table,ln as Tabs,Oc as Textarea,AI as ThemeEditor,WI as Thumbnail,KI as ThumbnailGroup,b4 as Tile,v4 as TileGroup,y4 as TileProperty,N4 as Timer,jM as Toggle,Qi as Tooltip,IL as TranslationGroup,AL as Translations,R4 as VerticalStepper,Q5 as Well,k as ZincElement,Ru as caretRectFrom,L3 as clearFormStoreValues,_3 as deepQuery,k3 as deepQueryAll,Gt as deepQuerySelectorAll,Du as getCaretCoordinates,KB as getCaretRect,dr as idSelector,Ie as litToHTML,Zd as on};