@qualityunit/liveagent-help 0.0.9 → 0.0.10
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/assets/index.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
var
|
2
|
-
`;for(let
|
3
|
-
`}const c
|
4
|
-
}`,f=`__svelte_${_a(c)}_${l}`,h=kr(e),{stylesheet:p,rules:b}=Bn.get(h)||wa(h,e);b[f]||(b[f]=!0,p.insertRule(`@keyframes ${f} ${c}`,p.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${f} ${r}ms linear ${s}ms 1 both`,Rn+=1,f}function ir(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),s=n.length-r.length;s&&(e.style.animation=r.join(", "),Rn-=s,Rn||$a())}function $a(){$r(()=>{Rn||(Bn.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&F(t)}),Bn.clear())})}let tn;function Kt(e){tn=e}function Mt(){if(!tn)throw new Error("Function called outside component initialization");return tn}function ze(e){Mt().$$.on_mount.push(e)}function ka(e){Mt().$$.after_update.push(e)}function Ea(e){Mt().$$.on_destroy.push(e)}function Ta(){const e=Mt();return(t,n,{cancelable:r=!1}={})=>{const s=e.$$.callbacks[t];if(s){const o=Uo(t,n,{cancelable:r});return s.slice().forEach(i=>{i.call(e,o)}),!o.defaultPrevented}return!0}}function Pt(e,t){return Mt().$$.context.set(e,t),t}function Ee(e){return Mt().$$.context.get(e)}function cs(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(r=>r.call(this,t))}const Ct=[],De=[];let jt=[];const ar=[],Go=Promise.resolve();let lr=!1;function qo(){lr||(lr=!0,Go.then(W))}function Wo(){return qo(),Go}function It(e){jt.push(e)}function Xe(e){ar.push(e)}const Qn=new Set;let Tt=0;function W(){if(Tt!==0)return;const e=tn;do{try{for(;Tt<Ct.length;){const t=Ct[Tt];Tt++,Kt(t),Sa(t.$$)}}catch(t){throw Ct.length=0,Tt=0,t}for(Kt(null),Ct.length=0,Tt=0;De.length;)De.pop()();for(let t=0;t<jt.length;t+=1){const n=jt[t];Qn.has(n)||(Qn.add(n),n())}jt.length=0}while(Ct.length);for(;ar.length;)ar.pop()();lr=!1,Qn.clear(),Kt(e)}function Sa(e){if(e.fragment!==null){e.update(),We(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(It)}}function Pa(e){const t=[],n=[];jt.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),jt=t}let Ut;function Xo(){return Ut||(Ut=Promise.resolve(),Ut.then(()=>{Ut=null})),Ut}function Hn(e,t,n){e.dispatchEvent(Uo(`${t?"intro":"outro"}${n}`))}const kn=new Set;let it;function Ce(){it={r:0,c:[],p:it}}function Ae(){it.r||We(it.c),it=it.p}function $(e,t){e&&e.i&&(kn.delete(e),e.i(t))}function S(e,t,n,r){if(e&&e.o){if(kn.has(e))return;kn.add(e),it.c.push(()=>{kn.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const Yo={duration:0};function Ca(e,t,n){const r={direction:"in"};let s=t(e,n,r),o=!1,i,l,a=0;function u(){i&&ir(e,i)}function c(){const{delay:h=0,duration:p=300,easing:b=Oo,tick:m=Q,css:w}=s||Yo;w&&(i=Vo(e,0,1,p,h,b,w,a++)),m(0,1);const y=Mo()+h,_=y+p;l&&l.abort(),o=!0,It(()=>Hn(e,!0,"start")),l=zo(P=>{if(o){if(P>=_)return m(1,0),Hn(e,!0,"end"),u(),o=!1;if(P>=y){const A=b((P-y)/p);m(A,1-A)}}return o})}let f=!1;return{start(){f||(f=!0,ir(e),dt(s)?(s=s(r),Xo().then(c)):c())},invalidate(){f=!1},end(){o&&(u(),o=!1)}}}function Aa(e,t,n){const r={direction:"out"};let s=t(e,n,r),o=!0,i;const l=it;l.r+=1;let a;function u(){const{delay:c=0,duration:f=300,easing:h=Oo,tick:p=Q,css:b}=s||Yo;b&&(i=Vo(e,1,0,f,c,h,b));const m=Mo()+c,w=m+f;It(()=>Hn(e,!1,"start")),"inert"in e&&(a=e.inert,e.inert=!0),zo(y=>{if(o){if(y>=w)return p(0,1),Hn(e,!1,"end"),--l.r||We(l.c),!1;if(y>=m){const _=h((y-m)/f);p(1-_,_)}}return o})}return dt(s)?Xo().then(()=>{s=s(r),u()}):u(),{end(c){c&&"inert"in e&&(e.inert=a),c&&s.tick&&s.tick(1,0),o&&(i&&ir(e,i),o=!1)}}}function me(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ja(e,t){e.d(1),t.delete(e.key)}function Ia(e,t,n,r,s,o,i,l,a,u,c,f){let h=e.length,p=o.length,b=h;const m={};for(;b--;)m[e[b].key]=b;const w=[],y=new Map,_=new Map,P=[];for(b=p;b--;){const G=f(s,o,b),R=n(G);let D=i.get(R);D?P.push(()=>D.p(G,t)):(D=u(R,G),D.c()),y.set(R,w[b]=D),R in m&&_.set(R,Math.abs(b-m[R]))}const A=new Set,C=new Set;function B(G){$(G,1),G.m(l,c),i.set(G.key,G),c=G.first,p--}for(;h&&p;){const G=w[p-1],R=e[h-1],D=G.key,Y=R.key;G===R?(c=G.first,h--,p--):y.has(Y)?!i.has(D)||A.has(D)?B(G):C.has(Y)?h--:_.get(D)>_.get(Y)?(C.add(D),B(G)):(A.add(Y),h--):(a(R,i),h--)}for(;h--;){const G=e[h];y.has(G.key)||a(G,i)}for(;p;)B(w[p-1]);return We(P),w}function nn(e,t){const n={},r={},s={$$scope:1};let o=e.length;for(;o--;){const i=e[o],l=t[o];if(l){for(const a in i)a in l||(r[a]=1);for(const a in l)s[a]||(n[a]=l[a],s[a]=1);e[o]=l}else for(const a in i)s[a]=1}for(const i in r)i in n||(n[i]=void 0);return n}function Mn(e){return typeof e=="object"&&e!==null?e:{}}function Ye(e,t,n){const r=e.$$.props[t];r!==void 0&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}function O(e){e&&e.c()}function I(e,t,n){const{fragment:r,after_update:s}=e.$$;r&&r.m(t,n),It(()=>{const o=e.$$.on_mount.map(Bo).filter(dt);e.$$.on_destroy?e.$$.on_destroy.push(...o):We(o),e.$$.on_mount=[]}),s.forEach(It)}function L(e,t){const n=e.$$;n.fragment!==null&&(Pa(n.after_update),We(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function La(e,t){e.$$.dirty[0]===-1&&(Ct.push(e),qo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function oe(e,t,n,r,s,o,i=null,l=[-1]){const a=tn;Kt(e);const u=e.$$={fragment:null,ctx:[],props:o,update:Q,not_equal:s,bound:os(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:os(),dirty:l,skip_bound:!1,root:t.target||a.$$.root};i&&i(u.root);let c=!1;if(u.ctx=n?n(e,t.props||{},(f,h,...p)=>{const b=p.length?p[0]:h;return u.ctx&&s(u.ctx[f],u.ctx[f]=b)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](b),c&&La(e,f)),h}):[],u.update(),c=!0,We(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const f=va(t.target);u.fragment&&u.fragment.l(f),f.forEach(F)}else u.fragment&&u.fragment.c();t.intro&&$(e.$$.fragment),I(e,t.target,t.anchor),W()}Kt(a)}let Ko;typeof HTMLElement=="function"&&(Ko=class extends HTMLElement{constructor(t,n,r){super();Re(this,"$$ctor");Re(this,"$$s");Re(this,"$$c");Re(this,"$$cn",!1);Re(this,"$$d",{});Re(this,"$$r",!1);Re(this,"$$p_d",{});Re(this,"$$l",{});Re(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const s=this.$$c.$on(t,n);this.$$l_u.set(n,s)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const s=this.$$l_u.get(n);s&&(s(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let i;return{c:function(){i=x("slot"),o!=="default"&&g(i,"name",o)},m:function(u,c){U(u,i,c)},d:function(u){u&&F(i)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=xa(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const i=this.$$g_p(o.name);i in this.$$d||(this.$$d[i]=En(i,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$scope:{ctx:[]}}});const s=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const i=En(o,this.$$d[o],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,i)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const o in this.$$l)for(const i of this.$$l[o]){const l=this.$$c.$on(o,i);this.$$l_u.set(i,l)}this.$$l={}}}attributeChangedCallback(t,n,r){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=En(t,r,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function En(e,t,n,r){var o;const s=(o=n[e])==null?void 0:o.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ie(e,t,n,r,s,o){let i=class extends Ko{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(i.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){var u;a=En(l,a,t),this.$$d[l]=a,(u=this.$$c)==null||u.$set({[l]:a})}})}),r.forEach(l=>{Object.defineProperty(i.prototype,l,{get(){var a;return(a=this.$$c)==null?void 0:a[l]}})}),e.element=i,i}class ae{constructor(){Re(this,"$$");Re(this,"$$set")}$destroy(){L(this,1),this.$destroy=Q}$on(t,n){if(!dt(n))return Q;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const s=r.indexOf(n);s!==-1&&r.splice(s,1)}}$set(t){this.$$set&&!fa(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Oa="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Oa);const St=[];function Zo(e,t){return{subscribe:Ke(e,t).subscribe}}function Ke(e,t=Q){let n;const r=new Set;function s(l){if(ne(e,l)&&(e=l,n)){const a=!St.length;for(const u of r)u[1](),St.push(u,e);if(a){for(let u=0;u<St.length;u+=2)St[u][0](St[u+1]);St.length=0}}}function o(l){s(l(e))}function i(l,a=Q){const u=[l,a];return r.add(u),r.size===1&&(n=t(s,o)||Q),l(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:s,update:o,subscribe:i}}function Ze(e,t,n){const r=!Array.isArray(e),s=r?[e]:e;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Zo(n,(i,l)=>{let a=!1;const u=[];let c=0,f=Q;const h=()=>{if(c)return;f();const b=t(r?u[0]:u,i,l);o?i(b):f=dt(b)?b:Q},p=s.map((b,m)=>_r(b,w=>{u[m]=w,c&=~(1<<m),a&&h()},()=>{c|=1<<m}));return a=!0,h(),function(){We(p),f(),a=!1}})}function Ba(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,s,o,i=[],l="",a=e.split("/");for(a[0]||a.shift();s=a.shift();)n=s[0],n==="*"?(i.push("wild"),l+="/(.*)"):n===":"?(r=s.indexOf("?",1),o=s.indexOf(".",1),i.push(s.substring(1,~r?r:~o?o:s.length)),l+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(l+=(~r?"?":"")+"\\"+s.substring(o))):l+="/"+s;return{keys:i,pattern:new RegExp("^"+l+"/?$","i")}}function Ra(e){let t,n,r;const s=[e[2]];var o=e[0];function i(l,a){let u={};for(let c=0;c<s.length;c+=1)u=lt(u,s[c]);return a!==void 0&&a&4&&(u=lt(u,nn(s,[Mn(l[2])]))),{props:u}}return o&&(t=On(o,i(e)),t.$on("routeEvent",e[7])),{c(){t&&O(t.$$.fragment),n=Ht()},m(l,a){t&&I(t,l,a),U(l,n,a),r=!0},p(l,a){if(a&1&&o!==(o=l[0])){if(t){Ce();const u=t;S(u.$$.fragment,1,0,()=>{L(u,1)}),Ae()}o?(t=On(o,i(l,a)),t.$on("routeEvent",l[7]),O(t.$$.fragment),$(t.$$.fragment,1),I(t,n.parentNode,n)):t=null}else if(o){const u=a&4?nn(s,[Mn(l[2])]):{};t.$set(u)}},i(l){r||(t&&$(t.$$.fragment,l),r=!0)},o(l){t&&S(t.$$.fragment,l),r=!1},d(l){l&&F(n),t&&L(t,l)}}}function Ha(e){let t,n,r;const s=[{params:e[1]},e[2]];var o=e[0];function i(l,a){let u={};for(let c=0;c<s.length;c+=1)u=lt(u,s[c]);return a!==void 0&&a&6&&(u=lt(u,nn(s,[a&2&&{params:l[1]},a&4&&Mn(l[2])]))),{props:u}}return o&&(t=On(o,i(e)),t.$on("routeEvent",e[6])),{c(){t&&O(t.$$.fragment),n=Ht()},m(l,a){t&&I(t,l,a),U(l,n,a),r=!0},p(l,a){if(a&1&&o!==(o=l[0])){if(t){Ce();const u=t;S(u.$$.fragment,1,0,()=>{L(u,1)}),Ae()}o?(t=On(o,i(l,a)),t.$on("routeEvent",l[6]),O(t.$$.fragment),$(t.$$.fragment,1),I(t,n.parentNode,n)):t=null}else if(o){const u=a&6?nn(s,[a&2&&{params:l[1]},a&4&&Mn(l[2])]):{};t.$set(u)}},i(l){r||(t&&$(t.$$.fragment,l),r=!0)},o(l){t&&S(t.$$.fragment,l),r=!1},d(l){l&&F(n),t&&L(t,l)}}}function Ma(e){let t,n,r,s;const o=[Ha,Ra],i=[];function l(a,u){return a[1]?0:1}return t=l(e),n=i[t]=o[t](e),{c(){n.c(),r=Ht()},m(a,u){i[t].m(a,u),U(a,r,u),s=!0},p(a,[u]){let c=t;t=l(a),t===c?i[t].p(a,u):(Ce(),S(i[c],1,1,()=>{i[c]=null}),Ae(),n=i[t],n?n.p(a,u):(n=i[t]=o[t](a),n.c()),$(n,1),n.m(r.parentNode,r))},i(a){s||($(n),s=!0)},o(a){S(n),s=!1},d(a){a&&F(r),i[t].d(a)}}}function us(){const e=window.location.href.indexOf("#/");let t=e>-1?window.location.href.substr(e+1):"/";const n=t.indexOf("?");let r="";return n>-1&&(r=t.substr(n+1),t=t.substr(0,n)),{location:t,querystring:r}}const Er=Zo(null,function(t){t(us());const n=()=>{t(us())};return window.addEventListener("hashchange",n,!1),function(){window.removeEventListener("hashchange",n,!1)}}),Da=Ze(Er,e=>e.location);Ze(Er,e=>e.querystring);const fs=Ke(void 0);async function Tn(e){if(!e||e.length<1||e.charAt(0)!="/"&&e.indexOf("#/")!==0)throw Error("Invalid parameter location");await Wo(),history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=(e.charAt(0)=="#"?"":"#")+e}function Tr(e,t){if(t=ds(t),!e||!e.tagName||e.tagName.toLowerCase()!="a")throw Error('Action "link" can only be used with <a> tags');return hs(e,t),{update(n){n=ds(n),hs(e,n)}}}function za(e){e?window.scrollTo(e.__svelte_spa_router_scrollX,e.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function hs(e,t){let n=t.href||e.getAttribute("href");if(n&&n.charAt(0)=="/")n="#"+n;else if(!n||n.length<2||n.slice(0,2)!="#/")throw Error('Invalid value for "href" attribute: '+n);e.setAttribute("href",n),e.addEventListener("click",r=>{r.preventDefault(),t.disabled||Na(r.currentTarget.getAttribute("href"))})}function ds(e){return e&&typeof e=="string"?{href:e}:e||{}}function Na(e){history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=e}function Fa(e,t,n){let{routes:r={}}=t,{prefix:s=""}=t,{restoreScrollState:o=!1}=t;class i{constructor(C,B){if(!B||typeof B!="function"&&(typeof B!="object"||B._sveltesparouter!==!0))throw Error("Invalid component object");if(!C||typeof C=="string"&&(C.length<1||C.charAt(0)!="/"&&C.charAt(0)!="*")||typeof C=="object"&&!(C instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:G,keys:R}=Ba(C);this.path=C,typeof B=="object"&&B._sveltesparouter===!0?(this.component=B.component,this.conditions=B.conditions||[],this.userData=B.userData,this.props=B.props||{}):(this.component=()=>Promise.resolve(B),this.conditions=[],this.props={}),this._pattern=G,this._keys=R}match(C){if(s){if(typeof s=="string")if(C.startsWith(s))C=C.substr(s.length)||"/";else return null;else if(s instanceof RegExp){const D=C.match(s);if(D&&D[0])C=C.substr(D[0].length)||"/";else return null}}const B=this._pattern.exec(C);if(B===null)return null;if(this._keys===!1)return B;const G={};let R=0;for(;R<this._keys.length;){try{G[this._keys[R]]=decodeURIComponent(B[R+1]||"")||null}catch{G[this._keys[R]]=null}R++}return G}async checkConditions(C){for(let B=0;B<this.conditions.length;B++)if(!await this.conditions[B](C))return!1;return!0}}const l=[];r instanceof Map?r.forEach((A,C)=>{l.push(new i(C,A))}):Object.keys(r).forEach(A=>{l.push(new i(A,r[A]))});let a=null,u=null,c={};const f=Ta();async function h(A,C){await Wo(),f(A,C)}let p=null,b=null;o&&(b=A=>{A.state&&(A.state.__svelte_spa_router_scrollY||A.state.__svelte_spa_router_scrollX)?p=A.state:p=null},window.addEventListener("popstate",b),ka(()=>{za(p)}));let m=null,w=null;const y=Er.subscribe(async A=>{m=A;let C=0;for(;C<l.length;){const B=l[C].match(A.location);if(!B){C++;continue}const G={route:l[C].path,location:A.location,querystring:A.querystring,userData:l[C].userData,params:B&&typeof B=="object"&&Object.keys(B).length?B:null};if(!await l[C].checkConditions(G)){n(0,a=null),w=null,h("conditionsFailed",G);return}h("routeLoading",Object.assign({},G));const R=l[C].component;if(w!=R){R.loading?(n(0,a=R.loading),w=R,n(1,u=R.loadingParams),n(2,c={}),h("routeLoaded",Object.assign({},G,{component:a,name:a.name,params:u}))):(n(0,a=null),w=null);const D=await R();if(A!=m)return;n(0,a=D&&D.default||D),w=R}B&&typeof B=="object"&&Object.keys(B).length?n(1,u=B):n(1,u=null),n(2,c=l[C].props),h("routeLoaded",Object.assign({},G,{component:a,name:a.name,params:u})).then(()=>{fs.set(u)});return}n(0,a=null),w=null,fs.set(void 0)});Ea(()=>{y(),b&&window.removeEventListener("popstate",b)});function _(A){cs.call(this,e,A)}function P(A){cs.call(this,e,A)}return e.$$set=A=>{"routes"in A&&n(3,r=A.routes),"prefix"in A&&n(4,s=A.prefix),"restoreScrollState"in A&&n(5,o=A.restoreScrollState)},e.$$.update=()=>{e.$$.dirty&32&&(history.scrollRestoration=o?"manual":"auto")},[a,u,c,r,s,o,_,P]}class Jo extends ae{constructor(t){super(),oe(this,t,Fa,Ma,ne,{routes:3,prefix:4,restoreScrollState:5})}get routes(){return this.$$.ctx[3]}set routes(t){this.$$set({routes:t}),W()}get prefix(){return this.$$.ctx[4]}set prefix(t){this.$$set({prefix:t}),W()}get restoreScrollState(){return this.$$.ctx[5]}set restoreScrollState(t){this.$$set({restoreScrollState:t}),W()}}ie(Jo,{routes:{},prefix:{},restoreScrollState:{type:"Boolean"}},[],[],!0);function Ua(e){const t=e-1;return t*t*t+1}function ps(e,{delay:t=0,duration:n=400,easing:r=Ua,axis:s="y"}={}){const o=getComputedStyle(e),i=+o.opacity,l=s==="y"?"height":"width",a=parseFloat(o[l]),u=s==="y"?["top","bottom"]:["left","right"],c=u.map(y=>`${y[0].toUpperCase()}${y.slice(1)}`),f=parseFloat(o[`padding${c[0]}`]),h=parseFloat(o[`padding${c[1]}`]),p=parseFloat(o[`margin${c[0]}`]),b=parseFloat(o[`margin${c[1]}`]),m=parseFloat(o[`border${c[0]}Width`]),w=parseFloat(o[`border${c[1]}Width`]);return{delay:t,duration:n,easing:r,css:y=>`overflow: hidden;opacity: ${Math.min(y*20,1)*i};${l}: ${y*a}px;padding-${u[0]}: ${y*f}px;padding-${u[1]}: ${y*h}px;margin-${u[0]}: ${y*p}px;margin-${u[1]}: ${y*b}px;border-${u[0]}-width: ${y*m}px;border-${u[1]}-width: ${y*w}px;`}}function Va(){const e=localStorage.getItem("LA_GettingStartedProgress"),t=e?JSON.parse(e):[],{subscribe:n,set:r,update:s}=Ke(t);function o(){n(i=>{console.log("Updated progress:",i),localStorage.setItem("LA_GettingStartedProgress",JSON.stringify(i))})}return o(),{subscribe:n,set:r,update:s}}const Se=Va(),gs=Ke(!1);function Qo(e,t){Se.update(n=>{const r=n.findIndex(s=>s.path===e);return r!==-1&&(n[r].state=t),n}),ei()}function ei(){const e=ha(Se),t=e.findIndex(n=>n.state==="u");if(t!==-1){const n=e[t].path;Tn(n)}else{const n=e.findIndex(r=>r.state==="s");if(n!==-1){const r=e[n].path;Tn(r)}else Tn("/summary")}}function Ga(){let e=!1;return Se.subscribe(t=>{e=t.slice(0,7).every(n=>n.state==="c")})(),e}function qa(e){Qo(e,"s")}function Wa(e){Qo(e,"c")}const Xa={blue:{100:"#b5e2fe",200:"#7fcbfe",300:"#53adfe",400:"#208afe",500:"#0868d9",600:"#044fad",700:"#023c8a",800:"#092f68",900:"#002054","050":"#dcf3fe"},coral:{100:"#fed5cb",200:"#feb3a0",300:"#fc8b72",400:"#eb6446",500:"#c3422a",600:"#9d2e1b",700:"#7f1e0e",800:"#681004",900:"#500800","050":"#feefea"},green:{100:"#abedba",200:"#6edc8a",300:"#49c16a",400:"#2ca34d",500:"#187e36",600:"#106228",700:"#034e1d",800:"#003c15",900:"#002c10","050":"#d9fae0"},grey:{100:"#e9edf1",125:"#e8ebf0",150:"#e5e8ec",200:"#cfd6dd",300:"#aeb7c0",400:"#8b949e",500:"#6d7680",550:"#646c75",600:"#565f69",700:"#414952",800:"#31373e",850:"#292f36",900:"#23282e",950:"#1e2227",990:"#121518","000":"#ffffff","050":"#f4f6f8"},orange:{100:"#ffd6bb",200:"#ffc29a",300:"#ffa66c",400:"#ff9550",500:"#ff7a24",600:"#d96012",700:"#a6480b",800:"#7d3405",900:"#5c2400","050":"#fff2e9"},pink:{100:"#fed2ea",200:"#feacd9",300:"#fe7fc7",400:"#e759ac",500:"#be3888",600:"#98276d",700:"#761f56",800:"#601246",900:"#4c0235","050":"#feeef6"},purple:{100:"#ebd7fe",200:"#d7b8fe",300:"#c196fe",400:"#a574f8",500:"#814fde",600:"#6538b9",700:"#502996",800:"#3d1e78",900:"#2d1360","050":"#faeefe"},red:{100:"#fecdca",200:"#feaaa7",300:"#fe8081",400:"#f94448",500:"#ce212d",600:"#a30d25",700:"#81061d",800:"#650017",900:"#4b0013","050":"#feeae8"},yellow:{100:"#ffe4b0",200:"#ffd78a",300:"#ffc454",400:"#ffb933",500:"#ffa700",600:"#d98900",700:"#a66800",800:"#7d4d00",900:"#5c3700","050":"#fff6e6"},opacity:{black:{15:"#00000026",20:"#00000033",50:"#00000080",70:"#000000b2",80:"#000000cc"},blue:{100:"#53adfe33",300:"#53adfe66"},clear:"#ffffff00",coral:{300:"#eb644666"},darkGrey:{66:"#121518a8"},green:{300:"#49c16a66",400:"#2ca34d4d"},grey:{0:"#7f90a400",15:"#7f90a426",20:"#7f90a433"},lightGrey:{66:"#f4f6f8a8"},orange:{100:"#ffa66c33",300:"#ffa66c66"},pink:{300:"#fe7fc766"},purple:{300:"#c196fe66"},red:{300:"#fe808166",400:"#f944484d"},white:{20:"#ffffff33",40:"#ffffff66",50:"#ffffff80",60:"#ffffff99",85:"#ffffffd9"},yellow:{300:"#ffc45466"}}},v={colors:Xa},Ya={borderDivider:{primary:v.colors.grey[700],secondary:v.colors.blue[400],tertiary:v.colors.grey[700]},buttonsSwitchesTabs:{borderless:v.colors.opacity.clear,borderlessHoverActive:v.colors.opacity.grey[20],darkGrey:v.colors.grey[400],darkGreyHoverActive:v.colors.grey[500],callChat:{borderless:v.colors.opacity.white[20],borderlessHoverActive:v.colors.opacity.white[40],red:v.colors.red[400],redHover:v.colors.red[500]},primaryButtons:{active:v.colors.blue[800],blue:v.colors.blue[400],blueDisabled:v.colors.opacity.blue[100],blueHoverClick:v.colors.blue[300],borderless:v.colors.opacity.clear,grey:v.colors.grey[990],greyHoverClick:v.colors.opacity.grey[20]},textsIcons:{buttonTextIconsBlack:v.colors.grey["050"],buttonTextIconsBlue:v.colors.blue[400],buttonTextIconsHover:v.colors.blue[300],buttonTextIconsPrimary:v.colors.grey["050"],buttonTextIconsPrimaryDisabled:v.colors.grey[400],buttonTextIconsSecondary:v.colors.grey[400],buttonTextIconsSecondaryDisabled:v.colors.grey[700]}},events:{blue:{opacity:v.colors.opacity.blue[300],primary:v.colors.blue[200],secondary:v.colors.blue[100],stroke:v.colors.blue[500],surfacePrimary:v.colors.blue[800],surfaceSecondary:v.colors.blue[700],text:v.colors.grey["000"]},callChat:{opacity:v.colors.opacity.green[300],primary:v.colors.green[400],secondary:v.colors.green[500],stroke:v.colors.green[500],surfacePrimary:v.colors.green[800],surfaceSecondary:v.colors.green[700]},coral:{opacity:v.colors.opacity.coral[300],primary:v.colors.coral[400],secondary:v.colors.coral[300],stroke:v.colors.coral[600],surfacePrimary:v.colors.coral[800],surfaceSecondary:v.colors.coral[700],text:v.colors.grey["000"]},green:{opacity:v.colors.opacity.green[300],primary:v.colors.green[200],secondary:v.colors.green[100],stroke:v.colors.green[500],surfacePrimary:v.colors.green[800],surfaceSecondary:v.colors.green[700],text:v.colors.grey["000"]},grey:{opacity:v.colors.opacity.black[15],primary:v.colors.grey[400],secondary:v.colors.grey[150],stroke:v.colors.grey[600],surfacePrimary:v.colors.grey[900],surfaceSecondary:v.colors.grey[850],text:v.colors.grey["000"]},orange:{opacity:v.colors.opacity.orange[300],primary:v.colors.orange[500],secondary:v.colors.orange[400],stroke:v.colors.orange[600],surfacePrimary:v.colors.orange[900],surfaceSecondary:v.colors.orange[800],text:v.colors.grey["000"]},pink:{opacity:v.colors.opacity.pink[300],primary:v.colors.pink[400],secondary:v.colors.pink[300],stroke:v.colors.pink[600],surfacePrimary:v.colors.pink[900],surfaceSecondary:v.colors.pink[800],text:v.colors.grey["000"]},purple:{opacity:v.colors.opacity.purple[300],primary:v.colors.purple[400],secondary:v.colors.purple[300],stroke:v.colors.purple[600],surfacePrimary:v.colors.purple[900],surfaceSecondary:v.colors.purple[800],text:v.colors.grey["000"]},red:{opacity:v.colors.opacity.red[300],primary:v.colors.red[400],secondary:v.colors.red[300],stroke:v.colors.red[600],surfacePrimary:v.colors.red[800],surfaceSecondary:v.colors.red[700],text:v.colors.grey["000"]},whiteOpacity:{20:v.colors.opacity.white[20],40:v.colors.opacity.white[40],60:v.colors.opacity.white[60]},yellow:{opacity:v.colors.opacity.yellow[300],primary:v.colors.yellow[300],secondary:v.colors.yellow[200],stroke:v.colors.yellow[600],surfacePrimary:v.colors.yellow[900],surfaceSecondary:v.colors.yellow[800],text:v.colors.grey["000"]}},notifications:{greenPrimary:v.colors.green[400],greenSecondary:v.colors.opacity.green[400],redPrimary:v.colors.red[400],redSecondary:v.colors.opacity.red[400],surfacePrimary:v.colors.opacity.white[85],surfaceSecondary:v.colors.opacity.white[50],textIcons:v.colors.grey[950]},surface:{behindPopups:v.colors.opacity.black[70],hover:v.colors.opacity.grey[20],primary:v.colors.grey[990],replySection:v.colors.opacity.darkGrey[66],secondary:v.colors.grey[950],tertiary:v.colors.grey[990]},systemTags:{blue:v.colors.blue[400],coral:v.colors.coral[400],green:v.colors.green[500],greyAnswered:v.colors.grey[600],greyEmpty:v.colors.grey[700],greyThat150:v.colors.grey[850],greyToDo:v.colors.grey[550],orangeNew:v.colors.orange[500],pink:v.colors.pink[400],purplePostponed:v.colors.purple[400],redOverdue:v.colors.red[400],yellowOpen:v.colors.yellow[500]},textsIcons:{blue:v.colors.blue[400],blueHover:v.colors.blue[300],orange:v.colors.orange[500],orangeHover:v.colors.orange[400],primary:v.colors.grey["050"],primaryHover:v.colors.blue[300],secondary:v.colors.grey[400],secondaryHover:v.colors.blue[300],white:v.colors.grey["050"],whiteHover:v.colors.blue[300]},toSolve:{icon:v.colors.grey["000"],iconHover:v.colors.grey["000"],orange:v.colors.orange[500],orangeHover:v.colors.orange[400],stroke:v.colors.orange[400],surfaceWhite:v.colors.opacity.white[20],text:v.colors.grey["000"]}},Ka={borderDivider:{primary:v.colors.grey[200],secondary:v.colors.blue[500],tertiary:v.colors.opacity.clear},buttonsSwitchesTabs:{borderless:v.colors.opacity.clear,borderlessHoverActive:v.colors.opacity.grey[15],darkGrey:v.colors.grey[400],darkGreyHoverActive:v.colors.grey[500],callChat:{borderless:v.colors.opacity.white[20],borderlessHoverActive:v.colors.opacity.white[40],red:v.colors.red[400],redHover:v.colors.red[500]},primaryButtons:{active:v.colors.blue["050"],blue:v.colors.blue[500],blueDisabled:v.colors.opacity.blue[300],blueHoverClick:v.colors.blue[600],borderless:v.colors.opacity.clear,grey:v.colors.grey["050"],greyHoverClick:v.colors.opacity.grey[15]},textsIcons:{buttonTextIconsBlack:v.colors.grey[950],buttonTextIconsBlue:v.colors.blue[500],buttonTextIconsHover:v.colors.blue[600],buttonTextIconsPrimary:v.colors.grey["000"],buttonTextIconsPrimaryDisabled:v.colors.grey["000"],buttonTextIconsSecondary:v.colors.grey[550],buttonTextIconsSecondaryDisabled:v.colors.grey[200]}},events:{blue:{opacity:v.colors.opacity.blue[300],primary:v.colors.blue[500],secondary:v.colors.blue[600],stroke:v.colors.blue[300],surfacePrimary:v.colors.blue["050"],surfaceSecondary:v.colors.blue[100],text:v.colors.blue[500]},callChat:{opacity:v.colors.opacity.green[300],primary:v.colors.green[400],secondary:v.colors.green[500],stroke:v.colors.green[300],surfacePrimary:v.colors.green["050"],surfaceSecondary:v.colors.green[100]},coral:{opacity:v.colors.opacity.coral[300],primary:v.colors.coral[500],secondary:v.colors.coral[600],stroke:v.colors.coral[300],surfacePrimary:v.colors.pink["050"],surfaceSecondary:v.colors.coral[100],text:v.colors.coral[500]},green:{opacity:v.colors.opacity.green[300],primary:v.colors.green[500],secondary:v.colors.green[600],stroke:v.colors.green[300],surfacePrimary:v.colors.green["050"],surfaceSecondary:v.colors.green[100],text:v.colors.green[500]},grey:{opacity:v.colors.opacity.black[20],primary:v.colors.grey[550],secondary:v.colors.grey[950],stroke:v.colors.grey[300],surfacePrimary:v.colors.grey["050"],surfaceSecondary:v.colors.grey[125],text:v.colors.grey[550]},orange:{opacity:v.colors.opacity.orange[300],primary:v.colors.orange[500],secondary:v.colors.orange[600],stroke:v.colors.orange[300],surfacePrimary:v.colors.orange["050"],surfaceSecondary:v.colors.orange[100],text:v.colors.orange[500]},pink:{opacity:v.colors.opacity.pink[300],primary:v.colors.pink[500],secondary:v.colors.pink[600],stroke:v.colors.pink[300],surfacePrimary:v.colors.pink["050"],surfaceSecondary:v.colors.pink[100],text:v.colors.pink[500]},purple:{opacity:v.colors.opacity.purple[300],primary:v.colors.purple[500],secondary:v.colors.purple[600],stroke:v.colors.purple[300],surfacePrimary:v.colors.purple["050"],surfaceSecondary:v.colors.purple[100],text:v.colors.purple[500]},red:{opacity:v.colors.opacity.red[300],primary:v.colors.red[500],secondary:v.colors.red[600],stroke:v.colors.red[300],surfacePrimary:v.colors.red["050"],surfaceSecondary:v.colors.red[100],text:v.colors.red[500]},whiteOpacity:{20:v.colors.opacity.white[20],40:v.colors.opacity.white[40],60:v.colors.opacity.white[60]},yellow:{opacity:v.colors.opacity.yellow[300],primary:v.colors.yellow[500],secondary:v.colors.yellow[600],stroke:v.colors.yellow[300],surfacePrimary:v.colors.yellow["050"],surfaceSecondary:v.colors.yellow[100],text:v.colors.yellow[500]}},notifications:{greenPrimary:v.colors.green[400],greenSecondary:v.colors.opacity.green[400],redPrimary:v.colors.red[400],redSecondary:v.colors.opacity.red[400],surfacePrimary:v.colors.opacity.black[80],surfaceSecondary:v.colors.opacity.black[50],textIcons:v.colors.grey["000"]},surface:{behindPopups:v.colors.opacity.black[50],hover:v.colors.opacity.grey[15],primary:v.colors.grey["050"],replySection:v.colors.opacity.lightGrey[66],secondary:v.colors.grey["000"],tertiary:v.colors.grey["000"]},systemTags:{blue:v.colors.blue[500],coral:v.colors.coral[500],green:v.colors.green[500],greyAnswered:v.colors.grey[300],greyEmpty:v.colors.grey[200],greyThat150:v.colors.grey[150],greyToDo:v.colors.grey[550],orangeNew:v.colors.orange[500],pink:v.colors.pink[500],purplePostponed:v.colors.purple[500],redOverdue:v.colors.red[500],yellowOpen:v.colors.yellow[500]},textsIcons:{blue:v.colors.blue[500],blueHover:v.colors.blue[600],orange:v.colors.orange[500],orangeHover:v.colors.orange[600],primary:v.colors.grey[950],primaryHover:v.colors.blue[600],secondary:v.colors.grey[550],secondaryHover:v.colors.blue[600],white:v.colors.grey["000"],whiteHover:v.colors.blue[600]},toSolve:{icon:v.colors.orange[500],iconHover:v.colors.orange[600],orange:v.colors.orange[500],orangeHover:v.colors.orange[600],stroke:v.colors.orange[600],surfaceWhite:v.colors.grey["000"],text:v.colors.grey["000"]}},Dn=Ke(!1),Je=Ze(Dn,e=>e?Ya:Ka);function Za(e){fe(e,"svelte-4cto8e",".tag.svelte-4cto8e{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:2px 6px;border:1px solid var(--border-color-green);border-radius:4px;background-color:var(--background-color-green-primary)}.numbers.svelte-4cto8e{color:var(--color-green-primary);text-align:center;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}")}function Ja(e){let t,n,r,s,o,i,l;return{c(){t=x("div"),n=x("img"),s=k(),o=x("span"),i=te(e[0]),l=te("/9"),ce(n.src,r="../../../../public/assets/icons/resolve.svg")||g(n,"src",r),g(n,"alt","resolved"),g(o,"class","numbers svelte-4cto8e"),g(t,"class","tag svelte-4cto8e")},m(a,u){U(a,t,u),d(t,n),d(t,s),d(t,o),d(o,i),d(o,l)},p(a,[u]){u&1&&ge(i,a[0])},i:Q,o:Q,d(a){a&&F(t)}}}function Qa(e,t,n){let r,s;return pe(e,Se,o=>n(1,s=o)),e.$$.update=()=>{e.$$.dirty&2&&n(0,r=s?s.filter(o=>o.state==="c").length:0)},[r,s]}class ti extends ae{constructor(t){super(),oe(this,t,Qa,Ja,ne,{},Za)}}ie(ti,{},[],[],!0);const zn=Ke(!1);function cr(e=void 0){if(e===void 0){zn.update(t=>!t);return}zn.set(e)}function el(e){fe(e,"svelte-1bsjw2o",`.heading.svelte-1bsjw2o.svelte-1bsjw2o{position:relative;color:var(--text-color-secondary);padding:10px 12px 10px 40px;margin:0;font-family:Roboto;font-size:14px;font-weight:700;line-height:20px;cursor:pointer}.heading.svelte-1bsjw2o.svelte-1bsjw2o::before{position:absolute;left:10px;top:20%;height:20px;width:20px;content:url('../../../../public/assets/icons/arrow-right.svg');transform:rotate(180deg)}ul.svelte-1bsjw2o.svelte-1bsjw2o{list-style-type:none;padding:0;margin:0}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o{position:relative;display:flex;align-items:center;justify-content:flex-start}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:after{position:absolute;top:30%;right:10px;transform:rotate(90deg);transition:transform 0.3s ease-in-out;content:url('../../../../public/assets/icons/arrow-right.svg')}.menu-item-first.opened.svelte-1bsjw2o.svelte-1bsjw2o:after{transform:rotate(-90deg)}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o{padding:10px 12px 10px 56px;color:var(--text-color-primary)}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o::before{content:'';display:inline-block;margin-right:8px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o{display:flex;align-items:center;padding:10px 8px 10px 0;color:var(--text-color-secondary)}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o::after{content:"";display:inline-block;margin-left:5px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat}.menu-item-secondary.selected.svelte-1bsjw2o.svelte-1bsjw2o{color:var(--text-color-highlight)}.menu-item-secondary.selected.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/progress-submenu.svg")}.menu-item-secondary.completed.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/resolve.svg")}.menu-item-secondary.skipped.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/unfinished.svg")}a.svelte-1bsjw2o.svelte-1bsjw2o{display:flex;align-items:center;padding:0 8px;text-decoration:none;transition:background-color 0.2s ease}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:hover,.menu-item-primary.selected.svelte-1bsjw2o.svelte-1bsjw2o,.menu-item-first.selected.svelte-1bsjw2o.svelte-1bsjw2o,.svelte-1bsjw2o:not(.menu-item-first)>a.svelte-1bsjw2o:hover{background-color:var(--menu-background-hover)}.steps.svelte-1bsjw2o.svelte-1bsjw2o{border-bottom:1px solid var(--border-color-primary);margin-left:80px;padding-bottom:10px;margin-bottom:10px}.getting-started.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/goal.svg')}.shortcuts.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/shortcuts.svg')}.improve-la-skills.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/learn.svg')}.contact-us.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/ticket.svg')}@media(min-width: 768px){.heading.svelte-1bsjw2o.svelte-1bsjw2o{cursor:default;padding:0;margin-bottom:16px;font-size:13px}.heading.svelte-1bsjw2o.svelte-1bsjw2o::before{display:none}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o::after{display:none}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o{padding:0 8px}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o{padding:0 0 0 32px}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:hover,.menu-item-primary.selected.svelte-1bsjw2o.svelte-1bsjw2o,.menu-item-first.selected.svelte-1bsjw2o.svelte-1bsjw2o,.svelte-1bsjw2o:not(.menu-item-first)>a.svelte-1bsjw2o:hover{border-radius:6px}a.svelte-1bsjw2o.svelte-1bsjw2o{height:36px}.steps.svelte-1bsjw2o.svelte-1bsjw2o{margin:0;padding:0;border:none}}`)}function ms(e,t,n){const r=e.slice();return r[12]=t[n].path,r[13]=t[n].name,r[14]=t[n].children,r}function vs(e,t,n){const r=e.slice();return r[17]=t[n].path,r[18]=t[n].name,r}function tl(e){let t,n,r=e[13]+"",s,o,i,l,a;return{c(){t=x("li"),n=x("a"),s=te(r),i=k(),g(n,"class",o="menu-item-primary "+e[12].substring(1).replace("/","-")+" "+(e[2]===e[12]?"selected":"")+" svelte-1bsjw2o"),g(n,"href",e[12]),g(t,"class","svelte-1bsjw2o")},m(u,c){U(u,t,c),d(t,n),d(n,s),d(t,i),l||(a=wr(Tr.call(null,n)),l=!0)},p(u,c){c&4&&o!==(o="menu-item-primary "+u[12].substring(1).replace("/","-")+" "+(u[2]===u[12]?"selected":"")+" svelte-1bsjw2o")&&g(n,"class",o)},i:Q,o:Q,d(u){u&&F(t),l=!1,a()}}}function nl(e){let t,n,r,s=e[13]+"",o,i,l,a,u,c,f,h,p;l=new ti({});let b=e[1]&&bs(e);return{c(){t=x("li"),n=x("div"),r=x("a"),o=te(s),i=k(),O(l.$$.fragment),u=k(),b&&b.c(),c=k(),g(r,"class","menu-item-primary "+e[13].toLowerCase().replace(" ","-")+" svelte-1bsjw2o"),g(r,"href",e[12]),g(n,"class",a="menu-item-first "+(e[1]?"opened":"")+" "+e[7](e[12],e[14],e[2])+" svelte-1bsjw2o")},m(m,w){U(m,t,w),d(t,n),d(n,r),d(r,o),d(n,i),I(l,n,null),d(t,u),b&&b.m(t,null),d(t,c),f=!0,h||(p=[wr(Tr.call(null,r)),Fe(t,"click",e[10])],h=!0)},p(m,w){(!f||w&6&&a!==(a="menu-item-first "+(m[1]?"opened":"")+" "+m[7](m[12],m[14],m[2])+" svelte-1bsjw2o"))&&g(n,"class",a),m[1]?b?(b.p(m,w),w&2&&$(b,1)):(b=bs(m),b.c(),$(b,1),b.m(t,c)):b&&(Ce(),S(b,1,1,()=>{b=null}),Ae())},i(m){f||($(l.$$.fragment,m),$(b),f=!0)},o(m){S(l.$$.fragment,m),S(b),f=!1},d(m){m&&F(t),L(l),b&&b.d(),h=!1,We(p)}}}function bs(e){let t,n,r,s,o,i,l,a=me(e[14]),u=[];for(let c=0;c<a.length;c+=1)u[c]=xs(vs(e,a,c));return{c(){t=x("div"),n=x("ul");for(let c=0;c<u.length;c+=1)u[c].c();g(n,"class","svelte-1bsjw2o"),g(t,"class","steps svelte-1bsjw2o")},m(c,f){U(c,t,f),d(t,n);for(let h=0;h<u.length;h+=1)u[h]&&u[h].m(n,null);o=!0,i||(l=Fe(n,"click",Fo(sl)),i=!0)},p(c,f){if(f&297){a=me(c[14]);let h;for(h=0;h<a.length;h+=1){const p=vs(c,a,h);u[h]?u[h].p(p,f):(u[h]=xs(p),u[h].c(),u[h].m(n,null))}for(;h<u.length;h+=1)u[h].d(1);u.length=a.length}},i(c){o||(c&&It(()=>{o&&(s&&s.end(1),r=Ca(t,ps,{duration:300}),r.start())}),o=!0)},o(c){r&&r.invalidate(),c&&(s=Aa(t,ps,{duration:300})),o=!1},d(c){c&&F(t),He(u,c),c&&s&&s.end(),i=!1,l()}}}function ys(e){let t,n,r=e[18]+"",s,o,i,l;return{c(){t=x("li"),n=x("a"),s=te(r),o=k(),g(n,"class","menu-item-secondary "+e[8](e[17])+" svelte-1bsjw2o"),g(n,"href",e[17]),g(t,"class","svelte-1bsjw2o")},m(a,u){U(a,t,u),d(t,n),d(n,s),d(n,o),i||(l=wr(Tr.call(null,n)),i=!0)},p:Q,d(a){a&&F(t),i=!1,l()}}}function xs(e){let t=e[3]&&e[0],n,r=ys(e);return{c(){r.c(),n=Ht()},m(s,o){r.m(s,o),U(s,n,o)},p(s,o){o&9&&ne(t,t=s[3]&&s[0])?(r.d(1),r=ys(s),r.c(),r.m(n.parentNode,n)):r.p(s,o)},d(s){s&&F(n),r.d(s)}}}function _s(e){let t,n,r,s;const o=[nl,tl],i=[];function l(a,u){return a[14]&&a[14].length?0:a[12]!=="/summary"?1:-1}return~(t=l(e))&&(n=i[t]=o[t](e)),{c(){n&&n.c(),r=Ht()},m(a,u){~t&&i[t].m(a,u),U(a,r,u),s=!0},p(a,u){n&&n.p(a,u)},i(a){s||($(n),s=!0)},o(a){S(n),s=!1},d(a){a&&F(r),~t&&i[t].d(a)}}}function rl(e){let t,n,r,s,o,i,l=me(e[5]),a=[];for(let c=0;c<l.length;c+=1)a[c]=_s(ms(e,l,c));const u=c=>S(a[c],1,1,()=>{a[c]=null});return{c(){t=x("h3"),t.textContent="Help center",n=k(),r=x("ul");for(let c=0;c<a.length;c+=1)a[c].c();g(t,"class","heading svelte-1bsjw2o"),X(r,"--text-color-highlight",e[4].textsIcons.blue),X(r,"--menu-background-hover",e[4].surface.hover),g(r,"class","svelte-1bsjw2o")},m(c,f){U(c,t,f),U(c,n,f),U(c,r,f);for(let h=0;h<a.length;h+=1)a[h]&&a[h].m(r,null);s=!0,o||(i=Fe(t,"click",e[9]),o=!0)},p(c,[f]){if(f&495){l=me(c[5]);let h;for(h=0;h<l.length;h+=1){const p=ms(c,l,h);a[h]?(a[h].p(p,f),$(a[h],1)):(a[h]=_s(p),a[h].c(),$(a[h],1),a[h].m(r,null))}for(Ce(),h=l.length;h<a.length;h+=1)u(h);Ae()}(!s||f&16)&&X(r,"--text-color-highlight",c[4].textsIcons.blue),(!s||f&16)&&X(r,"--menu-background-hover",c[4].surface.hover)},i(c){if(!s){for(let f=0;f<l.length;f+=1)$(a[f]);s=!0}},o(c){a=a.filter(Boolean);for(let f=0;f<a.length;f+=1)S(a[f]);s=!1},d(c){c&&(F(t),F(n),F(r)),He(a,c),o=!1,i()}}}const sl=()=>{};function ol(e,t,n){let r,s,o;pe(e,Da,m=>n(0,r=m)),pe(e,Se,m=>n(3,s=m)),pe(e,Je,m=>n(4,o=m));const i=Ee("namedRoutes");let l=!1,a;function u(){ei(),n(1,l=!l)}function c(m,w,y){return y===m||w!=null&&w.some(_=>y===_.path)?"selected":""}function f(m){let w;return s.forEach(y=>{y.path===m&&(w=y.state)}),w}function h(m){if(r===m)return"selected";switch(f(m)){case"c":return"completed";case"s":return"skipped";default:return"unfinished"}}const p=()=>cr(!1),b=()=>u();return e.$$.update=()=>{e.$$.dirty&1&&n(2,a=r)},[r,l,a,s,o,i,u,c,h,p,b]}class ni extends ae{constructor(t){super(),oe(this,t,ol,rl,ne,{},el)}}ie(ni,{},[],[],!0);function il(e){fe(e,"svelte-1212oh4","button.svelte-1212oh4{position:absolute;bottom:60px;left:16px;border:none;border-radius:4px;padding:8px 16px;font-size:16px;cursor:pointer}")}function al(e){let t,n=e[0]?"Switch to Light Mode":"Switch to Dark Mode",r,s,o;return{c(){t=x("button"),r=te(n),g(t,"class","svelte-1212oh4")},m(i,l){U(i,t,l),d(t,r),s||(o=Fe(t,"click",e[1]),s=!0)},p(i,[l]){l&1&&n!==(n=i[0]?"Switch to Light Mode":"Switch to Dark Mode")&&ge(r,n)},i:Q,o:Q,d(i){i&&F(t),s=!1,o()}}}function ll(e,t,n){let r;pe(e,Dn,o=>n(0,r=o));function s(){Dn.update(o=>!o)}return[r,s]}class ri extends ae{constructor(t){super(),oe(this,t,ll,al,ne,{},il)}}ie(ri,{},[],[],!0);function cl(e){fe(e,"svelte-6zajyi",`.progress-wrapper.svelte-6zajyi.svelte-6zajyi{width:100%;background-color:var(--background-color-secondary)}.header.svelte-6zajyi.svelte-6zajyi{display:none}.heading.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:center;margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.heading.mobile.svelte-6zajyi.svelte-6zajyi{font-size:14px}.text.svelte-6zajyi.svelte-6zajyi{margin:0;color:var(--text-color-secondary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px}.progress.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:column;padding:12px 24px 14px;border-bottom:1px solid var(--border-color-primary)}.textPart.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:8px}.texts.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.percentage.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:center;margin:0;color:var(--color-green-primary);text-align:center;font-size:24px;font-weight:700;line-height:28px}.description.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:flex-end;margin:0;color:var(--text-color-secondary);font-size:12px;font-weight:700;line-height:20px}.progress-bar.svelte-6zajyi.svelte-6zajyi{display:flex;position:relative;width:100%;height:8px;background-color:var(--border-color-primary);border-radius:4px;overflow:hidden}.progress-indicator.svelte-6zajyi.svelte-6zajyi{position:absolute;height:100%;background-color:var(--color-green-primary);border-radius:4px}.step.svelte-6zajyi.svelte-6zajyi{width:calc(100% / 9);height:8px;flex-shrink:0;background-color:transparent;position:relative}.step.completed.svelte-6zajyi.svelte-6zajyi{background-color:transparent}.step.svelte-6zajyi.svelte-6zajyi:not(:last-child)::before{content:'';position:absolute;right:2px;top:50%;transform:translateY(-50%);width:4px;height:4px;background-color:var(--border-color-grey);border-radius:50%}.step.completed.svelte-6zajyi.svelte-6zajyi::before{display:none}.toggle-button.svelte-6zajyi.svelte-6zajyi{background-color:var(--background-color-secondary);cursor:pointer;height:24px;width:48px;border:1px solid var(--border-color-primary);border-radius:69px;position:relative;transition:background-color 0.3s}.toggle-button.svelte-6zajyi .toggle-circle.svelte-6zajyi{background-color:var(--text-color-secondary);border-radius:50%;position:absolute;top:2px;bottom:2px;width:20px;height:20px;transition:all 0.3s}@media(min-width: 768px){.progress-wrapper.svelte-6zajyi.svelte-6zajyi{background:none}.progress.svelte-6zajyi.svelte-6zajyi{height:40px;max-width:590px;padding:12px 36px 20px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px}.header.svelte-6zajyi.svelte-6zajyi{display:flex;justify-content:space-between;align-items:center;height:36px;padding:4px}.header-right.svelte-6zajyi.svelte-6zajyi{display:flex;justify-content:space-between;align-items:center;gap:10px}.heading.mobile.svelte-6zajyi.svelte-6zajyi{display:none}.heading.svelte-6zajyi.svelte-6zajyi::before{content:url("public/assets/icons/progress.svg");display:inline-block;margin-right:5px;height:24px;width:24px;background-size:contain;background-repeat:no-repeat}.texts.svelte-6zajyi.svelte-6zajyi{flex-direction:row;align-items:flex-end}.textPart.svelte-6zajyi.svelte-6zajyi{flex-direction:row;justify-content:flex-start}}`)}function ws(e,t,n){const r=e.slice();return r[5]=t[n],r[7]=n,r}function $s(e,t){let n,r;return{key:e,first:null,c(){n=x("div"),g(n,"class",r="step "+(t[7]<t[1]?"completed":"pending")+" svelte-6zajyi"),this.first=n},m(s,o){U(s,n,o)},p(s,o){t=s,o&3&&r!==(r="step "+(t[7]<t[1]?"completed":"pending")+" svelte-6zajyi")&&g(n,"class",r)},d(s){s&&F(n)}}}function ul(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H=[],ee=new Map,q,M,E=me(e[0]);const T=j=>j[7];for(let j=0;j<E.length;j+=1){let z=ws(e,E,j),K=T(z);ee.set(K,H[j]=$s(K,z))}return{c(){t=x("div"),n=x("div"),r=x("h3"),r.textContent=`${ks}`,s=k(),o=x("div"),i=x("p"),i.textContent="Do not show Getting started screen after login",l=k(),a=x("button"),u=x("span"),c=k(),f=x("div"),h=x("div"),p=x("h1"),b=te(e[2]),m=te("%"),w=k(),y=x("div"),_=x("h3"),_.textContent=`${ks}`,P=k(),A=x("p"),C=te(e[1]),B=te("/9 steps finished"),G=k(),R=x("div"),D=x("div"),Y=k();for(let j=0;j<H.length;j+=1)H[j].c();g(r,"class","heading svelte-6zajyi"),g(i,"class","text svelte-6zajyi"),g(u,"class","svelte-6zajyi"),ls(u,"toggle-circle",e[3]?"on":"off"),g(a,"class","toggle-button svelte-6zajyi"),g(o,"class","header-right svelte-6zajyi"),g(n,"class","header svelte-6zajyi"),g(p,"class","percentage svelte-6zajyi"),g(_,"class","heading mobile svelte-6zajyi"),g(A,"class","description svelte-6zajyi"),g(y,"class","texts svelte-6zajyi"),g(h,"class","textPart svelte-6zajyi"),g(D,"class","progress-indicator svelte-6zajyi"),X(D,"width",e[2]+"%"),g(R,"class","progress-bar svelte-6zajyi"),g(f,"class","progress svelte-6zajyi"),g(t,"class","progress-wrapper svelte-6zajyi")},m(j,z){U(j,t,z),d(t,n),d(n,r),d(n,s),d(n,o),d(o,i),d(o,l),d(o,a),d(a,u),d(t,c),d(t,f),d(f,h),d(h,p),d(p,b),d(p,m),d(h,w),d(h,y),d(y,_),d(y,P),d(y,A),d(A,C),d(A,B),d(f,G),d(f,R),d(R,D),d(R,Y);for(let K=0;K<H.length;K+=1)H[K]&&H[K].m(R,null);q||(M=Fe(a,"click",e[4]),q=!0)},p(j,[z]){z&8&&ls(u,"toggle-circle",j[3]?"on":"off"),z&4&&ge(b,j[2]),z&2&&ge(C,j[1]),z&4&&X(D,"width",j[2]+"%"),z&3&&(E=me(j[0]),H=Ia(H,z,T,1,j,E,ee,R,ja,$s,null,ws))},i:Q,o:Q,d(j){j&&F(t);for(let z=0;z<H.length;z+=1)H[z].d();q=!1,M()}}}const ks="Getting started progress";function fl(e,t,n){let r,s,o,i;pe(e,Se,a=>n(0,o=a)),pe(e,gs,a=>n(3,i=a));function l(){gs.update(a=>!a)}return e.$$.update=()=>{e.$$.dirty&1&&n(2,r=o?Math.round(o.filter(a=>a.state==="c").length/o.length*100):0),e.$$.dirty&1&&n(1,s=o?o.filter(a=>a.state==="c").length:0)},[o,s,r,i,l]}class Sr extends ae{constructor(t){super(),oe(this,t,fl,ul,ne,{},cl)}}ie(Sr,{},[],[],!0);function hl(e){fe(e,"svelte-1u46tw8",".heading.svelte-1u46tw8{margin:0 0 6px;color:var(--text-color-primary);font-family:Roboto;font-size:16px;font-weight:700;line-height:20px}")}function dl(e){let t,n;return{c(){t=x("h2"),n=te(e[0]),g(t,"class","heading svelte-1u46tw8"),g(t,"style",e[1])},m(r,s){U(r,t,s),d(t,n)},p(r,[s]){s&1&&ge(n,r[0]),s&2&&g(t,"style",r[1])},i:Q,o:Q,d(r){r&&F(t)}}}function pl(e,t,n){let{text:r}=t,{additionalStyles:s=""}=t;return e.$$set=o=>{"text"in o&&n(0,r=o.text),"additionalStyles"in o&&n(1,s=o.additionalStyles)},[r,s]}class _e extends ae{constructor(t){super(),oe(this,t,pl,dl,ne,{text:0,additionalStyles:1},hl)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get additionalStyles(){return this.$$.ctx[1]}set additionalStyles(t){this.$$set({additionalStyles:t}),W()}}ie(_e,{text:{},additionalStyles:{}},[],[],!0);function gl(e){fe(e,"svelte-1xrrie3",".text.svelte-1xrrie3{align-self:flex-start;margin:6px 0;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:400;line-height:20px}@media(min-width: 768px){.text.svelte-1xrrie3{font-size:13px}}")}function ml(e){let t,n,r,s,o;const i=e[3].default,l=Vn(i,e,e[2],null);return{c(){t=x("p"),n=te(e[0]),r=k(),l&&l.c(),g(t,"class","text svelte-1xrrie3"),g(t,"style",s=e[1]+";")},m(a,u){U(a,t,u),d(t,n),d(t,r),l&&l.m(t,null),o=!0},p(a,[u]){(!o||u&1)&&ge(n,a[0]),l&&l.p&&(!o||u&4)&&qn(l,i,a,a[2],o?Gn(i,a[2],u,null):Wn(a[2]),null),(!o||u&2&&s!==(s=a[1]+";"))&&g(t,"style",s)},i(a){o||($(l,a),o=!0)},o(a){S(l,a),o=!1},d(a){a&&F(t),l&&l.d(a)}}}function vl(e,t,n){let{$$slots:r={},$$scope:s}=t,{text:o}=t,{additionalStyles:i=""}=t;return e.$$set=l=>{"text"in l&&n(0,o=l.text),"additionalStyles"in l&&n(1,i=l.additionalStyles),"$$scope"in l&&n(2,s=l.$$scope)},[o,i,s,r]}class le extends ae{constructor(t){super(),oe(this,t,vl,ml,ne,{text:0,additionalStyles:1},gl)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get additionalStyles(){return this.$$.ctx[1]}set additionalStyles(t){this.$$set({additionalStyles:t}),W()}}ie(le,{text:{},additionalStyles:{}},["default"],[],!0);function bl(e){fe(e,"svelte-1rca30r",".highlight.svelte-1rca30r{display:inline;color:var(--color);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;text-decoration-line:underline}")}function yl(e){let t,n,r,s,o,i,l;return{c(){t=x("a"),n=x("span"),r=te(e[0]),s=k(),o=x("span"),i=te(e[2]),g(n,"class","highlight svelte-1rca30r"),g(o,"class","punctuation"),g(t,"href",e[3]),g(t,"class","link"),g(t,"style",l=e[1]+"; --color: "+e[4].textsIcons.blue+";")},m(a,u){U(a,t,u),d(t,n),d(n,r),d(t,s),d(t,o),d(o,i)},p(a,[u]){u&1&&ge(r,a[0]),u&4&&ge(i,a[2]),u&8&&g(t,"href",a[3]),u&18&&l!==(l=a[1]+"; --color: "+a[4].textsIcons.blue+";")&&g(t,"style",l)},i:Q,o:Q,d(a){a&&F(t)}}}function xl(e,t,n){let r;pe(e,Je,a=>n(4,r=a));let{text:s}=t,{additinalStyles:o=""}=t,{punctuation:i=""}=t,{href:l="#"}=t;return e.$$set=a=>{"text"in a&&n(0,s=a.text),"additinalStyles"in a&&n(1,o=a.additinalStyles),"punctuation"in a&&n(2,i=a.punctuation),"href"in a&&n(3,l=a.href)},[s,o,i,l,r]}class ht extends ae{constructor(t){super(),oe(this,t,xl,yl,ne,{text:0,additinalStyles:1,punctuation:2,href:3},bl)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get additinalStyles(){return this.$$.ctx[1]}set additinalStyles(t){this.$$set({additinalStyles:t}),W()}get punctuation(){return this.$$.ctx[2]}set punctuation(t){this.$$set({punctuation:t}),W()}get href(){return this.$$.ctx[3]}set href(t){this.$$set({href:t}),W()}}ie(ht,{text:{},additinalStyles:{},punctuation:{},href:{}},[],[],!0);function _l(e){fe(e,"svelte-4ce0dz",'.Summary.svelte-4ce0dz.svelte-4ce0dz{width:100%}.wrapper.svelte-4ce0dz.svelte-4ce0dz{margin-top:12px;padding:20px 36px;background-color:var(--background-secondary);border:1px solid var(--border-color-primary);overflow-y:auto;border-radius:6px}.Block.svelte-4ce0dz.svelte-4ce0dz{margin-top:10px;padding:16px 24px;border-radius:6px}.Shortcuts.svelte-4ce0dz.svelte-4ce0dz{background-color:var(--event-yellow-surface)}.Secrets.svelte-4ce0dz.svelte-4ce0dz{background-color:var(--event-pink-surface)}.heading.svelte-4ce0dz.svelte-4ce0dz{color:var(--text-color-primary);margin-top:0;font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.heading.svelte-4ce0dz.svelte-4ce0dz::before{content:"";display:inline-block;margin-right:8px;margin-top:-3px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat;vertical-align:middle}.Shortcuts.svelte-4ce0dz .heading.svelte-4ce0dz::before{content:url("public/assets/icons/shortcuts.svg")}.Secrets.svelte-4ce0dz .heading.svelte-4ce0dz::before{content:url("public/assets/icons/learn.svg")}section.svelte-4ce0dz.svelte-4ce0dz{padding:0 24px;margin-bottom:24px}img.svelte-4ce0dz.svelte-4ce0dz{width:100%;margin:24px 0}@media(min-width: 768px){.Summary.svelte-4ce0dz.svelte-4ce0dz{max-width:615px}}')}function wl(e){let t,n;return t=new ht({props:{text:"reach out",punctuation:"!",href:"/#/contact-us"}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p:Q,i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function $l(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H,ee,q,M;return n=new Sr({}),u=new _e({props:{text:"You are all set! 😎"}}),f=new le({props:{text:"You've successfully completed all the steps in setting up your LiveAgent Helpdesk software."}}),p=new le({props:{text:"Make sure to experiment with all the various features and tools available. Remember, the key to success with software like this is to make full use of its capabilities. Stay curious, innovative, and always ready for meaningful customer interactions.We're thrilled to see how this platform will help you boost your customer interactions, improve response times, and enhance overall customer satisfaction."}}),m=new le({props:{text:"In case you need any assistance or have queries, our support is just a click away. Never hesitate to ",$$slots:{default:[wl]},$$scope:{ctx:e}}}),A=new le({props:{text:"Would you like to navigate through LiveAgent more quickly and efficiently? Familiarizing yourself with available shortcuts will certainly speed up your tasks and enhance your productivity. Visit our dedicated shortcuts page. "}}),B=new ht({props:{text:"Check out shortcuts",href:"/#/windows-shortcuts"}}),H=new le({props:{text:"And for those eager to delve deeper and truly master LiveAgent, we've gathered a collection of how-to articles and guides covering a wide range of topics. So go ahead and start exploring."}}),q=new ht({props:{text:"Improve your LiveAgent skills",href:"/#/improve-la-skills"}}),{c(){t=x("div"),O(n.$$.fragment),r=k(),s=x("div"),o=x("section"),i=x("img"),a=k(),O(u.$$.fragment),c=k(),O(f.$$.fragment),h=k(),O(p.$$.fragment),b=k(),O(m.$$.fragment),w=k(),y=x("div"),_=x("h3"),_.textContent="Shortcuts",P=k(),O(A.$$.fragment),C=k(),O(B.$$.fragment),G=k(),R=x("div"),D=x("h3"),D.textContent="Discover the secrets of LiveAgent",Y=k(),O(H.$$.fragment),ee=k(),O(q.$$.fragment),ce(i.src,l="public/assets/images/all-done.svg")||g(i,"src",l),g(i,"alt","all done"),g(i,"class","svelte-4ce0dz"),g(o,"class","svelte-4ce0dz"),g(_,"class","heading svelte-4ce0dz"),g(y,"class","Block Shortcuts svelte-4ce0dz"),g(D,"class","heading svelte-4ce0dz"),g(R,"class","Block Secrets svelte-4ce0dz"),g(s,"class","wrapper svelte-4ce0dz"),g(t,"class","Summary svelte-4ce0dz")},m(E,T){U(E,t,T),I(n,t,null),d(t,r),d(t,s),d(s,o),d(o,i),d(o,a),I(u,o,null),d(o,c),I(f,o,null),d(o,h),I(p,o,null),d(o,b),I(m,o,null),d(s,w),d(s,y),d(y,_),d(y,P),I(A,y,null),d(y,C),I(B,y,null),d(s,G),d(s,R),d(R,D),d(R,Y),I(H,R,null),d(R,ee),I(q,R,null),M=!0},p(E,[T]){const j={};T&1&&(j.$$scope={dirty:T,ctx:E}),m.$set(j)},i(E){M||($(n.$$.fragment,E),$(u.$$.fragment,E),$(f.$$.fragment,E),$(p.$$.fragment,E),$(m.$$.fragment,E),$(A.$$.fragment,E),$(B.$$.fragment,E),$(H.$$.fragment,E),$(q.$$.fragment,E),M=!0)},o(E){S(n.$$.fragment,E),S(u.$$.fragment,E),S(f.$$.fragment,E),S(p.$$.fragment,E),S(m.$$.fragment,E),S(A.$$.fragment,E),S(B.$$.fragment,E),S(H.$$.fragment,E),S(q.$$.fragment,E),M=!1},d(E){E&&F(t),L(n),L(u),L(f),L(p),L(m),L(A),L(B),L(H),L(q)}}}class si extends ae{constructor(t){super(),oe(this,t,null,$l,ne,{},_l)}}ie(si,{},[],[],!0);function kl(e){fe(e,"svelte-17l16g5","button.svelte-17l16g5.svelte-17l16g5{display:flex;height:36px;padding:6px 20px;justify-content:center;align-items:center;border:none;border-radius:6px;background-color:var(--button-color-blue);box-shadow:var(--shadow-primary);gap:6px;cursor:pointer}.reversed.svelte-17l16g5.svelte-17l16g5{background-color:var(--button-color-grey);border:1px solid var(--border-color-primary)}.reversed.svelte-17l16g5>span.svelte-17l16g5{color:var(--button-text-color-secondary-local)}button.svelte-17l16g5.svelte-17l16g5:disabled{background-color:var(--button-color-disabled);box-shadow:var(--shadow-secondary);cursor:default}span.svelte-17l16g5.svelte-17l16g5{color:var(--button-text-color-primary-local);font-weight:700;white-space:nowrap}")}function Es(e){let t,n;return{c(){t=x("img"),g(t,"class","icon"),ce(t.src,n=e[2])||g(t,"src",n),g(t,"alt",e[3])},m(r,s){U(r,t,s)},p(r,s){s&4&&!ce(t.src,n=r[2])&&g(t,"src",n),s&8&&g(t,"alt",r[3])},d(r){r&&F(t)}}}function El(e){let t,n,r,s,o,i,l,a=e[2]&&Es(e);return{c(){t=x("button"),n=x("span"),r=te(e[1]),s=k(),a&&a.c(),g(n,"class","svelte-17l16g5"),t.disabled=e[4],g(t,"class",o=Ln(e[5]?"reversed":"")+" svelte-17l16g5"),X(t,"--button-text-color-primary-local",e[6].buttonsSwitchesTabs.textsIcons.buttonTextIconsPrimary),X(t,"--button-text-color-secondary-local",e[6].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack),X(t,"--shadow-primary","0px -1px 1px 0px rgba(4, 79, 173, 0.10) inset, 0px 1px 0px 0px rgba(30, 34, 39, 0.12)"),X(t,"--shadow-secondary","0px 1px 0px 1px rgba(30, 34, 39, 0.32) inset, 0px 1px 0px 0px rgba(30, 34, 39, 0.04)")},m(u,c){U(u,t,c),d(t,n),d(n,r),d(t,s),a&&a.m(t,null),i||(l=Fe(t,"click",function(){dt(e[0])&&e[0].apply(this,arguments)}),i=!0)},p(u,[c]){e=u,c&2&&ge(r,e[1]),e[2]?a?a.p(e,c):(a=Es(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),c&16&&(t.disabled=e[4]),c&32&&o!==(o=Ln(e[5]?"reversed":"")+" svelte-17l16g5")&&g(t,"class",o),c&64&&X(t,"--button-text-color-primary-local",e[6].buttonsSwitchesTabs.textsIcons.buttonTextIconsPrimary),c&64&&X(t,"--button-text-color-secondary-local",e[6].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack)},i:Q,o:Q,d(u){u&&F(t),a&&a.d(),i=!1,l()}}}function Tl(e,t,n){let r;pe(e,Je,c=>n(6,r=c));let{onClick:s}=t,{text:o}=t,{src:i=""}=t,{alt:l=""}=t,{disabled:a=!1}=t,{reversedColors:u=!1}=t;return e.$$set=c=>{"onClick"in c&&n(0,s=c.onClick),"text"in c&&n(1,o=c.text),"src"in c&&n(2,i=c.src),"alt"in c&&n(3,l=c.alt),"disabled"in c&&n(4,a=c.disabled),"reversedColors"in c&&n(5,u=c.reversedColors)},[s,o,i,l,a,u,r]}class on extends ae{constructor(t){super(),oe(this,t,Tl,El,ne,{onClick:0,text:1,src:2,alt:3,disabled:4,reversedColors:5},kl)}get onClick(){return this.$$.ctx[0]}set onClick(t){this.$$set({onClick:t}),W()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),W()}get src(){return this.$$.ctx[2]}set src(t){this.$$set({src:t}),W()}get alt(){return this.$$.ctx[3]}set alt(t){this.$$set({alt:t}),W()}get disabled(){return this.$$.ctx[4]}set disabled(t){this.$$set({disabled:t}),W()}get reversedColors(){return this.$$.ctx[5]}set reversedColors(t){this.$$set({reversedColors:t}),W()}}ie(on,{onClick:{},text:{},src:{},alt:{},disabled:{type:"Boolean"},reversedColors:{type:"Boolean"}},[],[],!0);function Sl(e){fe(e,"svelte-107jie6",'.Step.svelte-107jie6{width:100%;height:100%}article.svelte-107jie6{position:relative;display:block;height:100%;width:100%;padding:20px;margin-bottom:20px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box}.content.svelte-107jie6{display:flex;flex-direction:column;padding:0 24px;height:calc(100% - 90px)}.header.svelte-107jie6{display:flex;justify-content:space-between;align-items:center;padding:0 20px;margin-top:20px;margin-bottom:10px}.heading.svelte-107jie6{display:flex;justify-content:center;align-items:center}.title.svelte-107jie6{display:flex;align-items:center;margin:0;color:var(--text-color-primary);font-size:13px;font-weight:700;line-height:20px}.icon.svelte-107jie6{display:inline-block;margin-right:5px;height:24px;width:24px;background-size:contain;background-repeat:no-repeat}.skipButton.svelte-107jie6{position:relative;padding-right:20px;background:none;border:none;color:var(--text-color-secondary);font-size:13px;font-weight:700;line-height:20px;cursor:pointer}.skipButton.svelte-107jie6::after{content:url("public/assets/icons/arrow-right.svg");position:absolute;top:3px;right:0;width:16px;height:16px}.nextStep.svelte-107jie6{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 -24px;padding:20px 36px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary)}.nextStepText.svelte-107jie6{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}@media(min-width: 768px){.Step.svelte-107jie6{max-width:630px;overflow:hidden}.content.svelte-107jie6{padding:0;height:calc(100% - 170px)}article.svelte-107jie6{height:calc(100% - 100px);padding:20px 35px;margin-bottom:0}.header.svelte-107jie6{padding:0}.nextStep.svelte-107jie6{padding:6px 36px;margin:-5px 0 0;border-radius:6px}}')}function Ts(e){let t,n,r;return{c(){t=x("button"),t.textContent="Skip this step",g(t,"class","skipButton svelte-107jie6")},m(s,o){U(s,t,o),n||(r=Fe(t,"click",e[9]),n=!0)},p:Q,d(s){s&&F(t),n=!1,r()}}}function Pl(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C;n=new Sr({});let B=!e[0]&&Ts(e);const G=e[17].default,R=Vn(G,e,e[16],null);return A=new on({props:{disabled:e[4],onClick:e[8],text:e[5],src:e[6],alt:e[7]}}),{c(){t=x("div"),O(n.$$.fragment),r=k(),s=x("div"),o=x("div"),i=x("img"),a=k(),u=x("h1"),c=te(e[2]),f=k(),B&&B.c(),h=k(),p=x("div"),b=x("article"),R&&R.c(),m=k(),w=x("section"),y=x("p"),_=te(e[1]),P=k(),O(A.$$.fragment),g(i,"class","icon svelte-107jie6"),ce(i.src,l=e[3])||g(i,"src",l),g(i,"alt","heading icon"),g(u,"class","title svelte-107jie6"),g(o,"class","heading svelte-107jie6"),g(s,"class","header svelte-107jie6"),g(b,"class","svelte-107jie6"),g(y,"class","nextStepText svelte-107jie6"),g(w,"class","nextStep svelte-107jie6"),g(p,"class","content svelte-107jie6"),g(t,"class","Step svelte-107jie6")},m(D,Y){U(D,t,Y),I(n,t,null),d(t,r),d(t,s),d(s,o),d(o,i),d(o,a),d(o,u),d(u,c),d(s,f),B&&B.m(s,null),d(t,h),d(t,p),d(p,b),R&&R.m(b,null),d(p,m),d(p,w),d(w,y),d(y,_),d(w,P),I(A,w,null),C=!0},p(D,[Y]){(!C||Y&8&&!ce(i.src,l=D[3]))&&g(i,"src",l),(!C||Y&4)&&ge(c,D[2]),D[0]?B&&(B.d(1),B=null):B?B.p(D,Y):(B=Ts(D),B.c(),B.m(s,null)),R&&R.p&&(!C||Y&65536)&&qn(R,G,D,D[16],C?Gn(G,D[16],Y,null):Wn(D[16]),null),(!C||Y&2)&&ge(_,D[1]);const H={};Y&16&&(H.disabled=D[4]),Y&32&&(H.text=D[5]),Y&64&&(H.src=D[6]),Y&128&&(H.alt=D[7]),A.$set(H)},i(D){C||($(n.$$.fragment,D),$(R,D),$(A.$$.fragment,D),C=!0)},o(D){S(n.$$.fragment,D),S(R,D),S(A.$$.fragment,D),C=!1},d(D){D&&F(t),L(n),B&&B.d(),R&&R.d(D),L(A)}}}function Cl(e,t,n){let r,{$$slots:s={},$$scope:o}=t,{hideSkipStepButton:i=!1}=t,{headerTitle:l}=t,{headerIconPath:a}=t,{nextStepCase:u}=t,{nextStepText:c=""}=t,{nextStepUnfinishedText:f}=t,{nextStepFinishedText:h}=t,{path:p}=t,{stepFinished:b=!1}=t,m=!1,w="Next step",y="public/assets/icons/next.svg",_="next";function P(){Wa(p)}function A(){qa(p)}return e.$$set=C=>{"hideSkipStepButton"in C&&n(0,i=C.hideSkipStepButton),"headerTitle"in C&&n(2,l=C.headerTitle),"headerIconPath"in C&&n(3,a=C.headerIconPath),"nextStepCase"in C&&n(10,u=C.nextStepCase),"nextStepText"in C&&n(1,c=C.nextStepText),"nextStepUnfinishedText"in C&&n(11,f=C.nextStepUnfinishedText),"nextStepFinishedText"in C&&n(12,h=C.nextStepFinishedText),"path"in C&&n(13,p=C.path),"stepFinished"in C&&n(14,b=C.stepFinished),"$$scope"in C&&n(16,o=C.$$scope)},e.$$.update=()=>{if(e.$$.dirty&56320)switch(u){case"first":n(1,c=f),n(5,w="Let's start"),n(6,y="public/assets/icons/rocket.svg"),n(7,_="rocket"),n(4,m=!1);break;case"mid":n(1,c=f),n(4,m=!b);break;case"last":n(1,c=r?h:f),n(5,w=r?"Finish":"Redo unfinished steps"),n(6,y=r?"public/assets/icons/checkmark.svg":"public/assets/icons/next.svg"),n(7,_=r?"check":"next"),n(4,m=!r);break}e.$$.dirty&20480&&b&&(n(0,i=!0),n(4,m=!1),n(1,c=h))},n(15,r=Ga()),[i,c,l,a,m,w,y,_,P,A,u,f,h,p,b,r,o,s]}class Ue extends ae{constructor(t){super(),oe(this,t,Cl,Pl,ne,{hideSkipStepButton:0,headerTitle:2,headerIconPath:3,nextStepCase:10,nextStepText:1,nextStepUnfinishedText:11,nextStepFinishedText:12,path:13,stepFinished:14},Sl)}get hideSkipStepButton(){return this.$$.ctx[0]}set hideSkipStepButton(t){this.$$set({hideSkipStepButton:t}),W()}get headerTitle(){return this.$$.ctx[2]}set headerTitle(t){this.$$set({headerTitle:t}),W()}get headerIconPath(){return this.$$.ctx[3]}set headerIconPath(t){this.$$set({headerIconPath:t}),W()}get nextStepCase(){return this.$$.ctx[10]}set nextStepCase(t){this.$$set({nextStepCase:t}),W()}get nextStepText(){return this.$$.ctx[1]}set nextStepText(t){this.$$set({nextStepText:t}),W()}get nextStepUnfinishedText(){return this.$$.ctx[11]}set nextStepUnfinishedText(t){this.$$set({nextStepUnfinishedText:t}),W()}get nextStepFinishedText(){return this.$$.ctx[12]}set nextStepFinishedText(t){this.$$set({nextStepFinishedText:t}),W()}get path(){return this.$$.ctx[13]}set path(t){this.$$set({path:t}),W()}get stepFinished(){return this.$$.ctx[14]}set stepFinished(t){this.$$set({stepFinished:t}),W()}}ie(Ue,{hideSkipStepButton:{type:"Boolean"},headerTitle:{},headerIconPath:{},nextStepCase:{},nextStepText:{},nextStepUnfinishedText:{},nextStepFinishedText:{},path:{},stepFinished:{type:"Boolean"}},["default"],[],!0);function Al(e){fe(e,"svelte-4pkbpj","section.svelte-4pkbpj{display:flex;flex-direction:column;padding:12px 0}.section3.svelte-4pkbpj{flex-direction:column-reverse;gap:16px}img.svelte-4pkbpj{margin:24px auto}@media(min-width: 768px){section.svelte-4pkbpj{flex-flow:wrap row;align-items:flex-start}.section3.svelte-4pkbpj{flex-direction:row;flex-wrap:nowrap}}")}function jl(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H,ee,q,M,E,T,j,z,K,J;return n=new _e({props:{text:"How does LiveAgent work?"}}),s=new le({props:{text:"LiveAgent helpdesk software is a customer service tool that helps manage and streamline interactions with customers across multiple channels such as email, live chat, phone calls, and social media."}}),i=new le({props:{text:"The software sorts incoming customer queries automatically into tickets and assigns them to the appropriate department or agent using predefined rules. It provides a single, shared inbox where agents can access and respond to all customer inquiries. LiveAgent also offers features such as automation rules, SLA, reports, analytics, and a knowledge base that aids in self-service."}}),a=new le({props:{text:"In essence, LiveAgent improves the efficiency of your customer service and ensures all customer communications are dealt with in a timely and organized manner."}}),b=new _e({props:{text:"What is a ticket?"}}),w=new le({props:{text:"A helpdesk ticket is essentially a digital record of a customer's request for help or assistance. This ticket contains all the relevant information about the customer's issue or query, including their contact details, the nature of the problem, and any interactions that have been had with the customer regarding the issue. The ticket can originate from various sources, such as emails, phone calls, live chats, or social media messages."}}),C=new le({props:{text:"As the issue progresses toward resolution, the ticket gets updated with new actions, responses, or notes. The ticket goes through various states - starting from being 'new', to being 'answered' when an agent answers, 'open' when the customer replies, and lastly ’resolved’ when the issue is resolved. If the ticket isn't reopened, it will conclude its cycle with the final and irreversible ‘closed’ status. This system ensures that every customer's problem is systematically tracked, addressed, and resolved.To aid in managing and distributing tickets, it's important to create Departments. This effectively delegates authority and responsibility pertaining to the tickets, ensuring each ticket gets directed to the right team or person."}}),ee=new _e({props:{text:"What is a department"}}),M=new le({props:{text:'A Department refers to a designated group within the organization that handles specific tickets or customer inquiries. It may represent different functional areas within a company like "Customer Service", "Technical Support", "Billing", or "Sales", or it may represent different language skills or team proficiency like “Sales - English”, “Sales - German” or “Technical - 2nd level”. This ensures tickets are quickly assigned to the right people, which can resolve issues faster and more efficiently.'}}),j=new _e({props:{text:"What is an agent?"}}),K=new le({props:{text:"An Agent is a member of your support team who interacts directly with your customers to resolve their queries or issues. They are essentially the users of the LiveAgent software within your LiveAgent account, tasked with responding to customer inquiries that arrive as tickets."}}),{c(){t=x("section"),O(n.$$.fragment),r=k(),O(s.$$.fragment),o=k(),O(i.$$.fragment),l=k(),O(a.$$.fragment),u=k(),c=x("img"),h=k(),p=x("section"),O(b.$$.fragment),m=k(),O(w.$$.fragment),y=k(),_=x("img"),A=k(),O(C.$$.fragment),B=k(),G=x("section"),R=x("img"),Y=k(),H=x("div"),O(ee.$$.fragment),q=k(),O(M.$$.fragment),E=k(),T=x("section"),O(j.$$.fragment),z=k(),O(K.$$.fragment),ce(c.src,f="public/assets/images/liveagent.svg")||g(c,"src",f),g(c,"alt","LiveAgent in a nutshell"),g(c,"class","svelte-4pkbpj"),g(t,"class","svelte-4pkbpj"),ce(_.src,P="public/assets/images/tags.svg")||g(_,"src",P),g(_,"alt","Tags"),g(_,"class","svelte-4pkbpj"),g(p,"class","svelte-4pkbpj"),ce(R.src,D="public/assets/images/departments.svg")||g(R,"src",D),g(R,"alt","Departments"),g(R,"class","svelte-4pkbpj"),g(G,"class","section3 svelte-4pkbpj"),g(T,"class","svelte-4pkbpj")},m(V,re){U(V,t,re),I(n,t,null),d(t,r),I(s,t,null),d(t,o),I(i,t,null),d(t,l),I(a,t,null),d(t,u),d(t,c),U(V,h,re),U(V,p,re),I(b,p,null),d(p,m),I(w,p,null),d(p,y),d(p,_),d(p,A),I(C,p,null),U(V,B,re),U(V,G,re),d(G,R),d(G,Y),d(G,H),I(ee,H,null),d(H,q),I(M,H,null),U(V,E,re),U(V,T,re),I(j,T,null),d(T,z),I(K,T,null),J=!0},p:Q,i(V){J||($(n.$$.fragment,V),$(s.$$.fragment,V),$(i.$$.fragment,V),$(a.$$.fragment,V),$(b.$$.fragment,V),$(w.$$.fragment,V),$(C.$$.fragment,V),$(ee.$$.fragment,V),$(M.$$.fragment,V),$(j.$$.fragment,V),$(K.$$.fragment,V),J=!0)},o(V){S(n.$$.fragment,V),S(s.$$.fragment,V),S(i.$$.fragment,V),S(a.$$.fragment,V),S(b.$$.fragment,V),S(w.$$.fragment,V),S(C.$$.fragment,V),S(ee.$$.fragment,V),S(M.$$.fragment,V),S(j.$$.fragment,V),S(K.$$.fragment,V),J=!1},d(V){V&&(F(t),F(h),F(p),F(B),F(G),F(E),F(T)),L(n),L(s),L(i),L(a),L(b),L(w),L(C),L(ee),L(M),L(j),L(K)}}}function Il(e){let t,n,r;function s(i){e[1](i)}let o={headerTitle:"Learn the basics",headerIconPath:"public/assets/icons/learn-the-basics.svg",hideSkipStepButton:!0,nextStepCase:"first",nextStepUnfinishedText:"Already familiar with the fundamentals of LiveAgent? Let's proceed with the setup.",nextStepFinishedText:"Now that you've understood the fundamentals, it's time to begin setting up the software.",path:"/learn-the-basics",$$slots:{default:[jl]},$$scope:{ctx:e}};return e[0]!==void 0&&(o.stepFinished=e[0]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&8&&(a.$$scope={dirty:l,ctx:i}),!n&&l&1&&(n=!0,a.stepFinished=i[0],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function Ll(e,t,n){let r;pe(e,Se,i=>n(2,r=i));let s=!1;ze(()=>{n(0,s=r[0].state==="c")});function o(i){s=i,n(0,s)}return[s,o]}class oi extends ae{constructor(t){super(),oe(this,t,Ll,Il,ne,{},Al)}}ie(oi,{},[],[],!0);function Ol(e){fe(e,"svelte-1dacvvn",".AgentTag.svelte-1dacvvn{display:flex;align-items:center;height:18px;border-radius:4px;background-color:var(--background-color-left);padding:3px 0}.Left.svelte-1dacvvn,.Right.svelte-1dacvvn{display:inline-flex;align-items:center;justify-content:center;flex:0 1}.Left.svelte-1dacvvn{padding:0 14px;height:24px;border-radius:4px;background-color:var(--background-color-left)}.Left.WithIcon.svelte-1dacvvn{padding:0 6px}.Right.svelte-1dacvvn{padding:0 6px;height:24px;border-radius:4px;background-color:var(--background-color-right)}.Text.svelte-1dacvvn{margin:0;color:var(--background-color-secondary);font-size:12px;font-weight:700;letter-spacing:0.24px}.Icon.svelte-1dacvvn{width:16px;height:16px;color:var(--icon-color)}")}function Ss(e){let t,n;return{c(){t=x("img"),g(t,"class","Icon svelte-1dacvvn"),ce(t.src,n=e[1])||g(t,"src",n),g(t,"alt",e[2])},m(r,s){U(r,t,s)},p(r,s){s&2&&!ce(t.src,n=r[1])&&g(t,"src",n),s&4&&g(t,"alt",r[2])},d(r){r&&F(t)}}}function Bl(e){let t,n,r,s,o,i,l,a=e[1]&&Ss(e);return{c(){t=x("div"),n=x("div"),a&&a.c(),s=k(),o=x("div"),i=x("h3"),l=te(e[0]),g(n,"class",r="Left "+(e[1]?"WithIcon":"")+" svelte-1dacvvn"),g(i,"class","Text svelte-1dacvvn"),g(o,"class","Right svelte-1dacvvn"),g(t,"class","AgentTag svelte-1dacvvn"),X(t,"--background-color-left",e[3].events.grey.primary),X(t,"--background-color-right",e[3].events.grey.secondary),X(t,"--icon-color",e[3].textsIcons.white)},m(u,c){U(u,t,c),d(t,n),a&&a.m(n,null),d(t,s),d(t,o),d(o,i),d(i,l)},p(u,[c]){u[1]?a?a.p(u,c):(a=Ss(u),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&2&&r!==(r="Left "+(u[1]?"WithIcon":"")+" svelte-1dacvvn")&&g(n,"class",r),c&1&&ge(l,u[0]),c&8&&X(t,"--background-color-left",u[3].events.grey.primary),c&8&&X(t,"--background-color-right",u[3].events.grey.secondary),c&8&&X(t,"--icon-color",u[3].textsIcons.white)},i:Q,o:Q,d(u){u&&F(t),a&&a.d()}}}function Rl(e,t,n){let r;pe(e,Je,l=>n(3,r=l));let{text:s}=t,{icon:o=""}=t,{alt:i=""}=t;return e.$$set=l=>{"text"in l&&n(0,s=l.text),"icon"in l&&n(1,o=l.icon),"alt"in l&&n(2,i=l.alt)},[s,o,i,r]}class Sn extends ae{constructor(t){super(),oe(this,t,Rl,Bl,ne,{text:0,icon:1,alt:2},Ol)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get icon(){return this.$$.ctx[1]}set icon(t){this.$$set({icon:t}),W()}get alt(){return this.$$.ctx[2]}set alt(t){this.$$set({alt:t}),W()}}ie(Sn,{text:{},icon:{},alt:{}},[],[],!0);let se={agentManaged:!1,departmentManaged:!1,incomingEmailConnected:!1,outgoingEmailConnected:!1,facebookConnected:!1,instagramConnected:!1,twitterConnected:!1,whatsappConnected:!1,viberConnected:!1,chatButtonCreated:!1,chatInvitationCreated:!1,contactFormCreated:!1,callButtonCreated:!1,videoCallButtonCreated:!1,callCenterConnected:!1,themeChanged:!1,colorsChanged:!1,articleCreated:!1,KBCreated:!1};function Te(e,t){console.log(` ${e} was changed to: ${t?"true":"false"}`)}async function Ps(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.agentManaged=e,Te("agent managed",e)),{completionStatus:se.agentManaged}}async function Cs(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.departmentManaged=e,Te("department managed",e)),{completionStatus:se.departmentManaged}}async function As(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.incomingEmailConnected=e,Te("incoming email",e)),{completionStatus:se.incomingEmailConnected}}async function js(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.outgoingEmailConnected=e,Te("outgoing email",e)),{completionStatus:se.outgoingEmailConnected}}async function Hl(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.facebookConnected=e,Te("facebook",e)),{completionStatus:se.facebookConnected}}async function Ml(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.instagramConnected=e,Te("instagram",e)),{completionStatus:se.instagramConnected}}async function Dl(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.twitterConnected=e,Te("twitter",e)),{completionStatus:se.twitterConnected}}async function Is(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.whatsappConnected=e,Te("whatsapp",e)),{completionStatus:se.whatsappConnected}}async function Ls(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.viberConnected=e,Te("viber",e)),{completionStatus:se.viberConnected}}async function zl(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(se.chatButtonCreated=e,Te("chat button",e)),{completionStatus:se.chatButtonCreated}}async function Nl(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(se.chatInvitationCreated=e,Te("chat invitation",e)),{completionStatus:se.chatInvitationCreated}}async function Fl(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(se.contactFormCreated=e,Te("contact form",e)),{completionStatus:se.contactFormCreated}}async function Ul(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(se.callButtonCreated=e,Te("call button",e)),{completionStatus:se.callButtonCreated}}async function Vl(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(se.videoCallButtonCreated=e,Te("video call button",e)),{completionStatus:se.videoCallButtonCreated}}async function Os(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.callCenterConnected=e,Te("call center",e)),{completionStatus:se.callCenterConnected}}async function Gl(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.themeChanged=e,Te("theme",e)),{completionStatus:se.themeChanged}}async function ql(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.colorsChanged=e,Te("color",e)),{completionStatus:se.colorsChanged}}async function Wl(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.articleCreated=e,Te("article",e)),{completionStatus:se.articleCreated}}async function Xl(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(se.KBCreated=e,Te("Knowledge base",e)),{completionStatus:se.KBCreated}}async function Yl(){return await new Promise(e=>setTimeout(e,1e3)),{message:"email@ladesk.com"}}function Kl(e){fe(e,"svelte-ux55tm",'.wrapper.svelte-ux55tm.svelte-ux55tm{width:100%;height:calc(100% - 12px)}section.svelte-ux55tm.svelte-ux55tm{margin:12px 0}.panel-wrapper.svelte-ux55tm.svelte-ux55tm{display:flex;flex-direction:column;padding:16px 20px 12px 20px;border-radius:6px;background:var(--background-color-grey-secondary)}.panel.svelte-ux55tm.svelte-ux55tm{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:14px 16px;margin-bottom:10px;gap:12px;background:var(--background-color-grey-primary);border-radius:6px}.panel-text.svelte-ux55tm.svelte-ux55tm{color:var(--text-color-primary);margin:0;font-size:12px;font-weight:400;line-height:20px}.panel-bottom.svelte-ux55tm.svelte-ux55tm{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px}.panel-bottom.svelte-ux55tm .text.svelte-ux55tm{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.info-panel.svelte-ux55tm.svelte-ux55tm{background-color:var(--background-color-blue-primary);padding:6px 10px 6px 32px;border:1px solid var(--border-color-infoPanel);border-radius:6px}.heading-info.svelte-ux55tm.svelte-ux55tm{color:var(--text-color-infoPanel);position:relative;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px;margin:0}.heading-info.svelte-ux55tm.svelte-ux55tm::before{content:url("public/assets/icons/info.svg");position:absolute;top:2px;left:-23px;width:16px;height:16px}.text-info.svelte-ux55tm.svelte-ux55tm{color:var(--text-color-infoPanel);font-family:Roboto;font-size:12px;font-weight:400;line-height:20px;margin:0}@media(min-width: 768px){.panel.svelte-ux55tm.svelte-ux55tm{flex-direction:row}.panel-bottom.svelte-ux55tm.svelte-ux55tm{flex-direction:row}}')}function Zl(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H,ee,q,M,E,T,j,z,K,J;return r=new _e({props:{text:"Add agents"}}),o=new le({props:{text:"Let's start by creating agent accounts for your colleagues and team members."}}),l=new le({props:{text:"Agent accounts can also be assigned to specific departments based on their area of expertise, and LiveAgent software even allows you to manage their permissions and roles. For instance, some agents may only be able to view and respond to tickets, while others might have the authority to manage knowledge base content or even other agents."}}),c=new _e({props:{text:"Types of LiveAgent account"}}),h=new le({props:{text:"By default, there are three agent account types in LiveAgent. Agent, Admin, and Owner."}}),w=new Sn({props:{text:"Agents"}}),C=new Sn({props:{text:"Admins",icon:e[1]+"admin.svg"}}),Y=new Sn({props:{text:"Owner",icon:e[1]+"owner.svg"}}),j=new on({props:{reversedColors:e[0],onClick:e[2],text:"Manage agents"}}),{c(){t=x("div"),n=x("section"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),O(l.$$.fragment),a=k(),u=x("section"),O(c.$$.fragment),f=k(),O(h.$$.fragment),p=k(),b=x("div"),m=x("div"),O(w.$$.fragment),y=k(),_=x("p"),_.textContent="Agents can view, reply to, and manage tickets, pick up live chats/calls, write and manage knowledge base content, manage contacts, create their own canned messages & predefined answers, manage their own agent profiles, and see their own agent reports.",P=k(),A=x("div"),O(C.$$.fragment),B=k(),G=x("p"),G.textContent="Admins, in addition to agent role permissions, can manage accounts of other agents and admins (but not the owner's account), see all reports, and configure the system settings.",R=k(),D=x("div"),O(Y.$$.fragment),H=k(),ee=x("p"),ee.textContent="In addition to admin role permissions, the owner can also manage LiveAgent account billing and payment settings.",q=k(),M=x("div"),E=x("span"),E.textContent="Now, let’s create agent accounts for your coworkers and set their roles.",T=k(),O(j.$$.fragment),z=k(),K=x("section"),K.innerHTML='<h4 class="heading-info svelte-ux55tm">Custom agent roles (paid feature)</h4> <p class="text-info svelte-ux55tm">In addition to the default roles, you can establish tailored agent roles and grant them specific permissions to suit your unique operational needs.</p>',g(n,"class","svelte-ux55tm"),g(_,"class","panel-text svelte-ux55tm"),g(m,"class","panel panel-agents svelte-ux55tm"),g(G,"class","panel-text svelte-ux55tm"),g(A,"class","panel panel-admins svelte-ux55tm"),g(ee,"class","panel-text svelte-ux55tm"),g(D,"class","panel panel-owner svelte-ux55tm"),g(E,"class","text svelte-ux55tm"),g(M,"class","panel-bottom svelte-ux55tm"),g(b,"class","panel-wrapper svelte-ux55tm"),g(u,"class","svelte-ux55tm"),g(K,"class","info-panel svelte-ux55tm"),g(t,"class","wrapper svelte-ux55tm")},m(V,re){U(V,t,re),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(n,i),I(l,n,null),d(t,a),d(t,u),I(c,u,null),d(u,f),I(h,u,null),d(u,p),d(u,b),d(b,m),I(w,m,null),d(m,y),d(m,_),d(b,P),d(b,A),I(C,A,null),d(A,B),d(A,G),d(b,R),d(b,D),I(Y,D,null),d(D,H),d(D,ee),d(b,q),d(b,M),d(M,E),d(M,T),I(j,M,null),d(t,z),d(t,K),J=!0},p(V,re){const ve={};re&1&&(ve.reversedColors=V[0]),j.$set(ve)},i(V){J||($(r.$$.fragment,V),$(o.$$.fragment,V),$(l.$$.fragment,V),$(c.$$.fragment,V),$(h.$$.fragment,V),$(w.$$.fragment,V),$(C.$$.fragment,V),$(Y.$$.fragment,V),$(j.$$.fragment,V),J=!0)},o(V){S(r.$$.fragment,V),S(o.$$.fragment,V),S(l.$$.fragment,V),S(c.$$.fragment,V),S(h.$$.fragment,V),S(w.$$.fragment,V),S(C.$$.fragment,V),S(Y.$$.fragment,V),S(j.$$.fragment,V),J=!1},d(V){V&&F(t),L(r),L(o),L(l),L(c),L(h),L(w),L(C),L(Y),L(j)}}}function Jl(e){let t,n,r;function s(i){e[3](i)}let o={headerTitle:"Add agent",headerIconPath:e[1]+"add-agents.svg",nextStepCase:"mid",nextStepUnfinishedText:"Create agent account to complete this step.",nextStepFinishedText:"Next, let's further explore Departments and their purpose.",path:"/add-agents",$$slots:{default:[Zl]},$$scope:{ctx:e}};return e[0]!==void 0&&(o.stepFinished=e[0]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&33&&(a.$$scope={dirty:l,ctx:i}),!n&&l&1&&(n=!0,a.stepFinished=i[0],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function Ql(e,t,n){let r;pe(e,Se,a=>n(4,r=a));const s=Ee("iconBasePath");let o=!1;ze(async()=>{if(n(0,o=r[1].state==="c"),!o){const a=await Ps();n(0,o=a.completionStatus)}});async function i(){const a=await Ps(!0);n(0,o=a.completionStatus),window.location.hash="Agents"}function l(a){o=a,n(0,o)}return[o,s,i,l]}class ii extends ae{constructor(t){super(),oe(this,t,Ql,Jl,ne,{},Kl)}}ie(ii,{},[],[],!0);function ec(e){fe(e,"svelte-6vi5n9",".panel-bottom.svelte-6vi5n9{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:20px;padding:16px 18px 24px;border-radius:6px;background:var(--background-color-grey-secondary)}.panel-bottom-text.svelte-6vi5n9{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}@media(min-width: 768px){.panel-bottom.svelte-6vi5n9{flex-direction:row;align-items:center}}")}function tc(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y;return r=new _e({props:{text:"Add departments"}}),o=new le({props:{text:"Adding Departments to your LiveAgent account can significantly enhance the efficiency of your customer support process."}}),l=new le({props:{text:"The purpose of creating Departments is to sort and assign tickets to the respective teams or agents best suited to handle them. This not only improves the efficiency and productivity of customer support but also ensures that customer queries are managed by those with the right expertise."}}),u=new le({props:{text:"Departments also allow for structured workflows. You can set rules and access permissions for each department, which helps in maintaining an organized working environment. "}}),f=new le({props:{text:"Moreover, departments can provide vital data for analytics and insights, giving a clear picture of which areas receive the most queries or require more resources to enhance customer service. The department structure also assists in delivering a more personalized service as the customer interacts with specialists familiar with their specific concerns or needs."}}),w=new on({props:{onClick:e[2],text:"Manage departments",reversedColors:e[0]}}),{c(){t=x("div"),n=x("section"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),O(l.$$.fragment),a=k(),O(u.$$.fragment),c=k(),O(f.$$.fragment),h=k(),p=x("section"),b=x("span"),b.textContent="Your LiveAgent account already has one default department named “General”. Feel free to rename it or add new departments now.",m=k(),O(w.$$.fragment),g(b,"class","panel-bottom-text svelte-6vi5n9"),g(p,"class","panel-bottom svelte-6vi5n9"),g(t,"class","wrapper")},m(_,P){U(_,t,P),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(n,i),I(l,n,null),d(n,a),I(u,n,null),d(n,c),I(f,n,null),d(t,h),d(t,p),d(p,b),d(p,m),I(w,p,null),y=!0},p(_,P){const A={};P&1&&(A.reversedColors=_[0]),w.$set(A)},i(_){y||($(r.$$.fragment,_),$(o.$$.fragment,_),$(l.$$.fragment,_),$(u.$$.fragment,_),$(f.$$.fragment,_),$(w.$$.fragment,_),y=!0)},o(_){S(r.$$.fragment,_),S(o.$$.fragment,_),S(l.$$.fragment,_),S(u.$$.fragment,_),S(f.$$.fragment,_),S(w.$$.fragment,_),y=!1},d(_){_&&F(t),L(r),L(o),L(l),L(u),L(f),L(w)}}}function nc(e){let t,n,r;function s(i){e[3](i)}let o={headerTitle:"Add departments",headerIconPath:e[1]+"add-departments.svg",nextStepCase:"mid",nextStepUnfinishedText:"Create new department or rename default one to finish this step.",nextStepFinishedText:"Now that we have Agents and Departments sorted out, we need to establish some communication channels.",path:"/add-departments",$$slots:{default:[tc]},$$scope:{ctx:e}};return e[0]!==void 0&&(o.stepFinished=e[0]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&33&&(a.$$scope={dirty:l,ctx:i}),!n&&l&1&&(n=!0,a.stepFinished=i[0],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function rc(e,t,n){let r;pe(e,Se,a=>n(4,r=a));const s=Ee("iconBasePath");let o=!1;ze(async()=>{var a;if(n(0,o=((a=r[2])==null?void 0:a.state)==="c"),!o){const u=await Cs();n(0,o=u.completionStatus)}});async function i(){const a=await Cs(!0);n(0,o=a.completionStatus),window.location.hash="Departments"}function l(a){o=a,n(0,o)}return[o,s,i,l]}class ai extends ae{constructor(t){super(),oe(this,t,rc,nc,ne,{},ec)}}ie(ai,{},[],[],!0);function sc(e){fe(e,"svelte-1l1roza",".widget.svelte-1l1roza{padding:var(--cardPadding);margin-bottom:10px;border-radius:6px;background-color:var(--backgroundColor)}.header.svelte-1l1roza{display:flex;align-items:center;justify-content:flex-start;gap:6px}.content.svelte-1l1roza{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:16px;padding-left:var(--textPadding)}h5.svelte-1l1roza{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}@media(min-width: 768px){.content.svelte-1l1roza{flex-direction:row;align-items:flex-start}}")}function oc(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b;c=new le({props:{text:e[1]}});const m=e[11].default,w=Vn(m,e,e[10],null);return p=new on({props:{onClick:e[6],text:e[7],disabled:e[9],reversedColors:e[8]}}),{c(){t=x("div"),n=x("div"),r=x("img"),o=k(),i=x("h5"),l=te(e[0]),a=k(),u=x("div"),O(c.$$.fragment),f=k(),w&&w.c(),h=k(),O(p.$$.fragment),ce(r.src,s=e[2])||g(r,"src",s),g(r,"alt","icon"),g(i,"class","heading svelte-1l1roza"),g(n,"class","header svelte-1l1roza"),g(u,"class","content svelte-1l1roza"),g(t,"class","widget svelte-1l1roza"),X(t,"--iconSrc","url("+e[2]+")"),X(t,"--cardPadding",e[3]),X(t,"--textPadding",e[5]),X(t,"--backgroundColor","var("+(e[4]?e[4]:"--background-color-grey-primary")+")")},m(y,_){U(y,t,_),d(t,n),d(n,r),d(n,o),d(n,i),d(i,l),d(t,a),d(t,u),I(c,u,null),d(u,f),w&&w.m(u,null),d(u,h),I(p,u,null),b=!0},p(y,[_]){(!b||_&4&&!ce(r.src,s=y[2]))&&g(r,"src",s),(!b||_&1)&&ge(l,y[0]);const P={};_&2&&(P.text=y[1]),c.$set(P),w&&w.p&&(!b||_&1024)&&qn(w,m,y,y[10],b?Gn(m,y[10],_,null):Wn(y[10]),null);const A={};_&64&&(A.onClick=y[6]),_&128&&(A.text=y[7]),_&512&&(A.disabled=y[9]),_&256&&(A.reversedColors=y[8]),p.$set(A),(!b||_&4)&&X(t,"--iconSrc","url("+y[2]+")"),(!b||_&8)&&X(t,"--cardPadding",y[3]),(!b||_&32)&&X(t,"--textPadding",y[5]),(!b||_&16)&&X(t,"--backgroundColor","var("+(y[4]?y[4]:"--background-color-grey-primary")+")")},i(y){b||($(c.$$.fragment,y),$(w,y),$(p.$$.fragment,y),b=!0)},o(y){S(c.$$.fragment,y),S(w,y),S(p.$$.fragment,y),b=!1},d(y){y&&F(t),L(c),w&&w.d(y),L(p)}}}function ic(e,t,n){let{$$slots:r={},$$scope:s}=t,{heading:o}=t,{text:i}=t,{iconSrc:l}=t,{cardPadding:a}=t,{backgroundColor:u=""}=t,{textPadding:c=""}=t,{buttonAction:f}=t,{buttonText:h}=t,{buttonReversed:p=!1}=t,{buttonDisabled:b=!1}=t;return e.$$set=m=>{"heading"in m&&n(0,o=m.heading),"text"in m&&n(1,i=m.text),"iconSrc"in m&&n(2,l=m.iconSrc),"cardPadding"in m&&n(3,a=m.cardPadding),"backgroundColor"in m&&n(4,u=m.backgroundColor),"textPadding"in m&&n(5,c=m.textPadding),"buttonAction"in m&&n(6,f=m.buttonAction),"buttonText"in m&&n(7,h=m.buttonText),"buttonReversed"in m&&n(8,p=m.buttonReversed),"buttonDisabled"in m&&n(9,b=m.buttonDisabled),"$$scope"in m&&n(10,s=m.$$scope)},[o,i,l,a,u,c,f,h,p,b,s,r]}class qe extends ae{constructor(t){super(),oe(this,t,ic,oc,ne,{heading:0,text:1,iconSrc:2,cardPadding:3,backgroundColor:4,textPadding:5,buttonAction:6,buttonText:7,buttonReversed:8,buttonDisabled:9},sc)}get heading(){return this.$$.ctx[0]}set heading(t){this.$$set({heading:t}),W()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),W()}get iconSrc(){return this.$$.ctx[2]}set iconSrc(t){this.$$set({iconSrc:t}),W()}get cardPadding(){return this.$$.ctx[3]}set cardPadding(t){this.$$set({cardPadding:t}),W()}get backgroundColor(){return this.$$.ctx[4]}set backgroundColor(t){this.$$set({backgroundColor:t}),W()}get textPadding(){return this.$$.ctx[5]}set textPadding(t){this.$$set({textPadding:t}),W()}get buttonAction(){return this.$$.ctx[6]}set buttonAction(t){this.$$set({buttonAction:t}),W()}get buttonText(){return this.$$.ctx[7]}set buttonText(t){this.$$set({buttonText:t}),W()}get buttonReversed(){return this.$$.ctx[8]}set buttonReversed(t){this.$$set({buttonReversed:t}),W()}get buttonDisabled(){return this.$$.ctx[9]}set buttonDisabled(t){this.$$set({buttonDisabled:t}),W()}}ie(qe,{heading:{},text:{},iconSrc:{},cardPadding:{},backgroundColor:{},textPadding:{},buttonAction:{},buttonText:{},buttonReversed:{type:"Boolean"},buttonDisabled:{type:"Boolean"}},["default"],[],!0);function ac(e){fe(e,"svelte-cje2b7",".section2.svelte-cje2b7.svelte-cje2b7{display:flex;flex-direction:column;gap:10px;margin-top:24px}.inner-section.svelte-cje2b7.svelte-cje2b7{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.inner-section.svelte-cje2b7>img.svelte-cje2b7{margin-top:0}.panel-wrapper.svelte-cje2b7.svelte-cje2b7{display:flex;flex-direction:column;gap:10px;padding:16px 20px;background:var(--background-color-grey-secondary);border-radius:6px}.text.svelte-cje2b7.svelte-cje2b7{color:var(----text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.email.svelte-cje2b7.svelte-cje2b7{padding:5px 12px;color:var(--background-button-primary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px;background:var(--event-surface-hover);border-radius:69px}.email-wrapper.svelte-cje2b7.svelte-cje2b7{display:inline-flex;gap:6px;justify-content:center;align-items:center;padding-left:12px;border-radius:69px;background:var(--event-surface-gray-primary)}.built-in-email.svelte-cje2b7.svelte-cje2b7{display:flex;flex-direction:column;align-items:center;justify-content:center}img.svelte-cje2b7.svelte-cje2b7{margin:24px 0}@media(min-width: 768px){.inner-section.svelte-cje2b7.svelte-cje2b7{flex-direction:row;align-items:center;justify-content:space-between}}")}function lc(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H,ee,q,M,E;return r=new _e({props:{text:"Create your new helpdesk email address"}}),o=new le({props:{text:"Let's begin by connecting your email accounts to LiveAgent, enabling you to receive emails as tickets and respond to them seamlessly."}}),l=new le({props:{text:"Two types of email accounts must be set up in LiveAgent, incoming and outgoing. The same email account is often used as both an incoming and outgoing account."}}),c=new qe({props:{heading:"Incoming email accounts",text:"These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket.",iconSrc:e[4]+"incoming.svg",cardPadding:"14px 10px 14px 16px",buttonAction:e[5],buttonText:e[0]?yn:bn,buttonReversed:e[0]}}),h=new qe({props:{heading:"Outgoing email accounts",text:"These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket.",iconSrc:e[4]+"outgoing.svg",cardPadding:"14px 10px 14px 16px",buttonAction:e[6],buttonText:e[1]?yn:bn,buttonReversed:e[1]}}),m=new _e({props:{text:"Your Built-in Email Account"}}),_=new le({props:{text:"Every LiveAgent account has a built-in email address, serving as both an incoming and outgoing email account. We provide this mailbox free of charge, but it does contain some limitations. It is recommended for use during the initial setup of your LiveAgent account and for fundamental testing but not for communication with your clients."}}),M=new le({props:{text:"Feel free to send a test email to this address and see LiveAgent in action!"}}),{c(){t=x("div"),n=x("section"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),O(l.$$.fragment),a=k(),u=x("div"),O(c.$$.fragment),f=k(),O(h.$$.fragment),p=k(),b=x("section"),O(m.$$.fragment),w=k(),y=x("div"),O(_.$$.fragment),P=k(),A=x("img"),B=k(),G=x("section"),R=x("div"),D=x("span"),D.textContent="Your built-in email address is:",Y=k(),H=x("span"),ee=te(e[3]),q=k(),O(M.$$.fragment),g(u,"class","panel-wrapper svelte-cje2b7"),ce(A.src,C="public/assets/images/connect-email-accounts.svg")||g(A,"src",C),g(A,"alt","connect email accounts"),g(A,"class","svelte-cje2b7"),g(y,"class","inner-section svelte-cje2b7"),g(b,"class","section2 svelte-cje2b7"),g(D,"class","text svelte-cje2b7"),g(H,"class","email svelte-cje2b7"),g(R,"class","email-wrapper svelte-cje2b7"),g(G,"class","built-in-email svelte-cje2b7"),g(t,"class","wrapper")},m(T,j){U(T,t,j),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(n,i),I(l,n,null),d(n,a),d(n,u),I(c,u,null),d(u,f),I(h,u,null),d(t,p),d(t,b),I(m,b,null),d(b,w),d(b,y),I(_,y,null),d(y,P),d(y,A),d(t,B),d(t,G),d(G,R),d(R,D),d(R,Y),d(R,H),d(H,ee),d(G,q),I(M,G,null),E=!0},p(T,j){const z={};j&1&&(z.buttonText=T[0]?yn:bn),j&1&&(z.buttonReversed=T[0]),c.$set(z);const K={};j&2&&(K.buttonText=T[1]?yn:bn),j&2&&(K.buttonReversed=T[1]),h.$set(K),(!E||j&8)&&ge(ee,T[3])},i(T){E||($(r.$$.fragment,T),$(o.$$.fragment,T),$(l.$$.fragment,T),$(c.$$.fragment,T),$(h.$$.fragment,T),$(m.$$.fragment,T),$(_.$$.fragment,T),$(M.$$.fragment,T),E=!0)},o(T){S(r.$$.fragment,T),S(o.$$.fragment,T),S(l.$$.fragment,T),S(c.$$.fragment,T),S(h.$$.fragment,T),S(m.$$.fragment,T),S(_.$$.fragment,T),S(M.$$.fragment,T),E=!1},d(T){T&&F(t),L(r),L(o),L(l),L(c),L(h),L(m),L(_),L(M)}}}function cc(e){let t,n,r;function s(i){e[7](i)}let o={headerTitle:"Connect email accounts",headerIconPath:e[4]+"connect-email-account.svg",nextStepCase:"mid",nextStepUnfinishedText:"Connect email accounts to complete this step.",nextStepFinishedText:"If you are done with email accounts, it’s time to have a look at social media channels.",path:"/connect-email-accounts",$$slots:{default:[lc]},$$scope:{ctx:e}};return e[2]!==void 0&&(o.stepFinished=e[2]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&523&&(a.$$scope={dirty:l,ctx:i}),!n&&l&4&&(n=!0,a.stepFinished=i[2],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}const bn="Connect",yn="Manage";function uc(e,t,n){let r;pe(e,Se,h=>n(8,r=h));const s=Ee("iconBasePath");let o=!1,i=!1,l=!1,a="";ze(async()=>{var p;if(n(2,o=((p=r[3])==null?void 0:p.state)==="c"),o)n(0,i=!0),n(1,l=!0);else{const b=await As(),m=await js();n(0,i=b.completionStatus),n(1,l=m.completionStatus)}const h=await Yl();n(3,a=h.message)});async function u(){const h=await As(!0);n(0,i=h.completionStatus),window.location.hash="Incoming-Mail-Accounts"}async function c(){const h=await js(!0);n(1,l=h.completionStatus),window.location.hash="Outgoing-Mail-Accounts"}function f(h){o=h,n(2,o),n(0,i),n(1,l)}return e.$$.update=()=>{e.$$.dirty&3&&n(2,o=i&&l)},[i,l,o,a,s,u,c,f]}class li extends ae{constructor(t){super(),oe(this,t,uc,cc,ne,{},ac)}}ie(li,{},[],[],!0);function fc(e){fe(e,"svelte-17amxfk",".points.svelte-17amxfk{display:flex;flex-direction:column;gap:16px;justify-content:space-between;align-items:center}img.svelte-17amxfk{margin:24px 0}@media(min-width: 768px){.points.svelte-17amxfk{flex-direction:row}}")}function Bs(e,t,n){const r=e.slice();return r[7]=t[n],r}function Rs(e){let t,n;function r(){return e[4](e[7])}return t=new qe({props:{heading:e[7].heading,text:e[7].text,iconSrc:e[7].iconPath,backgroundColor:e[7].backgroundColor,cardPadding:"16px 16px 16px 24px",buttonAction:r,buttonText:e[7].completed?Ms:Hs,buttonReversed:e[7].completed}}),{c(){O(t.$$.fragment)},m(s,o){I(t,s,o),n=!0},p(s,o){e=s;const i={};o&1&&(i.heading=e[7].heading),o&1&&(i.text=e[7].text),o&1&&(i.iconSrc=e[7].iconPath),o&1&&(i.backgroundColor=e[7].backgroundColor),o&1&&(i.buttonAction=r),o&1&&(i.buttonText=e[7].completed?Ms:Hs),o&1&&(i.buttonReversed=e[7].completed),t.$set(i)},i(s){n||($(t.$$.fragment,s),n=!0)},o(s){S(t.$$.fragment,s),n=!1},d(s){L(t,s)}}}function hc(e){let t,n,r,s,o,i,l,a,u,c,f;n=new _e({props:{text:"Connect your social media accounts"}}),a=new le({props:{text:"LiveAgent can be integrated with Facebook, Instagram, and X(Twitter) accounts and transform communication from these channels into tickets for better and easier management. Having all available social networks connected to LiveAgent allows you to interact and reply to your customers from a single place instead of constantly switching between your social media accounts."}});let h=me(e[0]),p=[];for(let m=0;m<h.length;m+=1)p[m]=Rs(Bs(e,h,m));const b=m=>S(p[m],1,1,()=>{p[m]=null});return{c(){t=x("section"),O(n.$$.fragment),r=k(),s=x("div"),o=x("img"),l=k(),O(a.$$.fragment),u=k(),c=x("section");for(let m=0;m<p.length;m+=1)p[m].c();ce(o.src,i="public/assets/images/connect-social-media.svg")||g(o,"src",i),g(o,"alt","connect social media"),g(o,"class","svelte-17amxfk"),g(s,"class","points svelte-17amxfk")},m(m,w){U(m,t,w),I(n,t,null),d(t,r),d(t,s),d(s,o),d(s,l),I(a,s,null),U(m,u,w),U(m,c,w);for(let y=0;y<p.length;y+=1)p[y]&&p[y].m(c,null);f=!0},p(m,w){if(w&9){h=me(m[0]);let y;for(y=0;y<h.length;y+=1){const _=Bs(m,h,y);p[y]?(p[y].p(_,w),$(p[y],1)):(p[y]=Rs(_),p[y].c(),$(p[y],1),p[y].m(c,null))}for(Ce(),y=h.length;y<p.length;y+=1)b(y);Ae()}},i(m){if(!f){$(n.$$.fragment,m),$(a.$$.fragment,m);for(let w=0;w<h.length;w+=1)$(p[w]);f=!0}},o(m){S(n.$$.fragment,m),S(a.$$.fragment,m),p=p.filter(Boolean);for(let w=0;w<p.length;w+=1)S(p[w]);f=!1},d(m){m&&(F(t),F(u),F(c)),L(n),L(a),He(p,m)}}}function dc(e){let t,n,r;function s(i){e[5](i)}let o={headerTitle:"Connect social media",headerIconPath:e[2]+"connect-social-media.svg",nextStepCase:"mid",nextStepUnfinishedText:"Connecting social media account is needed to finalize this step.",nextStepFinishedText:"And how about connecting WhatsApp or Viber accounts? With LiveAgent, we got you covered!",path:"/connect-social-media",$$slots:{default:[hc]},$$scope:{ctx:e}};return e[1]!==void 0&&(o.stepFinished=e[1]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&1025&&(a.$$scope={dirty:l,ctx:i}),!n&&l&2&&(n=!0,a.stepFinished=i[1],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}const Hs="Connect",Ms="Manage";function pc(e,t,n){let r;pe(e,Se,c=>n(6,r=c));const s=Ee("iconBasePath");let o=!1,i=[{id:"fb",heading:"Facebook",text:"Connect your Facebook business page and transform all posts, comments, and private messages sent to that page into tickets.",iconPath:`${s}facebook_logo.svg`,backgroundColor:"--background-color-blue-primary",buttonAction:Hl,completed:!1,redirectPath:"Facebook-Pages"},{id:"ig",heading:"Instagram",text:"Connect your Instagram business page and transform all posts, comments, and private messages sent to that page into tickets.",iconPath:`${s}instagram_logo.svg`,backgroundColor:"--background-color-pink-primary",buttonAction:Ml,completed:!1,redirectPath:"FacebookChannel"},{id:"x",heading:"Twitter",text:"Connect your Twitter business page and transform all posts, comments, and private messages sent to that page into tickets.",iconPath:`${s}x_logo.svg`,backgroundColor:"--background-color-grey-primary",buttonAction:Dl,completed:!1,redirectPath:"TwitterChannel"}];ze(async()=>{var c;if(n(1,o=((c=r[4])==null?void 0:c.state)==="c"),o)n(0,i=i.map(f=>({...f,completed:!0})));else{const f=i.map(async h=>{const p=await h.buttonAction();return{...h,completed:p.completionStatus}});n(0,i=await Promise.all(f))}});async function l(c){const f=i.findIndex(h=>h.heading===c.heading);if(f!==-1){const h=await i[f].buttonAction(!0);n(0,i[f].completed=h.completionStatus,i),n(0,i=[...i]),window.location.hash=c.redirectPath}}const a=c=>l(c);function u(c){o=c,n(1,o),n(0,i)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,o=i.every(c=>c.completed))},[i,o,s,l,a,u]}class ci extends ae{constructor(t){super(),oe(this,t,pc,dc,ne,{},fc)}}ie(ci,{},[],[],!0);function gc(e){fe(e,"svelte-jq5b7z","section.svelte-jq5b7z{margin-bottom:24px}")}function mc(e){let t,n,r,s,o,i,l,a,u,c;return n=new _e({props:{text:"Connect Messaging apps"}}),s=new le({props:{text:"Connecting these messaging platforms to LiveAgent enables you to respond to your customers from one single platform, eliminating the need to switch between different apps or accounts continuously."}}),l=new qe({props:{heading:"Whatsapp",text:"Linking your WhatsApp accounts to LiveAgent will seamlessly transform all incoming WhatsApp messages into tickets within the system. This enables your agents to easily and efficiently respond to each customer query received via WhatsApp.",iconSrc:e[3]+"whatsapp_logo.svg",backgroundColor:"--background-color-green-primary",cardPadding:"16px 16px 16px 24px",buttonAction:e[4],buttonText:e[0]?_n:xn,buttonReversed:e[0]}}),u=new qe({props:{heading:"Viber",text:"By integrating your Viber accounts with LiveAgent, all incoming Viber messages are systematically converted into individual tickets within the platform. This allows your agents to promptly and effortlessly address each customer inquiry received through Viber.",iconSrc:e[3]+"viber_logo.svg",backgroundColor:"--background-color-purple-primary",cardPadding:"16px 16px 16px 24px",buttonAction:e[5],buttonText:e[1]?_n:xn,buttonReversed:e[1]}}),{c(){t=x("section"),O(n.$$.fragment),r=k(),O(s.$$.fragment),o=k(),i=x("section"),O(l.$$.fragment),a=k(),O(u.$$.fragment),g(t,"class","svelte-jq5b7z"),g(i,"class","svelte-jq5b7z")},m(f,h){U(f,t,h),I(n,t,null),d(t,r),I(s,t,null),U(f,o,h),U(f,i,h),I(l,i,null),d(i,a),I(u,i,null),c=!0},p(f,h){const p={};h&1&&(p.buttonText=f[0]?_n:xn),h&1&&(p.buttonReversed=f[0]),l.$set(p);const b={};h&2&&(b.buttonText=f[1]?_n:xn),h&2&&(b.buttonReversed=f[1]),u.$set(b)},i(f){c||($(n.$$.fragment,f),$(s.$$.fragment,f),$(l.$$.fragment,f),$(u.$$.fragment,f),c=!0)},o(f){S(n.$$.fragment,f),S(s.$$.fragment,f),S(l.$$.fragment,f),S(u.$$.fragment,f),c=!1},d(f){f&&(F(t),F(o),F(i)),L(n),L(s),L(l),L(u)}}}function vc(e){let t,n,r;function s(i){e[6](i)}let o={headerTitle:"Connect messaging apps",headerIconPath:e[3]+"connect-messaging-apps.svg",nextStepCase:"mid",nextStepUnfinishedText:"This step requires you to connect any messaging app you prefer.",nextStepFinishedText:"Now, let's introduce another essential aspect of our tool - the diverse range of contact widgets that LiveAgent offers for your convenience.",path:"/connect-messaging-apps",$$slots:{default:[mc]},$$scope:{ctx:e}};return e[2]!==void 0&&(o.stepFinished=e[2]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&259&&(a.$$scope={dirty:l,ctx:i}),!n&&l&4&&(n=!0,a.stepFinished=i[2],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}const xn="Connect",_n="Manage";function bc(e,t,n){let r;pe(e,Se,f=>n(7,r=f));const s=Ee("iconBasePath");let o=!1,i=!1,l=!1;ze(async()=>{var f;if(n(2,o=((f=r[5])==null?void 0:f.state)==="c"),o)n(0,i=!0),n(1,l=!0);else{const h=await Is(),p=await Ls();n(0,i=h.completionStatus),n(1,l=p.completionStatus)}});async function a(){const f=await Is(!0);n(0,i=f.completionStatus),window.location.hash="WhatsApp-Configuration"}async function u(){const f=await Ls(!0);n(1,l=f.completionStatus),window.location.hash="Viber-Configuration"}function c(f){o=f,n(2,o),n(0,i),n(1,l)}return e.$$.update=()=>{e.$$.dirty&3&&i&&l&&n(2,o=!0)},[i,l,o,s,a,u,c]}class ui extends ae{constructor(t){super(),oe(this,t,bc,vc,ne,{},gc)}}ie(ui,{},[],[],!0);function yc(e){fe(e,"svelte-1vf96my","section.svelte-1vf96my{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 20px;border-radius:6px;background-color:var(--background-color-grey-secondary)}img.svelte-1vf96my{margin:24px 0}")}function Ds(e,t,n){const r=e.slice();return r[7]=t[n],r}function zs(e){let t,n;function r(){return e[4](e[7])}return t=new qe({props:{heading:e[7].heading,text:e[7].text,iconSrc:e[7].iconPath,cardPadding:"14px 10px 14px 16px",buttonAction:r,buttonText:e[7].completed?"Manage":"Create",buttonReversed:e[7].completed}}),{c(){O(t.$$.fragment)},m(s,o){I(t,s,o),n=!0},p(s,o){e=s;const i={};o&1&&(i.heading=e[7].heading),o&1&&(i.text=e[7].text),o&1&&(i.iconSrc=e[7].iconPath),o&1&&(i.buttonAction=r),o&1&&(i.buttonText=e[7].completed?"Manage":"Create"),o&1&&(i.buttonReversed=e[7].completed),t.$set(i)},i(s){n||($(t.$$.fragment,s),n=!0)},o(s){S(t.$$.fragment,s),n=!1},d(s){L(t,s)}}}function xc(e){let t,n,r,s,o,i,l,a,u;t=new _e({props:{text:"Create contact widgets for your website"}}),r=new le({props:{text:"LiveAgent provides various contact widgets that aim to enhance your interactive customer-service experience and streamline communication. Each of these widgets offers a unique path to connect with customers, ultimately improving their experience and boosting your customer service performance."}});let c=me(e[0]),f=[];for(let p=0;p<c.length;p+=1)f[p]=zs(Ds(e,c,p));const h=p=>S(f[p],1,1,()=>{f[p]=null});return{c(){O(t.$$.fragment),n=k(),O(r.$$.fragment),s=k(),o=x("img"),l=k(),a=x("section");for(let p=0;p<f.length;p+=1)f[p].c();ce(o.src,i="public/assets/images/contact-widgets.svg")||g(o,"src",i),g(o,"alt","contact widgets"),g(o,"class","svelte-1vf96my"),g(a,"class","svelte-1vf96my")},m(p,b){I(t,p,b),U(p,n,b),I(r,p,b),U(p,s,b),U(p,o,b),U(p,l,b),U(p,a,b);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(a,null);u=!0},p(p,b){if(b&9){c=me(p[0]);let m;for(m=0;m<c.length;m+=1){const w=Ds(p,c,m);f[m]?(f[m].p(w,b),$(f[m],1)):(f[m]=zs(w),f[m].c(),$(f[m],1),f[m].m(a,null))}for(Ce(),m=c.length;m<f.length;m+=1)h(m);Ae()}},i(p){if(!u){$(t.$$.fragment,p),$(r.$$.fragment,p);for(let b=0;b<c.length;b+=1)$(f[b]);u=!0}},o(p){S(t.$$.fragment,p),S(r.$$.fragment,p),f=f.filter(Boolean);for(let b=0;b<f.length;b+=1)S(f[b]);u=!1},d(p){p&&(F(n),F(s),F(o),F(l),F(a)),L(t,p),L(r,p),He(f,p)}}}function _c(e){let t,n,r;function s(i){e[5](i)}let o={headerTitle:"Create contact widget",headerIconPath:e[2]+"add-chat-button.svg",nextStepCase:"mid",nextStepUnfinishedText:"You can finish this step by creating any contact widget.",nextStepFinishedText:"Were you aware that with LiveAgent, you're able to manage actual phone calls too?",path:"/create-contact-widget",$$slots:{default:[xc]},$$scope:{ctx:e}};return e[1]!==void 0&&(o.stepFinished=e[1]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&1025&&(a.$$scope={dirty:l,ctx:i}),!n&&l&2&&(n=!0,a.stepFinished=i[1],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function wc(e,t,n){let r;pe(e,Se,c=>n(6,r=c));let s=!1;const o=Ee("iconBasePath");let i=[{id:"chatButtons",heading:"Chat buttons",text:"These are easily customizable and allow your customers to instantly initiate a live chat with your agents right from your webpage. There are many types and pre-defined designs available. Make sure to check them out!",iconPath:`${o}chat_buttons.svg`,buttonAction:zl,completed:!1,redirectPath:"Chat-Buttons;"},{id:"chatInvitations",heading:"Chat invitations",text:"Proactively engage your customers by sending automated chat invitations based on specific criteria, like pages visited or time spent on a page.",iconPath:`${o}invitations.svg`,buttonAction:Nl,completed:!1,redirectPath:"Invitations"},{id:"contactForms",heading:"Contact forms",text:"This widget enables customers to quickly send their inquiries or feedback as tickets directly from your webpage by simply clicking a button or filling out an in-page form.",iconPath:`${o}form.svg`,buttonAction:Fl,completed:!1,redirectPath:"Contact-Button"},{id:"callButtons",heading:"Call buttons",text:"These simple buttons let your customers start a direct call from their web browser with an available agent from your team in LiveAgent.",iconPath:`${o}calls.svg`,buttonAction:Ul,completed:!1,redirectPath:"Call-Configuration"},{id:"videoCallButtons",heading:"Video call buttons",text:"As the name suggests, this button offers an opportunity for face-to-face interaction, allowing customers and agents to connect even more personally.",iconPath:`${o}videocall.svg`,buttonAction:Vl,completed:!1,redirectPath:"Video-Call-Configuration"}];ze(async()=>{var c;n(1,s=((c=r[6])==null?void 0:c.state)==="c"),s?n(0,i=i.map(f=>({...f,completed:!0}))):n(0,i=await Promise.all(i.map(async f=>{const h=await f.buttonAction();return{...f,completed:h.completionStatus}})))});async function l(c){const f=i.findIndex(h=>h.id===c);if(f!==-1){const h=await i[f].buttonAction(!0);n(0,i[f].completed=h.completionStatus,i),n(0,i=[...i]),window.location.hash=i[f].redirectPath}}const a=c=>l(c.id);function u(c){s=c,n(1,s),n(0,i)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,s=i.every(c=>c.completed))},[i,s,o,l,a,u]}class fi extends ae{constructor(t){super(),oe(this,t,wc,_c,ne,{},yc)}}ie(fi,{},[],[],!0);function $c(e){fe(e,"svelte-1id2zvy",'.point.svelte-1id2zvy{padding-left:34px}h5.svelte-1id2zvy{position:relative;margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px}h5.svelte-1id2zvy:before{content:url("../../../../public/assets/icons/checkmark.svg");position:absolute;top:0;left:-25px;width:16px;height:16px}@media(min-width: 768px){h5.svelte-1id2zvy{font-size:13px}}')}function kc(e){let t,n,r,s,o,i;return o=new le({props:{text:e[1]}}),{c(){t=x("div"),n=x("h5"),r=te(e[0]),s=k(),O(o.$$.fragment),g(n,"class","svelte-1id2zvy"),g(t,"class","point svelte-1id2zvy")},m(l,a){U(l,t,a),d(t,n),d(n,r),d(t,s),I(o,t,null),i=!0},p(l,[a]){(!i||a&1)&&ge(r,l[0]);const u={};a&2&&(u.text=l[1]),o.$set(u)},i(l){i||($(o.$$.fragment,l),i=!0)},o(l){S(o.$$.fragment,l),i=!1},d(l){l&&F(t),L(o)}}}function Ec(e,t,n){let{heading:r}=t,{text:s}=t;return e.$$set=o=>{"heading"in o&&n(0,r=o.heading),"text"in o&&n(1,s=o.text)},[r,s]}class hi extends ae{constructor(t){super(),oe(this,t,Ec,kc,ne,{heading:0,text:1},$c)}get heading(){return this.$$.ctx[0]}set heading(t){this.$$set({heading:t}),W()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),W()}}ie(hi,{heading:{},text:{}},[],[],!0);function Tc(e){fe(e,"svelte-9qj8hz",".top-section.svelte-9qj8hz{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.points-wrapper.svelte-9qj8hz{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:0 10px;margin-bottom:12px}.info-panel.svelte-9qj8hz{padding:6px 10px;margin-bottom:12px;border:1px solid var(--event-blue-store);border-radius:6px;background-color:var(--background-color-orange-primary)}.info-panel-header.svelte-9qj8hz{display:flex;align-items:center;justify-content:flex-start;gap:6px}h5.svelte-9qj8hz{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.image.svelte-9qj8hz{margin-bottom:24px}ul.svelte-9qj8hz{margin:0}li.svelte-9qj8hz{color:var(--text-color-primary);font-family:Roboto;font-size:12px;line-height:20px}@media(min-width: 768px){.top-section.svelte-9qj8hz{flex-direction:row}li.svelte-9qj8hz{font-size:13px}}")}function Ns(e,t,n){const r=e.slice();return r[7]=t[n],r}function Fs(e){let t,n;return t=new hi({props:{heading:e[7].heading,text:e[7].text}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p:Q,i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function Sc(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D;r=new _e({props:{text:"Create a call center"}}),o=new le({props:{text:"LiveAgent provides an integrated call center solution that allows you to receive, answer, and log phone calls as tickets. So, with a few steps, you can turn your helpdesk into a dynamic call center, eliminating the need for third-party calling solutions."}}),f=new _e({props:{text:"What we offer?"}});let Y=me(e[3]),H=[];for(let q=0;q<Y.length;q+=1)H[q]=Fs(Ns(e,Y,q));const ee=q=>S(H[q],1,1,()=>{H[q]=null});return R=new qe({props:{heading:"Call center",text:"Upgrade your helpdesk to a active call center",iconSrc:e[1]+"calls.svg",cardPadding:"14px 10px",textPadding:"24px",buttonAction:e[4],buttonText:e[0]?"Manage":"Connect",buttonReversed:e[0]}}),{c(){t=x("section"),n=x("div"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),l=x("img"),u=k(),c=x("section"),O(f.$$.fragment),h=k(),p=x("div");for(let q=0;q<H.length;q+=1)H[q].c();b=k(),m=x("div"),w=x("div"),y=x("img"),P=k(),A=x("h5"),A.textContent="What do you need?",C=k(),B=x("ul"),B.innerHTML='<li class="svelte-9qj8hz">Obtain a phone number from a VoIP (voice-over-internet provider).</li> <li class="svelte-9qj8hz">Connect it with your LiveAgent account</li>',G=k(),O(R.$$.fragment),g(n,"class","left"),g(l,"class","image svelte-9qj8hz"),ce(l.src,a=e[2]+"create_call_center.svg")||g(l,"src",a),g(l,"alt","Create call center"),g(t,"class","top-section svelte-9qj8hz"),g(p,"class","points-wrapper svelte-9qj8hz"),ce(y.src,_=e[1]+"warning.svg")||g(y,"src",_),g(y,"alt","warning icon"),g(A,"class","svelte-9qj8hz"),g(w,"class","info-panel-header svelte-9qj8hz"),g(B,"class","svelte-9qj8hz"),g(m,"class","info-panel svelte-9qj8hz")},m(q,M){U(q,t,M),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(t,i),d(t,l),U(q,u,M),U(q,c,M),I(f,c,null),d(c,h),d(c,p);for(let E=0;E<H.length;E+=1)H[E]&&H[E].m(p,null);d(c,b),d(c,m),d(m,w),d(w,y),d(w,P),d(w,A),d(m,C),d(m,B),d(c,G),I(R,c,null),D=!0},p(q,M){if(M&8){Y=me(q[3]);let T;for(T=0;T<Y.length;T+=1){const j=Ns(q,Y,T);H[T]?(H[T].p(j,M),$(H[T],1)):(H[T]=Fs(j),H[T].c(),$(H[T],1),H[T].m(p,null))}for(Ce(),T=Y.length;T<H.length;T+=1)ee(T);Ae()}const E={};M&1&&(E.buttonText=q[0]?"Manage":"Connect"),M&1&&(E.buttonReversed=q[0]),R.$set(E)},i(q){if(!D){$(r.$$.fragment,q),$(o.$$.fragment,q),$(f.$$.fragment,q);for(let M=0;M<Y.length;M+=1)$(H[M]);$(R.$$.fragment,q),D=!0}},o(q){S(r.$$.fragment,q),S(o.$$.fragment,q),S(f.$$.fragment,q),H=H.filter(Boolean);for(let M=0;M<H.length;M+=1)S(H[M]);S(R.$$.fragment,q),D=!1},d(q){q&&(F(t),F(u),F(c)),L(r),L(o),L(f),He(H,q),L(R)}}}function Pc(e){let t,n,r;function s(i){e[5](i)}let o={headerTitle:"Create a call center",headerIconPath:e[1]+"add-voice-support.svg",nextStepCase:"mid",nextStepUnfinishedText:"To complete this step, connect your phone number from VoIP.",nextStepFinishedText:"We're nearly there. Just one last step remains! Let’s have a look at the Customer Portal and what it offers.",path:"/create-call-center",$$slots:{default:[Sc]},$$scope:{ctx:e}};return e[0]!==void 0&&(o.stepFinished=e[0]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&1025&&(a.$$scope={dirty:l,ctx:i}),!n&&l&1&&(n=!0,a.stepFinished=i[0],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function Cc(e,t,n){let r;pe(e,Se,c=>n(6,r=c));const s=Ee("iconBasePath"),o=Ee("imageBasePath"),i=[{heading:"Integration possibilities with many VoIP providers worldwide",text:"If your desired provider is not on the list, the general integration method can always be used, but feel free to let us know! We will do our best to add them."},{heading:"Unlimited call recording",text:"With unlimited call recordings, you can capture every phone interaction, providing a valuable resource for quality assurance and continual agent training."},{heading:"IVR (interactive voice response)",text:"This feature lets you play customized greetings or informational recordings to engage callers. It provides options for data collection during the call interaction and enables callers to interact through touch-tone signaling. Callers can invoke various actions by pressing numbers, such as being routed to the correct agent or department or requesting a callback."},{heading:"Call Devices",text:"If you prefer not to handle calls through your PC browser, you can seamlessly link an external hardware phone to LiveAgent. This function allows you to make or answer calls easily, offering an alternative method for managing phone interactions that best suits your convenience."},{heading:"Mobile apps",text:"To provide you with added convenience, we offer free mobile applications for both Android and iOS platforms. These apps allow you to manage your LiveAgent phone calls effortlessly while on the go."},{heading:"Call queue",text:"Our Call queue feature ensures no calls are missed even when all agents are occupied. Incoming calls enter a queue and await their turn until the next available agent can handle the call."}];let l=!1;ze(async()=>{var f;const c=await Os();n(0,l=c.completionStatus||((f=r[7])==null?void 0:f.state)==="c")});async function a(){const c=await Os(!0);n(0,l=c.completionStatus),Tn("/configuration/call_center")}function u(c){l=c,n(0,l)}return[l,s,o,i,a,u]}class di extends ae{constructor(t){super(),oe(this,t,Cc,Pc,ne,{},Tc)}}ie(di,{},[],[],!0);var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ac=function(t){return jc(t)&&!Ic(t)};function jc(e){return!!e&&typeof e=="object"}function Ic(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Bc(e)}var Lc=typeof Symbol=="function"&&Symbol.for,Oc=Lc?Symbol.for("react.element"):60103;function Bc(e){return e.$$typeof===Oc}function Rc(e){return Array.isArray(e)?[]:{}}function rn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Lt(Rc(e),e,t):e}function Hc(e,t,n){return e.concat(t).map(function(r){return rn(r,n)})}function Mc(e,t){if(!t.customMerge)return Lt;var n=t.customMerge(e);return typeof n=="function"?n:Lt}function Dc(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Us(e){return Object.keys(e).concat(Dc(e))}function gi(e,t){try{return t in e}catch{return!1}}function zc(e,t){return gi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Nc(e,t,n){var r={};return n.isMergeableObject(e)&&Us(e).forEach(function(s){r[s]=rn(e[s],n)}),Us(t).forEach(function(s){zc(e,s)||(gi(e,s)&&n.isMergeableObject(t[s])?r[s]=Mc(s,n)(e[s],t[s],n):r[s]=rn(t[s],n))}),r}function Lt(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Hc,n.isMergeableObject=n.isMergeableObject||Ac,n.cloneUnlessOtherwiseSpecified=rn;var r=Array.isArray(t),s=Array.isArray(e),o=r===s;return o?r?n.arrayMerge(e,t,n):Nc(e,t,n):rn(t,n)}Lt.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,s){return Lt(r,s,n)},{})};var Fc=Lt,Uc=Fc;const Vc=Pr(Uc);var ur=function(e,t){return ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n[s]=r[s])},ur(e,t)};function Xn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ur(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var de=function(){return de=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},de.apply(this,arguments)};function Gc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function er(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var ue;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(ue||(ue={}));var be;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(be||(be={}));var Ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ot||(Ot={}));function Vs(e){return e.type===be.literal}function qc(e){return e.type===be.argument}function mi(e){return e.type===be.number}function vi(e){return e.type===be.date}function bi(e){return e.type===be.time}function yi(e){return e.type===be.select}function xi(e){return e.type===be.plural}function Wc(e){return e.type===be.pound}function _i(e){return e.type===be.tag}function wi(e){return!!(e&&typeof e=="object"&&e.type===Ot.number)}function fr(e){return!!(e&&typeof e=="object"&&e.type===Ot.dateTime)}var $i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xc=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Yc(e){var t={};return e.replace(Xc,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Kc=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Zc(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Kc).filter(function(h){return h.length>0}),n=[],r=0,s=t;r<s.length;r++){var o=s[r],i=o.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var l=i[0],a=i.slice(1),u=0,c=a;u<c.length;u++){var f=c[u];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:a})}return n}function Jc(e){return e.replace(/^(.*?)-/,"")}var Gs=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ki=/^(@+)?(\+|#+)?[rs]?$/g,Qc=/(\*)(0+)|(#+)(0+)|(0+)/g,Ei=/^(0+)$/;function qs(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ki,function(n,r,s){return typeof s!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):s==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof s=="string"?s.length:0)),""}),t}function Ti(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function eu(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ei.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ws(e){var t={},n=Ti(e);return n||t}function tu(e){for(var t={},n=0,r=e;n<r.length;n++){var s=r[n];switch(s.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=s.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Jc(s.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=de(de(de({},t),{notation:"scientific"}),s.options.reduce(function(a,u){return de(de({},a),Ws(u))},{}));continue;case"engineering":t=de(de(de({},t),{notation:"engineering"}),s.options.reduce(function(a,u){return de(de({},a),Ws(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(s.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(Qc,function(a,u,c,f,h,p){if(u)t.minimumIntegerDigits=c.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ei.test(s.stem)){t.minimumIntegerDigits=s.stem.length;continue}if(Gs.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Gs,function(a,u,c,f,h,p){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:h&&p?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=s.options[0];o==="w"?t=de(de({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=de(de({},t),qs(o)));continue}if(ki.test(s.stem)){t=de(de({},t),qs(s.stem));continue}var i=Ti(s.stem);i&&(t=de(de({},t),i));var l=eu(s.stem);l&&(t=de(de({},t),l))}return t}var wn={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function nu(e,t){for(var n="",r=0;r<e.length;r++){var s=e.charAt(r);if(s==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===s;)o++,r++;var i=1+(o&1),l=o<2?1:3+(o>>1),a="a",u=ru(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)n+=a;for(;i-- >0;)n=u+n}else s==="J"?n+="H":n+=s}return n}function ru(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var s=wn[r||""]||wn[n||""]||wn["".concat(n,"-001")]||wn["001"];return s[0]}var tr,su=new RegExp("^".concat($i.source,"*")),ou=new RegExp("".concat($i.source,"*$"));function he(e,t){return{start:e,end:t}}var iu=!!String.prototype.startsWith&&"_a".startsWith("a",1),au=!!String.fromCodePoint,lu=!!Object.fromEntries,cu=!!String.prototype.codePointAt,uu=!!String.prototype.trimStart,fu=!!String.prototype.trimEnd,hu=!!Number.isSafeInteger,du=hu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hr=!0;try{var pu=Pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");hr=((tr=pu.exec("a"))===null||tr===void 0?void 0:tr[0])==="a"}catch{hr=!1}var Xs=iu?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},dr=au?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",s=t.length,o=0,i;s>o;){if(i=t[o++],i>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return r},Ys=lu?Object.fromEntries:function(t){for(var n={},r=0,s=t;r<s.length;r++){var o=s[r],i=o[0],l=o[1];n[i]=l}return n},Si=cu?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var s=t.charCodeAt(n),o;return s<55296||s>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?s:(s-55296<<10)+(o-56320)+65536}},gu=uu?function(t){return t.trimStart()}:function(t){return t.replace(su,"")},mu=fu?function(t){return t.trimEnd()}:function(t){return t.replace(ou,"")};function Pi(e,t){return new RegExp(e,t)}var pr;if(hr){var Ks=Pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");pr=function(t,n){var r;Ks.lastIndex=n;var s=Ks.exec(t);return(r=s[1])!==null&&r!==void 0?r:""}}else pr=function(t,n){for(var r=[];;){var s=Si(t,n);if(s===void 0||Ci(s)||xu(s))break;r.push(s),n+=s>=65536?2:1}return dr.apply(void 0,r)};var vu=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var s=[];!this.isEOF();){var o=this.char();if(o===123){var i=this.parseArgument(t,r);if(i.err)return i;s.push(i.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),s.push({type:be.pound,location:he(l,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(ue.UNMATCHED_CLOSING_TAG,he(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&gr(this.peek()||0)){var i=this.parseTag(t,n);if(i.err)return i;s.push(i.val)}else{var i=this.parseLiteral(t,n);if(i.err)return i;s.push(i.val)}}}return{val:s,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:be.literal,value:"<".concat(s,"/>"),location:he(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var i=o.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!gr(this.char()))return this.error(ue.INVALID_TAG,he(l,this.clonePosition()));var a=this.clonePosition(),u=this.parseTagName();return s!==u?this.error(ue.UNMATCHED_CLOSING_TAG,he(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:be.tag,value:s,children:i,location:he(r,this.clonePosition())},err:null}:this.error(ue.INVALID_TAG,he(l,this.clonePosition())))}else return this.error(ue.UNCLOSED_TAG,he(r,this.clonePosition()))}else return this.error(ue.INVALID_TAG,he(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&yu(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),s="";;){var o=this.tryParseQuote(n);if(o){s+=o;continue}var i=this.tryParseUnquoted(t,n);if(i){s+=i;continue}var l=this.tryParseLeftAngleBracket();if(l){s+=l;continue}break}var a=he(r,this.clonePosition());return{val:{type:be.literal,value:s,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!bu(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return dr.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),dr(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(ue.EMPTY_ARGUMENT,he(r,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(ue.MALFORMED_ARGUMENT,he(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:be.argument,value:s,location:he(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition())):this.parseArgumentOptions(t,n,s,r);default:return this.error(ue.MALFORMED_ARGUMENT,he(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=pr(this.message,n),s=n+r.length;this.bumpTo(s);var o=this.clonePosition(),i=he(t,o);return{value:r,location:i}},e.prototype.parseArgumentOptions=function(t,n,r,s){var o,i=this.clonePosition(),l=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(l){case"":return this.error(ue.EXPECT_ARGUMENT_TYPE,he(i,a));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=mu(f.val);if(h.length===0)return this.error(ue.EXPECT_ARGUMENT_STYLE,he(this.clonePosition(),this.clonePosition()));var p=he(c,this.clonePosition());u={style:h,styleLocation:p}}var b=this.tryParseArgumentClose(s);if(b.err)return b;var m=he(s,this.clonePosition());if(u&&Xs(u==null?void 0:u.style,"::",0)){var w=gu(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(w,u.styleLocation);return f.err?f:{val:{type:be.number,value:r,location:m,style:f.val},err:null}}else{if(w.length===0)return this.error(ue.EXPECT_DATE_TIME_SKELETON,m);var y=w;this.locale&&(y=nu(w,this.locale));var h={type:Ot.dateTime,pattern:y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Yc(y):{}},_=l==="date"?be.date:be.time;return{val:{type:_,value:r,location:m,style:h},err:null}}}return{val:{type:l==="number"?be.number:l==="date"?be.date:be.time,value:r,location:m,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ue.EXPECT_SELECT_ARGUMENT_OPTIONS,he(P,de({},P)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),C=0;if(l!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ue.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),A=this.parseIdentifierIfPossible(),C=f.val}var B=this.tryParsePluralOrSelectOptions(t,l,n,A);if(B.err)return B;var b=this.tryParseArgumentClose(s);if(b.err)return b;var G=he(s,this.clonePosition());return l==="select"?{val:{type:be.select,value:r,options:Ys(B.val),location:G},err:null}:{val:{type:be.plural,value:r,options:Ys(B.val),offset:C,pluralType:l==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(ue.INVALID_ARGUMENT_TYPE,he(i,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,he(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ue.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,he(s,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Zc(t)}catch{return this.error(ue.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ot.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?tu(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,s){for(var o,i=!1,l=[],a=new Set,u=s.value,c=s.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,ue.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=he(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(a.has(u))return this.error(n==="select"?ue.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ue.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(i=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?ue.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ue.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,he(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,n,r);if(b.err)return b;var m=this.tryParseArgumentClose(p);if(m.err)return m;l.push([u,{value:b.val,location:he(p,this.clonePosition())}]),a.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return l.length===0?this.error(n==="select"?ue.EXPECT_SELECT_ARGUMENT_SELECTOR:ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,he(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(ue.MISSING_OTHER_CLAUSE,he(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)o=!0,i=i*10+(l-48),this.bump();else break}var a=he(s,this.clonePosition());return o?(i*=r,du(i)?{val:i,err:null}:this.error(n,a)):this.error(t,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Si(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Xs(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ci(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function gr(e){return e>=97&&e<=122||e>=65&&e<=90}function bu(e){return gr(e)||e===47}function yu(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ci(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xu(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function mr(e){e.forEach(function(t){if(delete t.location,yi(t)||xi(t))for(var n in t.options)delete t.options[n].location,mr(t.options[n].value);else mi(t)&&wi(t.style)||(vi(t)||bi(t))&&fr(t.style)?delete t.style.location:_i(t)&&mr(t.children)})}function _u(e,t){t===void 0&&(t={}),t=de({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new vu(e,t).parse();if(n.err){var r=SyntaxError(ue[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||mr(n.val),n.val}function nr(e,t){var n=t&&t.cache?t.cache:Su,r=t&&t.serializer?t.serializer:Tu,s=t&&t.strategy?t.strategy:$u;return s(e,{cache:n,serializer:r})}function wu(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ai(e,t,n,r){var s=wu(r)?r:n(r),o=t.get(s);return typeof o>"u"&&(o=e.call(this,r),t.set(s,o)),o}function ji(e,t,n){var r=Array.prototype.slice.call(arguments,3),s=n(r),o=t.get(s);return typeof o>"u"&&(o=e.apply(this,r),t.set(s,o)),o}function Cr(e,t,n,r,s){return n.bind(t,e,r,s)}function $u(e,t){var n=e.length===1?Ai:ji;return Cr(e,this,n,t.cache.create(),t.serializer)}function ku(e,t){return Cr(e,this,ji,t.cache.create(),t.serializer)}function Eu(e,t){return Cr(e,this,Ai,t.cache.create(),t.serializer)}var Tu=function(){return JSON.stringify(arguments)};function Ar(){this.cache=Object.create(null)}Ar.prototype.get=function(e){return this.cache[e]};Ar.prototype.set=function(e,t){this.cache[e]=t};var Su={create:function(){return new Ar}},rr={variadic:ku,monadic:Eu},Bt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Bt||(Bt={}));var Yn=function(e){Xn(t,e);function t(n,r,s){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=s,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Zs=function(e){Xn(t,e);function t(n,r,s,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(s).join('", "'),'"'),Bt.INVALID_VALUE,o)||this}return t}(Yn),Pu=function(e){Xn(t,e);function t(n,r,s){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Bt.INVALID_VALUE,s)||this}return t}(Yn),Cu=function(e){Xn(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Bt.MISSING_VALUE,r)||this}return t}(Yn),Ie;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ie||(Ie={}));function Au(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Ie.literal||n.type!==Ie.literal?t.push(n):r.value+=n.value,t},[])}function ju(e){return typeof e=="function"}function Pn(e,t,n,r,s,o,i){if(e.length===1&&Vs(e[0]))return[{type:Ie.literal,value:e[0].value}];for(var l=[],a=0,u=e;a<u.length;a++){var c=u[a];if(Vs(c)){l.push({type:Ie.literal,value:c.value});continue}if(Wc(c)){typeof o=="number"&&l.push({type:Ie.literal,value:n.getNumberFormat(t).format(o)});continue}var f=c.value;if(!(s&&f in s))throw new Cu(f,i);var h=s[f];if(qc(c)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?Ie.literal:Ie.object,value:h});continue}if(vi(c)){var p=typeof c.style=="string"?r.date[c.style]:fr(c.style)?c.style.parsedOptions:void 0;l.push({type:Ie.literal,value:n.getDateTimeFormat(t,p).format(h)});continue}if(bi(c)){var p=typeof c.style=="string"?r.time[c.style]:fr(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:Ie.literal,value:n.getDateTimeFormat(t,p).format(h)});continue}if(mi(c)){var p=typeof c.style=="string"?r.number[c.style]:wi(c.style)?c.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),l.push({type:Ie.literal,value:n.getNumberFormat(t,p).format(h)});continue}if(_i(c)){var b=c.children,m=c.value,w=s[m];if(!ju(w))throw new Pu(m,"function",i);var y=Pn(b,t,n,r,s,o),_=w(y.map(function(C){return C.value}));Array.isArray(_)||(_=[_]),l.push.apply(l,_.map(function(C){return{type:typeof C=="string"?Ie.literal:Ie.object,value:C}}))}if(yi(c)){var P=c.options[h]||c.options.other;if(!P)throw new Zs(c.value,h,Object.keys(c.options),i);l.push.apply(l,Pn(P.value,t,n,r,s));continue}if(xi(c)){var P=c.options["=".concat(h)];if(!P){if(!Intl.PluralRules)throw new Yn(`Intl.PluralRules is not available in this environment.
|
1
|
+
var sa=Object.defineProperty;var ia=(e,t,n)=>t in e?sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qe=(e,t,n)=>(ia(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const aa="modulepreload",la=function(e){return"/"+e},to={},G=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=la(a),a in to)return;to[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":aa,l||(u.as="script",u.crossOrigin=""),u.href=a,i&&u.setAttribute("nonce",i),document.head.appendChild(u),l)return new Promise((f,p)=>{u.addEventListener("load",f),u.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},no=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})};function re(){}const Is=e=>e;function vt(e,t){for(const n in t)e[n]=t[n];return e}function Os(e){return e()}function ro(){return Object.create(null)}function Qe(e){e.forEach(Os)}function kt(e){return typeof e=="function"}function ce(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Tn;function pe(e,t){return e===t?!0:(Tn||(Tn=document.createElement("a")),Tn.href=t,e===Tn.href)}function ca(e){return Object.keys(e).length===0}function Er(e,...t){if(e==null){for(const r of t)r(void 0);return re}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ua(e){let t;return Er(e,n=>t=n)(),t}function me(e,t,n){e.$$.on_destroy.push(Er(t,n))}function Xn(e,t,n,r){if(e){const o=Bs(e,t,n,r);return e[0](o)}}function Bs(e,t,n,r){return e[1]&&r?vt(n.ctx.slice(),e[1](r(t))):n.ctx}function Yn(e,t,n,r){if(e[2]&&r){const o=e[2](r(n));if(t.dirty===void 0)return o;if(typeof o=="object"){const s=[],i=Math.max(t.dirty.length,o.length);for(let a=0;a<i;a+=1)s[a]=t.dirty[a]|o[a];return s}return t.dirty|o}return t.dirty}function Kn(e,t,n,r,o,s){if(o){const i=Bs(t,n,r,s);e.p(i,o)}}function Zn(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let r=0;r<n;r++)t[r]=-1;return t}return-1}function fa(e){const t={};for(const n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function oo(e,t){const n={};t=new Set(t);for(const r in e)!t.has(r)&&r[0]!=="$"&&(n[r]=e[r]);return n}function Hn(e){return e??""}function Sr(e){return e&&kt(e.destroy)?e.destroy:re}const ha=["",!0,1,"true","contenteditable"],Rs=typeof window<"u";let Hs=Rs?()=>window.performance.now():()=>Date.now(),Pr=Rs?e=>requestAnimationFrame(e):re;const Bt=new Set;function Ms(e){Bt.forEach(t=>{t.c(e)||(Bt.delete(t),t.f())}),Bt.size!==0&&Pr(Ms)}function Ds(e){let t;return Bt.size===0&&Pr(Ms),{promise:new Promise(n=>{Bt.add(t={c:e,f:n})}),abort(){Bt.delete(t)}}}function h(e,t){e.appendChild(t)}function ve(e,t,n){const r=Ar(e);if(!r.getElementById(t)){const o=_("style");o.id=t,o.textContent=n,Ns(r,o)}}function Ar(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function pa(e){const t=_("style");return t.textContent="/* empty */",Ns(Ar(e),t),t.sheet}function Ns(e,t){return h(e.head||e,t),t.sheet}function q(e,t,n){e.insertBefore(t,n||null)}function V(e){e.parentNode&&e.parentNode.removeChild(e)}function We(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function ee(e){return document.createTextNode(e)}function $(){return ee(" ")}function Ft(){return ee("")}function Xe(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function zs(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function g(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const da=["width","height"];function so(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)t[r]==null?e.removeAttribute(r):r==="style"?e.style.cssText=t[r]:r==="__value"?e.value=e[r]=t[r]:n[r]&&n[r].set&&da.indexOf(r)===-1?e[r]=t[r]:g(e,r,t[r])}function Ct(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:g(e,t,n)}function ga(e){return Array.from(e.childNodes)}function ae(e,t){t=""+t,e.data!==t&&(e.data=t)}function ma(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function va(e,t,n){~ha.indexOf(n)?ma(e,t):ae(e,t)}function W(e,t,n,r){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function io(e,t,n){e.classList.toggle(t,!!n)}function Fs(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function ba(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Mn(e,t){return new e(t)}const Dn=new Map;let Nn=0;function ya(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function _a(e,t){const n={stylesheet:pa(t),rules:{}};return Dn.set(e,n),n}function Us(e,t,n,r,o,s,i,a=0){const l=16.666/r;let c=`{
|
2
|
+
`;for(let x=0;x<=1;x+=l){const v=t+(n-t)*s(x);c+=x*100+`%{${i(v,1-v)}}
|
3
|
+
`}const u=c+`100% {${i(n,1-n)}}
|
4
|
+
}`,f=`__svelte_${ya(u)}_${a}`,p=Ar(e),{stylesheet:m,rules:d}=Dn.get(p)||_a(p,e);d[f]||(d[f]=!0,m.insertRule(`@keyframes ${f} ${u}`,m.cssRules.length));const y=e.style.animation||"";return e.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Nn+=1,f}function fr(e,t){const n=(e.style.animation||"").split(", "),r=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),o=n.length-r.length;o&&(e.style.animation=r.join(", "),Nn-=o,Nn||xa())}function xa(){Pr(()=>{Nn||(Dn.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&V(t)}),Dn.clear())})}let un;function on(e){un=e}function Ut(){if(!un)throw new Error("Function called outside component initialization");return un}function Je(e){Ut().$$.on_mount.push(e)}function wa(e){Ut().$$.after_update.push(e)}function ka(e){Ut().$$.on_destroy.push(e)}function $a(){const e=Ut();return(t,n,{cancelable:r=!1}={})=>{const o=e.$$.callbacks[t];if(o){const s=Fs(t,n,{cancelable:r});return o.slice().forEach(i=>{i.call(e,s)}),!s.defaultPrevented}return!0}}function It(e,t){return Ut().$$.context.set(e,t),t}function je(e){return Ut().$$.context.get(e)}function ao(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(r=>r.call(this,t))}const Ot=[],Ze=[];let Rt=[];const hr=[],Vs=Promise.resolve();let pr=!1;function Gs(){pr||(pr=!0,Vs.then(K))}function qs(){return Gs(),Vs}function Ht(e){Rt.push(e)}function it(e){hr.push(e)}const or=new Set;let Lt=0;function K(){if(Lt!==0)return;const e=un;do{try{for(;Lt<Ot.length;){const t=Ot[Lt];Lt++,on(t),Ta(t.$$)}}catch(t){throw Ot.length=0,Lt=0,t}for(on(null),Ot.length=0,Lt=0;Ze.length;)Ze.pop()();for(let t=0;t<Rt.length;t+=1){const n=Rt[t];or.has(n)||(or.add(n),n())}Rt.length=0}while(Ot.length);for(;hr.length;)hr.pop()();pr=!1,or.clear(),on(e)}function Ta(e){if(e.fragment!==null){e.update(),Qe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ht)}}function Ea(e){const t=[],n=[];Rt.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Rt=t}let Zt;function Ws(){return Zt||(Zt=Promise.resolve(),Zt.then(()=>{Zt=null})),Zt}function zn(e,t,n){e.dispatchEvent(Fs(`${t?"intro":"outro"}${n}`))}const Pn=new Set;let gt;function Re(){gt={r:0,c:[],p:gt}}function He(){gt.r||Qe(gt.c),gt=gt.p}function T(e,t){e&&e.i&&(Pn.delete(e),e.i(t))}function S(e,t,n,r){if(e&&e.o){if(Pn.has(e))return;Pn.add(e),gt.c.push(()=>{Pn.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}const Xs={duration:0};function Sa(e,t,n){const r={direction:"in"};let o=t(e,n,r),s=!1,i,a,l=0;function c(){i&&fr(e,i)}function u(){const{delay:p=0,duration:m=300,easing:d=Is,tick:y=re,css:x}=o||Xs;x&&(i=Us(e,0,1,m,p,d,x,l++)),y(0,1);const v=Hs()+p,w=v+m;a&&a.abort(),s=!0,Ht(()=>zn(e,!0,"start")),a=Ds(k=>{if(s){if(k>=w)return y(1,0),zn(e,!0,"end"),c(),s=!1;if(k>=v){const E=d((k-v)/m);y(E,1-E)}}return s})}let f=!1;return{start(){f||(f=!0,fr(e),kt(o)?(o=o(r),Ws().then(u)):u())},invalidate(){f=!1},end(){s&&(c(),s=!1)}}}function Pa(e,t,n){const r={direction:"out"};let o=t(e,n,r),s=!0,i;const a=gt;a.r+=1;let l;function c(){const{delay:u=0,duration:f=300,easing:p=Is,tick:m=re,css:d}=o||Xs;d&&(i=Us(e,1,0,f,u,p,d));const y=Hs()+u,x=y+f;Ht(()=>zn(e,!1,"start")),"inert"in e&&(l=e.inert,e.inert=!0),Ds(v=>{if(s){if(v>=x)return m(0,1),zn(e,!1,"end"),--a.r||Qe(a.c),!1;if(v>=y){const w=p((v-y)/f);m(1-w,w)}}return s})}return kt(o)?Ws().then(()=>{o=o(r),c()}):c(),{end(u){u&&"inert"in e&&(e.inert=l),u&&o.tick&&o.tick(1,0),s&&(i&&fr(e,i),s=!1)}}}function Se(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Aa(e,t){e.d(1),t.delete(e.key)}function Ca(e,t,n,r,o,s,i,a,l,c,u,f){let p=e.length,m=s.length,d=p;const y={};for(;d--;)y[e[d].key]=d;const x=[],v=new Map,w=new Map,k=[];for(d=m;d--;){const I=f(o,s,d),z=n(I);let X=i.get(z);X?k.push(()=>X.p(I,t)):(X=c(z,I),X.c()),v.set(z,x[d]=X),z in y&&w.set(z,Math.abs(d-y[z]))}const E=new Set,L=new Set;function C(I){T(I,1),I.m(a,u),i.set(I.key,I),u=I.first,m--}for(;p&&m;){const I=x[m-1],z=e[p-1],X=I.key,F=z.key;I===z?(u=I.first,p--,m--):v.has(F)?!i.has(X)||E.has(X)?C(I):L.has(F)?p--:w.get(X)>w.get(F)?(L.add(X),C(I)):(E.add(F),p--):(l(z,i),p--)}for(;p--;){const I=e[p];v.has(I.key)||l(I,i)}for(;m;)C(x[m-1]);return Qe(k),x}function fn(e,t){const n={},r={},o={$$scope:1};let s=e.length;for(;s--;){const i=e[s],a=t[s];if(a){for(const l in i)l in a||(r[l]=1);for(const l in a)o[l]||(n[l]=a[l],o[l]=1);e[s]=a}else for(const l in i)o[l]=1}for(const i in r)i in n||(n[i]=void 0);return n}function Fn(e){return typeof e=="object"&&e!==null?e:{}}function at(e,t,n){const r=e.$$.props[t];r!==void 0&&(e.$$.bound[r]=n,n(e.$$.ctx[r]))}function H(e){e&&e.c()}function B(e,t,n){const{fragment:r,after_update:o}=e.$$;r&&r.m(t,n),Ht(()=>{const s=e.$$.on_mount.map(Os).filter(kt);e.$$.on_destroy?e.$$.on_destroy.push(...s):Qe(s),e.$$.on_mount=[]}),o.forEach(Ht)}function R(e,t){const n=e.$$;n.fragment!==null&&(Ea(n.after_update),Qe(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function La(e,t){e.$$.dirty[0]===-1&&(Ot.push(e),Gs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ue(e,t,n,r,o,s,i=null,a=[-1]){const l=un;on(e);const c=e.$$={fragment:null,ctx:[],props:s,update:re,not_equal:o,bound:ro(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:ro(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=n?n(e,t.props||{},(f,p,...m)=>{const d=m.length?m[0]:p;return c.ctx&&o(c.ctx[f],c.ctx[f]=d)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](d),u&&La(e,f)),p}):[],c.update(),u=!0,Qe(c.before_update),c.fragment=r?r(c.ctx):!1,t.target){if(t.hydrate){const f=ga(t.target);c.fragment&&c.fragment.l(f),f.forEach(V)}else c.fragment&&c.fragment.c();t.intro&&T(e.$$.fragment),B(e,t.target,t.anchor),K()}on(l)}let Ys;typeof HTMLElement=="function"&&(Ys=class extends HTMLElement{constructor(t,n,r){super();qe(this,"$$ctor");qe(this,"$$s");qe(this,"$$c");qe(this,"$$cn",!1);qe(this,"$$d",{});qe(this,"$$r",!1);qe(this,"$$p_d",{});qe(this,"$$l",{});qe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let i;return{c:function(){i=_("slot"),s!=="default"&&g(i,"name",s)},m:function(c,u){q(c,i,u)},d:function(c){c&&V(i)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=ba(this);for(const s of this.$$s)s in r&&(n[s]=[t(s)]);for(const s of this.attributes){const i=this.$$g_p(s.name);i in this.$$d||(this.$$d[i]=An(i,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const i=An(s,this.$$d[s],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,i)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const i of this.$$l[s]){const a=this.$$c.$on(s,i);this.$$l_u.set(i,a)}this.$$l={}}}attributeChangedCallback(t,n,r){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=An(t,r,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function An(e,t,n,r){var s;const o=(s=n[e])==null?void 0:s.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fe(e,t,n,r,o,s){let i=class extends Ys{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var c;l=An(a,l,t),this.$$d[a]=l,(c=this.$$c)==null||c.$set({[a]:l})}})}),r.forEach(a=>{Object.defineProperty(i.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=i,i}class he{constructor(){qe(this,"$$");qe(this,"$$set")}$destroy(){R(this,1),this.$destroy=re}$on(t,n){if(!kt(n))return re;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o!==-1&&r.splice(o,1)}}$set(t){this.$$set&&!ca(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ja="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ja);const jt=[];function Ks(e,t){return{subscribe:lt(e,t).subscribe}}function lt(e,t=re){let n;const r=new Set;function o(a){if(ce(e,a)&&(e=a,n)){const l=!jt.length;for(const c of r)c[1](),jt.push(c,e);if(l){for(let c=0;c<jt.length;c+=2)jt[c][0](jt[c+1]);jt.length=0}}}function s(a){o(a(e))}function i(a,l=re){const c=[a,l];return r.add(c),r.size===1&&(n=t(o,s)||re),a(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:o,update:s,subscribe:i}}function ct(e,t,n){const r=!Array.isArray(e),o=r?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Ks(n,(i,a)=>{let l=!1;const c=[];let u=0,f=re;const p=()=>{if(u)return;f();const d=t(r?c[0]:c,i,a);s?i(d):f=kt(d)?d:re},m=o.map((d,y)=>Er(d,x=>{c[y]=x,u&=~(1<<y),l&&p()},()=>{u|=1<<y}));return l=!0,p(),function(){Qe(m),f(),l=!1}})}function Ia(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,o,s,i=[],a="",l=e.split("/");for(l[0]||l.shift();o=l.shift();)n=o[0],n==="*"?(i.push("wild"),a+="/(.*)"):n===":"?(r=o.indexOf("?",1),s=o.indexOf(".",1),i.push(o.substring(1,~r?r:~s?s:o.length)),a+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(a+=(~r?"?":"")+"\\"+o.substring(s))):a+="/"+o;return{keys:i,pattern:new RegExp("^"+a+"/?$","i")}}function Oa(e){let t,n,r;const o=[e[2]];var s=e[0];function i(a,l){let c={};for(let u=0;u<o.length;u+=1)c=vt(c,o[u]);return l!==void 0&&l&4&&(c=vt(c,fn(o,[Fn(a[2])]))),{props:c}}return s&&(t=Mn(s,i(e)),t.$on("routeEvent",e[7])),{c(){t&&H(t.$$.fragment),n=Ft()},m(a,l){t&&B(t,a,l),q(a,n,l),r=!0},p(a,l){if(l&1&&s!==(s=a[0])){if(t){Re();const c=t;S(c.$$.fragment,1,0,()=>{R(c,1)}),He()}s?(t=Mn(s,i(a,l)),t.$on("routeEvent",a[7]),H(t.$$.fragment),T(t.$$.fragment,1),B(t,n.parentNode,n)):t=null}else if(s){const c=l&4?fn(o,[Fn(a[2])]):{};t.$set(c)}},i(a){r||(t&&T(t.$$.fragment,a),r=!0)},o(a){t&&S(t.$$.fragment,a),r=!1},d(a){a&&V(n),t&&R(t,a)}}}function Ba(e){let t,n,r;const o=[{params:e[1]},e[2]];var s=e[0];function i(a,l){let c={};for(let u=0;u<o.length;u+=1)c=vt(c,o[u]);return l!==void 0&&l&6&&(c=vt(c,fn(o,[l&2&&{params:a[1]},l&4&&Fn(a[2])]))),{props:c}}return s&&(t=Mn(s,i(e)),t.$on("routeEvent",e[6])),{c(){t&&H(t.$$.fragment),n=Ft()},m(a,l){t&&B(t,a,l),q(a,n,l),r=!0},p(a,l){if(l&1&&s!==(s=a[0])){if(t){Re();const c=t;S(c.$$.fragment,1,0,()=>{R(c,1)}),He()}s?(t=Mn(s,i(a,l)),t.$on("routeEvent",a[6]),H(t.$$.fragment),T(t.$$.fragment,1),B(t,n.parentNode,n)):t=null}else if(s){const c=l&6?fn(o,[l&2&&{params:a[1]},l&4&&Fn(a[2])]):{};t.$set(c)}},i(a){r||(t&&T(t.$$.fragment,a),r=!0)},o(a){t&&S(t.$$.fragment,a),r=!1},d(a){a&&V(n),t&&R(t,a)}}}function Ra(e){let t,n,r,o;const s=[Ba,Oa],i=[];function a(l,c){return l[1]?0:1}return t=a(e),n=i[t]=s[t](e),{c(){n.c(),r=Ft()},m(l,c){i[t].m(l,c),q(l,r,c),o=!0},p(l,[c]){let u=t;t=a(l),t===u?i[t].p(l,c):(Re(),S(i[u],1,1,()=>{i[u]=null}),He(),n=i[t],n?n.p(l,c):(n=i[t]=s[t](l),n.c()),T(n,1),n.m(r.parentNode,r))},i(l){o||(T(n),o=!0)},o(l){S(n),o=!1},d(l){l&&V(r),i[t].d(l)}}}function lo(){const e=window.location.href.indexOf("#/");let t=e>-1?window.location.href.substr(e+1):"/";const n=t.indexOf("?");let r="";return n>-1&&(r=t.substr(n+1),t=t.substr(0,n)),{location:t,querystring:r}}const Cr=Ks(null,function(t){t(lo());const n=()=>{t(lo())};return window.addEventListener("hashchange",n,!1),function(){window.removeEventListener("hashchange",n,!1)}}),Ha=ct(Cr,e=>e.location);ct(Cr,e=>e.querystring);const co=lt(void 0);async function Cn(e){if(!e||e.length<1||e.charAt(0)!="/"&&e.indexOf("#/")!==0)throw Error("Invalid parameter location");await qs(),history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=(e.charAt(0)=="#"?"":"#")+e}function Lr(e,t){if(t=fo(t),!e||!e.tagName||e.tagName.toLowerCase()!="a")throw Error('Action "link" can only be used with <a> tags');return uo(e,t),{update(n){n=fo(n),uo(e,n)}}}function Ma(e){e?window.scrollTo(e.__svelte_spa_router_scrollX,e.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function uo(e,t){let n=t.href||e.getAttribute("href");if(n&&n.charAt(0)=="/")n="#"+n;else if(!n||n.length<2||n.slice(0,2)!="#/")throw Error('Invalid value for "href" attribute: '+n);e.setAttribute("href",n),e.addEventListener("click",r=>{r.preventDefault(),t.disabled||Da(r.currentTarget.getAttribute("href"))})}function fo(e){return e&&typeof e=="string"?{href:e}:e||{}}function Da(e){history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=e}function Na(e,t,n){let{routes:r={}}=t,{prefix:o=""}=t,{restoreScrollState:s=!1}=t;class i{constructor(L,C){if(!C||typeof C!="function"&&(typeof C!="object"||C._sveltesparouter!==!0))throw Error("Invalid component object");if(!L||typeof L=="string"&&(L.length<1||L.charAt(0)!="/"&&L.charAt(0)!="*")||typeof L=="object"&&!(L instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:I,keys:z}=Ia(L);this.path=L,typeof C=="object"&&C._sveltesparouter===!0?(this.component=C.component,this.conditions=C.conditions||[],this.userData=C.userData,this.props=C.props||{}):(this.component=()=>Promise.resolve(C),this.conditions=[],this.props={}),this._pattern=I,this._keys=z}match(L){if(o){if(typeof o=="string")if(L.startsWith(o))L=L.substr(o.length)||"/";else return null;else if(o instanceof RegExp){const X=L.match(o);if(X&&X[0])L=L.substr(X[0].length)||"/";else return null}}const C=this._pattern.exec(L);if(C===null)return null;if(this._keys===!1)return C;const I={};let z=0;for(;z<this._keys.length;){try{I[this._keys[z]]=decodeURIComponent(C[z+1]||"")||null}catch{I[this._keys[z]]=null}z++}return I}async checkConditions(L){for(let C=0;C<this.conditions.length;C++)if(!await this.conditions[C](L))return!1;return!0}}const a=[];r instanceof Map?r.forEach((E,L)=>{a.push(new i(L,E))}):Object.keys(r).forEach(E=>{a.push(new i(E,r[E]))});let l=null,c=null,u={};const f=$a();async function p(E,L){await qs(),f(E,L)}let m=null,d=null;s&&(d=E=>{E.state&&(E.state.__svelte_spa_router_scrollY||E.state.__svelte_spa_router_scrollX)?m=E.state:m=null},window.addEventListener("popstate",d),wa(()=>{Ma(m)}));let y=null,x=null;const v=Cr.subscribe(async E=>{y=E;let L=0;for(;L<a.length;){const C=a[L].match(E.location);if(!C){L++;continue}const I={route:a[L].path,location:E.location,querystring:E.querystring,userData:a[L].userData,params:C&&typeof C=="object"&&Object.keys(C).length?C:null};if(!await a[L].checkConditions(I)){n(0,l=null),x=null,p("conditionsFailed",I);return}p("routeLoading",Object.assign({},I));const z=a[L].component;if(x!=z){z.loading?(n(0,l=z.loading),x=z,n(1,c=z.loadingParams),n(2,u={}),p("routeLoaded",Object.assign({},I,{component:l,name:l.name,params:c}))):(n(0,l=null),x=null);const X=await z();if(E!=y)return;n(0,l=X&&X.default||X),x=z}C&&typeof C=="object"&&Object.keys(C).length?n(1,c=C):n(1,c=null),n(2,u=a[L].props),p("routeLoaded",Object.assign({},I,{component:l,name:l.name,params:c})).then(()=>{co.set(c)});return}n(0,l=null),x=null,co.set(void 0)});ka(()=>{v(),d&&window.removeEventListener("popstate",d)});function w(E){ao.call(this,e,E)}function k(E){ao.call(this,e,E)}return e.$$set=E=>{"routes"in E&&n(3,r=E.routes),"prefix"in E&&n(4,o=E.prefix),"restoreScrollState"in E&&n(5,s=E.restoreScrollState)},e.$$.update=()=>{e.$$.dirty&32&&(history.scrollRestoration=s?"manual":"auto")},[l,c,u,r,o,s,w,k]}class Zs extends he{constructor(t){super(),ue(this,t,Na,Ra,ce,{routes:3,prefix:4,restoreScrollState:5})}get routes(){return this.$$.ctx[3]}set routes(t){this.$$set({routes:t}),K()}get prefix(){return this.$$.ctx[4]}set prefix(t){this.$$set({prefix:t}),K()}get restoreScrollState(){return this.$$.ctx[5]}set restoreScrollState(t){this.$$set({restoreScrollState:t}),K()}}fe(Zs,{routes:{},prefix:{},restoreScrollState:{type:"Boolean"}},[],[],!0);function za(e){const t=e-1;return t*t*t+1}function ho(e,{delay:t=0,duration:n=400,easing:r=za,axis:o="y"}={}){const s=getComputedStyle(e),i=+s.opacity,a=o==="y"?"height":"width",l=parseFloat(s[a]),c=o==="y"?["top","bottom"]:["left","right"],u=c.map(v=>`${v[0].toUpperCase()}${v.slice(1)}`),f=parseFloat(s[`padding${u[0]}`]),p=parseFloat(s[`padding${u[1]}`]),m=parseFloat(s[`margin${u[0]}`]),d=parseFloat(s[`margin${u[1]}`]),y=parseFloat(s[`border${u[0]}Width`]),x=parseFloat(s[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:v=>`overflow: hidden;opacity: ${Math.min(v*20,1)*i};${a}: ${v*l}px;padding-${c[0]}: ${v*f}px;padding-${c[1]}: ${v*p}px;margin-${c[0]}: ${v*m}px;margin-${c[1]}: ${v*d}px;border-${c[0]}-width: ${v*y}px;border-${c[1]}-width: ${v*x}px;`}}function Fa(){const e=localStorage.getItem("LA_GettingStartedProgress"),t=e?JSON.parse(e):[],{subscribe:n,set:r,update:o}=lt(t);function s(){n(i=>{console.log("Updated progress:",i),localStorage.setItem("LA_GettingStartedProgress",JSON.stringify(i))})}return s(),{subscribe:n,set:r,update:o}}const Me=Fa(),po=lt(!1);function Js(e,t){Me.update(n=>{const r=n.findIndex(o=>o.path===e);return r!==-1&&(n[r].state=t),n}),Qs()}function Qs(){const e=ua(Me),t=e.findIndex(n=>n.state==="u");if(t!==-1){const n=e[t].path;Cn(n)}else{const n=e.findIndex(r=>r.state==="s");if(n!==-1){const r=e[n].path;Cn(r)}else Cn("/summary")}}function Ua(){let e=!1;return Me.subscribe(t=>{e=t.slice(0,7).every(n=>n.state==="c")})(),e}function Va(e){Js(e,"s")}function Ga(e){Js(e,"c")}const qa={blue:{100:"#b5e2fe",200:"#7fcbfe",300:"#53adfe",400:"#208afe",500:"#0868d9",600:"#044fad",700:"#023c8a",800:"#092f68",900:"#002054","050":"#dcf3fe"},coral:{100:"#fed5cb",200:"#feb3a0",300:"#fc8b72",400:"#eb6446",500:"#c3422a",600:"#9d2e1b",700:"#7f1e0e",800:"#681004",900:"#500800","050":"#feefea"},green:{100:"#abedba",200:"#6edc8a",300:"#49c16a",400:"#2ca34d",500:"#187e36",600:"#106228",700:"#034e1d",800:"#003c15",900:"#002c10","050":"#d9fae0"},grey:{100:"#e9edf1",125:"#e8ebf0",150:"#e5e8ec",200:"#cfd6dd",300:"#aeb7c0",400:"#8b949e",500:"#6d7680",550:"#646c75",600:"#565f69",700:"#414952",800:"#31373e",850:"#292f36",900:"#23282e",950:"#1e2227",990:"#121518","000":"#ffffff","050":"#f4f6f8"},orange:{100:"#ffd6bb",200:"#ffc29a",300:"#ffa66c",400:"#ff9550",500:"#ff7a24",600:"#d96012",700:"#a6480b",800:"#7d3405",900:"#5c2400","050":"#fff2e9"},pink:{100:"#fed2ea",200:"#feacd9",300:"#fe7fc7",400:"#e759ac",500:"#be3888",600:"#98276d",700:"#761f56",800:"#601246",900:"#4c0235","050":"#feeef6"},purple:{100:"#ebd7fe",200:"#d7b8fe",300:"#c196fe",400:"#a574f8",500:"#814fde",600:"#6538b9",700:"#502996",800:"#3d1e78",900:"#2d1360","050":"#faeefe"},red:{100:"#fecdca",200:"#feaaa7",300:"#fe8081",400:"#f94448",500:"#ce212d",600:"#a30d25",700:"#81061d",800:"#650017",900:"#4b0013","050":"#feeae8"},yellow:{100:"#ffe4b0",200:"#ffd78a",300:"#ffc454",400:"#ffb933",500:"#ffa700",600:"#d98900",700:"#a66800",800:"#7d4d00",900:"#5c3700","050":"#fff6e6"},opacity:{black:{15:"#00000026",20:"#00000033",50:"#00000080",70:"#000000b2",80:"#000000cc"},blue:{100:"#53adfe33",300:"#53adfe66"},clear:"#ffffff00",coral:{300:"#eb644666"},darkGrey:{66:"#121518a8"},green:{300:"#49c16a66",400:"#2ca34d4d"},grey:{0:"#7f90a400",15:"#7f90a426",20:"#7f90a433"},lightGrey:{66:"#f4f6f8a8"},orange:{100:"#ffa66c33",300:"#ffa66c66"},pink:{300:"#fe7fc766"},purple:{300:"#c196fe66"},red:{300:"#fe808166",400:"#f944484d"},white:{20:"#ffffff33",40:"#ffffff66",50:"#ffffff80",60:"#ffffff99",85:"#ffffffd9"},yellow:{300:"#ffc45466"}}},b={colors:qa},Wa={borderDivider:{primary:b.colors.grey[700],secondary:b.colors.blue[400],tertiary:b.colors.grey[700]},buttonsSwitchesTabs:{borderless:b.colors.opacity.clear,borderlessHoverActive:b.colors.opacity.grey[20],darkGrey:b.colors.grey[400],darkGreyHoverActive:b.colors.grey[500],callChat:{borderless:b.colors.opacity.white[20],borderlessHoverActive:b.colors.opacity.white[40],red:b.colors.red[400],redHover:b.colors.red[500]},primaryButtons:{active:b.colors.blue[800],blue:b.colors.blue[400],blueDisabled:b.colors.opacity.blue[100],blueHoverClick:b.colors.blue[300],borderless:b.colors.opacity.clear,grey:b.colors.grey[990],greyHoverClick:b.colors.opacity.grey[20]},textsIcons:{buttonTextIconsBlack:b.colors.grey["050"],buttonTextIconsBlue:b.colors.blue[400],buttonTextIconsHover:b.colors.blue[300],buttonTextIconsPrimary:b.colors.grey["050"],buttonTextIconsPrimaryDisabled:b.colors.grey[400],buttonTextIconsSecondary:b.colors.grey[400],buttonTextIconsSecondaryDisabled:b.colors.grey[700]}},events:{blue:{opacity:b.colors.opacity.blue[300],primary:b.colors.blue[200],secondary:b.colors.blue[100],stroke:b.colors.blue[500],surfacePrimary:b.colors.blue[800],surfaceSecondary:b.colors.blue[700],text:b.colors.grey["000"]},callChat:{opacity:b.colors.opacity.green[300],primary:b.colors.green[400],secondary:b.colors.green[500],stroke:b.colors.green[500],surfacePrimary:b.colors.green[800],surfaceSecondary:b.colors.green[700]},coral:{opacity:b.colors.opacity.coral[300],primary:b.colors.coral[400],secondary:b.colors.coral[300],stroke:b.colors.coral[600],surfacePrimary:b.colors.coral[800],surfaceSecondary:b.colors.coral[700],text:b.colors.grey["000"]},green:{opacity:b.colors.opacity.green[300],primary:b.colors.green[200],secondary:b.colors.green[100],stroke:b.colors.green[500],surfacePrimary:b.colors.green[800],surfaceSecondary:b.colors.green[700],text:b.colors.grey["000"]},grey:{opacity:b.colors.opacity.black[15],primary:b.colors.grey[400],secondary:b.colors.grey[150],stroke:b.colors.grey[600],surfacePrimary:b.colors.grey[900],surfaceSecondary:b.colors.grey[850],text:b.colors.grey["000"]},orange:{opacity:b.colors.opacity.orange[300],primary:b.colors.orange[500],secondary:b.colors.orange[400],stroke:b.colors.orange[600],surfacePrimary:b.colors.orange[900],surfaceSecondary:b.colors.orange[800],text:b.colors.grey["000"]},pink:{opacity:b.colors.opacity.pink[300],primary:b.colors.pink[400],secondary:b.colors.pink[300],stroke:b.colors.pink[600],surfacePrimary:b.colors.pink[900],surfaceSecondary:b.colors.pink[800],text:b.colors.grey["000"]},purple:{opacity:b.colors.opacity.purple[300],primary:b.colors.purple[400],secondary:b.colors.purple[300],stroke:b.colors.purple[600],surfacePrimary:b.colors.purple[900],surfaceSecondary:b.colors.purple[800],text:b.colors.grey["000"]},red:{opacity:b.colors.opacity.red[300],primary:b.colors.red[400],secondary:b.colors.red[300],stroke:b.colors.red[600],surfacePrimary:b.colors.red[800],surfaceSecondary:b.colors.red[700],text:b.colors.grey["000"]},whiteOpacity:{20:b.colors.opacity.white[20],40:b.colors.opacity.white[40],60:b.colors.opacity.white[60]},yellow:{opacity:b.colors.opacity.yellow[300],primary:b.colors.yellow[300],secondary:b.colors.yellow[200],stroke:b.colors.yellow[600],surfacePrimary:b.colors.yellow[900],surfaceSecondary:b.colors.yellow[800],text:b.colors.grey["000"]}},notifications:{greenPrimary:b.colors.green[400],greenSecondary:b.colors.opacity.green[400],redPrimary:b.colors.red[400],redSecondary:b.colors.opacity.red[400],surfacePrimary:b.colors.opacity.white[85],surfaceSecondary:b.colors.opacity.white[50],textIcons:b.colors.grey[950]},surface:{behindPopups:b.colors.opacity.black[70],hover:b.colors.opacity.grey[20],primary:b.colors.grey[990],replySection:b.colors.opacity.darkGrey[66],secondary:b.colors.grey[950],tertiary:b.colors.grey[990]},systemTags:{blue:b.colors.blue[400],coral:b.colors.coral[400],green:b.colors.green[500],greyAnswered:b.colors.grey[600],greyEmpty:b.colors.grey[700],greyThat150:b.colors.grey[850],greyToDo:b.colors.grey[550],orangeNew:b.colors.orange[500],pink:b.colors.pink[400],purplePostponed:b.colors.purple[400],redOverdue:b.colors.red[400],yellowOpen:b.colors.yellow[500]},textsIcons:{blue:b.colors.blue[400],blueHover:b.colors.blue[300],orange:b.colors.orange[500],orangeHover:b.colors.orange[400],primary:b.colors.grey["050"],primaryHover:b.colors.blue[300],secondary:b.colors.grey[400],secondaryHover:b.colors.blue[300],white:b.colors.grey["050"],whiteHover:b.colors.blue[300]},toSolve:{icon:b.colors.grey["000"],iconHover:b.colors.grey["000"],orange:b.colors.orange[500],orangeHover:b.colors.orange[400],stroke:b.colors.orange[400],surfaceWhite:b.colors.opacity.white[20],text:b.colors.grey["000"]}},Xa={borderDivider:{primary:b.colors.grey[200],secondary:b.colors.blue[500],tertiary:b.colors.opacity.clear},buttonsSwitchesTabs:{borderless:b.colors.opacity.clear,borderlessHoverActive:b.colors.opacity.grey[15],darkGrey:b.colors.grey[400],darkGreyHoverActive:b.colors.grey[500],callChat:{borderless:b.colors.opacity.white[20],borderlessHoverActive:b.colors.opacity.white[40],red:b.colors.red[400],redHover:b.colors.red[500]},primaryButtons:{active:b.colors.blue["050"],blue:b.colors.blue[500],blueDisabled:b.colors.opacity.blue[300],blueHoverClick:b.colors.blue[600],borderless:b.colors.opacity.clear,grey:b.colors.grey["050"],greyHoverClick:b.colors.opacity.grey[15]},textsIcons:{buttonTextIconsBlack:b.colors.grey[950],buttonTextIconsBlue:b.colors.blue[500],buttonTextIconsHover:b.colors.blue[600],buttonTextIconsPrimary:b.colors.grey["000"],buttonTextIconsPrimaryDisabled:b.colors.grey["000"],buttonTextIconsSecondary:b.colors.grey[550],buttonTextIconsSecondaryDisabled:b.colors.grey[200]}},events:{blue:{opacity:b.colors.opacity.blue[300],primary:b.colors.blue[500],secondary:b.colors.blue[600],stroke:b.colors.blue[300],surfacePrimary:b.colors.blue["050"],surfaceSecondary:b.colors.blue[100],text:b.colors.blue[500]},callChat:{opacity:b.colors.opacity.green[300],primary:b.colors.green[400],secondary:b.colors.green[500],stroke:b.colors.green[300],surfacePrimary:b.colors.green["050"],surfaceSecondary:b.colors.green[100]},coral:{opacity:b.colors.opacity.coral[300],primary:b.colors.coral[500],secondary:b.colors.coral[600],stroke:b.colors.coral[300],surfacePrimary:b.colors.pink["050"],surfaceSecondary:b.colors.coral[100],text:b.colors.coral[500]},green:{opacity:b.colors.opacity.green[300],primary:b.colors.green[500],secondary:b.colors.green[600],stroke:b.colors.green[300],surfacePrimary:b.colors.green["050"],surfaceSecondary:b.colors.green[100],text:b.colors.green[500]},grey:{opacity:b.colors.opacity.black[20],primary:b.colors.grey[550],secondary:b.colors.grey[950],stroke:b.colors.grey[300],surfacePrimary:b.colors.grey["050"],surfaceSecondary:b.colors.grey[125],text:b.colors.grey[550]},orange:{opacity:b.colors.opacity.orange[300],primary:b.colors.orange[500],secondary:b.colors.orange[600],stroke:b.colors.orange[300],surfacePrimary:b.colors.orange["050"],surfaceSecondary:b.colors.orange[100],text:b.colors.orange[500]},pink:{opacity:b.colors.opacity.pink[300],primary:b.colors.pink[500],secondary:b.colors.pink[600],stroke:b.colors.pink[300],surfacePrimary:b.colors.pink["050"],surfaceSecondary:b.colors.pink[100],text:b.colors.pink[500]},purple:{opacity:b.colors.opacity.purple[300],primary:b.colors.purple[500],secondary:b.colors.purple[600],stroke:b.colors.purple[300],surfacePrimary:b.colors.purple["050"],surfaceSecondary:b.colors.purple[100],text:b.colors.purple[500]},red:{opacity:b.colors.opacity.red[300],primary:b.colors.red[500],secondary:b.colors.red[600],stroke:b.colors.red[300],surfacePrimary:b.colors.red["050"],surfaceSecondary:b.colors.red[100],text:b.colors.red[500]},whiteOpacity:{20:b.colors.opacity.white[20],40:b.colors.opacity.white[40],60:b.colors.opacity.white[60]},yellow:{opacity:b.colors.opacity.yellow[300],primary:b.colors.yellow[500],secondary:b.colors.yellow[600],stroke:b.colors.yellow[300],surfacePrimary:b.colors.yellow["050"],surfaceSecondary:b.colors.yellow[100],text:b.colors.yellow[500]}},notifications:{greenPrimary:b.colors.green[400],greenSecondary:b.colors.opacity.green[400],redPrimary:b.colors.red[400],redSecondary:b.colors.opacity.red[400],surfacePrimary:b.colors.opacity.black[80],surfaceSecondary:b.colors.opacity.black[50],textIcons:b.colors.grey["000"]},surface:{behindPopups:b.colors.opacity.black[50],hover:b.colors.opacity.grey[15],primary:b.colors.grey["050"],replySection:b.colors.opacity.lightGrey[66],secondary:b.colors.grey["000"],tertiary:b.colors.grey["000"]},systemTags:{blue:b.colors.blue[500],coral:b.colors.coral[500],green:b.colors.green[500],greyAnswered:b.colors.grey[300],greyEmpty:b.colors.grey[200],greyThat150:b.colors.grey[150],greyToDo:b.colors.grey[550],orangeNew:b.colors.orange[500],pink:b.colors.pink[500],purplePostponed:b.colors.purple[500],redOverdue:b.colors.red[500],yellowOpen:b.colors.yellow[500]},textsIcons:{blue:b.colors.blue[500],blueHover:b.colors.blue[600],orange:b.colors.orange[500],orangeHover:b.colors.orange[600],primary:b.colors.grey[950],primaryHover:b.colors.blue[600],secondary:b.colors.grey[550],secondaryHover:b.colors.blue[600],white:b.colors.grey["000"],whiteHover:b.colors.blue[600]},toSolve:{icon:b.colors.orange[500],iconHover:b.colors.orange[600],orange:b.colors.orange[500],orangeHover:b.colors.orange[600],stroke:b.colors.orange[600],surfaceWhite:b.colors.grey["000"],text:b.colors.grey["000"]}},Un=lt(!1),bt=ct(Un,e=>e?Wa:Xa);function Ya(e){ve(e,"svelte-4cto8e",".tag.svelte-4cto8e{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:2px 6px;border:1px solid var(--border-color-green);border-radius:4px;background-color:var(--background-color-green-primary)}.numbers.svelte-4cto8e{color:var(--color-green-primary);text-align:center;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}")}function Ka(e){let t,n,r,o,s,i,a;return{c(){t=_("div"),n=_("img"),o=$(),s=_("span"),i=ee(e[0]),a=ee("/9"),pe(n.src,r="../../../../public/assets/icons/resolve.svg")||g(n,"src",r),g(n,"alt","resolved"),g(s,"class","numbers svelte-4cto8e"),g(t,"class","tag svelte-4cto8e")},m(l,c){q(l,t,c),h(t,n),h(t,o),h(t,s),h(s,i),h(s,a)},p(l,[c]){c&1&&ae(i,l[0])},i:re,o:re,d(l){l&&V(t)}}}function Za(e,t,n){let r,o;return me(e,Me,s=>n(1,o=s)),e.$$.update=()=>{e.$$.dirty&2&&n(0,r=o?o.filter(s=>s.state==="c").length:0)},[r,o]}class ei extends he{constructor(t){super(),ue(this,t,Za,Ka,ce,{},Ya)}}fe(ei,{},[],[],!0);const Vn=lt(!1);function dr(e=void 0){if(e===void 0){Vn.update(t=>!t);return}Vn.set(e)}function Ja(e){ve(e,"svelte-1bsjw2o",`.heading.svelte-1bsjw2o.svelte-1bsjw2o{position:relative;color:var(--text-color-secondary);padding:10px 12px 10px 40px;margin:0;font-family:Roboto;font-size:14px;font-weight:700;line-height:20px;cursor:pointer}.heading.svelte-1bsjw2o.svelte-1bsjw2o::before{position:absolute;left:10px;top:20%;height:20px;width:20px;content:url('../../../../public/assets/icons/arrow-right.svg');transform:rotate(180deg)}ul.svelte-1bsjw2o.svelte-1bsjw2o{list-style-type:none;padding:0;margin:0}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o{position:relative;display:flex;align-items:center;justify-content:flex-start}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:after{position:absolute;top:30%;right:10px;transform:rotate(90deg);transition:transform 0.3s ease-in-out;content:url('../../../../public/assets/icons/arrow-right.svg')}.menu-item-first.opened.svelte-1bsjw2o.svelte-1bsjw2o:after{transform:rotate(-90deg)}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o{padding:10px 12px 10px 56px;color:var(--text-color-primary)}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o::before{content:'';display:inline-block;margin-right:8px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o{display:flex;align-items:center;padding:10px 8px 10px 0;color:var(--text-color-secondary)}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o::after{content:"";display:inline-block;margin-left:5px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat}.menu-item-secondary.selected.svelte-1bsjw2o.svelte-1bsjw2o{color:var(--text-color-highlight)}.menu-item-secondary.selected.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/progress-submenu.svg")}.menu-item-secondary.completed.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/resolve.svg")}.menu-item-secondary.skipped.svelte-1bsjw2o.svelte-1bsjw2o::after{content:url("../../../../public/assets/icons/unfinished.svg")}a.svelte-1bsjw2o.svelte-1bsjw2o{display:flex;align-items:center;padding:0 8px;text-decoration:none;transition:background-color 0.2s ease}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:hover,.menu-item-primary.selected.svelte-1bsjw2o.svelte-1bsjw2o,.menu-item-first.selected.svelte-1bsjw2o.svelte-1bsjw2o,.svelte-1bsjw2o:not(.menu-item-first)>a.svelte-1bsjw2o:hover{background-color:var(--menu-background-hover)}.steps.svelte-1bsjw2o.svelte-1bsjw2o{border-bottom:1px solid var(--border-color-primary);margin-left:80px;padding-bottom:10px;margin-bottom:10px}.getting-started.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/goal.svg')}.shortcuts.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/shortcuts.svg')}.improve-la-skills.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/learn.svg')}.contact-us.svelte-1bsjw2o.svelte-1bsjw2o::before{content:url('../../../../public/assets/icons/ticket.svg')}@media(min-width: 768px){.heading.svelte-1bsjw2o.svelte-1bsjw2o{cursor:default;padding:0;margin-bottom:16px;font-size:13px}.heading.svelte-1bsjw2o.svelte-1bsjw2o::before{display:none}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o::after{display:none}.menu-item-primary.svelte-1bsjw2o.svelte-1bsjw2o{padding:0 8px}.menu-item-secondary.svelte-1bsjw2o.svelte-1bsjw2o{padding:0 0 0 32px}.menu-item-first.svelte-1bsjw2o.svelte-1bsjw2o:hover,.menu-item-primary.selected.svelte-1bsjw2o.svelte-1bsjw2o,.menu-item-first.selected.svelte-1bsjw2o.svelte-1bsjw2o,.svelte-1bsjw2o:not(.menu-item-first)>a.svelte-1bsjw2o:hover{border-radius:6px}a.svelte-1bsjw2o.svelte-1bsjw2o{height:36px}.steps.svelte-1bsjw2o.svelte-1bsjw2o{margin:0;padding:0;border:none}}`)}function go(e,t,n){const r=e.slice();return r[12]=t[n].path,r[13]=t[n].name,r[14]=t[n].children,r}function mo(e,t,n){const r=e.slice();return r[17]=t[n].path,r[18]=t[n].name,r}function Qa(e){let t,n,r=e[13]+"",o,s,i,a,l;return{c(){t=_("li"),n=_("a"),o=ee(r),i=$(),g(n,"class",s="menu-item-primary "+e[12].substring(1).replace("/","-")+" "+(e[2]===e[12]?"selected":"")+" svelte-1bsjw2o"),g(n,"href",e[12]),g(t,"class","svelte-1bsjw2o")},m(c,u){q(c,t,u),h(t,n),h(n,o),h(t,i),a||(l=Sr(Lr.call(null,n)),a=!0)},p(c,u){u&4&&s!==(s="menu-item-primary "+c[12].substring(1).replace("/","-")+" "+(c[2]===c[12]?"selected":"")+" svelte-1bsjw2o")&&g(n,"class",s)},i:re,o:re,d(c){c&&V(t),a=!1,l()}}}function el(e){let t,n,r,o=e[13]+"",s,i,a,l,c,u,f,p,m;a=new ei({});let d=e[1]&&vo(e);return{c(){t=_("li"),n=_("div"),r=_("a"),s=ee(o),i=$(),H(a.$$.fragment),c=$(),d&&d.c(),u=$(),g(r,"class","menu-item-primary "+e[13].toLowerCase().replace(" ","-")+" svelte-1bsjw2o"),g(r,"href",e[12]),g(n,"class",l="menu-item-first "+(e[1]?"opened":"")+" "+e[7](e[12],e[14],e[2])+" svelte-1bsjw2o")},m(y,x){q(y,t,x),h(t,n),h(n,r),h(r,s),h(n,i),B(a,n,null),h(t,c),d&&d.m(t,null),h(t,u),f=!0,p||(m=[Sr(Lr.call(null,r)),Xe(t,"click",e[10])],p=!0)},p(y,x){(!f||x&6&&l!==(l="menu-item-first "+(y[1]?"opened":"")+" "+y[7](y[12],y[14],y[2])+" svelte-1bsjw2o"))&&g(n,"class",l),y[1]?d?(d.p(y,x),x&2&&T(d,1)):(d=vo(y),d.c(),T(d,1),d.m(t,u)):d&&(Re(),S(d,1,1,()=>{d=null}),He())},i(y){f||(T(a.$$.fragment,y),T(d),f=!0)},o(y){S(a.$$.fragment,y),S(d),f=!1},d(y){y&&V(t),R(a),d&&d.d(),p=!1,Qe(m)}}}function vo(e){let t,n,r,o,s,i,a,l=Se(e[14]),c=[];for(let u=0;u<l.length;u+=1)c[u]=yo(mo(e,l,u));return{c(){t=_("div"),n=_("ul");for(let u=0;u<c.length;u+=1)c[u].c();g(n,"class","svelte-1bsjw2o"),g(t,"class","steps svelte-1bsjw2o")},m(u,f){q(u,t,f),h(t,n);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(n,null);s=!0,i||(a=Xe(n,"click",zs(nl)),i=!0)},p(u,f){if(f&297){l=Se(u[14]);let p;for(p=0;p<l.length;p+=1){const m=mo(u,l,p);c[p]?c[p].p(m,f):(c[p]=yo(m),c[p].c(),c[p].m(n,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=l.length}},i(u){s||(u&&Ht(()=>{s&&(o&&o.end(1),r=Sa(t,ho,{duration:300}),r.start())}),s=!0)},o(u){r&&r.invalidate(),u&&(o=Pa(t,ho,{duration:300})),s=!1},d(u){u&&V(t),We(c,u),u&&o&&o.end(),i=!1,a()}}}function bo(e){let t,n,r=e[18]+"",o,s,i,a;return{c(){t=_("li"),n=_("a"),o=ee(r),s=$(),g(n,"class","menu-item-secondary "+e[8](e[17])+" svelte-1bsjw2o"),g(n,"href",e[17]),g(t,"class","svelte-1bsjw2o")},m(l,c){q(l,t,c),h(t,n),h(n,o),h(n,s),i||(a=Sr(Lr.call(null,n)),i=!0)},p:re,d(l){l&&V(t),i=!1,a()}}}function yo(e){let t=e[3]&&e[0],n,r=bo(e);return{c(){r.c(),n=Ft()},m(o,s){r.m(o,s),q(o,n,s)},p(o,s){s&9&&ce(t,t=o[3]&&o[0])?(r.d(1),r=bo(o),r.c(),r.m(n.parentNode,n)):r.p(o,s)},d(o){o&&V(n),r.d(o)}}}function _o(e){let t,n,r,o;const s=[el,Qa],i=[];function a(l,c){return l[14]&&l[14].length?0:l[12]!=="/summary"?1:-1}return~(t=a(e))&&(n=i[t]=s[t](e)),{c(){n&&n.c(),r=Ft()},m(l,c){~t&&i[t].m(l,c),q(l,r,c),o=!0},p(l,c){n&&n.p(l,c)},i(l){o||(T(n),o=!0)},o(l){S(n),o=!1},d(l){l&&V(r),~t&&i[t].d(l)}}}function tl(e){let t,n,r,o,s,i,a=Se(e[5]),l=[];for(let u=0;u<a.length;u+=1)l[u]=_o(go(e,a,u));const c=u=>S(l[u],1,1,()=>{l[u]=null});return{c(){t=_("h3"),t.textContent="Help center",n=$(),r=_("ul");for(let u=0;u<l.length;u+=1)l[u].c();g(t,"class","heading svelte-1bsjw2o"),W(r,"--text-color-highlight",e[4].textsIcons.blue),W(r,"--menu-background-hover",e[4].surface.hover),g(r,"class","svelte-1bsjw2o")},m(u,f){q(u,t,f),q(u,n,f),q(u,r,f);for(let p=0;p<l.length;p+=1)l[p]&&l[p].m(r,null);o=!0,s||(i=Xe(t,"click",e[9]),s=!0)},p(u,[f]){if(f&495){a=Se(u[5]);let p;for(p=0;p<a.length;p+=1){const m=go(u,a,p);l[p]?(l[p].p(m,f),T(l[p],1)):(l[p]=_o(m),l[p].c(),T(l[p],1),l[p].m(r,null))}for(Re(),p=a.length;p<l.length;p+=1)c(p);He()}(!o||f&16)&&W(r,"--text-color-highlight",u[4].textsIcons.blue),(!o||f&16)&&W(r,"--menu-background-hover",u[4].surface.hover)},i(u){if(!o){for(let f=0;f<a.length;f+=1)T(l[f]);o=!0}},o(u){l=l.filter(Boolean);for(let f=0;f<l.length;f+=1)S(l[f]);o=!1},d(u){u&&(V(t),V(n),V(r)),We(l,u),s=!1,i()}}}const nl=()=>{};function rl(e,t,n){let r,o,s;me(e,Ha,y=>n(0,r=y)),me(e,Me,y=>n(3,o=y)),me(e,bt,y=>n(4,s=y));const i=je("namedRoutes");let a=!1,l;function c(){Qs(),n(1,a=!a)}function u(y,x,v){return v===y||x!=null&&x.some(w=>v===w.path)?"selected":""}function f(y){let x;return o.forEach(v=>{v.path===y&&(x=v.state)}),x}function p(y){if(r===y)return"selected";switch(f(y)){case"c":return"completed";case"s":return"skipped";default:return"unfinished"}}const m=()=>dr(!1),d=()=>c();return e.$$.update=()=>{e.$$.dirty&1&&n(2,l=r)},[r,a,l,o,s,i,c,u,p,m,d]}class ti extends he{constructor(t){super(),ue(this,t,rl,tl,ce,{},Ja)}}fe(ti,{},[],[],!0);function ol(e){ve(e,"svelte-1212oh4","button.svelte-1212oh4{position:absolute;bottom:60px;left:16px;border:none;border-radius:4px;padding:8px 16px;font-size:16px;cursor:pointer}")}function sl(e){let t,n=e[0]?"Switch to Light Mode":"Switch to Dark Mode",r,o,s;return{c(){t=_("button"),r=ee(n),g(t,"class","svelte-1212oh4")},m(i,a){q(i,t,a),h(t,r),o||(s=Xe(t,"click",e[1]),o=!0)},p(i,[a]){a&1&&n!==(n=i[0]?"Switch to Light Mode":"Switch to Dark Mode")&&ae(r,n)},i:re,o:re,d(i){i&&V(t),o=!1,s()}}}function il(e,t,n){let r;me(e,Un,s=>n(0,r=s));function o(){Un.update(s=>!s)}return[r,o]}class ni extends he{constructor(t){super(),ue(this,t,il,sl,ce,{},ol)}}fe(ni,{},[],[],!0);function al(e){ve(e,"svelte-6zajyi",`.progress-wrapper.svelte-6zajyi.svelte-6zajyi{width:100%;background-color:var(--background-color-secondary)}.header.svelte-6zajyi.svelte-6zajyi{display:none}.heading.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:center;margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.heading.mobile.svelte-6zajyi.svelte-6zajyi{font-size:14px}.text.svelte-6zajyi.svelte-6zajyi{margin:0;color:var(--text-color-secondary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px}.progress.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:column;padding:12px 24px 14px;border-bottom:1px solid var(--border-color-primary)}.textPart.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:8px}.texts.svelte-6zajyi.svelte-6zajyi{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.percentage.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:center;margin:0;color:var(--color-green-primary);text-align:center;font-size:24px;font-weight:700;line-height:28px}.description.svelte-6zajyi.svelte-6zajyi{display:flex;align-items:flex-end;margin:0;color:var(--text-color-secondary);font-size:12px;font-weight:700;line-height:20px}.progress-bar.svelte-6zajyi.svelte-6zajyi{display:flex;position:relative;width:100%;height:8px;background-color:var(--border-color-primary);border-radius:4px;overflow:hidden}.progress-indicator.svelte-6zajyi.svelte-6zajyi{position:absolute;height:100%;background-color:var(--color-green-primary);border-radius:4px}.step.svelte-6zajyi.svelte-6zajyi{width:calc(100% / 9);height:8px;flex-shrink:0;background-color:transparent;position:relative}.step.completed.svelte-6zajyi.svelte-6zajyi{background-color:transparent}.step.svelte-6zajyi.svelte-6zajyi:not(:last-child)::before{content:'';position:absolute;right:2px;top:50%;transform:translateY(-50%);width:4px;height:4px;background-color:var(--border-color-grey);border-radius:50%}.step.completed.svelte-6zajyi.svelte-6zajyi::before{display:none}.toggle-button.svelte-6zajyi.svelte-6zajyi{background-color:var(--background-color-secondary);cursor:pointer;height:24px;width:48px;border:1px solid var(--border-color-primary);border-radius:69px;position:relative;transition:background-color 0.3s}.toggle-button.svelte-6zajyi .toggle-circle.svelte-6zajyi{background-color:var(--text-color-secondary);border-radius:50%;position:absolute;top:2px;bottom:2px;width:20px;height:20px;transition:all 0.3s}@media(min-width: 768px){.progress-wrapper.svelte-6zajyi.svelte-6zajyi{background:none}.progress.svelte-6zajyi.svelte-6zajyi{height:40px;max-width:590px;padding:12px 36px 20px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px}.header.svelte-6zajyi.svelte-6zajyi{display:flex;justify-content:space-between;align-items:center;height:36px;padding:4px}.header-right.svelte-6zajyi.svelte-6zajyi{display:flex;justify-content:space-between;align-items:center;gap:10px}.heading.mobile.svelte-6zajyi.svelte-6zajyi{display:none}.heading.svelte-6zajyi.svelte-6zajyi::before{content:url("public/assets/icons/progress.svg");display:inline-block;margin-right:5px;height:24px;width:24px;background-size:contain;background-repeat:no-repeat}.texts.svelte-6zajyi.svelte-6zajyi{flex-direction:row;align-items:flex-end}.textPart.svelte-6zajyi.svelte-6zajyi{flex-direction:row;justify-content:flex-start}}`)}function xo(e,t,n){const r=e.slice();return r[5]=t[n],r[7]=n,r}function wo(e,t){let n,r;return{key:e,first:null,c(){n=_("div"),g(n,"class",r="step "+(t[7]<t[1]?"completed":"pending")+" svelte-6zajyi"),this.first=n},m(o,s){q(o,n,s)},p(o,s){t=o,s&3&&r!==(r="step "+(t[7]<t[1]?"completed":"pending")+" svelte-6zajyi")&&g(n,"class",r)},d(o){o&&V(n)}}}function ll(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I,z,X,F,U=[],ne=new Map,te,Y,A=Se(e[0]);const M=j=>j[7];for(let j=0;j<A.length;j+=1){let D=xo(e,A,j),P=M(D);ne.set(P,U[j]=wo(P,D))}return{c(){t=_("div"),n=_("div"),r=_("h3"),r.textContent=`${ko}`,o=$(),s=_("div"),i=_("p"),i.textContent="Do not show Getting started screen after login",a=$(),l=_("button"),c=_("span"),u=$(),f=_("div"),p=_("div"),m=_("h1"),d=ee(e[2]),y=ee("%"),x=$(),v=_("div"),w=_("h3"),w.textContent=`${ko}`,k=$(),E=_("p"),L=ee(e[1]),C=ee("/9 steps finished"),I=$(),z=_("div"),X=_("div"),F=$();for(let j=0;j<U.length;j+=1)U[j].c();g(r,"class","heading svelte-6zajyi"),g(i,"class","text svelte-6zajyi"),g(c,"class","svelte-6zajyi"),io(c,"toggle-circle",e[3]?"on":"off"),g(l,"class","toggle-button svelte-6zajyi"),g(s,"class","header-right svelte-6zajyi"),g(n,"class","header svelte-6zajyi"),g(m,"class","percentage svelte-6zajyi"),g(w,"class","heading mobile svelte-6zajyi"),g(E,"class","description svelte-6zajyi"),g(v,"class","texts svelte-6zajyi"),g(p,"class","textPart svelte-6zajyi"),g(X,"class","progress-indicator svelte-6zajyi"),W(X,"width",e[2]+"%"),g(z,"class","progress-bar svelte-6zajyi"),g(f,"class","progress svelte-6zajyi"),g(t,"class","progress-wrapper svelte-6zajyi")},m(j,D){q(j,t,D),h(t,n),h(n,r),h(n,o),h(n,s),h(s,i),h(s,a),h(s,l),h(l,c),h(t,u),h(t,f),h(f,p),h(p,m),h(m,d),h(m,y),h(p,x),h(p,v),h(v,w),h(v,k),h(v,E),h(E,L),h(E,C),h(f,I),h(f,z),h(z,X),h(z,F);for(let P=0;P<U.length;P+=1)U[P]&&U[P].m(z,null);te||(Y=Xe(l,"click",e[4]),te=!0)},p(j,[D]){D&8&&io(c,"toggle-circle",j[3]?"on":"off"),D&4&&ae(d,j[2]),D&2&&ae(L,j[1]),D&4&&W(X,"width",j[2]+"%"),D&3&&(A=Se(j[0]),U=Ca(U,D,M,1,j,A,ne,z,Aa,wo,null,xo))},i:re,o:re,d(j){j&&V(t);for(let D=0;D<U.length;D+=1)U[D].d();te=!1,Y()}}}const ko="Getting started progress";function cl(e,t,n){let r,o,s,i;me(e,Me,l=>n(0,s=l)),me(e,po,l=>n(3,i=l));function a(){po.update(l=>!l)}return e.$$.update=()=>{e.$$.dirty&1&&n(2,r=s?Math.round(s.filter(l=>l.state==="c").length/s.length*100):0),e.$$.dirty&1&&n(1,o=s?s.filter(l=>l.state==="c").length:0)},[s,o,r,i,a]}class jr extends he{constructor(t){super(),ue(this,t,cl,ll,ce,{},al)}}fe(jr,{},[],[],!0);function ul(e){ve(e,"svelte-1u46tw8",".heading.svelte-1u46tw8{margin:0 0 6px;color:var(--text-color-primary);font-family:Roboto;font-size:16px;font-weight:700;line-height:20px}")}function fl(e){let t,n;return{c(){t=_("h2"),n=ee(e[0]),g(t,"class","heading svelte-1u46tw8"),g(t,"style",e[1])},m(r,o){q(r,t,o),h(t,n)},p(r,[o]){o&1&&ae(n,r[0]),o&2&&g(t,"style",r[1])},i:re,o:re,d(r){r&&V(t)}}}function hl(e,t,n){let{text:r}=t,{additionalStyles:o=""}=t;return e.$$set=s=>{"text"in s&&n(0,r=s.text),"additionalStyles"in s&&n(1,o=s.additionalStyles)},[r,o]}class Ae extends he{constructor(t){super(),ue(this,t,hl,fl,ce,{text:0,additionalStyles:1},ul)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get additionalStyles(){return this.$$.ctx[1]}set additionalStyles(t){this.$$set({additionalStyles:t}),K()}}fe(Ae,{text:{},additionalStyles:{}},[],[],!0);function pl(e){ve(e,"svelte-16f4ic4","@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');.text.svelte-16f4ic4{align-self:flex-start;margin:6px 0;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:400;line-height:20px}@media(min-width: 768px){.text.svelte-16f4ic4{font-size:13px}}")}function dl(e){let t,n,r,o,s;const i=e[3].default,a=Xn(i,e,e[2],null);return{c(){t=_("p"),n=ee(e[0]),r=$(),a&&a.c(),g(t,"class","text svelte-16f4ic4"),g(t,"style",o=e[1]+";")},m(l,c){q(l,t,c),h(t,n),h(t,r),a&&a.m(t,null),s=!0},p(l,[c]){(!s||c&1)&&ae(n,l[0]),a&&a.p&&(!s||c&4)&&Kn(a,i,l,l[2],s?Yn(i,l[2],c,null):Zn(l[2]),null),(!s||c&2&&o!==(o=l[1]+";"))&&g(t,"style",o)},i(l){s||(T(a,l),s=!0)},o(l){S(a,l),s=!1},d(l){l&&V(t),a&&a.d(l)}}}function gl(e,t,n){let{$$slots:r={},$$scope:o}=t,{text:s}=t,{additionalStyles:i=""}=t;return e.$$set=a=>{"text"in a&&n(0,s=a.text),"additionalStyles"in a&&n(1,i=a.additionalStyles),"$$scope"in a&&n(2,o=a.$$scope)},[s,i,o,r]}class ge extends he{constructor(t){super(),ue(this,t,gl,dl,ce,{text:0,additionalStyles:1},pl)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get additionalStyles(){return this.$$.ctx[1]}set additionalStyles(t){this.$$set({additionalStyles:t}),K()}}fe(ge,{text:{},additionalStyles:{}},["default"],[],!0);function ml(e){ve(e,"svelte-17o18r7",".highlight.svelte-17o18r7{display:inline;color:var(--text-color-blue);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px;text-decoration-line:underline}.punctuation.svelte-17o18r7{color:var(--text-color-primary);font-size:14px}@media(min-width: 768px){.highlight.svelte-17o18r7,.punctuation.svelte-17o18r7{font-size:13px}}")}function vl(e){let t,n,r,o,s,i;return{c(){t=_("a"),n=_("span"),r=ee(e[0]),o=$(),s=_("span"),i=ee(e[2]),g(n,"class","highlight svelte-17o18r7"),g(s,"class","punctuation svelte-17o18r7"),g(t,"href",e[3]),g(t,"class","link"),g(t,"style",e[1])},m(a,l){q(a,t,l),h(t,n),h(n,r),h(t,o),h(t,s),h(s,i)},p(a,[l]){l&1&&ae(r,a[0]),l&4&&ae(i,a[2]),l&8&&g(t,"href",a[3]),l&2&&g(t,"style",a[1])},i:re,o:re,d(a){a&&V(t)}}}function bl(e,t,n){let{text:r}=t,{additionalStyles:o=""}=t,{punctuation:s=""}=t,{href:i="#"}=t;return e.$$set=a=>{"text"in a&&n(0,r=a.text),"additionalStyles"in a&&n(1,o=a.additionalStyles),"punctuation"in a&&n(2,s=a.punctuation),"href"in a&&n(3,i=a.href)},[r,o,s,i]}class wt extends he{constructor(t){super(),ue(this,t,bl,vl,ce,{text:0,additionalStyles:1,punctuation:2,href:3},ml)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get additionalStyles(){return this.$$.ctx[1]}set additionalStyles(t){this.$$set({additionalStyles:t}),K()}get punctuation(){return this.$$.ctx[2]}set punctuation(t){this.$$set({punctuation:t}),K()}get href(){return this.$$.ctx[3]}set href(t){this.$$set({href:t}),K()}}fe(wt,{text:{},additionalStyles:{},punctuation:{},href:{}},[],[],!0);var ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yl=function(t){return _l(t)&&!xl(t)};function _l(e){return!!e&&typeof e=="object"}function xl(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||$l(e)}var wl=typeof Symbol=="function"&&Symbol.for,kl=wl?Symbol.for("react.element"):60103;function $l(e){return e.$$typeof===kl}function Tl(e){return Array.isArray(e)?[]:{}}function hn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Mt(Tl(e),e,t):e}function El(e,t,n){return e.concat(t).map(function(r){return hn(r,n)})}function Sl(e,t){if(!t.customMerge)return Mt;var n=t.customMerge(e);return typeof n=="function"?n:Mt}function Pl(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $o(e){return Object.keys(e).concat(Pl(e))}function oi(e,t){try{return t in e}catch{return!1}}function Al(e,t){return oi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Cl(e,t,n){var r={};return n.isMergeableObject(e)&&$o(e).forEach(function(o){r[o]=hn(e[o],n)}),$o(t).forEach(function(o){Al(e,o)||(oi(e,o)&&n.isMergeableObject(t[o])?r[o]=Sl(o,n)(e[o],t[o],n):r[o]=hn(t[o],n))}),r}function Mt(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||El,n.isMergeableObject=n.isMergeableObject||yl,n.cloneUnlessOtherwiseSpecified=hn;var r=Array.isArray(t),o=Array.isArray(e),s=r===o;return s?r?n.arrayMerge(e,t,n):Cl(e,t,n):hn(t,n)}Mt.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,o){return Mt(r,o,n)},{})};var Ll=Mt,jl=Ll;const Il=Ir(jl);var gr=function(e,t){return gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},gr(e,t)};function Jn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gr(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var xe=function(){return xe=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},xe.apply(this,arguments)};function Ol(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function sr(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var be;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(be||(be={}));var Pe;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Pe||(Pe={}));var Dt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Dt||(Dt={}));function To(e){return e.type===Pe.literal}function Bl(e){return e.type===Pe.argument}function si(e){return e.type===Pe.number}function ii(e){return e.type===Pe.date}function ai(e){return e.type===Pe.time}function li(e){return e.type===Pe.select}function ci(e){return e.type===Pe.plural}function Rl(e){return e.type===Pe.pound}function ui(e){return e.type===Pe.tag}function fi(e){return!!(e&&typeof e=="object"&&e.type===Dt.number)}function mr(e){return!!(e&&typeof e=="object"&&e.type===Dt.dateTime)}var hi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hl=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ml(e){var t={};return e.replace(Hl,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Dl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Nl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Dl).filter(function(p){return p.length>0}),n=[],r=0,o=t;r<o.length;r++){var s=o[r],i=s.split("/");if(i.length===0)throw new Error("Invalid number skeleton");for(var a=i[0],l=i.slice(1),c=0,u=l;c<u.length;c++){var f=u[c];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:l})}return n}function zl(e){return e.replace(/^(.*?)-/,"")}var Eo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pi=/^(@+)?(\+|#+)?[rs]?$/g,Fl=/(\*)(0+)|(#+)(0+)|(0+)/g,di=/^(0+)$/;function So(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(pi,function(n,r,o){return typeof o!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),t}function gi(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ul(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!di.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Po(e){var t={},n=gi(e);return n||t}function Vl(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=zl(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=xe(xe(xe({},t),{notation:"scientific"}),o.options.reduce(function(l,c){return xe(xe({},l),Po(c))},{}));continue;case"engineering":t=xe(xe(xe({},t),{notation:"engineering"}),o.options.reduce(function(l,c){return xe(xe({},l),Po(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Fl,function(l,c,u,f,p,m){if(c)t.minimumIntegerDigits=u.length;else{if(f&&p)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(di.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(Eo.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Eo,function(l,c,u,f,p,m){return u==="*"?t.minimumFractionDigits=c.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:p&&m?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+m.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var s=o.options[0];s==="w"?t=xe(xe({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=xe(xe({},t),So(s)));continue}if(pi.test(o.stem)){t=xe(xe({},t),So(o.stem));continue}var i=gi(o.stem);i&&(t=xe(xe({},t),i));var a=Ul(o.stem);a&&(t=xe(xe({},t),a))}return t}var En={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Gl(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var s=0;r+1<e.length&&e.charAt(r+1)===o;)s++,r++;var i=1+(s&1),a=s<2?1:3+(s>>1),l="a",c=ql(t);for((c=="H"||c=="k")&&(a=0);a-- >0;)n+=l;for(;i-- >0;)n=c+n}else o==="J"?n+="H":n+=o}return n}function ql(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=En[r||""]||En[n||""]||En["".concat(n,"-001")]||En["001"];return o[0]}var ir,Wl=new RegExp("^".concat(hi.source,"*")),Xl=new RegExp("".concat(hi.source,"*$"));function _e(e,t){return{start:e,end:t}}var Yl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Kl=!!String.fromCodePoint,Zl=!!Object.fromEntries,Jl=!!String.prototype.codePointAt,Ql=!!String.prototype.trimStart,ec=!!String.prototype.trimEnd,tc=!!Number.isSafeInteger,nc=tc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vr=!0;try{var rc=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");vr=((ir=rc.exec("a"))===null||ir===void 0?void 0:ir[0])==="a"}catch{vr=!1}var Ao=Yl?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},br=Kl?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",o=t.length,s=0,i;o>s;){if(i=t[s++],i>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return r},Co=Zl?Object.fromEntries:function(t){for(var n={},r=0,o=t;r<o.length;r++){var s=o[r],i=s[0],a=s[1];n[i]=a}return n},mi=Jl?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var o=t.charCodeAt(n),s;return o<55296||o>56319||n+1===r||(s=t.charCodeAt(n+1))<56320||s>57343?o:(o-55296<<10)+(s-56320)+65536}},oc=Ql?function(t){return t.trimStart()}:function(t){return t.replace(Wl,"")},sc=ec?function(t){return t.trimEnd()}:function(t){return t.replace(Xl,"")};function vi(e,t){return new RegExp(e,t)}var yr;if(vr){var Lo=vi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yr=function(t,n){var r;Lo.lastIndex=n;var o=Lo.exec(t);return(r=o[1])!==null&&r!==void 0?r:""}}else yr=function(t,n){for(var r=[];;){var o=mi(t,n);if(o===void 0||bi(o)||cc(o))break;r.push(o),n+=o>=65536?2:1}return br.apply(void 0,r)};var ic=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var s=this.char();if(s===123){var i=this.parseArgument(t,r);if(i.err)return i;o.push(i.val)}else{if(s===125&&t>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),o.push({type:Pe.pound,location:_e(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(be.UNMATCHED_CLOSING_TAG,_e(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&_r(this.peek()||0)){var i=this.parseTag(t,n);if(i.err)return i;o.push(i.val)}else{var i=this.parseLiteral(t,n);if(i.err)return i;o.push(i.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Pe.literal,value:"<".concat(o,"/>"),location:_e(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,n,!0);if(s.err)return s;var i=s.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!_r(this.char()))return this.error(be.INVALID_TAG,_e(a,this.clonePosition()));var l=this.clonePosition(),c=this.parseTagName();return o!==c?this.error(be.UNMATCHED_CLOSING_TAG,_e(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Pe.tag,value:o,children:i,location:_e(r,this.clonePosition())},err:null}:this.error(be.INVALID_TAG,_e(a,this.clonePosition())))}else return this.error(be.UNCLOSED_TAG,_e(r,this.clonePosition()))}else return this.error(be.INVALID_TAG,_e(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&lc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var s=this.tryParseQuote(n);if(s){o+=s;continue}var i=this.tryParseUnquoted(t,n);if(i){o+=i;continue}var a=this.tryParseLeftAngleBracket();if(a){o+=a;continue}break}var l=_e(r,this.clonePosition());return{val:{type:Pe.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ac(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return br.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),br(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(be.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(be.EMPTY_ARGUMENT,_e(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(be.MALFORMED_ARGUMENT,_e(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(be.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Pe.argument,value:o,location:_e(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(be.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(be.MALFORMED_ARGUMENT,_e(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=yr(this.message,n),o=n+r.length;this.bumpTo(o);var s=this.clonePosition(),i=_e(t,s);return{value:r,location:i}},e.prototype.parseArgumentOptions=function(t,n,r,o){var s,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(be.EXPECT_ARGUMENT_TYPE,_e(i,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var p=sc(f.val);if(p.length===0)return this.error(be.EXPECT_ARGUMENT_STYLE,_e(this.clonePosition(),this.clonePosition()));var m=_e(u,this.clonePosition());c={style:p,styleLocation:m}}var d=this.tryParseArgumentClose(o);if(d.err)return d;var y=_e(o,this.clonePosition());if(c&&Ao(c==null?void 0:c.style,"::",0)){var x=oc(c.style.slice(2));if(a==="number"){var f=this.parseNumberSkeletonFromString(x,c.styleLocation);return f.err?f:{val:{type:Pe.number,value:r,location:y,style:f.val},err:null}}else{if(x.length===0)return this.error(be.EXPECT_DATE_TIME_SKELETON,y);var v=x;this.locale&&(v=Gl(x,this.locale));var p={type:Dt.dateTime,pattern:v,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Ml(v):{}},w=a==="date"?Pe.date:Pe.time;return{val:{type:w,value:r,location:y,style:p},err:null}}}return{val:{type:a==="number"?Pe.number:a==="date"?Pe.date:Pe.time,value:r,location:y,style:(s=c==null?void 0:c.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var k=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(be.EXPECT_SELECT_ARGUMENT_OPTIONS,_e(k,xe({},k)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),L=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(be.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_e(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(be.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,be.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),E=this.parseIdentifierIfPossible(),L=f.val}var C=this.tryParsePluralOrSelectOptions(t,a,n,E);if(C.err)return C;var d=this.tryParseArgumentClose(o);if(d.err)return d;var I=_e(o,this.clonePosition());return a==="select"?{val:{type:Pe.select,value:r,options:Co(C.val),location:I},err:null}:{val:{type:Pe.plural,value:r,options:Co(C.val),offset:L,pluralType:a==="plural"?"cardinal":"ordinal",location:I},err:null}}default:return this.error(be.INVALID_ARGUMENT_TYPE,_e(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(be.EXPECT_ARGUMENT_CLOSING_BRACE,_e(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(be.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_e(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Nl(t)}catch{return this.error(be.INVALID_NUMBER_SKELETON,n)}return{val:{type:Dt.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Vl(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var s,i=!1,a=[],l=new Set,c=o.value,u=o.location;;){if(c.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(be.EXPECT_PLURAL_ARGUMENT_SELECTOR,be.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=_e(f,this.clonePosition()),c=this.message.slice(f.offset,this.offset())}else break}if(l.has(c))return this.error(n==="select"?be.DUPLICATE_SELECT_ARGUMENT_SELECTOR:be.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(i=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?be.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:be.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_e(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(t+1,n,r);if(d.err)return d;var y=this.tryParseArgumentClose(m);if(y.err)return y;a.push([c,{value:d.val,location:_e(m,this.clonePosition())}]),l.add(c),this.bumpSpace(),s=this.parseIdentifierIfPossible(),c=s.value,u=s.location}return a.length===0?this.error(n==="select"?be.EXPECT_SELECT_ARGUMENT_SELECTOR:be.EXPECT_PLURAL_ARGUMENT_SELECTOR,_e(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(be.MISSING_OTHER_CLAUSE,_e(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,i=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)s=!0,i=i*10+(a-48),this.bump();else break}var l=_e(o,this.clonePosition());return s?(i*=r,nc(i)?{val:i,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=mi(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ao(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&bi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function _r(e){return e>=97&&e<=122||e>=65&&e<=90}function ac(e){return _r(e)||e===47}function lc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function bi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function cc(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xr(e){e.forEach(function(t){if(delete t.location,li(t)||ci(t))for(var n in t.options)delete t.options[n].location,xr(t.options[n].value);else si(t)&&fi(t.style)||(ii(t)||ai(t))&&mr(t.style)?delete t.style.location:ui(t)&&xr(t.children)})}function uc(e,t){t===void 0&&(t={}),t=xe({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ic(e,t).parse();if(n.err){var r=SyntaxError(be[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xr(n.val),n.val}function ar(e,t){var n=t&&t.cache?t.cache:mc,r=t&&t.serializer?t.serializer:gc,o=t&&t.strategy?t.strategy:hc;return o(e,{cache:n,serializer:r})}function fc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function yi(e,t,n,r){var o=fc(r)?r:n(r),s=t.get(o);return typeof s>"u"&&(s=e.call(this,r),t.set(o,s)),s}function _i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),s=t.get(o);return typeof s>"u"&&(s=e.apply(this,r),t.set(o,s)),s}function Or(e,t,n,r,o){return n.bind(t,e,r,o)}function hc(e,t){var n=e.length===1?yi:_i;return Or(e,this,n,t.cache.create(),t.serializer)}function pc(e,t){return Or(e,this,_i,t.cache.create(),t.serializer)}function dc(e,t){return Or(e,this,yi,t.cache.create(),t.serializer)}var gc=function(){return JSON.stringify(arguments)};function Br(){this.cache=Object.create(null)}Br.prototype.get=function(e){return this.cache[e]};Br.prototype.set=function(e,t){this.cache[e]=t};var mc={create:function(){return new Br}},lr={variadic:pc,monadic:dc},Nt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Nt||(Nt={}));var Qn=function(e){Jn(t,e);function t(n,r,o){var s=e.call(this,n)||this;return s.code=r,s.originalMessage=o,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),jo=function(e){Jn(t,e);function t(n,r,o,s){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Nt.INVALID_VALUE,s)||this}return t}(Qn),vc=function(e){Jn(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Nt.INVALID_VALUE,o)||this}return t}(Qn),bc=function(e){Jn(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Nt.MISSING_VALUE,r)||this}return t}(Qn),ze;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ze||(ze={}));function yc(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ze.literal||n.type!==ze.literal?t.push(n):r.value+=n.value,t},[])}function _c(e){return typeof e=="function"}function Ln(e,t,n,r,o,s,i){if(e.length===1&&To(e[0]))return[{type:ze.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(To(u)){a.push({type:ze.literal,value:u.value});continue}if(Rl(u)){typeof s=="number"&&a.push({type:ze.literal,value:n.getNumberFormat(t).format(s)});continue}var f=u.value;if(!(o&&f in o))throw new bc(f,i);var p=o[f];if(Bl(u)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?ze.literal:ze.object,value:p});continue}if(ii(u)){var m=typeof u.style=="string"?r.date[u.style]:mr(u.style)?u.style.parsedOptions:void 0;a.push({type:ze.literal,value:n.getDateTimeFormat(t,m).format(p)});continue}if(ai(u)){var m=typeof u.style=="string"?r.time[u.style]:mr(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:ze.literal,value:n.getDateTimeFormat(t,m).format(p)});continue}if(si(u)){var m=typeof u.style=="string"?r.number[u.style]:fi(u.style)?u.style.parsedOptions:void 0;m&&m.scale&&(p=p*(m.scale||1)),a.push({type:ze.literal,value:n.getNumberFormat(t,m).format(p)});continue}if(ui(u)){var d=u.children,y=u.value,x=o[y];if(!_c(x))throw new vc(y,"function",i);var v=Ln(d,t,n,r,o,s),w=x(v.map(function(L){return L.value}));Array.isArray(w)||(w=[w]),a.push.apply(a,w.map(function(L){return{type:typeof L=="string"?ze.literal:ze.object,value:L}}))}if(li(u)){var k=u.options[p]||u.options.other;if(!k)throw new jo(u.value,p,Object.keys(u.options),i);a.push.apply(a,Ln(k.value,t,n,r,o));continue}if(ci(u)){var k=u.options["=".concat(p)];if(!k){if(!Intl.PluralRules)throw new Qn(`Intl.PluralRules is not available in this environment.
|
5
5
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
6
|
-
`,
|
6
|
+
`,Nt.MISSING_INTL_API,i);var E=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));k=u.options[E]||u.options.other}if(!k)throw new jo(u.value,p,Object.keys(u.options),i);a.push.apply(a,Ln(k.value,t,n,r,o,p-(u.offset||0)));continue}}return yc(a)}function xc(e,t){return t?xe(xe(xe({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=xe(xe({},e[r]),t[r]||{}),n},{})):e}function wc(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=xc(e[r],t[r]),n},xe({},e)):e}function cr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function kc(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ar(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,sr([void 0],n,!1)))},{cache:cr(e.number),strategy:lr.variadic}),getDateTimeFormat:ar(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,sr([void 0],n,!1)))},{cache:cr(e.dateTime),strategy:lr.variadic}),getPluralRules:ar(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,sr([void 0],n,!1)))},{cache:cr(e.pluralRules),strategy:lr.variadic})}}var xi=function(){function e(t,n,r,o){var s=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var c=s.formatToParts(l);if(c.length===1)return c[0].value;var u=c.reduce(function(f,p){return!f.length||p.type!==ze.literal||typeof f[f.length-1]!="string"?f.push(p.value):f[f.length-1]+=p.value,f},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return Ln(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var i=o||{};i.formatters;var a=Ol(i,["formatters"]);this.ast=e.__parse(t,xe(xe({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=wc(e.formats,r),this.formatters=o&&o.formatters||kc(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=uc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function $c(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let o=0;o<n.length;o++)if(typeof r=="object"){if(o>0){const s=n.slice(o,n.length).join(".");if(s in r){r=r[s];break}}r=r[n[o]]}else r=void 0;return r}const mt={},Tc=(e,t,n)=>n&&(t in mt||(mt[t]={}),e in mt[t]||(mt[t][e]=n),n),wi=(e,t)=>{if(t==null)return;if(t in mt&&e in mt[t])return mt[t][e];const n=dn(t);for(let r=0;r<n.length;r++){const o=n[r],s=Sc(o,e);if(s)return Tc(e,t,s)}};let Rr;const Vt=lt({});function Ec(e){return Rr[e]||null}function Hr(e){return e in Rr}function Sc(e,t){if(!Hr(e))return null;const n=Ec(e);return $c(n,t)}function Pc(e){if(e==null)return;const t=dn(e);for(let n=0;n<t.length;n++){const r=t[n];if(Hr(r))return r}}function Ac(e,...t){delete mt[e],Vt.update(n=>(n[e]=Il.all([n[e]||{},...t]),n))}ct([Vt],([e])=>Object.keys(e));Vt.subscribe(e=>Rr=e);const sn={};function Cc(e){sn[e]=new Set}function Lc(e,t){sn[e].delete(t),sn[e].size===0&&delete sn[e]}function an(e){return sn[e]}function jc(e){return dn(e).map(t=>{const n=an(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Gn(e){return e==null?!1:dn(e).some(t=>{var n;return(n=an(t))==null?void 0:n.size})}function Ic(e,t){return Promise.all(t.map(r=>(Lc(e,r),r().then(o=>o.default||o)))).then(r=>Ac(e,...r))}const Jt={};function ki(e){if(!Gn(e))return e in Jt?Jt[e]:Promise.resolve();const t=jc(e);return Jt[e]=Promise.all(t.map(([n,r])=>Ic(n,r))).then(()=>{if(Gn(e))return ki(e);delete Jt[e]}),Jt[e]}function Io(e,t){an(e)||Cc(e);const n=an(e);an(e).has(t)||(Hr(e)||Vt.update(r=>(r[e]={},r)),n.add(t))}var Oo=Object.getOwnPropertySymbols,Oc=Object.prototype.hasOwnProperty,Bc=Object.prototype.propertyIsEnumerable,Rc=(e,t)=>{var n={};for(var r in e)Oc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Oo)for(var r of Oo(e))t.indexOf(r)<0&&Bc.call(e,r)&&(n[r]=e[r]);return n};const Hc={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function Mc({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${dn(e).join('", "')}".${Gn(yt())?`
|
7
7
|
|
8
|
-
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Ku={fallbackLocale:null,loadingDelay:200,formats:Xu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Gt=Ku;function Rt(){return Gt}function Zu(e){const t=e,{formats:n}=t,r=Wu(t,["formats"]);let s=e.fallbackLocale;if(e.initialLocale)try{Ii.resolveLocale(e.initialLocale)&&(s=e.initialLocale)}catch{console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Yu:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Gt,r,{initialLocale:s}),n&&("number"in n&&Object.assign(Gt.formats.number,n.number),"date"in n&&Object.assign(Gt.formats.date,n.date),"time"in n&&Object.assign(Gt.formats.time,n.time)),zt.set(s)}const Cn=Ke(!1);var Ju=Object.defineProperty,Qu=Object.defineProperties,ef=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,tf=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable,to=(e,t,n)=>t in e?Ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rf=(e,t)=>{for(var n in t||(t={}))tf.call(t,n)&&to(e,n,t[n]);if(eo)for(var n of eo(t))nf.call(t,n)&&to(e,n,t[n]);return e},sf=(e,t)=>Qu(e,ef(t));let vr;const Fn=Ke(null);function no(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function an(e,t=Rt().fallbackLocale){const n=no(e);return t?[...new Set([...n,...no(t)])]:n}function ct(){return vr??void 0}Fn.subscribe(e=>{vr=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const of=e=>{if(e&&Du(e)&&Nn(e)){const{loadingDelay:t}=Rt();let n;return typeof window<"u"&&ct()!=null&&t?n=window.setTimeout(()=>Cn.set(!0),t):Cn.set(!0),Oi(e).then(()=>{Fn.set(e)}).finally(()=>{clearTimeout(n),Cn.set(!1)})}return Fn.set(e)},zt=sf(rf({},Fn),{set:of}),Kn=e=>{const t=Object.create(null);return r=>{const s=JSON.stringify(r);return s in t?t[s]:t[s]=e(r)}};var af=Object.defineProperty,Un=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,ro=(e,t,n)=>t in e?af(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lr=(e,t)=>{for(var n in t||(t={}))Bi.call(t,n)&&ro(e,n,t[n]);if(Un)for(var n of Un(t))Ri.call(t,n)&&ro(e,n,t[n]);return e},Nt=(e,t)=>{var n={};for(var r in e)Bi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Un)for(var r of Un(e))t.indexOf(r)<0&&Ri.call(e,r)&&(n[r]=e[r]);return n};const sn=(e,t)=>{const{formats:n}=Rt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lf=Kn(e=>{var t=e,{locale:n,format:r}=t,s=Nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(s=sn("number",r)),new Intl.NumberFormat(n,s)}),cf=Kn(e=>{var t=e,{locale:n,format:r}=t,s=Nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?s=sn("date",r):Object.keys(s).length===0&&(s=sn("date","short")),new Intl.DateTimeFormat(n,s)}),uf=Kn(e=>{var t=e,{locale:n,format:r}=t,s=Nt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?s=sn("time",r):Object.keys(s).length===0&&(s=sn("time","short")),new Intl.DateTimeFormat(n,s)}),ff=(e={})=>{var t=e,{locale:n=ct()}=t,r=Nt(t,["locale"]);return lf(Lr({locale:n},r))},hf=(e={})=>{var t=e,{locale:n=ct()}=t,r=Nt(t,["locale"]);return cf(Lr({locale:n},r))},df=(e={})=>{var t=e,{locale:n=ct()}=t,r=Nt(t,["locale"]);return uf(Lr({locale:n},r))},pf=Kn((e,t=ct())=>new Ii(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag})),gf=(e,t={})=>{var n,r,s,o;let i=t;typeof e=="object"&&(i=e,e=i.id);const{values:l,locale:a=ct(),default:u}=i;if(a==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Li(e,a);if(!c)c=(o=(s=(r=(n=Rt()).handleMissingMessage)==null?void 0:r.call(n,{locale:a,id:e,defaultValue:u}))!=null?s:u)!=null?o:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let f=c;try{f=pf(c,a).format(l)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return f},mf=(e,t)=>df(t).format(e),vf=(e,t)=>hf(t).format(e),bf=(e,t)=>ff(t).format(e),yf=(e,t=ct())=>Li(e,t),Hi=Ze([zt,Dt],()=>gf);Ze([zt],()=>mf);Ze([zt],()=>vf);Ze([zt],()=>bf);Ze([zt,Dt],()=>yf);function xf(e){fe(e,"svelte-78otzh",".section-top.svelte-78otzh{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.mid-section.svelte-78otzh{display:flex;flex-direction:column;gap:24px;margin-bottom:12px}.widgets-wrapper.svelte-78otzh{display:flex;flex-direction:column;align-items:flex-start;padding:16px 20px;margin-bottom:12px;border-radius:6px;background-color:var(--background-color-grey-secondary)}p.svelte-78otzh{display:inline;margin:0;color:var(--texts-icons-primary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px}@media(min-width: 768px){.section-top.svelte-78otzh{flex-direction:row}}")}function so(e,t,n){const r=e.slice();return r[9]=t[n],r[11]=n,r}function _f(e){let t,n;return t=new le({props:{additionalStyles:"padding: 0 10px 4px 10px; margin: -3px 0 7px 0",text:"you might have already noticed on the Customer Portal configuration screens, there are other more advanced options, like customizing the HTML and CSS or adding your own tracking scripts to the Customer Portal itself."}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function oo(e){let t,n,r,s=e[11]===2&&_f();function o(){return e[6](e[9])}return n=new qe({props:{heading:e[9].heading,text:e[9].text,iconSrc:e[9].iconPath,cardPadding:"14px 16px",buttonAction:o,buttonText:(e[9].completed?e[9].buttonTextCompleted:e[9].buttonTextUncompleted)??e[2]("Manage"),buttonReversed:e[9].completed}}),{c(){s&&s.c(),t=k(),O(n.$$.fragment)},m(i,l){s&&s.m(i,l),U(i,t,l),I(n,i,l),r=!0},p(i,l){e=i;const a={};l&1&&(a.heading=e[9].heading),l&1&&(a.text=e[9].text),l&1&&(a.iconSrc=e[9].iconPath),l&1&&(a.buttonAction=o),l&5&&(a.buttonText=(e[9].completed?e[9].buttonTextCompleted:e[9].buttonTextUncompleted)??e[2]("Manage")),l&1&&(a.buttonReversed=e[9].completed),n.$set(a)},i(i){r||($(s),$(n.$$.fragment,i),r=!0)},o(i){S(s),S(n.$$.fragment,i),r=!1},d(i){i&&F(t),s&&s.d(i),L(n,i)}}}function wf(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H;r=new _e({props:{text:"Configure Customer Portal"}}),o=new le({props:{text:"As the final step, let's talk about the Customer Portal, a platform where your customers can reach out, get information, and solve their problems independently. A well-maintained knowledge base can significantly reduce the load on your agents and improve customer satisfaction."}}),p=new ht({props:{text:"support.liveagent.com",href:"http://support.liveagent.com/"}}),_=new ht({props:{text:e[4],href:e[4]}});let ee=me(e[0]),q=[];for(let E=0;E<ee.length;E+=1)q[E]=oo(so(e,ee,E));const M=E=>S(q[E],1,1,()=>{q[E]=null});return D=new ht({props:{text:e[4],href:e[4]}}),{c(){t=x("section"),n=x("div"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),l=x("img"),u=k(),c=x("section"),f=x("p"),h=te(`With LiveAgent, you can fully customize your Customer Portal design according to your brand's theme and preferences. As an example or inspiration, feel free to check our LiveAgent knowledge base available at
|
9
|
-
`),
|
10
|
-
, which is built only by this feature alone.`),m=k(),w=x("p"),y=te("And now let's have a look at your own Customer Portal here: "),O(_.$$.fragment),P=te(" It might take some time until it’s also nice and shiny but don’t worry, you will get there eventually."),A=k(),C=x("section");for(let E=0;E<q.length;E+=1)q[E].c();B=k(),G=x("p"),R=te("Once enabled, head back to your customer portal "),O(D.$$.fragment),Y=te(' and see what you achieved. Well done! 👍"'),ce(l.src,a="public/assets/images/configure_customer_portal.svg")||g(l,"src",a),g(l,"alt","Customer support portal"),g(t,"class","section-top svelte-78otzh"),g(f,"class","svelte-78otzh"),g(w,"class","svelte-78otzh"),g(c,"class","mid-section svelte-78otzh"),g(C,"class","widgets-wrapper svelte-78otzh"),g(G,"class","svelte-78otzh")},m(E,T){U(E,t,T),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(t,i),d(t,l),U(E,u,T),U(E,c,T),d(c,f),d(f,h),I(p,f,null),d(f,b),d(c,m),d(c,w),d(w,y),I(_,w,null),d(w,P),U(E,A,T),U(E,C,T);for(let j=0;j<q.length;j+=1)q[j]&&q[j].m(C,null);U(E,B,T),U(E,G,T),d(G,R),I(D,G,null),d(G,Y),H=!0},p(E,T){if(T&37){ee=me(E[0]);let j;for(j=0;j<ee.length;j+=1){const z=so(E,ee,j);q[j]?(q[j].p(z,T),$(q[j],1)):(q[j]=oo(z),q[j].c(),$(q[j],1),q[j].m(C,null))}for(Ce(),j=ee.length;j<q.length;j+=1)M(j);Ae()}},i(E){if(!H){$(r.$$.fragment,E),$(o.$$.fragment,E),$(p.$$.fragment,E),$(_.$$.fragment,E);for(let T=0;T<ee.length;T+=1)$(q[T]);$(D.$$.fragment,E),H=!0}},o(E){S(r.$$.fragment,E),S(o.$$.fragment,E),S(p.$$.fragment,E),S(_.$$.fragment,E),q=q.filter(Boolean);for(let T=0;T<q.length;T+=1)S(q[T]);S(D.$$.fragment,E),H=!1},d(E){E&&(F(t),F(u),F(c),F(A),F(C),F(B),F(G)),L(r),L(o),L(p),L(_),He(q,E),L(D)}}}function $f(e){let t,n,r;function s(i){e[7](i)}let o={headerTitle:"Configure customer portal",headerIconPath:e[3]+"setup-customer-portal.svg",nextStepCase:"last",nextStepUnfinishedText:"Keep up the pace! Create your knowledgebase to finalize this step.",nextStepFinishedText:"Congratulations! You've reached the end.",path:"/configure-customer-portal",$$slots:{default:[wf]},$$scope:{ctx:e}};return e[1]!==void 0&&(o.stepFinished=e[1]),t=new Ue({props:o}),De.push(()=>Ye(t,"stepFinished",s)),{c(){O(t.$$.fragment)},m(i,l){I(t,i,l),r=!0},p(i,[l]){const a={};l&4101&&(a.$$scope={dirty:l,ctx:i}),!n&&l&2&&(n=!0,a.stepFinished=i[1],Xe(()=>n=!1)),t.$set(a)},i(i){r||($(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){L(t,i)}}}function kf(e,t,n){let r,s,o;pe(e,Se,h=>n(8,s=h)),pe(e,Hi,h=>n(2,o=h));const i=Ee("iconBasePath"),l=window.location.origin;let a=[{id:"theme",heading:"Choose theme",text:"Let’s start by choosing a customer portal theme. There are a few options to choose from. You can use the “Preview” button to check them out first.",iconPath:`${i}brush.svg`,buttonAction:Gl,completed:!1,buttonTextCompleted:"Change theme",buttonTextUncompleted:"Change theme",redirectPath:"Themes"},{id:"colors",heading:"Personalize Customer Portal",text:"You can also easily customize the color scheme of your customer portal.",iconPath:`${i}palette.svg`,buttonAction:ql,completed:!1,buttonTextCompleted:"Change colors",buttonTextUncompleted:"Change colors",redirectPath:"Colors"},{id:"article",heading:"Create your first article",text:"Another thing to note is how easy it is to create your own knowledge base articles for your customer portal visitors.",iconPath:`${i}edit.svg`,buttonAction:Wl,completed:!1,buttonTextCompleted:"Create article",buttonTextUncompleted:"Create article",redirectPath:"Article"},{id:"kb",heading:"Make your Knowledgebase public",text:"The last step is to enable the knowledgebase to make your articles visible on your customer portal.",iconPath:`${i}show.svg`,buttonAction:Xl,completed:!1,buttonTextCompleted:"Enable knowledgebase",buttonTextUncompleted:"Manage knowledgebase",redirectPath:"Knowledge-base"}];ze(async()=>{var h;n(1,r=((h=s[8])==null?void 0:h.state)==="c"),r?n(0,a=a.map(p=>({...p,completed:!0}))):n(0,a=await Promise.all(a.map(async p=>{const b=await p.buttonAction();return{...p,completed:b.completionStatus}})))});async function u(h){const p=a.findIndex(b=>b.id===h);if(p!==-1){const b=await a[p].buttonAction(!0);n(0,a[p].completed=b.completionStatus,a),n(0,a=[...a]),window.location.hash=a[p].redirectPath}}const c=h=>u(h.id);function f(h){r=h,n(1,r),n(0,a)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,r=a.every(h=>h.completed))},[a,r,o,i,l,u,c,f]}class Mi extends ae{constructor(t){super(),oe(this,t,kf,$f,ne,{},xf)}}ie(Mi,{},[],[],!0);function Ef(e){fe(e,"svelte-sacclk",".key.svelte-sacclk{display:flex;align-items:center;justify-content:center;height:24px;padding:2px 6px;gap:4px;color:var(--text-color-primary);background-color:var(--background-color-grey-local);border-bottom:1px solid var(--text-color-primary);border-radius:6px;overflow:hidden;white-space:nowrap}.tooltip.svelte-sacclk{color:var(--text-color-blue-primary)}")}function io(e){let t,n;return{c(){t=x("img"),g(t,"class","icon"),ce(t.src,n=e[1])||g(t,"src",n),g(t,"alt","Icon")},m(r,s){U(r,t,s)},p(r,s){s&2&&!ce(t.src,n=r[1])&&g(t,"src",n)},d(r){r&&F(t)}}}function ao(e){let t,n,r;return{c(){t=x("span"),n=te(e[0]),g(t,"class",r=Ln(e[2]?"tooltip":"")+" svelte-sacclk")},m(s,o){U(s,t,o),d(t,n)},p(s,o){o&1&&ge(n,s[0]),o&4&&r!==(r=Ln(s[2]?"tooltip":"")+" svelte-sacclk")&&g(t,"class",r)},d(s){s&&F(t)}}}function Tf(e){let t,n,r=e[1]&&io(e),s=e[0]&&ao(e);return{c(){t=x("div"),r&&r.c(),n=k(),s&&s.c(),g(t,"class","key svelte-sacclk"),X(t,"--background-color-grey-local",e[3].systemTags.greyEmpty)},m(o,i){U(o,t,i),r&&r.m(t,null),d(t,n),s&&s.m(t,null)},p(o,[i]){o[1]?r?r.p(o,i):(r=io(o),r.c(),r.m(t,n)):r&&(r.d(1),r=null),o[0]?s?s.p(o,i):(s=ao(o),s.c(),s.m(t,null)):s&&(s.d(1),s=null),i&8&&X(t,"--background-color-grey-local",o[3].systemTags.greyEmpty)},i:Q,o:Q,d(o){o&&F(t),r&&r.d(),s&&s.d()}}}function Sf(e,t,n){let r;pe(e,Je,l=>n(3,r=l));let{text:s=""}=t,{iconPath:o=""}=t,{isTooltip:i=!1}=t;return e.$$set=l=>{"text"in l&&n(0,s=l.text),"iconPath"in l&&n(1,o=l.iconPath),"isTooltip"in l&&n(2,i=l.isTooltip)},[s,o,i,r]}class Di extends ae{constructor(t){super(),oe(this,t,Sf,Tf,ne,{text:0,iconPath:1,isTooltip:2},Ef)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get iconPath(){return this.$$.ctx[1]}set iconPath(t){this.$$set({iconPath:t}),W()}get isTooltip(){return this.$$.ctx[2]}set isTooltip(t){this.$$set({isTooltip:t}),W()}}ie(Di,{text:{},iconPath:{},isTooltip:{type:"Boolean"}},[],[],!0);function Pf(e){fe(e,"svelte-12t4ywa",".keys.svelte-12t4ywa{display:flex;align-items:center;justify-content:center;gap:4px}.plus.svelte-12t4ywa{color:var(--text-color-primary);font-family:'Roboto';font-size:13px}.tooltip.svelte-12t4ywa{color:var(--text-color-blue-primary)}")}function lo(e,t,n){const r=e.slice();return r[2]=t[n],r[4]=n,r}function co(e){let t,n,r;return{c(){t=x("span"),n=te("+"),g(t,"class",r="plus "+(e[1]?"tooltip":"")+" svelte-12t4ywa")},m(s,o){U(s,t,o),d(t,n)},p(s,o){o&2&&r!==(r="plus "+(s[1]?"tooltip":"")+" svelte-12t4ywa")&&g(t,"class",r)},d(s){s&&F(t)}}}function uo(e){let t,n,r,s;t=new Di({props:{text:e[2].text,iconPath:e[2].iconPath,isTooltip:e[1]}});let o=e[4]<e[0].length-1&&co(e);return{c(){O(t.$$.fragment),n=k(),o&&o.c(),r=Ht()},m(i,l){I(t,i,l),U(i,n,l),o&&o.m(i,l),U(i,r,l),s=!0},p(i,l){const a={};l&1&&(a.text=i[2].text),l&1&&(a.iconPath=i[2].iconPath),l&2&&(a.isTooltip=i[1]),t.$set(a),i[4]<i[0].length-1?o?o.p(i,l):(o=co(i),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},i(i){s||($(t.$$.fragment,i),s=!0)},o(i){S(t.$$.fragment,i),s=!1},d(i){i&&(F(n),F(r)),L(t,i),o&&o.d(i)}}}function Cf(e){let t,n,r=me(e[0]),s=[];for(let i=0;i<r.length;i+=1)s[i]=uo(lo(e,r,i));const o=i=>S(s[i],1,1,()=>{s[i]=null});return{c(){t=x("div");for(let i=0;i<s.length;i+=1)s[i].c();g(t,"class","keys svelte-12t4ywa")},m(i,l){U(i,t,l);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(t,null);n=!0},p(i,[l]){if(l&3){r=me(i[0]);let a;for(a=0;a<r.length;a+=1){const u=lo(i,r,a);s[a]?(s[a].p(u,l),$(s[a],1)):(s[a]=uo(u),s[a].c(),$(s[a],1),s[a].m(t,null))}for(Ce(),a=r.length;a<s.length;a+=1)o(a);Ae()}},i(i){if(!n){for(let l=0;l<r.length;l+=1)$(s[l]);n=!0}},o(i){s=s.filter(Boolean);for(let l=0;l<s.length;l+=1)S(s[l]);n=!1},d(i){i&&F(t),He(s,i)}}}function Af(e,t,n){let{keys:r}=t,{isTooltip:s=!1}=t;return e.$$set=o=>{"keys"in o&&n(0,r=o.keys),"isTooltip"in o&&n(1,s=o.isTooltip)},[r,s]}class Zn extends ae{constructor(t){super(),oe(this,t,Af,Cf,ne,{keys:0,isTooltip:1},Pf)}get keys(){return this.$$.ctx[0]}set keys(t){this.$$set({keys:t}),W()}get isTooltip(){return this.$$.ctx[1]}set isTooltip(t){this.$$set({isTooltip:t}),W()}}ie(Zn,{keys:{},isTooltip:{type:"Boolean"}},[],[],!0);function jf(e){fe(e,"svelte-sjusez",".tooltip.svelte-sjusez{position:absolute;display:flex;padding-left:10px;flex-direction:column;align-items:center;gap:4px;background-color:var(--background-color-blue-primary);border-radius:6px;box-shadow:0 8px 24px 0 rgba(30, 34, 39, 0.10), 0 1px 3px 0 rgba(30, 34, 39, 0.12)}.heading.svelte-sjusez{padding:2px 10px 2px 0;border-bottom:1px solid var(--border-color-secondary)}.text.svelte-sjusez{color:var(--text-color-infoPanel);text-align:center;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.shortcuts.svelte-sjusez{display:flex;flex-flow:wrap column;align-items:flex-start;justify-content:center;gap:10px;padding:8px 10px 8px 0}.first-row.svelte-sjusez{display:flex;align-items:center;justify-content:space-between;gap:10px}.or.svelte-sjusez{color:var(--text-color-primary);font-size:12px;font-weight:700}.hide.svelte-sjusez{display:none}.nextTab.svelte-sjusez{top:55px;left:110px}.closeTab.svelte-sjusez{top:55px;left:250px}.answer.svelte-sjusez{display:none}.send.svelte-sjusez{top:530px;left:40px}.canned.svelte-sjusez{top:450px;left:200px}.predefined.svelte-sjusez{display:none}@media(min-width: 768px){.nextTab.svelte-sjusez{top:55px;left:175px}.closeTab.svelte-sjusez{top:55px;left:320px}.answer.svelte-sjusez{display:flex;top:55px;left:850px}.send.svelte-sjusez{top:530px;left:80px}.canned.svelte-sjusez{top:450px;left:200px}.predefined.svelte-sjusez{display:flex;top:530px;left:350px}}")}function fo(e){let t,n;return t=new Zn({props:{keys:e[3],isTooltip:!0}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p(r,s){const o={};s&8&&(o.keys=r[3]),t.$set(o)},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function If(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m;a=new Zn({props:{keys:e[2],isTooltip:!0}});let w=e[3].length>0&&fo(e);return{c(){t=x("div"),n=x("div"),r=x("span"),s=te(e[1]),o=k(),i=x("div"),l=x("div"),O(a.$$.fragment),u=k(),c=x("span"),f=te("or"),p=k(),w&&w.c(),g(r,"class","text svelte-sjusez"),g(n,"class","heading svelte-sjusez"),g(c,"class",h="or "+(e[3].length>0?"":"hide")+" svelte-sjusez"),g(l,"class","first-row svelte-sjusez"),g(i,"class","shortcuts svelte-sjusez"),g(t,"class",b="tooltip "+e[0]+" svelte-sjusez"),X(t,"--background-color-blue-local",e[4].events.blue.surfaceSecondary)},m(y,_){U(y,t,_),d(t,n),d(n,r),d(r,s),d(t,o),d(t,i),d(i,l),I(a,l,null),d(l,u),d(l,c),d(c,f),d(i,p),w&&w.m(i,null),m=!0},p(y,[_]){(!m||_&2)&&ge(s,y[1]);const P={};_&4&&(P.keys=y[2]),a.$set(P),(!m||_&8&&h!==(h="or "+(y[3].length>0?"":"hide")+" svelte-sjusez"))&&g(c,"class",h),y[3].length>0?w?(w.p(y,_),_&8&&$(w,1)):(w=fo(y),w.c(),$(w,1),w.m(i,null)):w&&(Ce(),S(w,1,1,()=>{w=null}),Ae()),(!m||_&1&&b!==(b="tooltip "+y[0]+" svelte-sjusez"))&&g(t,"class",b),(!m||_&16)&&X(t,"--background-color-blue-local",y[4].events.blue.surfaceSecondary)},i(y){m||($(a.$$.fragment,y),$(w),m=!0)},o(y){S(a.$$.fragment,y),S(w),m=!1},d(y){y&&F(t),L(a),w&&w.d()}}}function Lf(e,t,n){let r;pe(e,Je,a=>n(4,r=a));let{className:s}=t,{text:o}=t,{shortcut:i}=t,{shortcutAlt:l=[]}=t;return e.$$set=a=>{"className"in a&&n(0,s=a.className),"text"in a&&n(1,o=a.text),"shortcut"in a&&n(2,i=a.shortcut),"shortcutAlt"in a&&n(3,l=a.shortcutAlt)},[s,o,i,l,r]}class zi extends ae{constructor(t){super(),oe(this,t,Lf,If,ne,{className:0,text:1,shortcut:2,shortcutAlt:3},jf)}get className(){return this.$$.ctx[0]}set className(t){this.$$set({className:t}),W()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),W()}get shortcut(){return this.$$.ctx[2]}set shortcut(t){this.$$set({shortcut:t}),W()}get shortcutAlt(){return this.$$.ctx[3]}set shortcutAlt(t){this.$$set({shortcutAlt:t}),W()}}ie(zi,{className:{},text:{},shortcut:{},shortcutAlt:{}},[],[],!0);function Of(e){fe(e,"svelte-ztx773","article.svelte-ztx773{display:flex;flex-direction:column;flex-grow:1;width:100%;height:100%;container-type:inline-size}.header.svelte-ztx773{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px;border-bottom:1px solid var(--border-color-primary)}")}function Bf(e){let t,n,r,s,o,i,l;r=new _e({props:{text:e[0]}}),o=new le({props:{text:e[1]}});const a=e[3].default,u=Vn(a,e,e[2],null);return{c(){t=x("article"),n=x("div"),O(r.$$.fragment),s=k(),O(o.$$.fragment),i=k(),u&&u.c(),g(n,"class","header svelte-ztx773"),g(t,"class","svelte-ztx773")},m(c,f){U(c,t,f),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(t,i),u&&u.m(t,null),l=!0},p(c,[f]){const h={};f&1&&(h.text=c[0]),r.$set(h);const p={};f&2&&(p.text=c[1]),o.$set(p),u&&u.p&&(!l||f&4)&&qn(u,a,c,c[2],l?Gn(a,c[2],f,null):Wn(c[2]),null)},i(c){l||($(r.$$.fragment,c),$(o.$$.fragment,c),$(u,c),l=!0)},o(c){S(r.$$.fragment,c),S(o.$$.fragment,c),S(u,c),l=!1},d(c){c&&F(t),L(r),L(o),u&&u.d(c)}}}function Rf(e,t,n){let{$$slots:r={},$$scope:s}=t,{headingText:o}=t,{paragraphText:i}=t;return e.$$set=l=>{"headingText"in l&&n(0,o=l.headingText),"paragraphText"in l&&n(1,i=l.paragraphText),"$$scope"in l&&n(2,s=l.$$scope)},[o,i,s,r]}class Jn extends ae{constructor(t){super(),oe(this,t,Rf,Bf,ne,{headingText:0,paragraphText:1},Of)}get headingText(){return this.$$.ctx[0]}set headingText(t){this.$$set({headingText:t}),W()}get paragraphText(){return this.$$.ctx[1]}set paragraphText(t){this.$$set({paragraphText:t}),W()}}ie(Jn,{headingText:{},paragraphText:{}},["default"],[],!0);function Hf(e){fe(e,"svelte-1qtgq7r",'.row.svelte-1qtgq7r.svelte-1qtgq7r{display:flex;align-items:center;justify-content:space-between;padding:6px 20px;border-bottom:1px solid var(--border-color-primary)}.content.svelte-1qtgq7r.svelte-1qtgq7r{display:block;height:calc(100% - 100px);width:100%;padding:14px 24px 24px 24px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box}.shortcuts.svelte-1qtgq7r.svelte-1qtgq7r{display:flex;flex-direction:column;flex-shrink:0;align-self:flex-start;width:100%;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px}aside.svelte-1qtgq7r.svelte-1qtgq7r{display:flex;flex-direction:column;flex:1 0 0;align-items:flex-start;width:100%;gap:40px}.reply.svelte-1qtgq7r.svelte-1qtgq7r{position:relative;display:flex;background-image:url("public/assets/images/reply_background.svg");background-repeat:no-repeat;width:100%;margin-left:-24px;min-height:620px}.info-panel.svelte-1qtgq7r.svelte-1qtgq7r{display:none}.mobile.svelte-1qtgq7r.svelte-1qtgq7r{display:block;padding:16px 12px;margin-bottom:10px;background-color:var(--background-color-blue-primary);border:1px solid var(--border-color-infoPanel);border-radius:6px}.info-panel.svelte-1qtgq7r span.svelte-1qtgq7r{color:var(--text-color-infoPanel);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}@media(min-width: 1200px){.content.svelte-1qtgq7r.svelte-1qtgq7r{display:flex;align-items:flex-start;justify-content:center;height:100%;padding:0}.shortcuts.svelte-1qtgq7r.svelte-1qtgq7r{flex:1;height:100%;max-width:500px;border-right:1px solid var(--border-color-primary);border-radius:0}.info-panel.svelte-1qtgq7r.svelte-1qtgq7r{display:block;width:95%;padding:16px 12px;border:1px solid var(--border-color-infoPanel);border-radius:6px;background-color:var(--background-color-blue-primary)}.mobile.svelte-1qtgq7r.svelte-1qtgq7r{display:none}aside.svelte-1qtgq7r.svelte-1qtgq7r{padding:20px}.reply.svelte-1qtgq7r.svelte-1qtgq7r{margin:0;height:100%}}')}function ho(e,t,n){const r=e.slice();return r[5]=t[n],r}function po(e,t,n){const r=e.slice();return r[8]=t[n],r}function go(e){let t,n,r,s,o,i;return n=new le({props:{text:e[8].text}}),s=new Zn({props:{keys:e[8].shortcutKeys}}),{c(){t=x("div"),O(n.$$.fragment),r=k(),O(s.$$.fragment),o=k(),g(t,"class","row svelte-1qtgq7r")},m(l,a){U(l,t,a),I(n,t,null),d(t,r),I(s,t,null),d(t,o),i=!0},p:Q,i(l){i||($(n.$$.fragment,l),$(s.$$.fragment,l),i=!0)},o(l){S(n.$$.fragment,l),S(s.$$.fragment,l),i=!1},d(l){l&&F(t),L(n),L(s)}}}function mo(e){let t,n;return t=new zi({props:{className:e[5].className,text:e[5].text,shortcut:e[5].shortcut,shortcutAlt:e[5].shortcutAlt}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p:Q,i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function Mf(e){let t,n,r,s,o,i,l,a,u,c,f=me(e[0]),h=[];for(let y=0;y<f.length;y+=1)h[y]=go(po(e,f,y));const p=y=>S(h[y],1,1,()=>{h[y]=null});let b=me(e[1]),m=[];for(let y=0;y<b.length;y+=1)m[y]=mo(ho(e,b,y));const w=y=>S(m[y],1,1,()=>{m[y]=null});return{c(){t=x("div"),n=x("div"),n.innerHTML='<span class="svelte-1qtgq7r">When you hover over certain elements, a tooltip will be displayed if a shortcut is available.</span>',r=k(),s=x("div");for(let y=0;y<h.length;y+=1)h[y].c();o=k(),i=x("aside"),l=x("div"),l.innerHTML='<span class="svelte-1qtgq7r">When you hover over certain elements, a tooltip will be displayed if a shortcut is available.</span>',a=k(),u=x("div");for(let y=0;y<m.length;y+=1)m[y].c();g(n,"class","info-panel mobile svelte-1qtgq7r"),g(s,"class","shortcuts svelte-1qtgq7r"),g(l,"class","info-panel svelte-1qtgq7r"),g(u,"class","reply svelte-1qtgq7r"),g(i,"class","svelte-1qtgq7r"),g(t,"class","content svelte-1qtgq7r")},m(y,_){U(y,t,_),d(t,n),d(t,r),d(t,s);for(let P=0;P<h.length;P+=1)h[P]&&h[P].m(s,null);d(t,o),d(t,i),d(i,l),d(i,a),d(i,u);for(let P=0;P<m.length;P+=1)m[P]&&m[P].m(u,null);c=!0},p(y,_){if(_&1){f=me(y[0]);let P;for(P=0;P<f.length;P+=1){const A=po(y,f,P);h[P]?(h[P].p(A,_),$(h[P],1)):(h[P]=go(A),h[P].c(),$(h[P],1),h[P].m(s,null))}for(Ce(),P=f.length;P<h.length;P+=1)p(P);Ae()}if(_&2){b=me(y[1]);let P;for(P=0;P<b.length;P+=1){const A=ho(y,b,P);m[P]?(m[P].p(A,_),$(m[P],1)):(m[P]=mo(A),m[P].c(),$(m[P],1),m[P].m(u,null))}for(Ce(),P=b.length;P<m.length;P+=1)w(P);Ae()}},i(y){if(!c){for(let _=0;_<f.length;_+=1)$(h[_]);for(let _=0;_<b.length;_+=1)$(m[_]);c=!0}},o(y){h=h.filter(Boolean);for(let _=0;_<h.length;_+=1)S(h[_]);m=m.filter(Boolean);for(let _=0;_<m.length;_+=1)S(m[_]);c=!1},d(y){y&&F(t),He(h,y),He(m,y)}}}function Df(e){let t,n;return t=new Jn({props:{headingText:"Save time with keyboard shortcuts",paragraphText:"Use keyboard shortcuts to enhance your skills and productivity.",$$slots:{default:[Mf]},$$scope:{ctx:e}}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p(r,[s]){const o={};s&2048&&(o.$$scope={dirty:s,ctx:r}),t.$set(o)},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function zf(e){const n=Ee("OS")==="win"?"Ctrl":"Command",r=Ee("iconBasePath"),s=[{text:"Home tab",shortcutKeys:[{text:n},{text:"H"}]},{text:"Open ticket to be solved (if any)",shortcutKeys:[{text:n},{text:"D"}]},{text:"Resolve ticket",shortcutKeys:[{text:n},{text:"E"}]},{text:"Show predefined answers",shortcutKeys:[{text:n},{text:"I"}]},{text:"Answer the chat",shortcutKeys:[{text:n},{text:"M"}]},{text:"Answer the chat on background",shortcutKeys:[{text:n},{text:"Shift",iconPath:`${r}key_shift.svg`},{text:"M"}]},{text:"Open ticket on background ",shortcutKeys:[{text:n},{text:"Left click",iconPath:`${r}key_left_click.svg`}]},{text:"Send message",shortcutKeys:[{text:n},{text:"S"}]},{text:"Close ticket tab",shortcutKeys:[{text:n},{text:"Middle click",iconPath:`${r}key_middle_click.svg`}]},{text:"Close ticket window",shortcutKeys:[{text:n},{text:"Q"}]},{text:"Show canned messages",shortcutKeys:[{text:n},{text:"K"}]},{text:"Show canned messages",shortcutKeys:[{text:n},{text:"Spacebar"}]},{text:"Cycle through the opened ticket tabs",shortcutKeys:[{text:n},{iconPath:`${r}key_up.svg`}]},{text:"Cycle through the opened ticket tabs",shortcutKeys:[{text:n},{iconPath:`${r}key_down.svg`}]},{text:"Close ticket tab",shortcutKeys:[{text:"Middle click",iconPath:`${r}key_middle_click.svg`}]}],o=[{className:"nextTab",text:"Previous or next tab",shortcut:[{text:n},{iconPath:`${r}key_down.svg`}],shortcutAlt:[{text:n},{iconPath:`${r}key_up.svg`}]},{className:"closeTab",text:"Close active tab",shortcut:[{text:n},{text:"Q"}]},{className:"answer",text:"Answer ticket",shortcut:[{text:n},{text:"D"}]},{className:"send",text:"Send message",shortcut:[{text:n},{text:"S"}]},{className:"canned",text:"Canned message",shortcut:[{text:n},{text:"K"}],shortcutAlt:[{text:n},{text:"Spacebar"}]},{className:"predefined",text:"Predefined answers",shortcut:[{text:n},{text:"I"}]}];return[s,o]}class Ni extends ae{constructor(t){super(),oe(this,t,zf,Df,ne,{},Hf)}}ie(Ni,{},[],[],!0);function Nf(e){fe(e,"svelte-1908tw1",'.widget.svelte-1908tw1{position:relative;display:flex;flex-direction:column;height:264px;min-width:230px;max-width:260px;padding:40px 0 40px 24px;border:1px solid var(--border-color-primary);border-radius:6px;overflow:hidden;box-sizing:border-box}.widget.svelte-1908tw1::after{position:absolute;top:50%;left:0;content:url("public/assets/images/card_background.svg");opacity:0.5}h5.svelte-1908tw1{color:var(--text-color-primary);margin:0;font-family:Roboto;font-size:16px;font-weight:700;line-height:20px}p.svelte-1908tw1{margin:8px 0 12px 0;padding:8px 20px 0 0;border-top:1px solid var(--border-color-primary);color:var(--text-color-primary);text-overflow:ellipsis;font-family:Roboto;font-size:13px;line-height:20px}.link.svelte-1908tw1{display:flex;align-items:center;justify-content:flex-start;gap:6px}.link-text.svelte-1908tw1{position:relative;color:var(--button-color-blue);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;text-decoration-line:underline}')}function Ff(e){let t,n,r,s,o,i,l,a,u,c,f,h,p;return{c(){t=x("div"),n=x("h5"),r=te(e[0]),s=k(),o=x("p"),i=te(e[1]),l=k(),a=x("div"),u=x("a"),c=te("Learn more"),f=k(),h=x("img"),g(n,"class","svelte-1908tw1"),g(o,"class","svelte-1908tw1"),g(u,"class","link-text svelte-1908tw1"),g(u,"href",e[2]),ce(h.src,p=e[3]+"open_in_new.svg")||g(h,"src",p),g(h,"alt","redirect icon"),g(a,"class","link svelte-1908tw1"),g(t,"class","widget svelte-1908tw1")},m(b,m){U(b,t,m),d(t,n),d(n,r),d(t,s),d(t,o),d(o,i),d(t,l),d(t,a),d(a,u),d(u,c),d(a,f),d(a,h)},p(b,[m]){m&1&&ge(r,b[0]),m&2&&ge(i,b[1]),m&4&&g(u,"href",b[2])},i:Q,o:Q,d(b){b&&F(t)}}}function Uf(e,t,n){let{headingText:r}=t,{paragraphText:s}=t,{link:o}=t;const i=Ee("iconBasePath");return e.$$set=l=>{"headingText"in l&&n(0,r=l.headingText),"paragraphText"in l&&n(1,s=l.paragraphText),"link"in l&&n(2,o=l.link)},[r,s,o,i]}class Fi extends ae{constructor(t){super(),oe(this,t,Uf,Ff,ne,{headingText:0,paragraphText:1,link:2},Nf)}get headingText(){return this.$$.ctx[0]}set headingText(t){this.$$set({headingText:t}),W()}get paragraphText(){return this.$$.ctx[1]}set paragraphText(t){this.$$set({paragraphText:t}),W()}get link(){return this.$$.ctx[2]}set link(t){this.$$set({link:t}),W()}}ie(Fi,{headingText:{},paragraphText:{},link:{}},[],[],!0);function Vf(e){fe(e,"svelte-1gbke0g",".wrapper.svelte-1gbke0g{display:grid;grid-gap:20px;grid-template-columns:1fr;align-items:start;justify-items:center;width:100%;height:100%;padding:20px 24px;overflow-y:auto}@container (min-width: 600px){.wrapper.svelte-1gbke0g{align-items:start;justify-content:space-evenly;grid-template-columns:repeat(2, 250px)}}@container (min-width: 850px){.wrapper.svelte-1gbke0g{align-items:start;justify-content:start;grid-template-columns:repeat(3, 250px)}}@container (min-width: 1100px){.wrapper.svelte-1gbke0g{grid-template-columns:repeat(4, 250px)}}")}function vo(e,t,n){const r=e.slice();return r[1]=t[n],r}function bo(e){let t,n;return t=new Fi({props:{headingText:e[1].heading,paragraphText:e[1].text,link:e[1].link}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p:Q,i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function Gf(e){let t,n,r=me(e[0]),s=[];for(let i=0;i<r.length;i+=1)s[i]=bo(vo(e,r,i));const o=i=>S(s[i],1,1,()=>{s[i]=null});return{c(){t=x("div");for(let i=0;i<s.length;i+=1)s[i].c();g(t,"class","wrapper svelte-1gbke0g")},m(i,l){U(i,t,l);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(t,null);n=!0},p(i,l){if(l&1){r=me(i[0]);let a;for(a=0;a<r.length;a+=1){const u=vo(i,r,a);s[a]?(s[a].p(u,l),$(s[a],1)):(s[a]=bo(u),s[a].c(),$(s[a],1),s[a].m(t,null))}for(Ce(),a=r.length;a<s.length;a+=1)o(a);Ae()}},i(i){if(!n){for(let l=0;l<r.length;l+=1)$(s[l]);n=!0}},o(i){s=s.filter(Boolean);for(let l=0;l<s.length;l+=1)S(s[l]);n=!1},d(i){i&&F(t),He(s,i)}}}function qf(e){let t,n;return t=new Jn({props:{headingText:"Provide excellent customer service.",paragraphText:"To truly master LiveAgent, check out our collection of how-to articles and guides.",$$slots:{default:[Gf]},$$scope:{ctx:e}}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p(r,[s]){const o={};s&16&&(o.$$scope={dirty:s,ctx:r}),t.$set(o)},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function Wf(e){return[[{heading:"Email templates",text:"Personalize your customer interactions with customizable email templates.",link:"http://google.com"},{heading:"Ticket Filters",text:"Streamline ticket management by using filters to sort and organize your tickets.",link:"http://google.com"},{heading:"Agents ranking",text:"Enable your customers to assess the assistance provided by your support agents.",link:"http://google.com"},{heading:"Canned Messages",text:"Create pre-defined responses to commonly asked questions for quick and consistent replies.",link:"http://google.com"},{heading:"Automatic Rules",text:"Improve efficiency by creating predefined actions and workflows with rules.",link:"http://google.com"},{heading:"Ticket Tags",text:"Enhance ticket organization and searchability by creating useful tags.",link:"http://google.com"},{heading:"Reports",text:"Gain valuable insights into your customer service operations through detailed reports.",link:"http://google.com"},{heading:"SLA (Service Level Agreement)",text:"Define and monitor performance standards by creating Service Level Agreements.",link:"http://google.com"},{heading:"Domain Parking",text:"Connect and use your own domain with your LiveAgent account.",link:"http://google.com"},{heading:"Customizations",text:"Personalize your LiveAgent according to your branding needs and preferences",link:"http://google.com"},{heading:"Integrations & Plugins",text:"Extend the functionality of LiveAgent by integrating with various platforms via plugins.",link:"http://google.com"},{heading:"Explore Other Features",text:"Better understand and utilize the full range of features offered by LiveAgent.",link:"http://google.com"}]]}class Ui extends ae{constructor(t){super(),oe(this,t,Wf,qf,ne,{},Vf)}}ie(Ui,{},[],[],!0);function Xf(e){fe(e,"svelte-ry7etp",".ContactButton.svelte-ry7etp.svelte-ry7etp{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;min-width:190px;max-width:282px;width:100%;padding:6px 20px;border:1px solid var(--border-color-primary);border-radius:6px;cursor:pointer;background-color:var(--button-color-grey)}img.svelte-ry7etp.svelte-ry7etp{height:16px;width:16px}span.svelte-ry7etp.svelte-ry7etp{color:var(--text-color-primary);text-align:center;font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.highlight.svelte-ry7etp.svelte-ry7etp{background-color:var(--button-color-blue)}.highlight.svelte-ry7etp>span.svelte-ry7etp{color:var(--text-color-highlight)}")}function Yf(e){let t,n,r,s,o,i,l,a,u;return{c(){t=x("button"),n=x("img"),s=k(),o=x("span"),i=te(e[0]),ce(n.src,r=e[5]+e[1]+".svg")||g(n,"src",r),g(n,"alt",e[2]),g(n,"class","svelte-ry7etp"),g(o,"class","svelte-ry7etp"),g(t,"class",l="ContactButton "+(e[3]?"highlight":"")+" svelte-ry7etp"),X(t,"--text-color-highlight",e[4].textsIcons.white)},m(c,f){U(c,t,f),d(t,n),d(t,s),d(t,o),d(o,i),a||(u=Fe(t,"click",e[6]),a=!0)},p(c,[f]){f&2&&!ce(n.src,r=c[5]+c[1]+".svg")&&g(n,"src",r),f&4&&g(n,"alt",c[2]),f&1&&ge(i,c[0]),f&8&&l!==(l="ContactButton "+(c[3]?"highlight":"")+" svelte-ry7etp")&&g(t,"class",l),f&16&&X(t,"--text-color-highlight",c[4].textsIcons.white)},i:Q,o:Q,d(c){c&&F(t),a=!1,u()}}}function Kf(e,t,n){let r;pe(e,Je,f=>n(4,r=f));let{text:s}=t,{iconPath:o}=t,{alt:i}=t,{URL:l}=t,{highlight:a=!1}=t;const u=Ee("iconBasePath");function c(){window.open(l)}return e.$$set=f=>{"text"in f&&n(0,s=f.text),"iconPath"in f&&n(1,o=f.iconPath),"alt"in f&&n(2,i=f.alt),"URL"in f&&n(7,l=f.URL),"highlight"in f&&n(3,a=f.highlight)},[s,o,i,a,r,u,c,l]}class qt extends ae{constructor(t){super(),oe(this,t,Kf,Yf,ne,{text:0,iconPath:1,alt:2,URL:7,highlight:3},Xf)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get iconPath(){return this.$$.ctx[1]}set iconPath(t){this.$$set({iconPath:t}),W()}get alt(){return this.$$.ctx[2]}set alt(t){this.$$set({alt:t}),W()}get URL(){return this.$$.ctx[7]}set URL(t){this.$$set({URL:t}),W()}get highlight(){return this.$$.ctx[3]}set highlight(t){this.$$set({highlight:t}),W()}}ie(qt,{text:{},iconPath:{},alt:{},URL:{},highlight:{type:"Boolean"}},[],[],!0);function Zf(e){fe(e,"svelte-vake34",".contactRow.svelte-vake34{display:flex;align-items:center;justify-content:center;border-radius:69px;background-color:var(--background-color-grey-primary)}h5.svelte-vake34{margin:0;padding:5px 12px;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700}.inner.svelte-vake34{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;background-color:var(--background-color-inner);border-radius:69px}span.svelte-vake34{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:400}")}function Jf(e){let t,n,r,s,o,i,l,a,u,c,f;return{c(){t=x("div"),n=x("h5"),r=te(e[0]),s=te(":"),o=k(),i=x("div"),l=x("img"),u=k(),c=x("span"),f=te(e[1]),g(n,"class","svelte-vake34"),ce(l.src,a=e[4]+e[2]+".svg")||g(l,"src",a),g(l,"alt",e[2]),g(c,"class","svelte-vake34"),g(i,"class","inner svelte-vake34"),g(t,"class","contactRow svelte-vake34"),X(t,"--background-color-inner",e[3].surface.hover)},m(h,p){U(h,t,p),d(t,n),d(n,r),d(n,s),d(t,o),d(t,i),d(i,l),d(i,u),d(i,c),d(c,f)},p(h,[p]){p&1&&ge(r,h[0]),p&4&&!ce(l.src,a=h[4]+h[2]+".svg")&&g(l,"src",a),p&4&&g(l,"alt",h[2]),p&2&&ge(f,h[1]),p&8&&X(t,"--background-color-inner",h[3].surface.hover)},i:Q,o:Q,d(h){h&&F(t)}}}function Qf(e,t,n){let r;pe(e,Je,a=>n(3,r=a));let{text:s}=t,{contact:o}=t,{icon:i}=t;const l=Ee("iconBasePath");return e.$$set=a=>{"text"in a&&n(0,s=a.text),"contact"in a&&n(1,o=a.contact),"icon"in a&&n(2,i=a.icon)},[s,o,i,r,l]}class Wt extends ae{constructor(t){super(),oe(this,t,Qf,Jf,ne,{text:0,contact:1,icon:2},Zf)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),W()}get contact(){return this.$$.ctx[1]}set contact(t){this.$$set({contact:t}),W()}get icon(){return this.$$.ctx[2]}set icon(t){this.$$set({icon:t}),W()}}ie(Wt,{text:{},contact:{},icon:{}},[],[],!0);function eh(e){fe(e,"svelte-w5dqp4",".office.svelte-w5dqp4{display:flex;flex-direction:column}img.svelte-w5dqp4{filter:grayscale(100%)}h5.svelte-w5dqp4{margin:10px 0 6px 0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}span.svelte-w5dqp4{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:400;line-height:20px}")}function yo(e,t,n){const r=e.slice();return r[3]=t[n],r}function xo(e){let t,n=e[3]+"",r;return{c(){t=x("span"),r=te(n),g(t,"class","svelte-w5dqp4")},m(s,o){U(s,t,o),d(t,r)},p(s,o){o&4&&n!==(n=s[3]+"")&&ge(r,n)},d(s){s&&F(t)}}}function th(e){let t,n,r,s,o,i,l,a=me(e[2]),u=[];for(let c=0;c<a.length;c+=1)u[c]=xo(yo(e,a,c));return{c(){t=x("div"),n=x("img"),s=k(),o=x("h5"),i=te(e[0]),l=k();for(let c=0;c<u.length;c+=1)u[c].c();ce(n.src,r=_o+e[1]+".png")||g(n,"src",r),g(n,"alt",e[1]),g(n,"class","svelte-w5dqp4"),g(o,"class","svelte-w5dqp4"),g(t,"class","office svelte-w5dqp4")},m(c,f){U(c,t,f),d(t,n),d(t,s),d(t,o),d(o,i),d(t,l);for(let h=0;h<u.length;h+=1)u[h]&&u[h].m(t,null)},p(c,[f]){if(f&2&&!ce(n.src,r=_o+c[1]+".png")&&g(n,"src",r),f&2&&g(n,"alt",c[1]),f&1&&ge(i,c[0]),f&4){a=me(c[2]);let h;for(h=0;h<a.length;h+=1){const p=yo(c,a,h);u[h]?u[h].p(p,f):(u[h]=xo(p),u[h].c(),u[h].m(t,null))}for(;h<u.length;h+=1)u[h].d(1);u.length=a.length}},i:Q,o:Q,d(c){c&&F(t),He(u,c)}}}const _o="public/assets/images/";function nh(e,t,n){let{city:r}=t,{image:s}=t,{rows:o}=t;return e.$$set=i=>{"city"in i&&n(0,r=i.city),"image"in i&&n(1,s=i.image),"rows"in i&&n(2,o=i.rows)},[r,s,o]}class Vi extends ae{constructor(t){super(),oe(this,t,nh,th,ne,{city:0,image:1,rows:2},eh)}get city(){return this.$$.ctx[0]}set city(t){this.$$set({city:t}),W()}get image(){return this.$$.ctx[1]}set image(t){this.$$set({image:t}),W()}get rows(){return this.$$.ctx[2]}set rows(t){this.$$set({rows:t}),W()}}ie(Vi,{city:{},image:{},rows:{}},[],[],!0);function rh(e){fe(e,"svelte-4w0b6",".LinkCard.svelte-4w0b6{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;width:250px;height:166px;border-radius:6px;border:1px solid var(--border-color-primary)}.ContactButton.svelte-4w0b6{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;width:100%;height:100%;padding:16px;background-color:var(--background-color-grey-primary);box-sizing:border-box}.texts.svelte-4w0b6{display:flex;flex-direction:column;max-width:40%}.bottomPart.svelte-4w0b6{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;border-top:1px solid var(--border-color-primary);border-bottom-left-radius:6px;border-bottom-right-radius:6px;background-color:var(--background-color-grey-secondary);box-sizing:border-box}.heading.svelte-4w0b6{color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;margin:0}p.svelte-4w0b6{color:var(--text-color-primary);font-family:Roboto;line-height:20px;margin:0}.text.svelte-4w0b6{font-size:12px;font-weight:400}.bottom-text.svelte-4w0b6{font-size:14px;font-weight:700}.smallImage.svelte-4w0b6{position:absolute;right:0;bottom:0}.bigImage.svelte-4w0b6{position:absolute;top:0;left:0;width:100%;height:100%}.leftSide.svelte-4w0b6{display:flex;align-items:center;justify-content:center;gap:6px}.socialIcon.svelte-4w0b6{height:20px;width:20px}")}function sh(e){let t,n,r,s,o,i,l,a,u;return{c(){t=x("div"),n=x("h5"),r=te(e[2]),s=k(),o=x("p"),i=te(e[3]),l=k(),a=x("img"),g(n,"class","heading svelte-4w0b6"),g(o,"class","text svelte-4w0b6"),g(t,"class","texts svelte-4w0b6"),g(a,"class","smallImage svelte-4w0b6"),ce(a.src,u=e[7]+e[0]+".png")||g(a,"src",u),g(a,"alt",e[0])},m(c,f){U(c,t,f),d(t,n),d(n,r),d(t,s),d(t,o),d(o,i),U(c,l,f),U(c,a,f)},p(c,f){f&4&&ge(r,c[2]),f&8&&ge(i,c[3]),f&1&&!ce(a.src,u=c[7]+c[0]+".png")&&g(a,"src",u),f&1&&g(a,"alt",c[0])},d(c){c&&(F(t),F(l),F(a))}}}function oh(e){let t,n;return{c(){t=x("img"),g(t,"class","bigImage svelte-4w0b6"),ce(t.src,n=e[7]+e[0]+".png")||g(t,"src",n),g(t,"alt",e[0])},m(r,s){U(r,t,s)},p(r,s){s&1&&!ce(t.src,n=r[7]+r[0]+".png")&&g(t,"src",n),s&1&&g(t,"alt",r[0])},d(r){r&&F(t)}}}function wo(e){let t,n;return{c(){t=x("img"),g(t,"class","socialIcon svelte-4w0b6"),ce(t.src,n=e[6]+e[4]+".svg")||g(t,"src",n),g(t,"alt",e[4])},m(r,s){U(r,t,s)},p(r,s){s&16&&!ce(t.src,n=r[6]+r[4]+".svg")&&g(t,"src",n),s&16&&g(t,"alt",r[4])},d(r){r&&F(t)}}}function ih(e){let t,n,r,s,o,i,l,a,u,c,f;function h(w,y){return w[5]?oh:sh}let p=h(e),b=p(e),m=e[5]&&wo(e);return{c(){t=x("div"),n=x("div"),b.c(),r=k(),s=x("div"),o=x("div"),m&&m.c(),i=k(),l=x("p"),a=te(e[1]),u=k(),c=x("img"),g(n,"class","ContactButton svelte-4w0b6"),g(l,"class","bottom-text svelte-4w0b6"),g(o,"class","leftSide svelte-4w0b6"),ce(c.src,f=e[6]+"arrow-right.svg")||g(c,"src",f),g(c,"alt","arrow"),g(s,"class","bottomPart svelte-4w0b6"),g(t,"class","LinkCard svelte-4w0b6")},m(w,y){U(w,t,y),d(t,n),b.m(n,null),d(t,r),d(t,s),d(s,o),m&&m.m(o,null),d(o,i),d(o,l),d(l,a),d(s,u),d(s,c)},p(w,[y]){p===(p=h(w))&&b?b.p(w,y):(b.d(1),b=p(w),b&&(b.c(),b.m(n,null))),w[5]?m?m.p(w,y):(m=wo(w),m.c(),m.m(o,i)):m&&(m.d(1),m=null),y&2&&ge(a,w[1])},i:Q,o:Q,d(w){w&&F(t),b.d(),m&&m.d()}}}function ah(e,t,n){let{image:r}=t,{bottomText:s}=t,{heading:o=""}=t,{text:i=""}=t,{icon:l=""}=t,{socials:a=!0}=t;const u=Ee("iconBasePath"),c=Ee("imageBasePath");return e.$$set=f=>{"image"in f&&n(0,r=f.image),"bottomText"in f&&n(1,s=f.bottomText),"heading"in f&&n(2,o=f.heading),"text"in f&&n(3,i=f.text),"icon"in f&&n(4,l=f.icon),"socials"in f&&n(5,a=f.socials)},[r,s,o,i,l,a,u,c]}class ft extends ae{constructor(t){super(),oe(this,t,ah,ih,ne,{image:0,bottomText:1,heading:2,text:3,icon:4,socials:5},rh)}get image(){return this.$$.ctx[0]}set image(t){this.$$set({image:t}),W()}get bottomText(){return this.$$.ctx[1]}set bottomText(t){this.$$set({bottomText:t}),W()}get heading(){return this.$$.ctx[2]}set heading(t){this.$$set({heading:t}),W()}get text(){return this.$$.ctx[3]}set text(t){this.$$set({text:t}),W()}get icon(){return this.$$.ctx[4]}set icon(t){this.$$set({icon:t}),W()}get socials(){return this.$$.ctx[5]}set socials(t){this.$$set({socials:t}),W()}}ie(ft,{image:{},bottomText:{},heading:{},text:{},icon:{},socials:{type:"Boolean"}},[],[],!0);function lh(e){fe(e,"svelte-et1yte",".content.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;padding:14px 24px 24px 24px;overflow-y:auto;overflow-x:hidden}.contacts.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;flex-grow:1;gap:40px;width:100%;margin-bottom:20px;padding:20px 14px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px;box-sizing:border-box}.contact-buttons.svelte-et1yte.svelte-et1yte{container-type:inline-size;container-name:contactButtons;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}.row.svelte-et1yte.svelte-et1yte{display:flex;flex-flow:column;align-items:center;justify-content:center;gap:12px}.texts.svelte-et1yte.svelte-et1yte{display:flex;align-items:center;justify-content:center;gap:6px}.faded.svelte-et1yte.svelte-et1yte{margin:0;color:var(--text-color-secondary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px}.buttons.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%}.sales-contacts.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.sales-rows.svelte-et1yte.svelte-et1yte{container-type:inline-size;container-name:contactRow;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.bottom-part.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;gap:4px}.offices.svelte-et1yte.svelte-et1yte{display:flex;flex-flow:wrap row;align-items:flex-start;justify-content:center;gap:20px}aside.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:center;gap:50px;min-width:300px;width:100%}.cards.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}.upperPart.svelte-et1yte.svelte-et1yte{container-type:inline-size;container-name:upperPart;display:flex;flex-direction:column;align-items:center;width:100%}.linkCards.svelte-et1yte.svelte-et1yte{display:flex;flex-direction:column;gap:20px}.lowerPart.svelte-et1yte.svelte-et1yte{container-type:inline-size;container-name:lowerPart;display:flex;flex-direction:column;align-items:center;width:100%}.widget.svelte-et1yte>h5.svelte-et1yte{margin:10px 0 0 10px;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px}.widget.svelte-et1yte>p.svelte-et1yte{margin:0 0 0 10px;color:var(--text-color-secondary);font-family:Roboto;font-size:14px;line-height:20px}@media(min-width: 768px){.content.svelte-et1yte.svelte-et1yte{flex-direction:row}.contacts.svelte-et1yte.svelte-et1yte{padding:50px;margin-bottom:0;border:none;border-right:1px solid var(--border-color-primary);border-radius:0;max-width:680px}aside.svelte-et1yte.svelte-et1yte{width:auto;padding:50px}.upperPart.svelte-et1yte.svelte-et1yte{align-items:flex-start}.lowerPart.svelte-et1yte.svelte-et1yte{align-items:flex-start}}@container contactButtons (min-width: 400px){.buttons.svelte-et1yte.svelte-et1yte{display:grid;grid-gap:6px;grid-template-columns:1fr 1fr}}@container contactRow (min-width: 400px){.row.svelte-et1yte.svelte-et1yte{flex-direction:row}}@container lowerPart (min-width: 500px){.cards.svelte-et1yte.svelte-et1yte{display:grid;grid-gap:20px;grid-template-columns:1fr 1fr;margin-top:20px}}@container upperPart (min-width: 500px){.linkCards.svelte-et1yte.svelte-et1yte{flex-direction:row}}")}function $o(e,t,n){const r=e.slice();return r[2]=t[n],r}function ko(e){let t,n;return t=new Vi({props:{city:e[2].city,image:e[2].image,rows:e[2].rows}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p:Q,i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function ch(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w,y,_,P,A,C,B,G,R,D,Y,H,ee,q,M,E,T,j,z,K,J,V,re,ve,ye,ke,Ve,Oe,Qe,Le,xe,je,et,Me,Mr,gt,mt,Dr,vt,zr,tt,bt,Nr,yt,xt,Fr,Ft,Ur,Vr,Ne,nt,_t,Gr,ln,qr,cn,Wr,rt,wt,Xr,un,Yr,fn,Kr,st,$t,Zr,hn,Jr,dn,Qr,ot,kt,es,pn,ts,gn,mn;o=new _e({props:{text:"Direct contacts: "}}),a=new le({props:{text:"Don't hesitate to contact us! We are available 24/7."}}),p=new Wt({props:{text:"Email",contact:"support@liveagent.com",icon:"at-symbol"}}),w=new qt({props:{text:"Chat with us",iconPath:"chat-with-us",alt:"chat",URL:"google.com",highlight:!0}}),_=new qt({props:{text:"Whatsapp",iconPath:"whatsapp_logo",alt:"whatsapp-logo",URL:"google.com"}}),A=new qt({props:{text:"Message us",iconPath:"messenger_logo",alt:"messenger-logo",URL:"google.com"}}),B=new qt({props:{text:"Contact form",iconPath:"form",alt:"form",URL:"google.com"}}),D=new _e({props:{text:"Contact for sales purposes:"}}),ee=new Wt({props:{text:"Email",contact:"support@liveagent.com",icon:"at-symbol"}}),E=new Wt({props:{text:"Phone",contact:"+1 888 659 6550",icon:"at-symbol"}}),J=new Wt({props:{text:"Phone",contact:"+421 2 33 456 826",icon:"at-symbol"}}),ke=new _e({props:{text:"Our offices:",additionalStyles:"display: block"}});let ut=me(e[0]),we=[];for(let Z=0;Z<ut.length;Z+=1)we[Z]=ko($o(e,ut,Z));const ia=Z=>S(we[Z],1,1,()=>{we[Z]=null});return je=new _e({props:{text:"Self-help and system status:"}}),Me=new le({props:{text:"Find answers to your questions, day or night."}}),mt=new ft({props:{image:"support-portal-background",bottomText:"Go to our support portal",heading:"Support portal",text:"Looking for answers?",socials:!1}}),vt=new ft({props:{image:"status-page-background",bottomText:"Go to status page",heading:"Status page",text:"Check out our service status",socials:!1}}),bt=new _e({props:{text:"Social networks:"}}),xt=new le({props:{text:"We’re looking forward to talking to you on social media."}}),_t=new ft({props:{image:"facebook-background",bottomText:"Facebook",icon:"facebook_logo"}}),wt=new ft({props:{image:"instagram-background",bottomText:"Instagram",icon:"instagram_logo"}}),$t=new ft({props:{image:"x-background",bottomText:"X",icon:"x_logo"}}),kt=new ft({props:{image:"youtube-background",bottomText:"Youtube",icon:"youtube_logo"}}),{c(){t=x("div"),n=x("div"),r=x("div"),s=x("div"),O(o.$$.fragment),i=k(),l=x("div"),O(a.$$.fragment),u=k(),c=x("img"),h=k(),O(p.$$.fragment),b=k(),m=x("div"),O(w.$$.fragment),y=k(),O(_.$$.fragment),P=k(),O(A.$$.fragment),C=k(),O(B.$$.fragment),G=k(),R=x("div"),O(D.$$.fragment),Y=k(),H=x("div"),O(ee.$$.fragment),q=k(),M=x("div"),O(E.$$.fragment),T=k(),j=x("p"),j.textContent="(Toll Free in USA & Canada)",z=k(),K=x("div"),O(J.$$.fragment),V=k(),re=x("p"),re.textContent="(European Union & Worldwide)",ve=k(),ye=x("div"),O(ke.$$.fragment),Ve=k(),Oe=x("div");for(let Z=0;Z<we.length;Z+=1)we[Z].c();Qe=k(),Le=x("aside"),xe=x("div"),O(je.$$.fragment),et=k(),O(Me.$$.fragment),Mr=k(),gt=x("div"),O(mt.$$.fragment),Dr=k(),O(vt.$$.fragment),zr=k(),tt=x("div"),O(bt.$$.fragment),Nr=k(),yt=x("div"),O(xt.$$.fragment),Fr=k(),Ft=x("img"),Vr=k(),Ne=x("div"),nt=x("div"),O(_t.$$.fragment),Gr=k(),ln=x("h5"),ln.textContent="Connect with us",qr=k(),cn=x("p"),cn.textContent="Join our community today",Wr=k(),rt=x("div"),O(wt.$$.fragment),Xr=k(),un=x("h5"),un.textContent="Join our journey",Yr=k(),fn=x("p"),fn.textContent="Let's make memories",Kr=k(),st=x("div"),O($t.$$.fragment),Zr=k(),hn=x("h5"),hn.textContent="Let's connect",Jr=k(),dn=x("p"),dn.textContent="Join our tribe, let's grow",Qr=k(),ot=x("div"),O(kt.$$.fragment),es=k(),pn=x("h5"),pn.textContent="Learn & grow on",ts=k(),gn=x("p"),gn.textContent="Discover and thrive",ce(c.src,f=e[1]+"smiley-face.svg")||g(c,"src",f),g(c,"alt","smiley face"),g(l,"class","texts svelte-et1yte"),g(m,"class","buttons svelte-et1yte"),g(r,"class","contact-buttons svelte-et1yte"),g(j,"class","faded svelte-et1yte"),g(M,"class","row svelte-et1yte"),g(re,"class","faded svelte-et1yte"),g(K,"class","row svelte-et1yte"),g(H,"class","sales-rows svelte-et1yte"),g(R,"class","sales-contacts svelte-et1yte"),g(Oe,"class","offices svelte-et1yte"),g(ye,"class","bottom-part svelte-et1yte"),g(n,"class","contacts svelte-et1yte"),g(gt,"class","linkCards svelte-et1yte"),g(xe,"class","upperPart svelte-et1yte"),ce(Ft.src,Ur="../../../public/assets/icons/winky-face.svg")||g(Ft,"src",Ur),g(Ft,"alt","smiley face"),g(yt,"class","texts svelte-et1yte"),g(ln,"class","svelte-et1yte"),g(cn,"class","svelte-et1yte"),g(nt,"class","widget svelte-et1yte"),g(un,"class","svelte-et1yte"),g(fn,"class","svelte-et1yte"),g(rt,"class","widget svelte-et1yte"),g(hn,"class","svelte-et1yte"),g(dn,"class","svelte-et1yte"),g(st,"class","widget svelte-et1yte"),g(pn,"class","svelte-et1yte"),g(gn,"class","svelte-et1yte"),g(ot,"class","widget svelte-et1yte"),g(Ne,"class","cards svelte-et1yte"),g(tt,"class","lowerPart svelte-et1yte"),g(Le,"class","svelte-et1yte"),g(t,"class","content svelte-et1yte")},m(Z,Be){U(Z,t,Be),d(t,n),d(n,r),d(r,s),I(o,s,null),d(s,i),d(s,l),I(a,l,null),d(l,u),d(l,c),d(r,h),I(p,r,null),d(r,b),d(r,m),I(w,m,null),d(m,y),I(_,m,null),d(m,P),I(A,m,null),d(m,C),I(B,m,null),d(n,G),d(n,R),I(D,R,null),d(R,Y),d(R,H),I(ee,H,null),d(H,q),d(H,M),I(E,M,null),d(M,T),d(M,j),d(H,z),d(H,K),I(J,K,null),d(K,V),d(K,re),d(n,ve),d(n,ye),I(ke,ye,null),d(ye,Ve),d(ye,Oe);for(let $e=0;$e<we.length;$e+=1)we[$e]&&we[$e].m(Oe,null);d(t,Qe),d(t,Le),d(Le,xe),I(je,xe,null),d(xe,et),I(Me,xe,null),d(xe,Mr),d(xe,gt),I(mt,gt,null),d(gt,Dr),I(vt,gt,null),d(Le,zr),d(Le,tt),I(bt,tt,null),d(tt,Nr),d(tt,yt),I(xt,yt,null),d(yt,Fr),d(yt,Ft),d(tt,Vr),d(tt,Ne),d(Ne,nt),I(_t,nt,null),d(nt,Gr),d(nt,ln),d(nt,qr),d(nt,cn),d(Ne,Wr),d(Ne,rt),I(wt,rt,null),d(rt,Xr),d(rt,un),d(rt,Yr),d(rt,fn),d(Ne,Kr),d(Ne,st),I($t,st,null),d(st,Zr),d(st,hn),d(st,Jr),d(st,dn),d(Ne,Qr),d(Ne,ot),I(kt,ot,null),d(ot,es),d(ot,pn),d(ot,ts),d(ot,gn),mn=!0},p(Z,Be){if(Be&1){ut=me(Z[0]);let $e;for($e=0;$e<ut.length;$e+=1){const ns=$o(Z,ut,$e);we[$e]?(we[$e].p(ns,Be),$(we[$e],1)):(we[$e]=ko(ns),we[$e].c(),$(we[$e],1),we[$e].m(Oe,null))}for(Ce(),$e=ut.length;$e<we.length;$e+=1)ia($e);Ae()}},i(Z){if(!mn){$(o.$$.fragment,Z),$(a.$$.fragment,Z),$(p.$$.fragment,Z),$(w.$$.fragment,Z),$(_.$$.fragment,Z),$(A.$$.fragment,Z),$(B.$$.fragment,Z),$(D.$$.fragment,Z),$(ee.$$.fragment,Z),$(E.$$.fragment,Z),$(J.$$.fragment,Z),$(ke.$$.fragment,Z);for(let Be=0;Be<ut.length;Be+=1)$(we[Be]);$(je.$$.fragment,Z),$(Me.$$.fragment,Z),$(mt.$$.fragment,Z),$(vt.$$.fragment,Z),$(bt.$$.fragment,Z),$(xt.$$.fragment,Z),$(_t.$$.fragment,Z),$(wt.$$.fragment,Z),$($t.$$.fragment,Z),$(kt.$$.fragment,Z),mn=!0}},o(Z){S(o.$$.fragment,Z),S(a.$$.fragment,Z),S(p.$$.fragment,Z),S(w.$$.fragment,Z),S(_.$$.fragment,Z),S(A.$$.fragment,Z),S(B.$$.fragment,Z),S(D.$$.fragment,Z),S(ee.$$.fragment,Z),S(E.$$.fragment,Z),S(J.$$.fragment,Z),S(ke.$$.fragment,Z),we=we.filter(Boolean);for(let Be=0;Be<we.length;Be+=1)S(we[Be]);S(je.$$.fragment,Z),S(Me.$$.fragment,Z),S(mt.$$.fragment,Z),S(vt.$$.fragment,Z),S(bt.$$.fragment,Z),S(xt.$$.fragment,Z),S(_t.$$.fragment,Z),S(wt.$$.fragment,Z),S($t.$$.fragment,Z),S(kt.$$.fragment,Z),mn=!1},d(Z){Z&&F(t),L(o),L(a),L(p),L(w),L(_),L(A),L(B),L(D),L(ee),L(E),L(J),L(ke),He(we,Z),L(je),L(Me),L(mt),L(vt),L(bt),L(xt),L(_t),L(wt),L($t),L(kt)}}}function uh(e){let t,n;return t=new Jn({props:{headingText:"We’d love to hear from you.",paragraphText:"Need support or advice? We’re ready to listen.",$$slots:{default:[ch]},$$scope:{ctx:e}}}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},p(r,[s]){const o={};s&32&&(o.$$scope={dirty:s,ctx:r}),t.$set(o)},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function fh(e){const t=[{city:"Bratislava",image:"bratislava",rows:["Quality Unit, s. r. o.","Vajnorska 100/A","83104 Bratislava","Slovakia (EU)"]},{city:"Kyiv",image:"kyiv",rows:["Quality Unit Ukraine","Solomianskyy rayon","03110 Kyyiv","Ukraine"]},{city:"New York",image:"new-york",rows:["Quality Unit, LLC","3 Germay Dr.","Wilmington, DE 19804","USA"]}],n=Ee("iconBasePath");return[t,n]}class Gi extends ae{constructor(t){super(),oe(this,t,fh,uh,ne,{},lh)}}ie(Gi,{},[],[],!0);let An,br=!1;const qi=e=>(e=typeof e)=="object"||e==="function";function Wi(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:void 0}const hh=(e,t,...n)=>{let r=null,s=!1,o=!1;const i=[],l=u=>{for(let c=0;c<u.length;c++)r=u[c],Array.isArray(r)?l(r):r!=null&&typeof r!="boolean"&&((s=!qi(r))&&(r+=""),s&&o?i[i.length-1].t+=r:i.push(s?yr(null,r):r),o=s)};l(n);const a=yr(e,null);return a.l=t,i.length>0&&(a.o=i),a},yr=(e,t)=>({i:0,u:e,t,h:null,o:null}),dh={},Eo=new WeakMap,Xi=e=>"sc-"+e.m,Or=(e,t,n)=>{const r=t.o[n];let s,o,i=0;if(s=r.h=Ge.createElement(r.u),An!=null&&s["s-si"]!==An&&s.classList.add(s["s-si"]=An),r.o)for(i=0;i<r.o.length;++i)o=Or(e,r,i),o&&s.appendChild(o);return s},To=(e,t,n,r,s,o)=>{let i,l=e;for(;s<=o;++s)r[s]&&(i=Or(null,n,s),i&&(r[s].h=i,l.insertBefore(i,t)))},So=(e,t,n,r)=>{for(;t<=n;++t)(r=e[t])&&r.h.remove()},$n=(e,t)=>e.u===t.u,Xt=(e,t)=>{const n=t.h=e.h,r=e.o,s=t.o;r!==null&&s!==null?((o,i,l,a)=>{let u,c=0,f=0,h=i.length-1,p=i[0],b=i[h],m=a.length-1,w=a[0],y=a[m];for(;c<=h&&f<=m;)p==null?p=i[++c]:b==null?b=i[--h]:w==null?w=a[++f]:y==null?y=a[--m]:$n(p,w)?(Xt(p,w),p=i[++c],w=a[++f]):$n(b,y)?(Xt(b,y),b=i[--h],y=a[--m]):$n(p,y)?(Xt(p,y),o.insertBefore(p.h,b.h.nextSibling),p=i[++c],y=a[--m]):$n(b,w)?(Xt(b,w),o.insertBefore(b.h,p.h),b=i[--h],w=a[++f]):(u=Or(i&&i[f],l,f),w=a[++f],u&&p.h.parentNode.insertBefore(u,p.h));c>h?To(o,a[m+1]==null?null:a[m+1].h,l,a,f,m):f>m&&So(i,c,h)})(n,r,t,s):s!==null?To(n,null,t,s,0,s.length-1):r!==null&&So(r,0,r.length-1)},Yi=(e,t)=>{t&&!e.p&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.p=n))},Br=(e,t)=>{if(e.i|=16,!(4&e.i))return Yi(e,e.v),Th(()=>ph(e,t));e.i|=512},ph=(e,t)=>{const n=e.S;return t&&(e.i|=256,e.g&&(e.g.map(([r,s])=>Zi(n,r,s)),e.g=null)),bh(void 0,()=>gh(e,n,t))},gh=async(e,t,n)=>{const r=e.$,s=r["s-rc"];n&&(o=>{const i=o.M,l=o.$,a=i.i,u=((c,f)=>{var h;let p=Xi(f);const b=jn.get(p);if(c=c.nodeType===11?c:Ge,b)if(typeof b=="string"){let m,w=Eo.get(c=c.head||c);if(w||Eo.set(c,w=new Set),!w.has(p)){{m=Ge.createElement("style"),m.innerHTML=b;const y=(h=Pe.j)!==null&&h!==void 0?h:Wi(Ge);y!=null&&m.setAttribute("nonce",y),c.insertBefore(m,c.querySelector("link"))}w&&w.add(p)}}else c.adoptedStyleSheets.includes(b)||(c.adoptedStyleSheets=[...c.adoptedStyleSheets,b]);return p})(l.getRootNode(),i);10&a&&(l["s-sc"]=u,l.classList.add(u+"-h"),2&a&&l.classList.add(u+"-s"))})(e),mh(e,t),s&&(s.map(o=>o()),r["s-rc"]=void 0);{const o=r["s-p"],i=()=>vh(e);o.length===0?i():(Promise.all(o).then(i),e.i|=4,o.length=0)}},mh=(e,t)=>{try{t=t.render(),e.i&=-17,e.i|=2,((n,r)=>{const s=n.$,o=n.k||yr(null,null),i=(l=>l&&l.u===dh)(r)?r:hh(null,null,r);i.u=null,i.i|=4,n.k=i,i.h=o.h=s,An=s["s-sc"],Xt(o,i)})(e,t)}catch(n){pt(n,e.$)}return null},vh=e=>{const t=e.$,n=e.v;64&e.i||(e.i|=64,Ji(t),e.C(t),n||Ki()),e.p&&(e.p(),e.p=void 0),512&e.i&&Hr(()=>Br(e,!1)),e.i&=-517},Ki=()=>{Ji(Ge.documentElement),Hr(()=>(e=>{const t=Pe.ce("appload",{detail:{namespace:"flex-resizer"}});return e.dispatchEvent(t),t})(Rr))},Zi=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){pt(r)}},bh=(e,t)=>t(),Ji=e=>e.classList.add("hydrated"),Po=(e,t,n)=>{if(t.O){e.watchers&&(t.P=e.watchers);const r=Object.entries(t.O),s=e.prototype;if(r.map(([o,[i]])=>{(31&i||2&n&&32&i)&&Object.defineProperty(s,o,{get(){return((l,a)=>Qt(this).N.get(a))(0,o)},set(l){((a,u,c,f)=>{const h=Qt(a),p=h.$,b=h.N.get(u),m=h.i,w=h.S;if(c=((y,_)=>y==null||qi(y)?y:4&_?y!=="false"&&(y===""||!!y):2&_?parseFloat(y):1&_?y+"":y)(c,f.O[u][0]),(!(8&m)||b===void 0)&&c!==b&&(!Number.isNaN(b)||!Number.isNaN(c))&&(h.N.set(u,c),w)){if(f.P&&128&m){const y=f.P[u];y&&y.map(_=>{try{w[_](c,b,u)}catch(P){pt(P,p)}})}(18&m)==2&&Br(h,!1)}})(this,o,l,t)},configurable:!0,enumerable:!0})}),1&n){const o=new Map;s.attributeChangedCallback=function(i,l,a){Pe.jmp(()=>{const u=o.get(i);if(this.hasOwnProperty(u))a=this[u],delete this[u];else if(s.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==a)return;this[u]=(a!==null||typeof this[u]!="boolean")&&a})},e.observedAttributes=r.filter(([i,l])=>15&l[0]).map(([i,l])=>{const a=l[1]||i;return o.set(a,i),a})}}return e},Co=e=>{Zi(e,"connectedCallback")},yh=(e,t={})=>{var n;const r=[],s=t.exclude||[],o=Rr.customElements,i=Ge.head,l=i.querySelector("meta[charset]"),a=Ge.createElement("style"),u=[];let c,f=!0;Object.assign(Pe,t),Pe.T=new URL(t.resourcesUrl||"./",Ge.baseURI).href,e.map(h=>{h[1].map(p=>{const b={i:p[0],m:p[1],O:p[2],A:p[3]};b.O=p[2],b.A=p[3],b.P={};const m=b.m,w=class extends HTMLElement{constructor(y){super(y),wh(y=this,b)}connectedCallback(){c&&(clearTimeout(c),c=null),f?u.push(this):Pe.jmp(()=>(y=>{if(!(1&Pe.i)){const _=Qt(y),P=_.M;if(1&_.i)Qi(y,_,P.A),Co(_.S);else{_.i|=1;{let A=y;for(;A=A.parentNode||A.host;)if(A["s-p"]){Yi(_,_.v=A);break}}P.O&&Object.entries(P.O).map(([A,[C]])=>{if(31&C&&y.hasOwnProperty(A)){const B=y[A];delete y[A],y[A]=B}}),(async(A,C,B,G,R)=>{if(!(32&C.i)){{C.i|=32,(R=$h(B)).then&&(R=await R),R.isProxied||(B.P=R.watchers,Po(R,B,2),R.isProxied=!0),C.i|=8;try{new R(C)}catch(H){pt(H)}C.i&=-9,C.i|=128,Co(C.S)}if(R.style){let H=R.style;const ee=Xi(B);jn.has(ee)||((q,M,E)=>{let T=jn.get(q);kh&&E?(T=T||new CSSStyleSheet,typeof T=="string"?T=M:T.replaceSync(M)):T=M,jn.set(q,T)})(ee,H,!!(1&B.i))}}const D=C.v,Y=()=>Br(C,!0);D&&D["s-rc"]?D["s-rc"].push(Y):Y()})(0,_,P)}}})(this))}disconnectedCallback(){Pe.jmp(()=>(()=>{if(!(1&Pe.i)){const y=Qt(this);y.F&&(y.F.map(_=>_()),y.F=void 0)}})())}componentOnReady(){return Qt(this).L}};b.R=h[0],s.includes(m)||o.get(m)||(r.push(m),o.define(m,Po(w,b,1)))})});{a.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles","");const h=(n=Pe.j)!==null&&n!==void 0?n:Wi(Ge);h!=null&&a.setAttribute("nonce",h),i.insertBefore(a,l?l.nextSibling:i.firstChild)}f=!1,u.length?u.map(h=>h.connectedCallback()):Pe.jmp(()=>c=setTimeout(Ki,30))},Qi=(e,t,n)=>{n&&n.map(([r,s,o])=>{const i=e,l=xh(t,o),a=_h(r);Pe.ael(i,s,l,a),(t.F=t.F||[]).push(()=>Pe.rel(i,s,l,a))})},xh=(e,t)=>n=>{try{256&e.i?e.S[t](n):(e.g=e.g||[]).push([t,n])}catch(r){pt(r)}},_h=e=>(2&e)!=0,ea=new WeakMap,Qt=e=>ea.get(e),wh=(e,t)=>{const n={i:0,$:e,M:t,N:new Map};return n.L=new Promise(r=>n.C=r),e["s-p"]=[],e["s-rc"]=[],Qi(e,n,t.A),ea.set(e,n)},pt=(e,t)=>(0,console.error)(e,t),Ao=new Map,$h=e=>{const t=e.m.replace(/-/g,"_"),n=e.R,r=Ao.get(n);return r?r[t]:N(()=>import(`./${n}.entry.js`),[]).then(s=>(Ao.set(n,s),s[t]),pt);/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},jn=new Map,Rr=typeof window<"u"?window:{},Ge=Rr.document||{head:{}},Pe={i:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},ta=e=>Promise.resolve(e),kh=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),jo=[],na=[],Eh=(e,t)=>n=>{e.push(n),br||(br=!0,4&Pe.i?Hr(xr):Pe.raf(xr))},Io=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){pt(n)}e.length=0},xr=()=>{Io(jo),Io(na),(br=jo.length>0)&&Pe.raf(xr)},Hr=e=>ta().then(e),Th=Eh(na);(()=>{const e=import.meta.url,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),ta(t)})().then(e=>yh([["p-0469c0d2",[[2,"flex-resizer",{depth:[2],overrideIframe:[4,"override-iframe"],name:[1],save:[4],disabled:[4]},[[0,"mousedown","resizeStart"],[1,"touchstart","resizeStart"]]]]]],e));function Sh(e){fe(e,"svelte-s3yoxs","main.svelte-s3yoxs{position:static;display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;background-color:var(--background-color-primary);height:calc(100% - 40px);width:100%}.menu.svelte-s3yoxs{position:absolute;display:block;flex:1 0 250px;width:75%;height:100%;background-color:var(--background-color-secondary);z-index:100;transform:translateX(-100%);transition:transform 0.3s ease-in-out}.menu.open.svelte-s3yoxs{transform:translateX(0)}.body.svelte-s3yoxs{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;height:100%}.menuOpened.svelte-s3yoxs{opacity:0.2;background-color:var(--background-color-primary)}.resizer.svelte-s3yoxs{display:none}.open-menu-button.svelte-s3yoxs{width:100%;height:50px;cursor:pointer}@media(min-width: 768px){main.svelte-s3yoxs{position:relative;padding:20px;gap:10px}.menu.svelte-s3yoxs{width:unset;position:relative;padding:20px 8px 20px 16px;background:none;transform:translateX(0)}.body.svelte-s3yoxs{flex:1 1 550px;border-left:1px solid var(--border-color-primary)}.resizer.svelte-s3yoxs{display:block;position:relative;height:100%}.resizer.svelte-s3yoxs::before{content:'';position:absolute;left:2px;top:50%;height:50px;width:3px;border-left:3px double var(--border-color-primary);cursor:ew-resize !important}.open-menu-button.svelte-s3yoxs{display:none}}")}function Ph(e){let t,n,r;return{c(){t=x("button"),t.textContent="Open menu",g(t,"class","open-menu-button svelte-s3yoxs")},m(s,o){U(s,t,o),n||(r=Fe(t,"click",Fo(e[4])),n=!0)},d(s){s&&F(t),n=!1,r()}}}function Ch(e){let t,n,r,s,o,i,l,a,u,c,f,h,p,b,m,w;r=new ri({}),o=new ni({});let y=!e[3]&&Ph(e);return h=new Jo({props:{routes:e[0]}}),{c(){t=x("main"),n=x("nav"),O(r.$$.fragment),s=k(),O(o.$$.fragment),l=k(),a=x("flex-resizer"),u=k(),c=x("div"),y&&y.c(),f=k(),O(h.$$.fragment),g(n,"class",i="menu "+(e[2]?"open":"")+" svelte-s3yoxs"),Et(a,"class","resizer svelte-s3yoxs"),Et(a,"name","my-resizer"),Et(a,"depth",0),Et(a,"disabled",!1),Et(a,"overrideIframe",!0),Et(a,"save",!0),g(c,"class",p="body "+(e[2]?"menuOpened":"")+" svelte-s3yoxs"),X(t,"--text-color-primary",e[1].textsIcons.primary),X(t,"--text-color-secondary",e[1].textsIcons.secondary),X(t,"--text-color-infoPanel",e[1].events.blue.text),X(t,"--text-color-blue-primary",e[1].events.blue.primary),X(t,"--background-color-primary",e[1].surface.primary),X(t,"--background-color-secondary",e[1].surface.secondary),X(t,"--background-color-grey-primary",e[1].events.grey.surfacePrimary),X(t,"--background-color-grey-secondary",e[1].events.grey.surfaceSecondary),X(t,"--background-color-orange-primary",e[1].events.orange.surfacePrimary),X(t,"--background-color-pink-primary",e[1].events.pink.surfacePrimary),X(t,"--background-color-purple-primary",e[1].events.purple.surfacePrimary),X(t,"--background-color-blue-primary",e[1].events.blue.surfacePrimary),X(t,"--background-color-green-primary",e[1].events.green.surfacePrimary),X(t,"--color-green-primary",e[1].events.green.primary),X(t,"--border-color-primary",e[1].borderDivider.primary),X(t,"--border-color-secondary",e[1].borderDivider.secondary),X(t,"--border-color-grey",e[1].events.grey.stroke),X(t,"--border-color-orange",e[1].events.orange.stroke),X(t,"--border-color-green",e[1].events.green.stroke),X(t,"--border-color-infoPanel",e[1].events.blue.stroke),X(t,"--button-color-blue",e[1].buttonsSwitchesTabs.primaryButtons.blue),X(t,"--button-color-grey",e[1].buttonsSwitchesTabs.primaryButtons.grey),X(t,"--button-color-disabled",e[1].buttonsSwitchesTabs.primaryButtons.blueDisabled),g(t,"class","svelte-s3yoxs")},m(_,P){U(_,t,P),d(t,n),I(r,n,null),d(n,s),I(o,n,null),d(t,l),d(t,a),d(t,u),d(t,c),y&&y.m(c,null),d(c,f),I(h,c,null),b=!0,m||(w=Fe(c,"click",e[5]),m=!0)},p(_,[P]){(!b||P&4&&i!==(i="menu "+(_[2]?"open":"")+" svelte-s3yoxs"))&&g(n,"class",i);const A={};P&1&&(A.routes=_[0]),h.$set(A),(!b||P&4&&p!==(p="body "+(_[2]?"menuOpened":"")+" svelte-s3yoxs"))&&g(c,"class",p),(!b||P&2)&&X(t,"--text-color-primary",_[1].textsIcons.primary),(!b||P&2)&&X(t,"--text-color-secondary",_[1].textsIcons.secondary),(!b||P&2)&&X(t,"--text-color-infoPanel",_[1].events.blue.text),(!b||P&2)&&X(t,"--text-color-blue-primary",_[1].events.blue.primary),(!b||P&2)&&X(t,"--background-color-primary",_[1].surface.primary),(!b||P&2)&&X(t,"--background-color-secondary",_[1].surface.secondary),(!b||P&2)&&X(t,"--background-color-grey-primary",_[1].events.grey.surfacePrimary),(!b||P&2)&&X(t,"--background-color-grey-secondary",_[1].events.grey.surfaceSecondary),(!b||P&2)&&X(t,"--background-color-orange-primary",_[1].events.orange.surfacePrimary),(!b||P&2)&&X(t,"--background-color-pink-primary",_[1].events.pink.surfacePrimary),(!b||P&2)&&X(t,"--background-color-purple-primary",_[1].events.purple.surfacePrimary),(!b||P&2)&&X(t,"--background-color-blue-primary",_[1].events.blue.surfacePrimary),(!b||P&2)&&X(t,"--background-color-green-primary",_[1].events.green.surfacePrimary),(!b||P&2)&&X(t,"--color-green-primary",_[1].events.green.primary),(!b||P&2)&&X(t,"--border-color-primary",_[1].borderDivider.primary),(!b||P&2)&&X(t,"--border-color-secondary",_[1].borderDivider.secondary),(!b||P&2)&&X(t,"--border-color-grey",_[1].events.grey.stroke),(!b||P&2)&&X(t,"--border-color-orange",_[1].events.orange.stroke),(!b||P&2)&&X(t,"--border-color-green",_[1].events.green.stroke),(!b||P&2)&&X(t,"--border-color-infoPanel",_[1].events.blue.stroke),(!b||P&2)&&X(t,"--button-color-blue",_[1].buttonsSwitchesTabs.primaryButtons.blue),(!b||P&2)&&X(t,"--button-color-grey",_[1].buttonsSwitchesTabs.primaryButtons.grey),(!b||P&2)&&X(t,"--button-color-disabled",_[1].buttonsSwitchesTabs.primaryButtons.blueDisabled)},i(_){b||($(r.$$.fragment,_),$(o.$$.fragment,_),$(h.$$.fragment,_),b=!0)},o(_){S(r.$$.fragment,_),S(o.$$.fragment,_),S(h.$$.fragment,_),b=!1},d(_){_&&F(t),L(r),L(o),y&&y.d(),L(h),m=!1,w()}}}function Ah(e,t,n){let r,s,o;pe(e,Hi,f=>n(6,r=f)),pe(e,Je,f=>n(1,s=f)),pe(e,zn,f=>n(2,o=f));const i=Ee("isImplemented"),l=[{path:"/summary",component:si,name:r("Getting started"),children:[{path:"/learn-the-basics",component:oi,name:r("Learn the basics"),completed:!1},{path:"/add-agents",component:ii,name:r("Add agents"),completed:!1},{path:"/add-departments",component:ai,name:r("Add departments"),completed:!1},{path:"/connect-email-accounts",component:li,name:r("Connect email accounts"),completed:!1},{path:"/connect-social-media",component:ci,name:r("Connect social media"),completed:!1},{path:"/connect-messaging-apps",component:ui,name:r("Connect messaging apps"),completed:!1},{path:"/create-contact-widget",component:fi,name:r("Create contact widget"),completed:!1},{path:"/create-call-center",component:di,name:r("Create call center"),completed:!1},{path:"/configure-customer-portal",component:Mi,name:r("Configure customer portal"),completed:!1}]},{path:"/shortcuts",component:Ni,name:r("Keyboard Shortcuts")},{path:"/improve-la-skills",component:Ui,name:r("Improve your LA Skills")},{path:"/contact-us",component:Gi,name:r("Contact Us")}];Pt("namedRoutes",l);const a={};return l.forEach(f=>{var h;n(0,a[f.path]=f.component,a),(h=f.children)==null||h.forEach(p=>{n(0,a[p.path]=p.component,a)})}),ze(()=>{Se.subscribe(f=>{let h=!1;const p=f;l.forEach(b=>{var m;(m=b.children)==null||m.forEach(w=>{f.some(_=>_.path===w.path)||(h=!0,p.push({path:w.path,state:w.completed?"c":"u"}))})}),h&&Se.set(p)})}),[a,s,o,i,()=>cr(),()=>cr(!1)]}class ra extends ae{constructor(t){super(),oe(this,t,Ah,Ch,ne,{},Sh)}}ie(ra,{},[],[],!0);const Lo=["ar-SA","bg-BG","bs-BA","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","es-ES","et-EE","fa-IR","fi-FI","fil-PH","fr-FR","he-IL","hr-HR","hu-HU","id-ID","it-IT","ja-JP","ko-KR","lt-LT","lv-LV","me-ME","mk-MK","ms-MY","nl-NL","no-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-CS","sv-SE","th-TH","tl-PH","tr-TR","uk-UA","vi-VN","vls-BE","zh-CN","zh-TW"];function jh(e){if(e!=null&&e.trim()!=""){const t=e.trim();if(Lo.find(s=>s===t)!=null)return t;const n=t.substring(0,2),r=Lo.find(s=>s.substring(0,2)===n);if(r!=null)return r}return null}var sa={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pi,function(){var n=1e3,r=6e4,s=36e5,o="millisecond",i="second",l="minute",a="hour",u="day",c="week",f="month",h="quarter",p="year",b="date",m="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var E=["th","st","nd","rd"],T=M%100;return"["+M+(E[(T-20)%10]||E[T]||E[0])+"]"}},P=function(M,E,T){var j=String(M);return!j||j.length>=E?M:""+Array(E+1-j.length).join(T)+M},A={s:P,z:function(M){var E=-M.utcOffset(),T=Math.abs(E),j=Math.floor(T/60),z=T%60;return(E<=0?"+":"-")+P(j,2,"0")+":"+P(z,2,"0")},m:function M(E,T){if(E.date()<T.date())return-M(T,E);var j=12*(T.year()-E.year())+(T.month()-E.month()),z=E.clone().add(j,f),K=T-z<0,J=E.clone().add(j+(K?-1:1),f);return+(-(j+(T-z)/(K?z-J:J-z))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:f,y:p,w:c,d:u,D:b,h:a,m:l,s:i,ms:o,Q:h}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},C="en",B={};B[C]=_;var G="$isDayjsObject",R=function(M){return M instanceof ee||!(!M||!M[G])},D=function M(E,T,j){var z;if(!E)return C;if(typeof E=="string"){var K=E.toLowerCase();B[K]&&(z=K),T&&(B[K]=T,z=K);var J=E.split("-");if(!z&&J.length>1)return M(J[0])}else{var V=E.name;B[V]=E,z=V}return!j&&z&&(C=z),z||!j&&C},Y=function(M,E){if(R(M))return M.clone();var T=typeof E=="object"?E:{};return T.date=M,T.args=arguments,new ee(T)},H=A;H.l=D,H.i=R,H.w=function(M,E){return Y(M,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ee=function(){function M(T){this.$L=D(T.locale,null,!0),this.parse(T),this.$x=this.$x||T.x||{},this[G]=!0}var E=M.prototype;return E.parse=function(T){this.$d=function(j){var z=j.date,K=j.utc;if(z===null)return new Date(NaN);if(H.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var J=z.match(w);if(J){var V=J[2]-1||0,re=(J[7]||"0").substring(0,3);return K?new Date(Date.UTC(J[1],V,J[3]||1,J[4]||0,J[5]||0,J[6]||0,re)):new Date(J[1],V,J[3]||1,J[4]||0,J[5]||0,J[6]||0,re)}}return new Date(z)}(T),this.init()},E.init=function(){var T=this.$d;this.$y=T.getFullYear(),this.$M=T.getMonth(),this.$D=T.getDate(),this.$W=T.getDay(),this.$H=T.getHours(),this.$m=T.getMinutes(),this.$s=T.getSeconds(),this.$ms=T.getMilliseconds()},E.$utils=function(){return H},E.isValid=function(){return this.$d.toString()!==m},E.isSame=function(T,j){var z=Y(T);return this.startOf(j)<=z&&z<=this.endOf(j)},E.isAfter=function(T,j){return Y(T)<this.startOf(j)},E.isBefore=function(T,j){return this.endOf(j)<Y(T)},E.$g=function(T,j,z){return H.u(T)?this[j]:this.set(z,T)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(T,j){var z=this,K=!!H.u(j)||j,J=H.p(T),V=function(Le,xe){var je=H.w(z.$u?Date.UTC(z.$y,xe,Le):new Date(z.$y,xe,Le),z);return K?je:je.endOf(u)},re=function(Le,xe){return H.w(z.toDate()[Le].apply(z.toDate("s"),(K?[0,0,0,0]:[23,59,59,999]).slice(xe)),z)},ve=this.$W,ye=this.$M,ke=this.$D,Ve="set"+(this.$u?"UTC":"");switch(J){case p:return K?V(1,0):V(31,11);case f:return K?V(1,ye):V(0,ye+1);case c:var Oe=this.$locale().weekStart||0,Qe=(ve<Oe?ve+7:ve)-Oe;return V(K?ke-Qe:ke+(6-Qe),ye);case u:case b:return re(Ve+"Hours",0);case a:return re(Ve+"Minutes",1);case l:return re(Ve+"Seconds",2);case i:return re(Ve+"Milliseconds",3);default:return this.clone()}},E.endOf=function(T){return this.startOf(T,!1)},E.$set=function(T,j){var z,K=H.p(T),J="set"+(this.$u?"UTC":""),V=(z={},z[u]=J+"Date",z[b]=J+"Date",z[f]=J+"Month",z[p]=J+"FullYear",z[a]=J+"Hours",z[l]=J+"Minutes",z[i]=J+"Seconds",z[o]=J+"Milliseconds",z)[K],re=K===u?this.$D+(j-this.$W):j;if(K===f||K===p){var ve=this.clone().set(b,1);ve.$d[V](re),ve.init(),this.$d=ve.set(b,Math.min(this.$D,ve.daysInMonth())).$d}else V&&this.$d[V](re);return this.init(),this},E.set=function(T,j){return this.clone().$set(T,j)},E.get=function(T){return this[H.p(T)]()},E.add=function(T,j){var z,K=this;T=Number(T);var J=H.p(j),V=function(ye){var ke=Y(K);return H.w(ke.date(ke.date()+Math.round(ye*T)),K)};if(J===f)return this.set(f,this.$M+T);if(J===p)return this.set(p,this.$y+T);if(J===u)return V(1);if(J===c)return V(7);var re=(z={},z[l]=r,z[a]=s,z[i]=n,z)[J]||1,ve=this.$d.getTime()+T*re;return H.w(ve,this)},E.subtract=function(T,j){return this.add(-1*T,j)},E.format=function(T){var j=this,z=this.$locale();if(!this.isValid())return z.invalidDate||m;var K=T||"YYYY-MM-DDTHH:mm:ssZ",J=H.z(this),V=this.$H,re=this.$m,ve=this.$M,ye=z.weekdays,ke=z.months,Ve=z.meridiem,Oe=function(xe,je,et,Me){return xe&&(xe[je]||xe(j,K))||et[je].slice(0,Me)},Qe=function(xe){return H.s(V%12||12,xe,"0")},Le=Ve||function(xe,je,et){var Me=xe<12?"AM":"PM";return et?Me.toLowerCase():Me};return K.replace(y,function(xe,je){return je||function(et){switch(et){case"YY":return String(j.$y).slice(-2);case"YYYY":return H.s(j.$y,4,"0");case"M":return ve+1;case"MM":return H.s(ve+1,2,"0");case"MMM":return Oe(z.monthsShort,ve,ke,3);case"MMMM":return Oe(ke,ve);case"D":return j.$D;case"DD":return H.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return Oe(z.weekdaysMin,j.$W,ye,2);case"ddd":return Oe(z.weekdaysShort,j.$W,ye,3);case"dddd":return ye[j.$W];case"H":return String(V);case"HH":return H.s(V,2,"0");case"h":return Qe(1);case"hh":return Qe(2);case"a":return Le(V,re,!0);case"A":return Le(V,re,!1);case"m":return String(re);case"mm":return H.s(re,2,"0");case"s":return String(j.$s);case"ss":return H.s(j.$s,2,"0");case"SSS":return H.s(j.$ms,3,"0");case"Z":return J}return null}(xe)||J.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(T,j,z){var K,J=this,V=H.p(j),re=Y(T),ve=(re.utcOffset()-this.utcOffset())*r,ye=this-re,ke=function(){return H.m(J,re)};switch(V){case p:K=ke()/12;break;case f:K=ke();break;case h:K=ke()/3;break;case c:K=(ye-ve)/6048e5;break;case u:K=(ye-ve)/864e5;break;case a:K=ye/s;break;case l:K=ye/r;break;case i:K=ye/n;break;default:K=ye}return z?K:H.a(K)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return B[this.$L]},E.locale=function(T,j){if(!T)return this.$L;var z=this.clone(),K=D(T,j,!0);return K&&(z.$L=K),z},E.clone=function(){return H.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},M}(),q=ee.prototype;return Y.prototype=q,[["$ms",o],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",b]].forEach(function(M){q[M[1]]=function(E){return this.$g(E,M[0],M[1])}}),Y.extend=function(M,E){return M.$i||(M(E,ee,Y),M.$i=!0),Y},Y.locale=D,Y.isDayjs=R,Y.unix=function(M){return Y(1e3*M)},Y.en=B[C],Y.Ls=B,Y.p={},Y})})(sa);var Ih=sa.exports;const Yt=Pr(Ih);var oa={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(pi,function(){return function(n,r,s){n=n||{};var o=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(u,c,f,h){return o.fromToBase(u,c,f,h)}s.en.relativeTime=i,o.fromToBase=function(u,c,f,h,p){for(var b,m,w,y=f.$locale().relativeTime||i,_=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],P=_.length,A=0;A<P;A+=1){var C=_[A];C.d&&(b=h?s(u).diff(f,C.d,!0):f.diff(u,C.d,!0));var B=(n.rounding||Math.round)(Math.abs(b));if(w=b>0,B<=C.r||!C.r){B<=1&&A>0&&(C=_[A-1]);var G=y[C.l];p&&(B=p(""+B)),m=typeof G=="string"?G.replace("%d",B):G(B,c,C.l,w);break}}if(c)return m;var R=w?y.future:y.past;return typeof R=="function"?R(m):R.replace("%s",m)},o.to=function(u,c){return l(u,c,this,!0)},o.from=function(u,c){return l(u,c,this)};var a=function(u){return u.$u?s.utc():s()};o.toNow=function(u){return this.to(a(this),u)},o.fromNow=function(u){return this.from(a(this),u)}}})})(oa);var Lh=oa.exports;const Oh=Pr(Lh);Yt.extend(Oh);function Bh(e){let t,n,r=[{title:e[2]},e[3],{datetime:e[1]}],s={};for(let o=0;o<r.length;o+=1)s=lt(s,r[o]);return{c(){t=x("time"),n=te(e[0]),as(t,s)},m(o,i){U(o,t,i),d(t,n)},p(o,[i]){i&1&&ya(n,o[0],s.contenteditable),as(t,s=nn(r,[i&4&&{title:o[2]},i&8&&o[3],i&2&&{datetime:o[1]}]))},i:Q,o:Q,d(o){o&&F(t)}}}function Rh(e,t,n){let r;const s=["timestamp","format","relative","live","formatted"];let o=is(t,s),{timestamp:i=new Date().toISOString()}=t,{format:l="MMM DD, YYYY"}=t,{relative:a=!1}=t,{live:u=!1}=t,{formatted:c=""}=t,f;const h=60*1e3;return ze(()=>()=>clearInterval(f)),e.$$set=p=>{t=lt(lt({},t),da(p)),n(3,o=is(t,s)),"timestamp"in p&&n(1,i=p.timestamp),"format"in p&&n(4,l=p.format),"relative"in p&&n(5,a=p.relative),"live"in p&&n(6,u=p.live),"formatted"in p&&n(0,c=p.formatted)},e.$$.update=()=>{e.$$.dirty&98&&a&&u!==!1&&(f=setInterval(()=>{n(0,c=Yt(i).from())},Math.abs(typeof u=="number"?u:h))),e.$$.dirty&50&&n(0,c=a?Yt(i).from():Yt(i).format(l)),e.$$.dirty&50&&n(2,r=a?Yt(i).format(l):void 0)},[c,i,r,o,l,a,u]}class Hh extends ae{constructor(t){super(),oe(this,t,Rh,Bh,ne,{timestamp:1,format:4,relative:5,live:6,formatted:0})}get timestamp(){return this.$$.ctx[1]}set timestamp(t){this.$$set({timestamp:t}),W()}get format(){return this.$$.ctx[4]}set format(t){this.$$set({format:t}),W()}get relative(){return this.$$.ctx[5]}set relative(t){this.$$set({relative:t}),W()}get live(){return this.$$.ctx[6]}set live(t){this.$$set({live:t}),W()}get formatted(){return this.$$.ctx[0]}set formatted(t){this.$$set({formatted:t}),W()}}ie(Hh,{timestamp:{},format:{},relative:{type:"Boolean"},live:{type:"Boolean"},formatted:{}},[],[],!0);const en="en-US";let or,In=en;function Mh(e,t,n){if(or!==void 0)return;or=e;let r={fallbackLocale:en};Js(en,t);const s=jh(or.locale);s!==null&&s!==en&&(In=s,r.initialLocale=In,Js(In,n)),Zu(r)}function Dh(e){let t,n;return t=new ra({}),{c(){O(t.$$.fragment)},m(r,s){I(t,r,s),n=!0},i(r){n||($(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){L(t,r)}}}function zh(e){let t;return{c(){t=x("p"),t.textContent="Loading..."},m(n,r){U(n,t,r)},i:Q,o:Q,d(n){n&&F(t)}}}function Nh(e){let t,n,r,s,o,i;const l=[zh,Dh],a=[];function u(c,f){return c[1]?0:1}return t=u(e),n=a[t]=l[t](e),{c(){n.c(),r=k(),s=x("link"),g(s,"rel","stylesheet"),g(s,"href",o=e[0].basePath+"/themes/agent/_common_templates/icons_mapping.css")},m(c,f){a[t].m(c,f),U(c,r,f),U(c,s,f),i=!0},p(c,[f]){let h=t;t=u(c),t!==h&&(Ce(),S(a[h],1,1,()=>{a[h]=null}),Ae(),n=a[t],n||(n=a[t]=l[t](c),n.c()),$(n,1),n.m(r.parentNode,r)),(!i||f&1&&o!==(o=c[0].basePath+"/themes/agent/_common_templates/icons_mapping.css"))&&g(s,"href",o)},i(c){i||($(n),i=!0)},o(c){S(n),i=!1},d(c){c&&(F(r),F(s)),a[t].d(c)}}}function Fh(e,t,n){let r;pe(e,Cn,a=>n(1,r=a));let{darkModeEnabled:s=!1}=t,{implemented:o=!1}=t,{menuOpened:i=!1}=t,{options:l={basePath:"",localeOptions:{thousandsSeparator:"S",decimalSeparator:"D",dateFormat:"MM/d/yyyy",timeFormat:"HH:mm:ss",timeShortFormat:"HH:mm",locale:"sk"}}}=t;return Mh(l.localeOptions,()=>ss(Object.assign({"./locales/ar-SA.json":()=>N(()=>import("./ar-SA.js"),[]),"./locales/bg-BG.json":()=>N(()=>import("./bg-BG.js"),[]),"./locales/bs-BA.json":()=>N(()=>import("./bs-BA.js"),[]),"./locales/ca-ES.json":()=>N(()=>import("./ca-ES.js"),[]),"./locales/cs-CZ.json":()=>N(()=>import("./cs-CZ.js"),[]),"./locales/da-DK.json":()=>N(()=>import("./da-DK.js"),[]),"./locales/de-DE.json":()=>N(()=>import("./de-DE.js"),[]),"./locales/el-GR.json":()=>N(()=>import("./el-GR.js"),[]),"./locales/en-US.json":()=>N(()=>import("./en-US.js"),[]),"./locales/en.json":()=>N(()=>import("./en.js"),[]),"./locales/es-ES.json":()=>N(()=>import("./es-ES.js"),[]),"./locales/et-EE.json":()=>N(()=>import("./et-EE.js"),[]),"./locales/fa-IR.json":()=>N(()=>import("./fa-IR.js"),[]),"./locales/fi-FI.json":()=>N(()=>import("./fi-FI.js"),[]),"./locales/fil-PH.json":()=>N(()=>import("./fil-PH.js"),[]),"./locales/fr-FR.json":()=>N(()=>import("./fr-FR.js"),[]),"./locales/he-IL.json":()=>N(()=>import("./he-IL.js"),[]),"./locales/hr-HR.json":()=>N(()=>import("./hr-HR.js"),[]),"./locales/hu-HU.json":()=>N(()=>import("./hu-HU.js"),[]),"./locales/id-ID.json":()=>N(()=>import("./id-ID.js"),[]),"./locales/it-IT.json":()=>N(()=>import("./it-IT.js"),[]),"./locales/ja-JP.json":()=>N(()=>import("./ja-JP.js"),[]),"./locales/ko-KR.json":()=>N(()=>import("./ko-KR.js"),[]),"./locales/lt-LT.json":()=>N(()=>import("./lt-LT.js"),[]),"./locales/lv-LV.json":()=>N(()=>import("./lv-LV.js"),[]),"./locales/me-ME.json":()=>N(()=>import("./me-ME.js"),[]),"./locales/mk-MK.json":()=>N(()=>import("./mk-MK.js"),[]),"./locales/ms-MY.json":()=>N(()=>import("./ms-MY.js"),[]),"./locales/nl-NL.json":()=>N(()=>import("./nl-NL.js"),[]),"./locales/no-NO.json":()=>N(()=>import("./no-NO.js"),[]),"./locales/pl-PL.json":()=>N(()=>import("./pl-PL.js"),[]),"./locales/pt-BR.json":()=>N(()=>import("./pt-BR.js"),[]),"./locales/ro-RO.json":()=>N(()=>import("./ro-RO.js"),[]),"./locales/ru-RU.json":()=>N(()=>import("./ru-RU.js"),[]),"./locales/sk-SK.json":()=>N(()=>import("./sk-SK.js"),[]),"./locales/sl-SI.json":()=>N(()=>import("./sl-SI.js"),[]),"./locales/sr-CS.json":()=>N(()=>import("./sr-CS.js"),[]),"./locales/sv-SE.json":()=>N(()=>import("./sv-SE.js"),[]),"./locales/th-TH.json":()=>N(()=>import("./th-TH.js"),[]),"./locales/tl-PH.json":()=>N(()=>import("./tl-PH.js"),[]),"./locales/tr-TR.json":()=>N(()=>import("./tr-TR.js"),[]),"./locales/uk-UA.json":()=>N(()=>import("./uk-UA.js"),[]),"./locales/vi-VN.json":()=>N(()=>import("./vi-VN.js"),[]),"./locales/vls-BE.json":()=>N(()=>import("./vls-BE.js"),[]),"./locales/zh-CN.json":()=>N(()=>import("./zh-CN.js"),[]),"./locales/zh-TW.json":()=>N(()=>import("./zh-TW.js"),[])}),`./locales/${en}.json`),()=>ss(Object.assign({"./locales/ar-SA.json":()=>N(()=>import("./ar-SA.js"),[]),"./locales/bg-BG.json":()=>N(()=>import("./bg-BG.js"),[]),"./locales/bs-BA.json":()=>N(()=>import("./bs-BA.js"),[]),"./locales/ca-ES.json":()=>N(()=>import("./ca-ES.js"),[]),"./locales/cs-CZ.json":()=>N(()=>import("./cs-CZ.js"),[]),"./locales/da-DK.json":()=>N(()=>import("./da-DK.js"),[]),"./locales/de-DE.json":()=>N(()=>import("./de-DE.js"),[]),"./locales/el-GR.json":()=>N(()=>import("./el-GR.js"),[]),"./locales/en-US.json":()=>N(()=>import("./en-US.js"),[]),"./locales/en.json":()=>N(()=>import("./en.js"),[]),"./locales/es-ES.json":()=>N(()=>import("./es-ES.js"),[]),"./locales/et-EE.json":()=>N(()=>import("./et-EE.js"),[]),"./locales/fa-IR.json":()=>N(()=>import("./fa-IR.js"),[]),"./locales/fi-FI.json":()=>N(()=>import("./fi-FI.js"),[]),"./locales/fil-PH.json":()=>N(()=>import("./fil-PH.js"),[]),"./locales/fr-FR.json":()=>N(()=>import("./fr-FR.js"),[]),"./locales/he-IL.json":()=>N(()=>import("./he-IL.js"),[]),"./locales/hr-HR.json":()=>N(()=>import("./hr-HR.js"),[]),"./locales/hu-HU.json":()=>N(()=>import("./hu-HU.js"),[]),"./locales/id-ID.json":()=>N(()=>import("./id-ID.js"),[]),"./locales/it-IT.json":()=>N(()=>import("./it-IT.js"),[]),"./locales/ja-JP.json":()=>N(()=>import("./ja-JP.js"),[]),"./locales/ko-KR.json":()=>N(()=>import("./ko-KR.js"),[]),"./locales/lt-LT.json":()=>N(()=>import("./lt-LT.js"),[]),"./locales/lv-LV.json":()=>N(()=>import("./lv-LV.js"),[]),"./locales/me-ME.json":()=>N(()=>import("./me-ME.js"),[]),"./locales/mk-MK.json":()=>N(()=>import("./mk-MK.js"),[]),"./locales/ms-MY.json":()=>N(()=>import("./ms-MY.js"),[]),"./locales/nl-NL.json":()=>N(()=>import("./nl-NL.js"),[]),"./locales/no-NO.json":()=>N(()=>import("./no-NO.js"),[]),"./locales/pl-PL.json":()=>N(()=>import("./pl-PL.js"),[]),"./locales/pt-BR.json":()=>N(()=>import("./pt-BR.js"),[]),"./locales/ro-RO.json":()=>N(()=>import("./ro-RO.js"),[]),"./locales/ru-RU.json":()=>N(()=>import("./ru-RU.js"),[]),"./locales/sk-SK.json":()=>N(()=>import("./sk-SK.js"),[]),"./locales/sl-SI.json":()=>N(()=>import("./sl-SI.js"),[]),"./locales/sr-CS.json":()=>N(()=>import("./sr-CS.js"),[]),"./locales/sv-SE.json":()=>N(()=>import("./sv-SE.js"),[]),"./locales/th-TH.json":()=>N(()=>import("./th-TH.js"),[]),"./locales/tl-PH.json":()=>N(()=>import("./tl-PH.js"),[]),"./locales/tr-TR.json":()=>N(()=>import("./tr-TR.js"),[]),"./locales/uk-UA.json":()=>N(()=>import("./uk-UA.js"),[]),"./locales/vi-VN.json":()=>N(()=>import("./vi-VN.js"),[]),"./locales/vls-BE.json":()=>N(()=>import("./vls-BE.js"),[]),"./locales/zh-CN.json":()=>N(()=>import("./zh-CN.js"),[]),"./locales/zh-TW.json":()=>N(()=>import("./zh-TW.js"),[])}),`./locales/${In}.json`)),Pt("basePath",l.basePath),Pt("iconBasePath","public/assets/icons/"),Pt("imageBasePath","public/assets/images/"),Pt("OS","win"),Pt("isImplemented",o),e.$$set=a=>{"darkModeEnabled"in a&&n(2,s=a.darkModeEnabled),"implemented"in a&&n(3,o=a.implemented),"menuOpened"in a&&n(4,i=a.menuOpened),"options"in a&&n(0,l=a.options)},e.$$.update=()=>{e.$$.dirty&4&&Dn.set(s),e.$$.dirty&16&&zn.set(i)},[l,r,s,o,i]}class Uh extends ae{constructor(t){super(),oe(this,t,Fh,Nh,ne,{darkModeEnabled:2,implemented:3,menuOpened:4,options:0})}get darkModeEnabled(){return this.$$.ctx[2]}set darkModeEnabled(t){this.$$set({darkModeEnabled:t}),W()}get implemented(){return this.$$.ctx[3]}set implemented(t){this.$$set({implemented:t}),W()}get menuOpened(){return this.$$.ctx[4]}set menuOpened(t){this.$$set({menuOpened:t}),W()}get options(){return this.$$.ctx[0]}set options(t){this.$$set({options:t}),W()}}customElements.define("help-center",ie(Uh,{darkModeEnabled:{type:"Boolean"},implemented:{type:"Boolean"},menuOpened:{type:"Boolean"},options:{}},[],[],!0));
|
8
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const Dc={fallbackLocale:null,loadingDelay:200,formats:Hc,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Qt=Dc;function zt(){return Qt}function Nc(e){const t=e,{formats:n}=t,r=Rc(t,["formats"]);let o=e.fallbackLocale;if(e.initialLocale)try{xi.resolveLocale(e.initialLocale)&&(o=e.initialLocale)}catch{console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=Mc:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Qt,r,{initialLocale:o}),n&&("number"in n&&Object.assign(Qt.formats.number,n.number),"date"in n&&Object.assign(Qt.formats.date,n.date),"time"in n&&Object.assign(Qt.formats.time,n.time)),Gt.set(o)}const jn=lt(!1);var zc=Object.defineProperty,Fc=Object.defineProperties,Uc=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,Vc=Object.prototype.hasOwnProperty,Gc=Object.prototype.propertyIsEnumerable,Ro=(e,t,n)=>t in e?zc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qc=(e,t)=>{for(var n in t||(t={}))Vc.call(t,n)&&Ro(e,n,t[n]);if(Bo)for(var n of Bo(t))Gc.call(t,n)&&Ro(e,n,t[n]);return e},Wc=(e,t)=>Fc(e,Uc(t));let wr;const qn=lt(null);function Ho(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function dn(e,t=zt().fallbackLocale){const n=Ho(e);return t?[...new Set([...n,...Ho(t)])]:n}function yt(){return wr??void 0}qn.subscribe(e=>{wr=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Xc=e=>{if(e&&Pc(e)&&Gn(e)){const{loadingDelay:t}=zt();let n;return typeof window<"u"&&yt()!=null&&t?n=window.setTimeout(()=>jn.set(!0),t):jn.set(!0),ki(e).then(()=>{qn.set(e)}).finally(()=>{clearTimeout(n),jn.set(!1)})}return qn.set(e)},Gt=Wc(qc({},qn),{set:Xc}),er=e=>{const t=Object.create(null);return r=>{const o=JSON.stringify(r);return o in t?t[o]:t[o]=e(r)}};var Yc=Object.defineProperty,Wn=Object.getOwnPropertySymbols,$i=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Mo=(e,t,n)=>t in e?Yc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mr=(e,t)=>{for(var n in t||(t={}))$i.call(t,n)&&Mo(e,n,t[n]);if(Wn)for(var n of Wn(t))Ti.call(t,n)&&Mo(e,n,t[n]);return e},qt=(e,t)=>{var n={};for(var r in e)$i.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wn)for(var r of Wn(e))t.indexOf(r)<0&&Ti.call(e,r)&&(n[r]=e[r]);return n};const pn=(e,t)=>{const{formats:n}=zt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Kc=er(e=>{var t=e,{locale:n,format:r}=t,o=qt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=pn("number",r)),new Intl.NumberFormat(n,o)}),Zc=er(e=>{var t=e,{locale:n,format:r}=t,o=qt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=pn("date",r):Object.keys(o).length===0&&(o=pn("date","short")),new Intl.DateTimeFormat(n,o)}),Jc=er(e=>{var t=e,{locale:n,format:r}=t,o=qt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=pn("time",r):Object.keys(o).length===0&&(o=pn("time","short")),new Intl.DateTimeFormat(n,o)}),Qc=(e={})=>{var t=e,{locale:n=yt()}=t,r=qt(t,["locale"]);return Kc(Mr({locale:n},r))},eu=(e={})=>{var t=e,{locale:n=yt()}=t,r=qt(t,["locale"]);return Zc(Mr({locale:n},r))},tu=(e={})=>{var t=e,{locale:n=yt()}=t,r=qt(t,["locale"]);return Jc(Mr({locale:n},r))},nu=er((e,t=yt())=>new xi(e,t,zt().formats,{ignoreTag:zt().ignoreTag})),ru=(e,t={})=>{var n,r,o,s;let i=t;typeof e=="object"&&(i=e,e=i.id);const{values:a,locale:l=yt(),default:c}=i;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=wi(e,l);if(!u)u=(s=(o=(r=(n=zt()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))!=null?o:c)!=null?s:e;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!a)return u;let f=u;try{f=nu(u,l).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return f},ou=(e,t)=>tu(t).format(e),su=(e,t)=>eu(t).format(e),iu=(e,t)=>Qc(t).format(e),au=(e,t=yt())=>wi(e,t),Ye=ct([Gt,Vt],()=>ru);ct([Gt],()=>ou);ct([Gt],()=>su);ct([Gt],()=>iu);ct([Gt,Vt],()=>au);function lu(e){ve(e,"svelte-ca79bg",'.Summary.svelte-ca79bg.svelte-ca79bg{width:100%;height:100%}.wrapper.svelte-ca79bg.svelte-ca79bg{height:calc(100% - 100px);margin-top:12px;padding:20px 36px;background-color:var(--background-secondary);border:1px solid var(--border-color-primary);overflow:hidden auto;border-radius:6px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-color) var(--background-color-secondary);box-sizing:border-box}.wrapper.svelte-ca79bg.svelte-ca79bg::-webkit-scrollbar{width:4px}.wrapper.svelte-ca79bg.svelte-ca79bg::-webkit-scrollbar-track{background:var(--background-color-secondary)}.wrapper.svelte-ca79bg.svelte-ca79bg::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:6px}.Block.svelte-ca79bg.svelte-ca79bg{margin-top:10px;padding:16px 24px;border-radius:6px}.Shortcuts.svelte-ca79bg.svelte-ca79bg{background-color:var(--background-color-yellow-primary)}.Secrets.svelte-ca79bg.svelte-ca79bg{background-color:var(--background-color-pink-primary)}.heading.svelte-ca79bg.svelte-ca79bg{color:var(--text-color-primary);margin-top:0;font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.heading.svelte-ca79bg.svelte-ca79bg::before{content:"";display:inline-block;margin-right:8px;margin-top:-3px;height:16px;width:16px;background-size:contain;background-repeat:no-repeat;vertical-align:middle}.Shortcuts.svelte-ca79bg .heading.svelte-ca79bg::before{content:url("public/assets/icons/shortcuts.svg")}.Secrets.svelte-ca79bg .heading.svelte-ca79bg::before{content:url("public/assets/icons/learn.svg")}section.svelte-ca79bg.svelte-ca79bg{padding:0 24px;margin-bottom:24px}img.svelte-ca79bg.svelte-ca79bg{width:100%;margin:24px 0}@media(min-width: 768px){.Summary.svelte-ca79bg.svelte-ca79bg{max-width:615px;height:calc(100% - 170px)}}')}function cu(e){let t,n;return t=new wt({props:{text:e[0]("reach out"),punctuation:"!",href:"/#/contact-us"}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,o){const s={};o&1&&(s.text=r[0]("reach out")),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function uu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k=e[0]("Shortcuts")+"",E,L,C,I,z,X,F,U,ne=e[0]("Discover the secrets of LiveAgent")+"",te,Y,A,M,j,D;return n=new jr({}),c=new Ae({props:{text:e[0]("You are all set")+"! 😎"}}),f=new ge({props:{text:e[0]("You've successfully completed all the steps in setting up your LiveAgent Helpdesk software.")}}),m=new ge({props:{text:e[0]("Make sure to experiment with all the various features and tools available. Remember, the key to success with software like this is to make full use of its capabilities. Stay curious, innovative, and always ready for meaningful customer interactions.We're thrilled to see how this platform will help you boost your customer interactions, improve response times, and enhance overall customer satisfaction.")}}),y=new ge({props:{text:e[0]("In case you need any assistance or have queries, our support is just a click away. Never hesitate to "),$$slots:{default:[cu]},$$scope:{ctx:e}}}),C=new ge({props:{text:e[0]("Would you like to navigate through LiveAgent more quickly and efficiently? Familiarizing yourself with available shortcuts will certainly speed up your tasks and enhance your productivity. Visit our dedicated shortcuts page. ")}}),z=new wt({props:{text:e[0]("Check out shortcuts"),href:"/#/windows-shortcuts"}}),A=new ge({props:{text:e[0]("And for those eager to delve deeper and truly master LiveAgent, we've gathered a collection of how-to articles and guides covering a wide range of topics. So go ahead and start exploring.")}}),j=new wt({props:{text:e[0]("Improve your LiveAgent skills"),href:"/#/improve-la-skills"}}),{c(){t=_("div"),H(n.$$.fragment),r=$(),o=_("div"),s=_("section"),i=_("img"),l=$(),H(c.$$.fragment),u=$(),H(f.$$.fragment),p=$(),H(m.$$.fragment),d=$(),H(y.$$.fragment),x=$(),v=_("div"),w=_("h3"),E=ee(k),L=$(),H(C.$$.fragment),I=$(),H(z.$$.fragment),X=$(),F=_("div"),U=_("h3"),te=ee(ne),Y=$(),H(A.$$.fragment),M=$(),H(j.$$.fragment),pe(i.src,a="public/assets/images/all-done.svg")||g(i,"src",a),g(i,"alt","all done"),g(i,"class","svelte-ca79bg"),g(s,"class","svelte-ca79bg"),g(w,"class","heading svelte-ca79bg"),g(v,"class","Block Shortcuts svelte-ca79bg"),g(U,"class","heading svelte-ca79bg"),g(F,"class","Block Secrets svelte-ca79bg"),g(o,"class","wrapper svelte-ca79bg"),g(t,"class","Summary svelte-ca79bg")},m(P,N){q(P,t,N),B(n,t,null),h(t,r),h(t,o),h(o,s),h(s,i),h(s,l),B(c,s,null),h(s,u),B(f,s,null),h(s,p),B(m,s,null),h(s,d),B(y,s,null),h(o,x),h(o,v),h(v,w),h(w,E),h(v,L),B(C,v,null),h(v,I),B(z,v,null),h(o,X),h(o,F),h(F,U),h(U,te),h(F,Y),B(A,F,null),h(F,M),B(j,F,null),D=!0},p(P,[N]){const oe={};N&1&&(oe.text=P[0]("You are all set")+"! 😎"),c.$set(oe);const J={};N&1&&(J.text=P[0]("You've successfully completed all the steps in setting up your LiveAgent Helpdesk software.")),f.$set(J);const le={};N&1&&(le.text=P[0]("Make sure to experiment with all the various features and tools available. Remember, the key to success with software like this is to make full use of its capabilities. Stay curious, innovative, and always ready for meaningful customer interactions.We're thrilled to see how this platform will help you boost your customer interactions, improve response times, and enhance overall customer satisfaction.")),m.$set(le);const O={};N&1&&(O.text=P[0]("In case you need any assistance or have queries, our support is just a click away. Never hesitate to ")),N&3&&(O.$$scope={dirty:N,ctx:P}),y.$set(O),(!D||N&1)&&k!==(k=P[0]("Shortcuts")+"")&&ae(E,k);const Z={};N&1&&(Z.text=P[0]("Would you like to navigate through LiveAgent more quickly and efficiently? Familiarizing yourself with available shortcuts will certainly speed up your tasks and enhance your productivity. Visit our dedicated shortcuts page. ")),C.$set(Z);const ye={};N&1&&(ye.text=P[0]("Check out shortcuts")),z.$set(ye),(!D||N&1)&&ne!==(ne=P[0]("Discover the secrets of LiveAgent")+"")&&ae(te,ne);const we={};N&1&&(we.text=P[0]("And for those eager to delve deeper and truly master LiveAgent, we've gathered a collection of how-to articles and guides covering a wide range of topics. So go ahead and start exploring.")),A.$set(we);const ke={};N&1&&(ke.text=P[0]("Improve your LiveAgent skills")),j.$set(ke)},i(P){D||(T(n.$$.fragment,P),T(c.$$.fragment,P),T(f.$$.fragment,P),T(m.$$.fragment,P),T(y.$$.fragment,P),T(C.$$.fragment,P),T(z.$$.fragment,P),T(A.$$.fragment,P),T(j.$$.fragment,P),D=!0)},o(P){S(n.$$.fragment,P),S(c.$$.fragment,P),S(f.$$.fragment,P),S(m.$$.fragment,P),S(y.$$.fragment,P),S(C.$$.fragment,P),S(z.$$.fragment,P),S(A.$$.fragment,P),S(j.$$.fragment,P),D=!1},d(P){P&&V(t),R(n),R(c),R(f),R(m),R(y),R(C),R(z),R(A),R(j)}}}function fu(e,t,n){let r;return me(e,Ye,o=>n(0,r=o)),[r]}class Ei extends he{constructor(t){super(),ue(this,t,fu,uu,ce,{},lu)}}fe(Ei,{},[],[],!0);function hu(e){ve(e,"svelte-17ps4m1","button.svelte-17ps4m1.svelte-17ps4m1{display:flex;height:36px;padding:6px 20px;justify-content:center;align-items:center;border:none;border-radius:6px;background-color:var(--button-color-blue);box-shadow:var(--shadow-primary);gap:6px;cursor:pointer}.reversed.svelte-17ps4m1.svelte-17ps4m1{background-color:var(--button-color-grey);border:1px solid var(--border-color-primary)}.next-step.svelte-17ps4m1.svelte-17ps4m1{margin:21px 0}.reversed.svelte-17ps4m1>span.svelte-17ps4m1{color:var(--button-text-color-secondary-local)}button.svelte-17ps4m1.svelte-17ps4m1:disabled{background-color:var(--button-color-disabled);box-shadow:var(--shadow-secondary);cursor:default}span.svelte-17ps4m1.svelte-17ps4m1{color:var(--button-text-color-primary-local);font-weight:700;white-space:nowrap}")}function Do(e){let t,n;return{c(){t=_("img"),g(t,"class","icon"),pe(t.src,n=e[2])||g(t,"src",n),g(t,"alt",e[3])},m(r,o){q(r,t,o)},p(r,o){o&4&&!pe(t.src,n=r[2])&&g(t,"src",n),o&8&&g(t,"alt",r[3])},d(r){r&&V(t)}}}function pu(e){let t,n,r,o,s,i,a,l=e[2]&&Do(e);return{c(){t=_("button"),n=_("span"),r=ee(e[1]),o=$(),l&&l.c(),g(n,"class","svelte-17ps4m1"),t.disabled=e[4],g(t,"class",s=Hn(No(e[5],e[6]))+" svelte-17ps4m1"),W(t,"--button-text-color-primary-local",e[7].buttonsSwitchesTabs.textsIcons.buttonTextIconsPrimary),W(t,"--button-text-color-secondary-local",e[7].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack),W(t,"--shadow-primary","0px -1px 1px 0px rgba(4, 79, 173, 0.10) inset, 0px 1px 0px 0px rgba(30, 34, 39, 0.12)"),W(t,"--shadow-secondary","0px 1px 0px 1px rgba(30, 34, 39, 0.32) inset, 0px 1px 0px 0px rgba(30, 34, 39, 0.04)")},m(c,u){q(c,t,u),h(t,n),h(n,r),h(t,o),l&&l.m(t,null),i||(a=Xe(t,"click",function(){kt(e[0])&&e[0].apply(this,arguments)}),i=!0)},p(c,[u]){e=c,u&2&&ae(r,e[1]),e[2]?l?l.p(e,u):(l=Do(e),l.c(),l.m(t,null)):l&&(l.d(1),l=null),u&16&&(t.disabled=e[4]),u&96&&s!==(s=Hn(No(e[5],e[6]))+" svelte-17ps4m1")&&g(t,"class",s),u&128&&W(t,"--button-text-color-primary-local",e[7].buttonsSwitchesTabs.textsIcons.buttonTextIconsPrimary),u&128&&W(t,"--button-text-color-secondary-local",e[7].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack)},i:re,o:re,d(c){c&&V(t),l&&l.d(),i=!1,a()}}}function No(e,t){let n="";return console.log("new button"),e&&(n+="reversed"),console.log(`reversedColors: ${e} , isNextStepButton: ${t}`),t&&(n+="next-step"),console.log(n),n}function du(e,t,n){let r;me(e,bt,f=>n(7,r=f));let{onClick:o}=t,{text:s}=t,{src:i=""}=t,{alt:a=""}=t,{disabled:l=!1}=t,{reversedColors:c=!1}=t,{isNextStepButton:u=!1}=t;return e.$$set=f=>{"onClick"in f&&n(0,o=f.onClick),"text"in f&&n(1,s=f.text),"src"in f&&n(2,i=f.src),"alt"in f&&n(3,a=f.alt),"disabled"in f&&n(4,l=f.disabled),"reversedColors"in f&&n(5,c=f.reversedColors),"isNextStepButton"in f&&n(6,u=f.isNextStepButton)},[o,s,i,a,l,c,u,r]}class gn extends he{constructor(t){super(),ue(this,t,du,pu,ce,{onClick:0,text:1,src:2,alt:3,disabled:4,reversedColors:5,isNextStepButton:6},hu)}get onClick(){return this.$$.ctx[0]}set onClick(t){this.$$set({onClick:t}),K()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),K()}get src(){return this.$$.ctx[2]}set src(t){this.$$set({src:t}),K()}get alt(){return this.$$.ctx[3]}set alt(t){this.$$set({alt:t}),K()}get disabled(){return this.$$.ctx[4]}set disabled(t){this.$$set({disabled:t}),K()}get reversedColors(){return this.$$.ctx[5]}set reversedColors(t){this.$$set({reversedColors:t}),K()}get isNextStepButton(){return this.$$.ctx[6]}set isNextStepButton(t){this.$$set({isNextStepButton:t}),K()}}fe(gn,{onClick:{},text:{},src:{},alt:{},disabled:{type:"Boolean"},reversedColors:{type:"Boolean"},isNextStepButton:{type:"Boolean"}},[],[],!0);function gu(e){ve(e,"svelte-v9kj38",'.Step.svelte-v9kj38{width:100%;height:100%;overflow:hidden}article.svelte-v9kj38{position:relative;display:block;height:100%;width:100%;padding:20px;margin-bottom:20px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scrollbar-color) var(--background-color-secondary)}article.svelte-v9kj38::-webkit-scrollbar{width:4px}article.svelte-v9kj38::-webkit-scrollbar-track{background:var(--background-color-secondary)}article.svelte-v9kj38::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:6px}.content.svelte-v9kj38{display:flex;flex-direction:column;padding:0 24px;height:calc(100% - 90px)}.header.svelte-v9kj38{display:flex;justify-content:space-between;align-items:center;padding:0 20px;margin-top:20px;margin-bottom:10px}.heading.svelte-v9kj38{display:flex;justify-content:center;align-items:center}.title.svelte-v9kj38{display:flex;align-items:center;margin:0;color:var(--text-color-primary);font-size:13px;font-weight:700;line-height:20px}.icon.svelte-v9kj38{display:inline-block;margin-right:5px;height:24px;width:24px;background-size:contain;background-repeat:no-repeat}.skipButton.svelte-v9kj38{position:relative;padding-right:20px;background:none;border:none;color:var(--text-color-secondary);font-size:13px;font-weight:700;line-height:20px;cursor:pointer}.skipButton.svelte-v9kj38::after{content:url("public/assets/icons/arrow-right.svg");position:absolute;top:3px;right:0;width:16px;height:16px}.nextStep.svelte-v9kj38{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 -24px;padding:20px 36px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary)}.nextStepText.svelte-v9kj38{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}@media(min-width: 768px){.Step.svelte-v9kj38{max-width:630px;overflow:hidden}.content.svelte-v9kj38{padding:0;height:calc(100% - 170px)}article.svelte-v9kj38{height:calc(100% - 100px);padding:20px 35px;margin-bottom:0}.header.svelte-v9kj38{padding:0}.nextStep.svelte-v9kj38{bottom:40px;padding:6px 36px;margin:-5px 0 0;border-radius:6px}}')}function zo(e){let t,n=e[4]("Skip this step")+"",r,o,s;return{c(){t=_("button"),r=ee(n),g(t,"class","skipButton svelte-v9kj38")},m(i,a){q(i,t,a),h(t,r),o||(s=Xe(t,"click",e[10]),o=!0)},p(i,a){a&16&&n!==(n=i[4]("Skip this step")+"")&&ae(r,n)},d(i){i&&V(t),o=!1,s()}}}function mu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C;n=new jr({});let I=!e[0]&&zo(e);const z=e[18].default,X=Xn(z,e,e[17],null);return L=new gn({props:{disabled:e[5],onClick:e[9],text:e[6],src:e[7],alt:e[8],isNextStepButton:!0}}),{c(){t=_("div"),H(n.$$.fragment),r=$(),o=_("div"),s=_("div"),i=_("img"),c=$(),u=_("h1"),f=ee(e[2]),p=$(),I&&I.c(),m=$(),d=_("div"),y=_("article"),X&&X.c(),x=$(),v=_("section"),w=_("p"),k=ee(e[1]),E=$(),H(L.$$.fragment),g(i,"class","icon svelte-v9kj38"),pe(i.src,a=e[3])||g(i,"src",a),g(i,"alt",l=e[4]("heading icon")),g(u,"class","title svelte-v9kj38"),g(s,"class","heading svelte-v9kj38"),g(o,"class","header svelte-v9kj38"),g(y,"class","svelte-v9kj38"),g(w,"class","nextStepText svelte-v9kj38"),g(v,"class","nextStep svelte-v9kj38"),g(d,"class","content svelte-v9kj38"),g(t,"class","Step svelte-v9kj38")},m(F,U){q(F,t,U),B(n,t,null),h(t,r),h(t,o),h(o,s),h(s,i),h(s,c),h(s,u),h(u,f),h(o,p),I&&I.m(o,null),h(t,m),h(t,d),h(d,y),X&&X.m(y,null),h(d,x),h(d,v),h(v,w),h(w,k),h(v,E),B(L,v,null),C=!0},p(F,[U]){(!C||U&8&&!pe(i.src,a=F[3]))&&g(i,"src",a),(!C||U&16&&l!==(l=F[4]("heading icon")))&&g(i,"alt",l),(!C||U&4)&&ae(f,F[2]),F[0]?I&&(I.d(1),I=null):I?I.p(F,U):(I=zo(F),I.c(),I.m(o,null)),X&&X.p&&(!C||U&131072)&&Kn(X,z,F,F[17],C?Yn(z,F[17],U,null):Zn(F[17]),null),(!C||U&2)&&ae(k,F[1]);const ne={};U&32&&(ne.disabled=F[5]),U&64&&(ne.text=F[6]),U&128&&(ne.src=F[7]),U&256&&(ne.alt=F[8]),L.$set(ne)},i(F){C||(T(n.$$.fragment,F),T(X,F),T(L.$$.fragment,F),C=!0)},o(F){S(n.$$.fragment,F),S(X,F),S(L.$$.fragment,F),C=!1},d(F){F&&V(t),R(n),I&&I.d(),X&&X.d(F),R(L)}}}function vu(e,t,n){let r,o;me(e,Ye,C=>n(4,o=C));let{$$slots:s={},$$scope:i}=t,{hideSkipStepButton:a=!1}=t,{headerTitle:l}=t,{headerIconPath:c}=t,{nextStepCase:u}=t,{nextStepText:f=""}=t,{nextStepUnfinishedText:p}=t,{nextStepFinishedText:m}=t,{path:d}=t,{stepFinished:y=!1}=t,x=!1,v="Next step",w="public/assets/icons/next.svg",k="next";function E(){Ga(d)}function L(){Va(d)}return e.$$set=C=>{"hideSkipStepButton"in C&&n(0,a=C.hideSkipStepButton),"headerTitle"in C&&n(2,l=C.headerTitle),"headerIconPath"in C&&n(3,c=C.headerIconPath),"nextStepCase"in C&&n(11,u=C.nextStepCase),"nextStepText"in C&&n(1,f=C.nextStepText),"nextStepUnfinishedText"in C&&n(12,p=C.nextStepUnfinishedText),"nextStepFinishedText"in C&&n(13,m=C.nextStepFinishedText),"path"in C&&n(14,d=C.path),"stepFinished"in C&&n(15,y=C.stepFinished),"$$scope"in C&&n(17,i=C.$$scope)},e.$$.update=()=>{if(e.$$.dirty&112656)switch(u){case"first":n(1,f=p),n(6,v=o("Let's start")),n(7,w="public/assets/icons/rocket.svg"),n(8,k=o("rocket")),n(5,x=!1);break;case"mid":n(1,f=p),n(5,x=!y);break;case"last":n(1,f=r?m:p),n(6,v=o(r?"Finish":"Redo unfinished steps")),n(7,w=r?"public/assets/icons/checkmark.svg":"public/assets/icons/next.svg"),n(8,k=o(r?"check":"next")),n(5,x=!r);break}e.$$.dirty&40960&&y&&(n(0,a=!0),n(5,x=!1),n(1,f=m))},n(16,r=Ua()),[a,f,l,c,o,x,v,w,k,E,L,u,p,m,d,y,r,i,s]}class et extends he{constructor(t){super(),ue(this,t,vu,mu,ce,{hideSkipStepButton:0,headerTitle:2,headerIconPath:3,nextStepCase:11,nextStepText:1,nextStepUnfinishedText:12,nextStepFinishedText:13,path:14,stepFinished:15},gu)}get hideSkipStepButton(){return this.$$.ctx[0]}set hideSkipStepButton(t){this.$$set({hideSkipStepButton:t}),K()}get headerTitle(){return this.$$.ctx[2]}set headerTitle(t){this.$$set({headerTitle:t}),K()}get headerIconPath(){return this.$$.ctx[3]}set headerIconPath(t){this.$$set({headerIconPath:t}),K()}get nextStepCase(){return this.$$.ctx[11]}set nextStepCase(t){this.$$set({nextStepCase:t}),K()}get nextStepText(){return this.$$.ctx[1]}set nextStepText(t){this.$$set({nextStepText:t}),K()}get nextStepUnfinishedText(){return this.$$.ctx[12]}set nextStepUnfinishedText(t){this.$$set({nextStepUnfinishedText:t}),K()}get nextStepFinishedText(){return this.$$.ctx[13]}set nextStepFinishedText(t){this.$$set({nextStepFinishedText:t}),K()}get path(){return this.$$.ctx[14]}set path(t){this.$$set({path:t}),K()}get stepFinished(){return this.$$.ctx[15]}set stepFinished(t){this.$$set({stepFinished:t}),K()}}fe(et,{hideSkipStepButton:{type:"Boolean"},headerTitle:{},headerIconPath:{},nextStepCase:{},nextStepText:{},nextStepUnfinishedText:{},nextStepFinishedText:{},path:{},stepFinished:{type:"Boolean"}},["default"],[],!0);function bu(e){ve(e,"svelte-4pkbpj","section.svelte-4pkbpj{display:flex;flex-direction:column;padding:12px 0}.section3.svelte-4pkbpj{flex-direction:column-reverse;gap:16px}img.svelte-4pkbpj{margin:24px auto}@media(min-width: 768px){section.svelte-4pkbpj{flex-flow:wrap row;align-items:flex-start}.section3.svelte-4pkbpj{flex-direction:row;flex-wrap:nowrap}}")}function yu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I,z,X,F,U,ne,te,Y,A,M,j,D,P,N,oe,J,le;return n=new Ae({props:{text:e[1]("How does LiveAgent work?")}}),o=new ge({props:{text:e[1]("LiveAgent helpdesk software is a customer service tool that helps manage and streamline interactions with customers across multiple channels such as email, live chat, phone calls, and social media.")}}),i=new ge({props:{text:e[1]("The software sorts incoming customer queries automatically into tickets and assigns them to the appropriate department or agent using predefined rules. It provides a single, shared inbox where agents can access and respond to all customer inquiries. LiveAgent also offers features such as automation rules, SLA, reports, analytics, and a knowledge base that aids in self-service.")}}),l=new ge({props:{text:e[1]("In essence, LiveAgent improves the efficiency of your customer service and ensures all customer communications are dealt with in a timely and organized manner.")}}),y=new Ae({props:{text:e[1]("What is a ticket?")}}),v=new ge({props:{text:e[1]("A helpdesk ticket is essentially a digital record of a customer's request for help or assistance. This ticket contains all the relevant information about the customer's issue or query, including their contact details, the nature of the problem, and any interactions that have been had with the customer regarding the issue. The ticket can originate from various sources, such as emails, phone calls, live chats, or social media messages.")}}),I=new ge({props:{text:e[1]("As the issue progresses toward resolution, the ticket gets updated with new actions, responses, or notes. The ticket goes through various states - starting from being 'new', to being 'answered' when an agent answers, 'open' when the customer replies, and lastly ’resolved’ when the issue is resolved. If the ticket isn't reopened, it will conclude its cycle with the final and irreversible ‘closed’ status. This system ensures that every customer's problem is systematically tracked, addressed, and resolved.To aid in managing and distributing tickets, it's important to create Departments. This effectively delegates authority and responsibility pertaining to the tickets, ensuring each ticket gets directed to the right team or person.")}}),A=new Ae({props:{text:e[1]("What is a department")}}),j=new ge({props:{text:e[1]('A Department refers to a designated group within the organization that handles specific tickets or customer inquiries. It may represent different functional areas within a company like "Customer Service", "Technical Support", "Billing", or "Sales", or it may represent different language skills or team proficiency like “Sales - English”, “Sales - German” or “Technical - 2nd level”. This ensures tickets are quickly assigned to the right people, which can resolve issues faster and more efficiently.')}}),N=new Ae({props:{text:e[1]("What is an agent?")}}),J=new ge({props:{text:e[1]("An Agent is a member of your support team who interacts directly with your customers to resolve their queries or issues. They are essentially the users of the LiveAgent software within your LiveAgent account, tasked with responding to customer inquiries that arrive as tickets.")}}),{c(){t=_("section"),H(n.$$.fragment),r=$(),H(o.$$.fragment),s=$(),H(i.$$.fragment),a=$(),H(l.$$.fragment),c=$(),u=_("img"),m=$(),d=_("section"),H(y.$$.fragment),x=$(),H(v.$$.fragment),w=$(),k=_("img"),C=$(),H(I.$$.fragment),z=$(),X=_("section"),F=_("img"),te=$(),Y=_("div"),H(A.$$.fragment),M=$(),H(j.$$.fragment),D=$(),P=_("section"),H(N.$$.fragment),oe=$(),H(J.$$.fragment),pe(u.src,f="public/assets/images/liveagent.svg")||g(u,"src",f),g(u,"alt",p=e[1]("LiveAgent in a nutshell")),g(u,"class","svelte-4pkbpj"),g(t,"class","svelte-4pkbpj"),pe(k.src,E="public/assets/images/tags.svg")||g(k,"src",E),g(k,"alt",L=e[1]("Tags")),g(k,"class","svelte-4pkbpj"),g(d,"class","svelte-4pkbpj"),pe(F.src,U="public/assets/images/departments.svg")||g(F,"src",U),g(F,"alt",ne=e[1]("Departments")),g(F,"class","svelte-4pkbpj"),g(X,"class","section3 svelte-4pkbpj"),g(P,"class","svelte-4pkbpj")},m(O,Z){q(O,t,Z),B(n,t,null),h(t,r),B(o,t,null),h(t,s),B(i,t,null),h(t,a),B(l,t,null),h(t,c),h(t,u),q(O,m,Z),q(O,d,Z),B(y,d,null),h(d,x),B(v,d,null),h(d,w),h(d,k),h(d,C),B(I,d,null),q(O,z,Z),q(O,X,Z),h(X,F),h(X,te),h(X,Y),B(A,Y,null),h(Y,M),B(j,Y,null),q(O,D,Z),q(O,P,Z),B(N,P,null),h(P,oe),B(J,P,null),le=!0},p(O,Z){const ye={};Z&2&&(ye.text=O[1]("How does LiveAgent work?")),n.$set(ye);const we={};Z&2&&(we.text=O[1]("LiveAgent helpdesk software is a customer service tool that helps manage and streamline interactions with customers across multiple channels such as email, live chat, phone calls, and social media.")),o.$set(we);const ke={};Z&2&&(ke.text=O[1]("The software sorts incoming customer queries automatically into tickets and assigns them to the appropriate department or agent using predefined rules. It provides a single, shared inbox where agents can access and respond to all customer inquiries. LiveAgent also offers features such as automation rules, SLA, reports, analytics, and a knowledge base that aids in self-service.")),i.$set(ke);const Te={};Z&2&&(Te.text=O[1]("In essence, LiveAgent improves the efficiency of your customer service and ensures all customer communications are dealt with in a timely and organized manner.")),l.$set(Te),(!le||Z&2&&p!==(p=O[1]("LiveAgent in a nutshell")))&&g(u,"alt",p);const se={};Z&2&&(se.text=O[1]("What is a ticket?")),y.$set(se);const Ee={};Z&2&&(Ee.text=O[1]("A helpdesk ticket is essentially a digital record of a customer's request for help or assistance. This ticket contains all the relevant information about the customer's issue or query, including their contact details, the nature of the problem, and any interactions that have been had with the customer regarding the issue. The ticket can originate from various sources, such as emails, phone calls, live chats, or social media messages.")),v.$set(Ee),(!le||Z&2&&L!==(L=O[1]("Tags")))&&g(k,"alt",L);const De={};Z&2&&(De.text=O[1]("As the issue progresses toward resolution, the ticket gets updated with new actions, responses, or notes. The ticket goes through various states - starting from being 'new', to being 'answered' when an agent answers, 'open' when the customer replies, and lastly ’resolved’ when the issue is resolved. If the ticket isn't reopened, it will conclude its cycle with the final and irreversible ‘closed’ status. This system ensures that every customer's problem is systematically tracked, addressed, and resolved.To aid in managing and distributing tickets, it's important to create Departments. This effectively delegates authority and responsibility pertaining to the tickets, ensuring each ticket gets directed to the right team or person.")),I.$set(De),(!le||Z&2&&ne!==(ne=O[1]("Departments")))&&g(F,"alt",ne);const Oe={};Z&2&&(Oe.text=O[1]("What is a department")),A.$set(Oe);const ut={};Z&2&&(ut.text=O[1]('A Department refers to a designated group within the organization that handles specific tickets or customer inquiries. It may represent different functional areas within a company like "Customer Service", "Technical Support", "Billing", or "Sales", or it may represent different language skills or team proficiency like “Sales - English”, “Sales - German” or “Technical - 2nd level”. This ensures tickets are quickly assigned to the right people, which can resolve issues faster and more efficiently.')),j.$set(ut);const Fe={};Z&2&&(Fe.text=O[1]("What is an agent?")),N.$set(Fe);const Ue={};Z&2&&(Ue.text=O[1]("An Agent is a member of your support team who interacts directly with your customers to resolve their queries or issues. They are essentially the users of the LiveAgent software within your LiveAgent account, tasked with responding to customer inquiries that arrive as tickets.")),J.$set(Ue)},i(O){le||(T(n.$$.fragment,O),T(o.$$.fragment,O),T(i.$$.fragment,O),T(l.$$.fragment,O),T(y.$$.fragment,O),T(v.$$.fragment,O),T(I.$$.fragment,O),T(A.$$.fragment,O),T(j.$$.fragment,O),T(N.$$.fragment,O),T(J.$$.fragment,O),le=!0)},o(O){S(n.$$.fragment,O),S(o.$$.fragment,O),S(i.$$.fragment,O),S(l.$$.fragment,O),S(y.$$.fragment,O),S(v.$$.fragment,O),S(I.$$.fragment,O),S(A.$$.fragment,O),S(j.$$.fragment,O),S(N.$$.fragment,O),S(J.$$.fragment,O),le=!1},d(O){O&&(V(t),V(m),V(d),V(z),V(X),V(D),V(P)),R(n),R(o),R(i),R(l),R(y),R(v),R(I),R(A),R(j),R(N),R(J)}}}function _u(e){let t,n,r;function o(i){e[2](i)}let s={headerTitle:e[1]("Learn the basics"),headerIconPath:"public/assets/icons/learn-the-basics.svg",hideSkipStepButton:!0,nextStepCase:"first",nextStepUnfinishedText:e[1]("Already familiar with the fundamentals of LiveAgent? Let's proceed with the setup."),nextStepFinishedText:e[1]("Now that you've understood the fundamentals, it's time to begin setting up the software."),path:"/learn-the-basics",$$slots:{default:[yu]},$$scope:{ctx:e}};return e[0]!==void 0&&(s.stepFinished=e[0]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&2&&(l.headerTitle=i[1]("Learn the basics")),a&2&&(l.nextStepUnfinishedText=i[1]("Already familiar with the fundamentals of LiveAgent? Let's proceed with the setup.")),a&2&&(l.nextStepFinishedText=i[1]("Now that you've understood the fundamentals, it's time to begin setting up the software.")),a&18&&(l.$$scope={dirty:a,ctx:i}),!n&&a&1&&(n=!0,l.stepFinished=i[0],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function xu(e,t,n){let r,o;me(e,Me,a=>n(3,r=a)),me(e,Ye,a=>n(1,o=a));let s=!1;Je(()=>{n(0,s=r[0].state==="c")});function i(a){s=a,n(0,s)}return[s,o,i]}class Si extends he{constructor(t){super(),ue(this,t,xu,_u,ce,{},bu)}}fe(Si,{},[],[],!0);function wu(e){ve(e,"svelte-1dacvvn",".AgentTag.svelte-1dacvvn{display:flex;align-items:center;height:18px;border-radius:4px;background-color:var(--background-color-left);padding:3px 0}.Left.svelte-1dacvvn,.Right.svelte-1dacvvn{display:inline-flex;align-items:center;justify-content:center;flex:0 1}.Left.svelte-1dacvvn{padding:0 14px;height:24px;border-radius:4px;background-color:var(--background-color-left)}.Left.WithIcon.svelte-1dacvvn{padding:0 6px}.Right.svelte-1dacvvn{padding:0 6px;height:24px;border-radius:4px;background-color:var(--background-color-right)}.Text.svelte-1dacvvn{margin:0;color:var(--background-color-secondary);font-size:12px;font-weight:700;letter-spacing:0.24px}.Icon.svelte-1dacvvn{width:16px;height:16px;color:var(--icon-color)}")}function Fo(e){let t,n;return{c(){t=_("img"),g(t,"class","Icon svelte-1dacvvn"),pe(t.src,n=e[1])||g(t,"src",n),g(t,"alt",e[2])},m(r,o){q(r,t,o)},p(r,o){o&2&&!pe(t.src,n=r[1])&&g(t,"src",n),o&4&&g(t,"alt",r[2])},d(r){r&&V(t)}}}function ku(e){let t,n,r,o,s,i,a,l=e[1]&&Fo(e);return{c(){t=_("div"),n=_("div"),l&&l.c(),o=$(),s=_("div"),i=_("h3"),a=ee(e[0]),g(n,"class",r="Left "+(e[1]?"WithIcon":"")+" svelte-1dacvvn"),g(i,"class","Text svelte-1dacvvn"),g(s,"class","Right svelte-1dacvvn"),g(t,"class","AgentTag svelte-1dacvvn"),W(t,"--background-color-left",e[3].events.grey.primary),W(t,"--background-color-right",e[3].events.grey.secondary),W(t,"--icon-color",e[3].textsIcons.white)},m(c,u){q(c,t,u),h(t,n),l&&l.m(n,null),h(t,o),h(t,s),h(s,i),h(i,a)},p(c,[u]){c[1]?l?l.p(c,u):(l=Fo(c),l.c(),l.m(n,null)):l&&(l.d(1),l=null),u&2&&r!==(r="Left "+(c[1]?"WithIcon":"")+" svelte-1dacvvn")&&g(n,"class",r),u&1&&ae(a,c[0]),u&8&&W(t,"--background-color-left",c[3].events.grey.primary),u&8&&W(t,"--background-color-right",c[3].events.grey.secondary),u&8&&W(t,"--icon-color",c[3].textsIcons.white)},i:re,o:re,d(c){c&&V(t),l&&l.d()}}}function $u(e,t,n){let r;me(e,bt,a=>n(3,r=a));let{text:o}=t,{icon:s=""}=t,{alt:i=""}=t;return e.$$set=a=>{"text"in a&&n(0,o=a.text),"icon"in a&&n(1,s=a.icon),"alt"in a&&n(2,i=a.alt)},[o,s,i,r]}class In extends he{constructor(t){super(),ue(this,t,$u,ku,ce,{text:0,icon:1,alt:2},wu)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get icon(){return this.$$.ctx[1]}set icon(t){this.$$set({icon:t}),K()}get alt(){return this.$$.ctx[2]}set alt(t){this.$$set({alt:t}),K()}}fe(In,{text:{},icon:{},alt:{}},[],[],!0);let de={agentManaged:!1,departmentManaged:!1,incomingEmailConnected:!1,outgoingEmailConnected:!1,facebookConnected:!1,instagramConnected:!1,twitterConnected:!1,whatsappConnected:!1,viberConnected:!1,chatButtonCreated:!1,chatInvitationCreated:!1,contactFormCreated:!1,callButtonCreated:!1,videoCallButtonCreated:!1,callCenterConnected:!1,themeChanged:!1,colorsChanged:!1,articleCreated:!1,KBCreated:!1};function Ie(e,t){console.log(` ${e} was changed to: ${t?"true":"false"}`)}async function Uo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.agentManaged=e,Ie("agent managed",e)),{completionStatus:de.agentManaged}}async function Vo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.departmentManaged=e,Ie("department managed",e)),{completionStatus:de.departmentManaged}}async function Go(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.incomingEmailConnected=e,Ie("incoming email",e)),{completionStatus:de.incomingEmailConnected}}async function qo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.outgoingEmailConnected=e,Ie("outgoing email",e)),{completionStatus:de.outgoingEmailConnected}}async function Tu(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.facebookConnected=e,Ie("facebook",e)),{completionStatus:de.facebookConnected}}async function Eu(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.instagramConnected=e,Ie("instagram",e)),{completionStatus:de.instagramConnected}}async function Su(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.twitterConnected=e,Ie("twitter",e)),{completionStatus:de.twitterConnected}}async function Wo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.whatsappConnected=e,Ie("whatsapp",e)),{completionStatus:de.whatsappConnected}}async function Xo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.viberConnected=e,Ie("viber",e)),{completionStatus:de.viberConnected}}async function Pu(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(de.chatButtonCreated=e,Ie("chat button",e)),{completionStatus:de.chatButtonCreated}}async function Au(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(de.chatInvitationCreated=e,Ie("chat invitation",e)),{completionStatus:de.chatInvitationCreated}}async function Cu(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(de.contactFormCreated=e,Ie("contact form",e)),{completionStatus:de.contactFormCreated}}async function Lu(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(de.callButtonCreated=e,Ie("call button",e)),{completionStatus:de.callButtonCreated}}async function ju(e){return await new Promise(t=>setTimeout(t,500)),e===!0&&(de.videoCallButtonCreated=e,Ie("video call button",e)),{completionStatus:de.videoCallButtonCreated}}async function Yo(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.callCenterConnected=e,Ie("call center",e)),{completionStatus:de.callCenterConnected}}async function Iu(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.themeChanged=e,Ie("theme",e)),{completionStatus:de.themeChanged}}async function Ou(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.colorsChanged=e,Ie("color",e)),{completionStatus:de.colorsChanged}}async function Bu(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.articleCreated=e,Ie("article",e)),{completionStatus:de.articleCreated}}async function Ru(e){return await new Promise(t=>setTimeout(t,500)),e!==void 0&&(de.KBCreated=e,Ie("Knowledge base",e)),{completionStatus:de.KBCreated}}async function Hu(){return await new Promise(e=>setTimeout(e,1e3)),{message:"email@ladesk.com"}}function Mu(e){ve(e,"svelte-1xzbcn3",".icon-container.svelte-1xzbcn3.svelte-1xzbcn3{position:relative;width:24px;height:24px}.icon.svelte-1xzbcn3.svelte-1xzbcn3{width:100%;height:100%}.tooltip.svelte-1xzbcn3.svelte-1xzbcn3{position:absolute;top:100%;left:50%;transform:translateX(-50%);background-color:var(--button-color-black);color:var(--background-color-secondary);padding:6px 8px;border-radius:6px;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);width:max-content;max-width:200px;font-family:Roboto;font-size:12px;line-height:20px;text-align:center}.tooltip.svelte-1xzbcn3 p.svelte-1xzbcn3{margin:0}.tooltip.svelte-1xzbcn3 a.svelte-1xzbcn3{color:var(--border-color-infoPanel);text-decoration:none}.tooltip.svelte-1xzbcn3 a.svelte-1xzbcn3:hover{text-decoration:underline}.tooltip-arrow.svelte-1xzbcn3.svelte-1xzbcn3{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid var(--button-color-black)}")}function Ko(e){let t,n,r,o,s,i,a,l;return{c(){t=_("div"),n=_("p"),r=ee(e[0]),o=$(),s=_("a"),i=ee("here"),a=$(),l=_("div"),g(s,"href",e[1]),g(s,"class","svelte-1xzbcn3"),g(n,"class","svelte-1xzbcn3"),g(l,"class","tooltip-arrow svelte-1xzbcn3"),g(t,"class","tooltip svelte-1xzbcn3")},m(c,u){q(c,t,u),h(t,n),h(n,r),h(n,o),h(n,s),h(s,i),h(t,a),h(t,l)},p(c,u){u&1&&ae(r,c[0]),u&2&&g(s,"href",c[1])},d(c){c&&V(t)}}}function Du(e){let t,n,r,o,s,i,a=e[2]&&Ko(e);return{c(){t=_("div"),n=_("img"),o=$(),a&&a.c(),g(n,"class","icon svelte-1xzbcn3"),pe(n.src,r="/assets/icons/questionmark.svg")||g(n,"src",r),g(n,"alt","tooltip"),g(t,"class","icon-container svelte-1xzbcn3")},m(l,c){q(l,t,c),h(t,n),h(t,o),a&&a.m(t,null),s||(i=[Xe(t,"mouseenter",e[3]),Xe(t,"mouseleave",e[4])],s=!0)},p(l,[c]){l[2]?a?a.p(l,c):(a=Ko(l),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},i:re,o:re,d(l){l&&V(t),a&&a.d(),s=!1,Qe(i)}}}function Nu(e,t,n){let{text:r}=t,{link:o}=t,s=!1;const i=()=>n(2,s=!0),a=()=>n(2,s=!1);return e.$$set=l=>{"text"in l&&n(0,r=l.text),"link"in l&&n(1,o=l.link)},[r,o,s,i,a]}class tr extends he{constructor(t){super(),ue(this,t,Nu,Du,ce,{text:0,link:1},Mu)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get link(){return this.$$.ctx[1]}set link(t){this.$$set({link:t}),K()}}fe(tr,{text:{},link:{}},[],[],!0);function zu(e){ve(e,"svelte-wdit8p",'.wrapper.svelte-wdit8p.svelte-wdit8p{width:100%;height:calc(100% - 12px)}section.svelte-wdit8p.svelte-wdit8p{margin:12px 0}.panel-wrapper.svelte-wdit8p.svelte-wdit8p{display:flex;flex-direction:column;padding:16px 20px 12px 20px;border-radius:6px;background:var(--background-color-grey-secondary)}.panel.svelte-wdit8p.svelte-wdit8p{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:14px 16px;margin-bottom:10px;gap:12px;background:var(--background-color-grey-primary);border-radius:6px}.panel-text.svelte-wdit8p.svelte-wdit8p{color:var(--text-color-primary);margin:0;font-size:12px;font-weight:400;line-height:20px}.panel-bottom.svelte-wdit8p.svelte-wdit8p{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px}.panel-bottom.svelte-wdit8p .text.svelte-wdit8p{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.bottom-button.svelte-wdit8p.svelte-wdit8p{display:flex;flex-direction:row;align-items:center;gap:2px}.info-panel.svelte-wdit8p.svelte-wdit8p{background-color:var(--background-color-blue-primary);padding:6px 10px 6px 32px;border:1px solid var(--border-color-infoPanel);border-radius:6px}.heading-info.svelte-wdit8p.svelte-wdit8p{color:var(--text-color-infoPanel);position:relative;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px;margin:0}.heading-info.svelte-wdit8p.svelte-wdit8p::before{content:url("public/assets/icons/info.svg");position:absolute;top:2px;left:-23px;width:16px;height:16px}.text-info.svelte-wdit8p.svelte-wdit8p{color:var(--text-color-infoPanel);font-family:Roboto;font-size:12px;font-weight:400;line-height:20px;margin:0}@media(min-width: 768px){.panel.svelte-wdit8p.svelte-wdit8p{flex-direction:row}.panel-bottom.svelte-wdit8p.svelte-wdit8p{flex-direction:row}}')}function Fu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k=e[1]("Agents can view, reply to, and manage tickets, pick up live chats/calls, write and manage knowledge base content, manage contacts, create their own canned messages & predefined answers, manage their own agent profiles, and see their own agent reports.")+"",E,L,C,I,z,X,F=e[1]("Admins, in addition to agent role permissions, can manage accounts of other agents and admins (but not the owner's account), see all reports, and configure the system settings.")+"",U,ne,te,Y,A,M,j=e[1]("In addition to admin role permissions, the owner can also manage LiveAgent account billing and payment settings.")+"",D,P,N,oe,J=e[1]("Now, let’s create agent accounts for your coworkers and set their roles.")+"",le,O,Z,ye,we,ke,Te,se,Ee,De=e[1]("Custom agent roles (paid feature)")+"",Oe,ut,Fe,Ue=e[1]("In addition to the default roles, you can establish tailored agent roles and grant them specific permissions to suit your unique operational needs.")+"",Tt,Be;return r=new Ae({props:{text:e[1]("Add agents")}}),s=new ge({props:{text:e[1]("Let's start by creating agent accounts for your colleagues and team members.")}}),a=new ge({props:{text:e[1]("Agent accounts can also be assigned to specific departments based on their area of expertise, and LiveAgent software even allows you to manage their permissions and roles. For instance, some agents may only be able to view and respond to tickets, while others might have the authority to manage knowledge base content or even other agents.")}}),u=new Ae({props:{text:e[1]("Types of LiveAgent account")}}),p=new ge({props:{text:e[1]("By default, there are three agent account types in LiveAgent. Agent, Admin, and Owner.")}}),x=new In({props:{text:e[1]("Agents"),icon:e[2]+"agents.svg"}}),I=new In({props:{text:e[1]("Admins"),icon:e[2]+"admin.svg"}}),Y=new In({props:{text:e[1]("Owner"),icon:e[2]+"owner.svg"}}),ye=new gn({props:{reversedColors:e[0],onClick:e[3],text:e[1]("Manage agents")}}),ke=new tr({props:{text:e[1]("Need help configuring your agent accounts? Learn more"),link:""}}),{c(){t=_("div"),n=_("section"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),H(a.$$.fragment),l=$(),c=_("section"),H(u.$$.fragment),f=$(),H(p.$$.fragment),m=$(),d=_("div"),y=_("div"),H(x.$$.fragment),v=$(),w=_("p"),E=ee(k),L=$(),C=_("div"),H(I.$$.fragment),z=$(),X=_("p"),U=ee(F),ne=$(),te=_("div"),H(Y.$$.fragment),A=$(),M=_("p"),D=ee(j),P=$(),N=_("div"),oe=_("span"),le=ee(J),O=$(),Z=_("div"),H(ye.$$.fragment),we=$(),H(ke.$$.fragment),Te=$(),se=_("section"),Ee=_("h4"),Oe=ee(De),ut=$(),Fe=_("p"),Tt=ee(Ue),g(n,"class","svelte-wdit8p"),g(w,"class","panel-text svelte-wdit8p"),g(y,"class","panel svelte-wdit8p"),g(X,"class","panel-text svelte-wdit8p"),g(C,"class","panel svelte-wdit8p"),g(M,"class","panel-text svelte-wdit8p"),g(te,"class","panel svelte-wdit8p"),g(oe,"class","text svelte-wdit8p"),g(Z,"class","bottom-button svelte-wdit8p"),g(N,"class","panel-bottom svelte-wdit8p"),g(d,"class","panel-wrapper svelte-wdit8p"),g(c,"class","svelte-wdit8p"),g(Ee,"class","heading-info svelte-wdit8p"),g(Fe,"class","text-info svelte-wdit8p"),g(se,"class","info-panel svelte-wdit8p"),g(t,"class","wrapper svelte-wdit8p")},m(ie,$e){q(ie,t,$e),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(n,i),B(a,n,null),h(t,l),h(t,c),B(u,c,null),h(c,f),B(p,c,null),h(c,m),h(c,d),h(d,y),B(x,y,null),h(y,v),h(y,w),h(w,E),h(d,L),h(d,C),B(I,C,null),h(C,z),h(C,X),h(X,U),h(d,ne),h(d,te),B(Y,te,null),h(te,A),h(te,M),h(M,D),h(d,P),h(d,N),h(N,oe),h(oe,le),h(N,O),h(N,Z),B(ye,Z,null),h(Z,we),B(ke,Z,null),h(t,Te),h(t,se),h(se,Ee),h(Ee,Oe),h(se,ut),h(se,Fe),h(Fe,Tt),Be=!0},p(ie,$e){const tt={};$e&2&&(tt.text=ie[1]("Add agents")),r.$set(tt);const Wt={};$e&2&&(Wt.text=ie[1]("Let's start by creating agent accounts for your colleagues and team members.")),s.$set(Wt);const nt={};$e&2&&(nt.text=ie[1]("Agent accounts can also be assigned to specific departments based on their area of expertise, and LiveAgent software even allows you to manage their permissions and roles. For instance, some agents may only be able to view and respond to tickets, while others might have the authority to manage knowledge base content or even other agents.")),a.$set(nt);const rt={};$e&2&&(rt.text=ie[1]("Types of LiveAgent account")),u.$set(rt);const Xt={};$e&2&&(Xt.text=ie[1]("By default, there are three agent account types in LiveAgent. Agent, Admin, and Owner.")),p.$set(Xt);const ft={};$e&2&&(ft.text=ie[1]("Agents")),x.$set(ft),(!Be||$e&2)&&k!==(k=ie[1]("Agents can view, reply to, and manage tickets, pick up live chats/calls, write and manage knowledge base content, manage contacts, create their own canned messages & predefined answers, manage their own agent profiles, and see their own agent reports.")+"")&&ae(E,k);const Yt={};$e&2&&(Yt.text=ie[1]("Admins")),I.$set(Yt),(!Be||$e&2)&&F!==(F=ie[1]("Admins, in addition to agent role permissions, can manage accounts of other agents and admins (but not the owner's account), see all reports, and configure the system settings.")+"")&&ae(U,F);const Kt={};$e&2&&(Kt.text=ie[1]("Owner")),Y.$set(Kt),(!Be||$e&2)&&j!==(j=ie[1]("In addition to admin role permissions, the owner can also manage LiveAgent account billing and payment settings.")+"")&&ae(D,j),(!Be||$e&2)&&J!==(J=ie[1]("Now, let’s create agent accounts for your coworkers and set their roles.")+"")&&ae(le,J);const Ve={};$e&1&&(Ve.reversedColors=ie[0]),$e&2&&(Ve.text=ie[1]("Manage agents")),ye.$set(Ve);const Ke={};$e&2&&(Ke.text=ie[1]("Need help configuring your agent accounts? Learn more")),ke.$set(Ke),(!Be||$e&2)&&De!==(De=ie[1]("Custom agent roles (paid feature)")+"")&&ae(Oe,De),(!Be||$e&2)&&Ue!==(Ue=ie[1]("In addition to the default roles, you can establish tailored agent roles and grant them specific permissions to suit your unique operational needs.")+"")&&ae(Tt,Ue)},i(ie){Be||(T(r.$$.fragment,ie),T(s.$$.fragment,ie),T(a.$$.fragment,ie),T(u.$$.fragment,ie),T(p.$$.fragment,ie),T(x.$$.fragment,ie),T(I.$$.fragment,ie),T(Y.$$.fragment,ie),T(ye.$$.fragment,ie),T(ke.$$.fragment,ie),Be=!0)},o(ie){S(r.$$.fragment,ie),S(s.$$.fragment,ie),S(a.$$.fragment,ie),S(u.$$.fragment,ie),S(p.$$.fragment,ie),S(x.$$.fragment,ie),S(I.$$.fragment,ie),S(Y.$$.fragment,ie),S(ye.$$.fragment,ie),S(ke.$$.fragment,ie),Be=!1},d(ie){ie&&V(t),R(r),R(s),R(a),R(u),R(p),R(x),R(I),R(Y),R(ye),R(ke)}}}function Uu(e){let t,n,r;function o(i){e[4](i)}let s={headerTitle:e[1]("Add agent"),headerIconPath:e[2]+"add-agents.svg",nextStepCase:"mid",nextStepUnfinishedText:e[1]("Create agent account to complete this step."),nextStepFinishedText:e[1]("Next, let's further explore Departments and their purpose."),path:"/add-agents",$$slots:{default:[Fu]},$$scope:{ctx:e}};return e[0]!==void 0&&(s.stepFinished=e[0]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&2&&(l.headerTitle=i[1]("Add agent")),a&2&&(l.nextStepUnfinishedText=i[1]("Create agent account to complete this step.")),a&2&&(l.nextStepFinishedText=i[1]("Next, let's further explore Departments and their purpose.")),a&67&&(l.$$scope={dirty:a,ctx:i}),!n&&a&1&&(n=!0,l.stepFinished=i[0],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function Vu(e,t,n){let r,o;me(e,Me,c=>n(5,r=c)),me(e,Ye,c=>n(1,o=c));const s=je("iconBasePath");let i=!1;Je(async()=>{if(n(0,i=r[1].state==="c"),!i){const c=await Uo();n(0,i=c.completionStatus)}});async function a(){const c=await Uo(!0);n(0,i=c.completionStatus),window.location.hash="Agents"}function l(c){i=c,n(0,i)}return[i,o,s,a,l]}class Pi extends he{constructor(t){super(),ue(this,t,Vu,Uu,ce,{},zu)}}fe(Pi,{},[],[],!0);function Gu(e){ve(e,"svelte-18v5ofj",".panel-bottom.svelte-18v5ofj{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:20px;padding:16px 18px 24px;border-radius:6px;background:var(--background-color-grey-secondary)}.panel-bottom-text.svelte-18v5ofj{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.panel-bottom-button.svelte-18v5ofj{display:flex;flex-direction:row;align-items:center;gap:2px}@media(min-width: 768px){.panel-bottom.svelte-18v5ofj{flex-direction:row;align-items:center}}")}function qu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y=e[1]("Your LiveAgent account already has one default department named “General”. Feel free to rename it or add new departments now.")+"",x,v,w,k,E,L,C;return r=new Ae({props:{text:e[1]("Add departments")}}),s=new ge({props:{text:e[1]("Adding Departments to your LiveAgent account can significantly enhance the efficiency of your customer support process.")}}),a=new ge({props:{text:e[1]("The purpose of creating Departments is to sort and assign tickets to the respective teams or agents best suited to handle them. This not only improves the efficiency and productivity of customer support but also ensures that customer queries are managed by those with the right expertise.")}}),c=new ge({props:{text:e[1]("Departments also allow for structured workflows. You can set rules and access permissions for each department, which helps in maintaining an organized working environment. ")}}),f=new ge({props:{text:e[1]("Moreover, departments can provide vital data for analytics and insights, giving a clear picture of which areas receive the most queries or require more resources to enhance customer service. The department structure also assists in delivering a more personalized service as the customer interacts with specialists familiar with their specific concerns or needs.")}}),k=new gn({props:{onClick:e[3],text:e[1]("Manage departments"),reversedColors:e[0]}}),L=new tr({props:{text:e[1]("Need help creating or configuring your departments? Learn more"),link:""}}),{c(){t=_("div"),n=_("section"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),H(a.$$.fragment),l=$(),H(c.$$.fragment),u=$(),H(f.$$.fragment),p=$(),m=_("section"),d=_("span"),x=ee(y),v=$(),w=_("div"),H(k.$$.fragment),E=$(),H(L.$$.fragment),g(d,"class","panel-bottom-text svelte-18v5ofj"),g(w,"class","panel-bottom-button svelte-18v5ofj"),g(m,"class","panel-bottom svelte-18v5ofj"),g(t,"class","wrapper")},m(I,z){q(I,t,z),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(n,i),B(a,n,null),h(n,l),B(c,n,null),h(n,u),B(f,n,null),h(t,p),h(t,m),h(m,d),h(d,x),h(m,v),h(m,w),B(k,w,null),h(w,E),B(L,w,null),C=!0},p(I,z){const X={};z&2&&(X.text=I[1]("Add departments")),r.$set(X);const F={};z&2&&(F.text=I[1]("Adding Departments to your LiveAgent account can significantly enhance the efficiency of your customer support process.")),s.$set(F);const U={};z&2&&(U.text=I[1]("The purpose of creating Departments is to sort and assign tickets to the respective teams or agents best suited to handle them. This not only improves the efficiency and productivity of customer support but also ensures that customer queries are managed by those with the right expertise.")),a.$set(U);const ne={};z&2&&(ne.text=I[1]("Departments also allow for structured workflows. You can set rules and access permissions for each department, which helps in maintaining an organized working environment. ")),c.$set(ne);const te={};z&2&&(te.text=I[1]("Moreover, departments can provide vital data for analytics and insights, giving a clear picture of which areas receive the most queries or require more resources to enhance customer service. The department structure also assists in delivering a more personalized service as the customer interacts with specialists familiar with their specific concerns or needs.")),f.$set(te),(!C||z&2)&&y!==(y=I[1]("Your LiveAgent account already has one default department named “General”. Feel free to rename it or add new departments now.")+"")&&ae(x,y);const Y={};z&2&&(Y.text=I[1]("Manage departments")),z&1&&(Y.reversedColors=I[0]),k.$set(Y);const A={};z&2&&(A.text=I[1]("Need help creating or configuring your departments? Learn more")),L.$set(A)},i(I){C||(T(r.$$.fragment,I),T(s.$$.fragment,I),T(a.$$.fragment,I),T(c.$$.fragment,I),T(f.$$.fragment,I),T(k.$$.fragment,I),T(L.$$.fragment,I),C=!0)},o(I){S(r.$$.fragment,I),S(s.$$.fragment,I),S(a.$$.fragment,I),S(c.$$.fragment,I),S(f.$$.fragment,I),S(k.$$.fragment,I),S(L.$$.fragment,I),C=!1},d(I){I&&V(t),R(r),R(s),R(a),R(c),R(f),R(k),R(L)}}}function Wu(e){let t,n,r;function o(i){e[4](i)}let s={headerTitle:e[1]("Add departments"),headerIconPath:e[2]+"add-departments.svg",nextStepCase:"mid",nextStepUnfinishedText:e[1]("Create new department or rename default one to finish this step."),nextStepFinishedText:e[1]("Now that we have Agents and Departments sorted out, we need to establish some communication channels."),path:"/add-departments",$$slots:{default:[qu]},$$scope:{ctx:e}};return e[0]!==void 0&&(s.stepFinished=e[0]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&2&&(l.headerTitle=i[1]("Add departments")),a&2&&(l.nextStepUnfinishedText=i[1]("Create new department or rename default one to finish this step.")),a&2&&(l.nextStepFinishedText=i[1]("Now that we have Agents and Departments sorted out, we need to establish some communication channels.")),a&67&&(l.$$scope={dirty:a,ctx:i}),!n&&a&1&&(n=!0,l.stepFinished=i[0],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function Xu(e,t,n){let r,o;me(e,Me,c=>n(5,r=c)),me(e,Ye,c=>n(1,o=c));const s=je("iconBasePath");let i=!1;Je(async()=>{var c;if(n(0,i=((c=r[2])==null?void 0:c.state)==="c"),!i){const u=await Vo();n(0,i=u.completionStatus)}});async function a(){const c=await Vo(!0);n(0,i=c.completionStatus),window.location.hash="Departments"}function l(c){i=c,n(0,i)}return[i,o,s,a,l]}class Ai extends he{constructor(t){super(),ue(this,t,Xu,Wu,ce,{},Gu)}}fe(Ai,{},[],[],!0);function Yu(e){ve(e,"svelte-1ses39a",".widget.svelte-1ses39a{padding:var(--cardPadding);margin-bottom:10px;border-radius:6px;background-color:var(--backgroundColor)}.header.svelte-1ses39a{display:flex;align-items:center;justify-content:flex-start;gap:6px}.content.svelte-1ses39a{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:16px;padding-left:var(--textPadding)}h5.svelte-1ses39a{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.button.svelte-1ses39a{display:flex;flex-direction:row;align-items:center;gap:2px}@media(min-width: 768px){.content.svelte-1ses39a{flex-direction:row;align-items:center}}")}function Zo(e){let t,n;return t=new tr({props:{text:e[10],link:e[11]}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,o){const s={};o&1024&&(s.text=r[10]),o&2048&&(s.link=r[11]),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Ku(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x;u=new ge({props:{text:e[1]}});const v=e[13].default,w=Xn(v,e,e[12],null);d=new gn({props:{onClick:e[6],text:e[7],disabled:e[9],reversedColors:e[8]}});let k=e[10]&&Zo(e);return{c(){t=_("div"),n=_("div"),r=_("img"),s=$(),i=_("h5"),a=ee(e[0]),l=$(),c=_("div"),H(u.$$.fragment),f=$(),w&&w.c(),p=$(),m=_("div"),H(d.$$.fragment),y=$(),k&&k.c(),pe(r.src,o=e[2])||g(r,"src",o),g(r,"alt","icon"),g(i,"class","heading svelte-1ses39a"),g(n,"class","header svelte-1ses39a"),g(m,"class","button svelte-1ses39a"),g(c,"class","content svelte-1ses39a"),g(t,"class","widget svelte-1ses39a"),W(t,"--iconSrc","url("+e[2]+")"),W(t,"--cardPadding",e[3]),W(t,"--textPadding",e[5]),W(t,"--backgroundColor","var("+(e[4]?e[4]:"--background-color-grey-primary")+")")},m(E,L){q(E,t,L),h(t,n),h(n,r),h(n,s),h(n,i),h(i,a),h(t,l),h(t,c),B(u,c,null),h(c,f),w&&w.m(c,null),h(c,p),h(c,m),B(d,m,null),h(m,y),k&&k.m(m,null),x=!0},p(E,[L]){(!x||L&4&&!pe(r.src,o=E[2]))&&g(r,"src",o),(!x||L&1)&&ae(a,E[0]);const C={};L&2&&(C.text=E[1]),u.$set(C),w&&w.p&&(!x||L&4096)&&Kn(w,v,E,E[12],x?Yn(v,E[12],L,null):Zn(E[12]),null);const I={};L&64&&(I.onClick=E[6]),L&128&&(I.text=E[7]),L&512&&(I.disabled=E[9]),L&256&&(I.reversedColors=E[8]),d.$set(I),E[10]?k?(k.p(E,L),L&1024&&T(k,1)):(k=Zo(E),k.c(),T(k,1),k.m(m,null)):k&&(Re(),S(k,1,1,()=>{k=null}),He()),(!x||L&4)&&W(t,"--iconSrc","url("+E[2]+")"),(!x||L&8)&&W(t,"--cardPadding",E[3]),(!x||L&32)&&W(t,"--textPadding",E[5]),(!x||L&16)&&W(t,"--backgroundColor","var("+(E[4]?E[4]:"--background-color-grey-primary")+")")},i(E){x||(T(u.$$.fragment,E),T(w,E),T(d.$$.fragment,E),T(k),x=!0)},o(E){S(u.$$.fragment,E),S(w,E),S(d.$$.fragment,E),S(k),x=!1},d(E){E&&V(t),R(u),w&&w.d(E),R(d),k&&k.d()}}}function Zu(e,t,n){let{$$slots:r={},$$scope:o}=t,{heading:s}=t,{text:i}=t,{iconSrc:a}=t,{cardPadding:l}=t,{backgroundColor:c=""}=t,{textPadding:u=""}=t,{buttonAction:f}=t,{buttonText:p}=t,{buttonReversed:m=!1}=t,{buttonDisabled:d=!1}=t,{tooltipText:y=""}=t,{tooltipLink:x=""}=t;return e.$$set=v=>{"heading"in v&&n(0,s=v.heading),"text"in v&&n(1,i=v.text),"iconSrc"in v&&n(2,a=v.iconSrc),"cardPadding"in v&&n(3,l=v.cardPadding),"backgroundColor"in v&&n(4,c=v.backgroundColor),"textPadding"in v&&n(5,u=v.textPadding),"buttonAction"in v&&n(6,f=v.buttonAction),"buttonText"in v&&n(7,p=v.buttonText),"buttonReversed"in v&&n(8,m=v.buttonReversed),"buttonDisabled"in v&&n(9,d=v.buttonDisabled),"tooltipText"in v&&n(10,y=v.tooltipText),"tooltipLink"in v&&n(11,x=v.tooltipLink),"$$scope"in v&&n(12,o=v.$$scope)},[s,i,a,l,c,u,f,p,m,d,y,x,o,r]}class st extends he{constructor(t){super(),ue(this,t,Zu,Ku,ce,{heading:0,text:1,iconSrc:2,cardPadding:3,backgroundColor:4,textPadding:5,buttonAction:6,buttonText:7,buttonReversed:8,buttonDisabled:9,tooltipText:10,tooltipLink:11},Yu)}get heading(){return this.$$.ctx[0]}set heading(t){this.$$set({heading:t}),K()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),K()}get iconSrc(){return this.$$.ctx[2]}set iconSrc(t){this.$$set({iconSrc:t}),K()}get cardPadding(){return this.$$.ctx[3]}set cardPadding(t){this.$$set({cardPadding:t}),K()}get backgroundColor(){return this.$$.ctx[4]}set backgroundColor(t){this.$$set({backgroundColor:t}),K()}get textPadding(){return this.$$.ctx[5]}set textPadding(t){this.$$set({textPadding:t}),K()}get buttonAction(){return this.$$.ctx[6]}set buttonAction(t){this.$$set({buttonAction:t}),K()}get buttonText(){return this.$$.ctx[7]}set buttonText(t){this.$$set({buttonText:t}),K()}get buttonReversed(){return this.$$.ctx[8]}set buttonReversed(t){this.$$set({buttonReversed:t}),K()}get buttonDisabled(){return this.$$.ctx[9]}set buttonDisabled(t){this.$$set({buttonDisabled:t}),K()}get tooltipText(){return this.$$.ctx[10]}set tooltipText(t){this.$$set({tooltipText:t}),K()}get tooltipLink(){return this.$$.ctx[11]}set tooltipLink(t){this.$$set({tooltipLink:t}),K()}}fe(st,{heading:{},text:{},iconSrc:{},cardPadding:{},backgroundColor:{},textPadding:{},buttonAction:{},buttonText:{},buttonReversed:{type:"Boolean"},buttonDisabled:{type:"Boolean"},tooltipText:{},tooltipLink:{}},["default"],[],!0);function Ju(e){ve(e,"svelte-11oint6",".section2.svelte-11oint6.svelte-11oint6{display:flex;flex-direction:column;gap:10px;margin-top:24px}.inner-section.svelte-11oint6.svelte-11oint6{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.inner-section.svelte-11oint6>img.svelte-11oint6{margin-top:0}.panel-wrapper.svelte-11oint6.svelte-11oint6{display:flex;flex-direction:column;gap:10px;padding:16px 20px;background:var(--background-color-grey-secondary);border-radius:6px}.email-wrapper.svelte-11oint6.svelte-11oint6{display:inline-flex;flex-flow:wrap;justify-content:center;align-items:center;padding-left:12px;border-radius:69px}.text.svelte-11oint6.svelte-11oint6{padding:5px 12px;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;text-wrap:nowrap;background-color:var(--background-color-primary);border-radius:69px}.email.svelte-11oint6.svelte-11oint6{padding:5px 12px;color:var(--text-color-blue);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px;background-color:var(--background-color-hover);border-radius:69px}.built-in-email.svelte-11oint6.svelte-11oint6{display:flex;flex-direction:column;align-items:center;justify-content:center}img.svelte-11oint6.svelte-11oint6{margin:24px 0}@media(min-width: 768px){.inner-section.svelte-11oint6.svelte-11oint6{flex-direction:row;align-items:center;justify-content:space-between}}")}function Qu(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I,z,X,F,U=e[4]("Your built-in email address is: ")+"",ne,te,Y,A,M,j,D;return r=new Ae({props:{text:e[4]("Create your new helpdesk email address")}}),s=new ge({props:{text:e[4]("Let's begin by connecting your email accounts to LiveAgent, enabling you to receive emails as tickets and respond to them seamlessly.")}}),a=new ge({props:{text:e[4]("Two types of email accounts must be set up in LiveAgent, incoming and outgoing. The same email account is often used as both an incoming and outgoing account.")}}),u=new st({props:{heading:e[4]("Incoming email accounts"),text:e[4]("These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket."),iconSrc:e[7]+"incoming.svg",cardPadding:"14px 10px 14px 16px",buttonAction:e[8],buttonText:e[0]?e[6]:e[5],buttonReversed:e[0],tooltipText:e[4]("Need help connecting your email accounts? Learn more"),tooltipLink:"https://support.liveagent.com/458758-Email-accounts-configuration-introduction"}}),p=new st({props:{heading:e[4]("Outgoing email accounts"),text:e[4]("These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket."),iconSrc:e[7]+"outgoing.svg",cardPadding:"14px 10px 14px 16px",buttonAction:e[9],buttonText:e[1]?e[6]:e[5],buttonReversed:e[1],tooltipText:e[4]("Need help connecting your email accounts? Learn more"),tooltipLink:"https://support.liveagent.com/458758-Email-accounts-configuration-introduction"}}),y=new Ae({props:{text:e[4]("Your Built-in Email Account")}}),w=new ge({props:{text:e[4]("Every LiveAgent account has a built-in email address, serving as both an incoming and outgoing email account. We provide this mailbox free of charge, but it does contain some limitations. It is recommended for use during the initial setup of your LiveAgent account and for fundamental testing but not for communication with your clients.")}}),j=new ge({props:{text:e[4]("Feel free to send a test email to this address and see LiveAgent in action!")}}),{c(){t=_("div"),n=_("section"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),H(a.$$.fragment),l=$(),c=_("div"),H(u.$$.fragment),f=$(),H(p.$$.fragment),m=$(),d=_("section"),H(y.$$.fragment),x=$(),v=_("div"),H(w.$$.fragment),k=$(),E=_("img"),I=$(),z=_("section"),X=_("div"),F=_("span"),ne=ee(U),te=$(),Y=_("span"),A=ee(e[3]),M=$(),H(j.$$.fragment),g(c,"class","panel-wrapper svelte-11oint6"),pe(E.src,L="public/assets/images/connect-email-accounts.svg")||g(E,"src",L),g(E,"alt",C=e[4]("connect email accounts")),g(E,"class","svelte-11oint6"),g(v,"class","inner-section svelte-11oint6"),g(d,"class","section2 svelte-11oint6"),g(F,"class","text svelte-11oint6"),g(Y,"class","email svelte-11oint6"),g(X,"class","email-wrapper svelte-11oint6"),g(z,"class","built-in-email svelte-11oint6"),g(t,"class","wrapper")},m(P,N){q(P,t,N),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(n,i),B(a,n,null),h(n,l),h(n,c),B(u,c,null),h(c,f),B(p,c,null),h(t,m),h(t,d),B(y,d,null),h(d,x),h(d,v),B(w,v,null),h(v,k),h(v,E),h(t,I),h(t,z),h(z,X),h(X,F),h(F,ne),h(X,te),h(X,Y),h(Y,A),h(z,M),B(j,z,null),D=!0},p(P,N){const oe={};N&16&&(oe.text=P[4]("Create your new helpdesk email address")),r.$set(oe);const J={};N&16&&(J.text=P[4]("Let's begin by connecting your email accounts to LiveAgent, enabling you to receive emails as tickets and respond to them seamlessly.")),s.$set(J);const le={};N&16&&(le.text=P[4]("Two types of email accounts must be set up in LiveAgent, incoming and outgoing. The same email account is often used as both an incoming and outgoing account.")),a.$set(le);const O={};N&16&&(O.heading=P[4]("Incoming email accounts")),N&16&&(O.text=P[4]("These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket.")),N&1&&(O.buttonText=P[0]?P[6]:P[5]),N&1&&(O.buttonReversed=P[0]),N&16&&(O.tooltipText=P[4]("Need help connecting your email accounts? Learn more")),u.$set(O);const Z={};N&16&&(Z.heading=P[4]("Outgoing email accounts")),N&16&&(Z.text=P[4]("These accounts receive your customer's emails. Each email sent to these accounts is imported into LiveAgent, creating a ticket.")),N&2&&(Z.buttonText=P[1]?P[6]:P[5]),N&2&&(Z.buttonReversed=P[1]),N&16&&(Z.tooltipText=P[4]("Need help connecting your email accounts? Learn more")),p.$set(Z);const ye={};N&16&&(ye.text=P[4]("Your Built-in Email Account")),y.$set(ye);const we={};N&16&&(we.text=P[4]("Every LiveAgent account has a built-in email address, serving as both an incoming and outgoing email account. We provide this mailbox free of charge, but it does contain some limitations. It is recommended for use during the initial setup of your LiveAgent account and for fundamental testing but not for communication with your clients.")),w.$set(we),(!D||N&16&&C!==(C=P[4]("connect email accounts")))&&g(E,"alt",C),(!D||N&16)&&U!==(U=P[4]("Your built-in email address is: ")+"")&&ae(ne,U),(!D||N&8)&&ae(A,P[3]);const ke={};N&16&&(ke.text=P[4]("Feel free to send a test email to this address and see LiveAgent in action!")),j.$set(ke)},i(P){D||(T(r.$$.fragment,P),T(s.$$.fragment,P),T(a.$$.fragment,P),T(u.$$.fragment,P),T(p.$$.fragment,P),T(y.$$.fragment,P),T(w.$$.fragment,P),T(j.$$.fragment,P),D=!0)},o(P){S(r.$$.fragment,P),S(s.$$.fragment,P),S(a.$$.fragment,P),S(u.$$.fragment,P),S(p.$$.fragment,P),S(y.$$.fragment,P),S(w.$$.fragment,P),S(j.$$.fragment,P),D=!1},d(P){P&&V(t),R(r),R(s),R(a),R(u),R(p),R(y),R(w),R(j)}}}function ef(e){let t,n,r;function o(i){e[10](i)}let s={headerTitle:e[4]("Connect email accounts"),headerIconPath:e[7]+"connect-email-account.svg",nextStepCase:"mid",nextStepUnfinishedText:e[4]("Connect email accounts to complete this step."),nextStepFinishedText:e[4]("If you are done with email accounts, it’s time to have a look at social media channels."),path:"/connect-email-accounts",$$slots:{default:[Qu]},$$scope:{ctx:e}};return e[2]!==void 0&&(s.stepFinished=e[2]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&16&&(l.headerTitle=i[4]("Connect email accounts")),a&16&&(l.nextStepUnfinishedText=i[4]("Connect email accounts to complete this step.")),a&16&&(l.nextStepFinishedText=i[4]("If you are done with email accounts, it’s time to have a look at social media channels.")),a&4123&&(l.$$scope={dirty:a,ctx:i}),!n&&a&4&&(n=!0,l.stepFinished=i[2],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function tf(e,t,n){let r,o;me(e,Me,y=>n(11,r=y)),me(e,Ye,y=>n(4,o=y));const s=o("Connect"),i=o("Manage"),a=je("iconBasePath");let l=!1,c=!1,u=!1,f="";Je(async()=>{var x;if(n(2,l=((x=r[3])==null?void 0:x.state)==="c"),l)n(0,c=!0),n(1,u=!0);else{const v=await Go(),w=await qo();n(0,c=v.completionStatus),n(1,u=w.completionStatus)}const y=await Hu();n(3,f=y.message)});async function p(){const y=await Go(!0);n(0,c=y.completionStatus),window.location.hash="Incoming-Mail-Accounts"}async function m(){const y=await qo(!0);n(1,u=y.completionStatus),window.location.hash="Outgoing-Mail-Accounts"}function d(y){l=y,n(2,l),n(0,c),n(1,u)}return e.$$.update=()=>{e.$$.dirty&3&&n(2,l=c&&u)},[c,u,l,f,o,s,i,a,p,m,d]}class Ci extends he{constructor(t){super(),ue(this,t,tf,ef,ce,{},Ju)}}fe(Ci,{},[],[],!0);function nf(e){ve(e,"svelte-17amxfk",".points.svelte-17amxfk{display:flex;flex-direction:column;gap:16px;justify-content:space-between;align-items:center}img.svelte-17amxfk{margin:24px 0}@media(min-width: 768px){.points.svelte-17amxfk{flex-direction:row}}")}function Jo(e,t,n){const r=e.slice();return r[10]=t[n],r}function Qo(e){let t,n;function r(){return e[7](e[10])}return t=new st({props:{heading:e[10].heading,text:e[10].text,iconSrc:e[10].iconPath,backgroundColor:e[10].backgroundColor,cardPadding:"16px 16px 16px 24px",buttonAction:r,buttonText:e[10].completed?e[5]:e[4],buttonReversed:e[10].completed,tooltipText:e[10].tooltipText,tooltipLink:e[10].tooltipLink}}),{c(){H(t.$$.fragment)},m(o,s){B(t,o,s),n=!0},p(o,s){e=o;const i={};s&1&&(i.heading=e[10].heading),s&1&&(i.text=e[10].text),s&1&&(i.iconSrc=e[10].iconPath),s&1&&(i.backgroundColor=e[10].backgroundColor),s&1&&(i.buttonAction=r),s&1&&(i.buttonText=e[10].completed?e[5]:e[4]),s&1&&(i.buttonReversed=e[10].completed),s&1&&(i.tooltipText=e[10].tooltipText),s&1&&(i.tooltipLink=e[10].tooltipLink),t.$set(i)},i(o){n||(T(t.$$.fragment,o),n=!0)},o(o){S(t.$$.fragment,o),n=!1},d(o){R(t,o)}}}function rf(e){let t,n,r,o,s,i,a,l,c,u,f,p;n=new Ae({props:{text:e[2]("Connect your social media accounts")}}),c=new ge({props:{text:e[2]("LiveAgent can be integrated with Facebook, Instagram, and X(Twitter) accounts and transform communication from these channels into tickets for better and easier management. Having all available social networks connected to LiveAgent allows you to interact and reply to your customers from a single place instead of constantly switching between your social media accounts.")}});let m=Se(e[0]),d=[];for(let x=0;x<m.length;x+=1)d[x]=Qo(Jo(e,m,x));const y=x=>S(d[x],1,1,()=>{d[x]=null});return{c(){t=_("section"),H(n.$$.fragment),r=$(),o=_("div"),s=_("img"),l=$(),H(c.$$.fragment),u=$(),f=_("section");for(let x=0;x<d.length;x+=1)d[x].c();pe(s.src,i="public/assets/images/connect-social-media.svg")||g(s,"src",i),g(s,"alt",a=e[2]("connect social media")),g(s,"class","svelte-17amxfk"),g(o,"class","points svelte-17amxfk")},m(x,v){q(x,t,v),B(n,t,null),h(t,r),h(t,o),h(o,s),h(o,l),B(c,o,null),q(x,u,v),q(x,f,v);for(let w=0;w<d.length;w+=1)d[w]&&d[w].m(f,null);p=!0},p(x,v){const w={};v&4&&(w.text=x[2]("Connect your social media accounts")),n.$set(w),(!p||v&4&&a!==(a=x[2]("connect social media")))&&g(s,"alt",a);const k={};if(v&4&&(k.text=x[2]("LiveAgent can be integrated with Facebook, Instagram, and X(Twitter) accounts and transform communication from these channels into tickets for better and easier management. Having all available social networks connected to LiveAgent allows you to interact and reply to your customers from a single place instead of constantly switching between your social media accounts.")),c.$set(k),v&113){m=Se(x[0]);let E;for(E=0;E<m.length;E+=1){const L=Jo(x,m,E);d[E]?(d[E].p(L,v),T(d[E],1)):(d[E]=Qo(L),d[E].c(),T(d[E],1),d[E].m(f,null))}for(Re(),E=m.length;E<d.length;E+=1)y(E);He()}},i(x){if(!p){T(n.$$.fragment,x),T(c.$$.fragment,x);for(let v=0;v<m.length;v+=1)T(d[v]);p=!0}},o(x){S(n.$$.fragment,x),S(c.$$.fragment,x),d=d.filter(Boolean);for(let v=0;v<d.length;v+=1)S(d[v]);p=!1},d(x){x&&(V(t),V(u),V(f)),R(n),R(c),We(d,x)}}}function of(e){let t,n,r;function o(i){e[8](i)}let s={headerTitle:e[2]("Connect social media"),headerIconPath:e[3]+"connect-social-media.svg",nextStepCase:"mid",nextStepUnfinishedText:e[2]("Connecting social media account is needed to finalize this step."),nextStepFinishedText:e[2]("And how about connecting WhatsApp or Viber accounts? With LiveAgent, we got you covered!"),path:"/connect-social-media",$$slots:{default:[rf]},$$scope:{ctx:e}};return e[1]!==void 0&&(s.stepFinished=e[1]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&4&&(l.headerTitle=i[2]("Connect social media")),a&4&&(l.nextStepUnfinishedText=i[2]("Connecting social media account is needed to finalize this step.")),a&4&&(l.nextStepFinishedText=i[2]("And how about connecting WhatsApp or Viber accounts? With LiveAgent, we got you covered!")),a&8197&&(l.$$scope={dirty:a,ctx:i}),!n&&a&2&&(n=!0,l.stepFinished=i[1],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function sf(e,t,n){let r,o;me(e,Me,m=>n(9,r=m)),me(e,Ye,m=>n(2,o=m));const s=je("iconBasePath"),i=o("Connect"),a=o("Manage");let l=!1,c=[{id:"fb",heading:o("Facebook"),text:o("Connect your Facebook business page and transform all posts, comments, and private messages sent to that page into tickets."),iconPath:`${s}facebook_logo.svg`,backgroundColor:"--background-color-blue-primary",buttonAction:Tu,completed:!1,redirectPath:"Facebook-Pages",tooltipText:o("Need help connecting your Facebook accounts? Learn more"),tooltipLink:"https://support.liveagent.com/160306-Facebook-page-integration"},{id:"ig",heading:o("Instagram"),text:o("Connect your Instagram business page and transform all posts, comments, and private messages sent to that page into tickets."),iconPath:`${s}instagram_logo.svg`,backgroundColor:"--background-color-pink-primary",buttonAction:Eu,completed:!1,redirectPath:"FacebookChannel",tooltipText:o("Need help connecting your Instagram accounts? Learn more"),tooltipLink:"https://support.liveagent.com/984773-Instagram-account-integration"},{id:"x",heading:o("Twitter"),text:o("Connect your Twitter business page and transform all posts, comments, and private messages sent to that page into tickets."),iconPath:`${s}x_logo.svg`,backgroundColor:"--background-color-grey-primary",buttonAction:Su,completed:!1,redirectPath:"TwitterChannel",tooltipText:o("Need help connecting your X(Twitter) accounts? Learn more"),tooltipLink:"https://support.liveagent.com/645001-Twitter-account-integration"}];Je(async()=>{var m;if(n(1,l=((m=r[4])==null?void 0:m.state)==="c"),l)n(0,c=c.map(d=>({...d,completed:!0})));else{const d=c.map(async y=>{const x=await y.buttonAction();return{...y,completed:x.completionStatus}});n(0,c=await Promise.all(d))}});async function u(m){const d=c.findIndex(y=>y.heading===m.heading);if(d!==-1){const y=await c[d].buttonAction(!0);n(0,c[d].completed=y.completionStatus,c),n(0,c=[...c]),window.location.hash=m.redirectPath}}const f=m=>u(m);function p(m){l=m,n(1,l),n(0,c)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,l=c.every(m=>m.completed))},[c,l,o,s,i,a,u,f,p]}class Li extends he{constructor(t){super(),ue(this,t,sf,of,ce,{},nf)}}fe(Li,{},[],[],!0);function af(e){ve(e,"svelte-jq5b7z","section.svelte-jq5b7z{margin-bottom:24px}")}function lf(e){let t,n,r,o,s,i,a,l,c,u;return n=new Ae({props:{text:e[3]("Connect Messaging apps")}}),o=new ge({props:{text:e[3]("Connecting these messaging platforms to LiveAgent enables you to respond to your customers from one single platform, eliminating the need to switch between different apps or accounts continuously.")}}),a=new st({props:{heading:e[3]("Whatsapp"),text:e[3]("Linking your WhatsApp accounts to LiveAgent will seamlessly transform all incoming WhatsApp messages into tickets within the system. This enables your agents to easily and efficiently respond to each customer query received via WhatsApp."),iconSrc:e[6]+"whatsapp_logo.svg",backgroundColor:"--background-color-green-primary",cardPadding:"16px 16px 16px 24px",buttonAction:e[7],buttonText:e[0]?e[5]:e[4],buttonReversed:e[0],tooltipText:e[3]("Need help connecting your WhatsApp accounts? Learn more"),tooltipLink:"https://support.liveagent.com/518221-WhatsApp-integration-overview"}}),c=new st({props:{heading:e[3]("Viber"),text:e[3]("By integrating your Viber accounts with LiveAgent, all incoming Viber messages are systematically converted into individual tickets within the platform. This allows your agents to promptly and effortlessly address each customer inquiry received through Viber."),iconSrc:e[6]+"viber_logo.svg",backgroundColor:"--background-color-purple-primary",cardPadding:"16px 16px 16px 24px",buttonAction:e[8],buttonText:e[1]?e[5]:e[4],buttonReversed:e[1],tooltipText:e[3]("Need help connecting your Viber accounts? Learn more"),tooltipLink:"https://support.liveagent.com/491566-Viber-account-integration"}}),{c(){t=_("section"),H(n.$$.fragment),r=$(),H(o.$$.fragment),s=$(),i=_("section"),H(a.$$.fragment),l=$(),H(c.$$.fragment),g(t,"class","svelte-jq5b7z"),g(i,"class","svelte-jq5b7z")},m(f,p){q(f,t,p),B(n,t,null),h(t,r),B(o,t,null),q(f,s,p),q(f,i,p),B(a,i,null),h(i,l),B(c,i,null),u=!0},p(f,p){const m={};p&8&&(m.text=f[3]("Connect Messaging apps")),n.$set(m);const d={};p&8&&(d.text=f[3]("Connecting these messaging platforms to LiveAgent enables you to respond to your customers from one single platform, eliminating the need to switch between different apps or accounts continuously.")),o.$set(d);const y={};p&8&&(y.heading=f[3]("Whatsapp")),p&8&&(y.text=f[3]("Linking your WhatsApp accounts to LiveAgent will seamlessly transform all incoming WhatsApp messages into tickets within the system. This enables your agents to easily and efficiently respond to each customer query received via WhatsApp.")),p&1&&(y.buttonText=f[0]?f[5]:f[4]),p&1&&(y.buttonReversed=f[0]),p&8&&(y.tooltipText=f[3]("Need help connecting your WhatsApp accounts? Learn more")),a.$set(y);const x={};p&8&&(x.heading=f[3]("Viber")),p&8&&(x.text=f[3]("By integrating your Viber accounts with LiveAgent, all incoming Viber messages are systematically converted into individual tickets within the platform. This allows your agents to promptly and effortlessly address each customer inquiry received through Viber.")),p&2&&(x.buttonText=f[1]?f[5]:f[4]),p&2&&(x.buttonReversed=f[1]),p&8&&(x.tooltipText=f[3]("Need help connecting your Viber accounts? Learn more")),c.$set(x)},i(f){u||(T(n.$$.fragment,f),T(o.$$.fragment,f),T(a.$$.fragment,f),T(c.$$.fragment,f),u=!0)},o(f){S(n.$$.fragment,f),S(o.$$.fragment,f),S(a.$$.fragment,f),S(c.$$.fragment,f),u=!1},d(f){f&&(V(t),V(s),V(i)),R(n),R(o),R(a),R(c)}}}function cf(e){let t,n,r;function o(i){e[9](i)}let s={headerTitle:e[3]("Connect messaging apps"),headerIconPath:e[6]+"connect-messaging-apps.svg",nextStepCase:"mid",nextStepUnfinishedText:e[3]("This step requires you to connect any messaging app you prefer."),nextStepFinishedText:e[3]("Now, let's introduce another essential aspect of our tool - the diverse range of contact widgets that LiveAgent offers for your convenience."),path:"/connect-messaging-apps",$$slots:{default:[lf]},$$scope:{ctx:e}};return e[2]!==void 0&&(s.stepFinished=e[2]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&8&&(l.headerTitle=i[3]("Connect messaging apps")),a&8&&(l.nextStepUnfinishedText=i[3]("This step requires you to connect any messaging app you prefer.")),a&8&&(l.nextStepFinishedText=i[3]("Now, let's introduce another essential aspect of our tool - the diverse range of contact widgets that LiveAgent offers for your convenience.")),a&2059&&(l.$$scope={dirty:a,ctx:i}),!n&&a&4&&(n=!0,l.stepFinished=i[2],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function uf(e,t,n){let r,o;me(e,Me,d=>n(10,r=d)),me(e,Ye,d=>n(3,o=d));const s=o("Connect"),i=o("Manage"),a=je("iconBasePath");let l=!1,c=!1,u=!1;Je(async()=>{var d;if(n(2,l=((d=r[5])==null?void 0:d.state)==="c"),l)n(0,c=!0),n(1,u=!0);else{const y=await Wo(),x=await Xo();n(0,c=y.completionStatus),n(1,u=x.completionStatus)}});async function f(){const d=await Wo(!0);n(0,c=d.completionStatus),window.location.hash="WhatsApp-Configuration"}async function p(){const d=await Xo(!0);n(1,u=d.completionStatus),window.location.hash="Viber-Configuration"}function m(d){l=d,n(2,l),n(0,c),n(1,u)}return e.$$.update=()=>{e.$$.dirty&3&&c&&u&&n(2,l=!0)},[c,u,l,o,s,i,a,f,p,m]}class ji extends he{constructor(t){super(),ue(this,t,uf,cf,ce,{},af)}}fe(ji,{},[],[],!0);function ff(e){ve(e,"svelte-1vf96my","section.svelte-1vf96my{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 20px;border-radius:6px;background-color:var(--background-color-grey-secondary)}img.svelte-1vf96my{margin:24px 0}")}function es(e,t,n){const r=e.slice();return r[8]=t[n],r}function ts(e){let t,n;function r(){return e[5](e[8])}return t=new st({props:{heading:e[8].heading,text:e[8].text,iconSrc:e[8].iconPath,cardPadding:"14px 10px 14px 16px",buttonAction:r,buttonText:e[8].completed?e[2]("Manage"):e[2]("Create"),buttonReversed:e[8].completed,tooltipText:e[8].tooltipText,tooltipLink:e[8].tooltipLink}}),{c(){H(t.$$.fragment)},m(o,s){B(t,o,s),n=!0},p(o,s){e=o;const i={};s&1&&(i.heading=e[8].heading),s&1&&(i.text=e[8].text),s&1&&(i.iconSrc=e[8].iconPath),s&1&&(i.buttonAction=r),s&5&&(i.buttonText=e[8].completed?e[2]("Manage"):e[2]("Create")),s&1&&(i.buttonReversed=e[8].completed),s&1&&(i.tooltipText=e[8].tooltipText),s&1&&(i.tooltipLink=e[8].tooltipLink),t.$set(i)},i(o){n||(T(t.$$.fragment,o),n=!0)},o(o){S(t.$$.fragment,o),n=!1},d(o){R(t,o)}}}function hf(e){let t,n,r,o,s,i,a,l,c;t=new Ae({props:{text:e[2]("Create contact widgets for your website")}}),r=new ge({props:{text:e[2]("LiveAgent provides various contact widgets that aim to enhance your interactive customer-service experience and streamline communication. Each of these widgets offers a unique path to connect with customers, ultimately improving their experience and boosting your customer service performance.")}});let u=Se(e[0]),f=[];for(let m=0;m<u.length;m+=1)f[m]=ts(es(e,u,m));const p=m=>S(f[m],1,1,()=>{f[m]=null});return{c(){H(t.$$.fragment),n=$(),H(r.$$.fragment),o=$(),s=_("img"),a=$(),l=_("section");for(let m=0;m<f.length;m+=1)f[m].c();pe(s.src,i="public/assets/images/contact-widgets.svg")||g(s,"src",i),g(s,"alt","contact widgets"),g(s,"class","svelte-1vf96my"),g(l,"class","svelte-1vf96my")},m(m,d){B(t,m,d),q(m,n,d),B(r,m,d),q(m,o,d),q(m,s,d),q(m,a,d),q(m,l,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(l,null);c=!0},p(m,d){const y={};d&4&&(y.text=m[2]("Create contact widgets for your website")),t.$set(y);const x={};if(d&4&&(x.text=m[2]("LiveAgent provides various contact widgets that aim to enhance your interactive customer-service experience and streamline communication. Each of these widgets offers a unique path to connect with customers, ultimately improving their experience and boosting your customer service performance.")),r.$set(x),d&21){u=Se(m[0]);let v;for(v=0;v<u.length;v+=1){const w=es(m,u,v);f[v]?(f[v].p(w,d),T(f[v],1)):(f[v]=ts(w),f[v].c(),T(f[v],1),f[v].m(l,null))}for(Re(),v=u.length;v<f.length;v+=1)p(v);He()}},i(m){if(!c){T(t.$$.fragment,m),T(r.$$.fragment,m);for(let d=0;d<u.length;d+=1)T(f[d]);c=!0}},o(m){S(t.$$.fragment,m),S(r.$$.fragment,m),f=f.filter(Boolean);for(let d=0;d<f.length;d+=1)S(f[d]);c=!1},d(m){m&&(V(n),V(o),V(s),V(a),V(l)),R(t,m),R(r,m),We(f,m)}}}function pf(e){let t,n,r;function o(i){e[6](i)}let s={headerTitle:e[2]("Create contact widget"),headerIconPath:e[3]+"add-chat-button.svg",nextStepCase:"mid",nextStepUnfinishedText:e[2]("You can finish this step by creating any contact widget."),nextStepFinishedText:e[2]("Were you aware that with LiveAgent, you're able to manage actual phone calls too?"),path:"/create-contact-widget",$$slots:{default:[hf]},$$scope:{ctx:e}};return e[1]!==void 0&&(s.stepFinished=e[1]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&4&&(l.headerTitle=i[2]("Create contact widget")),a&4&&(l.nextStepUnfinishedText=i[2]("You can finish this step by creating any contact widget.")),a&4&&(l.nextStepFinishedText=i[2]("Were you aware that with LiveAgent, you're able to manage actual phone calls too?")),a&2053&&(l.$$scope={dirty:a,ctx:i}),!n&&a&2&&(n=!0,l.stepFinished=i[1],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function df(e,t,n){let r,o;me(e,Me,f=>n(7,r=f)),me(e,Ye,f=>n(2,o=f));let s=!1;const i=je("iconBasePath");let a=[{id:"chatButtons",heading:o("Chat buttons"),text:o("These are easily customizable and allow your customers to instantly initiate a live chat with your agents right from your webpage. There are many types and pre-defined designs available. Make sure to check them out!"),iconPath:`${i}chat_buttons.svg`,buttonAction:Pu,completed:!1,redirectPath:"Chat-Buttons;",tooltipText:o("Need help setting up your Chat Buttons? Learn more"),tooltipLink:"https://support.liveagent.com/373207-Creating-chat-buttons"},{id:"chatInvitations",heading:o("Chat invitations"),text:o("Proactively engage your customers by sending automated chat invitations based on specific criteria, like pages visited or time spent on a page."),iconPath:`${i}invitations.svg`,buttonAction:Au,completed:!1,redirectPath:"Invitations",tooltipText:o("Need help setting up your Chat Invitations? Learn more"),tooltipLink:"https://support.liveagent.com/788093-Proactive-chat-invitations"},{id:"contactForms",heading:o("Contact forms"),text:o("This widget enables customers to quickly send their inquiries or feedback as tickets directly from your webpage by simply clicking a button or filling out an in-page form."),iconPath:`${i}form.svg`,buttonAction:Cu,completed:!1,redirectPath:"Contact-Button",tooltipText:o("Need help setting up your Contact Forms? Learn more"),tooltipLink:"https://support.liveagent.com/161553-Contact-forms"},{id:"callButtons",heading:o("Call buttons"),text:o("These simple buttons let your customers start a direct call from their web browser with an available agent from your team in LiveAgent."),iconPath:`${i}calls.svg`,buttonAction:Lu,completed:!1,redirectPath:"Call-Configuration",tooltipText:o("Need help setting up your Call Buttons? Learn more"),tooltipLink:"https://support.liveagent.com/110248-Call-Us-buttons"},{id:"videoCallButtons",heading:o("Video call buttons"),text:o("As the name suggests, this button offers an opportunity for face-to-face interaction, allowing customers and agents to connect even more personally."),iconPath:`${i}videocall.svg`,buttonAction:ju,completed:!1,redirectPath:"Video-Call-Configuration",tooltipText:o("Need help setting up your Video Call Buttons? Learn more"),tooltipLink:"https://support.liveagent.com/079919-Video-call---Creating-video-call-buttons"}];Je(async()=>{var f;n(1,s=((f=r[6])==null?void 0:f.state)==="c"),s?n(0,a=a.map(p=>({...p,completed:!0}))):n(0,a=await Promise.all(a.map(async p=>{const m=await p.buttonAction();return{...p,completed:m.completionStatus}})))});async function l(f){const p=a.findIndex(m=>m.id===f);if(p!==-1){const m=await a[p].buttonAction(!0);n(0,a[p].completed=m.completionStatus,a),n(0,a=[...a]),window.location.hash=a[p].redirectPath}}const c=f=>l(f.id);function u(f){s=f,n(1,s),n(0,a)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,s=a.every(f=>f.completed))},[a,s,o,i,l,c,u]}class Ii extends he{constructor(t){super(),ue(this,t,df,pf,ce,{},ff)}}fe(Ii,{},[],[],!0);function gf(e){ve(e,"svelte-1id2zvy",'.point.svelte-1id2zvy{padding-left:34px}h5.svelte-1id2zvy{position:relative;margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px}h5.svelte-1id2zvy:before{content:url("../../../../public/assets/icons/checkmark.svg");position:absolute;top:0;left:-25px;width:16px;height:16px}@media(min-width: 768px){h5.svelte-1id2zvy{font-size:13px}}')}function mf(e){let t,n,r,o,s,i;return s=new ge({props:{text:e[1]}}),{c(){t=_("div"),n=_("h5"),r=ee(e[0]),o=$(),H(s.$$.fragment),g(n,"class","svelte-1id2zvy"),g(t,"class","point svelte-1id2zvy")},m(a,l){q(a,t,l),h(t,n),h(n,r),h(t,o),B(s,t,null),i=!0},p(a,[l]){(!i||l&1)&&ae(r,a[0]);const c={};l&2&&(c.text=a[1]),s.$set(c)},i(a){i||(T(s.$$.fragment,a),i=!0)},o(a){S(s.$$.fragment,a),i=!1},d(a){a&&V(t),R(s)}}}function vf(e,t,n){let{heading:r}=t,{text:o}=t;return e.$$set=s=>{"heading"in s&&n(0,r=s.heading),"text"in s&&n(1,o=s.text)},[r,o]}class Oi extends he{constructor(t){super(),ue(this,t,vf,mf,ce,{heading:0,text:1},gf)}get heading(){return this.$$.ctx[0]}set heading(t){this.$$set({heading:t}),K()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),K()}}fe(Oi,{heading:{},text:{}},[],[],!0);function bf(e){ve(e,"svelte-1esd0z3",".top-section.svelte-1esd0z3{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.points-wrapper.svelte-1esd0z3{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:0 10px;margin-bottom:12px}.info-panel.svelte-1esd0z3{padding:6px 10px;margin-bottom:12px;border:1px solid var(--border-color-orange);border-radius:6px;background-color:var(--background-color-orange-primary)}.info-panel-header.svelte-1esd0z3{display:flex;align-items:center;justify-content:flex-start;gap:6px}h5.svelte-1esd0z3{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.image.svelte-1esd0z3{margin-bottom:24px}ul.svelte-1esd0z3{margin:0}li.svelte-1esd0z3{color:var(--text-color-primary);font-family:Roboto;font-size:12px;line-height:20px}@media(min-width: 768px){.top-section.svelte-1esd0z3{flex-direction:row}li.svelte-1esd0z3{font-size:13px}}")}function ns(e,t,n){const r=e.slice();return r[8]=t[n],r}function rs(e){let t,n;return t=new Oi({props:{heading:e[8].heading,text:e[8].text}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p:re,i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function yf(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I=e[1]("What do you need?")+"",z,X,F,U,ne=e[1]("Obtain a phone number from a VoIP (voice-over-internet provider).")+"",te,Y,A,M=e[1]("Connect it with your LiveAgent account")+"",j,D,P,N;r=new Ae({props:{text:e[1]("Create a call center")}}),s=new ge({props:{text:e[1]("LiveAgent provides an integrated call center solution that allows you to receive, answer, and log phone calls as tickets. So, with a few steps, you can turn your helpdesk into a dynamic call center, eliminating the need for third-party calling solutions.")}}),p=new Ae({props:{text:e[1]("What we offer?")}});let oe=Se(e[4]),J=[];for(let O=0;O<oe.length;O+=1)J[O]=rs(ns(e,oe,O));const le=O=>S(J[O],1,1,()=>{J[O]=null});return P=new st({props:{heading:e[1]("Call center"),text:e[1]("Upgrade your helpdesk to a active call center"),iconSrc:e[2]+"calls.svg",cardPadding:"14px 10px",textPadding:"24px",backgroundColor:"--background-color-primary",buttonAction:e[5],buttonText:e[0]?e[1]("Manage"):e[1]("Connect"),buttonReversed:e[0],tooltipText:e[1]("Need help setting up your Call center? Learn more"),tooltipLink:"https://support.liveagent.com/773213-Connecting-a-phone-number"}}),{c(){t=_("section"),n=_("div"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),a=_("img"),u=$(),f=_("section"),H(p.$$.fragment),m=$(),d=_("div");for(let O=0;O<J.length;O+=1)J[O].c();y=$(),x=_("div"),v=_("div"),w=_("img"),L=$(),C=_("h5"),z=ee(I),X=$(),F=_("ul"),U=_("li"),te=ee(ne),Y=$(),A=_("li"),j=ee(M),D=$(),H(P.$$.fragment),g(n,"class","left"),g(a,"class","image svelte-1esd0z3"),pe(a.src,l=e[3]+"create_call_center.svg")||g(a,"src",l),g(a,"alt",c=e[1]("Create call center")),g(t,"class","top-section svelte-1esd0z3"),g(d,"class","points-wrapper svelte-1esd0z3"),pe(w.src,k=e[2]+"warning.svg")||g(w,"src",k),g(w,"alt",E=e[1]("warning icon")),g(C,"class","svelte-1esd0z3"),g(v,"class","info-panel-header svelte-1esd0z3"),g(U,"class","svelte-1esd0z3"),g(A,"class","svelte-1esd0z3"),g(F,"class","svelte-1esd0z3"),g(x,"class","info-panel svelte-1esd0z3")},m(O,Z){q(O,t,Z),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(t,i),h(t,a),q(O,u,Z),q(O,f,Z),B(p,f,null),h(f,m),h(f,d);for(let ye=0;ye<J.length;ye+=1)J[ye]&&J[ye].m(d,null);h(f,y),h(f,x),h(x,v),h(v,w),h(v,L),h(v,C),h(C,z),h(x,X),h(x,F),h(F,U),h(U,te),h(F,Y),h(F,A),h(A,j),h(f,D),B(P,f,null),N=!0},p(O,Z){const ye={};Z&2&&(ye.text=O[1]("Create a call center")),r.$set(ye);const we={};Z&2&&(we.text=O[1]("LiveAgent provides an integrated call center solution that allows you to receive, answer, and log phone calls as tickets. So, with a few steps, you can turn your helpdesk into a dynamic call center, eliminating the need for third-party calling solutions.")),s.$set(we),(!N||Z&2&&c!==(c=O[1]("Create call center")))&&g(a,"alt",c);const ke={};if(Z&2&&(ke.text=O[1]("What we offer?")),p.$set(ke),Z&16){oe=Se(O[4]);let se;for(se=0;se<oe.length;se+=1){const Ee=ns(O,oe,se);J[se]?(J[se].p(Ee,Z),T(J[se],1)):(J[se]=rs(Ee),J[se].c(),T(J[se],1),J[se].m(d,null))}for(Re(),se=oe.length;se<J.length;se+=1)le(se);He()}(!N||Z&2&&E!==(E=O[1]("warning icon")))&&g(w,"alt",E),(!N||Z&2)&&I!==(I=O[1]("What do you need?")+"")&&ae(z,I),(!N||Z&2)&&ne!==(ne=O[1]("Obtain a phone number from a VoIP (voice-over-internet provider).")+"")&&ae(te,ne),(!N||Z&2)&&M!==(M=O[1]("Connect it with your LiveAgent account")+"")&&ae(j,M);const Te={};Z&2&&(Te.heading=O[1]("Call center")),Z&2&&(Te.text=O[1]("Upgrade your helpdesk to a active call center")),Z&3&&(Te.buttonText=O[0]?O[1]("Manage"):O[1]("Connect")),Z&1&&(Te.buttonReversed=O[0]),Z&2&&(Te.tooltipText=O[1]("Need help setting up your Call center? Learn more")),P.$set(Te)},i(O){if(!N){T(r.$$.fragment,O),T(s.$$.fragment,O),T(p.$$.fragment,O);for(let Z=0;Z<oe.length;Z+=1)T(J[Z]);T(P.$$.fragment,O),N=!0}},o(O){S(r.$$.fragment,O),S(s.$$.fragment,O),S(p.$$.fragment,O),J=J.filter(Boolean);for(let Z=0;Z<J.length;Z+=1)S(J[Z]);S(P.$$.fragment,O),N=!1},d(O){O&&(V(t),V(u),V(f)),R(r),R(s),R(p),We(J,O),R(P)}}}function _f(e){let t,n,r;function o(i){e[6](i)}let s={headerTitle:e[1]("Create a call center"),headerIconPath:e[2]+"add-voice-support.svg",nextStepCase:"mid",nextStepUnfinishedText:e[1]("To complete this step, connect your phone number from VoIP."),nextStepFinishedText:e[1]("We're nearly there. Just one last step remains! Let’s have a look at the Customer Portal and what it offers."),path:"/create-call-center",$$slots:{default:[yf]},$$scope:{ctx:e}};return e[0]!==void 0&&(s.stepFinished=e[0]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&2&&(l.headerTitle=i[1]("Create a call center")),a&2&&(l.nextStepUnfinishedText=i[1]("To complete this step, connect your phone number from VoIP.")),a&2&&(l.nextStepFinishedText=i[1]("We're nearly there. Just one last step remains! Let’s have a look at the Customer Portal and what it offers.")),a&2051&&(l.$$scope={dirty:a,ctx:i}),!n&&a&1&&(n=!0,l.stepFinished=i[0],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function xf(e,t,n){let r,o;me(e,Me,f=>n(7,r=f)),me(e,Ye,f=>n(1,o=f));const s=je("iconBasePath"),i=je("imageBasePath"),a=[{heading:o("Integration possibilities with many VoIP providers worldwide"),text:o("If your desired provider is not on the list, the general integration method can always be used, but feel free to let us know! We will do our best to add them.")},{heading:o("Unlimited call recording"),text:o("With unlimited call recordings, you can capture every phone interaction, providing a valuable resource for quality assurance and continual agent training.")},{heading:o("IVR (interactive voice response)"),text:o("This feature lets you play customized greetings or informational recordings to engage callers. It provides options for data collection during the call interaction and enables callers to interact through touch-tone signaling. Callers can invoke various actions by pressing numbers, such as being routed to the correct agent or department or requesting a callback.")},{heading:o("Call Devices"),text:o("If you prefer not to handle calls through your PC browser, you can seamlessly link an external hardware phone to LiveAgent. This function allows you to make or answer calls easily, offering an alternative method for managing phone interactions that best suits your convenience.")},{heading:o("Mobile apps"),text:o("To provide you with added convenience, we offer free mobile applications for both Android and iOS platforms. These apps allow you to manage your LiveAgent phone calls effortlessly while on the go.")},{heading:o("Call queue"),text:o("Our Call queue feature ensures no calls are missed even when all agents are occupied. Incoming calls enter a queue and await their turn until the next available agent can handle the call.")}];let l=!1;Je(async()=>{var p;const f=await Yo();n(0,l=f.completionStatus||((p=r[7])==null?void 0:p.state)==="c")});async function c(){const f=await Yo(!0);n(0,l=f.completionStatus),Cn("/configuration/call_center")}function u(f){l=f,n(0,l)}return[l,o,s,i,a,c,u]}class Bi extends he{constructor(t){super(),ue(this,t,xf,_f,ce,{},bf)}}fe(Bi,{},[],[],!0);function wf(e){ve(e,"svelte-1dbl9ok",".section-top.svelte-1dbl9ok{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.mid-section.svelte-1dbl9ok{display:flex;flex-direction:column;gap:24px;margin-bottom:12px}.widgets-wrapper.svelte-1dbl9ok{display:flex;flex-direction:column;align-items:flex-start;padding:16px 20px;margin-bottom:12px;border-radius:6px;background-color:var(--background-color-grey-secondary)}p.svelte-1dbl9ok{display:inline;margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:400;line-height:20px}@media(min-width: 768px){.section-top.svelte-1dbl9ok{flex-direction:row}p.svelte-1dbl9ok{font-size:13px}}")}function os(e,t,n){const r=e.slice();return r[9]=t[n],r[11]=n,r}function kf(e){let t,n;return t=new ge({props:{additionalStyles:"padding: 0 10px 4px 10px; margin: -3px 0 7px 0",text:"you might have already noticed on the Customer Portal configuration screens, there are other more advanced options, like customizing the HTML and CSS or adding your own tracking scripts to the Customer Portal itself."}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function ss(e){let t,n,r,o=e[11]===2&&kf();function s(){return e[6](e[9])}return n=new st({props:{heading:e[9].heading,text:e[9].text,iconSrc:e[9].iconPath,cardPadding:"14px 16px",buttonAction:s,buttonText:(e[9].completed?e[9].buttonTextCompleted:e[9].buttonTextUncompleted)??e[2]("Manage"),buttonReversed:e[9].completed,tooltipText:"Need help customizing your Customer portal? Learn more",tooltipLink:"https://support.liveagent.com/383529-Customer-portal---Knowledge-base"}}),{c(){o&&o.c(),t=$(),H(n.$$.fragment)},m(i,a){o&&o.m(i,a),q(i,t,a),B(n,i,a),r=!0},p(i,a){e=i;const l={};a&1&&(l.heading=e[9].heading),a&1&&(l.text=e[9].text),a&1&&(l.iconSrc=e[9].iconPath),a&1&&(l.buttonAction=s),a&5&&(l.buttonText=(e[9].completed?e[9].buttonTextCompleted:e[9].buttonTextUncompleted)??e[2]("Manage")),a&1&&(l.buttonReversed=e[9].completed),n.$set(l)},i(i){r||(T(o),T(n.$$.fragment,i),r=!0)},o(i){S(o),S(n.$$.fragment,i),r=!1},d(i){i&&V(t),o&&o.d(i),R(n,i)}}}function $f(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I,z,X,F,U;r=new Ae({props:{text:"Configure Customer Portal"}}),s=new ge({props:{text:"As the final step, let's talk about the Customer Portal, a platform where your customers can reach out, get information, and solve their problems independently. A well-maintained knowledge base can significantly reduce the load on your agents and improve customer satisfaction."}}),m=new wt({props:{text:"support.liveagent.com",href:"https://support.liveagent.com/"}}),w=new wt({props:{text:e[4],href:e[4]}});let ne=Se(e[0]),te=[];for(let A=0;A<ne.length;A+=1)te[A]=ss(os(e,ne,A));const Y=A=>S(te[A],1,1,()=>{te[A]=null});return X=new wt({props:{text:e[4],href:e[4]}}),{c(){t=_("section"),n=_("div"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),a=_("img"),c=$(),u=_("section"),f=_("p"),p=ee(`With LiveAgent, you can fully customize your Customer Portal design according to your brand's theme and preferences. As an example or inspiration, feel free to check our LiveAgent knowledge base available at
|
9
|
+
`),H(m.$$.fragment),d=ee(`
|
10
|
+
, which is built only by this feature alone.`),y=$(),x=_("p"),v=ee("And now let's have a look at your own Customer Portal here: "),H(w.$$.fragment),k=ee(" It might take some time until it’s also nice and shiny but don’t worry, you will get there eventually."),E=$(),L=_("section");for(let A=0;A<te.length;A+=1)te[A].c();C=$(),I=_("p"),z=ee("Once enabled, head back to your customer portal "),H(X.$$.fragment),F=ee(' and see what you achieved. Well done! 👍"'),pe(a.src,l="public/assets/images/configure_customer_portal.svg")||g(a,"src",l),g(a,"alt","Customer support portal"),g(t,"class","section-top svelte-1dbl9ok"),g(f,"class","svelte-1dbl9ok"),g(x,"class","svelte-1dbl9ok"),g(u,"class","mid-section svelte-1dbl9ok"),g(L,"class","widgets-wrapper svelte-1dbl9ok"),g(I,"class","svelte-1dbl9ok")},m(A,M){q(A,t,M),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(t,i),h(t,a),q(A,c,M),q(A,u,M),h(u,f),h(f,p),B(m,f,null),h(f,d),h(u,y),h(u,x),h(x,v),B(w,x,null),h(x,k),q(A,E,M),q(A,L,M);for(let j=0;j<te.length;j+=1)te[j]&&te[j].m(L,null);q(A,C,M),q(A,I,M),h(I,z),B(X,I,null),h(I,F),U=!0},p(A,M){if(M&37){ne=Se(A[0]);let j;for(j=0;j<ne.length;j+=1){const D=os(A,ne,j);te[j]?(te[j].p(D,M),T(te[j],1)):(te[j]=ss(D),te[j].c(),T(te[j],1),te[j].m(L,null))}for(Re(),j=ne.length;j<te.length;j+=1)Y(j);He()}},i(A){if(!U){T(r.$$.fragment,A),T(s.$$.fragment,A),T(m.$$.fragment,A),T(w.$$.fragment,A);for(let M=0;M<ne.length;M+=1)T(te[M]);T(X.$$.fragment,A),U=!0}},o(A){S(r.$$.fragment,A),S(s.$$.fragment,A),S(m.$$.fragment,A),S(w.$$.fragment,A),te=te.filter(Boolean);for(let M=0;M<te.length;M+=1)S(te[M]);S(X.$$.fragment,A),U=!1},d(A){A&&(V(t),V(c),V(u),V(E),V(L),V(C),V(I)),R(r),R(s),R(m),R(w),We(te,A),R(X)}}}function Tf(e){let t,n,r;function o(i){e[7](i)}let s={headerTitle:"Configure customer portal",headerIconPath:e[3]+"setup-customer-portal.svg",nextStepCase:"last",nextStepUnfinishedText:"Keep up the pace! Create your knowledgebase to finalize this step.",nextStepFinishedText:"Congratulations! You've reached the end.",path:"/configure-customer-portal",$$slots:{default:[$f]},$$scope:{ctx:e}};return e[1]!==void 0&&(s.stepFinished=e[1]),t=new et({props:s}),Ze.push(()=>at(t,"stepFinished",o)),{c(){H(t.$$.fragment)},m(i,a){B(t,i,a),r=!0},p(i,[a]){const l={};a&4101&&(l.$$scope={dirty:a,ctx:i}),!n&&a&2&&(n=!0,l.stepFinished=i[1],it(()=>n=!1)),t.$set(l)},i(i){r||(T(t.$$.fragment,i),r=!0)},o(i){S(t.$$.fragment,i),r=!1},d(i){R(t,i)}}}function Ef(e,t,n){let r,o,s;me(e,Me,p=>n(8,o=p)),me(e,Ye,p=>n(2,s=p));const i=je("iconBasePath"),a=window.location.origin;let l=[{id:"theme",heading:s("Choose theme"),text:s("Let’s start by choosing a customer portal theme. There are a few options to choose from. You can use the “Preview” button to check them out first."),iconPath:`${i}brush.svg`,buttonAction:Iu,completed:!1,buttonTextCompleted:"Change theme",buttonTextUncompleted:"Change theme",redirectPath:"Themes"},{id:"colors",heading:"Personalize Customer Portal",text:"You can also easily customize the color scheme of your customer portal.",iconPath:`${i}palette.svg`,buttonAction:Ou,completed:!1,buttonTextCompleted:"Change colors",buttonTextUncompleted:"Change colors",redirectPath:"Colors"},{id:"article",heading:"Create your first article",text:"Another thing to note is how easy it is to create your own knowledge base articles for your customer portal visitors.",iconPath:`${i}edit.svg`,buttonAction:Bu,completed:!1,buttonTextCompleted:"Create article",buttonTextUncompleted:"Create article",redirectPath:"Article"},{id:"kb",heading:"Make your Knowledgebase public",text:"The last step is to enable the knowledgebase to make your articles visible on your customer portal.",iconPath:`${i}show.svg`,buttonAction:Ru,completed:!1,buttonTextCompleted:"Enable knowledgebase",buttonTextUncompleted:"Manage knowledgebase",redirectPath:"Knowledge-base"}];Je(async()=>{var p;n(1,r=((p=o[8])==null?void 0:p.state)==="c"),r?n(0,l=l.map(m=>({...m,completed:!0}))):n(0,l=await Promise.all(l.map(async m=>{const d=await m.buttonAction();return{...m,completed:d.completionStatus}})))});async function c(p){const m=l.findIndex(d=>d.id===p);if(m!==-1){const d=await l[m].buttonAction(!0);n(0,l[m].completed=d.completionStatus,l),n(0,l=[...l]),window.location.hash=l[m].redirectPath}}const u=p=>c(p.id);function f(p){r=p,n(1,r),n(0,l)}return e.$$.update=()=>{e.$$.dirty&1&&n(1,r=l.every(p=>p.completed))},[l,r,s,i,a,c,u,f]}class Ri extends he{constructor(t){super(),ue(this,t,Ef,Tf,ce,{},wf)}}fe(Ri,{},[],[],!0);function Sf(e){ve(e,"svelte-sacclk",".key.svelte-sacclk{display:flex;align-items:center;justify-content:center;height:24px;padding:2px 6px;gap:4px;color:var(--text-color-primary);background-color:var(--background-color-grey-local);border-bottom:1px solid var(--text-color-primary);border-radius:6px;overflow:hidden;white-space:nowrap}.tooltip.svelte-sacclk{color:var(--text-color-blue-primary)}")}function is(e){let t,n;return{c(){t=_("img"),g(t,"class","icon"),pe(t.src,n=e[1])||g(t,"src",n),g(t,"alt","Icon")},m(r,o){q(r,t,o)},p(r,o){o&2&&!pe(t.src,n=r[1])&&g(t,"src",n)},d(r){r&&V(t)}}}function as(e){let t,n,r;return{c(){t=_("span"),n=ee(e[0]),g(t,"class",r=Hn(e[2]?"tooltip":"")+" svelte-sacclk")},m(o,s){q(o,t,s),h(t,n)},p(o,s){s&1&&ae(n,o[0]),s&4&&r!==(r=Hn(o[2]?"tooltip":"")+" svelte-sacclk")&&g(t,"class",r)},d(o){o&&V(t)}}}function Pf(e){let t,n,r=e[1]&&is(e),o=e[0]&&as(e);return{c(){t=_("div"),r&&r.c(),n=$(),o&&o.c(),g(t,"class","key svelte-sacclk"),W(t,"--background-color-grey-local",e[3].systemTags.greyEmpty)},m(s,i){q(s,t,i),r&&r.m(t,null),h(t,n),o&&o.m(t,null)},p(s,[i]){s[1]?r?r.p(s,i):(r=is(s),r.c(),r.m(t,n)):r&&(r.d(1),r=null),s[0]?o?o.p(s,i):(o=as(s),o.c(),o.m(t,null)):o&&(o.d(1),o=null),i&8&&W(t,"--background-color-grey-local",s[3].systemTags.greyEmpty)},i:re,o:re,d(s){s&&V(t),r&&r.d(),o&&o.d()}}}function Af(e,t,n){let r;me(e,bt,a=>n(3,r=a));let{text:o=""}=t,{iconPath:s=""}=t,{isTooltip:i=!1}=t;return e.$$set=a=>{"text"in a&&n(0,o=a.text),"iconPath"in a&&n(1,s=a.iconPath),"isTooltip"in a&&n(2,i=a.isTooltip)},[o,s,i,r]}class Hi extends he{constructor(t){super(),ue(this,t,Af,Pf,ce,{text:0,iconPath:1,isTooltip:2},Sf)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get iconPath(){return this.$$.ctx[1]}set iconPath(t){this.$$set({iconPath:t}),K()}get isTooltip(){return this.$$.ctx[2]}set isTooltip(t){this.$$set({isTooltip:t}),K()}}fe(Hi,{text:{},iconPath:{},isTooltip:{type:"Boolean"}},[],[],!0);function Cf(e){ve(e,"svelte-12t4ywa",".keys.svelte-12t4ywa{display:flex;align-items:center;justify-content:center;gap:4px}.plus.svelte-12t4ywa{color:var(--text-color-primary);font-family:'Roboto';font-size:13px}.tooltip.svelte-12t4ywa{color:var(--text-color-blue-primary)}")}function ls(e,t,n){const r=e.slice();return r[2]=t[n],r[4]=n,r}function cs(e){let t,n,r;return{c(){t=_("span"),n=ee("+"),g(t,"class",r="plus "+(e[1]?"tooltip":"")+" svelte-12t4ywa")},m(o,s){q(o,t,s),h(t,n)},p(o,s){s&2&&r!==(r="plus "+(o[1]?"tooltip":"")+" svelte-12t4ywa")&&g(t,"class",r)},d(o){o&&V(t)}}}function us(e){let t,n,r,o;t=new Hi({props:{text:e[2].text,iconPath:e[2].iconPath,isTooltip:e[1]}});let s=e[4]<e[0].length-1&&cs(e);return{c(){H(t.$$.fragment),n=$(),s&&s.c(),r=Ft()},m(i,a){B(t,i,a),q(i,n,a),s&&s.m(i,a),q(i,r,a),o=!0},p(i,a){const l={};a&1&&(l.text=i[2].text),a&1&&(l.iconPath=i[2].iconPath),a&2&&(l.isTooltip=i[1]),t.$set(l),i[4]<i[0].length-1?s?s.p(i,a):(s=cs(i),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},i(i){o||(T(t.$$.fragment,i),o=!0)},o(i){S(t.$$.fragment,i),o=!1},d(i){i&&(V(n),V(r)),R(t,i),s&&s.d(i)}}}function Lf(e){let t,n,r=Se(e[0]),o=[];for(let i=0;i<r.length;i+=1)o[i]=us(ls(e,r,i));const s=i=>S(o[i],1,1,()=>{o[i]=null});return{c(){t=_("div");for(let i=0;i<o.length;i+=1)o[i].c();g(t,"class","keys svelte-12t4ywa")},m(i,a){q(i,t,a);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(t,null);n=!0},p(i,[a]){if(a&3){r=Se(i[0]);let l;for(l=0;l<r.length;l+=1){const c=ls(i,r,l);o[l]?(o[l].p(c,a),T(o[l],1)):(o[l]=us(c),o[l].c(),T(o[l],1),o[l].m(t,null))}for(Re(),l=r.length;l<o.length;l+=1)s(l);He()}},i(i){if(!n){for(let a=0;a<r.length;a+=1)T(o[a]);n=!0}},o(i){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)S(o[a]);n=!1},d(i){i&&V(t),We(o,i)}}}function jf(e,t,n){let{keys:r}=t,{isTooltip:o=!1}=t;return e.$$set=s=>{"keys"in s&&n(0,r=s.keys),"isTooltip"in s&&n(1,o=s.isTooltip)},[r,o]}class nr extends he{constructor(t){super(),ue(this,t,jf,Lf,ce,{keys:0,isTooltip:1},Cf)}get keys(){return this.$$.ctx[0]}set keys(t){this.$$set({keys:t}),K()}get isTooltip(){return this.$$.ctx[1]}set isTooltip(t){this.$$set({isTooltip:t}),K()}}fe(nr,{keys:{},isTooltip:{type:"Boolean"}},[],[],!0);function If(e){ve(e,"svelte-sjusez",".tooltip.svelte-sjusez{position:absolute;display:flex;padding-left:10px;flex-direction:column;align-items:center;gap:4px;background-color:var(--background-color-blue-primary);border-radius:6px;box-shadow:0 8px 24px 0 rgba(30, 34, 39, 0.10), 0 1px 3px 0 rgba(30, 34, 39, 0.12)}.heading.svelte-sjusez{padding:2px 10px 2px 0;border-bottom:1px solid var(--border-color-secondary)}.text.svelte-sjusez{color:var(--text-color-infoPanel);text-align:center;font-family:Roboto;font-size:12px;font-weight:700;line-height:20px}.shortcuts.svelte-sjusez{display:flex;flex-flow:wrap column;align-items:flex-start;justify-content:center;gap:10px;padding:8px 10px 8px 0}.first-row.svelte-sjusez{display:flex;align-items:center;justify-content:space-between;gap:10px}.or.svelte-sjusez{color:var(--text-color-primary);font-size:12px;font-weight:700}.hide.svelte-sjusez{display:none}.nextTab.svelte-sjusez{top:55px;left:110px}.closeTab.svelte-sjusez{top:55px;left:250px}.answer.svelte-sjusez{display:none}.send.svelte-sjusez{top:530px;left:40px}.canned.svelte-sjusez{top:450px;left:200px}.predefined.svelte-sjusez{display:none}@media(min-width: 768px){.nextTab.svelte-sjusez{top:55px;left:175px}.closeTab.svelte-sjusez{top:55px;left:320px}.answer.svelte-sjusez{display:flex;top:55px;left:850px}.send.svelte-sjusez{top:530px;left:80px}.canned.svelte-sjusez{top:450px;left:200px}.predefined.svelte-sjusez{display:flex;top:530px;left:350px}}")}function fs(e){let t,n;return t=new nr({props:{keys:e[3],isTooltip:!0}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,o){const s={};o&8&&(s.keys=r[3]),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Of(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y;l=new nr({props:{keys:e[2],isTooltip:!0}});let x=e[3].length>0&&fs(e);return{c(){t=_("div"),n=_("div"),r=_("span"),o=ee(e[1]),s=$(),i=_("div"),a=_("div"),H(l.$$.fragment),c=$(),u=_("span"),f=ee("or"),m=$(),x&&x.c(),g(r,"class","text svelte-sjusez"),g(n,"class","heading svelte-sjusez"),g(u,"class",p="or "+(e[3].length>0?"":"hide")+" svelte-sjusez"),g(a,"class","first-row svelte-sjusez"),g(i,"class","shortcuts svelte-sjusez"),g(t,"class",d="tooltip "+e[0]+" svelte-sjusez"),W(t,"--background-color-blue-local",e[4].events.blue.surfaceSecondary)},m(v,w){q(v,t,w),h(t,n),h(n,r),h(r,o),h(t,s),h(t,i),h(i,a),B(l,a,null),h(a,c),h(a,u),h(u,f),h(i,m),x&&x.m(i,null),y=!0},p(v,[w]){(!y||w&2)&&ae(o,v[1]);const k={};w&4&&(k.keys=v[2]),l.$set(k),(!y||w&8&&p!==(p="or "+(v[3].length>0?"":"hide")+" svelte-sjusez"))&&g(u,"class",p),v[3].length>0?x?(x.p(v,w),w&8&&T(x,1)):(x=fs(v),x.c(),T(x,1),x.m(i,null)):x&&(Re(),S(x,1,1,()=>{x=null}),He()),(!y||w&1&&d!==(d="tooltip "+v[0]+" svelte-sjusez"))&&g(t,"class",d),(!y||w&16)&&W(t,"--background-color-blue-local",v[4].events.blue.surfaceSecondary)},i(v){y||(T(l.$$.fragment,v),T(x),y=!0)},o(v){S(l.$$.fragment,v),S(x),y=!1},d(v){v&&V(t),R(l),x&&x.d()}}}function Bf(e,t,n){let r;me(e,bt,l=>n(4,r=l));let{className:o}=t,{text:s}=t,{shortcut:i}=t,{shortcutAlt:a=[]}=t;return e.$$set=l=>{"className"in l&&n(0,o=l.className),"text"in l&&n(1,s=l.text),"shortcut"in l&&n(2,i=l.shortcut),"shortcutAlt"in l&&n(3,a=l.shortcutAlt)},[o,s,i,a,r]}class Mi extends he{constructor(t){super(),ue(this,t,Bf,Of,ce,{className:0,text:1,shortcut:2,shortcutAlt:3},If)}get className(){return this.$$.ctx[0]}set className(t){this.$$set({className:t}),K()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),K()}get shortcut(){return this.$$.ctx[2]}set shortcut(t){this.$$set({shortcut:t}),K()}get shortcutAlt(){return this.$$.ctx[3]}set shortcutAlt(t){this.$$set({shortcutAlt:t}),K()}}fe(Mi,{className:{},text:{},shortcut:{},shortcutAlt:{}},[],[],!0);function Rf(e){ve(e,"svelte-1kkpmre","article.svelte-1kkpmre{display:flex;flex-direction:column;flex-grow:1;width:100%;height:100%;container-type:inline-size;overflow:hidden}.header.svelte-1kkpmre{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px;border-bottom:1px solid var(--border-color-primary)}")}function Hf(e){let t,n,r,o,s,i,a;r=new Ae({props:{text:e[0]}}),s=new ge({props:{text:e[1]}});const l=e[3].default,c=Xn(l,e,e[2],null);return{c(){t=_("article"),n=_("div"),H(r.$$.fragment),o=$(),H(s.$$.fragment),i=$(),c&&c.c(),g(n,"class","header svelte-1kkpmre"),g(t,"class","svelte-1kkpmre")},m(u,f){q(u,t,f),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(t,i),c&&c.m(t,null),a=!0},p(u,[f]){const p={};f&1&&(p.text=u[0]),r.$set(p);const m={};f&2&&(m.text=u[1]),s.$set(m),c&&c.p&&(!a||f&4)&&Kn(c,l,u,u[2],a?Yn(l,u[2],f,null):Zn(u[2]),null)},i(u){a||(T(r.$$.fragment,u),T(s.$$.fragment,u),T(c,u),a=!0)},o(u){S(r.$$.fragment,u),S(s.$$.fragment,u),S(c,u),a=!1},d(u){u&&V(t),R(r),R(s),c&&c.d(u)}}}function Mf(e,t,n){let{$$slots:r={},$$scope:o}=t,{headingText:s}=t,{paragraphText:i}=t;return e.$$set=a=>{"headingText"in a&&n(0,s=a.headingText),"paragraphText"in a&&n(1,i=a.paragraphText),"$$scope"in a&&n(2,o=a.$$scope)},[s,i,o,r]}class rr extends he{constructor(t){super(),ue(this,t,Mf,Hf,ce,{headingText:0,paragraphText:1},Rf)}get headingText(){return this.$$.ctx[0]}set headingText(t){this.$$set({headingText:t}),K()}get paragraphText(){return this.$$.ctx[1]}set paragraphText(t){this.$$set({paragraphText:t}),K()}}fe(rr,{headingText:{},paragraphText:{}},["default"],[],!0);function Df(e){ve(e,"svelte-1sxflq0",'.content.svelte-1sxflq0.svelte-1sxflq0{display:block;height:calc(100% - 100px);width:100%;padding:14px 24px 24px 24px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scrollbar-color) var(--background-color-secondary)}.content.svelte-1sxflq0.svelte-1sxflq0::-webkit-scrollbar{width:4px}.content.svelte-1sxflq0.svelte-1sxflq0::-webkit-scrollbar-track{background:var(--background-color-secondary)}.content.svelte-1sxflq0.svelte-1sxflq0::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:6px}.row.svelte-1sxflq0.svelte-1sxflq0{display:flex;align-items:center;justify-content:space-between;padding:6px 20px;border-bottom:1px solid var(--border-color-primary)}.shortcuts.svelte-1sxflq0.svelte-1sxflq0{display:flex;flex-direction:column;flex-shrink:0;align-self:flex-start;width:100%;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px}aside.svelte-1sxflq0.svelte-1sxflq0{display:flex;flex-direction:column;flex:1 0 0;align-items:flex-start;width:100%;gap:40px}.reply.svelte-1sxflq0.svelte-1sxflq0{position:relative;display:flex;background-image:url("public/assets/images/reply_background.svg");background-repeat:no-repeat;width:100%;margin-left:-24px;min-height:620px}.info-panel.svelte-1sxflq0.svelte-1sxflq0{display:none}.mobile.svelte-1sxflq0.svelte-1sxflq0{display:block;padding:16px 12px;margin-bottom:10px;background-color:var(--background-color-blue-primary);border:1px solid var(--border-color-infoPanel);border-radius:6px}.info-panel.svelte-1sxflq0 span.svelte-1sxflq0{color:var(--text-color-infoPanel);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}@media(min-width: 1200px){.content.svelte-1sxflq0.svelte-1sxflq0{display:flex;align-items:flex-start;justify-content:center;height:100%;padding:0}.shortcuts.svelte-1sxflq0.svelte-1sxflq0{flex:1;height:100%;max-width:500px;border-right:1px solid var(--border-color-primary);border-radius:0}.info-panel.svelte-1sxflq0.svelte-1sxflq0{display:block;width:95%;padding:16px 12px;border:1px solid var(--border-color-infoPanel);border-radius:6px;background-color:var(--background-color-blue-primary)}.mobile.svelte-1sxflq0.svelte-1sxflq0{display:none}aside.svelte-1sxflq0.svelte-1sxflq0{padding:20px}.reply.svelte-1sxflq0.svelte-1sxflq0{margin:0;height:100%}}')}function hs(e,t,n){const r=e.slice();return r[5]=t[n],r}function ps(e,t,n){const r=e.slice();return r[8]=t[n],r}function ds(e){let t,n,r,o,s,i;return n=new ge({props:{text:e[8].text}}),o=new nr({props:{keys:e[8].shortcutKeys}}),{c(){t=_("div"),H(n.$$.fragment),r=$(),H(o.$$.fragment),s=$(),g(t,"class","row svelte-1sxflq0")},m(a,l){q(a,t,l),B(n,t,null),h(t,r),B(o,t,null),h(t,s),i=!0},p:re,i(a){i||(T(n.$$.fragment,a),T(o.$$.fragment,a),i=!0)},o(a){S(n.$$.fragment,a),S(o.$$.fragment,a),i=!1},d(a){a&&V(t),R(n),R(o)}}}function gs(e){let t,n;return t=new Mi({props:{className:e[5].className,text:e[5].text,shortcut:e[5].shortcut,shortcutAlt:e[5].shortcutAlt}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p:re,i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Nf(e){let t,n,r,o,s,i,a,l,c,u,f=Se(e[0]),p=[];for(let v=0;v<f.length;v+=1)p[v]=ds(ps(e,f,v));const m=v=>S(p[v],1,1,()=>{p[v]=null});let d=Se(e[1]),y=[];for(let v=0;v<d.length;v+=1)y[v]=gs(hs(e,d,v));const x=v=>S(y[v],1,1,()=>{y[v]=null});return{c(){t=_("div"),n=_("div"),n.innerHTML='<span class="svelte-1sxflq0">When you hover over certain elements, a tooltip will be displayed if a shortcut is available.</span>',r=$(),o=_("div");for(let v=0;v<p.length;v+=1)p[v].c();s=$(),i=_("aside"),a=_("div"),a.innerHTML='<span class="svelte-1sxflq0">When you hover over certain elements, a tooltip will be displayed if a shortcut is available.</span>',l=$(),c=_("div");for(let v=0;v<y.length;v+=1)y[v].c();g(n,"class","info-panel mobile svelte-1sxflq0"),g(o,"class","shortcuts svelte-1sxflq0"),g(a,"class","info-panel svelte-1sxflq0"),g(c,"class","reply svelte-1sxflq0"),g(i,"class","svelte-1sxflq0"),g(t,"class","content svelte-1sxflq0")},m(v,w){q(v,t,w),h(t,n),h(t,r),h(t,o);for(let k=0;k<p.length;k+=1)p[k]&&p[k].m(o,null);h(t,s),h(t,i),h(i,a),h(i,l),h(i,c);for(let k=0;k<y.length;k+=1)y[k]&&y[k].m(c,null);u=!0},p(v,w){if(w&1){f=Se(v[0]);let k;for(k=0;k<f.length;k+=1){const E=ps(v,f,k);p[k]?(p[k].p(E,w),T(p[k],1)):(p[k]=ds(E),p[k].c(),T(p[k],1),p[k].m(o,null))}for(Re(),k=f.length;k<p.length;k+=1)m(k);He()}if(w&2){d=Se(v[1]);let k;for(k=0;k<d.length;k+=1){const E=hs(v,d,k);y[k]?(y[k].p(E,w),T(y[k],1)):(y[k]=gs(E),y[k].c(),T(y[k],1),y[k].m(c,null))}for(Re(),k=d.length;k<y.length;k+=1)x(k);He()}},i(v){if(!u){for(let w=0;w<f.length;w+=1)T(p[w]);for(let w=0;w<d.length;w+=1)T(y[w]);u=!0}},o(v){p=p.filter(Boolean);for(let w=0;w<p.length;w+=1)S(p[w]);y=y.filter(Boolean);for(let w=0;w<y.length;w+=1)S(y[w]);u=!1},d(v){v&&V(t),We(p,v),We(y,v)}}}function zf(e){let t,n;return t=new rr({props:{headingText:"Save time with keyboard shortcuts",paragraphText:"Use keyboard shortcuts to enhance your skills and productivity.",$$slots:{default:[Nf]},$$scope:{ctx:e}}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,[o]){const s={};o&2048&&(s.$$scope={dirty:o,ctx:r}),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Ff(e){const n=je("OS")==="win"?"Ctrl":"Command",r=je("iconBasePath"),o=[{text:"Home tab",shortcutKeys:[{text:n},{text:"H"}]},{text:"Open ticket to be solved (if any)",shortcutKeys:[{text:n},{text:"D"}]},{text:"Resolve ticket",shortcutKeys:[{text:n},{text:"E"}]},{text:"Show predefined answers",shortcutKeys:[{text:n},{text:"I"}]},{text:"Answer the chat",shortcutKeys:[{text:n},{text:"M"}]},{text:"Answer the chat on background",shortcutKeys:[{text:n},{text:"Shift",iconPath:`${r}key_shift.svg`},{text:"M"}]},{text:"Open ticket on background ",shortcutKeys:[{text:n},{text:"Left click",iconPath:`${r}key_left_click.svg`}]},{text:"Send message",shortcutKeys:[{text:n},{text:"S"}]},{text:"Close ticket tab",shortcutKeys:[{text:n},{text:"Middle click",iconPath:`${r}key_middle_click.svg`}]},{text:"Close ticket window",shortcutKeys:[{text:n},{text:"Q"}]},{text:"Show canned messages",shortcutKeys:[{text:n},{text:"K"}]},{text:"Show canned messages",shortcutKeys:[{text:n},{text:"Spacebar"}]},{text:"Cycle through the opened ticket tabs",shortcutKeys:[{text:n},{iconPath:`${r}key_up.svg`}]},{text:"Cycle through the opened ticket tabs",shortcutKeys:[{text:n},{iconPath:`${r}key_down.svg`}]},{text:"Close ticket tab",shortcutKeys:[{text:"Middle click",iconPath:`${r}key_middle_click.svg`}]}],s=[{className:"nextTab",text:"Previous or next tab",shortcut:[{text:n},{iconPath:`${r}key_down.svg`}],shortcutAlt:[{text:n},{iconPath:`${r}key_up.svg`}]},{className:"closeTab",text:"Close active tab",shortcut:[{text:n},{text:"Q"}]},{className:"answer",text:"Answer ticket",shortcut:[{text:n},{text:"D"}]},{className:"send",text:"Send message",shortcut:[{text:n},{text:"S"}]},{className:"canned",text:"Canned message",shortcut:[{text:n},{text:"K"}],shortcutAlt:[{text:n},{text:"Spacebar"}]},{className:"predefined",text:"Predefined answers",shortcut:[{text:n},{text:"I"}]}];return[o,s]}class Di extends he{constructor(t){super(),ue(this,t,Ff,zf,ce,{},Df)}}fe(Di,{},[],[],!0);function Uf(e){ve(e,"svelte-wokfw1",`.widget.svelte-wokfw1{position:relative;display:flex;flex-direction:column;height:264px;min-width:230px;max-width:320px;padding:40px 0 40px 24px;border:1px solid var(--border-color-primary);border-radius:6px;overflow:hidden;box-sizing:border-box}.widget.svelte-wokfw1::after{position:absolute;top:50%;right:0;content:url("public/assets/images/card_background.svg");opacity:0.5}h5.svelte-wokfw1{color:var(--text-color-primary);margin:0;font-family:Roboto;font-size:16px;font-weight:700;line-height:20px}p.svelte-wokfw1{margin:8px 0 12px 0;padding:8px 20px 0 0;border-top:1px solid var(--border-color-primary);color:var(--text-color-primary);text-overflow:ellipsis;font-family:Roboto;font-size:13px;line-height:20px}.link.svelte-wokfw1{display:flex;align-items:center;justify-content:flex-start;gap:6px}.link-text.svelte-wokfw1{position:relative;color:var(--button-color-blue);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;text-decoration-line:underline}@media(min-width: 768px){.widget.svelte-wokfw1{max-width:260px
|
11
|
+
}}`)}function Vf(e){let t,n,r,o,s,i,a,l,c,u,f,p,m;return{c(){t=_("div"),n=_("h5"),r=ee(e[0]),o=$(),s=_("p"),i=ee(e[1]),a=$(),l=_("div"),c=_("a"),u=ee("Learn more"),f=$(),p=_("img"),g(n,"class","svelte-wokfw1"),g(s,"class","svelte-wokfw1"),g(c,"class","link-text svelte-wokfw1"),g(c,"href",e[2]),pe(p.src,m=e[3]+"open_in_new.svg")||g(p,"src",m),g(p,"alt","redirect icon"),g(l,"class","link svelte-wokfw1"),g(t,"class","widget svelte-wokfw1")},m(d,y){q(d,t,y),h(t,n),h(n,r),h(t,o),h(t,s),h(s,i),h(t,a),h(t,l),h(l,c),h(c,u),h(l,f),h(l,p)},p(d,[y]){y&1&&ae(r,d[0]),y&2&&ae(i,d[1]),y&4&&g(c,"href",d[2])},i:re,o:re,d(d){d&&V(t)}}}function Gf(e,t,n){let{headingText:r}=t,{paragraphText:o}=t,{link:s}=t;const i=je("iconBasePath");return e.$$set=a=>{"headingText"in a&&n(0,r=a.headingText),"paragraphText"in a&&n(1,o=a.paragraphText),"link"in a&&n(2,s=a.link)},[r,o,s,i]}class Ni extends he{constructor(t){super(),ue(this,t,Gf,Vf,ce,{headingText:0,paragraphText:1,link:2},Uf)}get headingText(){return this.$$.ctx[0]}set headingText(t){this.$$set({headingText:t}),K()}get paragraphText(){return this.$$.ctx[1]}set paragraphText(t){this.$$set({paragraphText:t}),K()}get link(){return this.$$.ctx[2]}set link(t){this.$$set({link:t}),K()}}fe(Ni,{headingText:{},paragraphText:{},link:{}},[],[],!0);function qf(e){ve(e,"svelte-er7fxa",".wrapper.svelte-er7fxa{display:grid;grid-gap:20px;grid-template-columns:1fr;align-items:start;justify-items:center;width:calc(100% - 48px);height:100%;padding:20px 24px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-color) var(--background-color-secondary)}.wrapper.svelte-er7fxa::-webkit-scrollbar{width:4px}.wrapper.svelte-er7fxa::-webkit-scrollbar-track{background:var(--background-color-secondary)}.wrapper.svelte-er7fxa::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:6px}@container (min-width: 600px){.wrapper.svelte-er7fxa{align-items:start;justify-content:space-evenly;grid-template-columns:repeat(2, 250px)}}@container (min-width: 850px){.wrapper.svelte-er7fxa{align-items:start;justify-content:start;grid-template-columns:repeat(3, 250px)}}@container (min-width: 1100px){.wrapper.svelte-er7fxa{grid-template-columns:repeat(4, 250px)}}")}function ms(e,t,n){const r=e.slice();return r[1]=t[n],r}function vs(e){let t,n;return t=new Ni({props:{headingText:e[1].heading,paragraphText:e[1].text,link:e[1].link}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p:re,i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Wf(e){let t,n,r=Se(e[0]),o=[];for(let i=0;i<r.length;i+=1)o[i]=vs(ms(e,r,i));const s=i=>S(o[i],1,1,()=>{o[i]=null});return{c(){t=_("div");for(let i=0;i<o.length;i+=1)o[i].c();g(t,"class","wrapper svelte-er7fxa")},m(i,a){q(i,t,a);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(t,null);n=!0},p(i,a){if(a&1){r=Se(i[0]);let l;for(l=0;l<r.length;l+=1){const c=ms(i,r,l);o[l]?(o[l].p(c,a),T(o[l],1)):(o[l]=vs(c),o[l].c(),T(o[l],1),o[l].m(t,null))}for(Re(),l=r.length;l<o.length;l+=1)s(l);He()}},i(i){if(!n){for(let a=0;a<r.length;a+=1)T(o[a]);n=!0}},o(i){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)S(o[a]);n=!1},d(i){i&&V(t),We(o,i)}}}function Xf(e){let t,n;return t=new rr({props:{headingText:"Provide excellent customer service.",paragraphText:"To truly master LiveAgent, check out our collection of how-to articles and guides.",$$slots:{default:[Wf]},$$scope:{ctx:e}}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,[o]){const s={};o&16&&(s.$$scope={dirty:o,ctx:r}),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Yf(e){return[[{heading:"Email templates",text:"Personalize your customer interactions with customizable email templates.",link:"http://google.com"},{heading:"Ticket Filters",text:"Streamline ticket management by using filters to sort and organize your tickets.",link:"http://google.com"},{heading:"Agents ranking",text:"Enable your customers to assess the assistance provided by your support agents.",link:"http://google.com"},{heading:"Canned Messages",text:"Create pre-defined responses to commonly asked questions for quick and consistent replies.",link:"http://google.com"},{heading:"Automatic Rules",text:"Improve efficiency by creating predefined actions and workflows with rules.",link:"http://google.com"},{heading:"Ticket Tags",text:"Enhance ticket organization and searchability by creating useful tags.",link:"http://google.com"},{heading:"Reports",text:"Gain valuable insights into your customer service operations through detailed reports.",link:"http://google.com"},{heading:"SLA (Service Level Agreement)",text:"Define and monitor performance standards by creating Service Level Agreements.",link:"http://google.com"},{heading:"Domain Parking",text:"Connect and use your own domain with your LiveAgent account.",link:"http://google.com"},{heading:"Customizations",text:"Personalize your LiveAgent according to your branding needs and preferences",link:"http://google.com"},{heading:"Integrations & Plugins",text:"Extend the functionality of LiveAgent by integrating with various platforms via plugins.",link:"http://google.com"},{heading:"Explore Other Features",text:"Better understand and utilize the full range of features offered by LiveAgent.",link:"http://google.com"}]]}class zi extends he{constructor(t){super(),ue(this,t,Yf,Xf,ce,{},qf)}}fe(zi,{},[],[],!0);function Kf(e){ve(e,"svelte-ry7etp",".ContactButton.svelte-ry7etp.svelte-ry7etp{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;min-width:190px;max-width:282px;width:100%;padding:6px 20px;border:1px solid var(--border-color-primary);border-radius:6px;cursor:pointer;background-color:var(--button-color-grey)}img.svelte-ry7etp.svelte-ry7etp{height:16px;width:16px}span.svelte-ry7etp.svelte-ry7etp{color:var(--text-color-primary);text-align:center;font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}.highlight.svelte-ry7etp.svelte-ry7etp{background-color:var(--button-color-blue)}.highlight.svelte-ry7etp>span.svelte-ry7etp{color:var(--text-color-highlight)}")}function Zf(e){let t,n,r,o,s,i,a,l,c;return{c(){t=_("button"),n=_("img"),o=$(),s=_("span"),i=ee(e[0]),pe(n.src,r=e[5]+e[1]+".svg")||g(n,"src",r),g(n,"alt",e[2]),g(n,"class","svelte-ry7etp"),g(s,"class","svelte-ry7etp"),g(t,"class",a="ContactButton "+(e[3]?"highlight":"")+" svelte-ry7etp"),W(t,"--text-color-highlight",e[4].textsIcons.white)},m(u,f){q(u,t,f),h(t,n),h(t,o),h(t,s),h(s,i),l||(c=Xe(t,"click",e[6]),l=!0)},p(u,[f]){f&2&&!pe(n.src,r=u[5]+u[1]+".svg")&&g(n,"src",r),f&4&&g(n,"alt",u[2]),f&1&&ae(i,u[0]),f&8&&a!==(a="ContactButton "+(u[3]?"highlight":"")+" svelte-ry7etp")&&g(t,"class",a),f&16&&W(t,"--text-color-highlight",u[4].textsIcons.white)},i:re,o:re,d(u){u&&V(t),l=!1,c()}}}function Jf(e,t,n){let r;me(e,bt,f=>n(4,r=f));let{text:o}=t,{iconPath:s}=t,{alt:i}=t,{URL:a}=t,{highlight:l=!1}=t;const c=je("iconBasePath");function u(){window.open(a)}return e.$$set=f=>{"text"in f&&n(0,o=f.text),"iconPath"in f&&n(1,s=f.iconPath),"alt"in f&&n(2,i=f.alt),"URL"in f&&n(7,a=f.URL),"highlight"in f&&n(3,l=f.highlight)},[o,s,i,l,r,c,u,a]}class en extends he{constructor(t){super(),ue(this,t,Jf,Zf,ce,{text:0,iconPath:1,alt:2,URL:7,highlight:3},Kf)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get iconPath(){return this.$$.ctx[1]}set iconPath(t){this.$$set({iconPath:t}),K()}get alt(){return this.$$.ctx[2]}set alt(t){this.$$set({alt:t}),K()}get URL(){return this.$$.ctx[7]}set URL(t){this.$$set({URL:t}),K()}get highlight(){return this.$$.ctx[3]}set highlight(t){this.$$set({highlight:t}),K()}}fe(en,{text:{},iconPath:{},alt:{},URL:{},highlight:{type:"Boolean"}},[],[],!0);function Qf(e){ve(e,"svelte-vake34",".contactRow.svelte-vake34{display:flex;align-items:center;justify-content:center;border-radius:69px;background-color:var(--background-color-grey-primary)}h5.svelte-vake34{margin:0;padding:5px 12px;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700}.inner.svelte-vake34{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;background-color:var(--background-color-inner);border-radius:69px}span.svelte-vake34{margin:0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:400}")}function eh(e){let t,n,r,o,s,i,a,l,c,u,f;return{c(){t=_("div"),n=_("h5"),r=ee(e[0]),o=ee(":"),s=$(),i=_("div"),a=_("img"),c=$(),u=_("span"),f=ee(e[1]),g(n,"class","svelte-vake34"),pe(a.src,l=e[4]+e[2]+".svg")||g(a,"src",l),g(a,"alt",e[2]),g(u,"class","svelte-vake34"),g(i,"class","inner svelte-vake34"),g(t,"class","contactRow svelte-vake34"),W(t,"--background-color-inner",e[3].surface.hover)},m(p,m){q(p,t,m),h(t,n),h(n,r),h(n,o),h(t,s),h(t,i),h(i,a),h(i,c),h(i,u),h(u,f)},p(p,[m]){m&1&&ae(r,p[0]),m&4&&!pe(a.src,l=p[4]+p[2]+".svg")&&g(a,"src",l),m&4&&g(a,"alt",p[2]),m&2&&ae(f,p[1]),m&8&&W(t,"--background-color-inner",p[3].surface.hover)},i:re,o:re,d(p){p&&V(t)}}}function th(e,t,n){let r;me(e,bt,l=>n(3,r=l));let{text:o}=t,{contact:s}=t,{icon:i}=t;const a=je("iconBasePath");return e.$$set=l=>{"text"in l&&n(0,o=l.text),"contact"in l&&n(1,s=l.contact),"icon"in l&&n(2,i=l.icon)},[o,s,i,r,a]}class tn extends he{constructor(t){super(),ue(this,t,th,eh,ce,{text:0,contact:1,icon:2},Qf)}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),K()}get contact(){return this.$$.ctx[1]}set contact(t){this.$$set({contact:t}),K()}get icon(){return this.$$.ctx[2]}set icon(t){this.$$set({icon:t}),K()}}fe(tn,{text:{},contact:{},icon:{}},[],[],!0);function nh(e){ve(e,"svelte-w5dqp4",".office.svelte-w5dqp4{display:flex;flex-direction:column}img.svelte-w5dqp4{filter:grayscale(100%)}h5.svelte-w5dqp4{margin:10px 0 6px 0;color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px}span.svelte-w5dqp4{color:var(--text-color-primary);font-family:Roboto;font-size:12px;font-weight:400;line-height:20px}")}function bs(e,t,n){const r=e.slice();return r[3]=t[n],r}function ys(e){let t,n=e[3]+"",r;return{c(){t=_("span"),r=ee(n),g(t,"class","svelte-w5dqp4")},m(o,s){q(o,t,s),h(t,r)},p(o,s){s&4&&n!==(n=o[3]+"")&&ae(r,n)},d(o){o&&V(t)}}}function rh(e){let t,n,r,o,s,i,a,l=Se(e[2]),c=[];for(let u=0;u<l.length;u+=1)c[u]=ys(bs(e,l,u));return{c(){t=_("div"),n=_("img"),o=$(),s=_("h5"),i=ee(e[0]),a=$();for(let u=0;u<c.length;u+=1)c[u].c();pe(n.src,r=_s+e[1]+".png")||g(n,"src",r),g(n,"alt",e[1]),g(n,"class","svelte-w5dqp4"),g(s,"class","svelte-w5dqp4"),g(t,"class","office svelte-w5dqp4")},m(u,f){q(u,t,f),h(t,n),h(t,o),h(t,s),h(s,i),h(t,a);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(t,null)},p(u,[f]){if(f&2&&!pe(n.src,r=_s+u[1]+".png")&&g(n,"src",r),f&2&&g(n,"alt",u[1]),f&1&&ae(i,u[0]),f&4){l=Se(u[2]);let p;for(p=0;p<l.length;p+=1){const m=bs(u,l,p);c[p]?c[p].p(m,f):(c[p]=ys(m),c[p].c(),c[p].m(t,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=l.length}},i:re,o:re,d(u){u&&V(t),We(c,u)}}}const _s="public/assets/images/";function oh(e,t,n){let{city:r}=t,{image:o}=t,{rows:s}=t;return e.$$set=i=>{"city"in i&&n(0,r=i.city),"image"in i&&n(1,o=i.image),"rows"in i&&n(2,s=i.rows)},[r,o,s]}class Fi extends he{constructor(t){super(),ue(this,t,oh,rh,ce,{city:0,image:1,rows:2},nh)}get city(){return this.$$.ctx[0]}set city(t){this.$$set({city:t}),K()}get image(){return this.$$.ctx[1]}set image(t){this.$$set({image:t}),K()}get rows(){return this.$$.ctx[2]}set rows(t){this.$$set({rows:t}),K()}}fe(Fi,{city:{},image:{},rows:{}},[],[],!0);function sh(e){ve(e,"svelte-4w0b6",".LinkCard.svelte-4w0b6{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;width:250px;height:166px;border-radius:6px;border:1px solid var(--border-color-primary)}.ContactButton.svelte-4w0b6{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;width:100%;height:100%;padding:16px;background-color:var(--background-color-grey-primary);box-sizing:border-box}.texts.svelte-4w0b6{display:flex;flex-direction:column;max-width:40%}.bottomPart.svelte-4w0b6{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;border-top:1px solid var(--border-color-primary);border-bottom-left-radius:6px;border-bottom-right-radius:6px;background-color:var(--background-color-grey-secondary);box-sizing:border-box}.heading.svelte-4w0b6{color:var(--text-color-primary);font-family:Roboto;font-size:13px;font-weight:700;line-height:20px;margin:0}p.svelte-4w0b6{color:var(--text-color-primary);font-family:Roboto;line-height:20px;margin:0}.text.svelte-4w0b6{font-size:12px;font-weight:400}.bottom-text.svelte-4w0b6{font-size:14px;font-weight:700}.smallImage.svelte-4w0b6{position:absolute;right:0;bottom:0}.bigImage.svelte-4w0b6{position:absolute;top:0;left:0;width:100%;height:100%}.leftSide.svelte-4w0b6{display:flex;align-items:center;justify-content:center;gap:6px}.socialIcon.svelte-4w0b6{height:20px;width:20px}")}function ih(e){let t,n,r,o,s,i,a,l,c;return{c(){t=_("div"),n=_("h5"),r=ee(e[2]),o=$(),s=_("p"),i=ee(e[3]),a=$(),l=_("img"),g(n,"class","heading svelte-4w0b6"),g(s,"class","text svelte-4w0b6"),g(t,"class","texts svelte-4w0b6"),g(l,"class","smallImage svelte-4w0b6"),pe(l.src,c=e[7]+e[0]+".png")||g(l,"src",c),g(l,"alt",e[0])},m(u,f){q(u,t,f),h(t,n),h(n,r),h(t,o),h(t,s),h(s,i),q(u,a,f),q(u,l,f)},p(u,f){f&4&&ae(r,u[2]),f&8&&ae(i,u[3]),f&1&&!pe(l.src,c=u[7]+u[0]+".png")&&g(l,"src",c),f&1&&g(l,"alt",u[0])},d(u){u&&(V(t),V(a),V(l))}}}function ah(e){let t,n;return{c(){t=_("img"),g(t,"class","bigImage svelte-4w0b6"),pe(t.src,n=e[7]+e[0]+".png")||g(t,"src",n),g(t,"alt",e[0])},m(r,o){q(r,t,o)},p(r,o){o&1&&!pe(t.src,n=r[7]+r[0]+".png")&&g(t,"src",n),o&1&&g(t,"alt",r[0])},d(r){r&&V(t)}}}function xs(e){let t,n;return{c(){t=_("img"),g(t,"class","socialIcon svelte-4w0b6"),pe(t.src,n=e[6]+e[4]+".svg")||g(t,"src",n),g(t,"alt",e[4])},m(r,o){q(r,t,o)},p(r,o){o&16&&!pe(t.src,n=r[6]+r[4]+".svg")&&g(t,"src",n),o&16&&g(t,"alt",r[4])},d(r){r&&V(t)}}}function lh(e){let t,n,r,o,s,i,a,l,c,u,f;function p(x,v){return x[5]?ah:ih}let m=p(e),d=m(e),y=e[5]&&xs(e);return{c(){t=_("div"),n=_("div"),d.c(),r=$(),o=_("div"),s=_("div"),y&&y.c(),i=$(),a=_("p"),l=ee(e[1]),c=$(),u=_("img"),g(n,"class","ContactButton svelte-4w0b6"),g(a,"class","bottom-text svelte-4w0b6"),g(s,"class","leftSide svelte-4w0b6"),pe(u.src,f=e[6]+"arrow-right.svg")||g(u,"src",f),g(u,"alt","arrow"),g(o,"class","bottomPart svelte-4w0b6"),g(t,"class","LinkCard svelte-4w0b6")},m(x,v){q(x,t,v),h(t,n),d.m(n,null),h(t,r),h(t,o),h(o,s),y&&y.m(s,null),h(s,i),h(s,a),h(a,l),h(o,c),h(o,u)},p(x,[v]){m===(m=p(x))&&d?d.p(x,v):(d.d(1),d=m(x),d&&(d.c(),d.m(n,null))),x[5]?y?y.p(x,v):(y=xs(x),y.c(),y.m(s,i)):y&&(y.d(1),y=null),v&2&&ae(l,x[1])},i:re,o:re,d(x){x&&V(t),d.d(),y&&y.d()}}}function ch(e,t,n){let{image:r}=t,{bottomText:o}=t,{heading:s=""}=t,{text:i=""}=t,{icon:a=""}=t,{socials:l=!0}=t;const c=je("iconBasePath"),u=je("imageBasePath");return e.$$set=f=>{"image"in f&&n(0,r=f.image),"bottomText"in f&&n(1,o=f.bottomText),"heading"in f&&n(2,s=f.heading),"text"in f&&n(3,i=f.text),"icon"in f&&n(4,a=f.icon),"socials"in f&&n(5,l=f.socials)},[r,o,s,i,a,l,c,u]}class xt extends he{constructor(t){super(),ue(this,t,ch,lh,ce,{image:0,bottomText:1,heading:2,text:3,icon:4,socials:5},sh)}get image(){return this.$$.ctx[0]}set image(t){this.$$set({image:t}),K()}get bottomText(){return this.$$.ctx[1]}set bottomText(t){this.$$set({bottomText:t}),K()}get heading(){return this.$$.ctx[2]}set heading(t){this.$$set({heading:t}),K()}get text(){return this.$$.ctx[3]}set text(t){this.$$set({text:t}),K()}get icon(){return this.$$.ctx[4]}set icon(t){this.$$set({icon:t}),K()}get socials(){return this.$$.ctx[5]}set socials(t){this.$$set({socials:t}),K()}}fe(xt,{image:{},bottomText:{},heading:{},text:{},icon:{},socials:{type:"Boolean"}},[],[],!0);function uh(e){ve(e,"svelte-44rhkn",".content.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;padding:14px 24px 24px 24px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--scrollbar-color) var(--background-color-secondary)}.content.svelte-44rhkn.svelte-44rhkn::-webkit-scrollbar{width:4px}.content.svelte-44rhkn.svelte-44rhkn::-webkit-scrollbar-track{background:var(--background-color-secondary)}.content.svelte-44rhkn.svelte-44rhkn::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:6px}.contacts.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;flex-grow:1;gap:40px;width:100%;margin-bottom:20px;padding:20px 14px;background-color:var(--background-color-secondary);border:1px solid var(--border-color-primary);border-radius:6px;box-sizing:border-box}.contact-buttons.svelte-44rhkn.svelte-44rhkn{container-type:inline-size;container-name:contactButtons;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}.row.svelte-44rhkn.svelte-44rhkn{display:flex;flex-flow:column;align-items:center;justify-content:center;gap:12px}.texts.svelte-44rhkn.svelte-44rhkn{display:flex;align-items:center;justify-content:center;gap:6px}.faded.svelte-44rhkn.svelte-44rhkn{margin:0;color:var(--text-color-secondary);font-family:Roboto;font-size:13px;font-weight:400;line-height:20px}.buttons.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%}.sales-contacts.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.sales-rows.svelte-44rhkn.svelte-44rhkn{container-type:inline-size;container-name:contactRow;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.bottom-part.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;gap:4px}.offices.svelte-44rhkn.svelte-44rhkn{display:flex;flex-flow:wrap row;align-items:flex-start;justify-content:center;gap:20px}aside.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:center;gap:50px;min-width:300px;width:100%}.cards.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}.upperPart.svelte-44rhkn.svelte-44rhkn{container-type:inline-size;container-name:upperPart;display:flex;flex-direction:column;align-items:center;width:100%}.linkCards.svelte-44rhkn.svelte-44rhkn{display:flex;flex-direction:column;gap:20px}.lowerPart.svelte-44rhkn.svelte-44rhkn{container-type:inline-size;container-name:lowerPart;display:flex;flex-direction:column;align-items:center;width:100%}.widget.svelte-44rhkn>h5.svelte-44rhkn{margin:10px 0 0 10px;color:var(--text-color-primary);font-family:Roboto;font-size:14px;font-weight:700;line-height:20px}.widget.svelte-44rhkn>p.svelte-44rhkn{margin:0 0 0 10px;color:var(--text-color-secondary);font-family:Roboto;font-size:14px;line-height:20px}@media(min-width: 768px){.content.svelte-44rhkn.svelte-44rhkn{flex-direction:row;padding:0}.contacts.svelte-44rhkn.svelte-44rhkn{padding:50px;margin-bottom:0;border:none;border-right:1px solid var(--border-color-primary);border-radius:0;max-width:680px;height:100%}aside.svelte-44rhkn.svelte-44rhkn{width:auto;padding:50px}.upperPart.svelte-44rhkn.svelte-44rhkn{align-items:flex-start}.lowerPart.svelte-44rhkn.svelte-44rhkn{align-items:flex-start}}@container contactButtons (min-width: 400px){.buttons.svelte-44rhkn.svelte-44rhkn{display:grid;grid-gap:6px;grid-template-columns:1fr 1fr}}@container contactRow (min-width: 400px){.row.svelte-44rhkn.svelte-44rhkn{flex-direction:row}}@container lowerPart (min-width: 500px){.cards.svelte-44rhkn.svelte-44rhkn{display:grid;grid-gap:20px;grid-template-columns:1fr 1fr;margin-top:20px}}@container upperPart (min-width: 500px){.linkCards.svelte-44rhkn.svelte-44rhkn{flex-direction:row}}")}function ws(e,t,n){const r=e.slice();return r[2]=t[n],r}function ks(e){let t,n;return t=new Fi({props:{city:e[2].city,image:e[2].image,rows:e[2].rows}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p:re,i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function fh(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x,v,w,k,E,L,C,I,z,X,F,U,ne,te,Y,A,M,j,D,P,N,oe,J,le,O,Z,ye,we,ke,Te,se,Ee,De,Oe,ut,Fe,Ue,Tt,Be,ie,$e,tt,Wt,nt,rt,Xt,ft,Yt,Kt,Ve,Ke,Et,Ur,mn,Vr,vn,Gr,ht,St,qr,bn,Wr,yn,Xr,pt,Pt,Yr,_n,Kr,xn,Zr,dt,At,Jr,wn,Qr,kn,$n;s=new Ae({props:{text:"Direct contacts: "}}),l=new ge({props:{text:"Don't hesitate to contact us! We are available 24/7."}}),m=new tn({props:{text:"Email",contact:"support@liveagent.com",icon:"at-symbol"}}),x=new en({props:{text:"Chat with us",iconPath:"chat-with-us",alt:"chat",URL:"google.com",highlight:!0}}),w=new en({props:{text:"Whatsapp",iconPath:"whatsapp_logo",alt:"whatsapp-logo",URL:"google.com"}}),E=new en({props:{text:"Message us",iconPath:"messenger_logo",alt:"messenger-logo",URL:"google.com"}}),C=new en({props:{text:"Contact form",iconPath:"form",alt:"form",URL:"google.com"}}),X=new Ae({props:{text:"Contact for sales purposes:"}}),ne=new tn({props:{text:"Email",contact:"support@liveagent.com",icon:"at-symbol"}}),A=new tn({props:{text:"Phone",contact:"+1 888 659 6550",icon:"at-symbol"}}),N=new tn({props:{text:"Phone",contact:"+421 2 33 456 826",icon:"at-symbol"}}),Z=new Ae({props:{text:"Our offices:",additionalStyles:"display: block"}});let _t=Se(e[0]),Ce=[];for(let Q=0;Q<_t.length;Q+=1)Ce[Q]=ks(ws(e,_t,Q));const oa=Q=>S(Ce[Q],1,1,()=>{Ce[Q]=null});return Ee=new Ae({props:{text:"Self-help and system status:"}}),Oe=new ge({props:{text:"Find answers to your questions, day or night."}}),Ue=new xt({props:{image:"support-portal-background",bottomText:"Go to our support portal",heading:"Support portal",text:"Looking for answers?",socials:!1}}),Be=new xt({props:{image:"status-page-background",bottomText:"Go to status page",heading:"Status page",text:"Check out our service status",socials:!1}}),tt=new Ae({props:{text:"Social networks:"}}),rt=new ge({props:{text:"We’re looking forward to talking to you on social media."}}),Et=new xt({props:{image:"facebook-background",bottomText:"Facebook",icon:"facebook_logo"}}),St=new xt({props:{image:"instagram-background",bottomText:"Instagram",icon:"instagram_logo"}}),Pt=new xt({props:{image:"x-background",bottomText:"X",icon:"x_logo"}}),At=new xt({props:{image:"youtube-background",bottomText:"Youtube",icon:"youtube_logo"}}),{c(){t=_("div"),n=_("div"),r=_("div"),o=_("div"),H(s.$$.fragment),i=$(),a=_("div"),H(l.$$.fragment),c=$(),u=_("img"),p=$(),H(m.$$.fragment),d=$(),y=_("div"),H(x.$$.fragment),v=$(),H(w.$$.fragment),k=$(),H(E.$$.fragment),L=$(),H(C.$$.fragment),I=$(),z=_("div"),H(X.$$.fragment),F=$(),U=_("div"),H(ne.$$.fragment),te=$(),Y=_("div"),H(A.$$.fragment),M=$(),j=_("p"),j.textContent="(Toll Free in USA & Canada)",D=$(),P=_("div"),H(N.$$.fragment),oe=$(),J=_("p"),J.textContent="(European Union & Worldwide)",le=$(),O=_("div"),H(Z.$$.fragment),ye=$(),we=_("div");for(let Q=0;Q<Ce.length;Q+=1)Ce[Q].c();ke=$(),Te=_("aside"),se=_("div"),H(Ee.$$.fragment),De=$(),H(Oe.$$.fragment),ut=$(),Fe=_("div"),H(Ue.$$.fragment),Tt=$(),H(Be.$$.fragment),ie=$(),$e=_("div"),H(tt.$$.fragment),Wt=$(),nt=_("div"),H(rt.$$.fragment),Xt=$(),ft=_("img"),Kt=$(),Ve=_("div"),Ke=_("div"),H(Et.$$.fragment),Ur=$(),mn=_("h5"),mn.textContent="Connect with us",Vr=$(),vn=_("p"),vn.textContent="Join our community today",Gr=$(),ht=_("div"),H(St.$$.fragment),qr=$(),bn=_("h5"),bn.textContent="Join our journey",Wr=$(),yn=_("p"),yn.textContent="Let's make memories",Xr=$(),pt=_("div"),H(Pt.$$.fragment),Yr=$(),_n=_("h5"),_n.textContent="Let's connect",Kr=$(),xn=_("p"),xn.textContent="Join our tribe, let's grow",Zr=$(),dt=_("div"),H(At.$$.fragment),Jr=$(),wn=_("h5"),wn.textContent="Learn & grow on",Qr=$(),kn=_("p"),kn.textContent="Discover and thrive",pe(u.src,f=e[1]+"smiley-face.svg")||g(u,"src",f),g(u,"alt","smiley face"),g(a,"class","texts svelte-44rhkn"),g(y,"class","buttons svelte-44rhkn"),g(r,"class","contact-buttons svelte-44rhkn"),g(j,"class","faded svelte-44rhkn"),g(Y,"class","row svelte-44rhkn"),g(J,"class","faded svelte-44rhkn"),g(P,"class","row svelte-44rhkn"),g(U,"class","sales-rows svelte-44rhkn"),g(z,"class","sales-contacts svelte-44rhkn"),g(we,"class","offices svelte-44rhkn"),g(O,"class","bottom-part svelte-44rhkn"),g(n,"class","contacts svelte-44rhkn"),g(Fe,"class","linkCards svelte-44rhkn"),g(se,"class","upperPart svelte-44rhkn"),pe(ft.src,Yt="../../../public/assets/icons/winky-face.svg")||g(ft,"src",Yt),g(ft,"alt","smiley face"),g(nt,"class","texts svelte-44rhkn"),g(mn,"class","svelte-44rhkn"),g(vn,"class","svelte-44rhkn"),g(Ke,"class","widget svelte-44rhkn"),g(bn,"class","svelte-44rhkn"),g(yn,"class","svelte-44rhkn"),g(ht,"class","widget svelte-44rhkn"),g(_n,"class","svelte-44rhkn"),g(xn,"class","svelte-44rhkn"),g(pt,"class","widget svelte-44rhkn"),g(wn,"class","svelte-44rhkn"),g(kn,"class","svelte-44rhkn"),g(dt,"class","widget svelte-44rhkn"),g(Ve,"class","cards svelte-44rhkn"),g($e,"class","lowerPart svelte-44rhkn"),g(Te,"class","svelte-44rhkn"),g(t,"class","content svelte-44rhkn")},m(Q,Ge){q(Q,t,Ge),h(t,n),h(n,r),h(r,o),B(s,o,null),h(o,i),h(o,a),B(l,a,null),h(a,c),h(a,u),h(r,p),B(m,r,null),h(r,d),h(r,y),B(x,y,null),h(y,v),B(w,y,null),h(y,k),B(E,y,null),h(y,L),B(C,y,null),h(n,I),h(n,z),B(X,z,null),h(z,F),h(z,U),B(ne,U,null),h(U,te),h(U,Y),B(A,Y,null),h(Y,M),h(Y,j),h(U,D),h(U,P),B(N,P,null),h(P,oe),h(P,J),h(n,le),h(n,O),B(Z,O,null),h(O,ye),h(O,we);for(let Le=0;Le<Ce.length;Le+=1)Ce[Le]&&Ce[Le].m(we,null);h(t,ke),h(t,Te),h(Te,se),B(Ee,se,null),h(se,De),B(Oe,se,null),h(se,ut),h(se,Fe),B(Ue,Fe,null),h(Fe,Tt),B(Be,Fe,null),h(Te,ie),h(Te,$e),B(tt,$e,null),h($e,Wt),h($e,nt),B(rt,nt,null),h(nt,Xt),h(nt,ft),h($e,Kt),h($e,Ve),h(Ve,Ke),B(Et,Ke,null),h(Ke,Ur),h(Ke,mn),h(Ke,Vr),h(Ke,vn),h(Ve,Gr),h(Ve,ht),B(St,ht,null),h(ht,qr),h(ht,bn),h(ht,Wr),h(ht,yn),h(Ve,Xr),h(Ve,pt),B(Pt,pt,null),h(pt,Yr),h(pt,_n),h(pt,Kr),h(pt,xn),h(Ve,Zr),h(Ve,dt),B(At,dt,null),h(dt,Jr),h(dt,wn),h(dt,Qr),h(dt,kn),$n=!0},p(Q,Ge){if(Ge&1){_t=Se(Q[0]);let Le;for(Le=0;Le<_t.length;Le+=1){const eo=ws(Q,_t,Le);Ce[Le]?(Ce[Le].p(eo,Ge),T(Ce[Le],1)):(Ce[Le]=ks(eo),Ce[Le].c(),T(Ce[Le],1),Ce[Le].m(we,null))}for(Re(),Le=_t.length;Le<Ce.length;Le+=1)oa(Le);He()}},i(Q){if(!$n){T(s.$$.fragment,Q),T(l.$$.fragment,Q),T(m.$$.fragment,Q),T(x.$$.fragment,Q),T(w.$$.fragment,Q),T(E.$$.fragment,Q),T(C.$$.fragment,Q),T(X.$$.fragment,Q),T(ne.$$.fragment,Q),T(A.$$.fragment,Q),T(N.$$.fragment,Q),T(Z.$$.fragment,Q);for(let Ge=0;Ge<_t.length;Ge+=1)T(Ce[Ge]);T(Ee.$$.fragment,Q),T(Oe.$$.fragment,Q),T(Ue.$$.fragment,Q),T(Be.$$.fragment,Q),T(tt.$$.fragment,Q),T(rt.$$.fragment,Q),T(Et.$$.fragment,Q),T(St.$$.fragment,Q),T(Pt.$$.fragment,Q),T(At.$$.fragment,Q),$n=!0}},o(Q){S(s.$$.fragment,Q),S(l.$$.fragment,Q),S(m.$$.fragment,Q),S(x.$$.fragment,Q),S(w.$$.fragment,Q),S(E.$$.fragment,Q),S(C.$$.fragment,Q),S(X.$$.fragment,Q),S(ne.$$.fragment,Q),S(A.$$.fragment,Q),S(N.$$.fragment,Q),S(Z.$$.fragment,Q),Ce=Ce.filter(Boolean);for(let Ge=0;Ge<Ce.length;Ge+=1)S(Ce[Ge]);S(Ee.$$.fragment,Q),S(Oe.$$.fragment,Q),S(Ue.$$.fragment,Q),S(Be.$$.fragment,Q),S(tt.$$.fragment,Q),S(rt.$$.fragment,Q),S(Et.$$.fragment,Q),S(St.$$.fragment,Q),S(Pt.$$.fragment,Q),S(At.$$.fragment,Q),$n=!1},d(Q){Q&&V(t),R(s),R(l),R(m),R(x),R(w),R(E),R(C),R(X),R(ne),R(A),R(N),R(Z),We(Ce,Q),R(Ee),R(Oe),R(Ue),R(Be),R(tt),R(rt),R(Et),R(St),R(Pt),R(At)}}}function hh(e){let t,n;return t=new rr({props:{headingText:"We’d love to hear from you.",paragraphText:"Need support or advice? We’re ready to listen.",$$slots:{default:[fh]},$$scope:{ctx:e}}}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},p(r,[o]){const s={};o&32&&(s.$$scope={dirty:o,ctx:r}),t.$set(s)},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function ph(e){const t=[{city:"Bratislava",image:"bratislava",rows:["Quality Unit, s. r. o.","Vajnorska 100/A","83104 Bratislava","Slovakia (EU)"]},{city:"Kyiv",image:"kyiv",rows:["Quality Unit Ukraine","Solomianskyy rayon","03110 Kyyiv","Ukraine"]},{city:"New York",image:"new-york",rows:["Quality Unit, LLC","3 Germay Dr.","Wilmington, DE 19804","USA"]}],n=je("iconBasePath");return[t,n]}class Ui extends he{constructor(t){super(),ue(this,t,ph,hh,ce,{},uh)}}fe(Ui,{},[],[],!0);let On,kr=!1;const Vi=e=>(e=typeof e)=="object"||e==="function";function Gi(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:void 0}const dh=(e,t,...n)=>{let r=null,o=!1,s=!1;const i=[],a=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?a(r):r!=null&&typeof r!="boolean"&&((o=!Vi(r))&&(r+=""),o&&s?i[i.length-1].t+=r:i.push(o?$r(null,r):r),s=o)};a(n);const l=$r(e,null);return l.l=t,i.length>0&&(l.o=i),l},$r=(e,t)=>({i:0,u:e,t,h:null,o:null}),gh={},$s=new WeakMap,qi=e=>"sc-"+e.m,Dr=(e,t,n)=>{const r=t.o[n];let o,s,i=0;if(o=r.h=ot.createElement(r.u),On!=null&&o["s-si"]!==On&&o.classList.add(o["s-si"]=On),r.o)for(i=0;i<r.o.length;++i)s=Dr(e,r,i),s&&o.appendChild(s);return o},Ts=(e,t,n,r,o,s)=>{let i,a=e;for(;o<=s;++o)r[o]&&(i=Dr(null,n,o),i&&(r[o].h=i,a.insertBefore(i,t)))},Es=(e,t,n,r)=>{for(;t<=n;++t)(r=e[t])&&r.h.remove()},Sn=(e,t)=>e.u===t.u,nn=(e,t)=>{const n=t.h=e.h,r=e.o,o=t.o;r!==null&&o!==null?((s,i,a,l)=>{let c,u=0,f=0,p=i.length-1,m=i[0],d=i[p],y=l.length-1,x=l[0],v=l[y];for(;u<=p&&f<=y;)m==null?m=i[++u]:d==null?d=i[--p]:x==null?x=l[++f]:v==null?v=l[--y]:Sn(m,x)?(nn(m,x),m=i[++u],x=l[++f]):Sn(d,v)?(nn(d,v),d=i[--p],v=l[--y]):Sn(m,v)?(nn(m,v),s.insertBefore(m.h,d.h.nextSibling),m=i[++u],v=l[--y]):Sn(d,x)?(nn(d,x),s.insertBefore(d.h,m.h),d=i[--p],x=l[++f]):(c=Dr(i&&i[f],a,f),x=l[++f],c&&m.h.parentNode.insertBefore(c,m.h));u>p?Ts(s,l[y+1]==null?null:l[y+1].h,a,l,f,y):f>y&&Es(i,u,p)})(n,r,t,o):o!==null?Ts(n,null,t,o,0,o.length-1):r!==null&&Es(r,0,r.length-1)},Wi=(e,t)=>{t&&!e.p&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.p=n))},Nr=(e,t)=>{if(e.i|=16,!(4&e.i))return Wi(e,e.v),Ph(()=>mh(e,t));e.i|=512},mh=(e,t)=>{const n=e.S;return t&&(e.i|=256,e.g&&(e.g.map(([r,o])=>Yi(n,r,o)),e.g=null)),_h(void 0,()=>vh(e,n,t))},vh=async(e,t,n)=>{const r=e.$,o=r["s-rc"];n&&(s=>{const i=s.M,a=s.$,l=i.i,c=((u,f)=>{var p;let m=qi(f);const d=Bn.get(m);if(u=u.nodeType===11?u:ot,d)if(typeof d=="string"){let y,x=$s.get(u=u.head||u);if(x||$s.set(u,x=new Set),!x.has(m)){{y=ot.createElement("style"),y.innerHTML=d;const v=(p=Ne.j)!==null&&p!==void 0?p:Gi(ot);v!=null&&y.setAttribute("nonce",v),u.insertBefore(y,u.querySelector("link"))}x&&x.add(m)}}else u.adoptedStyleSheets.includes(d)||(u.adoptedStyleSheets=[...u.adoptedStyleSheets,d]);return m})(a.getRootNode(),i);10&l&&(a["s-sc"]=c,a.classList.add(c+"-h"),2&l&&a.classList.add(c+"-s"))})(e),bh(e,t),o&&(o.map(s=>s()),r["s-rc"]=void 0);{const s=r["s-p"],i=()=>yh(e);s.length===0?i():(Promise.all(s).then(i),e.i|=4,s.length=0)}},bh=(e,t)=>{try{t=t.render(),e.i&=-17,e.i|=2,((n,r)=>{const o=n.$,s=n.k||$r(null,null),i=(a=>a&&a.u===gh)(r)?r:dh(null,null,r);i.u=null,i.i|=4,n.k=i,i.h=s.h=o,On=o["s-sc"],nn(s,i)})(e,t)}catch(n){$t(n,e.$)}return null},yh=e=>{const t=e.$,n=e.v;64&e.i||(e.i|=64,Ki(t),e.C(t),n||Xi()),e.p&&(e.p(),e.p=void 0),512&e.i&&Fr(()=>Nr(e,!1)),e.i&=-517},Xi=()=>{Ki(ot.documentElement),Fr(()=>(e=>{const t=Ne.ce("appload",{detail:{namespace:"flex-resizer"}});return e.dispatchEvent(t),t})(zr))},Yi=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){$t(r)}},_h=(e,t)=>t(),Ki=e=>e.classList.add("hydrated"),Ss=(e,t,n)=>{if(t.O){e.watchers&&(t.P=e.watchers);const r=Object.entries(t.O),o=e.prototype;if(r.map(([s,[i]])=>{(31&i||2&n&&32&i)&&Object.defineProperty(o,s,{get(){return((a,l)=>ln(this).N.get(l))(0,s)},set(a){((l,c,u,f)=>{const p=ln(l),m=p.$,d=p.N.get(c),y=p.i,x=p.S;if(u=((v,w)=>v==null||Vi(v)?v:4&w?v!=="false"&&(v===""||!!v):2&w?parseFloat(v):1&w?v+"":v)(u,f.O[c][0]),(!(8&y)||d===void 0)&&u!==d&&(!Number.isNaN(d)||!Number.isNaN(u))&&(p.N.set(c,u),x)){if(f.P&&128&y){const v=f.P[c];v&&v.map(w=>{try{x[w](u,d,c)}catch(k){$t(k,m)}})}(18&y)==2&&Nr(p,!1)}})(this,s,a,t)},configurable:!0,enumerable:!0})}),1&n){const s=new Map;o.attributeChangedCallback=function(i,a,l){Ne.jmp(()=>{const c=s.get(i);if(this.hasOwnProperty(c))l=this[c],delete this[c];else if(o.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==l)return;this[c]=(l!==null||typeof this[c]!="boolean")&&l})},e.observedAttributes=r.filter(([i,a])=>15&a[0]).map(([i,a])=>{const l=a[1]||i;return s.set(l,i),l})}}return e},Ps=e=>{Yi(e,"connectedCallback")},xh=(e,t={})=>{var n;const r=[],o=t.exclude||[],s=zr.customElements,i=ot.head,a=i.querySelector("meta[charset]"),l=ot.createElement("style"),c=[];let u,f=!0;Object.assign(Ne,t),Ne.T=new URL(t.resourcesUrl||"./",ot.baseURI).href,e.map(p=>{p[1].map(m=>{const d={i:m[0],m:m[1],O:m[2],A:m[3]};d.O=m[2],d.A=m[3],d.P={};const y=d.m,x=class extends HTMLElement{constructor(v){super(v),$h(v=this,d)}connectedCallback(){u&&(clearTimeout(u),u=null),f?c.push(this):Ne.jmp(()=>(v=>{if(!(1&Ne.i)){const w=ln(v),k=w.M;if(1&w.i)Zi(v,w,k.A),Ps(w.S);else{w.i|=1;{let E=v;for(;E=E.parentNode||E.host;)if(E["s-p"]){Wi(w,w.v=E);break}}k.O&&Object.entries(k.O).map(([E,[L]])=>{if(31&L&&v.hasOwnProperty(E)){const C=v[E];delete v[E],v[E]=C}}),(async(E,L,C,I,z)=>{if(!(32&L.i)){{L.i|=32,(z=Th(C)).then&&(z=await z),z.isProxied||(C.P=z.watchers,Ss(z,C,2),z.isProxied=!0),L.i|=8;try{new z(L)}catch(U){$t(U)}L.i&=-9,L.i|=128,Ps(L.S)}if(z.style){let U=z.style;const ne=qi(C);Bn.has(ne)||((te,Y,A)=>{let M=Bn.get(te);Eh&&A?(M=M||new CSSStyleSheet,typeof M=="string"?M=Y:M.replaceSync(Y)):M=Y,Bn.set(te,M)})(ne,U,!!(1&C.i))}}const X=L.v,F=()=>Nr(L,!0);X&&X["s-rc"]?X["s-rc"].push(F):F()})(0,w,k)}}})(this))}disconnectedCallback(){Ne.jmp(()=>(()=>{if(!(1&Ne.i)){const v=ln(this);v.F&&(v.F.map(w=>w()),v.F=void 0)}})())}componentOnReady(){return ln(this).L}};d.R=p[0],o.includes(y)||s.get(y)||(r.push(y),s.define(y,Ss(x,d,1)))})});{l.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",l.setAttribute("data-styles","");const p=(n=Ne.j)!==null&&n!==void 0?n:Gi(ot);p!=null&&l.setAttribute("nonce",p),i.insertBefore(l,a?a.nextSibling:i.firstChild)}f=!1,c.length?c.map(p=>p.connectedCallback()):Ne.jmp(()=>u=setTimeout(Xi,30))},Zi=(e,t,n)=>{n&&n.map(([r,o,s])=>{const i=e,a=wh(t,s),l=kh(r);Ne.ael(i,o,a,l),(t.F=t.F||[]).push(()=>Ne.rel(i,o,a,l))})},wh=(e,t)=>n=>{try{256&e.i?e.S[t](n):(e.g=e.g||[]).push([t,n])}catch(r){$t(r)}},kh=e=>(2&e)!=0,Ji=new WeakMap,ln=e=>Ji.get(e),$h=(e,t)=>{const n={i:0,$:e,M:t,N:new Map};return n.L=new Promise(r=>n.C=r),e["s-p"]=[],e["s-rc"]=[],Zi(e,n,t.A),Ji.set(e,n)},$t=(e,t)=>(0,console.error)(e,t),As=new Map,Th=e=>{const t=e.m.replace(/-/g,"_"),n=e.R,r=As.get(n);return r?r[t]:G(()=>import(`./${n}.entry.js`),[]).then(o=>(As.set(n,o),o[t]),$t);/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Bn=new Map,zr=typeof window<"u"?window:{},ot=zr.document||{head:{}},Ne={i:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},Qi=e=>Promise.resolve(e),Eh=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Cs=[],ea=[],Sh=(e,t)=>n=>{e.push(n),kr||(kr=!0,4&Ne.i?Fr(Tr):Ne.raf(Tr))},Ls=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){$t(n)}e.length=0},Tr=()=>{Ls(Cs),Ls(ea),(kr=Cs.length>0)&&Ne.raf(Tr)},Fr=e=>Qi().then(e),Ph=Sh(ea);(()=>{const e=import.meta.url,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),Qi(t)})().then(e=>xh([["p-0469c0d2",[[2,"flex-resizer",{depth:[2],overrideIframe:[4,"override-iframe"],name:[1],save:[4],disabled:[4]},[[0,"mousedown","resizeStart"],[1,"touchstart","resizeStart"]]]]]],e));function Ah(e){ve(e,"svelte-1118509",`@font-face{font-family:'Roboto';src:url("../../public/assets/fonts/roboto/Roboto-Regular.woff2") format('woff2');font-weight:400;font-style:normal}@font-face{font-family:'Roboto';src:url("../../public/assets/fonts/roboto/Roboto-Bold.woff2") format('woff2');font-weight:700;font-style:normal}main.svelte-1118509{position:static;display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;background-color:var(--background-color-primary);height:100%;width:100%}.menu.svelte-1118509{position:absolute;display:block;flex:1 0 250px;width:75%;height:100%;background-color:var(--background-color-secondary);z-index:100;transform:translateX(-100%);transition:transform 0.3s ease-in-out}.menu.open.svelte-1118509{transform:translateX(0)}.body.svelte-1118509{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;height:100%}.menuOpened.svelte-1118509{opacity:0.2;background-color:var(--background-color-primary)}.resizer.svelte-1118509{display:none}.open-menu-button.svelte-1118509{width:100%;height:50px;cursor:pointer}@media(min-width: 768px){main.svelte-1118509{position:relative;padding:20px;gap:10px}.menu.svelte-1118509{width:unset;position:relative;padding:20px 8px 20px 16px;background:none;transform:translateX(0)}.body.svelte-1118509{flex:1 1 550px;border-left:1px solid var(--border-color-primary)}.resizer.svelte-1118509{display:block;position:relative;height:100%}.resizer.svelte-1118509::before{content:'';position:absolute;left:2px;top:50%;height:50px;width:3px;border-left:3px double var(--border-color-primary);cursor:ew-resize !important}.open-menu-button.svelte-1118509{display:none}}`)}function Ch(e){let t,n,r;return{c(){t=_("button"),t.textContent="Open menu",g(t,"class","open-menu-button svelte-1118509")},m(o,s){q(o,t,s),n||(r=Xe(t,"click",zs(e[4])),n=!0)},d(o){o&&V(t),n=!1,r()}}}function Lh(e){let t,n,r,o,s,i,a,l,c,u,f,p,m,d,y,x;r=new ni({}),s=new ti({});let v=!e[3]&&Ch(e);return p=new Zs({props:{routes:e[0]}}),{c(){t=_("main"),n=_("nav"),H(r.$$.fragment),o=$(),H(s.$$.fragment),a=$(),l=_("flex-resizer"),c=$(),u=_("div"),v&&v.c(),f=$(),H(p.$$.fragment),g(n,"class",i="menu "+(e[2]?"open":"")+" svelte-1118509"),Ct(l,"class","resizer svelte-1118509"),Ct(l,"name","my-resizer"),Ct(l,"depth",0),Ct(l,"disabled",!1),Ct(l,"overrideIframe",!0),Ct(l,"save",!0),g(u,"class",m="body "+(e[2]?"menuOpened":"")+" svelte-1118509"),W(t,"--text-color-primary",e[1].textsIcons.primary),W(t,"--text-color-secondary",e[1].textsIcons.secondary),W(t,"--text-color-blue",e[1].textsIcons.blue),W(t,"--text-color-infoPanel",e[1].events.blue.text),W(t,"--text-color-blue-primary",e[1].events.blue.primary),W(t,"--background-color-primary",e[1].surface.primary),W(t,"--background-color-secondary",e[1].surface.secondary),W(t,"--background-color-hover",e[1].surface.hover),W(t,"--background-color-grey-primary",e[1].events.grey.surfacePrimary),W(t,"--background-color-grey-secondary",e[1].events.grey.surfaceSecondary),W(t,"--background-color-yellow-primary",e[1].events.yellow.surfacePrimary),W(t,"--background-color-orange-primary",e[1].events.orange.surfacePrimary),W(t,"--background-color-pink-primary",e[1].events.pink.surfacePrimary),W(t,"--background-color-purple-primary",e[1].events.purple.surfacePrimary),W(t,"--background-color-blue-primary",e[1].events.blue.surfacePrimary),W(t,"--background-color-green-primary",e[1].events.green.surfacePrimary),W(t,"--color-green-primary",e[1].events.green.primary),W(t,"--border-color-primary",e[1].borderDivider.primary),W(t,"--border-color-secondary",e[1].borderDivider.secondary),W(t,"--border-color-grey",e[1].events.grey.stroke),W(t,"--border-color-orange",e[1].events.orange.stroke),W(t,"--border-color-green",e[1].events.green.stroke),W(t,"--border-color-infoPanel",e[1].events.blue.stroke),W(t,"--button-color-black",e[1].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack),W(t,"--button-color-blue",e[1].buttonsSwitchesTabs.primaryButtons.blue),W(t,"--button-color-grey",e[1].buttonsSwitchesTabs.primaryButtons.grey),W(t,"--button-color-disabled",e[1].buttonsSwitchesTabs.primaryButtons.blueDisabled),W(t,"--scrollbar-color",e[1].buttonsSwitchesTabs.darkGrey),g(t,"class","svelte-1118509")},m(w,k){q(w,t,k),h(t,n),B(r,n,null),h(n,o),B(s,n,null),h(t,a),h(t,l),h(t,c),h(t,u),v&&v.m(u,null),h(u,f),B(p,u,null),d=!0,y||(x=Xe(u,"click",e[5]),y=!0)},p(w,[k]){(!d||k&4&&i!==(i="menu "+(w[2]?"open":"")+" svelte-1118509"))&&g(n,"class",i);const E={};k&1&&(E.routes=w[0]),p.$set(E),(!d||k&4&&m!==(m="body "+(w[2]?"menuOpened":"")+" svelte-1118509"))&&g(u,"class",m),(!d||k&2)&&W(t,"--text-color-primary",w[1].textsIcons.primary),(!d||k&2)&&W(t,"--text-color-secondary",w[1].textsIcons.secondary),(!d||k&2)&&W(t,"--text-color-blue",w[1].textsIcons.blue),(!d||k&2)&&W(t,"--text-color-infoPanel",w[1].events.blue.text),(!d||k&2)&&W(t,"--text-color-blue-primary",w[1].events.blue.primary),(!d||k&2)&&W(t,"--background-color-primary",w[1].surface.primary),(!d||k&2)&&W(t,"--background-color-secondary",w[1].surface.secondary),(!d||k&2)&&W(t,"--background-color-hover",w[1].surface.hover),(!d||k&2)&&W(t,"--background-color-grey-primary",w[1].events.grey.surfacePrimary),(!d||k&2)&&W(t,"--background-color-grey-secondary",w[1].events.grey.surfaceSecondary),(!d||k&2)&&W(t,"--background-color-yellow-primary",w[1].events.yellow.surfacePrimary),(!d||k&2)&&W(t,"--background-color-orange-primary",w[1].events.orange.surfacePrimary),(!d||k&2)&&W(t,"--background-color-pink-primary",w[1].events.pink.surfacePrimary),(!d||k&2)&&W(t,"--background-color-purple-primary",w[1].events.purple.surfacePrimary),(!d||k&2)&&W(t,"--background-color-blue-primary",w[1].events.blue.surfacePrimary),(!d||k&2)&&W(t,"--background-color-green-primary",w[1].events.green.surfacePrimary),(!d||k&2)&&W(t,"--color-green-primary",w[1].events.green.primary),(!d||k&2)&&W(t,"--border-color-primary",w[1].borderDivider.primary),(!d||k&2)&&W(t,"--border-color-secondary",w[1].borderDivider.secondary),(!d||k&2)&&W(t,"--border-color-grey",w[1].events.grey.stroke),(!d||k&2)&&W(t,"--border-color-orange",w[1].events.orange.stroke),(!d||k&2)&&W(t,"--border-color-green",w[1].events.green.stroke),(!d||k&2)&&W(t,"--border-color-infoPanel",w[1].events.blue.stroke),(!d||k&2)&&W(t,"--button-color-black",w[1].buttonsSwitchesTabs.textsIcons.buttonTextIconsBlack),(!d||k&2)&&W(t,"--button-color-blue",w[1].buttonsSwitchesTabs.primaryButtons.blue),(!d||k&2)&&W(t,"--button-color-grey",w[1].buttonsSwitchesTabs.primaryButtons.grey),(!d||k&2)&&W(t,"--button-color-disabled",w[1].buttonsSwitchesTabs.primaryButtons.blueDisabled),(!d||k&2)&&W(t,"--scrollbar-color",w[1].buttonsSwitchesTabs.darkGrey)},i(w){d||(T(r.$$.fragment,w),T(s.$$.fragment,w),T(p.$$.fragment,w),d=!0)},o(w){S(r.$$.fragment,w),S(s.$$.fragment,w),S(p.$$.fragment,w),d=!1},d(w){w&&V(t),R(r),R(s),v&&v.d(),R(p),y=!1,x()}}}function jh(e,t,n){let r,o,s;me(e,Ye,f=>n(6,r=f)),me(e,bt,f=>n(1,o=f)),me(e,Vn,f=>n(2,s=f));const i=je("isImplemented"),a=[{path:"/summary",component:Ei,name:r("Getting started"),children:[{path:"/learn-the-basics",component:Si,name:r("Learn the basics"),completed:!1},{path:"/add-agents",component:Pi,name:r("Add agents"),completed:!1},{path:"/add-departments",component:Ai,name:r("Add departments"),completed:!1},{path:"/connect-email-accounts",component:Ci,name:r("Connect email accounts"),completed:!1},{path:"/connect-social-media",component:Li,name:r("Connect social media"),completed:!1},{path:"/connect-messaging-apps",component:ji,name:r("Connect messaging apps"),completed:!1},{path:"/create-contact-widget",component:Ii,name:r("Create contact widget"),completed:!1},{path:"/create-call-center",component:Bi,name:r("Create call center"),completed:!1},{path:"/configure-customer-portal",component:Ri,name:r("Configure customer portal"),completed:!1}]},{path:"/shortcuts",component:Di,name:r("Keyboard Shortcuts")},{path:"/improve-la-skills",component:zi,name:r("Improve your LA Skills")},{path:"/contact-us",component:Ui,name:r("Contact Us")}];It("namedRoutes",a);const l={};return a.forEach(f=>{var p;n(0,l[f.path]=f.component,l),(p=f.children)==null||p.forEach(m=>{n(0,l[m.path]=m.component,l)})}),Je(()=>{Me.subscribe(f=>{let p=!1;const m=f;a.forEach(d=>{var y;(y=d.children)==null||y.forEach(x=>{f.some(w=>w.path===x.path)||(p=!0,m.push({path:x.path,state:x.completed?"c":"u"}))})}),p&&Me.set(m)})}),[l,o,s,i,()=>dr(),()=>dr(!1)]}class ta extends he{constructor(t){super(),ue(this,t,jh,Lh,ce,{},Ah)}}fe(ta,{},[],[],!0);const js=["ar-SA","bg-BG","bs-BA","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","es-ES","et-EE","fa-IR","fi-FI","fil-PH","fr-FR","he-IL","hr-HR","hu-HU","id-ID","it-IT","ja-JP","ko-KR","lt-LT","lv-LV","me-ME","mk-MK","ms-MY","nl-NL","no-NO","pl-PL","pt-BR","ro-RO","ru-RU","sk-SK","sl-SI","sr-CS","sv-SE","th-TH","tl-PH","tr-TR","uk-UA","vi-VN","vls-BE","zh-CN","zh-TW"];function Ih(e){if(e!=null&&e.trim()!=""){const t=e.trim();if(js.find(o=>o===t)!=null)return t;const n=t.substring(0,2),r=js.find(o=>o.substring(0,2)===n);if(r!=null)return r}return null}var na={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ri,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",c="day",u="week",f="month",p="quarter",m="year",d="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var A=["th","st","nd","rd"],M=Y%100;return"["+Y+(A[(M-20)%10]||A[M]||A[0])+"]"}},k=function(Y,A,M){var j=String(Y);return!j||j.length>=A?Y:""+Array(A+1-j.length).join(M)+Y},E={s:k,z:function(Y){var A=-Y.utcOffset(),M=Math.abs(A),j=Math.floor(M/60),D=M%60;return(A<=0?"+":"-")+k(j,2,"0")+":"+k(D,2,"0")},m:function Y(A,M){if(A.date()<M.date())return-Y(M,A);var j=12*(M.year()-A.year())+(M.month()-A.month()),D=A.clone().add(j,f),P=M-D<0,N=A.clone().add(j+(P?-1:1),f);return+(-(j+(M-D)/(P?D-N:N-D))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:m,w:u,d:c,D:d,h:l,m:a,s:i,ms:s,Q:p}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},L="en",C={};C[L]=w;var I="$isDayjsObject",z=function(Y){return Y instanceof ne||!(!Y||!Y[I])},X=function Y(A,M,j){var D;if(!A)return L;if(typeof A=="string"){var P=A.toLowerCase();C[P]&&(D=P),M&&(C[P]=M,D=P);var N=A.split("-");if(!D&&N.length>1)return Y(N[0])}else{var oe=A.name;C[oe]=A,D=oe}return!j&&D&&(L=D),D||!j&&L},F=function(Y,A){if(z(Y))return Y.clone();var M=typeof A=="object"?A:{};return M.date=Y,M.args=arguments,new ne(M)},U=E;U.l=X,U.i=z,U.w=function(Y,A){return F(Y,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var ne=function(){function Y(M){this.$L=X(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[I]=!0}var A=Y.prototype;return A.parse=function(M){this.$d=function(j){var D=j.date,P=j.utc;if(D===null)return new Date(NaN);if(U.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var N=D.match(x);if(N){var oe=N[2]-1||0,J=(N[7]||"0").substring(0,3);return P?new Date(Date.UTC(N[1],oe,N[3]||1,N[4]||0,N[5]||0,N[6]||0,J)):new Date(N[1],oe,N[3]||1,N[4]||0,N[5]||0,N[6]||0,J)}}return new Date(D)}(M),this.init()},A.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},A.$utils=function(){return U},A.isValid=function(){return this.$d.toString()!==y},A.isSame=function(M,j){var D=F(M);return this.startOf(j)<=D&&D<=this.endOf(j)},A.isAfter=function(M,j){return F(M)<this.startOf(j)},A.isBefore=function(M,j){return this.endOf(j)<F(M)},A.$g=function(M,j,D){return U.u(M)?this[j]:this.set(D,M)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(M,j){var D=this,P=!!U.u(j)||j,N=U.p(M),oe=function(Te,se){var Ee=U.w(D.$u?Date.UTC(D.$y,se,Te):new Date(D.$y,se,Te),D);return P?Ee:Ee.endOf(c)},J=function(Te,se){return U.w(D.toDate()[Te].apply(D.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(se)),D)},le=this.$W,O=this.$M,Z=this.$D,ye="set"+(this.$u?"UTC":"");switch(N){case m:return P?oe(1,0):oe(31,11);case f:return P?oe(1,O):oe(0,O+1);case u:var we=this.$locale().weekStart||0,ke=(le<we?le+7:le)-we;return oe(P?Z-ke:Z+(6-ke),O);case c:case d:return J(ye+"Hours",0);case l:return J(ye+"Minutes",1);case a:return J(ye+"Seconds",2);case i:return J(ye+"Milliseconds",3);default:return this.clone()}},A.endOf=function(M){return this.startOf(M,!1)},A.$set=function(M,j){var D,P=U.p(M),N="set"+(this.$u?"UTC":""),oe=(D={},D[c]=N+"Date",D[d]=N+"Date",D[f]=N+"Month",D[m]=N+"FullYear",D[l]=N+"Hours",D[a]=N+"Minutes",D[i]=N+"Seconds",D[s]=N+"Milliseconds",D)[P],J=P===c?this.$D+(j-this.$W):j;if(P===f||P===m){var le=this.clone().set(d,1);le.$d[oe](J),le.init(),this.$d=le.set(d,Math.min(this.$D,le.daysInMonth())).$d}else oe&&this.$d[oe](J);return this.init(),this},A.set=function(M,j){return this.clone().$set(M,j)},A.get=function(M){return this[U.p(M)]()},A.add=function(M,j){var D,P=this;M=Number(M);var N=U.p(j),oe=function(O){var Z=F(P);return U.w(Z.date(Z.date()+Math.round(O*M)),P)};if(N===f)return this.set(f,this.$M+M);if(N===m)return this.set(m,this.$y+M);if(N===c)return oe(1);if(N===u)return oe(7);var J=(D={},D[a]=r,D[l]=o,D[i]=n,D)[N]||1,le=this.$d.getTime()+M*J;return U.w(le,this)},A.subtract=function(M,j){return this.add(-1*M,j)},A.format=function(M){var j=this,D=this.$locale();if(!this.isValid())return D.invalidDate||y;var P=M||"YYYY-MM-DDTHH:mm:ssZ",N=U.z(this),oe=this.$H,J=this.$m,le=this.$M,O=D.weekdays,Z=D.months,ye=D.meridiem,we=function(se,Ee,De,Oe){return se&&(se[Ee]||se(j,P))||De[Ee].slice(0,Oe)},ke=function(se){return U.s(oe%12||12,se,"0")},Te=ye||function(se,Ee,De){var Oe=se<12?"AM":"PM";return De?Oe.toLowerCase():Oe};return P.replace(v,function(se,Ee){return Ee||function(De){switch(De){case"YY":return String(j.$y).slice(-2);case"YYYY":return U.s(j.$y,4,"0");case"M":return le+1;case"MM":return U.s(le+1,2,"0");case"MMM":return we(D.monthsShort,le,Z,3);case"MMMM":return we(Z,le);case"D":return j.$D;case"DD":return U.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return we(D.weekdaysMin,j.$W,O,2);case"ddd":return we(D.weekdaysShort,j.$W,O,3);case"dddd":return O[j.$W];case"H":return String(oe);case"HH":return U.s(oe,2,"0");case"h":return ke(1);case"hh":return ke(2);case"a":return Te(oe,J,!0);case"A":return Te(oe,J,!1);case"m":return String(J);case"mm":return U.s(J,2,"0");case"s":return String(j.$s);case"ss":return U.s(j.$s,2,"0");case"SSS":return U.s(j.$ms,3,"0");case"Z":return N}return null}(se)||N.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(M,j,D){var P,N=this,oe=U.p(j),J=F(M),le=(J.utcOffset()-this.utcOffset())*r,O=this-J,Z=function(){return U.m(N,J)};switch(oe){case m:P=Z()/12;break;case f:P=Z();break;case p:P=Z()/3;break;case u:P=(O-le)/6048e5;break;case c:P=(O-le)/864e5;break;case l:P=O/o;break;case a:P=O/r;break;case i:P=O/n;break;default:P=O}return D?P:U.a(P)},A.daysInMonth=function(){return this.endOf(f).$D},A.$locale=function(){return C[this.$L]},A.locale=function(M,j){if(!M)return this.$L;var D=this.clone(),P=X(M,j,!0);return P&&(D.$L=P),D},A.clone=function(){return U.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},Y}(),te=ne.prototype;return F.prototype=te,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",c],["$M",f],["$y",m],["$D",d]].forEach(function(Y){te[Y[1]]=function(A){return this.$g(A,Y[0],Y[1])}}),F.extend=function(Y,A){return Y.$i||(Y(A,ne,F),Y.$i=!0),F},F.locale=X,F.isDayjs=z,F.unix=function(Y){return F(1e3*Y)},F.en=C[L],F.Ls=C,F.p={},F})})(na);var Oh=na.exports;const rn=Ir(Oh);var ra={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ri,function(){return function(n,r,o){n=n||{};var s=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(c,u,f,p){return s.fromToBase(c,u,f,p)}o.en.relativeTime=i,s.fromToBase=function(c,u,f,p,m){for(var d,y,x,v=f.$locale().relativeTime||i,w=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=w.length,E=0;E<k;E+=1){var L=w[E];L.d&&(d=p?o(c).diff(f,L.d,!0):f.diff(c,L.d,!0));var C=(n.rounding||Math.round)(Math.abs(d));if(x=d>0,C<=L.r||!L.r){C<=1&&E>0&&(L=w[E-1]);var I=v[L.l];m&&(C=m(""+C)),y=typeof I=="string"?I.replace("%d",C):I(C,u,L.l,x);break}}if(u)return y;var z=x?v.future:v.past;return typeof z=="function"?z(y):z.replace("%s",y)},s.to=function(c,u){return a(c,u,this,!0)},s.from=function(c,u){return a(c,u,this)};var l=function(c){return c.$u?o.utc():o()};s.toNow=function(c){return this.to(l(this),c)},s.fromNow=function(c){return this.from(l(this),c)}}})})(ra);var Bh=ra.exports;const Rh=Ir(Bh);rn.extend(Rh);function Hh(e){let t,n,r=[{title:e[2]},e[3],{datetime:e[1]}],o={};for(let s=0;s<r.length;s+=1)o=vt(o,r[s]);return{c(){t=_("time"),n=ee(e[0]),so(t,o)},m(s,i){q(s,t,i),h(t,n)},p(s,[i]){i&1&&va(n,s[0],o.contenteditable),so(t,o=fn(r,[i&4&&{title:s[2]},i&8&&s[3],i&2&&{datetime:s[1]}]))},i:re,o:re,d(s){s&&V(t)}}}function Mh(e,t,n){let r;const o=["timestamp","format","relative","live","formatted"];let s=oo(t,o),{timestamp:i=new Date().toISOString()}=t,{format:a="MMM DD, YYYY"}=t,{relative:l=!1}=t,{live:c=!1}=t,{formatted:u=""}=t,f;const p=60*1e3;return Je(()=>()=>clearInterval(f)),e.$$set=m=>{t=vt(vt({},t),fa(m)),n(3,s=oo(t,o)),"timestamp"in m&&n(1,i=m.timestamp),"format"in m&&n(4,a=m.format),"relative"in m&&n(5,l=m.relative),"live"in m&&n(6,c=m.live),"formatted"in m&&n(0,u=m.formatted)},e.$$.update=()=>{e.$$.dirty&98&&l&&c!==!1&&(f=setInterval(()=>{n(0,u=rn(i).from())},Math.abs(typeof c=="number"?c:p))),e.$$.dirty&50&&n(0,u=l?rn(i).from():rn(i).format(a)),e.$$.dirty&50&&n(2,r=l?rn(i).format(a):void 0)},[u,i,r,s,a,l,c]}class Dh extends he{constructor(t){super(),ue(this,t,Mh,Hh,ce,{timestamp:1,format:4,relative:5,live:6,formatted:0})}get timestamp(){return this.$$.ctx[1]}set timestamp(t){this.$$set({timestamp:t}),K()}get format(){return this.$$.ctx[4]}set format(t){this.$$set({format:t}),K()}get relative(){return this.$$.ctx[5]}set relative(t){this.$$set({relative:t}),K()}get live(){return this.$$.ctx[6]}set live(t){this.$$set({live:t}),K()}get formatted(){return this.$$.ctx[0]}set formatted(t){this.$$set({formatted:t}),K()}}fe(Dh,{timestamp:{},format:{},relative:{type:"Boolean"},live:{type:"Boolean"},formatted:{}},[],[],!0);const cn="en-US";let ur,Rn=cn;function Nh(e,t,n){if(ur!==void 0)return;ur=e;let r={fallbackLocale:cn};Io(cn,t);const o=Ih(ur.locale);o!==null&&o!==cn&&(Rn=o,r.initialLocale=Rn,Io(Rn,n)),Nc(r)}function zh(e){let t,n;return t=new ta({}),{c(){H(t.$$.fragment)},m(r,o){B(t,r,o),n=!0},i(r){n||(T(t.$$.fragment,r),n=!0)},o(r){S(t.$$.fragment,r),n=!1},d(r){R(t,r)}}}function Fh(e){let t;return{c(){t=_("p"),t.textContent="Loading..."},m(n,r){q(n,t,r)},i:re,o:re,d(n){n&&V(t)}}}function Uh(e){let t,n,r,o,s,i;const a=[Fh,zh],l=[];function c(u,f){return u[1]?0:1}return t=c(e),n=l[t]=a[t](e),{c(){n.c(),r=$(),o=_("link"),g(o,"rel","stylesheet"),g(o,"href",s=e[0].basePath+"/themes/agent/_common_templates/icons_mapping.css")},m(u,f){l[t].m(u,f),q(u,r,f),q(u,o,f),i=!0},p(u,[f]){let p=t;t=c(u),t!==p&&(Re(),S(l[p],1,1,()=>{l[p]=null}),He(),n=l[t],n||(n=l[t]=a[t](u),n.c()),T(n,1),n.m(r.parentNode,r)),(!i||f&1&&s!==(s=u[0].basePath+"/themes/agent/_common_templates/icons_mapping.css"))&&g(o,"href",s)},i(u){i||(T(n),i=!0)},o(u){S(n),i=!1},d(u){u&&(V(r),V(o)),l[t].d(u)}}}function Vh(e,t,n){let r;me(e,jn,l=>n(1,r=l));let{darkModeEnabled:o=!1}=t,{implemented:s=!1}=t,{menuOpened:i=!1}=t,{options:a={basePath:"",localeOptions:{thousandsSeparator:"S",decimalSeparator:"D",dateFormat:"MM/d/yyyy",timeFormat:"HH:mm:ss",timeShortFormat:"HH:mm",locale:"sk"}}}=t;return Nh(a.localeOptions,()=>no(Object.assign({"./locales/ar-SA.json":()=>G(()=>import("./ar-SA.js"),[]),"./locales/bg-BG.json":()=>G(()=>import("./bg-BG.js"),[]),"./locales/bs-BA.json":()=>G(()=>import("./bs-BA.js"),[]),"./locales/ca-ES.json":()=>G(()=>import("./ca-ES.js"),[]),"./locales/cs-CZ.json":()=>G(()=>import("./cs-CZ.js"),[]),"./locales/da-DK.json":()=>G(()=>import("./da-DK.js"),[]),"./locales/de-DE.json":()=>G(()=>import("./de-DE.js"),[]),"./locales/el-GR.json":()=>G(()=>import("./el-GR.js"),[]),"./locales/en-US.json":()=>G(()=>import("./en-US.js"),[]),"./locales/en.json":()=>G(()=>import("./en.js"),[]),"./locales/es-ES.json":()=>G(()=>import("./es-ES.js"),[]),"./locales/et-EE.json":()=>G(()=>import("./et-EE.js"),[]),"./locales/fa-IR.json":()=>G(()=>import("./fa-IR.js"),[]),"./locales/fi-FI.json":()=>G(()=>import("./fi-FI.js"),[]),"./locales/fil-PH.json":()=>G(()=>import("./fil-PH.js"),[]),"./locales/fr-FR.json":()=>G(()=>import("./fr-FR.js"),[]),"./locales/he-IL.json":()=>G(()=>import("./he-IL.js"),[]),"./locales/hr-HR.json":()=>G(()=>import("./hr-HR.js"),[]),"./locales/hu-HU.json":()=>G(()=>import("./hu-HU.js"),[]),"./locales/id-ID.json":()=>G(()=>import("./id-ID.js"),[]),"./locales/it-IT.json":()=>G(()=>import("./it-IT.js"),[]),"./locales/ja-JP.json":()=>G(()=>import("./ja-JP.js"),[]),"./locales/ko-KR.json":()=>G(()=>import("./ko-KR.js"),[]),"./locales/lt-LT.json":()=>G(()=>import("./lt-LT.js"),[]),"./locales/lv-LV.json":()=>G(()=>import("./lv-LV.js"),[]),"./locales/me-ME.json":()=>G(()=>import("./me-ME.js"),[]),"./locales/mk-MK.json":()=>G(()=>import("./mk-MK.js"),[]),"./locales/ms-MY.json":()=>G(()=>import("./ms-MY.js"),[]),"./locales/nl-NL.json":()=>G(()=>import("./nl-NL.js"),[]),"./locales/no-NO.json":()=>G(()=>import("./no-NO.js"),[]),"./locales/pl-PL.json":()=>G(()=>import("./pl-PL.js"),[]),"./locales/pt-BR.json":()=>G(()=>import("./pt-BR.js"),[]),"./locales/ro-RO.json":()=>G(()=>import("./ro-RO.js"),[]),"./locales/ru-RU.json":()=>G(()=>import("./ru-RU.js"),[]),"./locales/sk-SK.json":()=>G(()=>import("./sk-SK.js"),[]),"./locales/sl-SI.json":()=>G(()=>import("./sl-SI.js"),[]),"./locales/sr-CS.json":()=>G(()=>import("./sr-CS.js"),[]),"./locales/sv-SE.json":()=>G(()=>import("./sv-SE.js"),[]),"./locales/th-TH.json":()=>G(()=>import("./th-TH.js"),[]),"./locales/tl-PH.json":()=>G(()=>import("./tl-PH.js"),[]),"./locales/tr-TR.json":()=>G(()=>import("./tr-TR.js"),[]),"./locales/uk-UA.json":()=>G(()=>import("./uk-UA.js"),[]),"./locales/vi-VN.json":()=>G(()=>import("./vi-VN.js"),[]),"./locales/vls-BE.json":()=>G(()=>import("./vls-BE.js"),[]),"./locales/zh-CN.json":()=>G(()=>import("./zh-CN.js"),[]),"./locales/zh-TW.json":()=>G(()=>import("./zh-TW.js"),[])}),`./locales/${cn}.json`),()=>no(Object.assign({"./locales/ar-SA.json":()=>G(()=>import("./ar-SA.js"),[]),"./locales/bg-BG.json":()=>G(()=>import("./bg-BG.js"),[]),"./locales/bs-BA.json":()=>G(()=>import("./bs-BA.js"),[]),"./locales/ca-ES.json":()=>G(()=>import("./ca-ES.js"),[]),"./locales/cs-CZ.json":()=>G(()=>import("./cs-CZ.js"),[]),"./locales/da-DK.json":()=>G(()=>import("./da-DK.js"),[]),"./locales/de-DE.json":()=>G(()=>import("./de-DE.js"),[]),"./locales/el-GR.json":()=>G(()=>import("./el-GR.js"),[]),"./locales/en-US.json":()=>G(()=>import("./en-US.js"),[]),"./locales/en.json":()=>G(()=>import("./en.js"),[]),"./locales/es-ES.json":()=>G(()=>import("./es-ES.js"),[]),"./locales/et-EE.json":()=>G(()=>import("./et-EE.js"),[]),"./locales/fa-IR.json":()=>G(()=>import("./fa-IR.js"),[]),"./locales/fi-FI.json":()=>G(()=>import("./fi-FI.js"),[]),"./locales/fil-PH.json":()=>G(()=>import("./fil-PH.js"),[]),"./locales/fr-FR.json":()=>G(()=>import("./fr-FR.js"),[]),"./locales/he-IL.json":()=>G(()=>import("./he-IL.js"),[]),"./locales/hr-HR.json":()=>G(()=>import("./hr-HR.js"),[]),"./locales/hu-HU.json":()=>G(()=>import("./hu-HU.js"),[]),"./locales/id-ID.json":()=>G(()=>import("./id-ID.js"),[]),"./locales/it-IT.json":()=>G(()=>import("./it-IT.js"),[]),"./locales/ja-JP.json":()=>G(()=>import("./ja-JP.js"),[]),"./locales/ko-KR.json":()=>G(()=>import("./ko-KR.js"),[]),"./locales/lt-LT.json":()=>G(()=>import("./lt-LT.js"),[]),"./locales/lv-LV.json":()=>G(()=>import("./lv-LV.js"),[]),"./locales/me-ME.json":()=>G(()=>import("./me-ME.js"),[]),"./locales/mk-MK.json":()=>G(()=>import("./mk-MK.js"),[]),"./locales/ms-MY.json":()=>G(()=>import("./ms-MY.js"),[]),"./locales/nl-NL.json":()=>G(()=>import("./nl-NL.js"),[]),"./locales/no-NO.json":()=>G(()=>import("./no-NO.js"),[]),"./locales/pl-PL.json":()=>G(()=>import("./pl-PL.js"),[]),"./locales/pt-BR.json":()=>G(()=>import("./pt-BR.js"),[]),"./locales/ro-RO.json":()=>G(()=>import("./ro-RO.js"),[]),"./locales/ru-RU.json":()=>G(()=>import("./ru-RU.js"),[]),"./locales/sk-SK.json":()=>G(()=>import("./sk-SK.js"),[]),"./locales/sl-SI.json":()=>G(()=>import("./sl-SI.js"),[]),"./locales/sr-CS.json":()=>G(()=>import("./sr-CS.js"),[]),"./locales/sv-SE.json":()=>G(()=>import("./sv-SE.js"),[]),"./locales/th-TH.json":()=>G(()=>import("./th-TH.js"),[]),"./locales/tl-PH.json":()=>G(()=>import("./tl-PH.js"),[]),"./locales/tr-TR.json":()=>G(()=>import("./tr-TR.js"),[]),"./locales/uk-UA.json":()=>G(()=>import("./uk-UA.js"),[]),"./locales/vi-VN.json":()=>G(()=>import("./vi-VN.js"),[]),"./locales/vls-BE.json":()=>G(()=>import("./vls-BE.js"),[]),"./locales/zh-CN.json":()=>G(()=>import("./zh-CN.js"),[]),"./locales/zh-TW.json":()=>G(()=>import("./zh-TW.js"),[])}),`./locales/${Rn}.json`)),It("basePath",a.basePath),It("iconBasePath","public/assets/icons/"),It("imageBasePath","public/assets/images/"),It("OS","win"),It("isImplemented",s),e.$$set=l=>{"darkModeEnabled"in l&&n(2,o=l.darkModeEnabled),"implemented"in l&&n(3,s=l.implemented),"menuOpened"in l&&n(4,i=l.menuOpened),"options"in l&&n(0,a=l.options)},e.$$.update=()=>{e.$$.dirty&4&&Un.set(o),e.$$.dirty&16&&Vn.set(i)},[a,r,o,s,i]}class Gh extends he{constructor(t){super(),ue(this,t,Vh,Uh,ce,{darkModeEnabled:2,implemented:3,menuOpened:4,options:0})}get darkModeEnabled(){return this.$$.ctx[2]}set darkModeEnabled(t){this.$$set({darkModeEnabled:t}),K()}get implemented(){return this.$$.ctx[3]}set implemented(t){this.$$set({implemented:t}),K()}get menuOpened(){return this.$$.ctx[4]}set menuOpened(t){this.$$set({menuOpened:t}),K()}get options(){return this.$$.ctx[0]}set options(t){this.$$set({options:t}),K()}}customElements.define("help-center",fe(Gh,{darkModeEnabled:{type:"Boolean"},implemented:{type:"Boolean"},menuOpened:{type:"Boolean"},options:{}},[],[],!0));
|