<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*! For license information please see bundle.js.LICENSE.txt */
(()=&gt;{var e,t,n={50953:(e,t,n)=&gt;{"use strict";n.d(t,{BA:()=&gt;je,C4:()=&gt;C,EW:()=&gt;Ye,Gc:()=&gt;we,IG:()=&gt;Oe,IJ:()=&gt;De,KR:()=&gt;Ne,Kh:()=&gt;be,PP:()=&gt;Je,Pr:()=&gt;Be,QW:()=&gt;Ue,QZ:()=&gt;A,R1:()=&gt;He,Tm:()=&gt;Te,Ul:()=&gt;Qe,X2:()=&gt;d,Yv:()=&gt;nt,bl:()=&gt;O,ch:()=&gt;rt,ds:()=&gt;T,fE:()=&gt;Ee,g8:()=&gt;Ae,hV:()=&gt;it,hZ:()=&gt;G,i9:()=&gt;Pe,jr:()=&gt;c,ju:()=&gt;xe,lJ:()=&gt;Ie,lW:()=&gt;Xe,mu:()=&gt;Fe,nD:()=&gt;_e,o5:()=&gt;l,qA:()=&gt;$,rY:()=&gt;We,tB:()=&gt;Se,u4:()=&gt;j,uY:()=&gt;a,ux:()=&gt;Ce,wB:()=&gt;ot,yC:()=&gt;s});var r=n(90033);let o,i;class s{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=o,!e&amp;&amp;o&amp;&amp;(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e&lt;t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e&lt;t;e++)this.effects[e].pause()}}resume(){if(this._active&amp;&amp;this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e&lt;t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e&lt;t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t&lt;n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t&lt;n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t&lt;n;t++)this.scopes[t].stop(!0);if(!this.detached&amp;&amp;this.parent&amp;&amp;!e){const e=this.parent.scopes.pop();e&amp;&amp;e!==this&amp;&amp;(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function a(e){return new s(e)}function l(){return o}function c(e,t=!1){o&amp;&amp;o.cleanups.push(e)}const u=new WeakSet;class d{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,o&amp;&amp;o.active&amp;&amp;o.effects.push(this)}pause(){this.flags|=64}resume(){64&amp;this.flags&amp;&amp;(this.flags&amp;=-65,u.has(this)&amp;&amp;(u.delete(this),this.trigger()))}notify(){2&amp;this.flags&amp;&amp;!(32&amp;this.flags)||8&amp;this.flags||m(this)}run(){if(!(1&amp;this.flags))return this.fn();this.flags|=2,I(this),y(this);const e=i,t=E;i=this,E=!0;try{return this.fn()}finally{0,b(this),i=e,E=t,this.flags&amp;=-3}}stop(){if(1&amp;this.flags){for(let e=this.deps;e;e=e.nextDep)_(e);this.deps=this.depsTail=void 0,I(this),this.onStop&amp;&amp;this.onStop(),this.flags&amp;=-2}}trigger(){64&amp;this.flags?u.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){w(this)&amp;&amp;this.run()}get dirty(){return w(this)}}let p,h,f=0;function m(e,t=!1){if(e.flags|=8,t)return e.next=h,void(h=e);e.next=p,p=e}function g(){f++}function v(){if(--f&gt;0)return;if(h){let e=h;for(h=void 0;e;){const t=e.next;e.next=void 0,e.flags&amp;=-9,e=t}}let e;for(;p;){let t=p;for(p=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&amp;=-9,1&amp;t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function y(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function b(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&amp;&amp;(n=e),_(r),k(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function w(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&amp;&amp;(S(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function S(e){if(4&amp;e.flags&amp;&amp;!(16&amp;e.flags))return;if(e.flags&amp;=-17,e.globalVersion===L)return;e.globalVersion=L;const t=e.dep;if(e.flags|=2,t.version&gt;0&amp;&amp;!e.isSSR&amp;&amp;e.deps&amp;&amp;!w(e))return void(e.flags&amp;=-3);const n=i,o=E;i=e,E=!0;try{y(e);const n=e.fn(e._value);(0===t.version||(0,r.$H)(n,e._value))&amp;&amp;(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{i=n,E=o,b(e),e.flags&amp;=-3}}function _(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&amp;&amp;(r.nextSub=o,e.prevSub=void 0),o&amp;&amp;(o.prevSub=r,e.nextSub=void 0),n.subs===e&amp;&amp;(n.subs=r,!r&amp;&amp;n.computed)){n.computed.flags&amp;=-5;for(let e=n.computed.deps;e;e=e.nextDep)_(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function k(e){const{prevDep:t,nextDep:n}=e;t&amp;&amp;(t.nextDep=n,e.prevDep=void 0),n&amp;&amp;(n.prevDep=t,e.nextDep=void 0)}function A(e,t){e.effect instanceof d&amp;&amp;(e=e.effect.fn);const n=new d(e);t&amp;&amp;(0,r.X$)(n,t);try{n.run()}catch(e){throw n.stop(),e}const o=n.run.bind(n);return o.effect=n,o}function T(e){e.effect.stop()}let E=!0;const x=[];function C(){x.push(E),E=!1}function O(){const e=x.pop();E=void 0===e||e}function I(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=i;i=void 0;try{t()}finally{i=e}}}let L=0;class P{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class N{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!i||!E||i===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==i)t=this.activeLink=new P(i,this),i.deps?(t.prevDep=i.depsTail,i.depsTail.nextDep=t,i.depsTail=t):i.deps=i.depsTail=t,D(t);else if(-1===t.version&amp;&amp;(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&amp;&amp;(t.prevDep.nextDep=e),t.prevDep=i.depsTail,t.nextDep=void 0,i.depsTail.nextDep=t,i.depsTail=t,i.deps===t&amp;&amp;(i.deps=e)}return t}trigger(e){this.version++,L++,this.notify(e)}notify(e){g();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&amp;&amp;e.sub.dep.notify()}finally{v()}}}function D(e){if(e.dep.sc++,4&amp;e.sub.flags){const t=e.dep.computed;if(t&amp;&amp;!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)D(e)}const n=e.dep.subs;n!==e&amp;&amp;(e.prevSub=n,n&amp;&amp;(n.nextSub=e)),e.dep.subs=e}}const R=new WeakMap,M=Symbol(""),F=Symbol(""),H=Symbol("");function j(e,t,n){if(E&amp;&amp;i){let t=R.get(e);t||R.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new N),r.map=t,r.key=n),r.track()}}function G(e,t,n,o,i,s){const a=R.get(e);if(!a)return void L++;const l=e=&gt;{e&amp;&amp;e.trigger()};if(g(),"clear"===t)a.forEach(l);else{const i=(0,r.cy)(e),s=i&amp;&amp;(0,r.yI)(n);if(i&amp;&amp;"length"===n){const e=Number(o);a.forEach(((t,n)=&gt;{("length"===n||n===H||!(0,r.Bm)(n)&amp;&amp;n&gt;=e)&amp;&amp;l(t)}))}else switch((void 0!==n||a.has(void 0))&amp;&amp;l(a.get(n)),s&amp;&amp;l(a.get(H)),t){case"add":i?s&amp;&amp;l(a.get("length")):(l(a.get(M)),(0,r.CE)(e)&amp;&amp;l(a.get(F)));break;case"delete":i||(l(a.get(M)),(0,r.CE)(e)&amp;&amp;l(a.get(F)));break;case"set":(0,r.CE)(e)&amp;&amp;l(a.get(M))}}v()}function B(e){const t=Ce(e);return t===e?t:(j(t,0,H),Ee(e)?t:t.map(Ie))}function $(e){return j(e=Ce(e),0,H),e}const W={__proto__:null,[Symbol.iterator](){return U(this,Symbol.iterator,Ie)},concat(...e){return B(this).concat(...e.map((e=&gt;(0,r.cy)(e)?B(e):e)))},entries(){return U(this,"entries",(e=&gt;(e[1]=Ie(e[1]),e)))},every(e,t){return V(this,"every",e,t,void 0,arguments)},filter(e,t){return V(this,"filter",e,t,(e=&gt;e.map(Ie)),arguments)},find(e,t){return V(this,"find",e,t,Ie,arguments)},findIndex(e,t){return V(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return V(this,"findLast",e,t,Ie,arguments)},findLastIndex(e,t){return V(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return V(this,"forEach",e,t,void 0,arguments)},includes(...e){return K(this,"includes",e)},indexOf(...e){return K(this,"indexOf",e)},join(e){return B(this).join(e)},lastIndexOf(...e){return K(this,"lastIndexOf",e)},map(e,t){return V(this,"map",e,t,void 0,arguments)},pop(){return q(this,"pop")},push(...e){return q(this,"push",e)},reduce(e,...t){return X(this,"reduce",e,t)},reduceRight(e,...t){return X(this,"reduceRight",e,t)},shift(){return q(this,"shift")},some(e,t){return V(this,"some",e,t,void 0,arguments)},splice(...e){return q(this,"splice",e)},toReversed(){return B(this).toReversed()},toSorted(e){return B(this).toSorted(e)},toSpliced(...e){return B(this).toSpliced(...e)},unshift(...e){return q(this,"unshift",e)},values(){return U(this,"values",Ie)}};function U(e,t,n){const r=$(e),o=r[t]();return r===e||Ee(e)||(o._next=o.next,o.next=()=&gt;{const e=o._next();return e.value&amp;&amp;(e.value=n(e.value)),e}),o}const z=Array.prototype;function V(e,t,n,r,o,i){const s=$(e),a=s!==e&amp;&amp;!Ee(e),l=s[t];if(l!==z[t]){const t=l.apply(e,i);return a?Ie(t):t}let c=n;s!==e&amp;&amp;(a?c=function(t,r){return n.call(this,Ie(t),r,e)}:n.length&gt;2&amp;&amp;(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(s,c,r);return a&amp;&amp;o?o(u):u}function X(e,t,n,r){const o=$(e);let i=n;return o!==e&amp;&amp;(Ee(e)?n.length&gt;3&amp;&amp;(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Ie(r),o,e)}),o[t](i,...r)}function K(e,t,n){const r=Ce(e);j(r,0,H);const o=r[t](...n);return-1!==o&amp;&amp;!1!==o||!xe(n[0])?o:(n[0]=Ce(n[0]),r[t](...n))}function q(e,t,n=[]){C(),g();const r=Ce(e)[t].apply(e,n);return v(),O(),r}const Y=(0,r.pD)("__proto__,__v_isRef,__isVue"),Q=new Set(Object.getOwnPropertyNames(Symbol).filter((e=&gt;"arguments"!==e&amp;&amp;"caller"!==e)).map((e=&gt;Symbol[e])).filter(r.Bm));function J(e){(0,r.Bm)(e)||(e=String(e));const t=Ce(this);return j(t,0,e),t.hasOwnProperty(e)}class Z{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?ye:ve:i?ge:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=(0,r.cy)(e);if(!o){let e;if(s&amp;&amp;(e=W[t]))return e;if("hasOwnProperty"===t)return J}const a=Reflect.get(e,t,Pe(e)?e:n);return((0,r.Bm)(t)?Q.has(t):Y(t))?a:(o||j(e,0,t),i?a:Pe(a)?s&amp;&amp;(0,r.yI)(t)?a:a.value:(0,r.Gv)(a)?o?Se(a):be(a):a)}}class ee extends Z{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Te(i);if(Ee(n)||Te(n)||(i=Ce(i),n=Ce(n)),!(0,r.cy)(e)&amp;&amp;Pe(i)&amp;&amp;!Pe(n))return!t&amp;&amp;(i.value=n,!0)}const s=(0,r.cy)(e)&amp;&amp;(0,r.yI)(t)?Number(t)&lt;e.length:(0,r.$3)(e,t),a=Reflect.set(e,t,n,Pe(e)?e:o);return e===Ce(o)&amp;&amp;(s?(0,r.$H)(n,i)&amp;&amp;G(e,"set",t,n):G(e,"add",t,n)),a}deleteProperty(e,t){const n=(0,r.$3)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&amp;&amp;n&amp;&amp;G(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return(0,r.Bm)(t)&amp;&amp;Q.has(t)||j(e,0,t),n}ownKeys(e){return j(e,0,(0,r.cy)(e)?"length":M),Reflect.ownKeys(e)}}class te extends Z{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ne=new ee,re=new te,oe=new ee(!0),ie=new te(!0),se=e=&gt;e,ae=e=&gt;Reflect.getPrototypeOf(e);function le(e){return function(...t){return"delete"!==e&amp;&amp;("clear"===e?void 0:this)}}function ce(e,t){const n={get(n){const o=this.__v_raw,i=Ce(o),s=Ce(n);e||((0,r.$H)(n,s)&amp;&amp;j(i,0,n),j(i,0,s));const{has:a}=ae(i),l=t?se:e?Le:Ie;return a.call(i,n)?l(o.get(n)):a.call(i,s)?l(o.get(s)):void(o!==i&amp;&amp;o.get(n))},get size(){const t=this.__v_raw;return!e&amp;&amp;j(Ce(t),0,M),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,o=Ce(n),i=Ce(t);return e||((0,r.$H)(t,i)&amp;&amp;j(o,0,t),j(o,0,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const o=this,i=o.__v_raw,s=Ce(i),a=t?se:e?Le:Ie;return!e&amp;&amp;j(s,0,M),i.forEach(((e,t)=&gt;n.call(r,a(e),a(t),o)))}};(0,r.X$)(n,e?{add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear")}:{add(e){t||Ee(e)||Te(e)||(e=Ce(e));const n=Ce(this);return ae(n).has.call(n,e)||(n.add(e),G(n,"add",e,e)),this},set(e,n){t||Ee(n)||Te(n)||(n=Ce(n));const o=Ce(this),{has:i,get:s}=ae(o);let a=i.call(o,e);a||(e=Ce(e),a=i.call(o,e));const l=s.call(o,e);return o.set(e,n),a?(0,r.$H)(n,l)&amp;&amp;G(o,"set",e,n):G(o,"add",e,n),this},delete(e){const t=Ce(this),{has:n,get:r}=ae(t);let o=n.call(t,e);o||(e=Ce(e),o=n.call(t,e));r&amp;&amp;r.call(t,e);const i=t.delete(e);return o&amp;&amp;G(t,"delete",e,void 0),i},clear(){const e=Ce(this),t=0!==e.size,n=e.clear();return t&amp;&amp;G(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((o=&gt;{n[o]=function(e,t,n){return function(...o){const i=this.__v_raw,s=Ce(i),a=(0,r.CE)(s),l="entries"===e||e===Symbol.iterator&amp;&amp;a,c="keys"===e&amp;&amp;a,u=i[e](...o),d=n?se:t?Le:Ie;return!t&amp;&amp;j(s,0,c?F:M),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)})),n}function ue(e,t){const n=ce(e,t);return(t,o,i)=&gt;"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.$3)(n,o)&amp;&amp;o in t?n:t,o,i)}const de={get:ue(!1,!1)},pe={get:ue(!1,!0)},he={get:ue(!0,!1)},fe={get:ue(!0,!0)};const me=new WeakMap,ge=new WeakMap,ve=new WeakMap,ye=new WeakMap;function be(e){return Te(e)?e:ke(e,!1,ne,de,me)}function we(e){return ke(e,!1,oe,pe,ge)}function Se(e){return ke(e,!0,re,he,ve)}function _e(e){return ke(e,!0,ie,fe,ye)}function ke(e,t,n,o,i){if(!(0,r.Gv)(e))return e;if(e.__v_raw&amp;&amp;(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.Zf)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?o:n);return i.set(e,c),c}function Ae(e){return Te(e)?Ae(e.__v_raw):!(!e||!e.__v_isReactive)}function Te(e){return!(!e||!e.__v_isReadonly)}function Ee(e){return!(!e||!e.__v_isShallow)}function xe(e){return!!e&amp;&amp;!!e.__v_raw}function Ce(e){const t=e&amp;&amp;e.__v_raw;return t?Ce(t):e}function Oe(e){return!(0,r.$3)(e,"__v_skip")&amp;&amp;Object.isExtensible(e)&amp;&amp;(0,r.yQ)(e,"__v_skip",!0),e}const Ie=e=&gt;(0,r.Gv)(e)?be(e):e,Le=e=&gt;(0,r.Gv)(e)?Se(e):e;function Pe(e){return!!e&amp;&amp;!0===e.__v_isRef}function Ne(e){return Re(e,!1)}function De(e){return Re(e,!0)}function Re(e,t){return Pe(e)?e:new Me(e,t)}class Me{constructor(e,t){this.dep=new N,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ce(e),this._value=t?e:Ie(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Ee(e)||Te(e);e=n?e:Ce(e),(0,r.$H)(e,t)&amp;&amp;(this._rawValue=e,this._value=n?e:Ie(e),this.dep.trigger())}}function Fe(e){e.dep&amp;&amp;e.dep.trigger()}function He(e){return Pe(e)?e.value:e}function je(e){return(0,r.Tn)(e)?e():He(e)}const Ge={get:(e,t,n)=&gt;"__v_raw"===t?e:He(Reflect.get(e,t,n)),set:(e,t,n,r)=&gt;{const o=e[t];return Pe(o)&amp;&amp;!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Be(e){return Ae(e)?e:new Proxy(e,Ge)}class $e{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new N,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function We(e){return new $e(e)}function Ue(e){const t=(0,r.cy)(e)?new Array(e.length):{};for(const n in e)t[n]=Ke(e,n);return t}class ze{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=R.get(e);return n&amp;&amp;n.get(t)}(Ce(this._object),this._key)}}class Ve{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Xe(e,t,n){return Pe(e)?e:(0,r.Tn)(e)?new Ve(e):(0,r.Gv)(e)&amp;&amp;arguments.length&gt;1?Ke(e,t,n):Ne(e)}function Ke(e,t,n){const r=e[t];return Pe(r)?r:new ze(e,t,n)}class qe{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new N(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=L-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&amp;this.flags||i===this))return m(this,!0),!0}get value(){const e=this.dep.track();return S(this),e&amp;&amp;(e.version=this.dep.version),this._value}set value(e){this.setter&amp;&amp;this.setter(e)}}function Ye(e,t,n=!1){let o,i;(0,r.Tn)(e)?o=e:(o=e.get,i=e.set);return new qe(o,i,n)}const Qe={GET:"get",HAS:"has",ITERATE:"iterate"},Je={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ze={},et=new WeakMap;let tt;function nt(){return tt}function rt(e,t=!1,n=tt){if(n){let t=et.get(n);t||et.set(n,t=[]),t.push(e)}else 0}function ot(e,t,n=r.MZ){const{immediate:o,deep:i,once:s,scheduler:a,augmentJob:c,call:u}=n,p=e=&gt;i?e:Ee(e)||!1===i||0===i?it(e,1):it(e);let h,f,m,g,v=!1,y=!1;if(Pe(e)?(f=()=&gt;e.value,v=Ee(e)):Ae(e)?(f=()=&gt;p(e),v=!0):(0,r.cy)(e)?(y=!0,v=e.some((e=&gt;Ae(e)||Ee(e))),f=()=&gt;e.map((e=&gt;Pe(e)?e.value:Ae(e)?p(e):(0,r.Tn)(e)?u?u(e,2):e():void 0))):f=(0,r.Tn)(e)?t?u?()=&gt;u(e,2):e:()=&gt;{if(m){C();try{m()}finally{O()}}const t=tt;tt=h;try{return u?u(e,3,[g]):e(g)}finally{tt=t}}:r.tE,t&amp;&amp;i){const e=f,t=!0===i?1/0:i;f=()=&gt;it(e(),t)}const b=l(),w=()=&gt;{h.stop(),b&amp;&amp;(0,r.TF)(b.effects,h)};if(s&amp;&amp;t){const e=t;t=(...t)=&gt;{e(...t),w()}}let S=y?new Array(e.length).fill(Ze):Ze;const _=e=&gt;{if(1&amp;h.flags&amp;&amp;(h.dirty||e))if(t){const e=h.run();if(i||v||(y?e.some(((e,t)=&gt;(0,r.$H)(e,S[t]))):(0,r.$H)(e,S))){m&amp;&amp;m();const n=tt;tt=h;try{const n=[e,S===Ze?void 0:y&amp;&amp;S[0]===Ze?[]:S,g];u?u(t,3,n):t(...n),S=e}finally{tt=n}}}else h.run()};return c&amp;&amp;c(_),h=new d(f),h.scheduler=a?()=&gt;a(_,!1):_,g=e=&gt;rt(e,!1,h),m=h.onStop=()=&gt;{const e=et.get(h);if(e){if(u)u(e,4);else for(const t of e)t();et.delete(h)}},t?o?_(!0):S=h.run():a?a(_.bind(null,!0),!0):h.run(),w.pause=h.pause.bind(h),w.resume=h.resume.bind(h),w.stop=w,w}function it(e,t=1/0,n){if(t&lt;=0||!(0,r.Gv)(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Pe(e))it(e.value,t,n);else if((0,r.cy)(e))for(let r=0;r&lt;e.length;r++)it(e[r],t,n);else if((0,r.vM)(e)||(0,r.CE)(e))e.forEach((e=&gt;{it(e,t,n)}));else if((0,r.Qd)(e)){for(const r in e)it(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&amp;&amp;it(e[r],t,n)}return e}},20641:(e,t,n)=&gt;{"use strict";n.d(t,{$V:()=&gt;Fe,$u:()=&gt;Ze,$y:()=&gt;ut,BA:()=&gt;r.BA,Bi:()=&gt;fe,Bs:()=&gt;fo,C4:()=&gt;o.C4,CE:()=&gt;vr,Df:()=&gt;pe,Dl:()=&gt;E,E:()=&gt;Ht,E3:()=&gt;Cr,EW:()=&gt;co,EY:()=&gt;sr,FK:()=&gt;ir,Fv:()=&gt;Ir,Fw:()=&gt;Ln,GM:()=&gt;xt,Gc:()=&gt;r.Gc,Gt:()=&gt;tn,Gw:()=&gt;wo,Gy:()=&gt;te,H4:()=&gt;m,HF:()=&gt;Rt,Ht:()=&gt;Lt,IG:()=&gt;r.IG,IJ:()=&gt;r.IJ,Ic:()=&gt;Je,Im:()=&gt;Y,K9:()=&gt;_n,KC:()=&gt;Ye,KR:()=&gt;r.KR,Kf:()=&gt;o.rU,Kh:()=&gt;r.Kh,LJ:()=&gt;So,LM:()=&gt;Pn,Lk:()=&gt;Ar,Lu:()=&gt;Ct,MZ:()=&gt;de,Mw:()=&gt;ar,NP:()=&gt;Ot,Ng:()=&gt;xr,OA:()=&gt;Pt,OW:()=&gt;le,PP:()=&gt;r.PP,PR:()=&gt;Ge,PS:()=&gt;rn,PT:()=&gt;o.PT,Pn:()=&gt;Ne,Pr:()=&gt;r.Pr,Q3:()=&gt;Lr,QP:()=&gt;re,QW:()=&gt;r.QW,QZ:()=&gt;r.QZ,Qi:()=&gt;F,R1:()=&gt;r.R1,R8:()=&gt;go,RG:()=&gt;gt,SS:()=&gt;nt,Tb:()=&gt;yt,Tm:()=&gt;r.Tm,Tq:()=&gt;Re,Tr:()=&gt;o.Tr,U4:()=&gt;u,U_:()=&gt;Rn,Ul:()=&gt;r.Ul,Vq:()=&gt;mr,WQ:()=&gt;nn,Wv:()=&gt;yr,X2:()=&gt;r.X2,Y4:()=&gt;We,Y5:()=&gt;_o,YY:()=&gt;j,Yj:()=&gt;At,Yv:()=&gt;r.Yv,ZH:()=&gt;o.ZH,ZQ:()=&gt;vo,_B:()=&gt;o._B,aT:()=&gt;ko,bF:()=&gt;Tr,bU:()=&gt;ho,bj:()=&gt;rt,bn:()=&gt;Ft,bo:()=&gt;B,ch:()=&gt;r.ch,ci:()=&gt;kn,dA:()=&gt;De,dY:()=&gt;k,ds:()=&gt;r.ds,eW:()=&gt;Or,eX:()=&gt;mt,fE:()=&gt;r.fE,fn:()=&gt;Gn,g2:()=&gt;lt,g8:()=&gt;r.g8,gN:()=&gt;dt,gW:()=&gt;Sr,gh:()=&gt;h,h:()=&gt;uo,hi:()=&gt;tt,i9:()=&gt;r.i9,iD:()=&gt;bo,jC:()=&gt;lr,jr:()=&gt;r.jr,jt:()=&gt;H,ju:()=&gt;r.ju,k6:()=&gt;G,lW:()=&gt;r.lW,lt:()=&gt;yo,mu:()=&gt;r.mu,n:()=&gt;$e,nD:()=&gt;r.nD,nI:()=&gt;Br,nT:()=&gt;Nn,o5:()=&gt;r.o5,p9:()=&gt;Dn,pI:()=&gt;ft,pM:()=&gt;he,pR:()=&gt;se,qG:()=&gt;it,qL:()=&gt;f,qP:()=&gt;Tt,qR:()=&gt;ot,rE:()=&gt;mo,rO:()=&gt;It,rU:()=&gt;Pe,rY:()=&gt;r.rY,rk:()=&gt;ge,sV:()=&gt;Qe,tB:()=&gt;r.tB,tC:()=&gt;Jr,tG:()=&gt;d,tY:()=&gt;Zn,uX:()=&gt;dr,uY:()=&gt;r.uY,ux:()=&gt;r.ux,v6:()=&gt;Rr,v_:()=&gt;o.v_,vv:()=&gt;br,wB:()=&gt;Mn,wX:()=&gt;Zr,wk:()=&gt;Et,xo:()=&gt;et,y$:()=&gt;po,yC:()=&gt;r.yC,zz:()=&gt;Mt});var r=n(50953),o=n(90033);const i=[];let s=!1;function a(e,...t){if(s)return;s=!0,(0,r.C4)();const n=i.length?i[i.length-1].component:null,o=n&amp;&amp;n.appContext.config.warnHandler,a=function(){let e=i[i.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&amp;&amp;n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&amp;&amp;e.component.parent;e=r&amp;&amp;r.vnode}return t}();if(o)h(o,n,11,[e+t.map((e=&gt;{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&amp;&amp;n.proxy,a.map((({vnode:e})=&gt;`at &lt;${ao(n,e.type)}&gt;`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&amp;&amp;n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=&gt;{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t&gt;0?`... (${t} recursive calls)`:"",r=!!e.component&amp;&amp;null==e.component.parent,o=` at &lt;${ao(e.component,e.type,r)}`,i="&gt;"+n;return e.props?[o,...l(e.props),i]:[o+i]}(e))})),t}(a)),console.warn(...n)}(0,r.bl)(),s=!1}function l(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=&gt;{t.push(...c(n,e[n]))})),n.length&gt;3&amp;&amp;t.push(" ..."),t}function c(e,t,n){return(0,o.Kg)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:(0,r.i9)(t)?(t=c(e,(0,r.ux)(t.value),!0),n?t:[`${e}=Ref&lt;`,t,"&gt;"]):(0,o.Tn)(t)?[`${e}=fn${t.name?`&lt;${t.name}&gt;`:""}`]:(t=(0,r.ux)(t),n?t:[`${e}=`,t])}function u(e,t){}const d={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},p={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function h(e,t,n,r){try{return r?e(...r):e()}catch(e){m(e,t,n)}}function f(e,t,n,r){if((0,o.Tn)(e)){const i=h(e,t,n,r);return i&amp;&amp;(0,o.yL)(i)&amp;&amp;i.catch((e=&gt;{m(e,t,n)})),i}if((0,o.cy)(e)){const o=[];for(let i=0;i&lt;e.length;i++)o.push(f(e[i],t,n,r));return o}}function m(e,t,n,i=!0){t&amp;&amp;t.vnode;const{errorHandler:s,throwUnhandledErrorInProduction:a}=t&amp;&amp;t.appContext.config||o.MZ;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n&lt;t.length;n++)if(!1===t[n](e,i,a))return;o=o.parent}if(s)return(0,r.C4)(),h(s,null,10,[e,i,a]),void(0,r.bl)()}!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,i,a)}const g=[];let v=-1;const y=[];let b=null,w=0;const S=Promise.resolve();let _=null;function k(e){const t=_||S;return e?t.then(this?e.bind(this):e):t}function A(e){if(!(1&amp;e.flags)){const t=O(e),n=g[g.length-1];!n||!(2&amp;e.flags)&amp;&amp;t&gt;=O(n)?g.push(e):g.splice(function(e){let t=v+1,n=g.length;for(;t&lt;n;){const r=t+n&gt;&gt;&gt;1,o=g[r],i=O(o);i&lt;e||i===e&amp;&amp;2&amp;o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,T()}}function T(){_||(_=S.then(I))}function E(e){(0,o.cy)(e)?y.push(...e):b&amp;&amp;-1===e.id?b.splice(w+1,0,e):1&amp;e.flags||(y.push(e),e.flags|=1),T()}function x(e,t,n=v+1){for(0;n&lt;g.length;n++){const t=g[n];if(t&amp;&amp;2&amp;t.flags){if(e&amp;&amp;t.id!==e.uid)continue;0,g.splice(n,1),n--,4&amp;t.flags&amp;&amp;(t.flags&amp;=-2),t(),4&amp;t.flags||(t.flags&amp;=-2)}}}function C(e){if(y.length){const e=[...new Set(y)].sort(((e,t)=&gt;O(e)-O(t)));if(y.length=0,b)return void b.push(...e);for(b=e,w=0;w&lt;b.length;w++){const e=b[w];0,4&amp;e.flags&amp;&amp;(e.flags&amp;=-2),8&amp;e.flags||e(),e.flags&amp;=-2}b=null,w=0}}const O=e=&gt;null==e.id?2&amp;e.flags?-1:1/0:e.id;function I(e){o.tE;try{for(v=0;v&lt;g.length;v++){const e=g[v];!e||8&amp;e.flags||(4&amp;e.flags&amp;&amp;(e.flags&amp;=-2),h(e,e.i,e.i?15:14),4&amp;e.flags||(e.flags&amp;=-2))}}finally{for(;v&lt;g.length;v++){const e=g[v];e&amp;&amp;(e.flags&amp;=-2)}v=-1,g.length=0,C(),_=null,(g.length||y.length)&amp;&amp;I(e)}}let L,P=[],N=!1;let D=null,R=null;function M(e){const t=D;return D=e,R=e&amp;&amp;e.type.__scopeId||null,t}function F(e){R=e}function H(){R=null}const j=e=&gt;G;function G(e,t=D,n){if(!t)return e;if(e._n)return e;const r=(...n)=&gt;{r._d&amp;&amp;mr(-1);const o=M(t);let i;try{i=e(...n)}finally{M(o),r._d&amp;&amp;mr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function B(e,t){if(null===D)return e;const n=ro(D),i=e.dirs||(e.dirs=[]);for(let e=0;e&lt;t.length;e++){let[s,a,l,c=o.MZ]=t[e];s&amp;&amp;((0,o.Tn)(s)&amp;&amp;(s={mounted:s,updated:s}),s.deep&amp;&amp;(0,r.hV)(a),i.push({dir:s,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function $(e,t,n,o){const i=e.dirs,s=t&amp;&amp;t.dirs;for(let a=0;a&lt;i.length;a++){const l=i[a];s&amp;&amp;(l.oldValue=s[a].value);let c=l.dir[o];c&amp;&amp;((0,r.C4)(),f(c,n,8,[e.el,l,e,t]),(0,r.bl)())}}const W=Symbol("_vte"),U=e=&gt;e.__isTeleport,z=e=&gt;e&amp;&amp;(e.disabled||""===e.disabled),V=e=&gt;"undefined"!=typeof SVGElement&amp;&amp;e instanceof SVGElement,X=e=&gt;"function"==typeof MathMLElement&amp;&amp;e instanceof MathMLElement,K=(e,t)=&gt;{const n=e&amp;&amp;e.to;if((0,o.Kg)(n)){if(t){return t(n)}return null}return n};function q(e,t,n,{o:{insert:r},m:o},i=2){0===i&amp;&amp;r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&amp;&amp;r(s,t,n),(!d||z(u))&amp;&amp;16&amp;l)for(let e=0;e&lt;c.length;e++)o(c[e],t,n,2);d&amp;&amp;r(a,t,n)}const Y={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,v=z(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=&gt;{16&amp;y&amp;&amp;(o&amp;&amp;o.isCE&amp;&amp;(o.ce._teleportTarget=e),u(b,e,t,o,i,s,a,l))},p=()=&gt;{const e=t.target=K(t.props,f),n=J(e,t,m,h);e&amp;&amp;("svg"!==s&amp;&amp;V(e)?s="svg":"mathml"!==s&amp;&amp;X(e)&amp;&amp;(s="mathml"),v||(d(e,n),Q(t,!1)))};v&amp;&amp;(d(n,c),Q(t,!0)),(S=t.props)&amp;&amp;(S.defer||""===S.defer)?Sn(p,i):p()}else{t.el=e.el,t.targetStart=e.targetStart;const r=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=z(e.props),g=m?n:u,y=m?r:h;if("svg"===s||V(u)?s="svg":("mathml"===s||X(u))&amp;&amp;(s="mathml"),w?(p(e.dynamicChildren,w,g,o,i,s,a),Cn(e,t,!0)):l||d(e,t,g,y,o,i,s,a,!1),v)m?t.props&amp;&amp;e.props&amp;&amp;t.props.to!==e.props.to&amp;&amp;(t.props.to=e.props.to):q(t,n,r,c,1);else if((t.props&amp;&amp;t.props.to)!==(e.props&amp;&amp;e.props.to)){const e=t.target=K(t.props,f);e&amp;&amp;q(t,e,null,c,0)}else m&amp;&amp;q(t,u,h,c,1);Q(t,v)}var S},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&amp;&amp;(o(c),o(u)),i&amp;&amp;o(l),16&amp;s){const e=i||!z(p);for(let o=0;o&lt;a.length;o++){const i=a[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:q,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},d){const p=t.target=K(t.props,l);if(p){const l=z(t.props),h=p._lpa||p.firstChild;if(16&amp;t.shapeFlag)if(l)t.anchor=d(s(e),t,a(e),n,r,o,i),t.targetStart=h,t.targetAnchor=h&amp;&amp;s(h);else{t.anchor=s(e);let a=h;for(;a;){if(a&amp;&amp;8===a.nodeType)if("teleport start anchor"===a.data)t.targetStart=a;else if("teleport anchor"===a.data){t.targetAnchor=a,p._lpa=t.targetAnchor&amp;&amp;s(t.targetAnchor);break}a=s(a)}t.targetAnchor||J(p,t,u,c),d(h&amp;&amp;s(h),t,p,n,r,o,i)}Q(t,l)}return t.anchor&amp;&amp;s(t.anchor)}};function Q(e,t){const n=e.ctx;if(n&amp;&amp;n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&amp;&amp;r!==o;)1===r.nodeType&amp;&amp;r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function J(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[W]=i,e&amp;&amp;(r(o,e),r(i,e)),i}const Z=Symbol("_leaveCb"),ee=Symbol("_enterCb");function te(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qe((()=&gt;{e.isMounted=!0})),et((()=&gt;{e.isUnmounting=!0})),e}const ne=[Function,Array],re={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ne,onEnter:ne,onAfterEnter:ne,onEnterCancelled:ne,onBeforeLeave:ne,onLeave:ne,onAfterLeave:ne,onLeaveCancelled:ne,onBeforeAppear:ne,onAppear:ne,onAfterAppear:ne,onAppearCancelled:ne},oe=e=&gt;{const t=e.subTree;return t.component?oe(t.component):t};function ie(e){let t=e[0];if(e.length&gt;1){let n=!1;for(const r of e)if(r.type!==ar){0,t=r,n=!0;break}}return t}const se={name:"BaseTransition",props:re,setup(e,{slots:t}){const n=Br(),o=te();return()=&gt;{const i=t.default&amp;&amp;pe(t.default(),!0);if(!i||!i.length)return;const s=ie(i),a=(0,r.ux)(e),{mode:l}=a;if(o.isLeaving)return ce(s);const c=ue(s);if(!c)return ce(s);let u=le(c,a,o,n,(e=&gt;u=e));c.type!==ar&amp;&amp;de(c,u);const d=n.subTree,p=d&amp;&amp;ue(d);if(p&amp;&amp;p.type!==ar&amp;&amp;!wr(c,p)&amp;&amp;oe(n).type!==ar){const e=le(p,a,o,n);if(de(p,e),"out-in"===l&amp;&amp;c.type!==ar)return o.isLeaving=!0,e.afterLeave=()=&gt;{o.isLeaving=!1,8&amp;n.job.flags||n.update(),delete e.afterLeave},ce(s);"in-out"===l&amp;&amp;c.type!==ar&amp;&amp;(e.delayLeave=(e,t,n)=&gt;{ae(o,p)[String(p.key)]=p,e[Z]=()=&gt;{t(),e[Z]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function ae(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function le(e,t,n,r,i){const{appear:s,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:y,onAppear:b,onAfterAppear:w,onAppearCancelled:S}=t,_=String(e.key),k=ae(n,e),A=(e,t)=&gt;{e&amp;&amp;f(e,r,9,t)},T=(e,t)=&gt;{const n=t[1];A(e,t),(0,o.cy)(e)?e.every((e=&gt;e.length&lt;=1))&amp;&amp;n():e.length&lt;=1&amp;&amp;n()},E={mode:a,persisted:l,beforeEnter(t){let r=c;if(!n.isMounted){if(!s)return;r=y||c}t[Z]&amp;&amp;t[Z](!0);const o=k[_];o&amp;&amp;wr(e,o)&amp;&amp;o.el[Z]&amp;&amp;o.el[Z](),A(r,[t])},enter(e){let t=u,r=d,o=p;if(!n.isMounted){if(!s)return;t=b||u,r=w||d,o=S||p}let i=!1;const a=e[ee]=t=&gt;{i||(i=!0,A(t?o:r,[e]),E.delayedLeave&amp;&amp;E.delayedLeave(),e[ee]=void 0)};t?T(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t[ee]&amp;&amp;t[ee](!0),n.isUnmounting)return r();A(h,[t]);let i=!1;const s=t[Z]=n=&gt;{i||(i=!0,r(),A(n?v:g,[t]),t[Z]=void 0,k[o]===e&amp;&amp;delete k[o])};k[o]=e,m?T(m,[t,s]):s()},clone(e){const o=le(e,t,n,r,i);return i&amp;&amp;i(o),o}};return E}function ce(e){if(je(e))return(e=Cr(e)).children=null,e}function ue(e){if(!je(e))return U(e.type)&amp;&amp;e.children?ie(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&amp;t)return n[0];if(32&amp;t&amp;&amp;(0,o.Tn)(n.default))return n.default()}}function de(e,t){6&amp;e.shapeFlag&amp;&amp;e.component?(e.transition=t,de(e.component.subTree,t)):128&amp;e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function pe(e,t=!1,n){let r=[],o=0;for(let i=0;i&lt;e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===ir?(128&amp;s.patchFlag&amp;&amp;o++,r=r.concat(pe(s.children,t,a))):(t||s.type!==ar)&amp;&amp;r.push(null!=a?Cr(s,{key:a}):s)}if(o&gt;1)for(let e=0;e&lt;r.length;e++)r[e].patchFlag=-2;return r}function he(e,t){return(0,o.Tn)(e)?(()=&gt;(0,o.X$)({name:e.name},t,{setup:e}))():e}function fe(){const e=Br();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function me(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ge(e){const t=Br(),n=(0,r.IJ)(null);if(t){const r=t.refs===o.MZ?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=&gt;n.value,set:e=&gt;n.value=e})}else 0;return n}function ve(e,t,n,i,s=!1){if((0,o.cy)(e))return void e.forEach(((e,r)=&gt;ve(e,t&amp;&amp;((0,o.cy)(t)?t[r]:t),n,i,s)));if(Me(i)&amp;&amp;!s)return;const a=4&amp;i.shapeFlag?ro(i.component):i.el,l=s?null:a,{i:c,r:u}=e;const d=t&amp;&amp;t.r,p=c.refs===o.MZ?c.refs={}:c.refs,f=c.setupState,m=(0,r.ux)(f),g=f===o.MZ?()=&gt;!1:e=&gt;(0,o.$3)(m,e);if(null!=d&amp;&amp;d!==u&amp;&amp;((0,o.Kg)(d)?(p[d]=null,g(d)&amp;&amp;(f[d]=null)):(0,r.i9)(d)&amp;&amp;(d.value=null)),(0,o.Tn)(u))h(u,c,12,[l,p]);else{const t=(0,o.Kg)(u),i=(0,r.i9)(u);if(t||i){const r=()=&gt;{if(e.f){const n=t?g(u)?f[u]:p[u]:u.value;s?(0,o.cy)(n)&amp;&amp;(0,o.TF)(n,a):(0,o.cy)(n)?n.includes(a)||n.push(a):t?(p[u]=[a],g(u)&amp;&amp;(f[u]=p[u])):(u.value=[a],e.k&amp;&amp;(p[e.k]=u.value))}else t?(p[u]=l,g(u)&amp;&amp;(f[u]=l)):i&amp;&amp;(u.value=l,e.k&amp;&amp;(p[e.k]=l))};l?(r.id=-1,Sn(r,n)):r()}else 0}}let ye=!1;const be=()=&gt;{ye||(console.error("Hydration completed but contains mismatches."),ye=!0)},we=e=&gt;{if(1===e.nodeType)return(e=&gt;e.namespaceURI.includes("svg")&amp;&amp;"foreignObject"!==e.tagName)(e)?"svg":(e=&gt;e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},Se=e=&gt;8===e.nodeType;function _e(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:l,parentNode:c,remove:u,insert:d,createComment:p}}=e,h=(n,r,o,i,u,p=!1)=&gt;{p=p||!!r.dynamicChildren;const S=Se(n)&amp;&amp;"["===n.data,_=()=&gt;v(n,r,o,i,u,S),{type:k,ref:A,shapeFlag:T,patchFlag:E}=r;let x=n.nodeType;r.el=n,-2===E&amp;&amp;(p=!1,r.dynamicChildren=null);let C=null;switch(k){case sr:3!==x?""===r.children?(d(r.el=s(""),c(n),n),C=n):C=_():(n.data!==r.children&amp;&amp;(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;a("Hydration text mismatch in",n.parentNode,`\n  - rendered on server: ${JSON.stringify(n.data)}\n  - expected on client: ${JSON.stringify(r.children)}`),be(),n.data=r.children),C=l(n));break;case ar:w(n)?(C=l(n),b(r.el=n.content.firstChild,n,o)):C=8!==x||S?_():l(n);break;case lr:if(S&amp;&amp;(x=(n=l(n)).nodeType),1===x||3===x){C=n;const e=!r.children.length;for(let t=0;t&lt;r.staticCount;t++)e&amp;&amp;(r.children+=1===C.nodeType?C.outerHTML:C.data),t===r.staticCount-1&amp;&amp;(r.anchor=C),C=l(C);return S?l(C):C}_();break;case ir:C=S?g(n,r,o,i,u,p):_();break;default:if(1&amp;T)C=1===x&amp;&amp;r.type.toLowerCase()===n.tagName.toLowerCase()||w(n)?f(n,r,o,i,u,p):_();else if(6&amp;T){r.slotScopeIds=u;const e=c(n);if(C=S?y(n):Se(n)&amp;&amp;"teleport start"===n.data?y(n,n.data,"teleport end"):l(n),t(r,e,null,o,i,we(e),p),Me(r)){let t;S?(t=Tr(ir),t.anchor=C?C.previousSibling:e.lastChild):t=3===n.nodeType?Or(""):Tr("div"),t.el=n,r.component.subTree=t}}else 64&amp;T?C=8!==x?_():r.type.hydrate(n,r,o,i,u,p,e,m):128&amp;T?C=r.type.hydrate(n,r,o,i,we(c(n)),u,p,e,h):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;a("Invalid HostVNode type:",k,`(${typeof k})`)}return null!=A&amp;&amp;ve(A,null,i,r),C},f=(e,t,n,s,l,c)=&gt;{c=c||!!t.dynamicChildren;const{type:d,props:p,patchFlag:h,shapeFlag:f,dirs:g,transition:v}=t,y="input"===d||"option"===d;if(y||-1!==h){g&amp;&amp;$(t,null,n,"created");let d,S=!1;if(w(e)){S=xn(null,v)&amp;&amp;n&amp;&amp;n.vnode.props&amp;&amp;n.vnode.props.appear;const r=e.content.firstChild;S&amp;&amp;v.beforeEnter(r),b(r,e,n),t.el=e=r}if(16&amp;f&amp;&amp;(!p||!p.innerHTML&amp;&amp;!p.textContent)){let r=m(e.firstChild,t,e,n,s,l,c),o=!1;for(;r;){Oe(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;!o&amp;&amp;(a("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),o=!0),be());const t=r;r=r.nextSibling,u(t)}}else if(8&amp;f){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&amp;&amp;"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&amp;&amp;(Oe(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;a("Hydration text content mismatch on",e,`\n  - rendered on server: ${e.textContent}\n  - expected on client: ${t.children}`),be()),e.textContent=t.children)}if(p)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||y||!c||48&amp;h){const r=e.tagName.includes("-");for(const s in p)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||g&amp;&amp;g.some((e=&gt;e.dir.created))||!ke(e,s,p[s],t,n)||be(),(y&amp;&amp;(s.endsWith("value")||"indeterminate"===s)||(0,o.Mp)(s)&amp;&amp;!(0,o.SU)(s)||"."===s[0]||r)&amp;&amp;i(e,s,null,p[s],void 0,n)}else if(p.onClick)i(e,"onClick",null,p.onClick,void 0,n);else if(4&amp;h&amp;&amp;(0,r.g8)(p.style))for(const e in p.style)p.style[e];(d=p&amp;&amp;p.onVnodeBeforeMount)&amp;&amp;Mr(d,n,t),g&amp;&amp;$(t,null,n,"beforeMount"),((d=p&amp;&amp;p.onVnodeMounted)||g||S)&amp;&amp;rr((()=&gt;{d&amp;&amp;Mr(d,n,t),S&amp;&amp;v.enter(e),g&amp;&amp;$(t,null,n,"mounted")}),s)}return e.nextSibling},m=(e,t,r,o,i,c,u)=&gt;{u=u||!!t.dynamicChildren;const p=t.children,f=p.length;let m=!1;for(let t=0;t&lt;f;t++){const g=u?p[t]:p[t]=Pr(p[t]),v=g.type===sr;e?(v&amp;&amp;!u&amp;&amp;t+1&lt;f&amp;&amp;Pr(p[t+1]).type===sr&amp;&amp;(d(s(e.data.slice(g.children.length)),r,l(e)),e.data=g.children),e=h(e,g,o,i,c,u)):v&amp;&amp;!g.children?d(g.el=s(""),r):(Oe(r,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;!m&amp;&amp;(a("Hydration children mismatch on",r,"\nServer rendered element contains fewer child nodes than client vdom."),m=!0),be()),n(null,g,r,null,o,i,we(r),c))}return e},g=(e,t,n,r,o,i)=&gt;{const{slotScopeIds:s}=t;s&amp;&amp;(o=o?o.concat(s):s);const a=c(e),u=m(l(e),t,a,n,r,o,i);return u&amp;&amp;Se(u)&amp;&amp;"]"===u.data?l(t.anchor=u):(be(),d(t.anchor=p("]"),a,u),u)},v=(e,t,r,o,i,s)=&gt;{if(Oe(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;a("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Se(e)&amp;&amp;"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),be()),t.el=null,s){const t=y(e);for(;;){const n=l(e);if(!n||n===t)break;u(n)}}const d=l(e),p=c(e);return u(e),n(null,t,p,d,r,o,we(p),i),d},y=(e,t="[",n="]")=&gt;{let r=0;for(;e;)if((e=l(e))&amp;&amp;Se(e)&amp;&amp;(e.data===t&amp;&amp;r++,e.data===n)){if(0===r)return l(e);r--}return e},b=(e,t,n)=&gt;{const r=t.parentNode;r&amp;&amp;r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&amp;&amp;(o.vnode.el=o.subTree.el=e),o=o.parent},w=e=&gt;1===e.nodeType&amp;&amp;"TEMPLATE"===e.tagName;return[(e,t)=&gt;{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;a("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),C(),void(t._vnode=e);h(t.firstChild,e,null,null,null),C(),t._vnode=e},h]}function ke(e,t,n,r,i){let s,l,c,u;if("class"===t)c=e.getAttribute("class"),u=(0,o.C4)(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Ae(c||""),Ae(u))||(s=2,l="class");else if("style"===t){c=e.getAttribute("style")||"",u=(0,o.Kg)(n)?n:(0,o.tl)((0,o.Tr)(n));const t=Te(c),a=Te(u);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||a.set("display","none");i&amp;&amp;Ee(i,r,a),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,a)||(s=3,l="style")}else(e instanceof SVGElement&amp;&amp;(0,o.z3)(t)||e instanceof HTMLElement&amp;&amp;((0,o.W0)(t)||(0,o.wQ)(t)))&amp;&amp;((0,o.W0)(t)?(c=e.hasAttribute(t),u=(0,o.Y2)(n)):null==n?(c=e.hasAttribute(t),u=!1):(c=e.hasAttribute(t)?e.getAttribute(t):"value"===t&amp;&amp;"TEXTAREA"===e.tagName&amp;&amp;e.value,u=!!(0,o.Vp)(n)&amp;&amp;String(n)),c!==u&amp;&amp;(s=4,l=t));if(null!=s&amp;&amp;!Oe(e,s)){const t=e=&gt;!1===e?"(not rendered)":`${l}="${e}"`;return a(`Hydration ${Ce[s]} mismatch on`,e,`\n  - rendered on server: ${t(c)}\n  - expected on client: ${t(u)}\n  Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n  You should fix the source of the mismatch.`),!0}return!1}function Ae(e){return new Set(e.trim().split(/\s+/))}function Te(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&amp;&amp;r.trim(),e&amp;&amp;r&amp;&amp;t.set(e,r)}return t}function Ee(e,t,n){const r=e.subTree;if(e.getCssVars&amp;&amp;(t===r||r&amp;&amp;r.type===ir&amp;&amp;r.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${(0,o.XW)(e,!1)}`,String(t[e]))}t===r&amp;&amp;e.parent&amp;&amp;Ee(e.parent,e.vnode,n)}const xe="data-allow-mismatch",Ce={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Oe(e,t){if(0===t||1===t)for(;e&amp;&amp;!e.hasAttribute(xe);)e=e.parentElement;const n=e&amp;&amp;e.getAttribute(xe);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(Ce[t])}}const Ie=(0,o.We)().requestIdleCallback||(e=&gt;setTimeout(e,1)),Le=(0,o.We)().cancelIdleCallback||(e=&gt;clearTimeout(e)),Pe=(e=1e4)=&gt;t=&gt;{const n=Ie(t,{timeout:e});return()=&gt;Le(n)};const Ne=e=&gt;(t,n)=&gt;{const r=new IntersectionObserver((e=&gt;{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}}),e);return n((e=&gt;{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t&gt;0&amp;&amp;t&lt;i||r&gt;0&amp;&amp;r&lt;i)&amp;&amp;(n&gt;0&amp;&amp;n&lt;s||o&gt;0&amp;&amp;o&lt;s)}(e)?(t(),r.disconnect(),!1):void r.observe(e)})),()=&gt;r.disconnect()},De=e=&gt;t=&gt;{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=&gt;n.removeEventListener("change",t);t()}},Re=(e=[])=&gt;(t,n)=&gt;{(0,o.Kg)(e)&amp;&amp;(e=[e]);let r=!1;const i=e=&gt;{r||(r=!0,s(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},s=()=&gt;{n((t=&gt;{for(const n of e)t.removeEventListener(n,i)}))};return n((t=&gt;{for(const n of e)t.addEventListener(n,i,{once:!0})})),s};const Me=e=&gt;!!e.type.__asyncLoader;function Fe(e){(0,o.Tn)(e)&amp;&amp;(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,hydrate:a,timeout:l,suspensible:c=!0,onError:u}=e;let d,p=null,h=0;const f=()=&gt;{let e;return p||(e=p=t().catch((e=&gt;{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=&gt;{u(e,(()=&gt;t((h++,p=null,f()))),(()=&gt;n(e)),h+1)}));throw e})).then((t=&gt;e!==p&amp;&amp;p?p:(t&amp;&amp;(t.__esModule||"Module"===t[Symbol.toStringTag])&amp;&amp;(t=t.default),d=t,t))))};return he({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(e,t,n){const r=a?()=&gt;{const r=a(n,(t=&gt;function(e,t){if(Se(e)&amp;&amp;"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Se(r))if("]"===r.data){if(0==--n)break}else"["===r.data&amp;&amp;n++;r=r.nextSibling}}else t(e)}(e,t)));r&amp;&amp;(t.bum||(t.bum=[])).push(r)}:n;d?r():f().then((()=&gt;!t.isUnmounted&amp;&amp;r()))},get __asyncResolved(){return d},setup(){const e=Gr;if(me(e),d)return()=&gt;He(d,e);const t=t=&gt;{p=null,m(t,e,13,!i)};if(c&amp;&amp;e.suspense||qr)return f().then((t=&gt;()=&gt;He(t,e))).catch((e=&gt;(t(e),()=&gt;i?Tr(i,{error:e}):null)));const o=(0,r.KR)(!1),a=(0,r.KR)(),u=(0,r.KR)(!!s);return s&amp;&amp;setTimeout((()=&gt;{u.value=!1}),s),null!=l&amp;&amp;setTimeout((()=&gt;{if(!o.value&amp;&amp;!a.value){const e=new Error(`Async component timed out after ${l}ms.`);t(e),a.value=e}}),l),f().then((()=&gt;{o.value=!0,e.parent&amp;&amp;je(e.parent.vnode)&amp;&amp;e.parent.update()})).catch((e=&gt;{t(e),a.value=e})),()=&gt;o.value&amp;&amp;d?He(d,e):a.value&amp;&amp;i?Tr(i,{error:a.value}):n&amp;&amp;!u.value?Tr(n):void 0}})}function He(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Tr(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const je=e=&gt;e.type.__isKeepAlive,Ge={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Br(),r=n.ctx;if(!r.renderer)return()=&gt;{const e=t.default&amp;&amp;t.default();return e&amp;&amp;1===e.length?e[0]:e};const i=new Map,s=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=r,h=p("div");function f(e){Ve(e),d(e,n,l,!0)}function m(e){i.forEach(((t,n)=&gt;{const r=so(t.type);r&amp;&amp;!e(r)&amp;&amp;g(n)}))}function g(e){const t=i.get(e);!t||a&amp;&amp;wr(t,a)?a&amp;&amp;Ve(a):f(t),i.delete(e),s.delete(e)}r.activate=(e,t,n,r,i)=&gt;{const s=e.component;u(e,t,n,0,l),c(s.vnode,e,t,n,s,l,r,e.slotScopeIds,i),Sn((()=&gt;{s.isDeactivated=!1,s.a&amp;&amp;(0,o.DY)(s.a);const t=e.props&amp;&amp;e.props.onVnodeMounted;t&amp;&amp;Mr(t,s.parent,e)}),l)},r.deactivate=e=&gt;{const t=e.component;In(t.m),In(t.a),u(e,h,null,1,l),Sn((()=&gt;{t.da&amp;&amp;(0,o.DY)(t.da);const n=e.props&amp;&amp;e.props.onVnodeUnmounted;n&amp;&amp;Mr(n,t.parent,e),t.isDeactivated=!0}),l)},Mn((()=&gt;[e.include,e.exclude]),(([e,t])=&gt;{e&amp;&amp;m((t=&gt;Be(e,t))),t&amp;&amp;m((e=&gt;!Be(t,e)))}),{flush:"post",deep:!0});let v=null;const y=()=&gt;{null!=v&amp;&amp;(Qn(n.subTree.type)?Sn((()=&gt;{i.set(v,Xe(n.subTree))}),n.subTree.suspense):i.set(v,Xe(n.subTree)))};return Qe(y),Ze(y),et((()=&gt;{i.forEach((e=&gt;{const{subTree:t,suspense:r}=n,o=Xe(t);if(e.type!==o.type||e.key!==o.key)f(e);else{Ve(o);const e=o.component.da;e&amp;&amp;Sn(e,r)}}))})),()=&gt;{if(v=null,!t.default)return a=null;const n=t.default(),r=n[0];if(n.length&gt;1)return a=null,n;if(!(br(r)&amp;&amp;(4&amp;r.shapeFlag||128&amp;r.shapeFlag)))return a=null,r;let o=Xe(r);if(o.type===ar)return a=null,o;const l=o.type,c=so(Me(o)?o.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&amp;&amp;(!c||!Be(u,c))||d&amp;&amp;c&amp;&amp;Be(d,c))return o.shapeFlag&amp;=-257,a=o,r;const h=null==o.key?l:o.key,f=i.get(h);return o.el&amp;&amp;(o=Cr(o),128&amp;r.shapeFlag&amp;&amp;(r.ssContent=o)),v=h,f?(o.el=f.el,o.component=f.component,o.transition&amp;&amp;de(o,o.transition),o.shapeFlag|=512,s.delete(h),s.add(h)):(s.add(h),p&amp;&amp;s.size&gt;parseInt(p,10)&amp;&amp;g(s.values().next().value)),o.shapeFlag|=256,a=o,Qn(r.type)?r:o}}};function Be(e,t){return(0,o.cy)(e)?e.some((e=&gt;Be(e,t))):(0,o.Kg)(e)?e.split(",").includes(t):!!(0,o.gd)(e)&amp;&amp;(e.lastIndex=0,e.test(t))}function $e(e,t){Ue(e,"a",t)}function We(e,t){Ue(e,"da",t)}function Ue(e,t,n=Gr){const r=e.__wdc||(e.__wdc=()=&gt;{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ke(t,r,n),n){let e=n.parent;for(;e&amp;&amp;e.parent;)je(e.parent.vnode)&amp;&amp;ze(r,t,n,e),e=e.parent}}function ze(e,t,n,r){const i=Ke(t,e,r,!0);tt((()=&gt;{(0,o.TF)(r[t],i)}),n)}function Ve(e){e.shapeFlag&amp;=-257,e.shapeFlag&amp;=-513}function Xe(e){return 128&amp;e.shapeFlag?e.ssContent:e}function Ke(e,t,n=Gr,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=&gt;{(0,r.C4)();const i=Ur(n),s=f(t,n,e,o);return i(),(0,r.bl)(),s});return o?i.unshift(s):i.push(s),s}}const qe=e=&gt;(t,n=Gr)=&gt;{qr&amp;&amp;"sp"!==e||Ke(e,((...e)=&gt;t(...e)),n)},Ye=qe("bm"),Qe=qe("m"),Je=qe("bu"),Ze=qe("u"),et=qe("bum"),tt=qe("um"),nt=qe("sp"),rt=qe("rtg"),ot=qe("rtc");function it(e,t=Gr){Ke("ec",e,t)}const st="components",at="directives";function lt(e,t){return pt(st,e,!0,t)||e}const ct=Symbol.for("v-ndc");function ut(e){return(0,o.Kg)(e)?pt(st,e,!1)||e:e||ct}function dt(e){return pt(at,e)}function pt(e,t,n=!0,r=!1){const i=D||Gr;if(i){const n=i.type;if(e===st){const e=so(n,!1);if(e&amp;&amp;(e===t||e===(0,o.PT)(t)||e===(0,o.ZH)((0,o.PT)(t))))return n}const s=ht(i[e]||n[e],t)||ht(i.appContext[e],t);return!s&amp;&amp;r?n:s}}function ht(e,t){return e&amp;&amp;(e[t]||e[(0,o.PT)(t)]||e[(0,o.ZH)((0,o.PT)(t))])}function ft(e,t,n,i){let s;const a=n&amp;&amp;n[i],l=(0,o.cy)(e);if(l||(0,o.Kg)(e)){let n=!1;l&amp;&amp;(0,r.g8)(e)&amp;&amp;(n=!(0,r.fE)(e),e=(0,r.qA)(e)),s=new Array(e.length);for(let o=0,i=e.length;o&lt;i;o++)s[o]=t(n?(0,r.lJ)(e[o]):e[o],o,void 0,a&amp;&amp;a[o])}else if("number"==typeof e){0,s=new Array(e);for(let n=0;n&lt;e;n++)s[n]=t(n+1,n,void 0,a&amp;&amp;a[n])}else if((0,o.Gv)(e))if(e[Symbol.iterator])s=Array.from(e,((e,n)=&gt;t(e,n,void 0,a&amp;&amp;a[n])));else{const n=Object.keys(e);s=new Array(n.length);for(let r=0,o=n.length;r&lt;o;r++){const o=n[r];s[r]=t(e[o],o,r,a&amp;&amp;a[r])}}else s=[];return n&amp;&amp;(n[i]=s),s}function mt(e,t){for(let n=0;n&lt;t.length;n++){const r=t[n];if((0,o.cy)(r))for(let t=0;t&lt;r.length;t++)e[r[t].name]=r[t].fn;else r&amp;&amp;(e[r.name]=r.key?(...e)=&gt;{const t=r.fn(...e);return t&amp;&amp;(t.key=r.key),t}:r.fn)}return e}function gt(e,t,n={},r,i){if(D.ce||D.parent&amp;&amp;Me(D.parent)&amp;&amp;D.parent.ce)return"default"!==t&amp;&amp;(n.name=t),dr(),yr(ir,null,[Tr("slot",n,r&amp;&amp;r())],64);let s=e[t];s&amp;&amp;s._c&amp;&amp;(s._d=!1),dr();const a=s&amp;&amp;vt(s(n)),l=n.key||a&amp;&amp;a.key,c=yr(ir,{key:(l&amp;&amp;!(0,o.Bm)(l)?l:`_${t}`)+(!a&amp;&amp;r?"_fb":"")},a||(r?r():[]),a&amp;&amp;1===e._?64:-2);return!i&amp;&amp;c.scopeId&amp;&amp;(c.slotScopeIds=[c.scopeId+"-s"]),s&amp;&amp;s._c&amp;&amp;(s._d=!0),c}function vt(e){return e.some((e=&gt;!br(e)||e.type!==ar&amp;&amp;!(e.type===ir&amp;&amp;!vt(e.children))))?e:null}function yt(e,t){const n={};for(const r in e)n[t&amp;&amp;/[A-Z]/.test(r)?`on:${r}`:(0,o.rU)(r)]=e[r];return n}const bt=e=&gt;e?Vr(e)?ro(e):bt(e.parent):null,wt=(0,o.X$)(Object.create(null),{$:e=&gt;e,$el:e=&gt;e.vnode.el,$data:e=&gt;e.data,$props:e=&gt;e.props,$attrs:e=&gt;e.attrs,$slots:e=&gt;e.slots,$refs:e=&gt;e.refs,$parent:e=&gt;bt(e.parent),$root:e=&gt;bt(e.root),$host:e=&gt;e.ce,$emit:e=&gt;e.emit,$options:e=&gt;Wt(e),$forceUpdate:e=&gt;e.f||(e.f=()=&gt;{A(e.update)}),$nextTick:e=&gt;e.n||(e.n=k.bind(e.proxy)),$watch:e=&gt;Hn.bind(e)}),St=(e,t)=&gt;e!==o.MZ&amp;&amp;!e.__isScriptSetup&amp;&amp;(0,o.$3)(e,t),_t={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:i,data:s,props:a,accessCache:l,type:c,appContext:u}=e;let d;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return a[t]}else{if(St(i,t))return l[t]=1,i[t];if(s!==o.MZ&amp;&amp;(0,o.$3)(s,t))return l[t]=2,s[t];if((d=e.propsOptions[0])&amp;&amp;(0,o.$3)(d,t))return l[t]=3,a[t];if(n!==o.MZ&amp;&amp;(0,o.$3)(n,t))return l[t]=4,n[t];jt&amp;&amp;(l[t]=0)}}const p=wt[t];let h,f;return p?("$attrs"===t&amp;&amp;(0,r.u4)(e.attrs,"get",""),p(e)):(h=c.__cssModules)&amp;&amp;(h=h[t])?h:n!==o.MZ&amp;&amp;(0,o.$3)(n,t)?(l[t]=4,n[t]):(f=u.config.globalProperties,(0,o.$3)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return St(i,t)?(i[t]=n,!0):r!==o.MZ&amp;&amp;(0,o.$3)(r,t)?(r[t]=n,!0):!(0,o.$3)(e.props,t)&amp;&amp;(("$"!==t[0]||!(t.slice(1)in e))&amp;&amp;(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o.MZ&amp;&amp;(0,o.$3)(e,a)||St(t,a)||(l=s[0])&amp;&amp;(0,o.$3)(l,a)||(0,o.$3)(r,a)||(0,o.$3)(wt,a)||(0,o.$3)(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.$3)(n,"value")&amp;&amp;this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const kt=(0,o.X$)({},_t,{get(e,t){if(t!==Symbol.unscopables)return _t.get(e,t,e)},has:(e,t)=&gt;"_"!==t[0]&amp;&amp;!(0,o.BH)(t)});function At(){return null}function Tt(){return null}function Et(e){0}function xt(e){0}function Ct(){return null}function Ot(){0}function It(e,t){return null}function Lt(){return Nt().slots}function Pt(){return Nt().attrs}function Nt(){const e=Br();return e.setupContext||(e.setupContext=no(e))}function Dt(e){return(0,o.cy)(e)?e.reduce(((e,t)=&gt;(e[t]=null,e)),{}):e}function Rt(e,t){const n=Dt(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?(0,o.cy)(r)||(0,o.Tn)(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&amp;&amp;(r=n[e]={default:t[e]}),r&amp;&amp;t[`__skip_${e}`]&amp;&amp;(r.skipFactory=!0)}return n}function Mt(e,t){return e&amp;&amp;t?(0,o.cy)(e)&amp;&amp;(0,o.cy)(t)?e.concat(t):(0,o.X$)({},Dt(e),Dt(t)):e||t}function Ft(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=&gt;e[r]});return n}function Ht(e){const t=Br();let n=e();return zr(),(0,o.yL)(n)&amp;&amp;(n=n.catch((e=&gt;{throw Ur(t),e}))),[n,()=&gt;Ur(t)]}let jt=!0;function Gt(e){const t=Wt(e),n=e.proxy,i=e.ctx;jt=!1,t.beforeCreate&amp;&amp;Bt(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:l,watch:c,provide:u,inject:d,created:p,beforeMount:h,mounted:f,beforeUpdate:m,updated:g,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:w,destroyed:S,unmounted:_,render:k,renderTracked:A,renderTriggered:T,errorCaptured:E,serverPrefetch:x,expose:C,inheritAttrs:O,components:I,directives:L,filters:P}=t;if(d&amp;&amp;function(e,t){(0,o.cy)(e)&amp;&amp;(e=Xt(e));for(const n in e){const i=e[n];let s;s=(0,o.Gv)(i)?"default"in i?nn(i.from||n,i.default,!0):nn(i.from||n):nn(i),(0,r.i9)(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=&gt;s.value,set:e=&gt;s.value=e}):t[n]=s}}(d,i,null),l)for(const e in l){const t=l[e];(0,o.Tn)(t)&amp;&amp;(i[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,(0,o.Gv)(t)&amp;&amp;(e.data=(0,r.Kh)(t))}if(jt=!0,a)for(const e in a){const t=a[e],r=(0,o.Tn)(t)?t.bind(n,n):(0,o.Tn)(t.get)?t.get.bind(n,n):o.tE;0;const s=!(0,o.Tn)(t)&amp;&amp;(0,o.Tn)(t.set)?t.set.bind(n):o.tE,l=co({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=&gt;l.value,set:e=&gt;l.value=e})}if(c)for(const e in c)$t(c[e],i,n,e);if(u){const e=(0,o.Tn)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=&gt;{tn(t,e[t])}))}function N(e,t){(0,o.cy)(t)?t.forEach((t=&gt;e(t.bind(n)))):t&amp;&amp;e(t.bind(n))}if(p&amp;&amp;Bt(p,e,"c"),N(Ye,h),N(Qe,f),N(Je,m),N(Ze,g),N($e,v),N(We,y),N(it,E),N(ot,A),N(rt,T),N(et,w),N(tt,_),N(nt,x),(0,o.cy)(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach((e=&gt;{Object.defineProperty(t,e,{get:()=&gt;n[e],set:t=&gt;n[e]=t})}))}else e.exposed||(e.exposed={});k&amp;&amp;e.render===o.tE&amp;&amp;(e.render=k),null!=O&amp;&amp;(e.inheritAttrs=O),I&amp;&amp;(e.components=I),L&amp;&amp;(e.directives=L),x&amp;&amp;me(e)}function Bt(e,t,n){f((0,o.cy)(e)?e.map((e=&gt;e.bind(t.proxy))):e.bind(t.proxy),t,n)}function $t(e,t,n,r){let i=r.includes(".")?jn(n,r):()=&gt;n[r];if((0,o.Kg)(e)){const n=t[e];(0,o.Tn)(n)&amp;&amp;Mn(i,n)}else if((0,o.Tn)(e))Mn(i,e.bind(n));else if((0,o.Gv)(e))if((0,o.cy)(e))e.forEach((e=&gt;$t(e,t,n,r)));else{const r=(0,o.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.Tn)(r)&amp;&amp;Mn(i,r,e)}else 0}function Wt(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,l=s.get(t);let c;return l?c=l:i.length||n||r?(c={},i.length&amp;&amp;i.forEach((e=&gt;Ut(c,e,a,!0))),Ut(c,t,a)):c=t,(0,o.Gv)(t)&amp;&amp;s.set(t,c),c}function Ut(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&amp;&amp;Ut(e,i,n,!0),o&amp;&amp;o.forEach((t=&gt;Ut(e,t,n,!0)));for(const o in t)if(r&amp;&amp;"expose"===o);else{const r=zt[o]||n&amp;&amp;n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const zt={data:Vt,props:Yt,emits:Yt,methods:qt,computed:qt,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:qt,directives:qt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,o.X$)(Object.create(null),e);for(const r in t)n[r]=Kt(e[r],t[r]);return n},provide:Vt,inject:function(e,t){return qt(Xt(e),Xt(t))}};function Vt(e,t){return t?e?function(){return(0,o.X$)((0,o.Tn)(e)?e.call(this,this):e,(0,o.Tn)(t)?t.call(this,this):t)}:t:e}function Xt(e){if((0,o.cy)(e)){const t={};for(let n=0;n&lt;e.length;n++)t[e[n]]=e[n];return t}return e}function Kt(e,t){return e?[...new Set([].concat(e,t))]:t}function qt(e,t){return e?(0,o.X$)(Object.create(null),e,t):t}function Yt(e,t){return e?(0,o.cy)(e)&amp;&amp;(0,o.cy)(t)?[...new Set([...e,...t])]:(0,o.X$)(Object.create(null),Dt(e),Dt(null!=t?t:{})):t}function Qt(){return{app:null,config:{isNativeTag:o.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jt=0;function Zt(e,t){return function(n,r=null){(0,o.Tn)(n)||(n=(0,o.X$)({},n)),null==r||(0,o.Gv)(r)||(r=null);const i=Qt(),s=new WeakSet,a=[];let l=!1;const c=i.app={_uid:Jt++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:mo,get config(){return i.config},set config(e){0},use:(e,...t)=&gt;(s.has(e)||(e&amp;&amp;(0,o.Tn)(e.install)?(s.add(e),e.install(c,...t)):(0,o.Tn)(e)&amp;&amp;(s.add(e),e(c,...t))),c),mixin:e=&gt;(i.mixins.includes(e)||i.mixins.push(e),c),component:(e,t)=&gt;t?(i.components[e]=t,c):i.components[e],directive:(e,t)=&gt;t?(i.directives[e]=t,c):i.directives[e],mount(o,s,a){if(!l){0;const u=c._ceVNode||Tr(n,r);return u.appContext=i,!0===a?a="svg":!1===a&amp;&amp;(a=void 0),s&amp;&amp;t?t(u,o):e(u,o,a),l=!0,c._container=o,o.__vue_app__=c,ro(u.component)}},onUnmount(e){a.push(e)},unmount(){l&amp;&amp;(f(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=&gt;(i.provides[e]=t,c),runWithContext(e){const t=en;en=c;try{return e()}finally{en=t}}};return c}}let en=null;function tn(e,t){if(Gr){let n=Gr.provides;const r=Gr.parent&amp;&amp;Gr.parent.provides;r===n&amp;&amp;(n=Gr.provides=Object.create(r)),n[e]=t}else 0}function nn(e,t,n=!1){const r=Gr||D;if(r||en){const i=en?en._context.provides:r?null==r.parent?r.vnode.appContext&amp;&amp;r.vnode.appContext.provides:r.parent.provides:void 0;if(i&amp;&amp;e in i)return i[e];if(arguments.length&gt;1)return n&amp;&amp;(0,o.Tn)(t)?t.call(r&amp;&amp;r.proxy):t}else 0}function rn(){return!!(Gr||D||en)}const on={},sn=()=&gt;Object.create(on),an=e=&gt;Object.getPrototypeOf(e)===on;function ln(e,t,n,i){const[s,a]=e.propsOptions;let l,c=!1;if(t)for(let r in t){if((0,o.SU)(r))continue;const u=t[r];let d;s&amp;&amp;(0,o.$3)(s,d=(0,o.PT)(r))?a&amp;&amp;a.includes(d)?(l||(l={}))[d]=u:n[d]=u:Un(e.emitsOptions,r)||r in i&amp;&amp;u===i[r]||(i[r]=u,c=!0)}if(a){const t=(0,r.ux)(n),i=l||o.MZ;for(let r=0;r&lt;a.length;r++){const l=a[r];n[l]=cn(s,t,l,i[l],e,!(0,o.$3)(i,l))}}return c}function cn(e,t,n,r,i,s){const a=e[n];if(null!=a){const e=(0,o.$3)(a,"default");if(e&amp;&amp;void 0===r){const e=a.default;if(a.type!==Function&amp;&amp;!a.skipFactory&amp;&amp;(0,o.Tn)(e)){const{propsDefaults:o}=i;if(n in o)r=o[n];else{const s=Ur(i);r=o[n]=e.call(null,t),s()}}else r=e;i.ce&amp;&amp;i.ce._setProp(n,r)}a[0]&amp;&amp;(s&amp;&amp;!e?r=!1:!a[1]||""!==r&amp;&amp;r!==(0,o.Tg)(n)||(r=!0))}return r}const un=new WeakMap;function dn(e,t,n=!1){const r=n?un:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,a={},l=[];let c=!1;if(!(0,o.Tn)(e)){const r=e=&gt;{c=!0;const[n,r]=dn(e,t,!0);(0,o.X$)(a,n),r&amp;&amp;l.push(...r)};!n&amp;&amp;t.mixins.length&amp;&amp;t.mixins.forEach(r),e.extends&amp;&amp;r(e.extends),e.mixins&amp;&amp;e.mixins.forEach(r)}if(!s&amp;&amp;!c)return(0,o.Gv)(e)&amp;&amp;r.set(e,o.Oj),o.Oj;if((0,o.cy)(s))for(let e=0;e&lt;s.length;e++){0;const t=(0,o.PT)(s[e]);pn(t)&amp;&amp;(a[t]=o.MZ)}else if(s){0;for(const e in s){const t=(0,o.PT)(e);if(pn(t)){const n=s[e],r=a[t]=(0,o.cy)(n)||(0,o.Tn)(n)?{type:n}:(0,o.X$)({},n),i=r.type;let c=!1,u=!0;if((0,o.cy)(i))for(let e=0;e&lt;i.length;++e){const t=i[e],n=(0,o.Tn)(t)&amp;&amp;t.name;if("Boolean"===n){c=!0;break}"String"===n&amp;&amp;(u=!1)}else c=(0,o.Tn)(i)&amp;&amp;"Boolean"===i.name;r[0]=c,r[1]=u,(c||(0,o.$3)(r,"default"))&amp;&amp;l.push(t)}}}const u=[a,l];return(0,o.Gv)(e)&amp;&amp;r.set(e,u),u}function pn(e){return"$"!==e[0]&amp;&amp;!(0,o.SU)(e)}const hn=e=&gt;"_"===e[0]||"$stable"===e,fn=e=&gt;(0,o.cy)(e)?e.map(Pr):[Pr(e)],mn=(e,t,n)=&gt;{if(t._n)return t;const r=G(((...e)=&gt;fn(t(...e))),n);return r._c=!1,r},gn=(e,t,n)=&gt;{const r=e._ctx;for(const n in e){if(hn(n))continue;const i=e[n];if((0,o.Tn)(i))t[n]=mn(0,i,r);else if(null!=i){0;const e=fn(i);t[n]=()=&gt;e}}},vn=(e,t)=&gt;{const n=fn(t);e.slots.default=()=&gt;n},yn=(e,t,n)=&gt;{for(const r in t)(n||"_"!==r)&amp;&amp;(e[r]=t[r])},bn=(e,t,n)=&gt;{const r=e.slots=sn();if(32&amp;e.vnode.shapeFlag){const e=t._;e?(yn(r,t,n),n&amp;&amp;(0,o.yQ)(r,"_",e,!0)):gn(t,r)}else t&amp;&amp;vn(e,t)},wn=(e,t,n)=&gt;{const{vnode:r,slots:i}=e;let s=!0,a=o.MZ;if(32&amp;r.shapeFlag){const e=t._;e?n&amp;&amp;1===e?s=!1:yn(i,t,n):(s=!t.$stable,gn(t,i)),a=t}else t&amp;&amp;(vn(e,t),a={default:1});if(s)for(const e in i)hn(e)||null!=a[e]||delete i[e]};const Sn=rr;function _n(e){return An(e)}function kn(e){return An(e,_e)}function An(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&amp;&amp;((0,o.We)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);(0,o.We)().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:a,createText:l,createComment:c,setText:u,setElementText:d,parentNode:p,nextSibling:h,setScopeId:f=o.tE,insertStaticContent:m}=e,g=(e,t,n,r=null,o=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=&gt;{if(e===t)return;e&amp;&amp;!wr(e,t)&amp;&amp;(r=K(e),B(e,o,i,!0),e=null),-2===t.patchFlag&amp;&amp;(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case sr:v(e,t,n,r);break;case ar:y(e,t,n,r);break;case lr:null==e&amp;&amp;b(t,n,r,s);break;case ir:L(e,t,n,r,o,i,s,a,l);break;default:1&amp;d?S(e,t,n,r,o,i,s,a,l):6&amp;d?P(e,t,n,r,o,i,s,a,l):(64&amp;d||128&amp;d)&amp;&amp;c.process(e,t,n,r,o,i,s,a,l,Q)}null!=u&amp;&amp;o&amp;&amp;ve(u,e&amp;&amp;e.ref,i,t||e,!t)},v=(e,t,r,o)=&gt;{if(null==e)n(t.el=l(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&amp;&amp;u(n,t.children)}},y=(e,t,r,o)=&gt;{null==e?n(t.el=c(t.children||""),r,o):t.el=e.el},b=(e,t,n,r)=&gt;{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},w=({el:e,anchor:t})=&gt;{let n;for(;e&amp;&amp;e!==t;)n=h(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,s,a,l)=&gt;{"svg"===t.type?s="svg":"math"===t.type&amp;&amp;(s="mathml"),null==e?_(t,n,r,o,i,s,a,l):E(e,t,o,i,s,a,l)},_=(e,t,r,i,l,c,u,p)=&gt;{let h,f;const{props:m,shapeFlag:g,transition:v,dirs:y}=e;if(h=e.el=a(e.type,c,m&amp;&amp;m.is,m),8&amp;g?d(h,e.children):16&amp;g&amp;&amp;T(e.children,h,null,i,l,Tn(e,c),u,p),y&amp;&amp;$(e,null,i,"created"),k(h,e,e.scopeId,u,i),m){for(const e in m)"value"===e||(0,o.SU)(e)||s(h,e,null,m[e],c,i);"value"in m&amp;&amp;s(h,"value",null,m.value,c),(f=m.onVnodeBeforeMount)&amp;&amp;Mr(f,i,e)}y&amp;&amp;$(e,null,i,"beforeMount");const b=xn(l,v);b&amp;&amp;v.beforeEnter(h),n(h,t,r),((f=m&amp;&amp;m.onVnodeMounted)||b||y)&amp;&amp;Sn((()=&gt;{f&amp;&amp;Mr(f,i,e),b&amp;&amp;v.enter(h),y&amp;&amp;$(e,null,i,"mounted")}),l)},k=(e,t,n,r,o)=&gt;{if(n&amp;&amp;f(e,n),r)for(let t=0;t&lt;r.length;t++)f(e,r[t]);if(o){let n=o.subTree;if(t===n||Qn(n.type)&amp;&amp;(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;k(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},T=(e,t,n,r,o,i,s,a,l=0)=&gt;{for(let c=l;c&lt;e.length;c++){const l=e[c]=a?Nr(e[c]):Pr(e[c]);g(null,l,t,n,r,o,i,s,a)}},E=(e,t,n,r,i,a,l)=&gt;{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:h}=t;u|=16&amp;e.patchFlag;const f=e.props||o.MZ,m=t.props||o.MZ;let g;if(n&amp;&amp;En(n,!1),(g=m.onVnodeBeforeUpdate)&amp;&amp;Mr(g,n,t,e),h&amp;&amp;$(t,e,n,"beforeUpdate"),n&amp;&amp;En(n,!0),(f.innerHTML&amp;&amp;null==m.innerHTML||f.textContent&amp;&amp;null==m.textContent)&amp;&amp;d(c,""),p?O(e.dynamicChildren,p,c,n,r,Tn(t,i),a):l||F(e,t,c,null,n,r,Tn(t,i),a,!1),u&gt;0){if(16&amp;u)I(c,f,m,n,i);else if(2&amp;u&amp;&amp;f.class!==m.class&amp;&amp;s(c,"class",null,m.class,i),4&amp;u&amp;&amp;s(c,"style",f.style,m.style,i),8&amp;u){const e=t.dynamicProps;for(let t=0;t&lt;e.length;t++){const r=e[t],o=f[r],a=m[r];a===o&amp;&amp;"value"!==r||s(c,r,o,a,i,n)}}1&amp;u&amp;&amp;e.children!==t.children&amp;&amp;d(c,t.children)}else l||null!=p||I(c,f,m,n,i);((g=m.onVnodeUpdated)||h)&amp;&amp;Sn((()=&gt;{g&amp;&amp;Mr(g,n,t,e),h&amp;&amp;$(t,e,n,"updated")}),r)},O=(e,t,n,r,o,i,s)=&gt;{for(let a=0;a&lt;t.length;a++){const l=e[a],c=t[a],u=l.el&amp;&amp;(l.type===ir||!wr(l,c)||70&amp;l.shapeFlag)?p(l.el):n;g(l,c,u,null,r,o,i,s,!0)}},I=(e,t,n,r,i)=&gt;{if(t!==n){if(t!==o.MZ)for(const a in t)(0,o.SU)(a)||a in n||s(e,a,t[a],null,i,r);for(const a in n){if((0,o.SU)(a))continue;const l=n[a],c=t[a];l!==c&amp;&amp;"value"!==a&amp;&amp;s(e,a,c,l,i,r)}"value"in n&amp;&amp;s(e,"value",t.value,n.value,i)}},L=(e,t,r,o,i,s,a,c,u)=&gt;{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t;m&amp;&amp;(c=c?c.concat(m):m),null==e?(n(d,r,o),n(p,r,o),T(t.children||[],r,p,i,s,a,c,u)):h&gt;0&amp;&amp;64&amp;h&amp;&amp;f&amp;&amp;e.dynamicChildren?(O(e.dynamicChildren,f,r,i,s,a,c),(null!=t.key||i&amp;&amp;t===i.subTree)&amp;&amp;Cn(e,t,!0)):F(e,t,r,p,i,s,a,c,u)},P=(e,t,n,r,o,i,s,a,l)=&gt;{t.slotScopeIds=a,null==e?512&amp;t.shapeFlag?o.ctx.activate(t,n,r,s,l):N(t,n,r,o,i,s,l):D(e,t,l)},N=(e,t,n,r,o,i,s)=&gt;{const a=e.component=jr(e,r,o);if(je(e)&amp;&amp;(a.ctx.renderer=Q),Yr(a,!1,s),a.asyncDep){if(o&amp;&amp;o.registerDep(a,R,s),!e.el){const e=a.subTree=Tr(ar);y(null,e,t,n)}}else R(a,e,t,n,o,i,s)},D=(e,t,n)=&gt;{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;0;if(t.dirs||t.transition)return!0;if(!(n&amp;&amp;l&gt;=0))return!(!o&amp;&amp;!a||a&amp;&amp;a.$stable)||r!==s&amp;&amp;(r?!s||qn(r,s,c):!!s);if(1024&amp;l)return!0;if(16&amp;l)return r?qn(r,s,c):!!s;if(8&amp;l){const e=t.dynamicProps;for(let t=0;t&lt;e.length;t++){const n=e[t];if(s[n]!==r[n]&amp;&amp;!Un(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&amp;&amp;!r.asyncResolved)return void M(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},R=(e,t,n,i,s,a,l)=&gt;{const c=()=&gt;{if(e.isMounted){let{next:t,bu:n,u:r,parent:i,vnode:u}=e;{const n=On(e);if(n)return t&amp;&amp;(t.el=u.el,M(e,t,l)),void n.asyncDep.then((()=&gt;{e.isUnmounted||c()}))}let d,h=t;0,En(e,!1),t?(t.el=u.el,M(e,t,l)):t=u,n&amp;&amp;(0,o.DY)(n),(d=t.props&amp;&amp;t.props.onVnodeBeforeUpdate)&amp;&amp;Mr(d,i,t,u),En(e,!0);const f=zn(e);0;const m=e.subTree;e.subTree=f,g(m,f,p(m.el),K(m),e,s,a),t.el=f.el,null===h&amp;&amp;Yn(e,f.el),r&amp;&amp;Sn(r,s),(d=t.props&amp;&amp;t.props.onVnodeUpdated)&amp;&amp;Sn((()=&gt;Mr(d,i,t,u)),s)}else{let r;const{el:l,props:c}=t,{bm:u,m:d,parent:p,root:h,type:f}=e,m=Me(t);if(En(e,!1),u&amp;&amp;(0,o.DY)(u),!m&amp;&amp;(r=c&amp;&amp;c.onVnodeBeforeMount)&amp;&amp;Mr(r,p,t),En(e,!0),l&amp;&amp;Z){const t=()=&gt;{e.subTree=zn(e),Z(l,e.subTree,e,s,null)};m&amp;&amp;f.__asyncHydrate?f.__asyncHydrate(l,e,t):t()}else{h.ce&amp;&amp;h.ce._injectChildStyle(f);const r=e.subTree=zn(e);0,g(null,r,n,i,e,s,a),t.el=r.el}if(d&amp;&amp;Sn(d,s),!m&amp;&amp;(r=c&amp;&amp;c.onVnodeMounted)){const e=t;Sn((()=&gt;Mr(r,p,e)),s)}(256&amp;t.shapeFlag||p&amp;&amp;Me(p.vnode)&amp;&amp;256&amp;p.vnode.shapeFlag)&amp;&amp;e.a&amp;&amp;Sn(e.a,s),e.isMounted=!0,t=n=i=null}};e.scope.on();const u=e.effect=new r.X2(c);e.scope.off();const d=e.update=u.run.bind(u),h=e.job=u.runIfDirty.bind(u);h.i=e,h.id=e.uid,u.scheduler=()=&gt;A(h),En(e,!0),d()},M=(e,t,n)=&gt;{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:s,attrs:a,vnode:{patchFlag:l}}=e,c=(0,r.ux)(s),[u]=e.propsOptions;let d=!1;if(!(i||l&gt;0)||16&amp;l){let r;ln(e,t,s,a)&amp;&amp;(d=!0);for(const i in c)t&amp;&amp;((0,o.$3)(t,i)||(r=(0,o.Tg)(i))!==i&amp;&amp;(0,o.$3)(t,r))||(u?!n||void 0===n[i]&amp;&amp;void 0===n[r]||(s[i]=cn(u,c,i,void 0,e,!0)):delete s[i]);if(a!==c)for(const e in a)t&amp;&amp;(0,o.$3)(t,e)||(delete a[e],d=!0)}else if(8&amp;l){const n=e.vnode.dynamicProps;for(let r=0;r&lt;n.length;r++){let i=n[r];if(Un(e.emitsOptions,i))continue;const l=t[i];if(u)if((0,o.$3)(a,i))l!==a[i]&amp;&amp;(a[i]=l,d=!0);else{const t=(0,o.PT)(i);s[t]=cn(u,c,t,l,e,!1)}else l!==a[i]&amp;&amp;(a[i]=l,d=!0)}}d&amp;&amp;(0,r.hZ)(e.attrs,"set","")}(e,t.props,i,n),wn(e,t.children,n),(0,r.C4)(),x(e),(0,r.bl)()},F=(e,t,n,r,o,i,s,a,l=!1)=&gt;{const c=e&amp;&amp;e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:f}=t;if(h&gt;0){if(128&amp;h)return void j(c,p,n,r,o,i,s,a,l);if(256&amp;h)return void H(c,p,n,r,o,i,s,a,l)}8&amp;f?(16&amp;u&amp;&amp;X(c,o,i),p!==c&amp;&amp;d(n,p)):16&amp;u?16&amp;f?j(c,p,n,r,o,i,s,a,l):X(c,o,i,!0):(8&amp;u&amp;&amp;d(n,""),16&amp;f&amp;&amp;T(p,n,r,o,i,s,a,l))},H=(e,t,n,r,i,s,a,l,c)=&gt;{e=e||o.Oj,t=t||o.Oj;const u=e.length,d=t.length,p=Math.min(u,d);let h;for(h=0;h&lt;p;h++){const r=t[h]=c?Nr(t[h]):Pr(t[h]);g(e[h],r,n,null,i,s,a,l,c)}u&gt;d?X(e,i,s,!0,!1,p):T(t,n,r,i,s,a,l,c,p)},j=(e,t,n,r,i,s,a,l,c)=&gt;{let u=0;const d=t.length;let p=e.length-1,h=d-1;for(;u&lt;=p&amp;&amp;u&lt;=h;){const r=e[u],o=t[u]=c?Nr(t[u]):Pr(t[u]);if(!wr(r,o))break;g(r,o,n,null,i,s,a,l,c),u++}for(;u&lt;=p&amp;&amp;u&lt;=h;){const r=e[p],o=t[h]=c?Nr(t[h]):Pr(t[h]);if(!wr(r,o))break;g(r,o,n,null,i,s,a,l,c),p--,h--}if(u&gt;p){if(u&lt;=h){const e=h+1,o=e&lt;d?t[e].el:r;for(;u&lt;=h;)g(null,t[u]=c?Nr(t[u]):Pr(t[u]),n,o,i,s,a,l,c),u++}}else if(u&gt;h)for(;u&lt;=p;)B(e[u],i,s,!0),u++;else{const f=u,m=u,v=new Map;for(u=m;u&lt;=h;u++){const e=t[u]=c?Nr(t[u]):Pr(t[u]);null!=e.key&amp;&amp;v.set(e.key,u)}let y,b=0;const w=h-m+1;let S=!1,_=0;const k=new Array(w);for(u=0;u&lt;w;u++)k[u]=0;for(u=f;u&lt;=p;u++){const r=e[u];if(b&gt;=w){B(r,i,s,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(y=m;y&lt;=h;y++)if(0===k[y-m]&amp;&amp;wr(r,t[y])){o=y;break}void 0===o?B(r,i,s,!0):(k[o-m]=u+1,o&gt;=_?_=o:S=!0,g(r,t[o],n,null,i,s,a,l,c),b++)}const A=S?function(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r&lt;l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]&lt;l){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i&lt;s;)a=i+s&gt;&gt;1,e[n[a]]&lt;l?i=a+1:s=a;l&lt;e[n[i]]&amp;&amp;(i&gt;0&amp;&amp;(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- &gt;0;)n[i]=s,s=t[s];return n}(k):o.Oj;for(y=A.length-1,u=w-1;u&gt;=0;u--){const e=m+u,o=t[e],p=e+1&lt;d?t[e+1].el:r;0===k[u]?g(null,o,n,p,i,s,a,l,c):S&amp;&amp;(y&lt;0||u!==A[y]?G(o,n,p,2):y--)}}},G=(e,t,r,o,i=null)=&gt;{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&amp;u)return void G(e.component.subTree,t,r,o);if(128&amp;u)return void e.suspense.move(t,r,o);if(64&amp;u)return void a.move(e,t,r,Q);if(a===ir){n(s,t,r);for(let e=0;e&lt;c.length;e++)G(c[e],t,r,o);return void n(e.anchor,t,r)}if(a===lr)return void(({el:e,anchor:t},r,o)=&gt;{let i;for(;e&amp;&amp;e!==t;)i=h(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);if(2!==o&amp;&amp;1&amp;u&amp;&amp;l)if(0===o)l.beforeEnter(s),n(s,t,r),Sn((()=&gt;l.enter(s)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,a=()=&gt;n(s,t,r),c=()=&gt;{e(s,(()=&gt;{a(),i&amp;&amp;i()}))};o?o(s,a,c):c()}else n(s,t,r)},B=(e,t,n,r=!1,o=!1)=&gt;{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e;if(-2===d&amp;&amp;(o=!1),null!=a&amp;&amp;ve(a,null,n,e,!0),null!=h&amp;&amp;(t.renderCache[h]=void 0),256&amp;u)return void t.ctx.deactivate(e);const f=1&amp;u&amp;&amp;p,m=!Me(e);let g;if(m&amp;&amp;(g=s&amp;&amp;s.onVnodeBeforeUnmount)&amp;&amp;Mr(g,t,e),6&amp;u)V(e.component,n,r);else{if(128&amp;u)return void e.suspense.unmount(n,r);f&amp;&amp;$(e,null,t,"beforeUnmount"),64&amp;u?e.type.remove(e,t,n,Q,r):c&amp;&amp;!c.hasOnce&amp;&amp;(i!==ir||d&gt;0&amp;&amp;64&amp;d)?X(c,t,n,!1,!0):(i===ir&amp;&amp;384&amp;d||!o&amp;&amp;16&amp;u)&amp;&amp;X(l,t,n),r&amp;&amp;U(e)}(m&amp;&amp;(g=s&amp;&amp;s.onVnodeUnmounted)||f)&amp;&amp;Sn((()=&gt;{g&amp;&amp;Mr(g,t,e),f&amp;&amp;$(e,null,t,"unmounted")}),n)},U=e=&gt;{const{type:t,el:n,anchor:r,transition:o}=e;if(t===ir)return void z(n,r);if(t===lr)return void w(e);const s=()=&gt;{i(n),o&amp;&amp;!o.persisted&amp;&amp;o.afterLeave&amp;&amp;o.afterLeave()};if(1&amp;e.shapeFlag&amp;&amp;o&amp;&amp;!o.persisted){const{leave:t,delayLeave:r}=o,i=()=&gt;t(n,s);r?r(e.el,s,i):i()}else s()},z=(e,t)=&gt;{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},V=(e,t,n)=&gt;{const{bum:r,scope:i,job:s,subTree:a,um:l,m:c,a:u}=e;In(c),In(u),r&amp;&amp;(0,o.DY)(r),i.stop(),s&amp;&amp;(s.flags|=8,B(a,e,t,n)),l&amp;&amp;Sn(l,t),Sn((()=&gt;{e.isUnmounted=!0}),t),t&amp;&amp;t.pendingBranch&amp;&amp;!t.isUnmounted&amp;&amp;e.asyncDep&amp;&amp;!e.asyncResolved&amp;&amp;e.suspenseId===t.pendingId&amp;&amp;(t.deps--,0===t.deps&amp;&amp;t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=&gt;{for(let s=i;s&lt;e.length;s++)B(e[s],t,n,r,o)},K=e=&gt;{if(6&amp;e.shapeFlag)return K(e.component.subTree);if(128&amp;e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&amp;&amp;t[W];return n?h(n):t};let q=!1;const Y=(e,t,n)=&gt;{null==e?t._vnode&amp;&amp;B(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),t._vnode=e,q||(q=!0,x(),C(),q=!1)},Q={p:g,um:B,m:G,r:U,mt:N,mc:T,pc:F,pbc:O,n:K,o:e};let J,Z;return t&amp;&amp;([J,Z]=t(Q)),{render:Y,hydrate:J,createApp:Zt(Y,J)}}function Tn({type:e,props:t},n){return"svg"===n&amp;&amp;"foreignObject"===e||"mathml"===n&amp;&amp;"annotation-xml"===e&amp;&amp;t&amp;&amp;t.encoding&amp;&amp;t.encoding.includes("html")?void 0:n}function En({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&amp;=-33,t.flags&amp;=-5)}function xn(e,t){return(!e||e&amp;&amp;!e.pendingBranch)&amp;&amp;t&amp;&amp;!t.persisted}function Cn(e,t,n=!1){const r=e.children,i=t.children;if((0,o.cy)(r)&amp;&amp;(0,o.cy)(i))for(let e=0;e&lt;r.length;e++){const t=r[e];let o=i[e];1&amp;o.shapeFlag&amp;&amp;!o.dynamicChildren&amp;&amp;((o.patchFlag&lt;=0||32===o.patchFlag)&amp;&amp;(o=i[e]=Nr(i[e]),o.el=t.el),n||-2===o.patchFlag||Cn(t,o)),o.type===sr&amp;&amp;(o.el=t.el)}}function On(e){const t=e.subTree.component;if(t)return t.asyncDep&amp;&amp;!t.asyncResolved?t:On(t)}function In(e){if(e)for(let t=0;t&lt;e.length;t++)e[t].flags|=8}const Ln=Symbol.for("v-scx"),Pn=()=&gt;{{const e=nn(Ln);return e}};function Nn(e,t){return Fn(e,null,t)}function Dn(e,t){return Fn(e,null,{flush:"post"})}function Rn(e,t){return Fn(e,null,{flush:"sync"})}function Mn(e,t,n){return Fn(e,t,n)}function Fn(e,t,n=o.MZ){const{immediate:i,deep:s,flush:a,once:l}=n;const c=(0,o.X$)({},n);const u=t&amp;&amp;i||!t&amp;&amp;"post"!==a;let d;if(qr)if("sync"===a){const e=Pn();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=&gt;{};return e.stop=o.tE,e.resume=o.tE,e.pause=o.tE,e}const p=Gr;c.call=(e,t,n)=&gt;f(e,p,t,n);let h=!1;"post"===a?c.scheduler=e=&gt;{Sn(e,p&amp;&amp;p.suspense)}:"sync"!==a&amp;&amp;(h=!0,c.scheduler=(e,t)=&gt;{t?e():A(e)}),c.augmentJob=e=&gt;{t&amp;&amp;(e.flags|=4),h&amp;&amp;(e.flags|=2,p&amp;&amp;(e.id=p.uid,e.i=p))};const m=(0,r.wB)(e,t,c);return qr&amp;&amp;(d?d.push(m):u&amp;&amp;m()),m}function Hn(e,t,n){const r=this.proxy,i=(0,o.Kg)(e)?e.includes(".")?jn(r,e):()=&gt;r[e]:e.bind(r,r);let s;(0,o.Tn)(t)?s=t:(s=t.handler,n=t);const a=Ur(this),l=Fn(i,s.bind(r),n);return a(),l}function jn(e,t){const n=t.split(".");return()=&gt;{let t=e;for(let e=0;e&lt;n.length&amp;&amp;t;e++)t=t[n[e]];return t}}function Gn(e,t,n=o.MZ){const i=Br();const s=(0,o.PT)(t);const a=(0,o.Tg)(t),l=Bn(e,s),c=(0,r.rY)(((r,l)=&gt;{let c,u,d=o.MZ;return Rn((()=&gt;{const t=e[s];(0,o.$H)(c,t)&amp;&amp;(c=t,l())})),{get:()=&gt;(r(),n.get?n.get(c):c),set(e){const r=n.set?n.set(e):e;if(!((0,o.$H)(r,c)||d!==o.MZ&amp;&amp;(0,o.$H)(e,d)))return;const p=i.vnode.props;p&amp;&amp;(t in p||s in p||a in p)&amp;&amp;(`onUpdate:${t}`in p||`onUpdate:${s}`in p||`onUpdate:${a}`in p)||(c=e,l()),i.emit(`update:${t}`,r),(0,o.$H)(e,r)&amp;&amp;(0,o.$H)(e,d)&amp;&amp;!(0,o.$H)(r,u)&amp;&amp;l(),d=e,u=r}}}));return c[Symbol.iterator]=()=&gt;{let e=0;return{next:()=&gt;e&lt;2?{value:e++?l||o.MZ:c,done:!1}:{done:!0}}},c}const Bn=(e,t)=&gt;"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${(0,o.PT)(t)}Modifiers`]||e[`${(0,o.Tg)(t)}Modifiers`];function $n(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.MZ;let i=n;const s=t.startsWith("update:"),a=s&amp;&amp;Bn(r,t.slice(7));let l;a&amp;&amp;(a.trim&amp;&amp;(i=n.map((e=&gt;(0,o.Kg)(e)?e.trim():e))),a.number&amp;&amp;(i=n.map(o.bB)));let c=r[l=(0,o.rU)(t)]||r[l=(0,o.rU)((0,o.PT)(t))];!c&amp;&amp;s&amp;&amp;(c=r[l=(0,o.rU)((0,o.Tg)(t))]),c&amp;&amp;f(c,e,6,i);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,f(u,e,6,i)}}function Wn(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let a={},l=!1;if(!(0,o.Tn)(e)){const r=e=&gt;{const n=Wn(e,t,!0);n&amp;&amp;(l=!0,(0,o.X$)(a,n))};!n&amp;&amp;t.mixins.length&amp;&amp;t.mixins.forEach(r),e.extends&amp;&amp;r(e.extends),e.mixins&amp;&amp;e.mixins.forEach(r)}return s||l?((0,o.cy)(s)?s.forEach((e=&gt;a[e]=null)):(0,o.X$)(a,s),(0,o.Gv)(e)&amp;&amp;r.set(e,a),a):((0,o.Gv)(e)&amp;&amp;r.set(e,null),null)}function Un(e,t){return!(!e||!(0,o.Mp)(t))&amp;&amp;(t=t.slice(2).replace(/Once$/,""),(0,o.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,o.$3)(e,(0,o.Tg)(t))||(0,o.$3)(e,t))}function zn(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,props:p,data:h,setupState:f,ctx:g,inheritAttrs:v}=e,y=M(e);let b,w;try{if(4&amp;n.shapeFlag){const e=i||r,t=e;b=Pr(u.call(t,e,d,p,f,h,g)),w=l}else{const e=t;0,b=Pr(e.length&gt;1?e(p,{attrs:l,slots:a,emit:c}):e(p,null)),w=t.props?l:Xn(l)}}catch(t){cr.length=0,m(t,e,1),b=Tr(ar)}let S=b;if(w&amp;&amp;!1!==v){const e=Object.keys(w),{shapeFlag:t}=S;e.length&amp;&amp;7&amp;t&amp;&amp;(s&amp;&amp;e.some(o.CP)&amp;&amp;(w=Kn(w,s)),S=Cr(S,w,!1,!0))}return n.dirs&amp;&amp;(S=Cr(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&amp;&amp;de(S,n.transition),b=S,M(y),b}function Vn(e,t=!0){let n;for(let t=0;t&lt;e.length;t++){const r=e[t];if(!br(r))return;if(r.type!==ar||"v-if"===r.children){if(n)return;n=r}}return n}const Xn=e=&gt;{let t;for(const n in e)("class"===n||"style"===n||(0,o.Mp)(n))&amp;&amp;((t||(t={}))[n]=e[n]);return t},Kn=(e,t)=&gt;{const n={};for(const r in e)(0,o.CP)(r)&amp;&amp;r.slice(9)in t||(n[r]=e[r]);return n};function qn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o&lt;r.length;o++){const i=r[o];if(t[i]!==e[i]&amp;&amp;!Un(n,i))return!0}return!1}function Yn({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&amp;&amp;r.suspense.activeBranch===e&amp;&amp;(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const Qn=e=&gt;e.__isSuspense;let Jn=0;const Zn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(null==e)!function(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=tr(e,o,r,t,d,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,d,null,r,p,i,s),p.deps&gt;0?(er(e,"onPending"),er(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),or(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,o,i,s,a,l,c);else{if(i&amp;&amp;i.deps&gt;0&amp;&amp;!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:g,isHydrating:v}=d;if(m)d.pendingBranch=p,wr(p,m)?(l(m,p,d.hiddenContainer,null,o,d,i,s,a),d.deps&lt;=0?d.resolve():g&amp;&amp;(v||(l(f,h,n,r,o,null,i,s,a),or(d,h)))):(d.pendingId=Jn++,v?(d.isHydrating=!1,d.activeBranch=m):c(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(l(null,p,d.hiddenContainer,null,o,d,i,s,a),d.deps&lt;=0?d.resolve():(l(f,h,n,r,o,null,i,s,a),or(d,h))):f&amp;&amp;wr(p,f)?(l(f,p,n,r,o,d,i,s,a),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,o,d,i,s,a),d.deps&lt;=0&amp;&amp;d.resolve()));else if(f&amp;&amp;wr(p,f))l(f,p,n,r,o,d,i,s,a),or(d,p);else if(er(t,"onPending"),d.pendingBranch=p,512&amp;p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=Jn++,l(null,p,d.hiddenContainer,null,o,d,i,s,a),d.deps&lt;=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e&gt;0?setTimeout((()=&gt;{d.pendingId===t&amp;&amp;d.fallback(h)}),e):0===e&amp;&amp;d.fallback(h)}}(e,t,n,r,o,s,a,l,c)}},hydrate:function(e,t,n,r,o,i,s,a,l){const c=t.suspense=tr(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&amp;&amp;c.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&amp;t;e.ssContent=nr(r?n.default:n),e.ssFallback=r?nr(n.fallback):Tr(ar)}};function er(e,t){const n=e.props&amp;&amp;e.props[t];(0,o.Tn)(n)&amp;&amp;n()}function tr(e,t,n,r,i,s,a,l,c,u,d=!1){const{p,m:h,um:f,n:g,o:{parentNode:v,remove:y}}=u;let b;const w=function(e){const t=e.props&amp;&amp;e.props.suspensible;return null!=t&amp;&amp;!1!==t}(e);w&amp;&amp;t&amp;&amp;t.pendingBranch&amp;&amp;(b=t.pendingId,t.deps++);const S=e.props?(0,o.Ro)(e.props.timeout):void 0;const _=s,k={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:Jn++,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:i,pendingId:a,effects:l,parentComponent:c,container:u}=k;let d=!1;k.isHydrating?k.isHydrating=!1:e||(d=o&amp;&amp;i.transition&amp;&amp;"out-in"===i.transition.mode,d&amp;&amp;(o.transition.afterLeave=()=&gt;{a===k.pendingId&amp;&amp;(h(i,u,s===_?g(o):s,0),E(l))}),o&amp;&amp;(v(o.el)===u&amp;&amp;(s=g(o)),f(o,c,k,!0)),d||h(i,u,s,0)),or(k,i),k.pendingBranch=null,k.isInFallback=!1;let p=k.parent,m=!1;for(;p;){if(p.pendingBranch){p.effects.push(...l),m=!0;break}p=p.parent}m||d||E(l),k.effects=[],w&amp;&amp;t&amp;&amp;t.pendingBranch&amp;&amp;b===t.pendingId&amp;&amp;(t.deps--,0!==t.deps||n||t.resolve()),er(r,"onResolve")},fallback(e){if(!k.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=k;er(t,"onFallback");const s=g(n),a=()=&gt;{k.isInFallback&amp;&amp;(p(null,e,o,s,r,null,i,l,c),or(k,e))},u=e.transition&amp;&amp;"out-in"===e.transition.mode;u&amp;&amp;(n.transition.afterLeave=a),k.isInFallback=!0,f(n,r,null,!0),u||a()},move(e,t,n){k.activeBranch&amp;&amp;h(k.activeBranch,e,t,n),k.container=e},next:()=&gt;k.activeBranch&amp;&amp;g(k.activeBranch),registerDep(e,t,n){const r=!!k.pendingBranch;r&amp;&amp;k.deps++;const o=e.vnode.el;e.asyncDep.catch((t=&gt;{m(t,e,0)})).then((i=&gt;{if(e.isUnmounted||k.isUnmounted||k.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Qr(e,i,!1),o&amp;&amp;(s.el=o);const l=!o&amp;&amp;e.subTree.el;t(e,s,v(o||e.subTree.el),o?null:g(e.subTree),k,a,n),l&amp;&amp;y(l),Yn(e,s.el),r&amp;&amp;0==--k.deps&amp;&amp;k.resolve()}))},unmount(e,t){k.isUnmounted=!0,k.activeBranch&amp;&amp;f(k.activeBranch,n,e,t),k.pendingBranch&amp;&amp;f(k.pendingBranch,n,e,t)}};return k}function nr(e){let t;if((0,o.Tn)(e)){const n=fr&amp;&amp;e._c;n&amp;&amp;(e._d=!1,dr()),e=e(),n&amp;&amp;(e._d=!0,t=ur,pr())}if((0,o.cy)(e)){const t=Vn(e);0,e=t}return e=Pr(e),t&amp;&amp;!e.dynamicChildren&amp;&amp;(e.dynamicChildren=t.filter((t=&gt;t!==e))),e}function rr(e,t){t&amp;&amp;t.pendingBranch?(0,o.cy)(e)?t.effects.push(...e):t.effects.push(e):E(e)}function or(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&amp;&amp;t.component;)o=(t=t.component.subTree).el;n.el=o,r&amp;&amp;r.subTree===n&amp;&amp;(r.vnode.el=o,Yn(r,o))}const ir=Symbol.for("v-fgt"),sr=Symbol.for("v-txt"),ar=Symbol.for("v-cmt"),lr=Symbol.for("v-stc"),cr=[];let ur=null;function dr(e=!1){cr.push(ur=e?null:[])}function pr(){cr.pop(),ur=cr[cr.length-1]||null}let hr,fr=1;function mr(e){fr+=e,e&lt;0&amp;&amp;ur&amp;&amp;(ur.hasOnce=!0)}function gr(e){return e.dynamicChildren=fr&gt;0?ur||o.Oj:null,pr(),fr&gt;0&amp;&amp;ur&amp;&amp;ur.push(e),e}function vr(e,t,n,r,o,i){return gr(Ar(e,t,n,r,o,i,!0))}function yr(e,t,n,r,o){return gr(Tr(e,t,n,r,o,!0))}function br(e){return!!e&amp;&amp;!0===e.__v_isVNode}function wr(e,t){return e.type===t.type&amp;&amp;e.key===t.key}function Sr(e){hr=e}const _r=({key:e})=&gt;null!=e?e:null,kr=({ref:e,ref_key:t,ref_for:n})=&gt;("number"==typeof e&amp;&amp;(e=""+e),null!=e?(0,o.Kg)(e)||(0,r.i9)(e)||(0,o.Tn)(e)?{i:D,r:e,k:t,f:!!n}:e:null);function Ar(e,t=null,n=null,r=0,i=null,s=(e===ir?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&amp;&amp;_r(t),ref:t&amp;&amp;kr(t),scopeId:R,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:D};return l?(Dr(c,n),128&amp;s&amp;&amp;e.normalize(c)):n&amp;&amp;(c.shapeFlag|=(0,o.Kg)(n)?8:16),fr&gt;0&amp;&amp;!a&amp;&amp;ur&amp;&amp;(c.patchFlag&gt;0||6&amp;s)&amp;&amp;32!==c.patchFlag&amp;&amp;ur.push(c),c}const Tr=Er;function Er(e,t=null,n=null,i=0,s=null,a=!1){if(e&amp;&amp;e!==ct||(e=ar),br(e)){const r=Cr(e,t,!0);return n&amp;&amp;Dr(r,n),fr&gt;0&amp;&amp;!a&amp;&amp;ur&amp;&amp;(6&amp;r.shapeFlag?ur[ur.indexOf(e)]=r:ur.push(r)),r.patchFlag=-2,r}if(lo(e)&amp;&amp;(e=e.__vccOpts),t){t=xr(t);let{class:e,style:n}=t;e&amp;&amp;!(0,o.Kg)(e)&amp;&amp;(t.class=(0,o.C4)(e)),(0,o.Gv)(n)&amp;&amp;((0,r.ju)(n)&amp;&amp;!(0,o.cy)(n)&amp;&amp;(n=(0,o.X$)({},n)),t.style=(0,o.Tr)(n))}return Ar(e,t,n,i,s,(0,o.Kg)(e)?1:Qn(e)?128:U(e)?64:(0,o.Gv)(e)?4:(0,o.Tn)(e)?2:0,a,!0)}function xr(e){return e?(0,r.ju)(e)||an(e)?(0,o.X$)({},e):e:null}function Cr(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:a,children:l,transition:c}=e,u=t?Rr(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&amp;&amp;_r(u),ref:t&amp;&amp;t.ref?n&amp;&amp;s?(0,o.cy)(s)?s.concat(kr(t)):[s,kr(t)]:kr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&amp;&amp;e.type!==ir?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&amp;&amp;Cr(e.ssContent),ssFallback:e.ssFallback&amp;&amp;Cr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&amp;&amp;r&amp;&amp;de(d,c.clone(d)),d}function Or(e=" ",t=0){return Tr(sr,null,e,t)}function Ir(e,t){const n=Tr(lr,null,e);return n.staticCount=t,n}function Lr(e="",t=!1){return t?(dr(),yr(ar,null,e)):Tr(ar,null,e)}function Pr(e){return null==e||"boolean"==typeof e?Tr(ar):(0,o.cy)(e)?Tr(ir,null,e.slice()):br(e)?Nr(e):Tr(sr,null,String(e))}function Nr(e){return null===e.el&amp;&amp;-1!==e.patchFlag||e.memo?e:Cr(e)}function Dr(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.cy)(t))n=16;else if("object"==typeof t){if(65&amp;r){const n=t.default;return void(n&amp;&amp;(n._c&amp;&amp;(n._d=!1),Dr(e,n()),n._c&amp;&amp;(n._d=!0)))}{n=32;const r=t._;r||an(t)?3===r&amp;&amp;D&amp;&amp;(1===D.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=D}}else(0,o.Tn)(t)?(t={default:t,_ctx:D},n=32):(t=String(t),64&amp;r?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rr(...e){const t={};for(let n=0;n&lt;e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&amp;&amp;(t.class=(0,o.C4)([t.class,r.class]));else if("style"===e)t.style=(0,o.Tr)([t.style,r.style]);else if((0,o.Mp)(e)){const n=t[e],i=r[e];!i||n===i||(0,o.cy)(n)&amp;&amp;n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&amp;&amp;(t[e]=r[e])}return t}function Mr(e,t,n,r=null){f(e,t,7,[n,r])}const Fr=Qt();let Hr=0;function jr(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||Fr,a={uid:Hr++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new r.yC(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:dn(i,s),emitsOptions:Wn(i,s),emit:null,emitted:null,propsDefaults:o.MZ,inheritAttrs:i.inheritAttrs,ctx:o.MZ,data:o.MZ,props:o.MZ,attrs:o.MZ,slots:o.MZ,refs:o.MZ,setupState:o.MZ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=$n.bind(null,a),e.ce&amp;&amp;e.ce(a),a}let Gr=null;const Br=()=&gt;Gr||D;let $r,Wr;{const e=(0,o.We)(),t=(t,n)=&gt;{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=&gt;{r.length&gt;1?r.forEach((t=&gt;t(e))):r[0](e)}};$r=t("__VUE_INSTANCE_SETTERS__",(e=&gt;Gr=e)),Wr=t("__VUE_SSR_SETTERS__",(e=&gt;qr=e))}const Ur=e=&gt;{const t=Gr;return $r(e),e.scope.on(),()=&gt;{e.scope.off(),$r(t)}},zr=()=&gt;{Gr&amp;&amp;Gr.scope.off(),$r(null)};function Vr(e){return 4&amp;e.vnode.shapeFlag}let Xr,Kr,qr=!1;function Yr(e,t=!1,n=!1){t&amp;&amp;Wr(t);const{props:i,children:s}=e.vnode,a=Vr(e);!function(e,t,n,o=!1){const i={},s=sn();e.propsDefaults=Object.create(null),ln(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:(0,r.Gc)(i):e.type.props?e.props=i:e.props=s,e.attrs=s}(e,i,a,t),bn(e,s,n);const l=a?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_t),!1;const{setup:i}=n;if(i){(0,r.C4)();const n=e.setupContext=i.length&gt;1?no(e):null,s=Ur(e),a=h(i,e,0,[e.props,n]),l=(0,o.yL)(a);if((0,r.bl)(),s(),!l&amp;&amp;!e.sp||Me(e)||me(e),l){if(a.then(zr,zr),t)return a.then((n=&gt;{Qr(e,n,t)})).catch((t=&gt;{m(t,e,0)}));e.asyncDep=a}else Qr(e,a,t)}else eo(e,t)}(e,t):void 0;return t&amp;&amp;Wr(!1),l}function Qr(e,t,n){(0,o.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Gv)(t)&amp;&amp;(e.setupState=(0,r.Pr)(t)),eo(e,n)}function Jr(e){Xr=e,Kr=e=&gt;{e.render._rc&amp;&amp;(e.withProxy=new Proxy(e.ctx,kt))}}const Zr=()=&gt;!Xr;function eo(e,t,n){const i=e.type;if(!e.render){if(!t&amp;&amp;Xr&amp;&amp;!i.render){const t=i.template||Wt(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:a}=i,l=(0,o.X$)((0,o.X$)({isCustomElement:n,delimiters:s},r),a);i.render=Xr(t,l)}}e.render=i.render||o.tE,Kr&amp;&amp;Kr(e)}{const t=Ur(e);(0,r.C4)();try{Gt(e)}finally{(0,r.bl)(),t()}}}const to={get:(e,t)=&gt;((0,r.u4)(e,"get",""),e[t])};function no(e){const t=t=&gt;{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,to),slots:e.slots,emit:e.emit,expose:t}}function ro(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy((0,r.Pr)((0,r.IG)(e.exposed)),{get:(t,n)=&gt;n in t?t[n]:n in wt?wt[n](e):void 0,has:(e,t)=&gt;t in e||t in wt})):e.proxy}const oo=/(?:^|[-_])(\w)/g,io=e=&gt;e.replace(oo,(e=&gt;e.toUpperCase())).replace(/[-_]/g,"");function so(e,t=!0){return(0,o.Tn)(e)?e.displayName||e.name:e.name||t&amp;&amp;e.__name}function ao(e,t,n=!1){let r=so(t);if(!r&amp;&amp;t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&amp;&amp;(r=e[1])}if(!r&amp;&amp;e&amp;&amp;e.parent){const n=e=&gt;{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?io(r):n?"App":"Anonymous"}function lo(e){return(0,o.Tn)(e)&amp;&amp;"__vccOpts"in e}const co=(e,t)=&gt;(0,r.EW)(e,t,qr);function uo(e,t,n){const r=arguments.length;return 2===r?(0,o.Gv)(t)&amp;&amp;!(0,o.cy)(t)?br(t)?Tr(e,null,[t]):Tr(e,t):Tr(e,null,t):(r&gt;3?n=Array.prototype.slice.call(arguments,2):3===r&amp;&amp;br(n)&amp;&amp;(n=[n]),Tr(e,t,n))}function po(){return void 0}function ho(e,t,n,r){const o=n[r];if(o&amp;&amp;fo(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function fo(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e&lt;n.length;e++)if((0,o.$H)(n[e],t[e]))return!1;return fr&gt;0&amp;&amp;ur&amp;&amp;ur.push(e),!0}const mo="3.5.12",go=o.tE,vo=p,yo=L,bo=function e(t,n){var r,o;if(L=t,L)L.enabled=!0,P.forEach((({event:e,args:t})=&gt;L.emit(e,...t))),P=[];else if("undefined"!=typeof window&amp;&amp;window.HTMLElement&amp;&amp;!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=&gt;{e(t,n)})),setTimeout((()=&gt;{L||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,N=!0,P=[])}),3e3)}else N=!0,P=[]},wo={createComponentInstance:jr,setupComponent:Yr,renderComponentRoot:zn,setCurrentRenderingInstance:M,isVNode:br,normalizeVNode:Pr,getComponentPublicInstance:ro,ensureValidVNode:vt,pushWarningContext:function(e){i.push(e)},popWarningContext:function(){i.pop()}},So=null,_o=null,ko=null},53751:(e,t,n)=&gt;{"use strict";n.r(t),n.d(t,{BaseTransition:()=&gt;r.pR,BaseTransitionPropsValidators:()=&gt;r.QP,Comment:()=&gt;r.Mw,DeprecationTypes:()=&gt;r.aT,EffectScope:()=&gt;r.yC,ErrorCodes:()=&gt;r.tG,ErrorTypeStrings:()=&gt;r.ZQ,Fragment:()=&gt;r.FK,KeepAlive:()=&gt;r.PR,ReactiveEffect:()=&gt;r.X2,Static:()=&gt;r.jC,Suspense:()=&gt;r.tY,Teleport:()=&gt;r.Im,Text:()=&gt;r.EY,TrackOpTypes:()=&gt;r.Ul,Transition:()=&gt;v,TransitionGroup:()=&gt;he,TriggerOpTypes:()=&gt;r.PP,VueElement:()=&gt;ie,assertNumber:()=&gt;r.U4,callWithAsyncErrorHandling:()=&gt;r.qL,callWithErrorHandling:()=&gt;r.gh,camelize:()=&gt;r.PT,capitalize:()=&gt;r.ZH,cloneVNode:()=&gt;r.E3,compatUtils:()=&gt;r.Y5,computed:()=&gt;r.EW,createApp:()=&gt;Ue,createBlock:()=&gt;r.Wv,createCommentVNode:()=&gt;r.Q3,createElementBlock:()=&gt;r.CE,createElementVNode:()=&gt;r.Lk,createHydrationRenderer:()=&gt;r.ci,createPropsRestProxy:()=&gt;r.bn,createRenderer:()=&gt;r.K9,createSSRApp:()=&gt;ze,createSlots:()=&gt;r.eX,createStaticVNode:()=&gt;r.Fv,createTextVNode:()=&gt;r.eW,createVNode:()=&gt;r.bF,customRef:()=&gt;r.rY,defineAsyncComponent:()=&gt;r.$V,defineComponent:()=&gt;r.pM,defineCustomElement:()=&gt;ne,defineEmits:()=&gt;r.qP,defineExpose:()=&gt;r.wk,defineModel:()=&gt;r.NP,defineOptions:()=&gt;r.GM,defineProps:()=&gt;r.Yj,defineSSRCustomElement:()=&gt;re,defineSlots:()=&gt;r.Lu,devtools:()=&gt;r.lt,effect:()=&gt;r.QZ,effectScope:()=&gt;r.uY,getCurrentInstance:()=&gt;r.nI,getCurrentScope:()=&gt;r.o5,getCurrentWatcher:()=&gt;r.Yv,getTransitionRawChildren:()=&gt;r.Df,guardReactiveProps:()=&gt;r.Ng,h:()=&gt;r.h,handleError:()=&gt;r.H4,hasInjectionContext:()=&gt;r.PS,hydrate:()=&gt;We,hydrateOnIdle:()=&gt;r.rU,hydrateOnInteraction:()=&gt;r.Tq,hydrateOnMediaQuery:()=&gt;r.dA,hydrateOnVisible:()=&gt;r.Pn,initCustomFormatter:()=&gt;r.y$,initDirectivesForSSR:()=&gt;qe,inject:()=&gt;r.WQ,isMemoSame:()=&gt;r.Bs,isProxy:()=&gt;r.ju,isReactive:()=&gt;r.g8,isReadonly:()=&gt;r.Tm,isRef:()=&gt;r.i9,isRuntimeOnly:()=&gt;r.wX,isShallow:()=&gt;r.fE,isVNode:()=&gt;r.vv,markRaw:()=&gt;r.IG,mergeDefaults:()=&gt;r.HF,mergeModels:()=&gt;r.zz,mergeProps:()=&gt;r.v6,nextTick:()=&gt;r.dY,normalizeClass:()=&gt;r.C4,normalizeProps:()=&gt;r._B,normalizeStyle:()=&gt;r.Tr,onActivated:()=&gt;r.n,onBeforeMount:()=&gt;r.KC,onBeforeUnmount:()=&gt;r.xo,onBeforeUpdate:()=&gt;r.Ic,onDeactivated:()=&gt;r.Y4,onErrorCaptured:()=&gt;r.qG,onMounted:()=&gt;r.sV,onRenderTracked:()=&gt;r.qR,onRenderTriggered:()=&gt;r.bj,onScopeDispose:()=&gt;r.jr,onServerPrefetch:()=&gt;r.SS,onUnmounted:()=&gt;r.hi,onUpdated:()=&gt;r.$u,onWatcherCleanup:()=&gt;r.ch,openBlock:()=&gt;r.uX,popScopeId:()=&gt;r.jt,provide:()=&gt;r.Gt,proxyRefs:()=&gt;r.Pr,pushScopeId:()=&gt;r.Qi,queuePostFlushCb:()=&gt;r.Dl,reactive:()=&gt;r.Kh,readonly:()=&gt;r.tB,ref:()=&gt;r.KR,registerRuntimeCompiler:()=&gt;r.tC,render:()=&gt;$e,renderList:()=&gt;r.pI,renderSlot:()=&gt;r.RG,resolveComponent:()=&gt;r.g2,resolveDirective:()=&gt;r.gN,resolveDynamicComponent:()=&gt;r.$y,resolveFilter:()=&gt;r.LJ,resolveTransitionHooks:()=&gt;r.OW,setBlockTracking:()=&gt;r.Vq,setDevtoolsHook:()=&gt;r.iD,setTransitionHooks:()=&gt;r.MZ,shallowReactive:()=&gt;r.Gc,shallowReadonly:()=&gt;r.nD,shallowRef:()=&gt;r.IJ,ssrContextKey:()=&gt;r.Fw,ssrUtils:()=&gt;r.Gw,stop:()=&gt;r.ds,toDisplayString:()=&gt;r.v_,toHandlerKey:()=&gt;r.Kf,toHandlers:()=&gt;r.Tb,toRaw:()=&gt;r.ux,toRef:()=&gt;r.lW,toRefs:()=&gt;r.QW,toValue:()=&gt;r.BA,transformVNodeArgs:()=&gt;r.gW,triggerRef:()=&gt;r.mu,unref:()=&gt;r.R1,useAttrs:()=&gt;r.OA,useCssModule:()=&gt;le,useCssVars:()=&gt;M,useHost:()=&gt;se,useId:()=&gt;r.Bi,useModel:()=&gt;r.fn,useSSRContext:()=&gt;r.LM,useShadowRoot:()=&gt;ae,useSlots:()=&gt;r.Ht,useTemplateRef:()=&gt;r.rk,useTransitionState:()=&gt;r.Gy,vModelCheckbox:()=&gt;_e,vModelDynamic:()=&gt;Oe,vModelRadio:()=&gt;Ae,vModelSelect:()=&gt;Te,vModelText:()=&gt;Se,vShow:()=&gt;N,version:()=&gt;r.rE,warn:()=&gt;r.R8,watch:()=&gt;r.wB,watchEffect:()=&gt;r.nT,watchPostEffect:()=&gt;r.p9,watchSyncEffect:()=&gt;r.U_,withAsyncContext:()=&gt;r.E,withCtx:()=&gt;r.k6,withDefaults:()=&gt;r.rO,withDirectives:()=&gt;r.bo,withKeys:()=&gt;Me,withMemo:()=&gt;r.bU,withModifiers:()=&gt;De,withScopeId:()=&gt;r.YY});var r=n(20641),o=n(90033),i=n(50953);let s;const a="undefined"!=typeof window&amp;&amp;window.trustedTypes;if(a)try{s=a.createPolicy("vue",{createHTML:e=&gt;e})}catch(e){}const l=s?e=&gt;s.createHTML(e):e=&gt;e,c="undefined"!=typeof document?document:null,u=c&amp;&amp;c.createElement("template"),d={insert:(e,t,n)=&gt;{t.insertBefore(e,n||null)},remove:e=&gt;{const t=e.parentNode;t&amp;&amp;t.removeChild(e)},createElement:(e,t,n,r)=&gt;{const o="svg"===t?c.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?c.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?c.createElement(e,{is:n}):c.createElement(e);return"select"===e&amp;&amp;r&amp;&amp;null!=r.multiple&amp;&amp;o.setAttribute("multiple",r.multiple),o},createText:e=&gt;c.createTextNode(e),createComment:e=&gt;c.createComment(e),setText:(e,t)=&gt;{e.nodeValue=t},setElementText:(e,t)=&gt;{e.textContent=t},parentNode:e=&gt;e.parentNode,nextSibling:e=&gt;e.nextSibling,querySelector:e=&gt;c.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&amp;&amp;(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&amp;&amp;(o=o.nextSibling););else{u.innerHTML=l("svg"===r?`&lt;svg&gt;${e}&lt;/svg&gt;`:"mathml"===r?`&lt;math&gt;${e}&lt;/math&gt;`:e);const o=u.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},p="transition",h="animation",f=Symbol("_vtc"),m={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},g=(0,o.X$)({},r.QP,m),v=(e=&gt;(e.displayName="Transition",e.props=g,e))(((e,{slots:t})=&gt;(0,r.h)(r.pR,w(e),t))),y=(e,t=[])=&gt;{(0,o.cy)(e)?e.forEach((e=&gt;e(...t))):e&amp;&amp;e(...t)},b=e=&gt;!!e&amp;&amp;((0,o.cy)(e)?e.some((e=&gt;e.length&gt;1)):e.length&gt;1);function w(e){const t={};for(const n in e)n in m||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if((0,o.Gv)(e))return[S(e.enter),S(e.leave)];{const t=S(e);return[t,t]}}(i),v=g&amp;&amp;g[0],w=g&amp;&amp;g[1],{onBeforeEnter:T,onEnter:x,onEnterCancelled:C,onLeave:O,onLeaveCancelled:L,onBeforeAppear:P=T,onAppear:N=x,onAppearCancelled:D=C}=t,R=(e,t,n)=&gt;{k(e,t?d:l),k(e,t?u:a),n&amp;&amp;n()},M=(e,t)=&gt;{e._isLeaving=!1,k(e,p),k(e,f),k(e,h),t&amp;&amp;t()},F=e=&gt;(t,n)=&gt;{const o=e?N:x,i=()=&gt;R(t,e,n);y(o,[t,i]),A((()=&gt;{k(t,e?c:s),_(t,e?d:l),b(o)||E(t,r,v,i)}))};return(0,o.X$)(t,{onBeforeEnter(e){y(T,[e]),_(e,s),_(e,a)},onBeforeAppear(e){y(P,[e]),_(e,c),_(e,u)},onEnter:F(!1),onAppear:F(!0),onLeave(e,t){e._isLeaving=!0;const n=()=&gt;M(e,t);_(e,p),_(e,h),I(),A((()=&gt;{e._isLeaving&amp;&amp;(k(e,p),_(e,f),b(O)||E(e,r,w,n))})),y(O,[e,n])},onEnterCancelled(e){R(e,!1),y(C,[e])},onAppearCancelled(e){R(e,!0),y(D,[e])},onLeaveCancelled(e){M(e),y(L,[e])}})}function S(e){return(0,o.Ro)(e)}function _(e,t){t.split(/\s+/).forEach((t=&gt;t&amp;&amp;e.classList.add(t))),(e[f]||(e[f]=new Set)).add(t)}function k(e,t){t.split(/\s+/).forEach((t=&gt;t&amp;&amp;e.classList.remove(t)));const n=e[f];n&amp;&amp;(n.delete(t),n.size||(e[f]=void 0))}function A(e){requestAnimationFrame((()=&gt;{requestAnimationFrame(e)}))}let T=0;function E(e,t,n,r){const o=e._endId=++T,i=()=&gt;{o===e._endId&amp;&amp;r()};if(null!=n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=x(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=&gt;{e.removeEventListener(c,p),i()},p=t=&gt;{t.target===e&amp;&amp;++u&gt;=l&amp;&amp;d()};setTimeout((()=&gt;{u&lt;l&amp;&amp;d()}),a+1),e.addEventListener(c,p)}function x(e,t){const n=window.getComputedStyle(e),r=e=&gt;(n[e]||"").split(", "),o=r(`${p}Delay`),i=r(`${p}Duration`),s=C(o,i),a=r(`${h}Delay`),l=r(`${h}Duration`),c=C(a,l);let u=null,d=0,f=0;t===p?s&gt;0&amp;&amp;(u=p,d=s,f=i.length):t===h?c&gt;0&amp;&amp;(u=h,d=c,f=l.length):(d=Math.max(s,c),u=d&gt;0?s&gt;c?p:h:null,f=u?u===p?i.length:l.length:0);return{type:u,timeout:d,propCount:f,hasTransform:u===p&amp;&amp;/\b(transform|all)(,|$)/.test(r(`${p}Property`).toString())}}function C(e,t){for(;e.length&lt;t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=&gt;O(t)+O(e[n]))))}function O(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function I(){return document.body.offsetHeight}const L=Symbol("_vod"),P=Symbol("_vsh"),N={beforeMount(e,{value:t},{transition:n}){e[L]="none"===e.style.display?"":e.style.display,n&amp;&amp;t?n.beforeEnter(e):D(e,t)},mounted(e,{value:t},{transition:n}){n&amp;&amp;t&amp;&amp;n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&amp;&amp;(r?t?(r.beforeEnter(e),D(e,!0),r.enter(e)):r.leave(e,(()=&gt;{D(e,!1)})):D(e,t))},beforeUnmount(e,{value:t}){D(e,t)}};function D(e,t){e.style.display=t?e[L]:"none",e[P]=!t}const R=Symbol("");function M(e){const t=(0,r.nI)();if(!t)return;const n=t.ut=(n=e(t.proxy))=&gt;{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=&gt;H(e,n)))};const o=()=&gt;{const r=e(t.proxy);t.ce?H(t.ce,r):F(t.subTree,r),n(r)};(0,r.KC)((()=&gt;{(0,r.p9)(o)})),(0,r.sV)((()=&gt;{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,r.hi)((()=&gt;e.disconnect()))}))}function F(e,t){if(128&amp;e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&amp;&amp;!n.isHydrating&amp;&amp;n.effects.push((()=&gt;{F(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&amp;e.shapeFlag&amp;&amp;e.el)H(e.el,t);else if(e.type===r.FK)e.children.forEach((e=&gt;F(e,t)));else if(e.type===r.jC){let{el:n,anchor:r}=e;for(;n&amp;&amp;(H(n,t),n!==r);)n=n.nextSibling}}function H(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[R]=r}}const j=/(^|;)\s*display\s*:/;const G=/\s*!important$/;function B(e,t,n){if((0,o.cy)(n))n.forEach((n=&gt;B(e,t,n)));else if(null==n&amp;&amp;(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=W[t];if(n)return n;let r=(0,o.PT)(t);if("filter"!==r&amp;&amp;r in e)return W[t]=r;r=(0,o.ZH)(r);for(let n=0;n&lt;$.length;n++){const o=$[n]+r;if(o in e)return W[t]=o}return t}(e,t);G.test(n)?e.setProperty((0,o.Tg)(r),n.replace(G,""),"important"):e[r]=n}}const $=["Webkit","Moz","ms"],W={};const U="http://www.w3.org/1999/xlink";function z(e,t,n,r,i,s=(0,o.J$)(t)){r&amp;&amp;t.startsWith("xlink:")?null==n?e.removeAttributeNS(U,t.slice(6,t.length)):e.setAttributeNS(U,t,n):null==n||s&amp;&amp;!(0,o.Y2)(n)?e.removeAttribute(t):e.setAttribute(t,s?"":(0,o.Bm)(n)?String(n):n)}function V(e,t,n,r,i){if("innerHTML"===t||"textContent"===t)return void(null!=n&amp;&amp;(e[t]="innerHTML"===t?l(n):n));const s=e.tagName;if("value"===t&amp;&amp;"PROGRESS"!==s&amp;&amp;!s.includes("-")){const r="OPTION"===s?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&amp;&amp;"_value"in e||(e.value=o),null==n&amp;&amp;e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=(0,o.Y2)(n):null==n&amp;&amp;"string"===r?(n="",a=!0):"number"===r&amp;&amp;(n=0,a=!0)}try{e[t]=n}catch(e){0}a&amp;&amp;e.removeAttribute(i||t)}function X(e,t,n,r){e.addEventListener(t,n,r)}const K=Symbol("_vei");function q(e,t,n,i,s=null){const a=e[K]||(e[K]={}),l=a[t];if(i&amp;&amp;l)l.value=i;else{const[n,c]=function(e){let t;if(Y.test(e)){let n;for(t={};n=e.match(Y);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):(0,o.Tg)(e.slice(2));return[n,t]}(t);if(i){const l=a[t]=function(e,t){const n=e=&gt;{if(e._vts){if(e._vts&lt;=n.attached)return}else e._vts=Date.now();(0,r.qL)(function(e,t){if((0,o.cy)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=&gt;{n.call(e),e._stopped=!0},t.map((e=&gt;t=&gt;!t._stopped&amp;&amp;e&amp;&amp;e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Z(),n}(i,s);X(e,n,l,c)}else l&amp;&amp;(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,l,c),a[t]=void 0)}}const Y=/(?:Once|Passive|Capture)$/;let Q=0;const J=Promise.resolve(),Z=()=&gt;Q||(J.then((()=&gt;Q=0)),Q=Date.now());const ee=e=&gt;111===e.charCodeAt(0)&amp;&amp;110===e.charCodeAt(1)&amp;&amp;e.charCodeAt(2)&gt;96&amp;&amp;e.charCodeAt(2)&lt;123;const te={};function ne(e,t,n){const i=(0,r.pM)(e,t);(0,o.Qd)(i)&amp;&amp;(0,o.X$)(i,t);class s extends ie{constructor(e){super(i,e,n)}}return s.def=i,s}const re=(e,t)=&gt;ne(e,t,ze),oe="undefined"!=typeof HTMLElement?HTMLElement:class{};class ie extends oe{constructor(e,t={},n=Ue){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&amp;&amp;n!==Ue?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&amp;&amp;(e.parentNode||e.host);)if(e instanceof ie){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&amp;&amp;e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=&gt;{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&amp;&amp;(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,(0,r.dY)((()=&gt;{this._connected||(this._ob&amp;&amp;(this._ob.disconnect(),this._ob=null),this._app&amp;&amp;this._app.unmount(),this._instance&amp;&amp;(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e&lt;this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver((e=&gt;{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=&gt;{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let i;if(n&amp;&amp;!(0,o.cy)(n))for(const e in n){const t=n[e];(t===Number||t&amp;&amp;t.type===Number)&amp;&amp;(e in this._props&amp;&amp;(this._props[e]=(0,o.Ro)(this._props[e])),(i||(i=Object.create(null)))[(0,o.PT)(e)]=!0)}this._numberProps=i,t&amp;&amp;this._resolveProps(e),this.shadowRoot&amp;&amp;this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=&gt;e(this._def=t,!0))):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&amp;&amp;e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&amp;&amp;this._instance.exposed;if(t)for(const e in t)(0,o.$3)(this,e)||Object.defineProperty(this,e,{get:()=&gt;(0,i.R1)(t[e])})}_resolveProps(e){const{props:t}=e,n=(0,o.cy)(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&amp;&amp;n.includes(e)&amp;&amp;this._setProp(e,this[e]);for(const e of n.map(o.PT))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):te;const r=(0,o.PT)(e);t&amp;&amp;this._numberProps&amp;&amp;this._numberProps[r]&amp;&amp;(n=(0,o.Ro)(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){t!==this._props[e]&amp;&amp;(t===te?delete this._props[e]:(this._props[e]=t,"key"===e&amp;&amp;this._app&amp;&amp;(this._app._ceVNode.key=t)),r&amp;&amp;this._instance&amp;&amp;this._update(),n&amp;&amp;(!0===t?this.setAttribute((0,o.Tg)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,o.Tg)(e),t+""):t||this.removeAttribute((0,o.Tg)(e))))}_update(){$e(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=(0,r.bF)(this._def,(0,o.X$)(e,this._props));return this._instance||(t.ce=e=&gt;{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=&gt;{this.dispatchEvent(new CustomEvent(e,(0,o.Qd)(t[0])?(0,o.X$)({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=&gt;{t(e,n),(0,o.Tg)(e)!==e&amp;&amp;t((0,o.Tg)(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t&gt;=0;t--){const r=document.createElement("style");n&amp;&amp;r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&amp;&amp;t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n&lt;e.length;n++){const r=e[n],o=r.getAttribute("name")||"default",i=this._slots[o],s=r.parentNode;if(i)for(const e of i){if(t&amp;&amp;1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let o;for(e.setAttribute(n,"");o=r.nextNode();)o.setAttribute(n,"")}s.insertBefore(e,r)}else for(;r.firstChild;)s.insertBefore(r.firstChild,r);s.removeChild(r)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){0}}function se(e){const t=(0,r.nI)(),n=t&amp;&amp;t.ce;return n||null}function ae(){const e=se();return e&amp;&amp;e.shadowRoot}function le(e="$style"){{const t=(0,r.nI)();if(!t)return o.MZ;const n=t.type.__cssModules;if(!n)return o.MZ;const i=n[e];return i||o.MZ}}const ce=new WeakMap,ue=new WeakMap,de=Symbol("_moveCb"),pe=Symbol("_enterCb"),he=(e=&gt;(delete e.props.mode,e))({name:"TransitionGroup",props:(0,o.X$)({},g,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,r.nI)(),o=(0,r.Gy)();let s,a;return(0,r.$u)((()=&gt;{if(!s.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[f];o&amp;&amp;o.forEach((e=&gt;{e.split(/\s+/).forEach((e=&gt;e&amp;&amp;r.classList.remove(e)))}));n.split(/\s+/).forEach((e=&gt;e&amp;&amp;r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=x(r);return i.removeChild(r),s}(s[0].el,n.vnode.el,t))return;s.forEach(fe),s.forEach(me);const r=s.filter(ge);I(),r.forEach((e=&gt;{const n=e.el,r=n.style;_(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[de]=e=&gt;{e&amp;&amp;e.target!==n||e&amp;&amp;!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[de]=null,k(n,t))};n.addEventListener("transitionend",o)}))})),()=&gt;{const l=(0,i.ux)(e),c=w(l);let u=l.tag||r.FK;if(s=[],a)for(let e=0;e&lt;a.length;e++){const t=a[e];t.el&amp;&amp;t.el instanceof Element&amp;&amp;(s.push(t),(0,r.MZ)(t,(0,r.OW)(t,c,o,n)),ce.set(t,t.el.getBoundingClientRect()))}a=t.default?(0,r.Df)(t.default()):[];for(let e=0;e&lt;a.length;e++){const t=a[e];null!=t.key&amp;&amp;(0,r.MZ)(t,(0,r.OW)(t,c,o,n))}return(0,r.bF)(u,null,a)}}});function fe(e){const t=e.el;t[de]&amp;&amp;t[de](),t[pe]&amp;&amp;t[pe]()}function me(e){ue.set(e,e.el.getBoundingClientRect())}function ge(e){const t=ce.get(e),n=ue.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s",e}}const ve=e=&gt;{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.cy)(t)?e=&gt;(0,o.DY)(t,e):t};function ye(e){e.target.composing=!0}function be(e){const t=e.target;t.composing&amp;&amp;(t.composing=!1,t.dispatchEvent(new Event("input")))}const we=Symbol("_assign"),Se={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[we]=ve(i);const s=r||i.props&amp;&amp;"number"===i.props.type;X(e,t?"change":"input",(t=&gt;{if(t.target.composing)return;let r=e.value;n&amp;&amp;(r=r.trim()),s&amp;&amp;(r=(0,o.bB)(r)),e[we](r)})),n&amp;&amp;X(e,"change",(()=&gt;{e.value=e.value.trim()})),t||(X(e,"compositionstart",ye),X(e,"compositionend",be),X(e,"change",be))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},a){if(e[we]=ve(a),e.composing)return;const l=null==t?"":t;if((!s&amp;&amp;"number"!==e.type||/^0\d/.test(e.value)?e.value:(0,o.bB)(e.value))!==l){if(document.activeElement===e&amp;&amp;"range"!==e.type){if(r&amp;&amp;t===n)return;if(i&amp;&amp;e.value.trim()===l)return}e.value=l}}},_e={deep:!0,created(e,t,n){e[we]=ve(n),X(e,"change",(()=&gt;{const t=e._modelValue,n=xe(e),r=e.checked,i=e[we];if((0,o.cy)(t)){const e=(0,o.u3)(t,n),s=-1!==e;if(r&amp;&amp;!s)i(t.concat(n));else if(!r&amp;&amp;s){const n=[...t];n.splice(e,1),i(n)}}else if((0,o.vM)(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Ce(e,r))}))},mounted:ke,beforeUpdate(e,t,n){e[we]=ve(n),ke(e,t,n)}};function ke(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,(0,o.cy)(t))i=(0,o.u3)(t,r.props.value)&gt;-1;else if((0,o.vM)(t))i=t.has(r.props.value);else{if(t===n)return;i=(0,o.BX)(t,Ce(e,!0))}e.checked!==i&amp;&amp;(e.checked=i)}const Ae={created(e,{value:t},n){e.checked=(0,o.BX)(t,n.props.value),e[we]=ve(n),X(e,"change",(()=&gt;{e[we](xe(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[we]=ve(r),t!==n&amp;&amp;(e.checked=(0,o.BX)(t,r.props.value))}},Te={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=(0,o.vM)(t);X(e,"change",(()=&gt;{const t=Array.prototype.filter.call(e.options,(e=&gt;e.selected)).map((e=&gt;n?(0,o.bB)(xe(e)):xe(e)));e[we](e.multiple?s?new Set(t):t:t[0]),e._assigning=!0,(0,r.dY)((()=&gt;{e._assigning=!1}))})),e[we]=ve(i)},mounted(e,{value:t}){Ee(e,t)},beforeUpdate(e,t,n){e[we]=ve(n)},updated(e,{value:t}){e._assigning||Ee(e,t)}};function Ee(e,t){const n=e.multiple,r=(0,o.cy)(t);if(!n||r||(0,o.vM)(t)){for(let i=0,s=e.options.length;i&lt;s;i++){const s=e.options[i],a=xe(s);if(n)if(r){const e=typeof a;s.selected="string"===e||"number"===e?t.some((e=&gt;String(e)===String(a))):(0,o.u3)(t,a)&gt;-1}else s.selected=t.has(a);else if((0,o.BX)(xe(s),t))return void(e.selectedIndex!==i&amp;&amp;(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function xe(e){return"_value"in e?e._value:e.value}function Ce(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Oe={created(e,t,n){Le(e,t,n,null,"created")},mounted(e,t,n){Le(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Le(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Le(e,t,n,r,"updated")}};function Ie(e,t){switch(e){case"SELECT":return Te;case"TEXTAREA":return Se;default:switch(t){case"checkbox":return _e;case"radio":return Ae;default:return Se}}}function Le(e,t,n,r,o){const i=Ie(e.tagName,n.props&amp;&amp;n.props.type)[o];i&amp;&amp;i(e,t,n,r)}const Pe=["ctrl","shift","alt","meta"],Ne={stop:e=&gt;e.stopPropagation(),prevent:e=&gt;e.preventDefault(),self:e=&gt;e.target!==e.currentTarget,ctrl:e=&gt;!e.ctrlKey,shift:e=&gt;!e.shiftKey,alt:e=&gt;!e.altKey,meta:e=&gt;!e.metaKey,left:e=&gt;"button"in e&amp;&amp;0!==e.button,middle:e=&gt;"button"in e&amp;&amp;1!==e.button,right:e=&gt;"button"in e&amp;&amp;2!==e.button,exact:(e,t)=&gt;Pe.some((n=&gt;e[`${n}Key`]&amp;&amp;!t.includes(n)))},De=(e,t)=&gt;{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=&gt;{for(let e=0;e&lt;t.length;e++){const r=Ne[t[e]];if(r&amp;&amp;r(n,t))return}return e(n,...r)})},Re={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Me=(e,t)=&gt;{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=&gt;{if(!("key"in n))return;const r=(0,o.Tg)(n.key);return t.some((e=&gt;e===r||Re[e]===r))?e(n):void 0})},Fe=(0,o.X$)({patchProp:(e,t,n,r,i,s)=&gt;{const a="svg"===i;"class"===t?function(e,t,n){const r=e[f];r&amp;&amp;(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,a):"style"===t?function(e,t,n){const r=e.style,i=(0,o.Kg)(n);let s=!1;if(n&amp;&amp;!i){if(t)if((0,o.Kg)(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&amp;&amp;B(r,t,"")}else for(const e in t)null==n[e]&amp;&amp;B(r,e,"");for(const e in n)"display"===e&amp;&amp;(s=!0),B(r,e,n[e])}else if(i){if(t!==n){const e=r[R];e&amp;&amp;(n+=";"+e),r.cssText=n,s=j.test(n)}}else t&amp;&amp;e.removeAttribute("style");L in e&amp;&amp;(e[L]=s?r.display:"",e[P]&amp;&amp;(r.display="none"))}(e,n,r):(0,o.Mp)(t)?(0,o.CP)(t)||q(e,t,0,r,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&amp;&amp;ee(t)&amp;&amp;(0,o.Tn)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&amp;&amp;"INPUT"===e.tagName)return!1;if("type"===t&amp;&amp;"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ee(t)&amp;&amp;(0,o.Kg)(n))return!1;return t in e}(e,t,r,a))?(V(e,t,r),e.tagName.includes("-")||"value"!==t&amp;&amp;"checked"!==t&amp;&amp;"selected"!==t||z(e,t,r,a,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&amp;&amp;(0,o.Kg)(r)?("true-value"===t?e._trueValue=r:"false-value"===t&amp;&amp;(e._falseValue=r),z(e,t,r,a)):V(e,(0,o.PT)(t),r,0,t)}},d);let He,je=!1;function Ge(){return He||(He=(0,r.K9)(Fe))}function Be(){return He=je?He:(0,r.ci)(Fe),je=!0,He}const $e=(...e)=&gt;{Ge().render(...e)},We=(...e)=&gt;{Be().hydrate(...e)},Ue=(...e)=&gt;{const t=Ge().createApp(...e);const{mount:n}=t;return t.mount=e=&gt;{const r=Xe(e);if(!r)return;const i=t._component;(0,o.Tn)(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&amp;&amp;(r.textContent="");const s=n(r,!1,Ve(r));return r instanceof Element&amp;&amp;(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t},ze=(...e)=&gt;{const t=Be().createApp(...e);const{mount:n}=t;return t.mount=e=&gt;{const t=Xe(e);if(t)return n(t,!0,Ve(t))},t};function Ve(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&amp;&amp;e instanceof MathMLElement?"mathml":void 0}function Xe(e){if((0,o.Kg)(e)){return document.querySelector(e)}return e}let Ke=!1;const qe=()=&gt;{Ke||(Ke=!0,Se.getSSRProps=({value:e})=&gt;({value:e}),Ae.getSSRProps=({value:e},t)=&gt;{if(t.props&amp;&amp;(0,o.BX)(t.props.value,e))return{checked:!0}},_e.getSSRProps=({value:e},t)=&gt;{if((0,o.cy)(e)){if(t.props&amp;&amp;(0,o.u3)(e,t.props.value)&gt;-1)return{checked:!0}}else if((0,o.vM)(e)){if(t.props&amp;&amp;e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Oe.getSSRProps=(e,t)=&gt;{if("string"!=typeof t.type)return;const n=Ie(t.type.toUpperCase(),t.props&amp;&amp;t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},N.getSSRProps=({value:e})=&gt;{if(!e)return{style:{display:"none"}}})}},90033:(e,t,n)=&gt;{"use strict";function r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=&gt;e in t}n.d(t,{$3:()=&gt;h,$H:()=&gt;F,BH:()=&gt;U,BX:()=&gt;le,Bm:()=&gt;S,C4:()=&gt;Q,CE:()=&gt;m,CP:()=&gt;c,DY:()=&gt;H,Gv:()=&gt;_,J$:()=&gt;ee,Kg:()=&gt;w,MZ:()=&gt;o,Mp:()=&gt;l,NO:()=&gt;a,Oj:()=&gt;i,PT:()=&gt;P,Qd:()=&gt;x,Ro:()=&gt;B,SU:()=&gt;O,TF:()=&gt;d,Tg:()=&gt;D,Tn:()=&gt;b,Tr:()=&gt;z,Vp:()=&gt;ie,W0:()=&gt;te,We:()=&gt;W,X$:()=&gt;u,XW:()=&gt;ae,Y2:()=&gt;ne,ZH:()=&gt;R,Zf:()=&gt;E,_B:()=&gt;J,bB:()=&gt;G,cy:()=&gt;f,gd:()=&gt;y,pD:()=&gt;r,rU:()=&gt;M,tE:()=&gt;s,tl:()=&gt;Y,u3:()=&gt;ce,vM:()=&gt;g,v_:()=&gt;de,wQ:()=&gt;re,yI:()=&gt;C,yL:()=&gt;k,yQ:()=&gt;j,z3:()=&gt;oe});const o={},i=[],s=()=&gt;{},a=()=&gt;!1,l=e=&gt;111===e.charCodeAt(0)&amp;&amp;110===e.charCodeAt(1)&amp;&amp;(e.charCodeAt(2)&gt;122||e.charCodeAt(2)&lt;97),c=e=&gt;e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=&gt;{const n=e.indexOf(t);n&gt;-1&amp;&amp;e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=&gt;p.call(e,t),f=Array.isArray,m=e=&gt;"[object Map]"===T(e),g=e=&gt;"[object Set]"===T(e),v=e=&gt;"[object Date]"===T(e),y=e=&gt;"[object RegExp]"===T(e),b=e=&gt;"function"==typeof e,w=e=&gt;"string"==typeof e,S=e=&gt;"symbol"==typeof e,_=e=&gt;null!==e&amp;&amp;"object"==typeof e,k=e=&gt;(_(e)||b(e))&amp;&amp;b(e.then)&amp;&amp;b(e.catch),A=Object.prototype.toString,T=e=&gt;A.call(e),E=e=&gt;T(e).slice(8,-1),x=e=&gt;"[object Object]"===T(e),C=e=&gt;w(e)&amp;&amp;"NaN"!==e&amp;&amp;"-"!==e[0]&amp;&amp;""+parseInt(e,10)===e,O=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=e=&gt;{const t=Object.create(null);return n=&gt;t[n]||(t[n]=e(n))},L=/-(\w)/g,P=I((e=&gt;e.replace(L,((e,t)=&gt;t?t.toUpperCase():"")))),N=/\B([A-Z])/g,D=I((e=&gt;e.replace(N,"-$1").toLowerCase())),R=I((e=&gt;e.charAt(0).toUpperCase()+e.slice(1))),M=I((e=&gt;e?`on${R(e)}`:"")),F=(e,t)=&gt;!Object.is(e,t),H=(e,...t)=&gt;{for(let n=0;n&lt;e.length;n++)e[n](...t)},j=(e,t,n,r=!1)=&gt;{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},G=e=&gt;{const t=parseFloat(e);return isNaN(t)?e:t},B=e=&gt;{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let $;const W=()=&gt;$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});const U=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function z(e){if(f(e)){const t={};for(let n=0;n&lt;e.length;n++){const r=e[n],o=w(r)?q(r):z(r);if(o)for(const e in o)t[e]=o[e]}return t}if(w(e)||_(e))return e}const V=/;(?![^(]*\))/g,X=/:([^]+)/,K=/\/\*[^]*?\*\//g;function q(e){const t={};return e.replace(K,"").split(V).forEach((e=&gt;{if(e){const n=e.split(X);n.length&gt;1&amp;&amp;(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(!e||w(e))return t;for(const n in e){const r=e[n];if(w(r)||"number"==typeof r){t+=`${n.startsWith("--")?n:D(n)}:${r};`}}return t}function Q(e){let t="";if(w(e))t=e;else if(f(e))for(let n=0;n&lt;e.length;n++){const r=Q(e[n]);r&amp;&amp;(t+=r+" ")}else if(_(e))for(const n in e)e[n]&amp;&amp;(t+=n+" ");return t.trim()}function J(e){if(!e)return null;let{class:t,style:n}=e;return t&amp;&amp;!w(t)&amp;&amp;(e.class=Q(t)),n&amp;&amp;(e.style=z(n)),e}const Z="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ee=r(Z),te=r(Z+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ne(e){return!!e||""===e}const re=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),oe=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function ie(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const se=/[ !"#$%&amp;'()*+,./:;&lt;=&gt;?@[\\\]^`{|}~]/g;function ae(e,t){return e.replace(se,(e=&gt;t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}function le(e,t){if(e===t)return!0;let n=v(e),r=v(t);if(n||r)return!(!n||!r)&amp;&amp;e.getTime()===t.getTime();if(n=S(e),r=S(t),n||r)return e===t;if(n=f(e),r=f(t),n||r)return!(!n||!r)&amp;&amp;function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&amp;&amp;r&lt;e.length;r++)n=le(e[r],t[r]);return n}(e,t);if(n=_(e),r=_(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&amp;&amp;!o||!r&amp;&amp;o||!le(e[n],t[n]))return!1}}return String(e)===String(t)}function ce(e,t){return e.findIndex((e=&gt;le(e,t)))}const ue=e=&gt;!(!e||!0!==e.__v_isRef),de=e=&gt;w(e)?e:null==e?"":f(e)||_(e)&amp;&amp;(e.toString===A||!b(e.toString))?ue(e)?de(e.value):JSON.stringify(e,pe,2):String(e),pe=(e,t)=&gt;ue(t)?pe(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=&gt;(e[he(t,r)+" =&gt;"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=&gt;he(e)))}:S(t)?he(t):!_(t)||f(t)||x(t)?t:String(t),he=(e,t="")=&gt;{var n;return S(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},31173:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r,o,i="function"==typeof Map?new Map:(r=[],o=[],{has:function(e){return r.indexOf(e)&gt;-1},get:function(e){return o[r.indexOf(e)]},set:function(e,t){-1===r.indexOf(e)&amp;&amp;(r.push(e),o.push(t))},delete:function(e){var t=r.indexOf(e);t&gt;-1&amp;&amp;(r.splice(t,1),o.splice(t,1))}}),s=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(r){s=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){var t=i.get(e);t&amp;&amp;t.destroy()}function l(e){var t=i.get(e);t&amp;&amp;t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&amp;&amp;Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&amp;&amp;e.nodeName&amp;&amp;"TEXTAREA"===e.nodeName&amp;&amp;!i.has(e)){var t,n=null,r=null,o=null,a=function(){e.clientWidth!==r&amp;&amp;d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&amp;&amp;"oninput"in e&amp;&amp;e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&amp;&amp;(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&amp;&amp;(n=0),d()}function c(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&amp;&amp;e.parentNode&amp;&amp;e.parentNode instanceof Element;)e.parentNode.scrollTop&amp;&amp;(e.parentNode.style.scrollBehavior="auto",t.push([e.parentNode,e.parentNode.scrollTop])),e=e.parentNode;return function(){return t.forEach((function(e){var t=e[0];t.scrollTop=e[1],t.style.scrollBehavior=null}))}}(e);e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t()}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r&lt;t?"hidden"===n.overflowY&amp;&amp;(c("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&amp;&amp;(c("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),o!==r){o=r;var i=s("autosize:resized");try{e.dispatchEvent(i)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&amp;&amp;Array.prototype.forEach.call(e.length?e:[e],a),e},c.update=function(e){return e&amp;&amp;Array.prototype.forEach.call(e.length?e:[e],l),e});const u=c},41957:(e,t,n)=&gt;{"use strict";n.r(t),n.d(t,{default:()=&gt;a});var r=n(31601),o=n.n(r),i=n(76314),s=n.n(i)()(o());s.push([e.id,"\n.option-bar-group-container[data-v-48e6684e] {\n        padding: 4px;\n        gap: 8px;\n        background: var(--asphalt90);\n        border-radius: 4px;\n        display: flex;\n        flex-direction: row;\n        justify-content: center;\n        align-items: center;\n        width: 100%;\n}\n",""]);const a=s},5185:(e,t,n)=&gt;{"use strict";n.r(t),n.d(t,{default:()=&gt;a});var r=n(31601),o=n.n(r),i=n(76314),s=n.n(i)()(o());s.push([e.id,"\n.button-container {\nspan[data-v-5429a768] {\n            font:var(--editor-ui-b2-regular);\n            color: var(--asphalt40);\n}\n}\n",""]);const a=s},76314:e=&gt;{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&amp;&amp;(n+="@supports (".concat(t[4],") {")),t[2]&amp;&amp;(n+="@media ".concat(t[2]," {")),r&amp;&amp;(n+="@layer".concat(t[5].length&gt;0?" ".concat(t[5]):""," {")),n+=e(t),r&amp;&amp;(n+="}"),t[2]&amp;&amp;(n+="}"),t[4]&amp;&amp;(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&amp;&amp;(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a&lt;this.length;a++){var l=this[a][0];null!=l&amp;&amp;(s[l]=!0)}for(var c=0;c&lt;e.length;c++){var u=[].concat(e[c]);r&amp;&amp;s[u[0]]||(void 0!==i&amp;&amp;(void 0===u[5]||(u[1]="@layer".concat(u[5].length&gt;0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&amp;&amp;(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&amp;&amp;(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},31601:e=&gt;{"use strict";e.exports=function(e){return e[1]}},76575:(e,t,n)=&gt;{"use strict";function r(e,t){for(var n=0;n&lt;t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{A:()=&gt;cn});var o,i,s,a,l,c,u,d,p,h,f,m,g,v=function(){return o||"undefined"!=typeof window&amp;&amp;(o=window.gsap)&amp;&amp;o.registerPlugin&amp;&amp;o},y=1,b=[],w=[],S=[],_=Date.now,k=function(e,t){return t},A=function(e,t){return~S.indexOf(e)&amp;&amp;S[S.indexOf(e)+1][t]},T=function(e){return!!~h.indexOf(e)},E=function(e,t,n,r,o){return e.addEventListener(t,n,{passive:!1!==r,capture:!!o})},x=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},C="scrollLeft",O="scrollTop",I=function(){return f&amp;&amp;f.isPressed||w.cache++},L=function(e,t){var n=function n(r){if(r||0===r){y&amp;&amp;(s.history.scrollRestoration="manual");var o=f&amp;&amp;f.isPressed;r=n.v=Math.round(r)||(f&amp;&amp;f.iOS?1:0),e(r),n.cacheID=w.cache,o&amp;&amp;k("ss",r)}else(t||w.cache!==n.cacheID||k("ref"))&amp;&amp;(n.cacheID=w.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&amp;&amp;n},P={s:C,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:L((function(e){return arguments.length?s.scrollTo(e,N.sc()):s.pageXOffset||a[C]||l[C]||c[C]||0}))},N={s:O,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:P,sc:L((function(e){return arguments.length?s.scrollTo(P.sc(),e):s.pageYOffset||a[O]||l[O]||c[O]||0}))},D=function(e,t){return(t&amp;&amp;t._ctx&amp;&amp;t._ctx.selector||o.utils.toArray)(e)[0]||("string"==typeof e&amp;&amp;!1!==o.config().nullTargetWarn?console.warn("Element not found:",e):null)},R=function(e,t){var n=t.s,r=t.sc;T(e)&amp;&amp;(e=a.scrollingElement||l);var i=w.indexOf(e),s=r===N.sc?1:2;!~i&amp;&amp;(i=w.push(e)-1),w[i+s]||E(e,"scroll",I);var c=w[i+s],u=c||(w[i+s]=L(A(e,n),!0)||(T(e)?r:L((function(t){return arguments.length?e[n]=t:e[n]}))));return u.target=e,c||(u.smooth="smooth"===o.getProperty(e,"scrollBehavior")),u},M=function(e,t,n){var r=e,o=e,i=_(),s=i,a=t||50,l=Math.max(500,3*a),c=function(e,t){var l=_();t||l-i&gt;a?(o=r,r=e,s=i,i=l):n?r+=e:r=o+(e-o)/(l-s)*(i-s)};return{update:c,reset:function(){o=r=n?0:r,s=i=0},getVelocity:function(e){var t=s,a=o,u=_();return(e||0===e)&amp;&amp;e!==r&amp;&amp;c(e),i===s||u-s&gt;l?0:(r+(n?a:-a))/((n?u:i)-t)*1e3}}},F=function(e,t){return t&amp;&amp;!e._gsapAllow&amp;&amp;e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},H=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)&gt;=Math.abs(n)?t:n},j=function(){var e,t,n,r;(p=o.core.globals().ScrollTrigger)&amp;&amp;p.core&amp;&amp;(e=p.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,w),r.push.apply(r,S),w=n,S=r,k=function(e,n){return t[e](n)})},G=function(e){return o=e||v(),!i&amp;&amp;o&amp;&amp;"undefined"!=typeof document&amp;&amp;document.body&amp;&amp;(s=window,a=document,l=a.documentElement,c=a.body,h=[s,a,l,c],o.utils.clamp,g=o.core.context||function(){},d="onpointerenter"in c?"pointer":"mouse",u=B.isTouch=s.matchMedia&amp;&amp;s.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in s||navigator.maxTouchPoints&gt;0||navigator.msMaxTouchPoints&gt;0?2:0,m=B.eventTypes=("ontouchstart"in l?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in l?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return y=0}),500),j(),i=1),i};P.op=N,w.cache=0;var B=function(){function e(e){this.init(e)}var t,n,h;return e.prototype.init=function(e){i||G(o)||console.warn("Please gsap.registerPlugin(Observer)"),p||j();var t=e.tolerance,n=e.dragMinimum,r=e.type,h=e.target,v=e.lineHeight,y=e.debounce,w=e.preventDefault,S=e.onStop,k=e.onStopDelay,A=e.ignore,C=e.wheelSpeed,O=e.event,L=e.onDragStart,B=e.onDragEnd,$=e.onDrag,W=e.onPress,U=e.onRelease,z=e.onRight,V=e.onLeft,X=e.onUp,K=e.onDown,q=e.onChangeX,Y=e.onChangeY,Q=e.onChange,J=e.onToggleX,Z=e.onToggleY,ee=e.onHover,te=e.onHoverEnd,ne=e.onMove,re=e.ignoreCheck,oe=e.isNormalizer,ie=e.onGestureStart,se=e.onGestureEnd,ae=e.onWheel,le=e.onEnable,ce=e.onDisable,ue=e.onClick,de=e.scrollSpeed,pe=e.capture,he=e.allowClicks,fe=e.lockAxis,me=e.onLockAxis;this.target=h=D(h)||l,this.vars=e,A&amp;&amp;(A=o.utils.toArray(A)),t=t||1e-9,n=n||0,C=C||1,de=de||1,r=r||"wheel,touch,pointer",y=!1!==y,v||(v=parseFloat(s.getComputedStyle(c).lineHeight)||22);var ge,ve,ye,be,we,Se,_e,ke=this,Ae=0,Te=0,Ee=e.passive||!w,xe=R(h,P),Ce=R(h,N),Oe=xe(),Ie=Ce(),Le=~r.indexOf("touch")&amp;&amp;!~r.indexOf("pointer")&amp;&amp;"pointerdown"===m[0],Pe=T(h),Ne=h.ownerDocument||a,De=[0,0,0],Re=[0,0,0],Me=0,Fe=function(){return Me=_()},He=function(e,t){return(ke.event=e)&amp;&amp;A&amp;&amp;~A.indexOf(e.target)||t&amp;&amp;Le&amp;&amp;"touch"!==e.pointerType||re&amp;&amp;re(e,t)},je=function(){var e=ke.deltaX=H(De),n=ke.deltaY=H(Re),r=Math.abs(e)&gt;=t,o=Math.abs(n)&gt;=t;Q&amp;&amp;(r||o)&amp;&amp;Q(ke,e,n,De,Re),r&amp;&amp;(z&amp;&amp;ke.deltaX&gt;0&amp;&amp;z(ke),V&amp;&amp;ke.deltaX&lt;0&amp;&amp;V(ke),q&amp;&amp;q(ke),J&amp;&amp;ke.deltaX&lt;0!=Ae&lt;0&amp;&amp;J(ke),Ae=ke.deltaX,De[0]=De[1]=De[2]=0),o&amp;&amp;(K&amp;&amp;ke.deltaY&gt;0&amp;&amp;K(ke),X&amp;&amp;ke.deltaY&lt;0&amp;&amp;X(ke),Y&amp;&amp;Y(ke),Z&amp;&amp;ke.deltaY&lt;0!=Te&lt;0&amp;&amp;Z(ke),Te=ke.deltaY,Re[0]=Re[1]=Re[2]=0),(be||ye)&amp;&amp;(ne&amp;&amp;ne(ke),ye&amp;&amp;($(ke),ye=!1),be=!1),Se&amp;&amp;!(Se=!1)&amp;&amp;me&amp;&amp;me(ke),we&amp;&amp;(ae(ke),we=!1),ge=0},Ge=function(e,t,n){De[n]+=e,Re[n]+=t,ke._vx.update(e),ke._vy.update(t),y?ge||(ge=requestAnimationFrame(je)):je()},Be=function(e,t){fe&amp;&amp;!_e&amp;&amp;(ke.axis=_e=Math.abs(e)&gt;Math.abs(t)?"x":"y",Se=!0),"y"!==_e&amp;&amp;(De[2]+=e,ke._vx.update(e,!0)),"x"!==_e&amp;&amp;(Re[2]+=t,ke._vy.update(t,!0)),y?ge||(ge=requestAnimationFrame(je)):je()},$e=function(e){if(!He(e,1)){var t=(e=F(e,w)).clientX,r=e.clientY,o=t-ke.x,i=r-ke.y,s=ke.isDragging;ke.x=t,ke.y=r,(s||Math.abs(ke.startX-t)&gt;=n||Math.abs(ke.startY-r)&gt;=n)&amp;&amp;($&amp;&amp;(ye=!0),s||(ke.isDragging=!0),Be(o,i),s||L&amp;&amp;L(ke))}},We=ke.onPress=function(e){He(e,1)||e&amp;&amp;e.button||(ke.axis=_e=null,ve.pause(),ke.isPressed=!0,e=F(e),Ae=Te=0,ke.startX=ke.x=e.clientX,ke.startY=ke.y=e.clientY,ke._vx.reset(),ke._vy.reset(),E(oe?h:Ne,m[1],$e,Ee,!0),ke.deltaX=ke.deltaY=0,W&amp;&amp;W(ke))},Ue=ke.onRelease=function(e){if(!He(e,1)){x(oe?h:Ne,m[1],$e,!0);var t=!isNaN(ke.y-ke.startY),n=ke.isDragging,r=n&amp;&amp;(Math.abs(ke.x-ke.startX)&gt;3||Math.abs(ke.y-ke.startY)&gt;3),i=F(e);!r&amp;&amp;t&amp;&amp;(ke._vx.reset(),ke._vy.reset(),w&amp;&amp;he&amp;&amp;o.delayedCall(.08,(function(){if(_()-Me&gt;300&amp;&amp;!e.defaultPrevented)if(e.target.click)e.target.click();else if(Ne.createEvent){var t=Ne.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,s,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),ke.isDragging=ke.isGesturing=ke.isPressed=!1,S&amp;&amp;n&amp;&amp;!oe&amp;&amp;ve.restart(!0),B&amp;&amp;n&amp;&amp;B(ke),U&amp;&amp;U(ke,r)}},ze=function(e){return e.touches&amp;&amp;e.touches.length&gt;1&amp;&amp;(ke.isGesturing=!0)&amp;&amp;ie(e,ke.isDragging)},Ve=function(){return(ke.isGesturing=!1)||se(ke)},Xe=function(e){if(!He(e)){var t=xe(),n=Ce();Ge((t-Oe)*de,(n-Ie)*de,1),Oe=t,Ie=n,S&amp;&amp;ve.restart(!0)}},Ke=function(e){if(!He(e)){e=F(e,w),ae&amp;&amp;(we=!0);var t=(1===e.deltaMode?v:2===e.deltaMode?s.innerHeight:1)*C;Ge(e.deltaX*t,e.deltaY*t,0),S&amp;&amp;!oe&amp;&amp;ve.restart(!0)}},qe=function(e){if(!He(e)){var t=e.clientX,n=e.clientY,r=t-ke.x,o=n-ke.y;ke.x=t,ke.y=n,be=!0,S&amp;&amp;ve.restart(!0),(r||o)&amp;&amp;Be(r,o)}},Ye=function(e){ke.event=e,ee(ke)},Qe=function(e){ke.event=e,te(ke)},Je=function(e){return He(e)||F(e,w)&amp;&amp;ue(ke)};ve=ke._dc=o.delayedCall(k||.25,(function(){ke._vx.reset(),ke._vy.reset(),ve.pause(),S&amp;&amp;S(ke)})).pause(),ke.deltaX=ke.deltaY=0,ke._vx=M(0,50,!0),ke._vy=M(0,50,!0),ke.scrollX=xe,ke.scrollY=Ce,ke.isDragging=ke.isGesturing=ke.isPressed=!1,g(this),ke.enable=function(e){return ke.isEnabled||(E(Pe?Ne:h,"scroll",I),r.indexOf("scroll")&gt;=0&amp;&amp;E(Pe?Ne:h,"scroll",Xe,Ee,pe),r.indexOf("wheel")&gt;=0&amp;&amp;E(h,"wheel",Ke,Ee,pe),(r.indexOf("touch")&gt;=0&amp;&amp;u||r.indexOf("pointer")&gt;=0)&amp;&amp;(E(h,m[0],We,Ee,pe),E(Ne,m[2],Ue),E(Ne,m[3],Ue),he&amp;&amp;E(h,"click",Fe,!0,!0),ue&amp;&amp;E(h,"click",Je),ie&amp;&amp;E(Ne,"gesturestart",ze),se&amp;&amp;E(Ne,"gestureend",Ve),ee&amp;&amp;E(h,d+"enter",Ye),te&amp;&amp;E(h,d+"leave",Qe),ne&amp;&amp;E(h,d+"move",qe)),ke.isEnabled=!0,e&amp;&amp;e.type&amp;&amp;We(e),le&amp;&amp;le(ke)),ke},ke.disable=function(){ke.isEnabled&amp;&amp;(b.filter((function(e){return e!==ke&amp;&amp;T(e.target)})).length||x(Pe?Ne:h,"scroll",I),ke.isPressed&amp;&amp;(ke._vx.reset(),ke._vy.reset(),x(oe?h:Ne,m[1],$e,!0)),x(Pe?Ne:h,"scroll",Xe,pe),x(h,"wheel",Ke,pe),x(h,m[0],We,pe),x(Ne,m[2],Ue),x(Ne,m[3],Ue),x(h,"click",Fe,!0),x(h,"click",Je),x(Ne,"gesturestart",ze),x(Ne,"gestureend",Ve),x(h,d+"enter",Ye),x(h,d+"leave",Qe),x(h,d+"move",qe),ke.isEnabled=ke.isPressed=ke.isDragging=!1,ce&amp;&amp;ce(ke))},ke.kill=ke.revert=function(){ke.disable();var e=b.indexOf(ke);e&gt;=0&amp;&amp;b.splice(e,1),f===ke&amp;&amp;(f=0)},b.push(ke),oe&amp;&amp;T(h)&amp;&amp;(f=ke),ke.enable(O)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&amp;&amp;r(t.prototype,n),h&amp;&amp;r(t,h),e}();B.version="3.12.5",B.create=function(e){return new B(e)},B.register=G,B.getAll=function(){return b.slice()},B.getById=function(e){return b.filter((function(t){return t.vars.id===e}))[0]},v()&amp;&amp;o.registerPlugin(B);var $,W,U,z,V,X,K,q,Y,Q,J,Z,ee,te,ne,re,oe,ie,se,ae,le,ce,ue,de,pe,he,fe,me,ge,ve,ye,be,we,Se,_e,ke,Ae,Te,Ee=1,xe=Date.now,Ce=xe(),Oe=0,Ie=0,Le=function(e,t,n){var r=ze(e)&amp;&amp;("clamp("===e.substr(0,6)||e.indexOf("max")&gt;-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},Pe=function(e,t){return!t||ze(e)&amp;&amp;"clamp("===e.substr(0,6)?e:"clamp("+e+")"},Ne=function e(){return Ie&amp;&amp;requestAnimationFrame(e)},De=function(){return te=1},Re=function(){return te=0},Me=function(e){return e},Fe=function(e){return Math.round(1e5*e)/1e5||0},He=function(){return"undefined"!=typeof window},je=function(){return $||He()&amp;&amp;($=window.gsap)&amp;&amp;$.registerPlugin&amp;&amp;$},Ge=function(e){return!!~K.indexOf(e)},Be=function(e){return("Height"===e?ye:U["inner"+e])||V["client"+e]||X["client"+e]},$e=function(e){return A(e,"getBoundingClientRect")||(Ge(e)?function(){return tn.width=U.innerWidth,tn.height=ye,tn}:function(){return ft(e)})},We=function(e,t){var n=t.s,r=t.d2,o=t.d,i=t.a;return Math.max(0,(n="scroll"+r)&amp;&amp;(i=A(e,n))?i()-$e(e)()[o]:Ge(e)?(V[n]||X[n])-Be(r):e[n]-e["offset"+r])},Ue=function(e,t){for(var n=0;n&lt;se.length;n+=3)(!t||~t.indexOf(se[n+1]))&amp;&amp;e(se[n],se[n+1],se[n+2])},ze=function(e){return"string"==typeof e},Ve=function(e){return"function"==typeof e},Xe=function(e){return"number"==typeof e},Ke=function(e){return"object"==typeof e},qe=function(e,t,n){return e&amp;&amp;e.progress(t?0:1)&amp;&amp;n&amp;&amp;e.pause()},Ye=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add((function(){return t(e)})):t(e);n&amp;&amp;n.totalTime&amp;&amp;(e.callbackAnimation=n)}},Qe=Math.abs,Je="left",Ze="right",et="bottom",tt="width",nt="height",rt="Right",ot="Left",it="Top",st="Bottom",at="padding",lt="margin",ct="Width",ut="Height",dt="px",pt=function(e){return U.getComputedStyle(e)},ht=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},ft=function(e,t){var n=t&amp;&amp;"matrix(1, 0, 0, 1, 0, 0)"!==pt(e)[ne]&amp;&amp;$.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return n&amp;&amp;n.progress(0).kill(),r},mt=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},gt=function(e){var t,n=[],r=e.labels,o=e.duration();for(t in r)n.push(r[t]/o);return n},vt=function(e){var t=$.utils.snap(e),n=Array.isArray(e)&amp;&amp;e.slice(0).sort((function(e,t){return e-t}));return n?function(e,r,o){var i;if(void 0===o&amp;&amp;(o=.001),!r)return t(e);if(r&gt;0){for(e-=o,i=0;i&lt;n.length;i++)if(n[i]&gt;=e)return n[i];return n[i-1]}for(i=n.length,e+=o;i--;)if(n[i]&lt;=e)return n[i];return n[0]}:function(n,r,o){void 0===o&amp;&amp;(o=.001);var i=t(n);return!r||Math.abs(i-n)&lt;o||i-n&lt;0==r&lt;0?i:t(r&lt;0?n-e:n+e)}},yt=function(e,t,n,r){return n.split(",").forEach((function(n){return e(t,n,r)}))},bt=function(e,t,n,r,o){return e.addEventListener(t,n,{passive:!r,capture:!!o})},wt=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},St=function(e,t,n){(n=n&amp;&amp;n.wheelHandler)&amp;&amp;(e(t,"wheel",n),e(t,"touchmove",n))},_t={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},kt={toggleActions:"play",anticipatePin:0},At={top:0,left:0,center:.5,bottom:1,right:1},Tt=function(e,t){if(ze(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&amp;&amp;(e.indexOf("%")&gt;n&amp;&amp;(r*=t/100),e=e.substr(0,n-1)),e=r+(e in At?At[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Et=function(e,t,n,r,o,i,s,a){var l=o.startColor,c=o.endColor,u=o.fontSize,d=o.indent,p=o.fontWeight,h=z.createElement("div"),f=Ge(n)||"fixed"===A(n,"pinType"),m=-1!==e.indexOf("scroller"),g=f?X:n,v=-1!==e.indexOf("start"),y=v?l:c,b="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||a)&amp;&amp;f?"fixed;":"absolute;"),(m||a||!f)&amp;&amp;(b+=(r===N?Ze:et)+":"+(i+parseFloat(d))+"px;"),s&amp;&amp;(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),h._isStart=v,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=b,h.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(h,g.children[0]):g.appendChild(h),h._offset=h["offset"+r.op.d2],xt(h,0,r,v),h},xt=function(e,t,n,r){var o={display:"block"},i=n[r?"os2":"p2"],s=n[r?"p2":"os2"];e._isFlipped=r,o[n.a+"Percent"]=r?-100:0,o[n.a]=r?"1px":0,o["border"+i+ct]=1,o["border"+s+ct]=0,o[n.p]=t+"px",$.set(e,o)},Ct=[],Ot={},It=function(){return xe()-Oe&gt;34&amp;&amp;(_e||(_e=requestAnimationFrame(Kt)))},Lt=function(){(!ue||!ue.isPressed||ue.startX&gt;X.clientWidth)&amp;&amp;(w.cache++,ue?_e||(_e=requestAnimationFrame(Kt)):Kt(),Oe||Ft("scrollStart"),Oe=xe())},Pt=function(){he=U.innerWidth,pe=U.innerHeight},Nt=function(){w.cache++,!ee&amp;&amp;!ce&amp;&amp;!z.fullscreenElement&amp;&amp;!z.webkitFullscreenElement&amp;&amp;(!de||he!==U.innerWidth||Math.abs(U.innerHeight-pe)&gt;.25*U.innerHeight)&amp;&amp;q.restart(!0)},Dt={},Rt=[],Mt=function e(){return wt(cn,"scrollEnd",e)||zt(!0)},Ft=function(e){return Dt[e]&amp;&amp;Dt[e].map((function(e){return e()}))||Rt},Ht=[],jt=function(e){for(var t=0;t&lt;Ht.length;t+=5)(!e||Ht[t+4]&amp;&amp;Ht[t+4].query===e)&amp;&amp;(Ht[t].style.cssText=Ht[t+1],Ht[t].getBBox&amp;&amp;Ht[t].setAttribute("transform",Ht[t+2]||""),Ht[t+3].uncache=1)},Gt=function(e,t){var n;for(re=0;re&lt;Ct.length;re++)!(n=Ct[re])||t&amp;&amp;n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));be=!0,t&amp;&amp;jt(t),t||Ft("revert")},Bt=function(e,t){w.cache++,(t||!ke)&amp;&amp;w.forEach((function(e){return Ve(e)&amp;&amp;e.cacheID++&amp;&amp;(e.rec=0)})),ze(e)&amp;&amp;(U.history.scrollRestoration=ge=e)},$t=0,Wt=function(){X.appendChild(ve),ye=!ue&amp;&amp;ve.offsetHeight||U.innerHeight,X.removeChild(ve)},Ut=function(e){return Y(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},zt=function(e,t){if(!Oe||e||be){Wt(),ke=cn.isRefreshing=!0,w.forEach((function(e){return Ve(e)&amp;&amp;++e.cacheID&amp;&amp;(e.rec=e())}));var n=Ft("refreshInit");ae&amp;&amp;cn.sort(),t||Gt(),w.forEach((function(e){Ve(e)&amp;&amp;(e.smooth&amp;&amp;(e.target.style.scrollBehavior="auto"),e(0))})),Ct.slice(0).forEach((function(e){return e.refresh()})),be=!1,Ct.forEach((function(e){if(e._subPinOffset&amp;&amp;e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}})),we=1,Ut(!0),Ct.forEach((function(e){var t=We(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&amp;&amp;e.end&gt;t,r=e._startClamp&amp;&amp;e.start&gt;=t;(n||r)&amp;&amp;e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)})),Ut(!1),we=0,n.forEach((function(e){return e&amp;&amp;e.render&amp;&amp;e.render(-1)})),w.forEach((function(e){Ve(e)&amp;&amp;(e.smooth&amp;&amp;requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&amp;&amp;e(e.rec))})),Bt(ge,1),q.pause(),$t++,ke=2,Kt(2),Ct.forEach((function(e){return Ve(e.vars.onRefresh)&amp;&amp;e.vars.onRefresh(e)})),ke=cn.isRefreshing=!1,Ft("refresh")}else bt(cn,"scrollEnd",Mt)},Vt=0,Xt=1,Kt=function(e){if(2===e||!ke&amp;&amp;!be){cn.isUpdating=!0,Te&amp;&amp;Te.update(0);var t=Ct.length,n=xe(),r=n-Ce&gt;=50,o=t&amp;&amp;Ct[0].scroll();if(Xt=Vt&gt;o?-1:1,ke||(Vt=o),r&amp;&amp;(Oe&amp;&amp;!te&amp;&amp;n-Oe&gt;200&amp;&amp;(Oe=0,Ft("scrollEnd")),J=Ce,Ce=n),Xt&lt;0){for(re=t;re-- &gt;0;)Ct[re]&amp;&amp;Ct[re].update(0,r);Xt=1}else for(re=0;re&lt;t;re++)Ct[re]&amp;&amp;Ct[re].update(0,r);cn.isUpdating=!1}_e=0},qt=[Je,"top",et,Ze,lt+st,lt+rt,lt+it,lt+ot,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Yt=qt.concat([tt,nt,"boxSizing","max"+ct,"max"+ut,"position",lt,at,at+it,at+rt,at+st,at+ot]),Qt=function(e,t,n,r){if(!e._gsap.swappedIn){for(var o,i=qt.length,s=t.style,a=e.style;i--;)s[o=qt[i]]=n[o];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&amp;&amp;(s.display="inline-block"),a[et]=a[Ze]="auto",s.flexBasis=n.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[tt]=mt(e,P)+dt,s[nt]=mt(e,N)+dt,s[at]=a[lt]=a.top=a[Je]="0",Zt(r),a[tt]=a["max"+ct]=n[tt],a[nt]=a["max"+ut]=n[nt],a[at]=n[at],e.parentNode!==t&amp;&amp;(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Jt=/([A-Z])/g,Zt=function(e){if(e){var t,n,r=e.t.style,o=e.length,i=0;for((e.t._gsap||$.core.getCache(e.t)).uncache=1;i&lt;o;i+=2)n=e[i+1],t=e[i],n?r[t]=n:r[t]&amp;&amp;r.removeProperty(t.replace(Jt,"-$1").toLowerCase())}},en=function(e){for(var t=Yt.length,n=e.style,r=[],o=0;o&lt;t;o++)r.push(Yt[o],n[Yt[o]]);return r.t=e,r},tn={left:0,top:0},nn=function(e,t,n,r,o,i,s,a,l,c,u,d,p,h){Ve(e)&amp;&amp;(e=e(a)),ze(e)&amp;&amp;"max"===e.substr(0,3)&amp;&amp;(e=d+("="===e.charAt(4)?Tt("0"+e.substr(3),n):0));var f,m,g,v=p?p.time():0;if(p&amp;&amp;p.seek(0),isNaN(e)||(e=+e),Xe(e))p&amp;&amp;(e=$.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,d,e)),s&amp;&amp;xt(s,n,r,!0);else{Ve(t)&amp;&amp;(t=t(a));var y,b,w,S,_=(e||"0").split(" ");g=D(t,a)||X,(y=ft(g)||{})&amp;&amp;(y.left||y.top)||"none"!==pt(g).display||(S=g.style.display,g.style.display="block",y=ft(g),S?g.style.display=S:g.style.removeProperty("display")),b=Tt(_[0],y[r.d]),w=Tt(_[1]||"0",n),e=y[r.p]-l[r.p]-c+b+o-w,s&amp;&amp;xt(s,w,r,n-w&lt;20||s._isStart&amp;&amp;w&gt;20),n-=n-w}if(h&amp;&amp;(a[h]=e||-.001,e&lt;0&amp;&amp;(e=0)),i){var k=e+n,A=i._isStart;f="scroll"+r.d2,xt(i,k,r,A&amp;&amp;k&gt;20||!A&amp;&amp;(u?Math.max(X[f],V[f]):i.parentNode[f])&lt;=k+1),u&amp;&amp;(l=ft(s),u&amp;&amp;(i.style[r.op.p]=l[r.op.p]-r.op.m-i._offset+dt))}return p&amp;&amp;g&amp;&amp;(f=ft(g),p.seek(d),m=ft(g),p._caScrollDist=f[r.p]-m[r.p],e=e/p._caScrollDist*d),p&amp;&amp;p.seek(v),p?e:Math.round(e)},rn=/(webkit|moz|length|cssText|inset)/i,on=function(e,t,n,r){if(e.parentNode!==t){var o,i,s=e.style;if(t===X){for(o in e._stOrig=s.cssText,i=pt(e))+o||rn.test(o)||!i[o]||"string"!=typeof s[o]||"0"===o||(s[o]=i[o]);s.top=n,s.left=r}else s.cssText=e._stOrig;$.core.getCache(e).uncache=1,t.appendChild(e)}},sn=function(e,t,n){var r=t,o=r;return function(t){var i=Math.round(e());return i!==r&amp;&amp;i!==o&amp;&amp;Math.abs(i-r)&gt;3&amp;&amp;Math.abs(i-o)&gt;3&amp;&amp;(t=i,n&amp;&amp;n()),o=r,r=t,t}},an=function(e,t,n){var r={};r[t.p]="+="+n,$.set(e,r)},ln=function(e,t){var n=R(e,t),r="_scroll"+t.p2,o=function t(o,i,s,a,l){var c=t.tween,u=i.onComplete,d={};s=s||n();var p=sn(n,s,(function(){c.kill(),t.tween=0}));return l=a&amp;&amp;l||0,a=a||o-s,c&amp;&amp;c.kill(),i[r]=o,i.inherit=!1,i.modifiers=d,d[r]=function(){return p(s+a*c.ratio+l*c.ratio*c.ratio)},i.onUpdate=function(){w.cache++,t.tween&amp;&amp;Kt()},i.onComplete=function(){t.tween=0,u&amp;&amp;u.call(c)},c=t.tween=$.to(e,i)};return e[r]=n,n.wheelHandler=function(){return o.tween&amp;&amp;o.tween.kill()&amp;&amp;(o.tween=0)},bt(e,"wheel",n.wheelHandler),cn.isTouch&amp;&amp;bt(e,"touchmove",n.wheelHandler),o},cn=function(){function e(t,n){W||e.register($)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),me(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&amp;&amp;this.kill(!0,!0),Ie){var r,o,i,s,a,l,c,u,d,p,h,f,m,g,v,y,b,_,k,T,E,x,C,O,I,L,M,F,H,j,G,B,W,K,q,Z,ne,oe,ie,se,ce,ue,de=t=ht(ze(t)||Xe(t)||t.nodeType?{trigger:t}:t,kt),pe=de.onUpdate,he=de.toggleClass,fe=de.id,me=de.onToggle,ge=de.onRefresh,ve=de.scrub,ye=de.trigger,be=de.pin,_e=de.pinSpacing,Ce=de.invalidateOnRefresh,Ne=de.anticipatePin,De=de.onScrubComplete,Re=de.onSnapComplete,He=de.once,je=de.snap,Ue=de.pinReparent,Je=de.pinSpacer,Ze=de.containerAnimation,et=de.fastScrollEnd,yt=de.preventOverlaps,St=t.horizontal||t.containerAnimation&amp;&amp;!1!==t.horizontal?P:N,At=!ve&amp;&amp;0!==ve,xt=D(t.scroller||U),It=$.core.getCache(xt),Pt=Ge(xt),Dt="fixed"===("pinType"in t?t.pinType:A(xt,"pinType")||Pt&amp;&amp;"fixed"),Rt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Ft=At&amp;&amp;t.toggleActions.split(" "),Ht="markers"in t?t.markers:kt.markers,jt=Pt?0:parseFloat(pt(xt)["border"+St.p2+ct])||0,Gt=this,Bt=t.onRefreshInit&amp;&amp;function(){return t.onRefreshInit(Gt)},Wt=function(e,t,n){var r=n.d,o=n.d2,i=n.a;return(i=A(e,"getBoundingClientRect"))?function(){return i()[r]}:function(){return(t?Be(o):e["client"+o])||0}}(xt,Pt,St),Ut=function(e,t){return!t||~S.indexOf(e)?$e(e):function(){return tn}}(xt,Pt),Vt=0,Kt=0,qt=0,Yt=R(xt,St);if(Gt._startClamp=Gt._endClamp=!1,Gt._dir=St,Ne*=45,Gt.scroller=xt,Gt.scroll=Ze?Ze.time.bind(Ze):Yt,s=Yt(),Gt.vars=t,n=n||t.animation,"refreshPriority"in t&amp;&amp;(ae=1,-9999===t.refreshPriority&amp;&amp;(Te=Gt)),It.tweenScroll=It.tweenScroll||{top:ln(xt,N),left:ln(xt,P)},Gt.tweenTo=r=It.tweenScroll[St.p],Gt.scrubDuration=function(e){(W=Xe(e)&amp;&amp;e)?B?B.duration(e):B=$.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:W,paused:!0,onComplete:function(){return De&amp;&amp;De(Gt)}}):(B&amp;&amp;B.progress(1).kill(),B=0)},n&amp;&amp;(n.vars.lazy=!1,n._initted&amp;&amp;!Gt.isReverted||!1!==n.vars.immediateRender&amp;&amp;!1!==t.immediateRender&amp;&amp;n.duration()&amp;&amp;n.render(0,!0,!0),Gt.animation=n.pause(),n.scrollTrigger=Gt,Gt.scrubDuration(ve),j=0,fe||(fe=n.vars.id)),je&amp;&amp;(Ke(je)&amp;&amp;!je.push||(je={snapTo:je}),"scrollBehavior"in X.style&amp;&amp;$.set(Pt?[X,V]:xt,{scrollBehavior:"auto"}),w.forEach((function(e){return Ve(e)&amp;&amp;e.target===(Pt?z.scrollingElement||V:xt)&amp;&amp;(e.smooth=!1)})),i=Ve(je.snapTo)?je.snapTo:"labels"===je.snapTo?function(e){return function(t){return $.utils.snap(gt(e),t)}}(n):"labelsDirectional"===je.snapTo?(se=n,function(e,t){return vt(gt(se))(e,t.direction)}):!1!==je.directional?function(e,t){return vt(je.snapTo)(e,xe()-Kt&lt;500?0:t.direction)}:$.utils.snap(je.snapTo),K=je.duration||{min:.1,max:2},K=Ke(K)?Q(K.min,K.max):Q(K,K),q=$.delayedCall(je.delay||W/2||.1,(function(){var e=Yt(),t=xe()-Kt&lt;500,o=r.tween;if(!(t||Math.abs(Gt.getVelocity())&lt;10)||o||te||Vt===e)Gt.isActive&amp;&amp;Vt!==e&amp;&amp;q.restart(!0);else{var s,a,u=(e-l)/g,d=n&amp;&amp;!At?n.totalProgress():u,p=t?0:(d-G)/(xe()-J)*1e3||0,h=$.utils.clamp(-u,1-u,Qe(p/2)*p/.185),f=u+(!1===je.inertia?0:h),m=je,v=m.onStart,y=m.onInterrupt,b=m.onComplete;if(s=i(f,Gt),Xe(s)||(s=f),a=Math.round(l+s*g),e&lt;=c&amp;&amp;e&gt;=l&amp;&amp;a!==e){if(o&amp;&amp;!o._initted&amp;&amp;o.data&lt;=Qe(a-e))return;!1===je.inertia&amp;&amp;(h=s-u),r(a,{duration:K(Qe(.185*Math.max(Qe(f-d),Qe(s-d))/p/.05||0)),ease:je.ease||"power3",data:Qe(a-e),onInterrupt:function(){return q.restart(!0)&amp;&amp;y&amp;&amp;y(Gt)},onComplete:function(){Gt.update(),Vt=Yt(),n&amp;&amp;(B?B.resetTo("totalProgress",s,n._tTime/n._tDur):n.progress(s)),j=G=n&amp;&amp;!At?n.totalProgress():Gt.progress,Re&amp;&amp;Re(Gt),b&amp;&amp;b(Gt)}},e,h*g,a-e-h*g),v&amp;&amp;v(Gt,r.tween)}}})).pause()),fe&amp;&amp;(Ot[fe]=Gt),(ie=(ye=Gt.trigger=D(ye||!0!==be&amp;&amp;be))&amp;&amp;ye._gsap&amp;&amp;ye._gsap.stRevert)&amp;&amp;(ie=ie(Gt)),be=!0===be?ye:D(be),ze(he)&amp;&amp;(he={targets:ye,className:he}),be&amp;&amp;(!1===_e||_e===lt||(_e=!(!_e&amp;&amp;be.parentNode&amp;&amp;be.parentNode.style&amp;&amp;"flex"===pt(be.parentNode).display)&amp;&amp;at),Gt.pin=be,(o=$.core.getCache(be)).spacer?v=o.pinState:(Je&amp;&amp;((Je=D(Je))&amp;&amp;!Je.nodeType&amp;&amp;(Je=Je.current||Je.nativeElement),o.spacerIsNative=!!Je,Je&amp;&amp;(o.spacerState=en(Je))),o.spacer=_=Je||z.createElement("div"),_.classList.add("pin-spacer"),fe&amp;&amp;_.classList.add("pin-spacer-"+fe),o.pinState=v=en(be)),!1!==t.force3D&amp;&amp;$.set(be,{force3D:!0}),Gt.spacer=_=o.spacer,H=pt(be),O=H[_e+St.os2],T=$.getProperty(be),E=$.quickSetter(be,St.a,dt),Qt(be,_,H),b=en(be)),Ht){f=Ke(Ht)?ht(Ht,_t):_t,p=Et("scroller-start",fe,xt,St,f,0),h=Et("scroller-end",fe,xt,St,f,0,p),k=p["offset"+St.op.d2];var Jt=D(A(xt,"content")||xt);u=this.markerStart=Et("start",fe,Jt,St,f,k,0,Ze),d=this.markerEnd=Et("end",fe,Jt,St,f,k,0,Ze),Ze&amp;&amp;(oe=$.quickSetter([u,d],St.a,dt)),Dt||S.length&amp;&amp;!0===A(xt,"fixedMarkers")||(ue=pt(ce=Pt?X:xt).position,ce.style.position="absolute"===ue||"fixed"===ue?ue:"relative",$.set([p,h],{force3D:!0}),L=$.quickSetter(p,St.a,dt),F=$.quickSetter(h,St.a,dt))}if(Ze){var rn=Ze.vars.onUpdate,sn=Ze.vars.onUpdateParams;Ze.eventCallback("onUpdate",(function(){Gt.update(0,0,1),rn&amp;&amp;rn.apply(Ze,sn||[])}))}if(Gt.previous=function(){return Ct[Ct.indexOf(Gt)-1]},Gt.next=function(){return Ct[Ct.indexOf(Gt)+1]},Gt.revert=function(e,t){if(!t)return Gt.kill(!0);var r=!1!==e||!Gt.enabled,o=ee;r!==Gt.isReverted&amp;&amp;(r&amp;&amp;(Z=Math.max(Yt(),Gt.scroll.rec||0),qt=Gt.progress,ne=n&amp;&amp;n.progress()),u&amp;&amp;[u,d,p,h].forEach((function(e){return e.style.display=r?"none":"block"})),r&amp;&amp;(ee=Gt,Gt.update(r)),!be||Ue&amp;&amp;Gt.isActive||(r?function(e,t,n){Zt(n);var r=e._gsap;if(r.spacerIsNative)Zt(r.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&amp;&amp;(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1}(be,_,v):Qt(be,_,pt(be),I)),r||Gt.update(r),ee=o,Gt.isReverted=r)},Gt.refresh=function(o,i,f,w){if(!ee&amp;&amp;Gt.enabled||i)if(be&amp;&amp;o&amp;&amp;Oe)bt(e,"scrollEnd",Mt);else{!ke&amp;&amp;Bt&amp;&amp;Bt(Gt),ee=Gt,r.tween&amp;&amp;!f&amp;&amp;(r.tween.kill(),r.tween=0),B&amp;&amp;B.pause(),Ce&amp;&amp;n&amp;&amp;n.revert({kill:!1}).invalidate(),Gt.isReverted||Gt.revert(!0,!0),Gt._subPinOffset=!1;var S,k,A,E,O,L,F,H,j,G,W,U,K,Y=Wt(),Q=Ut(),J=Ze?Ze.duration():We(xt,St),te=g&lt;=.01,re=0,oe=w||0,ie=Ke(f)?f.end:t.end,se=t.endTrigger||ye,ae=Ke(f)?f.start:t.start||(0!==t.start&amp;&amp;ye?be?"0 0":"0 100%":0),ce=Gt.pinnedContainer=t.pinnedContainer&amp;&amp;D(t.pinnedContainer,Gt),ue=ye&amp;&amp;Math.max(0,Ct.indexOf(Gt))||0,de=ue;for(Ht&amp;&amp;Ke(f)&amp;&amp;(U=$.getProperty(p,St.p),K=$.getProperty(h,St.p));de--;)(L=Ct[de]).end||L.refresh(0,1)||(ee=Gt),!(F=L.pin)||F!==ye&amp;&amp;F!==be&amp;&amp;F!==ce||L.isReverted||(G||(G=[]),G.unshift(L),L.revert(!0,!0)),L!==Ct[de]&amp;&amp;(ue--,de--);for(Ve(ae)&amp;&amp;(ae=ae(Gt)),ae=Le(ae,"start",Gt),l=nn(ae,ye,Y,St,Yt(),u,p,Gt,Q,jt,Dt,J,Ze,Gt._startClamp&amp;&amp;"_startClamp")||(be?-.001:0),Ve(ie)&amp;&amp;(ie=ie(Gt)),ze(ie)&amp;&amp;!ie.indexOf("+=")&amp;&amp;(~ie.indexOf(" ")?ie=(ze(ae)?ae.split(" ")[0]:"")+ie:(re=Tt(ie.substr(2),Y),ie=ze(ae)?ae:(Ze?$.utils.mapRange(0,Ze.duration(),Ze.scrollTrigger.start,Ze.scrollTrigger.end,l):l)+re,se=ye)),ie=Le(ie,"end",Gt),c=Math.max(l,nn(ie||(se?"100% 0":J),se,Y,St,Yt()+re,d,h,Gt,Q,jt,Dt,J,Ze,Gt._endClamp&amp;&amp;"_endClamp"))||-.001,re=0,de=ue;de--;)(F=(L=Ct[de]).pin)&amp;&amp;L.start-L._pinPush&lt;=l&amp;&amp;!Ze&amp;&amp;L.end&gt;0&amp;&amp;(S=L.end-(Gt._startClamp?Math.max(0,L.start):L.start),(F===ye&amp;&amp;L.start-L._pinPush&lt;l||F===ce)&amp;&amp;isNaN(ae)&amp;&amp;(re+=S*(1-L.progress)),F===be&amp;&amp;(oe+=S));if(l+=re,c+=re,Gt._startClamp&amp;&amp;(Gt._startClamp+=re),Gt._endClamp&amp;&amp;!ke&amp;&amp;(Gt._endClamp=c||-.001,c=Math.min(c,We(xt,St))),g=c-l||(l-=.01)&amp;&amp;.001,te&amp;&amp;(qt=$.utils.clamp(0,1,$.utils.normalize(l,c,Z))),Gt._pinPush=oe,u&amp;&amp;re&amp;&amp;((S={})[St.a]="+="+re,ce&amp;&amp;(S[St.p]="-="+Yt()),$.set([u,d],S)),!be||we&amp;&amp;Gt.end&gt;=We(xt,St)){if(ye&amp;&amp;Yt()&amp;&amp;!Ze)for(k=ye.parentNode;k&amp;&amp;k!==X;)k._pinOffset&amp;&amp;(l-=k._pinOffset,c-=k._pinOffset),k=k.parentNode}else S=pt(be),E=St===N,A=Yt(),x=parseFloat(T(St.a))+oe,!J&amp;&amp;c&gt;1&amp;&amp;(W={style:W=(Pt?z.scrollingElement||V:xt).style,value:W["overflow"+St.a.toUpperCase()]},Pt&amp;&amp;"scroll"!==pt(X)["overflow"+St.a.toUpperCase()]&amp;&amp;(W.style["overflow"+St.a.toUpperCase()]="scroll")),Qt(be,_,S),b=en(be),k=ft(be,!0),H=Dt&amp;&amp;R(xt,E?P:N)(),_e?((I=[_e+St.os2,g+oe+dt]).t=_,(de=_e===at?mt(be,St)+g+oe:0)&amp;&amp;(I.push(St.d,de+dt),"auto"!==_.style.flexBasis&amp;&amp;(_.style.flexBasis=de+dt)),Zt(I),ce&amp;&amp;Ct.forEach((function(e){e.pin===ce&amp;&amp;!1!==e.vars.pinSpacing&amp;&amp;(e._subPinOffset=!0)})),Dt&amp;&amp;Yt(Z)):(de=mt(be,St))&amp;&amp;"auto"!==_.style.flexBasis&amp;&amp;(_.style.flexBasis=de+dt),Dt&amp;&amp;((O={top:k.top+(E?A-l:H)+dt,left:k.left+(E?H:A-l)+dt,boxSizing:"border-box",position:"fixed"})[tt]=O["max"+ct]=Math.ceil(k.width)+dt,O[nt]=O["max"+ut]=Math.ceil(k.height)+dt,O[lt]=O[lt+it]=O[lt+rt]=O[lt+st]=O[lt+ot]="0",O[at]=S[at],O[at+it]=S[at+it],O[at+rt]=S[at+rt],O[at+st]=S[at+st],O[at+ot]=S[at+ot],y=function(e,t,n){for(var r,o=[],i=e.length,s=n?8:0;s&lt;i;s+=2)r=e[s],o.push(r,r in t?t[r]:e[s+1]);return o.t=e.t,o}(v,O,Ue),ke&amp;&amp;Yt(0)),n?(j=n._initted,le(1),n.render(n.duration(),!0,!0),C=T(St.a)-x+g+oe,M=Math.abs(g-C)&gt;1,Dt&amp;&amp;M&amp;&amp;y.splice(y.length-2,2),n.render(0,!0,!0),j||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),le(0)):C=g,W&amp;&amp;(W.value?W.style["overflow"+St.a.toUpperCase()]=W.value:W.style.removeProperty("overflow-"+St.a));G&amp;&amp;G.forEach((function(e){return e.revert(!1,!0)})),Gt.start=l,Gt.end=c,s=a=ke?Z:Yt(),Ze||ke||(s&lt;Z&amp;&amp;Yt(Z),Gt.scroll.rec=0),Gt.revert(!1,!0),Kt=xe(),q&amp;&amp;(Vt=-1,q.restart(!0)),ee=0,n&amp;&amp;At&amp;&amp;(n._initted||ne)&amp;&amp;n.progress()!==ne&amp;&amp;n.progress(ne||0,!0).render(n.time(),!0,!0),(te||qt!==Gt.progress||Ze||Ce)&amp;&amp;(n&amp;&amp;!At&amp;&amp;n.totalProgress(Ze&amp;&amp;l&lt;-.001&amp;&amp;!qt?$.utils.normalize(l,c,0):qt,!0),Gt.progress=te||(s-l)/g===qt?0:qt),be&amp;&amp;_e&amp;&amp;(_._pinOffset=Math.round(Gt.progress*C)),B&amp;&amp;B.invalidate(),isNaN(U)||(U-=$.getProperty(p,St.p),K-=$.getProperty(h,St.p),an(p,St,U),an(u,St,U-(w||0)),an(h,St,K),an(d,St,K-(w||0))),te&amp;&amp;!ke&amp;&amp;Gt.update(),!ge||ke||m||(m=!0,ge(Gt),m=!1)}},Gt.getVelocity=function(){return(Yt()-a)/(xe()-J)*1e3||0},Gt.endAnimation=function(){qe(Gt.callbackAnimation),n&amp;&amp;(B?B.progress(1):n.paused()?At||qe(n,Gt.direction&lt;0,1):qe(n,n.reversed()))},Gt.labelToScroll=function(e){return n&amp;&amp;n.labels&amp;&amp;(l||Gt.refresh()||l)+n.labels[e]/n.duration()*g||0},Gt.getTrailing=function(e){var t=Ct.indexOf(Gt),n=Gt.direction&gt;0?Ct.slice(0,t).reverse():Ct.slice(t+1);return(ze(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return Gt.direction&gt;0?e.end&lt;=l:e.start&gt;=c}))},Gt.update=function(e,t,o){if(!Ze||o||e){var i,u,d,h,f,m,v,w=!0===ke?Z:Gt.scroll(),S=e?0:(w-l)/g,k=S&lt;0?0:S&gt;1?1:S||0,A=Gt.progress;if(t&amp;&amp;(a=s,s=Ze?Yt():w,je&amp;&amp;(G=j,j=n&amp;&amp;!At?n.totalProgress():k)),Ne&amp;&amp;be&amp;&amp;!ee&amp;&amp;!Ee&amp;&amp;Oe&amp;&amp;(!k&amp;&amp;l&lt;w+(w-a)/(xe()-J)*Ne?k=1e-4:1===k&amp;&amp;c&gt;w+(w-a)/(xe()-J)*Ne&amp;&amp;(k=.9999)),k!==A&amp;&amp;Gt.enabled){if(h=(f=(i=Gt.isActive=!!k&amp;&amp;k&lt;1)!==(!!A&amp;&amp;A&lt;1))||!!k!=!!A,Gt.direction=k&gt;A?1:-1,Gt.progress=k,h&amp;&amp;!ee&amp;&amp;(u=k&amp;&amp;!A?0:1===k?1:1===A?2:3,At&amp;&amp;(d=!f&amp;&amp;"none"!==Ft[u+1]&amp;&amp;Ft[u+1]||Ft[u],v=n&amp;&amp;("complete"===d||"reset"===d||d in n))),yt&amp;&amp;(f||v)&amp;&amp;(v||ve||!n)&amp;&amp;(Ve(yt)?yt(Gt):Gt.getTrailing(yt).forEach((function(e){return e.endAnimation()}))),At||(!B||ee||Ee?n&amp;&amp;n.totalProgress(k,!(!ee||!Kt&amp;&amp;!e)):(B._dp._time-B._start!==B._time&amp;&amp;B.render(B._dp._time-B._start),B.resetTo?B.resetTo("totalProgress",k,n._tTime/n._tDur):(B.vars.totalProgress=k,B.invalidate().restart()))),be)if(e&amp;&amp;_e&amp;&amp;(_.style[_e+St.os2]=O),Dt){if(h){if(m=!e&amp;&amp;k&gt;A&amp;&amp;c+1&gt;w&amp;&amp;w+1&gt;=We(xt,St),Ue)if(e||!i&amp;&amp;!m)on(be,_);else{var T=ft(be,!0),I=w-l;on(be,X,T.top+(St===N?I:0)+dt,T.left+(St===N?0:I)+dt)}Zt(i||m?y:b),M&amp;&amp;k&lt;1&amp;&amp;i||E(x+(1!==k||m?0:C))}}else E(Fe(x+C*k));je&amp;&amp;!r.tween&amp;&amp;!ee&amp;&amp;!Ee&amp;&amp;q.restart(!0),he&amp;&amp;(f||He&amp;&amp;k&amp;&amp;(k&lt;1||!Se))&amp;&amp;Y(he.targets).forEach((function(e){return e.classList[i||He?"add":"remove"](he.className)})),pe&amp;&amp;!At&amp;&amp;!e&amp;&amp;pe(Gt),h&amp;&amp;!ee?(At&amp;&amp;(v&amp;&amp;("complete"===d?n.pause().totalProgress(1):"reset"===d?n.restart(!0).pause():"restart"===d?n.restart(!0):n[d]()),pe&amp;&amp;pe(Gt)),!f&amp;&amp;Se||(me&amp;&amp;f&amp;&amp;Ye(Gt,me),Rt[u]&amp;&amp;Ye(Gt,Rt[u]),He&amp;&amp;(1===k?Gt.kill(!1,1):Rt[u]=0),f||Rt[u=1===k?1:3]&amp;&amp;Ye(Gt,Rt[u])),et&amp;&amp;!i&amp;&amp;Math.abs(Gt.getVelocity())&gt;(Xe(et)?et:2500)&amp;&amp;(qe(Gt.callbackAnimation),B?B.progress(1):qe(n,"reverse"===d?1:!k,1))):At&amp;&amp;pe&amp;&amp;!ee&amp;&amp;pe(Gt)}if(F){var P=Ze?w/Ze.duration()*(Ze._caScrollDist||0):w;L(P+(p._isFlipped?1:0)),F(P)}oe&amp;&amp;oe(-w/Ze.duration()*(Ze._caScrollDist||0))}},Gt.enable=function(t,n){Gt.enabled||(Gt.enabled=!0,bt(xt,"resize",Nt),Pt||bt(xt,"scroll",Lt),Bt&amp;&amp;bt(e,"refreshInit",Bt),!1!==t&amp;&amp;(Gt.progress=qt=0,s=a=Vt=Yt()),!1!==n&amp;&amp;Gt.refresh())},Gt.getTween=function(e){return e&amp;&amp;r?r.tween:B},Gt.setPositions=function(e,t,n,r){if(Ze){var o=Ze.scrollTrigger,i=Ze.duration(),s=o.end-o.start;e=o.start+s*e/i,t=o.start+s*t/i}Gt.refresh(!1,!1,{start:Pe(e,n&amp;&amp;!!Gt._startClamp),end:Pe(t,n&amp;&amp;!!Gt._endClamp)},r),Gt.update()},Gt.adjustPinSpacing=function(e){if(I&amp;&amp;e){var t=I.indexOf(St.d)+1;I[t]=parseFloat(I[t])+e+dt,I[1]=parseFloat(I[1])+e+dt,Zt(I)}},Gt.disable=function(t,n){if(Gt.enabled&amp;&amp;(!1!==t&amp;&amp;Gt.revert(!0,!0),Gt.enabled=Gt.isActive=!1,n||B&amp;&amp;B.pause(),Z=0,o&amp;&amp;(o.uncache=1),Bt&amp;&amp;wt(e,"refreshInit",Bt),q&amp;&amp;(q.pause(),r.tween&amp;&amp;r.tween.kill()&amp;&amp;(r.tween=0)),!Pt)){for(var i=Ct.length;i--;)if(Ct[i].scroller===xt&amp;&amp;Ct[i]!==Gt)return;wt(xt,"resize",Nt),Pt||wt(xt,"scroll",Lt)}},Gt.kill=function(e,r){Gt.disable(e,r),B&amp;&amp;!r&amp;&amp;B.kill(),fe&amp;&amp;delete Ot[fe];var i=Ct.indexOf(Gt);i&gt;=0&amp;&amp;Ct.splice(i,1),i===re&amp;&amp;Xt&gt;0&amp;&amp;re--,i=0,Ct.forEach((function(e){return e.scroller===Gt.scroller&amp;&amp;(i=1)})),i||ke||(Gt.scroll.rec=0),n&amp;&amp;(n.scrollTrigger=null,e&amp;&amp;n.revert({kill:!1}),r||n.kill()),u&amp;&amp;[u,d,p,h].forEach((function(e){return e.parentNode&amp;&amp;e.parentNode.removeChild(e)})),Te===Gt&amp;&amp;(Te=0),be&amp;&amp;(o&amp;&amp;(o.uncache=1),i=0,Ct.forEach((function(e){return e.pin===be&amp;&amp;i++})),i||(o.spacer=0)),t.onKill&amp;&amp;t.onKill(Gt)},Ct.push(Gt),Gt.enable(!1,!1),ie&amp;&amp;ie(Gt),n&amp;&amp;n.add&amp;&amp;!g){var cn=Gt.update;Gt.update=function(){Gt.update=cn,l||c||Gt.refresh()},$.delayedCall(.01,Gt.update),g=.01,l=c=0}else Gt.refresh();be&amp;&amp;function(){if(Ae!==$t){var e=Ae=$t;requestAnimationFrame((function(){return e===$t&amp;&amp;zt(!0)}))}}()}else this.update=this.refresh=this.kill=Me},e.register=function(t){return W||($=t||je(),He()&amp;&amp;window.document&amp;&amp;e.enable(),W=Ie),W},e.defaults=function(e){if(e)for(var t in e)kt[t]=e[t];return kt},e.disable=function(e,t){Ie=0,Ct.forEach((function(n){return n[t?"kill":"disable"](e)})),wt(U,"wheel",Lt),wt(z,"scroll",Lt),clearInterval(Z),wt(z,"touchcancel",Me),wt(X,"touchstart",Me),yt(wt,z,"pointerdown,touchstart,mousedown",De),yt(wt,z,"pointerup,touchend,mouseup",Re),q.kill(),Ue(wt);for(var n=0;n&lt;w.length;n+=3)St(wt,w[n],w[n+1]),St(wt,w[n],w[n+2])},e.enable=function(){if(U=window,z=document,V=z.documentElement,X=z.body,$&amp;&amp;(Y=$.utils.toArray,Q=$.utils.clamp,me=$.core.context||Me,le=$.core.suppressOverwrites||Me,ge=U.history.scrollRestoration||"auto",Vt=U.pageYOffset,$.core.globals("ScrollTrigger",e),X)){Ie=1,(ve=document.createElement("div")).style.height="100vh",ve.style.position="absolute",Wt(),Ne(),B.register($),e.isTouch=B.isTouch,fe=B.isTouch&amp;&amp;/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),de=1===B.isTouch,bt(U,"wheel",Lt),K=[U,z,V,X],$.matchMedia?(e.matchMedia=function(e){var t,n=$.matchMedia();for(t in e)n.add(t,e[t]);return n},$.addEventListener("matchMediaInit",(function(){return Gt()})),$.addEventListener("matchMediaRevert",(function(){return jt()})),$.addEventListener("matchMedia",(function(){zt(0,1),Ft("matchMedia")})),$.matchMedia("(orientation: portrait)",(function(){return Pt(),Pt}))):console.warn("Requires GSAP 3.11.0 or later"),Pt(),bt(z,"scroll",Lt);var t,n,r=X.style,o=r.borderTopStyle,i=$.core.Animation.prototype;for(i.revert||Object.defineProperty(i,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",t=ft(X),N.m=Math.round(t.top+N.sc())||0,P.m=Math.round(t.left+P.sc())||0,o?r.borderTopStyle=o:r.removeProperty("border-top-style"),Z=setInterval(It,250),$.delayedCall(.5,(function(){return Ee=0})),bt(z,"touchcancel",Me),bt(X,"touchstart",Me),yt(bt,z,"pointerdown,touchstart,mousedown",De),yt(bt,z,"pointerup,touchend,mouseup",Re),ne=$.utils.checkPrefix("transform"),Yt.push(ne),W=xe(),q=$.delayedCall(.2,zt).pause(),se=[z,"visibilitychange",function(){var e=U.innerWidth,t=U.innerHeight;z.hidden?(oe=e,ie=t):oe===e&amp;&amp;ie===t||Nt()},z,"DOMContentLoaded",zt,U,"load",zt,U,"resize",Nt],Ue(bt),Ct.forEach((function(e){return e.enable(0,1)})),n=0;n&lt;w.length;n+=3)St(wt,w[n],w[n+1]),St(wt,w[n],w[n+2])}},e.config=function(t){"limitCallbacks"in t&amp;&amp;(Se=!!t.limitCallbacks);var n=t.syncInterval;n&amp;&amp;clearInterval(Z)||(Z=n)&amp;&amp;setInterval(It,n),"ignoreMobileResize"in t&amp;&amp;(de=1===e.isTouch&amp;&amp;t.ignoreMobileResize),"autoRefreshEvents"in t&amp;&amp;(Ue(wt)||Ue(bt,t.autoRefreshEvents||"none"),ce=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=D(e),r=w.indexOf(n),o=Ge(n);~r&amp;&amp;w.splice(r,o?6:2),t&amp;&amp;(o?S.unshift(U,t,X,t,V,t):S.unshift(n,t))},e.clearMatchMedia=function(e){Ct.forEach((function(t){return t._ctx&amp;&amp;t._ctx.query===e&amp;&amp;t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,n){var r=(ze(e)?D(e):e).getBoundingClientRect(),o=r[n?tt:nt]*t||0;return n?r.right-o&gt;0&amp;&amp;r.left+o&lt;U.innerWidth:r.bottom-o&gt;0&amp;&amp;r.top+o&lt;U.innerHeight},e.positionInViewport=function(e,t,n){ze(e)&amp;&amp;(e=D(e));var r=e.getBoundingClientRect(),o=r[n?tt:nt],i=null==t?o/2:t in At?At[t]*o:~t.indexOf("%")?parseFloat(t)*o/100:parseFloat(t)||0;return n?(r.left+i)/U.innerWidth:(r.top+i)/U.innerHeight},e.killAll=function(e){if(Ct.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&amp;&amp;e.kill()})),!0!==e){var t=Dt.killAll||[];Dt={},t.forEach((function(e){return e()}))}},e}();cn.version="3.12.5",cn.saveStyles=function(e){return e?Y(e).forEach((function(e){if(e&amp;&amp;e.style){var t=Ht.indexOf(e);t&gt;=0&amp;&amp;Ht.splice(t,5),Ht.push(e,e.style.cssText,e.getBBox&amp;&amp;e.getAttribute("transform"),$.core.getCache(e),me())}})):Ht},cn.revert=function(e,t){return Gt(!e,t)},cn.create=function(e,t){return new cn(e,t)},cn.refresh=function(e){return e?Nt():(W||cn.register())&amp;&amp;zt(!0)},cn.update=function(e){return++w.cache&amp;&amp;Kt(!0===e?2:0)},cn.clearScrollMemory=Bt,cn.maxScroll=function(e,t){return We(e,t?P:N)},cn.getScrollFunc=function(e,t){return R(D(e),t?P:N)},cn.getById=function(e){return Ot[e]},cn.getAll=function(){return Ct.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},cn.isScrolling=function(){return!!Oe},cn.snapDirectional=vt,cn.addEventListener=function(e,t){var n=Dt[e]||(Dt[e]=[]);~n.indexOf(t)||n.push(t)},cn.removeEventListener=function(e,t){var n=Dt[e],r=n&amp;&amp;n.indexOf(t);r&gt;=0&amp;&amp;n.splice(r,1)},cn.batch=function(e,t){var n,r=[],o={},i=t.interval||.016,s=t.batchMax||1e9,a=function(e,t){var n=[],r=[],o=$.delayedCall(i,(function(){t(n,r),n=[],r=[]})).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),s&lt;=n.length&amp;&amp;o.progress(1)}};for(n in t)o[n]="on"===n.substr(0,2)&amp;&amp;Ve(t[n])&amp;&amp;"onRefreshInit"!==n?a(0,t[n]):t[n];return Ve(s)&amp;&amp;(s=s(),bt(cn,"refresh",(function(){return s=t.batchMax()}))),Y(e).forEach((function(e){var t={};for(n in o)t[n]=o[n];t.trigger=e,r.push(cn.create(t))})),r};var un,dn=function(e,t,n,r){return t&gt;r?e(r):t&lt;0&amp;&amp;e(0),n&gt;r?(r-t)/(n-t):n&lt;0?t/(t-n):1},pn=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(B.isTouch?" pinch-zoom":""):"none",t===V&amp;&amp;e(X,n)},hn={auto:1,scroll:1},fn=function(e){var t,n=e.event,r=e.target,o=e.axis,i=(n.changedTouches?n.changedTouches[0]:n).target,s=i._gsap||$.core.getCache(i),a=xe();if(!s._isScrollT||a-s._isScrollT&gt;2e3){for(;i&amp;&amp;i!==X&amp;&amp;(i.scrollHeight&lt;=i.clientHeight&amp;&amp;i.scrollWidth&lt;=i.clientWidth||!hn[(t=pt(i)).overflowY]&amp;&amp;!hn[t.overflowX]);)i=i.parentNode;s._isScroll=i&amp;&amp;i!==r&amp;&amp;!Ge(i)&amp;&amp;(hn[(t=pt(i)).overflowY]||hn[t.overflowX]),s._isScrollT=a}(s._isScroll||"x"===o)&amp;&amp;(n.stopPropagation(),n._gsapAllow=!0)},mn=function(e,t,n,r){return B.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&amp;&amp;fn,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&amp;&amp;bt(z,B.eventTypes[0],vn,!1,!0)},onDisable:function(){return wt(z,B.eventTypes[0],vn,!0)}})},gn=/(input|label|select|textarea)/i,vn=function(e){var t=gn.test(e.target.tagName);(t||un)&amp;&amp;(e._gsapAllow=!0,un=t)},yn=function(e){Ke(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,r,o,i,s,a,l,c=e,u=c.normalizeScrollX,d=c.momentum,p=c.allowNestedScroll,h=c.onRelease,f=D(e.target)||V,m=$.core.globals().ScrollSmoother,g=m&amp;&amp;m.get(),v=fe&amp;&amp;(e.content&amp;&amp;D(e.content)||g&amp;&amp;!1!==e.content&amp;&amp;!g.smooth()&amp;&amp;g.content()),y=R(f,N),b=R(f,P),S=1,_=(B.isTouch&amp;&amp;U.visualViewport?U.visualViewport.scale*U.visualViewport.width:U.outerWidth)/U.innerWidth,k=0,A=Ve(d)?function(){return d(t)}:function(){return d||2.8},T=mn(f,e.type,!0,p),E=function(){return o=!1},x=Me,C=Me,O=function(){n=We(f,N),C=Q(fe?1:0,n),u&amp;&amp;(x=Q(0,We(f,P))),r=$t},I=function(){v._gsap.y=Fe(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},L=function(){O(),i.isActive()&amp;&amp;i.vars.scrollY&gt;n&amp;&amp;(y()&gt;n?i.progress(1)&amp;&amp;y(n):i.resetTo("scrollY",n))};return v&amp;&amp;$.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return fe&amp;&amp;"touchmove"===e.type&amp;&amp;function(){if(o){requestAnimationFrame(E);var e=Fe(t.deltaY/2),n=C(y.v-e);if(v&amp;&amp;n!==y.v+y.offset){y.offset=n-y.v;var r=Fe((parseFloat(v&amp;&amp;v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",y.cacheID=w.cache,Kt()}return!0}y.offset&amp;&amp;I(),o=!0}()||S&gt;1.05&amp;&amp;"touchstart"!==e.type||t.isGesturing||e.touches&amp;&amp;e.touches.length&gt;1},e.onPress=function(){o=!1;var e=S;S=Fe((U.visualViewport&amp;&amp;U.visualViewport.scale||1)/_),i.pause(),e!==S&amp;&amp;pn(f,S&gt;1.01||!u&amp;&amp;"x"),s=b(),a=y(),O(),r=$t},e.onRelease=e.onGestureStart=function(e,t){if(y.offset&amp;&amp;I(),t){w.cache++;var r,o,s=A();u&amp;&amp;(o=(r=b())+.05*s*-e.velocityX/.227,s*=dn(b,r,o,We(f,P)),i.vars.scrollX=x(o)),o=(r=y())+.05*s*-e.velocityY/.227,s*=dn(y,r,o,We(f,N)),i.vars.scrollY=C(o),i.invalidate().duration(s).play(.01),(fe&amp;&amp;i.vars.scrollY&gt;=n||r&gt;=n-1)&amp;&amp;$.to({},{onUpdate:L,duration:s})}else l.restart(!0);h&amp;&amp;h(e)},e.onWheel=function(){i._ts&amp;&amp;i.pause(),xe()-k&gt;1e3&amp;&amp;(r=0,k=xe())},e.onChange=function(e,t,n,o,i){if($t!==r&amp;&amp;O(),t&amp;&amp;u&amp;&amp;b(x(o[2]===t?s+(e.startX-e.x):b()+t-o[1])),n){y.offset&amp;&amp;I();var l=i[2]===n,c=l?a+e.startY-e.y:y()+n-i[1],d=C(c);l&amp;&amp;c!==d&amp;&amp;(a+=d-c),y(d)}(n||t)&amp;&amp;Kt()},e.onEnable=function(){pn(f,!u&amp;&amp;"x"),cn.addEventListener("refresh",L),bt(U,"resize",L),y.smooth&amp;&amp;(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),T.enable()},e.onDisable=function(){pn(f,!0),wt(U,"resize",L),cn.removeEventListener("refresh",L),T.kill()},e.lockAxis=!1!==e.lockAxis,(t=new B(e)).iOS=fe,fe&amp;&amp;!y()&amp;&amp;y(1),fe&amp;&amp;$.ticker.add(Me),l=t._dc,i=$.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:sn(y,y(),(function(){return i.pause()}))},onUpdate:Kt,onComplete:l.vars.onComplete}),t};cn.sort=function(e){return Ct.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},cn.observe=function(e){return new B(e)},cn.normalizeScroll=function(e){if(void 0===e)return ue;if(!0===e&amp;&amp;ue)return ue.enable();if(!1===e)return ue&amp;&amp;ue.kill(),void(ue=e);var t=e instanceof B?e:yn(e);return ue&amp;&amp;ue.target===t.target&amp;&amp;ue.kill(),Ge(t.target)&amp;&amp;(ue=t),t},cn.core={_getVelocityProp:M,_inputObserver:mn,_scrollers:w,_proxies:S,bridge:{ss:function(){Oe||Ft("scrollStart"),Oe=xe()},ref:function(){return ee}}},je()&amp;&amp;$.registerPlugin(cn)},85880:(e,t,n)=&gt;{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,{Ay:()=&gt;Yr,os:()=&gt;Yr});var i,s,a,l,c,u,d,p,h,f,m,g,v,y,b,w,S,_={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},k={duration:.5,overwrite:!1,delay:0},A=1e8,T=1e-8,E=2*Math.PI,x=E/4,C=0,O=Math.sqrt,I=Math.cos,L=Math.sin,P=function(e){return"string"==typeof e},N=function(e){return"function"==typeof e},D=function(e){return"number"==typeof e},R=function(e){return void 0===e},M=function(e){return"object"==typeof e},F=function(e){return!1!==e},H=function(){return"undefined"!=typeof window},j=function(e){return N(e)||P(e)},G="function"==typeof ArrayBuffer&amp;&amp;ArrayBuffer.isView||function(){},B=Array.isArray,$=/(?:-?\.?\d|\.)+/gi,W=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,U=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,z=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,V=/[+-]=-?[.\d]+/,X=/[^,'"\[\]\s]+/gi,K=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q={},Y={},Q=function(e){return(Y=Ee(e,q))&amp;&amp;Cn},J=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Z=function(e,t){return!t&amp;&amp;console.warn(e)},ee=function(e,t){return e&amp;&amp;(q[e]=t)&amp;&amp;Y&amp;&amp;(Y[e]=t)||q},te=function(){return 0},ne={suppressEvents:!0,isStart:!0,kill:!1},re={suppressEvents:!0,kill:!1},oe={suppressEvents:!0},ie={},se=[],ae={},le={},ce={},ue=30,de=[],pe="",he=function(e){var t,n,r=e[0];if(M(r)||N(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=de.length;n--&amp;&amp;!de[n].targetTest(r););t=de[n]}for(n=e.length;n--;)e[n]&amp;&amp;(e[n]._gsap||(e[n]._gsap=new Bt(e[n],t)))||e.splice(n,1);return e},fe=function(e){return e._gsap||he(ot(e))[0]._gsap},me=function(e,t,n){return(n=e[t])&amp;&amp;N(n)?e[t]():R(n)&amp;&amp;e.getAttribute&amp;&amp;e.getAttribute(t)||n},ge=function(e,t){return(e=e.split(",")).forEach(t)||e},ve=function(e){return Math.round(1e5*e)/1e5||0},ye=function(e){return Math.round(1e7*e)/1e7||0},be=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},we=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])&lt;0&amp;&amp;++r&lt;n;);return r&lt;n},Se=function(){var e,t,n=se.length,r=se.slice(0);for(ae={},se.length=0,e=0;e&lt;n;e++)(t=r[e])&amp;&amp;t._lazy&amp;&amp;(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},_e=function(e,t,n,r){se.length&amp;&amp;!s&amp;&amp;Se(),e.render(t,n,r||s&amp;&amp;t&lt;0&amp;&amp;(e._initted||e._startAt)),se.length&amp;&amp;!s&amp;&amp;Se()},ke=function(e){var t=parseFloat(e);return(t||0===t)&amp;&amp;(e+"").match(X).length&lt;2?t:P(e)?e.trim():e},Ae=function(e){return e},Te=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ee=function(e,t){for(var n in t)e[n]=t[n];return e},xe=function e(t,n){for(var r in n)"__proto__"!==r&amp;&amp;"constructor"!==r&amp;&amp;"prototype"!==r&amp;&amp;(t[r]=M(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Ce=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},Oe=function(e){var t,n=e.parent||l,r=e.keyframes?(t=B(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&amp;&amp;t||"ease"===r||(e[r]=n[r])}):Te;if(F(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Ie=function(e,t,n,r,o){void 0===n&amp;&amp;(n="_first"),void 0===r&amp;&amp;(r="_last");var i,s=e[r];if(o)for(i=t[o];s&amp;&amp;s[o]&gt;i;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=s,t.parent=t._dp=e,t},Le=function(e,t,n,r){void 0===n&amp;&amp;(n="_first"),void 0===r&amp;&amp;(r="_last");var o=t._prev,i=t._next;o?o._next=i:e[n]===t&amp;&amp;(e[n]=i),i?i._prev=o:e[r]===t&amp;&amp;(e[r]=o),t._next=t._prev=t.parent=null},Pe=function(e,t){e.parent&amp;&amp;(!t||e.parent.autoRemoveChildren)&amp;&amp;e.parent.remove&amp;&amp;e.parent.remove(e),e._act=0},Ne=function(e,t){if(e&amp;&amp;(!t||t._end&gt;e._dur||t._start&lt;0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},De=function(e,t,n,r){return e._startAt&amp;&amp;(s?e._startAt.revert(re):e.vars.immediateRender&amp;&amp;!e.vars.autoRevert||e._startAt.render(t,!0,r))},Re=function e(t){return!t||t._ts&amp;&amp;e(t.parent)},Me=function(e){return e._repeat?Fe(e._tTime,e=e.duration()+e._rDelay)*e:0},Fe=function(e,t){var n=Math.floor(e/=t);return e&amp;&amp;n===e?n-1:n},He=function(e,t){return(e-t._start)*t._ts+(t._ts&gt;=0?0:t._dirty?t.totalDuration():t._tDur)},je=function(e){return e._end=ye(e._start+(e._tDur/Math.abs(e._ts||e._rts||T)||0))},Ge=function(e,t){var n=e._dp;return n&amp;&amp;n.smoothChildTiming&amp;&amp;e._ts&amp;&amp;(e._start=ye(n._time-(e._ts&gt;0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),je(e),n._dirty||Ne(n,e)),e},Be=function(e,t){var n;if((t._time||!t._dur&amp;&amp;t._initted||t._start&lt;e._time&amp;&amp;(t._dur||!t.add))&amp;&amp;(n=He(e.rawTime(),t),(!t._dur||Ze(0,t.totalDuration(),n)-t._tTime&gt;T)&amp;&amp;t.render(n,!0)),Ne(e,t)._dp&amp;&amp;e._initted&amp;&amp;e._time&gt;=e._dur&amp;&amp;e._ts){if(e._dur&lt;e.duration())for(n=e;n._dp;)n.rawTime()&gt;=0&amp;&amp;n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},$e=function(e,t,n,r){return t.parent&amp;&amp;Pe(t),t._start=ye((D(n)?n:n||e!==l?Ye(e,n,t):e._time)+t._delay),t._end=ye(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ie(e,t,"_first","_last",e._sort?"_start":0),Ve(t)||(e._recent=t),r||Be(e,t),e._ts&lt;0&amp;&amp;Ge(e,e._tTime),e},We=function(e,t){return(q.ScrollTrigger||J("scrollTrigger",t))&amp;&amp;q.ScrollTrigger.create(t,e)},Ue=function(e,t,n,r,o){return qt(e,t,o),e._initted?!n&amp;&amp;e._pt&amp;&amp;!s&amp;&amp;(e._dur&amp;&amp;!1!==e.vars.lazy||!e._dur&amp;&amp;e.vars.lazy)&amp;&amp;h!==Ct.frame?(se.push(e),e._lazy=[o,r],1):void 0:1},ze=function e(t){var n=t.parent;return n&amp;&amp;n._ts&amp;&amp;n._initted&amp;&amp;!n._lock&amp;&amp;(n.rawTime()&lt;0||e(n))},Ve=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Xe=function(e,t,n,r){var o=e._repeat,i=ye(t)||0,s=e._tTime/e._tDur;return s&amp;&amp;!r&amp;&amp;(e._time*=i/e._dur),e._dur=i,e._tDur=o?o&lt;0?1e10:ye(i*(o+1)+e._rDelay*o):i,s&gt;0&amp;&amp;!r&amp;&amp;Ge(e,e._tTime=e._tDur*s),e.parent&amp;&amp;je(e),n||Ne(e.parent,e),e},Ke=function(e){return e instanceof Wt?Ne(e):Xe(e,e._dur)},qe={_start:0,endTime:te,totalDuration:te},Ye=function e(t,n,r){var o,i,s,a=t.labels,l=t._recent||qe,c=t.duration()&gt;=A?l.endTime(!1):t._dur;return P(n)&amp;&amp;(isNaN(n)||n in a)?(i=n.charAt(0),s="%"===n.substr(-1),o=n.indexOf("="),"&lt;"===i||"&gt;"===i?(o&gt;=0&amp;&amp;(n=n.replace(/=/,"")),("&lt;"===i?l._start:l.endTime(l._repeat&gt;=0))+(parseFloat(n.substr(1))||0)*(s?(o&lt;0?l:r).totalDuration()/100:1)):o&lt;0?(n in a||(a[n]=c),a[n]):(i=parseFloat(n.charAt(o-1)+n.substr(o+1)),s&amp;&amp;r&amp;&amp;(i=i/100*(B(r)?r[0]:r).totalDuration()),o&gt;1?e(t,n.substr(0,o-1),r)+i:c+i)):null==n?c:+n},Qe=function(e,t,n){var r,o,i=D(t[1]),s=(i?2:1)+(e&lt;2?0:1),a=t[s];if(i&amp;&amp;(a.duration=t[1]),a.parent=n,e){for(r=a,o=n;o&amp;&amp;!("immediateRender"in r);)r=o.vars.defaults||{},o=F(o.vars.inherit)&amp;&amp;o.parent;a.immediateRender=F(r.immediateRender),e&lt;2?a.runBackwards=1:a.startAt=t[s-1]}return new en(t[0],a,t[s+1])},Je=function(e,t){return e||0===e?t(e):t},Ze=function(e,t,n){return n&lt;e?e:n&gt;t?t:n},et=function(e,t){return P(e)&amp;&amp;(t=K.exec(e))?t[1]:""},tt=[].slice,nt=function(e,t){return e&amp;&amp;M(e)&amp;&amp;"length"in e&amp;&amp;(!t&amp;&amp;!e.length||e.length-1 in e&amp;&amp;M(e[0]))&amp;&amp;!e.nodeType&amp;&amp;e!==c},rt=function(e,t,n){return void 0===n&amp;&amp;(n=[]),e.forEach((function(e){var r;return P(e)&amp;&amp;!t||nt(e,1)?(r=n).push.apply(r,ot(e)):n.push(e)}))||n},ot=function(e,t,n){return a&amp;&amp;!t&amp;&amp;a.selector?a.selector(e):!P(e)||n||!u&amp;&amp;Ot()?B(e)?rt(e,n):nt(e)?tt.call(e,0):e?[e]:[]:tt.call((t||d).querySelectorAll(e),0)},it=function(e){return e=ot(e)[0]||Z("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return ot(t,n.querySelectorAll?n:n===e?Z("Invalid scope")||d.createElement("div"):e)}},st=function(e){return e.sort((function(){return.5-Math.random()}))},at=function(e){if(N(e))return e;var t=M(e)?e:{each:e},n=Mt(t.ease),r=t.from||0,o=parseFloat(t.base)||0,i={},s=r&gt;0&amp;&amp;r&lt;1,a=isNaN(r)||s,l=t.axis,c=r,u=r;return P(r)?c=u={center:.5,edges:.5,end:1}[r]||0:!s&amp;&amp;a&amp;&amp;(c=r[0],u=r[1]),function(e,s,d){var p,h,f,m,g,v,y,b,w,S=(d||t).length,_=i[S];if(!_){if(!(w="auto"===t.grid?0:(t.grid||[1,A])[1])){for(y=-A;y&lt;(y=d[w++].getBoundingClientRect().left)&amp;&amp;w&lt;S;);w&lt;S&amp;&amp;w--}for(_=i[S]=[],p=a?Math.min(w,S)*c-.5:r%w,h=w===A?0:a?S*u/w-.5:r/w|0,y=0,b=A,v=0;v&lt;S;v++)f=v%w-p,m=h-(v/w|0),_[v]=g=l?Math.abs("y"===l?m:f):O(f*f+m*m),g&gt;y&amp;&amp;(y=g),g&lt;b&amp;&amp;(b=g);"random"===r&amp;&amp;st(_),_.max=y-b,_.min=b,_.v=S=(parseFloat(t.amount)||parseFloat(t.each)*(w&gt;S?S-1:l?"y"===l?S/w:w:Math.max(w,S/w))||0)*("edges"===r?-1:1),_.b=S&lt;0?o-S:o,_.u=et(t.amount||t.each)||0,n=n&amp;&amp;S&lt;0?Dt(n):n}return S=(_[e]-_.min)/_.max||0,ye(_.b+(n?n(S):S)*_.v)+_.u}},lt=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=ye(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(D(n)?0:et(n))}},ct=function(e,t){var n,r,o=B(e);return!o&amp;&amp;M(e)&amp;&amp;(n=o=e.radius||A,e.values?(e=ot(e.values),(r=!D(e[0]))&amp;&amp;(n*=n)):e=lt(e.increment)),Je(t,o?N(e)?function(t){return r=e(t),Math.abs(r-t)&lt;=n?r:t}:function(t){for(var o,i,s=parseFloat(r?t.x:t),a=parseFloat(r?t.y:0),l=A,c=0,u=e.length;u--;)(o=r?(o=e[u].x-s)*o+(i=e[u].y-a)*i:Math.abs(e[u]-s))&lt;l&amp;&amp;(l=o,c=u);return c=!n||l&lt;=n?e[c]:t,r||c===t||D(t)?c:c+et(t)}:lt(e))},ut=function(e,t,n,r){return Je(B(e)?!t:!0===n?!!(n=0):!r,(function(){return B(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&amp;&amp;(r=n&lt;1?Math.pow(10,(n+"").length-2):1)&amp;&amp;Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r}))},dt=function(e,t,n){return Je(n,(function(n){return e[~~t(n)]}))},pt=function(e){for(var t,n,r,o,i=0,s="";~(t=e.indexOf("random(",i));)r=e.indexOf(")",t),o="["===e.charAt(t+7),n=e.substr(t+7,r-t-7).match(o?X:$),s+=e.substr(i,t-i)+ut(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),i=r+1;return s+e.substr(i,e.length-i)},ht=function(e,t,n,r,o){var i=t-e,s=r-n;return Je(o,(function(t){return n+((t-e)/i*s||0)}))},ft=function(e,t,n){var r,o,i,s=e.labels,a=A;for(r in s)(o=s[r]-t)&lt;0==!!n&amp;&amp;o&amp;&amp;a&gt;(o=Math.abs(o))&amp;&amp;(i=r,a=o);return i},mt=function(e,t,n){var r,o,i,s=e.vars,l=s[t],c=a,u=e._ctx;if(l)return r=s[t+"Params"],o=s.callbackScope||e,n&amp;&amp;se.length&amp;&amp;Se(),u&amp;&amp;(a=u),i=r?l.apply(o,r):l.call(o),a=c,i},gt=function(e){return Pe(e),e.scrollTrigger&amp;&amp;e.scrollTrigger.kill(!!s),e.progress()&lt;1&amp;&amp;mt(e,"onInterrupt"),e},vt=[],yt=function(e){if(e)if(e=!e.name&amp;&amp;e.default||e,H()||e.headless){var t=e.name,n=N(e),r=t&amp;&amp;!n&amp;&amp;e.init?function(){this._props=[]}:e,o={init:te,render:un,add:Xt,kill:pn,modifier:dn,rawVars:0},i={targetTest:0,get:0,getSetter:sn,aliases:{},register:0};if(Ot(),e!==r){if(le[t])return;Te(r,Te(Ce(e,o),i)),Ee(r.prototype,Ee(o,Ce(e,i))),le[r.prop=t]=r,e.targetTest&amp;&amp;(de.push(r),ie[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ee(t,r),e.register&amp;&amp;e.register(Cn,r,mn)}else vt.push(e)},bt=255,wt={aqua:[0,bt,bt],lime:[0,bt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,bt],navy:[0,0,128],white:[bt,bt,bt],olive:[128,128,0],yellow:[bt,bt,0],orange:[bt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[bt,0,0],pink:[bt,192,203],cyan:[0,bt,bt],transparent:[bt,bt,bt,0]},St=function(e,t,n){return(6*(e+=e&lt;0?1:e&gt;1?-1:0)&lt;1?t+(n-t)*e*6:e&lt;.5?n:3*e&lt;2?t+(n-t)*(2/3-e)*6:t)*bt+.5|0},_t=function(e,t,n){var r,o,i,s,a,l,c,u,d,p,h=e?D(e)?[e&gt;&gt;16,e&gt;&gt;8&amp;bt,e&amp;bt]:0:wt.black;if(!h){if(","===e.substr(-1)&amp;&amp;(e=e.substr(0,e.length-1)),wt[e])h=wt[e];else if("#"===e.charAt(0)){if(e.length&lt;6&amp;&amp;(r=e.charAt(1),o=e.charAt(2),i=e.charAt(3),e="#"+r+r+o+o+i+i+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(h=parseInt(e.substr(1,6),16))&gt;&gt;16,h&gt;&gt;8&amp;bt,h&amp;bt,parseInt(e.substr(7),16)/255];h=[(e=parseInt(e.substr(1),16))&gt;&gt;16,e&gt;&gt;8&amp;bt,e&amp;bt]}else if("hsl"===e.substr(0,3))if(h=p=e.match($),t){if(~e.indexOf("="))return h=e.match(W),n&amp;&amp;h.length&lt;4&amp;&amp;(h[3]=1),h}else s=+h[0]%360/360,a=+h[1]/100,r=2*(l=+h[2]/100)-(o=l&lt;=.5?l*(a+1):l+a-l*a),h.length&gt;3&amp;&amp;(h[3]*=1),h[0]=St(s+1/3,r,o),h[1]=St(s,r,o),h[2]=St(s-1/3,r,o);else h=e.match($)||wt.transparent;h=h.map(Number)}return t&amp;&amp;!p&amp;&amp;(r=h[0]/bt,o=h[1]/bt,i=h[2]/bt,l=((c=Math.max(r,o,i))+(u=Math.min(r,o,i)))/2,c===u?s=a=0:(d=c-u,a=l&gt;.5?d/(2-c-u):d/(c+u),s=c===r?(o-i)/d+(o&lt;i?6:0):c===o?(i-r)/d+2:(r-o)/d+4,s*=60),h[0]=~~(s+.5),h[1]=~~(100*a+.5),h[2]=~~(100*l+.5)),n&amp;&amp;h.length&lt;4&amp;&amp;(h[3]=1),h},kt=function(e){var t=[],n=[],r=-1;return e.split(Tt).forEach((function(e){var o=e.match(U)||[];t.push.apply(t,o),n.push(r+=o.length+1)})),t.c=n,t},At=function(e,t,n){var r,o,i,s,a="",l=(e+a).match(Tt),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map((function(e){return(e=_t(e,t,1))&amp;&amp;c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&amp;&amp;(i=kt(e),(r=n.c).join(a)!==i.c.join(a)))for(s=(o=e.replace(Tt,"1").split(U)).length-1;u&lt;s;u++)a+=o[u]+(~r.indexOf(u)?l.shift()||c+"0,0,0,0)":(i.length?i:l.length?l:n).shift());if(!o)for(s=(o=e.split(Tt)).length-1;u&lt;s;u++)a+=o[u]+l[u];return a+o[s]},Tt=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in wt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Et=/hsl[a]?\(/,xt=function(e){var t,n=e.join(" ");if(Tt.lastIndex=0,Tt.test(n))return t=Et.test(n),e[1]=At(e[1],t),e[0]=At(e[0],t,kt(e[1])),!0},Ct=function(){var e,t,n,r,o,i,s=Date.now,a=500,l=33,h=s(),f=h,g=1e3/240,v=g,y=[],b=function n(c){var u,d,p,m,b=s()-f,w=!0===c;if((b&gt;a||b&lt;0)&amp;&amp;(h+=b-l),((u=(p=(f+=b)-h)-v)&gt;0||w)&amp;&amp;(m=++r.frame,o=p-1e3*r.time,r.time=p/=1e3,v+=u+(u&gt;=g?4:g-u),d=1),w||(e=t(n)),d)for(i=0;i&lt;y.length;i++)y[i](p,o,m,c)};return r={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(e){return o/(1e3/(e||60))},wake:function(){p&amp;&amp;(!u&amp;&amp;H()&amp;&amp;(c=u=window,d=c.document||{},q.gsap=Cn,(c.gsapVersions||(c.gsapVersions=[])).push(Cn.version),Q(Y||c.GreenSockGlobals||!c.gsap&amp;&amp;c||{}),vt.forEach(yt)),n="undefined"!=typeof requestAnimationFrame&amp;&amp;requestAnimationFrame,e&amp;&amp;r.sleep(),t=n||function(e){return setTimeout(e,v-1e3*r.time+1|0)},m=1,b(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),m=0,t=te},lagSmoothing:function(e,t){a=e||1/0,l=Math.min(t||33,a)},fps:function(e){g=1e3/(e||240),v=1e3*r.time+g},add:function(e,t,n){var o=t?function(t,n,i,s){e(t,n,i,s),r.remove(o)}:e;return r.remove(e),y[n?"unshift":"push"](o),Ot(),o},remove:function(e,t){~(t=y.indexOf(e))&amp;&amp;y.splice(t,1)&amp;&amp;i&gt;=t&amp;&amp;i--},_listeners:y}}(),Ot=function(){return!m&amp;&amp;Ct.wake()},It={},Lt=/^[\d.\-M][\d.\-,\s]/,Pt=/["']/g,Nt=function(e){for(var t,n,r,o={},i=e.substr(1,e.length-3).split(":"),s=i[0],a=1,l=i.length;a&lt;l;a++)n=i[a],t=a!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),o[s]=isNaN(r)?r.replace(Pt,"").trim():+r,s=n.substr(t+1).trim();return o},Dt=function(e){return function(t){return 1-e(1-t)}},Rt=function e(t,n){for(var r,o=t._first;o;)o instanceof Wt?e(o,n):!o.vars.yoyoEase||o._yoyo&amp;&amp;o._repeat||o._yoyo===n||(o.timeline?e(o.timeline,n):(r=o._ease,o._ease=o._yEase,o._yEase=r,o._yoyo=n)),o=o._next},Mt=function(e,t){return e&amp;&amp;(N(e)?e:It[e]||function(e){var t,n,r,o,i=(e+"").split("("),s=It[i[0]];return s&amp;&amp;i.length&gt;1&amp;&amp;s.config?s.config.apply(null,~e.indexOf("{")?[Nt(i[1])]:(t=e,n=t.indexOf("(")+1,r=t.indexOf(")"),o=t.indexOf("(",n),t.substring(n,~o&amp;&amp;o&lt;r?t.indexOf(")",r+1):r)).split(",").map(ke)):It._CE&amp;&amp;Lt.test(e)?It._CE("",e):s}(e))||t},Ft=function(e,t,n,r){void 0===n&amp;&amp;(n=function(e){return 1-t(1-e)}),void 0===r&amp;&amp;(r=function(e){return e&lt;.5?t(2*e)/2:1-t(2*(1-e))/2});var o,i={easeIn:t,easeOut:n,easeInOut:r};return ge(e,(function(e){for(var t in It[e]=q[e]=i,It[o=e.toLowerCase()]=n,i)It[o+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=It[e+"."+t]=i[t]})),i},Ht=function(e){return function(t){return t&lt;.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},jt=function e(t,n,r){var o=n&gt;=1?n:1,i=(r||(t?.3:.45))/(n&lt;1?n:1),s=i/E*(Math.asin(1/o)||0),a=function(e){return 1===e?1:o*Math.pow(2,-10*e)*L((e-s)*i)+1},l="out"===t?a:"in"===t?function(e){return 1-a(1-e)}:Ht(a);return i=E/i,l.config=function(n,r){return e(t,n,r)},l},Gt=function e(t,n){void 0===n&amp;&amp;(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},o="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:Ht(r);return o.config=function(n){return e(t,n)},o};ge("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t&lt;5?t+1:t;Ft(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e&lt;.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),It.Linear.easeNone=It.none=It.Linear.easeIn,Ft("Elastic",jt("in"),jt("out"),jt()),g=7.5625,b=2*(y=1/(v=2.75)),w=2.5*y,Ft("Bounce",(function(e){return 1-S(1-e)}),S=function(e){return e&lt;y?g*e*e:e&lt;b?g*Math.pow(e-1.5/v,2)+.75:e&lt;w?g*(e-=2.25/v)*e+.9375:g*Math.pow(e-2.625/v,2)+.984375}),Ft("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),Ft("Circ",(function(e){return-(O(1-e*e)-1)})),Ft("Sine",(function(e){return 1===e?1:1-I(e*x)})),Ft("Back",Gt("in"),Gt("out"),Gt()),It.SteppedEase=It.steps=q.SteppedEase={config:function(e,t){void 0===e&amp;&amp;(e=1);var n=1/e,r=e+(t?0:1),o=t?1:0;return function(e){return((r*Ze(0,.99999999,e)|0)+o)*n}}},k.ease=It["quad.out"],ge("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return pe+=e+","+e+"Params,"}));var Bt=function(e,t){this.id=C++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:me,this.set=t?t.getSetter:sn},$t=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&amp;&amp;(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Xe(this,+e.duration,1,1),this.data=e.data,a&amp;&amp;(this._ctx=a,a.data.push(this)),m||Ct.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&amp;&amp;this.parent.smoothChildTiming&amp;&amp;this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat&gt;0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&amp;&amp;this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Xe(this,this._repeat&lt;0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ot(),!arguments.length)return this._tTime;var n=this._dp;if(n&amp;&amp;n.smoothChildTiming&amp;&amp;this._ts){for(Ge(this,e),!n._dp||n.parent||Be(n,this);n&amp;&amp;n.parent;)n.parent._time!==n._start+(n._ts&gt;=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&amp;&amp;n.totalTime(n._tTime,!0),n=n.parent;!this.parent&amp;&amp;this._dp.autoRemoveChildren&amp;&amp;(this._ts&gt;0&amp;&amp;e&lt;this._tDur||this._ts&lt;0&amp;&amp;e&gt;0||!this._tDur&amp;&amp;!e)&amp;&amp;$e(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&amp;&amp;!t||this._initted&amp;&amp;Math.abs(this._zTime)===T||!e&amp;&amp;!this._initted&amp;&amp;(this.add||this._ptLookup))&amp;&amp;(this._ts||(this._pTime=e),_e(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Me(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()&gt;0?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&amp;this.iteration()?e:1-e)+Me(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()&gt;0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Fe(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&amp;&amp;this._ts?He(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Ze(-Math.abs(this._delay),this._tDur,n),!1!==t),je(this),function(e){for(var t=e.parent;t&amp;&amp;t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&amp;&amp;(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ot(),this._ts=this._rts,this.totalTime(this.parent&amp;&amp;!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&amp;&amp;Math.abs(this._zTime)!==T&amp;&amp;(this._tTime-=T)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&amp;&amp;(t._sort||!this.parent)&amp;&amp;$e(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(F(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&amp;&amp;(!this._ts||this._repeat&amp;&amp;this._time&amp;&amp;this.totalProgress()&lt;1)?this._tTime%(this._dur+this._rDelay):this._ts?He(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&amp;&amp;(e=oe);var t=s;return s=e,(this._initted||this._startAt)&amp;&amp;(this.timeline&amp;&amp;this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&amp;&amp;!1!==e.kill&amp;&amp;this.kill(),s=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&amp;&amp;this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Ke(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Ke(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Ye(this,e),F(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,F(t))},t.play=function(e,t){return null!=e&amp;&amp;this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&amp;&amp;this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&amp;&amp;this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&amp;&amp;this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts&lt;0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&amp;&amp;!(this._ts&amp;&amp;this._initted&amp;&amp;t.isActive()&amp;&amp;(e=t.rawTime(!0))&gt;=n&amp;&amp;e&lt;this.endTime(!0)-T))},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length&gt;1?(t?(r[e]=t,n&amp;&amp;(r[e+"Params"]=n),"onUpdate"===e&amp;&amp;(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise((function(n){var r=N(e)?e:Ae,o=function(){var e=t.then;t.then=null,N(r)&amp;&amp;(r=r(t))&amp;&amp;(r.then||r===t)&amp;&amp;(t.then=e),n(r),t.then=e};t._initted&amp;&amp;1===t.totalProgress()&amp;&amp;t._ts&gt;=0||!t._tTime&amp;&amp;t._ts&lt;0?o():t._prom=o}))},t.kill=function(){gt(this)},e}();Te($t.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Wt=function(e){function t(t,n){var o;return void 0===t&amp;&amp;(t={}),(o=e.call(this,t)||this).labels={},o.smoothChildTiming=!!t.smoothChildTiming,o.autoRemoveChildren=!!t.autoRemoveChildren,o._sort=F(t.sortChildren),l&amp;&amp;$e(t.parent||l,r(o),n),t.reversed&amp;&amp;o.reverse(),t.paused&amp;&amp;o.paused(!0),t.scrollTrigger&amp;&amp;We(r(o),t.scrollTrigger),o}o(t,e);var n=t.prototype;return n.to=function(e,t,n){return Qe(0,arguments,this),this},n.from=function(e,t,n){return Qe(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Qe(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Oe(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new en(e,t,Ye(this,n),1),this},n.call=function(e,t,n){return $e(this,en.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,o,i,s){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=i,n.onCompleteParams=s,n.parent=this,new en(e,n,Ye(this,o)),this},n.staggerFrom=function(e,t,n,r,o,i,s){return n.runBackwards=1,Oe(n).immediateRender=F(n.immediateRender),this.staggerTo(e,t,n,r,o,i,s)},n.staggerFromTo=function(e,t,n,r,o,i,s,a){return r.startAt=n,Oe(r).immediateRender=F(r.immediateRender),this.staggerTo(e,t,r,o,i,s,a)},n.render=function(e,t,n){var r,o,i,a,c,u,d,p,h,f,m,g,v=this._time,y=this._dirty?this.totalDuration():this._tDur,b=this._dur,w=e&lt;=0?0:ye(e),S=this._zTime&lt;0!=e&lt;0&amp;&amp;(this._initted||!b);if(this!==l&amp;&amp;w&gt;y&amp;&amp;e&gt;=0&amp;&amp;(w=y),w!==this._tTime||n||S){if(v!==this._time&amp;&amp;b&amp;&amp;(w+=this._time-v,e+=this._time-v),r=w,h=this._start,u=!(p=this._ts),S&amp;&amp;(b||(v=this._zTime),(e||!t)&amp;&amp;(this._zTime=e)),this._repeat){if(m=this._yoyo,c=b+this._rDelay,this._repeat&lt;-1&amp;&amp;e&lt;0)return this.totalTime(100*c+e,t,n);if(r=ye(w%c),w===y?(a=this._repeat,r=b):((a=~~(w/c))&amp;&amp;a===w/c&amp;&amp;(r=b,a--),r&gt;b&amp;&amp;(r=b)),f=Fe(this._tTime,c),!v&amp;&amp;this._tTime&amp;&amp;f!==a&amp;&amp;this._tTime-f*c-this._dur&lt;=0&amp;&amp;(f=a),m&amp;&amp;1&amp;a&amp;&amp;(r=b-r,g=1),a!==f&amp;&amp;!this._lock){var _=m&amp;&amp;1&amp;f,k=_===(m&amp;&amp;1&amp;a);if(a&lt;f&amp;&amp;(_=!_),v=_?0:w%b?b:w,this._lock=1,this.render(v||(g?0:ye(a*c)),t,!b)._lock=0,this._tTime=w,!t&amp;&amp;this.parent&amp;&amp;mt(this,"onRepeat"),this.vars.repeatRefresh&amp;&amp;!g&amp;&amp;(this.invalidate()._lock=1),v&amp;&amp;v!==this._time||u!==!this._ts||this.vars.onRepeat&amp;&amp;!this.parent&amp;&amp;!this._act)return this;if(b=this._dur,y=this._tDur,k&amp;&amp;(this._lock=2,v=_?b:-1e-4,this.render(v,!0),this.vars.repeatRefresh&amp;&amp;!g&amp;&amp;this.invalidate()),this._lock=0,!this._ts&amp;&amp;!u)return this;Rt(this,g)}}if(this._hasPause&amp;&amp;!this._forcing&amp;&amp;this._lock&lt;2&amp;&amp;(d=function(e,t,n){var r;if(n&gt;t)for(r=e._first;r&amp;&amp;r._start&lt;=n;){if("isPause"===r.data&amp;&amp;r._start&gt;t)return r;r=r._next}else for(r=e._last;r&amp;&amp;r._start&gt;=n;){if("isPause"===r.data&amp;&amp;r._start&lt;t)return r;r=r._prev}}(this,ye(v),ye(r)),d&amp;&amp;(w-=r-(r=d._start))),this._tTime=w,this._time=r,this._act=!p,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,v=0),!v&amp;&amp;r&amp;&amp;!t&amp;&amp;!a&amp;&amp;(mt(this,"onStart"),this._tTime!==w))return this;if(r&gt;=v&amp;&amp;e&gt;=0)for(o=this._first;o;){if(i=o._next,(o._act||r&gt;=o._start)&amp;&amp;o._ts&amp;&amp;d!==o){if(o.parent!==this)return this.render(e,t,n);if(o.render(o._ts&gt;0?(r-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(r-o._start)*o._ts,t,n),r!==this._time||!this._ts&amp;&amp;!u){d=0,i&amp;&amp;(w+=this._zTime=-1e-8);break}}o=i}else{o=this._last;for(var A=e&lt;0?e:r;o;){if(i=o._prev,(o._act||A&lt;=o._end)&amp;&amp;o._ts&amp;&amp;d!==o){if(o.parent!==this)return this.render(e,t,n);if(o.render(o._ts&gt;0?(A-o._start)*o._ts:(o._dirty?o.totalDuration():o._tDur)+(A-o._start)*o._ts,t,n||s&amp;&amp;(o._initted||o._startAt)),r!==this._time||!this._ts&amp;&amp;!u){d=0,i&amp;&amp;(w+=this._zTime=A?-1e-8:T);break}}o=i}}if(d&amp;&amp;!t&amp;&amp;(this.pause(),d.render(r&gt;=v?0:-1e-8)._zTime=r&gt;=v?1:-1,this._ts))return this._start=h,je(this),this.render(e,t,n);this._onUpdate&amp;&amp;!t&amp;&amp;mt(this,"onUpdate",!0),(w===y&amp;&amp;this._tTime&gt;=this.totalDuration()||!w&amp;&amp;v)&amp;&amp;(h!==this._start&amp;&amp;Math.abs(p)===Math.abs(this._ts)||this._lock||((e||!b)&amp;&amp;(w===y&amp;&amp;this._ts&gt;0||!w&amp;&amp;this._ts&lt;0)&amp;&amp;Pe(this,1),t||e&lt;0&amp;&amp;!v||!w&amp;&amp;!v&amp;&amp;y||(mt(this,w===y&amp;&amp;e&gt;=0?"onComplete":"onReverseComplete",!0),this._prom&amp;&amp;!(w&lt;y&amp;&amp;this.timeScale()&gt;0)&amp;&amp;this._prom())))}return this},n.add=function(e,t){var n=this;if(D(t)||(t=Ye(this,t,e)),!(e instanceof $t)){if(B(e))return e.forEach((function(e){return n.add(e,t)})),this;if(P(e))return this.addLabel(e,t);if(!N(e))return this;e=en.delayedCall(0,e)}return this!==e?$e(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&amp;&amp;(e=!0),void 0===t&amp;&amp;(t=!0),void 0===n&amp;&amp;(n=!0),void 0===r&amp;&amp;(r=-A);for(var o=[],i=this._first;i;)i._start&gt;=r&amp;&amp;(i instanceof en?t&amp;&amp;o.push(i):(n&amp;&amp;o.push(i),e&amp;&amp;o.push.apply(o,i.getChildren(!0,t,n)))),i=i._next;return o},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return P(e)?this.removeLabel(e):N(e)?this.killTweensOf(e):(Le(this,e),e===this._recent&amp;&amp;(this._recent=this._last),Ne(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&amp;&amp;this._ts&amp;&amp;(this._start=ye(Ct.time-(this._ts&gt;0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Ye(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=en.delayedCall(0,t||te,n);return r.data="isPause",this._hasPause=1,$e(this,r,Ye(this,e))},n.removePause=function(e){var t=this._first;for(e=Ye(this,e);t;)t._start===e&amp;&amp;"isPause"===t.data&amp;&amp;Pe(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),o=r.length;o--;)Ut!==r[o]&amp;&amp;r[o].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],o=ot(e),i=this._first,s=D(t);i;)i instanceof en?we(i._targets,o)&amp;&amp;(s?(!Ut||i._initted&amp;&amp;i._ts)&amp;&amp;i.globalTime(0)&lt;=t&amp;&amp;i.globalTime(i.totalDuration())&gt;t:!t||i.isActive())&amp;&amp;r.push(i):(n=i.getTweensOf(o,t)).length&amp;&amp;r.push.apply(r,n),i=i._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,o=Ye(r,e),i=t,s=i.startAt,a=i.onStart,l=i.onStartParams,c=i.immediateRender,u=en.to(r,Te({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:t.duration||Math.abs((o-(s&amp;&amp;"time"in s?s.time:r._time))/r.timeScale())||T,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((o-(s&amp;&amp;"time"in s?s.time:r._time))/r.timeScale());u._dur!==e&amp;&amp;Xe(u,e,0,1).render(u._time,!0,!0),n=1}a&amp;&amp;a.apply(u,l||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Te({startAt:{time:Ye(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&amp;&amp;(e=this._time),ft(this,Ye(this,e))},n.previousLabel=function(e){return void 0===e&amp;&amp;(e=this._time),ft(this,Ye(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+T)},n.shiftChildren=function(e,t,n){void 0===n&amp;&amp;(n=0);for(var r,o=this._first,i=this.labels;o;)o._start&gt;=n&amp;&amp;(o._start+=e,o._end+=e),o=o._next;if(t)for(r in i)i[r]&gt;=n&amp;&amp;(i[r]+=e);return Ne(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&amp;&amp;(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&amp;&amp;(this._time=this._tTime=this._pTime=0),e&amp;&amp;(this.labels={}),Ne(this)},n.totalDuration=function(e){var t,n,r,o=0,i=this,s=i._last,a=A;if(arguments.length)return i.timeScale((i._repeat&lt;0?i.duration():i.totalDuration())/(i.reversed()?-e:e));if(i._dirty){for(r=i.parent;s;)t=s._prev,s._dirty&amp;&amp;s.totalDuration(),(n=s._start)&gt;a&amp;&amp;i._sort&amp;&amp;s._ts&amp;&amp;!i._lock?(i._lock=1,$e(i,s,n-s._delay,1)._lock=0):a=n,n&lt;0&amp;&amp;s._ts&amp;&amp;(o-=n,(!r&amp;&amp;!i._dp||r&amp;&amp;r.smoothChildTiming)&amp;&amp;(i._start+=n/i._ts,i._time-=n,i._tTime-=n),i.shiftChildren(-n,!1,-Infinity),a=0),s._end&gt;o&amp;&amp;s._ts&amp;&amp;(o=s._end),s=t;Xe(i,i===l&amp;&amp;i._time&gt;o?i._time:o,1,1),i._dirty=0}return i._tDur},t.updateRoot=function(e){if(l._ts&amp;&amp;(_e(l,He(e,l)),h=Ct.frame),Ct.frame&gt;=ue){ue+=_.autoSleep||120;var t=l._first;if((!t||!t._ts)&amp;&amp;_.autoSleep&amp;&amp;Ct._listeners.length&lt;2){for(;t&amp;&amp;!t._ts;)t=t._next;t||Ct.sleep()}}},t}($t);Te(Wt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ut,zt,Vt=function(e,t,n,r,o,i,s){var a,l,c,u,d,p,h,f,m=new mn(this._pt,e,t,0,1,cn,null,o),g=0,v=0;for(m.b=n,m.e=r,n+="",(h=~(r+="").indexOf("random("))&amp;&amp;(r=pt(r)),i&amp;&amp;(i(f=[n,r],e,t),n=f[0],r=f[1]),l=n.match(z)||[];a=z.exec(r);)u=a[0],d=r.substring(g,a.index),c?c=(c+1)%5:"rgba("===d.substr(-5)&amp;&amp;(c=1),u!==l[v++]&amp;&amp;(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:p,c:"="===u.charAt(1)?be(p,u)-p:parseFloat(u)-p,m:c&amp;&amp;c&lt;4?Math.round:0},g=z.lastIndex);return m.c=g&lt;r.length?r.substring(g,r.length):"",m.fp=s,(V.test(r)||h)&amp;&amp;(m.e=0),this._pt=m,m},Xt=function(e,t,n,r,o,i,s,a,l,c){N(r)&amp;&amp;(r=r(o||0,e,i));var u,d=e[t],p="get"!==n?n:N(d)?l?e[t.indexOf("set")||!N(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,h=N(d)?l?rn:nn:tn;if(P(r)&amp;&amp;(~r.indexOf("random(")&amp;&amp;(r=pt(r)),"="===r.charAt(1)&amp;&amp;((u=be(p,r)+(et(p)||0))||0===u)&amp;&amp;(r=u)),!c||p!==r||zt)return isNaN(p*r)||""===r?(!d&amp;&amp;!(t in e)&amp;&amp;J(t,r),Vt.call(this,e,t,p,r,h,a||_.stringFilter,l)):(u=new mn(this._pt,e,t,+p||0,r-(p||0),"boolean"==typeof d?ln:an,0,h),l&amp;&amp;(u.fp=l),s&amp;&amp;u.modifier(s,this,e),this._pt=u)},Kt=function(e,t,n,r,o,i){var s,a,l,c;if(le[e]&amp;&amp;!1!==(s=new le[e]).init(o,s.rawVars?t[e]:function(e,t,n,r,o){if(N(e)&amp;&amp;(e=Qt(e,o,t,n,r)),!M(e)||e.style&amp;&amp;e.nodeType||B(e)||G(e))return P(e)?Qt(e,o,t,n,r):e;var i,s={};for(i in e)s[i]=Qt(e[i],o,t,n,r);return s}(t[e],r,o,i,n),n,r,i)&amp;&amp;(n._pt=a=new mn(n._pt,o,e,0,1,s.render,s,0,s.priority),n!==f))for(l=n._ptLookup[n._targets.indexOf(o)],c=s._props.length;c--;)l[s._props[c]]=a;return s},qt=function e(t,n,r){var o,a,c,u,d,p,h,f,m,g,v,y,b,w=t.vars,S=w.ease,_=w.startAt,E=w.immediateRender,x=w.lazy,C=w.onUpdate,O=w.runBackwards,I=w.yoyoEase,L=w.keyframes,P=w.autoRevert,N=t._dur,D=t._startAt,R=t._targets,M=t.parent,H=M&amp;&amp;"nested"===M.data?M.vars.targets:R,j="auto"===t._overwrite&amp;&amp;!i,G=t.timeline;if(G&amp;&amp;(!L||!S)&amp;&amp;(S="none"),t._ease=Mt(S,k.ease),t._yEase=I?Dt(Mt(!0===I?S:I,k.ease)):0,I&amp;&amp;t._yoyo&amp;&amp;!t._repeat&amp;&amp;(I=t._yEase,t._yEase=t._ease,t._ease=I),t._from=!G&amp;&amp;!!w.runBackwards,!G||L&amp;&amp;!w.stagger){if(y=(f=R[0]?fe(R[0]).harness:0)&amp;&amp;w[f.prop],o=Ce(w,ie),D&amp;&amp;(D._zTime&lt;0&amp;&amp;D.progress(1),n&lt;0&amp;&amp;O&amp;&amp;E&amp;&amp;!P?D.render(-1,!0):D.revert(O&amp;&amp;N?re:ne),D._lazy=0),_){if(Pe(t._startAt=en.set(R,Te({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:!D&amp;&amp;F(x),startAt:null,delay:0,onUpdate:C&amp;&amp;function(){return mt(t,"onUpdate")},stagger:0},_))),t._startAt._dp=0,t._startAt._sat=t,n&lt;0&amp;&amp;(s||!E&amp;&amp;!P)&amp;&amp;t._startAt.revert(re),E&amp;&amp;N&amp;&amp;n&lt;=0&amp;&amp;r&lt;=0)return void(n&amp;&amp;(t._zTime=n))}else if(O&amp;&amp;N&amp;&amp;!D)if(n&amp;&amp;(E=!1),c=Te({overwrite:!1,data:"isFromStart",lazy:E&amp;&amp;!D&amp;&amp;F(x),immediateRender:E,stagger:0,parent:M},o),y&amp;&amp;(c[f.prop]=y),Pe(t._startAt=en.set(R,c)),t._startAt._dp=0,t._startAt._sat=t,n&lt;0&amp;&amp;(s?t._startAt.revert(re):t._startAt.render(-1,!0)),t._zTime=n,E){if(!n)return}else e(t._startAt,T,T);for(t._pt=t._ptCache=0,x=N&amp;&amp;F(x)||x&amp;&amp;!N,a=0;a&lt;R.length;a++){if(h=(d=R[a])._gsap||he(R)[a]._gsap,t._ptLookup[a]=g={},ae[h.id]&amp;&amp;se.length&amp;&amp;Se(),v=H===R?a:H.indexOf(d),f&amp;&amp;!1!==(m=new f).init(d,y||o,t,v,H)&amp;&amp;(t._pt=u=new mn(t._pt,d,m.name,0,1,m.render,m,0,m.priority),m._props.forEach((function(e){g[e]=u})),m.priority&amp;&amp;(p=1)),!f||y)for(c in o)le[c]&amp;&amp;(m=Kt(c,o,t,v,d,H))?m.priority&amp;&amp;(p=1):g[c]=u=Xt.call(t,d,c,"get",o[c],v,H,0,w.stringFilter);t._op&amp;&amp;t._op[a]&amp;&amp;t.kill(d,t._op[a]),j&amp;&amp;t._pt&amp;&amp;(Ut=t,l.killTweensOf(d,g,t.globalTime(n)),b=!t.parent,Ut=0),t._pt&amp;&amp;x&amp;&amp;(ae[h.id]=1)}p&amp;&amp;fn(t),t._onInit&amp;&amp;t._onInit(t)}t._onUpdate=C,t._initted=(!t._op||t._pt)&amp;&amp;!b,L&amp;&amp;n&lt;=0&amp;&amp;G.render(A,!0,!0)},Yt=function(e,t,n,r){var o,i,s=t.ease||r||"power1.inOut";if(B(t))i=n[e]||(n[e]=[]),t.forEach((function(e,n){return i.push({t:n/(t.length-1)*100,v:e,e:s})}));else for(o in t)i=n[o]||(n[o]=[]),"ease"===o||i.push({t:parseFloat(e),v:t[o],e:s})},Qt=function(e,t,n,r,o){return N(e)?e.call(t,n,r,o):P(e)&amp;&amp;~e.indexOf("random(")?pt(e):e},Jt=pe+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Zt={};ge(Jt+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Zt[e]=1}));var en=function(e){function t(t,n,o,s){var a;"number"==typeof n&amp;&amp;(o.duration=n,n=o,o=null);var c,u,d,p,h,f,m,g,v=(a=e.call(this,s?n:Oe(n))||this).vars,y=v.duration,b=v.delay,w=v.immediateRender,S=v.stagger,k=v.overwrite,A=v.keyframes,T=v.defaults,E=v.scrollTrigger,x=v.yoyoEase,C=n.parent||l,O=(B(t)||G(t)?D(t[0]):"length"in n)?[t]:ot(t);if(a._targets=O.length?he(O):Z("GSAP target "+t+" not found. https://gsap.com",!_.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=k,A||S||j(y)||j(b)){if(n=a.vars,(c=a.timeline=new Wt({data:"nested",defaults:T||{},targets:C&amp;&amp;"nested"===C.data?C.vars.targets:O})).kill(),c.parent=c._dp=r(a),c._start=0,S||j(y)||j(b)){if(p=O.length,m=S&amp;&amp;at(S),M(S))for(h in S)~Jt.indexOf(h)&amp;&amp;(g||(g={}),g[h]=S[h]);for(u=0;u&lt;p;u++)(d=Ce(n,Zt)).stagger=0,x&amp;&amp;(d.yoyoEase=x),g&amp;&amp;Ee(d,g),f=O[u],d.duration=+Qt(y,r(a),u,f,O),d.delay=(+Qt(b,r(a),u,f,O)||0)-a._delay,!S&amp;&amp;1===p&amp;&amp;d.delay&amp;&amp;(a._delay=b=d.delay,a._start+=b,d.delay=0),c.to(f,d,m?m(u,f,O):0),c._ease=It.none;c.duration()?y=b=0:a.timeline=0}else if(A){Oe(Te(c.vars.defaults,{ease:"none"})),c._ease=Mt(A.ease||n.ease||"none");var I,L,P,N=0;if(B(A))A.forEach((function(e){return c.to(O,e,"&gt;")})),c.duration();else{for(h in d={},A)"ease"===h||"easeEach"===h||Yt(h,A[h],d,A.easeEach);for(h in d)for(I=d[h].sort((function(e,t){return e.t-t.t})),N=0,u=0;u&lt;I.length;u++)(P={ease:(L=I[u]).e,duration:(L.t-(u?I[u-1].t:0))/100*y})[h]=L.v,c.to(O,P,N),N+=P.duration;c.duration()&lt;y&amp;&amp;c.to({},{duration:y-c.duration()})}}y||a.duration(y=c.duration())}else a.timeline=0;return!0!==k||i||(Ut=r(a),l.killTweensOf(O),Ut=0),$e(C,r(a),o),n.reversed&amp;&amp;a.reverse(),n.paused&amp;&amp;a.paused(!0),(w||!y&amp;&amp;!A&amp;&amp;a._start===ye(C._time)&amp;&amp;F(w)&amp;&amp;Re(r(a))&amp;&amp;"nested"!==C.data)&amp;&amp;(a._tTime=-1e-8,a.render(Math.max(0,-b)||0)),E&amp;&amp;We(r(a),E),a}o(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,o,i,a,l,c,u,d,p,h=this._time,f=this._tDur,m=this._dur,g=e&lt;0,v=e&gt;f-T&amp;&amp;!g?f:e&lt;T?0:e;if(m){if(v!==this._tTime||!e||n||!this._initted&amp;&amp;this._tTime||this._startAt&amp;&amp;this._zTime&lt;0!==g){if(r=v,d=this.timeline,this._repeat){if(a=m+this._rDelay,this._repeat&lt;-1&amp;&amp;g)return this.totalTime(100*a+e,t,n);if(r=ye(v%a),v===f?(i=this._repeat,r=m):((i=~~(v/a))&amp;&amp;i===ye(v/a)&amp;&amp;(r=m,i--),r&gt;m&amp;&amp;(r=m)),(c=this._yoyo&amp;&amp;1&amp;i)&amp;&amp;(p=this._yEase,r=m-r),l=Fe(this._tTime,a),r===h&amp;&amp;!n&amp;&amp;this._initted&amp;&amp;i===l)return this._tTime=v,this;i!==l&amp;&amp;(d&amp;&amp;this._yEase&amp;&amp;Rt(d,c),this.vars.repeatRefresh&amp;&amp;!c&amp;&amp;!this._lock&amp;&amp;this._time!==a&amp;&amp;this._initted&amp;&amp;(this._lock=n=1,this.render(ye(a*i),!0).invalidate()._lock=0))}if(!this._initted){if(Ue(this,g?e:r,n,t,v))return this._tTime=0,this;if(!(h===this._time||n&amp;&amp;this.vars.repeatRefresh&amp;&amp;i!==l))return this;if(m!==this._dur)return this.render(e,t,n)}if(this._tTime=v,this._time=r,!this._act&amp;&amp;this._ts&amp;&amp;(this._act=1,this._lazy=0),this.ratio=u=(p||this._ease)(r/m),this._from&amp;&amp;(this.ratio=u=1-u),r&amp;&amp;!h&amp;&amp;!t&amp;&amp;!i&amp;&amp;(mt(this,"onStart"),this._tTime!==v))return this;for(o=this._pt;o;)o.r(u,o.d),o=o._next;d&amp;&amp;d.render(e&lt;0?e:d._dur*d._ease(r/this._dur),t,n)||this._startAt&amp;&amp;(this._zTime=e),this._onUpdate&amp;&amp;!t&amp;&amp;(g&amp;&amp;De(this,e,0,n),mt(this,"onUpdate")),this._repeat&amp;&amp;i!==l&amp;&amp;this.vars.onRepeat&amp;&amp;!t&amp;&amp;this.parent&amp;&amp;mt(this,"onRepeat"),v!==this._tDur&amp;&amp;v||this._tTime!==v||(g&amp;&amp;!this._onUpdate&amp;&amp;De(this,e,0,!0),(e||!m)&amp;&amp;(v===this._tDur&amp;&amp;this._ts&gt;0||!v&amp;&amp;this._ts&lt;0)&amp;&amp;Pe(this,1),t||g&amp;&amp;!h||!(v||h||c)||(mt(this,v===f?"onComplete":"onReverseComplete",!0),this._prom&amp;&amp;!(v&lt;f&amp;&amp;this.timeScale()&gt;0)&amp;&amp;this._prom()))}}else!function(e,t,n,r){var o,i,a,l=e.ratio,c=t&lt;0||!t&amp;&amp;(!e._start&amp;&amp;ze(e)&amp;&amp;(e._initted||!Ve(e))||(e._ts&lt;0||e._dp._ts&lt;0)&amp;&amp;!Ve(e))?0:1,u=e._rDelay,d=0;if(u&amp;&amp;e._repeat&amp;&amp;(d=Ze(0,e._tDur,t),i=Fe(d,u),e._yoyo&amp;&amp;1&amp;i&amp;&amp;(c=1-c),i!==Fe(e._tTime,u)&amp;&amp;(l=1-c,e.vars.repeatRefresh&amp;&amp;e._initted&amp;&amp;e.invalidate())),c!==l||s||r||e._zTime===T||!t&amp;&amp;e._zTime){if(!e._initted&amp;&amp;Ue(e,t,r,n,d))return;for(a=e._zTime,e._zTime=t||(n?T:0),n||(n=t&amp;&amp;!a),e.ratio=c,e._from&amp;&amp;(c=1-c),e._time=0,e._tTime=d,o=e._pt;o;)o.r(c,o.d),o=o._next;t&lt;0&amp;&amp;De(e,t,0,!0),e._onUpdate&amp;&amp;!n&amp;&amp;mt(e,"onUpdate"),d&amp;&amp;e._repeat&amp;&amp;!n&amp;&amp;e.parent&amp;&amp;mt(e,"onRepeat"),(t&gt;=e._tDur||t&lt;0)&amp;&amp;e.ratio===c&amp;&amp;(c&amp;&amp;Pe(e,1),n||s||(mt(e,c?"onComplete":"onReverseComplete",!0),e._prom&amp;&amp;e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&amp;&amp;(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&amp;&amp;this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,o){m||Ct.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||qt(this,i),function(e,t,n,r,o,i,s,a){var l,c,u,d,p=(e._pt&amp;&amp;e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],u=e._ptLookup,d=e._targets.length;d--;){if((l=u[d][t])&amp;&amp;l.d&amp;&amp;l.d._pt)for(l=l.d._pt;l&amp;&amp;l.p!==t&amp;&amp;l.fp!==t;)l=l._next;if(!l)return zt=1,e.vars[t]="+=0",qt(e,s),zt=0,a?Z(t+" not eligible for reset"):1;p.push(l)}for(d=p.length;d--;)(l=(c=p[d])._pt||c).s=!r&amp;&amp;0!==r||o?l.s+(r||0)+i*l.c:r,l.c=n-l.s,c.e&amp;&amp;(c.e=ve(n)+et(c.e)),c.b&amp;&amp;(c.b=l.s+et(c.b))}(this,e,t,n,r,this._ease(i/this._dur),i,o)?this.resetTo(e,t,n,r,1):(Ge(this,0),this.parent||Ie(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&amp;&amp;(t="all"),!(e||t&amp;&amp;"all"!==t))return this._lazy=this._pt=0,this.parent?gt(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Ut&amp;&amp;!0!==Ut.vars.overwrite)._first||gt(this),this.parent&amp;&amp;n!==this.timeline.totalDuration()&amp;&amp;Xe(this,this._dur*this.timeline._tDur/n,0,1),this}var r,o,i,s,a,l,c,u=this._targets,d=e?ot(e):u,p=this._ptLookup,h=this._pt;if((!t||"all"===t)&amp;&amp;function(e,t){for(var n=e.length,r=n===t.length;r&amp;&amp;n--&amp;&amp;e[n]===t[n];);return n&lt;0}(u,d))return"all"===t&amp;&amp;(this._pt=0),gt(this);for(r=this._op=this._op||[],"all"!==t&amp;&amp;(P(t)&amp;&amp;(a={},ge(t,(function(e){return a[e]=1})),t=a),t=function(e,t){var n,r,o,i,s=e[0]?fe(e[0]).harness:0,a=s&amp;&amp;s.aliases;if(!a)return t;for(r in n=Ee({},t),a)if(r in n)for(o=(i=a[r].split(",")).length;o--;)n[i[o]]=n[r];return n}(u,t)),c=u.length;c--;)if(~d.indexOf(u[c]))for(a in o=p[c],"all"===t?(r[c]=t,s=o,i={}):(i=r[c]=r[c]||{},s=t),s)(l=o&amp;&amp;o[a])&amp;&amp;("kill"in l.d&amp;&amp;!0!==l.d.kill(a)||Le(this,l,"_pt"),delete o[a]),"all"!==i&amp;&amp;(i[a]=1);return this._initted&amp;&amp;!this._pt&amp;&amp;h&amp;&amp;gt(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Qe(1,arguments)},t.delayedCall=function(e,n,r,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:o})},t.fromTo=function(e,t,n){return Qe(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return l.killTweensOf(e,t,n)},t}($t);Te(en.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ge("staggerTo,staggerFrom,staggerFromTo",(function(e){en[e]=function(){var t=new Wt,n=tt.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var tn=function(e,t,n){return e[t]=n},nn=function(e,t,n){return e[t](n)},rn=function(e,t,n,r){return e[t](r.fp,n)},on=function(e,t,n){return e.setAttribute(t,n)},sn=function(e,t){return N(e[t])?nn:R(e[t])&amp;&amp;e.setAttribute?on:tn},an=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},ln=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},cn=function(e,t){var n=t._pt,r="";if(!e&amp;&amp;t.b)r=t.b;else if(1===e&amp;&amp;t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},un=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},dn=function(e,t,n,r){for(var o,i=this._pt;i;)o=i._next,i.p===r&amp;&amp;i.modifier(e,t,n),i=o},pn=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&amp;&amp;!r.op||r.op===e?Le(this,r,"_pt"):r.dep||(t=1),r=n;return!t},hn=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},fn=function(e){for(var t,n,r,o,i=e._pt;i;){for(t=i._next,n=r;n&amp;&amp;n.pr&gt;i.pr;)n=n._next;(i._prev=n?n._prev:o)?i._prev._next=i:r=i,(i._next=n)?n._prev=i:o=i,i=t}e._pt=r},mn=function(){function e(e,t,n,r,o,i,s,a,l){this.t=t,this.s=r,this.c=o,this.p=n,this.r=i||an,this.d=s||this,this.set=a||tn,this.pr=l||0,this._next=e,e&amp;&amp;(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=hn,this.m=e,this.mt=n,this.tween=t},e}();ge(pe+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return ie[e]=1})),q.TweenMax=q.TweenLite=en,q.TimelineLite=q.TimelineMax=Wt,l=new Wt({sortChildren:!1,defaults:k,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_.stringFilter=xt;var gn=[],vn={},yn=[],bn=0,wn=0,Sn=function(e){return(vn[e]||yn).map((function(e){return e()}))},_n=function(){var e=Date.now(),t=[];e-bn&gt;2&amp;&amp;(Sn("matchMediaInit"),gn.forEach((function(e){var n,r,o,i,s=e.queries,a=e.conditions;for(r in s)(n=c.matchMedia(s[r]).matches)&amp;&amp;(o=1),n!==a[r]&amp;&amp;(a[r]=n,i=1);i&amp;&amp;(e.revert(),o&amp;&amp;t.push(e))})),Sn("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))})),bn=e,Sn("matchMedia"))},kn=function(){function e(e,t){this.selector=t&amp;&amp;it(t),this.data=[],this._r=[],this.isReverted=!1,this.id=wn++,e&amp;&amp;this.add(e)}var t=e.prototype;return t.add=function(e,t,n){N(e)&amp;&amp;(n=t,t=e,e=N);var r=this,o=function(){var e,o=a,i=r.selector;return o&amp;&amp;o!==r&amp;&amp;o.data.push(r),n&amp;&amp;(r.selector=it(n)),a=r,e=t.apply(r,arguments),N(e)&amp;&amp;r._r.push(e),a=o,r.selector=i,r.isReverted=!1,e};return r.last=o,e===N?o(r,(function(e){return r.add(null,e)})):e?r[e]=o:o},t.ignore=function(e){var t=a;a=null,e(this),a=t},t.getTweens=function(){var t=[];return this.data.forEach((function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof en&amp;&amp;!(n.parent&amp;&amp;"nested"===n.parent.data)&amp;&amp;t.push(n)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,r=n.getTweens(),o=n.data.length;o--;)"isFlip"===(t=n.data[o]).data&amp;&amp;(t.revert(),t.getChildren(!0,!0,!1).forEach((function(e){return r.splice(r.indexOf(e),1)})));for(r.map((function(e){return{g:e._dur||e._delay||e._sat&amp;&amp;!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}})).sort((function(e,t){return t.g-e.g||-1/0})).forEach((function(t){return t.t.revert(e)})),o=n.data.length;o--;)(t=n.data[o])instanceof Wt?"nested"!==t.data&amp;&amp;(t.scrollTrigger&amp;&amp;t.scrollTrigger.revert(),t.kill()):!(t instanceof en)&amp;&amp;t.revert&amp;&amp;t.revert(e);n._r.forEach((function(t){return t(e,n)})),n.isReverted=!0}():this.data.forEach((function(e){return e.kill&amp;&amp;e.kill()})),this.clear(),t)for(var r=gn.length;r--;)gn[r].id===this.id&amp;&amp;gn.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),An=function(){function e(e){this.contexts=[],this.scope=e,a&amp;&amp;a.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){M(e)||(e={matches:e});var r,o,i,s=new kn(0,n||this.scope),l=s.conditions={};for(o in a&amp;&amp;!s.selector&amp;&amp;(s.selector=a.selector),this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===o?i=1:(r=c.matchMedia(e[o]))&amp;&amp;(gn.indexOf(s)&lt;0&amp;&amp;gn.push(s),(l[o]=r.matches)&amp;&amp;(i=1),r.addListener?r.addListener(_n):r.addEventListener("change",_n));return i&amp;&amp;t(s,(function(e){return s.add(null,e)})),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),Tn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];t.forEach((function(e){return yt(e)}))},timeline:function(e){return new Wt(e)},getTweensOf:function(e,t){return l.getTweensOf(e,t)},getProperty:function(e,t,n,r){P(e)&amp;&amp;(e=ot(e)[0]);var o=fe(e||{}).get,i=n?Ae:ke;return"native"===n&amp;&amp;(n=""),e?t?i((le[t]&amp;&amp;le[t].get||o)(e,t,n,r)):function(t,n,r){return i((le[t]&amp;&amp;le[t].get||o)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=ot(e)).length&gt;1){var r=e.map((function(e){return Cn.quickSetter(e,t,n)})),o=r.length;return function(e){for(var t=o;t--;)r[t](e)}}e=e[0]||{};var i=le[t],s=fe(e),a=s.harness&amp;&amp;(s.harness.aliases||{})[t]||t,l=i?function(t){var r=new i;f._pt=0,r.init(e,n?t+n:t,f,0,[e]),r.render(1,r),f._pt&amp;&amp;un(1,f)}:s.set(e,a);return i?l:function(t){return l(e,a,n?t+n:t,s,1)}},quickTo:function(e,t,n){var r,o=Cn.to(e,Ee(((r={})[t]="+=0.1",r.paused=!0,r),n||{})),i=function(e,n,r){return o.resetTo(t,e,n,r)};return i.tween=o,i},isTweening:function(e){return l.getTweensOf(e,!0).length&gt;0},defaults:function(e){return e&amp;&amp;e.ease&amp;&amp;(e.ease=Mt(e.ease,k.ease)),xe(k,e||{})},config:function(e){return xe(_,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,o=e.defaults,i=e.extendTimeline;(r||"").split(",").forEach((function(e){return e&amp;&amp;!le[e]&amp;&amp;!q[e]&amp;&amp;Z(t+" effect requires "+e+" plugin.")})),ce[t]=function(e,t,r){return n(ot(e),Te(t||{},o),r)},i&amp;&amp;(Wt.prototype[t]=function(e,n,r){return this.add(ce[t](e,M(n)?n:(r=n)&amp;&amp;{},this),r)})},registerEase:function(e,t){It[e]=Mt(t)},parseEase:function(e,t){return arguments.length?Mt(e,t):It},getById:function(e){return l.getById(e)},exportRoot:function(e,t){void 0===e&amp;&amp;(e={});var n,r,o=new Wt(e);for(o.smoothChildTiming=F(e.smoothChildTiming),l.remove(o),o._dp=0,o._time=o._tTime=l._time,n=l._first;n;)r=n._next,!t&amp;&amp;!n._dur&amp;&amp;n instanceof en&amp;&amp;n.vars.onComplete===n._targets[0]||$e(o,n,n._start-n._delay),n=r;return $e(l,o,0),o},context:function(e,t){return e?new kn(e,t):a},matchMedia:function(e){return new An(e)},matchMediaRefresh:function(){return gn.forEach((function(e){var t,n,r=e.conditions;for(n in r)r[n]&amp;&amp;(r[n]=!1,t=1);t&amp;&amp;e.revert()}))||_n()},addEventListener:function(e,t){var n=vn[e]||(vn[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=vn[e],r=n&amp;&amp;n.indexOf(t);r&gt;=0&amp;&amp;n.splice(r,1)},utils:{wrap:function e(t,n,r){var o=n-t;return B(t)?dt(t,e(0,t.length),n):Je(r,(function(e){return(o+(e-t)%o)%o+t}))},wrapYoyo:function e(t,n,r){var o=n-t,i=2*o;return B(t)?dt(t,e(0,t.length-1),n):Je(r,(function(e){return t+((e=(i+(e-t)%i)%i||0)&gt;o?i-e:e)}))},distribute:at,random:ut,snap:ct,normalize:function(e,t,n){return ht(e,t,0,1,n)},getUnit:et,clamp:function(e,t,n){return Je(n,(function(n){return Ze(e,t,n)}))},splitColor:_t,toArray:ot,selector:it,mapRange:ht,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||et(n))}},interpolate:function e(t,n,r,o){var i=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!i){var s,a,l,c,u,d=P(t),p={};if(!0===r&amp;&amp;(o=1)&amp;&amp;(r=null),d)t={p:t},n={p:n};else if(B(t)&amp;&amp;!B(n)){for(l=[],c=t.length,u=c-2,a=1;a&lt;c;a++)l.push(e(t[a-1],t[a]));c--,i=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},r=n}else o||(t=Ee(B(t)?[]:{},t));if(!l){for(s in n)Xt.call(p,t,s,"get",n[s]);i=function(e){return un(e,p)||(d?t.p:t)}}}return Je(r,i)},shuffle:st},install:Q,effects:ce,ticker:Ct,updateRoot:Wt.updateRoot,plugins:le,globalTimeline:l,core:{PropTween:mn,globals:ee,Tween:en,Timeline:Wt,Animation:$t,getCache:fe,_removeLinkedListItem:Le,reverting:function(){return s},context:function(e){return e&amp;&amp;a&amp;&amp;(a.data.push(e),e._ctx=a),a},suppressOverwrites:function(e){return i=e}}};ge("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return Tn[e]=en[e]})),Ct.add(Wt.updateRoot),f=Tn.to({},{duration:0});var En=function(e,t){for(var n=e._pt;n&amp;&amp;n.p!==t&amp;&amp;n.op!==t&amp;&amp;n.fp!==t;)n=n._next;return n},xn=function(e,t){return{name:e,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,o;if(P(n)&amp;&amp;(r={},ge(n,(function(e){return r[e]=1})),n=r),t){for(o in r={},n)r[o]=t(n[o]);n=r}!function(e,t){var n,r,o,i=e._targets;for(n in t)for(r=i.length;r--;)(o=e._ptLookup[r][n])&amp;&amp;(o=o.d)&amp;&amp;(o._pt&amp;&amp;(o=En(o,n)),o&amp;&amp;o.modifier&amp;&amp;o.modifier(t[n],e,i[r],n))}(e,n)}}}},Cn=Tn.registerPlugin({name:"attr",init:function(e,t,n,r,o){var i,s,a;for(i in this.tween=n,t)a=e.getAttribute(i)||"",(s=this.add(e,"setAttribute",(a||0)+"",t[i],r,o,0,0,i)).op=i,s.b=a,this._props.push(i)},render:function(e,t){for(var n=t._pt;n;)s?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},xn("roundProps",lt),xn("modifiers"),xn("snap",ct))||Tn;en.version=Wt.version=Cn.version="3.12.5",p=1,H()&amp;&amp;Ot();It.Power0,It.Power1,It.Power2,It.Power3,It.Power4,It.Linear,It.Quad,It.Cubic,It.Quart,It.Quint,It.Strong,It.Elastic,It.Back,It.SteppedEase,It.Bounce,It.Sine,It.Expo,It.Circ;var On,In,Ln,Pn,Nn,Dn,Rn,Mn,Fn={},Hn=180/Math.PI,jn=Math.PI/180,Gn=Math.atan2,Bn=/([A-Z])/g,$n=/(left|right|width|margin|padding|x)/i,Wn=/[\s,\(]\S/,Un={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},zn=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Vn=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Xn=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},Kn=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n&lt;0?-.5:.5))+t.u,t)},qn=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Yn=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},Qn=function(e,t,n){return e.style[t]=n},Jn=function(e,t,n){return e.style.setProperty(t,n)},Zn=function(e,t,n){return e._gsap[t]=n},er=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},tr=function(e,t,n,r,o){var i=e._gsap;i.scaleX=i.scaleY=n,i.renderTransform(o,i)},nr=function(e,t,n,r,o){var i=e._gsap;i[t]=n,i.renderTransform(o,i)},rr="transform",or=rr+"Origin",ir=function e(t,n){var r=this,o=this.target,i=o.style,s=o._gsap;if(t in Fn&amp;&amp;i){if(this.tfm=this.tfm||{},"transform"===t)return Un.transform.split(",").forEach((function(t){return e.call(r,t,n)}));if(~(t=Un[t]||t).indexOf(",")?t.split(",").forEach((function(e){return r.tfm[e]=kr(o,e)})):this.tfm[t]=s.x?s[t]:kr(o,t),t===or&amp;&amp;(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(rr)&gt;=0)return;s.svg&amp;&amp;(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(or,n,"")),t=rr}(i||n)&amp;&amp;this.props.push(t,n,i[t])},sr=function(e){e.translate&amp;&amp;(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ar=function(){var e,t,n=this.props,r=this.target,o=r.style,i=r._gsap;for(e=0;e&lt;n.length;e+=3)n[e+1]?r[n[e]]=n[e+2]:n[e+2]?o[n[e]]=n[e+2]:o.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(Bn,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)i[t]=this.tfm[t];i.svg&amp;&amp;(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=Rn())&amp;&amp;e.isStart||o[rr]||(sr(o),i.zOrigin&amp;&amp;o[or]&amp;&amp;(o[or]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},lr=function(e,t){var n={target:e,props:[],revert:ar,save:ir};return e._gsap||Cn.core.getCache(e),t&amp;&amp;t.split(",").forEach((function(e){return n.save(e)})),n},cr=function(e,t){var n=In.createElementNS?In.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):In.createElement(e);return n&amp;&amp;n.style?n:In.createElement(e)},ur=function e(t,n,r){var o=getComputedStyle(t);return o[n]||o.getPropertyValue(n.replace(Bn,"-$1").toLowerCase())||o.getPropertyValue(n)||!r&amp;&amp;e(t,pr(n)||n,1)||""},dr="O,Moz,ms,Ms,Webkit".split(","),pr=function(e,t,n){var r=(t||Nn).style,o=5;if(e in r&amp;&amp;!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&amp;&amp;!(dr[o]+e in r););return o&lt;0?null:(3===o?"ms":o&gt;=0?dr[o]:"")+e},hr=function(){"undefined"!=typeof window&amp;&amp;window.document&amp;&amp;(On=window,In=On.document,Ln=In.documentElement,Nn=cr("div")||{style:{}},cr("div"),rr=pr(rr),or=rr+"Origin",Nn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Mn=!!pr("perspective"),Rn=Cn.core.reverting,Pn=1)},fr=function e(t){var n,r=cr("svg",this.ownerSVGElement&amp;&amp;this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=this.parentNode,i=this.nextSibling,s=this.style.cssText;if(Ln.appendChild(r),r.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&amp;&amp;(n=this._gsapBBox());return o&amp;&amp;(i?o.insertBefore(this,i):o.appendChild(this)),Ln.removeChild(r),this.style.cssText=s,n},mr=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},gr=function(e){var t;try{t=e.getBBox()}catch(n){t=fr.call(e,!0)}return t&amp;&amp;(t.width||t.height)||e.getBBox===fr||(t=fr.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+mr(e,["x","cx","x1"])||0,y:+mr(e,["y","cy","y1"])||0,width:0,height:0}},vr=function(e){return!(!e.getCTM||e.parentNode&amp;&amp;!e.ownerSVGElement||!gr(e))},yr=function(e,t){if(t){var n,r=e.style;t in Fn&amp;&amp;t!==or&amp;&amp;(t=rr),r.removeProperty?("ms"!==(n=t.substr(0,2))&amp;&amp;"webkit"!==t.substr(0,6)||(t="-"+t),r.removeProperty("--"===n?t:t.replace(Bn,"-$1").toLowerCase())):r.removeAttribute(t)}},br=function(e,t,n,r,o,i){var s=new mn(e._pt,t,n,0,1,i?Yn:qn);return e._pt=s,s.b=r,s.e=o,e._props.push(n),s},wr={deg:1,rad:1,turn:1},Sr={grid:1,flex:1},_r=function e(t,n,r,o){var i,s,a,l,c=parseFloat(r)||0,u=(r+"").trim().substr((c+"").length)||"px",d=Nn.style,p=$n.test(n),h="svg"===t.tagName.toLowerCase(),f=(h?"client":"offset")+(p?"Width":"Height"),m=100,g="px"===o,v="%"===o;if(o===u||!c||wr[o]||wr[u])return c;if("px"!==u&amp;&amp;!g&amp;&amp;(c=e(t,n,r,"px")),l=t.getCTM&amp;&amp;vr(t),(v||"%"===u)&amp;&amp;(Fn[n]||~n.indexOf("adius")))return i=l?t.getBBox()[p?"width":"height"]:t[f],ve(v?c/i*m:c/100*i);if(d[p?"width":"height"]=m+(g?u:o),s=~n.indexOf("adius")||"em"===o&amp;&amp;t.appendChild&amp;&amp;!h?t:t.parentNode,l&amp;&amp;(s=(t.ownerSVGElement||{}).parentNode),s&amp;&amp;s!==In&amp;&amp;s.appendChild||(s=In.body),(a=s._gsap)&amp;&amp;v&amp;&amp;a.width&amp;&amp;p&amp;&amp;a.time===Ct.time&amp;&amp;!a.uncache)return ve(c/a.width*m);if(!v||"height"!==n&amp;&amp;"width"!==n)(v||"%"===u)&amp;&amp;!Sr[ur(s,"display")]&amp;&amp;(d.position=ur(t,"position")),s===t&amp;&amp;(d.position="static"),s.appendChild(Nn),i=Nn[f],s.removeChild(Nn),d.position="absolute";else{var y=t.style[n];t.style[n]=m+o,i=t[f],y?t.style[n]=y:yr(t,n)}return p&amp;&amp;v&amp;&amp;((a=fe(s)).time=Ct.time,a.width=s[f]),ve(g?i*c/m:i&amp;&amp;c?m/i*c:0)},kr=function(e,t,n,r){var o;return Pn||hr(),t in Un&amp;&amp;"transform"!==t&amp;&amp;~(t=Un[t]).indexOf(",")&amp;&amp;(t=t.split(",")[0]),Fn[t]&amp;&amp;"transform"!==t?(o=Dr(e,r),o="transformOrigin"!==t?o[t]:o.svg?o.origin:Rr(ur(e,or))+" "+o.zOrigin+"px"):(!(o=e.style[t])||"auto"===o||r||~(o+"").indexOf("calc("))&amp;&amp;(o=xr[t]&amp;&amp;xr[t](e,t,n)||ur(e,t)||me(e,t)||("opacity"===t?1:0)),n&amp;&amp;!~(o+"").trim().indexOf(" ")?_r(e,t,o,n)+n:o},Ar=function(e,t,n,r){if(!n||"none"===n){var o=pr(t,e,1),i=o&amp;&amp;ur(e,o,1);i&amp;&amp;i!==n?(t=o,n=i):"borderColor"===t&amp;&amp;(n=ur(e,"borderTopColor"))}var s,a,l,c,u,d,p,h,f,m,g,v=new mn(this._pt,e.style,t,0,1,cn),y=0,b=0;if(v.b=n,v.e=r,n+="","auto"===(r+="")&amp;&amp;(d=e.style[t],e.style[t]=r,r=ur(e,t)||r,d?e.style[t]=d:yr(e,t)),xt(s=[n,r]),r=s[1],l=(n=s[0]).match(U)||[],(r.match(U)||[]).length){for(;a=U.exec(r);)p=a[0],f=r.substring(y,a.index),u?u=(u+1)%5:"rgba("!==f.substr(-5)&amp;&amp;"hsla("!==f.substr(-5)||(u=1),p!==(d=l[b++]||"")&amp;&amp;(c=parseFloat(d)||0,g=d.substr((c+"").length),"="===p.charAt(1)&amp;&amp;(p=be(c,p)+g),h=parseFloat(p),m=p.substr((h+"").length),y=U.lastIndex-m.length,m||(m=m||_.units[t]||g,y===r.length&amp;&amp;(r+=m,v.e+=m)),g!==m&amp;&amp;(c=_r(e,t,d,m)||0),v._pt={_next:v._pt,p:f||1===b?f:",",s:c,c:h-c,m:u&amp;&amp;u&lt;4||"zIndex"===t?Math.round:0});v.c=y&lt;r.length?r.substring(y,r.length):""}else v.r="display"===t&amp;&amp;"none"===r?Yn:qn;return V.test(r)&amp;&amp;(v.e=0),this._pt=v,v},Tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Er=function(e,t){if(t.tween&amp;&amp;t.tween._time===t.tween._dur){var n,r,o,i=t.t,s=i.style,a=t.u,l=i._gsap;if("all"===a||!0===a)s.cssText="",r=1;else for(o=(a=a.split(",")).length;--o&gt;-1;)n=a[o],Fn[n]&amp;&amp;(r=1,n="transformOrigin"===n?or:rr),yr(i,n);r&amp;&amp;(yr(i,rr),l&amp;&amp;(l.svg&amp;&amp;i.removeAttribute("transform"),Dr(i,1),l.uncache=1,sr(s)))}},xr={clearProps:function(e,t,n,r,o){if("isFromStart"!==o.data){var i=e._pt=new mn(e._pt,t,n,0,0,Er);return i.u=r,i.pr=-10,i.tween=o,e._props.push(n),1}}},Cr=[1,0,0,1,0,0],Or={},Ir=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Lr=function(e){var t=ur(e,rr);return Ir(t)?Cr:t.substr(7).match(W).map(ve)},Pr=function(e,t){var n,r,o,i,s=e._gsap||fe(e),a=e.style,l=Lr(e);return s.svg&amp;&amp;e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(o=e.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?Cr:l:(l!==Cr||e.offsetParent||e===Ln||s.svg||(o=a.display,a.display="block",(n=e.parentNode)&amp;&amp;e.offsetParent||(i=1,r=e.nextElementSibling,Ln.appendChild(e)),l=Lr(e),o?a.display=o:yr(e,"display"),i&amp;&amp;(r?n.insertBefore(e,r):n?n.appendChild(e):Ln.removeChild(e))),t&amp;&amp;l.length&gt;6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Nr=function(e,t,n,r,o,i){var s,a,l,c=e._gsap,u=o||Pr(e,!0),d=c.xOrigin||0,p=c.yOrigin||0,h=c.xOffset||0,f=c.yOffset||0,m=u[0],g=u[1],v=u[2],y=u[3],b=u[4],w=u[5],S=t.split(" "),_=parseFloat(S[0])||0,k=parseFloat(S[1])||0;n?u!==Cr&amp;&amp;(a=m*y-g*v)&amp;&amp;(l=_*(-g/a)+k*(m/a)-(m*w-g*b)/a,_=_*(y/a)+k*(-v/a)+(v*w-y*b)/a,k=l):(_=(s=gr(e)).x+(~S[0].indexOf("%")?_/100*s.width:_),k=s.y+(~(S[1]||S[0]).indexOf("%")?k/100*s.height:k)),r||!1!==r&amp;&amp;c.smooth?(b=_-d,w=k-p,c.xOffset=h+(b*m+w*v)-b,c.yOffset=f+(b*g+w*y)-w):c.xOffset=c.yOffset=0,c.xOrigin=_,c.yOrigin=k,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[or]="0px 0px",i&amp;&amp;(br(i,c,"xOrigin",d,_),br(i,c,"yOrigin",p,k),br(i,c,"xOffset",h,c.xOffset),br(i,c,"yOffset",f,c.yOffset)),e.setAttribute("data-svg-origin",_+" "+k)},Dr=function(e,t){var n=e._gsap||new Bt(e);if("x"in n&amp;&amp;!t&amp;&amp;!n.uncache)return n;var r,o,i,s,a,l,c,u,d,p,h,f,m,g,v,y,b,w,S,k,A,T,E,x,C,O,I,L,P,N,D,R,M=e.style,F=n.scaleX&lt;0,H="px",j="deg",G=getComputedStyle(e),B=ur(e,or)||"0";return r=o=i=l=c=u=d=p=h=0,s=a=1,n.svg=!(!e.getCTM||!vr(e)),G.translate&amp;&amp;("none"===G.translate&amp;&amp;"none"===G.scale&amp;&amp;"none"===G.rotate||(M[rr]=("none"!==G.translate?"translate3d("+(G.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==G.rotate?"rotate("+G.rotate+") ":"")+("none"!==G.scale?"scale("+G.scale.split(" ").join(",")+") ":"")+("none"!==G[rr]?G[rr]:"")),M.scale=M.rotate=M.translate="none"),g=Pr(e,n.svg),n.svg&amp;&amp;(n.uncache?(C=e.getBBox(),B=n.xOrigin-C.x+"px "+(n.yOrigin-C.y)+"px",x=""):x=!t&amp;&amp;e.getAttribute("data-svg-origin"),Nr(e,x||B,!!x||n.originIsAbsolute,!1!==n.smooth,g)),f=n.xOrigin||0,m=n.yOrigin||0,g!==Cr&amp;&amp;(w=g[0],S=g[1],k=g[2],A=g[3],r=T=g[4],o=E=g[5],6===g.length?(s=Math.sqrt(w*w+S*S),a=Math.sqrt(A*A+k*k),l=w||S?Gn(S,w)*Hn:0,(d=k||A?Gn(k,A)*Hn+l:0)&amp;&amp;(a*=Math.abs(Math.cos(d*jn))),n.svg&amp;&amp;(r-=f-(f*w+m*k),o-=m-(f*S+m*A))):(R=g[6],N=g[7],I=g[8],L=g[9],P=g[10],D=g[11],r=g[12],o=g[13],i=g[14],c=(v=Gn(R,P))*Hn,v&amp;&amp;(x=T*(y=Math.cos(-v))+I*(b=Math.sin(-v)),C=E*y+L*b,O=R*y+P*b,I=T*-b+I*y,L=E*-b+L*y,P=R*-b+P*y,D=N*-b+D*y,T=x,E=C,R=O),u=(v=Gn(-k,P))*Hn,v&amp;&amp;(y=Math.cos(-v),D=A*(b=Math.sin(-v))+D*y,w=x=w*y-I*b,S=C=S*y-L*b,k=O=k*y-P*b),l=(v=Gn(S,w))*Hn,v&amp;&amp;(x=w*(y=Math.cos(v))+S*(b=Math.sin(v)),C=T*y+E*b,S=S*y-w*b,E=E*y-T*b,w=x,T=C),c&amp;&amp;Math.abs(c)+Math.abs(l)&gt;359.9&amp;&amp;(c=l=0,u=180-u),s=ve(Math.sqrt(w*w+S*S+k*k)),a=ve(Math.sqrt(E*E+R*R)),v=Gn(T,E),d=Math.abs(v)&gt;2e-4?v*Hn:0,h=D?1/(D&lt;0?-D:D):0),n.svg&amp;&amp;(x=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Ir(ur(e,rr)),x&amp;&amp;e.setAttribute("transform",x))),Math.abs(d)&gt;90&amp;&amp;Math.abs(d)&lt;270&amp;&amp;(F?(s*=-1,d+=l&lt;=0?180:-180,l+=l&lt;=0?180:-180):(a*=-1,d+=d&lt;=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&amp;&amp;(!t&amp;&amp;n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+H,n.y=o-((n.yPercent=o&amp;&amp;(!t&amp;&amp;n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-o)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+H,n.z=i+H,n.scaleX=ve(s),n.scaleY=ve(a),n.rotation=ve(l)+j,n.rotationX=ve(c)+j,n.rotationY=ve(u)+j,n.skewX=d+j,n.skewY=p+j,n.transformPerspective=h+H,(n.zOrigin=parseFloat(B.split(" ")[2])||!t&amp;&amp;n.zOrigin||0)&amp;&amp;(M[or]=Rr(B)),n.xOffset=n.yOffset=0,n.force3D=_.force3D,n.renderTransform=n.svg?$r:Mn?Br:Fr,n.uncache=0,n},Rr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Mr=function(e,t,n){var r=et(t);return ve(parseFloat(t)+parseFloat(_r(e,"x",n+"px",r)))+r},Fr=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Br(e,t)},Hr="0deg",jr="0px",Gr=") ",Br=function(e,t){var n=t||this,r=n.xPercent,o=n.yPercent,i=n.x,s=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,d=n.skewX,p=n.skewY,h=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,b="",w="auto"===g&amp;&amp;e&amp;&amp;1!==e||!0===g;if(y&amp;&amp;(u!==Hr||c!==Hr)){var S,_=parseFloat(c)*jn,k=Math.sin(_),A=Math.cos(_);_=parseFloat(u)*jn,S=Math.cos(_),i=Mr(v,i,k*S*-y),s=Mr(v,s,-Math.sin(_)*-y),a=Mr(v,a,A*S*-y+y)}m!==jr&amp;&amp;(b+="perspective("+m+Gr),(r||o)&amp;&amp;(b+="translate("+r+"%, "+o+"%) "),(w||i!==jr||s!==jr||a!==jr)&amp;&amp;(b+=a!==jr||w?"translate3d("+i+", "+s+", "+a+") ":"translate("+i+", "+s+Gr),l!==Hr&amp;&amp;(b+="rotate("+l+Gr),c!==Hr&amp;&amp;(b+="rotateY("+c+Gr),u!==Hr&amp;&amp;(b+="rotateX("+u+Gr),d===Hr&amp;&amp;p===Hr||(b+="skew("+d+", "+p+Gr),1===h&amp;&amp;1===f||(b+="scale("+h+", "+f+Gr),v.style[rr]=b||"translate(0, 0)"},$r=function(e,t){var n,r,o,i,s,a=t||this,l=a.xPercent,c=a.yPercent,u=a.x,d=a.y,p=a.rotation,h=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,w=a.xOffset,S=a.yOffset,_=a.forceCSS,k=parseFloat(u),A=parseFloat(d);p=parseFloat(p),h=parseFloat(h),(f=parseFloat(f))&amp;&amp;(h+=f=parseFloat(f),p+=f),p||h?(p*=jn,h*=jn,n=Math.cos(p)*m,r=Math.sin(p)*m,o=Math.sin(p-h)*-g,i=Math.cos(p-h)*g,h&amp;&amp;(f*=jn,s=Math.tan(h-f),o*=s=Math.sqrt(1+s*s),i*=s,f&amp;&amp;(s=Math.tan(f),n*=s=Math.sqrt(1+s*s),r*=s)),n=ve(n),r=ve(r),o=ve(o),i=ve(i)):(n=m,i=g,r=o=0),(k&amp;&amp;!~(u+"").indexOf("px")||A&amp;&amp;!~(d+"").indexOf("px"))&amp;&amp;(k=_r(v,"x",u,"px"),A=_r(v,"y",d,"px")),(y||b||w||S)&amp;&amp;(k=ve(k+y-(y*n+b*o)+w),A=ve(A+b-(y*r+b*i)+S)),(l||c)&amp;&amp;(s=v.getBBox(),k=ve(k+l/100*s.width),A=ve(A+c/100*s.height)),s="matrix("+n+","+r+","+o+","+i+","+k+","+A+")",v.setAttribute("transform",s),_&amp;&amp;(v.style[rr]=s)},Wr=function(e,t,n,r,o){var i,s,a=360,l=P(o),c=parseFloat(o)*(l&amp;&amp;~o.indexOf("rad")?Hn:1)-r,u=r+c+"deg";return l&amp;&amp;("short"===(i=o.split("_")[1])&amp;&amp;(c%=a)!==c%180&amp;&amp;(c+=c&lt;0?a:-360),"cw"===i&amp;&amp;c&lt;0?c=(c+36e9)%a-~~(c/a)*a:"ccw"===i&amp;&amp;c&gt;0&amp;&amp;(c=(c-36e9)%a-~~(c/a)*a)),e._pt=s=new mn(e._pt,t,n,r,c,Vn),s.e=u,s.u="deg",e._props.push(n),s},Ur=function(e,t){for(var n in t)e[n]=t[n];return e},zr=function(e,t,n){var r,o,i,s,a,l,c,u=Ur({},n._gsap),d=n.style;for(o in u.svg?(i=n.getAttribute("transform"),n.setAttribute("transform",""),d[rr]=t,r=Dr(n,1),yr(n,rr),n.setAttribute("transform",i)):(i=getComputedStyle(n)[rr],d[rr]=t,r=Dr(n,1),d[rr]=i),Fn)(i=u[o])!==(s=r[o])&amp;&amp;"perspective,force3D,transformOrigin,svgOrigin".indexOf(o)&lt;0&amp;&amp;(a=et(i)!==(c=et(s))?_r(n,o,i,c):parseFloat(i),l=parseFloat(s),e._pt=new mn(e._pt,r,o,a,l-a,zn),e._pt.u=c||0,e._props.push(o));Ur(r,u)};ge("padding,margin,Width,Radius",(function(e,t){var n="Top",r="Right",o="Bottom",i="Left",s=(t&lt;3?[n,r,o,i]:[n+i,n+r,o+r,o+i]).map((function(n){return t&lt;2?e+n:"border"+n+e}));xr[t&gt;1?"border"+e:e]=function(e,t,n,r,o){var i,a;if(arguments.length&lt;4)return i=s.map((function(t){return kr(e,t,n)})),5===(a=i.join(" ")).split(i[0]).length?i[0]:a;i=(r+"").split(" "),a={},s.forEach((function(e,t){return a[e]=i[t]=i[t]||i[(t-1)/2|0]})),e.init(t,a,o)}}));var Vr,Xr,Kr,qr={name:"css",register:hr,targetTest:function(e){return e.style&amp;&amp;e.nodeType},init:function(e,t,n,r,o){var i,s,a,l,c,u,d,p,h,f,m,g,v,y,b,w,S,k,A,T,E=this._props,x=e.style,C=n.vars.startAt;for(d in Pn||hr(),this.styles=this.styles||lr(e),w=this.styles.props,this.tween=n,t)if("autoRound"!==d&amp;&amp;(s=t[d],!le[d]||!Kt(d,t,n,r,e,o)))if(c=typeof s,u=xr[d],"function"===c&amp;&amp;(c=typeof(s=s.call(n,r,e,o))),"string"===c&amp;&amp;~s.indexOf("random(")&amp;&amp;(s=pt(s)),u)u(this,e,d,s,n)&amp;&amp;(b=1);else if("--"===d.substr(0,2))i=(getComputedStyle(e).getPropertyValue(d)+"").trim(),s+="",Tt.lastIndex=0,Tt.test(i)||(p=et(i),h=et(s)),h?p!==h&amp;&amp;(i=_r(e,d,i,h)+h):p&amp;&amp;(s+=p),this.add(x,"setProperty",i,s,r,o,0,0,d),E.push(d),w.push(d,0,x[d]);else if("undefined"!==c){if(C&amp;&amp;d in C?(i="function"==typeof C[d]?C[d].call(n,r,e,o):C[d],P(i)&amp;&amp;~i.indexOf("random(")&amp;&amp;(i=pt(i)),et(i+"")||"auto"===i||(i+=_.units[d]||et(kr(e,d))||""),"="===(i+"").charAt(1)&amp;&amp;(i=kr(e,d))):i=kr(e,d),l=parseFloat(i),(f="string"===c&amp;&amp;"="===s.charAt(1)&amp;&amp;s.substr(0,2))&amp;&amp;(s=s.substr(2)),a=parseFloat(s),d in Un&amp;&amp;("autoAlpha"===d&amp;&amp;(1===l&amp;&amp;"hidden"===kr(e,"visibility")&amp;&amp;a&amp;&amp;(l=0),w.push("visibility",0,x.visibility),br(this,x,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&amp;&amp;"transform"!==d&amp;&amp;~(d=Un[d]).indexOf(",")&amp;&amp;(d=d.split(",")[0])),m=d in Fn)if(this.styles.save(d),g||((v=e._gsap).renderTransform&amp;&amp;!t.parseTransform||Dr(e,t.parseTransform),y=!1!==t.smoothOrigin&amp;&amp;v.smooth,(g=this._pt=new mn(this._pt,x,rr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new mn(this._pt,v,"scaleY",v.scaleY,(f?be(v.scaleY,f+a):a)-v.scaleY||0,zn),this._pt.u=0,E.push("scaleY",d),d+="X";else{if("transformOrigin"===d){w.push(or,0,x[or]),k=void 0,A=void 0,T=void 0,k=(S=s).split(" "),A=k[0],T=k[1]||"50%","top"!==A&amp;&amp;"bottom"!==A&amp;&amp;"left"!==T&amp;&amp;"right"!==T||(S=A,A=T,T=S),k[0]=Tr[A]||A,k[1]=Tr[T]||T,s=k.join(" "),v.svg?Nr(e,s,0,y,0,this):((h=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&amp;&amp;br(this,v,"zOrigin",v.zOrigin,h),br(this,x,d,Rr(i),Rr(s)));continue}if("svgOrigin"===d){Nr(e,s,1,y,0,this);continue}if(d in Or){Wr(this,v,d,l,f?be(l,f+s):s);continue}if("smoothOrigin"===d){br(this,v,"smooth",v.smooth,s);continue}if("force3D"===d){v[d]=s;continue}if("transform"===d){zr(this,s,e);continue}}else d in x||(d=pr(d)||d);if(m||(a||0===a)&amp;&amp;(l||0===l)&amp;&amp;!Wn.test(s)&amp;&amp;d in x)a||(a=0),(p=(i+"").substr((l+"").length))!==(h=et(s)||(d in _.units?_.units[d]:p))&amp;&amp;(l=_r(e,d,i,h)),this._pt=new mn(this._pt,m?v:x,d,l,(f?be(l,f+a):a)-l,m||"px"!==h&amp;&amp;"zIndex"!==d||!1===t.autoRound?zn:Kn),this._pt.u=h||0,p!==h&amp;&amp;"%"!==h&amp;&amp;(this._pt.b=i,this._pt.r=Xn);else if(d in x)Ar.call(this,e,d,i,f?f+s:s);else if(d in e)this.add(e,d,i||e[d],f?f+s:s,r,o);else if("parseTransform"!==d){J(d,s);continue}m||(d in x?w.push(d,0,x[d]):w.push(d,1,i||e[d])),E.push(d)}b&amp;&amp;fn(this)},render:function(e,t){if(t.tween._time||!Rn())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:kr,aliases:Un,getSetter:function(e,t,n){var r=Un[t];return r&amp;&amp;r.indexOf(",")&lt;0&amp;&amp;(t=r),t in Fn&amp;&amp;t!==or&amp;&amp;(e._gsap.x||kr(e,"x"))?n&amp;&amp;Dn===n?"scale"===t?er:Zn:(Dn=n||{})&amp;&amp;("scale"===t?tr:nr):e.style&amp;&amp;!R(e.style[t])?Qn:~t.indexOf("-")?Jn:sn(e,t)},core:{_removeProperty:yr,_getMatrix:Pr}};Cn.utils.checkPrefix=pr,Cn.core.getStyleSaver=lr,Kr=ge((Vr="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Xr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){Fn[e]=1})),ge(Xr,(function(e){_.units[e]="deg",Or[e]=1})),Un[Kr[13]]=Vr+","+Xr,ge("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");Un[t[1]]=Kr[t[0]]})),ge("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){_.units[e]="px"})),Cn.registerPlugin(qr);var Yr=Cn.registerPlugin(qr)||Cn;Yr.core.Tween},61586:function(e,t,n){var r,o;!function(){"use strict";var i,s={};s.VERSION="1.6.1";var a={},l=function(e,t){return function(){return t.apply(e,arguments)}},c=function(){var e,t,n=arguments,r=n[0];for(t=1;t&lt;n.length;t++)for(e in n[t])!(e in r)&amp;&amp;n[t].hasOwnProperty(e)&amp;&amp;(r[e]=n[t][e]);return r},u=function(e,t){return{value:e,name:t}};s.TRACE=u(1,"TRACE"),s.DEBUG=u(2,"DEBUG"),s.INFO=u(3,"INFO"),s.TIME=u(4,"TIME"),s.WARN=u(5,"WARN"),s.ERROR=u(8,"ERROR"),s.OFF=u(99,"OFF");var d=function(e){this.context=e,this.setLevel(e.filterLevel),this.log=this.info};d.prototype={setLevel:function(e){e&amp;&amp;"value"in e&amp;&amp;(this.context.filterLevel=e)},getLevel:function(){return this.context.filterLevel},enabledFor:function(e){var t=this.context.filterLevel;return e.value&gt;=t.value},trace:function(){this.invoke(s.TRACE,arguments)},debug:function(){this.invoke(s.DEBUG,arguments)},info:function(){this.invoke(s.INFO,arguments)},warn:function(){this.invoke(s.WARN,arguments)},error:function(){this.invoke(s.ERROR,arguments)},time:function(e){"string"==typeof e&amp;&amp;e.length&gt;0&amp;&amp;this.invoke(s.TIME,[e,"start"])},timeEnd:function(e){"string"==typeof e&amp;&amp;e.length&gt;0&amp;&amp;this.invoke(s.TIME,[e,"end"])},invoke:function(e,t){i&amp;&amp;this.enabledFor(e)&amp;&amp;i(t,c({level:e},this.context))}};var p,h=new d({filterLevel:s.OFF});(p=s).enabledFor=l(h,h.enabledFor),p.trace=l(h,h.trace),p.debug=l(h,h.debug),p.time=l(h,h.time),p.timeEnd=l(h,h.timeEnd),p.info=l(h,h.info),p.warn=l(h,h.warn),p.error=l(h,h.error),p.log=p.info,s.setHandler=function(e){i=e},s.setLevel=function(e){for(var t in h.setLevel(e),a)a.hasOwnProperty(t)&amp;&amp;a[t].setLevel(e)},s.getLevel=function(){return h.getLevel()},s.get=function(e){return a[e]||(a[e]=new d(c({name:e},h.context)))},s.createDefaultHandler=function(e){(e=e||{}).formatter=e.formatter||function(e,t){t.name&amp;&amp;e.unshift("["+t.name+"]")};var t={},n=function(e,t){Function.prototype.apply.call(e,console,t)};return"undefined"==typeof console?function(){}:function(r,o){r=Array.prototype.slice.call(r);var i,a=console.log;o.level===s.TIME?(i=(o.name?"["+o.name+"] ":"")+r[0],"start"===r[1]?console.time?console.time(i):t[i]=(new Date).getTime():console.timeEnd?console.timeEnd(i):n(a,[i+": "+((new Date).getTime()-t[i])+"ms"])):(o.level===s.WARN&amp;&amp;console.warn?a=console.warn:o.level===s.ERROR&amp;&amp;console.error?a=console.error:o.level===s.INFO&amp;&amp;console.info?a=console.info:o.level===s.DEBUG&amp;&amp;console.debug?a=console.debug:o.level===s.TRACE&amp;&amp;console.trace&amp;&amp;(a=console.trace),e.formatter(r,o),n(a,r))}},s.useDefaults=function(e){s.setLevel(e&amp;&amp;e.defaultLevel||s.DEBUG),s.setHandler(s.createDefaultHandler(e))},s.setDefaults=s.useDefaults,void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}()},49205:(e,t,n)=&gt;{"use strict";function r(e){return getComputedStyle(e)}function o(e,t){for(var n in t){var r=t[n];"number"==typeof r&amp;&amp;(r+="px"),e.style[n]=r}return e}function i(e){var t=document.createElement("div");return t.className=e,t}n.d(t,{A:()=&gt;I});var s="undefined"!=typeof Element&amp;&amp;(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function a(e,t){if(!s)throw new Error("No element matching method supported");return s.call(e,t)}function l(e){e.remove?e.remove():e.parentNode&amp;&amp;e.parentNode.removeChild(e)}function c(e,t){return Array.prototype.filter.call(e.children,(function(e){return a(e,t)}))}var u="ps",d="ps__rtl",p={thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},h={focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}},f={x:null,y:null};function m(e,t){var n=e.element.classList,r=h.scrolling(t);n.contains(r)?clearTimeout(f[t]):n.add(r)}function g(e,t){f[t]=setTimeout((function(){return e.isAlive&amp;&amp;e.element.classList.remove(h.scrolling(t))}),e.settings.scrollingThreshold)}var v=function(e){this.element=e,this.handlers={}},y={isEmpty:{configurable:!0}};v.prototype.bind=function(e,t){void 0===this.handlers[e]&amp;&amp;(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},v.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)}))},v.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},y.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(v.prototype,y);var b=function(){this.eventElements=[]};function w(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function S(e,t,n,r,o){var i;if(void 0===r&amp;&amp;(r=!0),void 0===o&amp;&amp;(o=!1),"top"===t)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,o){var i=n[0],s=n[1],a=n[2],l=n[3],c=n[4],u=n[5];void 0===r&amp;&amp;(r=!0);void 0===o&amp;&amp;(o=!1);var d=e.element;e.reach[l]=null,d[a]&lt;1&amp;&amp;(e.reach[l]="start");d[a]&gt;e[i]-e[s]-1&amp;&amp;(e.reach[l]="end");t&amp;&amp;(d.dispatchEvent(w("ps-scroll-"+l)),t&lt;0?d.dispatchEvent(w("ps-scroll-"+c)):t&gt;0&amp;&amp;d.dispatchEvent(w("ps-scroll-"+u)),r&amp;&amp;function(e,t){m(e,t),g(e,t)}(e,l));e.reach[l]&amp;&amp;(t||o)&amp;&amp;d.dispatchEvent(w("ps-"+l+"-reach-"+e.reach[l]))}(e,n,i,r,o)}function _(e){return parseInt(e,10)||0}b.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new v(e),this.eventElements.push(t)),t},b.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},b.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&amp;&amp;this.eventElements.splice(this.eventElements.indexOf(r),1)},b.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},b.prototype.once=function(e,t,n){var r=this.eventElement(e),o=function(e){r.unbind(t,o),n(e)};r.bind(t,o)};var k={isWebKit:"undefined"!=typeof document&amp;&amp;"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&amp;&amp;("ontouchstart"in window||"maxTouchPoints"in window.navigator&amp;&amp;window.navigator.maxTouchPoints&gt;0||window.DocumentTouch&amp;&amp;document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&amp;&amp;navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&amp;&amp;/Chrome/i.test(navigator&amp;&amp;navigator.userAgent)};function A(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.floor(r.width),e.containerHeight=Math.floor(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(c(t,p.rail("x")).forEach((function(e){return l(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(c(t,p.rail("y")).forEach((function(e){return l(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&amp;&amp;e.containerWidth+e.settings.scrollXMarginOffset&lt;e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=T(e,_(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=_((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&amp;&amp;e.containerHeight+e.settings.scrollYMarginOffset&lt;e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=T(e,_(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=_(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft&gt;=e.railXWidth-e.scrollbarXWidth&amp;&amp;(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop&gt;=e.railYHeight-e.scrollbarYHeight&amp;&amp;(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft;t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r;o(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?i.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:i.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?i.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:i.left=t.scrollbarYLeft+e.scrollLeft;o(t.scrollbarYRail,i),o(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),o(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(h.active("x")):(t.classList.remove(h.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(h.active("y")):(t.classList.remove(h.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function T(e,t){return e.settings.minScrollbarLength&amp;&amp;(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&amp;&amp;(t=Math.min(t,e.settings.maxScrollbarLength)),t}var E=null;function x(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],s=t[4],a=t[5],l=t[6],c=t[7],u=t[8],d=e.element,p=null,f=null,v=null;function y(t){t.touches&amp;&amp;t.touches[0]&amp;&amp;(t[o]=t.touches[0]["page"+c.toUpperCase()]),E===s&amp;&amp;(d[l]=p+v*(t[o]-f),m(e,c),A(e),t.stopPropagation(),t.preventDefault())}function b(){g(e,c),e[u].classList.remove(h.clicking),document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",b),E=null}function w(t){null===E&amp;&amp;(E=s,p=d[l],t.touches&amp;&amp;(t[o]=t.touches[0]["page"+c.toUpperCase()]),f=t[o],v=(e[r]-e[n])/(e[i]-e[a]),t.touches?(document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",b)):(document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)),e[u].classList.add(h.clicking)),t.stopPropagation(),t.cancelable&amp;&amp;t.preventDefault()}e[s].addEventListener("mousedown",w),e[s].addEventListener("touchstart",w)}var C={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top&gt;e.scrollbarYTop?1:-1;e.element.scrollTop+=n*e.containerHeight,A(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left&gt;e.scrollbarXLeft?1:-1;e.element.scrollLeft+=n*e.containerWidth,A(e),t.stopPropagation()}))},"drag-thumb":function(e){x(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),x(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&amp;&amp;n.isDefaultPrevented()||n.defaultPrevented)&amp;&amp;(a(t,":hover")||a(e.scrollbarX,":focus")||a(e.scrollbarY,":focus"))){var r,o=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(o){if("IFRAME"===o.tagName)o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(a(r=o,"input,[contenteditable]")||a(r,"select,[contenteditable]")||a(r,"textarea,[contenteditable]")||a(r,"button,[contenteditable]"))return}var i=0,s=0;switch(n.which){case 37:i=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:s=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:i=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:s=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:s=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:s=e.containerHeight;break;case 34:s=-e.containerHeight;break;case 36:s=e.contentHeight;break;case 35:s=-e.contentHeight;break;default:return}e.settings.suppressScrollX&amp;&amp;0!==i||e.settings.suppressScrollY&amp;&amp;0!==s||(t.scrollTop-=s,t.scrollLeft+=i,A(e),function(n,r){var o=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===o&amp;&amp;r&gt;0||o&gt;=e.contentHeight-e.containerHeight&amp;&amp;r&lt;0)return!e.settings.wheelPropagation}var i=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===i&amp;&amp;n&lt;0||i&gt;=e.contentWidth-e.containerWidth&amp;&amp;n&gt;0)return!e.settings.wheelPropagation}return!0}(i,s)&amp;&amp;n.preventDefault())}}))},wheel:function(e){var t=e.element;function n(n){var o=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&amp;&amp;void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&amp;&amp;1===e.deltaMode&amp;&amp;(t*=10,n*=10),t!=t&amp;&amp;n!=n&amp;&amp;(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),i=o[0],s=o[1];if(!function(e,n,o){if(!k.isWebKit&amp;&amp;t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var i=e;i&amp;&amp;i!==t;){if(i.classList.contains(p.consuming))return!0;var s=r(i);if(o&amp;&amp;s.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a&gt;0&amp;&amp;(i.scrollTop&gt;0&amp;&amp;o&lt;0||i.scrollTop&lt;a&amp;&amp;o&gt;0))return!0}if(n&amp;&amp;s.overflowX.match(/(scroll|auto)/)){var l=i.scrollWidth-i.clientWidth;if(l&gt;0&amp;&amp;(i.scrollLeft&gt;0&amp;&amp;n&lt;0||i.scrollLeft&lt;l&amp;&amp;n&gt;0))return!0}i=i.parentNode}return!1}(n.target,i,s)){var a=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&amp;&amp;!e.scrollbarXActive?(s?t.scrollTop-=s*e.settings.wheelSpeed:t.scrollTop+=i*e.settings.wheelSpeed,a=!0):e.scrollbarXActive&amp;&amp;!e.scrollbarYActive&amp;&amp;(i?t.scrollLeft+=i*e.settings.wheelSpeed:t.scrollLeft-=s*e.settings.wheelSpeed,a=!0):(t.scrollTop-=s*e.settings.wheelSpeed,t.scrollLeft+=i*e.settings.wheelSpeed),A(e),a=a||function(n,r){var o=Math.floor(t.scrollTop),i=0===t.scrollTop,s=o+t.offsetHeight===t.scrollHeight,a=0===t.scrollLeft,l=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)&gt;Math.abs(n)?i||s:a||l)||!e.settings.wheelPropagation}(i,s),a&amp;&amp;!n.ctrlKey&amp;&amp;(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",n):void 0!==window.onmousewheel&amp;&amp;e.event.bind(t,"mousewheel",n)},touch:function(e){if(k.supportsTouch||k.supportsIePointer){var t=e.element,n={startOffset:{},startTime:0,speed:{},easingLoop:null};k.supportsTouch?(e.event.bind(t,"touchstart",a),e.event.bind(t,"touchmove",l),e.event.bind(t,"touchend",c)):k.supportsIePointer&amp;&amp;(window.PointerEvent?(e.event.bind(t,"pointerdown",a),e.event.bind(t,"pointermove",l),e.event.bind(t,"pointerup",c)):window.MSPointerEvent&amp;&amp;(e.event.bind(t,"MSPointerDown",a),e.event.bind(t,"MSPointerMove",l),e.event.bind(t,"MSPointerUp",c)))}function o(n,r){t.scrollTop-=r,t.scrollLeft-=n,A(e)}function i(e){return e.targetTouches?e.targetTouches[0]:e}function s(t){return t.target!==e.scrollbarX&amp;&amp;t.target!==e.scrollbarY&amp;&amp;((!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&amp;&amp;(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE)))}function a(e){if(s(e)){var t=i(e);n.startOffset.pageX=t.pageX,n.startOffset.pageY=t.pageY,n.startTime=(new Date).getTime(),null!==n.easingLoop&amp;&amp;clearInterval(n.easingLoop)}}function l(a){if(s(a)){var l=i(a),c={pageX:l.pageX,pageY:l.pageY},u=c.pageX-n.startOffset.pageX,d=c.pageY-n.startOffset.pageY;if(function(e,n,o){if(!t.contains(e))return!1;for(var i=e;i&amp;&amp;i!==t;){if(i.classList.contains(p.consuming))return!0;var s=r(i);if(o&amp;&amp;s.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a&gt;0&amp;&amp;(i.scrollTop&gt;0&amp;&amp;o&lt;0||i.scrollTop&lt;a&amp;&amp;o&gt;0))return!0}if(n&amp;&amp;s.overflowX.match(/(scroll|auto)/)){var l=i.scrollWidth-i.clientWidth;if(l&gt;0&amp;&amp;(i.scrollLeft&gt;0&amp;&amp;n&lt;0||i.scrollLeft&lt;l&amp;&amp;n&gt;0))return!0}i=i.parentNode}return!1}(a.target,u,d))return;o(u,d),n.startOffset=c;var h=(new Date).getTime(),f=h-n.startTime;f&gt;0&amp;&amp;(n.speed.x=u/f,n.speed.y=d/f,n.startTime=h),function(n,r){var o=Math.floor(t.scrollTop),i=t.scrollLeft,s=Math.abs(n),a=Math.abs(r);if(a&gt;s){if(r&lt;0&amp;&amp;o===e.contentHeight-e.containerHeight||r&gt;0&amp;&amp;0===o)return 0===window.scrollY&amp;&amp;r&gt;0&amp;&amp;k.isChrome}else if(s&gt;a&amp;&amp;(n&lt;0&amp;&amp;i===e.contentWidth-e.containerWidth||n&gt;0&amp;&amp;0===i))return!0;return!0}(u,d)&amp;&amp;a.cancelable&amp;&amp;a.preventDefault()}}function c(){e.settings.swipeEasing&amp;&amp;(clearInterval(n.easingLoop),n.easingLoop=setInterval((function(){e.isInitialized?clearInterval(n.easingLoop):n.speed.x||n.speed.y?Math.abs(n.speed.x)&lt;.01&amp;&amp;Math.abs(n.speed.y)&lt;.01?clearInterval(n.easingLoop):(o(30*n.speed.x,30*n.speed.y),n.speed.x*=.8,n.speed.y*=.8):clearInterval(n.easingLoop)}),10))}}},O=function(e,t){var n=this;if(void 0===t&amp;&amp;(t={}),"string"==typeof e&amp;&amp;(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var s in this.element=e,e.classList.add(u),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[s]=t[s];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var a,l,c=function(){return e.classList.add(h.focus)},f=function(){return e.classList.remove(h.focus)};this.isRtl="rtl"===r(e).direction,!0===this.isRtl&amp;&amp;e.classList.add(d),this.isNegativeScroll=(l=e.scrollLeft,e.scrollLeft=-1,a=e.scrollLeft&lt;0,e.scrollLeft=l,a),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new b,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=i(p.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=i(p.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",c),this.event.bind(this.scrollbarX,"blur",f),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var m=r(this.scrollbarXRail);this.scrollbarXBottom=parseInt(m.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=_(m.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=_(m.borderLeftWidth)+_(m.borderRightWidth),o(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=_(m.marginLeft)+_(m.marginRight),o(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(p.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=i(p.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",c),this.event.bind(this.scrollbarY,"blur",f),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var g=r(this.scrollbarYRail);this.scrollbarYRight=parseInt(g.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=_(g.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=r(e);return _(t.width)+_(t.paddingLeft)+_(t.paddingRight)+_(t.borderLeftWidth)+_(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=_(g.borderTopWidth)+_(g.borderBottomWidth),o(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=_(g.marginTop)+_(g.marginBottom),o(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft&lt;=0?"start":e.scrollLeft&gt;=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop&lt;=0?"start":e.scrollTop&gt;=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return C[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),A(this)};O.prototype.update=function(){this.isAlive&amp;&amp;(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,o(this.scrollbarXRail,{display:"block"}),o(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=_(r(this.scrollbarXRail).marginLeft)+_(r(this.scrollbarXRail).marginRight),this.railYMarginHeight=_(r(this.scrollbarYRail).marginTop)+_(r(this.scrollbarYRail).marginBottom),o(this.scrollbarXRail,{display:"none"}),o(this.scrollbarYRail,{display:"none"}),A(this),S(this,"top",0,!1,!0),S(this,"left",0,!1,!0),o(this.scrollbarXRail,{display:""}),o(this.scrollbarYRail,{display:""}))},O.prototype.onScroll=function(e){this.isAlive&amp;&amp;(A(this),S(this,"top",this.element.scrollTop-this.lastScrollTop),S(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},O.prototype.destroy=function(){this.isAlive&amp;&amp;(this.event.unbindAll(),l(this.scrollbarX),l(this.scrollbarY),l(this.scrollbarXRail),l(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},O.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")};const I=O},65606:e=&gt;{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&amp;&amp;setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,l=[],c=!1,u=-1;function d(){c&amp;&amp;a&amp;&amp;(c=!1,a.length?l=a.concat(l):u=-1,l.length&amp;&amp;p())}function p(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(a=l,l=[];++u&lt;t;)a&amp;&amp;a[u].run();u=-1,t=l.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&amp;&amp;clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length&gt;1)for(var n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},81659:e=&gt;{var t,n;t={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax",partitioned:""},n={install:function(e,t){t&amp;&amp;this.config(t.expires,t.path,t.domain,t.secure,t.sameSite,t.partitioned),e.prototype&amp;&amp;(e.prototype.$cookies=this),e.config&amp;&amp;e.config.globalProperties&amp;&amp;(e.config.globalProperties.$cookies=this,e.provide("$cookies",this)),e.$cookies=this},config:function(e,n,r,o,i,s){t.expires=e||"1d",t.path=n?"; path="+n:"; path=/",t.domain=r?"; domain="+r:"",t.secure=o?"; Secure":"",t.sameSite=i?"; SameSite="+i:"; SameSite=Lax",t.partitioned=s?"; Partitioned":""},get:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&amp;")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&amp;&amp;("{"===t.substring(0,1)&amp;&amp;"}"===t.substring(t.length-1,t.length)||"["===t.substring(0,1)&amp;&amp;"]"===t.substring(t.length-1,t.length)))try{t=JSON.parse(t)}catch(e){return t}return t},set:function(e,n,r,o,i,s,a,l){if(!e)throw new Error("Cookie name is not found in the first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]\t current key name: '+e);n&amp;&amp;"object"==typeof n&amp;&amp;(n=JSON.stringify(n));var c="";if((r=void 0===r?t.expires:r)&amp;&amp;0!==r)switch(r.constructor){case Number:c=r===1/0||-1===r?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+r;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(r)){var u=r.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(r.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":c="; max-age="+2592e3*+u;break;case"d":c="; max-age="+86400*+u;break;case"h":c="; max-age="+3600*+u;break;case"min":c="; max-age="+60*+u;break;case"s":c="; max-age="+u;break;case"y":c="; max-age="+31104e3*+u;break;default:new Error('unknown exception of "set operation"')}}else c="; expires="+r;break;case Date:c="; expires="+r.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(n)+c+(i?"; domain="+i:t.domain)+(o?"; path="+o:t.path)+(void 0===s?t.secure:s?"; Secure":"")+(void 0===a?t.sameSite:a?"; SameSite="+a:"")+(void 0===l?t.partitioned:l?"; Partitioned":""),this},remove:function(e,n,r){return!(!e||!this.isKey(e)||(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(r?"; domain="+r:t.domain)+(n?"; path="+n:t.path)+"; SameSite=Lax",0))},isKey:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&amp;")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t&lt;e.length;t++)e[t]=decodeURIComponent(e[t]);return e}},e.exports=n,"undefined"!=typeof window&amp;&amp;(window.$cookies=n)},97073:(e,t,n)=&gt;{"use strict";n.d(t,{Ay:()=&gt;P,JR:()=&gt;A,f0:()=&gt;k});var r=n(90033),o=n(20641);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function e(t){for(var n=arguments.length,o=new Array(n&gt;1?n-1:0),s=1;s&lt;n;s++)o[s-1]=arguments[s];if(!o.length)return t;var a=o.shift();if((0,r.Qd)(t)&amp;&amp;(0,r.Qd)(a)){for(var l in a)(0,r.Qd)(a[l])?(t[l]||Object.assign(t,i({},l,{})),e(t[l],a[l])):Object.assign(t,i({},l,a[l]));return e.apply(void 0,[t].concat(o))}},c=function(){return"undefined"!=typeof window&amp;&amp;"undefined"!=typeof document},u=function(e){c()};function d(){var e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"",t=(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"").split("/"),n=e.split("/");return""===t[0]&amp;&amp;"/"===e[e.length-1]&amp;&amp;t.shift(),n.join("/")+t.join("/")}var p,h={},f=function(){h=l({bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}},arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{})},m=function(){return h},g=function(){var e,t=m().globalObjectName;c()&amp;&amp;void 0!==window[t]&amp;&amp;(e=window)[t].apply(e,arguments)},v=function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];var r=m(),o=r.config,i=r.includes;g.apply(void 0,["config",o.id].concat(t)),Array.isArray(i)&amp;&amp;i.forEach((function(e){g.apply(void 0,["config",e.id].concat(t))}))},y=function(e,t){c()&amp;&amp;(window["ga-disable-".concat(e)]=t)},b=function(){var e=!(arguments.length&gt;0&amp;&amp;void 0!==arguments[0])||arguments[0],t=m(),n=t.config,r=t.includes;y(n.id,e),Array.isArray(r)&amp;&amp;r.forEach((function(t){return y(t.id,e)}))},w=function(){b(!0)},S=function(e){p=e},_=function(){return p},k=function(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=m(),r=n.includes,o=n.defaultGroupName;null==t.send_to&amp;&amp;Array.isArray(r)&amp;&amp;r.length&amp;&amp;(t.send_to=r.map((function(e){return e.id})).concat(o)),g("event",e,t)},A=function(e){if(c()){var t;if("string"==typeof e)t={page_path:e};else if(e.path||e.fullPath){var n=m(),r=n.pageTrackerUseFullPath,o=n.pageTrackerPrependBase,i=_(),s=i&amp;&amp;i.options.base,l=r?e.fullPath:e.path;t=a(a({},e.name&amp;&amp;{page_title:e.name}),{},{page_path:o?d(l,s):l})}else t=e;null==t.page_location&amp;&amp;(t.page_location=window.location.href),null==t.send_page_view&amp;&amp;(t.send_page_view=!0),k("page_view",t)}},T=function(e){var t,n=m().appName;e&amp;&amp;((t="string"==typeof e?{screen_name:e}:e).app_name=t.app_name||n,k("screen_view",t))},E=Object.freeze({__proto__:null,query:g,config:v,optOut:w,optIn:function(){b(!1)},pageview:A,screenview:T,exception:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];k.apply(void 0,["exception"].concat(t))},linker:function(e){v("linker",e)},time:function(e){k("timing_complete",e)},set:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];g.apply(void 0,["set"].concat(t))},refund:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];k.apply(void 0,["refund"].concat(t))},purchase:function(e){k("purchase",e)},customMap:function(e){v({custom_map:e})},event:k}),x=function(e){return a({send_page_view:!1},e)},C=function(){var e=m(),t=e.config,n=e.includes;g("config",t.id,x(t.params)),Array.isArray(n)&amp;&amp;n.forEach((function(e){g("config",e.id,x(e.params))}))},O=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=m(),o=n.appName,i=n.pageTrackerTemplate,s=n.pageTrackerScreenviewEnabled;if(!n.pageTrackerSkipSamePath||e.path!==t.path){var a=e;(0,r.Tn)(i)?a=i(e,t):s&amp;&amp;(a=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};return u('Missing "appName" property inside the plugin options.',null==e.app_name),u('Missing "name" property in the route.',null==e.screen_name),e}({app_name:o,screen_name:e.name})),s?T(a):A(a)}},I=function(e){var t=m().pageTrackerExcludedRoutes;return t.includes(e.path)||t.includes(e.name)},L=function(){var e=m(),t=e.onReady,n=e.onError,i=e.globalObjectName,s=e.globalDataLayerName,a=e.config,l=e.customResourceURL,u=e.customPreconnectOrigin,d=e.deferScriptLoad,p=e.pageTrackerEnabled,h=e.disableScriptLoad,f=Boolean(p&amp;&amp;_());if(function(){if(c()){var e=m(),t=e.enabled,n=e.globalObjectName,r=e.globalDataLayerName;null==window[n]&amp;&amp;(window[r]=window[r]||[],window[n]=function(){window[r].push(arguments)}),window[n]("js",new Date),t||w(),window[n]}}(),f?function(){var e=m(),t=e.onBeforeTrack,n=e.onAfterTrack,i=_();i.isReady().then((function(){(0,o.dY)().then((function(){var e=i.currentRoute;C(),I(e.value)||O(e.value)})),i.afterEach((function(e,i){(0,o.dY)().then((function(){I(e)||((0,r.Tn)(t)&amp;&amp;t(e,i),O(e,i),(0,r.Tn)(n)&amp;&amp;n(e,i))}))}))}))}():C(),!h)return function(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");if(i.async=!0,i.src=e,i.defer=t.defer,t.preconnectOrigin){var s=document.createElement("link");s.href=t.preconnectOrigin,s.rel="preconnect",o.appendChild(s)}o.appendChild(i),i.onload=n,i.onerror=r}}))}("".concat(l,"?id=").concat(a.id,"&amp;l=").concat(s),{preconnectOrigin:u,defer:d}).then((function(){t&amp;&amp;t(window[i])})).catch((function(e){return n&amp;&amp;n(e),e}))};const P=function(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=arguments.length&gt;2?arguments[2]:void 0;!function(e){e.config.globalProperties.$gtag=E}(e),f(t),S(n),m().bootstrap&amp;&amp;L()}},66262:(e,t)=&gt;{"use strict";t.A=(e,t)=&gt;{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},15771:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(20641),o={class:"confirmation-modal"};var i=n(97827),s=n(70846),a=n(41117),l=n(85349);const c={name:"confirmation-modal",components:{ModalFooter:n(48084).A,ModalBody:l.A,ModalHeader:a.A,ModalWrapper:s.A,Cta:i.A},props:["show","modal-size","title"],methods:{emitPrimaryAction:function(){this.$emit("action",!0)},closeModal:function(){this.$emit("close",!0)}}};const u=(0,n(66262).A)(c,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ModalHeader"),c=(0,r.g2)("ModalBody"),u=(0,r.g2)("cta"),d=(0,r.g2)("ModalFooter"),p=(0,r.g2)("ModalWrapper");return(0,r.uX)(),(0,r.Wv)(p,{"dark-scheme":"",show:n.show,"modal-size":"small",onClose:t[2]||(t[2]=function(t){return e.$emit("close")})},{"modal-header":(0,r.k6)((function(){return[(0,r.bF)(l,{"dark-scheme":"",title:n.title},null,8,["title"])]})),"modal-body":(0,r.k6)((function(){return[(0,r.bF)(c,null,{default:(0,r.k6)((function(){return[(0,r.Lk)("div",o,[(0,r.RG)(e.$slots,"content")])]})),_:3})]})),"modal-footer":(0,r.k6)((function(){return[(0,r.bF)(d,null,{default:(0,r.k6)((function(){return[(0,r.bF)(u,{"dark-scheme":"",type:"secondary",onClick:t[0]||(t[0]=function(t){return e.$emit("close")})},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Cancel")])})),_:1}),(0,r.bF)(u,{"dark-scheme":"",type:"alert",onClick:t[1]||(t[1]=function(e){return a.emitPrimaryAction()})},{default:(0,r.k6)((function(){return[(0,r.RG)(e.$slots,"primaryButtonLabel",{},(function(){return[t[4]||(t[4]=(0,r.eW)("Delete"))]}))]})),_:3})]})),_:3})]})),_:3},8,["show"])}]])},910:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(20641);const o={name:"icon",components:{InlineSvg:n(596).A},props:{iconName:{type:String,default:"text"},width:{type:Number,default:null},height:{type:Number,default:null}},methods:{getIcon:function(e){switch(e){case"add-button":return n(32658);case"add-link":return n(88618);case"add-media":return n(2018);case"add-page":return n(57559);case"add-text":return n(31455);case"add-testimonial":return n(47967);case"remove-testimonial":return n(89114);case"brush":case"designer":return n(95988);case"col-add":return n(5752);case"col-remove":return n(64331);case"context-menu":return n(41643);case"crop":case"crop-active":case"crop-white":return n(35894);case"delete":return n(76221);case"desktop":return n(79796);case"down":case"down-arrow":case"arrow-down":case"down-gray":return n(35696);case"draft":return n(93141);case"drag":case"rearrange":return n(94706);case"edit-logo":return n(26984);case"edit-pages":return n(40375);case"effects":case"effects-active":return n(38230);case"email-settings":return n(31050);case"flip":return n(91597);case"global-spacing":return n(50685);case"idea":return n(84813);case"image-bi-cover":return n(77517);case"image-bottom-align":return n(85125);case"image-display":return n(47094);case"image-display-mode":return n(97470);case"image-fit":return n(50297);case"image-fit-margin":return n(53876);case"image-it-large":return n(90649);case"image-it-medium":return n(11009);case"image-it-small":return n(51249);case"image-large":return n(53441);case"image-medium":return n(95897);case"image-null":case"disabled":case"not-allowed":case"no-mockup":return n(42427);case"image-small":return n(64697);case"layout":case"layout-active":return n(35398);case"left":case"arrow-left":return n(80095);case"lock":return n(73929);case"mobile":return n(74458);case"mockups":case"mockups-active":return n(52324);case"nav-background-fill":return n(6634);case"nav-font-color":return n(57625);case"remove-media":return n(99095);case"remove-page":return n(79792);case"remove-thumbnail":return n(96651);case"reorder-arrows":return n(22181);case"replace":return n(48476);case"right":case"arrow-right":return n(6266);case"rotate":case"rotate-mockup":return n(17475);case"change-background":case"set-background":case"image-cover":return n(83453);case"settings":case"settings-light":return n(59171);case"space-decrease":return n(94251);case"space-increase":return n(54007);case"design":case"style":return n(88195);case"success":return n(15581);case"tablet":return n(62596);case"thumbnail-layout":return n(69367);case"thumbnails":return n(69107);case"unpublish":return n(64506);case"up":case"arrow-up":return n(54595);case"change-image":case"change-image-active":case"upload":case"publish":return n(17407);case"history":return n(6692);case"filters":return n(87229);case"add":return n(94946);case"add-case-study-gradient":return n(96296);case"back":return n(60908);case"check":case"checkmark":case"ok":return n(35936);case"chevron-down":return n(84190);case"chevron-left":return n(89109);case"chevron-right":return n(86040);case"chevron-up":return n(93077);case"copy":case"duplicate":return n(582);case"caret-down":case"dropdown-select":return n(69183);case"font-size-icon":return n(5502);case"hidden":case"notvisible":return n(77857);case"hidden-gradient":return n(75802);case"info":return n(45285);case"italic":return n(63813);case"line-height-icon":return n(13169);case"review":return n(1625);case"share":return n(81878);case"visible":case"preview":return n(84629);case"no-index":return n(69023);case"notification":return n(66236);case"gift":return n(58743);case"payment":return n(50501);case"profile":return n(59852);case"reorder":return n(35910);case"warning":return n(51839);case"web":return n(99929);case"alt":return n(35625);case"x":case"close":case"close-light":return n(36201);case"done":return n(47342);case"edit":return n(99010);case"edit-link":return n(71487);case"style-thick":return n(4045);case"text-bold":return n(52477);case"text-center":return n(59879);case"text-format-remove":return n(70118);case"text-h":return n(75620);case"text-h1":return n(47709);case"text-h2":return n(1438);case"text-h3":return n(21487);case"text-h4":return n(27696);case"text-italic":return n(43604);case"text-left":return n(38239);case"link":case"text-link":return n(42196);case"text-ol":return n(52533);case"text-p":return n(16412);case"text-p1":return n(20485);case"text-p2":return n(88710);case"text-quote":return n(20608);case"text-right":return n(50938);case"text-ul":return n(92567);case"text-underline":return n(65648);case"unlink":case"text-unlink":return n(94281);case"crop_1_1":return n(58547);case"crop_2_3":return n(35638);case"crop_3_2":return n(21278);case"crop_4_5":return n(99682);case"crop_5_4":return n(41898);case"crop_9_16":return n(3119);case"crop_16_9":return n(56807);case"crop_circle":return n(27462);case"crop_custom":return n(26419);case"crop_original":return n(86675);case"aspect-ratio-1_1":return n(74130);case"aspect-ratio-3_4":return n(11793);case"aspect-ratio-4_3":return n(6733);case"aspect-ratio-9_16":return n(50856);case"aspect-ratio-16_9":return n(23876);case"aspect-ratio-Original":return n(20368);case"layout-carousel":return n(59647);case"layout-grid":return n(6353);case"layout-slider":return n(52434);case"layout-tilted":return n(91683);case"color-dark":return n(23338);case"color-light":return n(94322);case"corner-rounded":return n(79447);case"corner-squared":return n(53047);case"effects-no-shadow":return n(25371);case"effects-shadow":return n(50699);case"style-browser":return n(86260);case"style-outline":return n(85510);case"style-semi-realistic":return n(50037);case"style-simple":return n(41850);case"type-desktop":return n(71163);case"type-mobile":return n(89791);case"type-monitor":return n(61521);case"type-none":return n(56063);case"type-tablet":return n(36817);case"mobile_single_middle":return n(669);case"mobile_single_slided":return n(5531);case"mobile_dual_middle":return n(53127);case"mobile_dual_slided":return n(43897);case"mobile_triple_middle":return n(16017);case"mobile_triple_slided":return n(17511);case"mobile_triple_slided_rotated":return n(81009);case"mobile_triple_middle_horizontal":return n(70220);case"mobile_quadruple_slided":return n(67560);case"mobile_quadruple_slided_rotated":return n(20438);case"desktop_single_middle":return n(51751);case"desktop_single_slided":return n(26329);case"desktop_mobile_overlay":return n(56198);case"desktop_mobile_middle":return n(27021);case"desktop_single_slided_big":return n(35446);case"desktop_triple_variety":return n(2836);case"tablet_single_middle":return n(96681);case"tablet_single_slided":return n(38383);case"tablet_mobile_overlay":return n(94988);case"tablet_mobile_middle":return n(1659);case"tablet_single_slided_big":return n(70464);case"monitor_single_middle":return n(65831);case"monitor_mobile_middle":return n(19085);case"monitor_desktop_middle":return n(76089);case"monitor_tablet_middle":return n(2783);case"monitor_triple_variety":return n(22132);case"monitor_quadruple_variety":return n(88341);case"device_style_browser":return n(99281);case"device_style_no_device":return n(1189);case"device_style_outline":return n(21843);case"device_style_semi_realistic":return n(89506);case"device_style_simple":return n(35561);case"background_gradient":return n(30625);case"background_transparent":return n(15193);case"background_solid":return n(68070);case"color_light":return n(23764);case"color_dark":return n(48348);case"device_corner_rounded":return n(81559);case"device_corner_squareed":return n(82583);case"gradient_linear_1":return n(72942);case"gradient_linear_2":return n(67309);case"gradient_linear_3":return n(31852);case"gradient_radial_1":return n(48112);case"preset1":return n(20761);case"preset3":return n(15331);case"preset4":return n(25810);case"preset7":return n(25195);case"preset8":return n(15629);case"preset9":return n(65330);case"preset12":return n(78083);case"largeBlock":case"large-block":return n(33839);case"mediumBlockText":case"medium-block-text":return n(88537);case"mixedBlockLarge":case"large-block-mixed":return n(69661);case"smallBlock":case"small-block":return n(70011);case"smallBlockSlide":case"small-block-slided":return n(25445);case"smallBlockText":case"small-block-text":return n(75441);case"aboveAlignment":return n(82827);case"alternatingAlignment":return n(7359);case"belowAlignment":return n(34183);case"hiddenAlignment":return n(79184);case"hoverAlignment":return n(24190);case"insideAlignment":return n(27836);case"leftAlignment":return n(4439);case"rightAlignment":return n(77786);case"horizontalCenter":return n(43034);case"horizontalLeft":return n(72846);case"horizontalRight":return n(16557);case"verticalBottom":return n(87692);case"verticalCenter":return n(19234);case"verticalTop":return n(47958);case"whiteText":return n(46841);case"blackText":return n(79203);case"text_position_full_width_above":return n(50255);case"text_position_full_width_below":return n(5939);case"text_position_full_width_inline":return n(91488);case"text_position_full_width_no_text":return n(44419);case"above":return n(21082);case"below":return n(56474);case"in_line":return n(93271);case"no_text":return n(1924);case"weight_light":return n(95064);case"weight_medium":return n(26617);case"weight_bold":return n(28653);case"bg_style_1":return n(22207);case"bg_style_2":return n(59532);case"bg_style_3":return n(6893);case"bg_style_4":return n(78370);case"bg_style_5":return n(65747);case"bg_style_6":return n(21088);case"bg_style_7":return n(19121);case"bg_style_8":return n(67942);case"bg_style_9":return n(56919);case"content-align-left":return n(2721);case"content-align-center":return n(67241);case"content-align-right":return n(12332);case"content-align-top":return n(47435);case"content-align-middle":return n(39025);case"content-align-bottom":return n(82295);case"type-selector-image":return n(65289);case"type-selector-gradient":return n(21214);case"type-selector-solid":case"type-selector-solid_color":return n(15043);case"type-selector-none":case"type-selector-transparent":return n(23916);case"type-selector-gallery-grid":return n(47401);case"type-selector-gallery-carousel":return n(10215);case"type-selector-gallery-slider":return n(9274);case"type-selector-gallery-tilted":return n(61579);case"type-selector-device-none":return n(24589);case"type-selector-device-mobile":return n(98473);case"type-selector-device-tablet":return n(41727);case"type-selector-device-laptop":return n(75891);case"type-selector-device-desktop":return n(87485);case"type-selector-large_list":return n(62636);case"type-selector-medium_list":return n(68644);case"type-selector-highlight_grid":return n(26293);case"type-selector-grid":return n(72066);case"type-selector-offset_grid":return n(63267);case"type-selector-small_list":return n(65734);case"articles":return n(79515);case"awards":return n(14700);case"bio":return n(6172);case"card-sorting":case"cardsorting":case"projectgrid":return n(69115);case"cj":case"customerjourney":return n(94505);case"columns":return n(15459);case"contactform":case"contact-form":return n(11973);case"cta":return n(67740);case"dividerline":case"divider":return n(53157);case"education":return n(79944);case"experience":return n(7550);case"gallery":return n(59100);case"header":case"subheader":return n(85545);case"hobbies":return n(86914);case"image":return n(34405);case"imagetext":case"image-text":case"textandmedia":return n(57703);case"interviews":return n(47562);case"logowall":case"logo-wall":return n(92892);case"media":return n(84750);case"navigation":return n(7192);case"personas":case"socialmedia":return n(34825);case"prototype":return n(98960);case"short-intro":case"shortintro":return n(69141);case"sketches":return n(30830);case"skills":case"services":return n(31840);case"statement":case"bold-statement":return n(18457);case"statistics":case"stat":case"stats":return n(65883);case"surveys":return n(5727);case"testimonial":case"testimonials":return n(8443);case"text":return n(17587);case"ui-design":case"uidesign":case"uishowcase":return n(94163);case"uj":case"userjourney":return n(34679);case"user-testing":case"usabilitytesting":return n(55308);case"video":case"embed":return n(76691);case"wireframes":return n(90911);case"page-about":return n(2452);case"page-blank":return n(38761);case"page-contact":return n(59611);case"page-external-link":return n(67445);case"page-file":return n(71123);case"page-mailto-link":return n(65468);case"vector":return n(76988);case"mark":return n(36422);case"rocket":return n(50349);case"check-lotti":return n(20815);case"adobe":return n(97699);case"airtable":return n(60174);case"axshare":return n(1925);case"figjam":case"figma":return n(97086);case"framer":return n(38425);case"google":return n(82603);case"invision":return n(89635);case"marvel":return n(24951);case"miro":return n(97365);case"protopie":return n(78598);case"vimeo":return n(21622);case"youtube":return n(70845);case"searchIcon":return n(10557);case"proPickIcon":return n(1269);case"serifIcon":return n(42961);case"sansIcon":return n(15465);case"monoIcon":return n(91185);case"tooltip-arrow":return n(25778);case"positive-aspect":return n(25819);case"areas-of-improvement":return n(51436);case"progress-indicator-empty":return n(79601);case"progress-indicator-step1":return n(41877);case"progress-indicator-step2":return n(70006);case"progress-indicator-finished":return n(88064);case"comment":return n(33735);case"chat":return n(23066);case"reaction":return n(34033);case"send":return n(48761);case"dots":return n(79788);default:return console.error("Image route not defined for section type: ".concat(e)),n(91185)}}}};const i=(0,n(66262).A)(o,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("InlineSvg");return(0,r.uX)(),(0,r.Wv)(a,{src:s.getIcon(n.iconName),width:n.width,height:n.height},null,8,["src","width","height"])}]])},88460:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;l});var r=n(20641),o=n(53751);var i=n(85880),s=n(76575);const a={name:"animation-wrapper",components:{},props:{delayAnimation:{default:0,type:Number},animationStyle:{default:"NONE",type:String},animationSpeed:{default:0,type:Number},disableAnimation:{default:!1,type:Boolean},isFinalSection:{default:!1,type:Boolean}},setup:function(e){var t;i.Ay.registerPlugin(s.A);(0,r.sV)((function(){s.A.refresh(!0)})),(0,r.hi)((function(){t&amp;&amp;t.kill()}));return{beforeEnter:function(t){e.disableAnimation||"NONE"===e.animationStyle||(t.style.willChange="transform",t.style.opacity=0),e.disableAnimation||("RISE"===e.animationStyle?t.style.transform="translateY(10px)":"PAN_LEFT"===e.animationStyle?t.style.transform="translateX(10px)":"PAN_RIGHT"===e.animationStyle?t.style.transform="translateX(-10px)":"MOVE_IN"===e.animationStyle?t.style.transform="translate(-10px, 10px)":"BRING_IN"===e.animationStyle?t.style.transform="translate(-10px, -10px)":"FALL"===e.animationStyle?t.style.transform="translateY(-10px)":"SCALE"===e.animationStyle&amp;&amp;(t.style.transform="scale(0.98)"))},enter:function(n){if(!e.disableAnimation&amp;&amp;"NONE"!==e.animationStyle){var r=e.isFinalSection?"top bottom":"top bottom-=120px";t=i.Ay.context((function(){var t=i.Ay.to(n,{duration:e.animationSpeed,delay:e.delayAnimation,ease:"sine.out",opacity:1,scale:1,x:"0",y:"0",paused:!0,clearProps:"all"});s.A.create({trigger:n,start:r,onEnter:function(){0===t.progress()&amp;&amp;t.restart(!0)}}),s.A.create({trigger:n,onLeaveBack:function(){return t.pause(0)}})}))}},updateAnimationSetting:function(){s.A.refresh(!0)},recalculateTriggers:function(){setTimeout((function(){s.A.refresh(!0)}),10)}}},watch:{animationStyle:function(){this.updateAnimationSetting()},animationSpeed:function(){this.updateAnimationSetting()},"$store.state.showSidePanel":function(e,t){e!==t&amp;&amp;this.recalculateTriggers()},"$store.state.recalculateScrollTrigger":function(e,t){e!==t&amp;&amp;this.recalculateTriggers()},"$store.state.portfolio.templateSettings.theme":function(e,t){e!==t&amp;&amp;this.recalculateTriggers()}}};const l=(0,n(66262).A)(a,[["render",function(e,t,n,i,s,a){return n.animationStyle&amp;&amp;"NONE"!==n.animationStyle&amp;&amp;e.$store.state.triggerAnimation?((0,r.uX)(),(0,r.Wv)(o.Transition,{key:0,appear:"",onBeforeEnter:i.beforeEnter,onEnter:i.enter,css:!1},{default:(0,r.k6)((function(){return[(0,r.RG)(e.$slots,"animationContent")]})),_:3},8,["onBeforeEnter","onEnter"])):(0,r.RG)(e.$slots,"animationContent",{key:1})}]])},97827:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;f});var r=n(20641),o=n(90033),i=["tooltip","tooltip-position"],s={class:"button-icon"},a={class:"icon-container"},l={key:0,class:"loading-state"};var c=n(596),u=n(6189);const d=n.p+"src/assets/images/saving-oval-blue-small..svg",p=n.p+"src/assets/images/saving-oval-blue-large..svg",h={name:"cta",components:{InlineSvg:c.A},props:{type:{type:String,default:"primary"},size:{type:String,default:null},tooltip:{type:String,default:null},tooltipPosition:{type:String,default:null},loading:{type:Boolean,default:!1},darkScheme:{type:Boolean,default:!1}},computed:{hasExtensionButton:function(){return!!this.$slots.extension},icon:function(){return"small"===this.size?d:"large"===this.size?p:u}}};const f=(0,n(66262).A)(h,[["render",function(e,t,n,c,u,d){var p=(0,r.g2)("InlineSvg");return(0,r.uX)(),(0,r.CE)("button",{class:(0,o.C4)(["ufo-cta","ufo-cta--".concat(n.type),n.size,{extension:d.hasExtensionButton},{"tooltip-on":!!n.tooltip},{loading:n.loading},{dark:n.darkScheme}]),tooltip:n.tooltip,"tooltip-position":n.tooltipPosition},[(0,r.Q3)(" button text or icon comes here "),(0,r.Lk)("span",s,[(0,r.Lk)("div",a,[(0,r.RG)(e.$slots,"default",{},void 0,!0)])]),n.loading?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.bF)(p,{src:d.icon,class:(0,o.C4)(["ufo-cta--loader",n.size])},null,8,["src","class"]),(0,r.Q3)(" &lt;div&gt;Saving&lt;/div&gt; ")])):(0,r.Q3)("v-if",!0),d.hasExtensionButton?(0,r.RG)(e.$slots,"extension",{key:1},void 0,!0):(0,r.Q3)("v-if",!0)],10,i)}],["__scopeId","data-v-7ce019e6"]])},11434:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;f});var r=n(20641),o=n(90033),i=n(53751),s={class:"ufo--dd-selector"},a={class:"selected-container"},l=["onClick"];var c=n(69183),u=n(910),d=n(49205),p=null;const h={name:"drop-down-select",inheritAttrs:!1,components:{Icon:u.A},props:{label:{type:String,default:null},selected:{type:String,default:null},options:{type:Array,default:null},inlineEdit:{type:Boolean,default:!1},inputType:{type:String,default:"text"},darkScheme:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},icon:{type:String,default:null}},watch:{showOptions:function(e){var t=this;e?this.$nextTick((function(){return p=new d.A(t.$refs.scrollable,{wheelPropagation:!1})})):p.destroy(this.$refs.scrollable)}},data:function(){return{showOptions:!1,dropdownSelectIcon:c,inputFocus:!1}},methods:{toggleDropDown:function(){this.showOptions=!this.showOptions&amp;&amp;!this.disabled},handleInputFocus:function(e){this.inlineEdit&amp;&amp;(e.stopPropagation(),this.inputFocus=!0,this.showOptions=!1)},handleInputBlur:function(e){this.inlineEdit&amp;&amp;(this.selectOption(e.target.value),this.inputFocus=!1)},selectOption:function(e){this.showOptions=!1,this.$emit("click",e)}}};const f=(0,n(66262).A)(h,[["render",function(e,t,n,c,u,d){var p=this,h=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo--dd-select",{dark:n.darkScheme}]),tabindex:"1",onBlur:t[3]||(t[3]=function(e){return u.showOptions=!1})},[n.label?((0,r.uX)(),(0,r.CE)("label",{key:0,class:(0,o.C4)({open:u.showOptions})},(0,o.v_)(n.label),3)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",s,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--dd-selected",{open:u.showOptions},{disabled:n.disabled}]),onClick:t[2]||(t[2]=function(e){return d.toggleDropDown()})},[(0,r.Lk)("div",a,[n.icon?((0,r.uX)(),(0,r.Wv)(h,{key:0,class:"type-icon","icon-name":n.icon},null,8,["icon-name"])):(0,r.Q3)("v-if",!0),((0,r.uX)(),(0,r.Wv)((0,r.$y)(n.inlineEdit?"input":"span"),{value:n.inlineEdit?n.selected:null,type:n.inlineEdit?n.inputType:null,autofocus:u.inputFocus,onClick:t[0]||(t[0]=function(e){return d.handleInputFocus(e)}),onBlur:t[1]||(t[1]=function(e){return d.handleInputBlur(e)})},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.v_)(n.selected),1)]})),_:1},40,["value","type","autofocus"]))]),(0,r.bF)(h,{class:"chevron","icon-name":"dropdown-select"})],2),(0,r.bF)(i.Transition,{name:"drop-down"},{default:(0,r.k6)((function(){return[u.showOptions?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--dd-options",{footer:p.$slots["footer-option"]}]),ref:"scrollable"},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.options,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,onClick:function(t){return d.selectOption(e)},class:(0,o.C4)(["ufo--dd-option",{selected:n.selected===e}])},[(0,r.Lk)("span",null,(0,o.v_)(e),1),n.selected===e?((0,r.uX)(),(0,r.Wv)(h,{key:0,"icon-name":"checkmark"})):(0,r.Q3)("v-if",!0)],10,l)})),128)),(0,r.RG)(e.$slots,"footer-option",{},void 0,!0)],2)):(0,r.Q3)("v-if",!0)]})),_:3})])],34)}],["__scopeId","data-v-22b0f4fe"]])},84308:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;l});var r=n(20641),o=n(90033),i=["disabled"],s={key:2,class:"fixed-tooltip"};const a={name:"fab",emits:["click","mouseenter","mouseleave"],components:{Icon:n(910).A},inheritAttrs:!1,props:{icon:{type:String,default:null},variant:{type:String,default:"regular"},tooltip:{type:String,default:null},tooltipPosition:{type:String,default:null},disabled:{type:Boolean,default:!1},size:{type:String,default:null},selected:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},customClass:{type:String,default:null}},computed:{hasTextLabel:function(){return!!this.$slots.default},hasFixedTooltipSlot:function(){return!!this.$slots.fixedTooltip}},methods:{handleClick:function(e){this.$emit("click",e)},handleMouseEnter:function(){this.$emit("mouseenter")},handleMouseLeave:function(){this.$emit("mouseleave")}}};const l=(0,n(66262).A)(a,[["render",function(e,t,n,a,l,c){var u=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("button",{class:(0,o.C4)(["ufo-fab",n.size?"ufo-fab--".concat(n.size):null,{"ufo-fab--alert":n.alert},{"ufo-fab--has-label":c.hasTextLabel},{selected:n.selected},n.variant,n.customClass]),onClick:t[0]||(t[0]=function(){return c.handleClick&amp;&amp;c.handleClick.apply(c,arguments)}),onMouseenter:t[1]||(t[1]=function(e){return c.handleMouseEnter()}),onMouseleave:t[2]||(t[2]=function(e){return c.handleMouseLeave()}),disabled:n.disabled},[n.icon?((0,r.uX)(),(0,r.Wv)(u,{key:0,alt:"FAB icon","icon-name":n.icon},null,8,["icon-name"])):(0,r.Q3)("v-if",!0),(0,r.RG)(e.$slots,"default"),(0,r.Q3)(" Slots for review mode, not used in the editor "),(0,r.RG)(e.$slots,"reaction"),(0,r.RG)(e.$slots,"comment"),n.tooltip?((0,r.uX)(),(0,r.CE)("span",{key:1,class:(0,o.C4)(["tooltip",n.tooltipPosition,{spacing:"spacing"===n.customClass}])},(0,o.v_)(n.tooltip),3)):(0,r.Q3)("v-if",!0),c.hasFixedTooltipSlot?((0,r.uX)(),(0,r.CE)("div",s,[(0,r.RG)(e.$slots,"fixedTooltip")])):(0,r.Q3)("v-if",!0)],42,i)}]])},61856:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(20641),o=n(90033),i=["type","name","value","placeholder","readonly","disabled","maxlength","min","max"],s={key:1,class:"assist"},a={key:2,class:"feedback"},l={key:3,class:"alert-message"};const c={name:"input-field",inheritAttrs:!1,props:{label:{type:String,default:null},type:{type:String,default:"text"},name:{type:String,default:null},modelValue:{type:[String,Number],default:null},placeholder:{type:String,default:null},disabled:{type:Boolean,default:null},hasError:{type:Boolean,default:null},readOnly:{type:Boolean,default:!1},displayAssist:{type:Boolean,default:!0},displayFeedback:{type:Boolean,default:!0},displayAlert:{type:Boolean,default:!0},maxLength:{type:Number,default:null},range:{type:Object,default:function(){return{min:null,max:null}}},darkScheme:{type:Boolean,default:!1}},data:function(){return{focused:!1}},computed:{hasAssistSlot:function(){return!!this.$slots.assist},hasFeedbackSlot:function(){return!!this.$slots.feedback},hasAlertSlot:function(){return!!this.$slots.alert}},methods:{handleInput:function(e){this.$emit("update:modelValue",e.target.value)},handleKeyup:function(e){this.$emit("keyup",e)},handleKeydown:function(e){this.$emit("keydown",e)},handleMouseEnter:function(e){this.$emit("mouseenter",e)},handleMouseLeave:function(e){this.$emit("mouseleave",e)},handleFocus:function(){this.focused=!0,this.$emit("focus")},handleHover:function(){this.hover=!0},blur:function(e){this.focused=!1,this.$emit("blur",e)},click:function(){this.$emit("click")}}};const u=(0,n(66262).A)(c,[["render",function(e,t,n,c,u,d){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo-input",{dark:n.darkScheme}])},[n.label?((0,r.uX)(),(0,r.CE)("label",{key:0,class:(0,o.C4)(["inside-label",{focus:u.focused||n.modelValue}])},(0,o.v_)(n.label),3)):(0,r.Q3)("v-if",!0),(0,r.Lk)("input",{type:n.type,name:n.name,value:n.modelValue,placeholder:u.focused||!n.label?n.placeholder:n.label,readonly:n.readOnly,disabled:n.disabled,maxlength:n.maxLength,class:(0,o.C4)({"error alert":n.hasError,down:u.focused||n.modelValue}),min:n.range.min,max:n.range.max,onHover:t[0]||(t[0]=function(){return d.handleHover&amp;&amp;d.handleHover.apply(d,arguments)}),onInput:t[1]||(t[1]=function(){return d.handleInput&amp;&amp;d.handleInput.apply(d,arguments)}),onFocus:t[2]||(t[2]=function(){return d.handleFocus&amp;&amp;d.handleFocus.apply(d,arguments)}),onBlur:t[3]||(t[3]=function(){return d.blur&amp;&amp;d.blur.apply(d,arguments)}),onKeyup:t[4]||(t[4]=function(){return d.handleKeyup&amp;&amp;d.handleKeyup.apply(d,arguments)}),onKeydown:t[5]||(t[5]=function(){return d.handleKeydown&amp;&amp;d.handleKeydown.apply(d,arguments)}),onMouseenter:t[6]||(t[6]=function(){return d.handleMouseEnter&amp;&amp;d.handleMouseEnter.apply(d,arguments)}),onMouseleave:t[7]||(t[7]=function(){return d.handleMouseLeave&amp;&amp;d.handleMouseLeave.apply(d,arguments)})},null,42,i),d.hasAssistSlot&amp;&amp;n.displayAssist?((0,r.uX)(),(0,r.CE)("div",s,[(0,r.RG)(e.$slots,"assist",{},void 0,!0)])):(0,r.Q3)("v-if",!0),d.hasFeedbackSlot&amp;&amp;n.displayFeedback?((0,r.uX)(),(0,r.CE)("div",a,[(0,r.RG)(e.$slots,"feedback",{},void 0,!0)])):(0,r.Q3)("v-if",!0),d.hasAlertSlot&amp;&amp;n.displayAlert?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.RG)(e.$slots,"alert",{},void 0,!0)])):(0,r.Q3)("v-if",!0)],2)}],["__scopeId","data-v-6b0c3799"]])},74150:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;v});var r=n(20641),o=n(90033),i={key:0,class:"video-wrapper"},s={width:"270",height:"150",autoplay:"",loop:"",muted:"",preload:"auto"},a=["src"],l={class:"text-wrapper"},c={class:"title-text"},u={class:"subtitle-text"};var d=n(910),p=n(53751),h={name:"LargeTooltip",components:{Icon:d.A},props:["title","subtitle","video","arrowPos"]},f=function(){(0,p.useCssVars)((function(e){return{ab9d8834:e.templateHeroTopPos}}))},m=h.setup;h.setup=m?function(e,t){return f(),m(e,t)}:f;const g=h;const v=(0,n(66262).A)(g,[["render",function(e,t,n,d,p,h){var f=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["large-tooltip-container",{video:n.video}])},[n.video?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("video",s,[(0,r.Lk)("source",{src:n.video,type:"video/webm"},null,8,a)])])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",l,[(0,r.Lk)("div",c,(0,o.v_)(n.title),1),(0,r.Lk)("div",u,(0,o.v_)(n.subtitle),1)]),(0,r.bF)(f,{class:(0,o.C4)(["arrow",[n.arrowPos]]),"icon-name":"tooltip-arrow"},null,8,["class"])],2)}],["__scopeId","data-v-7329192d"]])},50901:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;l});var r=n(20641),o=n(90033),i={key:0,class:"picto"},s={key:1,class:"option-label"};const a={name:"OptionBar",components:{Icon:n(910).A},props:{disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},icon:{type:String,default:null},label:{type:String,default:null},size:{type:String,default:"medium"}}};const l=(0,n(66262).A)(a,[["render",function(e,t,n,a,l,c){var u=(0,r.g2)("icon");return(0,r.uX)(),(0,r.CE)("button",{class:(0,o.C4)([{selected:n.selected,disabled:n.disabled},n.size])},[n.icon?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(u,{"icon-name":n.icon},null,8,["icon-name"])])):(0,r.Q3)("v-if",!0),n.label?((0,r.uX)(),(0,r.CE)("div",s,(0,o.v_)(n.label),1)):(0,r.Q3)("v-if",!0)],2)}],["__scopeId","data-v-1e564c71"]])},9168:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o=n(90033);n(910);const i={name:"tab-bar",props:{hideBorder:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},darkScheme:{type:Boolean,default:!1}}};const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["tab-bar",{dark:n.darkScheme,"hide-border":n.hideBorder,"full-width":n.fullWidth}])},[(0,r.RG)(e.$slots,"default",{},void 0,!0)],2)}],["__scopeId","data-v-0a201020"]])},86387:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;l});var r=n(20641),o=n(90033),i={key:0,class:"picto"},s={key:1,class:"tab-pill-text"};const a={name:"tab-item",components:{Icon:n(910).A},props:{active:{type:Boolean,default:!1},darkScheme:{type:Boolean,default:!1},icon:{type:String,default:null},iconPosition:{type:String,default:"left"},label:{type:String,default:null}}};const l=(0,n(66262).A)(a,[["render",function(e,t,n,a,l,c){var u=(0,r.g2)("icon");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["tab-pill",{active:n.active,dark:n.darkScheme}])},[(0,r.Lk)("div",{class:(0,o.C4)(["tab-pill-content","icon-".concat(n.iconPosition)])},[n.icon?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(u,{"icon-name":n.icon},null,8,["icon-name"])])):(0,r.Q3)("v-if",!0),n.label?((0,r.uX)(),(0,r.CE)("div",s,(0,o.v_)(n.label),1)):(0,r.Q3)("v-if",!0),(0,r.RG)(e.$slots,"indicator",{},void 0,!0)],2)],2)}],["__scopeId","data-v-3b8bb4e6"]])},73641:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i={key:1,class:"tertiary-text"};const s={name:"tertiary-button",components:{Icon:n(910).A},props:{icon:{type:String,default:null},text:{type:String,default:null},type:{type:String,default:"neutral"},disabled:{type:Boolean,default:!1},darkScheme:{type:Boolean,default:!1},size:{type:String,default:"default"}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("icon");return(0,r.uX)(),(0,r.CE)("button",{class:(0,o.C4)(["tertiary-btn",{disabled:n.disabled,dark:n.darkScheme},n.type,n.size])},[n.icon?((0,r.uX)(),(0,r.Wv)(c,{key:0,"icon-name":n.icon},null,8,["icon-name"])):(0,r.Q3)("v-if",!0),n.text?((0,r.uX)(),(0,r.CE)("div",i,(0,o.v_)(n.text),1)):(0,r.Q3)("v-if",!0)],2)}],["__scopeId","data-v-8712144e"]])},39275:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o={key:0,class:"toggle-grid"};const i={name:"toggle-grid",props:{paddingTop:{default:0,type:Number}}};const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return e.$store.state.displayToggleGrid?((0,r.uX)(),(0,r.CE)("div",o,t[0]||(t[0]=[(0,r.Fv)('&lt;div class="toggle-grid-col" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;&lt;div class="toggle-grid-col toggle-grid-col-12" data-v-acf0e7a4&gt;&lt;/div&gt;',12)]))):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-acf0e7a4"]])},62269:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;c});var r=n(20641),o=n(53751),i=n(90033),s={class:"switch"},a=["value","disabled"];const l={name:"toggle-switch",inheritAttrs:!1,props:{modelValue:{type:[Boolean],default:null},disabled:{type:Boolean,default:!1},darkScheme:{type:Boolean,default:!1}},computed:{model:{get:function(){return this.modelValue},set:function(e){this.$emit("update:modelValue",e)}}},methods:{handleChange:function(e){this.$emit("change",e)}}};const c=(0,n(66262).A)(l,[["render",function(e,t,n,l,c,u){return(0,r.uX)(),(0,r.CE)("label",s,[(0,r.bo)((0,r.Lk)("input",{type:"checkbox",value:n.modelValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return u.model=e}),onChange:t[1]||(t[1]=function(){return u.handleChange&amp;&amp;u.handleChange.apply(u,arguments)}),disabled:n.disabled},null,40,a),[[o.vModelCheckbox,u.model]]),(0,r.Lk)("span",{class:(0,i.C4)(["slider",{dark:n.darkScheme}])},null,2)])}],["__scopeId","data-v-5fcfad89"]])},70286:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o=n(90033);const i={name:"UserImagePlaceholder",props:["name","size"],methods:{getUserNameInitials:function(){var e=this.name.split(" ");return e.length&gt;1&amp;&amp;e[1].length?e[0][0]+e[1][0]:e[0][0]}}};const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["placeholder-image",n.size])},[(0,r.Lk)("p",null,(0,o.v_)(a.getUserNameInitials()),1)],2)}],["__scopeId","data-v-96b264c2"]])},46522:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o={class:"option-bar-group-container"};const i={name:"OptionBarGroup"};n(14898);const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",o,[(0,r.RG)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-48e6684e"]])},22717:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;p});var r=n(20641),o={class:"sidebar-overlay"},i={ref:"scrollable",class:"ufo-sepa--cop-det"};var s=n(4178),a=n(26272),l=n(49205),c=null,u=null;const d={name:"overlaying-sidebar-panel",components:{PanelHeader:s.A,PanelFooter:a.A},emits:["save","cancel","close"],mounted:function(){var e=this;this.$nextTick((function(){e.initScroll()}))},unmounted:function(){this.destroyScroll()},methods:{triggerSave:function(){this.$emit("save")},triggerCancel:function(){this.$emit("cancel")},triggerClose:function(){this.$emit("close")},initScroll:function(){(c=this.$refs.scrollable)&amp;&amp;(u=new l.A(c,{wheelPropagation:!1}))},destroyScroll:function(){c&amp;&amp;u&amp;&amp;u.destroy(c),c=null}}};const p=(0,n(66262).A)(d,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("PanelHeader"),u=(0,r.g2)("PanelFooter");return(0,r.uX)(),(0,r.CE)("div",o,[(0,r.bF)(c,{"overlay-view":!0,onClose:t[0]||(t[0]=function(e){return l.triggerClose()})}),(0,r.Lk)("div",i,[(0,r.RG)(e.$slots,"default",{},void 0,!0)],512),(0,r.bF)(u,{onPrimaryAction:t[1]||(t[1]=function(e){return l.triggerSave()}),onSecondaryAction:t[2]||(t[2]=function(e){return l.triggerCancel()})})])}],["__scopeId","data-v-09e85a52"]])},26272:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i={key:0,class:"ufo-sepa--buttons"};const s={name:"panel-footer",components:{Cta:n(97827).A},computed:{settings:function(){return this.$store.state.sidePanelSettings},showActionButtons:function(){return!this.settings.hideActionButtons}},methods:{primaryAction:function(){this.$store.state.sidePanelSettings.activeModal=null,this.$emit("primaryAction")},secondaryAction:function(){this.$store.state.sidePanelSettings.activeModal=null,this.$emit("secondaryAction")},back:function(){this.$emit("back")},close:function(){this.$emit("close")}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("Cta");return l.showActionButtons?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Q3)(" secondary cta button // cancel button "),(0,r.bF)(c,{type:"secondary","dark-scheme":"",onClick:t[0]||(t[0]=function(e){return l.secondaryAction()})},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)(" Cancel ")])})),_:1}),(0,r.Q3)(" primary cta button // save/update button "),(0,r.bF)(c,{disabled:!l.settings.allowSave,"dark-scheme":"",onClick:t[1]||(t[1]=function(e){return l.primaryAction()})},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.v_)(l.settings.saveButton),1)]})),_:1},8,["disabled"])])):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-e91b38ec"]])},4178:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;g});var r=n(20641),o=n(90033),i={class:"ufo-sepa--head"},s={class:"head-control"},a={class:"ufo-sepa--title"},l={key:0,class:"head-tabs"},c={key:1,class:"upgrade"};var u=n(97827),d=n(74256),p=n(910),h=n(86387),f=n(9168);const m={name:"panel-header",props:{overlayView:{type:Boolean,default:!1}},components:{TabBar:f.A,TabItem:h.A,Icon:p.A,Cta:u.A},data:function(){return{collapsed:!1}},computed:{settings:function(){return this.$store.state.sidePanelSettings},showFreePlanLimitInfo:function(){return this.$route.path.indexOf("/style")&gt;-1&amp;&amp;this.$route.path.indexOf("/spacing")&lt;0&amp;&amp;"Free"===this.$store.state.currentSubscriptionPlan&amp;&amp;this.$store.state.sidePanelSettings.panel!==d.jF.TEMPLATES&amp;&amp;this.$store.state.sidePanelSettings.panel!==d.jF.THUMBNAILS},showBack:function(){return!this.settings.hideBackButton}},methods:{back:function(){this.$emit("back")},close:function(){this.$emit("close")},selectTab:function(e){this.$store.commit("updateSidePanel",{activeTab:e})}}};const g=(0,n(66262).A)(m,[["render",function(e,t,n,u,d,p){var h=(0,r.g2)("Icon"),f=(0,r.g2)("Cta"),m=(0,r.g2)("TabItem"),g=(0,r.g2)("TabBar");return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",s,[p.showBack&amp;&amp;!n.overlayView?((0,r.uX)(),(0,r.Wv)(f,{key:0,type:"icon back subtle no-bg","dark-scheme":!0,onClick:t[0]||(t[0]=function(e){return p.back()})},{default:(0,r.k6)((function(){return[(0,r.bF)(h,{"icon-name":"back"})]})),_:1})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",a,(0,o.v_)(p.settings.title),1),(0,r.bF)(f,{type:"icon close subtle no-bg","dark-scheme":!0,onClick:t[1]||(t[1]=function(e){return p.close()})},{default:(0,r.k6)((function(){return[(0,r.bF)(h,{"icon-name":"close"})]})),_:1})]),p.settings.tabPills&amp;&amp;!n.overlayView?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.bF)(g,{"dark-scheme":"","hide-border":""},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.settings.tabPills,(function(e){return(0,r.uX)(),(0,r.Wv)(m,{key:e.type,onClick:function(t){return p.selectTab(e.type)},active:p.settings.activeTab===e.type,"dark-scheme":"",label:e.label},null,8,["onClick","active","label"])})),128))]})),_:1})])):(0,r.Q3)("v-if",!0),p.showFreePlanLimitInfo?((0,r.uX)(),(0,r.CE)("div",c,[t[4]||(t[4]=(0,r.eW)(" Customization is a Premium feature! ")),(0,r.bF)(f,{type:"link","dark-scheme":"",onClick:t[2]||(t[2]=function(t){return e.$store.state.activeModal="SubscriptionSettingsModal"})},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Upgrade now")])})),_:1}),t[5]||(t[5]=(0,r.eW)(" to save the changes you are making. "))])):(0,r.Q3)("v-if",!0)])}],["__scopeId","data-v-4ddb6bb9"]])},69850:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(20641);const o={name:"ClickOutsideObserver",emits:["click-outside","close"],props:{isActive:{type:Boolean,default:!1},ignoredClassList:{type:Array,default:[]}},mounted:function(){this.isActive&amp;&amp;document.addEventListener("click",this.handleClickOutside)},beforeUnmount:function(){this.cleanupObserver()},watch:{isActive:function(e){e?document.addEventListener("click",this.handleClickOutside):this.cleanupObserver()}},methods:{handleClickOutside:function(e){var t=this.ignoredClassList.some((function(t){return e.target.closest(".".concat(t))}));this.$el.nextElementSibling.contains(e.target)||t||this.$store.state.activeModal||this.$emit("click-outside",e)},cleanupObserver:function(){document.removeEventListener("click",this.handleClickOutside)}}};const i=(0,n(66262).A)(o,[["render",function(e,t,n,o,i,s){return(0,r.RG)(e.$slots,"default")}]])},9235:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;w});var r=n(20641),o=n(90033),i={key:0,class:"background-wrapper"};var s=n(74256),a=n(596),l=n(77200),c=n(53713),u=n(44718),d=n(49471),p=n(94124),h=n(73837),f=n(58322),m=n(67809),g=n(26827),v=n(68760),y=n(76107);const b={name:"template-hero-background",components:{InlineSvg:a.A},props:{section:{type:Object,default:null}},data:function(){return{EditedImageTypeEnum:s.i4,bgStyles:[{id:"0",thumbnail:"bg_style_1",layers:[l],type:"none"},{id:"1",thumbnail:"bg_style_2",layers:[l],type:"solid"},{id:"2",thumbnail:"bg_style_3",layers:[l,c],type:"gradient"},{id:"3",thumbnail:"bg_style_4",layers:[l,u],type:"gradient"},{id:"4",thumbnail:"bg_style_5",layers:[l,d],type:"gradient"},{id:"5",thumbnail:"bg_style_6",layers:[l,p],type:"gradient"},{id:"6",thumbnail:"bg_style_7",layers:[l,h],type:"gradient"},{id:"7",thumbnail:"bg_style_8",layers:[l,f,m],type:"gradient"},{id:"8",thumbnail:"bg_style_9",layers:[l,g,v],type:"gradient"}]}},mounted:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.modifySvgElements()}),100)}))},computed:{selectedBackgroundStyle:function(){var e=this;return this.bgStyles.find((function(t){return t.id===e.section.selectedBackgroundStyleId}))},setCustomClass:function(){return[this.showOverlay?"overlay":null,this.showBlur?"blur":null].toString().replace(","," ")},showOverlay:function(){return!!this.$store.state.portfolio.templateSettings.hero.overlay&amp;&amp;this.$store.state.portfolio.templateSettings.hero.overlay.a&gt;0&amp;&amp;!this.section.usingCustomBackground},showBlur:function(){return!!this.$store.state.portfolio.templateSettings.hero.blur&amp;&amp;!this.section.usingCustomBackground},setDim:function(){if(this.$store.state.portfolio.templateSettings.hero.overlay){var e=this.$store.state.portfolio.templateSettings.hero.overlay;return"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(e.a,")")}},setBlur:function(){if(this.$store.state.portfolio.templateSettings.hero.blur&amp;&amp;!this.section.usingCustomBackground)return"".concat(this.$store.state.portfolio.templateSettings.hero.blur,"px")},backgroundImageUrl:function(){if(this.$store.state.portfolio.templateSettings.hero.image&amp;&amp;!this.section.usingCustomBackground)return this.$store.state.portfolio.templateSettings.hero.image.croppedImageUrl?this.$store.state.portfolio.templateSettings.hero.image.croppedImageUrl:this.$store.state.portfolio.templateSettings.hero.image.url},backgroundColor:function(){return this.$store.state.portfolio.templateSettings.hero.backgroundColor?this.$store.state.portfolio.templateSettings.hero.backgroundColor.startsWith("#")?this.$store.state.portfolio.templateSettings.hero.backgroundColor:"#".concat(this.$store.state.portfolio.templateSettings.hero.backgroundColor):null},setBackground:function(){return{"background-image":this.backgroundImageUrl?"url(".concat(this.backgroundImageUrl,")"):null,"background-color":this.backgroundColor,"--colorOverlay":this.setDim,"--blur":this.setBlur}},suggestedColorsUsed:function(){return this.section.backgroundColor&amp;&amp;!this.section.backgroundColor.startsWith("#")&amp;&amp;Object.values(s.bH).includes(this.section.backgroundColor)},suggestedColorOptions:function(){return(0,y.bH)(this.colorStyles)},colorStyles:function(){return this.$store.getters.isCaseStudy&amp;&amp;!this.$store.getters.usingGlobalColorStyles?this.$store.state.project.designSettings.colorStyles:this.$store.state.portfolio.designSettings.colorStyles}},methods:{modifySvgElements:function(){var e=this;this.$nextTick((function(){e.$el.querySelectorAll("svg").forEach((function(t,n){var r="gradient-".concat(e.section._id,"-").concat(n);t.querySelectorAll("linearGradient").forEach((function(e){var n=e.id,o="".concat(r,"-").concat(n);e.id=o,t.querySelectorAll('[fill="url(#'.concat(n,')"], [stroke="url(#').concat(n,')"]')).forEach((function(e){e.setAttribute("fill","url(#".concat(o,")")),e.setAttribute("stroke","url(#".concat(o,")"))}))}))}))}))}}};const w=(0,n(66262).A)(b,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("InlineSvg");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo--page-hero-background",l.setCustomClass]),style:(0,o.Tr)(l.setBackground)},[n.section.usingCustomBackground&amp;&amp;n.section.selectedBackgroundStyleId&gt;0?((0,r.uX)(),(0,r.CE)("div",i,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(l.selectedBackgroundStyle.layers,(function(e,t){return(0,r.uX)(),(0,r.Wv)(c,{key:e,class:"background-svg",src:e,style:(0,o.Tr)([{color:0===t?l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][0]:n.section.backgroundColor:1===t?l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][1]:n.section.gradientColor1:l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][1]:n.section.gradientColor2}])},null,8,["src","style"])})),128))])):(0,r.Q3)("v-if",!0)],6)}],["__scopeId","data-v-8b207bfc"]])},36451:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;w});var r=n(20641),o=n(90033),i={key:0,class:"background-wrapper"};var s=n(74256),a=n(596),l=n(77200),c=n(53713),u=n(44718),d=n(49471),p=n(94124),h=n(73837),f=n(58322),m=n(67809),g=n(26827),v=n(68760),y=n(76107);const b={name:"section-background-image",components:{InlineSvg:a.A},props:{section:{type:Object,default:null}},data:function(){return{EditedImageTypeEnum:s.i4,bgStyles:[{id:"0",thumbnail:"bg_style_1",layers:[l],type:"none"},{id:"1",thumbnail:"bg_style_2",layers:[l],type:"solid"},{id:"2",thumbnail:"bg_style_3",layers:[l,c],type:"gradient"},{id:"3",thumbnail:"bg_style_4",layers:[l,u],type:"gradient"},{id:"4",thumbnail:"bg_style_5",layers:[l,d],type:"gradient"},{id:"5",thumbnail:"bg_style_6",layers:[l,p],type:"gradient"},{id:"6",thumbnail:"bg_style_7",layers:[l,h],type:"gradient"},{id:"7",thumbnail:"bg_style_8",layers:[l,f,m],type:"gradient"},{id:"8",thumbnail:"bg_style_9",layers:[l,g,v],type:"gradient"}]}},mounted:function(){var e=this;this.$nextTick((function(){e.section.selectedBackgroundStyleId&gt;1&amp;&amp;e.modifySvgElements()}))},watch:{"section.selectedBackgroundStyleId":function(){this.modifySvgElements()}},computed:{selectedBackgroundStyle:function(){var e=this;return this.bgStyles.find((function(t){return t.id===e.section.selectedBackgroundStyleId}))},showGradient:function(){return!(this.section.type!==s.iK.MAIN_HEADER||!this.$store.state.project.settings.displayOptions||!this.$store.state.project.settings.displayOptions.gradient)},setBackgroundImage:function(){var e=null;return this.section.image&amp;&amp;!this.section.usingCustomBackground&amp;&amp;(e=this.section.image.croppedImageUrl?this.section.image.croppedImageUrl:this.section.image.url?this.section.image.url:this.section.image.url||this.section.type!==s.iK.MEDIA?null:"/dist/images/empty-case-study-cover.jpg"),e?{backgroundImage:"url(".concat(e,")")}:null},setCustomClass:function(){return[this.showOverlay?"overlay":null,this.showBlur?"blur":null].toString().replace(","," ")},showOverlay:function(){return!!this.section.overlay&amp;&amp;this.section.overlay.a&gt;0&amp;&amp;!this.section.usingCustomBackground},showBlur:function(){return!!this.section.blur&amp;&amp;!this.section.usingCustomBackground},setOverlay:function(){return{"--colorOverlay":this.setDim,"--blur":this.setBlur}},setDim:function(){if(this.section.overlay){var e=this.section.overlay;return"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(e.a,")")}},setBlur:function(){if(this.section.blur)return"".concat(this.section.blur,"px")},sectionHeight:function(){return this.section.type===s.iK.MAIN_HEADER?this.section.style&amp;&amp;this.section.style.sectionHeight?"".concat(this.section.style.sectionHeight,"px"):"680px":null},suggestedColorsUsed:function(){return this.section.backgroundColor&amp;&amp;!this.section.backgroundColor.startsWith("#")&amp;&amp;Object.values(s.bH).includes(this.section.backgroundColor)},suggestedColorOptions:function(){return(0,y.bH)(this.colorStyles)},colorStyles:function(){return this.$store.getters.isCaseStudy&amp;&amp;!this.$store.getters.usingGlobalColorStyles?this.$store.state.project.designSettings.colorStyles:this.$store.state.portfolio.designSettings.colorStyles}},methods:{modifySvgElements:function(){var e=this;this.$nextTick((function(){e.$nextTick((function(){var t=function(){var n=e.$el.querySelectorAll("svg");n.length&gt;0?n.forEach((function(t,n){var r="gradient-".concat(e.section._id,"-").concat(n);t.querySelectorAll("linearGradient").forEach((function(e){var n=e.id,o="".concat(r,"-").concat(n);e.id=o,t.querySelectorAll('[fill="url(#'.concat(n,')"], [stroke="url(#').concat(n,')"]')).forEach((function(e){e.setAttribute("fill","url(#".concat(o,")")),e.setAttribute("stroke","url(#".concat(o,")"))}))}))})):setTimeout(t,200)};t()}))}))}}};const w=(0,n(66262).A)(b,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("InlineSvg");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo-sec--bg",{gradient:l.showGradient},l.setCustomClass]),style:(0,o.Tr)([l.setBackgroundImage,l.setOverlay])},[n.section.usingCustomBackground&amp;&amp;n.section.selectedBackgroundStyleId&gt;0?((0,r.uX)(),(0,r.CE)("div",i,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(l.selectedBackgroundStyle.layers,(function(e,t){return(0,r.uX)(),(0,r.Wv)(c,{class:"background-svg",src:e,style:(0,o.Tr)([{color:0===t?l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][0]:n.section.backgroundColor:1===t?l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][1]:n.section.gradientColor1:l.suggestedColorsUsed?l.suggestedColorOptions[l.selectedBackgroundStyle.type][n.section.backgroundColor][1]:n.section.gradientColor2}])},null,8,["src","style"])})),256))])):(0,r.Q3)("v-if",!0)],6)}],["__scopeId","data-v-ad3d438a"]])},85349:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o=n(90033);const i={name:"modal-body",inject:["modalSize"],props:{textAlign:{type:String,default:"left"}}};const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["new-modal-body",[a.modalSize,n.textAlign]])},[(0,r.RG)(e.$slots,"default",{},void 0,!0)],2)}],["__scopeId","data-v-e07724ee"]])},48084:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i={class:"new-ufo-cta--container"};const s={name:"modal-footer",inject:["modalSize"]};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["new-modal-footer",l.modalSize])},[(0,r.Lk)("div",i,[(0,r.RG)(e.$slots,"default",{},void 0,!0)])],2)}],["__scopeId","data-v-a353d0e6"]])},41117:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;d});var r=n(20641),o=n(90033),i={class:"new-modal-header"},s={class:"new-modal-title"},a=["innerHTML"],l={key:1,class:"new-modal-tabs-container"};var c=n(910);const u={name:"modal-header",components:{Cta:n(97827).A,Icon:c.A},inject:["modalSize"],props:{title:{default:null,type:String},description:{default:null,type:String},darkScheme:{default:!1,type:Boolean},variant:{type:String,default:null}},methods:{closeModal:function(){this.$emit("close"),this.$parent.$emit("close")}},computed:{hasTabPillsSlot:function(){return!!this.$slots.tabPills}}};const d=(0,n(66262).A)(u,[["render",function(e,t,n,c,u,d){var p=(0,r.g2)("Icon"),h=(0,r.g2)("Cta");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["new-modal-header-wrapper",[{"has-tabs":d.hasTabPillsSlot,dark:n.darkScheme},d.modalSize,n.variant]])},[(0,r.Lk)("div",i,[(0,r.Lk)("div",s,[(0,r.eW)((0,o.v_)(n.title)+" ",1),(0,r.RG)(e.$slots,"titlePill",{},void 0,!0)]),"small"!==d.modalSize?((0,r.uX)(),(0,r.Wv)(h,{key:0,"dark-scheme":n.darkScheme,type:"icon subtle no-bg",onClick:t[0]||(t[0]=function(e){return d.closeModal()})},{default:(0,r.k6)((function(){return[(0,r.bF)(p,{"icon-name":"close",alt:"Close modal",width:24,height:24})]})),_:1},8,["dark-scheme"])):(0,r.Q3)("v-if",!0)]),n.description?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"new-modal-description",innerHTML:n.description},null,8,a)):(0,r.Q3)("v-if",!0),d.hasTabPillsSlot?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.RG)(e.$slots,"tabPills",{},void 0,!0)])):(0,r.Q3)("v-if",!0)],2)}],["__scopeId","data-v-6f6b0418"]])},70846:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(53751),i=n(90033);const s={name:"modal-wrapper",props:{show:{default:!0,type:Boolean},modalSize:{default:"medium",type:String},darkScheme:{default:!1,type:Boolean},disableOutsideClick:{default:!1,type:Boolean},heightOverwrite:{default:null,type:String}},methods:{closeModal:function(){this.$emit("close")},handleOutsideClick:function(){this.disableOutsideClick||this.$emit("close")},init:function(){this.$emit("init",!0)}},provide:function(){return{modalSize:this.modalSize}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){return(0,r.uX)(),(0,r.Wv)(o.Transition,{name:"modal",onEnter:l.init,appear:""},{default:(0,r.k6)((function(){return[n.show?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,i.C4)(["new-modal-wrapper",{dark:n.darkScheme}])},[(0,r.Lk)("div",{class:"new-modal-mask",onClick:t[0]||(t[0]=function(e){return l.handleOutsideClick()})}),(0,r.Lk)("div",{class:(0,i.C4)(["new-modal-container","new-modal-container--".concat(n.modalSize)]),style:(0,i.Tr)(n.heightOverwrite?{height:n.heightOverwrite}:void 0)},[(0,r.RG)(e.$slots,"modal-header",{onClose:t[1]||(t[1]=function(){return l.closeModal&amp;&amp;l.closeModal.apply(l,arguments)})},void 0,!0),(0,r.RG)(e.$slots,"modal-body",{},void 0,!0),(0,r.RG)(e.$slots,"modal-footer",{},void 0,!0)],6)],2)):(0,r.Q3)("v-if",!0)]})),_:3},8,["onEnter"])}],["__scopeId","data-v-6f1aad3e"]])},28641:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;le});var r=n(20641),o=n(90033),i={key:0,class:"background-color-container"},s=["src"],a=["src","alt"];var l=n(596);const c=n.p+"src/assets/images/mobile-placeholder..png",u=n.p+"src/assets/images/desktop-placeholder..png",d=n.p+"src/assets/images/tablet-placeholder..png",p=n.p+"src/assets/images/monitor-placeholder..png";var h=n(669),f=n(5531),m=n(53127),g=n(43897),v=n(16017),y=n(17511),b=n(70220),w=n(81009),S=n(67560),_=n(20438),k=n(51751),A=n(26329),T=n(56198),E=n(27021),x=n(35446),C=n(2836),O=n(65831),I=n(19085),L=n(76089),P=n(2783),N=n(22132),D=n(88341),R=n(96681),M=n(38383),F=n(94988),H=n(1659),j=n(70464),G=n(55506),B=n(1189),$=n(89506),W=n(35561),U=n(21843),z=n(99281),V=["fill"],X=["id"],K=["fill"],q=["id"],Y=["fill"],Q=["id"],J=["filter"],Z=["id"];const ee={props:{variant:{type:String,default:"radial_1"},svgClass:{type:String,default:""}},data:function(){return{uniqueId:""}},created:function(){this.uniqueId="paint0_linear_".concat(this.generateUniqueId())},methods:{generateUniqueId:function(){return Math.random().toString(36).substring(2,9)}}};var te=n(66262);const ne=(0,te.A)(ee,[["render",function(e,t,n,i,s,a){return"linear_1"===n.variant?((0,r.uX)(),(0,r.CE)("svg",{key:0,class:(0,o.C4)(n.svgClass),width:"368",height:"368",preserveAspectRatio:"none",viewBox:"0 0 368 368",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("rect",{width:"368",height:"368",fill:"url(#".concat(s.uniqueId,")")},null,8,V),(0,r.Lk)("defs",null,[(0,r.Lk)("linearGradient",{id:s.uniqueId,x1:"184",y1:"4.11272e-06",x2:"199.861",y2:"367.315",gradientUnits:"userSpaceOnUse"},t[0]||(t[0]=[(0,r.Lk)("stop",{"stop-color":"#EDF3FE","stop-opacity":"0"},null,-1),(0,r.Lk)("stop",{offset:"1","stop-color":"currentColor"},null,-1)]),8,X)])],2)):"linear_2"===n.variant?((0,r.uX)(),(0,r.CE)("svg",{key:1,class:(0,o.C4)(n.svgClass),width:"368",height:"368",preserveAspectRatio:"none",viewBox:"0 0 368 368",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("rect",{width:"368",height:"368",fill:"url(#".concat(s.uniqueId,")")},null,8,K),(0,r.Lk)("defs",null,[(0,r.Lk)("linearGradient",{id:s.uniqueId,x1:"368",y1:"0",x2:"16.5458",y2:"383.176",gradientUnits:"userSpaceOnUse"},t[1]||(t[1]=[(0,r.Lk)("stop",{"stop-color":"#EDF3FE","stop-opacity":"0"},null,-1),(0,r.Lk)("stop",{offset:"1","stop-color":"currentColor"},null,-1)]),8,q)])],2)):"linear_3"===n.variant?((0,r.uX)(),(0,r.CE)("svg",{key:2,class:(0,o.C4)(n.svgClass),width:"368",height:"368",preserveAspectRatio:"none",viewBox:"0 0 368 368",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("rect",{width:"368",height:"368",fill:"url(#".concat(s.uniqueId,")")},null,8,Y),(0,r.Lk)("defs",null,[(0,r.Lk)("linearGradient",{id:s.uniqueId,x1:"0",y1:"0",x2:"383.176",y2:"351.454",gradientUnits:"userSpaceOnUse"},t[2]||(t[2]=[(0,r.Lk)("stop",{"stop-color":"#EDF3FE","stop-opacity":"0"},null,-1),(0,r.Lk)("stop",{offset:"1","stop-color":"currentColor"},null,-1)]),8,Q)])],2)):((0,r.uX)(),(0,r.CE)("svg",{key:3,class:(0,o.C4)(n.svgClass),width:"368",height:"368",viewBox:"0 0 368 368",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("g",{filter:"url(#".concat(s.uniqueId,")")},t[3]||(t[3]=[(0,r.Lk)("circle",{cx:"184",cy:"184",r:"85",fill:"currentColor"},null,-1)]),8,J),(0,r.Lk)("defs",null,[(0,r.Lk)("filter",{id:s.uniqueId,x:"-31",y:"-31",width:"430",height:"430",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},t[4]||(t[4]=[(0,r.Fv)('&lt;feFlood flood-opacity="0" result="BackgroundImageFix"&gt;&lt;/feFlood&gt;&lt;feGaussianBlur in="BackgroundImageFix" stdDeviation="65"&gt;&lt;/feGaussianBlur&gt;&lt;feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_1660_164104"&gt;&lt;/feComposite&gt;&lt;feBlend mode="normal" in="SourceGraphic" in2="effect1_backgroundBlur_1660_164104" result="shape"&gt;&lt;/feBlend&gt;&lt;feGaussianBlur stdDeviation="45" result="effect2_foregroundBlur_1660_164104"&gt;&lt;/feGaussianBlur&gt;',5)]),8,Z)])],2))}]]);var re=n(76107),oe=n(74256);function ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&amp;&amp;e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&amp;&amp;(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&amp;&amp;null!=n.return&amp;&amp;(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}const ae={name:"project-thumbnail",components:{SvgBackground:ne,InlineSvg:l.A},props:{caseStudy:{default:null,type:Object},forceSquared:{default:!1,type:Boolean},isFirst:{default:!1,type:Boolean}},data:function(){return{dynamicHeight:0,resizeObserver:null,defaultImages:{mobile:c,desktop:u,tablet:d,monitor:p},deviceStyles:{no_device:{name:"No device",active:!0,svg:B,avalibleSettings:[{type:"corner",name:"Corner radius"}]},semi_realistic:{name:"Semi-realistic",active:!0,svg:$,avalibleSettings:[{type:"color",name:"Device color"}]},simple:{name:"Simple",active:!0,svg:W,avalibleSettings:[{type:"color",name:"Device color"}]},outline:{name:"Outline",active:!0,svg:U,avalibleSettings:[{type:"color",name:"Device color"}]},browser:{name:"Browser",active:!0,svg:z,avalibleSettings:[{type:"color",name:"Device color"},{type:"corner",name:"Corner radius"}]}},mockups:G.f,placeholder:c,layouts:{mobile:{single_middle:{type:"mobile",svg:h,mockupTypes:["mobile"]},single_slided:{type:"mobile",svg:f,mockupTypes:["mobile"]},dual_middle:{type:"mobile",svg:m,mockupTypes:["mobile","mobile"]},dual_slided:{type:"mobile",svg:g,mockupTypes:["mobile","mobile"]},triple_middle:{type:"mobile",svg:v,mockupTypes:["mobile","mobile","mobile"]},triple_slided:{type:"mobile",svg:y,mockupTypes:["mobile","mobile","mobile"]},triple_middle_horizontal:{type:"mobile",svg:b,mockupTypes:["mobile","mobile","mobile"]},triple_slided_rotated:{type:"mobile",svg:w,mockupTypes:["mobile","mobile","mobile"]},quadruple_slided:{type:"mobile",svg:S,mockupTypes:["mobile","mobile","mobile","mobile"]},quadruple_slided_rotated:{type:"mobile",svg:_,mockupTypes:["mobile","mobile","mobile","mobile"]}},desktop:{single_middle:{type:"desktop",svg:k,mockupTypes:["desktop"]},single_slided:{type:"desktop",svg:A,mockupTypes:["desktop"]},mobile_overlay:{type:"desktop",svg:T,mockupTypes:["desktop","mobile"]},mobile_middle:{type:"desktop",svg:E,mockupTypes:["desktop","mobile"]},single_slided_big:{type:"desktop",svg:x,mockupTypes:["desktop"]},triple_variety:{type:"desktop",svg:C,mockupTypes:["desktop","tablet","mobile"]}},monitor:{single_middle:{type:"monitor",svg:O,mockupTypes:["monitor"]},mobile_middle:{type:"monitor",svg:I,mockupTypes:["monitor","mobile"]},desktop_middle:{type:"monitor",svg:L,mockupTypes:["monitor","desktop"]},tablet_middle:{type:"monitor",svg:P,mockupTypes:["monitor","tablet"]},triple_variety:{type:"monitor",svg:N,mockupTypes:["monitor","tablet","mobile"]},quadruple_variety:{type:"monitor",svg:D,mockupTypes:["monitor","tablet","mobile","desktop"]}},tablet:{single_middle:{type:"tablet",svg:R,mockupTypes:["tablet"]},single_slided:{type:"tablet",svg:M,mockupTypes:["tablet"]},mobile_overlay:{type:"tablet",svg:F,mockupTypes:["tablet","mobile"]},mobile_middle:{type:"tablet",svg:H,mockupTypes:["tablet","mobile"]},single_slided_big:{type:"tablet",svg:j,mockupTypes:["tablet"]}}}}},methods:{getMockupSrc:function(e){var t=this,n=this.mockups[e][this.caseStudy.thumbnailData.deviceStyle.baseStyle];return"no_device"===this.caseStudy.thumbnailData.deviceStyle.baseStyle?this.mockups[e].browser[1].svg:Object.values(n).filter((function(e){var n=!0,r=t.deviceStyles[t.caseStudy.thumbnailData.deviceStyle.baseStyle].avalibleSettings.map((function(e){return e.type}));return Object.entries(t.caseStudy.thumbnailData.deviceStyle.settings).forEach((function(t){var o=ie(t,2),i=o[0],s=o[1];r.includes(i)&amp;&amp;e.settings[i]!==s&amp;&amp;(n=!1)})),n}))[0].svg},getMockupContentSrc:function(e,t){if(this.caseStudy.thumbnailData.images[t]){if(this.caseStudy.thumbnailData.images[t].cropped&amp;&amp;this.caseStudy.thumbnailData.images[t].cropped.url)return this.caseStudy.thumbnailData.images[t].cropped.url;if(this.caseStudy.thumbnailData.images[t].url)return this.caseStudy.thumbnailData.images[t].url}return this.defaultImages[e]},calculateDynamicHeight:function(){var e=this;this.$nextTick((function(){e.$refs.mockupsContainer&amp;&amp;(e.dynamicHeight=e.$refs.mockupsContainer.offsetWidth)}))},initResizeObserver:function(){var e=this;this.$nextTick((function(){e.$refs.mockupsContainer&amp;&amp;(e.resizeObserver=new ResizeObserver(e.calculateDynamicHeight),e.resizeObserver.observe(e.$refs.mockupsContainer))}))},destroyResizeObserver:function(){this.resizeObserver&amp;&amp;(this.resizeObserver.disconnect(),this.resizeObserver=null)}},computed:{thumbnailSize:function(){return this.forceSquared?"small":this.$store.state.portfolio.templateSettings.thumbnailLayout&amp;&amp;this.$store.state.portfolio.templateSettings.thumbnailLayout.includes("mixed")?this.$store.state.portfolio.templateSettings.thumbnailLayout.includes("large")?this.isFirst?"large":"small":void 0:this.$store.state.portfolio.templateSettings.tileDisplayMode?this.$store.state.portfolio.templateSettings.tileDisplayMode.split("-")[0]:"small"},largeThumbnailTextPosition:function(){var e=this.$store.state.portfolio.templateSettings;return"large"===e.tileDisplayMode&amp;&amp;"on-thumbnail"===e.projectTitle.placement&amp;&amp;"visible"===e.projectTitle.visibility?e.projectTitle.alignment.horizontal:"center"},suggestedColorsUsed:function(){var e;return(null===(e=this.caseStudy)||void 0===e||null===(e=e.thumbnailData)||void 0===e||null===(e=e.background)||void 0===e?void 0:e.color)&amp;&amp;!this.caseStudy.thumbnailData.background.color.startsWith("#")&amp;&amp;Object.values(oe.bH).includes(this.caseStudy.thumbnailData.background.color)},suggestedColorOptions:function(){return(0,re.bH)(this.colorStyles)},colorStyles:function(){return this.$store.state.portfolio.designSettings.colorStyles},backgroundStyle:function(){var e={};return"solid_color"===this.caseStudy.thumbnailData.background.style?e["background-color"]=this.suggestedColorsUsed?this.suggestedColorOptions[this.caseStudy.thumbnailData.background.style.match(/^[^_]*/)[0]][this.caseStudy.thumbnailData.background.color][0]:this.caseStudy.thumbnailData.background.color:"transparent"===this.caseStudy.thumbnailData.background.style?e["background-color"]="transparent":"gradient"===this.caseStudy.thumbnailData.background.style?e["background-color"]=this.suggestedColorsUsed?this.suggestedColorOptions[this.caseStudy.thumbnailData.background.style.match(/^[^_]*/)[0]][this.caseStudy.thumbnailData.background.color][1]:this.caseStudy.thumbnailData.background.accentColor:e["background-color"]="#FFFFFF",e},isGenerated:function(){return this.caseStudy.settings.usingGeneratedThumbnail},mainHeaderSection:function(){return this.caseStudy.sections.find((function(e){return"MainHeader"===e.type}))},getBackgroundColor:function(){var e=this.mainHeaderSection.backgroundColor?this.mainHeaderSection.backgroundColor.startsWith("#")?this.mainHeaderSection.backgroundColor:"#".concat(this.mainHeaderSection.backgroundColor):null;return{backgroundColor:this.caseStudy.image.url?null:e}},getImageUrl:function(){return this.caseStudy.image.croppedImageUrl?this.caseStudy.image.croppedImageUrl:this.caseStudy.image.url?this.caseStudy.image.url:this.mainHeaderSection.image.croppedImageUrl?this.mainHeaderSection.image.croppedImageUrl:this.mainHeaderSection.image.url?"theme_fifteen"===this.$store.state.portfolio.templateSettings.theme?"/placeholder-images/template-15-thumbnail-"+this.caseStudy.order%3+".svg":this.mainHeaderSection.image.url:this.mainHeaderSection.backgroundColor?null:"/example_project_images/v2/empty-project-thumbnail.jpg"},showOverlay:function(){return!!this.mainHeaderSection.overlay&amp;&amp;this.mainHeaderSection.overlay.a&gt;0&amp;&amp;!this.caseStudy.image.url},showBlur:function(){return!!this.mainHeaderSection.blur&amp;&amp;!this.caseStudy.image.url},setCustomClass:function(){return[this.showOverlay?"overlay":null,this.showBlur?"blur":null].toString().replace(","," ")},thumbnailHeight:function(){var e="large"===this.thumbnailSize?2:"medium"===this.thumbnailSize?1.15:1;return"".concat(this.width/e,"px")}},mounted:function(){var e=this;this.$nextTick((function(){e.isGenerated&amp;&amp;(e.initResizeObserver(),e.calculateDynamicHeight())}))},beforeDestroy:function(){this.resizeObserver&amp;&amp;this.resizeObserver.disconnect()},watch:{thumbnailSize:function(){this.isGenerated&amp;&amp;this.calculateDynamicHeight()},isGenerated:function(e){var t=this;e?this.$nextTick((function(){t.initResizeObserver(),t.calculateDynamicHeight()})):this.destroyResizeObserver()},"caseStudy.thumbnailData":{handler:function(){var e=this;this.isGenerated&amp;&amp;this.$nextTick((function(){e.initResizeObserver(),e.calculateDynamicHeight()}))},deep:!0}}},le=(0,te.A)(ae,[["render",function(e,t,n,l,c,u){var d=(0,r.g2)("SvgBackground"),p=(0,r.g2)("InlineSvg");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)([u.isGenerated&amp;&amp;"generated-cover-container","image-container",u.setCustomClass]),onClick:t[0]||(t[0]=function(t){return e.$emit("click")}),style:(0,o.Tr)([u.getBackgroundColor])},[u.isGenerated&amp;&amp;this.caseStudy.thumbnailData&amp;&amp;this.layouts?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",{class:(0,o.C4)(["thumbnail-preview",u.thumbnailSize]),style:(0,o.Tr)(u.backgroundStyle)},["gradient"===this.caseStudy.thumbnailData.background.style?((0,r.uX)(),(0,r.Wv)(d,{key:0,class:"background-image",style:(0,o.Tr)({color:u.suggestedColorsUsed?u.suggestedColorOptions[this.caseStudy.thumbnailData.background.style.match(/^[^_]*/)[0]][this.caseStudy.thumbnailData.background.color][0]:this.caseStudy.thumbnailData.background.color}),variant:this.caseStudy.thumbnailData.background.gradient},null,8,["style","variant"])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{ref:"mockupsContainer",class:(0,o.C4)(["mockups-container",[this.caseStudy.thumbnailData.layout.type,this.caseStudy.thumbnailData.layout.version,this.caseStudy.thumbnailData.deviceStyle.baseStyle,Object.values(this.caseStudy.thumbnailData.deviceStyle.settings),u.thumbnailSize,"align-text-"+u.largeThumbnailTextPosition]]),style:(0,o.Tr)({height:c.dynamicHeight+"px"})},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(this.layouts[this.caseStudy.thumbnailData.layout.type][this.caseStudy.thumbnailData.layout.version].mockupTypes,(function(e,t){return(0,r.uX)(),(0,r.CE)("div",{key:t+"-mockup",class:(0,o.C4)("mockup-container mockup-".concat(t))},[(0,r.Lk)("img",{class:(0,o.C4)(["mockup-image",[n.caseStudy.thumbnailData.deviceStyle.baseStyle+"-"+e+"-image",e+"-image"]]),alt:"mockup-user-image",src:u.getMockupContentSrc(e,t)},null,10,s),((0,r.uX)(),(0,r.Wv)(p,{key:"mockup-".concat(t),class:"mockup-svg",src:u.getMockupSrc(e)},null,8,["src"]))],2)})),128))],6)],6)])):u.getImageUrl?((0,r.uX)(),(0,r.CE)("img",{key:1,src:u.getImageUrl,class:"project-thumbnail",alt:n.caseStudy.image.altTag},null,8,a)):(0,r.Q3)("v-if",!0)],6)}],["__scopeId","data-v-1c781df3"]])},5171:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(20641),o=n(90033),i={class:"error-wrapper"},s={class:"error"},a={class:"error-message"},l={class:"error-exp"};const c={name:"ErrorPage",props:["error"]};const u=(0,n(66262).A)(c,[["render",function(e,t,n,c,u,d){return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",s,[(0,r.Lk)("div",{class:(0,o.C4)("error-picto error-"+n.error.code)},null,2),(0,r.Lk)("div",a,(0,o.v_)(n.error.title),1),(0,r.Lk)("div",l,(0,o.v_)(n.error.message),1),t[0]||(t[0]=(0,r.Lk)("a",{href:"/",class:"btn--error"},"Go to homepage",-1))])])}]])},86119:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i={class:"navbar-toggle"};const s={name:"HamburgerToggle",methods:{handleClick:function(){this.$store.state.view.navOpen=!this.$store.state.view.navOpen}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",{class:"hamburger-icon",onClick:t[0]||(t[0]=function(){return l.handleClick&amp;&amp;l.handleClick.apply(l,arguments)})},[e.$store.state.view.navOpen?((0,r.uX)(),(0,r.CE)("svg",{key:1,class:(0,o.C4)(["hamburger","close",e.$store.state.view.navOpen?"nav-open":""]),width:"48",height:"48",viewBox:"0 0 48 48",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{color:"var(--hero-nav-button-color)"}},t[2]||(t[2]=[(0,r.Lk)("path",{d:"M33 16.8129L31.1871 15L24 22.1871L16.8129 15L15 16.8129L22.1871 24L15 31.1871L16.8129 33L24 25.8129L31.1871 33L33 31.1871L25.8129 24L33 16.8129Z",fill:"currentColor"},null,-1)]),2)):((0,r.uX)(),(0,r.CE)("svg",{key:0,class:(0,o.C4)(["hamburger","open",e.$store.state.view.navOpen?"nav-open":""]),width:"48",height:"48",viewBox:"0 0 48 48",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{color:"var(--hero-nav-button-color)"}},t[1]||(t[1]=[(0,r.Lk)("rect",{x:"14",y:"16",width:"20",height:"2.28571",fill:"currentColor"},null,-1),(0,r.Lk)("rect",{x:"14",y:"22.8571",width:"20",height:"2.28571",fill:"currentColor"},null,-1),(0,r.Lk)("rect",{x:"14",y:"29.7143",width:"20",height:"2.28571",fill:"currentColor"},null,-1)]),2))])])}],["__scopeId","data-v-455b3f38"]])},38637:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(20641),o={width:"67",height:"18",viewBox:"0 0 69 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const i={name:"UXFolioLogo"};const s=(0,n(66262).A)(i,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("svg",o,t[0]||(t[0]=[(0,r.Fv)('&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M33.0226 13.8586C32.6981 13.9416 32.2752 14.0286 31.7538 14.1195C31.1792 14.2145 30.5978 14.2602 30.0158 14.2559C29.5137 14.2705 29.0137 14.1839 28.5442 14.0009C28.1746 13.8512 27.8478 13.6085 27.5941 13.2952C27.3485 12.9761 27.1744 12.6056 27.0843 12.21C26.9771 11.7577 26.9246 11.2937 26.9279 10.8283V6.67725H28.6196V10.5555C28.5748 11.1451 28.6954 11.7356 28.9672 12.2575C29.2537 12.6251 29.7038 12.8174 30.1606 12.7674C30.3653 12.7674 30.5816 12.7674 30.8095 12.7674C30.9809 12.7566 31.1513 12.7329 31.3193 12.6963V6.68318H33.0226V13.8586Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M37.8541 8.94854L39.3951 6.68325H41.1679L38.7115 10.2413C39.2252 10.8936 39.7157 11.5538 40.183 12.2219C40.6106 12.8208 40.9978 13.4489 41.3417 14.1018H39.5168C39.4185 13.8975 39.3082 13.6994 39.1865 13.5088L38.7578 12.8861C38.6033 12.6608 38.443 12.4374 38.277 12.216C38.1109 11.9946 37.9487 11.7871 37.7903 11.5934C37.4466 11.9995 37.1255 12.4251 36.8286 12.8683C36.5196 13.319 36.2628 13.7203 36.0581 14.0721H34.3201C34.4727 13.7637 34.643 13.4647 34.8299 13.1767C35.0307 12.8604 35.247 12.5382 35.4788 12.2101C35.7105 11.882 35.948 11.5538 36.1913 11.2257C36.4347 10.8976 36.6761 10.5852 36.9155 10.2887L34.4359 6.67139H36.2956L37.8541 8.94854Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M45.6347 3.10152C45.9813 3.09712 46.3273 3.13292 46.666 3.20826C46.8934 3.25784 47.1178 3.32121 47.338 3.39802L47.0136 4.81531C46.8278 4.73186 46.6335 4.67019 46.4342 4.63148C46.2144 4.59173 45.9911 4.57583 45.768 4.58404C45.5347 4.57713 45.3024 4.61743 45.0844 4.70264C44.911 4.77369 44.7577 4.88782 44.6383 5.03473C44.522 5.18613 44.4408 5.36252 44.4007 5.55064C44.3528 5.76657 44.3294 5.98746 44.3312 6.20888V6.70108H45.768V8.13023H44.3486V14.0722H42.6569V6.15551C42.6112 5.33822 42.877 4.53464 43.3985 3.91394C43.9964 3.3287 44.8102 3.03304 45.6347 3.10152Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M53.421 10.3777C53.4283 10.9221 53.3441 11.4637 53.1719 11.9788C53.0185 12.4352 52.7761 12.8549 52.4593 13.2123C52.1481 13.5553 51.7688 13.8262 51.347 14.0069C50.8938 14.2001 50.4069 14.297 49.916 14.2916C49.4269 14.2977 48.9418 14.2008 48.4908 14.0069C48.0732 13.8246 47.6981 13.5537 47.3901 13.2123C47.0726 12.8543 46.8284 12.4349 46.6717 11.9788C46.4933 11.465 46.405 10.923 46.411 10.3777C46.4045 9.83433 46.4927 9.29413 46.6717 8.78251C46.8268 8.32565 47.0712 7.90595 47.3901 7.54905C47.702 7.20836 48.0812 6.93951 48.5024 6.76035C48.9506 6.57138 49.4313 6.4766 49.916 6.48164C50.4025 6.47725 50.885 6.57199 51.3354 6.76035C51.7558 6.93796 52.1333 7.20709 52.4419 7.54905C52.7584 7.90556 53.0025 8.32279 53.1603 8.77658C53.3392 9.2882 53.4275 9.8284 53.421 10.3718M51.683 10.3718C51.7155 9.75205 51.5508 9.13826 51.2137 8.6224C50.8972 8.21457 50.4162 7.97689 49.9073 7.97689C49.3985 7.97689 48.9174 8.21457 48.6009 8.6224C48.2638 9.13826 48.0992 9.75205 48.1316 10.3718C48.0966 11.0011 48.2612 11.6251 48.6009 12.1508C48.9149 12.5628 49.3968 12.8036 49.9073 12.8036C50.4178 12.8036 50.8997 12.5628 51.2137 12.1508C51.553 11.6249 51.7176 11.001 51.683 10.3718Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M60.605 4.51287C60.6181 4.80178 60.5057 5.08184 60.2979 5.27785C60.1009 5.464 59.8418 5.56586 59.5737 5.5625C59.3 5.56861 59.0345 5.46669 58.8322 5.27785C58.6201 5.08404 58.5033 4.80368 58.5135 4.51287C58.4985 4.22017 58.611 3.93571 58.8206 3.73603C59.0232 3.54772 59.2885 3.44587 59.5621 3.45138C59.8301 3.44862 60.089 3.5504 60.2863 3.73603C60.4995 3.934 60.6162 4.21843 60.605 4.51287ZM58.7337 14.0722H60.4254V6.68328H58.7337V14.0722Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M68.9996 10.3777C69.007 10.9221 68.9227 11.4637 68.7505 11.9788C68.5972 12.4352 68.3547 12.8549 68.0379 13.2123C67.7267 13.5553 67.3474 13.8262 66.9256 14.0069C66.4724 14.2001 65.9855 14.297 65.4946 14.2916C65.0055 14.2977 64.5204 14.2008 64.0694 14.0069C63.6518 13.8246 63.2767 13.5537 62.9687 13.2123C62.6512 12.8543 62.407 12.4349 62.2503 11.9788C62.0719 11.465 61.9836 10.923 61.9896 10.3777C61.9831 9.83433 62.0714 9.29413 62.2503 8.78251C62.4054 8.32565 62.6498 7.90595 62.9687 7.54905C63.2806 7.20836 63.6598 6.93951 64.081 6.76035C64.5292 6.57138 65.0099 6.4766 65.4946 6.48164C65.9811 6.47725 66.4636 6.57199 66.914 6.76035C67.3344 6.93796 67.712 7.20709 68.0205 7.54905C68.337 7.90556 68.5811 8.32279 68.7389 8.77658C68.9179 9.2882 69.0061 9.8284 68.9996 10.3718M67.2616 10.3718C67.2941 9.75205 67.1294 9.13826 66.7923 8.6224C66.4758 8.21457 65.9948 7.97689 65.4859 7.97689C64.9771 7.97689 64.496 8.21457 64.1795 8.6224C63.8424 9.13826 63.6778 9.75205 63.7102 10.3718C63.6752 11.0011 63.8398 11.6251 64.1795 12.1508C64.4935 12.5628 64.9755 12.8036 65.4859 12.8036C65.9964 12.8036 66.4784 12.5628 66.7923 12.1508C67.1316 11.6249 67.2962 11.001 67.2616 10.3718Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M55.0723 14.0722H56.7755V3.67676H55.0723V14.0722Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path fill-rule="evenodd" clip-rule="evenodd" d="M20.1379 6.59422L23.2953 7.6557L23.4749 7.89884L12.4674 19L0 0.0236816L20.1379 6.59422ZM13.9042 15.5012V15.5309L21.0243 8.36139L3.38915 2.60327L11.5868 15.092L12.6354 16.7643L13.9042 15.5012Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path d="M16.5287 0L15.4048 4.14513L16.7952 4.60175L17.2239 3.01248L20.4972 6.71286L20.138 6.59426L23.2954 7.66167L16.5287 0Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;&lt;path d="M14.5531 7.2644L12.2647 16.1062L11.6042 15.098L12.6644 16.7644L13.9332 15.5013L15.9377 7.72102L14.5531 7.2644Z" fill="currentColor" data-v-e3fcc358&gt;&lt;/path&gt;',10)]))}],["__scopeId","data-v-e3fcc358"]])},7431:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;k});var r=n(20641),o=n(90033),i={key:0,class:"alert-banner-container"},s={class:"banner-content-container"},a={class:"banner-text-container"},l={class:"info-icon"},c={class:"message"},u={class:"ufo--page-content ufo--home-page-content"},d={class:"ufo--page-sections"},p={class:"ufo--page-content ufo--home-page-content"},h={class:"projects-list project-wrapper"};var f=n(57538),m=n(60710),g=(n(60314),n(98815)),v=n(91101),y=n(35028),b=n(910),w=n(73455),S=null;const _={name:"PortfolioPage",components:{ReviewFabs:w.A,GetHeroNavigation:v.A,SectionLoader:g.A,PortfolioHeroHelper:m.A,PublicPageFooter:y.A,Icon:b.A},data:function(){return{hover:null}},mounted:function(){var e={meta:[],script:[]};document.title!==this.portfolio.name&amp;&amp;(e.title=this.portfolio.name),this.portfolio.settings&amp;&amp;this.portfolio.settings.searchEngineHidden&amp;&amp;e.meta.push({name:"robots",content:"noindex"}),S=(0,f.u)(e)},beforeUpdate:function(){S.patch({title:this.portfolio.name})},unmounted:function(){S.dispose()},computed:{portfolio:function(){return this.$store.state.view.portfolio},user:function(){return this.$store.state.view.user},project:function(){return this.$store.state.view.project},templateSettings:function(){return this.portfolio.templateSettings},portfolioPages:function(){return this.$store.state.view.portfolioPages},emergencyModeSettings:function(){return this.$store.state.view.emergencyModeSettings},getUrl:function(){return"home"===this.project.type?"https://"+(this.portfolio.ownDomainAddress?this.portfolio.ownDomainAddress:"uxfol.io/")+this.portfolio.shortId:"https://"+(this.portfolio.ownDomainAddress?this.portfolio.ownDomainAddress:"uxfol.io")+"/p/"+this.portfolio.shortId+"/"+this.project.shortId},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},sidebarBackgroundColor:function(){return{"--sidebarBgColor":this.portfolio.templateSettings.hero&amp;&amp;this.portfolio.templateSettings.hero.sidebarSettings?this.portfolio.templateSettings.hero.sidebarSettings.backgroundColor:null}},footerDisabledInThemes:function(){return["theme_four","profile_theme_four","theme_nine","profile_theme_nine","theme_default","profile_theme_default"]},portfolioTemplate:function(){return this.portfolio.templateSettings.theme.replace("_old","")},isFooterEnabled:function(){var e="caseStudy"===this.project.type&amp;&amp;this.portfolio.settings.showFooterOnProjects&amp;&amp;this.portfolio.portfolioFooter,t="caseStudy"!==this.project.type&amp;&amp;this.portfolio.settings.showFooterOnPortfolio&amp;&amp;!this.footerDisabledInThemes.includes(this.portfolioTemplate)&amp;&amp;this.portfolio.portfolioFooter;return e||t},contentPosition:function(){return"profile_theme_nine"===this.templateSettings.theme?"align-content-to-".concat(this.templateSettings.hero.alignment.vertical):null}}};const k=(0,n(66262).A)(_,[["render",function(e,t,n,f,m,g){var v=(0,r.g2)("Icon"),y=(0,r.g2)("PortfolioHeroHelper"),b=(0,r.g2)("GetHeroNavigation"),w=(0,r.g2)("SectionLoader"),S=(0,r.g2)("PublicPageFooter");return(0,r.uX)(),(0,r.CE)("main",null,[g.emergencyModeSettings&amp;&amp;g.emergencyModeSettings.emergencyMode&amp;&amp;g.emergencyModeSettings.viewModeEmergencyBanner?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",s,[(0,r.Lk)("div",a,[(0,r.Lk)("div",l,[(0,r.bF)(v,{"icon-name":"info"})]),(0,r.Lk)("div",c,(0,o.v_)(g.emergencyModeSettings.viewModeEmergencyBannerText),1)])])])):(0,r.Q3)("v-if",!0),(0,r.Q3)(" OLD LAYOUT "),!g.templateSettings.theme||g.templateSettings.theme.includes("profile_")?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["ufo--portfolio-page","profile-page",g.templateSettings.theme?g.templateSettings.theme:"profile_theme_default_old",g.templateSettings.showProfilePicture?"profile--hp":""]),style:(0,o.Tr)([g.getTextStyles])},[(0,r.Lk)("div",{class:"grid ufo--page-hero",style:(0,o.Tr)([g.sidebarBackgroundColor]),onMouseenter:t[0]||(t[0]=function(e){return m.hover=-1}),onMouseleave:t[1]||(t[1]=function(e){return m.hover=null})},[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--page-hero-content",g.templateSettings.showProfilePicture&amp;&amp;(g.portfolio.image.url||g.user.image.url&amp;&amp;!g.portfolio.image.url)?"has-picture":"no-profile-picture",g.contentPosition])},[(0,r.bF)(y)],2)],36),(0,r.Lk)("div",u,[!g.templateSettings.theme||g.templateSettings.theme&amp;&amp;g.templateSettings.theme.includes("profile_theme_default")?((0,r.uX)(),(0,r.Wv)(b,{key:0,"show-home-button":!0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",d,[(0,r.bF)(w,{sections:g.project.sections,"default-image-alt":""},null,8,["sections"])])]),(0,r.bF)(S)],6)):((0,r.uX)(),(0,r.CE)(r.FK,{key:2},[(0,r.Q3)(" NEW LAYOUT "),(0,r.Lk)("div",{class:(0,o.C4)(["ufo--portfolio-page",g.templateSettings.theme]),style:(0,o.Tr)([g.getTextStyles])},[(0,r.bF)(y),(0,r.Lk)("div",p,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--page-sections","ProjectGrid"===g.project.sections[0].type?"pg-first":""])},[(0,r.Lk)("div",h,[(0,r.bF)(w,{sections:g.project.sections,"default-image-alt":""},null,8,["sections"])])],2)]),(0,r.bF)(S)],6)],2112))])}]])},14772:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;m});var r=n(20641),o=n(90033);var i=n(7431),s=n(65498),a=n(33253),l=n(80902),c=n(5171),u=n(33501);function d(e){return d="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(){p=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof b?t:b,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var _={};c(_,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(_=A);var T=S.prototype=b.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=h(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==d(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=f;return function(i,s){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=g;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?v:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=v,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(d(t)+" is not iterable")}return w.prototype=S,o(T,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=c(S,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),y}},t}function h(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const f={name:"PortfolioWrapper",components:{ReviewMode:n(16456).A,PasswordProtection:l.A,PortfolioPage:i.A,ErrorPage:c.A},props:["ownDomainError","ownDomainPassword","ownDomainLoaded","review"],data:function(){return{password:!1,error:!1,loaded:!1}},mounted:function(){this.ownDomainError&amp;&amp;(this.error=!0),this.ownDomainPassword&amp;&amp;(this.password=!0),this.ownDomainLoaded&amp;&amp;!this.loaded&amp;&amp;(this.loaded=!0)},beforeRouteEnter:function(e,t,n){return(r=p().mark((function t(){var r,o,i,a;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r="/data",o=e.params.portfolioId,i=e.params.shortId,r+=i?"/shortid/"+i:o?"/portfolio/"+o:"/portfolio",t.next=7,s.A.get(r);case 7:a=t.sent,n((function(e){return e.setData(a.status,a.data)})),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0),n((function(e){return e.setData(t.t0,null)}));case 14:case"end":return t.stop()}}),t,null,[[0,11]])})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function s(e){h(i,n,o,s,a,"next",e)}function a(e){h(i,n,o,s,a,"throw",e)}s(void 0)}))})();var r},methods:{setData:function(e,t){if(e&amp;&amp;!t)return 404===e.response.status?(this.error=!0,void(this.loaded=!0)):(this.password=!0,void(this.loaded=!0));(this.error=!1,this.password=!1,this.$store.state.view.fontsLoaded)||((0,a.zQ)(t.fonts),t.fontNames.filter((function(e){return!t.fonts.map((function(e){return e.name})).includes(e)})).forEach((function(e){u.A.getFontURL(e)})),this.$store.state.view.fontsLoaded=!0);this.password=!1;var r={portfolio:t.portfolio,project:t.project,user:t.user,portfolioPages:t.portfolioPages,activePage:t.project.shortId,footerProjects:t.footerProjects,caseStudies:t.caseStudies,hasDraftCasestudies:t.hasDraftCasestudies,loggedInUserId:t.loggedInUserId,emergencyModeSettings:t.emergencyModeSettings};this.$store.commit("updateView",r);var o=document.querySelector("body");if("project"===t.pageType?o.style.backgroundColor=t.project.designSettings.colorStyles.background.color:o.style.backgroundColor=t.portfolio.designSettings.colorStyles.background.color,!t.portfolio.templateSettings.theme.includes("profile_"))try{n(19600)("./_".concat(t.portfolio.templateSettings.theme.replaceAll("_","-").replace("profile_",""),"-base.scss"))}catch(e){console.log("failed to import scss")}this.$store.state.portfolio=t.portfolio,this.$store.state.project=t.project,this.loaded=!0},fetchUrl:function(e){var t="/data",n=e.params.portfolioId,r=e.params.shortId;return t+=r?"/shortid/"+r:n?"/portfolio/"+n:"/portfolio",this.ownDomainPassword?"/data/ownDomain":t}},computed:{currentComponent:function(){return this.$store.state.view.portfolio&amp;&amp;!this.password&amp;&amp;(this.loaded||this.ownDomainLoaded)?"PortfolioPage":this.password?"PasswordProtection":this.error?"ErrorPage":null},currentProps:function(){return this.password?{setData:this.setData,fetchUrl:this.fetchUrl,type:"portfolio"}:this.error?{error:{code:404,title:"This page doesnâ€™t exist",message:"We canâ€™t seem to find the page you are looking for"}}:{}}}};const m=(0,n(66262).A)(f,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ReviewMode");return s.loaded?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[n.review?((0,r.uX)(),(0,r.Wv)(l,{key:0},{default:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(a.currentComponent),(0,o._B)((0,r.Ng)(a.currentProps)),null,16))]})),_:1})):((0,r.uX)(),(0,r.Wv)((0,r.$y)(a.currentComponent),(0,o._B)((0,r.v6)({key:1},a.currentProps)),null,16))],64)):(0,r.Q3)("v-if",!0)}]])},80902:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;m});var r=n(20641),o=n(90033),i={class:"ufo--portfolio-password-protected"},s={name:"password_form"},a={class:"ufo-form--group"},l={key:0,class:"password-error"};var c=n(65498),u=n(97827);function d(e){return d="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(){p=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof b?t:b,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var _={};c(_,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(_=A);var T=S.prototype=b.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=h(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==d(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=f;return function(i,s){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=g;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?v:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=v,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(d(t)+" is not iterable")}return w.prototype=S,o(T,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=c(S,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),y}},t}function h(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const f={name:"PasswordProtection",components:{InputField:n(61856).A,Cta:u.A},props:["fetchUrl","setData","type"],data:function(){return{passwordError:!1,password:""}},methods:{checkPassowrd:function(e){var t,n=this;return(t=p().mark((function t(){var r,o;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.preventDefault(),r=n.fetchUrl(n.$route),t.prev=2,t.next=5,c.A.get(r,{password:n.password});case 5:o=t.sent,n.onSuccess(o.data),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),n.onFailure();case 12:case"end":return t.stop()}}),t,null,[[2,9]])})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(e){h(i,r,o,s,a,"next",e)}function a(e){h(i,r,o,s,a,"throw",e)}s(void 0)}))})()},onFailure:function(e){this.passwordError="Invalid password"},onSuccess:function(e){var t=this;this.$cookies.set(e.portfolio.shortId,this.password),e.portfolio.ownDomainAddress&amp;&amp;this.$cookies.set(e.portfolio.ownDomainAddress,this.password),e.relatedProjectIds.slice(0,-1).split(",").forEach((function(e){t.$cookies.set(e,t.password)})),this.setData(null,e)}}};const m=(0,n(66262).A)(f,[["render",function(e,t,n,c,u,d){var p=(0,r.g2)("InputField"),h=(0,r.g2)("Cta");return(0,r.uX)(),(0,r.CE)("div",i,[t[3]||(t[3]=(0,r.Lk)("div",{class:"icon"},null,-1)),(0,r.Lk)("h1",null,"Please enter the password to view my "+(0,o.v_)(n.type),1),(0,r.Lk)("form",s,[(0,r.Lk)("div",a,[(0,r.bF)(p,{modelValue:u.password,"onUpdate:modelValue":t[0]||(t[0]=function(e){return u.password=e}),name:"password",type:"password",autocomplete:"off",placeholder:"Enter Passwordâ€¦",required:""},null,8,["modelValue"]),(0,r.bF)(h,{onClick:t[1]||(t[1]=function(e){return d.checkPassowrd(e)})},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Go!")])})),_:1})]),u.passwordError?((0,r.uX)(),(0,r.CE)("div",l,[(0,r.Lk)("p",null,(0,o.v_)(u.passwordError),1)])):(0,r.Q3)("v-if",!0)])])}],["__scopeId","data-v-4fc677d1"]])},60314:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;N});var r=n(20641),o=n(90033),i={class:"grid"},s={class:"grid-container"},a={class:"related-projects-container"},l={class:"related-projects"},c=["onClick"],u={class:"image",style:{height:"158px",width:"158px"}},d=["src","alt"],p=["src","alt"],h=["alt"],f={class:"related-project-title"},m={class:"grid"},g={class:"grid-container"},v=["href"],y=["src","height"],b={key:3,class:"separator"},w={class:"link-container"},S={class:"grid"},_={href:"https://uxfol.io/?utm_campaign=branding_header",rel:"nofollow",class:"ufo--branding floating"};var k=n(45861),A=n(15207),T=n(38637),E=n(39275),x=n(28641),C=n(88460),O=n(91101),I=n(19011),L=n(87828);n(74256);const P={name:"PortfolioFooter",components:{GetHeroSocialLinkItem:L.A,GetHeroNavigationItem:I.A,GetHeroNavigation:O.A,AnimationWrapper:C.A,UXFolioLogo:T.A,CtaButton:A.A,SectionText:k.A,ToggleGrid:E.A,ProjectThumbnail:x.A},computed:{portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},user:function(){return this.$store.state.view.user},footerProjects:function(){return this.$store.state.view.footerProjects},portfolioTemplate:function(){return this.portfolio.templateSettings.theme.replace("_old","")},homeLink:function(){return this.portfolio.ownDomainAddress?"https://"+this.portfolio.ownDomainAddress:"/"+this.portfolio.shortId},notAllowedInThemes:function(){return["theme_one","theme_two","theme_three","theme_six","theme_seven","theme_eleven"]},logoInThemes:function(){return["profile_theme_default","profile_theme_default_old","theme_one","profile_theme_one","theme_two","profile_theme_two","theme_three","profile_theme_three","theme_six","profil_theme_six","theme_seven","profile_theme_seven","theme_eight","profile_theme_eight","theme_thirteen","profile_theme_thirteen","theme_seventeen"]},portfolioPages:function(){return this.$store.state.view.portfolioPages}},methods:{navigateToProjectFooter:function(e,t,n){var r=this.portfolio.ownDomainAddress&amp;&amp;this.portfolio.ownDomainAddress===location.host?"/p/".concat(n):"/p/".concat(t,"/").concat(n);window.location.href=r},rootIsOwnDomain:function(){return this.portfolio.ownDomainAddress&amp;&amp;this.portfolio.ownDomainAddress===location.host},homeNavigation:function(e){e.preventDefault();var t=this.rootIsOwnDomain()?"/":"/".concat(this.portfolio.shortId);this.$router.push(t),this.$store.state.view.navOpen=!1},navigationRef:function(e,t){e.preventDefault();var n=this.rootIsOwnDomain()?"/p/".concat(t.shortId):"/p/".concat(this.portfolio.shortId,"/").concat(t.shortId);this.$router.push(n),this.$store.state.view.navOpen=!1},getCleanTypeOfSocialLink:function(e){return"x-twitter"===e.toLowerCase()?"X":this.transformText(e)},transformText:function(e){return this.portfolio.templateSettings.navigation.navigationItems.button.upperCase?e.toUpperCase():e},getProjectName:function(e){var t=e.sections[0];return null!==e.name?e.name:t.title.text}}};const N=(0,n(66262).A)(P,[["render",function(e,t,n,k,A,T){var E,x,C=(0,r.g2)("ToggleGrid"),O=(0,r.g2)("AnimationWrapper"),I=(0,r.g2)("ProjectThumbnail"),L=(0,r.g2)("SectionText"),P=(0,r.g2)("CtaButton"),N=(0,r.g2)("GetHeroNavigationItem"),D=(0,r.g2)("GetHeroSocialLinkItem"),R=(0,r.g2)("UXFolioLogo");return(0,r.uX)(),(0,r.CE)(r.FK,null,["caseStudy"===T.project.type&amp;&amp;T.portfolio.settings.showRelatedCaseStudiesOnProjects&amp;&amp;T.footerProjects.length?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"footer-section ufo-sec related-case-studies",style:(0,o.Tr)([{"--section-padding-top":T.portfolio.portfolioFooter.style&amp;&amp;T.portfolio.portfolioFooter.style.paddingTop?T.portfolio.portfolioFooter.style.paddingTop+"px":null}])},[(0,r.bF)(C),(0,r.Lk)("div",i,[(0,r.Lk)("div",s,[(0,r.Lk)("div",a,[(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return t[0]||(t[0]=[(0,r.Lk)("h3",{class:"title"},"Read more of my case studies",-1)])})),_:1},8,["animation-style","animation-speed"]),(0,r.Lk)("div",l,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(T.footerProjects.slice(0,4),(function(t,n){return(0,r.uX)(),(0,r.CE)("div",{key:t,onClick:function(e){return T.navigateToProjectFooter(T.portfolio.ownDomainAddress?T.portfolio.ownDomainAddress:"",T.portfolio.shortId,t.shortId)},class:"related-project"},[(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":n?.1*n:0},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",u,[t.settings.usingGeneratedThumbnail?((0,r.uX)(),(0,r.Wv)(I,{key:0,caseStudy:t,"force-squared":""},null,8,["caseStudy"])):t.image.url?((0,r.uX)(),(0,r.CE)("img",{key:1,loading:"lazy",width:"158",height:"158",src:t.image.croppedImageUrl?t.image.croppedImageUrl:t.image.url,alt:t.name},null,8,d)):"MainHeader"===t.sections[0].type&amp;&amp;t.sections[0].image&amp;&amp;t.sections[0].image.url?((0,r.uX)(),(0,r.CE)("img",{key:2,loading:"lazy",width:"158",height:"158",src:t.sections[0].image.croppedImageUrl?t.sections[0].image.croppedImageUrl:t.sections[0].image.url,alt:t.name},null,8,p)):t.sections[0].backgroundColor?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("img",{key:3,loading:"lazy",width:"158",height:"158",src:"/example_project_images/v2/empty-project-thumbnail.jpg",alt:t.name},null,8,h))])]})),_:2},1032,["animation-style","animation-speed","delay-animation"]),(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":n?.1*n:0},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",f,[(0,r.Lk)("p",null,(0,o.v_)(T.getProjectName(t)),1)])]})),_:2},1032,["animation-style","animation-speed","delay-animation"])],8,c)})),128))])])])])],4)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:"footer-section ufo-sec",style:(0,o.Tr)([{"--section-padding-top":T.portfolio.portfolioFooter.style&amp;&amp;T.portfolio.portfolioFooter.style.paddingTop?T.portfolio.portfolioFooter.style.paddingTop+"px":null}])},[(0,r.bF)(C),(0,r.Lk)("div",m,[(0,r.Lk)("div",g,[!T.notAllowedInThemes.includes(T.portfolioTemplate)&amp;&amp;T.portfolio.templateSettings.logo&amp;&amp;T.portfolio.portfolioFooter.displayLogo&amp;&amp;T.portfolio.portfolioFooter.displayText?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["logo-container",T.portfolio.portfolioFooter.text&amp;&amp;T.portfolio.portfolioFooter.text.style&amp;&amp;T.portfolio.portfolioFooter.text.style.textAlign?T.portfolio.portfolioFooter.text.style.textAlign:"left"])},[(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("a",{href:T.homeLink,class:"footer-logo"},[(0,r.Lk)("img",{src:T.portfolio.templateSettings.logo.image.url,height:T.portfolio.templateSettings.logo.image.height,alt:"Portfolio logo"},null,8,y)],8,v)]})),_:1},8,["animation-style","animation-speed"])],2)):(0,r.Q3)("v-if",!0),T.portfolio.portfolioFooter.displayText&amp;&amp;null!==(E=T.portfolio.portfolioFooter.text)&amp;&amp;void 0!==E&amp;&amp;E.text?((0,r.uX)(),(0,r.Wv)(L,{key:1,"section-text":T.portfolio.portfolioFooter.text},null,8,["section-text"])):(0,r.Q3)("v-if",!0),T.portfolio.portfolioFooter.displayText?((0,r.uX)(),(0,r.CE)("div",{key:2,class:(0,o.C4)(["button-container",null!==(x=T.portfolio.portfolioFooter.text)&amp;&amp;void 0!==x&amp;&amp;null!==(x=x.style)&amp;&amp;void 0!==x&amp;&amp;x.textAlign?T.portfolio.portfolioFooter.text.style.textAlign:"left"])},[T.portfolio.portfolioFooter.displayText?((0,r.uX)(),(0,r.Wv)(P,{key:0,section:T.portfolio.portfolioFooter,"form-submit-button":!1},null,8,["section"])):(0,r.Q3)("v-if",!0)],2)):(0,r.Q3)("v-if",!0),T.portfolio.templateSettings.footerSettings.showLine?((0,r.uX)(),(0,r.CE)("div",b,[(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"is-final-section":!0},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["line",T.portfolio.templateSettings.dividerLineSettings?T.portfolio.templateSettings.dividerLineSettings.weight:""])},null,2)]})),_:1},8,["animation-style","animation-speed"])])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,o.C4)(["footer-links",{profile_theme_default:!e.$store.state.portfolio.templateSettings.theme||e.$store.state.portfolio.templateSettings.theme.includes("theme_default")}])},[(0,r.Lk)("div",w,[T.portfolio.portfolioFooter.displayPageLinks&amp;&amp;T.portfolioPages||!T.portfolio.socialLinks?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["portfolio-pages",T.portfolio.portfolioFooter.displaySocialLinks&amp;&amp;T.portfolio.socialLinks?"portfolio-pages--left":""])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(T.portfolioPages,(function(e,t){return(0,r.uX)(),(0,r.Wv)(N,{index:t,page:e,key:e._id},null,8,["index","page"])})),128))],2)):(0,r.Q3)("v-if",!0),T.portfolio.portfolioFooter.displaySocialLinks&amp;&amp;T.portfolio.socialLinks?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["social-links",T.portfolio.portfolioFooter.displayPageLinks&amp;&amp;T.portfolioPages?"social-links--right":""])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(T.portfolio.socialLinks,(function(t,n){return(0,r.uX)(),(0,r.CE)("div",{key:t,class:"footer-link"},[(0,r.bF)(O,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"is-final-section":!0,"delay-animation":n?.1*n:0},{animationContent:(0,r.k6)((function(){return[(0,r.bF)(D,{"social-link":t},null,8,["social-link"])]})),_:2},1032,["animation-style","animation-speed","delay-animation"])])})),128))],2)):(0,r.Q3)("v-if",!0)])],2)])])],4),T.user.accountSettings.folioLogo&amp;&amp;"caseStudy"!==T.project.type?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["footer-share","profile_theme_nine"!==T.portfolio.templateSettings.theme?"show-color-background":""])},[(0,r.Lk)("div",S,[(0,r.Lk)("div",{class:(0,o.C4)(["footer-share-content","profile_theme_nine"!==T.portfolio.templateSettings.theme?"show-color-background":""])},[(0,r.Lk)("a",_,[t[1]||(t[1]=(0,r.eW)(" Made with ")),(0,r.bF)(R)])],2)])],2)):(0,r.Q3)("v-if",!0)],64)}],["__scopeId","data-v-40d0c64b"]])},35028:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;d});var r=n(20641),o=n(90033),i={key:0,class:"profile-footer"},s={class:"grid"},a={class:"profile-footer-content"},l=["href"],c={key:0};const u={name:"PublicPageFooter",computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.portfolio.templateSettings},user:function(){return this.$store.state.view.user},socialLinks:function(){return this.user.socialLinks||this.portfolio.socialLinks?this.user.socialLinks?this.user.socialLinks:this.portfolio.socialLinks:[]},filteredSocials:function(){return this.socialLinks.filter((function(e){return""!==e.url}))},oldFooterIsVisible:function(){return!!this.$store.state.portfolio&amp;&amp;this.$store.state.portfolio.settings&amp;&amp;null===this.$store.state.portfolio.settings.showFooterOnPortfolio&amp;&amp;!!this.$store.state.portfolio.socialLinks&amp;&amp;this.$store.state.portfolio.socialLinks.length&gt;0&amp;&amp;""!==this.$store.state.portfolio.socialLinks[0].url&amp;&amp;"profile_theme_four"!==this.templateSettings.theme&amp;&amp;this.templateSettings.theme.indexOf("default")&lt;0&amp;&amp;"profile_theme_nine"!==this.templateSettings.theme&amp;&amp;("profile_theme_eight"===this.templateSettings.theme||"theme_eight"===this.templateSettings.theme||"theme_eleven"===this.templateSettings.theme||"theme_twelve"===this.templateSettings.theme)}}};const d=(0,n(66262).A)(u,[["render",function(e,t,n,u,d,p){return p.oldFooterIsVisible?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("div",s,[(0,r.Lk)("div",a,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.filteredSocials,(function(e){return(0,r.uX)(),(0,r.CE)("a",{href:e.url,target:"_blank",rel:"nofollow noopener",class:(0,o.C4)(["profile_theme_eight"!==p.templateSettings.theme&amp;&amp;"theme_eight"!==p.templateSettings.theme&amp;&amp;"theme_thriteen"!==p.templateSettings.theme?"footer-url":"footer-icon"])},["profile_theme_eight"!==p.templateSettings.theme&amp;&amp;"theme_eight"!==p.templateSettings.theme&amp;&amp;"theme_thirteen"!==p.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",c,(0,o.v_)(e.type),1)):((0,r.uX)(),(0,r.CE)("i",{key:1,class:(0,o.C4)(["fa","fa-"+e.type.toLowerCase()])},null,2))],10,l)})),256))])])])):(0,r.Q3)("v-if",!0)}]])},91101:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;f});var r=n(20641),o=n(90033),i={key:0,class:"line"},s={key:2,class:"line"};var a=n(74256),l=n(19011),c=n(2474),u=n(89949),d=n(53625),p=n(86119);const h={name:"GetHeroNavigation",components:{GetHeroNavigationItem:l.A,GetHeroPortfolioLogo:c.A,HamburgerToggle:p.A,GetHeroPortfolioImage:d.A,GetHeroSocialLinks:u.A},props:["showHomeButton"],computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.portfolio.templateSettings},portfolioPages:function(){var e=this.$store.state.view.portfolioPages;return this.showHomeButton||(e=e.filter((function(e){return"home"!==e.type}))),e},navBarLayout:function(){return this.portfolio.templateSettings.navigation.layout},navBarStyle:function(){return this.portfolio.templateSettings.navigation.style},showLines:function(){return this.portfolio.templateSettings.navigation.layout===a.wb.LINE_MIDDLE},usePortfolioHeroBackground:function(){return"theme_five"===this.portfolio.templateSettings.theme&amp;&amp;this.portfolio.templateSettings.hero.image.url&amp;&amp;!this.portfolio.designSettings.colorStyles.background.primaryColor?[{background:"url('".concat(this.portfolio.templateSettings.hero.image.url,"') 100% 100% / 100% 100% no-repeat")}]:null},theme:function(){return this.portfolio.templateSettings.theme},navigationIsBelow:function(){return this.portfolio.templateSettings.navigation&amp;&amp;this.portfolio.templateSettings.navigation.type===a.m3.BELOW}},methods:{selected:function(e){return this.$store.state.view.activePage===e.shortId?"selected":""},active:function(e){return this.$store.state.view.activePage===e.shortId?"active":""},pageTitle:function(e){return this.portfolio.templateSettings.navigation.navigationItems.button.upperCase?e.toUpperCase():e},socialLinksAreInNavbar:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation===a.BO.NAVBAR},navigationIsInlineUnderText:function(){return this.portfolio.templateSettings.navigation.type===a.m3.INLINE_BELOW_TEXT},showHambi:function(){return!(this.navigationIsInlineUnderText()||this.templateSettings.theme.includes("profile_theme_default")||this.templateSettings.theme.includes("profile_theme_four")||this.templateSettings.theme.includes("profile_theme_nine"))}}};const f=(0,n(66262).A)(h,[["render",function(e,t,n,a,l,c){var u=(0,r.g2)("GetHeroPortfolioLogo"),d=(0,r.g2)("GetHeroNavigationItem"),p=(0,r.g2)("GetHeroSocialLinks"),h=(0,r.g2)("HamburgerToggle"),f=(0,r.g2)("GetHeroPortfolioImage");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["navbar",c.navBarLayout,c.navBarStyle])},[c.navigationIsBelow?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(u,{key:0})),(0,r.Lk)("div",{class:(0,o.C4)(["navbar-container",{"no-mob":c.navigationIsInlineUnderText()||c.templateSettings.theme.includes("profile_theme_default")},e.$store.state.view.navOpen?"on":""]),style:(0,o.Tr)(c.usePortfolioHeroBackground)},[c.showLines?((0,r.uX)(),(0,r.CE)("div",i)):(0,r.Q3)("v-if",!0),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(c.portfolioPages,(function(e,t){return(0,r.uX)(),(0,r.Wv)(d,{index:t,page:e,key:e._id},null,8,["index","page"])})),128)),c.socialLinksAreInNavbar()?((0,r.uX)(),(0,r.Wv)(p,{key:1})):(0,r.Q3)("v-if",!0),c.showLines?((0,r.uX)(),(0,r.CE)("div",s)):(0,r.Q3)("v-if",!0)],6),c.showHambi()?((0,r.uX)(),(0,r.Wv)(h,{key:1})):(0,r.Q3)("v-if",!0),"theme_three"===c.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(f,{key:2})):(0,r.Q3)("v-if",!0)],2)}],["__scopeId","data-v-3bb18a1b"]])},19011:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;d});var r=n(20641),o=n(90033),i={key:0,width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s=["href","target","data-text"],a=["data-text"];var l=n(88460),c=n(74256);const u={name:"GetHeroNavigationItem",props:["page","index"],components:{AnimationWrapper:l.A},computed:{portfolio:function(){return this.$store.state.view.portfolio},showSeparator:function(){return this.index&gt;0&amp;&amp;this.portfolio.templateSettings.navigation.style===c.B0.FORWARD_SLASH},homeIsVisible:function(){return this.$store.getters.isCaseStudy||!this.portfolio.templateSettings.theme.includes("theme_one")&amp;&amp;!this.portfolio.templateSettings.theme.includes("theme_two")},socialLinks:function(){return this.$store.state.view.user.socialLinks?this.$store.state.view.user.socialLinks:this.portfolio.socialLinks},style:function(){return this.portfolio.templateSettings.navigation.navigationItems.button.style}},methods:{selected:function(e){return this.$store.state.view.activePage===e.shortId?"selected":""},active:function(e){return this.$store.state.view.activePage===e.shortId?"active":""},rootIsOwnDomain:function(){return this.portfolio.ownDomainAddress&amp;&amp;location.origin.includes(this.portfolio.ownDomainAddress)},homeNavigation:function(e){e.preventDefault();var t=this.rootIsOwnDomain()?"/":"/".concat(this.portfolio.shortId);this.$router.push(t),this.$store.state.view.navOpen=!1},navigationRef:function(e,t){e.preventDefault();var n=this.rootIsOwnDomain()?"/p/".concat(t.shortId):"/p/".concat(this.portfolio.shortId,"/").concat(t.shortId);this.$router.push(n),this.$store.state.view.navOpen=!1},pageTitle:function(e){return this.portfolio.templateSettings.navigation.navigationItems.button.upperCase?e.toUpperCase():e},isFinalSection:function(){return!!(this.portfolio.templateSettings.theme.includes("theme_four")||this.portfolio.templateSettings.theme.includes("theme_nine")||this.portfolio.templateSettings.theme.includes("theme_default"))},animationDelay:function(e){var t=Math.round(100*(e?.1*e:0))/100;return this.socialLinks&amp;&amp;this.portfolio.templateSettings.theme.includes("theme_one")&amp;&amp;(t+=.6+.1*this.socialLinks.length),this.homeIsVisible||this.portfolio.templateSettings.theme.includes("theme_two")||!this.socialLinks||(t-=.1),t}}};const d=(0,n(66262).A)(u,[["render",function(e,t,n,l,c,u){var d=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(d,{"animation-style":e.$store.getters.animationSettings&amp;&amp;"NONE"!==e.$store.getters.animationSettings.animationStyle?"FADE_IN":null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"is-final-section":u.isFinalSection(),"delay-animation":u.animationDelay(n.index)},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["navbar-item",u.selected(n.page)])},[(0,r.Q3)(" HOME "),u.showSeparator?((0,r.uX)(),(0,r.CE)("svg",i,t[2]||(t[2]=[(0,r.Lk)("g",{id:"slash icon"},[(0,r.Lk)("path",{id:"Vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.0744 22.4L15.6456 1.59998H17.8088L9.236 22.4H7.0744Z",fill:"#8F94A3"})],-1)]))):(0,r.Q3)("v-if",!0),"home"===n.page.type?((0,r.uX)(),(0,r.CE)("a",{key:1,onClick:t[0]||(t[0]=function(e){return u.homeNavigation(e)}),class:(0,o.C4)(["btn",u.style,u.active(n.page)])},(0,o.v_)(u.pageTitle(n.page.name)),3)):["file","mailto","link"].includes(n.page.type)?((0,r.uX)(),(0,r.CE)(r.FK,{key:2},[(0,r.Q3)(" file, mailto, link "),(0,r.Lk)("a",{href:"mailto"===n.page.type?"mailto:"+n.page.settings.link.url:n.page.settings.link.url,target:n.page.settings.link.openInNewTab?"_blank":"",rel:"nofollow noopener","data-text":u.pageTitle(n.page.name),class:(0,o.C4)(["btn",u.style])},(0,o.v_)(u.pageTitle(n.page.name)),11,s)],2112)):((0,r.uX)(),(0,r.CE)(r.FK,{key:3},[(0,r.Q3)(" default "),(0,r.Lk)("a",{onClick:t[1]||(t[1]=function(e){return u.navigationRef(e,n.page)}),class:(0,o.C4)(["btn",u.style,u.active(n.page)]),"data-text":n.page.name},(0,o.v_)(u.pageTitle(n.page.name)),11,a)],2112))],2)]})),_:1},8,["animation-style","animation-speed","is-final-section","delay-animation"])}],["__scopeId","data-v-1c9126d5"]])},53625:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;c});var r=n(20641),o=n(90033),i=n(78790),s=["src","alt"],a={key:1,src:i,class:"hero-image",width:"1080",height:"1080"};const l={name:"GetHeroPortfolioImage",components:{AnimationWrapper:n(88460).A},props:[""],computed:{templateSettings:function(){return this.$store.state.portfolio.templateSettings},image:function(){return this.$store.state.portfolio.image},imageAlt:function(){return this.$store.state.view.user.name+"s portfolio profile image"},animationDelay:function(){return this.$store.state.portfolio&amp;&amp;this.$store.state.portfolio.templateSettings&amp;&amp;this.$store.state.portfolio.templateSettings.showProfilePicture?this.$store.state.portfolio.templateSettings.hero.flipped?this.$store.state.portfolio.templateSettings.theme.includes("theme_sixteen")?.2:.4:this.$store.state.portfolio.templateSettings.theme.includes("theme_sixteen")?.4:.2:0}}};const c=(0,n(66262).A)(l,[["render",function(e,t,n,i,l,c){var u,d,p=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(p,{"animation-style":null===(u=e.$store.getters.animationSettings)||void 0===u?void 0:u.animationStyle,"animation-speed":null===(d=e.$store.getters.animationSettings)||void 0===d?void 0:d.animationSpeed,"delay-animation":c.animationDelay},{animationContent:(0,r.k6)((function(){return[c.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--page-hero-image",c.templateSettings.hero&amp;&amp;c.templateSettings.hero.height?"":"fix-h",c.templateSettings.hero&amp;&amp;c.templateSettings.hero.flipped?"flipped":"",c.image.displayMode?c.image.displayMode:"theme-default",c.templateSettings.hero&amp;&amp;c.templateSettings.hero.alignment.vertical?c.templateSettings.hero.alignment.vertical:"",c.templateSettings.hero&amp;&amp;c.templateSettings.hero.alignment.horizontal?c.templateSettings.hero.alignment.horizontal:"left"]),style:(0,o.Tr)({"--background-color":c.templateSettings.hero&amp;&amp;c.templateSettings.hero.backgroundColor?c.templateSettings.hero.backgroundColor:null})},[c.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,src:c.image.croppedImageUrl?c.image.croppedImageUrl:c.image.url,alt:c.imageAlt,class:"hero-image"},null,8,s)):((0,r.uX)(),(0,r.CE)("img",a))],6)):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed","delay-animation"])}]])},2474:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(20641),o=n(90033),i={key:0,class:"navbar-logo view"},s=["src","height"],a=["src","height"],l={key:0,class:"navbar-id"};const c={name:"GetHeroPortfolioLogo",components:{AnimationWrapper:n(88460).A},methods:{homeNavigation:function(e){e.preventDefault();var t=this.rootIsOwnDomain()?"/":"/".concat(this.portfolio.shortId);this.$router.push(t),this.$store.state.view.navOpen=!1},rootIsOwnDomain:function(){return this.portfolio.ownDomainAddress&amp;&amp;location.origin.includes(this.portfolio.ownDomainAddress)}},computed:{user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio},notAllowedInThemes:function(){return["theme_one","theme_two","theme_three","theme_six","theme_seven","theme_eleven"]},checkLocation:function(){return window.location.pathname.includes("/p/")},showOwnerId:function(){return this.portfolio.templateSettings.navigation.navigationItems.ownerId.visible}}};const u=(0,n(66262).A)(c,[["render",function(e,t,n,c,u,d){var p=(0,r.g2)("AnimationWrapper");return!d.portfolio.templateSettings.logo||d.notAllowedInThemes.includes(d.portfolio.templateSettings.theme)||d.portfolio.templateSettings.theme.includes("profile_")?d.showOwnerId?((0,r.uX)(),(0,r.CE)(r.FK,{key:1},["theme_sixteen"!==d.portfolio.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(p,{key:0,"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[d.checkLocation?((0,r.uX)(),(0,r.CE)("a",{key:1,onClick:t[1]||(t[1]=function(e){return d.homeNavigation(e)}),class:"navbar-id"},(0,o.v_)(d.user.name),1)):((0,r.uX)(),(0,r.CE)("div",l,(0,o.v_)(d.user.name),1))]})),_:1},8,["animation-style","animation-speed"])):(0,r.Q3)("v-if",!0)],64)):(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(p,{key:0,"animation-style":e.$store.getters.animationSettings&amp;&amp;"NONE"!==e.$store.getters.animationSettings.animationStyle?"FADE_IN":null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[d.checkLocation?((0,r.uX)(),(0,r.CE)("a",{key:1,onClick:t[0]||(t[0]=function(e){return d.homeNavigation(e)}),class:"navbar-logo view"},[(0,r.Lk)("img",{src:d.portfolio.templateSettings.logo.image.url,height:d.portfolio.templateSettings.logo.image.height,alt:"Portfolio logo"},null,8,a)])):((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("img",{src:d.portfolio.templateSettings.logo.image.url,height:d.portfolio.templateSettings.logo.image.height,alt:"Portfolio logo"},null,8,s)]))]})),_:1},8,["animation-style","animation-speed"]))}]])},87828:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;c});var r=n(20641),o=n(90033),i=["href","data-text"],s={key:0};var a=n(74256);const l={name:"GetHeroSocialLinkItem",props:{socialLink:{type:Object,default:null}},methods:{getCleanType:function(e){return"x-twitter"===e.toLowerCase()?"x":this.templateSettings.navigation.navigationItems.button.upperCase?e.toUpperCase():e}},computed:{templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},socialLinkStyle:function(){return this.templateSettings.navigation.navigationItems.socialLink.style},linkIsTextType:function(){return this.templateSettings.navigation.navigationItems.socialLink.type===a.tD.TEXT&amp;&amp;"theme_seventeen"!==this.templateSettings.theme}}};const c=(0,n(66262).A)(l,[["render",function(e,t,n,a,l,c){return(0,r.uX)(),(0,r.CE)("a",{href:n.socialLink.url,target:"_blank",rel:"nofollow noopener",class:(0,o.C4)([c.socialLinkStyle,c.linkIsTextType?"text":"icon",c.getCleanType(n.socialLink.type).toLowerCase()]),"data-text":c.linkIsTextType?c.getCleanType(n.socialLink.type):null},[c.linkIsTextType?((0,r.uX)(),(0,r.CE)("span",s,(0,o.v_)(c.getCleanType(n.socialLink.type)),1)):((0,r.uX)(),(0,r.CE)("i",{key:1,class:(0,o.C4)(["fa","fa-"+n.socialLink.type.toLowerCase()])},null,2))],10,i)}],["__scopeId","data-v-36fe36e6"]])},89949:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033);n(74256);var i=n(88460);const s={name:"GetHeroSocialLinks",components:{GetHeroSocialLinkItem:n(87828).A,AnimationWrapper:i.A},computed:{user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.portfolio.templateSettings},socialLinks:function(){return this.user.socialLinks?this.user.socialLinks:this.portfolio.socialLinks},filteredSocials:function(){return this.socialLinks.filter((function(e){return""!==e.url}))}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("GetHeroSocialLinkItem"),c=(0,r.g2)("AnimationWrapper");return a.user.socialLinks||a.portfolio.socialLinks?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["social-links",a.templateSettings.showProfilePicture?"":"full-w",a.templateSettings.hero&amp;&amp;a.templateSettings.hero.alignment.horizontal?a.templateSettings.hero.alignment.horizontal:""])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.filteredSocials,(function(t,n){return(0,r.uX)(),(0,r.Wv)(c,{key:t,"animation-style":e.$store.getters.animationSettings&amp;&amp;"NONE"!==e.$store.getters.animationSettings.animationStyle?"FADE_IN":null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":.6+.1*n},{animationContent:(0,r.k6)((function(){return[(0,r.bF)(l,{"social-link":t},null,8,["social-link"])]})),_:2},1032,["animation-style","animation-speed","delay-animation"])})),128))],2)):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-00ec8a68"]])},98815:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;Ir});var r=n(20641),o=n(90033),i=["onMouseenter"];var s=["id"],a={class:"grid"},l=["innerHTML"],c=["innerHTML"];var u={class:"mockup-display"},d={class:"mockup-image"},p={key:0,class:"desktop-body"},h={class:"ufo-mockup--display"},f={class:"ufo-mockup--screen"},m={class:"ufo-mockup--scroller"},g={class:"ufo-mockup--frame"},v=["src"];var y=["src","data-zoom","data-zoomable","alt","width","height"],b=["src"],w=["src","height"],S=["src"];const _={name:"PlaceMediaContent",props:["section","defaultCaption","placeholderImage"],computed:{setZoom:function(){return"MainHeader"!==this.section.type&amp;&amp;(!this.section.media.displayMode||this.section.media.displayMode&amp;&amp;"full"!==this.section.media.displayMode)&amp;&amp;(!this.section.media.frame||this.section.media.frame&amp;&amp;"no-mockup"===this.section.media.frame)},altTag:function(){return this.section.media.altTag.replace('"',"&amp;quot;")},getImageUrl:function(){var e;if(!this.section.media.croppedImageUrl&amp;&amp;null!==(e=this.section.media.url)&amp;&amp;void 0!==e&amp;&amp;e.includes("/example")){var t,n;if(this.section.media.url.includes("suggestion-wireframes")){if(null!==(t=this.section.media.frame)&amp;&amp;void 0!==t&amp;&amp;t.includes("desktop")||null!==(n=this.section.media.frame)&amp;&amp;void 0!==n&amp;&amp;n.includes("monitor"))return"/example_project_images/v2/suggestion-wireframes-desktop.png"}else if(this.section.media.url.includes("gallery-sample-tall")){var r,o,i;if(null!==(r=this.section.media.frame)&amp;&amp;void 0!==r&amp;&amp;r.includes("desktop")||null!==(o=this.section.media.frame)&amp;&amp;void 0!==o&amp;&amp;o.includes("monitor"))return this.section.media.url.replace("tall","desktop").replace("jpg","png");if(null!==(i=this.section.media.frame)&amp;&amp;void 0!==i&amp;&amp;i.includes("tablet"))return this.section.media.url.replace("tall","tablet").replace("jpg","png")}return this.section.media.url}return this.section.media.croppedImageUrl?this.section.media.croppedImageUrl:this.section.media.url}},methods:{imageLoaded:function(e){this.setZoom&amp;&amp;e&amp;&amp;e.dataset.zoomable&amp;&amp;e.naturalWidth&gt;e.width?this.$store.state.zoom.attach(e):this.$store.state.zoom.detach(e),this.$store.commit("recalculateScrollTriggers")},forcedAspectRatio:function(){var e;return!(null===(e=this.section)||void 0===e||!e.mediaAspectRatio)}}};var k=n(66262);const A=(0,k.A)(_,[["render",function(e,t,n,i,s,a){return"Image"===n.section.media.type?((0,r.uX)(),(0,r.CE)("img",{key:0,ref:"img",onLoad:t[0]||(t[0]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),loading:"lazy",class:(0,o.C4)(a.forcedAspectRatio?"aspect-ratio-".concat(n.section.mediaAspectRatio):null),src:a.getImageUrl,"data-zoom":a.setZoom,"data-zoomable":a.setZoom,alt:n.section.media.altTag?a.altTag:n.defaultCaption,width:n.section.media.width,height:n.section.media.height},null,42,y)):"Video"===n.section.media.type?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["embed","embed-type-"+n.section.media.type.toLowerCase(),"noHeightValue"])},[n.section.media.url?((0,r.uX)(),(0,r.CE)("iframe",{key:0,src:n.section.media.url,loading:"lazy",allowfullscreen:"false",frameborder:"0"},null,8,b)):(0,r.Q3)("v-if",!0)],2)):"Prototype"===n.section.media.type||"Media"===n.section.media.type?((0,r.uX)(),(0,r.CE)(r.FK,{key:2},[(0,r.Q3)(" TODO: container issue "),n.section.media.height?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["embed","embed-type-"+n.section.media.type.toLowerCase()])},[n.section.media.url?((0,r.uX)(),(0,r.CE)("iframe",{key:0,src:n.section.media.url,loading:"lazy",height:n.section.media.height,width:"100%",frameborder:"0",allowTransparency:"true",allowfullscreen:"false"},null,8,w)):(0,r.Q3)("v-if",!0)],2)):((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["embed","embed-type-"+n.section.media.type.toLowerCase(),"noWidthValue","noHeightValue"])},[n.section.media.url?((0,r.uX)(),(0,r.CE)("iframe",{key:0,src:n.section.media.url,loading:"lazy",allowTransparency:"true",allowfullscreen:"false",frameborder:"0"},null,8,S)):(0,r.Q3)("v-if",!0)],2))],64)):(0,r.Q3)("v-if",!0)}]]);var T=n(88460);const E={name:"GetMediaContent",components:{AnimationWrapper:T.A,PlaceMediaContent:A},props:["section","defaultCaption","placeholderImage"]},x=(0,k.A)(E,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("PlaceMediaContent"),c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[n.section.media.frame&amp;&amp;"no-mockup"!==n.section.media.frame?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},["mobile"===n.section.media.frame||"tablet"===n.section.media.frame||"desktop"===n.section.media.frame?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)("mockup--"+n.section.media.frame)},[(0,r.Lk)("div",u,[(0,r.Lk)("div",d,[(0,r.bF)(l,{section:n.section,"default-caption":n.defaultCaption,"placeholder-image":n.placeholderImage},null,8,["section","default-caption","placeholder-image"])])]),n.section.media.frame.includes("desktop")?((0,r.uX)(),(0,r.CE)("div",p)):(0,r.Q3)("v-if",!0)],2)):((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)("mockup--"+n.section.media.frame)},[(0,r.Lk)("div",h,[(0,r.Lk)("div",f,[(0,r.Lk)("div",m,[(0,r.bF)(l,{section:n.section,"default-caption":n.defaultCaption,"placeholder-image":n.placeholderImage},null,8,["section","default-caption","placeholder-image"])])]),(0,r.Lk)("div",g,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.section.media.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,v)])])],2))],64)):((0,r.uX)(),(0,r.Wv)(l,{key:1,section:n.section,"default-caption":n.defaultCaption,"placeholder-image":n.placeholderImage},null,8,["section","default-caption","placeholder-image"]))]})),_:1},8,["animation-style","animation-speed"])}]]);var C={key:0,class:"image"},O=["src"],I={key:1,class:"name"},L={key:2,class:"profile-links"},P={key:3,class:"profile-bio"},N=["innerHTML"],D={key:0,class:"line"},R={key:2,class:"line"},M={key:2,class:"ufo--page-hero-image"},F=["src"],H={key:0,class:"picture"},j=["src"],G={key:0,class:"name"},B={key:1,class:"company"};var $=n(19011),W=n(89949),U=["src","height"];const z={name:"GetSiteLogo",computed:{portfolio:function(){return this.$store.state.view.portfolio},homeLink:function(){return this.portfolio.ownDomainAddress?"/":"/".concat(this.portfolio.shortId)},showLogo:function(){var e=this.$store.getters.isCaseStudy&amp;&amp;"theme_seventeen"!==this.portfolio.templateSettings.theme||!this.$store.getters.isCaseStudy;return!!this.portfolio.templateSettings.logo&amp;&amp;this.logoIsAvailableInTheme&amp;&amp;e},showOwnerId:function(){return this.portfolio.templateSettings.navigation.navigationItems.ownerId.visible},logoIsAvailableInTheme:function(){return!["theme_one","theme_two","theme_three","theme_six","theme_seven","theme_eleven"].includes(this.portfolio.templateSettings.theme)&amp;&amp;!this.portfolio.templateSettings.theme.includes("profile_")}}},V=(0,k.A)(z,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("RouterLink");return a.showOwnerId||a.showLogo?((0,r.uX)(),(0,r.Wv)(l,{key:0,to:a.homeLink,class:(0,o.C4)([a.showOwnerId&amp;&amp;!a.showLogo?"navbar-id":"navbar-logo"])},{default:(0,r.k6)((function(){return[(0,r.Q3)(" user name "),a.showOwnerId&amp;&amp;!a.showLogo?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.eW)((0,o.v_)(e.$store.state.view.user.name),1)],64)):(0,r.Q3)("v-if",!0),(0,r.Q3)(" logo "),a.showLogo?((0,r.uX)(),(0,r.CE)("img",{key:1,src:a.portfolio.templateSettings.logo.image.url,height:a.portfolio.templateSettings.logo.image.height,alt:"Portfolio logo"},null,8,U)):(0,r.Q3)("v-if",!0)]})),_:1},8,["to","class"])):(0,r.Q3)("v-if",!0)}]]);var X=n(86119),K=n(74256);const q={name:"GetSiteNavigation",components:{GetHeroNavigationItem:$.A,GetSiteLogo:V,AnimationWrapper:T.A,HamburgerToggle:X.A,GetHeroSocialLinks:W.A},props:["section"],data:function(){return{showSidebarNav:!1}},mounted:function(){window.onload=this.setScrollClass,window.onresize=this.setScrollClass},methods:{toggleNav:function(){document.querySelector(".navbar").classList.toggle("visible"),this.showSidebarNav=!this.showSidebarNav},scrolledDown:function(){var e=document.querySelector(".ufo--page-hero-text");e.classList.toggle("scrollable",e.scrollTop!==e.scrollHeight-e.offsetHeight)},setScrollClass:function(){var e=document.querySelector(".ufo--page-hero-text");e.classList.toggle("scrollable",e.scrollHeight&gt;e.clientHeight)},goHome:function(){window.location=this.portfolio.ownDomainAddress?"https://"+this.portfolio.ownDomainAddress:"/"+this.portfolio.shortId}},computed:{portfolioPages:function(){return this.$store.state.view.portfolioPages},portfolioTemplate:function(){return this.portfolio.templateSettings.theme.replace("_old","")},socialLinks:function(){return!!this.portfolio.socialLinks&amp;&amp;this.portfolio.socialLinks},showNavigation:function(){return this.portfolio.settings&amp;&amp;!0===this.portfolio.settings.showNavOnCollectionItems},showSocialLinks:function(){return"profile_theme_four"===this.portfolioTemplate||"profile_theme_one"===this.portfolioTemplate||"profile_theme_two"===this.portfolioTemplate||"theme_five"===this.portfolioTemplate||"profile_theme_five"===this.portfolioTemplate||"theme_six"===this.portfolioTemplate||"profile_theme_six"===this.portfolioTemplate||"theme_ten"===this.portfolioTemplate||this.portfolioTemplate.includes("profile_theme_default")},showSidebarToggleButton:function(){return"profile_theme_four"===this.portfolioTemplate||"profile_theme_six"===this.portfolioTemplate||"profile_theme_nine"===this.portfolioTemplate||"theme_six"===this.portfolioTemplate},showUserImage:function(){return this.portfolio.templateSettings.showProfilePicture&amp;&amp;(this.portfolioTemplate.includes("theme_three")||"profile_theme_four"===this.portfolioTemplate||"profile_theme_nine"===this.portfolioTemplate)},showUserName:function(){return"profile_theme_four"===this.portfolioTemplate},iframeUrl:function(){return window.location.pathname.includes("/uxs-headless/'")},user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},theme:function(){return this.portfolio.templateSettings.theme},usePortfolioHeroBackground:function(){return"theme_five"===this.portfolio.templateSettings.theme&amp;&amp;this.portfolio.templateSettings.hero.image.url&amp;&amp;!this.portfolio.designSettings.colorStyles.background.primaryColor?[{background:"url('".concat(this.portfolio.templateSettings.hero.image.url,"') 100% 100% / 100% 100% no-repeat")}]:null},navBarLayout:function(){return this.portfolio.templateSettings.navigation.layout},navBarStyle:function(){return this.portfolio.templateSettings.navigation.style},showLines:function(){return this.portfolio.templateSettings.navigation.layout===K.wb.LINE_MIDDLE},contentPosition:function(){return"profile_theme_nine"===this.theme?"align-content-to-".concat(this.portfolio.templateSettings.hero.alignment.vertical):null}}},Y=(0,k.A)(q,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("GetSiteLogo"),c=(0,r.g2)("AnimationWrapper"),u=(0,r.g2)("HamburgerToggle"),d=(0,r.g2)("GetHeroSocialLinks"),p=(0,r.g2)("GetHeroNavigationItem");return a.iframeUrl?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--site-nav",a.portfolioTemplate,a.showNavigation?"nav-is-on":""])},[a.showNavigation?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[a.portfolioTemplate.includes("profile_")?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.bF)(l)]})),_:1},8,["animation-style","animation-speed"]),(0,r.bF)(u)],64)):(0,r.Q3)("v-if",!0),a.showSidebarToggleButton?((0,r.uX)(),(0,r.CE)("button",{key:1,onClick:t[0]||(t[0]=function(){return a.toggleNav&amp;&amp;a.toggleNav.apply(a,arguments)}),class:"ufo--site-nav-sidebar-toggle"},t[4]||(t[4]=[(0,r.Lk)("span",null,null,-1),(0,r.eW)("Menu")]))):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,o.C4)(["navbar",{"ufo--site-nav-container":a.portfolioTemplate.includes("profile_")},a.navBarLayout,a.navBarStyle])},[a.portfolioTemplate.includes("profile_")?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(l,{key:0})),a.showSidebarToggleButton||"profile_theme_four"===a.portfolioTemplate||"profile_theme_three"===a.portfolioTemplate||"profile_theme_nine"===a.portfolioTemplate?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["ufo--site-nav-owner-id",a.contentPosition])},[a.showUserImage&amp;&amp;a.portfolio.image.url?((0,r.uX)(),(0,r.CE)("div",C,[(0,r.Lk)("img",{src:a.portfolio.image.url,width:"145",height:"145"},null,8,O)])):(0,r.Q3)("v-if",!0),a.showUserName?((0,r.uX)(),(0,r.CE)("div",I,(0,o.v_)(a.user.name),1)):(0,r.Q3)("v-if",!0),"profile_theme_nine"===a.portfolioTemplate?((0,r.uX)(),(0,r.CE)("div",L,[a.socialLinks&amp;&amp;a.socialLinks.length?((0,r.uX)(),(0,r.Wv)(d,{key:0})):(0,r.Q3)("v-if",!0)])):(0,r.Q3)("v-if",!0),"profile_theme_nine"===a.portfolioTemplate?((0,r.uX)(),(0,r.CE)("div",P,[(0,r.Lk)("div",{class:(0,o.C4)(["description","ufo--page-hero-text",a.portfolio.templateSettings.hero&amp;&amp;a.portfolio.templateSettings.hero.textAlign?"align-text-"+a.portfolio.templateSettings.hero.textAlign:""]),onScroll:t[1]||(t[1]=function(e){return a.scrolledDown()}),innerHTML:a.portfolio.description},null,42,N)])):(0,r.Q3)("v-if",!0),a.showSidebarToggleButton?((0,r.uX)(),(0,r.CE)("button",{key:4,onClick:t[2]||(t[2]=function(){return a.toggleNav&amp;&amp;a.toggleNav.apply(a,arguments)}),class:"ufo-site-nav-sidebar-close"},t[5]||(t[5]=[(0,r.Lk)("span",null,null,-1)]))):(0,r.Q3)("v-if",!0)],2)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,o.C4)(["navbar-container",e.$store.state.view.navOpen?"on":""]),style:(0,o.Tr)(a.usePortfolioHeroBackground)},[a.showLines?((0,r.uX)(),(0,r.CE)("div",D)):(0,r.Q3)("v-if",!0),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.portfolioPages,(function(e,t){return(0,r.uX)(),(0,r.Wv)(p,{page:e,key:e._id,index:t},null,8,["page","index"])})),128)),a.socialLinks&amp;&amp;a.socialLinks.length&amp;&amp;a.showSocialLinks?((0,r.uX)(),(0,r.Wv)(d,{key:1})):(0,r.Q3)("v-if",!0),a.showLines?((0,r.uX)(),(0,r.CE)("div",R)):(0,r.Q3)("v-if",!0)],6),"theme_three"===a.portfolioTemplate&amp;&amp;a.showUserImage&amp;&amp;a.portfolio.image.url?((0,r.uX)(),(0,r.CE)("div",M,[(0,r.Lk)("img",{class:"hero-image",src:a.portfolio.image.croppedImageUrl?a.portfolio.image.croppedImageUrl:a.portfolio.image.url,width:"48",height:"48"},null,8,F)])):(0,r.Q3)("v-if",!0),a.portfolioTemplate.includes("profile_")?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(u,{key:3}))],2)],64)):(0,r.Q3)("v-if",!0),a.showNavigation?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",{key:1,class:"ufo--site-owner",onClick:t[3]||(t[3]=function(e){return a.goHome()})},[a.user.image.url?((0,r.uX)(),(0,r.CE)("div",H,[(0,r.Lk)("img",{height:"50",src:a.user.image.url},null,8,j)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,o.C4)(["info",n.section.backgroundColor&amp;&amp;"FFFFFF"===n.section.backgroundColor?"dark":""])},[a.user.name?((0,r.uX)(),(0,r.CE)("div",G,(0,o.v_)(a.user.name),1)):(0,r.Q3)("v-if",!0),a.user.title?((0,r.uX)(),(0,r.CE)("div",B,(0,o.v_)(a.user.title),1)):(0,r.Q3)("v-if",!0)],2)]))],2))}],["__scopeId","data-v-82d5c356"]]);var Q=n(39275),J=n(36451);const Z={name:"MainHeader",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,GetSiteNavigation:Y,GetMediaContent:x,ToggleGrid:Q.A},props:["section"],data:function(){return{elements:[{key:"text"},{key:"media"}]}},beforeMount:function(){this.section.flipped&amp;&amp;this.elements.reverse()},methods:{fixText:function(e){return this.section[e].text.replaceAll("\n","&lt;br/&gt;")}},computed:{textAlignment:function(){var e;return"align-text-".concat(null===(e=this.section.title.style)||void 0===e?void 0:e.textAlign)},rowStyle:function(){return{"--rowSize":this.section.style&amp;&amp;this.section.style.sectionHeight?this.section.style.sectionHeight+"px":null}},setHorizontalPosition:function(){var e,t;return 0===(null===(e=this.section.title.style)||void 0===e?void 0:e.left)?"left":100===(null===(t=this.section.title.style)||void 0===t?void 0:t.left)?"right":void 0},setVerticalPosition:function(){var e,t;return 0===(null===(e=this.section.title.style)||void 0===e?void 0:e.top)?"top":100===(null===(t=this.section.title.style)||void 0===t?void 0:t.top)?"bottom":"center"},mediaSize:function(){return this.section.media&amp;&amp;this.section.media.displayMode?"media-".concat(this.section.media.displayMode):null},mediaFrame:function(){var e=this.section.media&amp;&amp;this.section.media.frame?this.section.media.frame.split("--"):null;return this.section.media&amp;&amp;this.section.media.frame?"frame-".concat(e[0]," ").concat("landscape"===e[e.length-1]?"landscape":""):null}}},ee=(0,k.A)(Z,[["render",function(e,t,n,i,u,d){var p=(0,r.g2)("ToggleGrid"),h=(0,r.g2)("SectionBackgroundImage"),f=(0,r.g2)("GetSiteNavigation"),m=(0,r.g2)("AnimationWrapper"),g=(0,r.g2)("GetMediaContent");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--header-main"},[(0,r.bF)(p),(0,r.bF)(h,{section:n.section},null,8,["section"]),(0,r.Lk)("div",a,[(0,r.bF)(f,{section:n.section},null,8,["section"])]),(0,r.Lk)("div",{class:"grid ufo--hero-content-grid",style:(0,o.Tr)(d.rowStyle)},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(u.elements,(function(t){var i,s,a,u;return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["col","col-".concat(t.key),{"has-image":n.section.media&amp;&amp;"text"===t.key},d.setHorizontalPosition,d.setVerticalPosition,d.mediaSize,d.mediaFrame])},["text"===t.key?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["text-container",d.textAlignment,d.mediaSize,d.mediaFrame])},[(0,r.bF)(m,{"animation-style":null===(i=e.$store.getters.animationSettings)||void 0===i?void 0:i.animationStyle,"animation-speed":null===(s=e.$store.getters.animationSettings)||void 0===s?void 0:s.animationSpeed},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",null,[(0,r.Lk)("div",{class:(0,o.C4)(n.section.title.style.textStyle?n.section.title.style.textStyle:"h1"),innerHTML:d.fixText("title")},null,10,l),(0,r.Lk)("div",{class:(0,o.C4)(n.section.subtitle.style.textStyle?n.section.subtitle.style.textStyle:"h2"),innerHTML:d.fixText("subtitle")},null,10,c)])]})),_:1},8,["animation-style","animation-speed"])],2)):(0,r.Q3)("v-if",!0),"media"===t.key&amp;&amp;n.section.media?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["image-container",d.mediaSize,d.mediaFrame])},[(0,r.bF)(m,{"animation-style":null===(a=e.$store.getters.animationSettings)||void 0===a?void 0:a.animationStyle,"animation-speed":null===(u=e.$store.getters.animationSettings)||void 0===u?void 0:u.animationSpeed},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["media-container",n.section.media.displayMode||n.section.media.frame?"":"display-mode--default","display-mode--".concat(n.section.media.displayMode||"default")])},[(0,r.bF)(g,{section:n.section,"default-caption":"Image alt tag","placeholder-image":"v2/gallery_sample/gallery-sample-tall-01.jpg"},null,8,["section"])],2)]})),_:1},8,["animation-style","animation-speed"])],2)):(0,r.Q3)("v-if",!0)],2)})),256))],4)],8,s)}]]);var te=["id"],ne={class:"ufo--column-content"},re={key:0,class:"media-container"};var oe={class:"ufo-mockup--display"},ie={class:"ufo-mockup--screen"},se={class:"ufo-mockup--scroller"},ae={class:"ufo-mockup--frame"},le=["src"];var ce=["src","alt"],ue=["src","alt"];var de=n(76107);const pe={name:"PlaceColumnMediaContent",props:["section","columnMedia","placeholderImage"],mounted:function(){this.section&amp;&amp;"LogoWall"===this.section.type&amp;&amp;!this.$store.state.darkMode&amp;&amp;(this.$store.state.darkMode=(0,de.oW)(this.designSettings.colorStyles.background.color).l&lt;.2)},methods:{imageLoaded:function(e){e&amp;&amp;e.dataset.zoomable&amp;&amp;e.naturalWidth&gt;e.width?this.$store.state.zoom.attach(e):this.$store.state.zoom.detach(e),this.$store.commit("recalculateScrollTriggers")}},computed:{designSettings:function(){return this.$store.getters.isCaseStudy&amp;&amp;!this.$store.getters.usingGlobalColorStyles?this.$store.state.project.designSettings:this.$store.state.portfolio.designSettings},forcedAspectRatio:function(){var e;return!(null===(e=this.section)||void 0===e||!e.mediaAspectRatio)}}},he=(0,k.A)(pe,[["render",function(e,t,n,i,s,a){return n.section&amp;&amp;"LogoWall"===n.section.type&amp;&amp;n.columnMedia.url.startsWith("/example_project_images/logo-")&amp;&amp;e.$store.state.darkMode?((0,r.uX)(),(0,r.CE)("img",{key:0,ref:"img",onLoad:t[0]||(t[0]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),loading:"lazy",src:n.columnMedia.url.replace(".png","-white.png"),"data-zoomable":!0,alt:n.columnMedia.altTag?n.columnMedia.altTag:"Image alt tag"},null,40,ce)):((0,r.uX)(),(0,r.CE)("img",{key:1,ref:"img",onLoad:t[1]||(t[1]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),loading:"lazy",class:(0,o.C4)(a.forcedAspectRatio?"aspect-ratio-".concat(n.section.mediaAspectRatio):null),src:n.columnMedia.croppedImageUrl?n.columnMedia.croppedImageUrl:n.columnMedia.url?n.columnMedia.url:"/example_project_images/"+n.placeholderImage,"data-zoomable":!0,alt:n.columnMedia.altTag?n.columnMedia.altTag:"Image alt tag"},null,42,ue))}]]),fe={name:"ColumnImageHelper",components:{AnimationWrapper:T.A,PlaceColumnMediaContent:he},props:["section","columnMedia","placeholderImage","index","totalColumns"],computed:{animationDelay:function(){return this.index||0===this.index?"SCALE"===this.$store.getters.animationSettings.animationStyle?0:"PAN_LEFT"===this.$store.getters.animationSettings.animationStyle?.1*(this.totalColumns-1-this.index):.1*this.index:0}}},me=(0,k.A)(fe,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("PlaceColumnMediaContent"),c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":a.animationDelay},{animationContent:(0,r.k6)((function(){return[n.columnMedia.frame&amp;&amp;"no-mockup"!==n.columnMedia.frame?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)("mockup--"+n.columnMedia.frame)},[(0,r.Lk)("div",oe,[(0,r.Lk)("div",ie,[(0,r.Lk)("div",se,[(0,r.bF)(l,{section:n.section,"column-media":n.columnMedia,"placeholder-image":n.placeholderImage},null,8,["section","column-media","placeholder-image"])])]),(0,r.Lk)("div",ae,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.columnMedia.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,le)])])],2)):((0,r.uX)(),(0,r.Wv)(l,{key:1,section:n.section,"column-media":n.columnMedia,"placeholder-image":n.placeholderImage},null,8,["section","column-media","placeholder-image"]))]})),_:1},8,["animation-style","animation-speed","delay-animation"])}]]);var ge=n(45861);const ve={name:"ColumnsSection",components:{SectionText:ge.A,ColumnImageHelper:me,ToggleGrid:Q.A},props:["section"],computed:{mockupsOn:function(){return this.section.columns.filter((function(e){return e.media.frame})).length},isCaseStudy:function(){return this.$store.getters.isCaseStudy}}},ye=(0,k.A)(ve,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("ColumnImageHelper"),u=(0,r.g2)("SectionText");return n.section&amp;&amp;n.section.columns?((0,r.uX)(),(0,r.CE)("div",{key:0,id:"section-"+n.section.index,class:"ufo-sec ufo-sec--columns"},[(0,r.bF)(l),(0,r.Lk)("div",{class:(0,o.C4)(["grid","ufo--columns","ufo--columns-"+n.section.columns.length])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.columns,(function(e,t){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:(0,o.C4)(["ufo--column",a.mockupsOn?"mockups-on":""])},[(0,r.Lk)("div",ne,[n.section.showMedia&amp;&amp;n.section.showMedia?((0,r.uX)(),(0,r.CE)("div",re,[(0,r.bF)(c,{index:t,"total-columns":n.section.columns.length,section:n.section,"column-media":e.media,"placeholder-image":"".concat(a.isCaseStudy?"":"portfolio-","empty-columns-0").concat(t+1,".").concat(a.isCaseStudy?"jpg":"png")},null,8,["index","total-columns","section","column-media","placeholder-image"])])):(0,r.Q3)("v-if",!0),(0,r.bF)(u,{"text-index":t,"total-columns":n.section.columns.length,"section-text":e.text},null,8,["text-index","total-columns","section-text"])])],2)})),128))],2)],8,te)):(0,r.Q3)("v-if",!0)}]]);var be=["id"],we={class:"grid"},Se=["innerHTML"];const _e={name:"HeaderSection",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,ToggleGrid:Q.A},props:["section"],methods:{fixText:function(e){return this.section[e].text.replaceAll("\n","&lt;br/&gt;")}}},ke=(0,k.A)(_e,[["render",function(e,t,n,i,s,a){var l,c=(0,r.g2)("ToggleGrid"),u=(0,r.g2)("SectionBackgroundImage"),d=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--header"},[(0,r.bF)(c),(0,r.bF)(u,{section:n.section},null,8,["section"]),(0,r.Lk)("div",we,[(0,r.Lk)("div",{class:(0,o.C4)(["text-container",null===(l=n.section.title.style)||void 0===l?void 0:l.textAlign])},[(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){var e;return[(0,r.Lk)("div",{class:(0,o.C4)(n.section.title.style&amp;&amp;n.section.title.style.textStyle?n.section.title.style.textStyle:"default--h2"),style:(0,o.Tr)({color:n.section.title.style&amp;&amp;!n.section.title.style.textStyle&amp;&amp;n.section.title.style.fontColor?n.section.title.style.fontColor:null,textAlign:null===(e=n.section.title.style)||void 0===e?void 0:e.textAlign}),innerHTML:a.fixText("title")},null,14,Se)]})),_:1},8,["animation-style","animation-speed"])],2)])],8,be)}]]);var Ae=["id"],Te={class:"grid"};var Ee=n(15207);const xe={name:"TextSection",components:{CtaButton:Ee.A,SectionText:ge.A,ToggleGrid:Q.A},props:["section"],computed:{boxAlignment:function(){return this.section.style&amp;&amp;this.section.style.boxAlign?"align-box-"+this.section.style.boxAlign.split("-")[0]:""},textAlign:function(){return this.section.text.style&amp;&amp;this.section.text.style.textAlign?"push-to-"+this.section.text.style.textAlign:""}}},Ce=(0,k.A)(xe,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("SectionText"),u=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--text"},[(0,r.bF)(l),(0,r.Lk)("div",Te,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo-sec--content",a.boxAlignment])},[(0,r.bF)(c,{"section-text":n.section.text},null,8,["section-text"]),(0,r.bF)(u,{section:n.section,"form-submit-button":!1,alignment:a.textAlign},null,8,["section","alignment"])],2)])],8,Ae)}]]);var Oe=["id"],Ie={class:"grid"},Le={key:0,class:"media-container"},Pe=["id"],Ne={class:"grid"},De=["id"],Re={class:"grid"},Me={key:0,class:"media-container"};var Fe={key:0,class:"media-caption"},He=["innerHTML"];const je={name:"GetMediaCaption",components:{AnimationWrapper:T.A},props:["caption"],computed:{captionText:function(){return this.caption.includes('rel="noopener noreferrer nofollow"')?this.caption:this.caption.replace("\n","&lt;br /&gt;").replace("&lt;a href=",'&lt;a rel="noopener noreferrer nofollow" href=')}}},Ge=(0,k.A)(je,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(a,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[n.caption&amp;&amp;n.caption.length&amp;&amp;"&lt;p&gt;&lt;/p&gt;"!==n.caption?((0,r.uX)(),(0,r.CE)("div",Fe,[(0,r.Lk)("div",{class:"text-container",innerHTML:s.captionText},null,8,He)])):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"])}]]),Be={name:"TextAndMediaSections",components:{GetMediaCaption:Ge,GetMediaContent:x,TextSection:Ce,CtaButton:Ee.A,GetSectionText:ge.A,ToggleGrid:Q.A},props:["section","projectTitle"],beforeMount:function(){this.section.flipped&amp;&amp;this.elements.reverse()},data:function(){return{elements:[{key:"media"},{key:"text"}]}},computed:{textAlign:function(){return this.section.text.style&amp;&amp;this.section.text.style.textAlign?"push-to-"+this.section.text.style.textAlign:""},mediaType:function(){return"media-".concat(this.section.media.type.toLowerCase())},mediaDisplayMode:function(){return this.section.media.displayMode?"media-"+this.section.media.displayMode:"media-default"},isEmbedContainer:function(){return"Video"===this.section.media.type||"Prototype"===this.section.media.type||"Media"===this.section.media.type?"embed-container":""},frameClasses:function(){var e=[];return this.section.media&amp;&amp;this.section.media.frame&amp;&amp;(e=[this.section.media.frame.includes("mobile")?"frame-mobile":"",this.section.media.frame.includes("tablet")?"frame-tablet":"",this.section.media.frame.includes("desktop")?"frame-desktop":"",this.section.media.frame.includes("landscape")?"landscape":""]),e},verticalAlignment:function(){return"aligned-".concat(this.section.style&amp;&amp;this.section.style.boxAlign&amp;&amp;this.section.style.boxAlign.split("-")[1]||"middle")}}},$e=(0,k.A)(Be,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("GetMediaContent"),u=(0,r.g2)("GetMediaCaption"),d=(0,r.g2)("GetSectionText"),p=(0,r.g2)("CtaButton"),h=(0,r.g2)("TextSection");return(null!==n.section.showText||null!==n.section.showMedia)&amp;&amp;n.section.showText&amp;&amp;!0===n.section.showText&amp;&amp;n.section.showMedia&amp;&amp;!0===n.section.showMedia?((0,r.uX)(),(0,r.CE)("div",{key:0,id:"section-"+n.section.index,class:(0,o.C4)(["ufo-sec","ufo-sec--textandmedia","flipped-"+n.section.flipped,n.section.media.frame&amp;&amp;"no-mockup"!==n.section.media.frame?"mockup-on":""])},[(0,r.bF)(l),(0,r.Lk)("div",Ie,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.elements,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e.key,class:(0,o.C4)(["col","col-".concat(e.key),a.mediaType,a.mediaDisplayMode,a.frameClasses,a.isEmbedContainer,a.verticalAlignment])},["media"===e.key?((0,r.uX)(),(0,r.CE)("div",Le,[(0,r.bF)(c,{section:n.section,"default-caption":n.projectTitle,"placeholder-image":"empty-image-and-text-image.jpg"},null,8,["section","default-caption"]),(0,r.bF)(u,{caption:n.section.media.caption},null,8,["caption"])])):(0,r.Q3)("v-if",!0),"text"===e.key?((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.bF)(d,{"section-text":n.section.text},null,8,["section-text"]),(0,r.bF)(p,{"form-submit-button":!1,section:n.section,alignment:a.textAlign},null,8,["section","alignment"])],64)):(0,r.Q3)("v-if",!0)],2)})),128))])],10,Oe)):null===n.section.showText&amp;&amp;null===n.section.showMedia||!1!==n.section.showText||!0!==n.section.showMedia?null===n.section.showText&amp;&amp;null===n.section.showMedia||!0!==n.section.showText||!1!==n.section.showMedia?((0,r.uX)(),(0,r.CE)("div",{key:3,id:"section-"+n.section.index,class:(0,o.C4)(["ufo-sec","ufo-sec--textandmedia","flipped-"+n.section.flipped,n.section.media.frame&amp;&amp;"no-mockup"!==n.section.media.frame?"mockup-on":""])},[(0,r.Lk)("div",Re,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.elements,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e.key,class:(0,o.C4)(["col","col-".concat(e.key),a.mediaType,a.mediaDisplayMode,a.frameClasses,a.isEmbedContainer,a.verticalAlignment])},["media"===e.key?((0,r.uX)(),(0,r.CE)("div",Me,[(0,r.bF)(c,{section:n.section,"default-caption":n.projectTitle,"placeholder-image":"empty-image-and-text-image.jpg"},null,8,["section","default-caption"]),(0,r.bF)(u,{caption:n.section.media.caption},null,8,["caption"])])):(0,r.Q3)("v-if",!0),"text"===e.key?((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.bF)(d,{"section-text":n.section.text},null,8,["section-text"]),(0,r.bF)(p,{"form-submit-button":!1,section:n.section,alignment:a.textAlign},null,8,["section","alignment"])],64)):(0,r.Q3)("v-if",!0)],2)})),128))])],10,De)):((0,r.uX)(),(0,r.Wv)(h,{key:2,section:n.section},null,8,["section"])):((0,r.uX)(),(0,r.CE)("div",{key:1,id:"section-"+n.section.index,class:(0,o.C4)(["ufo-sec","ufo-sec--media","image",n.section.media.frame&amp;&amp;"no-mockup"!==n.section.media.frame?"mockup-on":null])},[(0,r.Lk)("div",Ne,[(0,r.Lk)("div",{class:(0,o.C4)(["media-container","display-mode--"+(n.section.media.displayMode?n.section.media.displayMode:"default"),a.verticalAlignment,"Video"===n.section.media.type||"Prototype"===n.section.media.type||"Media"===n.section.media.type?"embed-container":""]),style:(0,o.Tr)({"padding-top":n.section.style&amp;&amp;n.section.style.paddingTop?0:null,paddingBottom:n.section.style&amp;&amp;n.section.style.paddingBottom?0:null})},[(0,r.bF)(c,{section:n.section,"default-caption":n.projectTitle,"placeholder-image":"empty-big-image.jpg"},null,8,["section","default-caption"]),(0,r.bF)(u,{caption:n.section.media.caption},null,8,["caption"])],6)])],10,Pe))}]]);var We=["id"],Ue={class:"grid"},ze={class:"ufo--column-content"},Ve=["innerHTML"],Xe=["innerHTML"];const Ke={name:"Stats",components:{AnimationWrapper:T.A,ToggleGrid:Q.A},props:["section"],methods:{fixText:function(e){return e.replaceAll("\n","&lt;br/&gt;")},getFontSize:function(e,t){return"".concat(e.style&amp;&amp;e.style.fontSize?e.style.fontSize:t,"px")}}},qe=(0,k.A)(Ke,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--stat"},[(0,r.bF)(l),(0,r.Lk)("div",Ue,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--columns","ufo--columns-"+n.section.statItems.length])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.statItems,(function(t,n){return(0,r.uX)(),(0,r.CE)("div",{class:"ufo--column",style:(0,o.Tr)({"--numberFontSize":a.getFontSize(t.data,80),"--textFontSize":a.getFontSize(t.description,30)})},[(0,r.Lk)("div",ze,[(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":n?.1*n:0},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["number",t.data.style&amp;&amp;t.data.style.textStyle?t.data.style.textStyle:"default"]),style:(0,o.Tr)({"font-size":t.data.style&amp;&amp;t.data.style.fontSize?t.data.style.fontSize+"px":null}),innerHTML:a.fixText(t.data.text)},null,14,Ve)]})),_:2},1032,["animation-style","animation-speed","delay-animation"]),(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":n?.1*n:0},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["unit",t.description.style&amp;&amp;t.description.style.textStyle?t.description.style.textStyle:"default"]),style:(0,o.Tr)({"font-size":t.description.style&amp;&amp;t.description.style.fontSize?t.description.style.fontSize+"px":null}),innerHTML:a.fixText(t.description.text)},null,14,Xe)]})),_:2},1032,["animation-style","animation-speed","delay-animation"])])],4)})),256))],2)])],8,We)}]]);var Ye=["id"],Qe={class:"grid"};const Je={name:"MediaSection",components:{GetMediaCaption:Ge,GetMediaContent:x,ToggleGrid:Q.A},props:["section","projectTitle"],methods:{displayMode:function(){return"Image"===this.section.media.type?"display-mode--".concat(this.section.media.displayMode?this.section.media.displayMode:"default"):null},isEmbedContainer:function(){return"Video"===this.section.media.type||"Prototype"===this.section.media.type||"Media"===this.section.media.type?"embed-container":null}}},Ze=(0,k.A)(Je,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("GetMediaContent"),u=(0,r.g2)("GetMediaCaption");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:(0,o.C4)(["ufo-sec","ufo-sec--media","image",n.section.media.frame&amp;&amp;"no-mockup"!==n.section.media.frame?"mockup-on":""])},[(0,r.bF)(l),(0,r.Lk)("div",Qe,[(0,r.Lk)("div",{class:(0,o.C4)(["media-container",a.displayMode(),a.isEmbedContainer()]),style:(0,o.Tr)({"padding-top":n.section.style&amp;&amp;n.section.style.paddingTop?0:null,"padding-bottom":n.section.style&amp;&amp;n.section.style.paddingBottom?0:null})},[(0,r.bF)(c,{section:n.section,"default-caption":n.projectTitle,"placeholder-image":"empty-big-image.jpg"},null,8,["section","default-caption"]),(0,r.bF)(u,{caption:n.section.media.caption},null,8,["caption"])],6)])],10,Ye)}]]);var et=["id"],tt={class:"grid"},nt={ref:"glideGallery",class:"carousel"},rt={class:"carousel__track","data-glide-el":"track"},ot={class:"carousel__slides"},it={key:1,class:"slider-grid-container"},st={ref:"glideGallery",class:"carousel slider"},at={class:"slider__track","data-glide-el":"track"},lt={class:"carousel__slides carousel__slides--slider"},ct={key:0,class:"media-caption"},ut=["innerHTML"],dt={class:"glide__bullets","data-glide-el":"controls[nav]"},pt=["data-glide-dir"],ht=["src"];var ft={class:"mockup-display"},mt=["data-zoomable","src","alt","width","height"],gt={key:0,class:"desktop-body"},vt={class:"ufo-mockup--display"},yt={class:"ufo-mockup--screen"},bt=["data-zoomable","src","alt","width","height"],wt={key:0,class:"ufo-mockup--frame"},St=["src"],_t={class:"mockup-display"},kt={class:"mockup-image"},At=["data-zoomable","src","alt","width","height"],Tt={key:0,class:"desktop-body"},Et={class:"ufo-mockup--display"},xt={class:"ufo-mockup--screen"},Ct={class:"ufo-mockup--scroller"},Ot=["data-zoomable","src","alt","width","height"],It={class:"ufo-mockup--frame"},Lt=["src"],Pt={key:1,class:"gallery-item"},Nt={class:"mockup-display"},Dt={class:"mockup-image"},Rt=["loading","data-zoomable","src","alt","width","height"],Mt={class:"mockup-display"},Ft={class:"mockup-image"},Ht=["data-zoomable","src","alt","width","height"],jt={key:0,class:"desktop-body"},Gt={class:"ufo-mockup--display"},Bt={class:"ufo-mockup--screen"},$t={class:"ufo-mockup--scroller"},Wt=["data-zoomable","src","alt","width","height"],Ut={class:"ufo-mockup--frame"},zt=["src"],Vt={key:1,class:"gallery-item"},Xt={class:"mockup-display"},Kt={class:"mockup-image"},qt=["loading","data-zoomable","src","alt","width","height"];const Yt={name:"GetGalleryMediaContent",components:{AnimationWrapper:T.A},props:["galleryItem","galleryLayout","index","forcedAspectRatio"],methods:{altTagReplace:function(e){return e.replace('"',"&amp;quot;")},imageLoaded:function(e){this.setZoom&amp;&amp;e&amp;&amp;e.dataset.zoomable&amp;&amp;e.naturalWidth&gt;e.width?this.$store.state.zoom.attach(e):this.$store.state.zoom.detach(e),this.$store.commit("recalculateScrollTriggers")}},computed:{setZoom:function(){return"MainHeader"!==this.galleryItem.type&amp;&amp;"tilted"!==this.galleryLayout&amp;&amp;(!this.galleryItem.media.displayMode||this.galleryItem.media.displayMode&amp;&amp;"full"!==this.galleryItem.media.displayMode)&amp;&amp;(!this.galleryItem.media.frame||this.galleryItem.media.frame&amp;&amp;"no-mockup"===this.galleryItem.media.frame)}}},Qt=(0,k.A)(Yt,[["render",function(e,t,n,i,s,a){var l,c,u=(0,r.g2)("AnimationWrapper");return"slider"===n.galleryLayout?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[!n.galleryItem.media.frame||"mobile"!==n.galleryItem.media.frame&amp;&amp;"tablet"!==n.galleryItem.media.frame&amp;&amp;"desktop"!==n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["gallery-item",n.galleryItem.media.frame?"mockup--"+n.galleryItem.media.frame:"","slider-mockup"])},[(0,r.Lk)("div",vt,[(0,r.Lk)("div",yt,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo-mockup--scroller",n.galleryItem.media.frame&amp;&amp;"no-mockup"!==(n.galleryItem.media.frame&amp;&amp;n.galleryItem.media.frame)?"":"slider-image-container"])},[(0,r.Lk)("img",{ref:"img",onLoad:t[1]||(t[1]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,class:(0,o.C4)([!n.galleryItem.media.frame||n.galleryItem.media.frame&amp;&amp;"no-mockup"===n.galleryItem.media.frame?"slider-image":"",!n.galleryItem.media.frame||"no-mockup"===(null===(l=n.galleryItem.media)||void 0===l?void 0:l.frame)&amp;&amp;n.forcedAspectRatio?"aspect-ratio-".concat(n.forcedAspectRatio):""]),loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,42,bt)],2)]),n.galleryItem.media.frame&amp;&amp;"no-mockup"!==n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)("div",wt,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.galleryItem.media.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,St)])):(0,r.Q3)("v-if",!0)])],2)):((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["gallery-item","mockup--"+n.galleryItem.media.frame,"slider-mockup"])},[(0,r.Lk)("div",ft,[(0,r.Lk)("div",{class:(0,o.C4)(["mockup-image","no-mockup"===n.galleryItem.media.frame?"slider-image-container":""])},[(0,r.Lk)("img",{ref:"img",onLoad:t[0]||(t[0]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,class:(0,o.C4)("no-mockup"===n.galleryItem.media.frame?"slider-image":""),loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?a.altTagReplace(n.galleryItem.media.altTag):"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,42,mt)],2)]),n.galleryItem.media.frame.includes("desktop")?((0,r.uX)(),(0,r.CE)("div",gt)):(0,r.Q3)("v-if",!0)],2))],64)):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},["carousel"!==n.galleryLayout?((0,r.uX)(),(0,r.Wv)(u,{key:0,"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":n.index?.1*n.index:0},{animationContent:(0,r.k6)((function(){var i;return[n.galleryItem.media.frame&amp;&amp;"no-mockup"!==n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},["mobile"===n.galleryItem.media.frame||"tablet"===n.galleryItem.media.frame||"desktop"===n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)("gallery-item mockup--"+n.galleryItem.media.frame)},[(0,r.Lk)("div",_t,[(0,r.Lk)("div",kt,[(0,r.Lk)("img",{ref:"img",onLoad:t[2]||(t[2]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,40,At)])]),n.galleryItem.media.frame.includes("desktop")?((0,r.uX)(),(0,r.CE)("div",Tt)):(0,r.Q3)("v-if",!0)],2)):((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)("gallery-item mockup--"+n.galleryItem.media.frame)},[(0,r.Lk)("div",Et,[(0,r.Lk)("div",xt,[(0,r.Lk)("div",Ct,[(0,r.Lk)("img",{ref:"img",onLoad:t[3]||(t[3]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,40,Ot)])]),(0,r.Lk)("div",It,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.galleryItem.media.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,Lt)])])],2))],64)):((0,r.uX)(),(0,r.CE)("div",Pt,[(0,r.Lk)("div",Nt,[(0,r.Lk)("div",Dt,[(0,r.Lk)("img",{ref:"img",onLoad:t[4]||(t[4]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),loading:"tilted"!==n.galleryLayout?"lazy":null,"data-zoomable":a.setZoom,class:(0,o.C4)(!n.galleryItem.media.frame||"no-mockup"===(null===(i=n.galleryItem.media)||void 0===i?void 0:i.frame)&amp;&amp;n.forcedAspectRatio?"aspect-ratio-".concat(n.forcedAspectRatio):""),src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,42,Rt)])])]))]})),_:1},8,["animation-style","animation-speed","delay-animation"])):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[n.galleryItem.media.frame&amp;&amp;"no-mockup"!==n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},["mobile"===n.galleryItem.media.frame||"tablet"===n.galleryItem.media.frame||"desktop"===n.galleryItem.media.frame?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)("gallery-item mockup--"+n.galleryItem.media.frame)},[(0,r.Lk)("div",Mt,[(0,r.Lk)("div",Ft,[(0,r.Lk)("img",{ref:"img",onLoad:t[5]||(t[5]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,40,Ht)])]),n.galleryItem.media.frame.includes("desktop")?((0,r.uX)(),(0,r.CE)("div",jt)):(0,r.Q3)("v-if",!0)],2)):((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)("gallery-item mockup--"+n.galleryItem.media.frame)},[(0,r.Lk)("div",Gt,[(0,r.Lk)("div",Bt,[(0,r.Lk)("div",$t,[(0,r.Lk)("img",{ref:"img",onLoad:t[6]||(t[6]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),"data-zoomable":a.setZoom,loading:"lazy",src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,40,Wt)])]),(0,r.Lk)("div",Ut,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.galleryItem.media.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,zt)])])],2))],64)):((0,r.uX)(),(0,r.CE)("div",Vt,[(0,r.Lk)("div",Xt,[(0,r.Lk)("div",Kt,[(0,r.Lk)("img",{ref:"img",onLoad:t[7]||(t[7]=function(t){return a.imageLoaded?a.imageLoaded(e.$refs.img):null}),loading:"tilted"!==n.galleryLayout?"lazy":null,"data-zoomable":a.setZoom,class:(0,o.C4)(!n.galleryItem.media.frame||"no-mockup"===(null===(c=n.galleryItem.media)||void 0===c?void 0:c.frame)&amp;&amp;n.forcedAspectRatio?"aspect-ratio-".concat(n.forcedAspectRatio):""),src:n.galleryItem.media.croppedImageUrl?n.galleryItem.media.croppedImageUrl:n.galleryItem.media.url,alt:n.galleryItem.media.altTag?n.galleryItem.media.altTag:"Screen design displayed in a mockup",width:n.galleryItem.media.width?n.galleryItem.media.width:null,height:n.galleryItem.media.height?n.galleryItem.media.height:null},null,42,qt)])])]))],64))],64))}]]);var Jt=n(76777);function Zt(e){return Zt="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Zt(e)}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){nn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Zt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Zt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rn={name:"GallerySection",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,GetGalleryMediaContent:Qt,ToggleGrid:Q.A},props:["section"],data:function(){return{glideGallery:null,defaultCarouselConfig:{type:"carousel",focusAt:"center",gap:30},defaultSliderConfig:{type:"slider",slidesToShow:1,slidesToScroll:1,animationDuration:300,focusAt:"center"},activeBullet:0}},mounted:function(){"carousel"!==this.section.layout&amp;&amp;"slider"!==this.section.layout||this.mountGallery()},methods:{mountGallery:function(){if(!(this.section.galleryItems.length&lt;1))if("carousel"===this.section.layout){var e=this.section.galleryItems[0].media.frame&amp;&amp;this.section.galleryItems[0].media.frame.includes("desktop")?1:3;this.initGlideGallery(tn(tn({},this.defaultCarouselConfig),{},{perView:e}))}else"slider"===this.section.layout&amp;&amp;this.initGlideGallery(this.defaultSliderConfig)},mediaCaption:function(e){return e.media.caption.includes('rel="noopener noreferrer nofollow"')?e.media.caption:e.media.caption.replace("\n","&lt;br /&gt;").replace("&lt;a href=",'&lt;a rel="noopener noreferrer nofollow" href=')},initGlideGallery:function(e){var t=this;this.glideGallery=new Jt.A(this.$refs.glideGallery,e).mount(),this.$nextTick((function(){t.glideGallery.update({startAt:0})}))}},computed:{numberOfGhostImages:function(){return 4-this.section.galleryItems.length%4},ghostGalleries:function(){return["before-one","before-two","before-three","after-one","after-two","after-three","top-one","top-two","bottom-one","bottom-two"]},galleryItemsforTilted:function(){var e=this;return this.section.galleryItems.filter((function(t,n){return n&lt;e.numberOfGhostImages}))}}},on=(0,k.A)(rn,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("SectionBackgroundImage"),u=(0,r.g2)("GetGalleryMediaContent"),d=(0,r.g2)("AnimationWrapper");return n.section.galleryItems.length?((0,r.uX)(),(0,r.CE)("div",{key:0,id:"section-"+n.section.index,class:"ufo-sec ufo-sec--gallery"},[(0,r.bF)(l),"slider"!==n.section.layout?((0,r.uX)(),(0,r.Wv)(c,{key:0,section:n.section},null,8,["section"])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",tt,[(0,r.Lk)("div",{class:(0,o.C4)(["image-gallery","grid"!==n.section.layout?n.section.layout:"",n.section.layout+"-gallery","glide--ltr","glide--"+n.section.layout,"glide--swipeable",n.section.galleryItems[0].media.frame&amp;&amp;(n.section.galleryItems[0].media.frame.includes("mobile")||n.section.galleryItems[0].media.frame.includes("tablet"))?"mockups-in-gallery "+n.section.galleryItems[0].media.frame+"-mockup":"",n.section.galleryItems[0].media.frame&amp;&amp;n.section.galleryItems[0].media.frame.includes("desktop")?"desktop-mockup":""])},["carousel"===n.section.layout?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(n.section.layout)},[(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",nt,[(0,r.Lk)("div",rt,[(0,r.Lk)("ul",ot,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.galleryItems,(function(e){return(0,r.uX)(),(0,r.CE)("li",{key:e,class:"carousel__slide"},[(0,r.bF)(u,{"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["gallery-item","gallery-layout","forced-aspect-ratio"])])})),128))])]),t[0]||(t[0]=(0,r.Lk)("div",{class:"carousel__arrows","data-glide-el":"controls"},[(0,r.Lk)("button",{class:"carousel__arrow carousel__arrow--left","data-glide-dir":"&lt;"},"prev"),(0,r.Lk)("button",{class:"carousel__arrow carousel__arrow--right","data-glide-dir":"&gt;"},"next")],-1))],512)]})),_:1},8,["animation-style","animation-speed"])],2)):"slider"===n.section.layout?((0,r.uX)(),(0,r.CE)("div",it,[(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",st,[(0,r.bF)(c,{section:n.section},null,8,["section"]),(0,r.Lk)("div",at,[(0,r.Lk)("ul",lt,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.galleryItems,(function(e){return(0,r.uX)(),(0,r.CE)("li",{key:e,class:"carousel__slide carousel__slide--slider"},[(0,r.bF)(u,{"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["gallery-item","gallery-layout","forced-aspect-ratio"]),e.media.caption&amp;&amp;e.media.caption.length&gt;0?((0,r.uX)(),(0,r.CE)("div",ct,[(0,r.Lk)("div",{class:"text",innerHTML:a.mediaCaption(e)},null,8,ut)])):(0,r.Q3)("v-if",!0)])})),128))])]),t[1]||(t[1]=(0,r.Lk)("div",{class:"carousel__arrows","data-glide-el":"controls"},[(0,r.Lk)("button",{class:"carousel__arrow carousel__arrow--left","data-glide-dir":"&lt;"},"prev"),(0,r.Lk)("button",{class:"carousel__arrow carousel__arrow--right","data-glide-dir":"&gt;"},"next")],-1)),(0,r.Lk)("div",dt,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.galleryItems,(function(e,t){return(0,r.uX)(),(0,r.CE)("button",{key:e,class:"glide__bullet","data-glide-dir":"="+t},[(0,r.Lk)("img",{src:e.media.croppedImageUrl?e.media.croppedImageUrl:e.media.url,alt:"Screen design displayed in a mockup",width:"32",height:"32"},null,8,ht)],8,pt)})),128))])],512)]})),_:1},8,["animation-style","animation-speed"])])):((0,r.uX)(),(0,r.CE)("div",{key:2,class:(0,o.C4)(n.section.layout+"-gallery")},[(0,r.Lk)("div",{class:(0,o.C4)(["grid"!==n.section.layout?n.section.layout:"","grid"===n.section.layout?"gallery-columns-"+n.section.columns:"",!n.section.galleryItems[0].media.frame||"mobile"!==n.section.galleryItems[0].media.frame&amp;&amp;"tablet"!==n.section.galleryItems[0].media.frame?"":"mockups-in-gallery"])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.galleryItems,(function(e,t){return(0,r.uX)(),(0,r.Wv)(u,{index:t,"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["index","gallery-item","gallery-layout","forced-aspect-ratio"])})),256)),"tilted"===n.section.layout&amp;&amp;n.section.galleryItems.length%4!=0?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(a.galleryItemsforTilted,(function(e){return(0,r.uX)(),(0,r.Wv)(u,{"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["gallery-item","gallery-layout","forced-aspect-ratio"])})),256)):(0,r.Q3)("v-if",!0)],2),"tilted"===n.section.layout?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(a.ghostGalleries,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:(0,o.C4)(["gallery-ghost",e,"tilted"])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.galleryItems,(function(e){return(0,r.uX)(),(0,r.Wv)(u,{"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["gallery-item","gallery-layout","forced-aspect-ratio"])})),256)),"tilted"===n.section.layout&amp;&amp;n.section.galleryItems.length%4!=0?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(a.galleryItemsforTilted,(function(e){return(0,r.uX)(),(0,r.Wv)(u,{"gallery-item":e,"gallery-layout":n.section.layout,"forced-aspect-ratio":n.section.mediaAspectRatio},null,8,["gallery-item","gallery-layout","forced-aspect-ratio"])})),256)):(0,r.Q3)("v-if",!0)],2)})),128)):(0,r.Q3)("v-if",!0)],2))],2)])],8,et)):(0,r.Q3)("v-if",!0)}]]);var sn=["id"],an={class:"grid"},ln={class:"media-container"},cn={class:"ufo--contact-form"},un=["value"],dn={key:1,class:"ufo--contact-form"},pn=["value"],hn=["innerHTML"];var fn=n(71083);const mn={name:"ContactForm",components:{AnimationWrapper:T.A,ToggleGrid:Q.A,SectionText:ge.A,GetMediaContent:x,CtaButton:Ee.A},props:["section"],computed:{textAlign:function(){return this.section.text&amp;&amp;this.section.text.style&amp;&amp;this.section.text.style.textAlign?"push-to-"+this.section.text.style.textAlign:""},user:function(){return this.$store.state.view.user}},methods:{sendEmail:function(e){e.preventDefault();var t=e.target,n=t.parentNode;return setTimeout((function(){var e=n.querySelector(".ufo--form-status-message");e.innerHTML="Sending your messageâ€¦",e.classList.add("active"),n.classList.toggle("message-sent")}),250),fn.A.defaults.headers.common["X-CSRF-TOKEN"]=document.querySelector('meta[name="csrf-token"]').getAttribute("content"),fn.A.post("/portfolio/contact",{toEmail:t.toEmail.value,message:"Dear"+this.user.name.replaceAll("\n"," ")+"\n\n"+t.message.value+"\n\n"+t.senderName.value+"\n"+t.senderEmail.value,senderName:t.senderName.value,senderEmail:t.senderEmail.value}).then((function(e){var r=n.querySelector(".ufo--form-status-message");r.innerHTML="Message sent.",setTimeout((function(){r.classList.remove("active"),n.classList.toggle("message-sent")}),2e3),t.reset()})).catch((function(e){var r=n.querySelector(".ufo--form-status-message");r.innerHTML="Something went wrong. Try again.",setTimeout((function(){r.classList.remove("active"),n.classList.toggle("message-sent")}),2e3),t.reset()})),!1}}},gn=(0,k.A)(mn,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("GetMediaContent"),u=(0,r.g2)("SectionText"),d=(0,r.g2)("CtaButton"),p=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--contactform"},[(0,r.bF)(l),(0,r.Lk)("div",an,[n.section.text?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[n.section.showMedia?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["col-media",n.section.flipped?"col-order-2":""])},[(0,r.Lk)("div",ln,[(0,r.bF)(c,{section:n.section,"default-caption":"","placeholder-image":"empty-image-and-text-image.jpg"},null,8,["section"])])],2)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,o.C4)(["col-text",n.section.flipped?"col-order-1":"",n.section.showMedia?"":"full-w"])},[(0,r.Lk)("div",cn,[n.section.showText?((0,r.uX)(),(0,r.Wv)(u,{key:0,"section-text":n.section.text},null,8,["section-text"])):(0,r.Q3)("v-if",!0),(0,r.bF)(p,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("form",{onSubmit:t[0]||(t[0]=function(){return a.sendEmail&amp;&amp;a.sendEmail.apply(a,arguments)}),class:"ufo--form",name:"contact_form_section"},[(0,r.Lk)("input",{type:"hidden",name:"toEmail",value:a.user.contactEmail},null,8,un),t[2]||(t[2]=(0,r.Lk)("label",null,"Email",-1)),t[3]||(t[3]=(0,r.Lk)("input",{class:"s-mail form-handler",name:"senderEmail",type:"text",required:"",placeholder:"Your email"},null,-1)),t[4]||(t[4]=(0,r.Lk)("label",null,"Name",-1)),t[5]||(t[5]=(0,r.Lk)("input",{class:"s-name form-handler",name:"senderName",type:"text",required:"",placeholder:"Your name"},null,-1)),t[6]||(t[6]=(0,r.Lk)("label",null,"Message",-1)),t[7]||(t[7]=(0,r.Lk)("textarea",{name:"message",type:"text",class:"form-handler",required:"",placeholder:"Write your message here..."},null,-1)),(0,r.bF)(d,{"form-submit-button":!0,section:n.section,alignment:a.textAlign},null,8,["section","alignment"])],32)]})),_:1},8,["animation-style","animation-speed"]),t[8]||(t[8]=(0,r.Lk)("div",{class:"ufo--form-status-message"},null,-1))])],2)],64)):((0,r.uX)(),(0,r.CE)("div",dn,[(0,r.bF)(p,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("form",{class:"ufo--form",onSubmit:t[1]||(t[1]=function(){return a.sendEmail&amp;&amp;a.sendEmail.apply(a,arguments)}),name:"contact_form_section"},[(0,r.Lk)("div",{class:(0,o.C4)("title "+n.section.title.style.textStyle)},(0,o.v_)(n.section.title.text),3),(0,r.Lk)("input",{type:"hidden",name:"toEmail",value:a.user.contactEmail},null,8,pn),t[9]||(t[9]=(0,r.Lk)("textarea",{name:"message",type:"text",class:"form-handler",required:"",placeholder:"Write your message here..."},null,-1)),(0,r.Lk)("div",{class:(0,o.C4)("subtitle "+n.section.subtitle.style.textStyle)},(0,o.v_)(n.section.subtitle.text),3),t[10]||(t[10]=(0,r.Lk)("div",{class:"sender"},[(0,r.Lk)("input",{class:"s-name form-handler",name:"senderName",type:"text",required:"",placeholder:"Your name"}),(0,r.Lk)("input",{class:"s-mail form-handler",name:"senderEmail",type:"text",required:"",placeholder:"Your email"})],-1)),(0,r.bF)(d,{section:n.section,"form-submit-button":!0},null,8,["section"]),(0,r.Q3)(" section.label field was killed on 28.06.2021. (only in sections added after this date) "),n.section.label?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["um",n.section.label.style.textStyle]),innerHTML:n.section.label.text},null,10,hn)):(0,r.Q3)("v-if",!0)],32)]})),_:1},8,["animation-style","animation-speed"]),t[11]||(t[11]=(0,r.Lk)("div",{class:"ufo--form-status-message"},null,-1))]))])],8,sn)}]]);var vn=["id"],yn={class:"grid ufo--user-projects"},bn=["onClick"],wn={class:"project-name"},Sn={class:"ufo--project-title-container"},_n={class:"project-title"},kn={class:"ufo--project-title-container"},An={key:0,class:"project-subtitle"};var Tn=n(97827),En=n(28641),xn={class:"empty-state grid"},Cn={class:(0,o.C4)(["container"])},On={class:"text-wrapper"},In={class:"title"},Ln={class:"subtitle"},Pn={class:"centered-button"};const Nn={name:"EmptyProjectGrid",components:{Icon:n(910).A,Cta:Tn.A},computed:{caseStudiesAreDraft:function(){return this.$store.state.view.hasDraftCasestudies},title:function(){return this.caseStudiesAreDraft?"Your case studies are in draft mode":"You havenâ€™t added any case studies yet"},subtitle:function(){return this.caseStudiesAreDraft?"You can publish your case studies from the editor.":"Add case studies to your portfolio from the editor."},portfolioIsDark:function(){return(0,de.oW)(this.colorStyles.background.color).l&lt;.2},colorStyles:function(){return this.isCaseStudy&amp;&amp;!this.usingGlobalColorStyles?this.$store.state.view.project.designSettings.colorStyles:this.$store.state.view.portfolio.designSettings.colorStyles},isCaseStudy:function(){return this.$store.state.project&amp;&amp;this.$store.state.project.type===K.Q8.CASE_STUDY},usingGlobalColorStyles:function(){return this.$store.state.view.project.type===K.Q8.CASE_STUDY&amp;&amp;this.$store.state.view.project.designSettings.globalColorStyles}}},Dn={name:"ProjectGrid",components:{EmptyProjectGrid:(0,k.A)(Nn,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("Icon"),c=(0,r.g2)("Cta");return(0,r.uX)(),(0,r.CE)("div",xn,[(0,r.Lk)("div",{class:(0,o.C4)(["empty-collection",{dark:a.portfolioIsDark}])},[(0,r.Lk)("div",Cn,[(0,r.bF)(l,{"icon-name":a.caseStudiesAreDraft?"hidden-gradient":"add-case-study-gradient"},null,8,["icon-name"]),(0,r.Lk)("div",On,[(0,r.Lk)("h2",In,(0,o.v_)(a.title),1),(0,r.Lk)("p",Ln,(0,o.v_)(a.subtitle),1)]),(0,r.Lk)("div",Pn,[(0,r.bF)(c,{"dark-scheme":a.portfolioIsDark,onClick:t[0]||(t[0]=function(){return e.$router.push("home")})},{default:(0,r.k6)((function(){return t[1]||(t[1]=[(0,r.eW)("Open the editor")])})),_:1},8,["dark-scheme"])])])],2)])}],["__scopeId","data-v-594b4a8d"]]),AnimationWrapper:T.A,ProjectThumbnail:En.A,Cta:Tn.A,ToggleGrid:Q.A},props:["section"],computed:{portfolio:function(){return this.$store.state.view.portfolio},user:function(){return this.$store.state.view.user},caseStudies:function(){return this.$store.state.view.caseStudies},loggedInUserId:function(){return this.$store.state.view.loggedInUserId},filteredHomePageSections:function(){return this.portfolio.sections.filter((function(e){return"ProjectGrid"!==e.type&amp;&amp;e.index&lt;e.index&amp;&amp;!e.deletedAt}))},layout:function(){return this.portfolio.templateSettings.thumbnailLayout?this.portfolio.templateSettings.thumbnailLayout:this.portfolio.templateSettings.virtualThumbnailLayout},isReview:function(){return window.location.pathname.includes("/review/")||window.location.pathname.includes("/myreviews/")}},methods:{navigateToCaseStudy:function(e,t){e.preventDefault();var n=this.portfolio.ownDomainAddress&amp;&amp;this.portfolio.ownDomainAddress===location.host?"/p/".concat(t.shortId):"/p/".concat(this.portfolio.shortId,"/").concat(t.shortId);this.$router.push(n)},projectName:function(e){var t=e.sections[0];return null!==e.name?e.name:t.title.text},projectSubtitle:function(e){var t=e.sections[0];return null!==e.subtitle?e.subtitle:t.subtitle.text}}},Rn=(0,k.A)(Dn,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("AnimationWrapper"),u=(0,r.g2)("ProjectThumbnail"),d=(0,r.g2)("EmptyProjectGrid");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--projectgrid"},[(0,r.bF)(l),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.filteredHomePageSections,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:"grid"},[(0,r.Lk)("div",{class:(0,o.C4)("works_line_"+a.portfolio.templateSettings.theme)},null,2)])})),128)),(0,r.Lk)("div",yn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.caseStudies,(function(t,n){return(0,r.uX)(),(0,r.CE)("a",{onClick:function(e){return a.navigateToCaseStudy(e,t)},class:(0,o.C4)(["project","title-is--"+(a.portfolio.templateSettings.projectTitle.visibility?a.portfolio.templateSettings.projectTitle.visibility:"none"),"title-is--"+(a.portfolio.templateSettings.projectTitle.placement?a.portfolio.templateSettings.projectTitle.placement:"none"),"title-is--"+(a.portfolio.templateSettings.projectTitle.color?a.portfolio.templateSettings.projectTitle.color:"default"),"thumbnail-is--"+(a.portfolio.templateSettings.tileDisplayMode?a.portfolio.templateSettings.tileDisplayMode.split("-")[0]:"default"),"thumbnail-is--"+(a.portfolio.templateSettings.tileDisplayMode?a.portfolio.templateSettings.tileDisplayMode:"default"),"title-align--"+(a.portfolio.templateSettings.projectTitle.alignment.vertical?a.portfolio.templateSettings.projectTitle.alignment.vertical:"none"),"title-justify--"+(a.portfolio.templateSettings.projectTitle.alignment.horizontal?a.portfolio.templateSettings.projectTitle.alignment.horizontal:"none"),"layout-is--"+a.layout])},[(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"disable-animation":"on-thumbnail"===a.portfolio.templateSettings.projectTitle.placement&amp;&amp;"hover"===a.portfolio.templateSettings.projectTitle.visibility},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",wn,[(0,r.Lk)("div",Sn,[(0,r.Lk)("div",_n,(0,o.v_)(a.projectName(t)),1)]),(0,r.Lk)("div",kn,[a.portfolio.templateSettings.projectTitle.hideDescription?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",An,(0,o.v_)(a.projectSubtitle(t)),1))])])]})),_:2},1032,["animation-style","animation-speed","disable-animation"]),(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.bF)(u,{"case-study":t,"is-first":0===n},null,8,["case-study","is-first"])]})),_:2},1032,["animation-style","animation-speed"])],10,bn)})),256))]),a.caseStudies.length&lt;1&amp;&amp;a.loggedInUserId&amp;&amp;a.loggedInUserId===a.user._id&amp;&amp;!a.isReview?((0,r.uX)(),(0,r.Wv)(d,{key:0})):(0,r.Q3)("v-if",!0)],8,vn)}]]);var Mn=["id"],Fn={class:"grid"},Hn=["innerHTML"],jn=["innerHTML"];const Gn={name:"ViewCta",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,CtaButton:Ee.A,ToggleGrid:Q.A},props:["section"],computed:{boxAlignment:function(){return this.section.style&amp;&amp;this.section.style.boxAlign?this.section.style.boxAlign.split("-")[0]:"center"}},methods:{fixText:function(e){return this.section[e].text.replaceAll("\n","&lt;br/&gt;")}}},Bn=(0,k.A)(Gn,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("SectionBackgroundImage"),u=(0,r.g2)("AnimationWrapper"),d=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--cta",style:(0,o.Tr)({"background-color:":n.section.backgroundColor&amp;&amp;8!==n.section.backgroundColor.length?n.section.backgroundColor:null})},[(0,r.bF)(l),(0,r.bF)(c,{section:n.section},null,8,["section"]),(0,r.Lk)("div",Fn,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo-sec--content","align-box-"+a.boxAlignment])},[(0,r.bF)(u,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["text-container",[n.section.style&amp;&amp;n.section.style.boxAlign?"align-"+n.section.style.boxAlign.split("-")[0]:""]])},[(0,r.Lk)("div",{class:(0,o.C4)(["text",n.section.title.style&amp;&amp;n.section.title.style.textStyle?n.section.title.style.textStyle:""]),innerHTML:a.fixText("title")},null,10,Hn),(0,r.Lk)("div",{class:(0,o.C4)(["text",n.section.subtitle.style&amp;&amp;n.section.subtitle.style.textStyle?n.section.subtitle.style.textStyle:""]),innerHTML:a.fixText("subtitle")},null,10,jn)],2)]})),_:1},8,["animation-style","animation-speed"]),(0,r.bF)(d,{section:n.section,"form-submit-button":!1,alignment:"push-to-"+a.boxAlignment},null,8,["section","alignment"])],2)])],12,Mn)}]]);var $n=["id"],Wn={class:"grid"},Un={class:"testimonial"},zn={ref:"slider",class:"ufo--slider"},Vn={class:"ufo--slider-track slider__track","data-glide-el":"track",style:{overflow:"hidden"}},Xn={class:"ufo--slides carousel__slides--slider"},Kn=["innerHTML"],qn=["innerHTML"],Yn={key:0,class:"ufo--slider-bullets glide__bullets","data-glide-el":"controls[nav]"},Qn=["data-glide-dir","onClick"];var Jn={class:"ufo-mockup--display"},Zn={class:"ufo-mockup--screen"},er={class:"ufo-mockup--scroller"},tr={class:"ufo-mockup--frame"},nr=["src"];const rr={name:"GetColumnMediaContent",props:["columnMedia","placeholderImage"],components:{PlaceColumnMediaContent:he},data:function(){return{setZoom:!0}}},or=(0,k.A)(rr,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("PlaceColumnMediaContent");return n.columnMedia.frame&amp;&amp;"no-mockup"!==n.columnMedia.frame?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)("mockup--"+n.columnMedia.frame)},[(0,r.Lk)("div",Jn,[(0,r.Lk)("div",Zn,[(0,r.Lk)("div",er,[(0,r.bF)(l,{"column-media":n.columnMedia,"placeholder-image":n.placeholderImage},null,8,["column-media","placeholder-image"])])]),(0,r.Lk)("div",tr,[(0,r.Lk)("img",{src:"/mockups/mockup--"+n.columnMedia.frame.replace("--no-shadow","").replace("--shadow","")+".svg"},null,8,nr)])])],2)):((0,r.uX)(),(0,r.Wv)(l,{key:1,"column-media":n.columnMedia,"placeholder-image":n.placeholderImage},null,8,["column-media","placeholder-image"]))}]]),ir={name:"TestimonialSection",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,GetColumnMediaContent:or,ToggleGrid:Q.A},props:["section"],data:function(){return{slider:null}},mounted:function(){this.section.testimonial.length&gt;1&amp;&amp;this.mountSlider(0)},unmounted:function(){this.destroySlider()},methods:{getQuote:function(e){return e.replaceAll("\n","&lt;br /&gt;")},mountSlider:function(e){var t=this;if(this.slider)return this.$nextTick((function(){return t.slider.update({startAt:e})}));this.slider=new Jt.A(this.$refs.slider,{slidesToShow:1,slidesToScroll:1,startAt:e,dots:".ufo--slider-bullets",activeNav:"ufo--slider-bullet-active",keyboard:!1,perView:1,animationDuration:300,focusAt:"center",dragThreshold:!1}).mount()},navToSlide:function(e){return this.slider.go("=".concat(e))},destroySlider:function(){this.slider&amp;&amp;(this.slider.destroy(),this.slider=null)}}},sr=(0,k.A)(ir,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("SectionBackgroundImage"),u=(0,r.g2)("GetColumnMediaContent"),d=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--testimonial"},[(0,r.bF)(l),(0,r.bF)(c,{section:n.section},null,8,["section"]),(0,r.Lk)("div",Wn,[(0,r.Lk)("div",Un,[(0,r.Lk)("div",zn,[(0,r.Lk)("div",Vn,[(0,r.Lk)("ul",Xn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.testimonial,(function(t,i){return(0,r.uX)(),(0,r.CE)("li",{class:"ufo--slide",key:"quote-".concat(i)},[(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[n.section.showMedia&amp;&amp;t.media.url?((0,r.uX)(),(0,r.Wv)(u,{key:0,"column-media":t.media,"placeholder-image":""},null,8,["column-media"])):(0,r.Q3)("v-if",!0)]})),_:2},1032,["animation-style","animation-speed"]),(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["quote",t.text.style.textStyle]),innerHTML:a.getQuote(t.text.text)},null,10,Kn)]})),_:2},1032,["animation-style","animation-speed"]),(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["author",t.author.style.textStyle]),innerHTML:a.getQuote(t.author.text)},null,10,qn)]})),_:2},1032,["animation-style","animation-speed"])])})),128))])]),(0,r.bF)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[n.section.testimonial.length&gt;1?((0,r.uX)(),(0,r.CE)("div",Yn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.testimonial,(function(e,t){return(0,r.uX)(),(0,r.CE)("button",{key:t,class:"ufo--slider-bullet","data-glide-dir":"=".concat(t),onClick:function(e){return a.navToSlide(t)}},null,8,Qn)})),128))])):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"])],512)])])],8,$n)}]]);var ar=["id"],lr={class:"grid"},cr={class:"ufo--column-content"},ur={class:"media-container"};const dr={name:"LogoWall",components:{ColumnImageHelper:me,ToggleGrid:Q.A},props:["section"],computed:{designSettings:function(){return this.$store.getters.isCaseStudy&amp;&amp;!this.$store.getters.usingGlobalColorStyles?this.$store.state.project.designSettings:this.$store.state.portfolio.designSettings},pageBgColor:function(){return this.designSettings.colorStyles.background.color},isUnified:function(){return this.section.logoStyle&amp;&amp;this.section.logoStyle.unified?"#ffffff"===this.pageBgColor.toLowerCase()?"unified":this.$store.state.darkMode?"unified unified--dark":"unified unified--light":null},unifiedColor:function(){return this.section.logoStyle&amp;&amp;"neutral"===this.section.logoStyle.filterColor?"neutral":"accent"},isCaseStudy:function(){return this.$store.getters.isCaseStudy}}},pr=(0,k.A)(dr,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("ColumnImageHelper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--logowall"},[(0,r.bF)(l),(0,r.Lk)("div",lr,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--columns","ufo--columns-"+n.section.logos.length])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.logos,(function(e,t){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:"ufo--column"},[(0,r.Lk)("div",cr,[(0,r.Lk)("div",{class:(0,o.C4)(["logo-box",a.isUnified,a.unifiedColor]),style:(0,o.Tr)({"--density":n.section.logoStyle&amp;&amp;n.section.logoStyle.density?n.section.logoStyle.density:null})},[(0,r.Lk)("div",ur,[(0,r.bF)(c,{index:t,section:n.section,columnMedia:e,"placeholder-image":"".concat(a.isCaseStudy?"":"portfolio-","empty-columns-0").concat(t+1,".").concat(a.isCaseStudy?"jpg":"png")},null,8,["index","section","columnMedia","placeholder-image"])])],6)])])})),128))],2)])],8,ar)}]]);var hr=["id"],fr=["data-start","data-end"],mr={class:"grid"},gr={class:"navigation-mobile-display"},vr={class:"nav-step-container"},yr=["data-href","href","onClick"],br={class:"step-number"},wr={class:"step-name"};const Sr={name:"NavigationSection",components:{AnimationWrapper:T.A,ToggleGrid:Q.A},props:["section"],data:function(){return{stuck:!1,hideStuckVersion:!1,showMobileProcessSteps:!1}},created:function(){window.addEventListener("scroll",this.handleScroll)},unmounted:function(){this.$store.state.view.stickedHeader=!1,window.removeEventListener("scroll",this.handleScroll)},methods:{scrollToItem:function(e,t){e.preventDefault(),this.stuck&amp;&amp;(this.showMobileProcessSteps=!1);for(var n=document.querySelector(t),r=this.stuck?108:this.$refs.processBar.offsetHeight+108,o=n,i=0;o&amp;&amp;o!==document.body;)i+=o.offsetTop,o=o.offsetParent;var s=window.pageYOffset||document.body.scrollTop,a=Math.abs(s-i);if(a)var l=parseInt(18),c=a/l,u=i&gt;s?1:-1,d=setInterval((function(){if(s=window.pageYOffset||document.body.scrollTop,(a=Math.abs(s-i+r))&lt;c)return scrollBy(0,a*u),void clearInterval(d);scrollBy(0,c*u),window.pageYOffset+window.innerHeight===document.body.scrollHeight&amp;&amp;clearInterval(d)}),300/l)},handleScroll:function(){var e=this.$refs.processBar,t=(this.$refs.processSteps.querySelectorAll(".nav-step"),"section-".concat(e.getAttribute("data-end"))),n=document.getElementById(t),r=e.parentNode.getBoundingClientRect().top,o=n?n.getBoundingClientRect().top+n.getBoundingClientRect().height-70:0;if(r&gt;=0)this.stuck=!1,this.$store.state.view.stickedHeader=!1;else if(o&lt;=0)this.hideStuckVersion=!0,this.showMobileProcessSteps=!1;else if(r&lt;=0){this.hideStuckVersion=!1,this.stuck=!0,this.$store.state.view.stickedHeader=!0;for(var i=0;i&lt;this.$refs.processSteps.querySelectorAll(".nav-step").length;i++){var s=this.$refs.processSteps.querySelectorAll(".nav-step")[i],a=document.getElementById(s.querySelector(".step-link").getAttribute("href").split("#")[1]);(a?a.getBoundingClientRect().y:window.innerHeight+1)&lt;=70?s.classList.add("checked"):s.classList.remove("checked")}this.$refs.processBar.querySelector(".navigation-step-display").innerHTML=Array.from(this.$refs.processBar.querySelectorAll(".nav-step.checked")).pop().innerHTML}},toggleProcessSteps:function(){this.showMobileProcessSteps=!this.showMobileProcessSteps}},computed:{project:function(){return this.$store.state.view.project},colors:function(){return{"--checkedStepColor":this.project.designSettings.colorStyles.navigationHover.color}},setStartSection:function(){if(this.section.navigationItems)return this.section.navigationItems.find((function(e){return e.sectionIndex}))?this.section.navigationItems.find((function(e){return e.sectionIndex})).sectionIndex:1},setEndSection:function(){if(this.section.navigationItems){var e=JSON.parse(JSON.stringify(this.section.navigationItems)).reverse();return e.find((function(e){return e.sectionIndex}))?e.find((function(e){return e.sectionIndex})).sectionIndex:null}},portfolioIsDark:function(){return(0,de.oW)(this.colorStyles.background.color).l&lt;.2},colorStyles:function(){return this.isCaseStudy&amp;&amp;!this.usingGlobalColorStyles?this.$store.state.view.project.designSettings.colorStyles:this.$store.state.view.portfolio.designSettings.colorStyles},isCaseStudy:function(){return this.$store.state.project&amp;&amp;this.$store.state.project.type===K.Q8.CASE_STUDY},usingGlobalColorStyles:function(){return this.$store.state.view.project.type===K.Q8.CASE_STUDY&amp;&amp;this.$store.state.view.project.designSettings.globalColorStyles}}},_r=(0,k.A)(Sr,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--navigation",style:(0,o.Tr)([a.colors])},[(0,r.bF)(l),(0,r.Lk)("div",{ref:"processBar",class:(0,o.C4)(["sticky-header",{sticked:s.stuck},{"sticked-hidden":s.hideStuckVersion},{"show-dd":s.showMobileProcessSteps},{dark:a.portfolioIsDark}]),id:"sticky-header","data-start":a.setStartSection,"data-end":a.setEndSection},[(0,r.Lk)("div",mr,[(0,r.Lk)("div",gr,[t[2]||(t[2]=(0,r.Lk)("div",{class:"navigation-step-display nav-step checked"},null,-1)),(0,r.Lk)("div",{class:"navigation-dropdown-toggle",onClick:t[0]||(t[0]=function(e){return a.toggleProcessSteps()})},t[1]||(t[1]=[(0,r.Lk)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("path",{d:"M8.60958 0.687671C8.78209 0.47204 9.09674 0.437079 9.31237 0.609584C9.528 0.782089 9.56296 1.09674 9.39045 1.31237L5.39045 5.31237C5.19029 5.56257 4.80975 5.56257 4.60958 5.31237L0.609584 1.31237C0.437079 1.09674 0.47204 0.782089 0.687671 0.609584C0.903302 0.437079 1.21795 0.47204 1.39045 0.687671L5.00002 4.19963L8.60958 0.687671Z",fill:"var(--section-h2-color, #ffffff)"})],-1)]))]),(0,r.Lk)("div",{ref:"processSteps",class:(0,o.C4)(["navigation-steps",n.section.navigationItems.length&gt;4?"long":""])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.section.navigationItems,(function(t,i){return(0,r.uX)(),(0,r.Wv)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":i?.1*i:0},{animationContent:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.CE)("div",{class:"nav-step",key:"step-".concat(t.sectionIndex)},[(0,r.Lk)("div",vr,[(0,r.Lk)("a",{"data-href":t.sectionIndex?"#section-"+t.sectionIndex:"#section-"+n.section.index,href:t.sectionIndex?"#section-"+t.sectionIndex:"#section-"+n.section.index,onClick:function(e){return a.scrollToItem(e,t.sectionIndex?"#section-"+t.sectionIndex:"#section-"+n.section.index)},class:"step-link"},[(0,r.Lk)("div",br,(0,o.v_)(i+1),1),(0,r.Lk)("div",wr,(0,o.v_)(t.name),1)],8,yr)])]))]})),_:2},1032,["animation-style","animation-speed","delay-animation"])})),256))],2)])],10,fr)],12,hr)}]]);var kr=["id"],Ar={class:"grid"};const Tr={name:"DividerLine",components:{SectionBackgroundImage:J.A,AnimationWrapper:T.A,ToggleGrid:Q.A},props:["section"],methods:{fixText:function(e){return this.section[e].text.replaceAll("\n","&lt;br/&gt;")}},computed:{portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},dividerStyle:function(){var e;return null!==(e=this.section.settings)&amp;&amp;void 0!==e?e:this.portfolio.templateSettings.dividerLineSettings},bgColor:function(){if(this.section.backgroundColor){var e=this.section.backgroundColor?this.section.backgroundColor.startsWith("#")?this.section.backgroundColor:"#".concat(this.section.backgroundColor):null;return e?{"background-color":e}:null}return null}}},Er=(0,k.A)(Tr,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleGrid"),c=(0,r.g2)("SectionBackgroundImage"),u=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)("div",{id:"section-"+n.section.index,class:"ufo-sec ufo-sec--dividerline",style:(0,o.Tr)([a.bgColor])},[(0,r.bF)(l),(0,r.Lk)("div",Ar,[(0,r.bF)(c,{section:n.section},null,8,["section"]),(0,r.bF)(u,{"animation-style":e.$store.getters.animationSettings&amp;&amp;"NONE"!==e.$store.getters.animationSettings.animationStyle?"FADE_IN":null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["divider-line",a.dividerStyle.weight,a.dividerStyle.text_position,a.dividerStyle.text_alignment])},[t[0]||(t[0]=(0,r.Lk)("div",{class:"line preview"},null,-1)),"no_text"!==a.dividerStyle.text_position?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"text preview",style:(0,o.Tr)([a.bgColor])},[(0,r.Lk)("div",{class:(0,o.C4)(["text-container",n.section.title.style&amp;&amp;n.section.title.style.textStyle?n.section.title.style.textStyle:"default--h2"]),style:(0,o.Tr)({color:n.section.title.style&amp;&amp;!n.section.title.style.textStyle&amp;&amp;n.section.title.style.fontColor?n.section.title.style.fontColor:null})},(0,o.v_)(a.fixText("title")),7)],4)):(0,r.Q3)("v-if",!0)],2)]})),_:1},8,["animation-style","animation-speed"])])],12,kr)}]]);var xr=n(60314),Cr=n(57175);n(88623);const Or={name:"SectionLoader",components:{FabWrapper:Cr.A,PortfolioFooter:xr.A},props:["sections","defaultImageAlt"],data:function(){return{hover:null}},methods:{getSection:function(e){return[{type:"MainHeader",component:ee},{type:"Header",component:ke},{type:"Text",component:Ce},{type:"TextAndMedia",component:$e},{type:"Stat",component:qe},{type:"Media",component:Ze},{type:"Gallery",component:on},{type:"Columns",component:ye},{type:"ContactForm",component:gn},{type:"ProjectGrid",component:Rn},{type:"Cta",component:Bn},{type:"Testimonial",component:sr},{type:"LogoWall",component:pr},{type:"Navigation",component:_r},{type:"DividerLine",component:Er}].find((function(t){return t.type===e.type})).component},getSpacing:function(e){if(this.project.settings&amp;&amp;this.project.settings.globalSpacingEnabled)return this.project.settings.globalSpacing?{"--section-padding-top":this.project.settings.globalSpacing+"px","--section-padding-bottom":this.project.settings.globalSpacing+"px"}:{"--section-padding-top":"0px","--section-padding-bottom":"0px"};var t={};return e.style&amp;&amp;(null!==e.style.paddingTop&amp;&amp;(t["--section-padding-top"]=e.style.paddingTop+"px"),null!==e.style.paddingBottom&amp;&amp;(t["--section-padding-bottom"]=e.style.paddingBottom+"px")),t}},computed:{project:function(){return this.$store.state.view.project},portfolio:function(){return this.$store.state.view.portfolio},isReviewModeActive:function(){return this.$reviewStore.isReviewMode},footerDisabledInThemes:function(){return["theme_four","profile_theme_four","theme_nine","profile_theme_nine","theme_default","profile_theme_default"]},footerIndex:function(){return this.sections.length+1},portfolioTemplate:function(){return this.portfolio.templateSettings.theme.replace("_old","")},isFooterEnabled:function(){var e="caseStudy"===this.project.type&amp;&amp;this.portfolio.settings.showFooterOnProjects&amp;&amp;this.portfolio.portfolioFooter,t="caseStudy"!==this.project.type&amp;&amp;this.portfolio.settings.showFooterOnPortfolio&amp;&amp;!this.footerDisabledInThemes.includes(this.portfolioTemplate)&amp;&amp;this.portfolio.portfolioFooter;return e||t}}},Ir=(0,k.A)(Or,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("FabWrapper"),u=(0,r.g2)("PortfolioFooter");return(0,r.uX)(),(0,r.CE)(r.FK,null,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.sections,(function(s,u){return(0,r.uX)(),(0,r.CE)("div",{class:"section-container",key:s._id,onMouseenter:function(e){return a.hover=u},onMouseleave:t[0]||(t[0]=function(e){return a.hover=null})},[l.isReviewModeActive&amp;&amp;e.$reviewStore.review?((0,r.uX)(),(0,r.Wv)(c,{key:0,invertedIndex:n.sections.length-u+2,hovering:a.hover===u,section:s},null,8,["invertedIndex","hovering","section"])):(0,r.Q3)("v-if",!0),((0,r.uX)(),(0,r.Wv)((0,r.$y)(l.getSection(s)),{section:s,style:(0,o.Tr)([l.getSpacing(s)])},null,8,["section","style"]))],40,i)})),128)),(0,r.Q3)(" load footer at the end of the page after the sections "),l.isFooterEnabled?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"section-container",onMouseenter:t[1]||(t[1]=function(e){return a.hover=l.footerIndex}),onMouseleave:t[2]||(t[2]=function(e){return a.hover=null})},[l.isReviewModeActive&amp;&amp;e.$reviewStore.review?((0,r.uX)(),(0,r.Wv)(c,{key:0,invertedIndex:2,hovering:a.hover===l.footerIndex,section:{_id:"footer"}},null,8,["hovering"])):(0,r.Q3)("v-if",!0),(0,r.bF)(u)],32)):(0,r.Q3)("v-if",!0)],64)}],["__scopeId","data-v-38615ac5"]])},15207:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;l});var r=n(20641),o=n(90033),i=["href","target"],s=["type"];const a={name:"CtaButton",components:{AnimationWrapper:n(88460).A},props:{section:{required:!0},formSubmitButton:{type:Boolean,required:!0,default:!1},alignment:{type:String,default:""}},methods:{handleNavigation:function(){this.section.cta.url&amp;&amp;!this.section.cta.url.includes("/p/")?this.ctaIntNavigation(this.section.cta.url):this.navigateToProject(this.section.cta.url)},ctaIntNavigation:function(e){var t;this.portfolio.ownDomainAddress?window.location.href=e?window.location.protocol+"//"+this.portfolio.ownDomainAddress+"/"+e:window.location.protocol+"//"+this.portfolio.ownDomainAddress:(t=e?e.slice(1,e.length)===this.portfolio.shortId?window.location.origin+"/"+this.portfolio.shortId:window.location.origin+"/"+this.portfolio.shortId+e:window.location.origin+"/"+this.portfolio.shortId,window.location.href=t)},navigateToProject:function(e){window.location.href=location.origin+e},externalLink:function(){return!this.formSubmitButton&amp;&amp;this.section.cta.url&amp;&amp;(this.section.cta.url.includes("http://")||this.section.cta.url.includes("https://")||this.section.cta.url.includes("mailto:"))},urlIsOwnDomain:function(e){return this.portfolio.ownDomainAddress&amp;&amp;this.portfolio.ownDomainAddress===e.replace(/^https?\:\/\//i,"")}},computed:{project:function(){return this.$store.state.view.project},portfolio:function(){return this.$store.state.view.portfolio},ctaStyle:function(){return this.$store.getters.isCaseStudy?this.$store.state.project.settings.ctaStyle:this.$store.state.portfolio.templateSettings.ctaStyle}}};const l=(0,n(66262).A)(a,[["render",function(e,t,n,a,l,c){var u=this,d=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(d,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"is-final-section":!0},{animationContent:(0,r.k6)((function(){return[n.section.cta&amp;&amp;n.section.cta.show?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--cta-btn-wr",n.alignment])},[c.externalLink()?((0,r.uX)(),(0,r.CE)("a",{key:0,href:n.section.cta.url,target:[c.urlIsOwnDomain(u.section.cta.url)?"_self":"_blank"],rel:"nofollow noopener",class:(0,o.C4)(["btn","btn--cta",c.ctaStyle.fillStyle,c.ctaStyle.shape])},(0,o.v_)(n.section.cta.title),11,i)):((0,r.uX)(),(0,r.CE)("button",{key:1,type:n.formSubmitButton?"submit":"",class:(0,o.C4)(["btn","btn--cta",c.ctaStyle.fillStyle,c.ctaStyle.shape]),onClick:t[0]||(t[0]=function(e){return n.section.cta.url?c.handleNavigation():null})},(0,o.v_)(n.section.cta.title),11,s))],2)):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"])}]])},45861:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i=["innerHTML"];const s={name:"SectionText",components:{AnimationWrapper:n(88460).A},props:["sectionText","textIndex","totalColumns"],computed:{text:function(){return this.sectionText.text.includes('rel="noopener noreferrer nofollow"')?this.sectionText.text:this.sectionText.text.replace("&lt;a href=",'&lt;a rel="noopener noreferrer nofollow" href=')},animationDelay:function(){return this.textIndex||0===this.textIndex?"SCALE"===this.$store.getters.animationSettings.animationStyle?0:"PAN_LEFT"===this.$store.getters.animationSettings.animationStyle?.1*(this.totalColumns-1-this.textIndex):.1*this.textIndex:0}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.Wv)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":l.animationDelay},{animationContent:(0,r.k6)((function(){var e;return[(0,r.Lk)("div",{class:(0,o.C4)(["text-container","align-text-".concat((null===(e=n.sectionText.style)||void 0===e?void 0:e.textAlign)||"left")]),innerHTML:n.sectionText.text},null,10,i)]})),_:1},8,["animation-style","animation-speed","delay-animation"])}]])},60710:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;He});var r=n(20641),o=n(90033);var i={class:"ufo--page-hero-columns"},s=["innerHTML"];var a=n(2474),l=n(91101),c=n(89949),u=n(53625),d=n(86119),p=n(39275),h=n(74256),f=n(88460);const m={name:"ThemeX",components:{TemplateHeroBackground:n(9235).A,AnimationWrapper:f.A,ToggleGrid:p.A,HamburgerToggle:d.A,GetHeroPortfolioImage:u.A,GetHeroSocialLinks:c.A,GetHeroNavigation:l.A,GetHeroPortfolioLogo:a.A},data:function(){return{hover:null,elements:[{key:"media"},{key:"text"}]}},beforeMount:function(){this.templateSettings.showProfilePicture||this.elements.splice(0,1),this.portfolio.templateSettings.hero.flipped&amp;&amp;this.elements.reverse()},computed:{portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},templateSettings:function(){return this.portfolio.templateSettings},displayHero:function(){return window.location.pathname.includes("/templates")?!(window.location.pathname.includes("/about")||window.location.pathname.includes("/contact"))||"theme_seventeen"===this.templateSettings.theme:!window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/templates")||"theme_seventeen"===this.templateSettings.theme},heroAlignment:function(){var e=[];return this.templateSettings.hero&amp;&amp;(this.portfolio.templateSettings.hero.flipped&amp;&amp;e.push("flipped"),this.portfolio.templateSettings.hero.alignment&amp;&amp;(this.portfolio.templateSettings.hero.alignment.vertical&amp;&amp;e.push(this.portfolio.templateSettings.hero.alignment.vertical),this.portfolio.templateSettings.hero.alignment.horizontal&amp;&amp;e.push(this.portfolio.templateSettings.hero.alignment.horizontal))),e},textBoxPosition:function(){return this.portfolio.templateSettings.hero.textBoxPosition?"text-is-".concat(this.portfolio.templateSettings.hero.textBoxPosition):null},textColumnSpan:function(){return{"--text-column-span":this.portfolio.templateSettings.hero.textColumnSpan}},textIsOnFullWidth:function(){return 12===this.$store.state.portfolio.templateSettings.hero.textColumnSpan&amp;&amp;!this.$store.state.portfolio.templateSettings.showProfilePicture},verticalAlignment:function(){var e;return(null===(e=this.portfolio.templateSettings)||void 0===e||null===(e=e.hero)||void 0===e||null===(e=e.alignment)||void 0===e?void 0:e.vertical)||"middle"},horizontalAlignment:function(){var e;return null===(e=this.portfolio.templateSettings.hero)||void 0===e||null===(e=e.alignment)||void 0===e?void 0:e.horizontal}},methods:{navigationIsAbove:function(){return this.portfolio.templateSettings.navigation.type===h.m3.ABOVE},navigationIsBelow:function(){return this.portfolio.templateSettings.navigation.type===h.m3.BELOW},navigationIsInlineUnderText:function(){return this.portfolio.templateSettings.navigation.type===h.m3.INLINE_BELOW_TEXT},socialLinksAreInline:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_BELOW_TEXT},socialLinksAreInHero:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_STICK_TO_BOTTOM||this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.OFF_GRID}}};var g=n(66262);const v=(0,g.A)(m,[["render",function(e,t,n,a,l,c){var u,d,p=(0,r.g2)("ToggleGrid"),h=(0,r.g2)("GetHeroNavigation"),f=(0,r.g2)("TemplateHeroBackground"),m=(0,r.g2)("GetHeroPortfolioImage"),g=(0,r.g2)("GetHeroPortfolioLogo"),v=(0,r.g2)("AnimationWrapper"),y=(0,r.g2)("GetHeroSocialLinks");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["grid","ufo--page-hero",c.templateSettings.navigation&amp;&amp;!0===c.templateSettings.navigation.fill?"filled":"transparent",c.portfolio.image.displayMode?c.portfolio.image.displayMode:"theme-default"])},[(0,r.bF)(p),c.navigationIsAbove()?((0,r.uX)(),(0,r.Wv)(h,{key:0,"show-home-button":!0})):(0,r.Q3)("v-if",!0),(0,r.bF)(f,{section:c.templateSettings.hero},null,8,["section"]),c.displayHero?((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--page-hero-content",!c.portfolio.templateSettings.hero||c.portfolio.templateSettings.hero&amp;&amp;!c.portfolio.templateSettings.hero.height?"legacy":"",c.templateSettings.showProfilePicture?"has-picture":"",c.textBoxPosition]),style:(0,o.Tr)([{height:null!==(u=c.templateSettings.hero)&amp;&amp;void 0!==u&amp;&amp;u.height?c.templateSettings.hero.height+"px":null},{"--rowSize":null!==(d=c.templateSettings.hero)&amp;&amp;void 0!==d&amp;&amp;d.height?c.templateSettings.hero.height+"px":null},c.textColumnSpan])},[(0,r.Lk)("div",i,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(l.elements,(function(t){var n,i;return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["col","col-".concat(t.key),c.verticalAlignment,c.horizontalAlignment])},["media"===t.key&amp;&amp;"theme_three"!==c.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(m,{key:0})):(0,r.Q3)("v-if",!0),"text"===t.key?((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,o.C4)(["ufo--page-hero-bio","view",!c.portfolio.templateSettings.hero||c.portfolio.templateSettings.hero&amp;&amp;!c.portfolio.templateSettings.hero.height?"fix-h":"",{"full-w":c.textIsOnFullWidth},c.heroAlignment])},[(0,r.bF)(v,{"animation-style":null===(n=e.$store.getters.animationSettings)||void 0===n?void 0:n.animationStyle,"animation-speed":null===(i=e.$store.getters.animationSettings)||void 0===i?void 0:i.animationSpeed},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--page-hero-text",c.portfolio.templateSettings.hero&amp;&amp;c.portfolio.templateSettings.hero.textAlign?"align-text-"+c.portfolio.templateSettings.hero.textAlign:""])},["theme_seventeen"===c.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(g,{key:0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:"ufo--text-area",innerHTML:c.portfolio.description},null,8,s)],2)]})),_:1},8,["animation-style","animation-speed"]),(0,r.Q3)(" Portfolio navigation on theme: one, two "),c.navigationIsInlineUnderText()?((0,r.uX)(),(0,r.Wv)(h,{key:0,"show-home-button":!1})):(0,r.Q3)("v-if",!0),(0,r.Q3)(" Portfolio social links on theme: seven "),c.socialLinksAreInline()?((0,r.uX)(),(0,r.Wv)(y,{key:1})):(0,r.Q3)("v-if",!0)],2)):(0,r.Q3)("v-if",!0)],2)})),256))]),c.socialLinksAreInHero()?((0,r.uX)(),(0,r.Wv)(y,{key:0})):(0,r.Q3)("v-if",!0)],6),(0,r.Q3)(" Bottom nav bar "),c.navigationIsBelow()?((0,r.uX)(),(0,r.Wv)(h,{key:0,"show-home-button":!0})):(0,r.Q3)("v-if",!0)],64)):(0,r.Q3)("v-if",!0)],2)}]]);var y={class:"profile-short-cv"},b={class:"profile-links"},w=["data-text"],S=["href"],_=["href"];var k=["innerHTML"],A=["innerHTML"];var T=["href"],E={key:0};const x={name:"UserSocialLinks",components:{AnimationWrapper:f.A},methods:{getCleanType:function(e){return"x-twitter"===e.toLowerCase()?"x":this.portfolio.templateSettings.navigation.navigationItems.button.upperCase?e.toUpperCase():e},alignment:function(){return this.portfolio.templateSettings.hero&amp;&amp;this.portfolio.templateSettings.hero.textAlign?"align-".concat(this.portfolio.templateSettings.hero.textAlign):null}},computed:{user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.portfolio.templateSettings},socialLinks:function(){return this.user.socialLinks?this.user.socialLinks:this.portfolio.socialLinks?this.portfolio.socialLinks:null},filteredSocialLinks:function(){return this.socialLinks.filter((function(e){return""!==e.url}))},socialLinkStyle:function(){return this.portfolio.templateSettings.navigation.navigationItems.socialLink.style},linkIsTextType:function(){return this.portfolio.templateSettings.navigation.navigationItems.socialLink.type===h.tD.TEXT},socialLinksLocation:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation}}},C=(0,g.A)(x,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("AnimationWrapper");return a.socialLinks?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["social-links",a.alignment(),a.socialLinksLocation])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.filteredSocialLinks,(function(t,n){return(0,r.uX)(),(0,r.Wv)(l,{key:t,"animation-style":e.$store.getters.animationSettings&amp;&amp;"NONE"!==e.$store.getters.animationSettings.animationStyle?"FADE_IN":null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":.6+.1*n},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("a",{href:t.url,target:"_blank",rel:"nofollow noopener",class:(0,o.C4)([a.socialLinkStyle,a.linkIsTextType?"text":"icon",a.getCleanType(t.type).toLowerCase()])},[a.linkIsTextType?((0,r.uX)(),(0,r.CE)("span",E,(0,o.v_)(a.getCleanType(t.type)),1)):((0,r.uX)(),(0,r.CE)("i",{key:1,class:(0,o.C4)(["fa","fa-"+t.type.toLowerCase()])},null,2))],10,T)]})),_:2},1032,["animation-style","animation-speed","delay-animation"])})),128))],2)):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-6978b105"]]),O={name:"UserPortfolioDescription",components:{UserSocialLinks:C,AnimationWrapper:f.A},computed:{portfolio:function(){return this.$store.state.view.portfolio}},methods:{refactorString:function(e){return e.replace("\n","&lt;br /&gt;").replace("&lt;a href",'&lt;a rel="nofollow" href')},checkString:function(e){return e.includes('rel="noopener noreferrer nofollow')},scrolledDown:function(){var e=document.querySelector(".ufo--page-hero-text");e.classList.toggle("scrollable",e.scrollTop!==e.scrollHeight-e.offsetHeight)},socialLinksAreInHero:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_ABOVE_TEXT||this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_BELOW_TEXT},textAlignment:function(){return this.portfolio.templateSettings.hero&amp;&amp;this.portfolio.templateSettings.hero.textAlign?"align-text-".concat(this.portfolio.templateSettings.hero.textAlign):null}}},I=(0,g.A)(O,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("UserSocialLinks"),c=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Q3)(" TODO: :onscroll= \"portfolio.templateSettings.theme === 'profile_theme_nine' ? scrolledDown() : null\" "),(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[a.portfolio.description?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--page-hero-text",a.textAlignment()]),onScroll:t[0]||(t[0]=function(e){return"profile_theme_nine"===a.portfolio.templateSettings.theme?a.scrolledDown():null})},[a.checkString(a.portfolio.description)?((0,r.uX)(),(0,r.CE)("span",{key:0,innerHTML:a.portfolio.description},null,8,k)):((0,r.uX)(),(0,r.CE)("span",{key:1,innerHTML:a.refactorString(a.portfolio.description)},null,8,A))],34)):(0,r.Q3)("v-if",!0),a.socialLinksAreInHero()?((0,r.uX)(),(0,r.Wv)(l,{key:1})):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"])],2112)}],["__scopeId","data-v-7a483ee6"]]);var L={key:0,class:"ufo--page-hero-text"};const P={name:"UserDescription",components:{UserSocialLinks:C,AnimationWrapper:f.A},props:["user"],methods:{refactorString:function(e){return e.replace("\n","&lt;br /&gt;").replace("&lt;a href",'&lt;a rel="nofollow" href')},socialLinksAreInHero:function(){return this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_ABOVE_TEXT||this.portfolio.templateSettings.navigation.socialLinksLocation===h.BO.INLINE_BELOW_TEXT}},computed:{user:function(){return this.$store.state.view.user}}},N=(0,g.A)(P,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("AnimationWrapper"),c=(0,r.g2)("UserSocialLinks");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(l,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[e.portfolio.description?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["ufo--page-hero-text",e.portfolio.templateSettings.hero&amp;&amp;e.portfolio.templateSettings.hero.textAlign?"align-text-"+e.portfolio.templateSettings.hero.textAlign:""]),onScroll:t[0]||(t[0]=function(t){return"profile_theme_nine"===e.portfolio.templateSettings.theme?e.scrolledDown():null})},[a.user.description?((0,r.uX)(),(0,r.CE)("div",L,(0,o.v_)(a.refactorString(a.user.description)),1)):(0,r.Q3)("v-if",!0)],34)):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"]),(0,r.bF)(l,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[a.socialLinksAreInHero()?((0,r.uX)(),(0,r.Wv)(c,{key:0})):(0,r.Q3)("v-if",!0)]})),_:1},8,["animation-style","animation-speed"])],64)}]]);const D={name:"UserName",computed:{user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio}},methods:{navigateToHome:function(){this.portfolio.ownDomainAddress?this.$router.push("/"):this.$router.push("/"+this.portfolio.shortId)}}},R=(0,g.A)(D,[["render",function(e,t,n,i,s,a){return a.user.name?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"profile-name",onClick:t[0]||(t[0]=function(e){return a.navigateToHome()}),style:{cursor:"pointer"}},(0,o.v_)(a.user.name),1)):(0,r.Q3)("v-if",!0)}]]);var M={key:0,class:"profile-position"};const F={name:"UserJobTitle",computed:{user:function(){return this.$store.state.view.user}}},H=(0,g.A)(F,[["render",function(e,t,n,i,s,a){return a.user.title?((0,r.uX)(),(0,r.CE)("div",M,(0,o.v_)(a.user.title),1)):(0,r.Q3)("v-if",!0)}]]);var j=n(78790),G={key:0,class:"fake-cut"},B={key:1,class:"fake-cut-line"},$=["src"],W={key:1,src:j,class:"hero-image",width:"1080",height:"1080"};const U={name:"UserThemeCoverImage",components:{AnimationWrapper:f.A},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.portfolio.templateSettings},imageLayoutIsOverflow:function(){return this.templateSettings.theme.includes("profile_theme_default")&amp;&amp;this.templateSettings.hero&amp;&amp;this.templateSettings.hero.sidebarSettings&amp;&amp;"overflow"===this.templateSettings.hero.sidebarSettings.imageLayout}}},z=(0,g.A)(U,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("AnimationWrapper");return(0,r.uX)(),(0,r.CE)(r.FK,null,[a.imageLayoutIsOverflow?((0,r.uX)(),(0,r.CE)("div",G)):(0,r.Q3)("v-if",!0),a.imageLayoutIsOverflow?((0,r.uX)(),(0,r.CE)("div",B)):(0,r.Q3)("v-if",!0),a.templateSettings.showProfilePicture&amp;&amp;a.portfolio.image.url?((0,r.uX)(),(0,r.CE)("div",{key:2,class:(0,o.C4)(["profile-cover","profile-picture","ufo--page-hero-image",{"display-overflow":a.imageLayoutIsOverflow}])},[(0,r.bF)(l,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null,"delay-animation":.2},{animationContent:(0,r.k6)((function(){return[a.portfolio.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,src:a.portfolio.image.croppedImageUrl?a.portfolio.image.croppedImageUrl:a.portfolio.image.url},null,8,$)):((0,r.uX)(),(0,r.CE)("img",W))]})),_:1},8,["animation-style","animation-speed"])],2)):(0,r.Q3)("v-if",!0)],64)}]]);var V={key:0,class:"fake-cut"},X={key:1,class:"fake-cut-line"},K=["src"];const q={name:"UserImage",computed:{templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},user:function(){return this.$store.state.view.user},imageLayoutIsOverflow:function(){return this.templateSettings.showProfilePicture&amp;&amp;this.templateSettings.theme.includes("profile_theme_default")&amp;&amp;this.templateSettings.hero&amp;&amp;this.templateSettings.hero.sidebarSettings&amp;&amp;"overflow"===this.templateSettings.hero.sidebarSettings.imageLayout}}},Y=(0,g.A)(q,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)(r.FK,null,[a.user.image.url&amp;&amp;a.imageLayoutIsOverflow?((0,r.uX)(),(0,r.CE)("div",V)):(0,r.Q3)("v-if",!0),a.user.image.url&amp;&amp;a.imageLayoutIsOverflow?((0,r.uX)(),(0,r.CE)("div",X)):(0,r.Q3)("v-if",!0),a.templateSettings.showProfilePicture&amp;&amp;a.user.image.url?((0,r.uX)(),(0,r.CE)("div",{key:2,class:(0,o.C4)(["profile-picture",{"display-overflow":a.imageLayoutIsOverflow}])},[(0,r.Lk)("img",{src:a.user.image.url},null,8,K)],2)):(0,r.Q3)("v-if",!0)],64)}]]),Q={name:"ThemeDefaultOld",components:{UserImage:Y,UserThemeCoverImage:z,UserJobTitle:H,UserName:R,UserDescription:N,UserPortfolioDescription:I},computed:{portfolioPages:function(){return this.$store.state.view.portfolioPages},portfolio:function(){return this.$store.state.view.portfolio}},methods:{checkSelected:function(e){return window.location.pathname.includes("/"+e.shortId)}}},J=(0,g.A)(Q,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("UserThemeCoverImage"),c=(0,r.g2)("UserImage"),u=(0,r.g2)("UserName"),d=(0,r.g2)("UserJobTitle"),p=(0,r.g2)("UserPortfolioDescription"),h=(0,r.g2)("UserDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[a.portfolio&amp;&amp;a.portfolio.image.url?((0,r.uX)(),(0,r.Wv)(l,{key:0})):((0,r.uX)(),(0,r.Wv)(c,{key:1})),(0,r.Lk)("div",y,[(0,r.bF)(u),(0,r.bF)(d),(0,r.Lk)("div",b,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.portfolioPages,(function(e){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo--site-nav-button","contact"===e.type?"contact-button":"","contact"===e.type&amp;&amp;a.checkSelected(e)?"selected":"","file"===e.type?"resume-button":""]),"data-text":"contact"===e.type&amp;&amp;e.name?e.name:null},["contact"===e.type?((0,r.uX)(),(0,r.CE)("a",{key:0,href:(a.portfolio.ownDomainAddress,a.portfolio.shortId),class:(0,o.C4)(["btn",a.checkSelected(e)?"active":""])},(0,o.v_)(e.name?e.name:""),11,S)):(0,r.Q3)("v-if",!0),"file"===e.type?((0,r.uX)(),(0,r.CE)("a",{key:1,href:e.settings.link.url,target:"_blank",rel:"nofollow noopener",class:"btn"},(0,o.v_)(e.name),9,_)):(0,r.Q3)("v-if",!0)],10,w)})),256))])]),a.portfolio&amp;&amp;a.portfolio.description?((0,r.uX)(),(0,r.Wv)(p,{key:2})):((0,r.uX)(),(0,r.Wv)(h,{key:3}))],64)}]]);var Z={class:"profile-short-cv"};const ee={name:"ProfileThemeDefault",components:{ToggleGrid:p.A,UserPortfolioDescription:I,UserImage:Y,UserThemeCoverImage:z},computed:{portfolio:function(){return this.$store.state.view.portfolio}}},te=(0,g.A)(ee,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserThemeCoverImage"),c=(0,r.g2)("UserImage"),u=(0,r.g2)("UserPortfolioDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),s.portfolio&amp;&amp;s.portfolio.image.url?((0,r.uX)(),(0,r.Wv)(l,{key:0})):((0,r.uX)(),(0,r.Wv)(c,{key:1})),(0,r.Lk)("div",Z,[s.portfolio&amp;&amp;s.portfolio.description?((0,r.uX)(),(0,r.Wv)(u,{key:0})):(0,r.Q3)("v-if",!0)])],64)}]]);var ne={class:"profile-short-cv"};const re={name:"ProfileThemeCommon",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserDescription:N,UserJobTitle:H,UserName:R,UserSocialLinks:C,UserPortfolioDescription:I,UserImage:Y,UserThemeCoverImage:z},computed:{portfolio:function(){return this.$store.state.view.portfolio}}},oe=(0,g.A)(re,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserThemeCoverImage"),c=(0,r.g2)("UserImage"),u=(0,r.g2)("UserPortfolioDescription"),d=(0,r.g2)("UserName"),p=(0,r.g2)("UserJobTitle"),h=(0,r.g2)("UserDescription"),f=(0,r.g2)("GetHeroNavigation");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Q3)(" For profile_theme_one and profile_theme_two "),(0,r.bF)(a),s.portfolio&amp;&amp;s.portfolio.image.url?((0,r.uX)(),(0,r.Wv)(l,{key:0})):((0,r.uX)(),(0,r.Wv)(c,{key:1})),(0,r.Lk)("div",ne,[s.portfolio&amp;&amp;s.portfolio.description?((0,r.uX)(),(0,r.Wv)(u,{key:0})):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.bF)(d),(0,r.bF)(p),(0,r.bF)(h)],64)),(0,r.bF)(f)])],64)}]]);var ie={class:"profile-short-cv"};const se={name:"ProfileThemeThree",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserImage:Y,UserThemeCoverImage:z,UserDescription:N,UserPortfolioDescription:I},computed:{portfolio:function(){return this.$store.state.view.portfolio},isHome:function(){return"home"===this.$store.state.view.project.type}}},ae=(0,g.A)(se,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("UserThemeCoverImage"),u=(0,r.g2)("UserImage"),d=(0,r.g2)("UserPortfolioDescription"),p=(0,r.g2)("UserDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l,{"show-home-button":!0}),s.portfolio&amp;&amp;s.portfolio.image.url?((0,r.uX)(),(0,r.Wv)(c,{key:0})):s.isHome?((0,r.uX)(),(0,r.Wv)(u,{key:1})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",ie,[s.portfolio&amp;&amp;s.portfolio.description&amp;&amp;s.isHome?((0,r.uX)(),(0,r.Wv)(d,{key:0})):s.isHome?((0,r.uX)(),(0,r.Wv)(p,{key:1})):(0,r.Q3)("v-if",!0)])],64)}]]);var le={class:"profile-short-cv"},ce={class:"profile-short-cv"};const ue={name:"ThemeThreeOld",components:{GetHeroNavigation:l.A,UserImage:Y,UserThemeCoverImage:z,UserJobTitle:H,UserName:R,UserDescription:N,UserPortfolioDescription:I},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},isHome:function(){return"home"===this.$store.state.view.project.type}}},de=(0,g.A)(ue,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("GetHeroNavigation"),l=(0,r.g2)("UserThemeCoverImage"),c=(0,r.g2)("UserImage"),u=(0,r.g2)("UserName"),d=(0,r.g2)("UserJobTitle"),p=(0,r.g2)("UserPortfolioDescription"),h=(0,r.g2)("UserDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a,{"show-home-button":!0}),s.portfolio&amp;&amp;s.portfolio.image.url&amp;&amp;s.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.Wv)(l,{key:0})):((0,r.uX)(),(0,r.Wv)(c,{key:1})),(0,r.Lk)("div",le,[(0,r.bF)(u),(0,r.bF)(d),(0,r.Lk)("div",ce,[s.portfolio&amp;&amp;s.portfolio.description&amp;&amp;s.isHome?((0,r.uX)(),(0,r.Wv)(p,{key:0})):s.isHome?((0,r.uX)(),(0,r.Wv)(h,{key:1})):(0,r.Q3)("v-if",!0)])])],64)}]]);var pe={class:"profile-short-cv"};const he={name:"ProfileThemeFour",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,HamburgerToggle:d.A,UserPortfolioDescription:I,UserThemeCoverImage:z,UserDescription:N,UserJobTitle:H,UserImage:Y},mounted:function(){window.onload=this.setScrollClass,window.onresize=this.setScrollClass},computed:{portfolio:function(){return this.$store.state.view.portfolio}},methods:{setScrollClass:function(){var e=document.querySelector(".ufo--page-hero-text");e.classList.toggle("scrollable",e.scrollHeight&gt;e.clientHeight)}}},fe=(0,g.A)(he,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("HamburgerToggle"),c=(0,r.g2)("UserThemeCoverImage"),u=(0,r.g2)("UserImage"),d=(0,r.g2)("UserPortfolioDescription"),p=(0,r.g2)("UserJobTitle"),h=(0,r.g2)("UserDescription"),f=(0,r.g2)("GetHeroNavigation");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.Lk)("div",pe,[(0,r.bF)(l),s.portfolio&amp;&amp;s.portfolio.image.url?((0,r.uX)(),(0,r.Wv)(c,{key:0})):((0,r.uX)(),(0,r.Wv)(u,{key:1})),s.portfolio&amp;&amp;s.portfolio.description?((0,r.uX)(),(0,r.Wv)(d,{key:2})):((0,r.uX)(),(0,r.CE)(r.FK,{key:3},[(0,r.bF)(u),(0,r.bF)(p),(0,r.bF)(h)],64)),(0,r.bF)(f,{"show-home-button":!0})])],64)}]]);var me={key:0,class:"profile-hero"},ge={key:1,class:"profile-bio"};const ve={name:"ProfileThemeFive",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserPortfolioDescription:I,UserThemeCoverImage:z,UserName:R},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},checkPath:function(){return!window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/about")&amp;&amp;!window.location.pathname.includes("/contact")}}},ye=(0,g.A)(ve,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserName"),c=(0,r.g2)("UserThemeCoverImage"),u=(0,r.g2)("GetHeroNavigation"),d=(0,r.g2)("UserPortfolioDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l),s.checkPath?((0,r.uX)(),(0,r.CE)("div",me,[(0,r.bF)(c)])):(0,r.Q3)("v-if",!0),(0,r.bF)(u,{"show-home-button":!0}),s.checkPath?((0,r.uX)(),(0,r.CE)("div",ge,[(0,r.bF)(d)])):(0,r.Q3)("v-if",!0)],64)}]]);var be={key:0,class:"profile-hero"},we={class:"profile-links"},Se={key:1,class:"profile-bio"};const _e={name:"ProfileThemeSix",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserPortfolioDescription:I,UserSocialLinks:C,UserThemeCoverImage:z,UserName:R},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},checkPath:function(){return!window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/about")&amp;&amp;!window.location.pathname.includes("/contact")}}},ke=(0,g.A)(_e,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserName"),c=(0,r.g2)("GetHeroNavigation"),u=(0,r.g2)("UserThemeCoverImage"),d=(0,r.g2)("UserSocialLinks"),p=(0,r.g2)("UserPortfolioDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l),(0,r.bF)(c,{"show-home-button":!0}),s.checkPath?((0,r.uX)(),(0,r.CE)("div",be,[s.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.Wv)(u,{key:0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",we,[(0,r.bF)(d)])])):(0,r.Q3)("v-if",!0),s.checkPath?((0,r.uX)(),(0,r.CE)("div",Se,[(0,r.bF)(p)])):(0,r.Q3)("v-if",!0)],64)}]]);var Ae={class:"profile-short-cv"},Te={class:"profile-bio"};const Ee={name:"ProfileThemeSeven",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserThemeCoverImage:z,UserPortfolioDescription:I,UserName:R},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},checkPath:function(){return!window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/about")&amp;&amp;!window.location.pathname.includes("/contact")}}},xe=(0,g.A)(Ee,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserName"),c=(0,r.g2)("GetHeroNavigation"),u=(0,r.g2)("UserThemeCoverImage"),d=(0,r.g2)("UserPortfolioDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l),(0,r.bF)(c,{"show-home-button":!0}),(0,r.Lk)("div",Ae,[s.checkPath?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[s.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.Wv)(u,{key:0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",null,[(0,r.Lk)("div",Te,[(0,r.bF)(d)])])],64)):(0,r.Q3)("v-if",!0)])],64)}]]);var Ce={key:0,class:"profile-hero"},Oe={class:"profile-bio"};const Ie={name:"ProfileThemeEight",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,UserPortfolioDescription:I,UserThemeCoverImage:z,UserName:R},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},checkPath:function(){return!window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/about")&amp;&amp;!window.location.pathname.includes("/contact")}}},Le=(0,g.A)(Ie,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("UserThemeCoverImage"),u=(0,r.g2)("UserPortfolioDescription");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l,{"show-home-button":!0}),s.checkPath?((0,r.uX)(),(0,r.CE)("div",Ce,[s.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.Wv)(c,{key:0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Oe,[(0,r.bF)(u)])])):(0,r.Q3)("v-if",!0)],64)}]]);var Pe={class:"profile-hero"},Ne={class:"profile-bio"};const De={name:"ProfileThemeNine",components:{GetHeroNavigation:l.A,ToggleGrid:p.A,HamburgerToggle:d.A,UserPortfolioDescription:I,UserThemeCoverImage:z,UserName:R},computed:{portfolio:function(){return this.$store.state.view.portfolio},templateSettings:function(){return this.$store.state.view.portfolio.templateSettings},checkPath:function(){return window.location.pathname.includes("/p/")&amp;&amp;!window.location.pathname.includes("/about")&amp;&amp;!window.location.pathname.includes("/contact")}}},Re=(0,g.A)(De,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ToggleGrid"),l=(0,r.g2)("UserName"),c=(0,r.g2)("HamburgerToggle"),u=(0,r.g2)("UserThemeCoverImage"),d=(0,r.g2)("UserPortfolioDescription"),p=(0,r.g2)("GetHeroNavigation");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.bF)(a),(0,r.bF)(l),(0,r.bF)(c),(0,r.Lk)("div",Pe,[s.templateSettings.showProfilePicture?((0,r.uX)(),(0,r.Wv)(u,{key:0})):(0,r.Q3)("v-if",!0)]),(0,r.Lk)("div",Ne,[(0,r.bF)(d)]),(0,r.bF)(p,{"show-home-button":!0})],64)}]]);var Me=n(57175);n(88623);const Fe={name:"PortfolioHeroHelper",components:{FabWrapper:Me.A},data:function(){return{hover:null}},computed:{getHero:function(){var e=this.$store.state.view.portfolio.templateSettings.theme,t={profile_theme_default_old:J,profile_theme_default:te,profile_theme_one:oe,profile_theme_two:oe,profile_theme_three:ae,profile_theme_three_old:de,profile_theme_four:fe,profile_theme_five:ye,profile_theme_six:ke,profile_theme_seven:xe,profile_theme_eight:Le,profile_theme_nine:Re};return Object.keys(t).includes(e)?t[e]:v},portfolio:function(){return this.$store.state.view.portfolio},zIndexForHero:function(){return this.$store.state.view.project.sections.length+3},displayHero:function(){return!window.location.pathname.includes("/p/")},isReviewModeActive:function(){return this.$reviewStore.isReviewMode}}},He=(0,g.A)(Fe,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("FabWrapper");return(0,r.uX)(),(0,r.CE)("div",{onMouseenter:t[0]||(t[0]=function(e){return s.hover=-1}),onMouseleave:t[1]||(t[1]=function(e){return s.hover=null}),class:"hero-container"},[a.isReviewModeActive&amp;&amp;e.$reviewStore.review&amp;&amp;a.displayHero?((0,r.uX)(),(0,r.Wv)(l,{key:0,class:(0,o.C4)("hero"),invertedIndex:a.zIndexForHero,hovering:-1===s.hover,section:{_id:"portfolio-hero"}},null,8,["invertedIndex","hovering"])):(0,r.Q3)("v-if",!0),((0,r.uX)(),(0,r.Wv)((0,r.$y)(a.getHero)))],32)}]])},16456:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;tt});var r=n(20641),o=n(53751),i={key:0,class:"review-wrapper"};var s=n(41185),a=n(47875),l=n(90033),c={key:0,class:"tour-modal-wrapper"},u={class:"text-container"},d={class:"title-row"},p={class:"description-row"},h={class:"pwt-actions"},f={class:"page-number"},m={class:"buttons"},g={key:0,class:"example-review-fabs"},v={key:1,class:"example-overview"};var y=n(97827),b=n(910);const w={name:"TourModal",components:{Fab:n(84308).A,CtaButton:y.A,Icon:b.A},data:function(){return{step:0,steps:[{title:"Give general feedback",description:"Write an overview of the whole portfolio and offer general feedback."},{title:"Add comments &amp; reactions",description:"Give feedback to specific sections by adding comments."},{title:"Share your feedback",description:"When your ready, check and submit your review."}]}},mounted:function(){this.$cookies.get("reviewTour")||(this.showTour=!0)},methods:{closeTips:function(){this.$cookies.set("reviewTour",JSON.stringify({reviewTourDone:!0})),this.showTour=!1},nextTip:function(){this.step&lt;2?this.step+=1:this.closeTips()},back:function(){this.step&gt;0&amp;&amp;(this.step-=1)}},computed:{showTour:{get:function(){return this.$reviewStore.showTour&amp;&amp;this.$reviewStore.displayUI},set:function(e){this.$reviewStore.showTour=e}}}};var S=n(66262);const _=(0,S.A)(w,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("CtaButton"),y=(0,r.g2)("Icon"),b=(0,r.g2)("Fab");return s.showTour?((0,r.uX)(),(0,r.CE)("div",c,[(0,r.Lk)("div",{class:(0,l.C4)(["overlay","step-"+i.step])},null,2),(0,r.Lk)("div",{class:(0,l.C4)(["tour-container",["step-"+i.step]])},[(0,r.Lk)("div",u,[(0,r.Lk)("div",d,(0,l.v_)(i.steps[i.step].title),1),(0,r.Lk)("div",p,(0,l.v_)(i.steps[i.step].description),1)]),(0,r.Lk)("div",h,[(0,r.Lk)("div",f,(0,l.v_)(i.step+1)+" of 3",1),(0,r.Lk)("div",m,[0===i.step?((0,r.uX)(),(0,r.Wv)(a,{key:0,"dark-scheme":"",type:"secondary",size:"small",onClick:t[0]||(t[0]=function(e){return s.closeTips()})},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Skip tour")])})),_:1})):(0,r.Q3)("v-if",!0),i.step&gt;0?((0,r.uX)(),(0,r.Wv)(a,{key:1,"dark-scheme":"",type:"secondary",size:"small",onClick:t[1]||(t[1]=function(e){return s.back()})},{default:(0,r.k6)((function(){return t[4]||(t[4]=[(0,r.eW)("Back")])})),_:1})):(0,r.Q3)("v-if",!0),(0,r.bF)(a,{"dark-scheme":"",onClick:t[2]||(t[2]=function(e){return s.nextTip()}),size:"small"},{default:(0,r.k6)((function(){return[(0,r.eW)((0,l.v_)(2===i.step?"Got it":"Next"),1)]})),_:1})])]),(0,r.bF)(y,{class:"review-arrow","icon-name":"tooltip-arrow"})],2),1===i.step?((0,r.uX)(),(0,r.CE)("div",g,[(0,r.bF)(b,{icon:"reaction"}),(0,r.bF)(b,{icon:"comment"})])):(0,r.Q3)("v-if",!0),0===i.step?((0,r.uX)(),(0,r.CE)("div",v,t[5]||(t[5]=[(0,r.Lk)("div",null,"Overview",-1)]))):(0,r.Q3)("v-if",!0)])):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-35656cbc"]]);var k=n(65498),A=n(74256),T=n(82024),E=n(76647),x={class:"modal-body-container"},C={class:"illustration"},O={class:"link-wrapper"};var I=n(70846),L=n(85349),P=n(41117),N=n(48084);const D={name:"OverviewSuccessModal",props:["show","close"],components:{CtaButton:y.A,Icon:b.A,ModalFooter:N.A,ModalHeader:P.A,ModalBody:L.A,ModalWrapper:I.A},methods:{openEditor:function(){window.location.href="/home"}}},R=(0,S.A)(D,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("Icon"),l=(0,r.g2)("CtaButton"),c=(0,r.g2)("ModalBody"),u=(0,r.g2)("ModalWrapper");return(0,r.uX)(),(0,r.Wv)(u,{show:n.show,onClose:n.close,"modal-size":"small","dark-scheme":"",disableOutsideClick:""},{"modal-body":(0,r.k6)((function(){return[(0,r.bF)(c,null,{default:(0,r.k6)((function(){return[(0,r.Lk)("div",x,[(0,r.Lk)("div",C,[(0,r.bF)(a,{"icon-name":"check"})]),t[2]||(t[2]=(0,r.Lk)("div",{class:"text-wrapper"},[(0,r.Lk)("div",{class:"title-text"},"Thank you!"),(0,r.Lk)("div",{class:"subtitle-text"},"Your review has been submitted.")],-1)),(0,r.Lk)("div",O,[t[1]||(t[1]=(0,r.Lk)("div",null,"Would like to get a review?",-1)),(0,r.bF)(l,{"dark-scheme":"",onClick:s.openEditor,type:"link"},{default:(0,r.k6)((function(){return t[0]||(t[0]=[(0,r.eW)("Open the editor")])})),_:1},8,["onClick"])])])]})),_:1})]})),_:1},8,["show","onClose"])}],["__scopeId","data-v-6131d7ce"]]),M=n.p+"src/assets/images/review-welcome..png";var F={class:"review-welcome-modal-container"},H={class:"footer-wrapper"},j={class:"text"},G={class:"button-container"};function B(e){return B="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},B(e)}function $(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=B(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=B(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==B(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W={key:0,class:"modal-wrapper"};const U={name:"modal-frame",inheritAttrs:!1,props:{show:{default:!1,type:Boolean},modalSize:{default:"mid",type:String},customClass:{default:null,type:String},light:{default:!1,type:Boolean},disableOutsideClick:{default:!1,type:Boolean}},methods:{init:function(){this.$emit("init",!0)},closeModal:function(){this.disableOutsideClick||this.$emit("close",!0)}}},z=(0,S.A)(U,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.Wv)(o.Transition,{name:"modal",onEnter:a.init,appear:""},{default:(0,r.k6)((function(){return[n.show?((0,r.uX)(),(0,r.CE)("div",W,[(0,r.Lk)("div",{class:"modal-mask",onClick:t[0]||(t[0]=function(e){return a.closeModal()})}),(0,r.Lk)("div",{class:(0,l.C4)([{light:n.light},"modal-container","modal-container--".concat(n.modalSize),$({},"modal-container--".concat(n.customClass),!!n.customClass)])},[(0,r.RG)(e.$slots,"default")],2)])):(0,r.Q3)("v-if",!0)]})),_:3},8,["onEnter"])}]]),V=n.p+"src/assets/images/new-message..png";var X={class:"header-container"},K={class:"subheader"},q={key:"transferError",class:"alert"},Y={class:"button-container"};var Q=n(97073),J=n(61856);n(88623);function Z(e){return Z="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Z(e)}function ee(){ee=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==Z(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(Z(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function re(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Z(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const ie={name:"FollowUpLogin",props:["getReview","setLoginModalState"],components:{CtaButton:y.A,InputField:J.A},data:function(){return{email:null,errors:{email:!1},ReviewLoginModalStateEnum:A.rD}},methods:{continueWithReview:function(){var e,t=this;return(e=ee().mark((function e(){var n,r,o,i;return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.errors.email=!t.email||t.checkEmail(t.loginDetails.email),!t.errors.email){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,n=t.$reviewStore.reviewType===A.UT.PORTFOLIO?t.$store.state.view.portfolio._id:t.$store.state.view.project._id,r=encodeURIComponent(t.email),e.next=8,k.A.get("/api/review/reviewer?email=".concat(r,"&amp;contentId=").concat(n));case 8:o=e.sent,i=ne(ne({},o.data.review),{},{reviewerDetails:o.data.reviewer}),t.$store.commit("review/updateReview",i),t.$reviewStore.reviews=[i],t.loaded=!0,t.$cookies.set("reviewer",JSON.stringify(response.data.reviewer)),t.closeModal(),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),e.t0.response&amp;&amp;409===e.t0.response.status?t.setLoginModalState(A.rD.AUTH_ERROR):t.setLoginModalState(A.rD.LOGIN_ERROR);case 20:case"end":return e.stop()}}),e,null,[[3,17]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){oe(i,r,o,s,a,"next",e)}function a(e){oe(i,r,o,s,a,"throw",e)}s(void 0)}))})()},loginWithUxfolioUser:function(){(0,Q.f0)("Review log-in with UXFolo account",{event_category:"Review mode"});var e=window.location.host,t="/review/login?host="+e+"&amp;path="+window.location.pathname,n="/loginredirect?host=".concat(encodeURIComponent(e),"&amp;redirectTo=").concat(encodeURIComponent(t));window.location=n},checkEmail:function(e){return!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}},computed:{userName:function(){return this.$store.state.view.user?this.$store.state.view.user.name:"John Doe"}}};n(61872);const se=(0,S.A)(ie,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("input-field"),c=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)(r.FK,null,[t[5]||(t[5]=(0,r.Lk)("img",{alt:"new-message-picto",src:V},null,-1)),(0,r.Lk)("div",X,[t[1]||(t[1]=(0,r.Lk)("div",{class:"header"},"You have a follow-up message",-1)),(0,r.Lk)("div",K,"Provide your email to see and reply to "+(0,l.v_)(s.userName)+"'s follow-up message.",1)]),(0,r.bF)(a,{"dark-scheme":"",label:"Email address",placeholder:"Email address",value:i.email,modelValue:i.email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.email=e}),type:"email"},{alert:(0,r.k6)((function(){return[i.errors.email?((0,r.uX)(),(0,r.CE)("span",q,"Invalid e-mail.")):(0,r.Q3)("v-if",!0)]})),_:1},8,["value","modelValue"]),(0,r.Lk)("div",Y,[(0,r.bF)(c,{type:"primary","dark-scheme":"",onClick:s.continueWithReview},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Open my review")])})),_:1},8,["onClick"]),(0,r.Lk)("span",null,[t[4]||(t[4]=(0,r.eW)("Do you have a UXfolio account? ")),(0,r.bF)(c,{onClick:s.loginWithUxfolioUser,type:"link","dark-scheme":""},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Log in")])})),_:1},8,["onClick"])])])],64)}],["__scopeId","data-v-5429a768"]]),ae={name:"ReviewWelcomeModal",props:["show","close","getReview"],components:{ModalFrame:z,CtaButton:y.A},data:function(){return{}},methods:{returnToSession:function(){this.isFolioUserLoggedIn?(this.$store.state.user=null,this.$reviewStore.reviewLoginModalState=A.rD.GUEST):this.$reviewStore.reviewLoginModalState=A.rD.GUEST_CONTINUE,this.close(),this.$reviewStore.showReviewLoginModal=!0},handlePrimaryClick:function(){this.isFolioUserLoggedIn&amp;&amp;(this.$reviewStore.review.reviewerDetails||(this.$reviewStore.review.reviewerDetails=this.$store.state.user),this.getReview()),this.close()}},computed:{userName:function(){return this.$store.state.view.user?this.$store.state.view.user.name:"John Doe"},uxFolioUserName:function(){return this.$store.state.user?this.$store.state.user.name:"John Doe"},isFolioUserLoggedIn:function(){return null!==this.$store.state.user}}},le=(0,S.A)(ae,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("CtaButton"),c=(0,r.g2)("modal-frame");return n.show?((0,r.uX)(),(0,r.Wv)(c,{key:0,show:n.show,onClose:n.close,"modal-size":"mid","disable-outside-click":""},{default:(0,r.k6)((function(){return[(0,r.Lk)("div",F,[t[1]||(t[1]=(0,r.Lk)("div",{class:"weclome-wrapper"},[(0,r.Lk)("div",{class:"image-wrapper"},[(0,r.Lk)("img",{alt:"review-welcome-picto",src:M})])],-1)),(0,r.Lk)("div",H,[(0,r.Lk)("div",j,"Review "+(0,l.v_)(s.userName)+"'s portfolio",1),(0,r.Lk)("div",G,[(0,r.bF)(a,{type:"primary","dark-scheme":"",onClick:s.handlePrimaryClick},{default:(0,r.k6)((function(){return[(0,r.eW)((0,l.v_)(s.isFolioUserLoggedIn?"Review as "+s.uxFolioUserName:"Start reviewing"),1)]})),_:1},8,["onClick"]),s.isFolioUserLoggedIn?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(a,{key:0,type:"link",onClick:s.returnToSession,"dark-scheme":""},{default:(0,r.k6)((function(){return t[0]||(t[0]=[(0,r.eW)("Return to previous session")])})),_:1},8,["onClick"]))])])])]})),_:1},8,["show","onClose"])):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-4fb27802"]]);var ce={class:"review-login-modal-container"};var ue={class:"continue-review"},de={class:"button-container row"};const pe={name:"LoginErrorModal",props:["setLoginModalState"],data:function(){return{ReviewLoginModalStateEnum:A.rD}},components:{CtaButton:y.A}},he=(0,S.A)(pe,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",ue,[t[4]||(t[4]=(0,r.Lk)("div",{class:"header-row"},[(0,r.Lk)("div",{class:"title-text"},"Email not found"),(0,r.Lk)("div",{class:"subtitle-text"},"We couldnâ€™t find a review using this email address. Start a new review now!")],-1)),(0,r.Lk)("div",de,[(0,r.bF)(a,{type:"secondary","dark-scheme":"",onClick:t[0]||(t[0]=function(){return n.setLoginModalState(i.ReviewLoginModalStateEnum.GUEST_CONTINUE)})},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Try another email")])})),_:1}),(0,r.bF)(a,{type:"primary","dark-scheme":"",onClick:t[1]||(t[1]=function(){return n.setLoginModalState(i.ReviewLoginModalStateEnum.GUEST)})},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Start a new review")])})),_:1})])])}],["__scopeId","data-v-56bc586e"]]);var fe={class:"continue-review"},me={class:"button-container row"};const ge={name:"AuthErrorLoginModal",props:["setLoginModalState"],components:{CtaButton:y.A},methods:{loginWithUXfolio:function(){(0,Q.f0)("Review log-in with UXFolo account",{event_category:"Review mode"});var e=window.location.host,t="/review/login?host="+e+"&amp;path="+window.location.pathname,n="/loginredirect?host=".concat(encodeURIComponent(e),"&amp;redirectTo=").concat(encodeURIComponent(t));window.location=n},switchModalState:function(){this.setLoginModalState(A.rD.GUEST)}},computed:{loginDetails:function(){return this.$reviewStore.loginDetails}}},ve=(0,S.A)(ge,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",fe,[t[2]||(t[2]=(0,r.Lk)("div",{class:"header-row"},[(0,r.Lk)("div",{class:"title-text"},"Email registered to UXfolio"),(0,r.Lk)("div",{class:"subtitle-text"},"It looks like you have a UXfolio account. Log in and use it for this review.")],-1)),(0,r.Lk)("div",me,[(0,r.bF)(a,{type:"secondary","dark-scheme":"",onClick:s.switchModalState},{default:(0,r.k6)((function(){return t[0]||(t[0]=[(0,r.eW)("Try another email")])})),_:1},8,["onClick"]),(0,r.bF)(a,{type:"primary","dark-scheme":"",onClick:s.loginWithUXfolio},{default:(0,r.k6)((function(){return t[1]||(t[1]=[(0,r.eW)("Log in to UXfolio")])})),_:1},8,["onClick"])])])}],["__scopeId","data-v-718e1a92"]]);var ye={class:"header-wrapper"},be=["src"],we={class:"header-container"},Se={class:"header"},_e={class:"inputs-container"},ke={key:"transferError",class:"alert"},Ae={key:"transferError",class:"alert"},Te={key:"transferError",class:"alert"},Ee={class:"button-container"};function xe(e){return xe="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},xe(e)}function Ce(){Ce=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==xe(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(xe(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function Oe(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const Ie={name:"GuestLogin",props:["setLoginModalState","getReview"],components:{UserImagePlaceholder:n(70286).A,CtaButton:y.A,InputField:J.A},data:function(){return{errors:{name:!1,jobTitle:!1,email:!1}}},methods:{checkUser:function(){var e,t=this;return(e=Ce().mark((function e(){var n,r,o;return Ce().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.checkErrors()){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,k.A.post("/api/review/reviewer",{name:t.loginDetails.name,jobTitle:t.loginDetails.jobTitle,email:t.loginDetails.email});case 6:n=e.sent,t.$reviewStore.review.reviewerDetails=n.data.reviewer,t.$cookies.set("reviewer",JSON.stringify(n.data.reviewer)),t.getReview(),t.$reviewStore.showReviewLoginModal=!1,e.next=26;break;case 13:if(e.prev=13,e.t0=e.catch(3),console.log("Error while fetching reviewer",e.t0),!e.t0.response||409!==e.t0.response.status){e.next=25;break}return r=encodeURIComponent(t.loginDetails.email),e.next=20,k.A.get("/api/review/reviewer?email=".concat(r));case 20:o=e.sent,t.$cookies.set("reviewer",JSON.stringify(o.data.reviewer)),t.setLoginModalState(A.rD.EXISTING_USER),e.next=26;break;case 25:e.t0.response&amp;&amp;403===e.t0.response.status?t.setLoginModalState(A.rD.AUTH_ERROR):console.log("Error while loading Reviewer.");case 26:(0,Q.f0)("Review with Guest account",{event_category:"Review mode",event_label:"Reviewer: ".concat(t.loginDetails.email,", Portfolio: ").concat(t.$store.state.view.portfolio._id)});case 27:case"end":return e.stop()}}),e,null,[[3,13]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Oe(i,r,o,s,a,"next",e)}function a(e){Oe(i,r,o,s,a,"throw",e)}s(void 0)}))})()},checkErrors:function(){var e=!1;return this.errors.name=!this.loginDetails.name,this.errors.jobTitle=!this.loginDetails.jobTitle,(this.errors.name||this.errors.jobTitle)&amp;&amp;(e=!0),this.errors.email=!this.loginDetails.email||this.checkEmail(this.loginDetails.email),this.errors.email&amp;&amp;(e=!0),e},loginWithUxfolioUser:function(){(0,Q.f0)("Review log-in with UXFolo account",{event_category:"Review mode"});var e=window.location.host,t="/review/login?host="+e+"&amp;path="+window.location.pathname,n="/loginredirect?host=".concat(encodeURIComponent(e),"&amp;redirectTo=").concat(encodeURIComponent(t));window.location=n},checkEmail:function(e){return!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}},computed:{user:function(){return this.$store.state.view.user},userName:function(){return this.$store.state.view.user?this.$store.state.view.user.name:"John Doe"},userJobTitle:function(){return this.$store.state.view.user?this.$store.state.view.user.title:"UX designer"},loginDetails:function(){return this.$reviewStore.loginDetails}}},Le=(0,S.A)(Ie,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("UserImagePlaceholder"),c=(0,r.g2)("input-field"),u=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Lk)("div",ye,[s.user&amp;&amp;s.user.image&amp;&amp;s.user.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,src:s.user.image.url},null,8,be)):((0,r.uX)(),(0,r.Wv)(a,{key:1,name:s.userName,size:"medium"},null,8,["name"])),(0,r.Lk)("div",we,[(0,r.Lk)("div",Se,"First, let "+(0,l.v_)(s.userName)+" know that this review is from you",1)])]),(0,r.Lk)("div",_e,[(0,r.bF)(c,{"dark-scheme":"",label:"Name",placeholder:"Name",value:s.loginDetails.name,modelValue:s.loginDetails.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.loginDetails.name=e})},{alert:(0,r.k6)((function(){return[i.errors.name?((0,r.uX)(),(0,r.CE)("span",ke,"Please fill out this field")):(0,r.Q3)("v-if",!0)]})),_:1},8,["value","modelValue"]),(0,r.bF)(c,{"dark-scheme":"",label:"Job title",placeholder:"Job title",value:s.loginDetails.jobTitle,modelValue:s.loginDetails.jobTitle,"onUpdate:modelValue":t[1]||(t[1]=function(e){return s.loginDetails.jobTitle=e})},{alert:(0,r.k6)((function(){return[i.errors.jobTitle?((0,r.uX)(),(0,r.CE)("span",Ae,"Please fill out this field")):(0,r.Q3)("v-if",!0)]})),_:1},8,["value","modelValue"]),(0,r.bF)(c,{"dark-scheme":"",label:"Email address",placeholder:"Email address",value:s.loginDetails.email,modelValue:s.loginDetails.email,"onUpdate:modelValue":t[2]||(t[2]=function(e){return s.loginDetails.email=e}),type:"email"},{alert:(0,r.k6)((function(){return[i.errors.email?((0,r.uX)(),(0,r.CE)("span",Te,"Invalid e-mail.")):(0,r.Q3)("v-if",!0)]})),_:1},8,["value","modelValue"])]),(0,r.Lk)("div",Ee,[(0,r.bF)(u,{type:"primary","dark-scheme":"",onClick:s.checkUser},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Review as a guest")])})),_:1},8,["onClick"]),(0,r.Lk)("span",null,[t[5]||(t[5]=(0,r.eW)("Do you have a UXfolio account? ")),(0,r.bF)(u,{onClick:s.loginWithUxfolioUser,type:"link","dark-scheme":""},{default:(0,r.k6)((function(){return t[4]||(t[4]=[(0,r.eW)("Log in")])})),_:1},8,["onClick"])])])],64)}],["__scopeId","data-v-0c9a2b6c"]]);var Pe={class:"continue-review"},Ne={key:"transferError",class:"alert"},De={class:"button-container"};function Re(e){return Re="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Re(e)}function Me(){Me=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==Re(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(Re(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function He(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function je(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Re(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Re(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Re(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const Be={name:"ContinueLogin",props:["setLoginModalState","getReview"],components:{InputField:J.A,CtaButton:y.A},data:function(){return{email:null,errors:{email:!1},ReviewLoginModalStateEnum:A.rD}},methods:{continueWithReview:function(){var e,t=this;return(e=Me().mark((function e(){var n,r,o,i,s;return Me().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.errors.email=!t.loginDetails.email||t.checkEmail(t.loginDetails.email),!t.errors.email){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,n=t.$reviewStore.reviewType===A.UT.PORTFOLIO?t.$store.state.view.portfolio._id:t.$store.state.view.project._id,r=t.loginDetails.email,o=encodeURIComponent(r),e.next=9,k.A.get("/api/review/reviewer?email=".concat(o,"&amp;contentId=").concat(n));case 9:i=e.sent,s=He(He({},i.data.review),{},{reviewerDetails:i.data.reviewer}),t.$store.commit("review/updateReview",s),t.$reviewStore.reviews=[s],t.$cookies.set("reviewTour",JSON.stringify({reviewTourDone:!0})),t.$reviewStore.showTour=!1,t.loaded=!0,t.$cookies.set("reviewer",JSON.stringify(i.data.reviewer)),t.closeModal(),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(3),e.t0.response&amp;&amp;409===e.t0.response.status?t.setLoginModalState(A.rD.AUTH_ERROR):t.setLoginModalState(A.rD.LOGIN_ERROR);case 23:case"end":return e.stop()}}),e,null,[[3,20]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Ge(i,r,o,s,a,"next",e)}function a(e){Ge(i,r,o,s,a,"throw",e)}s(void 0)}))})()},startNewReview:function(){this.$reviewStore.showReviewLoginModal=!1,this.setLoginModalState(A.rD.GUEST)},closeModal:function(){this.$reviewStore.showReviewLoginModal=!1},checkEmail:function(e){return!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}},computed:{loginDetails:function(){return this.$reviewStore.loginDetails}}},$e=(0,S.A)(Be,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("input-field"),l=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",Pe,[t[4]||(t[4]=(0,r.Lk)("div",{class:"header-row"},[(0,r.Lk)("div",{class:"title-text"},"Jump back into a review you started earlier.")],-1)),(0,r.bF)(a,{"dark-scheme":"",label:"Your email",placeholder:"Your email",value:s.loginDetails.email,modelValue:s.loginDetails.email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.loginDetails.email=e}),type:"email"},{alert:(0,r.k6)((function(){return[i.errors.email?((0,r.uX)(),(0,r.CE)("span",Ne,"Invalid e-mail.")):(0,r.Q3)("v-if",!0)]})),_:1},8,["value","modelValue"]),(0,r.Lk)("div",De,[(0,r.bF)(l,{type:"primary","dark-scheme":"",onClick:s.continueWithReview},{default:(0,r.k6)((function(){return t[1]||(t[1]=[(0,r.eW)("Start reviewing")])})),_:1},8,["onClick"]),(0,r.Lk)("span",null,[t[3]||(t[3]=(0,r.eW)("Or ")),(0,r.bF)(l,{type:"link",onClick:s.startNewReview,"dark-scheme":""},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Start a new review")])})),_:1},8,["onClick"])])])])}],["__scopeId","data-v-325f3075"]]);var We={class:"button-container"};const Ue={name:"ExistingUserLogin",props:["setLoginModalState","getReview"],components:{CtaButton:y.A},data:function(){return{ReviewLoginModalStateEnum:A.rD,content:{title:"",primaryButtonText:"",secondaryButtonText:""}}},methods:{continueReviewAsExisting:function(){this.$reviewStore.review.reviewerDetails||(this.$reviewStore.review.reviewerDetails=this.user),this.getReview(),this.closeModal()},closeModal:function(){this.$reviewStore.showReviewLoginModal=!1},reviewAsNewGuest:function(){this.$reviewStore.loginDetails={email:null,name:null,jobTitle:null},this.$cookies.remove("reviewer"),this.setLoginModalState(A.rD.GUEST)}},computed:{user:function(){var e=this.$cookies.get("reviewer");if(e)return e},userName:function(){return this.user?this.user.name:"John Doe"},userJobTitle:function(){return this.user?this.user.jobTitle:""}}},ze=(0,S.A)(Ue,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)(r.FK,null,[t[1]||(t[1]=(0,r.Lk)("div",{class:"header-container"},[(0,r.Lk)("div",{class:"header"},"You already started reviewing this portfolio")],-1)),(0,r.Lk)("div",We,[(0,r.bF)(a,{type:"primary","dark-scheme":"",onClick:s.continueReviewAsExisting},{default:(0,r.k6)((function(){return[(0,r.eW)("Continue as "+(0,l.v_)(s.userName),1)]})),_:1},8,["onClick"]),(0,r.bF)(a,{type:"link","dark-scheme":"",onClick:s.reviewAsNewGuest},{default:(0,r.k6)((function(){return t[0]||(t[0]=[(0,r.eW)("Start new review")])})),_:1},8,["onClick"])])],64)}],["__scopeId","data-v-a12eb066"]]),Ve={name:"ReviewLoginModalHandler",props:["show","close","getReview"],components:{FollowUpLogin:se,ExistingUserLogin:ze,ContinueLogin:$e,GuestLogin:Le,AuthErrorLoginModal:ve,LoginErrorModal:he,ModalFrame:z},data:function(){return{ReviewLoginModalStateEnum:A.rD}},mounted:function(){this.checkState()},methods:{checkState:function(){var e=this.$route.query.followup,t=this.$store.state.user;e?this.loginModalState=A.rD.FOLLOW_UP:t&amp;&amp;(this.loginModalState=A.rD.EXISTING_USER)},setLoginModalState:function(e){this.$reviewStore.reviewLoginModalState=e}},computed:{currentModal:function(){switch(this.loginModalState){case A.rD.GUEST:return Le;case A.rD.EXISTING_USER:return ze;case A.rD.GUEST_CONTINUE:return $e;case A.rD.FOLLOW_UP:return se;case A.rD.LOGIN_ERROR:return he;case A.rD.AUTH_ERROR:return ve;default:return Le}},loginModalState:{get:function(){return this.$reviewStore.reviewLoginModalState},set:function(e){this.$reviewStore.reviewLoginModalState=e}}}};function Xe(e){return Xe="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(){Qe=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==Xe(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(Xe(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function Je(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function Ze(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Je(i,r,o,s,a,"next",e)}function a(e){Je(i,r,o,s,a,"throw",e)}s(void 0)}))}}const et={name:"ReviewMode",components:{ReviewLoginModalHandler:(0,S.A)(Ve,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("modal-frame");return n.show?((0,r.uX)(),(0,r.Wv)(a,{key:0,show:n.show,onClose:n.close,"modal-size":"tiny","disable-outside-click":""},{default:(0,r.k6)((function(){return[(0,r.Lk)("div",ce,[((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentModal),{"set-login-modal-state":s.setLoginModalState,"get-review":n.getReview},null,8,["set-login-modal-state","get-review"]))])]})),_:1},8,["show","onClose"])):(0,r.Q3)("v-if",!0)}]]),ReviewWelcomeModal:le,OverviewSuccessModal:R,OverviewModal:T.A,TourModal:_,Overview:a.A,ReviewNav:s.A},data:function(){return{showLoginModal:!1,showWelcomeModal:!1,showSuccessModal:!1,loaded:!1,tourDisabled:!1}},mounted:function(){this.checkForReviewer(),this.isMobileDevice()},methods:{checkForReviewer:function(){var e=this;return Ze(Qe().mark((function t(){var n;return Qe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,E.A.getMyUser();case 3:n=t.sent,e.$store.state.user=n.data.user,e.loaded=!0,e.showWelcomeModal=!0,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),e.handleReviewerCheckFailure();case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},openSuccessModal:function(){this.showSuccessModal=!0},closeSuccessModal:function(){this.showSuccessModal=!1},handleReviewerCheckFailure:function(){var e=this.$cookies.get("reviewer");e?this.initiateReviewForCookieReviewer(e):this.$route.query.followup?this.$reviewStore.showReviewLoginModal=!0:this.showWelcomePromt()},initiateReviewForCookieReviewer:function(e){var t=this;return Ze(Qe().mark((function n(){var r,o,i,s;return Qe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r=t.$reviewStore.reviewType===A.UT.PORTFOLIO?t.$store.state.view.portfolio._id:t.$store.state.view.project._id,o=encodeURIComponent(e.email),n.next=5,k.A.get("/api/review/reviewer?email=".concat(o,"&amp;contentId=").concat(r));case 5:i=n.sent,t.$cookies.set("reviewTour",JSON.stringify({reviewTourDone:!0})),t.$reviewStore.showTour=!1,i.data.review?(s=qe(qe({},i.data.review),{},{reviewerDetails:i.data.reviewer}),t.$store.commit("review/updateReview",s),t.$reviewStore.reviews=[s]):(t.$reviewStore.reviewLoginModalState=A.rD.EXISTING_USER,t.showWelcomeModal=!0),t.loaded=!0,n.next=16;break;case 12:n.prev=12,n.t0=n.catch(0),t.$cookies.remove("reviewer"),t.loaded=!0;case 16:case"end":return n.stop()}}),n,null,[[0,12]])})))()},showWelcomePromt:function(){this.loaded=!0,this.showWelcomeModal=!0},closeLoginModal:function(){this.$reviewStore.showReviewLoginModal=!1},closeWelcomeModal:function(){this.showWelcomeModal=!1},closeOverviewModal:function(){this.showOverviewModal=!1},getReview:function(){var e=this;return Ze(Qe().mark((function t(){var n,r,o,i,s;return Qe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=e.$reviewStore.review.reviewerDetails?e.$reviewStore.review.reviewerDetails.email:e.$store.state.user.email,r=e.$reviewStore.reviewType===A.UT.PORTFOLIO?e.$store.state.view.portfolio._id:e.$store.state.view.project._id,o={reviewType:e.$reviewStore.reviewType,reviewer:n,ownerId:e.$store.state.view.portfolio.ownerId,contentId:r},t.next=6,k.A.post("/api/review",o);case 6:i=t.sent,s=qe(qe({},i.data),{},{reviewerDetails:e.$reviewStore.review.reviewerDetails}),e.$store.commit("review/updateReview",s),e.$reviewStore.reviews=[s],e.loaded=!0,t.next=16;break;case 13:t.prev=13,t.t0=t.catch(0),console.log("Error while fetching reviews",t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})))()},isMobileDevice:function(){(void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")||window.innerWidth&lt;640)&amp;&amp;!localStorage.getItem("uxfolioMobileNotificationProfile")&amp;&amp;(this.$store.state.alertModalMessage={type:"mobile-device",title:"Please, switch to a desktop device",message:"Review mode is optimized for desktop use."},this.$store.state.activeModal="AlertModal")}},computed:{showOverviewModal:{get:function(){return this.$reviewStore.showOverviewModal},set:function(e){this.$reviewStore.showOverviewModal=e}}}},tt=(0,S.A)(et,[["render",function(e,t,n,s,a,l){var c=this,u=(0,r.g2)("ReviewNav"),d=(0,r.g2)("Overview"),p=(0,r.g2)("TourModal"),h=(0,r.g2)("ReviewWelcomeModal"),f=(0,r.g2)("ReviewLoginModalHandler"),m=(0,r.g2)("OverviewModal"),g=(0,r.g2)("OverviewSuccessModal");return a.loaded?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.bF)(u,{"review-mode":!0,showOverviewModal:function(){return c.showOverviewModal=!0}},null,8,["showOverviewModal"]),(0,r.RG)(e.$slots,"default"),(0,r.bF)(d,{"review-mode":!0}),(0,r.bF)(o.Transition,{name:"fade-in"},{default:(0,r.k6)((function(){return[(0,r.bF)(p)]})),_:1}),(0,r.Q3)(" Modal for logging in the user "),(0,r.bF)(h,{show:a.showWelcomeModal,close:l.closeWelcomeModal,"get-review":l.getReview},null,8,["show","close","get-review"]),(0,r.bF)(f,{show:e.$reviewStore.showReviewLoginModal,close:l.closeLoginModal,getReview:l.getReview},null,8,["show","close","getReview"]),(0,r.bF)(m,{show:l.showOverviewModal,close:l.closeOverviewModal,openSuccessModal:l.openSuccessModal},null,8,["show","close","openSuccessModal"]),(0,r.bF)(g,{show:a.showSuccessModal,close:l.closeSuccessModal},null,8,["show","close"])])):(0,r.Q3)("v-if",!0)}]])},17073:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;A});var r=n(20641),o=n(90033),i=["src"],s={class:"comment-details"},a={class:"comment-user-and-text"},l={class:"comment-user"},c={class:"name"},u={class:"time"},d={class:"comment-text"},p={key:3,class:"edit-container-wrapper"};var h=n(910),f=n(70286),m=n(53751);const g={name:"MiniFab",props:["iconName","handleClick","type"],components:{Icon:h.A}};var v=n(66262);const y=(0,v.A)(g,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",{class:"mini-fab-container",onClick:t[0]||(t[0]=(0,m.withModifiers)((function(){return n.handleClick&amp;&amp;n.handleClick.apply(n,arguments)}),["stop"]))},[(0,r.Lk)("div",{class:(0,o.C4)(["icon-wrapper",n.type])},[(0,r.bF)(l,{"icon-name":n.iconName},null,8,["icon-name"])],2)])}],["__scopeId","data-v-7f3d886c"]]);var b=n(65498);function w(e){return w="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},w(e)}function S(){S=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var _={};c(_,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(_=A);var T=b.prototype=v.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==w(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(w(t)+" is not iterable")}return y.prototype=b,o(T,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function _(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const k={name:"CommentComponent",props:["comment","resolveComment","updateComment","deleteComment","edit","index"],components:{MiniFab:y,UserImagePlaceholder:f.A,Icon:h.A},data:function(){return{show:!1,hovering:!1}},methods:{handleCommentResolve:function(){this.resolveComment&amp;&amp;this.resolveComment()},saveReview:function(){var e,t=this;return(e=S().mark((function e(){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.A.post("/api/review/"+t.$reviewStore.review._id+"/"+t.$reviewStore.review.contentId,t.$reviewStore.review);case 3:t.saved=!0,t.saving=!1,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Failed to save review",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){_(i,r,o,s,a,"next",e)}function a(e){_(i,r,o,s,a,"throw",e)}s(void 0)}))})()}},computed:{user:function(){var e=this,t=this.$reviewStore.receiver?this.$store.state.user:this.$store.state.view.user;if(this.comment.fromUserId){if(t&amp;&amp;this.comment.fromUserId===t._id)return{name:t.name,image:t.image};var n=this.$reviewStore.reviews.map((function(e){return e.reviewerDetails})).find((function(t){return t._id===e.comment.fromUserId}));return n||this.$reviewStore.review.reviewerDetails}return this.$reviewStore.review.reviewerDetails},isReceiverMode:function(){return this.$reviewStore.receiver},isResolved:function(){return this.comment.resolved}}},A=(0,v.A)(k,[["render",function(e,t,n,h,f,m){var g=(0,r.g2)("UserImagePlaceholder"),v=(0,r.g2)("MiniFab");return(0,r.uX)(),(0,r.CE)("div",{ref:"comment"+n.index,class:(0,o.C4)(["comment",{edit:n.edit,resolved:m.isResolved}]),onMouseenter:t[0]||(t[0]=function(e){return f.hovering=!0}),onMouseleave:t[1]||(t[1]=function(e){return f.hovering=!1})},[m.user.image&amp;&amp;m.user.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"profile-picture",alt:"userimage",src:m.user.image.url},null,8,i)):((0,r.uX)(),(0,r.Wv)(g,{key:1,name:m.user.name,size:"small"},null,8,["name"])),(0,r.Lk)("div",s,[(0,r.Lk)("div",a,[(0,r.Lk)("div",l,[(0,r.Lk)("div",c,(0,o.v_)(m.user.name),1),(0,r.Lk)("div",u,(0,o.v_)(e.DateTimeHelper.getMoment(n.comment.createdAt)),1)]),(0,r.Lk)("div",d,(0,o.v_)(n.comment.text),1)]),n.comment.label?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["label",n.comment.label.toLowerCase()])},(0,o.v_)(n.comment.label),3)):(0,r.Q3)("v-if",!0)]),m.isReceiverMode&amp;&amp;n.resolveComment?((0,r.uX)(),(0,r.Wv)(v,{key:2,class:"resolve-check","icon-name":m.isResolved?"history":"check","handle-click":m.handleCommentResolve},null,8,["icon-name","handle-click"])):(0,r.Q3)("v-if",!0),n.edit?((0,r.uX)(),(0,r.CE)("div",p,[(0,r.bF)(v,{"icon-name":"edit","handle-click":n.updateComment},null,8,["handle-click"]),(0,r.bF)(v,{type:"error","icon-name":"delete","handle-click":n.deleteComment},null,8,["handle-click"])])):(0,r.Q3)("v-if",!0)],34)}],["__scopeId","data-v-65617866"]])},57175:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;F});var r=n(20641);var o=n(73455),i=n(90033),s=["id"],a={class:"sticky"},l={key:0,ref:"reaction",class:"reaction-fab-container"},c={class:"reaction-in-fab-container"},u={class:"reaction-wrapper"},d=["src"],p={key:0},h={key:1,ref:"comments",class:"comments-fab-container"},f={class:"comment-in-fab"},m={key:0,class:"comments-container"},g={class:"header-row"},v={ref:"commentList",class:"comments"};var y=n(84308),b=n(910),w=n(17073),S=n(26700),_=n(87355),k=n(64245),A=n(7615),T=n(95889),E=n(65498),x=n(74256);function C(e){return C="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},C(e)}function O(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return I(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}function L(){L=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(N([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==C(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(C(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function P(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const N={name:"ReceiverFabs",props:["section","hovering","invertedIndex"],components:{Fab:y.A,Icon:b.A,Comment:w.A},data:function(){return{comments:!1,show:!1,listenerMounted:!1,reactions:[{name:"like",value:"&amp;#128077",img:S},{name:"heart",value:"&amp;#128150",img:_},{name:"clap",value:"&amp;#128079",img:k},{name:"bulb",value:"&amp;#128161",img:A},{name:"check",value:"&amp;#x2705",img:T}],sectionReaction:{sectionId:null,reaction:null,comments:[],pageData:{shortId:null,name:null}}}},mounted:function(){var e=this;this.emitter.on("open-comment",(function(t){e.comments=t===e.section._id}))},methods:{showComments:function(){this.comments=!this.comments,this.updating=null,this.mountOutsideClick()},mountOutsideClick:function(){this.comments&amp;&amp;!this.listenerMounted?(this.listenerMounted=!0,document.addEventListener("click",this.clickOutside,!0)):(this.listenerMounted=!1,document.removeEventListener("click",this.clickOutside,!0))},clickOutside:function(){this.comments&amp;&amp;this.$refs.comments&amp;&amp;!this.$refs.comments.contains(event.target)&amp;&amp;this.showComments()},getTooltip:function(e,t){return t.join(", ")+" reacted with :"+this.reactions.find((function(t){return t.value===e})).name+":"},getReactionImage:function(e){return this.reactions.find((function(t){return t.value===e})).img},resolveComment:function(e){var t,n=this;return(t=L().mark((function t(){var r,o,i;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.$reviewStore.reviews.find((function(t){return t.reviewerDetails._id===e.fromUserId})),(o=r.sectionReactions.find((function(e){return e.sectionId===n.section._id})))&amp;&amp;(i=o.comments.find((function(t){return t._id===e._id})))&amp;&amp;(i.resolved=!i.resolved),t.next=5,E.A.post("/api/review/".concat(r._id,"/").concat(r.contentId),r);case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(e){P(i,r,o,s,a,"next",e)}function a(e){P(i,r,o,s,a,"throw",e)}s(void 0)}))})()}},computed:{sectionReactions:function(){var e=this,t={};return this.$reviewStore.reviews.forEach((function(n){n.sectionReactions.forEach((function(r){r.sectionId===e.section._id&amp;&amp;null!=r.reaction&amp;&amp;(t.hasOwnProperty(r.reaction)?(t[r.reaction].number+=1,t[r.reaction].reviewers.push(n.reviewerDetails.name)):t[r.reaction]={number:1,reviewers:[n.reviewerDetails.name]})}))})),t},sectionComments:function(){var e=this;return this.allReviewsReactions.filter((function(t){return t.sectionId===e.section._id})).map((function(e){return e.comments})).flat().filter((function(t){var n=e.$reviewStore.filters.showResolved||!t.resolved,r=e.$reviewStore.filters.activeFilter===x.cj.ALL_CATEGORIES||t.label===e.$reviewStore.filters.activeFilter;return n&amp;&amp;r}))},allReviewsReactions:function(){return this.$reviewStore.reviews.map((function(e){return e.sectionReactions})).flat()},sortedComments:function(){return O(this.sectionComments).sort((function(e,t){return new Date(e.createdAt)-new Date(t.createdAt)}))},isThereStickyHeader:function(){return this.$store.state.view.stickedHeader}}};var D=n(66262);const R=(0,D.A)(N,[["render",function(e,t,n,o,y,b){var w=(0,r.g2)("fab"),S=(0,r.g2)("Icon"),_=(0,r.g2)("Comment");return e.$reviewStore.displayUI?((0,r.uX)(),(0,r.CE)("div",{key:0,id:n.section._id,class:(0,i.C4)(["review-fabs",n.section.type,{"sticky-header":b.isThereStickyHeader}]),style:(0,i.Tr)({zIndex:n.invertedIndex})},[(0,r.Lk)("div",a,[Object.values(b.sectionReactions).length?((0,r.uX)(),(0,r.CE)("div",l,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(b.sectionReactions,(function(e,t){return(0,r.uX)(),(0,r.Wv)(w,{key:t,icon:null,tooltip:b.getTooltip(t,e.reviewers),"tooltip-position":"top"},{reaction:(0,r.k6)((function(){return[(0,r.Lk)("div",c,[(0,r.Lk)("div",u,[(0,r.Lk)("img",{src:b.getReactionImage(t),alt:"reaction"},null,8,d)]),e.number&gt;1?((0,r.uX)(),(0,r.CE)("span",p,(0,i.v_)(e.number),1)):(0,r.Q3)("v-if",!0)])]})),_:2},1032,["tooltip"])})),128))],512)):(0,r.Q3)("v-if",!0),b.sectionComments.length?((0,r.uX)(),(0,r.CE)("div",h,[(0,r.bF)(w,{icon:null,onClick:b.showComments,tooltip:"Comments","tooltip-position":"top"},{comment:(0,r.k6)((function(){return[(0,r.Lk)("div",f,[(0,r.bF)(S,{"icon-name":"chat"}),(0,r.Lk)("span",null,(0,i.v_)(b.sectionComments.length),1)])]})),_:1},8,["onClick"]),y.comments?((0,r.uX)(),(0,r.CE)("div",m,[(0,r.Lk)("div",g,[t[0]||(t[0]=(0,r.Lk)("div",null,"Comments",-1)),(0,r.bF)(S,{iconName:"close",onClick:b.showComments},null,8,["onClick"])]),(0,r.Lk)("div",v,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(b.sortedComments,(function(e,t){return(0,r.uX)(),(0,r.Wv)(_,{key:e.label,comment:e,"resolve-comment":function(){return b.resolveComment(e)},edit:!1,index:t},null,8,["comment","resolve-comment","index"])})),128))],512)])):(0,r.Q3)("v-if",!0)],512)):(0,r.Q3)("v-if",!0)])],14,s)):(0,r.Q3)("v-if",!0)}]]);n(88623);const M={name:"FabWrapper",components:{ReceiverFabs:R,ReviewFabs:o.A},props:["section","hovering","invertedIndex"],computed:{isReceiverMode:function(){return this.$reviewStore.receiver||this.$reviewStore.review&amp;&amp;this.$reviewStore.review.submitted}}},F=(0,D.A)(M,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ReceiverFabs"),l=(0,r.g2)("ReviewFabs");return s.isReceiverMode?((0,r.uX)(),(0,r.Wv)(a,{key:0,invertedIndex:n.invertedIndex,hovering:n.hovering,section:n.section},null,8,["invertedIndex","hovering","section"])):((0,r.uX)(),(0,r.Wv)(l,{key:1,invertedIndex:n.invertedIndex,hovering:n.hovering,section:n.section},null,8,["invertedIndex","hovering","section"]))}]])},47875:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;Fe});var r=n(20641),o=n(90033),i={key:0,class:"body-row"},s={key:0,class:"overviews"};var a=n(910),l=n(57618),c={class:"receiver-overview-container"},u={key:0,class:"review-selector"},d={key:1,class:"overview-tab"},p={key:4,class:"empty-state-overlay"},h={class:"text-with-icon"};var f=n(97827),m=n(9168),g=n(86387),v={class:"follow-up-container"},y={key:0,class:"follow-ups"},b={key:2,class:"input-row"};var w=n(52630),S=n(66242),_=n(98005),k=n(65498),A=n(17073),T=n(68665);const E=n.p+"src/assets/images/message..svg";function x(e){return x="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},x(e)}function C(){C=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(N([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==x(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(x(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function O(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const I={name:"FollowUps",props:["isEmpty"],components:{ReceiverEmptyState:T.A,CommentComponent:A.A,Icon:a.A,EditorContent:w.$Z},data:function(){return{text:"",editor:null,inputFocused:!1,MessagesIllu:E}},mounted:function(){var e=this;this.editor=new w.KE({content:this.text,extensions:[S.A,_.A.configure({placeholder:"Type your comment here",showOnlyWhenEditable:!0,showOnlyCurrent:!0})],onUpdate:function(t){t.getJSON,t.getHTML;e.applyTextEdit(e.editor.getText())},onBlur:function(){e.inputFocused=!1},onFocus:function(){e.inputFocused=!0}})},methods:{sendFollowup:function(){var e,t=this;return(e=C().mark((function e(){var n;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$reviewStore.review.followUps.push({createdAt:Date.now(),fromUserId:t.loggedInUser._id,text:t.text}),n="/api/review/"+t.$reviewStore.review._id+"/"+t.$reviewStore.review.contentId,t.receiverMode?n+="?followup=owner":n+="?followup=reviewer",e.next=5,k.A.post(n,t.$reviewStore.review);case 5:t.text="",t.editor.commands.clearContent();case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){O(i,r,o,s,a,"next",e)}function a(e){O(i,r,o,s,a,"throw",e)}s(void 0)}))})()},applyTextEdit:function(e){this.text=e}},computed:{review:function(){return this.$reviewStore.review},loggedInUser:function(){return this.$reviewStore.receiver?this.$store.state.user:this.$reviewStore.review.reviewerDetails},receiverMode:function(){return this.$reviewStore.receiver},ownerUserName:function(){return this.$store.state.view.user?this.$store.state.view.user.name:"John Doe"}}};var L=n(66262);const P=(0,L.A)(I,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("CommentComponent"),c=(0,r.g2)("ReceiverEmptyState"),u=(0,r.g2)("EditorContent"),d=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",v,[a.review.followUps.length?((0,r.uX)(),(0,r.CE)("div",y,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.review.followUps,(function(e){return(0,r.uX)(),(0,r.Wv)(l,{key:e,comment:e,edit:!1},null,8,["comment"])})),128))])):((0,r.uX)(),(0,r.Wv)(c,{key:1,title:"No follow-up messages yet","body-text":a.receiverMode?"Start a follow-up conversation with "+a.ownerUserName+" and we will notify them about it.":"Write a follow-up message to your reviewer and we will notify them about it",illu:s.MessagesIllu},null,8,["body-text","illu"])),n.isEmpty?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",b,[(0,r.bF)(u,{editor:s.editor,class:(0,o.C4)("ufo--text-area-comment")},null,8,["editor"]),(0,r.bF)(d,{class:(0,o.C4)({disabled:!this.text}),"icon-name":"send",onClick:a.sendFollowup},null,8,["class","onClick"])]))])}],["__scopeId","data-v-77b9a037"]]);var N={class:"comments-tab"},D={key:0,class:"filter-container"},R={class:"footer-option-resolved"},M=["onClick"],F={class:"page-name"},H={key:0,class:"comments-container"},j={key:1},G={class:"filter-container"},B={class:"footer-option-resolved"};n(94761);var $=n(11434),W=n(62269),U=n(74256),z={class:"reaction-display-container"},V={class:"reaction-wrapper"},X={class:"image-wrapper"},K=["src"],q={class:"name"};var Y=n(26700),Q=n(87355),J=n(64245),Z=n(7615),ee=n(95889);const te={name:"DisplayReaction",props:["reaction"],data:function(){return{reactions:[{name:"like",value:"&amp;#128077",img:Y},{name:"heart",value:"&amp;#128150",img:Q},{name:"clap",value:"&amp;#128079",img:J},{name:"bulb",value:"&amp;#128161",img:Z},{name:"check",value:"&amp;#x2705",img:ee}]}},methods:{getReactionImage:function(){var e=this;return this.reactions.find((function(t){return t.value===e.reaction})).img}},computed:{user:function(){var e=this,t=this.$reviewStore.receiver?this.$store.state.user:this.$store.state.view.user;if(this.reaction.fromUserId){if(t&amp;&amp;this.reaction.fromUserId===t._id)return{name:t.name,image:t.image};var n=this.$reviewStore.reviews.map((function(e){return e.reviewerDetails})).find((function(t){return t._id===e.comment.fromUserId}));return n||this.$reviewStore.review.reviewerDetails}return this.$reviewStore.review.reviewerDetails}}},ne=(0,L.A)(te,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",z,[(0,r.Lk)("div",V,[(0,r.Lk)("div",X,[(0,r.Lk)("img",{src:a.getReactionImage(),alt:"reaction"},null,8,K)])]),(0,r.Lk)("div",q,[(0,r.Lk)("span",null,(0,o.v_)(a.user.name),1),t[0]||(t[0]=(0,r.eW)(" added a reaction"))])])}],["__scopeId","data-v-32404009"]]),re=n.p+"src/assets/images/empty-comments..svg";function oe(e){return oe="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ie(e){return function(e){if(Array.isArray(e))return se(e)}(e)||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}function ae(){ae=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==oe(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(oe(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function le(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){de(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function de(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=oe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=oe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pe={name:"CommentsComponent",props:["isEmpty"],components:{ReceiverEmptyState:T.A,DisplayReaction:ne,ToggleSwitch:W.A,DropDownSelect:$.A,CommentComponent:A.A,Icon:a.A},data:function(){return{openedPage:"",filter:{options:Object.values(U.cj)},EmptyCommentsIllu:re,ReviewCommentsFilterEnum:U.cj}},methods:{openPageGroup:function(e){this.openedPage===e?this.openedPage="":this.openedPage=e},commentsLengthByPage:function(e){var t=this;return this.filteredSectionReactions.map((function(e){var n=[],r="";return e.comments.map((function(t){r=t.fromUserId,n.push(ue(ue({},t),{},{page:e.pageData.shortId,sectionData:e.sectionId,type:"comment"}))})),e.reaction&amp;&amp;t.activeFilter===U.cj.ALL_CATEGORIES&amp;&amp;n.push({fromUserId:r,reaction:e.reaction,page:e.pageData.shortId,sectionData:e.sectionId,type:"reaction"}),n})).flat().filter((function(t){return t.page===e}))},resolveComment:function(e){var t,n=this;return(t=ae().mark((function t(){var r,o;return ae().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=n.$reviewStore.review.sectionReactions.find((function(t){return t.comments.some((function(t){return t._id===e._id}))})))&amp;&amp;(o=r.comments.find((function(t){return t._id===e._id})))&amp;&amp;(o.resolved=!o.resolved),t.next=4,k.A.post("/api/review/".concat(n.$reviewStore.review._id,"/").concat(n.$reviewStore.review.contentId),n.$reviewStore.review);case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(e){le(i,r,o,s,a,"next",e)}function a(e){le(i,r,o,s,a,"throw",e)}s(void 0)}))})()},navigateToReaction:function(e){var t=this,n=300,r=window.location.pathname,o=!window.location.pathname.includes("/p/"),i=this.$store.state.view.portfolio.shortId,s=this.receiverMode?"/myreviews/":"/review/";r.includes(e.page)||("home"===e.page?o||(n=1e3,this.$router.push(s+i)):(n=1500,this.$router.push(s+"p/"+i+"/"+e.page))),setTimeout((function(){var n=document.getElementById(e.sectionData);e.reaction||t.emitter.emit("open-comment",e.sectionData),n&amp;&amp;n.scrollIntoView({behavior:"smooth"})}),n)},changeFilter:function(e){this.activeFilter=e}},computed:{availablePages:function(){var e=this,t=[],n=new Set;return this.filteredSectionReactions.forEach((function(r){!n.has(r.pageData.shortId)&amp;&amp;(r.comments.length||r.reaction&amp;&amp;e.activeFilter===U.cj.ALL_CATEGORIES)&amp;&amp;(n.add(r.pageData.shortId),t.push(r.pageData))})),t.length&amp;&amp;(this.openedPage=t[0].shortId),t},filteredSectionReactions:function(){var e=this;return this.$reviewStore.review.sectionReactions.filter((function(t){return e.availableSectionIds.includes(t.sectionId)})).map((function(t){var n=t.comments.filter((function(t){var n=e.$reviewStore.filters.showResolved||!t.resolved,r=e.$reviewStore.filters.activeFilter===U.cj.ALL_CATEGORIES||t.label===e.$reviewStore.filters.activeFilter;return n&amp;&amp;r}));return ue(ue({},t),{},{comments:n})}))},receiverMode:function(){return this.$reviewStore.receiver},availableSectionIds:function(){return[].concat(ie(this.$store.state.view.portfolioPages.map((function(e){return e.sections.map((function(e){return e._id}))})).flat()),["portfolio-hero","footer"])},hasResolvedComments:function(){return this.$reviewStore.review.sectionReactions.length},showResolved:{get:function(){return this.$reviewStore.filters.showResolved},set:function(e){this.$reviewStore.filters.showResolved=e}},activeFilter:{get:function(){return this.$reviewStore.filters.activeFilter},set:function(e){this.$reviewStore.filters.activeFilter=e}}}},he=(0,L.A)(pe,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("ToggleSwitch"),c=(0,r.g2)("DropDownSelect"),u=(0,r.g2)("Icon"),d=(0,r.g2)("CommentComponent"),p=(0,r.g2)("DisplayReaction"),h=(0,r.g2)("ReceiverEmptyState");return(0,r.uX)(),(0,r.CE)("div",N,[a.availablePages.length?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[n.isEmpty?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",D,[(0,r.bF)(c,{icon:"filters",selected:a.activeFilter,options:s.filter.options,onClick:t[1]||(t[1]=function(e){return a.changeFilter(e)}),"dark-scheme":""},{"footer-option":(0,r.k6)((function(){return[(0,r.Lk)("div",R,[t[4]||(t[4]=(0,r.Lk)("div",null,"Show resolved",-1)),(0,r.bF)(l,{value:a.showResolved,modelValue:a.showResolved,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.showResolved=e}),"dark-scheme":""},null,8,["value","modelValue"])])]})),_:1},8,["selected","options"])])),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.availablePages,(function(e){return(0,r.uX)(),(0,r.CE)("div",{class:"page-group",key:e.shortId},[(0,r.Lk)("div",{onClick:function(){return a.openPageGroup(e.shortId)},class:"page-details"},[(0,r.Lk)("div",F,(0,o.v_)(e.name)+" ("+(0,o.v_)(a.commentsLengthByPage(e.shortId).length)+")",1),(0,r.bF)(u,{"icon-name":s.openedPage===e.shortId?"chevron-up":"chevron-down"},null,8,["icon-name"])],8,M),s.openedPage===e.shortId?((0,r.uX)(),(0,r.CE)("div",H,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.commentsLengthByPage(e.shortId),(function(e){return(0,r.uX)(),(0,r.CE)(r.FK,null,["comment"===e.type?((0,r.uX)(),(0,r.Wv)(d,{key:0,comment:e,edit:!1,onClick:function(){return a.navigateToReaction(e)},"resolve-comment":function(){return a.resolveComment(e)}},null,8,["comment","onClick","resolve-comment"])):((0,r.uX)(),(0,r.Wv)(p,{key:1,reaction:e.reaction,onClick:function(){return a.navigateToReaction(e)}},null,8,["reaction","onClick"]))],64)})),256))])):(0,r.Q3)("v-if",!0)])})),128))],64)):a.hasResolvedComments?((0,r.uX)(),(0,r.CE)("div",j,[(0,r.Lk)("div",G,[(0,r.bF)(c,{icon:"filters",selected:a.activeFilter,options:s.filter.options,onClick:t[3]||(t[3]=function(e){return a.changeFilter(e)}),"dark-scheme":""},{"footer-option":(0,r.k6)((function(){return[(0,r.Lk)("div",B,[t[5]||(t[5]=(0,r.Lk)("div",null,"Show resolved",-1)),(0,r.bF)(l,{value:a.showResolved,modelValue:a.showResolved,"onUpdate:modelValue":t[2]||(t[2]=function(e){return a.showResolved=e}),"dark-scheme":""},null,8,["value","modelValue"])])]})),_:1},8,["selected","options"])]),(0,r.bF)(h,{title:a.activeFilter===s.ReviewCommentsFilterEnum.ALL_CATEGORIES?"All comments have been resolved":"There are no comments in this category",illu:s.EmptyCommentsIllu},null,8,["title","illu"])])):((0,r.uX)(),(0,r.Wv)(h,{key:2,title:"The selected reviewer hasnâ€™t added any comments",illu:s.EmptyCommentsIllu},null,8,["illu"]))])}],["__scopeId","data-v-99697306"]]);var fe=n(53751),me={class:"ufo--dd-selector"},ge={class:"user-value"},ve=["src"],ye={class:"user-details"},be={class:"user-name"},we={class:"user-job-title"},Se={key:0,class:"ufo--dd-options"},_e=["onClick"],ke={class:"user-value"},Ae=["src"],Te={class:"user-details"},Ee={class:"user-name"},xe={class:"user-job-title"};var Ce=n(69183);const Oe={name:"UserSelectDropdown",inheritAttrs:!1,components:{UserImagePlaceholder:n(70286).A,Icon:a.A},props:{label:{type:String,default:null},selected:{type:Object,default:null},options:{type:Array,default:null},darkScheme:{type:Boolean,default:!1}},data:function(){return{showOptions:!1,dropdownSelectIcon:Ce}},methods:{toggleDropDown:function(){this.showOptions=!this.showOptions},selectOption:function(e){this.showOptions=!1,this.$emit("click",e)}}},Ie=(0,L.A)(Oe,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("UserImagePlaceholder"),c=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["ufo--dd-select",{dark:n.darkScheme}]),tabindex:"1",onBlur:t[1]||(t[1]=function(e){return s.showOptions=!1})},[n.label?((0,r.uX)(),(0,r.CE)("label",{key:0,class:(0,o.C4)({open:s.showOptions})},(0,o.v_)(n.label),3)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",me,[(0,r.Lk)("div",{class:(0,o.C4)(["ufo--dd-selected",{open:s.showOptions}]),onClick:t[0]||(t[0]=function(e){return a.toggleDropDown()})},[(0,r.Lk)("div",ge,[n.selected.image&amp;&amp;n.selected.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"profile-picture",alt:"userimage",src:n.selected.image.url},null,8,ve)):((0,r.uX)(),(0,r.Wv)(l,{key:1,name:n.selected.name,size:"small"},null,8,["name"])),(0,r.Lk)("div",ye,[(0,r.Lk)("div",be,(0,o.v_)(n.selected.name),1),(0,r.Lk)("div",we,(0,o.v_)(n.selected.jobTitle),1)])]),(0,r.bF)(c,{"icon-name":"dropdown-select"})],2),(0,r.bF)(fe.Transition,{name:"drop-down"},{default:(0,r.k6)((function(){return[s.showOptions?((0,r.uX)(),(0,r.CE)("div",Se,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.options,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,onClick:function(t){return a.selectOption(e)},class:(0,o.C4)(["ufo--dd-option",{selected:n.selected===e.email}])},[(0,r.Lk)("div",ke,[e.image&amp;&amp;e.image.url?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"profile-picture",alt:"userimage",src:e.image.url},null,8,Ae)):((0,r.uX)(),(0,r.Wv)(l,{key:1,name:e.name,size:"small"},null,8,["name"])),(0,r.Lk)("div",Te,[(0,r.Lk)("div",Ee,(0,o.v_)(e.name),1),(0,r.Lk)("div",xe,(0,o.v_)(e.jobTitle),1)])]),n.selected===e.email?((0,r.uX)(),(0,r.Wv)(c,{key:0,"icon-name":"checkmark"})):(0,r.Q3)("v-if",!0)],10,_e)})),128))])):(0,r.Q3)("v-if",!0)]})),_:1})])],34)}],["__scopeId","data-v-734c8346"]]);function Le(e){return Le="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Le(e)}function Pe(){Pe=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==Le(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(Le(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function Ne(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function De(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Ne(i,r,o,s,a,"next",e)}function a(e){Ne(i,r,o,s,a,"throw",e)}s(void 0)}))}}const Re={name:"ReceiverOverview",props:["isEmpty"],components:{CommentsComponent:he,FollowUps:P,TabItem:g.A,TabBar:m.A,CtaButton:f.A,OverviewField:l.A,UserSelectDropdown:Ie,Icon:a.A},data:function(){return{overViewTabs:[{name:"Overview",key:"overview"},{name:"Comments",key:"comments"},{name:"Follow-up",key:"followup"}],activeTab:"overview",selectedReviewer:null,copied:!1}},mounted:function(){this.selectedReviewer=this.reviewer,this.setRead(),this.$route.query.followup&amp;&amp;(this.activeTab="followup")},methods:{copyLink:function(){var e=this;return De(Pe().mark((function t(){var n;return Pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=window.location.origin+"/review/"+e.$store.state.portfolio.shortId,t.next=4,navigator.clipboard.writeText(n);case 4:e.copied=!0,setTimeout((function(){e.copied=!1}),2e3),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},changeTab:function(e){this.activeTab=e},updateSelectedReview:function(e){this.selectedReviewer=e,this.$reviewStore.review=this.$reviewStore.reviews.find((function(t){return t.reviewer===e.email})),this.setRead()},setRead:function(){var e=this;return De(Pe().mark((function t(){var n;return Pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.$reviewStore.review.read){t.next=12;break}if(e.$reviewStore.review.read=!0,!e.$reviewStore.review._id||!e.$reviewStore.review.contentId){t.next=12;break}return n="/api/review/"+e.$reviewStore.review._id+"/"+e.$reviewStore.review.contentId,t.prev=4,t.next=7,k.A.post(n,e.$reviewStore.review);case 7:t.next=12;break;case 9:t.prev=9,t.t0=t.catch(4),console.log("error while setting read",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))()}},computed:{reviews:function(){return this.$reviewStore.reviews},reviewer:function(){return this.$reviewStore.review.reviewerDetails},receiverMode:function(){return this.$reviewStore.receiver}}},Me={name:"OverviewComponent",props:["reviewMode","isEmpty"],components:{ReceiverOverview:(0,L.A)(Re,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("UserSelectDropdown"),f=(0,r.g2)("TabItem"),m=(0,r.g2)("TabBar"),g=(0,r.g2)("OverviewField"),v=(0,r.g2)("CommentsComponent"),y=(0,r.g2)("FollowUps"),b=(0,r.g2)("Icon"),w=(0,r.g2)("CtaButton");return(0,r.uX)(),(0,r.CE)("div",c,[a.receiverMode?((0,r.uX)(),(0,r.CE)("div",u,[s.selectedReviewer?((0,r.uX)(),(0,r.Wv)(l,{key:0,selected:s.selectedReviewer,options:a.reviews.map((function(e){return e.reviewerDetails})),onClick:t[0]||(t[0]=function(e){return a.updateSelectedReview(e)}),"dark-scheme":""},null,8,["selected","options"])):(0,r.Q3)("v-if",!0)])):(0,r.Q3)("v-if",!0),(0,r.bF)(m,{"dark-scheme":"",class:"tab-bar"},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.overViewTabs,(function(e){return(0,r.uX)(),(0,r.Wv)(f,{key:e.key,label:e.name,active:e.key===s.activeTab,onClick:function(t){return a.changeTab(e.key)},"dark-scheme":""},null,8,["label","active","onClick"])})),128))]})),_:1}),"overview"===s.activeTab?((0,r.uX)(),(0,r.CE)("div",d,[(0,r.bF)(g,{"is-input":!1,fieldToUpdate:"positiveAspects",title:"Positive aspects",icon:"positive-aspect"}),(0,r.bF)(g,{"is-input":!1,fieldToUpdate:"negativeAspects",title:"Areas of improvement",icon:"areas-of-improvement"})])):(0,r.Q3)("v-if",!0),"comments"===s.activeTab?((0,r.uX)(),(0,r.Wv)(v,{key:2,isEmpty:n.isEmpty},null,8,["isEmpty"])):(0,r.Q3)("v-if",!0),"followup"===s.activeTab?((0,r.uX)(),(0,r.Wv)(y,{key:3,isEmpty:this.isEmpty},null,8,["isEmpty"])):(0,r.Q3)("v-if",!0),n.isEmpty&amp;&amp;"followup"!==s.activeTab?((0,r.uX)(),(0,r.CE)("div",p,[t[1]||(t[1]=(0,r.Lk)("div",{class:"text-wrapper"},[(0,r.Lk)("div",{class:"title-text"},"Wait! This is just an example review"),(0,r.Lk)("div",{class:"subtitle-text"},"Get real reviews by sharing your review link with mentors and fellow designers.")],-1)),(0,r.bF)(w,{size:"small","dark-scheme":"",type:"primary",onClick:a.copyLink},{default:(0,r.k6)((function(){return[(0,r.Lk)("div",h,[(0,r.bF)(b,{"icon-name":"link"}),(0,r.eW)(" "+(0,o.v_)(s.copied?"Copied!":"Copy review link"),1)])]})),_:1},8,["onClick"])])):(0,r.Q3)("v-if",!0)])}],["__scopeId","data-v-24e378e9"]]),OverviewField:l.A,Icon:a.A},mounted:function(){(this.$route.query.followup||this.$route.query.reviewer)&amp;&amp;(this.isOpen=!0)},computed:{positivePlaceholder:function(){return"Write about what you like about this portfolio focusing on the following areas:\n- look &amp; feel\n- information architecture\n- selection of projects\n- quality of visuals"},negativePlaceholder:function(){return"Write about what could be improved about this portfolio focusing on the following areas:\n- look &amp; feel\n- information architecture\n- selection of projects\n- quality of visuals"},isReceiverMode:function(){return this.$reviewStore.receiver||this.$reviewStore.review&amp;&amp;this.$reviewStore.review.submitted},isOpen:{get:function(){return this.$reviewStore.showGeneralOverview},set:function(e){this.$reviewStore.showGeneralOverview=e}}}},Fe=(0,L.A)(Me,[["render",function(e,t,n,a,l,c){var u=(0,r.g2)("Icon"),d=(0,r.g2)("OverviewField"),p=(0,r.g2)("ReceiverOverview");return e.$reviewStore.displayUI?((0,r.uX)(),(0,r.CE)("div",{key:0,id:"overview",ref:"overview",class:(0,o.C4)(["overview-container",{isOpen:c.isOpen},{receiver:c.isReceiverMode}])},[(0,r.Lk)("div",{class:(0,o.C4)(["header-row",{isOpen:c.isOpen}]),onClick:t[0]||(t[0]=function(e){return c.isOpen=!c.isOpen})},[(0,r.eW)((0,o.v_)(e.$reviewStore.receiver?"Read reviews":"Overview")+" ",1),(0,r.bF)(u,{"icon-name":c.isOpen?"chevron-down":"chevron-up"},null,8,["icon-name"])],2),c.isOpen?((0,r.uX)(),(0,r.CE)("div",i,[c.isReceiverMode?((0,r.uX)(),(0,r.Wv)(p,{key:1,"is-empty":this.isEmpty},null,8,["is-empty"])):((0,r.uX)(),(0,r.CE)("div",s,[(0,r.bF)(d,{"is-input":!0,fieldToUpdate:"positiveAspects",title:"Positive aspects",icon:"positive-aspect",placeholder:c.positivePlaceholder},null,8,["placeholder"]),(0,r.bF)(d,{"is-input":!0,fieldToUpdate:"negativeAspects",title:"Areas of improvement",icon:"areas-of-improvement",placeholder:c.negativePlaceholder},null,8,["placeholder"])]))])):(0,r.Q3)("v-if",!0)],2)):(0,r.Q3)("v-if",!0)}],["__scopeId","data-v-d1acbb9e"]])},57618:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;C});var r=n(20641),o=n(90033),i=n(48899),s={class:"overview-input-group"},a={class:"title-container"},l={class:"editor-toolbar"},c={class:"buttons"},u={key:0,class:"save-feedback-container"},d={key:1,src:i,width:"16",height:"16"},p=["innerHTML"];var h=n(52630),f=n(66242),m=n(98005),g=n(910),v=n(65498),y=n(94761),b=n(68665);const w=n.p+"src/assets/images/empty-comments-large..svg";function S(e){return S="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},S(e)}function _(){_=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(w=A);var T=b.prototype=v.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==S(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(S(t)+" is not iterable")}return y.prototype=b,o(T,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function k(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const A={name:"OverviewInputBox",props:["title","icon","placeholder","fieldToUpdate","isInput"],components:(T={ReceiverEmptyState:b.A,ReviewResultEmptyState:y.A,EditorContent:h.$Z,Icon:g.A},E="ReceiverEmptyState",x=b.A,(E=function(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}(E))in T?Object.defineProperty(T,E,{value:x,enumerable:!0,configurable:!0,writable:!0}):T[E]=x,T),data:function(){return{text:"",typeInterval:null,inactivityInterval:null,editor:null,focused:!1,saved:!1,saving:!1,EmptyCommentsLargeIllu:w}},mounted:function(){var e=this;this.$reviewStore.review.overview[this.fieldToUpdate]&amp;&amp;(this.text=this.$reviewStore.review.overview[this.fieldToUpdate],this.saved=!0),this.isInput&amp;&amp;(this.editor=new h.KE({content:this.text,extensions:[f.A,m.A.configure({placeholder:this.placeholder,showOnlyWhenEditable:!0,showOnlyCurrent:!0})],onUpdate:function(t){t.getJSON,t.getHTML;e.applyTextEdit(e.editor.getHTML(),e.editor.getText()),e.typeInterval&amp;&amp;(clearInterval(e.typeInterval),e.typeInterval=null),e.typeInterval=setInterval((function(){e.autoSave()}),3e3)},onBlur:function(){e.focused=!1,e.clearAllIntervals(),e.autoSave()},onFocus:function(){e.focused=!0,e.checkReviewerUser()}}))},methods:{clearAllIntervals:function(){clearInterval(this.typeInterval),this.typeInterval=null,clearInterval(this.inactivityInterval),this.inactivityInterval=null},applyTextEdit:function(e,t){this.$reviewStore.review.overview[this.fieldToUpdate]=t.length?e:null},autoSave:function(){this.reviewer&amp;&amp;(this.saving=!0,this.saveReview(),clearInterval(this.typeInterval),this.typeInterval=null)},checkReviewerUser:function(){this.reviewer||(this.$reviewStore.showReviewLoginModal=!0)},saveReview:function(){var e,t=this;return(e=_().mark((function e(){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v.A.post("/api/review/"+t.$reviewStore.review._id+"/"+t.$reviewStore.review.contentId,t.$reviewStore.review);case 3:t.saved=!0,t.saving=!1,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("Failed to save review",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){k(i,r,o,s,a,"next",e)}function a(e){k(i,r,o,s,a,"throw",e)}s(void 0)}))})()},htmlToString:function(e){return e.replaceAll("&lt;p&gt;","").replaceAll("&lt;/p&gt;","").replaceAll("&lt;ul&gt;","").replaceAll("&lt;/ul&gt;","").replaceAll("&lt;li&gt;","").replaceAll("&lt;/li&gt;","")},closeAndOpenOverview:function(){this.$reviewStore.showOverviewModal=!1,this.$reviewStore.showGeneralOverview=!0}},computed:{overviewText:function(){return this.$reviewStore.review.overview[this.fieldToUpdate]},reviewer:function(){return this.$reviewStore.review.reviewerDetails},aspectDone:function(){return null!=this.$reviewStore.review.overview[this.fieldToUpdate]&amp;&amp;this.htmlToString(this.$reviewStore.review.overview[this.fieldToUpdate]).length&gt;=1},receiverMode:function(){return this.$reviewStore.receiver}}};var T,E,x;const C=(0,n(66262).A)(A,[["render",function(e,t,n,i,h,f){var m=(0,r.g2)("Icon"),g=(0,r.g2)("EditorContent"),v=(0,r.g2)("ReviewResultEmptyState"),y=(0,r.g2)("ReceiverEmptyState");return(0,r.uX)(),(0,r.CE)("div",s,[(0,r.Lk)("div",a,[(0,r.bF)(m,{"icon-name":n.icon},null,8,["icon-name"]),(0,r.Lk)("p",null,(0,o.v_)(n.title),1)]),h.editor&amp;&amp;n.isInput?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(["input-text-box",[{focused:h.focused}]])},[(0,r.bF)(g,{editor:h.editor,class:(0,o.C4)("ufo--text-area-review-overview")},null,8,["editor"]),(0,r.Lk)("div",l,[(0,r.Lk)("div",c,[(0,r.Lk)("span",{onClick:t[0]||(t[0]=function(e){return h.editor.chain().focus().toggleBold().run()}),class:(0,o.C4)({active:h.editor.isActive("bold")})},[(0,r.bF)(m,{iconName:"text-bold"})],2),(0,r.Lk)("span",{onClick:t[1]||(t[1]=function(e){return h.editor.chain().focus().toggleItalic().run()}),class:(0,o.C4)({active:h.editor.isActive("italic")})},[(0,r.bF)(m,{iconName:"text-italic"})],2),(0,r.Lk)("span",{onClick:t[2]||(t[2]=function(e){return h.editor.chain().focus().toggleOrderedList().run()}),class:(0,o.C4)({active:h.editor.isActive("orderedList")})},[(0,r.bF)(m,{iconName:"text-ol"})],2),(0,r.Lk)("span",{onClick:t[3]||(t[3]=function(e){return h.editor.chain().focus().toggleBulletList().run()}),class:(0,o.C4)({active:h.editor.isActive("bulletList")})},[(0,r.bF)(m,{iconName:"text-ul"})],2)]),h.saved?((0,r.uX)(),(0,r.CE)("div",u,[h.saving?((0,r.uX)(),(0,r.CE)("img",d)):((0,r.uX)(),(0,r.Wv)(m,{key:0,"icon-name":"check"})),t[4]||(t[4]=(0,r.Lk)("span",null,"Saved",-1))])):(0,r.Q3)("v-if",!0)])],2)):!n.isInput&amp;&amp;f.aspectDone?((0,r.uX)(),(0,r.CE)("div",{key:1,class:"overview-text",innerHTML:f.overviewText},null,8,p)):((0,r.uX)(),(0,r.CE)(r.FK,{key:2},[f.receiverMode?((0,r.uX)(),(0,r.Wv)(y,{key:1,title:"The selected reviewer hasn't added anything here",illu:h.EmptyCommentsLargeIllu,size:"small"},null,8,["illu"])):((0,r.uX)(),(0,r.Wv)(v,{key:0,title:n.title,"button-text":"Add "+n.title,"handle-click":f.closeAndOpenOverview},null,8,["title","button-text","handle-click"]))],64))])}],["__scopeId","data-v-60478396"]])},68665:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(20641),o=n(90033),i=["src"],s={class:"text-container"},a={class:"title-text"},l={key:0,class:"subtitle-text"};const c={name:"ReceiverEmptyState",props:["title","illu","bodyText","size"]};const u=(0,n(66262).A)(c,[["render",function(e,t,n,c,u,d){return(0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["empty-state",[n.size]])},[(0,r.Lk)("img",{rel:"preload",alt:"text-commnet",src:n.illu},null,8,i),(0,r.Lk)("div",s,[(0,r.Lk)("div",a,(0,o.v_)(n.title),1),n.bodyText?((0,r.uX)(),(0,r.CE)("div",l,(0,o.v_)(n.bodyText),1)):(0,r.Q3)("v-if",!0)])],2)}],["__scopeId","data-v-5bd7383f"]])},41185:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;x});var r=n(20641),o=n(90033),i={class:"navigation-row-container"},s={key:0,class:"left-side"},a={class:"main-text"},l={class:"portfolio-text"},c={key:1,class:"left-side"},u={key:2,class:"middle"},d={class:"right-side"},p={key:0,class:"button-wrapper"},h={key:1,class:"button-container"},f={class:"text-with-icon"};var m=n(47233),g=n(596);var v=n(910);v.A;var y=n(66262);var b=n(97827),w=n(46522),S=n(50901),_=n(74150);function k(e){return k="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},k(e)}function A(){A=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(N([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var T=b.prototype=v.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==k(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(k(t)+" is not iterable")}return y.prototype=b,o(T,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function T(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const E={name:"ReviewNav",props:["showOverviewModal","reviewMode"],components:{ClickOutsideObserver:n(69850).A,LargeTooltip:_.A,OptionBarGroup:w.A,OptionBar:S.A,Icon:v.A,CtaButton:b.A,InlineSvg:g.A},data:function(){return{logo:m,viewOptions:{hide:{type:"hide",label:"View only"},show:{type:"show",label:"Comment"}},viewMode:"show",copied:!1,tooltipData:{title:"Share your feedback",subtitle:"When youâ€™re ready, check and submit your review.",arrowpos:"top top-right"},tooltipMounted:!1}},watch:{reviewSectionReactionsLength:"mountTooltip",reviewOverviewPositive:"mountTooltip",reviewOverviewNegative:"mountTooltip"},methods:{openPortfolio:function(){try{var e=window.location.origin+"/home/portfolios/"+this.$store.state.portfolio.shortId;window.open(e,"_blank")}catch(e){}},copyLink:function(){var e,t=this;return(e=A().mark((function e(){var n;return A().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=window.location.origin+"/review/"+t.$store.state.portfolio.shortId,e.next=4,navigator.clipboard.writeText(n);case 4:t.copied=!0,setTimeout((function(){t.copied=!1}),2e3),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){T(i,r,o,s,a,"next",e)}function a(e){T(i,r,o,s,a,"throw",e)}s(void 0)}))})()},changeViewMode:function(e){this.$reviewStore.displayUI="show"===e,this.viewMode=e},closeTooltip:function(e){this.isActive=!1},mountTooltip:function(){var e=this;this.emptyReview&amp;&amp;(this.$reviewStore.emptyReview=!1,setTimeout((function(){e.isActive=!0,setTimeout((function(){e.isActive=!0}),1e4)}),3e4))}},computed:{review:function(){return this.$reviewStore.review},username:function(){return this.$store.state.view.user?this.$store.state.view.user.name:""},isActive:{get:function(){return this.$reviewStore.showSubmitTooltip},set:function(e){this.$reviewStore.showSubmitTooltip=e}},reviewSectionReactionsLength:function(){return this.$reviewStore.review.sectionReactions.length},reviewOverviewPositive:function(){return this.$reviewStore.review.overview.positiveAspects},reviewOverviewNegative:function(){return this.$reviewStore.review.overview.negativeAspects},emptyReview:function(){return this.$reviewStore.emptyReview}}},x=(0,y.A)(E,[["render",function(e,t,n,m,g,v){var y=(0,r.g2)("InlineSvg"),b=(0,r.g2)("OptionBar"),w=(0,r.g2)("OptionBarGroup"),S=(0,r.g2)("CtaButton"),_=(0,r.g2)("LargeTooltip"),k=(0,r.g2)("ClickOutsideObserver"),A=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",i,[n.reviewMode?((0,r.uX)(),(0,r.CE)("div",s,[(0,r.Lk)("div",a,[(0,r.bF)(y,{src:g.logo},null,8,["src"]),t[0]||(t[0]=(0,r.Lk)("div",null,"UXfolio review mode",-1))]),t[2]||(t[2]=(0,r.Lk)("div",{class:"divider"},null,-1)),(0,r.Lk)("div",l,[t[1]||(t[1]=(0,r.eW)("Portfolio by ")),(0,r.Lk)("span",null,(0,o.v_)(v.username),1)])])):((0,r.uX)(),(0,r.CE)("div",c,[(0,r.bF)(y,{src:g.logo},null,8,["src"])])),n.reviewMode?((0,r.uX)(),(0,r.CE)("div",u,[(0,r.bF)(w,null,{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(g.viewOptions,(function(e){return(0,r.uX)(),(0,r.Wv)(b,{label:e.label,key:e.type,selected:g.viewMode===e.type,onClick:function(t){return v.changeViewMode(e.type)},icon:e.svg,size:"small"},null,8,["label","selected","onClick","icon"])})),128))]})),_:1})])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",d,[(0,r.Q3)(' &lt;ProgressButton v-if="reviewMode" :handle-click="showOverviewModal"/&gt; '),n.reviewMode?((0,r.uX)(),(0,r.CE)("div",p,[(0,r.bF)(k,{"is-active":v.isActive,onClickOutside:v.closeTooltip},{default:(0,r.k6)((function(){return[(0,r.bF)(S,{size:"small",disabled:e.$reviewStore.review.submitted,"dark-scheme":"",type:"primary",onClick:n.showOverviewModal},{default:(0,r.k6)((function(){return[(0,r.eW)((0,o.v_)(e.$reviewStore.review.submitted?"Review submitted":"Preview &amp; send review"),1)]})),_:1},8,["disabled","onClick"]),v.isActive?((0,r.uX)(),(0,r.Wv)(_,{key:0,ref:"checklisttooltip",title:g.tooltipData.title,subtitle:g.tooltipData.subtitle,"arrow-pos":g.tooltipData.arrowpos},null,8,["title","subtitle","arrow-pos"])):(0,r.Q3)("v-if",!0)]})),_:1},8,["is-active","onClickOutside"])])):((0,r.uX)(),(0,r.CE)("div",h,[(0,r.bF)(S,{size:"small","dark-scheme":"",type:"primary",onClick:v.copyLink},{default:(0,r.k6)((function(){return[(0,r.Lk)("div",f,[(0,r.bF)(A,{"icon-name":"link"}),(0,r.eW)(" "+(0,o.v_)(g.copied?"Copied!":"Copy review link"),1)])]})),_:1},8,["onClick"])]))])])}],["__scopeId","data-v-01843b3b"]])},94761:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(20641),o=n(90033),i={class:"review-result-empty-state-container"};const s={name:"ReviewResultEmptyState",components:{TertiaryButton:n(73641).A},props:["title","buttonText","handleClick"],computed:{isReceiverMode:function(){return this.$reviewStore.receiver},isSubmittedMode:function(){return this.$reviewStore.review&amp;&amp;this.$reviewStore.review.submitted}}};const a=(0,n(66262).A)(s,[["render",function(e,t,n,s,a,l){var c=(0,r.g2)("TertiaryButton");return(0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("p",null,(0,o.v_)(l.isReceiverMode?"You reviewer hasn't added any "+n.title:"You haven't added any "+n.title),1),l.isReceiverMode||l.isSubmittedMode?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(c,{key:0,onClick:n.handleClick,"dark-scheme":"",text:n.buttonText,icon:"add",type:"subtle"},null,8,["onClick","text"]))])}],["__scopeId","data-v-fa3636fa"]])},73455:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;Y});var r=n(20641),o=n(90033),i=["id"],s={class:"sticky"},a={key:0,ref:"reaction",class:"reaction-fab-container"},l={class:"reaction-in-fab"},c={class:"reaction-wrapper"},u=["src"],d={key:0,class:"reactions-container"},p=["onClick"],h={class:"fab-wrapper"},f=["src"],m={key:1,ref:"comments",class:"comments-fab-container"},g={class:"comment-in-fab"},v={key:0,class:"comments-container"},y={class:"header-row"},b={key:0,ref:"commentList",class:"comments"};var w=n(84308),S=n(910),_=n(17073),k=n(65498),A=n(15771),T=n(53751),E={class:"comment-input"},x={class:"input-row"},C={key:0,class:"labels-row"},O=["onClick"];var I=n(52630),L=n(66242),P=n(98005);const N={name:"CommentInput",props:["currentComment","addComment","updateCommentLabel"],components:{Icon:S.A,EditorContent:I.$Z},data:function(){return{inputFocused:!1,labels:[{name:"Design"},{name:"Structure"},{name:"Content"},{name:"Imagery"}],editor:null,typeInterval:null,inactivityInterval:null}},mounted:function(){var e=this;this.editor=new I.KE({content:this.currentComment.text,extensions:[L.A,P.A.configure({placeholder:"Type your comment here",showOnlyWhenEditable:!0,showOnlyCurrent:!0})],onUpdate:function(t){t.getJSON,t.getHTML;e.applyTextEdit(e.editor.getText())},onBlur:function(){e.inputFocused=!1},onFocus:function(){e.inputFocused=!0}})},methods:{applyTextEdit:function(e){this.currentComment.text=e},addNewComment:function(){this.checkReviewerUser(),this.reviewer&amp;&amp;(this.editor.commands.clearContent(),this.addComment())},checkReviewerUser:function(){this.reviewer||(this.$reviewStore.showReviewLoginModal=!0)}},computed:{reviewer:function(){return this.$reviewStore.review.reviewerDetails}}};var D=n(66262);const R=(0,D.A)(N,[["render",function(e,t,n,i,s,a){var l=(0,r.g2)("EditorContent"),c=(0,r.g2)("Icon");return(0,r.uX)(),(0,r.CE)("div",E,[(0,r.Lk)("div",x,[(0,r.bF)(l,{editor:s.editor,class:(0,o.C4)("ufo--text-area-comment")},null,8,["editor"]),(0,r.bF)(c,{class:(0,o.C4)({disabled:!this.currentComment.text,active:this.currentComment.text&amp;&amp;this.currentComment.text.length}),"icon-name":"send",onClick:a.addNewComment},null,8,["class","onClick"])]),s.inputFocused||n.currentComment.text&amp;&amp;n.currentComment.text.length?((0,r.uX)(),(0,r.CE)("div",C,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.labels,(function(e){return(0,r.uX)(),(0,r.CE)("div",{onClick:function(){return n.updateCommentLabel(e.name)},key:e.name,onMousedown:t[0]||(t[0]=(0,T.withModifiers)((function(){}),["prevent"])),class:(0,o.C4)(["label",{selected:n.currentComment.label===e.name},e.name.toLowerCase()])},(0,o.v_)(e.name),43,O)})),128))])):(0,r.Q3)("v-if",!0)])}],["__scopeId","data-v-1ecb1ac0"]]);var M=n(26700),F=n(87355),H=n(64245),j=n(7615),G=n(95889);function B(e){return B="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},B(e)}function $(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}function U(){U=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==B(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(B(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function z(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=B(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=B(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==B(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const q={name:"ReviewFabs",props:["section","hovering","invertedIndex","review"],components:{CommentInput:R,ConfirmationModal:A.A,Fab:w.A,Icon:S.A,Comment:_.A},data:function(){return{reaction:!1,comments:!1,updating:null,indexToDelete:null,showConfirmationModal:!1,show:!1,listenerMounted:!1,reactions:[{name:"like",value:"&amp;#128077",img:M},{name:"heart",value:"&amp;#128150",img:F},{name:"clap",value:"&amp;#128079",img:H},{name:"bulb",value:"&amp;#128161",img:j},{name:"check",value:"&amp;#x2705",img:G}],currentComment:{text:null,label:null},defaultSectionReaction:{sectionId:null,reaction:null,comments:[],pageData:{shortId:null,name:null}},indexToUpdate:null}},watch:{$route:function(e,t){this.defaultSectionReaction={sectionId:null,reaction:null,comments:[],pageData:{shortId:null,name:null}},this.setDefaultValues()}},mounted:function(){this.setDefaultValues()},methods:{setDefaultValues:function(){this.defaultSectionReaction.sectionId=this.section._id,this.defaultSectionReaction.pageData={shortId:this.$store.state.view.project.shortId,name:this.$store.state.view.project.name}},showReaction:function(){this.reaction=!this.reaction,this.comments=!1,this.mountOutsideClick()},showComments:function(){this.comments=!this.comments,this.updating=null,this.reaction=!1,this.mountOutsideClick()},mountOutsideClick:function(){!this.reaction&amp;&amp;!this.comments||this.listenerMounted?(this.listenerMounted=!1,document.removeEventListener("click",this.clickOutside,!0)):(this.listenerMounted=!0,document.addEventListener("click",this.clickOutside,!0))},clickOutside:function(){this.reaction&amp;&amp;this.reaction&amp;&amp;this.reviewer&amp;&amp;this.$refs.reaction&amp;&amp;!this.$refs.reaction.contains(event.target)&amp;&amp;this.showReaction(),this.comments&amp;&amp;this.comments&amp;&amp;this.reviewer&amp;&amp;this.$refs.comments&amp;&amp;!this.$refs.comments.contains(event.target)&amp;&amp;this.showComments()},setEmoji:function(e){this.reviewer&amp;&amp;(e===this.sectionReaction.reaction?this.sectionReaction.reaction=null:this.sectionReaction.reaction=e,this.reaction=!1),this.saveReaction()},updateCommentLabel:function(e){this.currentComment.label=this.currentComment.label===e?null:e},addComment:function(){var e=this;this.currentComment.text&amp;&amp;(null===this.updating?(this.sectionReaction.comments.push(X(X({},this.currentComment),{},{createdAt:Date.now(),fromUserId:this.$reviewStore.review.reviewerDetails._id})),this.currentComment={text:null,label:null}):(this.sectionReaction.comments[this.updating]=X(X({},this.currentComment),{},{createdAt:Date.now(),fromUserId:this.$reviewStore.review.reviewerDetails._id}),this.currentComment={text:null,label:null}),this.saveReaction(),this.$refs.commentList&amp;&amp;this.$nextTick((function(){var t=e.$refs.commentList;t.scrollTop=t.scrollHeight})))},saveReaction:function(){var e,t=this;return(e=U().mark((function e(){return U().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.reviewer){e.next=7;break}return t.hasReaction?t.isReactionExists||t.sectionReactions.push(X({sectionId:t.section._id},t.sectionReaction)):t.isReactionExists&amp;&amp;t.sectionReactions.hasOwnProperty(t.savedDataIndex)&amp;&amp;t.sectionReactions.splice(t.savedDataIndex,1),t.updating=null,e.next=5,k.A.post("/api/review/"+t.$reviewStore.review._id+"/"+t.$reviewStore.review.contentId,t.$reviewStore.review);case 5:e.next=8;break;case 7:t.$reviewStore.showReviewLoginModal=!0;case 8:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){z(i,r,o,s,a,"next",e)}function a(e){z(i,r,o,s,a,"throw",e)}s(void 0)}))})()},updateComment:function(e){this.currentComment=this.sectionReaction.comments[e],this.updating=e},showDeleteModal:function(e){this.indexToDelete=e,this.showConfirmationModal=!0},closeDeleteCommentModal:function(){this.showConfirmationModal=!1,this.indexToDelete=null},deleteComment:function(){this.sectionReaction.comments.splice(this.indexToDelete,1),this.indexToDelete=null,this.saveReaction(),this.showConfirmationModal=!1},getReactionImage:function(e){return this.reactions.find((function(t){return t.value===e})).img}},computed:{sectionReactions:function(){return this.$reviewStore.review.sectionReactions},hasReaction:function(){return this.sectionReaction.reaction||this.sectionReaction.comments.length},reviewMode:function(){return!this.$reviewStore.receiver},sortedComments:function(){return $(this.sectionReaction.comments).sort((function(e,t){return new Date(e.createdAt)-new Date(t.createdAt)}))},savedDataIndex:function(){var e=this;return this.sectionReactions.findIndex((function(t){return t.sectionId===e.section._id}))},isReactionExists:function(){var e=this;return this.sectionReactions.find((function(t){return t.sectionId===e.section._id}))},sectionReaction:function(){var e=this,t=this.sectionReactions.find((function(t){return t.sectionId===e.section._id}));return t||this.defaultSectionReaction},isThereStickyHeader:function(){return this.$store.state.view.stickedHeader},reviewer:function(){return this.$reviewStore.review.reviewerDetails}}},Y=(0,D.A)(q,[["render",function(e,t,n,w,S,_){var k=(0,r.g2)("fab"),A=(0,r.g2)("Icon"),T=(0,r.g2)("Comment"),E=(0,r.g2)("CommentInput"),x=(0,r.g2)("ConfirmationModal");return e.$reviewStore.displayUI?((0,r.uX)(),(0,r.CE)("div",{key:0,id:n.section._id,class:(0,o.C4)(["review-fabs",n.section.type,{"sticky-header":_.isThereStickyHeader}]),style:(0,o.Tr)({zIndex:n.invertedIndex})},[(0,r.Lk)("div",s,[n.hovering||_.hasReaction||S.reaction||S.comments?((0,r.uX)(),(0,r.CE)("div",a,[(0,r.bF)(k,{selected:S.reaction,icon:null===_.sectionReaction.reaction?"reaction":null,onClick:_.showReaction,tooltip:"Reaction","tooltip-position":"top"},(0,r.eX)({_:2},[_.sectionReaction.reaction?{name:"reaction",fn:(0,r.k6)((function(){return[(0,r.Lk)("div",l,[(0,r.Lk)("div",c,[(0,r.Lk)("img",{src:_.getReactionImage(_.sectionReaction.reaction),alt:"reaction"},null,8,u)])])]})),key:"0"}:void 0]),1032,["selected","icon","onClick"]),S.reaction?((0,r.uX)(),(0,r.CE)("div",d,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(S.reactions,(function(e){return(0,r.uX)(),(0,r.CE)("div",{onClick:function(){return _.reviewMode?_.setEmoji(e.value):null},class:"reaction"},[(0,r.Lk)("div",{class:(0,o.C4)(["reaction-wrapper",[{selected:e.value===_.sectionReaction.reaction}]])},[(0,r.Lk)("div",h,[(0,r.Lk)("img",{src:e.img,alt:"reaction"},null,8,f)])],2)],8,p)})),256))])):(0,r.Q3)("v-if",!0)],512)):(0,r.Q3)("v-if",!0),n.hovering||_.hasReaction||S.comments||S.reaction?((0,r.uX)(),(0,r.CE)("div",m,[(0,r.bF)(k,{selected:S.comments,icon:_.sectionReaction.comments.length?null:"comment",onClick:_.showComments,tooltip:"Comments","tooltip-position":"top"},(0,r.eX)({_:2},[_.sectionReaction.comments.length?{name:"comment",fn:(0,r.k6)((function(){return[(0,r.Lk)("div",g,[(0,r.bF)(A,{"icon-name":"chat"}),(0,r.Lk)("span",null,(0,o.v_)(_.sectionReaction.comments.length),1)])]})),key:"0"}:void 0]),1032,["selected","icon","onClick"]),S.comments?((0,r.uX)(),(0,r.CE)("div",v,[(0,r.Lk)("div",y,[(0,r.Lk)("div",null,(0,o.v_)(_.sectionReaction.comments.length?"Comments":"Add comment"),1),(0,r.bF)(A,{iconName:"close",onClick:_.showComments},null,8,["onClick"])]),_.sectionReaction.comments.length&amp;&amp;null===S.updating?((0,r.uX)(),(0,r.CE)("div",b,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(_.sortedComments,(function(e,t){return(0,r.uX)(),(0,r.Wv)(T,{key:e.label,comment:e,updateComment:function(){return _.updateComment(t)},deleteComment:function(){return _.showDeleteModal(t)},edit:_.reviewMode,index:t},null,8,["comment","updateComment","deleteComment","edit","index"])})),128))],512)):(0,r.Q3)("v-if",!0),_.reviewMode?((0,r.uX)(),(0,r.Wv)(E,{key:1,"current-comment":S.currentComment,"add-comment":_.addComment,"update-comment-label":_.updateCommentLabel},null,8,["current-comment","add-comment","update-comment-label"])):(0,r.Q3)("v-if",!0)])):(0,r.Q3)("v-if",!0)],512)):(0,r.Q3)("v-if",!0),(0,r.bF)(x,{show:S.showConfirmationModal,"modal-size":"small",onAction:t[0]||(t[0]=function(e){return _.deleteComment()}),onClose:t[1]||(t[1]=function(e){return _.closeDeleteCommentModal()})},{title:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Delete comment")])})),content:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.Lk)("p",null,"Are you sure you want to delete this comment?",-1)])})),_:1},8,["show"])])],14,i)):(0,r.Q3)("v-if",!0)}]])},82024:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;L});var r=n(20641),o=n(90033),i={class:"tab-data"},s={key:0,class:"overview"},a={key:1,class:"comments"},l={class:"selector-container"},c={class:"comments-list"},u={key:1,class:"comments-empty-container"};var d=n(97827),p=n(57618),h=n(17073),f=n(65498),m=n(11434),g=n(70846),v=n(48084),y=n(41117),b=n(9168),w=n(86387),S=n(85349),_=n(97073),k=n(74256);function A(e){return A="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},A(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=A(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==A(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){C=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:x(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(N([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==A(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function x(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(A(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},T(E.prototype),c(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new E(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},T(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function O(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const I={name:"OverviewModal",props:["show","close","admin","openSuccessModal"],components:{ReviewResultEmptyState:n(94761).A,ModalBody:S.A,TabItem:w.A,TabBar:b.A,ModalHeader:y.A,ModalFooter:v.A,ModalWrapper:g.A,DropDownSelect:m.A,CtaButton:d.A,OverviewField:p.A,Comment:h.A},data:function(){return{tabs:[{key:"overview",name:"Overview",svg:null},{key:"comments",name:"Comments",svg:null}],activeTab:"overview",selectedPage:{name:"",shortId:"home"},isDisabled:!1,ReviewStateEnum:k.z4}},mounted:function(){var e=this.availablePages;e.length&amp;&amp;(this.selectedPage=e[0])},methods:{submitReview:function(){var e,t=this;return(e=C().mark((function e(){return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.A.post("/api/review/submit/"+t.$reviewStore.review._id+"/"+t.$reviewStore.review.contentId);case 3:e.sent,(0,_.f0)("Submit Review",{event_category:"Review mode",event_label:"Reviewer: ".concat(t.$reviewStore.review.reviewerDetails.email,", Portfolio: ").concat(t.$store.state.view.portfolio._id)}),t.$store.state.user?(t.close(),t.openSuccessModal()):window.location.replace(window.location.origin+"/result"),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log("Failed to save review",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){O(i,r,o,s,a,"next",e)}function a(e){O(i,r,o,s,a,"throw",e)}s(void 0)}))})()},changeTab:function(e){this.activeTab=e},updateSelected:function(e){this.selectedPage=this.availablePages.find((function(t){return t.name===e}))},getSelectedName:function(e){return this.availablePages.find((function(t){return t.shortId===e})).name},htmlToString:function(e){return e.replaceAll("&lt;p&gt;","").replaceAll("&lt;/p&gt;","").replaceAll("&lt;ul&gt;","").replaceAll("&lt;/ul&gt;","").replaceAll("&lt;li&gt;","").replaceAll("&lt;/li&gt;","")},checkIndicator:function(e){return this.reviewState!==k.z4.EMPTY&amp;&amp;this.reviewState!==k.z4.FINISHED&amp;&amp;("overview"===e?!this.positiveAspectsDone||!this.negativeAspectsDone:"comments"===e?!this.sectionInteractionAdded:void 0)}},computed:{sectionReactionComments:function(){var e=this;return this.$reviewStore.review.sectionReactions.map((function(e){return e.comments.map((function(t){return E(E({},t),{},{page:e.pageData.shortId})}))})).flat().filter((function(t){return t.page===e.selectedPage.shortId}))},availablePages:function(){var e=[],t=new Set;return this.$reviewStore.review.sectionReactions.forEach((function(n){!t.has(n.pageData.shortId)&amp;&amp;n.comments.length&amp;&amp;(t.add(n.pageData.shortId),e.push(n.pageData))})),e},reviewState:function(){var e=[this.positiveAspectsDone,this.negativeAspectsDone,this.sectionInteractionAdded].filter(Boolean).length;switch(this.isDisabled=e&lt;1,e){case 0:return k.z4.EMPTY;case 1:case 2:return k.z4.INCOMPLETE;default:return k.z4.FINISHED}},positiveAspectsDone:function(){return null!=this.$reviewStore.review.overview.positiveAspects&amp;&amp;this.htmlToString(this.$reviewStore.review.overview.positiveAspects).length&gt;=1},negativeAspectsDone:function(){return null!=this.$reviewStore.review.overview.negativeAspects&amp;&amp;this.htmlToString(this.$reviewStore.review.overview.negativeAspects).length&gt;=1},sectionInteractionAdded:function(){return this.$reviewStore.review.sectionReactions.filter((function(e){return e.comments.length&gt;0})).length&gt;0}}};const L=(0,n(66262).A)(I,[["render",function(e,t,n,d,p,h){var f=this,m=(0,r.g2)("TabItem"),g=(0,r.g2)("TabBar"),v=(0,r.g2)("ModalHeader"),y=(0,r.g2)("OverviewField"),b=(0,r.g2)("DropDownSelect"),w=(0,r.g2)("Comment"),S=(0,r.g2)("ReviewResultEmptyState"),_=(0,r.g2)("ModalBody"),k=(0,r.g2)("CtaButton"),A=(0,r.g2)("ModalFooter"),T=(0,r.g2)("ModalWrapper");return(0,r.uX)(),(0,r.Wv)(T,{show:n.show,onClose:n.close,"modal-size":"medium","dark-scheme":""},{"modal-header":(0,r.k6)((function(){return[(0,r.bF)(v,{title:"Review summary","dark-scheme":""},(0,r.eX)({tabPills:(0,r.k6)((function(){return[(0,r.bF)(g,{"dark-scheme":"","hide-border":""},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.tabs,(function(e){return(0,r.uX)(),(0,r.Wv)(m,{key:e.key,icon:e.svg,label:e.name,active:e.key===p.activeTab,"dark-scheme":"",onClick:function(){return h.changeTab(e.key)}},(0,r.eX)({_:2},[h.checkIndicator(e.key)?{name:"indicator",fn:(0,r.k6)((function(){return[t[1]||(t[1]=(0,r.Lk)("div",{class:"dot"},null,-1))]})),key:"0"}:void 0]),1032,["icon","label","active","onClick"])})),128))]})),_:1})]})),_:2},[h.reviewState!==p.ReviewStateEnum.FINISHED?{name:"titlePill",fn:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:(0,o.C4)(["pill",h.reviewState])},(0,o.v_)(h.reviewState),3)]})),key:"0"}:void 0]),1024)]})),"modal-body":(0,r.k6)((function(){return[(0,r.bF)(_,null,{default:(0,r.k6)((function(){return[(0,r.Lk)("div",i,["overview"===p.activeTab?((0,r.uX)(),(0,r.CE)("div",s,[(0,r.bF)(y,{fieldToUpdate:"positiveAspects","is-input":!1,title:"positive aspects",icon:"positive-aspect"}),(0,r.bF)(y,{fieldToUpdate:"negativeAspects","is-input":!1,title:"areas of improvement",icon:"areas-of-improvement"})])):(0,r.Q3)("v-if",!0),"comments"===p.activeTab?((0,r.uX)(),(0,r.CE)("div",a,[h.sectionReactionComments.length?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.Lk)("div",l,[(0,r.bF)(b,{label:"Show comments on",selected:h.getSelectedName(p.selectedPage.shortId),options:h.availablePages.map((function(e){return e.name})),onClick:t[0]||(t[0]=function(e){return h.updateSelected(e)}),"dark-scheme":""},null,8,["selected","options"])]),(0,r.Lk)("div",c,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(h.sectionReactionComments,(function(e,t){return(0,r.uX)(),(0,r.Wv)(w,{key:e.label,comment:e,edit:!1,index:t},null,8,["comment","index"])})),128))])],64)):((0,r.uX)(),(0,r.CE)("div",u,[(0,r.bF)(S,{title:"comments","button-text":"Add comments","handle-click":function(){return f.close()}},null,8,["handle-click"])]))])):(0,r.Q3)("v-if",!0)])]})),_:1})]})),"modal-footer":(0,r.k6)((function(){return[n.admin?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.Wv)(A,{key:0},{default:(0,r.k6)((function(){return[(0,r.bF)(k,{"dark-scheme":"",type:"secondary",onClick:n.close},{default:(0,r.k6)((function(){return t[2]||(t[2]=[(0,r.eW)("Back to reviewing")])})),_:1},8,["onClick"]),(0,r.bF)(k,{"dark-scheme":"",type:"primary",disabled:p.isDisabled,onClick:h.submitReview},{default:(0,r.k6)((function(){return t[3]||(t[3]=[(0,r.eW)("Submit review")])})),_:1},8,["disabled","onClick"])]})),_:1}))]})),_:1},8,["show","onClose"])}],["__scopeId","data-v-6222b2d0"]])},14898:(e,t,n)=&gt;{var r=n(41957);r.__esModule&amp;&amp;(r=r.default),"string"==typeof r&amp;&amp;(r=[[e.id,r,""]]),r.locals&amp;&amp;(e.exports=r.locals);(0,n(70534).A)("6ababb02",r,!1,{})},61872:(e,t,n)=&gt;{var r=n(5185);r.__esModule&amp;&amp;(r=r.default),"string"==typeof r&amp;&amp;(r=[[e.id,r,""]]),r.locals&amp;&amp;(e.exports=r.locals);(0,n(70534).A)("49e9228e",r,!1,{})},70534:(e,t,n)=&gt;{"use strict";function r(e,t){for(var n=[],r={},o=0;o&lt;t.length;o++){var i=t[o],s=i[0],a={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.d(t,{A:()=&gt;f});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&amp;&amp;DEBUG&amp;&amp;!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},s=o&amp;&amp;(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&amp;&amp;/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,o){c=n,d=o||{};var s=r(e,t);return m(s),function(t){for(var n=[],o=0;o&lt;s.length;o++){var a=s[o];(l=i[a.id]).refs--,n.push(l)}t?m(s=r(e,t)):s=[];for(o=0;o&lt;n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c&lt;l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function m(e){for(var t=0;t&lt;e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o&lt;r.parts.length;o++)r.parts[o](n.parts[o]);for(;o&lt;n.parts.length;o++)r.parts.push(v(n.parts[o]));r.parts.length&gt;n.parts.length&amp;&amp;(r.parts.length=n.parts.length)}else{var s=[];for(o=0;o&lt;n.parts.length;o++)s.push(v(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(h){var o=l++;r=a||(a=g()),t=w.bind(null,r,o,!1),n=w.bind(null,r,o,!0)}else r=g(),t=S.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&amp;&amp;r.media===e.media&amp;&amp;r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&amp;&amp;e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function S(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&amp;&amp;e.setAttribute("media",r),d.ssrId&amp;&amp;e.setAttribute(p,t.id),o&amp;&amp;(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},19600:(e,t,n)=&gt;{var r={"./_theme-eight-base.scss":[72021,2021],"./_theme-eighteen-base.scss":[77947,7947],"./_theme-eleven-base.scss":[64239,4239],"./_theme-fifteen-base.scss":[50283,283],"./_theme-five-base.scss":[75856,5856],"./_theme-fourteen-base.scss":[78888,8888],"./_theme-one-base.scss":[57828,7828],"./_theme-seven-base.scss":[33935,3935],"./_theme-seventeen-base.scss":[67115,7115],"./_theme-six-base.scss":[87768,7768],"./_theme-sixteen-base.scss":[74020,4020],"./_theme-ten-base.scss":[90961,961],"./_theme-thirteen-base.scss":[31305,1305],"./_theme-three-base.scss":[19080,9080],"./_theme-twelve-base.scss":[58959,8959],"./_theme-two-base.scss":[36754,6754]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=&gt;{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=&gt;n(o)))}o.keys=()=&gt;Object.keys(r),o.id=19600,e.exports=o},23876:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/16_9..svg"},74130:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/1_1..svg"},11793:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/3_4..svg"},6733:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/4_3..svg"},50856:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/9_16..svg"},20368:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/Original..svg"},53713:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_3..svg"},44718:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_4..svg"},49471:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_5..svg"},94124:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_6..svg"},73837:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_7..svg"},58322:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_8_a..svg"},67809:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_8_b..svg"},26827:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_9_a..svg"},68760:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_gradient_9_b..svg"},77200:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_solid..svg"},22207:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_1..svg"},59532:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_2..svg"},6893:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_3..svg"},78370:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_4..svg"},65747:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_5..svg"},21088:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_6..svg"},19121:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_7..svg"},67942:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_8..svg"},56919:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bg_style_9..svg"},21214:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background-type-gradient..svg"},65289:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background-type-image..svg"},23916:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background-type-none..svg"},15043:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background-type-solid..svg"},20815:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/checkmark-lotti..svg"},56807:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_16_9..svg"},58547:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_1_1..svg"},35638:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_2_3..svg"},21278:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_3_2..svg"},99682:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_4_5..svg"},41898:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_5_4..svg"},3119:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_9_16..svg"},27462:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_circle..svg"},26419:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_custom..svg"},86675:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/crop_original..svg"},50255:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-position--full-width--above..svg"},5939:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-position--full-width--below..svg"},91488:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-position--full-width--inline..svg"},44419:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-position--full-width--no-text..svg"},28653:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/weight--bold..svg"},95064:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/weight--light..svg"},26617:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/weight--medium..svg"},21082:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/above..svg"},56474:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/below..svg"},93271:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/in_line..svg"},1924:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/no_text..svg"},32658:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-button..svg"},88618:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-link..svg"},2018:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-media..svg"},57559:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-page..svg"},47967:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-testimonial..svg"},31455:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-add-text..svg"},95988:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-brush..svg"},5752:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-col-add..svg"},64331:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-col-remove..svg"},41643:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-context-menu..svg"},35894:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-crop..svg"},76221:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-delete..svg"},79796:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-desktop..svg"},35696:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-down..svg"},93141:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-draft..svg"},94706:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-drag..svg"},26984:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-edit-logo..svg"},40375:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-edit-pages..svg"},38230:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-effects..svg"},31050:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-email-settings..svg"},87229:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-filters..svg"},91597:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-flip..svg"},50685:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-global-spacing..svg"},6692:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-history..svg"},84813:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-idea..svg"},77517:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-bi-cover..svg"},85125:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-bottom-align..svg"},97470:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-display-mode..svg"},47094:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-display..svg"},53876:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-fit-margin..svg"},50297:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-fit..svg"},90649:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-it-large..svg"},11009:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-it-medium..svg"},51249:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-it-small..svg"},53441:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-large..svg"},95897:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-medium..svg"},42427:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-null..svg"},64697:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-image-small..svg"},35398:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-layout..svg"},80095:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-left..svg"},73929:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-lock..svg"},74458:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-mobile..svg"},52324:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-mockups..svg"},6634:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-nav-background-fill..svg"},57625:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-nav-font-color..svg"},99095:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-remove-media..svg"},79792:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-remove-page..svg"},89114:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-remove-testimonial..svg"},96651:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-remove-thumbnail..svg"},22181:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-reorder..svg"},48476:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-replace..svg"},6266:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-right..svg"},17475:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-rotate-mockup..svg"},83453:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-set-background..svg"},59171:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-settings..svg"},94251:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-space-decrease..svg"},54007:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-space-increase..svg"},88195:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-style..svg"},15581:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-success..svg"},62596:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-tablet..svg"},69367:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-thumbnail-layout..svg"},69107:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-thumbnails..svg"},64506:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-unpublish..svg"},54595:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-up..svg"},17407:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-fab-upload..svg"},10215:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gallery-carousel..svg"},47401:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gallery-grid..svg"},9274:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gallery-slider..svg"},61579:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gallery-tilted..svg"},59647:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/layout-carousel..svg"},6353:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/layout-grid..svg"},52434:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/layout-slider..svg"},91683:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/layout-tilted..svg"},82295:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-bottom..svg"},67241:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-center..svg"},2721:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-left..svg"},39025:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-middle..svg"},12332:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-right..svg"},47435:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/content-align-top..svg"},96296:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/add-case-study-gradient..svg"},94946:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/add..svg"},60908:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/back..svg"},35936:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/checkmark..svg"},84190:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/chev-down..svg"},89109:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/chev-left..svg"},86040:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/chev-right..svg"},93077:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/chev-up..svg"},582:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/copy..svg"},69183:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/dropdown-select..svg"},5502:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/font-size-icon..svg"},58743:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gift..svg"},75802:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/hidden-gradient..svg"},77857:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/hidden..svg"},45285:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/info..svg"},63813:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/italic..svg"},13169:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/line-height-icon..svg"},91185:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mono-category-icon..svg"},69023:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/no-index..svg"},66236:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/notification..svg"},1269:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/our-picks-category-icon..svg"},50501:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/payment..svg"},59852:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/profile..svg"},35910:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/reorder..svg"},1625:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/review..svg"},15465:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/sans-category-icon..svg"},10557:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/search-icon..svg"},42961:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/serif-category-icon..svg"},81878:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/share..svg"},84629:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/visible..svg"},51839:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/warning..svg"},99929:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/web..svg"},97699:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-adobe..svg"},60174:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-airtable..svg"},1925:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-axure..svg"},97086:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-figma..svg"},38425:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-framer..svg"},82603:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-google..svg"},89635:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-invision..svg"},24951:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-marvel..svg"},97365:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-miro..svg"},78598:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-protopie..svg"},21622:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-vimeo..svg"},70845:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-embed-media-youtube..svg"},79788:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-more..svg"},48761:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/icon-send..svg"},36422:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mark..svg"},50349:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/rocket..svg"},76988:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/vector..svg"},47233:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/logo-symbol-white..svg"},23338:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/color-dark..svg"},94322:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/color-light..svg"},79447:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/corner-rounded..svg"},53047:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/corner-squared..svg"},87485:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device-desktop..svg"},75891:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device-laptop..svg"},98473:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device-mobile..svg"},24589:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device-none..svg"},41727:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device-tablet..svg"},25371:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/effects-no-shadow..svg"},50699:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/effects-shadow..svg"},86260:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/style-browser..svg"},85510:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/style-outline..svg"},50037:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/style-semi-realistic..svg"},41850:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/style-simple..svg"},71163:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/type-desktop..svg"},89791:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/type-mobile..svg"},61521:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/type-monitor..svg"},56063:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/type-none..svg"},36817:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/type-tablet..svg"},2452:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-about..svg"},38761:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-blank..svg"},59611:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-contact..svg"},67445:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-external-link..svg"},71123:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-file..svg"},65468:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ic-page-mailto-link..svg"},51436:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/areas-of-improvement-category..svg"},23066:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/chat..svg"},33735:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/comment..svg"},95889:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/check-mark..png"},64245:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/clap..png"},87355:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/heart..png"},7615:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/light-bulb..png"},26700:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/thumbs-up..png"},25819:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/positive-aspect-category..svg"},79601:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/progress-indicator-empty..svg"},88064:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/progress-indicator-finished..svg"},41877:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/progress-indicator-step1..svg"},70006:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/progress-indicator-step2..svg"},34033:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/reaction..svg"},25778:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tour-arrow..svg"},6189:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/saving-oval-blue..svg"},48899:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/saving-oval..png"},79515:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/articles..svg"},14700:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/awards..svg"},6172:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/bio..svg"},69115:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/card-sorting..svg"},94505:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/cj..svg"},15459:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/columns..svg"},11973:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/contact-form..svg"},67740:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/cta..svg"},53157:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/divider..svg"},79944:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/education..svg"},7550:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/experience..svg"},59100:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gallery..svg"},85545:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/header..svg"},86914:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/hobbies..svg"},57703:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/image-text..svg"},34405:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/image..svg"},47562:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/interviews..svg"},92892:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/logo-wall..svg"},84750:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/media..svg"},7192:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/navigation..svg"},34825:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/personas..svg"},98960:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/prototype..svg"},69141:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/short-intro..svg"},30830:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/sketches..svg"},31840:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/skills..svg"},18457:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/statement..svg"},65883:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/stats..svg"},5727:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/surveys..svg"},8443:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/testimonial..svg"},17587:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text..svg"},94163:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/ui-design..svg"},34679:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/uj..svg"},55308:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/user-testing..svg"},76691:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/video..svg"},90911:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/wireframes..svg"},35625:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/alt-text..svg"},36201:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/close-light..svg"},47342:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/done..svg"},71487:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/edit-link..svg"},99010:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/edit..svg"},4045:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/style-thick..svg"},52477:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-bold..svg"},59879:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-center..svg"},70118:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-format-remove..svg"},75620:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-h..svg"},47709:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-h1..svg"},1438:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-h2..svg"},21487:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-h3..svg"},27696:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-h4..svg"},43604:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-italic..svg"},38239:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-left..svg"},42196:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-link..svg"},52533:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-ol..svg"},16412:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-p..svg"},20485:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-p1..svg"},88710:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-p2..svg"},20608:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-quote..svg"},50938:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-right..svg"},92567:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-ul..svg"},65648:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-underline..svg"},94281:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/text-unlink..svg"},79203:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/black_text..svg"},46841:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/white_text..svg"},26293:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/featured-grid..svg"},72066:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/grid..svg"},69661:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-block-mixed..svg"},33839:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-block..svg"},62636:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-grid..svg"},68644:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-list..svg"},65734:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/list..svg"},88537:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/medium-block-text..svg"},63267:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/offset..svg"},25445:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block-slided..svg"},75441:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block-text..svg"},70011:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block..svg"},25195:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-block-mixed--hover--center--center..svg"},15629:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/large-block_below_left_center..svg"},78083:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/medium-block-text_alternating_center_center..svg"},25810:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block-slided--below--left--center..svg"},15331:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block-slided--hover--center--center..svg"},65330:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block-text_right_left_center..svg"},20761:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/small-block_below_center_center..svg"},82827:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/above_alignment..svg"},7359:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/alternating_alignment..svg"},34183:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/below_alignment..svg"},79184:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/hidden_alignment..svg"},24190:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/hover_alignment..svg"},27836:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/inside_alignment..svg"},4439:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/left_alignment..svg"},77786:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/right_alignment..svg"},43034:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/horizontal_center..svg"},72846:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/horizontal_left..svg"},16557:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/horizontal_right..svg"},87692:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/vertical_bottom..svg"},19234:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/vertical_center..svg"},47958:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/vertical_top..svg"},30625:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background_gradient..svg"},68070:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background_solid..svg"},15193:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/background_transparent..svg"},48348:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_color_dark..svg"},23764:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_color_light..svg"},81559:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_corner_rounded..svg"},82583:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_corner_squared..svg"},99281:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_style_browser..svg"},1189:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_style_no-device..svg"},21843:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_style_outline..svg"},89506:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_style_semi-realistic..svg"},35561:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/device_style_simple..svg"},72942:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gradient_linear_1..svg"},67309:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gradient_linear_2..svg"},31852:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gradient_linear_3..svg"},48112:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/gradient_radial_1..svg"},27021:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_mobile_middle..svg"},56198:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_mobile_overlay..svg"},51751:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_single_middle..svg"},26329:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_single_slided..svg"},35446:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_single_slided_big..svg"},2836:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/desktop_triple_variety..svg"},53127:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_dual_middle..svg"},43897:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_dual_slided..svg"},67560:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_quadruple_slided..svg"},20438:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_quadruple_slided_rotated..svg"},669:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_single_middle..svg"},5531:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_single_slided..svg"},16017:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_triple_middle..svg"},70220:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_triple_middle_horizontal..svg"},17511:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_triple_slided..svg"},81009:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/mobile_triple_slided_rotated..svg"},76089:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_desktop_middle..svg"},19085:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_mobile_middle..svg"},88341:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_quadruple_variety..svg"},65831:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_single_middle..svg"},2783:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_tablet_middle..svg"},22132:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/monitor_triple_variety..svg"},1659:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tablet_mobile_middle..svg"},94988:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tablet_mobile_overlay..svg"},96681:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tablet_single_middle..svg"},38383:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tablet_single_slided..svg"},70464:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/tablet_single_slided_big..svg"},78790:(e,t,n)=&gt;{"use strict";e.exports=n.p+"src/assets/images/user-picture-empty-state..png"},76777:(e,t,n)=&gt;{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return i="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n&lt;t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&amp;&amp;a(e.prototype,t),n&amp;&amp;a(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e,t){if(t&amp;&amp;("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function f(){return f="undefined"!=typeof Reflect&amp;&amp;Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length&lt;3?e:n):o.value}},f.apply(this,arguments)}n.d(t,{A:()=&gt;J});var m={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function g(e){console.error("[Glide warn]: ".concat(e))}function v(e){return parseInt(e)}function y(e){return"string"==typeof e}function b(e){var t=i(e);return"function"===t||"object"===t&amp;&amp;!!e}function w(e){return"function"==typeof e}function S(e){return void 0===e}function _(e){return e.constructor===Array}function k(e,t,n){Object.defineProperty(e,t,n)}function A(e,t){var n=Object.assign({},e,t);if(t.hasOwnProperty("classes")){n.classes=Object.assign({},e.classes,t.classes);["direction","type","slide","arrow","nav"].forEach((function(r){t.classes.hasOwnProperty(r)&amp;&amp;(n.classes[r]=o(o({},e.classes[r]),t.classes[r]))}))}return t.hasOwnProperty("breakpoints")&amp;&amp;(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var T=function(){function e(){var t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};s(this,e),this.events=t,this.hop=t.hasOwnProperty}return l(e,[{key:"on",value:function(e,t){if(!_(e)){this.hop.call(this.events,e)||(this.events[e]=[]);var n=this.events[e].push(t)-1;return{remove:function(){delete this.events[e][n]}}}for(var r=0;r&lt;e.length;r++)this.on(e[r],t)}},{key:"emit",value:function(e,t){if(_(e))for(var n=0;n&lt;e.length;n++)this.emit(e[n],t);else this.hop.call(this.events,e)&amp;&amp;this.events[e].forEach((function(e){e(t||{})}))}}]),e}(),E=function(){function e(t){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};s(this,e),this._c={},this._t=[],this._e=new T,this.disabled=!1,this.selector=t,this.settings=A(m,n),this.index=this.settings.startAt}return l(e,[{key:"mount",value:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),b(e)?this._c=function(e,t,n){var r={};for(var o in t)w(t[o])?r[o]=t[o](e,r,n):g("Extension must be a function");for(var i in r)w(r[i].mount)&amp;&amp;r[i].mount();return r}(this,e,this._e):g("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:[];return _(e)?this._t=e:g("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};return this.settings=A(this.settings,e),e.hasOwnProperty("startAt")&amp;&amp;(this.index=e.startAt),this._e.emit("update"),this}},{key:"go",value:function(e){return this._c.Run.make(e),this}},{key:"move",value:function(e){return this._c.Transition.disable(),this._c.Move.make(e),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0];return e&amp;&amp;(this.settings.autoplay=e),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(e,t){return this._e.on(e,t),this}},{key:"isType",value:function(e){return this.settings.type===e}},{key:"settings",get:function(){return this._o},set:function(e){b(e)?this._o=e:g("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(e){this._i=v(e)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(e){this._d=!!e}}]),e}();function x(){return(new Date).getTime()}function C(e,t){var n,r,o,i,s=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{},a=0,l=function(){a=!1===s.leading?0:x(),n=null,i=e.apply(r,o),n||(r=o=null)},c=function(){var c=x();a||!1!==s.leading||(a=c);var u=t-(c-a);return r=this,o=arguments,u&lt;=0||u&gt;t?(n&amp;&amp;(clearTimeout(n),n=null),a=c,i=e.apply(r,o),n||(r=o=null)):n||!1===s.trailing||(n=setTimeout(l,u)),i};return c.cancel=function(){clearTimeout(n),a=0,n=r=o=null},c}var O={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function I(e){if(e&amp;&amp;e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)1===t.nodeType&amp;&amp;t!==e&amp;&amp;n.push(t);return n}return[]}function L(e){return Array.prototype.slice.call(e)}var P=function(){function e(){var t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};s(this,e),this.listeners=t}return l(e,[{key:"on",value:function(e,t,n){var r=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3];y(e)&amp;&amp;(e=[e]);for(var o=0;o&lt;e.length;o++)this.listeners[e[o]]=n,t.addEventListener(e[o],this.listeners[e[o]],r)}},{key:"off",value:function(e,t){var n=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2];y(e)&amp;&amp;(e=[e]);for(var r=0;r&lt;e.length;r++)t.removeEventListener(e[r],this.listeners[e[r]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();var N=["ltr","rtl"],D={"&gt;":"&lt;","&lt;":"&gt;","=":"="};function R(e,t){return{modify:function(e){return t.Direction.is("rtl")?-e:e}}}function M(e,t){return{modify:function(e){var n=Math.floor(e/t.Sizes.slideWidth);return e+t.Gaps.value*n}}}function F(e,t){return{modify:function(e){return e+t.Clones.grow/2}}}function H(e,t){return{modify:function(n){if(e.settings.focusAt&gt;=0){var r=t.Peek.value;return b(r)?n-r.before:n-r}return n}}}function j(e,t){return{modify:function(n){var r=t.Gaps.value,o=t.Sizes.width,i=e.settings.focusAt,s=t.Sizes.slideWidth;return"center"===i?n-(o/2-s/2):n-s*i-r*i}}}var G=!1;try{var B=Object.defineProperty({},"passive",{get:function(){G=!0}});window.addEventListener("testPassive",null,B),window.removeEventListener("testPassive",null,B)}catch(e){}var $=G,W=["touchstart","mousedown"],U=["touchmove","mousemove"],z=["touchend","touchcancel","mouseup","mouseleave"],V=["mousedown","mousemove","mouseup","mouseleave"];var X='[data-glide-el^="controls"]',K="".concat(X,' [data-glide-dir*="&lt;"]'),q="".concat(X,' [data-glide-dir*="&gt;"]');function Y(e){return b(e)?(t=e,Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e[n],e}),{})):(g("Breakpoints option must be an object"),{});var t}var Q={Html:function(e,t,n){var r={mount:function(){this.root=e.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.collectSlides()},collectSlides:function(){this.slides=L(this.wrapper.children).filter((function(t){return!t.classList.contains(e.settings.classes.slide.clone)}))}};return k(r,"root",{get:function(){return r._r},set:function(e){y(e)&amp;&amp;(e=document.querySelector(e)),null!==e?r._r=e:g("Root element must be a existing Html node")}}),k(r,"track",{get:function(){return r._t},set:function(e){r._t=e}}),k(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",(function(){r.collectSlides()})),r},Translate:function(e,t,n){var r={set:function(n){var r=function(e,t,n){var r=[M,F,H,j].concat(e._t,[R]);return{mutate:function(o){for(var i=0;i&lt;r.length;i++){var s=r[i];w(s)&amp;&amp;w(s().modify)?o=s(e,t,n).modify(o):g("Transformer should be a function that returns an object with `modify()` method")}return o}}}(e,t).mutate(n),o="translate3d(".concat(-1*r,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=o,t.Html.wrapper.style.webkitTransform=o,t.Html.wrapper.style.transform=o},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var n=t.Sizes.length,r=e.index,o=e.settings.perView;return t.Run.isOffset("&gt;")||t.Run.isOffset("|&gt;")?n+(r-o):(r+o)%n},getTravelDistance:function(){var n=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset("&gt;")||t.Run.isOffset("|&gt;")?-1*n:n}};return n.on("move",(function(o){if(!e.isType("carousel")||!t.Run.isOffset())return r.set(o.movement);t.Transition.after((function(){n.emit("translate.jump"),r.set(t.Sizes.slideWidth*e.index)}));var i=t.Sizes.slideWidth*t.Translate.getStartIndex();return r.set(i-t.Translate.getTravelDistance())})),n.on("destroy",(function(){r.remove()})),r},Transition:function(e,t,n){var r=!1,o={compose:function(t){var n=e.settings;return r?"".concat(t," 0ms ").concat(n.animationTimingFunc):"".concat(t," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(e)},remove:function(){t.Html.wrapper.style.transition=""},after:function(e){setTimeout((function(){e()}),this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return k(o,"duration",{get:function(){var n=e.settings;return e.isType("slider")&amp;&amp;t.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){o.set()})),n.on(["build.before","resize","translate.jump"],(function(){o.disable()})),n.on("run",(function(){o.enable()})),n.on("destroy",(function(){o.remove()})),o},Direction:function(e,t,n){var r={mount:function(){this.value=e.settings.direction},resolve:function(e){var t=e.slice(0,1);return this.is("rtl")?e.split(t).join(D[t]):e},is:function(e){return this.value===e},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return k(r,"value",{get:function(){return r._v},set:function(e){N.indexOf(e)&gt;-1?r._v=e:g("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){r.removeClass()})),n.on("update",(function(){r.mount()})),n.on(["build.before","update"],(function(){r.addClass()})),r},Peek:function(e,t,n){var r={mount:function(){this.value=e.settings.peek}};return k(r,"value",{get:function(){return r._v},set:function(e){b(e)?(e.before=v(e.before),e.after=v(e.after)):e=v(e),r._v=e}}),k(r,"reductor",{get:function(){var t=r.value,n=e.settings.perView;return b(t)?t.before/n+t.after/n:2*t/n}}),n.on(["resize","update"],(function(){r.mount()})),r},Sizes:function(e,t,n){var r={setupSlides:function(){for(var e="".concat(this.slideWidth,"px"),n=t.Html.slides,r=0;r&lt;n.length;r++)n[r].style.width=e},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var e=t.Html.slides,n=0;n&lt;e.length;n++)e[n].style.width="";t.Html.wrapper.style.width=""}};return k(r,"length",{get:function(){return t.Html.slides.length}}),k(r,"width",{get:function(){return t.Html.track.offsetWidth}}),k(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+t.Gaps.grow+t.Clones.grow}}),k(r,"slideWidth",{get:function(){return r.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){r.setupSlides(),r.setupWrapper()})),n.on("destroy",(function(){r.remove()})),r},Gaps:function(e,t,n){var r={apply:function(e){for(var n=0,r=e.length;n&lt;r;n++){var o=e[n].style,i=t.Direction.value;o[O[i][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==e.length-1?o[O[i][1]]="".concat(this.value/2,"px"):o[O[i][1]]=""}},remove:function(e){for(var t=0,n=e.length;t&lt;n;t++){var r=e[t].style;r.marginLeft="",r.marginRight=""}}};return k(r,"value",{get:function(){return v(e.settings.gap)}}),k(r,"grow",{get:function(){return r.value*t.Sizes.length}}),k(r,"reductor",{get:function(){var t=e.settings.perView;return r.value*(t-1)/t}}),n.on(["build.after","update"],C((function(){r.apply(t.Html.wrapper.children)}),30)),n.on("destroy",(function(){r.remove(t.Html.wrapper.children)})),r},Move:function(e,t,n){var r={mount:function(){this._o=0},make:function(){var e=this,r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:0;this.offset=r,n.emit("move",{movement:this.value}),t.Transition.after((function(){n.emit("move.after",{movement:e.value})}))}};return k(r,"offset",{get:function(){return r._o},set:function(e){r._o=S(e)?0:v(e)}}),k(r,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),k(r,"value",{get:function(){var e=this.offset,n=this.translate;return t.Direction.is("rtl")?n+e:n-e}}),n.on(["build.before","run"],(function(){r.make()})),r},Clones:function(e,t,n){var r={mount:function(){this.items=[],e.isType("carousel")&amp;&amp;(this.items=this.collect())},collect:function(){var n=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:[],r=t.Html.slides,o=e.settings,i=o.perView,s=o.classes,a=o.cloningRatio;if(r.length&gt;0)for(var l=i+ +!!e.settings.peek+Math.round(i/2),c=r.slice(0,l).reverse(),u=r.slice(-1*l),d=0;d&lt;Math.max(a,Math.floor(i/r.length));d++){for(var p=0;p&lt;c.length;p++){var h=c[p].cloneNode(!0);h.classList.add(s.slide.clone),n.push(h)}for(var f=0;f&lt;u.length;f++){var m=u[f].cloneNode(!0);m.classList.add(s.slide.clone),n.unshift(m)}}return n},append:function(){for(var e=this.items,n=t.Html,r=n.wrapper,o=n.slides,i=Math.floor(e.length/2),s=e.slice(0,i).reverse(),a=e.slice(-1*i).reverse(),l="".concat(t.Sizes.slideWidth,"px"),c=0;c&lt;a.length;c++)r.appendChild(a[c]);for(var u=0;u&lt;s.length;u++)r.insertBefore(s[u],o[0]);for(var d=0;d&lt;e.length;d++)e[d].style.width=l},remove:function(){for(var e=this.items,n=0;n&lt;e.length;n++)t.Html.wrapper.removeChild(e[n])}};return k(r,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*r.items.length}}),n.on("update",(function(){r.remove(),r.mount(),r.append()})),n.on("build.before",(function(){e.isType("carousel")&amp;&amp;r.append()})),n.on("destroy",(function(){r.remove()})),r},Resize:function(e,t,n){var r=new P,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,C((function(){n.emit("resize")}),e.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Build:function(e,t,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var n=e.settings.classes,r=t.Html.slides[e.index];r&amp;&amp;(r.classList.add(n.slide.active),I(r).forEach((function(e){e.classList.remove(n.slide.active)})))},removeClasses:function(){var n=e.settings.classes,r=n.type,o=n.slide;t.Html.root.classList.remove(r[e.settings.type]),t.Html.slides.forEach((function(e){e.classList.remove(o.active)}))}};return n.on(["destroy","update"],(function(){r.removeClasses()})),n.on(["resize","update"],(function(){r.mount()})),n.on("move.after",(function(){r.activeClass()})),r},Run:function(e,t,n){var r={mount:function(){this._o=!1},make:function(r){var o=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=r,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after((function(){o.isStart()&amp;&amp;n.emit("run.start",o.move),o.isEnd()&amp;&amp;n.emit("run.end",o.move),o.isOffset()&amp;&amp;(o._o=!1,n.emit("run.offset",o.move)),n.emit("run.after",o.move),e.enable()})))},calculate:function(){var t=this.move,n=this.length,o=t.steps,i=t.direction,s=1;if("="===i)return e.settings.bound&amp;&amp;v(o)&gt;n?void(e.index=n):void(e.index=o);if("&gt;"!==i||"&gt;"!==o)if("&lt;"!==i||"&lt;"!==o){if("|"===i&amp;&amp;(s=e.settings.perView||1),"&gt;"===i||"|"===i&amp;&amp;"&gt;"===o){var a=function(t){var n=e.index;if(e.isType("carousel"))return n+t;return n+(t-n%t)}(s);return a&gt;n&amp;&amp;(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t&lt;=o)return t;if(e.isType("carousel"))return t-(o+1);if(e.settings.rewind)return r.isBound()&amp;&amp;!r.isEnd()?o:0;if(r.isBound())return o;return Math.floor(o/n)*n}(a,s))}if("&lt;"===i||"|"===i&amp;&amp;"&lt;"===o){var l=function(t){var n=e.index;if(e.isType("carousel"))return n-t;var r=Math.ceil(n/t);return(r-1)*t}(s);return l&lt;0&amp;&amp;(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t&gt;=0)return t;if(e.isType("carousel"))return t+(o+1);if(e.settings.rewind)return r.isBound()&amp;&amp;r.isStart()?o:Math.floor(o/n)*n;return 0}(l,s))}g("Invalid direction pattern [".concat(i).concat(o,"] has been used"))}else e.index=0;else e.index=n},isStart:function(){return e.index&lt;=0},isEnd:function(){return e.index&gt;=this.length},isOffset:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:void 0;return e?!!this._o&amp;&amp;("|&gt;"===e?"|"===this.move.direction&amp;&amp;"&gt;"===this.move.steps:"|&lt;"===e?"|"===this.move.direction&amp;&amp;"&lt;"===this.move.steps:this.move.direction===e):this._o},isBound:function(){return e.isType("slider")&amp;&amp;"center"!==e.settings.focusAt&amp;&amp;e.settings.bound}};return k(r,"move",{get:function(){return this._m},set:function(e){var t=e.substr(1);this._m={direction:e.substr(0,1),steps:t?v(t)?v(t):t:0}}}),k(r,"length",{get:function(){var n=e.settings,r=t.Html.slides.length;return this.isBound()?r-1-(v(n.perView)-1)+v(n.focusAt):r-1}}),k(r,"offset",{get:function(){return this._o}}),r},Swipe:function(e,t,n){var r=new P,o=0,i=0,s=0,a=!1,l=!!$&amp;&amp;{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(t){if(!a&amp;&amp;!e.disabled){this.disable();var r=this.touches(t);o=null,i=v(r.pageX),s=v(r.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(r){if(!e.disabled){var a=e.settings,l=a.touchAngle,c=a.touchRatio,u=a.classes,d=this.touches(r),p=v(d.pageX)-i,h=v(d.pageY)-s,f=Math.abs(p&lt;&lt;2),m=Math.abs(h&lt;&lt;2),g=Math.sqrt(f+m),y=Math.sqrt(m);if(!(180*(o=Math.asin(y/g))/Math.PI&lt;l))return!1;r.stopPropagation(),t.Move.make(p*parseFloat(c)),t.Html.root.classList.add(u.dragging),n.emit("swipe.move")}},end:function(r){if(!e.disabled){var s=e.settings,a=s.perSwipe,l=s.touchAngle,c=s.classes,u=this.touches(r),d=this.threshold(r),p=u.pageX-i,h=180*o/Math.PI;this.enable(),p&gt;d&amp;&amp;h&lt;l?t.Run.make(t.Direction.resolve("".concat(a,"&lt;"))):p&lt;-d&amp;&amp;h&lt;l?t.Run.make(t.Direction.resolve("".concat(a,"&gt;"))):t.Move.make(),t.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,o=e.settings,i=o.swipeThreshold,s=o.dragThreshold;i&amp;&amp;r.on(W[0],t.Html.wrapper,(function(e){n.start(e)}),l),s&amp;&amp;r.on(W[1],t.Html.wrapper,(function(e){n.start(e)}),l)},unbindSwipeStart:function(){r.off(W[0],t.Html.wrapper,l),r.off(W[1],t.Html.wrapper,l)},bindSwipeMove:function(){var n=this;r.on(U,t.Html.wrapper,C((function(e){n.move(e)}),e.settings.throttle),l)},unbindSwipeMove:function(){r.off(U,t.Html.wrapper,l)},bindSwipeEnd:function(){var e=this;r.on(z,t.Html.wrapper,(function(t){e.end(t)}))},unbindSwipeEnd:function(){r.off(z,t.Html.wrapper)},touches:function(e){return V.indexOf(e.type)&gt;-1?e:e.touches[0]||e.changedTouches[0]},threshold:function(t){var n=e.settings;return V.indexOf(t.type)&gt;-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,t.Transition.enable(),this},disable:function(){return a=!0,t.Transition.disable(),this}};return n.on("build.after",(function(){t.Html.root.classList.add(e.settings.classes.swipeable)})),n.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),r.destroy()})),c},Images:function(e,t,n){var r=new P,o={mount:function(){this.bind()},bind:function(){r.on("dragstart",t.Html.wrapper,this.dragstart)},unbind:function(){r.off("dragstart",t.Html.wrapper)},dragstart:function(e){e.preventDefault()}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Anchors:function(e,t,n){var r=new P,o=!1,i=!1,s={mount:function(){this._a=t.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){r.on("click",t.Html.wrapper,this.click)},unbind:function(){r.off("click",t.Html.wrapper)},click:function(e){i&amp;&amp;(e.stopPropagation(),e.preventDefault())},detach:function(){if(i=!0,!o){for(var e=0;e&lt;this.items.length;e++)this.items[e].draggable=!1;o=!0}return this},attach:function(){if(i=!1,o){for(var e=0;e&lt;this.items.length;e++)this.items[e].draggable=!0;o=!1}return this}};return k(s,"items",{get:function(){return s._a}}),n.on("swipe.move",(function(){s.detach()})),n.on("swipe.end",(function(){t.Transition.after((function(){s.attach()}))})),n.on("destroy",(function(){s.attach(),s.unbind(),r.destroy()})),s},Controls:function(e,t,n){var r=new P,o=!!$&amp;&amp;{passive:!0},i={mount:function(){this._n=t.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=t.Html.root.querySelectorAll(X),this._arrowControls={previous:t.Html.root.querySelectorAll(K),next:t.Html.root.querySelectorAll(q)},this.addBindings()},setActive:function(){for(var e=0;e&lt;this._n.length;e++)this.addClass(this._n[e].children)},removeActive:function(){for(var e=0;e&lt;this._n.length;e++)this.removeClass(this._n[e].children)},addClass:function(t){var n=e.settings,r=t[e.index];r&amp;&amp;(r.classList.add(n.classes.nav.active),I(r).forEach((function(e){e.classList.remove(n.classes.nav.active)})))},removeClass:function(t){var n=t[e.index];null==n||n.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var n=i._arrowControls.next,r=i._arrowControls.previous;this.resetArrowState(n,r),0===e.index&amp;&amp;this.disableArrow(r),e.index===t.Run.length&amp;&amp;this.disableArrow(n)}},resetArrowState:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o&lt;n;o++)r[o]=arguments[o];r.forEach((function(e){L(e).forEach((function(e){e.classList.remove(t.classes.arrow.disabled)}))}))},disableArrow:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o&lt;n;o++)r[o]=arguments[o];r.forEach((function(e){L(e).forEach((function(e){e.classList.add(t.classes.arrow.disabled)}))}))},addBindings:function(){for(var e=0;e&lt;this._c.length;e++)this.bind(this._c[e].children)},removeBindings:function(){for(var e=0;e&lt;this._c.length;e++)this.unbind(this._c[e].children)},bind:function(e){for(var t=0;t&lt;e.length;t++)r.on("click",e[t],this.click),r.on("touchstart",e[t],this.click,o)},unbind:function(e){for(var t=0;t&lt;e.length;t++)r.off(["click","touchstart"],e[t])},click:function(e){$||"touchstart"!==e.type||e.preventDefault();var n=e.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(n))}};return k(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],(function(){i.setActive()})),n.on(["mount.after","run"],(function(){i.setArrowState()})),n.on("destroy",(function(){i.removeBindings(),i.removeActive(),r.destroy()})),i},Keyboard:function(e,t,n){var r=new P,o={mount:function(){e.settings.keyboard&amp;&amp;this.bind()},bind:function(){r.on("keyup",document,this.press)},unbind:function(){r.off("keyup",document)},press:function(n){var r=e.settings.perSwipe;["ArrowRight","ArrowLeft"].includes(n.code)&amp;&amp;t.Run.make(t.Direction.resolve("".concat(r).concat({ArrowRight:"&gt;",ArrowLeft:"&lt;"}[n.code])))}};return n.on(["destroy","update"],(function(){o.unbind()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Autoplay:function(e,t,n){var r=new P,o={mount:function(){this.enable(),this.start(),e.settings.hoverpause&amp;&amp;this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var r=this;this._e&amp;&amp;(this.enable(),e.settings.autoplay&amp;&amp;S(this._i)&amp;&amp;(this._i=setInterval((function(){r.stop(),t.Run.make("&gt;"),r.start(),n.emit("autoplay")}),this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var e=this;r.on("mouseover",t.Html.root,(function(){e._e&amp;&amp;e.stop()})),r.on("mouseout",t.Html.root,(function(){e._e&amp;&amp;e.start()}))},unbind:function(){r.off(["mouseover","mouseout"],t.Html.root)}};return k(o,"time",{get:function(){var n=t.Html.slides[e.index].getAttribute("data-glide-autoplay");return v(n||e.settings.autoplay)}}),n.on(["destroy","update"],(function(){o.unbind()})),n.on(["run.before","swipe.start","update"],(function(){o.stop()})),n.on(["pause","destroy"],(function(){o.disable(),o.stop()})),n.on(["run.after","swipe.end"],(function(){o.start()})),n.on(["play"],(function(){o.enable(),o.start()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Breakpoints:function(e,t,n){var r=new P,o=e.settings,i=Y(o.breakpoints),s=Object.assign({},o),a={match:function(e){if(void 0!==window.matchMedia)for(var t in e)if(e.hasOwnProperty(t)&amp;&amp;window.matchMedia("(max-width: ".concat(t,"px)")).matches)return e[t];return s}};return Object.assign(o,a.match(i)),r.on("resize",window,C((function(){e.settings=A(o,a.match(i))}),e.settings.throttle)),n.on("update",(function(){i=Y(i),s=Object.assign({},o)})),n.on("destroy",(function(){r.off("resize",window)})),a}},J=function(e){!function(e,t){if("function"!=typeof t&amp;&amp;null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&amp;&amp;t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&amp;&amp;d(e,t)}(n,e);var t=h(n);function n(){return s(this,n),t.apply(this,arguments)}return l(n,[{key:"mount",value:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};return f(u(n.prototype),"mount",this).call(this,Object.assign({},Q,e))}}]),n}(E)},52781:(e,t,n)=&gt;{"use strict";n.d(t,{KE:()=&gt;st,YY:()=&gt;de,CU:()=&gt;se,bP:()=&gt;dt,gk:()=&gt;K,T7:()=&gt;Ne,Nx:()=&gt;De,gu:()=&gt;He,FF:()=&gt;Ge,iI:()=&gt;B,hO:()=&gt;Be,Op:()=&gt;ze,BQ:()=&gt;Ve,eE:()=&gt;we,OX:()=&gt;at,Zc:()=&gt;pt,KV:()=&gt;z,jT:()=&gt;lt,MG:()=&gt;Xe,JJ:()=&gt;ct,tG:()=&gt;ut});var r=n(42845),o=n(1575),i=n(61396),s=n(58903),a=n(38262);const l=(e,t)=&gt;!e.selection.empty&amp;&amp;(t&amp;&amp;t(e.tr.deleteSelection().scrollIntoView()),!0);function c(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset&gt;0)?null:n}const u=(e,t,n)=&gt;{let o=c(e,n);if(!o)return!1;let i=f(o);if(!i){let n=o.blockRange(),r=n&amp;&amp;(0,a.jP)(n);return null!=r&amp;&amp;(t&amp;&amp;t(e.tr.lift(n,r).scrollIntoView()),!0)}let l=i.nodeBefore;if(E(e,i,t,-1))return!0;if(0==o.parent.content.size&amp;&amp;(p(l,"end")||r.nh.isSelectable(l)))for(let n=o.depth;;n--){let c=(0,a.$L)(e.doc,o.before(n),o.after(n),s.Ji.empty);if(c&amp;&amp;c.slice.size&lt;c.to-c.from){if(t){let n=e.tr.step(c);n.setSelection(p(l,"end")?r.LN.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):r.nh.create(n.doc,i.pos-l.nodeSize)),t(n.scrollIntoView())}return!0}if(1==n||o.node(n-1).childCount&gt;1)break}return!(!l.isAtom||i.depth!=o.depth-1)&amp;&amp;(t&amp;&amp;t(e.tr.delete(i.pos-l.nodeSize,i.pos).scrollIntoView()),!0)};function d(e,t,n){let o=t.nodeBefore,i=t.pos-1;for(;!o.isTextblock;i--){if(o.type.spec.isolating)return!1;let e=o.lastChild;if(!e)return!1;o=e}let l=t.nodeAfter,c=t.pos+1;for(;!l.isTextblock;c++){if(l.type.spec.isolating)return!1;let e=l.firstChild;if(!e)return!1;l=e}let u=(0,a.$L)(e.doc,i,c,s.Ji.empty);if(!u||u.from!=i||u instanceof a.Ln&amp;&amp;u.slice.size&gt;=c-i)return!1;if(n){let t=e.tr.step(u);t.setSelection(r.U3.create(t.doc,i)),n(t.scrollIntoView())}return!0}function p(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&amp;&amp;1!=r.childCount)return!1}return!1}const h=(e,t,n)=&gt;{let{$head:o,empty:i}=e.selection,s=o;if(!i)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):o.parentOffset&gt;0)return!1;s=f(o)}let a=s&amp;&amp;s.nodeBefore;return!(!a||!r.nh.isSelectable(a))&amp;&amp;(t&amp;&amp;t(e.tr.setSelection(r.nh.create(e.doc,s.pos-a.nodeSize)).scrollIntoView()),!0)};function f(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t&gt;=0;t--){if(e.index(t)&gt;0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function m(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset&lt;n.parent.content.size)?null:n}const g=(e,t,n)=&gt;{let o=m(e,n);if(!o)return!1;let i=y(o);if(!i)return!1;let l=i.nodeAfter;if(E(e,i,t,1))return!0;if(0==o.parent.content.size&amp;&amp;(p(l,"start")||r.nh.isSelectable(l))){let n=(0,a.$L)(e.doc,o.before(),o.after(),s.Ji.empty);if(n&amp;&amp;n.slice.size&lt;n.to-n.from){if(t){let o=e.tr.step(n);o.setSelection(p(l,"start")?r.LN.findFrom(o.doc.resolve(o.mapping.map(i.pos)),1):r.nh.create(o.doc,o.mapping.map(i.pos))),t(o.scrollIntoView())}return!0}}return!(!l.isAtom||i.depth!=o.depth-1)&amp;&amp;(t&amp;&amp;t(e.tr.delete(i.pos,i.pos+l.nodeSize).scrollIntoView()),!0)},v=(e,t,n)=&gt;{let{$head:o,empty:i}=e.selection,s=o;if(!i)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):o.parentOffset&lt;o.parent.content.size)return!1;s=y(o)}let a=s&amp;&amp;s.nodeAfter;return!(!a||!r.nh.isSelectable(a))&amp;&amp;(t&amp;&amp;t(e.tr.setSelection(r.nh.create(e.doc,s.pos)).scrollIntoView()),!0)};function y(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t&gt;=0;t--){let n=e.node(t);if(e.index(t)+1&lt;n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const b=(e,t)=&gt;{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&amp;&amp;(t&amp;&amp;t(e.tr.insertText("\n").scrollIntoView()),!0)};function w(e){for(let t=0;t&lt;e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&amp;&amp;!n.hasRequiredAttrs())return n}return null}const S=(e,t)=&gt;{let{$head:n,$anchor:o}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(o))return!1;let i=n.node(-1),s=n.indexAfter(-1),a=w(i.contentMatchAt(s));if(!a||!i.canReplaceWith(s,s,a))return!1;if(t){let o=n.after(),i=e.tr.replaceWith(o,o,a.createAndFill());i.setSelection(r.LN.near(i.doc.resolve(o),1)),t(i.scrollIntoView())}return!0},_=(e,t)=&gt;{let n=e.selection,{$from:o,$to:i}=n;if(n instanceof r.i5||o.parent.inlineContent||i.parent.inlineContent)return!1;let s=w(i.parent.contentMatchAt(i.indexAfter()));if(!s||!s.isTextblock)return!1;if(t){let n=(!o.parentOffset&amp;&amp;i.index()&lt;i.parent.childCount?o:i).pos,a=e.tr.insert(n,s.createAndFill());a.setSelection(r.U3.create(a.doc,n+1)),t(a.scrollIntoView())}return!0},k=(e,t)=&gt;{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth&gt;1&amp;&amp;n.after()!=n.end(-1)){let r=n.before();if((0,a.zy)(e.doc,r))return t&amp;&amp;t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),o=r&amp;&amp;(0,a.jP)(r);return null!=o&amp;&amp;(t&amp;&amp;t(e.tr.lift(r,o).scrollIntoView()),!0)};const A=(e,t)=&gt;{let{$from:n,$to:o}=e.selection;if(e.selection instanceof r.nh&amp;&amp;e.selection.node.isBlock)return!(!n.parentOffset||!(0,a.zy)(e.doc,n.pos)||(t&amp;&amp;t(e.tr.split(n.pos).scrollIntoView()),0));if(!n.depth)return!1;let i,s,l=[],c=!1,u=!1;for(let e=n.depth;;e--){if(n.node(e).isBlock){c=n.end(e)==n.pos+(n.depth-e),u=n.start(e)==n.pos-(n.depth-e),s=w(n.node(e-1).contentMatchAt(n.indexAfter(e-1)));let t=T&amp;&amp;T(o.parent,c,n);l.unshift(t||(c&amp;&amp;s?{type:s}:null)),i=e;break}if(1==e)return!1;l.unshift(null)}let d=e.tr;(e.selection instanceof r.U3||e.selection instanceof r.i5)&amp;&amp;d.deleteSelection();let p=d.mapping.map(n.pos),h=(0,a.zy)(d.doc,p,l.length,l);if(h||(l[0]=s?{type:s}:null,h=(0,a.zy)(d.doc,p,l.length,l)),d.split(p,l.length,l),!c&amp;&amp;u&amp;&amp;n.node(i).type!=s){let e=d.mapping.map(n.before(i)),t=d.doc.resolve(e);s&amp;&amp;n.node(i-1).canReplaceWith(t.index(),t.index()+1,s)&amp;&amp;d.setNodeMarkup(d.mapping.map(n.before(i)),s)}return t&amp;&amp;t(d.scrollIntoView()),!0};var T;function E(e,t,n,o){let i,l,c=t.nodeBefore,u=t.nodeAfter,d=c.type.spec.isolating||u.type.spec.isolating;if(!d&amp;&amp;function(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!(!(r&amp;&amp;o&amp;&amp;r.type.compatibleContent(o.type))||(!r.content.size&amp;&amp;t.parent.canReplace(i-1,i)?(n&amp;&amp;n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(i,i+1)||!o.isTextblock&amp;&amp;!(0,a.n9)(e.doc,t.pos)||(n&amp;&amp;n(e.tr.join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let h=!d&amp;&amp;t.parent.canReplace(t.index(),t.index()+1);if(h&amp;&amp;(i=(l=c.contentMatchAt(c.childCount)).findWrapping(u.type))&amp;&amp;l.matchType(i[0]||u.type).validEnd){if(n){let r=t.pos+u.nodeSize,o=s.FK.empty;for(let e=i.length-1;e&gt;=0;e--)o=s.FK.from(i[e].create(null,o));o=s.FK.from(c.copy(o));let l=e.tr.step(new a.Wg(t.pos-1,r,t.pos,r,new s.Ji(o,1,0),i.length,!0)),d=l.doc.resolve(r+2*i.length);d.nodeAfter&amp;&amp;d.nodeAfter.type==c.type&amp;&amp;(0,a.n9)(l.doc,d.pos)&amp;&amp;l.join(d.pos),n(l.scrollIntoView())}return!0}let f=u.type.spec.isolating||o&gt;0&amp;&amp;d?null:r.LN.findFrom(t,1),m=f&amp;&amp;f.$from.blockRange(f.$to),g=m&amp;&amp;(0,a.jP)(m);if(null!=g&amp;&amp;g&gt;=t.depth)return n&amp;&amp;n(e.tr.lift(m,g).scrollIntoView()),!0;if(h&amp;&amp;p(u,"start",!0)&amp;&amp;p(c,"end")){let r=c,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let i=u,l=1;for(;!i.isTextblock;i=i.firstChild)l++;if(r.canReplace(r.childCount,r.childCount,i.content)){if(n){let r=s.FK.empty;for(let e=o.length-1;e&gt;=0;e--)r=s.FK.from(o[e].copy(r));n(e.tr.step(new a.Wg(t.pos-o.length,t.pos+u.nodeSize,t.pos+l,t.pos+u.nodeSize-l,new s.Ji(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function x(e){return function(t,n){let o=t.selection,i=e&lt;0?o.$from:o.$to,s=i.depth;for(;i.node(s).isInline;){if(!s)return!1;s--}return!!i.node(s).isTextblock&amp;&amp;(n&amp;&amp;n(t.tr.setSelection(r.U3.create(t.doc,e&lt;0?i.start(s):i.end(s)))),!0)}}const C=x(-1),O=x(1);function I(e,t=null){return function(n,r){let o=!1;for(let r=0;r&lt;n.selection.ranges.length&amp;&amp;!o;r++){let{$from:{pos:i},$to:{pos:s}}=n.selection.ranges[r];n.doc.nodesBetween(i,s,((r,i)=&gt;{if(o)return!1;if(r.isTextblock&amp;&amp;!r.hasMarkup(e,t))if(r.type==e)o=!0;else{let t=n.doc.resolve(i),r=t.index();o=t.parent.canReplaceWith(r,r+1,e)}}))}if(!o)return!1;if(r){let o=n.tr;for(let r=0;r&lt;n.selection.ranges.length;r++){let{$from:{pos:i},$to:{pos:s}}=n.selection.ranges[r];o.setBlockType(i,s,e,t)}r(o.scrollIntoView())}return!0}}function L(...e){return function(t,n,r){for(let o=0;o&lt;e.length;o++)if(e[o](t,n,r))return!0;return!1}}let P=L(l,u,h),N=L(l,g,v);const D={Enter:L(b,_,k,A),"Mod-Enter":S,Backspace:P,"Mod-Backspace":P,"Shift-Backspace":P,Delete:N,"Mod-Delete":N,"Mod-a":(e,t)=&gt;(t&amp;&amp;t(e.tr.setSelection(new r.i5(e.doc))),!0)},R={"Ctrl-h":D.Backspace,"Alt-Backspace":D["Mod-Backspace"],"Ctrl-d":D.Delete,"Ctrl-Alt-Backspace":D["Mod-Delete"],"Alt-Delete":D["Mod-Delete"],"Alt-d":D["Mod-Delete"],"Ctrl-a":C,"Ctrl-e":O};for(let e in D)R[e]=D[e];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&amp;&amp;os.platform();function M(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,l=o.blockRange(i),c=!1,u=l;if(!l)return!1;if(l.depth&gt;=2&amp;&amp;o.node(l.depth-1).type.compatibleContent(e)&amp;&amp;0==l.startIndex){if(0==o.index(l.depth-1))return!1;let e=n.doc.resolve(l.start-2);u=new s.u$(e,e,l.depth),l.endIndex&lt;l.parent.childCount&amp;&amp;(l=new s.u$(o,n.doc.resolve(i.end(l.depth)),l.depth)),c=!0}let d=(0,a.oM)(u,e,t,l);return!!d&amp;&amp;(r&amp;&amp;r(function(e,t,n,r,o){let i=s.FK.empty;for(let e=n.length-1;e&gt;=0;e--)i=s.FK.from(n[e].type.create(n[e].attrs,i));e.step(new a.Wg(t.start-(r?2:0),t.end,t.start,t.end,new s.Ji(i,0,0),n.length,!0));let l=0;for(let e=0;e&lt;n.length;e++)n[e].type==o&amp;&amp;(l=e+1);let c=n.length-l,u=t.start+n.length-(r?2:0),d=t.parent;for(let n=t.startIndex,r=t.endIndex,o=!0;n&lt;r;n++,o=!1)!o&amp;&amp;(0,a.zy)(e.doc,u,c)&amp;&amp;(e.split(u,c),u+=2*c),u+=d.child(n).nodeSize;return e}(n.tr,l,d,c,e).scrollIntoView()),!0)}}function F(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,(t=&gt;t.childCount&gt;0&amp;&amp;t.firstChild.type==e));return!!i&amp;&amp;(!n||(r.node(i.depth-1).type==e?function(e,t,n,r){let o=e.tr,i=r.end,l=r.$to.end(r.depth);i&lt;l&amp;&amp;(o.step(new a.Wg(i-1,l,i,l,new s.Ji(s.FK.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new s.u$(o.doc.resolve(r.$from.pos),o.doc.resolve(l),r.depth));const c=(0,a.jP)(r);if(null==c)return!1;o.lift(r,c);let u=o.mapping.map(i,-1)-1;(0,a.n9)(o.doc,u)&amp;&amp;o.join(u);return t(o.scrollIntoView()),!0}(t,n,e,i):function(e,t,n){let r=e.tr,o=n.parent;for(let e=n.end,t=n.endIndex-1,i=n.startIndex;t&gt;i;t--)e-=o.child(t).nodeSize,r.delete(e-1,e+1);let i=r.doc.resolve(n.start),l=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let c=0==n.startIndex,u=n.endIndex==o.childCount,d=i.node(-1),p=i.index(-1);if(!d.canReplace(p+(c?0:1),p+1,l.content.append(u?s.FK.empty:s.FK.from(o))))return!1;let h=i.pos,f=h+l.nodeSize;return r.step(new a.Wg(h-(c?1:0),f+(u?1:0),h+1,f-1,new s.Ji((c?s.FK.empty:s.FK.from(o.copy(s.FK.empty))).append(u?s.FK.empty:s.FK.from(o.copy(s.FK.empty))),c?0:1,u?0:1),c?0:1)),t(r.scrollIntoView()),!0}(t,n,i)))}}function H(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:o}=n,{storedMarks:i}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return i},get selection(){return r},get doc(){return o},get tr(){return r=n.selection,o=n.doc,i=n.storedMarks,n}}}class j{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:o}=n,i=this.buildProps(o);return Object.fromEntries(Object.entries(e).map((([e,t])=&gt;[e,(...e)=&gt;{const n=t(...e)(i);return o.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(o),n}])))}get chain(){return()=&gt;this.createChain()}get can(){return()=&gt;this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,s=[],a=!!e,l=e||o.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=&gt;[e,(...e)=&gt;{const r=this.buildProps(l,t),o=n(...e)(r);return s.push(o),c}]))),run:()=&gt;(a||!t||l.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(l),s.every((e=&gt;!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,r=!1,o=e||n.tr,i=this.buildProps(o,r),s=Object.fromEntries(Object.entries(t).map((([e,t])=&gt;[e,(...e)=&gt;t(...e)({...i,dispatch:void 0})])));return{...s,chain:()=&gt;this.createChain(o,r)}}buildProps(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,s={tr:e,editor:r,view:i,state:H({state:o,transaction:e}),dispatch:t?()=&gt;{}:void 0,chain:()=&gt;this.createChain(e,t),can:()=&gt;this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=&gt;[e,(...e)=&gt;t(...e)(s)])))}};return s}}class G{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&amp;&amp;n.forEach((e=&gt;e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&amp;&amp;(t?this.callbacks[e]=n.filter((e=&gt;e!==t)):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}function B(e,t,n){if(void 0===e.config[t]&amp;&amp;e.parent)return B(e.parent,t,n);if("function"==typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?B(e.parent,t,n):null})}return e.config[t]}function $(e){return{baseExtensions:e.filter((e=&gt;"extension"===e.type)),nodeExtensions:e.filter((e=&gt;"node"===e.type)),markExtensions:e.filter((e=&gt;"mark"===e.type))}}function W(e){const t=[],{nodeExtensions:n,markExtensions:r}=$(e),o=[...n,...r],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=&gt;{const n=B(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:o});if(!n)return;n().forEach((e=&gt;{e.types.forEach((n=&gt;{Object.entries(e.attributes).forEach((([e,r])=&gt;{t.push({type:n,name:e,attribute:{...i,...r}})}))}))}))})),o.forEach((e=&gt;{const n={name:e.name,options:e.options,storage:e.storage},r=B(e,"addAttributes",n);if(!r)return;const o=r();Object.entries(o).forEach((([n,r])=&gt;{const o={...i,...r};"function"==typeof(null==o?void 0:o.default)&amp;&amp;(o.default=o.default()),(null==o?void 0:o.isRequired)&amp;&amp;void 0===(null==o?void 0:o.default)&amp;&amp;delete o.default,t.push({type:e.name,name:n,attribute:o})}))})),t}function U(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function z(...e){return e.filter((e=&gt;!!e)).reduce(((e,t)=&gt;{const n={...e};return Object.entries(t).forEach((([e,t])=&gt;{if(n[e])if("class"===e){const r=t?t.split(" "):[],o=n[e]?n[e].split(" "):[],i=r.filter((e=&gt;!o.includes(e)));n[e]=[...o,...i].join(" ")}else if("style"===e){const r=t?t.split(";").map((e=&gt;e.trim())).filter(Boolean):[],o=n[e]?n[e].split(";").map((e=&gt;e.trim())).filter(Boolean):[],i=new Map;o.forEach((e=&gt;{const[t,n]=e.split(":").map((e=&gt;e.trim()));i.set(t,n)})),r.forEach((e=&gt;{const[t,n]=e.split(":").map((e=&gt;e.trim()));i.set(t,n)})),n[e]=Array.from(i.entries()).map((([e,t])=&gt;`${e}: ${t}`)).join("; ")}else n[e]=t;else n[e]=t})),n}),{})}function V(e,t){return t.filter((t=&gt;t.type===e.type.name)).filter((e=&gt;e.attribute.rendered)).map((t=&gt;t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=&gt;z(e,t)),{})}function X(e){return"function"==typeof e}function K(e,t=void 0,...n){return X(e)?t?e.bind(t)(...n):e(...n):e}function q(e,t){return"style"in e?e:{...e,getAttrs:n=&gt;{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;const o=t.reduce(((e,t)=&gt;{const r=t.attribute.parseHTML?t.attribute.parseHTML(n):function(e){return"string"!=typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&amp;&amp;e}(n.getAttribute(t.name));return null==r?e:{...e,[t.name]:r}}),{});return{...r,...o}}}}function Y(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=&gt;("attrs"!==e||!function(e={}){return 0===Object.keys(e).length&amp;&amp;e.constructor===Object}(t))&amp;&amp;null!=t)))}function Q(e,t){var n;const r=W(e),{nodeExtensions:o,markExtensions:i}=$(e),a=null===(n=o.find((e=&gt;B(e,"topNode"))))||void 0===n?void 0:n.name,l=Object.fromEntries(o.map((n=&gt;{const o=r.filter((e=&gt;e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},s=Y({...e.reduce(((e,t)=&gt;{const r=B(t,"extendNodeSchema",i);return{...e,...r?r(n):{}}}),{}),content:K(B(n,"content",i)),marks:K(B(n,"marks",i)),group:K(B(n,"group",i)),inline:K(B(n,"inline",i)),atom:K(B(n,"atom",i)),selectable:K(B(n,"selectable",i)),draggable:K(B(n,"draggable",i)),code:K(B(n,"code",i)),whitespace:K(B(n,"whitespace",i)),defining:K(B(n,"defining",i)),isolating:K(B(n,"isolating",i)),attrs:Object.fromEntries(o.map((e=&gt;{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=K(B(n,"parseHTML",i));a&amp;&amp;(s.parseDOM=a.map((e=&gt;q(e,o))));const l=B(n,"renderHTML",i);l&amp;&amp;(s.toDOM=e=&gt;l({node:e,HTMLAttributes:V(e,o)}));const c=B(n,"renderText",i);return c&amp;&amp;(s.toText=c),[n.name,s]}))),c=Object.fromEntries(i.map((n=&gt;{const o=r.filter((e=&gt;e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},s=Y({...e.reduce(((e,t)=&gt;{const r=B(t,"extendMarkSchema",i);return{...e,...r?r(n):{}}}),{}),inclusive:K(B(n,"inclusive",i)),excludes:K(B(n,"excludes",i)),group:K(B(n,"group",i)),spanning:K(B(n,"spanning",i)),code:K(B(n,"code",i)),attrs:Object.fromEntries(o.map((e=&gt;{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=K(B(n,"parseHTML",i));a&amp;&amp;(s.parseDOM=a.map((e=&gt;q(e,o))));const l=B(n,"renderHTML",i);return l&amp;&amp;(s.toDOM=e=&gt;l({mark:e,HTMLAttributes:V(e,o)})),[n.name,s]})));return new s.Sj({topNode:a,nodes:l,marks:c})}function J(e,t){return t.nodes[e]||t.marks[e]||null}function Z(e,t){return Array.isArray(t)?t.some((t=&gt;("string"==typeof t?t:t.name)===e.name)):t}function ee(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class te{constructor(e){this.find=e.find,this.handler=e.handler}}function ne(e){var t;const{editor:n,from:r,to:o,text:i,rules:s,plugin:a}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=&gt;e.type.spec.code))))return!1;let u=!1;const d=((e,t=500)=&gt;{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,((e,t,o,i)=&gt;{var s,a;const l=(null===(a=(s=e.type.spec).toText)||void 0===a?void 0:a.call(s,{node:e,pos:t,parent:o,index:i}))||e.textContent||"%leaf%";n+=e.isAtom&amp;&amp;!e.isText?l:l.slice(0,Math.max(0,r-t))})),n})(c)+i;return s.forEach((e=&gt;{if(u)return;const t=((e,t)=&gt;{if(ee(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&amp;&amp;(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r})(d,e.find);if(!t)return;const s=l.state.tr,c=H({state:l.state,transaction:s}),p={from:r-(t[0].length-i.length),to:o},{commands:h,chain:f,can:m}=new j({editor:n,state:c});null!==e.handler({state:c,range:p,match:t,commands:h,chain:f,can:m})&amp;&amp;s.steps.length&amp;&amp;(s.setMeta(a,{transform:s,from:r,to:o,text:i}),l.dispatch(s),u=!0)})),u}function re(e){const{editor:t,rules:n}=e,o=new r.k_({state:{init:()=&gt;null,apply(e,r){const i=e.getMeta(o);if(i)return i;const s=e.getMeta("applyInputRules");return!!s&amp;&amp;setTimeout((()=&gt;{const{from:e,text:r}=s,i=e+r.length;ne({editor:t,from:e,to:i,text:r,rules:n,plugin:o})})),e.selectionSet||e.docChanged?null:r}},props:{handleTextInput:(e,r,i,s)=&gt;ne({editor:t,from:r,to:i,text:s,rules:n,plugin:o}),handleDOMEvents:{compositionend:e=&gt;(setTimeout((()=&gt;{const{$cursor:r}=e.state.selection;r&amp;&amp;ne({editor:t,from:r.pos,to:r.pos,text:"",rules:n,plugin:o})})),!1)},handleKeyDown(e,r){if("Enter"!==r.key)return!1;const{$cursor:i}=e.state.selection;return!!i&amp;&amp;ne({editor:t,from:i.pos,to:i.pos,text:"\n",rules:n,plugin:o})}},isInputRules:!0});return o}function oe(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&amp;&amp;(e.constructor===Object&amp;&amp;Object.getPrototypeOf(e)===Object.prototype)}function ie(e,t){const n={...e};return oe(e)&amp;&amp;oe(t)&amp;&amp;Object.keys(t).forEach((r=&gt;{oe(t[r])&amp;&amp;oe(e[r])?n[r]=ie(e[r],t[r]):n[r]=t[r]})),n}class se{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&amp;&amp;(this.options=K(B(this,"addOptions",{name:this.name}))),this.storage=K(B(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new se(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=&gt;ie(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new se(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=K(B(t,"addOptions",{name:t.name})),t.storage=K(B(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const o=r.marks();if(!!!o.find((e=&gt;(null==e?void 0:e.type.name)===t.name)))return!1;const i=o.find((e=&gt;(null==e?void 0:e.type.name)===t.name));return i&amp;&amp;n.removeStoredMark(i),n.insertText(" ",r.pos),e.view.dispatch(n),!0}return!1}}class ae{constructor(e){this.find=e.find,this.handler=e.handler}}function le(e){const{editor:t,state:n,from:r,to:o,rule:i,pasteEvent:s,dropEvent:a}=e,{commands:l,chain:c,can:u}=new j({editor:t,state:n}),d=[];n.doc.nodesBetween(r,o,((e,t)=&gt;{if(!e.isTextblock||e.type.spec.code)return;const p=Math.max(r,t),h=Math.min(o,t+e.content.size);((e,t,n)=&gt;{if(ee(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map((t=&gt;{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&amp;&amp;(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]})(e.textBetween(p-t,h-t,void 0,"ï¿¼"),i.find,s).forEach((e=&gt;{if(void 0===e.index)return;const t=p+e.index+1,r=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},h=i.handler({state:n,range:o,match:e,commands:l,chain:c,can:u,pasteEvent:s,dropEvent:a});d.push(h)}))}));return d.every((e=&gt;null!==e))}function ce(e){const{editor:t,rules:n}=e;let o=null,i=!1,s=!1,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,l="undefined"!=typeof DragEvent?new DragEvent("drop"):null;const c=({state:e,from:n,to:r,rule:o,pasteEvt:i})=&gt;{const s=e.tr,c=H({state:e,transaction:s});if(le({editor:t,state:c,from:Math.max(n-1,0),to:r.b-1,rule:o,pasteEvent:i,dropEvent:l})&amp;&amp;s.steps.length)return l="undefined"!=typeof DragEvent?new DragEvent("drop"):null,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,s};return n.map((e=&gt;new r.k_({view(e){const t=t=&gt;{var n;o=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:(e,t)=&gt;(s=o===e.dom.parentElement,l=t,!1),paste:(e,t)=&gt;{var n;const r=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return a=t,i=!!(null==r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,r)=&gt;{const o=t[0],l="paste"===o.getMeta("uiEvent")&amp;&amp;!i,u="drop"===o.getMeta("uiEvent")&amp;&amp;!s,d=o.getMeta("applyPasteRules"),p=!!d;if(!l&amp;&amp;!u&amp;&amp;!p)return;if(p){const{from:t,text:n}=d,o=t+n.length,i=(e=&gt;{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(n);return c({rule:e,state:r,from:t,to:{b:o},pasteEvt:i})}const h=n.doc.content.findDiffStart(r.doc.content),f=n.doc.content.findDiffEnd(r.doc.content);return"number"==typeof h&amp;&amp;f&amp;&amp;h!==f.b?c({rule:e,state:r,from:h,to:f,pasteEvt:a}):void 0}})))}class ue{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=ue.resolve(e),this.schema=Q(this.extensions,t),this.setupExtensions()}static resolve(e){const t=ue.sort(ue.flatten(e)),n=function(e){const t=e.filter(((t,n)=&gt;e.indexOf(t)!==n));return Array.from(new Set(t))}(t.map((e=&gt;e.name)));return n.length&amp;&amp;console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=&gt;`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=&gt;{const t=B(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=&gt;{const n=B(e,"priority")||100,r=B(t,"priority")||100;return n&gt;r?-1:n&lt;r?1:0}))}get commands(){return this.extensions.reduce(((e,t)=&gt;{const n=B(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:J(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=ue.sort([...this.extensions].reverse()),n=[],r=[],o=t.map((t=&gt;{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:J(t.name,this.schema)},s=[],a=B(t,"addKeyboardShortcuts",o);let l={};if("mark"===t.type&amp;&amp;B(t,"exitable",o)&amp;&amp;(l.ArrowRight=()=&gt;se.handleExit({editor:e,mark:t})),a){const t=Object.fromEntries(Object.entries(a()).map((([t,n])=&gt;[t,()=&gt;n({editor:e})])));l={...l,...t}}const c=(0,i.w)(l);s.push(c);const u=B(t,"addInputRules",o);Z(t,e.options.enableInputRules)&amp;&amp;u&amp;&amp;n.push(...u());const d=B(t,"addPasteRules",o);Z(t,e.options.enablePasteRules)&amp;&amp;d&amp;&amp;r.push(...d());const p=B(t,"addProseMirrorPlugins",o);if(p){const e=p();s.push(...e)}return s})).flat();return[re({editor:e,rules:n}),...ce({editor:e,rules:r}),...o]}get attributes(){return W(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=$(this.extensions);return Object.fromEntries(t.filter((e=&gt;!!B(e,"addNodeView"))).map((t=&gt;{const n=this.attributes.filter((e=&gt;e.type===t.name)),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:U(t.name,this.schema)},o=B(t,"addNodeView",r);if(!o)return[];return[t.name,(r,i,s,a,l)=&gt;{const c=V(r,n);return o()({node:r,view:i,getPos:s,decorations:a,innerDecorations:l,editor:e,extension:t,HTMLAttributes:c})}]})))}setupExtensions(){this.extensions.forEach((e=&gt;{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:J(e.name,this.schema)};if("mark"===e.type){(null===(t=K(B(e,"keepOnSplit",n)))||void 0===t||t)&amp;&amp;this.splittableMarks.push(e.name)}const r=B(e,"onBeforeCreate",n),o=B(e,"onCreate",n),i=B(e,"onUpdate",n),s=B(e,"onSelectionUpdate",n),a=B(e,"onTransaction",n),l=B(e,"onFocus",n),c=B(e,"onBlur",n),u=B(e,"onDestroy",n);r&amp;&amp;this.editor.on("beforeCreate",r),o&amp;&amp;this.editor.on("create",o),i&amp;&amp;this.editor.on("update",i),s&amp;&amp;this.editor.on("selectionUpdate",s),a&amp;&amp;this.editor.on("transaction",a),l&amp;&amp;this.editor.on("focus",l),c&amp;&amp;this.editor.on("blur",c),u&amp;&amp;this.editor.on("destroy",u)}))}}class de{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&amp;&amp;(this.options=K(B(this,"addOptions",{name:this.name}))),this.storage=K(B(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new de(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=&gt;ie(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new de({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=K(B(t,"addOptions",{name:t.name})),t.storage=K(B(t,"addStorage",{name:t.name,options:t.options})),t}}function pe(e,t,n){const{from:r,to:o}=t,{blockSeparator:i="\n\n",textSerializers:s={}}=n||{};let a="";return e.nodesBetween(r,o,((e,n,l,c)=&gt;{var u;e.isBlock&amp;&amp;n&gt;r&amp;&amp;(a+=i);const d=null==s?void 0:s[e.type.name];if(d)return l&amp;&amp;(a+=d({node:e,pos:n,parent:l,index:c,range:t})),!1;e.isText&amp;&amp;(a+=null===(u=null==e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(r,n)-n,o-n))})),a}function he(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=&gt;e.spec.toText)).map((([e,t])=&gt;[e,t.spec.toText])))}const fe=de.create({name:"clipboardTextSerializer",addOptions:()=&gt;({blockSeparator:void 0}),addProseMirrorPlugins(){return[new r.k_({key:new r.hs("clipboardTextSerializer"),props:{clipboardTextSerializer:()=&gt;{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:o}=t,{ranges:i}=o,s=Math.min(...i.map((e=&gt;e.$from.pos))),a=Math.max(...i.map((e=&gt;e.$to.pos))),l=he(n);return pe(r,{from:s,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function me(e,t,n={strict:!0}){const r=Object.keys(t);return!r.length||r.every((r=&gt;n.strict?t[r]===e[r]:ee(t[r])?t[r].test(e[r]):t[r]===e[r]))}function ge(e,t,n={}){return e.find((e=&gt;e.type===t&amp;&amp;me(e.attrs,n)))}function ve(e,t,n={}){return!!ge(e,t,n)}function ye(e,t,n={}){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(r.node&amp;&amp;r.node.marks.some((e=&gt;e.type===t))||(r=e.parent.childBefore(e.parentOffset)),!r.node||!r.node.marks.some((e=&gt;e.type===t)))return;const o=ge([...r.node.marks],t,n);if(!o)return;let i=r.index,s=e.start()+r.offset,a=i+1,l=s+r.node.nodeSize;for(ge([...r.node.marks],t,n);i&gt;0&amp;&amp;o.isInSet(e.parent.child(i-1).marks);)i-=1,s-=e.parent.child(i).nodeSize;for(;a&lt;e.parent.childCount&amp;&amp;ve([...e.parent.child(a).marks],t,n);)l+=e.parent.child(a).nodeSize,a+=1;return{from:s,to:l}}function be(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function we(e){return e instanceof r.U3}function Se(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function _e(e,t=null){if(!t)return null;const n=r.LN.atStart(e),o=r.LN.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return o;const i=n.from,s=o.to;return"all"===t?r.U3.create(e,Se(0,i,s),Se(e.content.size,i,s)):r.U3.create(e,Se(t,i,s),Se(t,i,s))}function ke(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&amp;&amp;"ontouchend"in document}const Ae=e=&gt;{const t=e.childNodes;for(let n=t.length-1;n&gt;=0;n-=1){const r=t[n];3===r.nodeType&amp;&amp;r.nodeValue&amp;&amp;/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):1===r.nodeType&amp;&amp;Ae(r)}return e};function Te(e){const t=`&lt;body&gt;${e}&lt;/body&gt;`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return Ae(n)}function Ee(e,t,n){n={slice:!0,parseOptions:{},...n};const r="string"==typeof e;if("object"==typeof e&amp;&amp;null!==e)try{if(Array.isArray(e)&amp;&amp;e.length&gt;0)return s.FK.fromArray(e.map((e=&gt;t.nodeFromJSON(e))));const r=t.nodeFromJSON(e);return n.errorOnInvalidContent&amp;&amp;r.check(),r}catch(r){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:r});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",r),Ee("",t,n)}if(r){if(n.errorOnInvalidContent){let r=!1,o="";const i=new s.Sj({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=&gt;(r=!0,o="string"==typeof e?e:e.outerHTML,null)}]}})});if(n.slice?s.S4.fromSchema(i).parseSlice(Te(e),n.parseOptions):s.S4.fromSchema(i).parse(Te(e),n.parseOptions),n.errorOnInvalidContent&amp;&amp;r)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${o}`)})}const r=s.S4.fromSchema(t);return n.slice?r.parseSlice(Te(e),n.parseOptions).content:r.parse(Te(e),n.parseOptions)}return Ee("",t,n)}function xe(){return"undefined"!=typeof navigator&amp;&amp;/Mac/.test(navigator.platform)}function Ce(e,t,n={}){const{from:r,to:o,empty:i}=e.selection,s=t?U(t,e.schema):null,a=[];e.doc.nodesBetween(r,o,((e,t)=&gt;{if(e.isText)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);a.push({node:e,from:n,to:i})}));const l=o-r,c=a.filter((e=&gt;!s||s.name===e.node.type.name)).filter((e=&gt;me(e.node.attrs,n,{strict:!1})));if(i)return!!c.length;return c.reduce(((e,t)=&gt;e+t.to-t.from),0)&gt;=l}function Oe(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Ie(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,r)=&gt;(n.includes(r)||(t[r]=e[r]),t)),{})}function Le(e,t,n={},r={}){return Ee(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}function Pe(e,t){const n=be(t,e.schema),{from:r,to:o,empty:i}=e.selection,s=[];i?(e.storedMarks&amp;&amp;s.push(...e.storedMarks),s.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,o,(e=&gt;{s.push(...e.marks)}));const a=s.find((e=&gt;e.type.name===n.name));return a?{...a.attrs}:{}}function Ne(e,t){const n=new a.dL(e);return t.forEach((e=&gt;{e.steps.forEach((e=&gt;{n.step(e)}))})),n}function De(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,((e,t)=&gt;{n(e)&amp;&amp;r.push({node:e,pos:t})})),r}function Re(e){return t=&gt;function(e,t){for(let n=e.depth;n&gt;0;n-=1){const r=e.node(n);if(t(r))return{pos:n&gt;0?e.before(n):0,start:e.start(n),depth:n,node:r}}}(t.$from,e)}function Me(e,t){const n=s.ZF.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}function Fe(e,t){return pe(e,{from:0,to:e.content.size},t)}function He(e,t){const n=Oe("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=U(t,e.schema),{from:r,to:o}=e.selection,i=[];e.doc.nodesBetween(r,o,(e=&gt;{i.push(e)}));const s=i.reverse().find((e=&gt;e.type.name===n.name));return s?{...s.attrs}:{}}(e,t):"mark"===n?Pe(e,t):{}}function je(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=&gt;{const r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&amp;&amp;(n[r]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=&gt;!t.filter(((e,t)=&gt;t!==n)).some((t=&gt;e.oldRange.from&gt;=t.oldRange.from&amp;&amp;e.oldRange.to&lt;=t.oldRange.to&amp;&amp;e.newRange.from&gt;=t.newRange.from&amp;&amp;e.newRange.to&lt;=t.newRange.to))))}function Ge(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach(((e,o)=&gt;{const i=[];if(e.ranges.length)e.forEach(((e,t)=&gt;{i.push({from:e,to:t})}));else{const{from:e,to:t}=n[o];if(void 0===e||void 0===t)return;i.push({from:e,to:t})}i.forEach((({from:e,to:n})=&gt;{const i=t.slice(o).map(e,-1),s=t.slice(o).map(n),a=t.invert().map(i,-1),l=t.invert().map(s);r.push({oldRange:{from:a,to:l},newRange:{from:i,to:s}})}))})),je(r)}function Be(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach((t=&gt;{const o=ye(n.resolve(e),t.type);o&amp;&amp;r.push({mark:t,...o})})):n.nodesBetween(e,t,((e,t)=&gt;{e&amp;&amp;void 0!==(null==e?void 0:e.nodeSize)&amp;&amp;r.push(...e.marks.map((n=&gt;({from:t,to:t+e.nodeSize,mark:n}))))})),r}function $e(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=&gt;{const r=e.find((e=&gt;e.type===t&amp;&amp;e.name===n));return!!r&amp;&amp;r.attribute.keepOnSplit})))}function We(e,t,n={}){const{empty:r,ranges:o}=e.selection,i=t?be(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=&gt;!i||i.name===e.type.name)).find((e=&gt;me(e.attrs,n,{strict:!1})));let s=0;const a=[];if(o.forEach((({$from:t,$to:n})=&gt;{const r=t.pos,o=n.pos;e.doc.nodesBetween(r,o,((e,t)=&gt;{if(!e.isText&amp;&amp;!e.marks.length)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);s+=i-n,a.push(...e.marks.map((e=&gt;({mark:e,from:n,to:i}))))}))})),0===s)return!1;const l=a.filter((e=&gt;!i||i.name===e.mark.type.name)).filter((e=&gt;me(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=&gt;e+t.to-t.from),0),c=a.filter((e=&gt;!i||e.mark.type!==i&amp;&amp;e.mark.type.excludes(i))).reduce(((e,t)=&gt;e+t.to-t.from),0);return(l&gt;0?l+c:l)&gt;=s}function Ue(e,t){const{nodeExtensions:n}=$(t),r=n.find((t=&gt;t.name===e));if(!r)return!1;const o=K(B(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"==typeof o&amp;&amp;o.split(" ").includes("list")}function ze(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!==(r=e.text)&amp;&amp;void 0!==r?r:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let r=!0;return e.content.forEach((e=&gt;{!1!==r&amp;&amp;(ze(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))})),r}return!1}function Ve(e){return e instanceof r.nh}function Xe(e,t,n){const r=e.state.doc.content.size,o=Se(t,0,r),i=Se(n,0,r),s=e.coordsAtPos(o),a=e.coordsAtPos(i,-1),l=Math.min(s.top,a.top),c=Math.max(s.bottom,a.bottom),u=Math.min(s.left,a.left),d=Math.max(s.right,a.right),p={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...p,toJSON:()=&gt;p}}function Ke(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&amp;&amp;e.selection.$from.marks();if(n){const r=n.filter((e=&gt;null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(r)}}const qe=(e,t)=&gt;{const n=Re((e=&gt;e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null==o?void 0:o.type)||!(0,a.n9)(e.doc,n.pos)||(e.join(n.pos),!0)},Ye=(e,t)=&gt;{const n=Re((e=&gt;e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null==o?void 0:o.type)||!(0,a.n9)(e.doc,r)||(e.join(r),!0)};var Qe=Object.freeze({__proto__:null,blur:()=&gt;({editor:e,view:t})=&gt;(requestAnimationFrame((()=&gt;{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=&gt;({commands:t})=&gt;t.setContent("",e),clearNodes:()=&gt;({state:e,tr:t,dispatch:n})=&gt;{const{selection:r}=t,{ranges:o}=r;return!n||(o.forEach((({$from:n,$to:r})=&gt;{e.doc.nodesBetween(n.pos,r.pos,((e,n)=&gt;{if(e.type.isText)return;const{doc:r,mapping:o}=t,i=r.resolve(o.map(n)),s=r.resolve(o.map(n+e.nodeSize)),l=i.blockRange(s);if(!l)return;const c=(0,a.jP)(l);if(e.type.isTextblock){const{defaultType:e}=i.parent.contentMatchAt(i.index());t.setNodeMarkup(l.start,e)}(c||0===c)&amp;&amp;t.lift(l,c)}))})),!0)},command:e=&gt;t=&gt;e(t),createParagraphNear:()=&gt;({state:e,dispatch:t})=&gt;_(e,t),cut:(e,t)=&gt;({editor:n,tr:o})=&gt;{const{state:i}=n,s=i.doc.slice(e.from,e.to);o.deleteRange(e.from,e.to);const a=o.mapping.map(t);return o.insert(a,s.content),o.setSelection(new r.U3(o.doc.resolve(a-1))),!0},deleteCurrentNode:()=&gt;({tr:e,dispatch:t})=&gt;{const{selection:n}=e,r=n.$anchor.node();if(r.content.size&gt;0)return!1;const o=e.selection.$anchor;for(let n=o.depth;n&gt;0;n-=1){if(o.node(n).type===r.type){if(t){const t=o.before(n),r=o.after(n);e.delete(t,r).scrollIntoView()}return!0}}return!1},deleteNode:e=&gt;({tr:t,state:n,dispatch:r})=&gt;{const o=U(e,n.schema),i=t.selection.$anchor;for(let e=i.depth;e&gt;0;e-=1){if(i.node(e).type===o){if(r){const n=i.before(e),r=i.after(e);t.delete(n,r).scrollIntoView()}return!0}}return!1},deleteRange:e=&gt;({tr:t,dispatch:n})=&gt;{const{from:r,to:o}=e;return n&amp;&amp;t.delete(r,o),!0},deleteSelection:()=&gt;({state:e,dispatch:t})=&gt;l(e,t),enter:()=&gt;({commands:e})=&gt;e.keyboardShortcut("Enter"),exitCode:()=&gt;({state:e,dispatch:t})=&gt;S(e,t),extendMarkRange:(e,t={})=&gt;({tr:n,state:o,dispatch:i})=&gt;{const s=be(e,o.schema),{doc:a,selection:l}=n,{$from:c,from:u,to:d}=l;if(i){const e=ye(c,s,t);if(e&amp;&amp;e.from&lt;=u&amp;&amp;e.to&gt;=d){const t=r.U3.create(a,e.from,e.to);n.setSelection(t)}}return!0},first:e=&gt;t=&gt;{const n="function"==typeof e?e(t):e;for(let e=0;e&lt;n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=&gt;({editor:n,view:r,tr:o,dispatch:i})=&gt;{t={scrollIntoView:!0,...t};const s=()=&gt;{ke()&amp;&amp;r.dom.focus(),requestAnimationFrame((()=&gt;{n.isDestroyed||(r.focus(),(null==t?void 0:t.scrollIntoView)&amp;&amp;n.commands.scrollIntoView())}))};if(r.hasFocus()&amp;&amp;null===e||!1===e)return!0;if(i&amp;&amp;null===e&amp;&amp;!we(n.state.selection))return s(),!0;const a=_e(o.doc,e)||n.state.selection,l=n.state.selection.eq(a);return i&amp;&amp;(l||o.setSelection(a),l&amp;&amp;o.storedMarks&amp;&amp;o.setStoredMarks(o.storedMarks),s()),!0},forEach:(e,t)=&gt;n=&gt;e.every(((e,r)=&gt;t(e,{...n,index:r}))),insertContent:(e,t)=&gt;({tr:n,commands:r})=&gt;r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=&gt;({tr:o,dispatch:i,editor:s})=&gt;{var l;if(i){let i;n={parseOptions:s.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};try{i=Ee(t,s.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(l=n.errorOnInvalidContent)&amp;&amp;void 0!==l?l:s.options.enableContentCheck})}catch(e){return s.emit("contentError",{editor:s,error:e,disableCollaboration:()=&gt;{s.storage.collaboration&amp;&amp;(s.storage.collaboration.isDisabled=!0)}}),!1}let{from:c,to:u}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},d=!0,p=!0;if(("type"in i?[i]:i).forEach((e=&gt;{e.check(),d=!!d&amp;&amp;(e.isText&amp;&amp;0===e.marks.length),p=!!p&amp;&amp;e.isBlock})),c===u&amp;&amp;p){const{parent:e}=o.doc.resolve(c);e.isTextblock&amp;&amp;!e.type.spec.code&amp;&amp;!e.childCount&amp;&amp;(c-=1,u+=1)}let h;d?(h=Array.isArray(t)?t.map((e=&gt;e.text||"")).join(""):"object"==typeof t&amp;&amp;t&amp;&amp;t.text?t.text:t,o.insertText(h,c,u)):(h=i,o.replaceWith(c,u,h)),n.updateSelection&amp;&amp;function(e,t,n){const o=e.steps.length-1;if(o&lt;t)return;const i=e.steps[o];if(!(i instanceof a.Ln||i instanceof a.Wg))return;const s=e.mapping.maps[o];let l=0;s.forEach(((e,t,n,r)=&gt;{0===l&amp;&amp;(l=r)})),e.setSelection(r.LN.near(e.doc.resolve(l),n))}(o,o.steps.length-1,-1),n.applyInputRules&amp;&amp;o.setMeta("applyInputRules",{from:c,text:h}),n.applyPasteRules&amp;&amp;o.setMeta("applyPasteRules",{from:c,text:h})}return!0},joinBackward:()=&gt;({state:e,dispatch:t})=&gt;u(e,t),joinDown:()=&gt;({state:e,dispatch:t})=&gt;((e,t)=&gt;{let n,o=e.selection;if(o instanceof r.nh){if(o.node.isTextblock||!(0,a.n9)(e.doc,o.to))return!1;n=o.to}else if(n=(0,a.N0)(e.doc,o.to,1),null==n)return!1;return t&amp;&amp;t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinForward:()=&gt;({state:e,dispatch:t})=&gt;g(e,t),joinItemBackward:()=&gt;({state:e,dispatch:t,tr:n})=&gt;{try{const r=(0,a.N0)(e.doc,e.selection.$from.pos,-1);return null!=r&amp;&amp;(n.join(r,2),t&amp;&amp;t(n),!0)}catch(e){return!1}},joinItemForward:()=&gt;({state:e,dispatch:t,tr:n})=&gt;{try{const r=(0,a.N0)(e.doc,e.selection.$from.pos,1);return null!=r&amp;&amp;(n.join(r,2),t&amp;&amp;t(n),!0)}catch(e){return!1}},joinTextblockBackward:()=&gt;({state:e,dispatch:t})=&gt;((e,t,n)=&gt;{let r=c(e,n);if(!r)return!1;let o=f(r);return!!o&amp;&amp;d(e,o,t)})(e,t),joinTextblockForward:()=&gt;({state:e,dispatch:t})=&gt;((e,t,n)=&gt;{let r=m(e,n);if(!r)return!1;let o=y(r);return!!o&amp;&amp;d(e,o,t)})(e,t),joinUp:()=&gt;({state:e,dispatch:t})=&gt;((e,t)=&gt;{let n,o=e.selection,i=o instanceof r.nh;if(i){if(o.node.isTextblock||!(0,a.n9)(e.doc,o.from))return!1;n=o.from}else if(n=(0,a.N0)(e.doc,o.from,-1),null==n)return!1;if(t){let o=e.tr.join(n);i&amp;&amp;o.setSelection(r.nh.create(o.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0})(e,t),keyboardShortcut:e=&gt;({editor:t,view:n,tr:r,dispatch:o})=&gt;{const i=function(e){const t=e.split(/-(?!$)/);let n,r,o,i,s=t[t.length-1];"Space"===s&amp;&amp;(s=" ");for(let e=0;e&lt;t.length-1;e+=1){const s=t[e];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else if(/^s(hift)?$/i.test(s))o=!0;else{if(!/^mod$/i.test(s))throw new Error(`Unrecognized modifier name: ${s}`);ke()||xe()?i=!0:r=!0}}return n&amp;&amp;(s=`Alt-${s}`),r&amp;&amp;(s=`Ctrl-${s}`),i&amp;&amp;(s=`Meta-${s}`),o&amp;&amp;(s=`Shift-${s}`),s}(e).split(/-(?!$)/),s=i.find((e=&gt;!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=&gt;{n.someProp("handleKeyDown",(e=&gt;e(n,a)))}));return null==l||l.steps.forEach((e=&gt;{const t=e.map(r.mapping);t&amp;&amp;o&amp;&amp;r.maybeStep(t)})),!0},lift:(e,t={})=&gt;({state:n,dispatch:r})=&gt;!!Ce(n,U(e,n.schema),t)&amp;&amp;((e,t)=&gt;{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&amp;&amp;(0,a.jP)(o);return null!=i&amp;&amp;(t&amp;&amp;t(e.tr.lift(o,i).scrollIntoView()),!0)})(n,r),liftEmptyBlock:()=&gt;({state:e,dispatch:t})=&gt;k(e,t),liftListItem:e=&gt;({state:t,dispatch:n})=&gt;F(U(e,t.schema))(t,n),newlineInCode:()=&gt;({state:e,dispatch:t})=&gt;b(e,t),resetAttributes:(e,t)=&gt;({tr:n,state:r,dispatch:o})=&gt;{let i=null,s=null;const a=Oe("string"==typeof e?e:e.name,r.schema);return!!a&amp;&amp;("node"===a&amp;&amp;(i=U(e,r.schema)),"mark"===a&amp;&amp;(s=be(e,r.schema)),o&amp;&amp;n.selection.ranges.forEach((e=&gt;{r.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,r)=&gt;{i&amp;&amp;i===e.type&amp;&amp;n.setNodeMarkup(r,void 0,Ie(e.attrs,t)),s&amp;&amp;e.marks.length&amp;&amp;e.marks.forEach((o=&gt;{s===o.type&amp;&amp;n.addMark(r,r+e.nodeSize,s.create(Ie(o.attrs,t)))}))}))})),!0)},scrollIntoView:()=&gt;({tr:e,dispatch:t})=&gt;(t&amp;&amp;e.scrollIntoView(),!0),selectAll:()=&gt;({tr:e,commands:t})=&gt;t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=&gt;({state:e,dispatch:t})=&gt;h(e,t),selectNodeForward:()=&gt;({state:e,dispatch:t})=&gt;v(e,t),selectParentNode:()=&gt;({state:e,dispatch:t})=&gt;((e,t)=&gt;{let n,{$from:o,to:i}=e.selection,s=o.sharedDepth(i);return 0!=s&amp;&amp;(n=o.before(s),t&amp;&amp;t(e.tr.setSelection(r.nh.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=&gt;({state:e,dispatch:t})=&gt;O(e,t),selectTextblockStart:()=&gt;({state:e,dispatch:t})=&gt;C(e,t),setContent:(e,t=!1,n={},r={})=&gt;({editor:o,tr:i,dispatch:s,commands:a})=&gt;{var l,c;const{doc:u}=i;if("full"!==n.preserveWhitespace){const a=Le(e,o.schema,n,{errorOnInvalidContent:null!==(l=r.errorOnInvalidContent)&amp;&amp;void 0!==l?l:o.options.enableContentCheck});return s&amp;&amp;i.replaceWith(0,u.content.size,a).setMeta("preventUpdate",!t),!0}return s&amp;&amp;i.setMeta("preventUpdate",!t),a.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(c=r.errorOnInvalidContent)&amp;&amp;void 0!==c?c:o.options.enableContentCheck})},setMark:(e,t={})=&gt;({tr:n,state:r,dispatch:o})=&gt;{const{selection:i}=n,{empty:s,ranges:a}=i,l=be(e,r.schema);if(o)if(s){const e=Pe(r,l);n.addStoredMark(l.create({...e,...t}))}else a.forEach((e=&gt;{const o=e.$from.pos,i=e.$to.pos;r.doc.nodesBetween(o,i,((e,r)=&gt;{const s=Math.max(r,o),a=Math.min(r+e.nodeSize,i);e.marks.find((e=&gt;e.type===l))?e.marks.forEach((e=&gt;{l===e.type&amp;&amp;n.addMark(s,a,l.create({...e.attrs,...t}))})):n.addMark(s,a,l.create(t))}))}));return function(e,t,n){var r;const{selection:o}=t;let i=null;if(we(o)&amp;&amp;(i=o.$cursor),i){const t=null!==(r=e.storedMarks)&amp;&amp;void 0!==r?r:i.marks();return!!n.isInSet(t)||!t.some((e=&gt;e.type.excludes(n)))}const{ranges:s}=o;return s.some((({$from:t,$to:r})=&gt;{let o=0===t.depth&amp;&amp;e.doc.inlineContent&amp;&amp;e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,((e,t,r)=&gt;{if(o)return!1;if(e.isInline){const t=!r||r.type.allowsMarkType(n),i=!!n.isInSet(e.marks)||!e.marks.some((e=&gt;e.type.excludes(n)));o=t&amp;&amp;i}return!o})),o}))}(r,n,l)},setMeta:(e,t)=&gt;({tr:n})=&gt;(n.setMeta(e,t),!0),setNode:(e,t={})=&gt;({state:n,dispatch:r,chain:o})=&gt;{const i=U(e,n.schema);return i.isTextblock?o().command((({commands:e})=&gt;!!I(i,t)(n)||e.clearNodes())).command((({state:e})=&gt;I(i,t)(e,r))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=&gt;({tr:t,dispatch:n})=&gt;{if(n){const{doc:n}=t,o=Se(e,0,n.content.size),i=r.nh.create(n,o);t.setSelection(i)}return!0},setTextSelection:e=&gt;({tr:t,dispatch:n})=&gt;{if(n){const{doc:n}=t,{from:o,to:i}="number"==typeof e?{from:e,to:e}:e,s=r.U3.atStart(n).from,a=r.U3.atEnd(n).to,l=Se(o,s,a),c=Se(i,s,a),u=r.U3.create(n,l,c);t.setSelection(u)}return!0},sinkListItem:e=&gt;({state:t,dispatch:n})=&gt;{const r=U(e,t.schema);return(o=r,function(e,t){let{$from:n,$to:r}=e.selection,i=n.blockRange(r,(e=&gt;e.childCount&gt;0&amp;&amp;e.firstChild.type==o));if(!i)return!1;let l=i.startIndex;if(0==l)return!1;let c=i.parent,u=c.child(l-1);if(u.type!=o)return!1;if(t){let n=u.lastChild&amp;&amp;u.lastChild.type==c.type,r=s.FK.from(n?o.create():null),l=new s.Ji(s.FK.from(o.create(null,s.FK.from(c.type.create(null,r)))),n?3:1,0),d=i.start,p=i.end;t(e.tr.step(new a.Wg(d-(n?3:1),p,d,p,l,1,!0)).scrollIntoView())}return!0})(t,n);var o},splitBlock:({keepMarks:e=!0}={})=&gt;({tr:t,state:n,dispatch:o,editor:i})=&gt;{const{selection:s,doc:l}=t,{$from:c,$to:u}=s,d=$e(i.extensionManager.attributes,c.node().type.name,c.node().attrs);if(s instanceof r.nh&amp;&amp;s.node.isBlock)return!(!c.parentOffset||!(0,a.zy)(l,c.pos))&amp;&amp;(o&amp;&amp;(e&amp;&amp;Ke(n,i.extensionManager.splittableMarks),t.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const p=u.parentOffset===u.parent.content.size,h=0===c.depth?void 0:function(e){for(let t=0;t&lt;e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&amp;&amp;!n.hasRequiredAttrs())return n}return null}(c.node(-1).contentMatchAt(c.indexAfter(-1)));let f=p&amp;&amp;h?[{type:h,attrs:d}]:void 0,m=(0,a.zy)(t.doc,t.mapping.map(c.pos),1,f);if(f||m||!(0,a.zy)(t.doc,t.mapping.map(c.pos),1,h?[{type:h}]:void 0)||(m=!0,f=h?[{type:h,attrs:d}]:void 0),o){if(m&amp;&amp;(s instanceof r.U3&amp;&amp;t.deleteSelection(),t.split(t.mapping.map(c.pos),1,f),h&amp;&amp;!p&amp;&amp;!c.parentOffset&amp;&amp;c.parent.type!==h)){const e=t.mapping.map(c.before()),n=t.doc.resolve(e);c.node(-1).canReplaceWith(n.index(),n.index()+1,h)&amp;&amp;t.setNodeMarkup(t.mapping.map(c.before()),h)}e&amp;&amp;Ke(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return m},splitListItem:(e,t={})=&gt;({tr:n,state:o,dispatch:i,editor:l})=&gt;{var c;const u=U(e,o.schema),{$from:d,$to:p}=o.selection,h=o.selection.node;if(h&amp;&amp;h.isBlock||d.depth&lt;2||!d.sameParent(p))return!1;const f=d.node(-1);if(f.type!==u)return!1;const m=l.extensionManager.attributes;if(0===d.parent.content.size&amp;&amp;d.node(-1).childCount===d.indexAfter(-1)){if(2===d.depth||d.node(-3).type!==u||d.index(-2)!==d.node(-2).childCount-1)return!1;if(i){let e=s.FK.empty;const o=d.index(-1)?1:d.index(-2)?2:3;for(let t=d.depth-o;t&gt;=d.depth-3;t-=1)e=s.FK.from(d.node(t).copy(e));const i=d.indexAfter(-1)&lt;d.node(-2).childCount?1:d.indexAfter(-2)&lt;d.node(-3).childCount?2:3,a={...$e(m,d.node().type.name,d.node().attrs),...t},l=(null===(c=u.contentMatch.defaultType)||void 0===c?void 0:c.createAndFill(a))||void 0;e=e.append(s.FK.from(u.createAndFill(null,l)||void 0));const p=d.before(d.depth-(o-1));n.replace(p,d.after(-i),new s.Ji(e,4-o,0));let h=-1;n.doc.nodesBetween(p,n.doc.content.size,((e,t)=&gt;{if(h&gt;-1)return!1;e.isTextblock&amp;&amp;0===e.content.size&amp;&amp;(h=t+1)})),h&gt;-1&amp;&amp;n.setSelection(r.U3.near(n.doc.resolve(h))),n.scrollIntoView()}return!0}const g=p.pos===d.end()?f.contentMatchAt(0).defaultType:null,v={...$e(m,f.type.name,f.attrs),...t},y={...$e(m,d.node().type.name,d.node().attrs),...t};n.delete(d.pos,p.pos);const b=g?[{type:u,attrs:v},{type:g,attrs:y}]:[{type:u,attrs:v}];if(!(0,a.zy)(n.doc,d.pos,2))return!1;if(i){const{selection:e,storedMarks:t}=o,{splittableMarks:r}=l.extensionManager,s=t||e.$to.parentOffset&amp;&amp;e.$from.marks();if(n.split(d.pos,2,b).scrollIntoView(),!s||!i)return!0;const a=s.filter((e=&gt;r.includes(e.type.name)));n.ensureMarks(a)}return!0},toggleList:(e,t,n,r={})=&gt;({editor:o,tr:i,state:s,dispatch:a,chain:l,commands:c,can:u})=&gt;{const{extensions:d,splittableMarks:p}=o.extensionManager,h=U(e,s.schema),f=U(t,s.schema),{selection:m,storedMarks:g}=s,{$from:v,$to:y}=m,b=v.blockRange(y),w=g||m.$to.parentOffset&amp;&amp;m.$from.marks();if(!b)return!1;const S=Re((e=&gt;Ue(e.type.name,d)))(m);if(b.depth&gt;=1&amp;&amp;S&amp;&amp;b.depth-S.depth&lt;=1){if(S.node.type===h)return c.liftListItem(f);if(Ue(S.node.type.name,d)&amp;&amp;h.validContent(S.node.content)&amp;&amp;a)return l().command((()=&gt;(i.setNodeMarkup(S.pos,h),!0))).command((()=&gt;qe(i,h))).command((()=&gt;Ye(i,h))).run()}return n&amp;&amp;w&amp;&amp;a?l().command((()=&gt;{const e=u().wrapInList(h,r),t=w.filter((e=&gt;p.includes(e.type.name)));return i.ensureMarks(t),!!e||c.clearNodes()})).wrapInList(h,r).command((()=&gt;qe(i,h))).command((()=&gt;Ye(i,h))).run():l().command((()=&gt;!!u().wrapInList(h,r)||c.clearNodes())).wrapInList(h,r).command((()=&gt;qe(i,h))).command((()=&gt;Ye(i,h))).run()},toggleMark:(e,t={},n={})=&gt;({state:r,commands:o})=&gt;{const{extendEmptyMarkRange:i=!1}=n,s=be(e,r.schema);return We(r,s,t)?o.unsetMark(s,{extendEmptyMarkRange:i}):o.setMark(s,t)},toggleNode:(e,t,n={})=&gt;({state:r,commands:o})=&gt;{const i=U(e,r.schema),s=U(t,r.schema),a=Ce(r,i,n);let l;return r.selection.$anchor.sameParent(r.selection.$head)&amp;&amp;(l=r.selection.$anchor.parent.attrs),a?o.setNode(s,l):o.setNode(i,{...l,...n})},toggleWrap:(e,t={})=&gt;({state:n,commands:r})=&gt;{const o=U(e,n.schema);return Ce(n,o,t)?r.lift(o):r.wrapIn(o,t)},undoInputRule:()=&gt;({state:e,dispatch:t})=&gt;{const n=e.plugins;for(let r=0;r&lt;n.length;r+=1){const o=n[r];let i;if(o.spec.isInputRules&amp;&amp;(i=o.getState(e))){if(t){const t=e.tr,n=i.transform;for(let e=n.steps.length-1;e&gt;=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(i.text){const n=t.doc.resolve(i.from).marks();t.replaceWith(i.from,i.to,e.schema.text(i.text,n))}else t.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=&gt;({tr:e,dispatch:t})=&gt;{const{selection:n}=e,{empty:r,ranges:o}=n;return r||t&amp;&amp;o.forEach((t=&gt;{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=&gt;({tr:n,state:r,dispatch:o})=&gt;{var i;const{extendEmptyMarkRange:s=!1}=t,{selection:a}=n,l=be(e,r.schema),{$from:c,empty:u,ranges:d}=a;if(!o)return!0;if(u&amp;&amp;s){let{from:e,to:t}=a;const r=null===(i=c.marks().find((e=&gt;e.type===l)))||void 0===i?void 0:i.attrs,o=ye(c,l,r);o&amp;&amp;(e=o.from,t=o.to),n.removeMark(e,t,l)}else d.forEach((e=&gt;{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=&gt;({tr:n,state:r,dispatch:o})=&gt;{let i=null,s=null;const a=Oe("string"==typeof e?e:e.name,r.schema);return!!a&amp;&amp;("node"===a&amp;&amp;(i=U(e,r.schema)),"mark"===a&amp;&amp;(s=be(e,r.schema)),o&amp;&amp;n.selection.ranges.forEach((e=&gt;{const o=e.$from.pos,a=e.$to.pos;r.doc.nodesBetween(o,a,((e,r)=&gt;{i&amp;&amp;i===e.type&amp;&amp;n.setNodeMarkup(r,void 0,{...e.attrs,...t}),s&amp;&amp;e.marks.length&amp;&amp;e.marks.forEach((i=&gt;{if(s===i.type){const l=Math.max(r,o),c=Math.min(r+e.nodeSize,a);n.addMark(l,c,s.create({...i.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=&gt;({state:n,dispatch:r})=&gt;function(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,s=o.blockRange(i),l=s&amp;&amp;(0,a.oM)(s,e,t);return!!l&amp;&amp;(r&amp;&amp;r(n.tr.wrap(s,l).scrollIntoView()),!0)}}(U(e,n.schema),t)(n,r),wrapInList:(e,t={})=&gt;({state:n,dispatch:r})=&gt;M(U(e,n.schema),t)(n,r)});const Je=de.create({name:"commands",addCommands:()=&gt;({...Qe})}),Ze=de.create({name:"drop",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("tiptapDrop"),props:{handleDrop:(e,t,n,r)=&gt;{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),et=de.create({name:"editable",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("editable"),props:{editable:()=&gt;this.editor.options.editable}})]}}),tt=de.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new r.k_({key:new r.hs("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=&gt;{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=&gt;{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),nt=de.create({name:"keymap",addKeyboardShortcuts(){const e=()=&gt;this.editor.commands.first((({commands:e})=&gt;[()=&gt;e.undoInputRule(),()=&gt;e.command((({tr:t})=&gt;{const{selection:n,doc:o}=t,{empty:i,$anchor:s}=n,{pos:a,parent:l}=s,c=s.parent.isTextblock&amp;&amp;a&gt;0?t.doc.resolve(a-1):s,u=c.parent.type.spec.isolating,d=s.pos-s.parentOffset,p=u&amp;&amp;1===c.parent.childCount?d===s.pos:r.LN.atStart(o).from===a;return!(!i||!l.type.isTextblock||l.textContent.length||!p||p&amp;&amp;"paragraph"===s.parent.type.name)&amp;&amp;e.clearNodes()})),()=&gt;e.deleteSelection(),()=&gt;e.joinBackward(),()=&gt;e.selectNodeBackward()])),t=()=&gt;this.editor.commands.first((({commands:e})=&gt;[()=&gt;e.deleteSelection(),()=&gt;e.deleteCurrentNode(),()=&gt;e.joinForward(),()=&gt;e.selectNodeForward()])),n={Enter:()=&gt;this.editor.commands.first((({commands:e})=&gt;[()=&gt;e.newlineInCode(),()=&gt;e.createParagraphNear(),()=&gt;e.liftEmptyBlock(),()=&gt;e.splitBlock()])),"Mod-Enter":()=&gt;this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=&gt;this.editor.commands.selectAll()},o={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=&gt;this.editor.commands.selectTextblockStart(),"Ctrl-e":()=&gt;this.editor.commands.selectTextblockEnd()};return ke()||xe()?i:o},addProseMirrorPlugins(){return[new r.k_({key:new r.hs("clearDocument"),appendTransaction:(e,t,n)=&gt;{const o=e.some((e=&gt;e.docChanged))&amp;&amp;!t.doc.eq(n.doc),i=e.some((e=&gt;e.getMeta("preventClearDocument")));if(!o||i)return;const{empty:s,from:a,to:l}=t.selection,c=r.LN.atStart(t.doc).from,u=r.LN.atEnd(t.doc).to;if(s||!(a===c&amp;&amp;l===u))return;if(!ze(n.doc))return;const d=n.tr,p=H({state:n,transaction:d}),{commands:h}=new j({editor:this.editor,state:p});return h.clearNodes(),d.steps.length?d:void 0}})]}}),rt=de.create({name:"paste",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("tiptapPaste"),props:{handlePaste:(e,t,n)=&gt;{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),ot=de.create({name:"tabindex",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("tabindex"),props:{attributes:()=&gt;this.editor.isEditable?{tabindex:"0"}:{}}})]}});class it{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&amp;&amp;void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You canâ€™t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new it(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&amp;&amp;(e=this.resolvedPos.doc.resolve(this.from-3)),new it(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&amp;&amp;(e=this.resolvedPos.doc.resolve(this.to+3)),new it(e,this.editor)}get children(){const e=[];return this.node.content.forEach(((t,n)=&gt;{const r=t.isBlock&amp;&amp;!t.isTextblock,o=t.isAtom&amp;&amp;!t.isText,i=this.pos+n+(o?0:1),s=this.resolvedPos.doc.resolve(i);if(!r&amp;&amp;s.depth&lt;=this.depth)return;const a=new it(s,this.editor,r,r?t:null);r&amp;&amp;(a.actualDepth=this.depth+1),e.push(new it(s,this.editor,r,r?t:null))})),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&amp;&amp;!n;){if(r.node.type.name===e)if(Object.keys(t).length&gt;0){const e=r.node.attrs,n=Object.keys(t);for(let r=0;r&lt;n.length;r+=1){const o=n[r];if(e[o]!==t[o])break}}else n=r;r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||0===this.children.length)return r;const o=Object.keys(t);return this.children.forEach((i=&gt;{if(!(n&amp;&amp;r.length&gt;0)){if(i.node.type.name===e){o.every((e=&gt;t[e]===i.node.attrs[e]))&amp;&amp;r.push(i)}n&amp;&amp;r.length&gt;0||(r=r.concat(i.querySelectorAll(e,t,n)))}})),r}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}class st extends G{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=&gt;null,onCreate:()=&gt;null,onUpdate:()=&gt;null,onSelectionUpdate:()=&gt;null,onTransaction:()=&gt;null,onFocus:()=&gt;null,onBlur:()=&gt;null,onDestroy:()=&gt;null,onContentError:({error:e})=&gt;{throw e},onPaste:()=&gt;null,onDrop:()=&gt;null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",(({event:e,slice:t,moved:n})=&gt;this.options.onDrop(e,t,n))),this.on("paste",(({event:e,slice:t})=&gt;this.options.onPaste(e,t))),window.setTimeout((()=&gt;{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&amp;&amp;document&amp;&amp;(this.css=function(e,t,n){const r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==r)return r;const o=document.createElement("style");return t&amp;&amp;o.setAttribute("nonce",t),o.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),o.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(o),o}('.ProseMirror {\n  position: relative;\n}\n\n.ProseMirror {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  white-space: break-spaces;\n  -webkit-font-variant-ligatures: none;\n  font-variant-ligatures: none;\n  font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n  white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n  white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n  white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n  display: inline !important;\n  border: none !important;\n  margin: 0 !important;\n  width: 0 !important;\n  height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n  display: none;\n  pointer-events: none;\n  position: absolute;\n  margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n  content: "";\n  display: block;\n  position: absolute;\n  top: -2px;\n  width: 20px;\n  border-top: 1px solid black;\n  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n  to {\n    visibility: hidden;\n  }\n}\n\n.ProseMirror-hideselection *::selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection * {\n  caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n  display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n  opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&amp;&amp;this.state&amp;&amp;!this.isDestroyed&amp;&amp;(this.options.editorProps&amp;&amp;this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&amp;&amp;this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&amp;&amp;this.view&amp;&amp;this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=X(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach((e=&gt;{const r="string"==typeof e?`${e}$`:e.key;n=t.filter((e=&gt;!e.key.startsWith(r)))})),t.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[et,fe.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),Je,tt,nt,ot,Ze,rt].filter((e=&gt;"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name])):[],...this.options.extensions].filter((e=&gt;["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new ue(n,this)}createCommandManager(){this.commandManager=new j({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let e;try{e=Le(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(t){if(!(t instanceof Error&amp;&amp;["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(t.message)))throw t;this.emit("contentError",{editor:this,error:t,disableCollaboration:()=&gt;{this.storage.collaboration&amp;&amp;(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter((e=&gt;"collaboration"!==e.name)),this.createExtensionManager()}}),e=Le(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const t=_e(e,this.options.autofocus);this.view=new o.Lz(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:r.$t.create({doc:e,selection:t||void 0})}),this.view.dom.setAttribute("role","textbox"),this.view.dom.getAttribute("aria-label")||this.view.dom.setAttribute("aria-label","Rich-Text Editor");const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=&gt;{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&amp;&amp;this.emit("selectionUpdate",{editor:this,transaction:e});const r=e.getMeta("focus"),o=e.getMeta("blur");r&amp;&amp;this.emit("focus",{editor:this,event:r.event,transaction:e}),o&amp;&amp;this.emit("blur",{editor:this,event:o.event,transaction:e}),e.docChanged&amp;&amp;!e.getMeta("preventUpdate")&amp;&amp;this.emit("update",{editor:this,transaction:e})}getAttributes(e){return He(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,r="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Ce(e,null,n)||We(e,null,n);const r=Oe(t,e.schema);return"node"===r?Ce(e,t,n):"mark"===r&amp;&amp;We(e,t,n)}(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Me(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return Fe(this.state.doc,{blockSeparator:t,textSerializers:{...he(this.schema),...n}})}get isEmpty(){return ze(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&amp;&amp;e.editor&amp;&amp;delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new it(t,this)}get $doc(){return this.$pos(0)}}function at(e){return new te({find:e.find,handler:({state:t,range:n,match:r})=&gt;{const o=K(e.getAttributes,void 0,r);if(!1===o||null===o)return null;const{tr:i}=t,s=r[r.length-1],a=r[0];if(s){const r=a.search(/\S/),l=n.from+a.indexOf(s),c=l+s.length;if(Be(n.from,n.to,t.doc).filter((t=&gt;t.mark.type.excluded.find((n=&gt;n===e.type&amp;&amp;n!==t.mark.type)))).filter((e=&gt;e.to&gt;l)).length)return null;c&lt;n.to&amp;&amp;i.delete(c,n.to),l&gt;n.from&amp;&amp;i.delete(n.from+r,l);const u=n.from+r+s.length;i.addMark(n.from+r,u,e.type.create(o||{})),i.removeStoredMark(e.type)}}})}function lt(e){return new te({find:e.find,handler:({state:t,range:n,match:r})=&gt;{const o=K(e.getAttributes,void 0,r)||{},{tr:i}=t,s=n.from;let a=n.to;const l=e.type.create(o);if(r[1]){let e=s+r[0].lastIndexOf(r[1]);e&gt;a?e=a:a=e+r[1].length;const t=r[0][r[0].length-1];i.insertText(t,s+r[0].length-1),i.replaceWith(e,a,l)}else if(r[0]){const t=e.type.isInline?s:s-1;i.insert(t,e.type.create(o)).delete(i.mapping.map(s),i.mapping.map(a))}i.scrollIntoView()}})}function ct(e){return new te({find:e.find,handler:({state:t,range:n,match:r})=&gt;{const o=t.doc.resolve(n.from),i=K(e.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,i)}})}function ut(e){return new te({find:e.find,handler:({state:t,range:n,match:r,chain:o})=&gt;{const i=K(e.getAttributes,void 0,r)||{},s=t.tr.delete(n.from,n.to),l=s.doc.resolve(n.from).blockRange(),c=l&amp;&amp;(0,a.oM)(l,e.type,i);if(!c)return null;if(s.wrap(l,c),e.keepMarks&amp;&amp;e.editor){const{selection:n,storedMarks:r}=t,{splittableMarks:o}=e.editor.extensionManager,i=r||n.$to.parentOffset&amp;&amp;n.$from.marks();if(i){const e=i.filter((e=&gt;o.includes(e.type.name)));s.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";o().updateAttributes(t,i).run()}const u=s.doc.resolve(n.from-1).nodeBefore;u&amp;&amp;u.type===e.type&amp;&amp;(0,a.n9)(s.doc,n.from-1)&amp;&amp;(!e.joinPredicate||e.joinPredicate(r,u))&amp;&amp;s.join(n.from-1)}})}class dt{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&amp;&amp;(this.options=K(B(this,"addOptions",{name:this.name}))),this.storage=K(B(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new dt(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=&gt;ie(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new dt(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&amp;&amp;Object.keys(e.defaultOptions).length&gt;0&amp;&amp;console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=K(B(t,"addOptions",{name:t.name})),t.storage=K(B(t,"addStorage",{name:t.name,options:t.options})),t}}function pt(e){return new ae({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:o})=&gt;{const i=K(e.getAttributes,void 0,r,o);if(!1===i||null===i)return null;const{tr:s}=t,a=r[r.length-1],l=r[0];let c=n.to;if(a){const r=l.search(/\S/),o=n.from+l.indexOf(a),u=o+a.length;if(Be(n.from,n.to,t.doc).filter((t=&gt;t.mark.type.excluded.find((n=&gt;n===e.type&amp;&amp;n!==t.mark.type)))).filter((e=&gt;e.to&gt;o)).length)return null;u&lt;n.to&amp;&amp;s.delete(u,n.to),o&gt;n.from&amp;&amp;s.delete(n.from+r,o),c=n.from+r+a.length,s.addMark(n.from+r,c,e.type.create(i||{})),s.removeStoredMark(e.type)}}})}},24260:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;o,f:()=&gt;o});var r=n(52781);const o=r.bP.create({name:"paragraph",priority:1e3,addOptions:()=&gt;({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=&gt;[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=&gt;({commands:e})=&gt;e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=&gt;this.editor.commands.setParagraph()}}})},98005:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(52781),o=n(42845),i=n(1575);const s=r.YY.create({name:"placeholder",addOptions:()=&gt;({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something â€¦",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new o.k_({key:new o.hs("placeholder"),props:{decorations:({doc:e,selection:t})=&gt;{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=t,s=[];if(!n)return null;const a=this.editor.isEmpty;return e.descendants(((e,t)=&gt;{const n=o&gt;=t&amp;&amp;o&lt;=t+e.nodeSize,l=!e.isLeaf&amp;&amp;(0,r.Op)(e);if((n||!this.options.showOnlyCurrent)&amp;&amp;l){const r=[this.options.emptyNodeClass];a&amp;&amp;r.push(this.options.emptyEditorClass);const o=i.NZ.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});s.push(o)}return this.options.includeChildren})),i.zF.create(e,s)}}})]}})},66242:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;Se});var r=n(52781);const o=/^\s*&gt;\s$/,i=r.bP.create({name:"blockquote",addOptions:()=&gt;({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=&gt;[{tag:"blockquote"}],renderHTML({HTMLAttributes:e}){return["blockquote",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=&gt;({commands:e})=&gt;e.wrapIn(this.name),toggleBlockquote:()=&gt;({commands:e})=&gt;e.toggleWrap(this.name),unsetBlockquote:()=&gt;({commands:e})=&gt;e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=&gt;this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,r.tG)({find:o,type:this.type})]}}),s=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,a=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,l=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,c=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,u=r.CU.create({name:"bold",addOptions:()=&gt;({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=&gt;"normal"!==e.style.fontWeight&amp;&amp;null},{style:"font-weight=400",clearMark:e=&gt;e.type.name===this.name},{style:"font-weight",getAttrs:e=&gt;/^(bold(er)?|[5-9]\d{2,})$/.test(e)&amp;&amp;null}]},renderHTML({HTMLAttributes:e}){return["strong",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=&gt;({commands:e})=&gt;e.setMark(this.name),toggleBold:()=&gt;({commands:e})=&gt;e.toggleMark(this.name),unsetBold:()=&gt;({commands:e})=&gt;e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=&gt;this.editor.commands.toggleBold(),"Mod-B":()=&gt;this.editor.commands.toggleBold()}},addInputRules(){return[(0,r.OX)({find:s,type:this.type}),(0,r.OX)({find:l,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:a,type:this.type}),(0,r.Zc)({find:c,type:this.type})]}}),d="textStyle",p=/^\s*([-+*])\s$/,h=r.bP.create({name:"bulletList",addOptions:()=&gt;({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=&gt;[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=&gt;({commands:e,chain:t})=&gt;this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(d)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=&gt;this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,r.tG)({find:p,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&amp;&amp;(e=(0,r.tG)({find:p,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=&gt;this.editor.getAttributes(d),editor:this.editor})),[e]}}),f=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))$/,m=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))/g,g=r.CU.create({name:"code",addOptions:()=&gt;({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=&gt;[{tag:"code"}],renderHTML({HTMLAttributes:e}){return["code",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=&gt;({commands:e})=&gt;e.setMark(this.name),toggleCode:()=&gt;({commands:e})=&gt;e.toggleMark(this.name),unsetCode:()=&gt;({commands:e})=&gt;e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=&gt;this.editor.commands.toggleCode()}},addInputRules(){return[(0,r.OX)({find:f,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:m,type:this.type})]}});var v=n(42845);const y=/^```([a-z]+)?[\s\n]$/,b=/^~~~([a-z]+)?[\s\n]$/,w=r.bP.create({name:"codeBlock",addOptions:()=&gt;({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=&gt;{var t;const{languageClassPrefix:n}=this.options,r=[...(null===(t=e.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter((e=&gt;e.startsWith(n))).map((e=&gt;e.replace(n,"")))[0];return r||null},rendered:!1}}},parseHTML:()=&gt;[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,r.KV)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=&gt;({commands:t})=&gt;t.setNode(this.name,e),toggleCodeBlock:e=&gt;({commands:t})=&gt;t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=&gt;this.editor.commands.toggleCodeBlock(),Backspace:()=&gt;{const{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!(!e||t.parent.type.name!==this.name)&amp;&amp;(!(!n&amp;&amp;t.parent.textContent.length)&amp;&amp;this.editor.commands.clearNodes())},Enter:({editor:e})=&gt;{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:r,empty:o}=n;if(!o||r.parent.type!==this.type)return!1;const i=r.parentOffset===r.parent.nodeSize-2,s=r.parent.textContent.endsWith("\n\n");return!(!i||!s)&amp;&amp;e.chain().command((({tr:e})=&gt;(e.delete(r.pos-2,r.pos),!0))).exitCode().run()},ArrowDown:({editor:e})=&gt;{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:r}=t,{$from:o,empty:i}=n;if(!i||o.parent.type!==this.type)return!1;if(!(o.parentOffset===o.parent.nodeSize-2))return!1;const s=o.after();if(void 0===s)return!1;return r.nodeAt(s)?e.commands.command((({tr:e})=&gt;(e.setSelection(v.LN.near(r.resolve(s))),!0))):e.commands.exitCode()}}},addInputRules(){return[(0,r.JJ)({find:y,type:this.type,getAttributes:e=&gt;({language:e[1]})}),(0,r.JJ)({find:b,type:this.type,getAttributes:e=&gt;({language:e[1]})})]},addProseMirrorPlugins(){return[new v.k_({key:new v.hs("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=&gt;{if(!t.clipboardData)return!1;if(this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),o=r?JSON.parse(r):void 0,i=null==o?void 0:o.mode;if(!n||!i)return!1;const{tr:s,schema:a}=e.state,l=a.text(n.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:i},l)),s.selection.$from.parent.type!==this.type&amp;&amp;s.setSelection(v.U3.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}}),S=r.bP.create({name:"doc",topNode:!0,content:"block+"});var _=n(38262);function k(e={}){return new v.k_({view:t=&gt;new A(t,e)})}class A{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=t.width)&amp;&amp;void 0!==n?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map((t=&gt;{let n=e=&gt;{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}}))}destroy(){this.handlers.forEach((({name:e,handler:t})=&gt;this.editorView.dom.removeEventListener(e,t)))}update(e,t){null!=this.cursorPos&amp;&amp;t.doc!=e.state.doc&amp;&amp;(this.cursorPos&gt;e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&amp;&amp;(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent;if(n){let n=t.nodeBefore,r=t.nodeAfter;if(n||r){let t=this.editorView.nodeDOM(this.cursorPos-(n?n.nodeSize:0));if(t){let o=t.getBoundingClientRect(),i=n?o.bottom:o.top;n&amp;&amp;r&amp;&amp;(i=(i+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),e={left:o.left,right:o.right,top:i-this.width/2,bottom:i+this.width/2}}}}if(!e){let t=this.editorView.coordsAtPos(this.cursorPos);e={left:t.left-this.width/2,right:t.left+this.width/2,top:t.top,bottom:t.bottom}}let r,o,i=this.editorView.dom.offsetParent;if(this.element||(this.element=i.appendChild(document.createElement("div")),this.class&amp;&amp;(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&amp;&amp;(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),!i||i==document.body&amp;&amp;"static"==getComputedStyle(i).position)r=-pageXOffset,o=-pageYOffset;else{let e=i.getBoundingClientRect();r=e.left-i.scrollLeft,o=e.top-i.scrollTop}this.element.style.left=e.left-r+"px",this.element.style.top=e.top-o+"px",this.element.style.width=e.right-e.left+"px",this.element.style.height=e.bottom-e.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout((()=&gt;this.setCursor(null)),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&amp;&amp;t.inside&gt;=0&amp;&amp;this.editorView.state.doc.nodeAt(t.inside),r=n&amp;&amp;n.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,t,e):r;if(t&amp;&amp;!o){let e=t.pos;if(this.editorView.dragging&amp;&amp;this.editorView.dragging.slice){let t=(0,_.Um)(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&amp;&amp;(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){e.target!=this.editorView.dom&amp;&amp;this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const T=r.YY.create({name:"dropCursor",addOptions:()=&gt;({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[k(this.options)]}});var E=n(61396),x=n(58903),C=n(1575);class O extends v.LN{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return O.valid(n)?new O(n):v.LN.near(n)}content(){return x.Ji.empty}eq(e){return e instanceof O&amp;&amp;e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new O(e.resolve(t.pos))}getBookmark(){return new I(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!function(e){for(let t=e.depth;t&gt;=0;t--){let n=e.index(t),r=e.node(t);if(0!=n)for(let e=r.child(n-1);;e=e.lastChild){if(0==e.childCount&amp;&amp;!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e)||!function(e){for(let t=e.depth;t&gt;=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n!=r.childCount)for(let e=r.child(n);;e=e.firstChild){if(0==e.childCount&amp;&amp;!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&amp;&amp;r.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&amp;&amp;O.valid(e))return e;let r=e.pos,o=null;for(let n=e.depth;;n--){let i=e.node(n);if(t&gt;0?e.indexAfter(n)&lt;i.childCount:e.index(n)&gt;0){o=i.child(t&gt;0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;r+=t;let s=e.doc.resolve(r);if(O.valid(s))return s}for(;;){let i=t&gt;0?o.firstChild:o.lastChild;if(!i){if(o.isAtom&amp;&amp;!o.isText&amp;&amp;!v.nh.isSelectable(o)){e=e.doc.resolve(r+o.nodeSize*t),n=!1;continue e}break}o=i,r+=t;let s=e.doc.resolve(r);if(O.valid(s))return s}return null}}}O.prototype.visible=!1,O.findFrom=O.findGapCursorFrom,v.LN.jsonID("gapcursor",O);class I{constructor(e){this.pos=e}map(e){return new I(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return O.valid(t)?new O(t):v.LN.near(t)}}const L=(0,E.K)({ArrowLeft:P("horiz",-1),ArrowRight:P("horiz",1),ArrowUp:P("vert",-1),ArrowDown:P("vert",1)});function P(e,t){const n="vert"==e?t&gt;0?"down":"up":t&gt;0?"right":"left";return function(e,r,o){let i=e.selection,s=t&gt;0?i.$to:i.$from,a=i.empty;if(i instanceof v.U3){if(!o.endOfTextblock(n)||0==s.depth)return!1;a=!1,s=e.doc.resolve(t&gt;0?s.after():s.before())}let l=O.findGapCursorFrom(s,t,a);return!!l&amp;&amp;(r&amp;&amp;r(e.tr.setSelection(new O(l))),!0)}}function N(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!O.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return!(o&amp;&amp;o.inside&gt;-1&amp;&amp;v.nh.isSelectable(e.state.doc.nodeAt(o.inside)))&amp;&amp;(e.dispatch(e.state.tr.setSelection(new O(r))),!0)}function D(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof O))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let o=x.FK.empty;for(let e=r.length-1;e&gt;=0;e--)o=x.FK.from(r[e].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new x.Ji(o,0,0));return i.setSelection(v.U3.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function R(e){if(!(e.selection instanceof O))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",C.zF.create(e.doc,[C.NZ.widget(e.selection.head,t,{key:"gapcursor"})])}const M=r.YY.create({name:"gapCursor",addProseMirrorPlugins:()=&gt;[new v.k_({props:{decorations:R,createSelectionBetween:(e,t,n)=&gt;t.pos==n.pos&amp;&amp;O.valid(n)?new O(n):null,handleClick:N,handleKeyDown:L,handleDOMEvents:{beforeinput:D}}})],extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!==(t=(0,r.gk)((0,r.iI)(e,"allowGapCursor",n)))&amp;&amp;void 0!==t?t:null}}}),F=r.bP.create({name:"hardBreak",addOptions:()=&gt;({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=&gt;[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,r.KV)(this.options.HTMLAttributes,e)]},renderText:()=&gt;"\n",addCommands(){return{setHardBreak:()=&gt;({commands:e,chain:t,state:n,editor:r})=&gt;e.first([()=&gt;e.exitCode(),()=&gt;e.command((()=&gt;{const{selection:e,storedMarks:o}=n;if(e.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:s}=r.extensionManager,a=o||e.$to.parentOffset&amp;&amp;e.$from.marks();return t().insertContent({type:this.name}).command((({tr:e,dispatch:t})=&gt;{if(t&amp;&amp;a&amp;&amp;i){const t=a.filter((e=&gt;s.includes(e.type.name)));e.ensureMarks(t)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=&gt;this.editor.commands.setHardBreak(),"Shift-Enter":()=&gt;this.editor.commands.setHardBreak()}}}),H=r.bP.create({name:"heading",addOptions:()=&gt;({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=&gt;({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((e=&gt;({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=&gt;({commands:t})=&gt;!!this.options.levels.includes(e.level)&amp;&amp;t.setNode(this.name,e),toggleHeading:e=&gt;({commands:t})=&gt;!!this.options.levels.includes(e.level)&amp;&amp;t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=&gt;({...e,[`Mod-Alt-${t}`]:()=&gt;this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=&gt;(0,r.JJ)({find:new RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}})))}});var j=200,G=function(){};G.prototype.append=function(e){return e.length?(e=G.from(e),!this.length&amp;&amp;e||e.length&lt;j&amp;&amp;this.leafAppend(e)||this.length&lt;j&amp;&amp;e.leafPrepend(this)||this.appendInner(e)):this},G.prototype.prepend=function(e){return e.length?G.from(e).append(this):this},G.prototype.appendInner=function(e){return new $(this,e)},G.prototype.slice=function(e,t){return void 0===e&amp;&amp;(e=0),void 0===t&amp;&amp;(t=this.length),e&gt;=t?G.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},G.prototype.get=function(e){if(!(e&lt;0||e&gt;=this.length))return this.getInner(e)},G.prototype.forEach=function(e,t,n){void 0===t&amp;&amp;(t=0),void 0===n&amp;&amp;(n=this.length),t&lt;=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},G.prototype.map=function(e,t,n){void 0===t&amp;&amp;(t=0),void 0===n&amp;&amp;(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},G.from=function(e){return e instanceof G?e:e&amp;&amp;e.length?new B(e):G.empty};var B=function(e){function t(t){e.call(this),this.values=t}e&amp;&amp;(t.__proto__=e),t.prototype=Object.create(e&amp;&amp;e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&amp;&amp;n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var o=t;o&lt;n;o++)if(!1===e(this.values[o],r+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var o=t-1;o&gt;=n;o--)if(!1===e(this.values[o],r+o))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length&lt;=j)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length&lt;=j)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(G);G.empty=new B([]);var $=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&amp;&amp;(t.__proto__=e),t.prototype=Object.create(e&amp;&amp;e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e&lt;this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var o=this.left.length;return!(t&lt;o&amp;&amp;!1===this.left.forEachInner(e,t,Math.min(n,o),r))&amp;&amp;(!(n&gt;o&amp;&amp;!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,r+o))&amp;&amp;void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var o=this.left.length;return!(t&gt;o&amp;&amp;!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,r+o))&amp;&amp;(!(n&lt;o&amp;&amp;!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,r))&amp;&amp;void 0)},t.prototype.sliceInner=function(e,t){if(0==e&amp;&amp;t==this.length)return this;var n=this.left.length;return t&lt;=n?this.left.slice(e,t):e&gt;=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth&gt;=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(G);const W=G;class U{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,o=this.items.length;for(;;o--){if(this.items.get(o-1).selection){--o;break}}t&amp;&amp;(n=this.remapping(o,this.items.length),r=n.maps.length);let i,s,a=e.tr,l=[],c=[];return this.items.forEach(((e,t)=&gt;{if(!e.step)return n||(n=this.remapping(o,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new z(e.map));let t,o=e.step.map(n.slice(r));o&amp;&amp;a.maybeStep(o).doc&amp;&amp;(t=a.mapping.maps[a.mapping.maps.length-1],l.push(new z(t,void 0,void 0,l.length+c.length))),r--,t&amp;&amp;n.appendMap(t,r)}else a.maybeStep(e.step);return e.selection?(i=n?e.selection.map(n.slice(r)):e.selection,s=new U(this.items.slice(0,o).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:s,transform:a,selection:i}}addTransform(e,t,n,r){let o=[],i=this.eventCount,s=this.items,a=!r&amp;&amp;s.length?s.get(s.length-1):null;for(let n=0;n&lt;e.steps.length;n++){let l,c=e.steps[n].invert(e.docs[n]),u=new z(e.mapping.maps[n],c,t);(l=a&amp;&amp;a.merge(u))&amp;&amp;(u=l,n?o.pop():s=s.slice(0,s.length-1)),o.push(u),t&amp;&amp;(i++,t=void 0),r||(a=u)}let l=i-n.depth;return l&gt;X&amp;&amp;(s=function(e,t){let n;return e.forEach(((e,r)=&gt;{if(e.selection&amp;&amp;0==t--)return n=r,!1})),e.slice(n)}(s,l),i-=l),new U(s.append(o),i)}remapping(e,t){let n=new _.X9;return this.items.forEach(((t,r)=&gt;{let o=null!=t.mirrorOffset&amp;&amp;r-t.mirrorOffset&gt;=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)}),e,t),n}addMaps(e){return 0==this.eventCount?this:new U(this.items.append(e.map((e=&gt;new z(e)))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),o=e.mapping,i=e.steps.length,s=this.eventCount;this.items.forEach((e=&gt;{e.selection&amp;&amp;s--}),r);let a=t;this.items.forEach((t=&gt;{let r=o.getMirror(--a);if(null==r)return;i=Math.min(i,r);let l=o.maps[r];if(t.step){let i=e.steps[r].invert(e.docs[r]),c=t.selection&amp;&amp;t.selection.map(o.slice(a+1,r));c&amp;&amp;s++,n.push(new z(l,i,c))}else n.push(new z(l))}),r);let l=[];for(let e=t;e&lt;i;e++)l.push(new z(o.maps[e]));let c=this.items.slice(0,r).append(l).append(n),u=new U(c,s);return u.emptyItemCount()&gt;500&amp;&amp;(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach((t=&gt;{t.step||e++})),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],o=0;return this.items.forEach(((i,s)=&gt;{if(s&gt;=e)r.push(i),i.selection&amp;&amp;o++;else if(i.step){let e=i.step.map(t.slice(n)),s=e&amp;&amp;e.getMap();if(n--,s&amp;&amp;t.appendMap(s,n),e){let a=i.selection&amp;&amp;i.selection.map(t.slice(n));a&amp;&amp;o++;let l,c=new z(s.invert(),e,a),u=r.length-1;(l=r.length&amp;&amp;r[u].merge(c))?r[u]=l:r.push(c)}}else i.map&amp;&amp;n--}),this.items.length,0),new U(W.from(r.reverse()),o)}}U.empty=new U(W.empty,0);class z{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&amp;&amp;e.step&amp;&amp;!e.selection){let t=e.step.merge(this.step);if(t)return new z(t.getMap().invert(),t,this.selection)}}}class V{constructor(e,t,n,r,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=o}}const X=20;function K(e){let t=[];for(let n=e.length-1;n&gt;=0&amp;&amp;0==t.length;n--)e[n].forEach(((e,n,r,o)=&gt;t.push(r,o)));return t}function q(e,t){if(!e)return null;let n=[];for(let r=0;r&lt;e.length;r+=2){let o=t.map(e[r],1),i=t.map(e[r+1],-1);o&lt;=i&amp;&amp;n.push(o,i)}return n}let Y=!1,Q=null;function J(e){let t=e.plugins;if(Q!=t){Y=!1,Q=t;for(let e=0;e&lt;t.length;e++)if(t[e].spec.historyPreserveItems){Y=!0;break}}return Y}const Z=new v.hs("history"),ee=new v.hs("closeHistory");function te(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new v.k_({key:Z,state:{init:()=&gt;new V(U.empty,U.empty,null,0,-1),apply:(t,n,r)=&gt;function(e,t,n,r){let o,i=n.getMeta(Z);if(i)return i.historyState;n.getMeta(ee)&amp;&amp;(e=new V(e.done,e.undone,null,0,-1));let s=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(s&amp;&amp;s.getMeta(Z))return s.getMeta(Z).redo?new V(e.done.addTransform(n,void 0,r,J(t)),e.undone,K(n.mapping.maps),e.prevTime,e.prevComposition):new V(e.done,e.undone.addTransform(n,void 0,r,J(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||s&amp;&amp;!1===s.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new V(e.done.rebased(n,o),e.undone.rebased(n,o),q(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new V(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),q(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let o=n.getMeta("composition"),i=0==e.prevTime||!s&amp;&amp;e.prevComposition!=o&amp;&amp;(e.prevTime&lt;(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach(((e,r)=&gt;{for(let o=0;o&lt;t.length;o+=2)e&lt;=t[o+1]&amp;&amp;r&gt;=t[o]&amp;&amp;(n=!0)})),n}(n,e.prevRanges)),a=s?q(e.prevRanges,n.mapping):K(n.mapping.maps);return new V(e.done.addTransform(n,i?t.selection.getBookmark():void 0,r,J(t)),U.empty,a,n.time,null==o?e.prevComposition:o)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?re:"historyRedo"==n?oe:null;return!!r&amp;&amp;(t.preventDefault(),r(e.state,e.dispatch))}}}})}function ne(e,t){return(n,r)=&gt;{let o=Z.getState(n);if(!o||0==(e?o.undone:o.done).eventCount)return!1;if(r){let i=function(e,t,n){let r=J(t),o=Z.get(t).spec.config,i=(n?e.undone:e.done).popEvent(t,r);if(!i)return null;let s=i.selection.resolve(i.transform.doc),a=(n?e.done:e.undone).addTransform(i.transform,t.selection.getBookmark(),o,r),l=new V(n?a:i.remaining,n?i.remaining:a,null,0,-1);return i.transform.setSelection(s).setMeta(Z,{redo:n,historyState:l})}(o,n,e);i&amp;&amp;r(t?i.scrollIntoView():i)}return!0}}const re=ne(!1,!0),oe=ne(!0,!0);ne(!1,!1),ne(!0,!1);const ie=r.YY.create({name:"history",addOptions:()=&gt;({depth:100,newGroupDelay:500}),addCommands:()=&gt;({undo:()=&gt;({state:e,dispatch:t})=&gt;re(e,t),redo:()=&gt;({state:e,dispatch:t})=&gt;oe(e,t)}),addProseMirrorPlugins(){return[te(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=&gt;this.editor.commands.undo(),"Shift-Mod-z":()=&gt;this.editor.commands.redo(),"Mod-y":()=&gt;this.editor.commands.redo(),"Mod-Ñ":()=&gt;this.editor.commands.undo(),"Shift-Mod-Ñ":()=&gt;this.editor.commands.redo()}}}),se=r.bP.create({name:"horizontalRule",addOptions:()=&gt;({HTMLAttributes:{}}),group:"block",parseHTML:()=&gt;[{tag:"hr"}],renderHTML({HTMLAttributes:e}){return["hr",(0,r.KV)(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=&gt;({chain:e,state:t})=&gt;{const{selection:n}=t,{$from:o,$to:i}=n,s=e();return 0===o.parentOffset?s.insertContentAt({from:Math.max(o.pos-1,0),to:i.pos},{type:this.name}):(0,r.BQ)(n)?s.insertContentAt(i.pos,{type:this.name}):s.insertContent({type:this.name}),s.command((({tr:e,dispatch:t})=&gt;{var n;if(t){const{$to:t}=e.selection,r=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(v.U3.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(v.nh.create(e.doc,t.pos)):e.setSelection(v.U3.create(e.doc,t.pos));else{const o=null===(n=t.parent.type.contentMatch.defaultType)||void 0===n?void 0:n.create();o&amp;&amp;(e.insert(r,o),e.setSelection(v.U3.create(e.doc,r+1)))}e.scrollIntoView()}return!0})).run()}}},addInputRules(){return[(0,r.jT)({find:/^(?:---|â€”-|___\s|\*\*\*\s)$/,type:this.type})]}}),ae=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,le=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,ce=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,ue=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,de=r.CU.create({name:"italic",addOptions:()=&gt;({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=&gt;"normal"!==e.style.fontStyle&amp;&amp;null},{style:"font-style=normal",clearMark:e=&gt;e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=&gt;({commands:e})=&gt;e.setMark(this.name),toggleItalic:()=&gt;({commands:e})=&gt;e.toggleMark(this.name),unsetItalic:()=&gt;({commands:e})=&gt;e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=&gt;this.editor.commands.toggleItalic(),"Mod-I":()=&gt;this.editor.commands.toggleItalic()}},addInputRules(){return[(0,r.OX)({find:ae,type:this.type}),(0,r.OX)({find:ce,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:le,type:this.type}),(0,r.Zc)({find:ue,type:this.type})]}}),pe=r.bP.create({name:"listItem",addOptions:()=&gt;({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=&gt;[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,r.KV)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=&gt;this.editor.commands.splitListItem(this.name),Tab:()=&gt;this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=&gt;this.editor.commands.liftListItem(this.name)}}}),he="textStyle",fe=/^(\d+)\.\s$/,me=r.bP.create({name:"orderedList",addOptions:()=&gt;({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=&gt;({start:{default:1,parseHTML:e=&gt;e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:e=&gt;e.getAttribute("type")}}),parseHTML:()=&gt;[{tag:"ol"}],renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",(0,r.KV)(this.options.HTMLAttributes,n),0]:["ol",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=&gt;({commands:e,chain:t})=&gt;this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(he)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=&gt;this.editor.commands.toggleOrderedList()}},addInputRules(){let e=(0,r.tG)({find:fe,type:this.type,getAttributes:e=&gt;({start:+e[1]}),joinPredicate:(e,t)=&gt;t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&amp;&amp;(e=(0,r.tG)({find:fe,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=&gt;({start:+e[1],...this.editor.getAttributes(he)}),joinPredicate:(e,t)=&gt;t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}});var ge=n(24260);const ve=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,ye=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,be=r.CU.create({name:"strike",addOptions:()=&gt;({HTMLAttributes:{}}),parseHTML:()=&gt;[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=&gt;!!e.includes("line-through")&amp;&amp;{}}],renderHTML({HTMLAttributes:e}){return["s",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=&gt;({commands:e})=&gt;e.setMark(this.name),toggleStrike:()=&gt;({commands:e})=&gt;e.toggleMark(this.name),unsetStrike:()=&gt;({commands:e})=&gt;e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=&gt;this.editor.commands.toggleStrike()}},addInputRules(){return[(0,r.OX)({find:ve,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:ye,type:this.type})]}}),we=r.bP.create({name:"text",group:"inline"}),Se=r.YY.create({name:"starterKit",addExtensions(){var e,t,n,r,o,s,a,l,c,d,p,f,m,v,y,b,_,k;const A=[];return!1!==this.options.bold&amp;&amp;A.push(u.configure(null===(e=this.options)||void 0===e?void 0:e.bold)),!1!==this.options.blockquote&amp;&amp;A.push(i.configure(null===(t=this.options)||void 0===t?void 0:t.blockquote)),!1!==this.options.bulletList&amp;&amp;A.push(h.configure(null===(n=this.options)||void 0===n?void 0:n.bulletList)),!1!==this.options.code&amp;&amp;A.push(g.configure(null===(r=this.options)||void 0===r?void 0:r.code)),!1!==this.options.codeBlock&amp;&amp;A.push(w.configure(null===(o=this.options)||void 0===o?void 0:o.codeBlock)),!1!==this.options.document&amp;&amp;A.push(S.configure(null===(s=this.options)||void 0===s?void 0:s.document)),!1!==this.options.dropcursor&amp;&amp;A.push(T.configure(null===(a=this.options)||void 0===a?void 0:a.dropcursor)),!1!==this.options.gapcursor&amp;&amp;A.push(M.configure(null===(l=this.options)||void 0===l?void 0:l.gapcursor)),!1!==this.options.hardBreak&amp;&amp;A.push(F.configure(null===(c=this.options)||void 0===c?void 0:c.hardBreak)),!1!==this.options.heading&amp;&amp;A.push(H.configure(null===(d=this.options)||void 0===d?void 0:d.heading)),!1!==this.options.history&amp;&amp;A.push(ie.configure(null===(p=this.options)||void 0===p?void 0:p.history)),!1!==this.options.horizontalRule&amp;&amp;A.push(se.configure(null===(f=this.options)||void 0===f?void 0:f.horizontalRule)),!1!==this.options.italic&amp;&amp;A.push(de.configure(null===(m=this.options)||void 0===m?void 0:m.italic)),!1!==this.options.listItem&amp;&amp;A.push(pe.configure(null===(v=this.options)||void 0===v?void 0:v.listItem)),!1!==this.options.orderedList&amp;&amp;A.push(me.configure(null===(y=this.options)||void 0===y?void 0:y.orderedList)),!1!==this.options.paragraph&amp;&amp;A.push(ge.f.configure(null===(b=this.options)||void 0===b?void 0:b.paragraph)),!1!==this.options.strike&amp;&amp;A.push(be.configure(null===(_=this.options)||void 0===_?void 0:_.strike)),!1!==this.options.text&amp;&amp;A.push(we.configure(null===(k=this.options)||void 0===k?void 0:k.text)),A}})},52630:(e,t,n)=&gt;{"use strict";n.d(t,{KE:()=&gt;yt,$Z:()=&gt;bt});var r=n(52781),o=n(42845);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&amp;&amp;t.defaultView||window}return e}function s(e){return e instanceof i(e).Element||e instanceof Element}function a(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!=typeof ShadowRoot&amp;&amp;(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var c=Math.max,u=Math.min,d=Math.round;function p(){var e=navigator.userAgentData;return null!=e&amp;&amp;e.brands&amp;&amp;Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function h(){return!/^((?!chrome|android).)*safari/i.test(p())}function f(e,t,n){void 0===t&amp;&amp;(t=!1),void 0===n&amp;&amp;(n=!1);var r=e.getBoundingClientRect(),o=1,l=1;t&amp;&amp;a(e)&amp;&amp;(o=e.offsetWidth&gt;0&amp;&amp;d(r.width)/e.offsetWidth||1,l=e.offsetHeight&gt;0&amp;&amp;d(r.height)/e.offsetHeight||1);var c=(s(e)?i(e):window).visualViewport,u=!h()&amp;&amp;n,p=(r.left+(u&amp;&amp;c?c.offsetLeft:0))/o,f=(r.top+(u&amp;&amp;c?c.offsetTop:0))/l,m=r.width/o,g=r.height/l;return{width:m,height:g,top:f,right:p+m,bottom:f+g,left:p,x:p,y:f}}function m(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function g(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((s(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return f(v(e)).left+m(e).scrollLeft}function b(e){return i(e).getComputedStyle(e)}function w(e){var t=b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function S(e,t,n){void 0===n&amp;&amp;(n=!1);var r,o,s=a(t),l=a(t)&amp;&amp;function(e){var t=e.getBoundingClientRect(),n=d(t.width)/e.offsetWidth||1,r=d(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=v(t),u=f(e,l,n),p={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(s||!s&amp;&amp;!n)&amp;&amp;(("body"!==g(t)||w(c))&amp;&amp;(p=(r=t)!==i(r)&amp;&amp;a(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:m(r)),a(t)?((h=f(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):c&amp;&amp;(h.x=y(c))),{x:u.left+p.scrollLeft-h.x,y:u.top+p.scrollTop-h.y,width:u.width,height:u.height}}function _(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)&lt;=1&amp;&amp;(n=t.width),Math.abs(t.height-r)&lt;=1&amp;&amp;(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e)}function A(e){return["html","body","#document"].indexOf(g(e))&gt;=0?e.ownerDocument.body:a(e)&amp;&amp;w(e)?e:A(k(e))}function T(e,t){var n;void 0===t&amp;&amp;(t=[]);var r=A(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),s=i(r),a=o?[s].concat(s.visualViewport||[],w(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(T(k(a)))}function E(e){return["table","td","th"].indexOf(g(e))&gt;=0}function x(e){return a(e)&amp;&amp;"fixed"!==b(e).position?e.offsetParent:null}function C(e){for(var t=i(e),n=x(e);n&amp;&amp;E(n)&amp;&amp;"static"===b(n).position;)n=x(n);return n&amp;&amp;("html"===g(n)||"body"===g(n)&amp;&amp;"static"===b(n).position)?t:n||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&amp;&amp;a(e)&amp;&amp;"fixed"===b(e).position)return null;var n=k(e);for(l(n)&amp;&amp;(n=n.host);a(n)&amp;&amp;["html","body"].indexOf(g(n))&lt;0;){var r=b(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&amp;&amp;"filter"===r.willChange||t&amp;&amp;r.filter&amp;&amp;"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var O="top",I="bottom",L="right",P="left",N="auto",D=[O,I,L,P],R="start",M="end",F="viewport",H="popper",j=D.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+M])}),[]),G=[].concat(D,[N]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+M])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&amp;&amp;o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var W={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&amp;&amp;"function"==typeof e.getBoundingClientRect)}))}function z(e){void 0===e&amp;&amp;(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?W:o;return function(e,t,n){void 0===n&amp;&amp;(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},W,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;p(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:s(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var a,u,h=function(e){var t=$(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=h.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:d,options:r}),s=function(){};c.push(i||s)}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(U(t,n)){l.rects={reference:S(t,C(n),"fixed"===l.options.strategy),popper:_(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r&lt;l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,s=o.options,a=void 0===s?{}:s,c=o.name;"function"==typeof i&amp;&amp;(l=i({state:l,options:a,name:c,instance:d})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),u=!0}};if(!U(e,t))return d;function p(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&amp;&amp;n.onFirstUpdate&amp;&amp;n.onFirstUpdate(e)})),d}}var V={passive:!0};function X(e){return e.split("-")[0]}function K(e){return e.split("-")[1]}function q(e){return["top","bottom"].indexOf(e)&gt;=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?X(o):null,s=o?K(o):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case O:t={x:a,y:n.y-r.height};break;case I:t={x:a,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:l};break;case P:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?q(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case R:t[c]=t[c]-(n[u]/2-r[u]/2);break;case M:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,h=e.isFixed,f=a.x,m=void 0===f?0:f,g=a.y,y=void 0===g?0:g,w="function"==typeof p?p({x:m,y}):{x:m,y};m=w.x,y=w.y;var S=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),k=P,A=O,T=window;if(u){var E=C(n),x="clientHeight",N="clientWidth";if(E===i(n)&amp;&amp;"static"!==b(E=v(n)).position&amp;&amp;"absolute"===l&amp;&amp;(x="scrollHeight",N="scrollWidth"),o===O||(o===P||o===L)&amp;&amp;s===M)A=I,y-=(h&amp;&amp;E===T&amp;&amp;T.visualViewport?T.visualViewport.height:E[x])-r.height,y*=c?1:-1;if(o===P||(o===O||o===I)&amp;&amp;s===M)k=L,m-=(h&amp;&amp;E===T&amp;&amp;T.visualViewport?T.visualViewport.width:E[N])-r.width,m*=c?1:-1}var D,R=Object.assign({position:l},u&amp;&amp;Q),F=!0===p?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:d(n*o)/o||0,y:d(r*o)/o||0}}({x:m,y},i(n)):{x:m,y};return m=F.x,y=F.y,c?Object.assign({},R,((D={})[A]=_?"0":"",D[k]=S?"0":"",D.transform=(T.devicePixelRatio||1)&lt;=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",D)):Object.assign({},R,((t={})[A]=_?y+"px":"",t[k]=S?m+"px":"",t.transform="",t))}const Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];a(o)&amp;&amp;g(o)&amp;&amp;(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});a(r)&amp;&amp;g(r)&amp;&amp;(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const ee={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,s=G.reduce((function(e,n){return e[n]=function(e,t,n){var r=X(e),o=[P,O].indexOf(r)&gt;=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[P,L].indexOf(r)&gt;=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&amp;&amp;(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}};var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ie(e,t){var n=t.getRootNode&amp;&amp;t.getRootNode();if(e.contains(t))return!0;if(n&amp;&amp;l(n)){var r=t;do{if(r&amp;&amp;e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t,n){return t===F?se(function(e,t){var n=i(e),r=v(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){s=o.width,a=o.height;var u=h();(u||!u&amp;&amp;"fixed"===t)&amp;&amp;(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:a,x:l+y(e),y:c}}(e,n)):s(t)?function(e,t){var n=f(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=v(e),r=m(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=c(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=c(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+y(e),l=-r.scrollTop;return"rtl"===b(o||n).direction&amp;&amp;(a+=c(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(v(e)))}function le(e,t,n,r){var o="clippingParents"===t?function(e){var t=T(k(e)),n=["absolute","fixed"].indexOf(b(e).position)&gt;=0&amp;&amp;a(e)?C(e):e;return s(n)?t.filter((function(e){return s(e)&amp;&amp;ie(e,n)&amp;&amp;"body"!==g(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),l=i[0],d=i.reduce((function(t,n){var o=ae(e,n,r);return t.top=c(o.top,t.top),t.right=u(o.right,t.right),t.bottom=u(o.bottom,t.bottom),t.left=c(o.left,t.left),t}),ae(e,l,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ce(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function de(e,t){void 0===t&amp;&amp;(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,c=void 0===l?"clippingParents":l,u=n.rootBoundary,d=void 0===u?F:u,p=n.elementContext,h=void 0===p?H:p,m=n.altBoundary,g=void 0!==m&amp;&amp;m,y=n.padding,b=void 0===y?0:y,w=ce("number"!=typeof b?b:ue(b,D)),S=h===H?"reference":H,_=e.rects.popper,k=e.elements[g?S:h],A=le(s(k)?k:k.contextElement||v(e.elements.popper),c,d,a),T=f(e.elements.reference),E=Y({reference:T,element:_,strategy:"absolute",placement:o}),x=se(Object.assign({},_,E)),C=h===H?x:T,P={top:A.top-C.top+w.top,bottom:C.bottom-A.bottom+w.bottom,left:A.left-C.left+w.left,right:C.right-A.right+w.right},N=e.modifiersData.offset;if(h===H&amp;&amp;N){var R=N[o];Object.keys(P).forEach((function(e){var t=[L,I].indexOf(e)&gt;=0?1:-1,n=[O,I].indexOf(e)&gt;=0?"y":"x";P[e]+=R[n]*t}))}return P}function pe(e,t,n){return c(e,u(t,n))}const he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0!==s&amp;&amp;s,l=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.padding,f=n.tether,m=void 0===f||f,g=n.tetherOffset,v=void 0===g?0:g,y=de(t,{boundary:l,rootBoundary:d,padding:h,altBoundary:p}),b=X(t.placement),w=K(t.placement),S=!w,k=q(b),A="x"===k?"y":"x",T=t.modifiersData.popperOffsets,E=t.rects.reference,x=t.rects.popper,N="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,D="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(T){if(i){var H,j="y"===k?O:P,G="y"===k?I:L,B="y"===k?"height":"width",$=T[k],W=$+y[j],U=$-y[G],z=m?-x[B]/2:0,V=w===R?E[B]:x[B],Y=w===R?-x[B]:-E[B],Q=t.elements.arrow,J=m&amp;&amp;Q?_(Q):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[j],te=Z[G],ne=pe(0,E[B],J[B]),re=S?E[B]/2-z-ne-ee-D.mainAxis:V-ne-ee-D.mainAxis,oe=S?-E[B]/2+z+ne+te+D.mainAxis:Y+ne+te+D.mainAxis,ie=t.elements.arrow&amp;&amp;C(t.elements.arrow),se=ie?"y"===k?ie.clientTop||0:ie.clientLeft||0:0,ae=null!=(H=null==M?void 0:M[k])?H:0,le=$+oe-ae,ce=pe(m?u(W,$+re-ae-se):W,$,m?c(U,le):U);T[k]=ce,F[k]=ce-$}if(a){var ue,he="x"===k?O:P,fe="x"===k?I:L,me=T[A],ge="y"===A?"height":"width",ve=me+y[he],ye=me-y[fe],be=-1!==[O,P].indexOf(b),we=null!=(ue=null==M?void 0:M[A])?ue:0,Se=be?ve:me-E[ge]-x[ge]-we+D.altAxis,_e=be?me+E[ge]+x[ge]-we-D.altAxis:ye,ke=m&amp;&amp;be?function(e,t,n){var r=pe(e,t,n);return r&gt;n?n:r}(Se,me,_e):pe(m?Se:ve,me,m?_e:ye);T[A]=ke,F[A]=ke-me}t.modifiersData[r]=F}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=X(n.placement),l=q(a),c=[P,L].indexOf(a)&gt;=0?"height":"width";if(i&amp;&amp;s){var u=function(e,t){return ce("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,D))}(o.padding,n),d=_(i),p="y"===l?O:P,h="y"===l?I:L,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],g=C(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=u[p],w=v-d[c]-u[h],S=v/2-d[c]/2+y,k=pe(b,S,w),A=l;n.modifiersData[r]=((t={})[A]=k,t.centerOffset=k-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&amp;&amp;("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&amp;&amp;ie(t.elements.popper,r)&amp;&amp;(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&amp;&amp;(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[O,L,I,P].some((function(t){return e[t]&gt;=0}))}var ve=z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=void 0===o||o,a=r.resize,l=void 0===a||a,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&amp;&amp;u.forEach((function(e){e.addEventListener("scroll",n.update,V)})),l&amp;&amp;c.addEventListener("resize",n.update,V),function(){s&amp;&amp;u.forEach((function(e){e.removeEventListener("scroll",n.update,V)})),l&amp;&amp;c.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:X(t.placement),variation:K(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Z,ee,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=X(g),y=l||(v===g||!f?[ne(g)]:function(e){if(X(e)===N)return[];var t=ne(e);return[oe(e),t,oe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(X(n)===N?function(e,t){void 0===t&amp;&amp;(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?G:l,u=K(r),d=u?a?j:j.filter((function(e){return K(e)===u})):D,p=d.filter((function(e){return c.indexOf(e)&gt;=0}));0===p.length&amp;&amp;(p=d);var h=p.reduce((function(t,n){return t[n]=de(e,{placement:n,boundary:o,rootBoundary:i,padding:s})[X(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,S=t.rects.popper,_=new Map,k=!0,A=b[0],T=0;T&lt;b.length;T++){var E=b[T],x=X(E),C=K(E)===R,M=[O,I].indexOf(x)&gt;=0,F=M?"width":"height",H=de(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),B=M?C?L:P:C?I:O;w[F]&gt;S[F]&amp;&amp;(B=ne(B));var $=ne(B),W=[];if(i&amp;&amp;W.push(H[x]&lt;=0),a&amp;&amp;W.push(H[B]&lt;=0,H[$]&lt;=0),W.every((function(e){return e}))){A=E,k=!1;break}_.set(E,W)}if(k)for(var U=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},z=f?3:1;z&gt;0;z--){if("break"===U(z))break}t.placement!==A&amp;&amp;(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},he,fe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=de(t,{elementContext:"reference"}),a=de(t,{altBoundary:!0}),l=me(s,r),c=me(a,o,i),u=ge(l),d=ge(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ye="tippy-content",be="tippy-backdrop",we="tippy-arrow",Se="tippy-svg-arrow",_e={passive:!0,capture:!0},ke=function(){return document.body};function Ae(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Te(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&amp;&amp;n.indexOf(t+"]")&gt;-1}function Ee(e,t){return"function"==typeof e?e.apply(void 0,t):e}function xe(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ce(e){return[].concat(e)}function Oe(e,t){-1===e.indexOf(t)&amp;&amp;e.push(t)}function Ie(e){return e.split("-")[0]}function Le(e){return[].slice.call(e)}function Pe(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&amp;&amp;(t[n]=e[n]),t}),{})}function Ne(){return document.createElement("div")}function De(e){return["Element","Fragment"].some((function(t){return Te(e,t)}))}function Re(e){return Te(e,"MouseEvent")}function Me(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Fe(e){return De(e)?[e]:function(e){return Te(e,"NodeList")}(e)?Le(e):Array.isArray(e)?e:Le(document.querySelectorAll(e))}function He(e,t){e.forEach((function(e){e&amp;&amp;(e.style.transitionDuration=t+"ms")}))}function je(e,t){e.forEach((function(e){e&amp;&amp;e.setAttribute("data-state",t)}))}function Ge(e){var t,n=Ce(e)[0];return null!=n&amp;&amp;null!=(t=n.ownerDocument)&amp;&amp;t.body?n.ownerDocument:document}function Be(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function $e(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var We={isTouch:!1},Ue=0;function ze(){We.isTouch||(We.isTouch=!0,window.performance&amp;&amp;document.addEventListener("mousemove",Ve))}function Ve(){var e=performance.now();e-Ue&lt;20&amp;&amp;(We.isTouch=!1,document.removeEventListener("mousemove",Ve)),Ue=e}function Xe(){var e=document.activeElement;if(Me(e)){var t=e._tippy;e.blur&amp;&amp;!t.state.isVisible&amp;&amp;e.blur()}}var Ke=!!("undefined"!=typeof window&amp;&amp;"undefined"!=typeof document)&amp;&amp;!!window.msCrypto;var qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ye=Object.assign({appendTo:ke,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Qe=Object.keys(Ye);function Je(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&amp;&amp;(t[o]=void 0!==e[o]?e[o]:null!=(r=Ye[o])?r:i);return t}),{});return Object.assign({},e,t)}function Ze(e,t){var n=Object.assign({},t,{content:Ee(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Je(Object.assign({},Ye,{plugins:t}))):Qe).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ye.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function et(e,t){e.innerHTML=t}function tt(e){var t=Ne();return!0===e?t.className=we:(t.className=Se,De(e)?t.appendChild(e):et(t,e)),t}function nt(e,t){De(t.content)?(et(e,""),e.appendChild(t.content)):"function"!=typeof t.content&amp;&amp;(t.allowHTML?et(e,t.content):e.textContent=t.content)}function rt(e){var t=e.firstElementChild,n=Le(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(ye)})),arrow:n.find((function(e){return e.classList.contains(we)||e.classList.contains(Se)})),backdrop:n.find((function(e){return e.classList.contains(be)}))}}function ot(e){var t=Ne(),n=Ne();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ne();function o(n,r){var o=rt(t),i=o.box,s=o.content,a=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&amp;&amp;n.allowHTML===r.allowHTML||nt(s,e.props),r.arrow?a?n.arrow!==r.arrow&amp;&amp;(i.removeChild(a),i.appendChild(tt(r.arrow))):i.appendChild(tt(r.arrow)):a&amp;&amp;i.removeChild(a)}return r.className=ye,r.setAttribute("data-state","hidden"),nt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ot.$$tippy=!0;var it=1,st=[],at=[];function lt(e,t){var n,r,o,i,s,a,l,c,u=Ze(e,Object.assign({},Ye,Je(Pe(t)))),d=!1,p=!1,h=!1,f=!1,m=[],g=xe(X,u.interactiveDebounce),v=it++,y=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:v,reference:e,popper:Ne(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(b.state.isDestroyed)return;N("onBeforeUpdate",[b,t]),z();var n=b.props,r=Ze(e,Object.assign({},n,Pe(t),{ignoreAttributes:!0}));b.props=r,U(),n.interactiveDebounce!==r.interactiveDebounce&amp;&amp;(M(),g=xe(X,r.interactiveDebounce));n.triggerTarget&amp;&amp;!r.triggerTarget?Ce(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&amp;&amp;e.removeAttribute("aria-expanded");R(),P(),_&amp;&amp;_(n,r);b.popperInstance&amp;&amp;(Q(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));N("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=We.isTouch&amp;&amp;!b.props.touch,o=Ae(b.props.duration,0,Ye.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(N("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,x()&amp;&amp;(S.style.visibility="visible");P(),G(),b.state.isMounted||(S.style.transition="none");if(x()){var i=I();He([i.box,i.content],0)}a=function(){var e;if(b.state.isVisible&amp;&amp;!f){if(f=!0,S.offsetHeight,S.style.transition=b.props.moveTransition,x()&amp;&amp;b.props.animation){var t=I(),n=t.box,r=t.content;He([n,r],o),je([n,r],"visible")}D(),R(),Oe(at,b),null==(e=b.popperInstance)||e.forceUpdate(),N("onMount",[b]),b.props.animation&amp;&amp;x()&amp;&amp;function(e,t){$(e,t)}(o,(function(){b.state.isShown=!0,N("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&amp;&amp;t===ke||"parent"===t?n.parentNode:Ee(t,[n]);e.contains(S)||e.appendChild(S);b.state.isMounted=!0,Q(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ae(b.props.duration,1,Ye.duration);if(e||t||n)return;if(N("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,f=!1,d=!1,x()&amp;&amp;(S.style.visibility="hidden");if(M(),B(),P(!0),x()){var o=I(),i=o.box,s=o.content;b.props.animation&amp;&amp;(He([i,s],r),je([i,s],"hidden"))}D(),R(),b.props.animation?x()&amp;&amp;function(e,t){$(e,(function(){!b.state.isVisible&amp;&amp;S.parentNode&amp;&amp;S.parentNode.contains(S)&amp;&amp;t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;O().addEventListener("mousemove",g),Oe(st,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&amp;&amp;b.hide();if(!b.state.isMounted)return;J(),Z().forEach((function(e){e._tippy.unmount()})),S.parentNode&amp;&amp;S.parentNode.removeChild(S);at=at.filter((function(e){return e!==b})),b.state.isMounted=!1,N("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,N("onDestroy",[b])}};if(!u.render)return b;var w=u.render(b),S=w.popper,_=w.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+b.id,b.popper=S,e._tippy=b,S._tippy=b;var k=y.map((function(e){return e.fn(b)})),A=e.hasAttribute("aria-expanded");return U(),R(),P(),N("onCreate",[b]),u.showOnCreate&amp;&amp;ee(),S.addEventListener("mouseenter",(function(){b.props.interactive&amp;&amp;b.state.isVisible&amp;&amp;b.clearDelayTimeouts()})),S.addEventListener("mouseleave",(function(){b.props.interactive&amp;&amp;b.props.trigger.indexOf("mouseenter")&gt;=0&amp;&amp;O().addEventListener("mousemove",g)})),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===T()[0]}function x(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return l||e}function O(){var e=C().parentNode;return e?Ge(e):document}function I(){return rt(S)}function L(e){return b.state.isMounted&amp;&amp;!b.state.isVisible||We.isTouch||i&amp;&amp;"focus"===i.type?0:Ae(b.props.delay,e?0:1,Ye.delay)}function P(e){void 0===e&amp;&amp;(e=!1),S.style.pointerEvents=b.props.interactive&amp;&amp;!e?"":"none",S.style.zIndex=""+b.props.zIndex}function N(e,t,n){var r;(void 0===n&amp;&amp;(n=!0),k.forEach((function(n){n[e]&amp;&amp;n[e].apply(n,t)})),n)&amp;&amp;(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=S.id;Ce(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&amp;&amp;t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function R(){!A&amp;&amp;b.props.aria.expanded&amp;&amp;Ce(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&amp;&amp;e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function M(){O().removeEventListener("mousemove",g),st=st.filter((function(e){return e!==g}))}function F(t){if(!We.isTouch||!h&amp;&amp;"mousedown"!==t.type){var n=t.composedPath&amp;&amp;t.composedPath()[0]||t.target;if(!b.props.interactive||!$e(S,n)){if(Ce(b.props.triggerTarget||e).some((function(e){return $e(e,n)}))){if(We.isTouch)return;if(b.state.isVisible&amp;&amp;b.props.trigger.indexOf("click")&gt;=0)return}else N("onClickOutside",[b,t]);!0===b.props.hideOnClick&amp;&amp;(b.clearDelayTimeouts(),b.hide(),p=!0,setTimeout((function(){p=!1})),b.state.isMounted||B())}}}function H(){h=!0}function j(){h=!1}function G(){var e=O();e.addEventListener("mousedown",F,!0),e.addEventListener("touchend",F,_e),e.addEventListener("touchstart",j,_e),e.addEventListener("touchmove",H,_e)}function B(){var e=O();e.removeEventListener("mousedown",F,!0),e.removeEventListener("touchend",F,_e),e.removeEventListener("touchstart",j,_e),e.removeEventListener("touchmove",H,_e)}function $(e,t){var n=I().box;function r(e){e.target===n&amp;&amp;(Be(n,"remove",r),t())}if(0===e)return t();Be(n,"remove",s),Be(n,"add",r),s=r}function W(t,n,r){void 0===r&amp;&amp;(r=!1),Ce(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function U(){var e;E()&amp;&amp;(W("touchstart",V,{passive:!0}),W("touchend",K,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(W(e,V),e){case"mouseenter":W("mouseleave",K);break;case"focus":W(Ke?"focusout":"blur",q);break;case"focusin":W("focusout",q)}}))}function z(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function V(e){var t,n=!1;if(b.state.isEnabled&amp;&amp;!Y(e)&amp;&amp;!p){var r="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,R(),!b.state.isVisible&amp;&amp;Re(e)&amp;&amp;st.forEach((function(t){return t(e)})),"click"===e.type&amp;&amp;(b.props.trigger.indexOf("mouseenter")&lt;0||d)&amp;&amp;!1!==b.props.hideOnClick&amp;&amp;b.state.isVisible?n=!0:ee(e),"click"===e.type&amp;&amp;(d=!n),n&amp;&amp;!r&amp;&amp;te(e)}}function X(e){var t=e.target,n=C().contains(t)||S.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(S).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,s=Ie(o.placement),a=o.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,d="left"===s?a.right.x:0,p=t.top-r+l&gt;i,h=r-t.bottom-c&gt;i,f=t.left-n+u&gt;i,m=n-t.right-d&gt;i;return p||h||f||m}))})(r,e)&amp;&amp;(M(),te(e))}}function K(e){Y(e)||b.props.trigger.indexOf("click")&gt;=0&amp;&amp;d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function q(e){b.props.trigger.indexOf("focusin")&lt;0&amp;&amp;e.target!==C()||b.props.interactive&amp;&amp;e.relatedTarget&amp;&amp;S.contains(e.relatedTarget)||te(e)}function Y(e){return!!We.isTouch&amp;&amp;E()!==e.type.indexOf("touch")&gt;=0}function Q(){J();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,s=t.moveTransition,l=x()?rt(S).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(x()){var n=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},u];x()&amp;&amp;l&amp;&amp;d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ve(c,S,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:d}))}function J(){b.popperInstance&amp;&amp;(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Le(S.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&amp;&amp;N("onTrigger",[b,e]),G();var t=L(!0),r=T(),o=r[0],i=r[1];We.isTouch&amp;&amp;"hold"===o&amp;&amp;i&amp;&amp;(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),N("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")&gt;=0&amp;&amp;b.props.trigger.indexOf("click")&gt;=0&amp;&amp;["mouseleave","mousemove"].indexOf(e.type)&gt;=0&amp;&amp;d)){var t=L(!1);t?r=setTimeout((function(){b.state.isVisible&amp;&amp;b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else B()}}function ct(e,t){void 0===t&amp;&amp;(t={});var n=Ye.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",ze,_e),window.addEventListener("blur",Xe);var r=Object.assign({},t,{plugins:n}),o=Fe(e).reduce((function(e,t){var n=t&amp;&amp;lt(t,r);return n&amp;&amp;e.push(n),e}),[]);return De(e)?o[0]:o}ct.defaultProps=Ye,ct.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ye[t]=e[t]}))},ct.currentInput=We;Object.assign({},Z,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;Object.assign(t.elements.arrow.style,n.arrow)}});ct.setDefaultProps({render:ot});const ut=ct;class dt{constructor({editor:e,element:t,view:n,tippyOptions:o={},updateDelay:i=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:o})=&gt;{const{doc:i,selection:s}=t,{empty:a}=s,l=!i.textBetween(n,o).length&amp;&amp;(0,r.eE)(t.selection),c=this.element.contains(document.activeElement);return!(!e.hasFocus()&amp;&amp;!c||a||l||!this.editor.isEditable)},this.mousedownHandler=()=&gt;{this.preventHide=!0},this.dragstartHandler=()=&gt;{this.hide()},this.focusHandler=()=&gt;{setTimeout((()=&gt;this.update(this.editor.view)))},this.blurHandler=({event:e})=&gt;{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&amp;&amp;(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=&gt;{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=&gt;{const n=!(null==t?void 0:t.selection.eq(e.state.selection)),r=!(null==t?void 0:t.doc.eq(e.state.doc));(n||r)&amp;&amp;(this.updateDebounceTimer&amp;&amp;clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=&gt;{this.updateHandler(e,n,r,t)}),this.updateDelay))},this.updateHandler=(e,t,n,o)=&gt;{var i,s,a;const{state:l,composing:c}=e,{selection:u}=l;if(c||!t&amp;&amp;!n)return;this.createTooltip();const{ranges:d}=u,p=Math.min(...d.map((e=&gt;e.$from.pos))),h=Math.max(...d.map((e=&gt;e.$to.pos)));(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:e,state:l,oldState:o,from:p,to:h}))?(null===(s=this.tippy)||void 0===s||s.setProps({getReferenceClientRect:(null===(a=this.tippyOptions)||void 0===a?void 0:a.getReferenceClientRect)||(()=&gt;{if((0,r.BQ)(l.selection)){let t=e.nodeDOM(p);const n=t.dataset.nodeViewWrapper?t:t.querySelector("[data-node-view-wrapper]");if(n&amp;&amp;(t=n.firstChild),t)return t.getBoundingClientRect()}return(0,r.MG)(e,p,h)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=i,s&amp;&amp;(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&amp;&amp;t&amp;&amp;(this.tippy=ut(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&amp;&amp;this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay&gt;0&amp;&amp;r)return void this.handleDebouncedUpdate(e,t);const o=!(null==t?void 0:t.selection.eq(e.state.selection)),i=!(null==t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,o,i,t)}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&amp;&amp;this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const pt=e=&gt;new o.k_({key:"string"==typeof e.pluginKey?new o.hs(e.pluginKey):e.pluginKey,view:t=&gt;new dt({view:t,...e})});r.YY.create({name:"bubbleMenu",addOptions:()=&gt;({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[pt({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});var ht=n(20641),ft=n(50953);class mt{constructor({editor:e,element:t,view:n,tippyOptions:r={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=&gt;{const{selection:n}=t,{$anchor:r,empty:o}=n,i=1===r.depth,s=r.parent.isTextblock&amp;&amp;!r.parent.type.spec.code&amp;&amp;!r.parent.textContent;return!!(e.hasFocus()&amp;&amp;o&amp;&amp;i&amp;&amp;s&amp;&amp;this.editor.isEditable)},this.mousedownHandler=()=&gt;{this.preventHide=!0},this.focusHandler=()=&gt;{setTimeout((()=&gt;this.update(this.editor.view)))},this.blurHandler=({event:e})=&gt;{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&amp;&amp;(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=&gt;{this.blurHandler({event:e})},this.editor=e,this.element=t,this.view=n,o&amp;&amp;(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&amp;&amp;t&amp;&amp;(this.tippy=ut(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&amp;&amp;this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var n,o,i;const{state:s}=e,{doc:a,selection:l}=s,{from:c,to:u}=l;if(t&amp;&amp;t.doc.eq(a)&amp;&amp;t.selection.eq(l))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:s,oldState:t}))?(null===(o=this.tippy)||void 0===o||o.setProps({getReferenceClientRect:(null===(i=this.tippyOptions)||void 0===i?void 0:i.getReferenceClientRect)||(()=&gt;(0,r.MG)(e,c,u))}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&amp;&amp;this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const gt=e=&gt;new o.k_({key:"string"==typeof e.pluginKey?new o.hs(e.pluginKey):e.pluginKey,view:t=&gt;new mt({view:t,...e})});r.YY.create({name:"floatingMenu",addOptions:()=&gt;({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[gt({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),(0,ht.pM)({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=&gt;({})},shouldShow:{type:Function,default:null}},setup(e,{slots:t}){const n=(0,ft.KR)(null);return(0,ht.sV)((()=&gt;{const{updateDelay:t,editor:r,pluginKey:o,shouldShow:i,tippyOptions:s}=e;r.registerPlugin(pt({updateDelay:t,editor:r,element:n.value,pluginKey:o,shouldShow:i,tippyOptions:s}))})),(0,ht.xo)((()=&gt;{const{pluginKey:t,editor:n}=e;n.unregisterPlugin(t)})),()=&gt;{var e;return(0,ht.h)("div",{ref:n},null===(e=t.default)||void 0===e?void 0:e.call(t))}}});function vt(e){return(0,ft.rY)(((t,n)=&gt;({get:()=&gt;(t(),e),set(t){e=t,requestAnimationFrame((()=&gt;{requestAnimationFrame((()=&gt;{n()}))}))}})))}class yt extends r.KE{constructor(e={}){return super(e),this.contentComponent=null,this.appContext=null,this.reactiveState=vt(this.view.state),this.reactiveExtensionStorage=vt(this.extensionStorage),this.on("beforeTransaction",(({nextState:e})=&gt;{this.reactiveState.value=e,this.reactiveExtensionStorage.value=this.extensionStorage})),(0,ft.IG)(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){const n=super.registerPlugin(e,t);return this.reactiveState&amp;&amp;(this.reactiveState.value=n),n}unregisterPlugin(e){const t=super.unregisterPlugin(e);return this.reactiveState&amp;&amp;t&amp;&amp;(this.reactiveState.value=t),t}}const bt=(0,ht.pM)({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(e){const t=(0,ft.KR)(),n=(0,ht.nI)();return(0,ht.nT)((()=&gt;{const r=e.editor;r&amp;&amp;r.options.element&amp;&amp;t.value&amp;&amp;(0,ht.dY)((()=&gt;{if(!t.value||!r.options.element.firstChild)return;const e=(0,ft.R1)(t.value);t.value.append(...r.options.element.childNodes),r.contentComponent=n.ctx._,n&amp;&amp;(r.appContext={...n.appContext,provides:n.provides}),r.setOptions({element:e}),r.createNodeViews()}))})),(0,ht.xo)((()=&gt;{const t=e.editor;t&amp;&amp;(t.contentComponent=null,t.appContext=null)})),{rootEl:t}},render(){return(0,ht.h)("div",{ref:e=&gt;{this.rootEl=e}})}});(0,ht.pM)({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=&gt;({})},shouldShow:{type:Function,default:null}},setup(e,{slots:t}){const n=(0,ft.KR)(null);return(0,ht.sV)((()=&gt;{const{pluginKey:t,editor:r,tippyOptions:o,shouldShow:i}=e;r.registerPlugin(gt({pluginKey:t,editor:r,element:n.value,tippyOptions:o,shouldShow:i}))})),(0,ht.xo)((()=&gt;{const{pluginKey:t,editor:n}=e;n.unregisterPlugin(t)})),()=&gt;{var e;return(0,ht.h)("div",{ref:n},null===(e=t.default)||void 0===e?void 0:e.call(t))}}}),(0,ht.pM)({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return(0,ht.h)(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),(0,ht.pM)({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var e,t;return(0,ht.h)(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}});Boolean},57538:(e,t,n)=&gt;{"use strict";n.d(t,{u:()=&gt;s});var r=n(50953),o=n(20641),i=n(21856);function s(e,t={}){const n=t.head||(0,i.i)();if(n)return n.ssr?n.push(e,t):function(e,t,n={}){const s=(0,r.KR)(!1),a=(0,r.KR)({});(0,o.nT)((()=&gt;{a.value=s.value?{}:(0,i.r)(t)}));const l=e.push(a.value,n);(0,o.wB)(a,(e=&gt;{l.patch(e)}));(0,o.nI)()&amp;&amp;((0,o.xo)((()=&gt;{l.dispose()})),(0,o.Y4)((()=&gt;{s.value=!0})),(0,o.n)((()=&gt;{s.value=!1})));return l}(n,e,t)}},21856:(e,t,n)=&gt;{"use strict";n.d(t,{c:()=&gt;fe,i:()=&gt;ve,r:()=&gt;ue});const r=new Set(["title","titleTemplate","script","style","noscript"]),o=new Set(["base","meta","link","style","script","noscript"]),i=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),s=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),a=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),l="undefined"!=typeof window;function c(e){let t=9;for(let n=0;n&lt;e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return(65536+(t^t&gt;&gt;&gt;9)).toString(16).substring(1,8).toLowerCase()}function u(e){if(e._h)return e._h;if(e._d)return c(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return c(t)}const d=e=&gt;({keyValue:e,metaKey:"property"}),p=e=&gt;({keyValue:e}),h=(d("article:expiration_time"),d("article:modified_time"),d("article:published_time"),d("book:release_date"),d("fb:app_id"),p("msapplication-Config"),p("msapplication-TileColor"),p("msapplication-TileImage"),d("og:audio:secure_url"),d("og:audio"),d("og:image:secure_url"),d("og:image"),d("og:site_name"),d("og:video:secure_url"),d("og:video"),d("profile:first_name"),d("profile:last_name"),d("profile:username"),new Set(["og","book","article","profile"]));function f(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),r=t.substring(0,n);return"twitter"===r||h.has(r)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function m(e,t,n,o){const i=o||y("object"!=typeof t||"function"==typeof t||t instanceof Promise?{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t}:{...t},"templateParams"===e||"titleTemplate"===e);if(i instanceof Promise)return i.then((r=&gt;m(e,t,n,r)));const s={tag:e,props:i};for(const e of a){const t=void 0!==s.props[e]?s.props[e]:n[e];void 0!==t&amp;&amp;(("innerHTML"!==e&amp;&amp;"textContent"!==e&amp;&amp;"children"!==e||r.has(s.tag))&amp;&amp;(s["children"===e?"innerHTML":e]=t),delete s.props[e])}return s.props.body&amp;&amp;(s.tagPosition="bodyClose",delete s.props.body),"script"===s.tag&amp;&amp;"object"==typeof s.innerHTML&amp;&amp;(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map((e=&gt;({...s,props:{...s.props,content:e}}))):s}function g(e,t){const n="class"===e?" ":";";return t&amp;&amp;"object"==typeof t&amp;&amp;!Array.isArray(t)&amp;&amp;(t=Object.entries(t).filter((([,e])=&gt;e)).map((([t,n])=&gt;"style"===e?`${t}:${n}`:t))),String(Array.isArray(t)?t.join(n):t)?.split(n).filter((e=&gt;Boolean(e.trim()))).join(n)}function v(e,t,n,r){for(let o=r;o&lt;n.length;o+=1){const r=n[o];if("class"!==r&amp;&amp;"style"!==r){if(e[r]instanceof Promise)return e[r].then((i=&gt;(e[r]=i,v(e,t,n,o))));if(!t&amp;&amp;!a.has(r)){const t=String(e[r]),n=r.startsWith("data-");"true"===t||""===t?e[r]=!n||"true":e[r]||(n&amp;&amp;"false"===t?e[r]="false":delete e[r])}}else e[r]=g(r,e[r])}}function y(e,t=!1){const n=v(e,t,Object.keys(e),0);return n instanceof Promise?n.then((()=&gt;e)):e}const b=10;function w(e,t,n){for(let r=n;r&lt;t.length;r+=1){const n=t[r];if(n instanceof Promise)return n.then((n=&gt;(t[r]=n,w(e,t,r))));Array.isArray(n)?e.push(...n):e.push(n)}}function S(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=n[r];if(void 0!==o&amp;&amp;i.has(r))if(Array.isArray(o))for(const n of o)t.push(m(r,n,e));else t.push(m(r,o,e))}if(0===t.length)return[];const r=[];return o=w(r,t,0),s=()=&gt;r.map(((t,n)=&gt;(t._e=e._i,e.mode&amp;&amp;(t._m=e.mode),t._p=(e._i&lt;&lt;b)+n,t))),o instanceof Promise?o.then(s):s(o);var o,s}const _=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),k={base:-10,title:10},A={critical:-80,high:-10,low:20};function T(e){const t=e.tagPriority;if("number"==typeof t)return t;let n=100;return"meta"===e.tag?"content-security-policy"===e.props["http-equiv"]?n=-30:e.props.charset?n=-20:"viewport"===e.props.name&amp;&amp;(n=-15):"link"===e.tag&amp;&amp;"preconnect"===e.props.rel?n=20:e.tag in k&amp;&amp;(n=k[e.tag]),t&amp;&amp;t in A?n+A[t]:n}const E=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],x=["name","property","http-equiv"];function C(e){const{props:t,tag:n}=e;if(s.has(n))return n;if("link"===n&amp;&amp;"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const e of x)if(void 0!==t[e])return`${n}:${e}:${t[e]}`;return!1}const O="%separator";const I=new RegExp(`${O}(?:\\s*${O})*`,"g");function L(e,t,n,r=!1){if("string"!=typeof e||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const i=o.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const s=e.includes(O);return e=e.replace(/%\w+(?:\.\w+)?/g,(e=&gt;{if(e===O||!i.includes(e))return e;const n=function(e,t,n=!1){let r;if("s"===t||"pageTitle"===t)r=e.pageTitle;else if(t.includes(".")){const n=t.indexOf(".");r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(void 0!==r)return n?(r||"").replace(/"/g,'\\"'):r||""}(t,e.slice(1),r);return void 0!==n?n:e})).trim(),s&amp;&amp;(e.endsWith(O)&amp;&amp;(e=e.slice(0,-10)),e.startsWith(O)&amp;&amp;(e=e.slice(10)),e=e.replace(I,n).trim()),e}function P(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function N(e,t={}){const n=t.delayFn||(e=&gt;setTimeout(e,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise((r=&gt;n((()=&gt;async function(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",r),r.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise((async t=&gt;{const r=(await e.resolveTags()).map((e=&gt;({tag:e,id:o.has(e.tag)?u(e):e.tag,shouldRender:!0})));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const e=new Set;for(const t of["body","head"]){const r=n[t]?.children;for(const t of r){const n=t.tagName.toLowerCase();if(!o.has(n))continue;const r={tag:n,props:await y(t.getAttributeNames().reduce(((e,n)=&gt;({...e,[n]:t.getAttribute(n)})),{})),innerHTML:t.innerHTML},s=C(r);let a=s,l=1;for(;a&amp;&amp;e.has(a);)a=`${s}:${l++}`;a&amp;&amp;(r._d=a,e.add(a)),i.elMap[t.getAttribute("data-hid")||u(r)]=t}}}function s(e,t,n){const r=`${e}:${t}`;i.sideEffects[r]=n,delete i.pendingSideEffects[r]}function a({id:e,$el:t,tag:r}){const o=r.tag.endsWith("Attrs");if(i.elMap[e]=t,o||(r.textContent&amp;&amp;r.textContent!==t.textContent&amp;&amp;(t.textContent=r.textContent),r.innerHTML&amp;&amp;r.innerHTML!==t.innerHTML&amp;&amp;(t.innerHTML=r.innerHTML),s(e,"el",(()=&gt;{i.elMap[e]?.remove(),delete i.elMap[e]}))),r._eventHandlers)for(const e in r._eventHandlers)Object.prototype.hasOwnProperty.call(r._eventHandlers,e)&amp;&amp;""!==t.getAttribute(`data-${e}`)&amp;&amp;(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(e.substring(2),r._eventHandlers[e].bind(t)),t.setAttribute(`data-${e}`,""));for(const n in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,n))continue;const i=r.props[n],a=`attr:${n}`;if("class"===n){if(!i)continue;for(const n of i.split(" "))o&amp;&amp;s(e,`${a}:${n}`,(()=&gt;t.classList.remove(n))),!t.classList.contains(n)&amp;&amp;t.classList.add(n)}else if("style"===n){if(!i)continue;for(const n of i.split(";")){const r=n.indexOf(":"),o=n.substring(0,r).trim(),i=n.substring(r+1).trim();s(e,`${a}:${o}`,(()=&gt;{t.style.removeProperty(o)})),t.style.setProperty(o,i)}}else t.getAttribute(n)!==i&amp;&amp;t.setAttribute(n,!0===i?"":String(i)),o&amp;&amp;s(e,a,(()=&gt;t.removeAttribute(n)))}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const e of r){const{tag:t,shouldRender:r,id:s}=e;r&amp;&amp;("title"!==t.tag?(e.$el=e.$el||i.elMap[s],e.$el?a(e):o.has(t.tag)&amp;&amp;l.push(e)):n.title=t.textContent)}for(const e of l){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),a(e),c[t]=c[t]||n.createDocumentFragment(),c[t].appendChild(e.$el)}for(const t of r)await e.hooks.callHook("dom:renderTag",t,n,s);c.head&amp;&amp;n.head.appendChild(c.head),c.bodyOpen&amp;&amp;n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&amp;&amp;n.body.appendChild(c.bodyClose);for(const e in i.pendingSideEffects)i.pendingSideEffects[e]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),t()})).finally((()=&gt;{e._domUpdatePromise=void 0,e.dirty=!1}))),e._domUpdatePromise):void 0}(e,t).then((()=&gt;{delete e._domDebouncedUpdatePromise,r()}))))))}function D(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;"object"==typeof o&amp;&amp;null!==o?D(o,t,i):"function"==typeof o&amp;&amp;(t[i]=o)}return t}const R={run:e=&gt;e()},M=void 0!==console.createTask?console.createTask:()=&gt;R;function F(e,t){const n=t.shift(),r=M(n);return e.reduce(((e,n)=&gt;e.then((()=&gt;r.run((()=&gt;n(...t)))))),Promise.resolve())}function H(e,t){const n=t.shift(),r=M(n);return Promise.all(e.map((e=&gt;r.run((()=&gt;e(...t))))))}function j(e,t){for(const n of[...e])n(t)}class G{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||"function"!=typeof t)return()=&gt;{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&amp;&amp;!n.allowDeprecated){let e=o.message;e||(e=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=&gt;"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=&gt;{t&amp;&amp;(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...e)=&gt;("function"==typeof n&amp;&amp;n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&amp;&amp;this._hooks[e].splice(n,1),0===this._hooks[e].length&amp;&amp;delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const t of n)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=D(e),n=Object.keys(t).map((e=&gt;this.hook(e,t[e])));return()=&gt;{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=D(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(F,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(H,e,...t)}callHookWith(e,t,...n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&amp;&amp;j(this._before,r);const o=e(t in this._hooks?[...this._hooks[t]]:[],n);return o instanceof Promise?o.finally((()=&gt;{this._after&amp;&amp;r&amp;&amp;j(this._after,r)})):(this._after&amp;&amp;r&amp;&amp;j(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=&gt;{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&amp;&amp;this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=&gt;{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&amp;&amp;this._after.splice(t,1)}}}}const B=new Set(["templateParams","htmlAttrs","bodyAttrs"]),$={hooks:{"tag:normalise":({tag:e})=&gt;{e.props.hid&amp;&amp;(e.key=e.props.hid,delete e.props.hid),e.props.vmid&amp;&amp;(e.key=e.props.vmid,delete e.props.vmid),e.props.key&amp;&amp;(e.key=e.props.key,delete e.props.key);const t=C(e);!t||t.startsWith("meta:og:")||t.startsWith("meta:twitter:")||delete e.key;const n=t||!!e.key&amp;&amp;`${e.tag}:${e.key}`;n&amp;&amp;(e._d=n)},"tags:resolve":e=&gt;{const t=Object.create(null);for(const n of e.tags){const e=(n.key?`${n.tag}:${n.key}`:n._d)||u(n),r=t[e];if(r){let o=n?.tagDuplicateStrategy;if(!o&amp;&amp;B.has(n.tag)&amp;&amp;(o="merge"),"merge"===o){const o=r.props;o.style&amp;&amp;n.props.style&amp;&amp;(";"!==o.style[o.style.length-1]&amp;&amp;(o.style+=";"),n.props.style=`${o.style} ${n.props.style}`),o.class&amp;&amp;n.props.class?n.props.class=`${o.class} ${n.props.class}`:o.class&amp;&amp;(n.props.class=o.class),t[e].props={...o,...n.props};continue}if(n._e===r._e){r._duped=r._duped||[],n._d=`${r._d}:${r._duped.length+1}`,r._duped.push(n);continue}if(T(n)&gt;T(r))continue}n.innerHTML||n.textContent||0!==Object.keys(n.props).length||!o.has(n.tag)?t[e]=n:delete t[e]}const n=[];for(const e in t){const r=t[e],o=r._duped;n.push(r),o&amp;&amp;(delete r._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter((e=&gt;!("meta"===e.tag&amp;&amp;(e.props.name||e.props.property)&amp;&amp;!e.props.content)))}}},W=new Set(["script","link","bodyAttrs"]),U=e=&gt;({hooks:{"tags:resolve":t=&gt;{for(const n of t.tags){if(!W.has(n.tag))continue;const t=n.props;for(const r in t){if("o"!==r[0]||"n"!==r[1])continue;if(!Object.prototype.hasOwnProperty.call(t,r))continue;const o=t[r];"function"==typeof o&amp;&amp;(e.ssr&amp;&amp;_.has(r)?t[r]=`this.dataset.${r}fired = true`:delete t[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}e.ssr&amp;&amp;n._eventHandlers&amp;&amp;(n.props.src||n.props.href)&amp;&amp;(n.key=n.key||c(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:t})=&gt;{const n=e?.dataset;if(n)for(const r in n){if(!r.endsWith("fired"))continue;const n=r.slice(0,-5);_.has(n)&amp;&amp;t._eventHandlers?.[n]?.call(e,new Event(n.substring(2)))}}}}),z=new Set(["link","style","script","noscript"]),V={hooks:{"tag:normalise":({tag:e})=&gt;{e.key&amp;&amp;z.has(e.tag)&amp;&amp;(e.props["data-hid"]=e._h=c(e.key))}}},X={mode:"server",hooks:{"tags:beforeResolve":e=&gt;{const t={};let n=!1;for(const r of e.tags)"server"!==r._m||"titleTemplate"!==r.tag&amp;&amp;"templateParams"!==r.tag&amp;&amp;"title"!==r.tag||(t[r.tag]="title"===r.tag||"titleTemplate"===r.tag?r.textContent:r.props,n=!0);n&amp;&amp;e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},K={hooks:{"tags:resolve":e=&gt;{for(const t of e.tags)if("string"==typeof t.tagPriority)for(const{prefix:n,offset:r}of E){if(!t.tagPriority.startsWith(n))continue;const o=t.tagPriority.substring(n.length),i=e.tags.find((e=&gt;e._d===o))?._p;if(void 0!==i){t._p=i+r;break}}e.tags.sort(((e,t)=&gt;{const n=T(e),r=T(t);return n&lt;r?-1:n&gt;r?1:e._p-t._p}))}}},q={meta:"content",link:"href",htmlAttrs:"lang"},Y=["innerHTML","textContent"],Q=e=&gt;({hooks:{"tags:resolve":t=&gt;{const{tags:n}=t;let r;for(let e=0;e&lt;n.length;e+=1){"templateParams"===n[e].tag&amp;&amp;(r=t.tags.splice(e,1)[0].props,e-=1)}const o=r||{},i=o.separator||"|";delete o.separator,o.pageTitle=L(o.pageTitle||n.find((e=&gt;"title"===e.tag))?.textContent||"",o,i);for(const e of n){if(!1===e.processTemplateParams)continue;const t=q[e.tag];if(t&amp;&amp;"string"==typeof e.props[t])e.props[t]=L(e.props[t],o,i);else if(e.processTemplateParams||"titleTemplate"===e.tag||"title"===e.tag)for(const t of Y)"string"==typeof e[t]&amp;&amp;(e[t]=L(e[t],o,i,"script"===e.tag&amp;&amp;e.props.type.endsWith("json")))}e._templateParams=o,e._separator=i},"tags:afterResolve":({tags:t})=&gt;{let n;for(let e=0;e&lt;t.length;e+=1){const r=t[e];"title"===r.tag&amp;&amp;!1!==r.processTemplateParams&amp;&amp;(n=r)}n?.textContent&amp;&amp;(n.textContent=L(n.textContent,e._templateParams,e._separator))}}}),J={hooks:{"tags:resolve":e=&gt;{const{tags:t}=e;let n,r;for(let e=0;e&lt;t.length;e+=1){const o=t[e];"title"===o.tag?n=o:"titleTemplate"===o.tag&amp;&amp;(r=o)}if(r&amp;&amp;n){const t=P(r.textContent,n.textContent);null!==t?n.textContent=t||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const e=P(r.textContent);null!==e&amp;&amp;(r.textContent=e,r.tag="title",r=void 0)}r&amp;&amp;e.tags.splice(e.tags.indexOf(r),1)}}},Z={hooks:{"tags:afterResolve":e=&gt;{for(const t of e.tags)"string"==typeof t.innerHTML&amp;&amp;(!t.innerHTML||"application/ld+json"!==t.props.type&amp;&amp;"application/json"!==t.props.type?t.innerHTML=t.innerHTML.replace(new RegExp(`&lt;/${t.tag}`,"g"),`&lt;\\/${t.tag}`):t.innerHTML=t.innerHTML.replace(/&lt;/g,"\\u003C"))}}};let ee;function te(e={}){const t=re(e);return t.use(function(e){return t=&gt;{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&amp;&amp;t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":t=&gt;{N(t,e)}}}}}()),ee=t}function ne(e,t){return!e||"server"===e&amp;&amp;t||"client"===e&amp;&amp;!t}function re(e={}){const t=new G;t.addHooks(e.hooks||{}),e.document=e.document||(l?document:void 0);const n=!e.document,r=()=&gt;{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries:()=&gt;i,use(e){const r="function"==typeof e?e(a):e;r.key&amp;&amp;s.some((e=&gt;e.key===r.key))||(s.push(r),ne(r.mode,n)&amp;&amp;t.addHooks(r.hooks||{}))},push(e,t){delete t?.head;const s={_i:o++,input:e,...t};return ne(s.mode,n)&amp;&amp;(i.push(s),r()),{dispose(){i=i.filter((e=&gt;e._i!==s._i)),r()},patch(e){for(const t of i)t._i===s._i&amp;&amp;(t.input=s.input=e);r()}}},async resolveTags(){const e={tags:[],entries:[...i]};await t.callHook("entries:resolve",e);for(const n of e.entries){const r=n.resolvedInput||n.input;if(n.resolvedInput=await(n.transform?n.transform(r):r),n.resolvedInput)for(const r of await S(n)){const o={tag:r,entry:n,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",o),e.tags.push(o.tag)}}return await t.callHook("tags:beforeResolve",e),await t.callHook("tags:resolve",e),await t.callHook("tags:afterResolve",e),e.tags},ssr:n};return[$,X,U,V,K,Q,J,Z,...e?.plugins||[]].forEach((e=&gt;a.use(e))),a.hooks.callHook("init",a),a}function oe(){return ee}const ie=Symbol("ScriptProxyTarget");function se(){}se[ie]=!0;var ae=n(20641),le=n(50953);const ce="3"===ae.rE[0];function ue(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t="function"==typeof(n=e)?n():(0,le.R1)(n);var n;if(!e||!t)return t;if(Array.isArray(t))return t.map((e=&gt;ue(e)));if("object"==typeof t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;("titleTemplate"===n||"o"===n[0]&amp;&amp;"n"===n[1]?e[n]=(0,le.R1)(t[n]):e[n]=ue(t[n]));return e}return t}const de={hooks:{"entries:resolve":e=&gt;{for(const t of e.entries)t.resolvedInput=ue(t.input)}}},pe="usehead";function he(e){return{install(t){ce&amp;&amp;(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(pe,e))}}.install}function fe(e={}){e.domDelayFn=e.domDelayFn||(e=&gt;(0,ae.dY)((()=&gt;setTimeout((()=&gt;e()),0))));const t=te(e);return t.use(de),t.install=he(t),t}const me="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ge="__unhead_injection_handler__";function ve(){if(ge in me)return me[ge]();const e=(0,ae.WQ)(pe);return e||oe()}},71083:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;Tt});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=&gt;fe,hasStandardBrowserEnv:()=&gt;ge,hasStandardBrowserWebWorkerEnv:()=&gt;ve,navigator:()=&gt;me,origin:()=&gt;ye});var i=n(65606);const{toString:s}=Object.prototype,{getPrototypeOf:a}=Object,l=(c=Object.create(null),e=&gt;{const t=s.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const u=e=&gt;(e=e.toLowerCase(),t=&gt;l(t)===e),d=e=&gt;t=&gt;typeof t===e,{isArray:p}=Array,h=d("undefined");const f=u("ArrayBuffer");const m=d("string"),g=d("function"),v=d("number"),y=e=&gt;null!==e&amp;&amp;"object"==typeof e,b=e=&gt;{if("object"!==l(e))return!1;const t=a(e);return!(null!==t&amp;&amp;t!==Object.prototype&amp;&amp;null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},w=u("Date"),S=u("File"),_=u("Blob"),k=u("FileList"),A=u("URLSearchParams"),[T,E,x,C]=["ReadableStream","Request","Response","Headers"].map(u);function O(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&amp;&amp;(e=[e]),p(e))for(r=0,o=e.length;r&lt;o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r&lt;i;r++)s=o[r],t.call(null,e[s],s,e)}}function I(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- &gt;0;)if(r=n[o],t===r.toLowerCase())return r;return null}const L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=e=&gt;!h(e)&amp;&amp;e!==L;const N=(D="undefined"!=typeof Uint8Array&amp;&amp;a(Uint8Array),e=&gt;D&amp;&amp;e instanceof D);var D;const R=u("HTMLFormElement"),M=(({hasOwnProperty:e})=&gt;(t,n)=&gt;e.call(t,n))(Object.prototype),F=u("RegExp"),H=(e,t)=&gt;{const n=Object.getOwnPropertyDescriptors(e),r={};O(n,((n,o)=&gt;{let i;!1!==(i=t(n,o,e))&amp;&amp;(r[o]=i||n)})),Object.defineProperties(e,r)},j="abcdefghijklmnopqrstuvwxyz",G="0123456789",B={DIGIT:G,ALPHA:j,ALPHA_DIGIT:j+j.toUpperCase()+G};const $=u("AsyncFunction"),W=(U="function"==typeof setImmediate,z=g(L.postMessage),U?setImmediate:z?(V=`axios@${Math.random()}`,X=[],L.addEventListener("message",(({source:e,data:t})=&gt;{e===L&amp;&amp;t===V&amp;&amp;X.length&amp;&amp;X.shift()()}),!1),e=&gt;{X.push(e),L.postMessage(V,"*")}):e=&gt;setTimeout(e));var U,z,V,X;const K="undefined"!=typeof queueMicrotask?queueMicrotask.bind(L):i.nextTick||W,q={isArray:p,isArrayBuffer:f,isBuffer:function(e){return null!==e&amp;&amp;!h(e)&amp;&amp;null!==e.constructor&amp;&amp;!h(e.constructor)&amp;&amp;g(e.constructor.isBuffer)&amp;&amp;e.constructor.isBuffer(e)},isFormData:e=&gt;{let t;return e&amp;&amp;("function"==typeof FormData&amp;&amp;e instanceof FormData||g(e.append)&amp;&amp;("formdata"===(t=l(e))||"object"===t&amp;&amp;g(e.toString)&amp;&amp;"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&amp;&amp;ArrayBuffer.isView?ArrayBuffer.isView(e):e&amp;&amp;e.buffer&amp;&amp;f(e.buffer),t},isString:m,isNumber:v,isBoolean:e=&gt;!0===e||!1===e,isObject:y,isPlainObject:b,isReadableStream:T,isRequest:E,isResponse:x,isHeaders:C,isUndefined:h,isDate:w,isFile:S,isBlob:_,isRegExp:F,isFunction:g,isStream:e=&gt;y(e)&amp;&amp;g(e.pipe),isURLSearchParams:A,isTypedArray:N,isFileList:k,forEach:O,merge:function e(){const{caseless:t}=P(this)&amp;&amp;this||{},n={},r=(r,o)=&gt;{const i=t&amp;&amp;I(n,o)||o;b(n[i])&amp;&amp;b(r)?n[i]=e(n[i],r):b(r)?n[i]=e({},r):p(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e&lt;t;e++)arguments[e]&amp;&amp;O(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=&gt;(O(t,((t,r)=&gt;{n&amp;&amp;g(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=&gt;e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=&gt;(65279===e.charCodeAt(0)&amp;&amp;(e=e.slice(1)),e),inherits:(e,t,n,r)=&gt;{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&amp;&amp;Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=&gt;{let o,i,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- &gt;0;)s=o[i],r&amp;&amp;!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&amp;&amp;a(e)}while(e&amp;&amp;(!n||n(e,t))&amp;&amp;e!==Object.prototype);return t},kindOf:l,kindOfTest:u,endsWith:(e,t,n)=&gt;{e=String(e),(void 0===n||n&gt;e.length)&amp;&amp;(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&amp;&amp;r===n},toArray:e=&gt;{if(!e)return null;if(p(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);for(;t-- &gt;0;)n[t]=e[t];return n},forEachEntry:(e,t)=&gt;{const n=(e&amp;&amp;e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&amp;&amp;!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=&gt;{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:R,hasOwnProperty:M,hasOwnProp:M,reduceDescriptors:H,freezeMethods:e=&gt;{H(e,((t,n)=&gt;{if(g(e)&amp;&amp;-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];g(r)&amp;&amp;(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=&gt;{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=&gt;{const n={},r=e=&gt;{e.forEach((e=&gt;{n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=&gt;e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=&gt;{},toFiniteNumber:(e,t)=&gt;null!=e&amp;&amp;Number.isFinite(e=+e)?e:t,findKey:I,global:L,isContextDefined:P,ALPHABET:B,generateString:(e=16,t=B.ALPHA_DIGIT)=&gt;{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&amp;&amp;g(e.append)&amp;&amp;"FormData"===e[Symbol.toStringTag]&amp;&amp;e[Symbol.iterator])},toJSONObject:e=&gt;{const t=new Array(10),n=(e,r)=&gt;{if(y(e)){if(t.indexOf(e)&gt;=0)return;if(!("toJSON"in e)){t[r]=e;const o=p(e)?[]:{};return O(e,((e,t)=&gt;{const i=n(e,r+1);!h(i)&amp;&amp;(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:$,isThenable:e=&gt;e&amp;&amp;(y(e)||g(e))&amp;&amp;g(e.then)&amp;&amp;g(e.catch),setImmediate:W,asap:K};function Y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&amp;&amp;(this.code=t),n&amp;&amp;(this.config=n),r&amp;&amp;(this.request=r),o&amp;&amp;(this.response=o,this.status=o.status?o.status:null)}q.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const Q=Y.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=&gt;{J[e]={value:e}})),Object.defineProperties(Y,J),Object.defineProperty(Q,"isAxiosError",{value:!0}),Y.from=(e,t,n,r,o,i)=&gt;{const s=Object.create(Q);return q.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=&gt;"isAxiosError"!==e)),Y.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&amp;&amp;Object.assign(s,i),s};const Z=Y;function ee(e){return q.isPlainObject(e)||q.isArray(e)}function te(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function ne(e,t,n){return e?e.concat(t).map((function(e,t){return e=te(e),!n&amp;&amp;t?"["+e+"]":e})).join(n?".":""):t}const re=q.toFlatObject(q,{},null,(function(e){return/^is[A-Z]/.test(e)}));const oe=function(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!q.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&amp;&amp;Blob)&amp;&amp;q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(!a&amp;&amp;q.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?a&amp;&amp;"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let a=e;if(e&amp;&amp;!o&amp;&amp;"object"==typeof e)if(q.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&amp;&amp;function(e){return q.isArray(e)&amp;&amp;!e.some(ee)}(e)||(q.isFileList(e)||q.endsWith(n,"[]"))&amp;&amp;(a=q.toArray(e)))return n=te(n),a.forEach((function(e,r){!q.isUndefined(e)&amp;&amp;null!==e&amp;&amp;t.append(!0===s?ne([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!ee(e)||(t.append(ne(o,n,i),l(e)),!1)}const u=[],d=Object.assign(re,{defaultVisitor:c,convertValue:l,isVisitable:ee});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!q.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),q.forEach(n,(function(n,i){!0===(!(q.isUndefined(n)||null===n)&amp;&amp;o.call(t,n,q.isString(i)?i.trim():i,r,d))&amp;&amp;e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function ie(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function se(e,t){this._pairs=[],e&amp;&amp;oe(e,this,t)}const ae=se.prototype;ae.append=function(e,t){this._pairs.push([e,t])},ae.toString=function(e){const t=e?function(t){return e.call(this,t,ie)}:ie;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&amp;")};const le=se;function ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ue(e,t,n){if(!t)return e;const r=n&amp;&amp;n.encode||ce,o=n&amp;&amp;n.serialize;let i;if(i=o?o(t,n):q.isURLSearchParams(t)?t.toString():new le(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&amp;&amp;(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&amp;")+i}return e}const de=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&amp;&amp;n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&amp;&amp;(this.handlers[e]=null)}clear(){this.handlers&amp;&amp;(this.handlers=[])}forEach(e){q.forEach(this.handlers,(function(t){null!==t&amp;&amp;e(t)}))}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},he={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:le,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},fe="undefined"!=typeof window&amp;&amp;"undefined"!=typeof document,me="object"==typeof navigator&amp;&amp;navigator||void 0,ge=fe&amp;&amp;(!me||["ReactNative","NativeScript","NS"].indexOf(me.product)&lt;0),ve="undefined"!=typeof WorkerGlobalScope&amp;&amp;self instanceof WorkerGlobalScope&amp;&amp;"function"==typeof self.importScripts,ye=fe&amp;&amp;window.location.href||"http://localhost",be={...r,...he};const we=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o&gt;=e.length;if(i=!i&amp;&amp;q.isArray(r)?r.length:i,a)return q.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&amp;&amp;q.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&amp;&amp;q.isArray(r[i])&amp;&amp;(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r&lt;o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s}if(q.isFormData(e)&amp;&amp;q.isFunction(e.entries)){const n={};return q.forEachEntry(e,((e,r)=&gt;{t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map((e=&gt;"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Se={transitional:pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")&gt;-1,o=q.isObject(e);o&amp;&amp;q.isHTMLForm(e)&amp;&amp;(e=new FormData(e));if(q.isFormData(e))return r?JSON.stringify(we(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")&gt;-1)return function(e,t){return oe(e,new be.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return be.isNode&amp;&amp;q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=q.isFileList(e))||n.indexOf("multipart/form-data")&gt;-1){const t=this.env&amp;&amp;this.env.FormData;return oe(i?{"files[]":e}:e,t&amp;&amp;new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Se.transitional,n=t&amp;&amp;t.forcedJSONParsing,r="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&amp;&amp;q.isString(e)&amp;&amp;(n&amp;&amp;!this.responseType||r)){const n=!(t&amp;&amp;t.silentJSONParsing)&amp;&amp;r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Z.from(e,Z.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e&gt;=200&amp;&amp;e&lt;300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],(e=&gt;{Se.headers[e]={}}));const _e=Se,ke=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ae=Symbol("internals");function Te(e){return e&amp;&amp;String(e).trim().toLowerCase()}function Ee(e){return!1===e||null==e?e:q.isArray(e)?e.map(Ee):String(e)}function xe(e,t,n,r,o){return q.isFunction(r)?r.call(this,t,n):(o&amp;&amp;(t=n),q.isString(t)?q.isString(r)?-1!==t.indexOf(r):q.isRegExp(r)?r.test(t):void 0:void 0)}class Ce{constructor(e){e&amp;&amp;this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Te(t);if(!o)throw new Error("header name must be a non-empty string");const i=q.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&amp;&amp;!1!==r[i])&amp;&amp;(r[i||t]=Ee(e))}const i=(e,t)=&gt;q.forEach(e,((e,n)=&gt;o(e,n,t)));if(q.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(q.isString(e)&amp;&amp;(e=e.trim())&amp;&amp;!/^[-_a-zA-Z0-9^`|~,!#$%&amp;'*+.]+$/.test(e.trim()))i((e=&gt;{const t={};let n,r,o;return e&amp;&amp;e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&amp;&amp;ke[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(q.isHeaders(e))for(const[t,r]of e.entries())o(r,t,n);else null!=e&amp;&amp;o(t,e,n);return this}get(e,t){if(e=Te(e)){const n=q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Te(e)){const n=q.findKey(this,e);return!(!n||void 0===this[n]||t&amp;&amp;!xe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Te(e)){const o=q.findKey(n,e);!o||t&amp;&amp;!xe(0,n[o],o,t)||(delete n[o],r=!0)}}return q.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&amp;&amp;!xe(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return q.forEach(this,((r,o)=&gt;{const i=q.findKey(n,o);if(i)return t[i]=Ee(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=&gt;t.toUpperCase()+n))}(o):String(o).trim();s!==o&amp;&amp;delete t[o],t[s]=Ee(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return q.forEach(this,((n,r)=&gt;{null!=n&amp;&amp;!1!==n&amp;&amp;(t[r]=e&amp;&amp;q.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=&gt;e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=&gt;n.set(e))),n}static accessor(e){const t=(this[Ae]=this[Ae]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Te(e);t[r]||(!function(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach((r=&gt;{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(Ce.prototype,(({value:e},t)=&gt;{let n=t[0].toUpperCase()+t.slice(1);return{get:()=&gt;e,set(e){this[n]=e}}})),q.freezeMethods(Ce);const Oe=Ce;function Ie(e,t){const n=this||_e,r=t||n,o=Oe.from(r.headers);let i=r.data;return q.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Le(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){Z.call(this,null==e?"canceled":e,Z.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(Pe,Z,{__CANCEL__:!0});const Ne=Pe;function De(e,t,n){const r=n.config.validateStatus;n.status&amp;&amp;r&amp;&amp;!r(n.status)?t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Re=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[s];o||(o=l),n[i]=a,r[i]=l;let u=s,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===s&amp;&amp;(s=(s+1)%e),l-o&lt;t)return;const p=c&amp;&amp;l-c;return p?Math.round(1e3*d/p):void 0}};const Me=function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=&gt;{o=i,n=null,r&amp;&amp;(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=&gt;{const t=Date.now(),a=t-o;a&gt;=i?s(e,t):(n=e,r||(r=setTimeout((()=&gt;{r=null,s(n)}),i-a)))},()=&gt;n&amp;&amp;s(n)]},Fe=(e,t,n=3)=&gt;{let r=0;const o=Re(50,250);return Me((n=&gt;{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,l=o(a);r=i;e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&amp;&amp;s&amp;&amp;i&lt;=s?(s-i)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},He=(e,t)=&gt;{const n=null!=e;return[r=&gt;t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},je=e=&gt;(...t)=&gt;q.asap((()=&gt;e(...t))),Ge=be.hasStandardBrowserEnv?function(){const e=be.navigator&amp;&amp;/(msie|trident)/i.test(be.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&amp;&amp;(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=q.isString(e)?r(e):e;return t.protocol===n.protocol&amp;&amp;t.host===n.host}}():function(){return!0},Be=be.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];q.isNumber(n)&amp;&amp;s.push("expires="+new Date(n).toGMTString()),q.isString(r)&amp;&amp;s.push("path="+r),q.isString(o)&amp;&amp;s.push("domain="+o),!0===i&amp;&amp;s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=&gt;null,remove(){}};function $e(e,t){return e&amp;&amp;!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const We=e=&gt;e instanceof Oe?{...e}:e;function Ue(e,t){t=t||{};const n={};function r(e,t,n){return q.isPlainObject(e)&amp;&amp;q.isPlainObject(t)?q.merge.call({caseless:n},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function o(e,t,n){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!q.isUndefined(t))return r(void 0,t)}function s(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=&gt;o(We(e),We(t),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,s=i(e[r],t[r],r);q.isUndefined(s)&amp;&amp;i!==a||(n[r]=s)})),n}const ze=e=&gt;{const t=Ue({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=Oe.from(a),t.url=ue($e(t.baseURL,t.url),e.params,e.paramsSerializer),l&amp;&amp;a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),q.isFormData(r))if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=&gt;e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(be.hasStandardBrowserEnv&amp;&amp;(o&amp;&amp;q.isFunction(o)&amp;&amp;(o=o(t)),o||!1!==o&amp;&amp;Ge(t.url))){const e=i&amp;&amp;s&amp;&amp;Be.read(s);e&amp;&amp;a.set(i,e)}return t},Ve="undefined"!=typeof XMLHttpRequest&amp;&amp;function(e){return new Promise((function(t,n){const r=ze(e);let o=r.data;const i=Oe.from(r.headers).normalize();let s,a,l,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&amp;&amp;c(),u&amp;&amp;u(),r.cancelToken&amp;&amp;r.cancelToken.unsubscribe(s),r.signal&amp;&amp;r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Oe.from("getAllResponseHeaders"in m&amp;&amp;m.getAllResponseHeaders());De((function(e){t(e),f()}),(function(e){n(e),f()}),{data:d&amp;&amp;"text"!==d&amp;&amp;"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&amp;&amp;4===m.readyState&amp;&amp;(0!==m.status||m.responseURL&amp;&amp;0===m.responseURL.indexOf("file:"))&amp;&amp;setTimeout(g)},m.onabort=function(){m&amp;&amp;(n(new Z("Request aborted",Z.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Z("Network Error",Z.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||pe;r.timeoutErrorMessage&amp;&amp;(t=r.timeoutErrorMessage),n(new Z(t,o.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m)),m=null},void 0===o&amp;&amp;i.setContentType(null),"setRequestHeader"in m&amp;&amp;q.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),q.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&amp;&amp;"json"!==d&amp;&amp;(m.responseType=r.responseType),h&amp;&amp;([l,u]=Fe(h,!0),m.addEventListener("progress",l)),p&amp;&amp;m.upload&amp;&amp;([a,c]=Fe(p),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&amp;&amp;(s=t=&gt;{m&amp;&amp;(n(!t||t.type?new Ne(null,e,m):t),m.abort(),m=null)},r.cancelToken&amp;&amp;r.cancelToken.subscribe(s),r.signal&amp;&amp;(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&amp;&amp;t[1]||""}(r.url);v&amp;&amp;-1===be.protocols.indexOf(v)?n(new Z("Unsupported protocol "+v+":",Z.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Xe=(e,t)=&gt;{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Z?t:new Ne(t instanceof Error?t.message:t))}};let i=t&amp;&amp;setTimeout((()=&gt;{i=null,o(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))}),t);const s=()=&gt;{e&amp;&amp;(i&amp;&amp;clearTimeout(i),i=null,e.forEach((e=&gt;{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=&gt;e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=&gt;q.asap(s),a}},Ke=function*(e,t){let n=e.byteLength;if(!t||n&lt;t)return void(yield e);let r,o=0;for(;o&lt;n;)r=o+t,yield e.slice(o,r),o=r},qe=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Ye=(e,t,n,r)=&gt;{const o=async function*(e,t){for await(const n of qe(e))yield*Ke(n,t)}(e,t);let i,s=0,a=e=&gt;{i||(i=!0,r&amp;&amp;r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=&gt;(a(e),o.return())},{highWaterMark:2})},Qe="function"==typeof fetch&amp;&amp;"function"==typeof Request&amp;&amp;"function"==typeof Response,Je=Qe&amp;&amp;"function"==typeof ReadableStream,Ze=Qe&amp;&amp;("function"==typeof TextEncoder?(et=new TextEncoder,e=&gt;et.encode(e)):async e=&gt;new Uint8Array(await new Response(e).arrayBuffer()));var et;const tt=(e,...t)=&gt;{try{return!!e(...t)}catch(e){return!1}},nt=Je&amp;&amp;tt((()=&gt;{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&amp;&amp;!t})),rt=Je&amp;&amp;tt((()=&gt;q.isReadableStream(new Response("").body))),ot={stream:rt&amp;&amp;(e=&gt;e.body)};var it;Qe&amp;&amp;(it=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=&gt;{!ot[e]&amp;&amp;(ot[e]=q.isFunction(it[e])?t=&gt;t[e]():(t,n)=&gt;{throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,n)})})));const st=async(e,t)=&gt;{const n=q.toFiniteNumber(e.getContentLength());return null==n?(async e=&gt;{if(null==e)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e)){const t=new Request(be.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&amp;&amp;(e+=""),q.isString(e)?(await Ze(e)).byteLength:void 0)})(t):n},at={http:null,xhr:Ve,fetch:Qe&amp;&amp;(async e=&gt;{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=ze(e);c=c?(c+"").toLowerCase():"text";let h,f=Xe([o,i&amp;&amp;i.toAbortSignal()],s);const m=f&amp;&amp;f.unsubscribe&amp;&amp;(()=&gt;{f.unsubscribe()});let g;try{if(l&amp;&amp;nt&amp;&amp;"get"!==n&amp;&amp;"head"!==n&amp;&amp;0!==(g=await st(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(q.isFormData(r)&amp;&amp;(e=n.headers.get("content-type"))&amp;&amp;u.setContentType(e),n.body){const[e,t]=He(g,Fe(je(l)));r=Ye(n.body,65536,e,t)}}q.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const s=rt&amp;&amp;("stream"===c||"response"===c);if(rt&amp;&amp;(a||s&amp;&amp;m)){const e={};["status","statusText","headers"].forEach((t=&gt;{e[t]=i[t]}));const t=q.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&amp;&amp;He(t,Fe(je(a),!0))||[];i=new Response(Ye(i.body,65536,n,(()=&gt;{r&amp;&amp;r(),m&amp;&amp;m()})),e)}c=c||"text";let v=await ot[q.findKey(ot,c)||"text"](i,e);return!s&amp;&amp;m&amp;&amp;m(),await new Promise(((t,n)=&gt;{De(t,n,{data:v,headers:Oe.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(t){if(m&amp;&amp;m(),t&amp;&amp;"TypeError"===t.name&amp;&amp;/fetch/i.test(t.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,h),{cause:t.cause||t});throw Z.from(t,t&amp;&amp;t.code,e,h)}})};q.forEach(at,((e,t)=&gt;{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const lt=e=&gt;`- ${e}`,ct=e=&gt;q.isFunction(e)||null===e||!1===e,ut=e=&gt;{e=q.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i&lt;t;i++){let t;if(n=e[i],r=n,!ct(n)&amp;&amp;(r=at[(t=String(n)).toLowerCase()],void 0===r))throw new Z(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=&gt;`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length&gt;1?"since :\n"+e.map(lt).join("\n"):" "+lt(e[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function dt(e){if(e.cancelToken&amp;&amp;e.cancelToken.throwIfRequested(),e.signal&amp;&amp;e.signal.aborted)throw new Ne(null,e)}function pt(e){dt(e),e.headers=Oe.from(e.headers),e.data=Ie.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&amp;&amp;e.headers.setContentType("application/x-www-form-urlencoded",!1);return ut(e.adapter||_e.adapter)(e).then((function(t){return dt(e),t.data=Ie.call(e,e.transformResponse,t),t.headers=Oe.from(t.headers),t}),(function(t){return Le(t)||(dt(e),t&amp;&amp;t.response&amp;&amp;(t.response.data=Ie.call(e,e.transformResponse,t.response),t.response.headers=Oe.from(t.response.headers))),Promise.reject(t)}))}const ht="1.7.7",ft={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=&gt;{ft[e]=function(n){return typeof n===e||"a"+(t&lt;1?"n ":" ")+e}}));const mt={};ft.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=&gt;{if(!1===e)throw new Z(r(o," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&amp;&amp;!mt[o]&amp;&amp;(mt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const gt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- &gt;0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Z("option "+i+" must be "+n,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Z("Unknown option "+i,Z.ERR_BAD_OPTION)}},validators:ft},vt=gt.validators;class yt{constructor(e){this.defaults=e,this.interceptors={request:new de,response:new de}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&amp;&amp;!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&amp;&amp;(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ue(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&amp;&amp;gt.assertOptions(n,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),null!=r&amp;&amp;(q.isFunction(r)?t.paramsSerializer={serialize:r}:gt.assertOptions(r,{encode:vt.function,serialize:vt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&amp;&amp;q.merge(o.common,o[t.method]);o&amp;&amp;q.forEach(["delete","get","head","post","put","patch","common"],(e=&gt;{delete o[e]})),t.headers=Oe.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&amp;&amp;!1===e.runWhen(t)||(a=a&amp;&amp;e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[pt.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d&lt;u;)c=c.then(e[d++],e[d++]);return c}u=s.length;let p=t;for(d=0;d&lt;u;){const e=s[d++],t=s[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=pt.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d&lt;u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ue($e((e=Ue(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}q.forEach(["delete","get","head","options"],(function(e){yt.prototype[e]=function(t,n){return this.request(Ue(n||{},{method:e,url:t,data:(n||{}).data}))}})),q.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ue(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}yt.prototype[e]=t(),yt.prototype[e+"Form"]=t(!0)}));const bt=yt;class wt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=&gt;{if(!n._listeners)return;let t=n._listeners.length;for(;t-- &gt;0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=&gt;{let t;const r=new Promise((e=&gt;{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Ne(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&amp;&amp;this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=&gt;{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=&gt;this.unsubscribe(t),e.signal}static source(){let e;return{token:new wt((function(t){e=t})),cancel:e}}}const St=wt;const _t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_t).forEach((([e,t])=&gt;{_t[t]=e}));const kt=_t;const At=function e(t){const n=new bt(t),r=o(bt.prototype.request,n);return q.extend(r,bt.prototype,n,{allOwnKeys:!0}),q.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ue(t,n))},r}(_e);At.Axios=bt,At.CanceledError=Ne,At.CancelToken=St,At.isCancel=Le,At.VERSION=ht,At.toFormData=oe,At.AxiosError=Z,At.Cancel=At.CanceledError,At.all=function(e){return Promise.all(e)},At.spread=function(e){return function(t){return e.apply(null,t)}},At.isAxiosError=function(e){return q.isObject(e)&amp;&amp;!0===e.isAxiosError},At.mergeConfig=Ue,At.AxiosHeaders=Oe,At.formToJSON=e=&gt;we(q.isHTMLForm(e)?new FormData(e):e),At.getAdapter=ut,At.HttpStatusCode=kt,At.default=At;const Tt=At},65498:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(71083),o=n(61586);const i={log:function(e,t,n,r){o.debug((n?"SUCCESS":"ERROR")+" @ ["+e+":"+t+"]")},success:function(e,t,n){this.log(e,t,!0,n)},error:function(e,t,n){this.log(e,t,!1,n)}};function s(e,t){console.log("responseObject",e,window.location),e.response&amp;&amp;!window.location.pathname.includes("/review")&amp;&amp;403===e.response.status&amp;&amp;location.reload(),t(e)}const a={getWithParams:function(e,t){return new Promise((function(n,o){r.A.get(e,{params:t}).then((function(t){i.success("GET",e,t.data),n(t)})).catch((function(t){i.error("GET",e,t),s(t,o)}))}))},get:function(e,t){return this.getWithParams(e,t)},post:function(e,t){return new Promise((function(n,o){r.A.post(e,t).then((function(t){i.success("POST",e,t.data),n(t)})).catch((function(t){i.error("POST",e,t),s(t,o)}))}))},postMultipart:function(e,t){return new Promise((function(n,o){r.A.post(e,t,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){i.success("POST",e,t.data),n(t)})).catch((function(t){i.error("POST",e,t),s(t,o)}))}))},put:function(e,t){return new Promise((function(n,o){r.A.put(e,t).then((function(t){i.success("PUT",e,t.data),n(t)})).catch((function(t){i.error("PUT",e,t),s(t,o)}))}))},delete:function(e,t){return new Promise((function(n,o){(0,r.A)({method:"delete",url:e,data:t}).then((function(t){i.success("DELETE",e,t.data),n(t)})).catch((function(t){i.error("DELETE",e,t),s(t,o)}))}))},downloadPdf:function(e,t){return new Promise((function(n,o){r.A.post(e,t,{responseType:"arraybuffer"}).then((function(t){i.success("POST",e,t.data),n(t)})).catch((function(t){i.error("POST",e,t),s(t,o)}))}))}}},46641:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(65498),o="/api/notifications/";const i={getLatestNotificationsForUser:function(e){return r.A.getWithParams(o+"latest",{userId:e})},getAllNotificationForUser:function(e){return r.A.getWithParams(o+"all",{userId:e})},getPaginatedNotification:function(e,t,n){return r.A.getWithParams(o+"paginated",{userId:e,page:t,perPage:n})},setNotificationSeenBy:function(e,t){return r.A.put(o+"read",{userId:e,notificationId:t})}}},88248:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(65498),o="/api/portfolio/";const i={getPortfolio:function(e){return r.A.get(o+e)},getPortfolios:function(e){return r.A.get("".concat(o,"getByUserId/")+e)},createPortfolio:function(e,t,n){return r.A.post(o+e,{portfolio:t,projects:n})},duplicatePortfolio:function(e,t,n){return r.A.post("".concat(o,"duplicate/")+e,{portfolio:t,projects:n})},editPortfolio:function(e){return r.A.put(o,e)},setTemplateForPortfolio:function(e){return r.A.put("".concat(o,"set-template"),e)},addDefaultPortfolioPages:function(e){return r.A.put("".concat(o,"addDefaultPages"),e)},deletePortfolio:function(e){return r.A.delete(o+e)},getPortfolioTemplateSettings:function(e){return r.A.get("".concat(o).concat(e,"/template-settings"))},getPortfolioTemplateAndSettings:function(e){return r.A.get("".concat(o).concat(e,"/template-design-settings"))},getPortfolioSettings:function(e){return r.A.get("".concat(o).concat(e,"/settings"))},setPortfolioSettings:function(e,t){return r.A.put("".concat(o).concat(e,"/settings"),t)},setPortfolioPassword:function(e,t){return r.A.put(o+e+"/password",{password:t})},deletePortfolioImage:function(e,t){return r.A.delete("/api/image/portfolio/delete/"+e,{url:t})},setDomainForPortfolio:function(e,t){return r.A.post(o+"domain/"+e+"/"+t)},updatePortfolioUrl:function(e,t){return r.A.put(o+"updateUrl/"+e+"/"+t)},uploadCroppedImage:function(e,t,n,o,i,s){return function(e,t,n,o,i){var s=new FormData;return s.append("imageFile",t,n),s.append("path",o),s.append("filesToDelete",i),r.A.postMultipart(e,s)}("/api/image/portfolio/upload/"+t+"/"+o,n,"croppedImage."+i,e+"/portfolios/"+t,[s])},updatePortfolioLogo:function(e,t){return r.A.put("".concat(o,"updateLogo/").concat(t),e)},setPortfolioGlobalSpacing:function(e){return r.A.put("".concat(o,"setGlobalSpacing"),e)}}},95818:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;a});var r=n(65498),o="/api/projects/";function i(e,t,n,o,i){var s=function(e){var t;t=e.split(",")[0].indexOf("base64")&gt;=0?atob(e.split(",")[1]):unescape(e.split(",")[1]);for(var n=e.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(t.length),o=0;o&lt;t.length;o++)r[o]=t.charCodeAt(o);return new Blob([r],{type:n})}(t),a=new FormData;return a.append("imageFile",s,n),a.append("path",o),a.append("filesToDelete",i),r.A.postMultipart(e,a)}function s(e,t,n,o,i){var s=new FormData;return s.append("imageFile",t,n),s.append("path",o),s.append("filesToDelete",i),r.A.postMultipart(e,s)}const a={getProject:function(e){return r.A.get(o+e)},getProjectByShortId:function(e,t){return r.A.get("".concat(o,"getByShortId/").concat(e,"/").concat(t))},getAllProject:function(e,t){return r.A.getWithParams(o+"all",{userId:e,basicInfo:t})},getProjectSettingsById:function(e){return r.A.get("".concat(o).concat(e,"/settings"))},updateDesignSettingsInProjects:function(e,t,n){return r.A.put("".concat(o,"all/").concat(e,"/").concat(t,"/designSettings"),n)},updateNavButtonStyle:function(e,t,n){return r.A.put("".concat(o,"all/").concat(e,"/").concat(t,"/buttonStyle"),n)},createProject:function(e,t,n,i,s,a,l,c,u,d,p){return r.A.post(o,{ownerId:e,portfolioId:t,type:n,order:i,name:s,link:a,suggestions:l,shortCaseStudy:c,designSettings:u,defaultCaseStudyValues:d,thumbnailData:p})},updateProjectByShortId:function(e,t,n,i){return r.A.post("".concat(o).concat(e,"/").concat(t,"/update"),{name:n,link:i})},getPortfolioPages:function(e){return r.A.get("".concat(o,"pages/").concat(e))},getCaseStudyPages:function(e){return r.A.get("".concat(o,"pages/").concat(e,"/caseStudy"))},updatePortfolioPagesOrder:function(e,t){return r.A.put("".concat(o,"pages/").concat(e,"/order"),t)},updateCaseStudyPagesOrder:function(e,t){return r.A.put("".concat(o,"pages/").concat(e,"/order/caseStudies"),t)},duplicateProject:function(e){return r.A.post(o+e+"/duplicate",null)},deleteProject:function(e){return r.A.delete(o+e,null)},uploadGeneratedThumbnail:function(e,t,n){return i("/api/image/project/upload/"+t+"/GeneratedThumbnail",n,"GeneratedThumbnail.png",e+"/"+t)},uploadThumbnailImage:function(e,t,n,r,o){return i("/api/image/project/upload/"+t+"/ThumbnailImage",n,r,e+"/"+t)},uploadCroppedImage:function(e,t,n,r,o,i){return s("/api/image/project/upload/"+t+"/"+r,n,"croppedImage."+o,e+"/"+t,[i])},updateProjectImage:function(e,t,n,i){return r.A.put(o+e+"/image",{url:t,croppedImageUrl:n,altTag:i})},deleteProjectImage:function(e,t,n){return r.A.delete("/api/image/project/delete/"+e,{url:t,croppedImageUrl:n})},updateProjectSocialImage:function(e,t){return i(o+e+"/socialImage",t,"GeneratedSocialThumbnail.jpg")},setProjectDraft:function(e,t){return r.A.put(o+e+"/draft",{draft:t})},archiveProject:function(e){return r.A.put(o+e+"/archive")},setProjectSettings:function(e,t){return r.A.put(o+e+"/settings",t)},updateProjectDesignSettings:function(e,t){return r.A.put(o+e+"/designSettings",t)},setProjectNameAndSubtitle:function(e,t,n){return r.A.put(o+e+"/nameAndSubtitle",{name:t,subtitle:n})},setProjectPassword:function(e,t){return r.A.put(o+e+"/password",{password:t})},addSection:function(e,t){return r.A.post(o+e+"/section",t)},addSuggestionSection:function(e,t,n){return r.A.post(o+e+"/section/suggestion",{index:t,suggestionType:n})},updateSection:function(e,t){return r.A.put(o+e+"/section",t)},updateSections:function(e,t){return r.A.put(o+e+"/sections",t)},reorderSections:function(e,t){return r.A.put(o+e+"/sections/reorder",t)},archiveSection:function(e,t){return r.A.put(o+e+"/section/archive/"+t,t)},deleteSection:function(e,t){return r.A.delete(o+e+"/section",t)},deleteGalleryItem:function(e,t,n){return r.A.delete(o+e+"/gallerySection/"+t,n)},updateProjectUrl:function(e,t){return r.A.put(o+"updateUrl/"+e+"/"+t)},setProjectGlobalSpacing:function(e){return r.A.put("".concat(o,"setGlobalSpacing"),e)},updateProjectThumbnailData:function(e,t){return r.A.put(o+e+"/thumbnail-data",t)},uploadCroppedThumbnailImage:function(e,t,n,r,o,i){return console.log(r),s("/api/image/project/upload/".concat(t,"/ThumbnailImage"),e,r,o,i)}}},96610:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;o});var r=n(65498);const o={getReviewsByContentId:function(e){return r.A.get("/api/review/"+e)}}},15907:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;s});var r=n(65498),o="/api/fonts",i="/api/fontpairs";const s={getFonts:function(e){return r.A.get(o+e)},updateFont:function(e,t){return r.A.put(o+"/"+e,t)},deleteFont:function(e){return r.A.delete(o+"/"+e)},getFontPairs:function(e){return r.A.get(i+e)},createFontPair:function(e){return r.A.post(i,e)},updateFontPair:function(e,t){return r.A.put(i+"/"+e,t)},deleteFontPair:function(e){return r.A.delete(i+"/"+e)}}},76647:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(65498),o="/api/users/";const i={getMyUser:function(){return r.A.get(o+"me")},createMyUser:function(){return r.A.post(o+"me")},editUser:function(e){return r.A.put(o,e)},getUserSettings:function(e){return r.A.get(o+e+"/settings")},deleteCV:function(e){return r.A.delete(o+e+"/cv")},deleteUserImage:function(e,t){return r.A.delete("/api/image/user/delete/"+e,{url:t})},deleteUser:function(e){return r.A.delete(o+e)},updateLoginEmail:function(e,t){return r.A.post(o+"updateLoginEmail/"+e+"/"+t)},changePassword:function(e,t){return r.A.post(o+"passwordChange/"+e,{newPassword:t})},updateUserInDrip:function(e,t){return r.A.post("".concat(o,"dripUpdate/").concat(e,"/").concat(t))}}},33501:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;u});var r=n(31173);function o(e){return o="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&amp;&amp;e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&amp;&amp;(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&amp;&amp;null!=n.return&amp;&amp;(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}const u={getApiKey:function(){return"AIzaSyACuy0HND-c__u3dCpcuIWhpnxw0IfOOoo"},downloadFonts:function(e){if(e)if(e.headline!==e.text)for(var t in e)"id"!==t&amp;&amp;this.getFontURL(e[t],[400,700]);else this.getFontURL(e.headline)},downloadSingleFonts:function(e,t){var n=this;e&amp;&amp;e.forEach((function(o,i){o.font&amp;&amp;n.getFontURL(o.font,[400,700,800,900]),t&amp;&amp;i===e.length-1&amp;&amp;setTimeout((function(){(0,r.A)(document.querySelectorAll("textarea")),setTimeout((function(){r.A.update(document.querySelectorAll("textarea"))}),10)}),300)}))},getFontURL:function(e,t){var n="https://fonts.googleapis.com/css2?family=";n+=e.replace(/ /g,"+"),n+=":wght@400;700;800;900&amp;display=swap",this.creatLinkElement(n)},generateCss2FontUrl:function(e){var t="",n="";e.map((function(e){return e.includes("italic")})).length&amp;&amp;(t+="ital,");var r="",o="";return Object.entries({light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",heavy:"900"}).forEach((function(n){var i=l(n,2),s=i[0],a=i[1];e.find((function(e){return e.includes(s)}))&amp;&amp;(t.includes("ital")?(r+="0,"+a+";",o+="1,"+a+";"):r+=a+";")})),n+=r,n+=o,":".concat(t,"wght@").concat(n.slice(0,n.length-1))},getFontUrlWithParams:function(e,t){var n="https://fonts.googleapis.com/css2?family=".concat(e.replace(/ /g,"+")).concat(this.generateCss2FontUrl(t),"&amp;display=swap");this.creatLinkElement(n)},creatLinkElement:function(e){if(!document.querySelector('link[href="'.concat(e,'"]'))){var t=document.createElement("link");t.rel="preload",t.href=e,t.as="style",t.crossOrigin="anonymous",document.head.appendChild(t);var n=document.createElement("link");n.rel="stylesheet",n.href=e,document.head.appendChild(n)}},getFontPickerOptions:function(e){var t={limit:1009,variants:["regular"],sort:"popularity"};return{headings:{activeFont:null,options:s({name:"headings"},t)},paragraphs:{activeFont:null,options:s({name:"paragraphs"},t)},navigationAndButtons:{activeFont:null,options:s({name:"navigationAndButtons"},t)},heroTitle:{activeFont:null,options:s({name:"heroTitle"},t)},heroSubtitle:{activeFont:null,options:s({name:"heroSubtitle"},t)},h1:{activeFont:null,options:s({name:"h1"},t)},h2:{activeFont:null,options:s({name:"h2"},t)},h3:{activeFont:null,options:s({name:"h3"},t)},h4:{activeFont:null,options:s({name:"h4"},t)},heroParagraph:{activeFont:null,options:s({name:"heroParagraph"},t)},p1:{activeFont:null,options:s({name:"p1"},t)},p2:{activeFont:null,options:s({name:"p2"},t)},projectTitle:{activeFont:null,options:s({name:"projectTitle"},t)},projectSubtitle:{activeFont:null,options:s({name:"projectSubtitle"},t)},navigation:{activeFont:null,options:s({name:"navigation"},t)},button:{activeFont:null,options:s({name:"button"},t)},pageTitle:{activeFont:null,options:s({name:"pageTitle"},t)}}[e]},getDefaultFonts:function(){for(var e=0;e&lt;this.getFontPairs().length;e+=1)this.downloadFonts(this.getFontPairs()[e])},getFontPairs:function(){return[{id:1,headline:"Poppins",text:"Open Sans"},{id:2,headline:"Montserrat",text:"Montserrat"},{id:3,headline:"Ubuntu",text:"Open Sans"},{id:4,headline:"Fira Sans",text:"Open Sans"},{id:5,headline:"Playfair Display",text:"Fauna One"},{id:6,headline:"Yeseva One",text:"Work Sans"},{id:7,headline:"Arapey",text:"Mulish"},{id:8,headline:"Rozha One",text:"Questrial"},{id:9,headline:"Oswald",text:"Questrial"},{id:10,headline:"Alfa Slab One",text:"Gentium Basic"},{id:11,headline:"Source Sans Pro",text:"PT Serif"},{id:12,headline:"Merriweather",text:"Mulish"},{id:13,headline:"Rubik",text:"Roboto"},{id:14,headline:"Oswald",text:"Old Standard TT"},{id:15,headline:"Playfair Display",text:"Open Sans"},{id:16,headline:"Kreon",text:"Open Sans"},{id:17,headline:"Work Sans",text:"Lora"},{id:18,headline:"Montserrat",text:"Quattrocento"},{id:19,headline:"Spectral",text:"Karla"},{id:20,headline:"Montserrat",text:"Noto Serif"},{id:21,headline:"Raleway",text:"Mulish"},{id:22,headline:"Gothic A1",text:"Gothic A1"},{id:23,headline:"Poppins",text:"IBM Plex Mono"}]}}},55506:(e,t,n)=&gt;{"use strict";n.d(t,{f:()=&gt;r});var r={mobile:{simple:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--simple--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--simple--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--simple--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--simple--dark--rounded--landscape.svg"}},realistic:{},semi_realistic:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--semi-realistic--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--semi-realistic--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--semi-realistic--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--semi-realistic--dark--rounded--landscape.svg"}},outline:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--outline--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--outline--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--outline--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--outline--dark--rounded--landscape.svg"}},browser:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--browser--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--browser--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--mobile--browser--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--mobile--browser--dark--rounded--landscape.svg"},5:{settings:{color:"light",corner:"squared",position:"portrait"},svg:"/mockups/mockup--mobile--browser--light--squared.svg"},6:{settings:{color:"light",corner:"squared",position:"landscape"},svg:"/mockups/mockup--mobile--browser--light--squared--landscape.svg"},7:{settings:{color:"dark",corner:"squared",position:"portrait"},svg:"/mockups/mockup--mobile--browser--dark--squared.svg"},8:{settings:{color:"dark",corner:"squared",position:"landscape"},svg:"/mockups/mockup--mobile--browser--dark--squared--landscape.svg"}}},tablet:{simple:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--simple--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--simple--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--simple--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--simple--dark--rounded--landscape.svg"}},realistic:{},semi_realistic:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--semi-realistic--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--semi-realistic--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--semi-realistic--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--semi-realistic--dark--rounded--landscape.svg"}},outline:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--outline--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--outline--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--outline--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--outline--dark--rounded--landscape.svg"}},browser:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--browser--light--rounded.svg"},2:{settings:{color:"light",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--browser--light--rounded--landscape.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--tablet--browser--dark--rounded.svg"},4:{settings:{color:"dark",corner:"rounded",position:"landscape"},svg:"/mockups/mockup--tablet--browser--dark--rounded--landscape.svg"},5:{settings:{color:"light",corner:"squared",position:"portrait"},svg:"/mockups/mockup--tablet--browser--light--squared.svg"},6:{settings:{color:"light",corner:"squared",position:"landscape"},svg:"/mockups/mockup--tablet--browser--light--squared--landscape.svg"},7:{settings:{color:"dark",corner:"squared",position:"portrait"},svg:"/mockups/mockup--tablet--browser--dark--squared.svg"},8:{settings:{color:"dark",corner:"squared",position:"landscape"},svg:"/mockups/mockup--tablet--browser--dark--squared--landscape.svg"}}},desktop:{simple:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--simple--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--simple--dark--rounded.svg"}},realistic:{},semi_realistic:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--semi-realistic--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--semi-realistic--dark--rounded.svg"}},outline:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--outline--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--outline--dark--rounded.svg"}},browser:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--browser--light--rounded.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--desktop--browser--dark--rounded.svg"},5:{settings:{color:"light",corner:"squared",position:"portrait"},svg:"/mockups/mockup--desktop--browser--light--squared.svg"},7:{settings:{color:"dark",corner:"squared",position:"portrait"},svg:"/mockups/mockup--desktop--browser--dark--squared.svg"}}},monitor:{simple:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--simple--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--simple--dark--rounded.svg"}},realistic:{},semi_realistic:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--semi-realistic--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--semi-realistic--dark--rounded.svg"}},outline:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--outline--light--rounded.svg"},2:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--outline--dark--rounded.svg"}},browser:{1:{settings:{color:"light",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--browser--light--rounded.svg"},3:{settings:{color:"dark",corner:"rounded",position:"portrait"},svg:"/mockups/mockup--monitor--browser--dark--rounded.svg"},5:{settings:{color:"light",corner:"squared",position:"portrait"},svg:"/mockups/mockup--monitor--browser--light--squared.svg"},7:{settings:{color:"dark",corner:"squared",position:"portrait"},svg:"/mockups/mockup--monitor--browser--dark--squared.svg"}}}}},63019:(e,t,n)=&gt;{"use strict";function r(e,t,n,r,o){var i="/";return i+=e||(r?"project/"+(t?t.slice(-8):"")+r.slice(-8)+"/"+o.replace(/[^A-Za-z0-9]/g,"-"):"portfolio/"+t.slice(-8)+"/"+n.replace(/[^A-Za-z0-9]/g,"-"))}function o(e,t){var n="/";return n+=t?"p/"+t:"home/portfolios/"+e}n.d(t,{A:()=&gt;i});const i={getUrlForShortId:function(e){return r(e,null,null,null,null)},getUrlForPortfolio:function(e,t){return r(null,e,t,null,null)},getUrlForProject:function(e,t,n){return r(null,n,null,e,t)},getUrlForProjectWithPortfolio:function(e,t,n){return r(null,e,null,t,n)},getProjectEditorUrl:function(e){return o(null,e)},getPortfolioEditorUrl:function(e){return o(e,null)},getProjectReviewUrl:function(e,t){return this.getProjectEditorUrl(e)+"/reviews?review="+t}}},74256:(e,t,n)=&gt;{"use strict";n.d(t,{B0:()=&gt;_,BO:()=&gt;A,BQ:()=&gt;s,Eb:()=&gt;o,Fu:()=&gt;l,GJ:()=&gt;p,O_:()=&gt;f,Q8:()=&gt;m,QT:()=&gt;C,Sb:()=&gt;E,UT:()=&gt;w,Vc:()=&gt;k,X3:()=&gt;v,bH:()=&gt;x,cj:()=&gt;L,i4:()=&gt;c,iK:()=&gt;r,jF:()=&gt;u,m3:()=&gt;b,mO:()=&gt;i,mq:()=&gt;d,nJ:()=&gt;g,oG:()=&gt;a,rD:()=&gt;I,tD:()=&gt;T,v6:()=&gt;y,vs:()=&gt;h,wb:()=&gt;S,z4:()=&gt;O});var r=Object.freeze({MAIN_HEADER:"MainHeader",HEADER:"Header",TEXT:"Text",MEDIA:"Media",TEXT_AND_MEDIA:"TextAndMedia",NAVIGATION:"Navigation",STAT:"Stat",GALLERY:"Gallery",COLUMNS:"Columns",CONTACT_FORM:"ContactForm",PROJECT_GRID:"ProjectGrid",CTA:"Cta",TESTIMONIAL:"Testimonial",LOGO_WALL:"LogoWall",DIVIDER_LINE:"DividerLine"}),o=Object.freeze({IMAGE:"Image",VIDEO:"Video",PROTOTYPE:"Prototype",MEDIA:"Media"}),i=Object.freeze({BOLD_STATEMENT:"BoldStatement"}),s=Object.freeze({MOBILE:"mobile",TABLET:"tablet",DESKTOP:"desktop",MONITOR:"monitor"}),a=Object.freeze({BROWSER:"browser",OUTLINE:"outline",SIMPLE:"simple",SEMI_REALISTIC:"semi-realistic"}),l=Object.freeze({SHADOW:"shadow",NO_SHADOW:"no-shadow",ROUNDED:"rounded",SQUARED:"squared",LIGHT:"light",DARK:"dark"}),c=Object.freeze({IMAGE:"image",MEDIA:"media",GALLERY_ITEMS:"galleryItems",PORTFOLIO_HERO_IMAGE:"portfolioHeroImage",PORTFOLIO_HERO_MEDIA:"portfolioHeroMedia",THUMBNAIL:"thumbnail",THUMBNAIL_DESIGNER:"thumbnail_designer"}),u=Object.freeze({MAIN_PANEL:"main-panel",TEMPLATES:"templates",COLORS:"colors",COLOR_PALETTES:"color-palettes",FONTS:"fonts",ADVANCED_HEADING_STYLE_SETTINGS:"headings",ADVANCED_PARAGRAPH_STYLE_SETTINGS:"paragraphs",ADVANCED_NAVIGATION_STYLE_SETTINGS:"navigation-buttons",ADVANCED_HEADING_COLOR_SETTINGS:"heading-colors",ADVANCED_PARAGRAPH_COLOR_SETTINGS:"paragraph-colors",ADVANCED_NAVIGATION_COLOR_SETTINGS:"navigation-colors",BUTTONS:"buttons",SPACING:"spacing",DISPLAY_OPTIONS:"display-options",ANIMATION_SETTINGS:"animation-settings",RESET:"reset"}),d=Object.freeze({ROOT:"style",CHANGE_TEMPLATE:"change-template",COLORS:"colors",COLOR_PALETTES:"color-palettes",FONTS:"fonts",ADVANCED_HEADING_STYLE_SETTINGS:"headings",ADVANCED_PARAGRAPH_STYLE_SETTINGS:"paragraphs",ADVANCED_NAVIGATION_STYLE_SETTINGS:"navigation-buttons",ADVANCED_HEADING_COLOR_SETTINGS:"heading-colors",ADVANCED_PARAGRAPH_COLOR_SETTINGS:"paragraph-colors",ADVANCED_NAVIGATION_COLOR_SETTINGS:"navigation-colors",BUTTON_SETTINGS:"button-settings",DIVIDER_LINES:"divider-line-settings",THUMBNAIL_LAYOUT:"thumbnail-layout",SPACING:"spacing"}),p=Object.freeze({MAIN_PANEL:"main-panel",NAVIGATION:"navigation",NAVIGATION_NEW_PAGE:"add-new-page",NAVIGATION_EXTERNAL_LINK:"external-link",NAVIGATION_MAILTO_LINK:"mailto-link",NAVIGATION_SOCIAL_LINK:"social-link",SHARE:"share",FOOTER:"portfolio-footer",DOMAIN:"own-domain",URL:"url-slug",PASSWORD:"password",ARCHIVE:"archive",HIDE_FROM_SEARCH:"hide-from-search-engines",THUMBNAIL_SETTINGS:"thumbnail-settings",HEADER_FOOTER:"header-footer",DOMAIN_AND_URL:"domain-and-url",FAVICON:"favicon"}),h=Object.freeze({ROOT:"settings",NAVIGATION:"portfolio-navigation",NAVIGATION_NEW_PAGE:"add-new-page",NAVIGATION_EXTERNAL_LINK:"external-link",NAVIGATION_MAILTO_LINK:"mailto-link",NAVIGATION_SOCIAL_LINK:"edit-social-link",SHARE:"share",PASSWORD:"password",ARCHIVE:"archive",THUMBNAIL_SETTINGS:"basic-details",HEADER_FOOTER:"display-options",DOMAIN_AND_URL:"domain-and-url",FAVICON:"favicon"}),f=Object.freeze({BACKGROUND:"background",CASE_STUDY_GRID:"case-study-grid",DIVIDER_LINES:"divider-lines",LOGO_WALL:"logo-wall",GENERAL:"general",COLUMNS:"columns",HEADER:"header",CTA:"cta",GALLERY:"gallery",HERO:"hero"}),m=Object.freeze({HOME:"home",ABOUT:"about",CONTACT:"contact",BLANK:"blank",LINK:"link",MAILTO:"mailto",FILE:"file",CASE_STUDY:"caseStudy"}),g=Object.freeze({BELOW:"below",ABOVE:"above",IN_LINE:"in_line",NO_TEXT:"no_text"}),v=Object.freeze({LIGHT:"weight-light",MEDIUM:"weight-medium",BOLD:"weight-bold"}),y=Object.freeze({SMALL_BLOCK:"small-block",SMALL_BLOCK_SLIDED:"small-block-slided",LARGE_BLOCK:"large-block",LARGE_BLOCK_MIXED:"large-block-mixed",SMALL_BLOCK_TEXT:"small-block-text",MEDIUM_BLOCK_TEXT:"medium-block-text"}),b=Object.freeze({ABOVE:"above",BELOW:"below",INLINE_BELOW_TEXT:"inline-below-text"}),w=Object.freeze({PORTFOLIO:"Portfolio",CASE_STUDY:"CaseStudy"}),S=Object.freeze({SIDES:"sides",MIDDLE:"middle",SIMPLE_LEFT:"simple-left",SIMPLE_MIDDLE:"simple-middle",SIMPLE_RIGHT:"simple-right",LINE_MIDDLE:"line-middle"}),_=Object.freeze({SIMPLE:"simple",FORWARD_SLASH:"forward_slash"}),k=Object.freeze({REGULAR:"regular",BOLD:"bold",UNDERLINE_REGULAR:"underline-regular",UNDERLINE_SMALL:"underline-small",UNDERLINE_LARGE:"underline-large",BOX_SHARP:"box-sharp",BOX_ROUNDED:"box-rounded",BOX_PILL:"box-pill",BOX_PILL_FILL:"box-pill-fill"}),A=(Object.freeze({NAME:"name",IMAGE:"image",LOGO:"logo"}),Object.freeze({NAVBAR:"in-navbar",INLINE_ABOVE_TEXT:"inline-above-text",INLINE_BELOW_TEXT:"inline-below-text",INLINE_STICK_TO_BOTTOM:"inline-stick-to-bottom",OFF_GRID:"off-grid"})),T=Object.freeze({ICON:"icon",TEXT:"text"}),E=Object.freeze({SIMPLE:"simple",BOX_SHARP:"box-sharp",BOX_ROUNDED:"box-rounded",BOX_PILL:"box-pill",BOX_PILL_FILL:"box-pill-fill",UNDERLINE_REGULAR:"underline-regular"}),x=(Object.freeze({OUTLINED:"outlined",FILLED:"filled"}),Object.freeze({SUBTLE:"subtle",PLATFORM:"platform",ACCENT:"accent",ACCENT_PLATFORM:"accent_platform",CONTRAST:"contrast"})),C=Object.freeze({TEMPLATE:"template",HEADLINE:"headline",CASE_STUDY:"caseStudy",THUMBNAIL:"thumbnail",LAYOUT:"layout",RESUME:"resume",DOMAIN:"domain"}),O=Object.freeze({EMPTY:"Empty",INCOMPLETE:"Incomplete",FINISHED:"Finished"}),I=Object.freeze({GUEST:"guest",GUEST_CONTINUE:"guest_continue",EXISTING_USER:"existing_user",AUTH_ERROR:"auth_error",LOGIN_ERROR:"login_error",FOLLOW_UP:"follow_up"}),L=Object.freeze({ALL_CATEGORIES:"All Categories",DESIGN:"Design",CONTENT:"Content",STRUCTURE:"Structure",IMAGERy:"Imagery"})},76107:(e,t,n)=&gt;{"use strict";function r(e){return r="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=e.slice(0,7),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),r=parseInt(n[1],16),o=parseInt(n[2],16),i=parseInt(n[3],16);r/=255,o/=255,i/=255;var s,a,l=Math.max(r,o,i),c=Math.min(r,o,i),u=(l+c)/2;if(l===c)s=a=0;else{var d=l-c;switch(a=u&gt;.5?d/(2-l-c):d/(l+c),l){case r:s=(o-i)/d+(o&lt;i?6:0);break;case o:s=(i-r)/d+2;break;case i:s=(r-o)/d+4}s/=6}var p={};return p.h=s,p.s=a,p.l=u,p}function a(e){var t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)")}function l(e,t){var n=.01*t,r=function(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return r.l=Math.max(0,Math.min(1,e.l+n)),r}function c(e,t,n){function r(e){return 3===(e=e.replace(/^#/,"")).length&amp;&amp;(e=e.split("").map((function(e){return e+e})).join("")),{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}}var o=r(e),i=r(t);return function(e,t,n){return"#".concat(((1&lt;&lt;24)+(e&lt;&lt;16)+(t&lt;&lt;8)+n).toString(16).slice(1).toUpperCase())}(Math.round(o.r*n+i.r*(1-n)),Math.round(o.g*n+i.g*(1-n)),Math.round(o.b*n+i.b*(1-n)))}function u(e,t){var n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return"rgba(".concat(n,", ").concat(r,", ").concat(o,", ").concat(t,")")}function d(e){var t=e.background.color,n=e.h1.color,r="transparent"===e.buttonFill.color?e.buttonOutline.color:e.buttonFill.color;return{solid:{subtle:[c(n,t,.08)],platform:[c(n,t,.16)],accent:[c(r,t,.28)],accent_platform:[c(r,t,.48)],contrast:[c(n,t,.72)]},gradient:{subtle:[t,c(n,t,.32)],platform:[c(n,t,.16),c(n,t,.64)],accent:[t,r],accent_platform:[c(r,t,.24),c(r,t,.64)],contrast:[c(n,t,.64),n]}}}n.d(t,{Tv:()=&gt;a,bH:()=&gt;d,j5:()=&gt;u,oW:()=&gt;s,rp:()=&gt;l,sN:()=&gt;c})},53058:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;c});var r=Object.freeze({HERO_TITLE:45,HERO_SUBTITLE:32,PROJECT_TITLE:22,H1:32,H2:28,H3:24,H4:20,HERO_PARAGRAPH:18,PROJECT_SUBTITLE:14,P1:14,P2:12,NAVIGATION:14,BUTTON:14,PAGE_TITLE:32}),o=Object.freeze({HERO_TITLE:60,HERO_SUBTITLE:44,PROJECT_TITLE:24,H1:44,H2:36,H3:28,H4:24,HERO_PARAGRAPH:20,PROJECT_SUBTITLE:16,P1:16,P2:14,NAVIGATION:16,BUTTON:16,PAGE_TITLE:44}),i=Object.freeze({HERO_TITLE:80,HERO_SUBTITLE:56,PROJECT_TITLE:32,H1:56,H2:44,H3:36,H4:28,HERO_PARAGRAPH:22,PROJECT_SUBTITLE:18,P1:18,P2:16,NAVIGATION:18,BUTTON:18,PAGE_TITLE:56}),s=(Object.freeze({HERO_TITLE:112,HERO_SUBTITLE:72,PROJECT_TITLE:40,H1:72,H2:56,H3:40,H4:32}),n(34120)),a=n(26192);function l(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:s.AG,t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return{heroTitle:{color:t.heroTitle||e.COLORS.HEADING,primaryColor:t.heroTitle||e.COLORS.HEADING},heroSubtitle:{color:t.heroSubtitle||e.COLORS.HEADING,primaryColor:t.heroSubtitle||e.COLORS.HEADING},heroParagraph:{color:t.heroParagraph||e.COLORS.PARAGRAPH,primaryColor:t.heroParagraph||e.COLORS.PARAGRAPH},h1:{color:t.h1||e.COLORS.HEADING,primaryColor:t.h1||e.COLORS.HEADING},h2:{color:t.h2||e.COLORS.HEADING,primaryColor:t.h2||e.COLORS.HEADING},h3:{color:t.h3||e.COLORS.HEADING,primaryColor:t.h3||e.COLORS.HEADING},h4:{color:t.h4||e.COLORS.HEADING,primaryColor:t.h4||e.COLORS.HEADING},p1:{color:t.p1||e.COLORS.PARAGRAPH,primaryColor:t.p1||e.COLORS.PARAGRAPH},p2:{color:t.p2||e.COLORS.PARAGRAPH,primaryColor:t.p2||e.COLORS.PARAGRAPH},projectTitle:{color:t.projectTitle||e.COLORS.HEADING,primaryColor:t.projectTitle||e.COLORS.HEADING},projectSubtitle:{color:t.projectSubtitle||e.COLORS.PARAGRAPH,primaryColor:t.projectSubtitle||e.COLORS.PARAGRAPH},navigation:{color:t.navigation||e.COLORS.NAVIGATION,primaryColor:t.navigation||e.COLORS.NAVIGATION},navigationHover:{color:t.navigationHover||e.COLORS.NAVIGATION_HOVER,primaryColor:t.navigationHover||e.COLORS.NAVIGATION_HOVER},background:{color:t.background||e.COLORS.BACKGROUND,primaryColor:t.background||e.COLORS.BACKGROUND},dividerLine:{color:t.dividerLine||e.COLORS.DIVIDER_LINE,primaryColor:t.dividerLine||e.COLORS.DIVIDER_LINE},sidebarBackground:{color:t.sidebarBackground||e.COLORS.FOREGROUND,primaryColor:t.sidebarBackground||e.COLORS.FOREGROUND},hyperLink:{color:t.hyperLink||e.COLORS.HYPERLINK,primaryColor:t.hyperLink||e.COLORS.HYPERLINK},buttonFill:{color:t.buttonFill||e.COLORS.BUTTON_FILL,primaryColor:t.buttonFill||e.COLORS.BUTTON_FILL},buttonOutline:{color:t.buttonOutline||e.COLORS.BUTTON_FILL,primaryColor:t.buttonOutline||e.COLORS.BUTTON_FILL},buttonText:{color:t.buttonText||e.COLORS.BUTTON_TEXT,primaryColor:t.buttonText||e.COLORS.BUTTON_TEXT}}}const c={getDesignSettingsByTheme:function(e){var t=(e||"theme_default").replace("profile_","");return{fontStyles:this.getFontStylesByTheme()[t],colorStyles:this.getColorStylesByTheme()[t],globalFontStyles:!0,globalColorStyles:!0,globalAnimationSettings:!0,animationSettings:{animationStyle:"NONE",animationSpeed:2}}},getFontStylesByTheme:function(){return{theme_default:{heroTitle:{font:a.SH.FONTS.HEADING,size:28,fontWeight:a.SH.WEIGHTS.HEADING},heroSubtitle:{font:a.SH.FONTS.HEADING,size:24,fontWeight:a.SH.WEIGHTS.HEADING},heroParagraph:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:16,fontWeight:a.SH.WEIGHTS.PARAGRAPH},h1:{font:a.SH.FONTS.HEADING,size:r.H1,fontWeight:a.SH.WEIGHTS.HEADING},h2:{font:a.SH.FONTS.HEADING,size:r.H2,fontWeight:a.SH.WEIGHTS.HEADING},h3:{font:a.SH.FONTS.HEADING,size:r.H3,fontWeight:a.SH.WEIGHTS.HEADING},h4:{font:a.SH.FONTS.HEADING,size:r.H4,fontWeight:a.SH.WEIGHTS.HEADING},p1:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.SH.WEIGHTS.PARAGRAPH},p2:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.SH.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.SH.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.SH.WEIGHTS.HEADING},projectSubtitle:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.SH.WEIGHTS.PARAGRAPH},navigation:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.SH.WEIGHTS.NAVIGATION},pageTitle:{font:a.SH.FONTS.HEADING,size:r.PAGE_TITLE,fontWeight:a.SH.WEIGHTS.HEADING},button:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.SH.WEIGHTS.BUTTON}},theme_one:{heroTitle:{font:a.GW.FONTS.HEADING,size:r.HERO_TITLE,fontWeight:a.GW.WEIGHTS.HEADING},heroSubtitle:{font:a.GW.FONTS.HEADING,size:r.HERO_SUBTITLE,fontWeight:a.GW.WEIGHTS.HEADING},heroParagraph:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.HERO_PARAGRAPH,fontWeight:a.GW.WEIGHTS.PARAGRAPH},h1:{font:a.GW.FONTS.HEADING,size:r.H1,fontWeight:a.GW.WEIGHTS.HEADING},h2:{font:a.GW.FONTS.HEADING,size:r.H2,fontWeight:a.GW.WEIGHTS.HEADING},h3:{font:a.GW.FONTS.HEADING,size:r.H3,fontWeight:a.GW.WEIGHTS.HEADING},h4:{font:a.GW.FONTS.HEADING,size:r.H4,fontWeight:a.GW.WEIGHTS.HEADING},p1:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.P1,fontWeight:a.GW.WEIGHTS.PARAGRAPH},p2:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.P2,fontWeight:a.GW.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.GW.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.GW.WEIGHTS.HEADING},projectSubtitle:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.PROJECT_SUBTITLE,fontWeight:a.GW.WEIGHTS.PARAGRAPH},navigation:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.NAVIGATION,fontWeight:a.GW.WEIGHTS.NAVIGATION},pageTitle:{font:a.GW.FONTS.HEADING,size:r.PAGE_TITLE,fontWeight:a.GW.WEIGHTS.HEADING},button:{font:a.GW.FONTS.PARAGRAPH_AND_NAV,size:r.BUTTON,fontWeight:a.GW.WEIGHTS.BUTTON}},theme_two:{heroTitle:{font:a.sU.FONTS.HEADING,size:72,fontWeight:a.sU.WEIGHTS.HEADING},heroSubtitle:{font:a.sU.FONTS.HEADING,size:48,fontWeight:a.sU.WEIGHTS.HEADING},heroParagraph:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:22,fontWeight:a.sU.WEIGHTS.PARAGRAPH},h1:{font:a.sU.FONTS.HEADING,size:o.H1,fontWeight:a.sU.WEIGHTS.HEADING},h2:{font:a.sU.FONTS.HEADING,size:o.H2,fontWeight:a.sU.WEIGHTS.HEADING},h3:{font:a.sU.FONTS.HEADING,size:o.H3,fontWeight:a.sU.WEIGHTS.HEADING},h4:{font:a.sU.FONTS.HEADING,size:o.H4,fontWeight:a.sU.WEIGHTS.HEADING},p1:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.sU.WEIGHTS.PARAGRAPH},p2:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.sU.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.sU.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.sU.WEIGHTS.HEADING},projectSubtitle:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.sU.WEIGHTS.PARAGRAPH},navigation:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.sU.WEIGHTS.NAVIGATION},pageTitle:{font:a.sU.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.sU.WEIGHTS.HEADING},button:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.sU.WEIGHTS.BUTTON}},theme_three:{heroTitle:{font:a.jv.FONTS.HEADING,size:o.HERO_TITLE,fontWeight:a.jv.WEIGHTS.HEADING},heroSubtitle:{font:a.jv.FONTS.HEADING,size:o.HERO_SUBTITLE,fontWeight:a.jv.WEIGHTS.HEADING},heroParagraph:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.HERO_PARAGRAPH,fontWeight:a.jv.WEIGHTS.PARAGRAPH},h1:{font:a.jv.FONTS.HEADING,size:o.H1,fontWeight:a.jv.WEIGHTS.HEADING},h2:{font:a.jv.FONTS.HEADING,size:o.H2,fontWeight:a.jv.WEIGHTS.HEADING},h3:{font:a.jv.FONTS.HEADING,size:o.H3,fontWeight:a.jv.WEIGHTS.HEADING},h4:{font:a.jv.FONTS.HEADING,size:o.H4,fontWeight:a.jv.WEIGHTS.HEADING},p1:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.jv.WEIGHTS.PARAGRAPH},p2:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.jv.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.jv.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.jv.WEIGHTS.HEADING},projectSubtitle:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.jv.WEIGHTS.PARAGRAPH},navigation:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.jv.WEIGHTS.NAVIGATION},pageTitle:{font:a.jv.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.jv.WEIGHTS.HEADING},button:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.jv.WEIGHTS.BUTTON}},theme_four:{heroTitle:{font:a._r.FONTS.HEADING,size:32,fontWeight:a._r.WEIGHTS.HEADING},heroSubtitle:{font:a._r.FONTS.HEADING,size:24,fontWeight:a._r.WEIGHTS.HEADING},heroParagraph:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:14,fontWeight:a._r.WEIGHTS.HEADING},h1:{font:a._r.FONTS.HEADING,size:r.H1,fontWeight:a._r.WEIGHTS.HEADING},h2:{font:a._r.FONTS.HEADING,size:r.H2,fontWeight:a._r.WEIGHTS.HEADING},h3:{font:a._r.FONTS.HEADING,size:r.H3,fontWeight:a._r.WEIGHTS.HEADING},h4:{font:a._r.FONTS.HEADING,size:r.H4,fontWeight:a._r.WEIGHTS.HEADING},p1:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:r.P1,fontWeight:a._r.WEIGHTS.PARAGRAPH},p2:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:r.P2,fontWeight:a._r.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a._r.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a._r.WEIGHTS.HEADING},projectSubtitle:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:r.PROJECT_SUBTITLE,fontWeight:a._r.WEIGHTS.PARAGRAPH},navigation:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:r.NAVIGATION,fontWeight:a._r.WEIGHTS.NAVIGATION},pageTitle:{font:a._r.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a._r.WEIGHTS.HEADING},button:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:r.BUTTON,fontWeight:a._r.WEIGHTS.BUTTON}},theme_five:{heroTitle:{font:a.jv.FONTS.HEADING,size:72,fontWeight:a.jv.WEIGHTS.HEADING},heroSubtitle:{font:a.jv.FONTS.HEADING,size:48,fontWeight:a.jv.WEIGHTS.HEADING},heroParagraph:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:22,fontWeight:a.jv.WEIGHTS.PARAGRAPH},h1:{font:a.jv.FONTS.HEADING,size:o.H1,fontWeight:a.jv.WEIGHTS.HEADING},h2:{font:a.jv.FONTS.HEADING,size:o.H2,fontWeight:a.jv.WEIGHTS.HEADING},h3:{font:a.jv.FONTS.HEADING,size:o.H3,fontWeight:a.jv.WEIGHTS.HEADING},h4:{font:a.jv.FONTS.HEADING,size:o.H4,fontWeight:a.jv.WEIGHTS.HEADING},p1:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.jv.WEIGHTS.PARAGRAPH},p2:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.jv.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.jv.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.jv.WEIGHTS.HEADING},projectSubtitle:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.jv.WEIGHTS.PARAGRAPH},navigation:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.jv.WEIGHTS.NAVIGATION},pageTitle:{font:a.jv.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.jv.WEIGHTS.HEADING},button:{font:a.jv.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.jv.WEIGHTS.BUTTON}},theme_six:{heroTitle:{font:a.ll.FONTS.HEADING,size:o.HERO_TITLE,fontWeight:a.ll.WEIGHTS.HEADING},heroSubtitle:{font:a.ll.FONTS.HEADING,size:o.HERO_SUBTITLE,fontWeight:a.ll.WEIGHTS.HEADING},heroParagraph:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.HERO_PARAGRAPH,fontWeight:a.ll.WEIGHTS.PARAGRAPH},h1:{font:a.ll.FONTS.HEADING,size:o.H1,fontWeight:a.ll.WEIGHTS.HEADING},h2:{font:a.ll.FONTS.HEADING,size:o.H2,fontWeight:a.ll.WEIGHTS.HEADING},h3:{font:a.ll.FONTS.HEADING,size:o.H3,fontWeight:a.ll.WEIGHTS.HEADING},h4:{font:a.ll.FONTS.HEADING,size:o.H4,fontWeight:a.ll.WEIGHTS.HEADING},p1:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.ll.WEIGHTS.PARAGRAPH},p2:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.ll.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.ll.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.ll.WEIGHTS.HEADING},projectSubtitle:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.ll.WEIGHTS.PARAGRAPH},navigation:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.ll.WEIGHTS.NAVIGATION},pageTitle:{font:a.ll.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.ll.WEIGHTS.HEADING},button:{font:a.ll.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.ll.WEIGHTS.BUTTON}},theme_seven:{heroTitle:{font:a.t_.FONTS.HEADING,size:72,fontWeight:a.t_.WEIGHTS.HEADING},heroSubtitle:{font:a.t_.FONTS.HEADING,size:48,fontWeight:a.t_.WEIGHTS.HEADING},heroParagraph:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.HERO_PARAGRAPH,fontWeight:a.t_.WEIGHTS.PARAGRAPH},h1:{font:a.t_.FONTS.HEADING,size:o.H1,fontWeight:a.t_.WEIGHTS.HEADING},h2:{font:a.t_.FONTS.HEADING,size:o.H2,fontWeight:a.t_.WEIGHTS.HEADING},h3:{font:a.t_.FONTS.HEADING,size:o.H3,fontWeight:a.t_.WEIGHTS.HEADING},h4:{font:a.t_.FONTS.HEADING,size:o.H4,fontWeight:a.t_.WEIGHTS.HEADING},p1:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.t_.WEIGHTS.PARAGRAPH},p2:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.t_.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.t_.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.t_.WEIGHTS.HEADING},projectSubtitle:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.t_.WEIGHTS.PARAGRAPH},navigation:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.t_.WEIGHTS.NAVIGATION},pageTitle:{font:a.t_.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.t_.WEIGHTS.HEADING},button:{font:a.t_.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.t_.WEIGHTS.BUTTON}},theme_eight:{heroTitle:{font:a.Tk.FONTS.HEADING,size:32,fontWeight:a.Tk.WEIGHTS.HEADING},heroSubtitle:{font:a.Tk.FONTS.HEADING,size:28,fontWeight:a.Tk.WEIGHTS.HEADING},heroParagraph:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:20,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},h1:{font:a.Tk.FONTS.HEADING,size:r.H1,fontWeight:a.Tk.WEIGHTS.HEADING},h2:{font:a.Tk.FONTS.HEADING,size:r.H2,fontWeight:a.Tk.WEIGHTS.HEADING},h3:{font:a.Tk.FONTS.HEADING,size:r.H3,fontWeight:a.Tk.WEIGHTS.HEADING},h4:{font:a.Tk.FONTS.HEADING,size:r.H4,fontWeight:a.Tk.WEIGHTS.HEADING},p1:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},p2:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.Tk.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.Tk.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.Tk.WEIGHTS.HEADING},projectSubtitle:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_TITLE,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},navigation:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.Tk.WEIGHTS.NAVIGATION},pageTitle:{font:a.Tk.FONTS.HEADING,size:r.PAGE_TITLE,fontWeight:a.Tk.WEIGHTS.HEADING},button:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.Tk.WEIGHTS.BUTTON}},theme_nine:{heroTitle:{font:a.sU.FONTS.HEADING,size:40,fontWeight:a.sU.WEIGHTS.HEADING},heroSubtitle:{font:a.sU.FONTS.HEADING,size:28,fontWeight:a.sU.WEIGHTS.HEADING},heroParagraph:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:16,fontWeight:a.sU.WEIGHTS.PARAGRAPH},h1:{font:a.sU.FONTS.HEADING,size:r.H1,fontWeight:a.sU.WEIGHTS.HEADING},h2:{font:a.sU.FONTS.HEADING,size:r.H2,fontWeight:a.sU.WEIGHTS.HEADING},h3:{font:a.sU.FONTS.HEADING,size:r.H3,fontWeight:a.sU.WEIGHTS.HEADING},h4:{font:a.sU.FONTS.HEADING,size:r.H4,fontWeight:a.sU.WEIGHTS.HEADING},p1:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.sU.WEIGHTS.PARAGRAPH},p2:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.sU.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.sU.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.sU.WEIGHTS.HEADING},projectSubtitle:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.sU.WEIGHTS.PARAGRAPH},navigation:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.sU.WEIGHTS.NAVIGATION},pageTitle:{font:a.sU.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.sU.WEIGHTS.HEADING},button:{font:a.sU.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.sU.WEIGHTS.BUTTON}},theme_ten:{heroTitle:{font:a.rq.FONTS.HEADING,size:80,fontWeight:a.rq.WEIGHTS.HEADING},heroSubtitle:{font:a.rq.FONTS.HEADING,size:56,fontWeight:a.rq.WEIGHTS.HEADING},heroParagraph:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:22,fontWeight:a.rq.WEIGHTS.PARAGRAPH},h1:{font:a.rq.FONTS.HEADING,size:o.H1,fontWeight:a.rq.WEIGHTS.HEADING},h2:{font:a.rq.FONTS.HEADING,size:o.H2,fontWeight:a.rq.WEIGHTS.HEADING},h3:{font:a.rq.FONTS.HEADING,size:o.H3,fontWeight:a.rq.WEIGHTS.HEADING},h4:{font:a.rq.FONTS.HEADING,size:o.H4,fontWeight:a.rq.WEIGHTS.HEADING},p1:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.rq.WEIGHTS.PARAGRAPH},p2:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.rq.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.rq.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.rq.WEIGHTS.HEADING},projectSubtitle:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.rq.WEIGHTS.PARAGRAPH},navigation:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.rq.WEIGHTS.NAVIGATION},pageTitle:{font:a.rq.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.rq.WEIGHTS.HEADING},button:{font:a.rq.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.rq.WEIGHTS.BUTTON}},theme_eleven:{heroTitle:{font:a.pV.FONTS.HEADING,size:72,fontWeight:a.pV.WEIGHTS.HEADING},heroSubtitle:{font:a.pV.FONTS.HEADING,size:i.HERO_SUBTITLE,fontWeight:a.pV.WEIGHTS.HEADING},heroParagraph:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.HERO_PARAGRAPH,fontWeight:a.pV.WEIGHTS.PARAGRAPH},h1:{font:a.pV.FONTS.HEADING,size:i.H1,fontWeight:a.pV.WEIGHTS.HEADING},h2:{font:a.pV.FONTS.HEADING,size:i.H2,fontWeight:a.pV.WEIGHTS.HEADING},h3:{font:a.pV.FONTS.HEADING,size:i.H3,fontWeight:a.pV.WEIGHTS.HEADING},h4:{font:a.pV.FONTS.HEADING,size:i.H4,fontWeight:a.pV.WEIGHTS.HEADING},p1:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.P1,fontWeight:a.pV.WEIGHTS.PARAGRAPH},p2:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.P1,fontWeight:a.pV.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.pV.FONTS.HEADING,size:i.PROJECT_TITLE,fontWeight:a.pV.WEIGHTS.HEADING},projectSubtitle:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.PROJECT_SUBTITLE,fontWeight:a.pV.WEIGHTS.PARAGRAPH},navigation:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.NAVIGATION,fontWeight:a.pV.WEIGHTS.NAVIGATION},pageTitle:{font:a.pV.FONTS.HEADING,size:i.PROJECT_TITLE,fontWeight:a.pV.WEIGHTS.HEADING},button:{font:a.pV.FONTS.PARAGRAPH_AND_NAV,size:i.BUTTON,fontWeight:a.pV.WEIGHTS.BUTTON}},theme_twelve:{heroTitle:{font:a.Gq.FONTS.HEADING,size:60,fontWeight:a.Gq.WEIGHTS.HEADING},heroSubtitle:{font:a.Gq.FONTS.HEADING,size:30,fontWeight:a.Gq.WEIGHTS.HEADING},heroParagraph:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:20,fontWeight:a.Gq.WEIGHTS.PARAGRAPH},h1:{font:a.Gq.FONTS.HEADING,size:o.H1,fontWeight:a.Gq.WEIGHTS.HEADING},h2:{font:a.Gq.FONTS.HEADING,size:o.H2,fontWeight:a.Gq.WEIGHTS.HEADING},h3:{font:a.Gq.FONTS.HEADING,size:o.H3,fontWeight:a.Gq.WEIGHTS.HEADING},h4:{font:a.Gq.FONTS.HEADING,size:o.H4,fontWeight:a.Gq.WEIGHTS.HEADING},p1:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.Gq.WEIGHTS.PARAGRAPH},p2:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.Gq.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.Gq.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.Gq.WEIGHTS.HEADING},projectSubtitle:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.Gq.WEIGHTS.PARAGRAPH},navigation:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.Gq.WEIGHTS.NAVIGATION},pageTitle:{font:a.Gq.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.Gq.WEIGHTS.HEADING},button:{font:a.Gq.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.Gq.WEIGHTS.BUTTON}},theme_thirteen:{heroTitle:{font:a.Mx.FONTS.HEADING,size:o.HERO_TITLE,fontWeight:a.Mx.WEIGHTS.HEADING},heroSubtitle:{font:a.Mx.FONTS.HEADING,size:o.HERO_SUBTITLE,fontWeight:a.Mx.WEIGHTS.HEADING},heroParagraph:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.HERO_PARAGRAPH,fontWeight:a.Mx.WEIGHTS.PARAGRAPH},h1:{font:a.Mx.FONTS.HEADING,size:o.H1,fontWeight:a.Mx.WEIGHTS.HEADING},h2:{font:a.Mx.FONTS.HEADING,size:o.H2,fontWeight:a.Mx.WEIGHTS.HEADING},h3:{font:a.Mx.FONTS.HEADING,size:o.H3,fontWeight:a.Mx.WEIGHTS.HEADING},h4:{font:a.Mx.FONTS.HEADING,size:o.H4,fontWeight:a.Mx.WEIGHTS.HEADING},p1:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a.Mx.WEIGHTS.PARAGRAPH},p2:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a.Mx.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.Mx.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a.Mx.WEIGHTS.HEADING},projectSubtitle:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a.Mx.WEIGHTS.PARAGRAPH},navigation:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a.Mx.WEIGHTS.NAVIGATION},pageTitle:{font:a.Mx.FONTS.HEADING,size:o.PAGE_TITLE,fontWeight:a.Mx.WEIGHTS.HEADING},button:{font:a.Mx.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a.Mx.WEIGHTS.BUTTON}},theme_fourteen:{heroTitle:{font:a.SH.FONTS.HEADING,size:i.HERO_TITLE,fontWeight:a.SH.WEIGHTS.HEADING},heroSubtitle:{font:a.SH.FONTS.HEADING,size:i.HERO_SUBTITLE,fontWeight:a.SH.WEIGHTS.HEADING},heroParagraph:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.HERO_PARAGRAPH,fontWeight:a.SH.WEIGHTS.PARAGRAPH},h1:{font:a.SH.FONTS.HEADING,size:i.H1,fontWeight:a.SH.WEIGHTS.HEADING},h2:{font:a.SH.FONTS.HEADING,size:i.H2,fontWeight:a.SH.WEIGHTS.HEADING},h3:{font:a.SH.FONTS.HEADING,size:i.H3,fontWeight:a.SH.WEIGHTS.HEADING},h4:{font:a.SH.FONTS.HEADING,size:i.H4,fontWeight:a.SH.WEIGHTS.HEADING},p1:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.P1,fontWeight:a.SH.WEIGHTS.PARAGRAPH},p2:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.P2,fontWeight:a.SH.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.SH.FONTS.HEADING,size:i.PROJECT_TITLE,fontWeight:a.SH.WEIGHTS.HEADING},projectSubtitle:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.PROJECT_SUBTITLE,fontWeight:a.SH.WEIGHTS.PARAGRAPH},navigation:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.NAVIGATION,fontWeight:a.SH.WEIGHTS.NAVIGATION},pageTitle:{font:a.SH.FONTS.HEADING,size:i.PAGE_TITLE,fontWeight:a.SH.WEIGHTS.HEADING},button:{font:a.SH.FONTS.PARAGRAPH_AND_NAV,size:i.BUTTON,fontWeight:a.SH.WEIGHTS.BUTTON}},theme_fifteen:{heroTitle:{font:"ClashDisplay",size:64,lineHeight:67,fontWeight:500,fontStyle:"normal"},heroSubtitle:{font:"ClashGrotesk",size:36,lineHeight:42,fontWeight:500,fontStyle:"normal"},heroParagraph:{font:"ClashGrotesk",size:24,lineHeight:30,fontWeight:400,fontStyle:"normal"},h1:{font:"ClashDisplay",size:64,lineHeight:106,fontWeight:500,fontStyle:"normal"},h2:{font:"ClashGrotesk",size:36,lineHeight:118,fontWeight:500,fontStyle:"normal"},h3:{font:"ClashDisplay",size:36,lineHeight:50,fontWeight:500,fontStyle:"normal"},h4:{font:"ClashGrotesk",size:20,lineHeight:24,fontWeight:500,fontStyle:"normal"},p1:{font:"ClashGrotesk",size:18,lineHeight:33,fontWeight:400,fontStyle:"normal"},p2:{font:"ClashGrotesk",size:16,lineHeight:27,fontWeight:400,fontStyle:"normal"},projectTitle:{font:"ClashDisplay",size:48,lineHeight:43,fontWeight:500,fontStyle:"normal"},projectSubtitle:{font:"ClashGrotesk",size:18,lineHeight:25,fontWeight:300,fontStyle:"normal"},navigation:{font:"ClashGrotesk",size:16,lineHeight:19,fontWeight:400,fontStyle:"normal"},pageTitle:{font:"Montserrat",size:80,lineHeight:87,fontWeight:700,fontStyle:"normal"},button:{font:"ClashDisplay",size:14,relativeLineHeight:1.22,fontWeight:500,fontStyle:"normal"}},theme_sixteen:{heroTitle:{font:a._r.FONTS.HEADING,size:o.HERO_TITLE,fontWeight:a._r.WEIGHTS.HEADING},heroSubtitle:{font:a._r.FONTS.HEADING,size:o.HERO_SUBTITLE,fontWeight:a._r.WEIGHTS.HEADING},heroParagraph:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.HERO_PARAGRAPH,fontWeight:a._r.WEIGHTS.PARAGRAPH},h1:{font:a._r.FONTS.HEADING,size:o.H1,fontWeight:a._r.WEIGHTS.HEADING},h2:{font:a._r.FONTS.HEADING,size:o.H2,fontWeight:a._r.WEIGHTS.HEADING},h3:{font:a._r.FONTS.HEADING,size:o.H3,fontWeight:a._r.WEIGHTS.HEADING},h4:{font:a._r.FONTS.HEADING,size:o.H4,fontWeight:a._r.WEIGHTS.HEADING},p1:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.P1,fontWeight:a._r.WEIGHTS.PARAGRAPH},p2:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.P2,fontWeight:a._r.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a._r.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a._r.WEIGHTS.HEADING},projectSubtitle:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.PROJECT_SUBTITLE,fontWeight:a._r.WEIGHTS.PARAGRAPH},navigation:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.NAVIGATION,fontWeight:a._r.WEIGHTS.NAVIGATION},pageTitle:{font:a._r.FONTS.HEADING,size:o.PROJECT_TITLE,fontWeight:a._r.WEIGHTS.HEADING},button:{font:a._r.FONTS.PARAGRAPH_AND_NAV,size:o.BUTTON,fontWeight:a._r.WEIGHTS.BUTTON}},theme_seventeen:{heroTitle:{font:a.Ll.FONTS.HEADING,size:i.HERO_TITLE,fontWeight:a.Ll.WEIGHTS.HEADING},heroSubtitle:{font:a.Ll.FONTS.HEADING,size:i.HERO_SUBTITLE,fontWeight:a.Ll.WEIGHTS.HEADING},heroParagraph:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.HERO_PARAGRAPH,fontWeight:a.Ll.WEIGHTS.HEADING},h1:{font:a.Ll.FONTS.HEADING,size:i.H1,fontWeight:a.Ll.WEIGHTS.HEADING},h2:{font:a.Ll.FONTS.HEADING,size:i.H2,fontWeight:a.Ll.WEIGHTS.HEADING},h3:{font:a.Ll.FONTS.HEADING,size:i.H3,fontWeight:a.Ll.WEIGHTS.HEADING},h4:{font:a.Ll.FONTS.HEADING,size:i.H4,fontWeight:a.Ll.WEIGHTS.HEADING},p1:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.P1,fontWeight:a.Ll.WEIGHTS.PARAGRAPH},p2:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.P2,fontWeight:a.Ll.WEIGHTS.PARAGRAPH,fontStyle:"italic"},projectTitle:{font:a.Ll.FONTS.HEADING,size:i.PROJECT_TITLE,fontWeight:a.Ll.WEIGHTS.HEADING},projectSubtitle:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.PROJECT_SUBTITLE,fontWeight:a.Ll.WEIGHTS.PARAGRAPH},navigation:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.NAVIGATION,fontWeight:a.Ll.WEIGHTS.NAVIGATION},pageTitle:{font:a.Ll.FONTS.HEADING,size:i.PAGE_TITLE,fontWeight:a.Ll.WEIGHTS.HEADING},button:{font:a.Ll.FONTS.PARAGRAPH_AND_NAV,size:i.BUTTON,fontWeight:a.Ll.WEIGHTS.BUTTON}},theme_eighteen:{heroTitle:{font:a.Tk.FONTS.HEADING,size:r.HERO_TITLE,fontWeight:a.Tk.WEIGHTS.HEADING},heroSubtitle:{font:a.Tk.FONTS.HEADING,size:r.HERO_SUBTITLE,fontWeight:a.Tk.WEIGHTS.HEADING},heroParagraph:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.HERO_PARAGRAPH,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},h1:{font:a.Tk.FONTS.HEADING,size:r.H1,fontWeight:a.Tk.WEIGHTS.HEADING},h2:{font:a.Tk.FONTS.HEADING,size:r.H2,fontWeight:a.Tk.WEIGHTS.HEADING},h3:{font:a.Tk.FONTS.HEADING,size:r.H3,fontWeight:a.Tk.WEIGHTS.HEADING},h4:{font:a.Tk.FONTS.HEADING,size:r.H4,fontWeight:a.Tk.WEIGHTS.HEADING},p1:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.P1,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},p2:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.P2,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},projectTitle:{font:a.Tk.FONTS.HEADING,size:r.PROJECT_TITLE,fontWeight:a.Tk.WEIGHTS.HEADING},projectSubtitle:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.PROJECT_SUBTITLE,fontWeight:a.Tk.WEIGHTS.PARAGRAPH},navigation:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.NAVIGATION,fontWeight:a.Tk.WEIGHTS.NAVIGATION},pageTitle:{font:a.Tk.FONTS.HEADING,size:r.PAGE_TITLE,fontWeight:a.Tk.WEIGHTS.HEADING},button:{font:a.Tk.FONTS.PARAGRAPH_AND_NAV,size:r.BUTTON,fontWeight:a.Tk.WEIGHTS.BUTTON}}}},getColorStylesByTheme:function(){return{theme_default:l(s.AG,{buttonFill:"transparent"}),theme_one:l(s.h5,{buttonFill:"transparent",buttonOutline:"#DEDEDE",buttonText:"#000000"}),theme_two:l(s.ZC),theme_three:l(s.Se,{buttonFill:"#EFEFEF",buttonOutline:"#EFEFEF",buttonText:"#000000"}),theme_four:l(s.h5),theme_five:l(s.lS),theme_six:l(s.Se,{heroTitle:"#FFFFFF",heroSubtitle:"#FFFFFF",heroParagraph:"#FFFFFF"}),theme_seven:l(s.Bt,{buttonFill:"transparent"}),theme_eight:l(s.Nd),theme_nine:l(s.Se,{heroTitle:"#FFFFFF",heroSubtitle:"#FFFFFF",heroParagraph:"#A4A4A4",navigation:"#A4A4A4",navigationHover:"#FFFFFF",sidebarBackground:"#212329",buttonFill:"#C6CAD6",buttonOutline:"#C6CAD6",buttonText:"#212329"}),theme_ten:l(s.aX),theme_eleven:l(s._E,{buttonFill:"transparent"}),theme_twelve:l(s.h5),theme_thirteen:l(s.Se,{buttonFill:"transparent",buttonText:"#0F0F0F"}),theme_fourteen:l(s.AG),theme_fifteen:l(),theme_sixteen:l(s.mi,{buttonFill:"transparent",buttonText:s.mi.COLORS.BUTTON_FILL}),theme_seventeen:l(s.gz,{buttonFill:"transparent"}),theme_eighteen:l(s.aX)}}}},49905:(e,t,n)=&gt;{"use strict";n.d(t,{V:()=&gt;j});var r=n(53058),o=n(74256),i={layout:{type:"mobile",version:"single_middle"},deviceStyle:{baseStyle:"semi_realistic",settings:{corner:"rounded",color:"dark",position:"portrait"}},background:{style:"solid_color",color:"#F6F6F6",accentColor:"#FFFFFF00",gradient:"radial_1"},images:[{url:null,cropped:{url:null,coordinates:null}},{url:null,cropped:{url:null,coordinates:null}},{url:null,cropped:{url:null,coordinates:null}},{url:null,cropped:{url:null,coordinates:null}}]},s={theme_eighteen:{background:{color:"#FFFFFF1A"}},theme_seventeen:{background:{color:"#0000001A"}},theme_sixteen:{background:{color:"#0000001A"}},theme_fourteen:{background:{color:"#0000001A"}},theme_thirteen:{background:{color:"#0000001A"}},theme_twelve:{background:{color:"#0000001A"}},theme_eleven:{background:{color:"#0000001A"}},theme_ten:{background:{color:"#FFFFFF1A"}},profile_theme_nine:{background:{color:"#0000001A"}},theme_eight:{background:{color:"#FFFFFF1A"}},theme_seven:{background:{color:"#0000001A"}},theme_six:{background:{color:"#0000001A"}},theme_five:{background:{color:"#FFFFFF1A"}},profile_theme_four:{background:{color:"#0000001A"}},theme_three:{background:{color:"#0000001A"}},theme_two:{background:{color:"#0000001A"}},theme_one:{background:{color:"#0000001A"}},profile_theme_default:{background:{color:"#0000001A"}}},a={theme_eighteen:{height:240,textAlign:"left"},theme_seventeen:{height:370,textAlign:"center",image:{height:"450",type:"Image",url:"/hero-images/template17-hero-image.png",width:"1440"},backgroundColor:"#F5F4FF",gradientColor1:"#A9C6FC",gradientColor2:"#A9A9FC",selectedBackgroundStyleId:"7"},theme_sixteen:{height:540,flipped:!0,textAlign:"left"},theme_fourteen:{height:645,textAlign:"left"},theme_thirteen:{height:460,textAlign:"left"},theme_twelve:{height:370,textAlign:"left"},theme_eleven:{height:420,textAlign:"center"},theme_ten:{height:600,flipped:!0,textAlign:"left",textColumnSpan:6,image:{type:"Image",url:"/template-default-images/hero-covers/theme-10-hero-cover.webp"}},profile_theme_nine:{textAlign:"center",alignment:{vertical:"top"},sidebarSettings:{backgroundColor:"#262f34"}},theme_eight:{height:400,textAlign:"center"},theme_seven:{height:450,textAlign:"center"},theme_six:{height:540,textBoxPosition:"inside-cover",textAlign:"center",alignment:{vertical:"bottom"}},theme_five:{height:800,textAlign:"left",image:{type:"Image",url:"/template-default-images/hero-covers/theme_05-hero-cover.webp"}},profile_theme_four:{textAlign:"left"},theme_three:{height:370,textAlign:"center"},theme_two:{height:770,textAlign:"left",textColumnSpan:6},theme_one:{height:380,textAlign:"left"},profile_theme_default:{textAlign:"left"}},l={fillStyle:"solid",shape:"pill",stroke:null,align:"left"},c={theme_eighteen:{},theme_seventeen:{fillStyle:"outlined",shape:"rounded",stroke:{strength:2}},theme_sixteen:{fillStyle:"outlined",stroke:{strength:1}},theme_fourteen:{},theme_thirteen:{fillStyle:"outlined",shape:"rounded",stroke:{strength:2}},theme_twelve:{shape:"rounded"},theme_eleven:{fillStyle:"outlined",shape:"rounded",stroke:{strength:2}},theme_ten:{},profile_theme_nine:{},theme_eight:{shape:"rounded"},theme_seven:{fillStyle:"outlined",shape:"square",stroke:{strength:1}},theme_six:{},theme_five:{shape:"square"},profile_theme_four:{shape:"square"},theme_three:{},theme_two:{},theme_one:{shape:"square",fillStyle:"outlined",stroke:{strength:1}},profile_theme_default:{fillStyle:"outlined",shape:"square",stroke:{strength:2}}};function u(e){return u="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={type:o.m3.ABOVE,layout:o.wb.SIMPLE_LEFT,style:o.B0.SIMPLE,fill:!0,defaultDarkNav:!0,socialLinksLocation:null,navigationItems:{ownerId:{visible:!1},button:{style:o.Vc.BOLD},socialLink:{type:o.tD.TEXT,style:o.Sb.SIMPLE,weight:null,upperCase:!1}}},m={theme_eighteen:{layout:o.wb.SIMPLE_RIGHT,fill:!1,navigationItems:p(p({},f.navigationItems),{},{ownerId:{visible:!0}})},theme_seventeen:{fill:!1,type:o.m3.BELOW,layout:o.wb.SIMPLE_MIDDLE,navigationItems:p(p({},f.navigationItems),{},{button:{style:o.Vc.UNDERLINE_REGULAR}})},theme_sixteen:{layout:o.wb.SIMPLE_RIGHT,socialLinksLocation:o.BO.INLINE_BELOW_TEXT,navigationItems:p(p({},f.navigationItems),{},{button:{style:o.Vc.BOX_PILL},socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON})})},theme_fourteen:{layout:o.wb.SIMPLE_RIGHT,navigationItems:p(p({},f.navigationItems),{},{ownerId:{visible:!0}})},theme_thirteen:{layout:o.wb.SIMPLE_RIGHT,socialLinksLocation:o.BO.INLINE_STICK_TO_BOTTOM,navigationItems:p(p({},f.navigationItems),{},{ownerId:{visible:!0},button:{style:o.Vc.UNDERLINE_SMALL},socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON})})},theme_twelve:{layout:o.wb.SIMPLE_LEFT},theme_eleven:{layout:o.wb.SIMPLE_MIDDLE,navigationItems:p(p({},f.navigationItems),{},{button:{style:o.Vc.UNDERLINE_SMALL}})},theme_ten:{layout:o.wb.SIDES,socialLinksLocation:o.BO.NAVBAR,fill:!1,navigationItems:p(p({},f.navigationItems),{},{button:p(p({},f.navigationItems.button),{},{style:o.Vc.UNDERLINE_REGULAR}),socialLink:p(p({},f.navigationItems.socialLink),{},{style:o.Sb.UNDERLINE_REGULAR})})},profile_theme_nine:{type:o.m3.BELOW,socialLinksLocation:o.BO.INLINE_ABOVE_TEXT,navigationItems:p(p({},f.navigationItems),{},{socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_PILL})})},theme_eight:{layout:o.wb.SIMPLE_RIGHT,navigationItems:p(p({},f.navigationItems),{},{ownerId:{visible:!0},button:p(p({},f.navigationItems.button),{},{style:o.Vc.UNDERLINE_REGULAR})})},theme_seven:{layout:o.wb.LINE_MIDDLE,socialLinksLocation:o.BO.INLINE_BELOW_TEXT,navigationItems:p(p({},f.navigationItems),{},{button:p({},f.navigationItems.button),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_SHARP})})},theme_six:{layout:o.wb.SIMPLE_MIDDLE,socialLinksLocation:o.BO.OFF_GRID,navigationItems:p(p({},f.navigationItems),{},{socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_SHARP})})},theme_five:{layout:o.wb.SIDES,fill:!1,socialLinksLocation:o.BO.NAVBAR},profile_theme_four:{socialLinksLocation:o.BO.INLINE_BELOW_TEXT,navigationItems:p(p({},f.navigationItems),{},{button:p({},f.navigationItems.button),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_PILL})})},theme_three:{layout:o.wb.MIDDLE,socialLinksLocation:o.BO.INLINE_BELOW_TEXT,navigationItems:p(p({},f.navigationItems),{},{button:p({},f.navigationItems.button),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_PILL_FILL})})},theme_two:{layout:o.wb.SIMPLE_LEFT,type:o.m3.INLINE_BELOW_TEXT,socialLinksLocation:o.BO.NAVBAR,navigationItems:p(p({},f.navigationItems),{},{button:p(p({},f.navigationItems.button),{},{style:o.Vc.BOX_PILL_FILL}),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_PILL_FILL})})},theme_one:{layout:o.wb.SIMPLE_LEFT,type:o.m3.INLINE_BELOW_TEXT,socialLinksLocation:o.BO.NAVBAR,navigationItems:p(p({},f.navigationItems),{},{button:p(p({},f.navigationItems.button),{},{style:o.Vc.BOX_SHARP}),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_SHARP})})},profile_theme_default:{socialLinksLocation:o.BO.INLINE_BELOW_TEXT,navigationItems:p(p({},f.navigationItems),{},{button:p(p({},f.navigationItems.button),{},{style:o.Vc.UNDERLINE_REGULAR}),socialLink:p(p({},f.navigationItems.socialLink),{},{type:o.tD.ICON,style:o.Sb.BOX_PILL})})}};function g(e){return g="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w={text_position:"below",text_alignment:"left",weight:"weight-light",style:"H2"},S={theme_eighteen:y(y({},w),{},{weight:"weight-medium"}),theme_seventeen:y(y({},w),{},{text_position:"in_line",text_alignment:"center"}),theme_sixteen:y({},w),theme_fourteen:y(y({},w),{},{weight:"weight-medium",style:"H1"}),theme_thirteen:y(y({},w),{},{text_position:"in_line",text_alignment:"center",weight:"weight-medium"}),theme_twelve:y({},w),theme_eleven:y(y({},w),{},{text_position:"no_text",weight:"weight-medium",style:"H1"}),theme_ten:y(y({},w),{},{text_position:"above",weight:"weight-medium"}),profile_theme_nine:y(y({},w),{},{text_alignment:"center",weight:"weight-medium",style:"H3"}),theme_eight:y(y({},w),{},{text_position:"above",style:"H1"}),theme_seven:y(y({},w),{},{text_position:"in_line",text_alignment:"center",style:"p1"}),theme_six:y({},w),theme_five:y(y({},w),{},{text_position:"above",weight:"weight-medium",style:"H1"}),profile_theme_four:y(y({},w),{},{weight:"weight-medium",style:"H3"}),theme_three:y(y({},w),{},{weight:"weight-medium",style:"H1"}),theme_two:y(y({},w),{},{weight:"weight-medium",style:"H1"}),theme_one:y(y({},w),{},{text_position:"no_text"}),profile_theme_default:y(y({},w),{},{text_position:"above",style:"H3"})};function _(e){return _="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},_(e)}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E={showLine:!0,textAlign:"left",socialIcons:!1},x={theme_eighteen:A(A({},E),{},{showLine:!1,socialIcons:!0}),theme_seventeen:A(A({},E),{},{showLine:!1,textAlign:"center"}),theme_sixteen:A({},E),theme_fourteen:A({},E),theme_thirteen:A({},E),theme_twelve:A({},E),theme_eleven:A({},E),theme_ten:A({},E),profile_theme_nine:A({},E),theme_eight:A({},E),theme_seven:A({},E),theme_six:A({},E),theme_five:A({},E),profile_theme_four:A({},E),theme_three:A({},E),theme_two:A({},E),theme_one:A({},E),profile_theme_default:A({},E)};function C(e){return C="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},C(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=C(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=C(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==C(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P={defaultUserImageUrl:null},N={theme_eighteen:I({},P),theme_seventeen:I({},P),theme_sixteen:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_sixteen-user-image.webp"}),theme_fourteen:I({},P),theme_thirteen:I({},P),theme_twelve:I({},P),theme_eleven:I({},P),theme_ten:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_ten-user-image.webp"}),profile_theme_nine:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_nine-user-image.webp"}),theme_eight:I({},P),theme_seven:I({},P),theme_six:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_six-user-image.webp"}),theme_five:I({},P),profile_theme_four:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_four-user-image.webp"}),theme_three:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_three-user-image.webp"}),theme_two:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_two-user-image.webp"}),theme_one:I({},P),profile_theme_default:I(I({},P),{},{defaultUserImageUrl:"/template-default-images/user-images/theme_default-user-image.webp"})};function D(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"Your name";return{theme_eighteen:"&lt;h1&gt;Iâ€™m ".concat(e,", UX designer&lt;/h1&gt;&lt;p&gt;Contact me here if you want to collaborate or check my work down below.&lt;/p&gt;"),theme_seventeen:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Product designer and researcher&lt;/p&gt;"),theme_sixteen:"&lt;p&gt;".concat(e,", product designer&lt;/p&gt;&lt;h1&gt;Transforming user experiences with intuitive design&lt;/h1&gt;"),theme_fourteen:"&lt;h1&gt;".concat(e,", UX professional based in Berlin, Germany&lt;/h1&gt;&lt;p&gt;A multidisciplinary designer with expertise in branding, UX/Ul and Product design. I developed my skills working on various projects from small studios through to award-winning agencies, startups and software houses.&lt;/p&gt;"),theme_thirteen:"&lt;h1&gt;A product designer with a mission to design memorable products that make life easier.&lt;/h1&gt;",theme_twelve:"&lt;h1&gt;Iâ€™m ".concat(e,", a UX designer from Paris, creating interfaces for Facebook.&lt;/h1&gt;&lt;p&gt;Contact me here if you want to collaborate or check my work down below.&lt;/p&gt;"),theme_eleven:"&lt;p&gt;Hey there!&lt;/p&gt;&lt;h1&gt;Iâ€™m ".concat(e,", an interaction designer based in Buenos Aires.&lt;/h1&gt;"),theme_ten:"&lt;p&gt;Hey there!&lt;/p&gt;&lt;h1&gt;Iâ€™m ".concat(e,", a UX designer based in NYC.&lt;/h1&gt;"),profile_theme_nine:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;"),theme_eight:"&lt;h1&gt;Hi, Iâ€™m ".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;"),theme_seven:"&lt;h1&gt;Iâ€™m ".concat(e,", senior interaction designer based in Toronto.&lt;/h1&gt;"),theme_six:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;"),theme_five:"&lt;h1&gt;Iâ€™m ".concat(e,", junior product designer based in Brooklyn.&lt;/h1&gt;"),profile_theme_four:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;"),theme_three:"&lt;h1&gt;Hey, Iâ€™m ".concat(e,".&lt;/h1&gt;&lt;p&gt;Hey there, Iâ€™m a UX Architect. My biggest passion is utilizing my analytical and creative sides to deliver digital sites from concepts to the launch itself.&lt;/p&gt;"),theme_two:"&lt;h1&gt;".concat(e,", junior designer based in Brooklyn.&lt;/h1&gt;"),theme_one:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;"),profile_theme_default:"&lt;h1&gt;".concat(e,"&lt;/h1&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;")}}function R(e){return R="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},R(e)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=R(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==R(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){return[{name:"theme_eighteen",title:"Tesler",order:18,hidden:!1,newTheme:!0,image:"template_18-tesler.webp",fonts:["Inter","Inter"],introText:D(e).theme_eighteen,designSettings:r.A.getDesignSettingsByTheme("theme_eighteen"),settings:{projectTitle:{visibility:"visible",placement:"on-thumbnail",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_eighteen",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#0B0C0D",hoverColor:"#F9FAFB",navButtonColor:"#8F94A3",navShadow:!1},logo:{image:{type:"Image",url:"/template-default-images/logos/theme_18-logo.svg",width:40,height:40},visible:!0},defaultThumbnailData:F(F({},i),s.theme_eighteen),thumbnailLayout:o.v6.LARGE_BLOCK,ctaStyle:F(F({},l),c.theme_eighteen),hero:a.theme_eighteen,navigation:F(F({},f),m.theme_eighteen),dividerLineSettings:S.theme_eighteen,footerSettings:x.theme_eighteen,defaultImages:N.theme_eighteen}},{name:"theme_seventeen",title:"Aurora",order:17,hidden:!1,newTheme:!0,image:"template_17-aurora.webp",fonts:["Merchant","Open Sans"],introText:D(e).theme_seventeen,designSettings:r.A.getDesignSettingsByTheme("theme_seventeen"),settings:{projectTitle:{visibility:"hover",placement:"on-thumbnail",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_seventeen",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#F5F4FF",hoverColor:"#3D2A8F",navButtonColor:"#33303F",navShadow:!1},defaultThumbnailData:F(F({},i),s.theme_seventeen),thumbnailLayout:o.v6.LARGE_BLOCK_MIXED,ctaStyle:F(F({},l),c.theme_seventeen),hero:a.theme_seventeen,navigation:F(F({},f),m.theme_seventeen),dividerLineSettings:S.theme_seventeen,footerSettings:x.theme_seventeen,defaultImages:N.theme_seventeen}},{name:"theme_sixteen",title:"Norman",order:16,hidden:!1,newTheme:!0,image:"template_16-norman.webp",fonts:["Outfit","Poppins"],introText:D(e).theme_sixteen,designSettings:r.A.getDesignSettingsByTheme("theme_sixteen"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!0,theme:"theme_sixteen",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_sixteen),thumbnailLayout:o.v6.SMALL_BLOCK_SLIDED,ctaStyle:F(F({},l),c.theme_sixteen),hero:a.theme_sixteen,navigation:F(F({},f),m.theme_sixteen),dividerLineSettings:S.theme_sixteen,footerSettings:x.theme_sixteen,defaultImages:N.theme_sixteen}},{name:"theme_fourteen",title:"Jakob",order:15,newTheme:!1,image:"template_14-jakob.webp",fonts:["Bricolage Grotesque","Inter"],introText:D(e).theme_fourteen,designSettings:r.A.getDesignSettingsByTheme("theme_fourteen"),settings:{projectTitle:{visibility:"visible",placement:"left",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_fourteen",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_fourteen),thumbnailLayout:o.v6.SMALL_BLOCK_TEXT,ctaStyle:F(F({},l),c.theme_fourteen),hero:a.theme_fourteen,navigation:F(F({},f),m.theme_fourteen),dividerLineSettings:S.theme_fourteen,footerSettings:x.theme_fourteen,defaultImages:N.theme_fourteen}},{name:"theme_thirteen",title:"Nelson",order:5,newTheme:!1,image:"template_13-nelson.webp",fonts:["Albert Sans","Albert Sans"],introText:D(e).theme_thirteen,designSettings:r.A.getDesignSettingsByTheme("theme_thirteen"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_thirteen",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_thirteen),thumbnailLayout:o.v6.LARGE_BLOCK_MIXED,ctaStyle:F(F({},l),c.theme_thirteen),hero:a.theme_thirteen,navigation:F(F({},f),m.theme_thirteen),dividerLineSettings:S.theme_thirteen,footerSettings:x.theme_thirteen,defaultImages:N.theme_thirteen},socialLinks:[{type:"LinkedIn",url:"https://www.linkedin.com"},{type:"Dribbble",url:"https://dribbble.com"},{type:"Behance",url:"https://www.behance.net"},{type:"Facebook",url:"https://www.facebook.com"}]},{name:"theme_twelve",title:"Otis",order:14,newTheme:!1,image:"template_12-otis.webp",fonts:["General Sans","Gambetta"],introText:D(e).theme_twelve,designSettings:r.A.getDesignSettingsByTheme("theme_twelve"),settings:{projectTitle:{visibility:"hidden",placement:"on-thumbnail",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_twelve",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_twelve),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.theme_twelve),hero:a.theme_twelve,navigation:F(F({},f),m.theme_twelve),dividerLineSettings:S.theme_twelve,footerSettings:x.theme_twelve,defaultImages:N.theme_twelve}},{name:"theme_eleven",title:"Bauhaus",order:12,image:"template_11-bauhaus.webp",fonts:["DM Sans","DM Sans"],introText:D(e).theme_eleven,designSettings:r.A.getDesignSettingsByTheme("theme_eleven"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_eleven",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#F7F6F2",navButtonColor:"#FF3637",hoverColor:"#ff4f50"},defaultThumbnailData:F(F({},i),s.theme_eleven),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.theme_eleven),hero:a.theme_eleven,navigation:F(F({},f),m.theme_eleven),dividerLineSettings:S.theme_eleven,footerSettings:x.theme_eleven,defaultImages:N.theme_eleven}},{name:"theme_ten",title:"Orielle",order:11,image:"template_10-orielle.webp",fonts:["Space Grotesk","Work Sans"],introText:D(e).theme_ten,designSettings:r.A.getDesignSettingsByTheme("theme_ten"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!0,theme:"theme_ten",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_ten),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.theme_ten),hero:a.theme_ten,navigation:F(F({},f),m.theme_ten),dividerLineSettings:S.theme_ten,footerSettings:x.theme_ten,defaultImages:N.theme_ten}},{name:"profile_theme_nine",title:"Anthra",order:2,image:"template_09-anthra.webp",fonts:["Roundo","Karla"],introText:D(e).profile_theme_nine,designSettings:r.A.getDesignSettingsByTheme("theme_nine"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_nine",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.profile_theme_nine),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.profile_theme_nine),hero:a.profile_theme_nine,navigation:F(F({},f),m.profile_theme_nine),dividerLineSettings:S.profile_theme_nine,footerSettings:x.profile_theme_nine,defaultImages:N.profile_theme_nine}},{name:"theme_eight",title:"Nominee",order:13,image:"template_08-nominee.webp",fonts:["Inter","Inter"],introText:D(e).theme_eight,designSettings:r.A.getDesignSettingsByTheme("theme_eight"),settings:{projectTitle:{visibility:"hidden",placement:null,alignment:{horizontal:null,vertical:null},color:"dark"},showProfilePicture:!1,theme:"theme_eight",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_eight),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.theme_eight),hero:a.theme_eight,navigation:F(F({},f),m.theme_eight),dividerLineSettings:S.theme_eight,footerSettings:x.theme_eight,defaultImages:N.theme_eight}},{name:"theme_seven",title:"Uncurled",order:10,image:"template_07-uncurled.webp",fonts:["Gambetta","Inter"],introText:D(e).theme_seven,designSettings:r.A.getDesignSettingsByTheme("theme_seven"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_seven",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_seven),thumbnailLayout:o.v6.LARGE_BLOCK,ctaStyle:F(F({},l),c.theme_seven),hero:a.theme_seven,navigation:F(F({},f),m.theme_seven),dividerLineSettings:S.theme_seven,footerSettings:x.theme_seven,defaultImages:N.theme_seven}},{name:"theme_six",title:"Poster",order:9,image:"template_06-poster.webp",fonts:["STIX Two Text","Switzer"],introText:D(e).theme_six,designSettings:r.A.getDesignSettingsByTheme("theme_six"),settings:{projectTitle:{visibility:"hidden",placement:null,alignment:{horizontal:null,vertical:null},color:"dark"},showProfilePicture:!0,theme:"theme_six",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_six),thumbnailLayout:o.v6.LARGE_BLOCK_MIXED,ctaStyle:F(F({},l),c.theme_six),hero:a.theme_six,navigation:F(F({},f),m.theme_six),dividerLineSettings:S.theme_six,footerSettings:x.theme_six,defaultImages:N.theme_six}},{name:"theme_five",title:"Panorama",order:8,image:"template_05-panorama.webp",fonts:["ClashDisplay","Inter"],introText:D(e).theme_five,designSettings:r.A.getDesignSettingsByTheme("theme_five"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_five",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_five),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.theme_five),hero:a.theme_five,navigation:F(F({},f),m.theme_five),dividerLineSettings:S.theme_five,footerSettings:x.theme_five,defaultImages:N.theme_five}},{name:"profile_theme_four",title:"Cubic",order:4,image:"template_04-cubic.webp",fonts:["Outfit","Poppins"],introText:D(e).profile_theme_four,designSettings:r.A.getDesignSettingsByTheme("theme_four"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_four",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.profile_theme_four),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.profile_theme_four),hero:a.profile_theme_four,navigation:F(F({},f),m.profile_theme_four),dividerLineSettings:S.profile_theme_four,footerSettings:x.profile_theme_four,defaultImages:N.profile_theme_four}},{name:"theme_three",title:"Axis",order:6,image:"template_03-axis.webp",fonts:["ClashDisplay","Inter"],introText:D(e).theme_three,designSettings:r.A.getDesignSettingsByTheme("theme_three"),settings:{projectTitle:{visibility:"hover",placement:"on-thumbnail",alignment:{horizontal:"center",vertical:"middle"},color:"dark"},showProfilePicture:!0,theme:"theme_three",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_three),thumbnailLayout:o.v6.LARGE_BLOCK,ctaStyle:F(F({},l),c.theme_three),hero:a.theme_three,navigation:F(F({},f),m.theme_three),dividerLineSettings:S.theme_three,footerSettings:x.theme_three,defaultImages:N.theme_three}},{name:"theme_two",title:"Alaine",order:3,image:"template_02-alaine.webp",fonts:["Roundo","Karla"],introText:D(e).theme_two,designSettings:r.A.getDesignSettingsByTheme("theme_two"),settings:{projectTitle:{visibility:"visible",placement:"right",alignment:{horizontal:"left",vertical:"middle"},color:"dark"},showProfilePicture:!0,theme:"theme_two",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_two),thumbnailLayout:o.v6.MEDIUM_BLOCK_TEXT,ctaStyle:F(F({},l),c.theme_two),hero:a.theme_two,navigation:F(F({},f),m.theme_two),dividerLineSettings:S.theme_two,footerSettings:x.theme_two,defaultImages:N.theme_two}},{name:"theme_one",title:"Twee",order:7,image:"template_01-twee.webp",fonts:["IBM Plex Mono","IBM Plex Sans"],introText:D(e).theme_one,designSettings:r.A.getDesignSettingsByTheme("theme_one"),settings:{projectTitle:{visibility:"visible",placement:"on-thumbnail",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"theme_one",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_one),thumbnailLayout:o.v6.LARGE_BLOCK,ctaStyle:F(F({},l),c.theme_one),hero:a.theme_one,navigation:F(F({},f),m.theme_one),dividerLineSettings:S.theme_one,footerSettings:x.theme_one,defaultImages:N.theme_one}},{name:"profile_theme_default",title:"Baze",order:1,image:"template_00-baze.webp",fonts:["Bricolage Grotesque","Karla"],introText:D(e).profile_theme_default,designSettings:r.A.getDesignSettingsByTheme("theme_default"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"left",vertical:"center"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_default",tileDisplayMode:"small-under",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.profile_theme_default),thumbnailLayout:o.v6.SMALL_BLOCK,ctaStyle:F(F({},l),c.profile_theme_default),hero:a.profile_theme_default,navigation:F(F({},f),m.profile_theme_default),dividerLineSettings:S.profile_theme_default,footerSettings:x.profile_theme_default,defaultImages:N.profile_theme_default}},{name:"profile_theme_one",title:"Twee",hidden:!0,image:"template_01.jpg",fonts:{headline:"Montserrat",text:"Noto Serif"},designSettings:r.A.getDesignSettingsByTheme("theme_one"),settings:{projectTitle:{visibility:"visible",placement:"below",alignment:{horizontal:"center",vertical:"center"},color:"dark"},showProfilePicture:!1,theme:"profile_theme_one",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_one),ctaStyle:F(F({},l),c.theme_one),hero:a.theme_one,navigation:F(F({},f),m.theme_one),dividerLineSettings:S.theme_one,footerSettings:x.theme_one}},{name:"profile_theme_two",title:"Alaine",hidden:!0,image:"template_02.jpg",fonts:{headline:"Work Sans",text:"Work Sans"},designSettings:r.A.getDesignSettingsByTheme("theme_two"),settings:{projectTitle:{visibility:"visible",placement:"alternating",alignment:{horizontal:"left",vertical:"middle"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_two",tileDisplayMode:"medium-alternating",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_two),ctaStyle:F(F({},l),c.theme_two),hero:a.theme_two,navigation:F(F({},f),m.theme_two),dividerLineSettings:S.theme_two,footerSettings:x.theme_two}},{name:"profile_theme_three",title:"Axis",hidden:!0,image:"template_03.jpg",fonts:{headline:"Raleway",text:"Mulish"},designSettings:r.A.getDesignSettingsByTheme("theme_three"),settings:{projectTitle:{visibility:"visible",placement:"on-thumbnail",alignment:{horizontal:"left",vertical:"middle"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_three",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_three),ctaStyle:F(F({},l),c.theme_three),hero:a.theme_three,navigation:F(F({},f),m.theme_three),dividerLineSettings:S.theme_three,footerSettings:x.theme_three},introText:"&lt;h1&gt;".concat(e||"Your name","&lt;/h1&gt;&lt;h2&gt;UX designer&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Iâ€™m a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;")},{name:"profile_theme_five",title:"Panorama",hidden:!0,image:"template_05.jpg",fonts:{headline:"Muli",text:"Muli"},designSettings:r.A.getDesignSettingsByTheme("theme_five"),settings:{projectTitle:{visibility:"hidden",placement:null,alignment:{horizontal:null,vertical:null},color:"light"},showProfilePicture:!0,theme:"profile_theme_five",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_five),ctaStyle:F(F({},l),c.theme_five),hero:a.theme_five,navigation:F(F({},f),m.theme_five),dividerLineSettings:S.theme_five,footerSettings:x.theme_five}},{name:"profile_theme_six",title:"Poster",hidden:!0,image:"template_06.jpg",fonts:{headline:"Gothic A1",text:"Gothic A1"},designSettings:r.A.getDesignSettingsByTheme("theme_six"),settings:{projectTitle:{visibility:"visible",placement:"left",alignment:{horizontal:"left",vertical:"middle"},color:"dark"},showProfilePicture:!0,theme:"profile_theme_six",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_six),ctaStyle:F(F({},l),c.theme_six),hero:a.theme_six,navigation:F(F({},f),m.theme_six),dividerLineSettings:S.theme_six,footerSettings:x.theme_six},introText:"&lt;h2&gt;Hello. My name is ".concat(e||""," and I am a UX designer. Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/h2&gt;")},{name:"profile_theme_seven",title:"Uncurled",hidden:!0,image:"template_07.jpg",fonts:{headline:"Poppins",text:"IBM Plex Mono"},designSettings:r.A.getDesignSettingsByTheme("theme_seven"),settings:{projectTitle:{visibility:"visible",placement:"on-thumbnail",alignment:{horizontal:"right",vertical:"middle"},color:"dark"},showProfilePicture:!1,theme:"profile_theme_seven",tileDisplayMode:"large",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_seven),ctaStyle:F(F({},l),c.theme_seven),hero:a.theme_seven,navigation:F(F({},f),m.theme_seven),dividerLineSettings:S.theme_seven,footerSettings:x.theme_seven}},{name:"profile_theme_eight",title:"Nominee",hidden:!0,image:"template_08.jpg",fonts:{headline:"Mulish",text:"Mulish"},designSettings:r.A.getDesignSettingsByTheme("theme_eight"),settings:{projectTitle:{visibility:"hidden",placement:null,alignment:{horizontal:null,vertical:null},color:"dark"},showProfilePicture:!1,theme:"profile_theme_eight",tileDisplayMode:"small",defaultCaseStudyValues:{backgroundColor:"#FFFFFF"},defaultThumbnailData:F(F({},i),s.theme_eight),ctaStyle:F(F({},l),c.theme_eight),hero:a.theme_eight,navigation:F(F({},f),m.theme_eight),dividerLineSettings:S.theme_eight,footerSettings:x.theme_eight},introText:"&lt;h1&gt;Hi there! Iâ€™m ".concat(e||"Your name"," ðŸ‘‹&lt;/h1&gt;&lt;p&gt;Iâ€™m passionate about creating usable digital products. I have worked with incredibly talented people across different companies.&lt;/p&gt;")}].sort((function(e,t){var n=e.order;return t.order-n}))}},34120:(e,t,n)=&gt;{"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}n.d(t,{AG:()=&gt;a,Bt:()=&gt;u,LX:()=&gt;x,Nd:()=&gt;S,Se:()=&gt;s,ZC:()=&gt;c,_E:()=&gt;f,aX:()=&gt;b,gz:()=&gt;h,h5:()=&gt;i,lS:()=&gt;w,mi:()=&gt;d});var i=Object.freeze({ID:"graphite",NAME:"Graphite",IMAGE:"graphite",TYPE:"light",COLORS:{HEADING:"#000000",PARAGRAPH:"#787878",NAVIGATION:"#787878",NAVIGATION_HOVER:"#000000",BUTTON_FILL:"#505050",BUTTON_TEXT:"#FFFFFF",HYPERLINK:"#4C4CFF",BACKGROUND:"#FFFFFF",FOREGROUND:"#EBEBEB",DIVIDER_LINE:"#C0C0C0"}}),s=Object.freeze({ID:"coal",NAME:"Coal",IMAGE:"coal",TYPE:"light",COLORS:{HEADING:"#000000",PARAGRAPH:"#000000",NAVIGATION:"#000000",NAVIGATION_HOVER:"#787878",BUTTON_FILL:"#000000",BUTTON_TEXT:"#FFFFFF",HYPERLINK:"#4C4CFF",BACKGROUND:"#FFFFFF",FOREGROUND:"#E1E1E1",DIVIDER_LINE:"#000000"}}),a=Object.freeze({ID:"asphalt",NAME:"Asphalt",IMAGE:"asphalt",TYPE:"light",COLORS:{HEADING:"#1E1C1B",PARAGRAPH:"#727272",NAVIGATION:"#727272",NAVIGATION_HOVER:"#1E1C1B",BUTTON_FILL:"#D5D1CF",BUTTON_TEXT:"#1E1C1B",HYPERLINK:"#4C4CFF",BACKGROUND:"#F1F1F1",FOREGROUND:"#FFFFFF",DIVIDER_LINE:"#D4D4D4"}}),l=Object.freeze({ID:"concrete",NAME:"Concrete",IMAGE:"concrete",TYPE:"light",COLORS:{HEADING:"#646464",PARAGRAPH:"#646464",NAVIGATION:"#646464",NAVIGATION_HOVER:"#646464",BUTTON_FILL:"#646464",BUTTON_TEXT:"#D7D7D7",HYPERLINK:"#3A3AE4",BACKGROUND:"#D7D7D7",FOREGROUND:"#C3C3C3",DIVIDER_LINE:"#646464"}}),c=Object.freeze({ID:"indigo",NAME:"Indigo",IMAGE:"indigo",TYPE:"light",COLORS:{HEADING:"#3A405A",PARAGRAPH:"#848292",NAVIGATION:"#848292",NAVIGATION_HOVER:"#3A405A",BUTTON_FILL:"#3A405A",BUTTON_TEXT:"#F8E9DD",HYPERLINK:"#2A304A",BACKGROUND:"#F8E9DD",FOREGROUND:"#DACEC8",DIVIDER_LINE:"#ACA5A9"}}),u=Object.freeze({ID:"chestnut",NAME:"Chestnut",IMAGE:"chestnut",TYPE:"light",COLORS:{HEADING:"#3D312A",PARAGRAPH:"#7C7069",NAVIGATION:"#7C7069",NAVIGATION_HOVER:"#3D312A",BUTTON_FILL:"#D7C4BA",BUTTON_TEXT:"#3D312A",HYPERLINK:"#3D312A",BACKGROUND:"#E8DDD6",FOREGROUND:"#CDC1BB",DIVIDER_LINE:"#A49891"}}),d=Object.freeze({ID:"caramel",NAME:"Caramel",IMAGE:"caramel",TYPE:"light",COLORS:{HEADING:"#5C5651",PARAGRAPH:"#B58D56",NAVIGATION:"#B58D56",NAVIGATION_HOVER:"#5C5651",BUTTON_FILL:"#B58D56",BUTTON_TEXT:"#F5F4EB",HYPERLINK:"#5C5651",BACKGROUND:"#F5F4EB",FOREGROUND:"#E2E0D8",DIVIDER_LINE:"#B58D56"}}),p=Object.freeze({ID:"stamp",NAME:"Stamp",IMAGE:"stamp",TYPE:"light",COLORS:{HEADING:"#2D1B4D",PARAGRAPH:"#2D1B4D",NAVIGATION:"#2D1B4D",NAVIGATION_HOVER:"#2D1B4D",BUTTON_FILL:"#B58D56",BUTTON_TEXT:"#2D1B4D",HYPERLINK:"#A593C5",BACKGROUND:"#E1EFE6",FOREGROUND:"#C4CDCE",DIVIDER_LINE:"#2D1B4D"}}),h=Object.freeze({ID:"borealis",NAME:"Borealis",IMAGE:"borealis",TYPE:"light",COLORS:{HEADING:"#2C2669",PARAGRAPH:"#817D93",NAVIGATION:"#817D93",NAVIGATION_HOVER:"#2C2669",BUTTON_FILL:"#E5E4F3",BUTTON_TEXT:"#2C2669",HYPERLINK:"#2C2669",BACKGROUND:"#F5F4FF",FOREGROUND:"#D5D3E7",DIVIDER_LINE:"#A5A2C3"}}),f=Object.freeze({ID:"crimson",NAME:"Crimson",IMAGE:"crimson",TYPE:"light",COLORS:{HEADING:"#FF000F",PARAGRAPH:"#FF000F",NAVIGATION:"#FF000F",NAVIGATION_HOVER:"#FF000F",BUTTON_FILL:"#FF000F",BUTTON_TEXT:"#FF000F",HYPERLINK:"#FF000F",BACKGROUND:"#FFF3E5",FOREGROUND:"#FFCCC3",DIVIDER_LINE:"#FF000F"}}),m=Object.freeze({ID:"taupe",NAME:"Taupe",IMAGE:"taupe",TYPE:"light",COLORS:{HEADING:"#534D46",PARAGRAPH:"#6C6760",NAVIGATION:"#6C6760",BUTTON_FILL:"#9C886F",BUTTON_TEXT:"#F6F6F6",HYPERLINK:"#9C886F",BACKGROUND:"#F6F5F3",FOREGROUND:"#E0DDD6",DIVIDER_LINE:"#6C6760"}}),g=Object.freeze({ID:"blueberry",NAME:"Blueberry",IMAGE:"blueberry",TYPE:"light",COLORS:{HEADING:"#213BC8",PARAGRAPH:"#383830",NAVIGATION:"#383830",BUTTON_FILL:"#213BC8",BUTTON_TEXT:"#F6F6F6",HYPERLINK:"#213BC8",BACKGROUND:"#F5F5F4",FOREGROUND:"#DDDDDA",DIVIDER_LINE:"#383830"}}),v=Object.freeze({ID:"clementine",NAME:"Clementine",IMAGE:"clementine",TYPE:"light",COLORS:{HEADING:"#BD7920",PARAGRAPH:"#4E4D4B",NAVIGATION:"#4E4D4B",BUTTON_FILL:"#BD7920",BUTTON_TEXT:"#F6F6F6",HYPERLINK:"#BD7920",BACKGROUND:"#F4EFE7",FOREGROUND:"#E6DCCB",DIVIDER_LINE:"#4E4D4B"}}),y=Object.freeze({ID:"olive",NAME:"Olive",IMAGE:"olive",TYPE:"light",COLORS:{HEADING:"#33332A",PARAGRAPH:"#494946",NAVIGATION:"#494946",BUTTON_FILL:"#4C5334",BUTTON_TEXT:"#F6F6F6",HYPERLINK:"#4C5334",BACKGROUND:"#E8E9E4",FOREGROUND:"#CFD1C7",DIVIDER_LINE:"#494946"}}),b=Object.freeze({ID:"obsidian",NAME:"Obsidian",IMAGE:"obsidian",TYPE:"dark",COLORS:{HEADING:"#FFFFFF",PARAGRAPH:"#B9B9B9",NAVIGATION:"#B9B9B9",NAVIGATION_HOVER:"#FFFFFF",BUTTON_FILL:"#313030",BUTTON_TEXT:"#FFFFFF",HYPERLINK:"#7575FF",BACKGROUND:"#060606",FOREGROUND:"#101010",DIVIDER_LINE:"#5A5A5A"}}),w=Object.freeze({ID:"abyss",NAME:"Abyss",IMAGE:"abyss",TYPE:"dark",COLORS:{HEADING:"#FFFFFF",PARAGRAPH:"#FFFFFF",NAVIGATION:"#FFFFFF",NAVIGATION_HOVER:"#FFFFFF",BUTTON_FILL:"#FFFFFF",BUTTON_TEXT:"#000000",HYPERLINK:"#7575FF",BACKGROUND:"#000000",FOREGROUND:"#141414",DIVIDER_LINE:"#FFFFFF"}}),S=Object.freeze({ID:"granite",NAME:"Granite",IMAGE:"granite",TYPE:"dark",COLORS:{HEADING:"#FFFFFF",PARAGRAPH:"#FFFFFF",NAVIGATION:"#FFFFFF",NAVIGATION_HOVER:"#FFFFFF",BUTTON_FILL:"#363636",BUTTON_TEXT:"#FFFFFF",HYPERLINK:"#3B89FF",BACKGROUND:"#171A1C",FOREGROUND:"#0A0A0A",DIVIDER_LINE:"#5A5D5E"}}),_=Object.freeze({ID:"eclipse",NAME:"Eclipse",IMAGE:"eclipse",TYPE:"dark",COLORS:{HEADING:"#E9FF72",PARAGRAPH:"#A3A3A3",NAVIGATION:"#A3A3A3",NAVIGATION_HOVER:"#E9FF72",BUTTON_FILL:"#E9FF72",BUTTON_TEXT:"#0A0A0A",HYPERLINK:"#E9FF72",BACKGROUND:"#0A0A0A",FOREGROUND:"#1C1E12",DIVIDER_LINE:"#A3A3A3"}}),k=Object.freeze({ID:"spaceGrey",NAME:"Space grey",IMAGE:"space-grey",TYPE:"dark",COLORS:{HEADING:"#ECECEE",PARAGRAPH:"#A0A0A8",NAVIGATION:"#A0A0A8",BUTTON_FILL:"#ECECEE",BUTTON_TEXT:"#0B0B0D",HYPERLINK:"#ECECEE",BACKGROUND:"#0B0B0D",FOREGROUND:"#232329",DIVIDER_LINE:"#494946"}}),A=Object.freeze({ID:"neon",NAME:"Neon",IMAGE:"neon",TYPE:"dark",COLORS:{HEADING:"#F2F3ED",PARAGRAPH:"#BDC3C1",NAVIGATION:"#BDC3C1",BUTTON_FILL:"#D9E783",BUTTON_TEXT:"#131A18",HYPERLINK:"#D9E783",BACKGROUND:"#131A18",FOREGROUND:"#293834",DIVIDER_LINE:"#BDC3C1"}}),T=Object.freeze({ID:"purpleHaze",NAME:"Purple haze",IMAGE:"purple-haze",TYPE:"dark",COLORS:{HEADING:"#F0F0F8",PARAGRAPH:"#AAAFC9",NAVIGATION:"#AAAFC9",BUTTON_FILL:"#5A53AB",BUTTON_TEXT:"#F0F0F8",HYPERLINK:"#5A53AB",BACKGROUND:"#11121B",FOREGROUND:"#25283B",DIVIDER_LINE:"#AAAFC9"}}),E=Object.freeze({ID:"moonlight",NAME:"Moonlight",IMAGE:"moonlight",TYPE:"dark",COLORS:{HEADING:"#F6E4BF",PARAGRAPH:"#CDC9C1",NAVIGATION:"#CDC9C1",BUTTON_FILL:"#F6E4BF",BUTTON_TEXT:"#1F2532",HYPERLINK:"#F6E4BF",BACKGROUND:"#1F2532",FOREGROUND:"#333D52",DIVIDER_LINE:"#CDC9C1"}});function x(){return[].concat(r([i,s,a,l,c,u,d,p,h,f,m,g,v,y]),r([b,w,S,_,k,A,T,E]))}},26192:(e,t,n)=&gt;{"use strict";n.d(t,{GW:()=&gt;y,Gq:()=&gt;p,Ll:()=&gt;b,Mx:()=&gt;i,SH:()=&gt;g,Tk:()=&gt;s,_r:()=&gt;a,jv:()=&gt;m,ll:()=&gt;l,pV:()=&gt;d,pi:()=&gt;w,rq:()=&gt;r,sU:()=&gt;h,t_:()=&gt;o});var r=Object.freeze({ID:1,FONTS:{HEADING:"Space Grotesk",PARAGRAPH_AND_NAV:"Work Sans"},WEIGHTS:{HEADING:500,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),o=Object.freeze({ID:2,FONTS:{HEADING:"Gambetta",PARAGRAPH_AND_NAV:"Inter"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),i=Object.freeze({ID:3,FONTS:{HEADING:"Albert Sans",PARAGRAPH_AND_NAV:"Albert Sans"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),s=Object.freeze({ID:4,FONTS:{HEADING:"Inter",PARAGRAPH_AND_NAV:"Inter"},WEIGHTS:{HEADING:700,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),a=Object.freeze({ID:5,FONTS:{HEADING:"Outfit",PARAGRAPH_AND_NAV:"Poppins"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),l=Object.freeze({ID:6,FONTS:{HEADING:"STIX Two Text",PARAGRAPH_AND_NAV:"Switzer"},WEIGHTS:{HEADING:500,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),c=Object.freeze({ID:7,FONTS:{HEADING:"Sora",PARAGRAPH_AND_NAV:"Work Sans"},WEIGHTS:{HEADING:300,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),u=Object.freeze({ID:8,FONTS:{HEADING:"Satoshi",PARAGRAPH_AND_NAV:"Satoshi"},WEIGHTS:{HEADING:500,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),d=Object.freeze({ID:9,FONTS:{HEADING:"DM Sans",PARAGRAPH_AND_NAV:"DM Sans"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),p=Object.freeze({ID:10,FONTS:{HEADING:"General Sans",PARAGRAPH_AND_NAV:"Gambetta"},WEIGHTS:{HEADING:600,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),h=Object.freeze({ID:11,FONTS:{HEADING:"Roundo",PARAGRAPH_AND_NAV:"Karla"},WEIGHTS:{HEADING:500,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),f=Object.freeze({ID:12,FONTS:{HEADING:"Caprasimo",PARAGRAPH_AND_NAV:"DM Mono"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),m=Object.freeze({ID:13,FONTS:{HEADING:"ClashDisplay",PARAGRAPH_AND_NAV:"Inter"},WEIGHTS:{HEADING:600,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),g=Object.freeze({ID:14,FONTS:{HEADING:"Bricolage Grotesque",PARAGRAPH_AND_NAV:"Karla"},WEIGHTS:{HEADING:700,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),v=Object.freeze({ID:16,FONTS:{HEADING:"Space Mono",PARAGRAPH_AND_NAV:"Space Grotesk"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),y=Object.freeze({ID:17,FONTS:{HEADING:"IBM Plex Mono",PARAGRAPH_AND_NAV:"IBM Plex Sans"},WEIGHTS:{HEADING:600,PARAGRAPH:400,NAVIGATION:400,BUTTON:600}}),b=Object.freeze({ID:18,FONTS:{HEADING:"Merchant",PARAGRAPH_AND_NAV:"Open Sans"},WEIGHTS:{HEADING:400,PARAGRAPH:400,NAVIGATION:600,BUTTON:600}});function w(){return[r,o,i,s,a,l,c,u,d,p,h,f,m,g,v,y,b]}},19082:(e,t,n)=&gt;{"use strict";n.d(t,{_4:()=&gt;D});var r=n(97073),o=n(20641);const i={name:"App",mounted:function(){this._keyListener=function(e){"KeyG"===e.code&amp;&amp;e.shiftKey&amp;&amp;e.ctrlKey&amp;&amp;(e.preventDefault(),this.$store.state.displayToggleGrid=!this.$store.state.displayToggleGrid)},document.addEventListener("keydown",this._keyListener.bind(this))},beforeDestroy:function(){document.removeEventListener("keydown",this._keyListener)}};const s=(0,n(66262).A)(i,[["render",function(e,t,n,r,i,s){var a=(0,o.g2)("RouterView");return(0,o.uX)(),(0,o.Wv)(a,null,{default:(0,o.k6)((function(e){var t=e.Component;return[((0,o.uX)(),(0,o.Wv)((0,o.$y)(t)))]})),_:1})}]]);var a=n(21856),l=n(53751),c=n(81659);const u={getMoment:function(e){var t=Date.parse(new Date)-e;return t&lt;6e4?"just now":t&gt;6e4&amp;&amp;t&lt;36e5?Math.round(t/6e4)+"m ago":t&gt;36e5&amp;&amp;t&lt;864e5?Math.round(t/6e6)+"h ago":t&gt;864e5&amp;&amp;t&lt;1728e5?"1 day ago":function(e){var t=new Date(e),n=new Date,r={month:"long",day:"numeric"};t.getFullYear()!==n.getFullYear()&amp;&amp;(r.year="numeric");return t.toLocaleDateString("en-US",r)}(e)}};var d=n(33501),p=n(71083),h=function e(){var t=[].slice.call(arguments),n=!1;"boolean"==typeof t[0]&amp;&amp;(n=t.shift());var r=t[0];if(f(r))throw new Error("extendee must be an object");for(var o=t.slice(1),i=o.length,s=0;s&lt;i;s++){var a=o[s];for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var c=a[l];if(n&amp;&amp;(d=c,Array.isArray(d)||"[object Object]"=={}.toString.call(d))){var u=Array.isArray(c)?[]:{};r[l]=e(!0,Object.prototype.hasOwnProperty.call(r,l)&amp;&amp;!f(r[l])?r[l]:u,c)}else r[l]=c}}var d;return r};function f(e){return!e||"object"!=typeof e&amp;&amp;"function"!=typeof e}function m(e){return e&amp;&amp;e.__esModule?e.default:e}class g{on(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}emit(e,...t){this._callbacks=this._callbacks||{};let n=this._callbacks[e];if(n)for(let e of n)e.apply(this,t);return this.element&amp;&amp;this.element.dispatchEvent(this.makeEvent("dropzone:"+e,{args:t})),this}makeEvent(e,t){let n={bubbles:!0,cancelable:!0,detail:t};if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r}off(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;let n=this._callbacks[e];if(!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(let e=0;e&lt;n.length;e++){if(n[e]===t){n.splice(e,1);break}}return this}}var v={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2097152,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,defaultHeaders:!0,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init(){},params(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:(e,t)=&gt;t(),chunksUploaded:function(e,t){t()},binaryBody:!1,fallback(){let e;this.element.className=`${this.element.className} dz-browser-not-supported`;for(let t of this.element.getElementsByTagName("div"))if(/(^| )dz-message($| )/.test(t.className)){e=t,t.className="dz-message";break}e||(e=y.createElement('&lt;div class="dz-message"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;'),this.element.appendChild(e));let t=e.getElementsByTagName("span")[0];return t&amp;&amp;(null!=t.textContent?t.textContent=this.options.dictFallbackMessage:null!=t.innerText&amp;&amp;(t.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize(e,t,n,r){let o={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},i=e.width/e.height;null==t&amp;&amp;null==n?(t=o.srcWidth,n=o.srcHeight):null==t?t=n*i:null==n&amp;&amp;(n=t/i);let s=(t=Math.min(t,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth&gt;t||o.srcHeight&gt;n)if("crop"===r)i&gt;s?(o.srcHeight=e.height,o.srcWidth=o.srcHeight*s):(o.srcWidth=e.width,o.srcHeight=o.srcWidth/s);else{if("contain"!==r)throw new Error(`Unknown resizeMethod '${r}'`);i&gt;s?n=t/i:t=n*i}return o.srcX=(e.width-o.srcWidth)/2,o.srcY=(e.height-o.srcHeight)/2,o.trgWidth=t,o.trgHeight=n,o},transformFile(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&amp;&amp;e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:m('&lt;div class="dz-preview dz-file-preview"&gt;\n  &lt;div class="dz-image"&gt;&lt;img data-dz-thumbnail=""&gt;&lt;/div&gt;\n  &lt;div class="dz-details"&gt;\n    &lt;div class="dz-size"&gt;&lt;span data-dz-size=""&gt;&lt;/span&gt;&lt;/div&gt;\n    &lt;div class="dz-filename"&gt;&lt;span data-dz-name=""&gt;&lt;/span&gt;&lt;/div&gt;\n  &lt;/div&gt;\n  &lt;div class="dz-progress"&gt;\n    &lt;span class="dz-upload" data-dz-uploadprogress=""&gt;&lt;/span&gt;\n  &lt;/div&gt;\n  &lt;div class="dz-error-message"&gt;&lt;span data-dz-errormessage=""&gt;&lt;/span&gt;&lt;/div&gt;\n  &lt;div class="dz-success-mark"&gt;\n    &lt;svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg"&gt;\n      &lt;path d="M10.2071 29.7929L14.2929 25.7071C14.6834 25.3166 15.3166 25.3166 15.7071 25.7071L21.2929 31.2929C21.6834 31.6834 22.3166 31.6834 22.7071 31.2929L38.2929 15.7071C38.6834 15.3166 39.3166 15.3166 39.7071 15.7071L43.7929 19.7929C44.1834 20.1834 44.1834 20.8166 43.7929 21.2071L22.7071 42.2929C22.3166 42.6834 21.6834 42.6834 21.2929 42.2929L10.2071 31.2071C9.81658 30.8166 9.81658 30.1834 10.2071 29.7929Z"&gt;&lt;/path&gt;\n    &lt;/svg&gt;\n  &lt;/div&gt;\n  &lt;div class="dz-error-mark"&gt;\n    &lt;svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg"&gt;\n      &lt;path d="M26.2929 20.2929L19.2071 13.2071C18.8166 12.8166 18.1834 12.8166 17.7929 13.2071L13.2071 17.7929C12.8166 18.1834 12.8166 18.8166 13.2071 19.2071L20.2929 26.2929C20.6834 26.6834 20.6834 27.3166 20.2929 27.7071L13.2071 34.7929C12.8166 35.1834 12.8166 35.8166 13.2071 36.2071L17.7929 40.7929C18.1834 41.1834 18.8166 41.1834 19.2071 40.7929L26.2929 33.7071C26.6834 33.3166 27.3166 33.3166 27.7071 33.7071L34.7929 40.7929C35.1834 41.1834 35.8166 41.1834 36.2071 40.7929L40.7929 36.2071C41.1834 35.8166 41.1834 35.1834 40.7929 34.7929L33.7071 27.7071C33.3166 27.3166 33.3166 26.6834 33.7071 26.2929L40.7929 19.2071C41.1834 18.8166 41.1834 18.1834 40.7929 17.7929L36.2071 13.2071C35.8166 12.8166 35.1834 12.8166 34.7929 13.2071L27.7071 20.2929C27.3166 20.6834 26.6834 20.6834 26.2929 20.2929Z"&gt;&lt;/path&gt;\n    &lt;/svg&gt;\n  &lt;/div&gt;\n&lt;/div&gt;\n'),drop(e){return this.element.classList.remove("dz-drag-hover")},dragstart(e){},dragend(e){return this.element.classList.remove("dz-drag-hover")},dragenter(e){return this.element.classList.add("dz-drag-hover")},dragover(e){return this.element.classList.add("dz-drag-hover")},dragleave(e){return this.element.classList.remove("dz-drag-hover")},paste(e){},reset(){return this.element.classList.remove("dz-started")},addedfile(e){if(this.element===this.previewsContainer&amp;&amp;this.element.classList.add("dz-started"),this.previewsContainer&amp;&amp;!this.options.disablePreviews){for(var t of(e.previewElement=y.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),e.previewElement.querySelectorAll("[data-dz-name]")))t.textContent=e.name;for(t of e.previewElement.querySelectorAll("[data-dz-size]"))t.innerHTML=this.filesize(e.size);this.options.addRemoveLinks&amp;&amp;(e._removeLink=y.createElement(`&lt;a class="dz-remove" href="javascript:undefined;" data-dz-remove&gt;${this.options.dictRemoveFile}&lt;/a&gt;`),e.previewElement.appendChild(e._removeLink));let n=t=&gt;(t.preventDefault(),t.stopPropagation(),e.status===y.UPLOADING?y.confirm(this.options.dictCancelUploadConfirmation,(()=&gt;this.removeFile(e))):this.options.dictRemoveFileConfirmation?y.confirm(this.options.dictRemoveFileConfirmation,(()=&gt;this.removeFile(e))):this.removeFile(e));for(let t of e.previewElement.querySelectorAll("[data-dz-remove]"))t.addEventListener("click",n)}},removedfile(e){return null!=e.previewElement&amp;&amp;null!=e.previewElement.parentNode&amp;&amp;e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");for(let n of e.previewElement.querySelectorAll("[data-dz-thumbnail]"))n.alt=e.name,n.src=t;return setTimeout((()=&gt;e.previewElement.classList.add("dz-image-preview")),1)}},error(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"string"!=typeof t&amp;&amp;t.error&amp;&amp;(t=t.error);for(let n of e.previewElement.querySelectorAll("[data-dz-errormessage]"))n.textContent=t}},errormultiple(){},processing(e){if(e.previewElement&amp;&amp;(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple(){},uploadprogress(e,t,n){if(e.previewElement)for(let n of e.previewElement.querySelectorAll("[data-dz-uploadprogress]"))"PROGRESS"===n.nodeName?n.value=t:n.style.width=`${t}%`},totaluploadprogress(){},sending(){},sendingmultiple(){},success(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple(){},canceled(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple(){},complete(e){if(e._removeLink&amp;&amp;(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple(){},maxfilesexceeded(){},maxfilesreached(){},queuecomplete(){},addedfiles(){}};class y extends g{static initClass(){this.prototype.Emitter=g,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}getAcceptedFiles(){return this.files.filter((e=&gt;e.accepted)).map((e=&gt;e))}getRejectedFiles(){return this.files.filter((e=&gt;!e.accepted)).map((e=&gt;e))}getFilesWithStatus(e){return this.files.filter((t=&gt;t.status===e)).map((e=&gt;e))}getQueuedFiles(){return this.getFilesWithStatus(y.QUEUED)}getUploadingFiles(){return this.getFilesWithStatus(y.UPLOADING)}getAddedFiles(){return this.getFilesWithStatus(y.ADDED)}getActiveFiles(){return this.files.filter((e=&gt;e.status===y.UPLOADING||e.status===y.QUEUED)).map((e=&gt;e))}init(){if("form"===this.element.tagName&amp;&amp;this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&amp;&amp;!this.element.querySelector(".dz-message")&amp;&amp;this.element.appendChild(y.createElement(`&lt;div class="dz-default dz-message"&gt;&lt;button class="dz-button" type="button"&gt;${this.options.dictDefaultMessage}&lt;/button&gt;&lt;/div&gt;`)),this.clickableElements.length){let e=()=&gt;{this.hiddenFileInput&amp;&amp;this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=document.createElement("input"),this.hiddenFileInput.setAttribute("type","file"),(null===this.options.maxFiles||this.options.maxFiles&gt;1)&amp;&amp;this.hiddenFileInput.setAttribute("multiple","multiple"),this.hiddenFileInput.className="dz-hidden-input",null!==this.options.acceptedFiles&amp;&amp;this.hiddenFileInput.setAttribute("accept",this.options.acceptedFiles),null!==this.options.capture&amp;&amp;this.hiddenFileInput.setAttribute("capture",this.options.capture),this.hiddenFileInput.setAttribute("tabindex","-1"),this.hiddenFileInput.style.visibility="hidden",this.hiddenFileInput.style.position="absolute",this.hiddenFileInput.style.top="0",this.hiddenFileInput.style.left="0",this.hiddenFileInput.style.height="0",this.hiddenFileInput.style.width="0",y.getElement(this.options.hiddenInputContainer,"hiddenInputContainer").appendChild(this.hiddenFileInput),this.hiddenFileInput.addEventListener("change",(()=&gt;{let{files:t}=this.hiddenFileInput;if(t.length)for(let e of t)this.addFile(e);this.emit("addedfiles",t),e()}))};e()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(let e of this.events)this.on(e,this.options[e]);this.on("uploadprogress",(()=&gt;this.updateTotalUploadProgress())),this.on("removedfile",(()=&gt;this.updateTotalUploadProgress())),this.on("canceled",(e=&gt;this.emit("complete",e))),this.on("complete",(e=&gt;{if(0===this.getAddedFiles().length&amp;&amp;0===this.getUploadingFiles().length&amp;&amp;0===this.getQueuedFiles().length)return setTimeout((()=&gt;this.emit("queuecomplete")),0)}));let e=function(e){if(function(e){if(e.dataTransfer.types)for(var t=0;t&lt;e.dataTransfer.types.length;t++)if("Files"===e.dataTransfer.types[t])return!0;return!1}(e))return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:e=&gt;this.emit("dragstart",e),dragenter:t=&gt;(e(t),this.emit("dragenter",t)),dragover:t=&gt;{let n;try{n=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",e(t),this.emit("dragover",t)},dragleave:e=&gt;this.emit("dragleave",e),drop:t=&gt;(e(t),this.drop(t)),dragend:e=&gt;this.emit("dragend",e)}}],this.clickableElements.forEach((e=&gt;this.listeners.push({element:e,events:{click:t=&gt;((e!==this.element||t.target===this.element||y.elementInside(t.target,this.element.querySelector(".dz-message")))&amp;&amp;this.hiddenFileInput.click(),!0)}}))),this.enable(),this.options.init.call(this)}destroy(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&amp;&amp;(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,y.instances.splice(y.instances.indexOf(this),1)}updateTotalUploadProgress(){let e,t=0,n=0;if(this.getActiveFiles().length){for(let e of this.getActiveFiles())t+=e.upload.bytesSent,n+=e.upload.total;e=100*t/n}else e=100;return this.emit("totaluploadprogress",e,n,t)}_getParamName(e){return"function"==typeof this.options.paramName?this.options.paramName(e):`${this.options.paramName}${this.options.uploadMultiple?`[${e}]`:""}`}_renameFile(e){return"function"!=typeof this.options.renameFile?e.name:this.options.renameFile(e)}getFallbackForm(){let e,t;if(e=this.getExistingFallback())return e;let n='&lt;div class="dz-fallback"&gt;';this.options.dictFallbackText&amp;&amp;(n+=`&lt;p&gt;${this.options.dictFallbackText}&lt;/p&gt;`),n+=`&lt;input type="file" name="${this._getParamName(0)}" ${this.options.uploadMultiple?'multiple="multiple"':void 0} /&gt;&lt;input type="submit" value="Upload!"&gt;&lt;/div&gt;`;let r=y.createElement(n);return"FORM"!==this.element.tagName?(t=y.createElement(`&lt;form action="${this.options.url}" enctype="multipart/form-data" method="${this.options.method}"&gt;&lt;/form&gt;`),t.appendChild(r)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:r}getExistingFallback(){let e=function(e){for(let t of e)if(/(^| )fallback($| )/.test(t.className))return t};for(let n of["div","form"]){var t;if(t=e(this.element.getElementsByTagName(n)))return t}}setupEventListeners(){return this.listeners.map((e=&gt;(()=&gt;{let t=[];for(let n in e.events){let r=e.events[n];t.push(e.element.addEventListener(n,r,!1))}return t})()))}removeEventListeners(){return this.listeners.map((e=&gt;(()=&gt;{let t=[];for(let n in e.events){let r=e.events[n];t.push(e.element.removeEventListener(n,r,!1))}return t})()))}disable(){return this.clickableElements.forEach((e=&gt;e.classList.remove("dz-clickable"))),this.removeEventListeners(),this.disabled=!0,this.files.map((e=&gt;this.cancelUpload(e)))}enable(){return delete this.disabled,this.clickableElements.forEach((e=&gt;e.classList.add("dz-clickable"))),this.setupEventListeners()}filesize(e){let t=0,n="b";if(e&gt;0){let r=["tb","gb","mb","kb","b"];for(let o=0;o&lt;r.length;o++){let i=r[o];if(e&gt;=Math.pow(this.options.filesizeBase,4-o)/10){t=e/Math.pow(this.options.filesizeBase,4-o),n=i;break}}t=Math.round(10*t)/10}return`&lt;strong&gt;${t}&lt;/strong&gt; ${this.options.dictFileSizeUnits[n]}`}_updateMaxFilesReachedClass(){return null!=this.options.maxFiles&amp;&amp;this.getAcceptedFiles().length&gt;=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&amp;&amp;this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}drop(e){if(!e.dataTransfer)return;this.emit("drop",e);let t=[];for(let n=0;n&lt;e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(t.length){let{items:n}=e.dataTransfer;n&amp;&amp;n.length&amp;&amp;null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)}this.emit("addedfiles",t)}paste(e){if(null==(t=null!=e?e.clipboardData:void 0,n=e=&gt;e.items,null!=t?n(t):void 0))return;var t,n;this.emit("paste",e);let{items:r}=e.clipboardData;return r.length?this._addFilesFromItems(r):void 0}handleFiles(e){for(let t of e)this.addFile(t)}_addFilesFromItems(e){return(()=&gt;{let t=[];for(let r of e){var n;null!=r.webkitGetAsEntry&amp;&amp;(n=r.webkitGetAsEntry())?n.isFile?t.push(this.addFile(r.getAsFile())):n.isDirectory?t.push(this._addFilesFromDirectory(n,n.name)):t.push(void 0):null!=r.getAsFile&amp;&amp;(null==r.kind||"file"===r.kind)?t.push(this.addFile(r.getAsFile())):t.push(void 0)}return t})()}_addFilesFromDirectory(e,t){let n=e.createReader(),r=e=&gt;{return t=console,n="log",r=t=&gt;t.log(e),null!=t&amp;&amp;"function"==typeof t[n]?r(t,n):void 0;var t,n,r};var o=()=&gt;n.readEntries((e=&gt;{if(e.length&gt;0){for(let n of e)n.isFile?n.file((e=&gt;{if(!this.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath=`${t}/${e.name}`,this.addFile(e)})):n.isDirectory&amp;&amp;this._addFilesFromDirectory(n,`${t}/${n.name}`);o()}return null}),r);return o()}accept(e,t){this.options.maxFilesize&amp;&amp;e.size&gt;1048576*this.options.maxFilesize?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):y.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&amp;&amp;this.getAcceptedFiles().length&gt;=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}addFile(e){e.upload={uuid:y.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)},this.files.push(e),e.status=y.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(t=&gt;{t?(e.accepted=!1,this._errorProcessing([e],t)):(e.accepted=!0,this.options.autoQueue&amp;&amp;this.enqueueFile(e)),this._updateMaxFilesReachedClass()}))}enqueueFiles(e){for(let t of e)this.enqueueFile(t);return null}enqueueFile(e){if(e.status!==y.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=y.QUEUED,this.options.autoProcessQueue)return setTimeout((()=&gt;this.processQueue()),0)}_enqueueThumbnail(e){if(this.options.createImageThumbnails&amp;&amp;e.type.match(/image.*/)&amp;&amp;e.size&lt;=1048576*this.options.maxThumbnailFilesize)return this._thumbnailQueue.push(e),setTimeout((()=&gt;this._processThumbnailQueue()),0)}_processThumbnailQueue(){if(this._processingThumbnail||0===this._thumbnailQueue.length)return;this._processingThumbnail=!0;let e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(t=&gt;(this.emit("thumbnail",e,t),this._processingThumbnail=!1,this._processThumbnailQueue())))}removeFile(e){if(e.status===y.UPLOADING&amp;&amp;this.cancelUpload(e),this.files=b(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}removeAllFiles(e){null==e&amp;&amp;(e=!1);for(let t of this.files.slice())(t.status!==y.UPLOADING||e)&amp;&amp;this.removeFile(t);return null}resizeImage(e,t,n,r,o){return this.createThumbnail(e,t,n,r,!0,((t,n)=&gt;{if(null==n)return o(e);{let{resizeMimeType:t}=this.options;null==t&amp;&amp;(t=e.type);let r=n.toDataURL(t,this.options.resizeQuality);return"image/jpeg"!==t&amp;&amp;"image/jpg"!==t||(r=_.restore(e.dataURL,r)),o(y.dataURItoBlob(r))}}))}createThumbnail(e,t,n,r,o,i){let s=new FileReader;s.onload=()=&gt;{e.dataURL=s.result,"image/svg+xml"!==e.type?this.createThumbnailFromUrl(e,t,n,r,o,i):null!=i&amp;&amp;i(s.result)},s.readAsDataURL(e)}displayExistingFile(e,t,n,r,o=!0){if(this.emit("addedfile",e),this.emit("complete",e),o){let o=t=&gt;{this.emit("thumbnail",e,t),n&amp;&amp;n()};e.dataURL=t,this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,o,r)}else this.emit("thumbnail",e,t),n&amp;&amp;n()}createThumbnailFromUrl(e,t,n,r,o,i,s){let a=document.createElement("img");return s&amp;&amp;(a.crossOrigin=s),o="from-image"!=getComputedStyle(document.body).imageOrientation&amp;&amp;o,a.onload=()=&gt;{let s=e=&gt;e(1);return"undefined"!=typeof EXIF&amp;&amp;null!==EXIF&amp;&amp;o&amp;&amp;(s=e=&gt;EXIF.getData(a,(function(){return e(EXIF.getTag(this,"Orientation"))}))),s((o=&gt;{e.width=a.width,e.height=a.height;let s=this.options.resize.call(this,e,t,n,r),l=document.createElement("canvas"),c=l.getContext("2d");switch(l.width=s.trgWidth,l.height=s.trgHeight,o&gt;4&amp;&amp;(l.width=s.trgHeight,l.height=s.trgWidth),o){case 2:c.translate(l.width,0),c.scale(-1,1);break;case 3:c.translate(l.width,l.height),c.rotate(Math.PI);break;case 4:c.translate(0,l.height),c.scale(1,-1);break;case 5:c.rotate(.5*Math.PI),c.scale(1,-1);break;case 6:c.rotate(.5*Math.PI),c.translate(0,-l.width);break;case 7:c.rotate(.5*Math.PI),c.translate(l.height,-l.width),c.scale(-1,1);break;case 8:c.rotate(-.5*Math.PI),c.translate(-l.height,0)}S(c,a,null!=s.srcX?s.srcX:0,null!=s.srcY?s.srcY:0,s.srcWidth,s.srcHeight,null!=s.trgX?s.trgX:0,null!=s.trgY?s.trgY:0,s.trgWidth,s.trgHeight);let u=l.toDataURL("image/png");if(null!=i)return i(u,l)}))},null!=i&amp;&amp;(a.onerror=i),a.src=e.dataURL}processQueue(){let{parallelUploads:e}=this.options,t=this.getUploadingFiles().length,n=t;if(t&gt;=e)return;let r=this.getQueuedFiles();if(r.length&gt;0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,e-t));for(;n&lt;e;){if(!r.length)return;this.processFile(r.shift()),n++}}}processFile(e){return this.processFiles([e])}processFiles(e){for(let t of e)t.processing=!0,t.status=y.UPLOADING,this.emit("processing",t);return this.options.uploadMultiple&amp;&amp;this.emit("processingmultiple",e),this.uploadFiles(e)}_getFilesWithXhr(e){return this.files.filter((t=&gt;t.xhr===e)).map((e=&gt;e))}cancelUpload(e){if(e.status===y.UPLOADING){let t=this._getFilesWithXhr(e.xhr);for(let e of t)e.status=y.CANCELED;void 0!==e.xhr&amp;&amp;e.xhr.abort();for(let e of t)this.emit("canceled",e);this.options.uploadMultiple&amp;&amp;this.emit("canceledmultiple",t)}else e.status!==y.ADDED&amp;&amp;e.status!==y.QUEUED||(e.status=y.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&amp;&amp;this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}resolveOption(e,...t){return"function"==typeof e?e.apply(this,t):e}uploadFile(e){return this.uploadFiles([e])}uploadFiles(e){this._transformFiles(e,(t=&gt;{if(this.options.chunking){let n=t[0];e[0].upload.chunked=this.options.chunking&amp;&amp;(this.options.forceChunking||n.size&gt;this.options.chunkSize),e[0].upload.totalChunkCount=Math.ceil(n.size/this.options.chunkSize)}if(e[0].upload.chunked){let n=e[0],r=t[0],o=0;n.upload.chunks=[];let i=()=&gt;{let t=0;for(;void 0!==n.upload.chunks[t];)t++;if(t&gt;=n.upload.totalChunkCount)return;o++;let i=t*this.options.chunkSize,s=Math.min(i+this.options.chunkSize,r.size),a={name:this._getParamName(0),data:r.webkitSlice?r.webkitSlice(i,s):r.slice(i,s),filename:n.upload.filename,chunkIndex:t};n.upload.chunks[t]={file:n,index:t,dataBlock:a,status:y.UPLOADING,progress:0,retries:0},this._uploadData(e,[a])};if(n.upload.finishedChunkUpload=(t,r)=&gt;{let o=!0;t.status=y.SUCCESS,t.dataBlock=null,t.response=t.xhr.responseText,t.responseHeaders=t.xhr.getAllResponseHeaders(),t.xhr=null;for(let e=0;e&lt;n.upload.totalChunkCount;e++){if(void 0===n.upload.chunks[e])return i();n.upload.chunks[e].status!==y.SUCCESS&amp;&amp;(o=!1)}o&amp;&amp;this.options.chunksUploaded(n,(()=&gt;{this._finished(e,r,null)}))},this.options.parallelChunkUploads)for(let e=0;e&lt;n.upload.totalChunkCount;e++)i();else i()}else{let n=[];for(let r=0;r&lt;e.length;r++)n[r]={name:this._getParamName(r),data:t[r],filename:e[r].upload.filename};this._uploadData(e,n)}}))}_getChunk(e,t){for(let n=0;n&lt;e.upload.totalChunkCount;n++)if(void 0!==e.upload.chunks[n]&amp;&amp;e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}_uploadData(e,t){let n=new XMLHttpRequest;for(let t of e)t.xhr=n;e[0].upload.chunked&amp;&amp;(e[0].upload.chunks[t[0].chunkIndex].xhr=n);let r=this.resolveOption(this.options.method,e,t),o=this.resolveOption(this.options.url,e,t);n.open(r,o,!0),this.resolveOption(this.options.timeout,e)&amp;&amp;(n.timeout=this.resolveOption(this.options.timeout,e)),n.withCredentials=!!this.options.withCredentials,n.onload=t=&gt;{this._finishedUploading(e,n,t)},n.ontimeout=()=&gt;{this._handleUploadError(e,n,`Request timedout after ${this.options.timeout/1e3} seconds`)},n.onerror=()=&gt;{this._handleUploadError(e,n)},(null!=n.upload?n.upload:n).onprogress=t=&gt;this._updateFilesUploadProgress(e,n,t);let i=this.options.defaultHeaders?{Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"}:{};this.options.binaryBody&amp;&amp;(i["Content-Type"]=e[0].type),this.options.headers&amp;&amp;h(i,this.options.headers);for(let e in i){let t=i[e];t&amp;&amp;n.setRequestHeader(e,t)}if(this.options.binaryBody){for(let t of e)this.emit("sending",t,n);this.options.uploadMultiple&amp;&amp;this.emit("sendingmultiple",e,n),this.submitRequest(n,null,e)}else{let r=new FormData;if(this.options.params){let t=this.options.params;"function"==typeof t&amp;&amp;(t=t.call(this,e,n,e[0].upload.chunked?this._getChunk(e[0],n):null));for(let e in t){let n=t[e];if(Array.isArray(n))for(let t=0;t&lt;n.length;t++)r.append(e,n[t]);else r.append(e,n)}}for(let t of e)this.emit("sending",t,n,r);this.options.uploadMultiple&amp;&amp;this.emit("sendingmultiple",e,n,r),this._addFormElementData(r);for(let e=0;e&lt;t.length;e++){let n=t[e];r.append(n.name,n.data,n.filename)}this.submitRequest(n,r,e)}}_transformFiles(e,t){let n=[],r=0;for(let o=0;o&lt;e.length;o++)this.options.transformFile.call(this,e[o],(i=&gt;{n[o]=i,++r===e.length&amp;&amp;t(n)}))}_addFormElementData(e){if("FORM"===this.element.tagName)for(let t of this.element.querySelectorAll("input, textarea, select, button")){let n=t.getAttribute("name"),r=t.getAttribute("type");if(r&amp;&amp;(r=r.toLowerCase()),null!=n)if("SELECT"===t.tagName&amp;&amp;t.hasAttribute("multiple"))for(let r of t.options)r.selected&amp;&amp;e.append(n,r.value);else(!r||"checkbox"!==r&amp;&amp;"radio"!==r||t.checked)&amp;&amp;e.append(n,t.value)}}_updateFilesUploadProgress(e,t,n){if(e[0].upload.chunked){let r=e[0],o=this._getChunk(r,t);n?(o.progress=100*n.loaded/n.total,o.total=n.total,o.bytesSent=n.loaded):(o.progress=100,o.bytesSent=o.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(let e=0;e&lt;r.upload.totalChunkCount;e++)r.upload.chunks[e]&amp;&amp;void 0!==r.upload.chunks[e].progress&amp;&amp;(r.upload.progress+=r.upload.chunks[e].progress,r.upload.total+=r.upload.chunks[e].total,r.upload.bytesSent+=r.upload.chunks[e].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else for(let t of e)t.upload.total&amp;&amp;t.upload.bytesSent&amp;&amp;t.upload.bytesSent==t.upload.total||(n?(t.upload.progress=100*n.loaded/n.total,t.upload.total=n.total,t.upload.bytesSent=n.loaded):(t.upload.progress=100,t.upload.bytesSent=t.upload.total),this.emit("uploadprogress",t,t.upload.progress,t.upload.bytesSent))}_finishedUploading(e,t,n){let r;if(e[0].status!==y.CANCELED&amp;&amp;4===t.readyState){if("arraybuffer"!==t.responseType&amp;&amp;"blob"!==t.responseType&amp;&amp;(r=t.responseText,t.getResponseHeader("content-type")&amp;&amp;~t.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(e){n=e,r="Invalid JSON response from server."}this._updateFilesUploadProgress(e,t),200&lt;=t.status&amp;&amp;t.status&lt;300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t),r):this._finished(e,r,n):this._handleUploadError(e,t,r)}}_handleUploadError(e,t,n){if(e[0].status!==y.CANCELED){if(e[0].upload.chunked&amp;&amp;this.options.retryChunks){let n=this._getChunk(e[0],t);if(n.retries++&lt;this.options.retryChunksLimit)return void this._uploadData(e,[n.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(e,n||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}submitRequest(e,t,n){if(1==e.readyState)if(this.options.binaryBody)if(n[0].upload.chunked){const t=this._getChunk(n[0],e);e.send(t.dataBlock.data)}else e.send(n[0]);else e.send(t);else console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}_finished(e,t,n){for(let r of e)r.status=y.SUCCESS,this.emit("success",r,t,n),this.emit("complete",r);if(this.options.uploadMultiple&amp;&amp;(this.emit("successmultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}_errorProcessing(e,t,n){for(let r of e)r.status=y.ERROR,this.emit("error",r,t,n),this.emit("complete",r);if(this.options.uploadMultiple&amp;&amp;(this.emit("errormultiple",e,t,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}static uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){let t=16*Math.random()|0;return("x"===e?t:3&amp;t|8).toString(16)}))}constructor(e,t){let n,r;if(super(),this.element=e,this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&amp;&amp;(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");y.instances.push(this),this.element.dropzone=this;let o=null!=(r=y.optionsForElement(this.element))?r:{};if(this.options=h(!0,{},v,o,null!=t?t:{}),this.options.previewTemplate=this.options.previewTemplate.replace(/\n*/g,""),this.options.forceFallback||!y.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&amp;&amp;(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&amp;&amp;this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(this.options.uploadMultiple&amp;&amp;this.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");if(this.options.binaryBody&amp;&amp;this.options.uploadMultiple)throw new Error("You cannot set both: binaryBody and uploadMultiple.");this.options.acceptedMimeTypes&amp;&amp;(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),null!=this.options.renameFilename&amp;&amp;(this.options.renameFile=e=&gt;this.options.renameFilename.call(this,e.name,e)),"string"==typeof this.options.method&amp;&amp;(this.options.method=this.options.method.toUpperCase()),(n=this.getExistingFallback())&amp;&amp;n.parentNode&amp;&amp;n.parentNode.removeChild(n),!1!==this.options.previewsContainer&amp;&amp;(this.options.previewsContainer?this.previewsContainer=y.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&amp;&amp;(!0===this.options.clickable?this.clickableElements=[this.element]:this.clickableElements=y.getElements(this.options.clickable,"clickable")),this.init()}}y.initClass(),y.options={},y.optionsForElement=function(e){return e.getAttribute("id")?y.options[w(e.getAttribute("id"))]:void 0},y.instances=[],y.forElement=function(e){if("string"==typeof e&amp;&amp;(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},y.discover=function(){let e;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];let t=t=&gt;(()=&gt;{let n=[];for(let r of t)/(^| )dropzone($| )/.test(r.className)?n.push(e.push(r)):n.push(void 0);return n})();t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return(()=&gt;{let t=[];for(let n of e)!1!==y.optionsForElement(n)?t.push(new y(n)):t.push(void 0);return t})()},y.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],y.isBrowserSupported=function(){let e=!0;if(window.File&amp;&amp;window.FileReader&amp;&amp;window.FileList&amp;&amp;window.Blob&amp;&amp;window.FormData&amp;&amp;document.querySelector)if("classList"in document.createElement("a")){void 0!==y.blacklistedBrowsers&amp;&amp;(y.blockedBrowsers=y.blacklistedBrowsers);for(let t of y.blockedBrowsers)if(t.test(navigator.userAgent)){e=!1;continue}}else e=!1;else e=!1;return e},y.dataURItoBlob=function(e){let t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),o=new Uint8Array(r);for(let e=0,n=t.length,r=0&lt;=n;r?e&lt;=n:e&gt;=n;r?e++:e--)o[e]=t.charCodeAt(e);return new Blob([r],{type:n})};const b=(e,t)=&gt;e.filter((e=&gt;e!==t)).map((e=&gt;e)),w=e=&gt;e.replace(/[\-_](\w)/g,(e=&gt;e.charAt(1).toUpperCase()));y.createElement=function(e){let t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},y.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},y.getElement=function(e,t){let n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&amp;&amp;(n=e),null==n)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector or a plain HTML element.`);return n},y.getElements=function(e,t){let n,r;if(e instanceof Array){r=[];try{for(n of e)r.push(this.getElement(n,t))}catch(e){r=null}}else if("string"==typeof e)for(n of(r=[],document.querySelectorAll(e)))r.push(n);else null!=e.nodeType&amp;&amp;(r=[e]);if(null==r||!r.length)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`);return r},y.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},y.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");let n=e.type,r=n.replace(/\/.*$/,"");for(let o of t)if(o=o.trim(),"."===o.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(o.toLowerCase(),e.name.length-o.length))return!0}else if(/\/\*$/.test(o)){if(r===o.replace(/\/.*$/,""))return!0}else if(n===o)return!0;return!1},"undefined"!=typeof jQuery&amp;&amp;null!==jQuery&amp;&amp;(jQuery.fn.dropzone=function(e){return this.each((function(){return new y(this,e)}))}),y.ADDED="added",y.QUEUED="queued",y.ACCEPTED=y.QUEUED,y.UPLOADING="uploading",y.PROCESSING=y.UPLOADING,y.CANCELED="canceled",y.ERROR="error",y.SUCCESS="success";var S=function(e,t,n,r,o,i,s,a,l,c){let u=function(e){e.naturalWidth;let t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;let r=n.getContext("2d");r.drawImage(e,0,0);let{data:o}=r.getImageData(1,0,1,t),i=0,s=t,a=t;for(;a&gt;i;)0===o[4*(a-1)+3]?s=a:i=a,a=s+i&gt;&gt;1;let l=a/t;return 0===l?1:l}(t);return e.drawImage(t,n,r,o,i,s,a,l,c/u)};class _{static initClass(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}static encode64(e){let t,n,r,o,i,s="",a="",l="",c=0;for(;t=e[c++],n=e[c++],a=e[c++],r=t&gt;&gt;2,o=(3&amp;t)&lt;&lt;4|n&gt;&gt;4,i=(15&amp;n)&lt;&lt;2|a&gt;&gt;6,l=63&amp;a,isNaN(n)?i=l=64:isNaN(a)&amp;&amp;(l=64),s=s+this.KEY_STR.charAt(r)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(l),t=n=a="",r=o=i=l="",c&lt;e.length;);return s}static restore(e,t){if(!e.match("data:image/jpeg;base64,"))return t;let n=this.decode64(e.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(t,r);return`data:image/jpeg;base64,${this.encode64(o)}`}static exifManipulation(e,t){let n=this.getExifArray(t),r=this.insertExif(e,n);return new Uint8Array(r)}static getExifArray(e){let t,n=0;for(;n&lt;e.length;){if(t=e[n],255===t[0]&amp;225===t[1])return t;n++}return[]}static insertExif(e,t){let n=e.replace("data:image/jpeg;base64,",""),r=this.decode64(n),o=r.indexOf(255,3),i=r.slice(0,o),s=r.slice(o),a=i;return a=a.concat(t),a=a.concat(s),a}static slice2Segments(e){let t=0,n=[];for(;;){if(255===e[t]&amp;218===e[t+1])break;if(255===e[t]&amp;216===e[t+1])t+=2;else{let r=t+(256*e[t+2]+e[t+3])+2,o=e.slice(t,r);n.push(o),t=r}if(t&gt;e.length)break}return n}static decode64(e){let t,n,r,o,i,s="",a="",l=0,c=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&amp;&amp;console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");r=this.KEY_STR.indexOf(e.charAt(l++)),o=this.KEY_STR.indexOf(e.charAt(l++)),i=this.KEY_STR.indexOf(e.charAt(l++)),a=this.KEY_STR.indexOf(e.charAt(l++)),t=r&lt;&lt;2|o&gt;&gt;4,n=(15&amp;o)&lt;&lt;4|i&gt;&gt;2,s=(3&amp;i)&lt;&lt;6|a,c.push(t),64!==i&amp;&amp;c.push(n),64!==a&amp;&amp;c.push(s),t=n=s="",r=o=i=a="",l&lt;e.length;);return c}}_.initClass();y.autoDiscover=!1;const k={getDropzone:function(e){return new y(e.documentElementId,{url:e.url,path:e.path,paramName:e.paramName?e.paramName:"imageFile",autoProcessQueue:void 0===e.autoProcessQueue||e.autoProcessQueue,uploadMultiple:!!e.uploadMultiple&amp;&amp;e.uploadMultiple,parallelUploads:e.parallelUploads?e.parallelUploads:2,maxFiles:e.maxFiles?e.maxFiles:1,maxFilesize:e.maxFilesize?e.maxFilesize:5,queueLimit:e.queueLimit?e.queueLimit:1,acceptedFiles:e.acceptedFiles?e.acceptedFiles:".jpg, .jpeg, .png, .svg, .gif",dictDefaultMessage:e.dictDefaultMessage?e.dictDefaultMessage:'&lt;p class="dz-default-message"&gt;Drop Your image here or &lt;span class="blue"&gt;click to upload&lt;/span&gt;.&lt;/p&gt;',dictFileTooBig:e.dictFileTooBig?e.dictFileTooBig:"This file is too large ({{filesize}} MB). The size limit is {{maxFilesize}} MB.",dictInvalidFileType:"Upload canceled: This file format is not supported. &lt;br /&gt; Use "+(e.acceptedErrorMessage?e.acceptedErrorMessage:"png, jpeg, svg or gif")+".",dictMaxFilesExceeded:"You can not upload more than {{maxFiles}} files.",previewTemplate:e.previewTemplate?e.previewTemplate:'&lt;div class="dz-preview dz-image-preview"&gt;&lt;div class="dz-image"&gt;&lt;img data-dz-thumbnail /&gt;&lt;/div&gt;&lt;div class="dz-details"&gt;&lt;div class="dz-size"&gt;&lt;span data-dz-size=""&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="dz-filename"&gt;&lt;span data-dz-name=""&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="dz-progress"&gt;&lt;span class="dz-upload" data-dz-uploadprogress=""&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="dz-error-message"&gt;&lt;span data-dz-errormessage=""&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="dz-success-mark"&gt;&lt;/div&gt;&lt;div class="dz-error-mark"&gt;&lt;/div&gt;&lt;/div&gt;',thumbnailWidth:e.thumbnailWidth?e.thumbnailWidth:null,thumbnailHeight:e.thumbnailHeight?e.thumbnailHeight:250,headers:{"X-CSRF-TOKEN":p.A.defaults.headers.common["X-CSRF-TOKEN"]},init:function(){this.on("thumbnail",(function(t){t.size&lt;503e4&amp;&amp;(t.width&gt;3e3||t.height&gt;3e3)&amp;&amp;(document.querySelector(".slow-upload-warning").innerHTML="".concat(e.uploadMultiple?"The images seem":"This image seems"," a bit big. Uploading can take several seconds."))})),this.on("maxfilesexceeded",(function(e){document.querySelector(".slow-upload-warning").innerHTML="",this.removeFile(e)})),this.on("error",(function(t,n,r){document.querySelector(".slow-upload-warning").innerHTML="",this.removeFile(t),t.accepted&amp;&amp;!r||this.removeFile(t),e.onErrorCallback&amp;&amp;e.onErrorCallback(r,n)})),this.on("addedfiles",(function(t){e.onAddedFilesCallback&amp;&amp;e.onAddedFilesCallback(t)}))},accept:function(t,n){n(),e.onAcceptCallback&amp;&amp;e.onAcceptCallback()},sending:function(t,n,r){r.append("path",e.path),e.onSendingCallback&amp;&amp;e.onSendingCallback(r)},success:function(t,n){document.querySelector(".slow-upload-warning").innerHTML="",t.previewElement.classList.add("dz-success"),e.onSuccessCallback&amp;&amp;e.onSuccessCallback(n)},successmultiple:function(t,n){e.onSuccessMultipleCallback&amp;&amp;e.onSuccessMultipleCallback(n)}})}};var A=n(53058),T=n(63019);var E=n(36297),x=n(36761),C=n(45);var O,I,L=null,P={all:I=I||new Map,on:function(e,t){var n=I.get(e);n?n.push(t):I.set(e,[t])},off:function(e,t){var n=I.get(e);n&amp;&amp;(t?n.splice(n.indexOf(t)&gt;&gt;&gt;0,1):I.set(e,[]))},emit:function(e,t){var n=I.get(e);n&amp;&amp;n.slice().map((function(e){e(t)})),(n=I.get("*"))&amp;&amp;n.slice().map((function(n){n(e,t)}))}};L=(0,l.createApp)(s),O=E.A,L.use(O),L.use(x.M),console.log("Initial Review State:",x.M.state.review),L.mixin({computed:{$reviewStore:function(){return this.$store.state.review}}}),L.config.globalProperties.$store=x.M,L.config.globalProperties.$actions=C.A,L.config.globalProperties.emitter=P,L.mount("#app");var N=(0,a.c)();L.use(N),L.use(r.Ay,{includes:[{id:"G-SWXNNMMKPQ"}],config:{id:document.querySelector('meta[name="google-analytics-id"]').getAttribute("content")}}),L.use(c,{expires:"7d"}),L.config.globalProperties.GoogleFontsHelper=d.A,L.config.globalProperties.UrlHelper=T.A,L.config.globalProperties.DateTimeHelper=u,L.config.globalProperties.DropzoneHelper=k,L.config.globalProperties.DefaultTextStylesHelper=A.A,L.config.globalProperties.IsProduction=!0;var D=window.Stripe?Stripe("pk_live_shemoqghwS6IHkzNIoxljGa800TNgKMyTe"):null;p.A.defaults.headers.common["X-CSRF-TOKEN"]=document.querySelector('meta[name="csrf-token"]').getAttribute("content")},36297:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;xo});var r=n(20641),o=n(50953);const i="undefined"!=typeof document;function s(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function a(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||e.default&amp;&amp;s(e.default)}const l=Object.assign;function c(e,t){const n={};for(const r in t){const o=t[r];n[r]=d(o)?o.map(e):e(o)}return n}const u=()=&gt;{},d=Array.isArray;const p=/#/g,h=/&amp;/g,f=/\//g,m=/=/g,g=/\?/g,v=/\+/g,y=/%5B/g,b=/%5D/g,w=/%5E/g,S=/%60/g,_=/%7B/g,k=/%7C/g,A=/%7D/g,T=/%20/g;function E(e){return encodeURI(""+e).replace(k,"|").replace(y,"[").replace(b,"]")}function x(e){return E(e).replace(v,"%2B").replace(T,"+").replace(p,"%23").replace(h,"%26").replace(S,"`").replace(_,"{").replace(A,"}").replace(w,"^")}function C(e){return null==e?"":function(e){return E(e).replace(p,"%23").replace(g,"%3F")}(e).replace(f,"%2F")}function O(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}const I=/\/$/;function L(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a&lt;l&amp;&amp;a&gt;=0&amp;&amp;(l=-1),l&gt;-1&amp;&amp;(r=t.slice(0,l),i=t.slice(l+1,a&gt;-1?a:t.length),o=e(i)),a&gt;-1&amp;&amp;(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;0;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&amp;&amp;"."!==o||r.push("");let i,s,a=n.length-1;for(i=0;i&lt;r.length;i++)if(s=r[i],"."!==s){if(".."!==s)break;a&gt;1&amp;&amp;a--}return n.slice(0,a).join("/")+"/"+r.slice(i).join("/")}(null!=r?r:t,n),{fullPath:r+(i&amp;&amp;"?")+i+s,path:r,query:o,hash:O(s)}}function P(e,t){return t&amp;&amp;e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function N(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function D(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!R(e[n],t[n]))return!1;return!0}function R(e,t){return d(e)?M(e,t):d(t)?M(t,e):e===t}function M(e,t){return d(t)?e.length===t.length&amp;&amp;e.every(((e,n)=&gt;e===t[n])):1===e.length&amp;&amp;e[0]===t}const F={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var H,j;!function(e){e.pop="pop",e.push="push"}(H||(H={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(j||(j={}));function G(e){if(!e)if(i){const t=document.querySelector("base");e=(e=t&amp;&amp;t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&amp;&amp;"#"!==e[0]&amp;&amp;(e="/"+e),e.replace(I,"")}const B=/^[^#]+#/;function $(e,t){return e.replace(B,"#")+t}const W=()=&gt;({left:window.scrollX,top:window.scrollY});function U(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&amp;&amp;n.startsWith("#");0;const o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function z(e,t){return(history.state?history.state.position-t:-1)+e}const V=new Map;let X=()=&gt;location.protocol+"//"+location.host;function K(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i&gt;-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&amp;&amp;(n="/"+n),P(n,"")}return P(n,e)+r+o}function q(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?W():null}}function Y(e){const t=function(e){const{history:t,location:n}=window,r={value:K(e,n)},o={value:t.state};function i(r,i,s){const a=e.indexOf("#"),l=a&gt;-1?(n.host&amp;&amp;document.querySelector("base")?e:e.slice(a))+r:X()+e+r;try{t[s?"replaceState":"pushState"](i,"",l),o.value=i}catch(e){console.error(e),n[s?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const s=l({},o.value,t.state,{forward:e,scroll:W()});i(s.current,s,!0),i(e,l({},q(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){i(e,l({},t.state,q(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=G(e)),n=function(e,t,n,r){let o=[],i=[],s=null;const a=({state:i})=&gt;{const a=K(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&amp;&amp;s===l)return void(s=null);u=c?i.position-c.position:0}else r(a);o.forEach((e=&gt;{e(n.value,l,{delta:u,type:H.pop,direction:u?u&gt;0?j.forward:j.back:j.unknown})}))};function c(){const{history:e}=window;e.state&amp;&amp;e.replaceState(l({},e.state,{scroll:W()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=&gt;{const t=o.indexOf(e);t&gt;-1&amp;&amp;o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const r=l({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:$.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=&gt;t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=&gt;t.state.value}),r}function Q(e){return"string"==typeof e||"symbol"==typeof e}const J=Symbol("");var Z;!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(Z||(Z={}));function ee(e,t){return l(new Error,{type:e,[J]:!0},t)}function te(e,t){return e instanceof Error&amp;&amp;J in e&amp;&amp;(null==t||!!(e.type&amp;t))}const ne="[^/]+?",re={sensitive:!1,strict:!1,start:!0,end:!0},oe=/[.+*?^${}()[\]/\\]/g;function ie(e,t){let n=0;for(;n&lt;e.length&amp;&amp;n&lt;t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length&lt;t.length?1===e.length&amp;&amp;80===e[0]?-1:1:e.length&gt;t.length?1===t.length&amp;&amp;80===t[0]?1:-1:0}function se(e,t){let n=0;const r=e.score,o=t.score;for(;n&lt;r.length&amp;&amp;n&lt;o.length;){const e=ie(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(ae(r))return 1;if(ae(o))return-1}return o.length-r.length}function ae(e){const t=e[e.length-1];return e.length&gt;0&amp;&amp;t[t.length-1]&lt;0}const le={type:0,value:""},ce=/[a-zA-Z0-9_]/;function ue(e,t,n){const r=function(e,t){const n=l({},re,t),r=[];let o=n.start?"^":"";const i=[];for(const t of e){const e=t.length?[]:[90];n.strict&amp;&amp;!t.length&amp;&amp;(o+="/");for(let r=0;r&lt;t.length;r++){const s=t[r];let a=40+(n.sensitive?.25:0);if(0===s.type)r||(o+="/"),o+=s.value.replace(oe,"\\$&amp;"),a+=40;else if(1===s.type){const{value:e,repeatable:n,optional:l,regexp:c}=s;i.push({name:e,repeatable:n,optional:l});const u=c||ne;if(u!==ne){a+=10;try{new RegExp(`(${u})`)}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=l&amp;&amp;t.length&lt;2?`(?:/${d})`:"/"+d),l&amp;&amp;(d+="?"),o+=d,a+=20,l&amp;&amp;(a+=-8),n&amp;&amp;(a+=-20),".*"===u&amp;&amp;(a+=-50)}e.push(a)}r.push(e)}if(n.strict&amp;&amp;n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&amp;&amp;(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");return{re:s,score:r,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let e=1;e&lt;t.length;e++){const r=t[e]||"",o=i[e-1];n[o.name]=r&amp;&amp;o.repeatable?r.split("/"):r}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&amp;&amp;n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(d(l)&amp;&amp;!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=d(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${i}"`);o.length&lt;2&amp;&amp;(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[le]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let i;function s(){i&amp;&amp;o.push(i),i=[]}let a,l=0,c="",u="";function d(){c&amp;&amp;(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length&gt;1&amp;&amp;("*"===a||"+"===a)&amp;&amp;t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l&lt;e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&amp;&amp;d(),s()):":"===a?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:"("===a?n=2:ce.test(a)?p():(d(),n=0,"*"!==a&amp;&amp;"?"!==a&amp;&amp;"+"!==a&amp;&amp;l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&amp;&amp;"?"!==a&amp;&amp;"+"!==a&amp;&amp;l--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&amp;&amp;t(`Unfinished custom RegExp for param "${c}"`),d(),s(),o}(e.path),n);const o=l(r,{record:e,parent:t,children:[],alias:[]});return t&amp;&amp;!o.record.aliasOf==!t.record.aliasOf&amp;&amp;t.children.push(o),o}function de(e,t){const n=[],r=new Map;function o(e,n,r){const a=!r,c=he(e);c.aliasOf=r&amp;&amp;r.record;const d=ve(t,e),p=[c];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)p.push(he(l({},c,{components:r?r.record.components:c.components,path:e,aliasOf:r?r.record:c})))}let h,f;for(const t of p){const{path:l}=t;if(n&amp;&amp;"/"!==l[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(l&amp;&amp;r+l)}if(h=ue(t,n,d),r?r.alias.push(h):(f=f||h,f!==h&amp;&amp;f.alias.push(h),a&amp;&amp;e.name&amp;&amp;!me(h)&amp;&amp;i(e.name)),ye(h)&amp;&amp;s(h),c.children){const e=c.children;for(let t=0;t&lt;e.length;t++)o(e[t],h,r&amp;&amp;r.children[t])}r=r||h}return f?()=&gt;{i(f)}:u}function i(e){if(Q(e)){const t=r.get(e);t&amp;&amp;(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t&gt;-1&amp;&amp;(n.splice(t,1),e.record.name&amp;&amp;r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r&gt;&gt;1;se(e,t[o])&lt;0?r=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(ye(t)&amp;&amp;0===se(e,t))return t;return}(e);o&amp;&amp;(r=t.lastIndexOf(o,r-1));return r}(e,n);n.splice(t,0,e),e.record.name&amp;&amp;!me(e)&amp;&amp;r.set(e.record.name,e)}return t=ve({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=&gt;o(e))),{addRoute:o,resolve:function(e,t){let o,i,s,a={};if("name"in e&amp;&amp;e.name){if(o=r.get(e.name),!o)throw ee(1,{location:e});0,s=o.record.name,a=l(pe(t.params,o.keys.filter((e=&gt;!e.optional)).concat(o.parent?o.parent.keys.filter((e=&gt;e.optional)):[]).map((e=&gt;e.name))),e.params&amp;&amp;pe(e.params,o.keys.map((e=&gt;e.name)))),i=o.stringify(a)}else if(null!=e.path)i=e.path,o=n.find((e=&gt;e.re.test(i))),o&amp;&amp;(a=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=&gt;e.re.test(t.path))),!o)throw ee(1,{location:e,currentLocation:t});s=o.record.name,a=l({},t.params,e.params),i=o.stringify(a)}const c=[];let u=o;for(;u;)c.unshift(u.record),u=u.parent;return{name:s,path:i,params:a,matched:c,meta:ge(c)}},removeRoute:i,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function pe(e,t){const n={};for(const r of t)r in e&amp;&amp;(n[r]=e[r]);return n}function he(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&amp;&amp;{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function fe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function me(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ge(e){return e.reduce(((e,t)=&gt;l(e,t.meta)),{})}function ve(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ye({record:e}){return!!(e.name||e.components&amp;&amp;Object.keys(e.components).length||e.redirect)}function be(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&amp;");for(let e=0;e&lt;n.length;++e){const r=n[e].replace(v," "),o=r.indexOf("="),i=O(o&lt;0?r:r.slice(0,o)),s=o&lt;0?null:O(r.slice(o+1));if(i in t){let e=t[i];d(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function we(e){let t="";for(let n in e){const r=e[n];if(n=x(n).replace(m,"%3D"),null==r){void 0!==r&amp;&amp;(t+=(t.length?"&amp;":"")+n);continue}(d(r)?r.map((e=&gt;e&amp;&amp;x(e))):[r&amp;&amp;x(r)]).forEach((e=&gt;{void 0!==e&amp;&amp;(t+=(t.length?"&amp;":"")+n,null!=e&amp;&amp;(t+="="+e))}))}return t}function Se(e){const t={};for(const n in e){const r=e[n];void 0!==r&amp;&amp;(t[n]=d(r)?r.map((e=&gt;null==e?null:""+e)):null==r?r:""+r)}return t}const _e=Symbol(""),ke=Symbol(""),Ae=Symbol(""),Te=Symbol(""),Ee=Symbol("");function xe(){let e=[];return{add:function(t){return e.push(t),()=&gt;{const n=e.indexOf(t);n&gt;-1&amp;&amp;e.splice(n,1)}},list:()=&gt;e.slice(),reset:function(){e=[]}}}function Ce(e,t,n,r,o,i=e=&gt;e()){const s=r&amp;&amp;(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=&gt;new Promise(((a,l)=&gt;{const c=e=&gt;{var i;!1===e?l(ee(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&amp;&amp;"object"==typeof i?l(ee(2,{from:t,to:e})):(s&amp;&amp;r.enterCallbacks[o]===s&amp;&amp;"function"==typeof e&amp;&amp;s.push(e),a())},u=i((()=&gt;e.call(r&amp;&amp;r.instances[o],t,n,c)));let d=Promise.resolve(u);e.length&lt;3&amp;&amp;(d=d.then(c)),d.catch((e=&gt;l(e)))}))}function Oe(e,t,n,r,o=e=&gt;e()){const i=[];for(const l of e){0;for(const e in l.components){let c=l.components[e];if("beforeRouteEnter"===t||l.instances[e])if(s(c)){const s=(c.__vccOpts||c)[t];s&amp;&amp;i.push(Ce(s,n,r,l,e,o))}else{let s=c();0,i.push((()=&gt;s.then((i=&gt;{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${l.path}"`);const s=a(i)?i.default:i;l.mods[e]=i,l.components[e]=s;const c=(s.__vccOpts||s)[t];return c&amp;&amp;Ce(c,n,r,l,e,o)()}))))}}}return i}function Ie(e){const t=(0,r.WQ)(Ae),n=(0,r.WQ)(Te);const i=(0,r.EW)((()=&gt;{const n=(0,o.R1)(e.to);return t.resolve(n)})),s=(0,r.EW)((()=&gt;{const{matched:e}=i.value,{length:t}=e,r=e[t-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(N.bind(null,r));if(s&gt;-1)return s;const a=Pe(e[t-2]);return t&gt;1&amp;&amp;Pe(r)===a&amp;&amp;o[o.length-1].path!==a?o.findIndex(N.bind(null,e[t-2])):s})),a=(0,r.EW)((()=&gt;s.value&gt;-1&amp;&amp;function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!d(o)||o.length!==r.length||r.some(((e,t)=&gt;e!==o[t])))return!1}return!0}(n.params,i.value.params))),l=(0,r.EW)((()=&gt;s.value&gt;-1&amp;&amp;s.value===n.matched.length-1&amp;&amp;D(n.params,i.value.params)));return{route:i,href:(0,r.EW)((()=&gt;i.value.href)),isActive:a,isExactActive:l,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&amp;&amp;0!==e.button)return;if(e.currentTarget&amp;&amp;e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&amp;&amp;e.preventDefault();return!0}(n)?t[(0,o.R1)(e.replace)?"replace":"push"]((0,o.R1)(e.to)).catch(u):Promise.resolve()}}}const Le=(0,r.pM)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ie,setup(e,{slots:t}){const n=(0,o.Kh)(Ie(e)),{options:i}=(0,r.WQ)(Ae),s=(0,r.EW)((()=&gt;({[Ne(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Ne(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=&gt;{const o=t.default&amp;&amp;t.default(n);return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}});function Pe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ne=(e,t,n)=&gt;null!=e?e:null!=t?t:n;function De(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Re=(0,r.pM)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=(0,r.WQ)(Ee),s=(0,r.EW)((()=&gt;e.route||i.value)),a=(0,r.WQ)(ke,0),c=(0,r.EW)((()=&gt;{let e=(0,o.R1)(a);const{matched:t}=s.value;let n;for(;(n=t[e])&amp;&amp;!n.components;)e++;return e})),u=(0,r.EW)((()=&gt;s.value.matched[c.value]));(0,r.Gt)(ke,(0,r.EW)((()=&gt;c.value+1))),(0,r.Gt)(_e,u),(0,r.Gt)(Ee,s);const d=(0,o.KR)();return(0,r.wB)((()=&gt;[d.value,u.value,e.name]),(([e,t,n],[r,o,i])=&gt;{t&amp;&amp;(t.instances[n]=e,o&amp;&amp;o!==t&amp;&amp;e&amp;&amp;e===r&amp;&amp;(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&amp;&amp;N(t,o)&amp;&amp;r||(t.enterCallbacks[n]||[]).forEach((t=&gt;t(e)))}),{flush:"post"}),()=&gt;{const o=s.value,i=e.name,a=u.value,c=a&amp;&amp;a.components[i];if(!c)return De(n.default,{Component:c,route:o});const p=a.props[i],h=p?!0===p?o.params:"function"==typeof p?p(o):p:null,f=(0,r.h)(c,l({},h,t,{onVnodeUnmounted:e=&gt;{e.component.isUnmounted&amp;&amp;(a.instances[i]=null)},ref:d}));return De(n.default,{Component:f,route:o})||f}}});var Me=n(74256),Fe={class:"ufo-sepa--cop"},He={class:"ufo-sepa--cop-info"},je={key:0,class:"alert"};var Ge=n(22717),Be=n(45),$e=n(61856);function We(e){return We="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},We(e)}function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){Ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ve(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=We(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=We(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==We(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xe={name:"edit-mailto-link",components:{OverlayingSidebarPanel:Ge.A,InputField:$e.A},emits:["save","cancel","close"],beforeMount:function(){this.$route.query.add?(this.pageDetails.name=this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type}))?this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).name:"Email Me",this.pageDetails.link.url=this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type}))?this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).settings.link.url:this.$store.state.user.contactEmail,this.$store.state.sidePanelSettings=ze(ze({},this.$store.state.sidePanelSettings),{},{newPageDetails:this.pageDetails})):(this.pageDetails.name=this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).name,this.pageDetails.link.url=this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).settings.link.url)},mounted:function(){this.$store.commit("updateSidePanel",ze(ze({},this.$route.meta.sidePanelSettings),{},{title:"".concat(this.$route.query.add?"Add":"Edit"," mailto link"),allowSave:!1})),(0,Be.a)("/home".concat(this.$route.fullPath),"Mailto link")},unmounted:function(){this.$store.commit("updateSidePanel",{panel:Me.GJ.MAIN_PANEL,hideBackButton:!1,title:"Portfolio navigation"})},data:function(){return{pageDetails:{name:null,link:{url:null,openInNewTab:!0}}}},watch:{pageDetails:{handler:function(){this.updateState()},deep:!0}},methods:{updateState:function(){this.$store.state.sidePanelSettings.newPageDetails=this.pageDetails,this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type}))&amp;&amp;(this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).name=this.pageDetails.name,this.$store.state.portfolioPages.find((function(e){return"mailto"===e.type})).link=this.pageDetails.link),this.$store.commit("updateSidePanel",{allowSave:!!this.pageDetails.link.url&amp;&amp;this.pageDetails.link.url.length&gt;0&amp;&amp;!!this.pageDetails.name&amp;&amp;this.pageDetails.name.length&gt;0})},triggerSave:function(){this.$emit("save")},triggerCancel:function(){this.$emit("cancel")},triggerClose:function(){this.$emit("close")}}};var Ke=n(66262);const qe=(0,Ke.A)(Xe,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("InputField"),l=(0,r.g2)("OverlayingSidebarPanel");return(0,r.uX)(),(0,r.Wv)(l,{onSave:t[2]||(t[2]=function(e){return s.triggerSave()}),onCancel:t[3]||(t[3]=function(e){return s.triggerCancel()}),onClose:t[4]||(t[4]=function(e){return s.triggerClose()})},{default:(0,r.k6)((function(){return[(0,r.Lk)("div",Fe,[(0,r.Lk)("div",He,[(0,r.bF)(a,{label:"Link Name",placeholder:"e.g.: Contact me","max-length":24,"has-error":!!i.pageDetails.name&amp;&amp;24===i.pageDetails.name.length,value:i.pageDetails.name,modelValue:i.pageDetails.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.pageDetails.name=e}),"dark-scheme":""},{alert:(0,r.k6)((function(){return[i.pageDetails.name&amp;&amp;24===i.pageDetails.name.length?((0,r.uX)(),(0,r.CE)("span",je,"You've reached the 24-character limit")):(0,r.Q3)("v-if",!0)]})),_:1},8,["has-error","value","modelValue"]),(0,r.bF)(a,{label:"Email Address",placeholder:"example@domain.com",value:i.pageDetails.link.url,modelValue:i.pageDetails.link.url,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.pageDetails.link.url=e}),"dark-scheme":""},null,8,["value","modelValue"])])])]})),_:1})}],["__scopeId","data-v-6db0de8b"]]);var Ye=n(90033),Qe={key:0};var Je={class:"ufo--page-sections"},Ze={key:0,class:"project-footer"},et={key:0},tt={class:"project-owner"},nt={key:0,class:"owner-picture"},rt=["src"],ot={class:"owner-info"},it={key:0,class:"owner-name"},st={key:1,class:"owner-company"},at={class:"footer-links"},lt=["href"],ct={class:"owner-projects-content"},ut=["onClick"],dt={class:"image"},pt=["src","alt"],ht=["src","alt"],ft=["alt"],mt={key:0,class:"title"},gt={key:1,class:"footer-share"},vt={class:"grid"},yt={class:"branding"},bt={href:"https://uxfol.io/?utm_campaign=branding_header",rel:"nofollow",class:"ufo--branding floating"};var wt=n(57538),St=n(60314),_t=n(98815),kt=n(38637),At=n(28641),Tt=null;const Et={name:"ProjectView",components:{ProjectThumbnail:At.A,UXFolioLogo:kt.A,SectionLoader:_t.A,PortfolioFooter:St.A},mounted:function(){var e=this,t={meta:[]};document.title!==this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")&amp;&amp;(t.title=this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")),Tt=(0,wt.u)(t),this.$nextTick((function(){document.addEventListener("scroll",e.scrollDistance)}))},unmounted:function(){Tt.dispose()},beforeUpdate:function(){Tt.patch({title:this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")})},methods:{footerHref:function(e){return"file"===e.type?e.settings.link.url:"home"===e.type?"/"+this.portfolio.shortId:"/p/"+(this.portfolio.ownDomainAddress?"":this.portfolio.shortId+"/")+e.shortId},navigateToProjectFooter:function(e,t,n){window.location.href=e?"/p/"+n:"/p/"+t+"/"+n},navigateBack:function(){if(this.portfolio.ownDomainAddress)window.location.href=window.location.protocol+"//"+this.portfolio.ownDomainAddress;else{var e="/"+this.portfolio.shortId;window.location.href=window.location.origin+e}},scrollToTop:function(){"scrollBehavior"in document.documentElement.style?window.scroll({top:0,left:0,behavior:"smooth"}):this.smoothScroll(0,-1)},smoothScroll:function(e,t){var n=window.pageYOffset||document.body.scrollTop,r=Math.abs(n-e);if(r)var o=parseInt(24),i=r/o,s=setInterval((function(){if(t&gt;0){if(window.pageYOffset&gt;=e)return scrollBy(0,(e-r)*t),void clearInterval(s)}else if(window.pageYOffset&lt;=0)return scrollBy(0,r*t),void clearInterval(s);scrollBy(0,i*t),window.pageYOffset+window.innerHeight===document.body.scrollHeight&amp;&amp;clearInterval(s)}),400/o)},scrollDistance:function(){if(window.pageYOffset&gt;1200){if(document.querySelector(".scroll-to-top").classList.contains("visible"))return;document.querySelector(".scroll-to-top").classList.add("visible")}else document.querySelector(".scroll-to-top").classList.remove("visible")},getFooterPojectName:function(e){var t=e.sections[0];return null!==e.name?e.name:t.title.text}},computed:{iframeUrl:function(){return window.location.pathname.includes("/uxs-headless/'")},user:function(){return this.$store.state.view.user},portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},portfolioPages:function(){return this.$store.state.view.portfolioPages},footerProjects:function(){return this.$store.state.view.footerProjects},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},isFooterEnabled:function(){var e="caseStudy"===this.project.type&amp;&amp;this.portfolio.settings.showFooterOnProjects&amp;&amp;this.portfolio.portfolioFooter,t="caseStudy"!==this.project.type&amp;&amp;this.portfolio.settings.showFooterOnPortfolio&amp;&amp;!this.footerDisabledInThemes.includes(this.portfolioTemplate)&amp;&amp;this.portfolio.portfolioFooter;return e||t},getUrl:function(){return"home"===this.project.type?"https://"+(this.portfolio.ownDomainAddress?this.portfolio.ownDomainAddress:"uxfol.io/"+this.portfolio.shortId):"https://"+(this.portfolio.ownDomainAddress?this.portfolio.ownDomainAddress:"uxfol.io")+"/p/"+this.portfolio.shortId+"/"+this.project.shortId}}},xt=(0,Ke.A)(Et,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("SectionLoader"),l=(0,r.g2)("ProjectThumbnail"),c=(0,r.g2)("UXFolioLogo");return(0,r.uX)(),(0,r.CE)("div",{class:"ufo--portfolio-page",style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.Lk)("div",Je,[(0,r.bF)(a,{sections:s.project.sections,"default-image-alt":e.projectTitle},null,8,["sections","default-image-alt"])]),s.iframeUrl?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("div",Ze,[(0,r.Q3)(' TODO: not sure I can delete this &lt;PortfolioFooter v-if="isFooterEnabled"/&gt; '),null===s.portfolio.settings.showFooterOnPortfolio&amp;&amp;null===s.portfolio.settings.showFooterOnProjects?((0,r.uX)(),(0,r.CE)("div",et,[(0,r.Lk)("div",{class:(0,Ye.C4)(["footer-info",{bg:"#ffffff"!==s.project.designSettings.colorStyles.background.color.toLowerCase()}])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["grid info",{"project-list":s.footerProjects.length}])},[(0,r.Lk)("div",tt,[(0,r.Lk)("div",{class:"owner",onClick:t[0]||(t[0]=function(e){return s.navigateBack()})},[s.user.image.url?((0,r.uX)(),(0,r.CE)("div",nt,[(0,r.Lk)("img",{loading:"lazy",height:"60",src:s.user.image.url,alt:"User image"},null,8,rt)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",ot,[s.user.name?((0,r.uX)(),(0,r.CE)("div",it,(0,Ye.v_)(s.user.name),1)):(0,r.Q3)("v-if",!0),s.user.title?((0,r.uX)(),(0,r.CE)("div",st,(0,Ye.v_)(s.user.title),1)):(0,r.Q3)("v-if",!0)])]),(0,r.Lk)("div",at,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.portfolioPages,(function(e){return(0,r.uX)(),(0,r.CE)("a",{key:e,class:"footer-btn",href:s.footerHref(e)},(0,Ye.v_)(e.name),9,lt)})),128))])]),s.footerProjects&amp;&amp;s.footerProjects.length?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,Ye.C4)(["project-owner-projects",{"long-list":s.footerProjects.length&amp;&amp;(s.footerProjects.length&gt;6||0===s.footerProjects.sort(e.a,(function(t){return e.a.name&lt;t.name}))[0].length)}])},[t[2]||(t[2]=(0,r.Lk)("div",{class:"title-line"},"See more of my work:",-1)),(0,r.Lk)("div",ct,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(s.footerProjects,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,onClick:function(t){return s.navigateToProjectFooter(s.portfolio.ownDomainAddress?s.portfolio.ownDomainAddress:"",s.portfolio.shortId,e.shortId)},class:"f-project related-project"},[(0,r.Lk)("div",dt,[e.settings.usingGeneratedThumbnail?((0,r.uX)(),(0,r.Wv)(l,{key:0,caseStudy:e,"force-squared":""},null,8,["caseStudy"])):e.image.url?((0,r.uX)(),(0,r.CE)("img",{key:1,loading:"lazy",width:"70",src:e.image.croppedImageUrl?e.image.croppedImageUrl:e.image.url,alt:e.name},null,8,pt)):"MainHeader"===e.sections[0].type&amp;&amp;e.sections[0].image&amp;&amp;e.sections[0].image?((0,r.uX)(),(0,r.CE)("img",{key:2,loading:"lazy",width:"70",src:e.sections[0].image.croppedImageUrl?e.sections[0].image.croppedImageUrl:e.sections[0].image.url,alt:e.name},null,8,ht)):e.sections[0].backgroundColor?(0,r.Q3)("v-if",!0):((0,r.uX)(),(0,r.CE)("img",{key:3,loading:"lazy",width:"70",src:"/example_project_images/v2/empty-project-thumbnail.jpg",alt:e.name},null,8,ft))]),s.footerProjects.length&amp;&amp;s.footerProjects.length&lt;7?((0,r.uX)(),(0,r.CE)("div",mt,[(0,r.Lk)("h4",null,(0,Ye.v_)(s.getFooterPojectName(e)),1)])):(0,r.Q3)("v-if",!0)],8,ut)})),128))])],2)):(0,r.Q3)("v-if",!0)],2)],2)])):(0,r.Q3)("v-if",!0),(0,r.Q3)(" UXfolio branding "),s.user.accountSettings.folioLogo?((0,r.uX)(),(0,r.CE)("div",gt,[(0,r.Lk)("div",vt,[(0,r.Lk)("div",yt,[(0,r.Lk)("a",bt,[t[3]||(t[3]=(0,r.eW)(" Made with ")),(0,r.bF)(c)])])])])):(0,r.Q3)("v-if",!0)])),(0,r.Lk)("div",{class:(0,Ye.C4)(["scroll-to-top",{"nav-on":s.portfolio.settings&amp;&amp;s.portfolio.settings.showNavOnCollectionItems}]),onClick:t[1]||(t[1]=function(){return s.scrollToTop&amp;&amp;s.scrollToTop.apply(s,arguments)})},null,2)],4)}]]);var Ct=n(65498),Ot=n(33253),It={class:"ufo--portfolio-container"},Lt={class:"ufo--page-content"},Pt={key:0,class:"ufo--about-header"},Nt={class:"grid"},Dt={class:"about-title"},Rt={class:"about-title-container"},Mt={class:"title"},Ft={key:1,class:"ufo--about-legacy-wrapper"},Ht={class:"grid ufo--about-content"},jt={key:0,class:"about-picture"},Gt=["src"],Bt=["innerHTML"],$t={key:1,class:"ufo--about-content ufo--page-sections"},Wt={class:"ufo--about-header"},Ut={class:"grid"},zt={class:"about-title"},Vt={class:"about-title-container"},Xt={class:"title"},Kt={class:"ufo--page-content ufo--home-page-content"};var qt=n(60710),Yt=n(91101),Qt=n(35028),Jt=n(88460),Zt=null;const en={name:"CustomPage",components:{AnimationWrapper:Jt.A,GetHeroNavigation:Yt.A,PublicPageFooter:Qt.A,PortfolioFooter:St.A,PortfolioHeroHelper:qt.A,SectionLoader:_t.A},mounted:function(){var e={meta:[],script:[]};document.title!==this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")&amp;&amp;(e.title=this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")),Zt=(0,wt.u)(e)},beforeUpdate:function(){Zt.patch({title:this.portfolio.name+("home"!==this.project.type&amp;&amp;this.project.name?" - "+this.project.name:"")})},unmounted:function(){Zt.dispose()},methods:{goBack:function(){this.$router.back()},navigateToPage:function(e){var t=location.href.replace(location.search,"").replace("/p/","/");window.location.pathname.includes("/contact")||window.location.pathname.includes("/about")||window.location.pathname.includes("/p/")?window.location=t.substring(0,t.lastIndexOf("/"))+(e?"/"+e:""):window.location=t+("/"===t[t.length-1]?"":"/")+(e||"")},showLegacyAboutPage:function(){var e=0===this.project.sections.length&amp;&amp;"about"===this.project.type&amp;&amp;this.portfolio.about&amp;&amp;(this.portfolio.about.description||this.portfolio.about.image.url);return e&amp;&amp;n.e(6160).then(n.bind(n,36160)),e},legacyAboutText:function(){return this.portfolio.about.description.includes('rel="noopener noreferrer nofollow"')?this.portfolio.about.description:this.refactoredDesc}},computed:{portfolio:function(){return this.$store.state.view.portfolio},project:function(){return this.$store.state.view.project},templateSettings:function(){return this.portfolio.templateSettings},user:function(){return this.$store.state.view.user},settings:function(){return this.portfolio.templateSettings},refactoredDesc:function(){return this.portfolio.about.description.replace("&lt;a href=",'&lt;a rel="nofollow" href=')},sidebarBackgroundColor:function(){return{"--sidebarBgColor":this.portfolio.templateSettings.hero&amp;&amp;this.portfolio.templateSettings.hero.sidebarSettings?this.portfolio.templateSettings.hero.sidebarSettings.backgroundColor:null}},footerDisabledInThemes:function(){return["theme_four","profile_theme_four","theme_nine","profile_theme_nine","theme_default","profile_theme_default"]},portfolioTemplate:function(){return this.portfolio.templateSettings.theme.replace("_old","")},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},isFooterEnabled:function(){var e="caseStudy"===this.project.type&amp;&amp;this.portfolio.settings.showFooterOnProjects&amp;&amp;this.portfolio.portfolioFooter,t="caseStudy"!==this.project.type&amp;&amp;this.portfolio.settings.showFooterOnPortfolio&amp;&amp;!this.footerDisabledInThemes.includes(this.portfolioTemplate)&amp;&amp;this.portfolio.portfolioFooter;return e||t}}},tn=(0,Ke.A)(en,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("PortfolioHeroHelper"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("AnimationWrapper"),u=(0,r.g2)("SectionLoader"),d=(0,r.g2)("PublicPageFooter");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Q3)(" Old layout "),s.templateSettings.theme.includes("profile_")?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"ufo--portfolio-container",style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.Lk)("div",It,[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--portfolio-page","profile-page","profile-subpage",s.templateSettings.theme,s.templateSettings.showProfilePicture?"profile--hp":""])},["profile_theme_default_old"===s.templateSettings.theme||"profile_theme_one"!==s.templateSettings.theme&amp;&amp;"profile_theme_two"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,Ye.C4)(["grid","ufo--page-hero",s.templateSettings.theme])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--page-hero-content",s.templateSettings.showProfilePicture&amp;&amp;(s.portfolio.image.url||s.user.image.url&amp;&amp;!s.portfolio.image.url)?"has-picture":"no-profile-picture"])},[(0,r.bF)(a)],2)],2)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Lt,[!s.templateSettings.theme||s.templateSettings.theme&amp;&amp;s.templateSettings.theme.includes("profile_theme_default")?((0,r.uX)(),(0,r.Wv)(l,{key:0,"show-home-button":!0})):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme,s.portfolio.about&amp;&amp;(s.portfolio.about.description||s.portfolio.about.image.url)?"legacy":""])},[s.templateSettings.theme.includes("theme_one")||s.templateSettings.theme.includes("theme_two")?((0,r.uX)(),(0,r.CE)("div",Pt,[(0,r.Lk)("div",Nt,[(0,r.Lk)("div",Dt,[(0,r.Lk)("div",Rt,[(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("h1",Mt,(0,Ye.v_)(s.project.name?s.project.name:""),1)]})),_:1},8,["animation-style","animation-speed"])])]),(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",{class:"back",onClick:t[0]||(t[0]=function(e){return s.navigateToPage()})},"âŸµ Back")]})),_:1},8,["animation-style","animation-speed"])])])):(0,r.Q3)("v-if",!0),s.showLegacyAboutPage()?((0,r.uX)(),(0,r.CE)("div",Ft,[(0,r.bF)(c,{"animation-style":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationStyle:null,"animation-speed":e.$store.getters.animationSettings?e.$store.getters.animationSettings.animationSpeed:null},{animationContent:(0,r.k6)((function(){return[(0,r.Lk)("div",Ht,[s.portfolio.about.image.url?((0,r.uX)(),(0,r.CE)("div",jt,[(0,r.Lk)("img",{src:s.portfolio.about.image.url},null,8,Gt)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,Ye.C4)(["about-text",s.portfolio.about.image.url?"":"no-pic"]),innerHTML:s.legacyAboutText()},null,10,Bt)])]})),_:1},8,["animation-style","animation-speed"])])):(0,r.Q3)("v-if",!0)],2),s.project.sections?((0,r.uX)(),(0,r.CE)("div",$t,[(0,r.bF)(u,{"default-image-alt":"",sections:s.project.sections},null,8,["sections"])])):(0,r.Q3)("v-if",!0)]),(0,r.bF)(d)],2)])],4)):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Q3)(" New Layout "),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--portfolio-page",s.templateSettings.theme]),style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.bF)(a),"theme_one"===s.templateSettings.theme||"theme_two"===s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme])},[(0,r.Lk)("div",Wt,[(0,r.Lk)("div",Ut,[(0,r.Lk)("div",zt,[(0,r.Lk)("div",Vt,[(0,r.Lk)("h1",Xt,(0,Ye.v_)(s.project.name?s.project.name:""),1)])]),(0,r.Lk)("div",{class:"back",onClick:t[1]||(t[1]=function(e){return s.navigateToPage()})},"âŸµ Back")])])],2)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Kt,[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--page-sections ufo--about-page-sections",{"empty-list":s.project.sections.length&lt;1}])},[(0,r.bF)(u,{sections:s.project.sections,"default-image-alt":""},null,8,["sections"])],2)])],6)],2112))],2112)}],["__scopeId","data-v-5dcfc60e"]]);var nn=n(80902),rn=n(5171),on=n(33501),sn=n(16456);function an(e){return an="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},an(e)}function ln(){ln=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==an(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(an(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function cn(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function un(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){cn(i,r,o,s,a,"next",e)}function a(e){cn(i,r,o,s,a,"throw",e)}s(void 0)}))}}const dn={name:"PageWrapper",props:["review"],components:{ReviewMode:sn.A,ErrorPage:rn.A,PasswordProtection:nn.A,CustomPage:tn,Project:xt},data:function(){return{pageType:null,loaded:!1}},beforeRouteEnter:function(e,t,n){return un(ln().mark((function t(){var r,o,i,s;return ln().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r="/data/project",o=e.params.projectShortId,(i=e.params.portfolioShortId)&amp;&amp;(r+="/"+i),o&amp;&amp;(r+="/"+o),t.next=8,Ct.A.get(r);case 8:s=t.sent,n((function(e){return e.setData(s.status,s.data)})),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),n((function(e){return e.setData(t.t0,null)}));case 15:case"end":return t.stop()}}),t,null,[[0,12]])})))()},beforeRouteUpdate:function(e,t){var n=this;return un(ln().mark((function t(){var r,o,i;return ln().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=n.fetchUrl(e),t.next=4,Ct.A.get(r);case 4:o=t.sent,i=o.data,n.setData(null,i),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.log("error");case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},methods:{setData:function(e,t){if(e&amp;&amp;!t)return 404===e.response.status?(this.pageType="not_found",void(this.loaded=!0)):(this.pageType="password",void(this.loaded=!0));this.$store.state.view.fontsLoaded&amp;&amp;"project"!==t.pageType||((0,Ot.zQ)(t.fonts),t.fontNames.filter((function(e){return!t.fonts.map((function(e){return e.name})).includes(e)})).forEach((function(e){on.A.getFontURL(e)})),this.$store.state.view.fontsLoaded=!0);var r={portfolio:t.portfolio,project:t.project,user:t.user,portfolioPages:t.portfolioPages,activePage:t.project.shortId,footerProjects:t.footerProjects};this.$store.commit("updateView",r),this.pageType=t.pageType;var o=document.querySelector("body");if("project"===t.pageType?o.style.backgroundColor=t.project.designSettings.colorStyles.background.color:o.style.backgroundColor=t.portfolio.designSettings.colorStyles.background.color,!t.portfolio.templateSettings.theme.includes("profile_"))try{n(19600)("./_".concat(t.portfolio.templateSettings.theme.replaceAll("_","-").replace("profile_",""),"-base.scss"))}catch(e){console.log("failed to import scss")}this.$store.state.portfolio=t.portfolio,this.$store.state.project=t.project,this.loaded=!0},fetchUrl:function(e){var t="/data/project",n=e.params.projectShortId,r=e.params.portfolioShortId;return r&amp;&amp;(t+="/"+r),n&amp;&amp;(t+="/"+n),t}},computed:{currentComponent:function(){if(!this.loaded)return null;switch(this.pageType){case"project":return"Project";case"custom":return"CustomPage";case"password":return"PasswordProtection";case"not_found":return"ErrorPage";default:return null}},currentProps:function(){switch(this.pageType){case"password":return{fetchUrl:this.fetchUrl,setData:this.setData,type:"Case Study"};case"not_found":return{error:{code:404,title:"This page doesnâ€™t exist",message:"We can't seem to find the page you are looking for"}};default:return{}}}}},pn=(0,Ke.A)(dn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ReviewMode");return i.loaded?((0,r.uX)(),(0,r.CE)("div",Qe,[n.review?((0,r.uX)(),(0,r.Wv)(a,{key:0},{default:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentComponent),(0,Ye._B)((0,r.Ng)(s.currentProps)),null,16))]})),_:1})):((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentComponent),(0,Ye._B)((0,r.v6)({key:1},s.currentProps)),null,16))])):(0,r.Q3)("v-if",!0)}]]);var hn=n(14772);var fn=n(49905);function mn(e){return mn="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},mn(e)}function gn(){gn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==mn(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(mn(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yn(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=mn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wn(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}const Sn={name:"TemplatePreview",data:function(){return{portfolio:{templateSettings:null},fonts:[],portfolioPages:[],projects:{},user:{name:"",contactEmail:""}}},beforeMount:function(){this.getData()},watch:{theme:function(){this.getData()}},methods:{getData:function(){var e,t=this;return(e=gn().mark((function e(){var r,o,i;return gn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ct.A.get("/data/templates/"+t.theme);case 3:r=e.sent,o=(0,fn.V)("").find((function(e){return e.title.toLowerCase()===t.theme})),t.portfolio=yn(yn({},r.data.portfolio),{},{templateSettings:yn(yn({},r.data.portfolio.templateSettings),{},{ctaStyle:o.settings.ctaStyle,projectTitle:o.settings.projectTitle,tileDisplayMode:o.settings.tileDisplayMode,thumbnailLayout:o.settings.thumbnailLayout,navigation:o?o.settings.navigation:{}}),designSettings:o.designSettings}),t.fonts=r.data.fonts,t.portfolioPages=r.data.portfolioPages,t.projects=r.data.projects,t.user=r.data.user,document.querySelector("body").style.backgroundColor=t.portfolio.designSettings.colorStyles.background.color,i={user:r.data.user,portfolio:t.portfolio,portfolioPages:t.portfolioPages},t.$store.commit("updateView",i),t.$store.state.portfolio=t.portfolio,(0,Ot.zQ)(r.data.fonts),r.data.portfolio.templateSettings.theme.includes("profile_")||n(19600)("./_".concat(r.data.portfolio.templateSettings.theme.replaceAll("_","-"),"-base.scss")),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.log(e.t0);case 22:case"end":return e.stop()}}),e,null,[[0,19]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){wn(i,r,o,s,a,"next",e)}function a(e){wn(i,r,o,s,a,"throw",e)}s(void 0)}))})()}},computed:{templateSettings:function(){return this.portfolio.templateSettings},theme:function(){return this.$route.params.templateId}}},_n=(0,Ke.A)(Sn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("RouterView");return i.portfolio&amp;&amp;s.templateSettings?((0,r.uX)(),(0,r.Wv)(a,{key:0,portfolio:i.portfolio,projects:i.projects,user:i.user,themeId:s.theme},null,8,["portfolio","projects","user","themeId"])):(0,r.Q3)("v-if",!0)}]]);var kn={class:"ufo--page-content ufo--home-page-content"},An={key:1,class:"grid"},Tn={class:"ufo--page-sections"},En={class:"ufo-sec ufo-sec--projectgrid"},xn={class:"grid ufo--user-projects"},Cn={class:"project-name"},On={class:"project-title"},In={class:"project-subtitle"},Ln={class:"image-container"},Pn=["src"],Nn={class:"ufo--page-content ufo--home-page-content"},Dn={class:"ufo--page-sections"},Rn={class:"projects-list project-wrapper"},Mn={key:0,id:"section-0",class:"ufo-sec ufo-sec--dividerline"},Fn={class:"grid ufo--user-projects"},Hn={class:"project-name"},jn={class:"project-title"},Gn={class:"project-subtitle"},Bn={class:"image-container"},$n=["src"];const Wn={name:"TemplatePreviewHomePage",props:["portfolio","projects"],components:{GetHeroNavigation:Yt.A,PortfolioHeroHelper:qt.A,PublicPageFooter:Qt.A},mounted:function(){this.$store.state.view.activePage="home"},computed:{templateSettings:function(){return this.portfolio.templateSettings},layout:function(){return this.portfolio.templateSettings.thumbnailLayout?this.portfolio.templateSettings.thumbnailLayout:this.portfolio.templateSettings.virtualThumbnailLayout},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},showDividerLineSection:function(){return["theme_two","theme_sixteen"].includes(this.templateSettings.theme)},contentPosition:function(){return"profile_theme_nine"===this.templateSettings.theme?"align-content-to-".concat(this.templateSettings.hero.alignment.vertical):null}}},Un=(0,Ke.A)(Wn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("PortfolioHeroHelper"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("PublicPageFooter");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Q3)(" Old layout "),!s.templateSettings.theme||s.templateSettings.theme.includes("profile_")?((0,r.uX)(),(0,r.CE)("div",(0,r.v6)({key:0},e.$attrs,{class:["ufo--portfolio-page","profile-page",s.templateSettings.theme,"profile--hp","profile_theme_default"===s.templateSettings.theme&amp;&amp;n.portfolio.about?"default-template":""],style:[s.getTextStyles]}),[(0,r.Lk)("div",{class:(0,Ye.C4)(["grid","ufo--page-hero",s.templateSettings.theme,s.templateSettings.navigation&amp;&amp;!0===s.templateSettings.navigation.fill?"filled":"transparent"])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--page-hero-content","theme_one"===s.templateSettings.theme||"theme_seven"===s.templateSettings.theme||"theme_eight"===s.templateSettings.theme?"no-profile-picture":" has-picture",s.contentPosition])},[(0,r.bF)(a)],2)],2),(0,r.Lk)("div",kn,["profile_theme_default"===s.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(l,{key:0,"show-home-button":"profile_theme_default"===s.templateSettings.theme},null,8,["show-home-button"])):(0,r.Q3)("v-if",!0),"theme_two"===s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",An,[(0,r.Lk)("div",{class:(0,Ye.C4)("works_line_"+s.templateSettings.theme)},null,2)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Tn,[(0,r.Lk)("div",En,[(0,r.Lk)("div",xn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.projects,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:(0,Ye.C4)(["project","title-is--"+s.templateSettings.projectTitle.visibility,"title-is--"+s.templateSettings.projectTitle.placement,"title-is--"+s.templateSettings.projectTitle.color,"thumbnail-is--"+s.templateSettings.tileDisplayMode.split("-")[0],"thumbnail-is--"+s.templateSettings.tileDisplayMode,s.templateSettings.projectTitle.alignment?"title-align--"+s.templateSettings.projectTitle.alignment.vertical:"",s.templateSettings.projectTitle.alignment?"title-justify--"+s.templateSettings.projectTitle.alignment.horizontal:"","layout-is--"+s.layout])},[(0,r.Lk)("div",Cn,[(0,r.Lk)("div",On,(0,Ye.v_)(e.title),1),(0,r.Lk)("div",In,(0,Ye.v_)(e.subtitle),1)]),(0,r.Lk)("div",Ln,[(0,r.Lk)("img",{src:e.thumbnail,alt:"",class:"project-thumbnail"},null,8,Pn)])],2)})),128))])])])]),(0,r.bF)(c)],16)):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Q3)(" New Layout "),(0,r.Lk)("div",(0,r.v6)(e.$attrs,{class:["ufo--portfolio-page",s.templateSettings.theme],style:[s.getTextStyles]}),[(0,r.bF)(a),(0,r.Lk)("div",Nn,[(0,r.Lk)("div",Dn,[(0,r.Lk)("div",Rn,[s.showDividerLineSection?((0,r.uX)(),(0,r.CE)("div",Mn,t[0]||(t[0]=[(0,r.Fv)('&lt;div class="grid" data-v-b7109804&gt;&lt;div class="divider-line weight-light below left" data-v-b7109804&gt;&lt;div class="text preview" data-v-b7109804&gt;&lt;div class="ufo--section-text-container h2" data-v-b7109804&gt; Featured projects &lt;/div&gt;&lt;/div&gt;&lt;div class="line preview" style="background-color:#33312f;" data-v-b7109804&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;',1)]))):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:"ufo-sec ufo-sec--projectgrid",style:(0,Ye.Tr)(["theme_five"===s.templateSettings.theme?"paddingTop: 0; margin-top: -100px":null])},[(0,r.Lk)("div",Fn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.projects,(function(e){return(0,r.uX)(),(0,r.CE)("div",{key:e,class:(0,Ye.C4)(["project","title-is--"+s.templateSettings.projectTitle.visibility,"title-is--"+s.templateSettings.projectTitle.placement,"title-is--"+s.templateSettings.projectTitle.color,"thumbnail-is--"+s.templateSettings.tileDisplayMode.split("-")[0],"thumbnail-is--"+s.templateSettings.tileDisplayMode,s.templateSettings.projectTitle.alignment?"title-align--"+s.templateSettings.projectTitle.alignment.vertical:"",s.templateSettings.projectTitle.alignment?"title-justify--"+s.templateSettings.projectTitle.alignment.horizontal:"","layout-is--"+s.layout])},[(0,r.Lk)("div",Hn,[(0,r.Lk)("div",jn,(0,Ye.v_)(e.title),1),(0,r.Lk)("div",Gn,(0,Ye.v_)(e.subtitle),1)]),(0,r.Lk)("div",Bn,[(0,r.Lk)("img",{src:e.thumbnail,alt:"",class:"project-thumbnail"},null,8,$n)])],2)})),128))])],4)])])])],16)],2112)),(0,r.bF)(c)],64)}],["__scopeId","data-v-b7109804"]]);var zn={key:0,class:"ufo--portfolio-container"},Vn={class:"ufo--page-content ufo--home-page-content"},Xn={key:0,class:"ufo--about-header"},Kn={class:"grid"},qn={class:"about-title"},Yn={class:"about-title-container"},Qn={class:"title"},Jn={class:"grid ufo--about-content"},Zn={key:0,class:"about-picture"},er=["src"],tr=["innerHTML"],nr={key:0,class:"ufo--about-header"},rr={class:"grid"},or={class:"about-title"},ir={class:"about-title-container"},sr={class:"title"},ar={class:"ufo--page-content ufo--home-page-content"},lr={class:"ufo--page-sections"},cr={class:"project-wrapper"},ur={id:"section-0",class:"ufo-sec ufo-sec--textandmedia flipped"},dr={class:"grid"},pr={class:"col-media medium"},hr={class:"media-container display-mode--fit"},fr=["src"],mr={class:"col-text"},gr=["innerHTML"];const vr={name:"AboutPage",components:{GetHeroNavigation:Yt.A,PublicPageFooter:Qt.A,PortfolioHeroHelper:qt.A},props:["portfolio","projects","user","themeId"],mounted:function(){this.$store.state.view.activePage="about"},computed:{templateSettings:function(){return this.portfolio.templateSettings},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},contentPosition:function(){return"profile_theme_nine"===this.templateSettings.theme?"align-content-to-".concat(this.templateSettings.hero.alignment.vertical):null}},methods:{getText:function(e){return e.replace("&lt;a href",'&lt;a rel="nofollow" href')},navigateToPage:function(e){var t=location.href.replace(location.search,"").replace("/p/","/");window.location.pathname.includes("/contact")||window.location.pathname.includes("/about")||window.location.pathname.includes("/p/")?window.location=t.substring(0,t.lastIndexOf("/"))+(e?"/"+e:""):window.location=t+("/"===t[t.length-1]?"":"/")+(e||"")}}},yr=(0,Ke.A)(vr,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("PortfolioHeroHelper"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("PublicPageFooter");return(0,r.uX)(),(0,r.CE)("main",null,[(0,r.Q3)(" get old theme layout here "),!s.templateSettings.theme||s.templateSettings.theme.includes("profile_")?((0,r.uX)(),(0,r.CE)("div",zn,[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--portfolio-page","profile-page","profile-subpage",s.templateSettings.theme,"profile--hp","profile_theme_default"===s.templateSettings.theme&amp;&amp;n.portfolio.about?"default-template":""]),style:(0,Ye.Tr)([s.getTextStyles])},["profile_theme_default"===s.templateSettings.theme||"theme_one"!==s.templateSettings.theme&amp;&amp;"theme_two"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,Ye.C4)(["grid","ufo--page-hero",s.templateSettings.theme])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--page-hero-content","theme_three"===s.templateSettings.theme||"theme_seven"===s.templateSettings.theme?"no-profile-picture":"has-picture",s.contentPosition])},[(0,r.bF)(a)],2)],2)):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Vn,["profile_theme_default"===s.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(l,{key:0,"show-home-button":"profile_theme_default"===s.templateSettings.theme},null,8,["show-home-button"])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme])},["profile_theme_default"!==s.templateSettings.theme&amp;&amp;"theme_three"!==s.templateSettings.theme&amp;&amp;"profile_theme_four"!==s.templateSettings.theme&amp;&amp;"theme_five"!==s.templateSettings.theme&amp;&amp;"theme_six"!==s.templateSettings.theme&amp;&amp;"theme_eight"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",Xn,[(0,r.Lk)("div",Kn,[(0,r.Lk)("div",qn,[(0,r.Lk)("div",Yn,[(0,r.Lk)("h1",Qn,(0,Ye.v_)(n.portfolio.about.pageTitle),1)])]),"profile_theme_four"!==s.templateSettings.theme&amp;&amp;"theme_seven"!==s.templateSettings.theme&amp;&amp;"profile_theme_nine"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"back",onClick:t[0]||(t[0]=function(e){return s.navigateToPage()})},"âŸµ Back")):(0,r.Q3)("v-if",!0)])])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",Jn,[n.portfolio.about.image.url?((0,r.uX)(),(0,r.CE)("div",Zn,[(0,r.Lk)("img",{src:n.portfolio.about.image.url},null,8,er)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,Ye.C4)(["about-text",n.portfolio.about.image.url?"":"no-pic"]),innerHTML:s.getText(n.portfolio.about.description)},null,10,tr)])],2)])],6),(0,r.bF)(c)])):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Q3)(" get new, simpler theme layout here "),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--portfolio-page",s.templateSettings.theme]),style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.bF)(a),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme])},["theme_one"===s.templateSettings.theme||"theme_two"===s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",nr,[(0,r.Lk)("div",rr,[(0,r.Lk)("div",or,[(0,r.Lk)("div",ir,[(0,r.Lk)("h1",sr,(0,Ye.v_)(n.portfolio.about.pageTitle),1)])]),(0,r.Lk)("div",{class:"back",onClick:t[1]||(t[1]=function(e){return s.navigateToPage()})},"âŸµ Back")])])):(0,r.Q3)("v-if",!0)],2),(0,r.Lk)("div",ar,[(0,r.Lk)("div",lr,[(0,r.Lk)("div",cr,[(0,r.Lk)("div",ur,[(0,r.Lk)("div",dr,[(0,r.Lk)("div",pr,[(0,r.Lk)("div",hr,[(0,r.Lk)("img",{loading:"lazy",src:n.portfolio.about.image.url,"data-zoom":"",alt:"",class:"medium-zoom-image"},null,8,fr)])]),(0,r.Lk)("div",mr,[(0,r.Lk)("div",{class:"text-container",innerHTML:n.portfolio.about.description},null,8,gr)])])])])])]),(0,r.bF)(c)],6)],2112))])}],["__scopeId","data-v-3aedb6c0"]]);var br={key:0,class:"ufo--portfolio-container"},wr={class:"ufo--page-content ufo--home-page-content"},Sr={key:0,class:"ufo--about-header"},_r={class:"grid"},kr={class:"ufo--about-content ufo--page-sections"},Ar={id:"section-0",class:"ufo-sec ufo-sec--contactform"},Tr={class:"grid"},Er={class:"ufo--contact-form"},xr={class:"ufo--form",name:"contact_form_section"},Cr={class:"title h4"},Or=["value"],Ir={class:"ufo--cta-btn-wr"},Lr={key:0,class:"ufo--about-header"},Pr={class:"grid"},Nr={class:"ufo--page-content ufo--home-page-content"},Dr={class:"ufo--page-sections"},Rr={class:"project-wrapper"},Mr={id:"section-0",class:"ufo-sec ufo-sec--contactform"},Fr={class:"grid"},Hr={class:"ufo--contact-form"},jr={class:"ufo--form",name:"contact_form_section"},Gr={class:"title h4"},Br=["value"],$r={class:"ufo--cta-btn-wr"};const Wr={name:"ContactPage",components:{GetHeroNavigation:Yt.A,PublicPageFooter:Qt.A,PortfolioHeroHelper:qt.A},props:["portfolio","projects","user","themeId"],mounted:function(){this.$store.state.view.activePage="contact"},computed:{templateSettings:function(){return this.portfolio.templateSettings},getTextStyles:function(){return this.$store.getters.getAllTextStylesInCss},contentPosition:function(){return"profile_theme_nine"===this.templateSettings.theme?"align-content-to-".concat(this.templateSettings.hero.alignment.vertical):null}},methods:{navigateToPage:function(e){var t=location.href.replace(location.search,"").replace("/p/","/");window.location.pathname.includes("/contact")||window.location.pathname.includes("/about")||window.location.pathname.includes("/p/")?window.location=t.substring(0,t.lastIndexOf("/"))+(e?"/"+e:""):window.location=t+("/"===t[t.length-1]?"":"/")+(e||"")}}},Ur=(0,Ke.A)(Wr,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("PortfolioHeroHelper"),l=(0,r.g2)("GetHeroNavigation"),c=(0,r.g2)("PublicPageFooter");return!s.templateSettings.theme||s.templateSettings.theme.includes("profile_")?((0,r.uX)(),(0,r.CE)("div",br,[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--portfolio-page","profile-page","profile-subpage",s.templateSettings.theme,"profile--hp",""===s.templateSettings.theme&amp;&amp;n.portfolio.about?"default-template":""]),style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["grid","ufo--page-hero",s.templateSettings.theme])},[(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--page-hero-content","theme_three"===s.templateSettings.theme||"theme_seven"===s.templateSettings.theme?"no-profile-picture":"has-picture",s.contentPosition])},[(0,r.bF)(a)],2)],2),(0,r.Lk)("div",wr,["profile_theme_default"===s.templateSettings.theme?((0,r.uX)(),(0,r.Wv)(l,{key:0,"show-home-button":"profile_theme_default"===s.templateSettings.theme},null,8,["show-home-button"])):(0,r.Q3)("v-if",!0),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme=="profile_theme_default"?"default-template":s.templateSettings.theme])},["profile_theme_default"!==s.templateSettings.theme&amp;&amp;"theme_three"!==s.templateSettings.theme&amp;&amp;"profile_theme_four"!==s.templateSettings.theme&amp;&amp;"theme_five"!==s.templateSettings.theme&amp;&amp;"theme_six"!==s.templateSettings.theme&amp;&amp;"theme_eight"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",Sr,[(0,r.Lk)("div",_r,[t[2]||(t[2]=(0,r.Lk)("div",{class:"about-title"},[(0,r.Lk)("h1",{class:"title"},"Contact me")],-1)),"profile_theme_four"!==s.templateSettings.theme&amp;&amp;"theme_seven"!==s.templateSettings.theme&amp;&amp;"profile_theme_nine"!==s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"back",onClick:t[0]||(t[0]=function(e){return s.navigateToPage()})},"âŸµ Back")):(0,r.Q3)("v-if",!0)])])):(0,r.Q3)("v-if",!0)],2),(0,r.Lk)("div",kr,[(0,r.Lk)("section",Ar,[(0,r.Lk)("div",Tr,[(0,r.Lk)("div",Er,[(0,r.Lk)("form",xr,[(0,r.Lk)("div",Cr," Dear "+(0,Ye.v_)(n.user.name)+", ",1),(0,r.Lk)("input",{type:"hidden",name:"toEmail",value:n.user.contactEmail},null,8,Or),t[3]||(t[3]=(0,r.Fv)('&lt;textarea name="message" type="text" class="form-handler" required placeholder="Write your message here..."&gt;&lt;/textarea&gt;&lt;br&gt;&lt;div class="subtitle h4"&gt; Best, &lt;/div&gt;&lt;div class="sender"&gt;&lt;input class="s-name form-handler" name="senderName" type="text" required placeholder="Your name"&gt;&lt;input class="s-mail form-handler" name="senderEmail" type="text" required placeholder="Your email"&gt;&lt;/div&gt;',4)),(0,r.Lk)("div",Ir,[(0,r.Lk)("button",{class:(0,Ye.C4)(["btn","btn--cta",s.templateSettings.ctaStyle.fillStyle,s.templateSettings.ctaStyle.shape])}," Send email ",2)])]),t[4]||(t[4]=(0,r.Lk)("div",{class:"ufo--form-status-message"},null,-1))])])])])])],6)])):((0,r.uX)(),(0,r.CE)("div",{key:1,class:(0,Ye.C4)(["ufo--portfolio-page",s.templateSettings.theme]),style:(0,Ye.Tr)([s.getTextStyles])},[(0,r.bF)(a),(0,r.Lk)("div",{class:(0,Ye.C4)(["ufo--about-page","ufo--about-page-"+s.templateSettings.theme])},["theme_one"===s.templateSettings.theme||"theme_two"===s.templateSettings.theme?((0,r.uX)(),(0,r.CE)("div",Lr,[(0,r.Lk)("div",Pr,[t[5]||(t[5]=(0,r.Lk)("div",{class:"about-title"},[(0,r.Lk)("div",{class:"about-title-container"},[(0,r.Lk)("h1",{class:"title"},"Contact me")])],-1)),(0,r.Lk)("div",{class:"back",onClick:t[1]||(t[1]=function(e){return s.navigateToPage()})},"âŸµ Back")])])):(0,r.Q3)("v-if",!0)],2),(0,r.Lk)("div",Nr,[(0,r.Lk)("div",Dr,[(0,r.Lk)("div",Rr,[(0,r.Lk)("section",Mr,[(0,r.Lk)("div",Fr,[(0,r.Lk)("div",Hr,[(0,r.Lk)("form",jr,[(0,r.Lk)("div",Gr," Dear "+(0,Ye.v_)(n.user.name)+", ",1),(0,r.Lk)("input",{type:"hidden",name:"toEmail",value:n.user.contactEmail},null,8,Br),t[6]||(t[6]=(0,r.Fv)('&lt;textarea name="message" type="text" class="form-handler" required placeholder="Write your message here..."&gt;&lt;/textarea&gt;&lt;br&gt;&lt;div class="subtitle h4"&gt; Best, &lt;/div&gt;&lt;div class="sender"&gt;&lt;input class="s-name form-handler" name="senderName" type="text" required placeholder="Your name"&gt;&lt;input class="s-mail form-handler" name="senderEmail" type="text" required placeholder="Your email"&gt;&lt;/div&gt;',4)),(0,r.Lk)("div",$r,[(0,r.Lk)("button",{class:(0,Ye.C4)(["btn","btn--cta",s.templateSettings.ctaStyle.fillStyle,s.templateSettings.ctaStyle.shape])}," Send email ",2)])]),t[7]||(t[7]=(0,r.Lk)("div",{class:"ufo--form-status-message"},null,-1))])])])])])]),(0,r.bF)(c)],6))}]]);var zr={key:0,class:"review-wrapper"};var Vr=n(41185),Xr=n(47875),Kr=n(76647),qr=n(96610);const Yr=n.p+"src/assets/images/ill-logo-volt-circle..png";function Qr(e){return Qr="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},Qr(e)}function Jr(){Jr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==Qr(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(Qr(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function Zr(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function eo(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Zr(i,r,o,s,a,"next",e)}function a(e){Zr(i,r,o,s,a,"throw",e)}s(void 0)}))}}const to={name:"ReceiverMode",components:{ReviewNav:Vr.A,Overview:Xr.A},data:function(){return{reviews:null,emptyState:!1,loaded:!1}},mounted:function(){this.checkUser()},methods:{checkUser:function(){var e=this;return eo(Jr().mark((function t(){var n;return Jr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Kr.A.getMyUser();case 3:return n=t.sent,e.$store.state.user=n.data.user,e.$reviewStore.review.receiver=!0,t.next=8,e.getReviews();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),window.location.replace(window.location.origin);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},getReviews:function(){var e=this;return eo(Jr().mark((function t(){var n,r,o,i;return Jr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,qr.A.getReviewsByContentId(e.$store.state.portfolio._id);case 3:n=t.sent,e.reviews=n.data,n.data.length?(r=e.$route.query.reviewer,o=n.data[0],i=n.data.find((function(e){return e.reviewerDetails._id===r})),e.$reviewStore.review=i||o,e.$reviewStore.reviews=n.data):(e.emptyState=!0,e.setEmptyState()),e.loaded=!0,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.log("e",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},setEmptyState:function(){var e={followUps:[],overview:{positiveAspects:"&lt;p&gt;This is the place for what works in your portfolio: &lt;ul&gt;&lt;li&gt;look &amp; feel&lt;/li&gt;&lt;li&gt;information architecture&lt;/li&gt;&lt;li&gt;clarity of explanations&lt;/li&gt;&lt;/p&gt;",negativeAspects:"&lt;p&gt;This is the place for things that could be improved: &lt;ul&gt;&lt;li&gt;look &amp; feel&lt;/li&gt;&lt;li&gt;information architecture&lt;/li&gt;&lt;li&gt;clarity of explanations&lt;/li&gt;&lt;/p&gt;"},reviewerDetails:{name:"Example Reviewer",jobTitle:"Portfolio Expert @UXfolio",email:"example@uxfol.io",image:{url:Yr}},sectionReactions:[{sectionId:"portfolio-hero",reaction:"&amp;#128150",comments:[{text:"I love your font choice!",label:"Design",createdAt:Date.now()}],pageData:{shortId:"home",name:"Home"}}]};this.$reviewStore.review=e,this.$reviewStore.reviews=[e]}}},no=(0,Ke.A)(to,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("ReviewNav"),l=(0,r.g2)("Overview");return i.loaded?((0,r.uX)(),(0,r.CE)("div",zr,[(0,r.bF)(a,{reviewMode:!1}),(0,r.RG)(e.$slots,"default"),(0,r.bF)(l,{reviewMode:!1,"is-empty":i.emptyState},null,8,["is-empty"])])):(0,r.Q3)("v-if",!0)}]]);var ro=n(7431);function oo(e){return oo="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},oo(e)}function io(){io=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==oo(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(oo(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function so(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function ao(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){so(i,r,o,s,a,"next",e)}function a(e){so(i,r,o,s,a,"throw",e)}s(void 0)}))}}const lo={name:"ReviewWrapper",components:{ReviewMode:sn.A,PortfolioPage:ro.A,Project:xt,CustomPage:tn,PasswordProtection:nn.A,ErrorPage:rn.A,ReceiverMode:no},props:["review"],data:function(){return{loaded:!1,pageType:null,projectShortId:null,error:!1}},mounted:function(){this.$reviewStore.isReviewMode=!0,this.$reviewStore.receiver=!this.review},beforeRouteEnter:function(e,t,n){return ao(io().mark((function t(){var r,o,i;return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r="/data",(o=e.params.portfolioShortId)?(r+="/shortid/"+o,e.params.projectShortId&amp;&amp;(r+="/"+e.params.projectShortId)):r+="/portfolio",t.next=6,Ct.A.get(r+"?isReview=true");case 6:i=t.sent,n((function(e){return e.setData(i.status,i.data)})),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),n((function(e){return e.setData(t.t0,null)}));case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},beforeRouteUpdate:function(e,t){var n=this;return ao(io().mark((function t(){var r,o,i;return io().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=n.projectFetchUrl(e),t.next=4,Ct.A.get(r+"?isReview=true");case 4:o=t.sent,i=o.data,n.setData(null,i),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.log("error",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},methods:{setData:function(e,t){if(e&amp;&amp;!t&amp;&amp;404===e.response.status)return this.pageType="not_found",this.error=!0,void(this.loaded=!0);this.$store.state.view.fontsLoaded||((0,Ot.zQ)(t.fonts),t.fontNames.filter((function(e){return!t.fonts.map((function(e){return e.name})).includes(e)})).forEach((function(e){on.A.getFontURL(e)})),this.$store.state.view.fontsLoaded=!0);this.password=!1;var r={portfolio:t.portfolio,project:t.project,user:t.user,portfolioPages:t.portfolioPages,activePage:t.project.shortId,footerProjects:t.footerProjects?t.footerProjects:[],caseStudies:t.caseStudies,hasDraftCasestudies:t.hasDraftCasestudies,loggedInUserId:t.loggedInUserId,emergencyModeSettings:t.emergencyModeSettings};"home"===t.project.type?this.pageType="portfolio":"caseStudy"===t.project.type?this.pageType="project":this.pageType="custom",this.$store.commit("updateView",r);var o=document.querySelector("body");if("project"===t.pageType?o.style.backgroundColor=t.project.designSettings.colorStyles.background.color:o.style.backgroundColor=t.portfolio.designSettings.colorStyles.background.color,!t.portfolio.templateSettings.theme.includes("profile_"))try{n(19600)("./_".concat(t.portfolio.templateSettings.theme.replaceAll("_","-").replace("profile_",""),"-base.scss"))}catch(e){console.log("failed to import scss")}this.$store.state.portfolio=t.portfolio,this.$store.state.project=t.project,this.loaded=!0},projectFetchUrl:function(e){var t="/data/project",n=e.params.projectShortId,r=e.params.portfolioShortId;return r&amp;&amp;(t+="/"+r),n&amp;&amp;(t+="/"+n),t}},computed:{currentComponent:function(){if(!this.loaded)return null;switch(this.pageType){case"project":return"Project";case"custom":return"CustomPage";case"not_found":return"ErrorPage";case"portfolio":return"PortfolioPage";default:return null}},currentProps:function(){return this.error?{error:{code:404,title:"This page doesnâ€™t exist",message:"We canâ€™t seem to find the page you are looking for"}}:{}},currentMode:function(){return this.review?"ReviewMode":"ReceiverMode"}}},co=(0,Ke.A)(lo,[["render",function(e,t,n,o,i,s){return"ErrorPage"!==s.currentComponent?((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentMode),{key:0},{default:(0,r.k6)((function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentComponent),(0,Ye._B)((0,r.Ng)(s.currentProps)),null,16))]})),_:1})):((0,r.uX)(),(0,r.Wv)((0,r.$y)(s.currentComponent),(0,Ye._B)((0,r.v6)({key:1},s.currentProps)),null,16))}]]);function uo(e){return uo="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},uo(e)}function po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ho(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=uo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=uo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fo,mo=function(){return n.e(3782).then(n.bind(n,28234))},go=function(){return n.e(3782).then(n.bind(n,48538))},vo=function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,62685))},yo=function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,38359))},bo=function(){return n.e(3681).then(n.bind(n,72349))},wo=function(){return n.e(5991).then(n.bind(n,67048))},So={path:"style",components:{sidePanel:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,82553))}},props:!0,children:[{path:"",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,53191))}},meta:{sidePanelSettings:{panel:Me.jF.MAIN_PANEL,title:"Design",saveButtonLabel:"Save",previousSettings:null,prevAccentColor:null,showSecondaryTab:!1,hideActionButtons:!0,hideBackButton:!0,allowSave:!1,updateParentPortfolio:!1,tabPills:null,activeTab:null}}},{path:"change-template",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,6433))}},meta:{sidebarSettings:{panel:Me.jF.TEMPLATES,title:"Templates",hideBackButton:!1,hideActionButtons:!1}}},{path:"colors",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,1943))}},meta:{sidePanelSettings:{panel:Me.jF.COLORS,title:"Colors",hideBackButton:!1,hideActionButtons:!1,tabPills:[{label:"Presets",type:"presetColors"},{label:"Custom",type:"customColors"}],activeTab:"customColors"}},children:[{path:"heading-colors",components:{sidePanelOverlayView:vo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_HEADING_COLOR_SETTINGS,title:"Edit headings",goBackPath:"/".concat(Me.jF.COLORS)}}},{path:"paragraph-colors",components:{sidePanelOverlayView:vo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_PARAGRAPH_COLOR_SETTINGS,title:"Edit paragraphs",goBackPath:"/".concat(Me.jF.COLORS)}}},{path:"navigation-colors",components:{sidePanelOverlayView:vo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_NAVIGATION_COLOR_SETTINGS,title:"Edit navigation",goBackPath:"/".concat(Me.jF.COLORS)}}}]},{path:"fonts",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,65503))}},meta:{sidePanelSettings:{panel:Me.jF.FONTS,title:"Fonts",hideBackButton:!1,hideActionButtons:!1,tabPills:[{label:"Presets",type:"presetTextStyles"},{label:"Custom",type:"customTextStyles"}],activeTab:"customTextStyles"}},children:[{path:"headings",components:{sidePanelOverlayView:yo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_HEADING_STYLE_SETTINGS,title:"Edit headings",goBackPath:"/".concat(Me.jF.FONTS)}}},{path:"paragraphs",components:{sidePanelOverlayView:yo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_PARAGRAPH_STYLE_SETTINGS,title:"Edit paragraphs",goBackPath:"/".concat(Me.jF.FONTS)}}},{path:"navigation-buttons",components:{sidePanelOverlayView:yo},meta:{sidePanelSettings:{panel:Me.jF.ADVANCED_NAVIGATION_STYLE_SETTINGS,title:"Edit navigation",goBackPath:"/".concat(Me.jF.FONTS)}}}]},{path:"button-settings",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,75089))}},meta:{sidePanelSettings:{panel:Me.jF.BUTTONS,title:"Buttons",hideBackButton:!1,hideActionButtons:!1}}},{path:"animation-settings",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,40422))}},meta:{sidePanelSettings:{panel:Me.jF.ANIMATION_SETTINGS,title:"Animations",hideBackButton:!1,hideActionButtons:!1}}},{path:"spacing",components:{sidePanelSubView:function(){return Promise.all([n.e(7953),n.e(4181),n.e(9036),n.e(1900)]).then(n.bind(n,23752))}},meta:{sidePanelSettings:{panel:Me.jF.SPACING,title:"Spacing",hideBackButton:!1,hideActionButtons:!1}}}]},_o={path:"settings",components:{sidePanel:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,57430))}},props:!0,children:[{path:"",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,34339))}},meta:{sidePanelSettings:{panel:Me.GJ.MAIN_PANEL,title:"Settings",previousSettings:null,prevAccentColor:null,saveButton:"Save",showSecondaryTab:!1,hideActionButtons:!0,hideBackButton:!0,allowSave:!1,tabPills:null,activeTab:null}}},{path:"portfolio-navigation",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,94084))}},meta:{sidePanelSettings:{panel:Me.GJ.NAVIGATION,title:"Portfolio navigation",hideActionButtons:!0,hideBackButton:!1,tabPills:[{label:"Pages &amp; socials",type:"pages"},{label:"Logo",type:"logo"}]}},children:[{path:"add-new-page",components:{sidePanelOverlayView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,86451))}},meta:{sidePanelSettings:{panel:Me.GJ.NAVIGATION_NEW_PAGE,title:"Add new page",hideActionButtons:!0,goBackPath:"/".concat(Me.vs.NAVIGATION)}}},{path:"external-link",components:{sidePanelOverlayView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,29138))}},meta:{sidePanelSettings:{panel:Me.GJ.NAVIGATION_EXTERNAL_LINK,hideActionButtons:!1,goBackPath:"/".concat(Me.vs.NAVIGATION)}}},{path:"mailto-link",components:{sidePanelOverlayView:qe},meta:{sidePanelSettings:{panel:Me.GJ.NAVIGATION_MAILTO_LINK,hideActionButtons:!1,goBackPath:"/".concat(Me.vs.NAVIGATION)}}},{path:"edit-social-link",components:{sidePanelOverlayView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,45381))}},meta:{sidePanelSettings:{panel:Me.GJ.NAVIGATION_SOCIAL_LINK,title:"Edit social link",hideActionButtons:!1,goBackPath:"/".concat(Me.vs.NAVIGATION)}}}]},{path:"share",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,83966))}},meta:{sidePanelSettings:{panel:Me.GJ.SHARE,hideBackButton:!1,hideActionButtons:!1}}},{path:"domain-and-url",alias:"portfolio-own-domain",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,47827))}},meta:{sidePanelSettings:{panel:Me.GJ.DOMAIN_AND_URL,title:"Own domain &amp; URL",hideActionButtons:!0,hideBackButton:!1}}},{path:"archive",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,75292))}},meta:{sidePanelSettings:{panel:Me.GJ.ARCHIVE,title:"Archive",hideActionButtons:!0,hideBackButton:!1}}},{path:"password",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,17573))}},meta:{sidePanelSettings:{panel:Me.GJ.PASSWORD,saveButton:"Save",hideActionButtons:!1,hideBackButton:!1}}},{path:"favicon",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,70724))}},meta:{sidePanelSettings:{panel:Me.GJ.FAVICON,title:"Favicon",hideActionButtons:!1,hideBackButton:!1}}},{path:"basic-details",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,69020))}},meta:{sidePanelSettings:{panel:Me.GJ.THUMBNAIL_SETTINGS,title:"Thumbnail settings",hideBackButton:!1,hideActionButtons:!1}}},{path:"display-options",components:{sidePanelSubView:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(4181),n.e(3354),n.e(9036),n.e(2789)]).then(n.bind(n,75740))}},meta:{sidePanelSettings:{panel:Me.GJ.HEADER_FOOTER,title:"Header &amp; footer",hideBackButton:!1,hideActionButtons:!1}}}]},ko=[{path:"/review/p/:portfolioShortId/:projectShortId",component:co,props:{review:!0}},{path:"/review/:portfolioShortId",component:co,props:{review:!0}},{path:"/myreviews/p/:portfolioShortId/:projectShortId",component:co,props:{review:!1}},{path:"/myreviews/:portfolioShortId",component:co,props:{review:!1}}],Ao=[{path:"/p/:projectShortId",component:pn},{path:"/p/:portfolioShortId/:projectShortId",alias:["/portfolio/:portfolioShortId/project/:projectShortId"],component:pn},{path:"/project/:projectShortId/:projectName",alias:["/project/uxs-headless/:projectShortId/:projectName"],component:pn}],To=[{path:"/portfolio/:portfolioId",alias:[],component:hn.A},{path:"/:shortId",component:hn.A}],Eo=[].concat(Ao,[{path:"/",name:"Index",props:!0,component:wo,children:[{path:"v1",component:wo}]},{path:"/referral/:referral_id",name:"Referral",props:!0,component:function(){return n.e(5991).then(n.bind(n,85955))}},{path:"/result",name:"Review Result",props:!0,component:function(){return n.e(5991).then(n.bind(n,14370))}},{path:"/pricing",name:"Pricing",props:!0,component:function(){return n.e(5991).then(n.bind(n,45140))},meta:{title:"Pricing - UXfolio",type:"landing"}},{path:"/examples/:showcaseItemShortId/:showcaseItemName",name:"Example",props:!0,component:function(){return n.e(5991).then(n.bind(n,92464))},meta:{type:"landing",title:"Examples - UXfolio"}},{path:"/examples",name:"Examples",props:!0,component:function(){return n.e(5991).then(n.bind(n,88798))},meta:{title:"Examples - UXfolio",type:"landing"}},{path:"/showcase",name:"Showcase",redirect:{name:"Examples"}},{path:"/partnership-program",name:"Partnership program",alias:"/partnership-program/:submitFeedback",component:function(){return n.e(5991).then(n.bind(n,2687))},meta:{title:"Educational partnership - UXfolio",type:"landing"}},{path:"/privacy-policy",name:"Privacy policy",component:function(){return n.e(5991).then(n.bind(n,66082))},meta:{type:"landing",title:"Privacy Policy - UXfolio"}},{path:"/terms-and-conditions",name:"Terms and conditions",component:function(){return n.e(5991).then(n.bind(n,79013))},meta:{type:"landing",title:"Terms and Conditions - UXfolio"}},{path:"/imprint",name:"Imprint",component:function(){return n.e(5991).then(n.bind(n,36738))},meta:{type:"landing",title:"Imprint - UXfolio"}},{path:"/admin",name:"adminPage",type:"landing",meta:{title:"UXfolio - Admin"},component:function(){return Promise.all([n.e(432),n.e(9884)]).then(n.bind(n,57519))}},{path:"/settings",name:"settingsEditorApp",meta:{title:"UXfolio - Settings"},component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,51769))},redirect:{name:"copy"},children:[{name:"copy",path:"copy",component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,66646))}},{name:"image-ideas",path:"image-ideas",component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,33210))}},{name:"fonts",path:"fonts",component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,86043))}},{name:"survey-modal-settings",path:"survey-modal-settings",component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,77495))}},{name:"spam-filter-settings",path:"spam-filter-settings",component:function(){return Promise.all([n.e(7908),n.e(6437),n.e(6472)]).then(n.bind(n,77003))}}]}],To,[{path:"/home",name:"HomePageEditorApp",meta:{title:"Editor - UXfolio"},component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,66343))},children:[{path:"portfolios",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,12394))},props:!0,meta:{title:"Portfolio manager - UXfolio",nonEditorPage:!0},children:[{path:"",name:"Portfolio manager - UXfolio",component:function(){return n.e(3782).then(n.bind(n,28945))},props:!0},{path:"create-new-portfolio",component:mo,props:!0},{path:"create-new-portfolio/template-preview",component:go,props:!0},{path:"create-new-portfolio/select-projects",component:function(){return n.e(3782).then(n.bind(n,26452))},props:!0}]},{path:"portfolios/:portfolioId",name:"Home Page Editor",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,36580))},alias:"portfolios/:portfolioId/style",meta:{title:"Editor - UXfolio"},children:[So,_o]},{path:"portfolios/:portfolioId/about",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,28417))},children:[So,_o]},{path:"portfolios/:portfolioId/contact",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,21725))},children:[So,_o]},{path:"portfolios/:portfolioId/p/:projectShortId",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,36527))},children:[So,_o]},{path:"onboarding",components:{onBoarding:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,72666))}},props:!0,meta:{title:"Onboarding - UXfolio",nonEditorPage:!0},children:[{path:"",component:mo,props:!0},{path:"template-preview",component:go,props:!0}]},{path:"settings",name:"Account Settings",redirect:{path:"/home/settings/account-settings"},component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,35591))},props:!0,meta:{title:"Account - UXfolio",nonEditorPage:!0},children:[{path:"account-settings",name:"Account settings",components:{accountSettingsSubView:function(){return Promise.all([n.e(9134),n.e(4516)]).then(n.bind(n,97109))}}},{path:"domains",name:"Domains",components:{accountSettingsSubView:function(){return Promise.all([n.e(9134),n.e(4516)]).then(n.bind(n,8009))}}},{path:"plan-and-payment",name:"Plan and payment",components:{accountSettingsSubView:function(){return Promise.all([n.e(9134),n.e(4516)]).then(n.bind(n,70960))}}},{path:"portfolio-settings",name:"Portfolio settings",components:{accountSettingsSubView:function(){return Promise.all([n.e(9134),n.e(4516)]).then(n.bind(n,78769))}}},{path:"referrals",name:"Referrals",components:{accountSettingsSubView:function(){return Promise.all([n.e(9134),n.e(4516)]).then(n.bind(n,93029))}}}]},{path:"notifications",name:"Notifications",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,98584))},props:!0,meta:{title:"Notifications - UXfolio",nonEditorPage:!0}},{path:"payment",name:"Payment Center",component:function(){return n.e(3132).then(n.bind(n,3946))},props:!0,meta:{title:"Payment - UXfolio",nonEditorPage:!0},children:[{path:"",name:"Payment",component:function(){return Promise.all([n.e(432),n.e(7953),n.e(354),n.e(7908),n.e(3387),n.e(4181),n.e(3354),n.e(6437),n.e(9134),n.e(8239)]).then(n.bind(n,9291))},props:function(e){return function(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?po(Object(n),!0).forEach((function(t){ho(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.params)}},{path:"auth",name:"Auth",component:function(){return n.e(3132).then(n.bind(n,24108))},props:!0},{path:"success",name:"Success",component:function(){return n.e(3132).then(n.bind(n,72034))},props:!0},{path:"failure",name:"Failure",component:function(){return n.e(3132).then(n.bind(n,38469))},props:!0},{path:"deleted",name:"Deleted",component:function(){return n.e(3132).then(n.bind(n,991))},props:!0},{path:"promo",name:"Promo",component:function(){return n.e(3132).then(n.bind(n,41057))},props:!0}]},{path:"domain",name:"Domain center",component:function(){return n.e(1052).then(n.bind(n,25151))},props:!0,meta:{title:"Domain editor - Uxfolio",nonEditorPage:!0},children:[{path:"manage",name:"Domain manager",component:function(){return n.e(1052).then(n.bind(n,62954))},props:!0},{path:"search",name:"Domain search",component:function(){return n.e(1052).then(n.bind(n,43314))},props:!0},{path:"connect",name:"Connect domain",component:function(){return n.e(1052).then(n.bind(n,22137))},props:!0},{path:"transfer",name:"Transfer domain",component:function(){return n.e(1052).then(n.bind(n,47214))},props:!0}]},{path:"url",name:"Url center",component:function(){return n.e(3681).then(n.bind(n,56039))},props:!0,meta:{title:"URL editor - Uxfolio",nonEditorPage:!0},children:[{path:"edit",name:"Edit url",component:function(){return n.e(3681).then(n.bind(n,45189))},props:!0}]}]},{path:"/p/templates/:templateId",alias:["/templates/:templateId"],name:"TemplatePreviewFullSize",component:_n,props:!0,children:[{path:"",name:"TemplatePreviewHome",component:Un},{path:"about",name:"TemplatePreviewAbout",component:yr},{path:"contact",name:"TemplatePreviewContact",component:Ur}]},{path:"/:catchAll(.*)",name:"NotFound",component:bo},{path:"/projects/*",name:"LegacyProjectEditUrl",component:bo}],ko);const xo=fo=function(e){const t=de(e.routes,e),n=e.parseQuery||be,s=e.stringifyQuery||we,a=e.history,p=xe(),h=xe(),f=xe(),m=(0,o.IJ)(F);let g=F;i&amp;&amp;e.scrollBehavior&amp;&amp;"scrollRestoration"in history&amp;&amp;(history.scrollRestoration="manual");const v=c.bind(null,(e=&gt;""+e)),y=c.bind(null,C),b=c.bind(null,O);function S(e,r){if(r=l({},r||m.value),"string"==typeof e){const o=L(n,e,r.path),i=t.resolve({path:o.path},r),s=a.createHref(o.fullPath);return l(o,i,{params:b(i.params),hash:O(o.hash),redirectedFrom:void 0,href:s})}let o;if(null!=e.path)o=l({},e,{path:L(n,e.path,r.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&amp;&amp;delete t[e];o=l({},e,{params:y(t)}),r.params=y(r.params)}const i=t.resolve(o,r),c=e.hash||"";i.params=v(b(i.params));const u=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&amp;&amp;"?")+n+(t.hash||"")}(s,l({},e,{hash:(d=c,E(d).replace(_,"{").replace(A,"}").replace(w,"^")),path:i.path}));var d;const p=a.createHref(u);return l({fullPath:u,hash:c,query:s===we?Se(e.query):e.query||{}},i,{redirectedFrom:void 0,href:p})}function k(e){return"string"==typeof e?L(n,e,m.value.path):l({},e)}function T(e,t){if(g!==e)return ee(8,{from:t,to:e})}function x(e){return P(e)}function I(e){const t=e.matched[e.matched.length-1];if(t&amp;&amp;t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&amp;&amp;(r=r.includes("?")||r.includes("#")?r=k(r):{path:r},r.params={}),l({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function P(e,t){const n=g=S(e),r=m.value,o=e.state,i=e.force,a=!0===e.replace,c=I(n);if(c)return P(l(k(c),{state:"object"==typeof c?l({},o,c.state):o,force:i,replace:a}),t||n);const u=n;let d;return u.redirectedFrom=t,!i&amp;&amp;function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r&gt;-1&amp;&amp;r===o&amp;&amp;N(t.matched[r],n.matched[o])&amp;&amp;D(t.params,n.params)&amp;&amp;e(t.query)===e(n.query)&amp;&amp;t.hash===n.hash}(s,r,n)&amp;&amp;(d=ee(16,{to:u,from:r}),ne(r,r,!0,!1)),(d?Promise.resolve(d):j(u,r)).catch((e=&gt;te(e)?te(e,2)?e:Z(e):J(e,u,r))).then((e=&gt;{if(e){if(te(e,2))return P(l({replace:a},k(e.to),{state:"object"==typeof e.to?l({},o,e.to.state):o,force:i}),t||u)}else e=B(u,r,!0,a,o);return G(u,r,e),e}))}function R(e,t){const n=T(e,t);return n?Promise.reject(n):Promise.resolve()}function M(e){const t=ie.values().next().value;return t&amp;&amp;"function"==typeof t.runWithContext?t.runWithContext(e):e()}function j(e,t){let n;const[r,o,i]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s&lt;i;s++){const i=t.matched[s];i&amp;&amp;(e.matched.find((e=&gt;N(e,i)))?r.push(i):n.push(i));const a=e.matched[s];a&amp;&amp;(t.matched.find((e=&gt;N(e,a)))||o.push(a))}return[n,r,o]}(e,t);n=Oe(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=&gt;{n.push(Ce(r,e,t))}));const s=R.bind(null,e,t);return n.push(s),ae(n).then((()=&gt;{n=[];for(const r of p.list())n.push(Ce(r,e,t));return n.push(s),ae(n)})).then((()=&gt;{n=Oe(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=&gt;{n.push(Ce(r,e,t))}));return n.push(s),ae(n)})).then((()=&gt;{n=[];for(const r of i)if(r.beforeEnter)if(d(r.beforeEnter))for(const o of r.beforeEnter)n.push(Ce(o,e,t));else n.push(Ce(r.beforeEnter,e,t));return n.push(s),ae(n)})).then((()=&gt;(e.matched.forEach((e=&gt;e.enterCallbacks={})),n=Oe(i,"beforeRouteEnter",e,t,M),n.push(s),ae(n)))).then((()=&gt;{n=[];for(const r of h.list())n.push(Ce(r,e,t));return n.push(s),ae(n)})).catch((e=&gt;te(e,8)?e:Promise.reject(e)))}function G(e,t,n){f.list().forEach((r=&gt;M((()=&gt;r(e,t,n)))))}function B(e,t,n,r,o){const s=T(e,t);if(s)return s;const c=t===F,u=i?history.state:{};n&amp;&amp;(r||c?a.replace(e.fullPath,l({scroll:c&amp;&amp;u&amp;&amp;u.scroll},o)):a.push(e.fullPath,o)),m.value=e,ne(e,t,n,c),Z()}let $;function X(){$||($=a.listen(((e,t,n)=&gt;{if(!se.listening)return;const r=S(e),o=I(r);if(o)return void P(l(o,{replace:!0}),r).catch(u);g=r;const s=m.value;var c,d;i&amp;&amp;(c=z(s.fullPath,n.delta),d=W(),V.set(c,d)),j(r,s).catch((e=&gt;te(e,12)?e:te(e,2)?(P(e.to,r).then((e=&gt;{te(e,20)&amp;&amp;!n.delta&amp;&amp;n.type===H.pop&amp;&amp;a.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&amp;&amp;a.go(-n.delta,!1),J(e,r,s)))).then((e=&gt;{(e=e||B(r,s,!1))&amp;&amp;(n.delta&amp;&amp;!te(e,8)?a.go(-n.delta,!1):n.type===H.pop&amp;&amp;te(e,20)&amp;&amp;a.go(-1,!1)),G(r,s,e)})).catch(u)})))}let K,q=xe(),Y=xe();function J(e,t,n){Z(e);const r=Y.list();return r.length?r.forEach((r=&gt;r(e,t,n))):console.error(e),Promise.reject(e)}function Z(e){return K||(K=!e,X(),q.list().forEach((([t,n])=&gt;e?n(e):t())),q.reset()),e}function ne(t,n,o,s){const{scrollBehavior:a}=e;if(!i||!a)return Promise.resolve();const l=!o&amp;&amp;function(e){const t=V.get(e);return V.delete(e),t}(z(t.fullPath,0))||(s||!o)&amp;&amp;history.state&amp;&amp;history.state.scroll||null;return(0,r.dY)().then((()=&gt;a(t,n,l))).then((e=&gt;e&amp;&amp;U(e))).catch((e=&gt;J(e,t,n)))}const re=e=&gt;a.go(e);let oe;const ie=new Set,se={currentRoute:m,listening:!0,addRoute:function(e,n){let r,o;return Q(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&amp;&amp;t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=&gt;e.record))},resolve:S,options:e,push:x,replace:function(e){return x(l(k(e),{replace:!0}))},go:re,back:()=&gt;re(-1),forward:()=&gt;re(1),beforeEach:p.add,beforeResolve:h.add,afterEach:f.add,onError:Y.add,isReady:function(){return K&amp;&amp;m.value!==F?Promise.resolve():new Promise(((e,t)=&gt;{q.add([e,t])}))},install(e){e.component("RouterLink",Le),e.component("RouterView",Re),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=&gt;(0,o.R1)(m)}),i&amp;&amp;!oe&amp;&amp;m.value===F&amp;&amp;(oe=!0,x(a.location).catch((e=&gt;{0})));const t={};for(const e in F)Object.defineProperty(t,e,{get:()=&gt;m.value[e],enumerable:!0});e.provide(Ae,this),e.provide(Te,(0,o.Gc)(t)),e.provide(Ee,m);const n=e.unmount;ie.add(e),e.unmount=function(){ie.delete(e),ie.size&lt;1&amp;&amp;(g=F,$&amp;&amp;$(),$=null,m.value=F,oe=!1,K=!1),n()}}};function ae(e){return e.reduce(((e,t)=&gt;e.then((()=&gt;M(t)))),Promise.resolve())}return se}({history:Y(),routes:Eo,scrollBehavior:function(e,t,n){var r=e.path.split("/");return e.hash?{el:e.hash,behavior:"smooth"}:!r.includes("home")&amp;&amp;r.includes("p")||"landing"===e.meta.type?{top:0}:void 0}});fo.beforeEach((function(e,t,n){var r=e.path.split("/");(r.includes("home")&amp;&amp;!r.includes("p")||"landing"===e.meta.type)&amp;&amp;(document.title=e.meta.title||"UXfolio - Fast &amp; easy UX portfolio building"),n()})),fo.beforeEach((function(e,t,n){t.path.startsWith("/review")&amp;&amp;!e.path.startsWith("/review")?n("/review".concat(e.path)):t.path.startsWith("/myreviews")&amp;&amp;!e.path.startsWith("/myreviews")?n("/myreviews".concat(e.path)):n()}))},32682:(e,t,n)=&gt;{"use strict";function r(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}n.d(t,{Gu:()=&gt;c,Lt:()=&gt;l,T7:()=&gt;i,go:()=&gt;s,i4:()=&gt;a});var o,i=[{type:"Text",name:"Text",cssClass:"text"},{type:"Image",name:"Big Image",cssClass:"image"},{type:"TextAndMedia",name:"Image &amp; Text",cssClass:"image-text"},{type:"Columns",name:"Columns",cssClass:"columns"},{type:"DividerLine",name:"Divider Line",cssClass:"divider"},{type:"Gallery",name:"Gallery",cssClass:"gallery"},{type:"Prototype",name:"Prototype",cssClass:"prototype"},{type:"Video",name:"Video",cssClass:"video"},{type:"Media",name:"Media",cssClass:"media"},{type:"Stat",name:"Stats",cssClass:"stats"},{type:"Header",name:"Subheader",cssClass:"header"},{type:"BoldStatement",name:"Bold Statement",cssClass:"statement"},{type:"Navigation",name:"Process",cssClass:"navigation"},{type:"Testimonial",name:"Testimonials",cssClass:"testimonial"},{type:"LogoWall",name:"Logo Wall",cssClass:"logo-wall"},{type:"Cta",name:"Call To Action",cssClass:"cta"}],s=[{type:"Interviews",name:"Interviews",cssClass:"interviews"},{type:"Surveys",name:"Survey",cssClass:"surveys"},{type:"Personas",name:"Personas",cssClass:"personas"},{type:"CustomerJourney",name:"Customer Journey",cssClass:"cj"},{type:"UserJourney",name:"User Journey",cssClass:"uj"},{type:"CardSorting",name:"Card Sorting",cssClass:"card-sorting"},{type:"Sketches",name:"Sketches",cssClass:"sketches"},{type:"Wireframes",name:"Wireframes",cssClass:"wireframes"},{type:"UsabilityTesting",name:"Usability Testing",cssClass:"user-testing"},{type:"UiDesign",name:"UI Design",cssClass:"ui-design"}],a=[{type:"Bio",name:"About Me",cssClass:"bio"},{type:"ShortIntro",name:"Short Intro",cssClass:"short-intro"},{type:"Education",name:"Education",cssClass:"education"},{type:"Services",name:"Services",cssClass:"skills"},{type:"Articles",name:"Articles",cssClass:"articles"},{type:"Awards",name:"Awards",cssClass:"awards"},{type:"Hobbies",name:"Hobbies",cssClass:"hobbies"},{type:"SocialMedia",name:"Social Media",cssClass:"personas"}],l=[{type:"Text",name:"Text",cssClass:"text"},{type:"TextAndMedia",name:"Image &amp; Text",cssClass:"image-text"},{type:"Columns",name:"Columns",cssClass:"columns"},{type:"DividerLine",name:"Divider Line",cssClass:"divider"},{type:"Header",name:"Subheader",cssClass:"header"},{type:"Gallery",name:"Gallery",cssClass:"gallery"},{type:"Image",name:"Big Image",cssClass:"image"},{type:"Video",name:"Video",cssClass:"video"},{type:"Stat",name:"Stats",cssClass:"stats"},{type:"Testimonial",name:"Testimonial",cssClass:"testimonial"},{type:"BoldStatement",name:"Bold Statement",cssClass:"statement"},{type:"ContactForm",name:"Contact Form",cssClass:"contact-form"},{type:"Cta",name:"Call To Action",cssClass:"cta"},{type:"LogoWall",name:"Logo Wall",cssClass:"logo-wall"}],c=function(e){if(Array.isArray(e))return r(e)}(o=new Set([].concat(i,s,l,a)))||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()},35680:(e,t,n)=&gt;{"use strict";n.d(t,{UL:()=&gt;o,bv:()=&gt;r,tE:()=&gt;i});var r=Object.freeze({OUR_PICKS:"OurPicks",SANS:"Sans",SERIF:"Serif",MONO:"Mono"}),o=Object.freeze({OUR_PICKS:"#E4FE72",SANS:"#fe9772",SERIF:"#72fefe",MONO:"#fe72b8"}),i=Object.freeze({UNIQUE_REPOSITORY:"UNIQUE_REPOSITORY",GOOGLE_API:"GOOGLE_API"})},33253:(e,t,n)=&gt;{"use strict";n.d(t,{Vt:()=&gt;p,wi:()=&gt;h,zQ:()=&gt;v});var r=n(35680),o=n(33501),i=n(15907);function s(e){return s="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(){a=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof b?t:b,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var _={};d(_,l,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,l)&amp;&amp;(_=A);var T=S.prototype=b.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,l){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&amp;&amp;"object"==s(d)&amp;&amp;r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=f;return function(i,s){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=g;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?v:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=v,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(s(t)+" is not iterable")}return w.prototype=S,o(T,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=d(S,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,d(e,u,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),d(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(p(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),d(T,u,"Generator"),d(T,l,(function(){return this})),d(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),y}},t}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&amp;&amp;null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&amp;&amp;e.constructor&amp;&amp;(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t&gt;e.length)&amp;&amp;(t=e.length);for(var n=0,r=Array(t);n&lt;t;n++)r[n]=e[n];return r}function u(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){u(i,r,o,s,a,"next",e)}function a(e){u(i,r,o,s,a,"throw",e)}s(void 0)}))}}function p(){i.A.getFonts("").then((function(e){v(e.data)}))}function h(e){return f.apply(this,arguments)}function f(){return(f=d(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l(new Set(t.map((function(e){return e.font})))),e.next=3,m(n);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return g.apply(this,arguments)}function g(){return(g=d(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.A.getFonts("?names="+t.join(","));case 2:v(e.sent.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){var t=window.document.styleSheets[0];e.forEach((function(e){e.repositoryType===r.tE.UNIQUE_REPOSITORY?e.attributes.forEach((function(n){!function(e,t,n){var r=e.fonts.find((function(e){return e.type.toLowerCase()===t}));if(r){var o=r.type.toLowerCase();if(document.querySelector('link[href="'.concat(r.url,'"]')))return;var i=document.createElement("link");i.rel="preload",i.href=r.url,i.as="font",i.crossOrigin="anonymous",document.head.appendChild(i),"light"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 300;}",n.cssRules.length):"regular"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 400;}",n.cssRules.length):"medium"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 500;}",n.cssRules.length):"bold"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 700;}",n.cssRules.length):"semibold"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 600;}",n.cssRules.length):"italic"===o?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-style: italic;}",n.cssRules.length):o.includes("bold")&amp;&amp;o.includes("italic")?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 700; font-style: italic}",n.cssRules.length):o.includes("semibold")&amp;&amp;o.includes("italic")?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 600; font-style: italic}",n.cssRules.length):o.includes("medium")&amp;&amp;o.includes("italic")?n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 500; font-style: italic}",n.cssRules.length):o.includes("light")&amp;&amp;o.includes("italic")&amp;&amp;n.insertRule("@font-face {font-family:"+e.name+"; src:url("+r.url+"); font-weight: 300; font-style: italic}",n.cssRules.length)}}(e,n,t)})):o.A.getFontUrlWithParams(e.name,e.attributes)}))}},36761:(e,t,n)=&gt;{"use strict";n.d(t,{M:()=&gt;we});var r=n(20641),o=n(50953);function i(){return"undefined"!=typeof navigator&amp;&amp;"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const s="function"==typeof Proxy;let a,l;function c(){return void 0!==a||("undefined"!=typeof window&amp;&amp;window.performance?(a=!0,l=window.performance):"undefined"!=typeof globalThis&amp;&amp;(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(a=!0,l=globalThis.perf_hooks.performance):a=!1),a?l.now():Date.now();var e}class u{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const t in e.settings){const r=e.settings[t];n[t]=r.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},n);try{const e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(o,t)}catch(e){}this.fallbacks={getSettings:()=&gt;o,setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch(e){}o=e},now:()=&gt;c()},t&amp;&amp;t.on("plugin:settings:set",((e,t)=&gt;{e===this.plugin.id&amp;&amp;this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=&gt;this.target?this.target.on[t]:(...e)=&gt;{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=&gt;this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=&gt;(this.targetQueue.push({method:t,args:e,resolve:()=&gt;{}}),this.fallbacks[t](...e)):(...e)=&gt;new Promise((n=&gt;{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function d(e,t){const n=e,r=i(),o=i().__VUE_DEVTOOLS_GLOBAL_HOOK__,a=s&amp;&amp;n.enableEarlyProxy;if(!o||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&amp;&amp;a){const e=a?new u(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&amp;&amp;t(e.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)}var p="store";function h(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function f(e){return null!==e&amp;&amp;"object"==typeof e}function m(e,t,n){return t.indexOf(e)&lt;0&amp;&amp;(n&amp;&amp;n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n&gt;-1&amp;&amp;t.splice(n,1)}}function g(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;y(e,n,[],e._modules.root,!0),v(e,n,t)}function v(e,t,n){var i=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,l={},c={},u=(0,o.uY)(!0);u.run((function(){h(a,(function(t,n){l[n]=function(e,t){return function(){return e(t)}}(t,e),c[n]=(0,r.EW)((function(){return l[n]()})),Object.defineProperty(e.getters,n,{get:function(){return c[n].value},enumerable:!0})}))})),e._state=(0,o.Kh)({data:t}),e._scope=u,e.strict&amp;&amp;function(e){(0,r.wB)((function(){return e._state.data}),(function(){0}),{deep:!0,flush:"sync"})}(e),i&amp;&amp;n&amp;&amp;e._withCommit((function(){i.data=null})),s&amp;&amp;s.stop()}function y(e,t,n,r,o){var i=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&amp;&amp;(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!i&amp;&amp;!o){var a=w(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){a[l]=r.state}))}var c=r.context=function(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=S(n,r,o),s=i.payload,a=i.options,l=i.type;return a&amp;&amp;a.root||(l=t+l),e.dispatch(l,s)},commit:r?e.commit:function(n,r,o){var i=S(n,r,o),s=i.payload,a=i.options,l=i.type;a&amp;&amp;a.root||(l=t+l),e.commit(l,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return b(e,t)}},state:{get:function(){return w(e.state,n)}}}),o}(e,s,n);r.forEachMutation((function(t,n){!function(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}(e,s+n,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:s+n,o=t.handler||t;!function(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o,i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(o=i)&amp;&amp;"function"==typeof o.then||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}(e,r,o,c)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,s+n,t,c)})),r.forEachChild((function(r,i){y(e,t,n.concat(i),r,o)}))}function b(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function w(e,t){return t.reduce((function(e,t){return e[t]}),e)}function S(e,t,n){return f(e)&amp;&amp;e.type&amp;&amp;(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var _="vuex:mutations",k="vuex:actions",A="vuex",T=0;function E(e,t){d({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:_,label:"Vuex Mutations",color:x}),n.addTimelineLayer({id:k,label:"Vuex Actions",color:x}),n.addInspector({id:A,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&amp;&amp;n.inspectorId===A)if(n.filter){var r=[];L(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[I(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&amp;&amp;n.inspectorId===A){var r=n.nodeId;b(t,r),n.state=function(e,t,n){t="root"===n?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(r.length){var i=function(e){var t={};return Object.keys(e).forEach((function(n){var r=n.split("/");if(r.length&gt;1){var o=t,i=r.pop();r.forEach((function(e){o[e]||(o[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),o=o[e]._custom.value})),o[i]=P((function(){return e[n]}))}else t[n]=P((function(){return e[n]}))})),t}(t);o.getters=Object.keys(i).map((function(e){return{key:e.endsWith("/")?O(e):e,editable:!1,value:P((function(){return i[e]}))}}))}return o}((o=t._modules,(s=(i=r).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var r=e[t];if(!r)throw new Error('Missing module "'+t+'" for path "'+i+'".');return n===s.length-1?r:r._children}),"root"===i?o:o.root._children)),"root"===r?t.getters:t._makeLocalGettersCache,r)}var o,i,s})),n.on.editInspectorState((function(n){if(n.app===e&amp;&amp;n.inspectorId===A){var r=n.nodeId,o=n.path;"root"!==r&amp;&amp;(o=r.split("/").filter(Boolean).concat(o)),t._withCommit((function(){n.set(t._state.data,o,n.state.value)}))}})),t.subscribe((function(e,t){var r={};e.payload&amp;&amp;(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(A),n.sendInspectorState(A),n.addTimelineEvent({layerId:_,event:{time:Date.now(),title:e.type,data:r}})})),t.subscribeAction({before:function(e,t){var r={};e.payload&amp;&amp;(r.payload=e.payload),e._id=T++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:k,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},o=Date.now()-e._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},e.payload&amp;&amp;(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:k,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})}))}var x=8702998,C={label:"namespaced",textColor:16777215,backgroundColor:6710886};function O(e){return e&amp;&amp;"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function I(e,t){return{id:t||"root",label:O(t),tags:e.namespaced?[C]:[],children:Object.keys(e._children).map((function(n){return I(e._children[n],t+n+"/")}))}}function L(e,t,n,r){r.includes(n)&amp;&amp;e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[C]:[]}),Object.keys(t._children).forEach((function(o){L(e,t._children[o],n,r+o+"/")}))}function P(e){try{return e()}catch(e){return e}}var N=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},D={namespaced:{configurable:!0}};D.namespaced.get=function(){return!!this._rawModule.namespaced},N.prototype.addChild=function(e,t){this._children[e]=t},N.prototype.removeChild=function(e){delete this._children[e]},N.prototype.getChild=function(e){return this._children[e]},N.prototype.hasChild=function(e){return e in this._children},N.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&amp;&amp;(this._rawModule.actions=e.actions),e.mutations&amp;&amp;(this._rawModule.mutations=e.mutations),e.getters&amp;&amp;(this._rawModule.getters=e.getters)},N.prototype.forEachChild=function(e){h(this._children,e)},N.prototype.forEachGetter=function(e){this._rawModule.getters&amp;&amp;h(this._rawModule.getters,e)},N.prototype.forEachAction=function(e){this._rawModule.actions&amp;&amp;h(this._rawModule.actions,e)},N.prototype.forEachMutation=function(e){this._rawModule.mutations&amp;&amp;h(this._rawModule.mutations,e)},Object.defineProperties(N.prototype,D);var R=function(e){this.register([],e,!1)};function M(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;M(e.concat(r),t.getChild(r),n.modules[r])}}R.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},R.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},R.prototype.update=function(e){M([],this.root,e)},R.prototype.register=function(e,t,n){var r=this;void 0===n&amp;&amp;(n=!0);var o=new N(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o);t.modules&amp;&amp;h(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},R.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&amp;&amp;r.runtime&amp;&amp;t.removeChild(n)},R.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&amp;&amp;t.hasChild(n)};function F(e){return new H(e)}var H=function(e){var t=this;void 0===e&amp;&amp;(e={});var n=e.plugins;void 0===n&amp;&amp;(n=[]);var r=e.strict;void 0===r&amp;&amp;(r=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new R(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;y(this,l,[],this._modules.root),v(this,l),n.forEach((function(e){return e(t)}))},j={state:{configurable:!0}};H.prototype.install=function(e,t){e.provide(t||p,this),e.config.globalProperties.$store=this,void 0!==this._devtools&amp;&amp;this._devtools&amp;&amp;E(e,this)},j.state.get=function(){return this._state.data},j.state.set=function(e){0},H.prototype.commit=function(e,t,n){var r=this,o=S(e,t,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),l=this._mutations[i];l&amp;&amp;(this._withCommit((function(){l.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(a,r.state)})))},H.prototype.dispatch=function(e,t){var n=this,r=S(e,t),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,n.state)}))}catch(e){0}var l=a.length&gt;1?Promise.all(a.map((function(e){return e(i)}))):a[0](i);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,n.state)}))}catch(e){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,n.state,e)}))}catch(e){0}t(e)}))}))}},H.prototype.subscribe=function(e,t){return m(e,this._subscribers,t)},H.prototype.subscribeAction=function(e,t){return m("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},H.prototype.watch=function(e,t,n){var o=this;return(0,r.wB)((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},H.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},H.prototype.registerModule=function(e,t,n){void 0===n&amp;&amp;(n={}),"string"==typeof e&amp;&amp;(e=[e]),this._modules.register(e,t),y(this,this.state,e,this._modules.get(e),n.preserveState),v(this,this.state)},H.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&amp;&amp;(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete w(t.state,e.slice(0,-1))[e[e.length-1]]})),g(this)},H.prototype.hasModule=function(e){return"string"==typeof e&amp;&amp;(e=[e]),this._modules.isRegistered(e)},H.prototype.hotUpdate=function(e){this._modules.update(e),g(this,!0)},H.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(H.prototype,j);B((function(e,t){var n={};return G(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=$(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),B((function(e,t){var n={};return G(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=$(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),B((function(e,t){var n={};return G(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||$(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),B((function(e,t){var n={};return G(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=$(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));function G(e){return function(e){return Array.isArray(e)||f(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function B(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&amp;&amp;(t+="/"),e(t,n)}}function $(e,t,n){return e._modulesNamespaceMap[n]}var W=n(36297),U=Object.assign||function(e){for(var t=1;t&lt;arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&amp;&amp;(e[r]=n[r])}return e},z=function(e){return"IMG"===e.tagName},V=function(e){return e&amp;&amp;1===e.nodeType},X=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},K=function(e){try{return Array.isArray(e)?e.filter(z):function(e){return NodeList.prototype.isPrototypeOf(e)}(e)?[].slice.call(e).filter(z):V(e)?[e].filter(z):"string"==typeof e?[].slice.call(document.querySelectorAll(e)).filter(z):[]}catch(e){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},q=function(e,t){var n=U({bubbles:!1,cancelable:!1,detail:void 0},t);if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};!function(e,t){void 0===t&amp;&amp;(t={});var n=t.insertAt;if(e&amp;&amp;"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&amp;&amp;r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}");const Y=function e(t){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},o=function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return[].concat(e,K(t))}),[]);return r.filter((function(e){return-1===l.indexOf(e)})).forEach((function(e){l.push(e),e.classList.add("medium-zoom-image")})),c.forEach((function(e){var t=e.type,n=e.listener,o=e.options;r.forEach((function(e){e.addEventListener(t,n,o)}))})),m},i=function(){var e=(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{}).target,t=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(p.container)if(p.container instanceof Object)t=(e=U({},e,p.container)).width-e.left-e.right-2*p.margin,n=e.height-e.top-e.bottom-2*p.margin;else{var r=(V(p.container)?p.container:document.querySelector(p.container)).getBoundingClientRect(),o=r.width,i=r.height,s=r.left,a=r.top;e=U({},e,{width:o,height:i,left:s,top:a})}t=t||e.width-2*p.margin,n=n||e.height-2*p.margin;var l=h.zoomedHd||h.original,c=X(l)?t:l.naturalWidth||t,u=X(l)?n:l.naturalHeight||n,d=l.getBoundingClientRect(),f=d.top,m=d.left,g=d.width,v=d.height,y=Math.min(Math.max(g,c),t)/g,b=Math.min(Math.max(v,u),n)/v,w=Math.min(y,b),S="scale("+w+") translate3d("+((t-g)/2-m+p.margin+e.left)/w+"px, "+((n-v)/2-f+p.margin+e.top)/w+"px, 0)";h.zoomed.style.transform=S,h.zoomedHd&amp;&amp;(h.zoomedHd.style.transform=S)};return new r((function(n){if(e&amp;&amp;-1===l.indexOf(e))n(m);else{if(h.zoomed)n(m);else{if(e)h.original=e;else{if(!(l.length&gt;0))return void n(m);var r=l;h.original=r[0]}if(h.original.dispatchEvent(q("medium-zoom:open",{detail:{zoom:m}})),d=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=!0,h.zoomed=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,o=t.width,i=t.height,s=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return s.removeAttribute("id"),s.style.position="absolute",s.style.top=n+a+"px",s.style.left=r+l+"px",s.style.width=o+"px",s.style.height=i+"px",s.style.transform="",s}(h.original),document.body.appendChild(f),p.template){var o=V(p.template)?p.template:document.querySelector(p.template);h.template=document.createElement("div"),h.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(h.template)}if(h.original.parentElement&amp;&amp;"PICTURE"===h.original.parentElement.tagName&amp;&amp;h.original.currentSrc&amp;&amp;(h.zoomed.src=h.original.currentSrc),document.body.appendChild(h.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),h.original.classList.add("medium-zoom-image--hidden"),h.zoomed.classList.add("medium-zoom-image--opened"),h.zoomed.addEventListener("click",s),h.zoomed.addEventListener("transitionend",(function e(){u=!1,h.zoomed.removeEventListener("transitionend",e),h.original.dispatchEvent(q("medium-zoom:opened",{detail:{zoom:m}})),n(m)})),h.original.getAttribute("data-zoom-src")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("srcset"),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading"),h.zoomedHd.src=h.zoomed.getAttribute("data-zoom-src"),h.zoomedHd.onerror=function(){clearInterval(i),console.warn("Unable to reach the zoom image target "+h.zoomedHd.src),h.zoomedHd=null,t()};var i=setInterval((function(){h.zoomedHd.complete&amp;&amp;(clearInterval(i),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",s),document.body.appendChild(h.zoomedHd),t())}),10)}else if(h.original.hasAttribute("srcset")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading");var a=h.zoomedHd.addEventListener("load",(function(){h.zoomedHd.removeEventListener("load",a),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",s),document.body.appendChild(h.zoomedHd),t()}))}else t()}}}))},s=function(){return new r((function(e){if(!u&amp;&amp;h.original){u=!0,document.body.classList.remove("medium-zoom--opened"),h.zoomed.style.transform="",h.zoomedHd&amp;&amp;(h.zoomedHd.style.transform=""),h.template&amp;&amp;(h.template.style.transition="opacity 150ms",h.template.style.opacity=0),h.original.dispatchEvent(q("medium-zoom:close",{detail:{zoom:m}})),h.zoomed.addEventListener("transitionend",(function t(){h.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(h.zoomed),h.zoomedHd&amp;&amp;document.body.removeChild(h.zoomedHd),document.body.removeChild(f),h.zoomed.classList.remove("medium-zoom-image--opened"),h.template&amp;&amp;document.body.removeChild(h.template),u=!1,h.zoomed.removeEventListener("transitionend",t),h.original.dispatchEvent(q("medium-zoom:closed",{detail:{zoom:m}})),h.original=null,h.zoomed=null,h.zoomedHd=null,h.template=null,e(m)}))}else e(m)}))},a=function(){var e=(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{}).target;return h.original?s():i({target:e})},l=[],c=[],u=!1,d=0,p=n,h={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?p=t:(t||"string"==typeof t)&amp;&amp;o(t);var f=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t}((p=U({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},p)).background);document.addEventListener("click",(function(e){var t=e.target;t!==f?-1!==l.indexOf(t)&amp;&amp;a({target:t}):s()})),document.addEventListener("keyup",(function(e){var t=e.key||e.keyCode;"Escape"!==t&amp;&amp;"Esc"!==t&amp;&amp;27!==t||s()})),document.addEventListener("scroll",(function(){if(!u&amp;&amp;h.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(d-e)&gt;p.scrollOffset&amp;&amp;setTimeout(s,150)}})),window.addEventListener("resize",s);var m={open:i,close:s,toggle:a,update:function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},t=e;if(e.background&amp;&amp;(f.style.background=e.background),e.container&amp;&amp;e.container instanceof Object&amp;&amp;(t.container=U({},p.container,e.container)),e.template){var n=V(e.template)?e.template:document.querySelector(e.template);t.template=n}return p=U({},p,t),l.forEach((function(e){e.dispatchEvent(q("medium-zoom:update",{detail:{zoom:m}}))})),m},clone:function(){return e(U({},p,arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{}))},attach:o,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];h.zoomed&amp;&amp;s();var r=t.length&gt;0?t.reduce((function(e,t){return[].concat(e,K(t))}),[]):l;return r.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(q("medium-zoom:detach",{detail:{zoom:m}}))})),l=l.filter((function(e){return-1===r.indexOf(e)})),m},on:function(e,t){var n=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};return l.forEach((function(r){r.addEventListener("medium-zoom:"+e,t,n)})),c.push({type:"medium-zoom:"+e,listener:t,options:n}),m},off:function(e,t){var n=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};return l.forEach((function(r){r.removeEventListener("medium-zoom:"+e,t,n)})),c=c.filter((function(n){return!(n.type==="medium-zoom:"+e&amp;&amp;n.listener.toString()===t.toString())})),m},getOptions:function(){return p},getImages:function(){return l},getZoomedImage:function(){return h.original}};return m};var Q=n(31173),J=n(45),Z=n(62576),ee=n(76647),te=n(97073),ne=n(74256),re=n(32682);function oe(e){return oe="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=oe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=oe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le=[{varName:"--hero-h1",styleKey:"heroTitle",colorKey:null},{varName:"--hero-h2",styleKey:"heroSubtitle",colorKey:null},{varName:"--hero-nav-button",styleKey:"navigation",colorKey:null},{varName:"--hero-p1",styleKey:"heroParagraph",colorKey:null},{varName:"--section-h1",styleKey:"h1",colorKey:null},{varName:"--section-h2",styleKey:"h2",colorKey:null},{varName:"--section-h3",styleKey:"h3",colorKey:null},{varName:"--section-h4",styleKey:"h4",colorKey:null},{varName:"--section-p1",styleKey:"p1",colorKey:null},{varName:"--section-p2",styleKey:"p2",colorKey:null},{varName:"--thumbnail-title",styleKey:"projectTitle",colorKey:null},{varName:"--thumbnail-subtitle",styleKey:"projectSubtitle",colorKey:null},{varName:"--cta-button",styleKey:"button",colorKey:"buttonText"},{varName:"--page-title",styleKey:"pageTitle",colorKey:"heroSubtitle"}],ce=[{varName:"--portfolio-hero-h1",styleKey:"heroTitle",colorKey:null},{varName:"--portfolio-hero-h2",styleKey:"heroSubtitle",colorKey:null},{varName:"--portfolio-hero-nav-button",styleKey:"navigation",colorKey:null},{varName:"--portfolio-hero-p1",styleKey:"heroParagraph",colorKey:null}];function ue(e,t,n,r,o,i){var s={},a=r[t];return s["".concat(e,"-color")]=n?o[n].color:o[t].color,"--hero-nav-button"!==e&amp;&amp;"--portfolio-hero-nav-button"!==e||(s["".concat(e,"-hover-color")]=o.navigationHover.color),"--cta-button"===e&amp;&amp;(s["--cta-background-color"]=o.buttonFill.color,s["--cta-outline-color"]=o.buttonOutline.color,s["--cta-hover-color"]=o.buttonFill.color+"CC",s["--cta-stroke-strength"]=i&amp;&amp;i.stroke&amp;&amp;i.stroke.strength?"".concat(i.stroke.strength,"px"):null),s["".concat(e,"-font")]="'".concat(a.font,"'"),s["".concat(e,"-height")]=de(a),s["".concat(e,"-height-mobile")]=de(a,!0),s["".concat(e,"-height-tablet")]=de(a,!1,!0),s["".concat(e,"-size")]="".concat(a.size,"px"),s["".concat(e,"-size-mobile")]="".concat(pe(a.size),"px"),s["".concat(e,"-size-tablet")]="".concat(he(a.size),"px"),s["".concat(e,"-style")]=a.fontStyle?"".concat(a.fontStyle):null,s["".concat(e,"-weight")]="".concat(a.fontWeight),s}function de(e){var t,n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],r=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],o=n?pe(e.size):r?he(e.size):e.size,i=e.lineHeight,s=e.relativeLineHeight;if(!s&amp;&amp;!i||i&amp;&amp;"auto"===i.toLowerCase||r||n){if(o&gt;72)return 1.05;t=Math.round(.015*Math.pow(o,2)-2.067*o+175.991)/100}else t=s||Math.round(i/o*100)/100;return i&amp;&amp;"auto"===i.toLowerCase?t&lt;1.05?1.05:t&gt;1.5?1.5:t:t}function pe(e){if(e&lt;15)return e;var t=.4*e+9.6;return t&lt;12?12:Math.round(100*t)/100}function he(e){if(e&lt;15)return e;var t=.6*e+6.4;return t&lt;12?12:Math.round(100*t)/100}function fe(e){return fe="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},fe(e)}function me(){me=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof v?t:v,s=Object.create(i.prototype),a=new I(r||[]);return o(s,"_invoke",{value:E(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,_=S&amp;&amp;S(S(L([])));_&amp;&amp;_!==n&amp;&amp;r.call(_,s)&amp;&amp;(w=_);var k=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==fe(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===m){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=x(a,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=m,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(fe(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new T(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},A(k),c(k,l,"Generator"),c(k,s,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),g}},t}function ge(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function be(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=fe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=F({modules:{review:n(88623).N},state:function(){return{triggerAnimation:!0,recalculateScrollTrigger:!0,emergencyModeSettings:null,user:null,userPortfolios:null,portfolio:null,portfolioSetupComplete:!1,portfolioPages:null,caseStudyPages:null,allCaseStudyPages:null,allPortfolios:null,userSettings:{currentSubscription:null,currentSubscriptionPlan:null,domainSubscriptions:[],invoices:[],stripePrices:{monthlyPrice:{id:"",price:"NaN"},yearlyPrice:{id:"",price:"NaN"}},referrerData:null,referredData:null,creditBalance:0,showSupportSurvey:!1},project:null,allowedSections:null,sectionEditorSettings:{pageToEdit:null,emptyStateTreshold:1,hideEditButtons:!1,hideMockupButtons:!1,hideTextAndImageIdeasButtons:!1,hiddenMediaTypes:{image:!1,video:!1,proto:!1,media:!1},maxColumnsPerSection:4,maxStatItemsPerSection:5,defaultPadding:60,sectionLimit:null,ctsModuleSelected:!1},selectedProject:null,selectedSection:null,selectedPortfolio:null,savingProject:!1,activeModal:null,isViewLight:function(){var e=W.A.currentRoute._value.fullPath;return e.includes("/create-new-portfolio")||e.includes("/home/settings")||"/home/portfolios"===e||"/home/notifications"===e||e.includes("/home/domain")||e.includes("/home/url")||e.includes("/home/payment")||e.startsWith("/reviews")},activeModalData:null,activeSectionSettingId:null,uploadImageAndCropStep:"upload",uploadImageAndCropType:null,alertModalMessage:null,showSidePanel:!1,sidePanelSettings:{panel:null,title:"Case study design",previousSettings:null,prevAccentColor:null,saveButton:"Save",showSecondaryTab:!1,hideBackButton:!1,hideActionButtons:!1,allowSave:!1,portfolioPassword:null,newPageDetails:null,globalSpacingChanged:!1,editedTextStyle:null,activeModal:null,goBackPath:null,updateParentPortfolio:!1,tabPills:null,activeTab:null,storedScrollPosition:null},currentSubscriptionPlan:null,subscriptionSettingsInfo:null,zoom:Y({margin:24,background:"rgba(255,255,255,0.9)",scrollOffset:0}),selectedMockupStyle:null,showTipMessage:!1,selectedStatSectionStyles:null,selectedTestimonialSectionStyles:null,selectedHeaderSectionStyle:null,alertMessage:{show:!1,type:"info",message:null,interval:null},notifications:[],showArchiveInfoBubble:!1,showOnBoardingScreen:!1,onboardingFinished:!1,showScrollIndicator:!1,templateTipMessageSeen:!1,pageIsLoading:!1,loaderMessage:null,creatingNewPortfolio:!1,previewingTemplate:!1,previewAndCreatePortfolioDetails:{selectedPortfolioTheme:null,activeView:0,selectedProjects:[],newPortfolio:null},fonts:[],reviewCenter:{reviewSent:!1,askForReviewProjectId:null},darkMode:null,view:{portfolio:null,project:null,user:null,portfolioPages:null,activePage:null,footerProjects:[],navOpen:!1,fontsLoaded:!1,ownDomain:null,publicPages:{activeMode:"light"},showcaseItems:null,selectedShowcaseItem:null,emergencyModeSettings:null,stickedHeader:!1},displayToggleGrid:!1,checklist:{activeInteraction:null,subpage:!1,finished:!1,popUpClosed:!0}}},mutations:{setPageToEdit:function(e,t){e.project=e.portfolioPages.find((function(e){return e.shortId===t})),we.commit("setAllowedSections",e.project.type),we.commit("setSectionEditorSettings",{pageToEdit:e.project?e.project.type:"blank",sectionLimit:3})},setCaseStudyToEdit:function(e,t){e.project=e.caseStudyPages.find((function(e){return e.shortId===t})),we.commit("setAllowedSections","caseStudy")},updateEditedPageSectionsInPortfolioPages:function(e){e.portfolioPages.find((function(t){return t.shortId===e.project.shortId})).sections=e.project.sections},updateEditedCaseStudySectionsInCaseStudyPages:function(e){e.caseStudyPages.find((function(t){return t.shortId===e.project.shortId})).sections=e.project.sections},addNewCaseStudyToList:function(e,t){e.caseStudyPages.push(t)},setActiveModal:function(e,t){e.activeModal=t},setAllowedSections:function(e,t){e.allowedSections=Object.assign({},{basicSections:t!==ne.Q8.CASE_STUDY?re.Lt:re.T7,recommendedSections:t!==ne.Q8.CASE_STUDY?re.i4:re.go})},setSectionEditorSettings:function(e,t){e.sectionEditorSettings=Object.assign({},we.state.sectionEditorSettings,t)},selectSection:function(e,t){e.selectedSection=t||null},selectSectionById:function(e,t){e.selectedSection=e.project.sections.find((function(e){return e._id===t}))},updateSection:function(e,t){e.project.sections[t.index]=t,(0,Z.$M)(e.project.sections[t.index])},selectColumnIndex:function(e,t){e.selectedColumnIndex=t},selectCaseStudy:function(e,t){e.selectedProject=t},setCurrentPlan:function(e,t){e.currentSubscriptionPlan=t},updateSectionByIndex:function(e,t){e.project.sections[t.sectionIndex]=ye(ye({},e.project.sections[t.sectionIndex]),t.updatedSectionEntries)},updateNewSectionStyle:function(e,t){switch(t.type){case"Header":e.selectedHeaderSectionStyle&amp;&amp;(e.project.sections[t.position].title.style.textStyle=we.state.selectedHeaderSectionStyle?we.state.selectedHeaderSectionStyle:"h1",(0,Z.$M)(we.state.project.sections[t.position]));break;case"Stat":we.state.selectedStatSectionStyles&amp;&amp;(we.state.project.sections[t.position].statItems.forEach((function(e){e.data.style.textStyle=we.state.selectedStatSectionStyles.data?we.state.selectedStatSectionStyles.data:e.data.style.textStyle,e.description.style.textStyle=we.state.selectedStatSectionStyles.description?we.state.selectedStatSectionStyles.description:e.description.style.textStyle})),(0,Z.$M)(we.state.project.sections[t.position]));break;case"Testimonial":we.state.selectedTestimonialSectionStyles&amp;&amp;(we.state.project.sections[t.position].testimonial.forEach((function(e){e.text.style.textStyle=we.state.selectedTestimonialSectionStyles.text?we.state.selectedTestimonialSectionStyles.text:e.text.style.textStyle,e.author.style.textStyle=we.state.selectedTestimonialSectionStyles.author?we.state.selectedTestimonialSectionStyles.author:e.author.style.textStyle})),(0,Z.$M)(we.state.project.sections[t.position]))}},updateProject:function(e,t){we.state.project=Object.assign({},we.state.project,t)},updateSavingState:function(e){e.savingProject=!e.savingProject},updateSidePanel:function(e,t){e.sidePanelSettings=Object.assign({},we.state.sidePanelSettings,t)},updateSidePanelVisibility:function(e,t){e.showSidePanel=t},updateSelectedSectionImage:function(e,t){we.state.selectedSection.image=Object.assign({},we.state.selectedSection.image,t)},updateSelectedSectionMedia:function(e,t){if("number"==typeof we.state.selectedColumnIndex)switch(we.state.selectedSection.type){case"Columns":e.selectedSection.columns[e.selectedColumnIndex].media=t;break;case"Testimonial":e.selectedSection.testimonial[e.selectedColumnIndex].media=t;break;case"LogoWall":e.selectedSection.logos[e.selectedColumnIndex]=ye(ye({},e.selectedSection.logos[e.selectedColumnIndex]),t)}else we.state.selectedSection.media=Object.assign({},we.state.selectedSection.media,t)},updateSectionMediaBasedOnActiveModalData:function(e,t){e.activeModalData.column?"logos"!==e.activeModalData.column.key?e.selectedSection[e.activeModalData.column.key][e.activeModalData.column.index].media=t:e.selectedSection.logos[e.activeModalData.column.index]=t:e.activeModalData.key===ne.i4.PORTFOLIO_HERO_IMAGE?(e.portfolio.templateSettings.hero.image=t,e.selectedSection.backgroundColor=null):e.activeModalData.key===ne.i4.PORTFOLIO_HERO_MEDIA?e.portfolio.image=t:e.activeModalData.key===ne.i4.THUMBNAIL?e.selectedProject.image=t:(e.selectedSection[e.activeModalData.key]=t,e.activeModalData.key===ne.i4.IMAGE&amp;&amp;(e.selectedSection.backgroundColor=null))},updateGalleryItems:function(e,t){e.selectedSection.galleryItems=Object.assign([],e.selectedSection.galleryItems,t)},updateUser:function(e,t){we.state.user=Object.assign({},we.state.user,t)},updateUserInDb:function(e,t){t&amp;&amp;(0,te.f0)(t,{event_category:"Profile editor",event_label:"User: ".concat(we.state.user._id)}),e.savingProject=!0,ee.A.editUser(e.user).then((function(t){e.user=ye(ye({},t.data),{},{paymentMethods:e.user.paymentMethods})})).catch((function(t){405===t.response.status&amp;&amp;(e.subscriptionSettingsInfo=t.response.data,e.currentSubscriptionPlan=t.response.data.currentSubscriptionPlan,e.activeModal="SubscriptionSettingsModal",1005===t.response.data.code&amp;&amp;(e.user.accountSettings.folioLogo=!0))})).finally((function(){e.savingProject=!1}))},updateExistingStatSectionStyles:function(e){e.project.sections.find((function(e){if(e.statItems&amp;&amp;!e.deletedAt&amp;&amp;(e.statItems[0].data.style&amp;&amp;e.statItems[0].data.style.textStyle||e.statItems[0].description.style&amp;&amp;e.statItems[0].description.style.textStyle))return we.state.selectedStatSectionStyles={data:e.statItems[0].data.style.textStyle,description:e.statItems[0].description.style.textStyle}}))},updateExistingHeaderSectionStyle:function(e){we.state.project.sections.find((function(e){if("Header"===e.type&amp;&amp;e.title.style.textStyle&amp;&amp;!e.deletedAt)return we.state.selectedHeaderSectionStyle=e.title.style.textStyle}))},updateExistingTestimonialSectionStyles:function(e){we.state.project.sections.find((function(e){if("Testimonial"===e.type&amp;&amp;!e.deletedAt)return we.state.selectedTestimonialSectionStyles={text:e.testimonial[0].text.style.textStyle,author:e.testimonial[0].author.style.textStyle}}))},updateFirstMockup:function(e){we.state.project.sections.find((function(e){return we.state.selectedMockupStyle=e.media&amp;&amp;e.media.frame?e.media.frame:e.galleryItems&amp;&amp;e.galleryItems[0].media.frame?e.galleryItems[0].media.frame:"mobile--semi-realistic--light--rounded--shadow"}))},openSidePanel:function(e,t){we.commit("openSidePanelOnPage",t)},openSidePanelOnPage:function(e,t){if(e.project.type===ne.Q8.HOME)W.A.push("/home/portfolios/".concat(we.state.portfolio.shortId,"/").concat(t.panelPath));else W.A.push("/home/portfolios/".concat(we.state.portfolio.shortId,"/p/").concat(we.state.project.shortId,"/").concat(t.panelPath))},closeSidePanel:function(e){if(e.project.type===ne.Q8.HOME)W.A.push("/home/portfolios/".concat(e.portfolio.shortId));else W.A.push("/home/portfolios/".concat(e.portfolio.shortId,"/p/").concat(e.project.shortId))},toggleSidePanel:function(e,t){location.pathname.indexOf("/".concat(t.panelPath))&lt;0?we.commit("openSidePanel",t):we.commit("closeSidePanel")},navigateBetweenSidePanels:function(e,t){var n,r=t&amp;&amp;t.mainPanel?t.mainPanel:ne.mq.ROOT;if(e.project.type===ne.Q8.HOME)n="/home/portfolios/".concat(e.portfolio.shortId,"/").concat(r);else n="/home/portfolios/".concat(e.portfolio.shortId,"/p/").concat(e.project.shortId,"/").concat(r);return!t||t&amp;&amp;!t.targetPanelPath?W.A.push(n):W.A.push(n+t.targetPanelPath)},setChatBubblePosition:function(e,t){var n=document.querySelector("#freshworks-container"),r=document.querySelector("#launcher-frame");n&amp;&amp;(n.style.cssText+="--leftPos: ".concat(t,"px;")),r&amp;&amp;(r.style.cssText+="--leftPos: ".concat(t,"px;"))},openPortfolioToEdit:function(e,t){return(n=me().mark((function n(){return me().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,J.A.getPortfolios(t);case 2:return we.commit("setPageToEdit","home"),n.next=5,W.A.push("/home/portfolios/".concat(e.portfolio.shortId));case 5:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function s(e){ge(i,r,o,s,a,"next",e)}function a(e){ge(i,r,o,s,a,"throw",e)}s(void 0)}))})();var n},setHeightOfTextareas:function(e){(0,Q.A)(document.querySelectorAll("textarea")),setTimeout((function(){Q.A.update(document.querySelectorAll("textarea"))}),10)},scrollToSection:function(e,t){var n,r,o=document.querySelector("#section-".concat(t.sectionIndex));if(o){o.classList.toggle("restore.stated",!!t.restoreSection);var i=(n=o.getBoundingClientRect(),r=window.pageYOffset||document.documentElement.scrollTop,n.top+r-(o.offsetHeight&lt;=window.innerHeight?(window.innerHeight-o.offsetHeight)/2+29:58));window.scrollTo({top:i,left:0,behavior:"smooth"})}},showAlertMessage:function(e,t){e.alertMessage={type:t.type,message:t.message,show:!1!==t.show||t.show,interval:t.interval?t.interval:3}},subscriptionChecker:function(e,t){"Free"===we.state.currentSubscriptionPlan&amp;&amp;(we.state.subscriptionSettingsInfo=t,we.state.activeModal="SubscriptionSettingsModal")},scrollToItem:function(e,t){var n=t.index-1&gt;-1?document.querySelector('[data-id="'.concat(t.index-1,'"]')):null,r=document.querySelector('[data-section-id="'.concat(we.state.selectedSection.index,'"]')),o=r.offsetTop-(r.offsetHeight&lt;=window.innerHeight?(window.innerHeight-r.offsetHeight)/2+29:58)+(n?n.offsetTop:0);window.scrollTo({top:o,left:0,behavior:"smooth"})},selectTextStyleToEdit:function(e,t){e.sidePanelSettings.editedTextStyle=t},updateColorInTextStyle:function(e,t){if(!e.sidePanelSettings.editedTextStyle.type)return e.sidePanelSettings.editedTextStyle=t;e.sidePanelSettings.editedTextStyle.color=t},updateSelectedTextStyle:function(e,t){e.sidePanelSettings.editedTextStyle=t},updatePortfolioInUserPortfolios:function(e,t){var n=e.userPortfolios.findIndex((function(e){return e.shortId===t.shortId}));e.userPortfolios[n]=t},openLink:function(e,t){window.open(t)},updateView:function(e,t){e.view=ye(ye({},e.view),t)},woopraTrack:function(e,t){window.woopra&amp;&amp;(t?window.woopra.track(t.name,t.properties):window.woopra.track())},matomoTrack:function(e,t){if(window._paq)if(t){if("trackPageView"===t.name)return window._paq.push(["setDocumentTitle",t.title]),window._paq.push(["setCustomUrl",t.url]),void window._paq.push(["trackPageView"]);window._paq.push(["trackEvent",t.category,t.action,t.name,t.category.value])}else window._paq.push(["trackPageView"])},recalculateScrollTriggers:function(e){e.recalculateScrollTrigger=!e.recalculateScrollTrigger},updateChecklistItem:function(e,t){if(e.user.checklistStatus){e.user.checklistStatus.steps[t]=!0,e.checklist.activeInteraction=null;var n="Finished: "+t;(0,te.f0)(n,{event_category:"Activation checklist",event_label:"User: ".concat(e.user._id)}),we.commit("updateUserInDb")}},updateActivationPopupState:function(e,t){e.checklist.popUpClosed=t}},getters:{isDefaultAccentColor:function(){if(!we.state.project.settings||we.state.project.settings.colors&amp;&amp;!we.state.project.settings.colors.accent)return!0},userIsPremium:function(){return"Free"!==we.state.currentSubscriptionPlan},caseStudies:function(e){return e.caseStudyPages},getAllTextStylesInCss:function(){var e=we.getters.isCaseStudy&amp;&amp;!we.getters.usingGlobalFontStyles?we.state.project.designSettings.fontStyles:we.state.portfolio.designSettings.fontStyles,t=we.getters.isCaseStudy&amp;&amp;!we.getters.usingGlobalColorStyles?we.state.project.designSettings.colorStyles:we.state.portfolio.designSettings.colorStyles,n=we.getters.isCaseStudy&amp;&amp;!we.getters.usingGlobalFontStyles?we.state.project.settings.ctaStyle:we.state.portfolio.templateSettings.ctaStyle,r=t.navigation.color;r&lt;8&amp;&amp;(r+="profile_theme_default_old"===we.state.portfolio.templateSettings.theme||"profile_theme_seven"!==we.state.portfolio.templateSettings.theme&amp;&amp;"theme_thirteen"!==we.state.portfolio.templateSettings.theme?"33":"");var o={};if(o=ye({},function(e,t,n){var r={};return le.forEach((function(o){var i=o.varName,s=o.styleKey,a=o.colorKey;r=se(se({},r),ue(i,s,a,e,t,n))})),r}(e,t,n)),o=ye(ye({},o),{},{"--border-color":r,"--link-color":t.hyperLink.color,"--link-hover-color":t.hyperLink.color+"CC","--background-color":t.background.color,"--divider-line-color":t.dividerLine.color,"--sidebar-background-color":t.sidebarBackground.color}),["theme_nine","profile_theme_nine","theme_four","profile_theme_four"].includes(we.state.portfolio.templateSettings.theme)){var i=we.state.portfolio.designSettings.fontStyles,s=we.state.portfolio.designSettings.colorStyles,a=s.navigation.color+"33";o=ye(ye({},o),function(e,t){var n={};return ce.forEach((function(r){var o=r.varName,i=r.styleKey,s=r.colorKey;n=se(se({},n),ue(o,i,s,e,t,null))})),n}(i,s)),o=ye(ye({},o),{},{"--portfolio-border-color":a,"--portfolio-link-color":s.hyperLink.color,"--portfolio-link-hover-color":s.hyperLink.color+"CC","--portfolio-sidebar-background-color":s.sidebarBackground.color})}return o},pageViewURL:function(e){var t=e.portfolio.ownDomainAddress&amp;&amp;!e.project.draft?"https://".concat(e.portfolio.ownDomainAddress):location.origin,n=W.A.currentRoute.value.params.projectShortId,r=e.portfolio.ownDomainAddress?t:"".concat(t,"/").concat(e.portfolio.shortId);return n&amp;&amp;(r=e.portfolio.ownDomainAddress&amp;&amp;!e.project.draft?"".concat(t,"/p/").concat(n):"".concat(t,"/p/").concat(e.portfolio.shortId,"/").concat(n)),r},isHomePage:function(e){return e.project&amp;&amp;e.project.type===ne.Q8.HOME},isCaseStudy:function(e){return e.project&amp;&amp;e.project.type===ne.Q8.CASE_STUDY},usingGlobalFontStyles:function(e){return e.project.type===ne.Q8.CASE_STUDY&amp;&amp;e.project.designSettings.globalFontStyles},usingGlobalColorStyles:function(e){return e.project.type===ne.Q8.CASE_STUDY&amp;&amp;e.project.designSettings.globalColorStyles},animationSettings:function(e){return e.project&amp;&amp;e.project.type===ne.Q8.CASE_STUDY&amp;&amp;!e.project.designSettings.globalAnimationSettings?e.project.designSettings&amp;&amp;e.project.designSettings.animationSettings?e.project.designSettings.animationSettings:null:e.portfolio.designSettings&amp;&amp;e.portfolio.designSettings.animationSettings?e.portfolio.designSettings.animationSettings:null},ctsIsActive:function(e){return e.sectionEditorSettings.ctsModuleSelected}}})},45:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;x,a:()=&gt;C});var r=n(36761),o=n(88248),i=n(46641),s=n(95818),a=(n(63019),n(53058)),l=n(36297),c=n(15907),u=n(97073),d=n(33253),p=n(33501),h=n(35166),f=n(74256);function m(e){return m="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(){g=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof b?t:b,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",v="completed",y={};function b(){}function w(){}function S(){}var _={};c(_,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(_=A);var T=S.prototype=b.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&amp;&amp;"object"==m(u)&amp;&amp;r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=p;return function(i,s){if(o===f)throw Error("Generator is already running");if(o===v){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=f;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?v:h,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=v,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(m(t)+" is not iterable")}return w.prototype=S,o(T,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=c(S,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(u(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),c(T,l,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),y}},t}function v(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){v(i,r,o,s,a,"next",e)}function a(e){v(i,r,o,s,a,"throw",e)}s(void 0)}))}}var b,w,S,_,k,A,T=r.M.state,E=r.M.getters,x={getPortfolio:(A=y(g().mark((function e(t){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.A.getPortfolio(t||T.portfolio._id).then((function(e){T.portfolio=e.data,T.selectedPortfolio=e.data})).catch((function(e){console.log(e)}));case 2:case"end":return e.stop()}}),e)}))),function(e){return A.apply(this,arguments)}),getPortfolios:(k=y(g().mark((function e(t){var n,i;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.A.currentRoute.value.params,i=t||(n.portfolioId?n.portfolioId:T.user.defaultCollectionId),e.next=4,o.A.getPortfolios(T.user._id).then(function(){var e=y(g().mark((function e(t){var n;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.data.length){e.next=6;break}return T.showOnBoardingScreen=!0,e.next=4,l.A.push("/home/onboarding");case 4:e.next=18;break;case 6:return T.userPortfolios=t.data,T.portfolio=t.data.find((function(e){return e.shortId===i||e._id===i})),T.selectedPortfolio=t.data.find((function(e){return e.shortId===i||e._id===i})),e.next=11,x.getPortfolioPages(T.portfolio._id);case 11:return e.next=13,x.getCaseStudyPages(T.portfolio._id);case 13:return n=Object.entries(T.portfolio.designSettings.fontStyles).map((function(e){return e[1]})),p.A.downloadSingleFonts(Object.entries(n).map((function(e){return e[1]}))),e.next=17,(0,d.wi)(n);case 17:T.portfolioSetupComplete=!0;case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.log("Error while getting portolios",e),l.A.push("/home"),h.z.refreshData()})).finally((function(){"/home/onboarding"===l.A.currentRoute.value.fullPath||"/home/portfolios"===l.A.currentRoute.value.fullPath||"/home/notifications"===l.A.currentRoute.value.fullPath||l.A.currentRoute.value.fullPath.includes("/home/settings")||l.A.currentRoute.value.fullPath.includes("home/payment")||l.A.currentRoute.value.fullPath.includes("home/domain")||l.A.currentRoute.value.fullPath.includes("home/url")||l.A.currentRoute.value.fullPath.includes("/reviews")||l.A.currentRoute.value.params.portfolioId||(T.portfolioPages&amp;&amp;r.M.commit("setPageToEdit","home"),T.portfolio&amp;&amp;l.A.push("/home/portfolios/".concat(T.portfolio.shortId)))}));case 4:case"end":return e.stop()}}),e)}))),function(e){return k.apply(this,arguments)}),getPortfolioPages:(_=y(g().mark((function e(t,n){var r;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&amp;&amp;!T.portfolio){e.next=12;break}return e.prev=1,e.next=4,s.A.getPortfolioPages(t||T.portfolio._id);case 4:r=e.sent,T.portfolioPages=r.data.sort((function(e,t){return e.order-t.order})),n&amp;&amp;(T.project=T.portfolioPages.find((function(e){return"home"===e.type}))),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),console.log("Error while getting portfolio pages.");case 12:case"end":return e.stop()}}),e,null,[[1,9]])}))),function(e,t){return _.apply(this,arguments)}),getCaseStudyPages:(S=y(g().mark((function e(t){var n;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&amp;&amp;!T.portfolio){e.next=12;break}return e.prev=1,e.next=4,s.A.getCaseStudyPages(t||T.portfolio._id);case 4:n=e.sent,T.caseStudyPages=n.data.sort((function(e,t){return e.order-t.order})),T.project||(T.project=T.caseStudyPages.filter((function(e){return"home"===e.type}))),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),console.log("Error while getting case studies");case 12:case"end":return e.stop()}}),e,null,[[1,9]])}))),function(e){return S.apply(this,arguments)}),getAllCaseStudyPages:(w=y(g().mark((function e(t){var n;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&amp;&amp;!T.user){e.next=11;break}return e.prev=1,e.next=4,s.A.getAllProject(t||T.user._id,!0);case 4:n=e.sent,T.allCaseStudyPages=n.data.filter((function(e){return!e.deletedAt&amp;&amp;"caseStudy"===e.type})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.log("Error while getting All case studies");case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),function(e){return w.apply(this,arguments)}),createPage:function(e,t,n){T.savingProject=!0;var r=a.A.getDesignSettingsByTheme(T.portfolio.templateSettings.theme);s.A.createProject(T.user._id,T.portfolio._id,e,T.portfolioPages.filter((function(e){return!e.deletedAt})).length,t,n,null,!1,r,T.portfolio.templateSettings.defaultCaseStudyValues,T.portfolio.templateSettings.defaultThumbnailData).then((function(t){"about"!==e&amp;&amp;"contact"!==e&amp;&amp;"blank"!==e||(T.project=t.data)})).catch((function(e){x.handleCommonApiError(e)})).finally((function(){"blank"===e&amp;&amp;x.trackEditEvent("Create Blank page"),x.getPortfolioPages(),x.getCaseStudyPages(),x.getAllCaseStudyPages(),T.savingProject=!1,"about"!==e&amp;&amp;"contact"!==e&amp;&amp;"blank"!==e||l.A.push("/home/portfolios/".concat(T.portfolio.shortId,"/p/").concat(T.project.shortId,"/settings/portfolio-navigation"))}))},getPageByShortId:function(e){s.A.getProjectByShortId(T.portfolio.shortId,e).then((function(e){T.project=e.data,r.M.commit("setAllowedSections",T.project.type)})).catch((function(e){console.log(e),r.M.commit("setPageToEdit","home"),l.A.push("/home/portfolios/".concat(T.portfolio.shortId))})).finally((function(){T.project&amp;&amp;(r.M.commit("updateExistingStatSectionStyles"),r.M.commit("updateExistingHeaderSectionStyle"),r.M.commit("updateExistingHeaderSectionStyle"))}))},updateProjectByShortId:function(e,t,n){s.A.updateProjectByShortId(T.portfolio.shortId,e,t,n).then((function(t){T.portfolioPages[T.portfolioPages.findIndex((function(t){return t.shortId===e}))]=t.data})).catch((function(e){console.log(e)}))},deletePage:function(e){T.portfolioPages.find((function(t){return t._id===e})).deletedAt=1,x.archivePage(e),x.reorderPages(!0)},reorderPages:function(e){var t=T.portfolioPages.filter((function(e){return!e.deletedAt}));T.portfolioPages.forEach((function(e,n){e.deletedAt||(e.order=n),e.deletedAt&amp;&amp;(e.order=t.length+n)})),T.portfolioPages.sort((function(e,t){return e.order-t.order})),e&amp;&amp;x.updateNavItemsOrder()},archivePage:function(e){s.A.archiveProject(e).then((function(t){T.portfolioPages.find((function(t){return t._id===e})).deletedAt=t.data.deletedAt?t.data.deletedAt:null,T.portfolioPages.find((function(t){return t._id===e})).draft=!0})).catch((function(e){console.log(e)})).finally((function(){T.selectedProject=null,l.A.currentRoute.value.fullPath.indexOf("/settings/archive")&gt;-1||(T.portfolioPages.find((function(t){return t._id===e&amp;&amp;!t.deletedAt&amp;&amp;("about"===t.type||"contact"===t.type||"blank"===t.type)}))?(T.project=T.portfolioPages.find((function(t){return t._id===e})),l.A.push("/home/portfolios/".concat(T.portfolio.shortId,"/p/").concat(T.project.shortId,"/settings/portfolio-navigation"))):T.portfolioPages.find((function(t){return t._id===e&amp;&amp;!t.deletedAt&amp;&amp;"file"===t.type}))&amp;&amp;l.A.back())}))},updatePageStyle:function(){T.savingProject=!0,o.A.editPortfolio(T.portfolio).then((function(e){T.portfolio=e.data,T.selectedPortfolio=e.data})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},updateNavButtonStyle:function(e){return y(g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.A.updateNavButtonStyle(T.user._id,T.portfolio._id,e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))()},updatePortfolio:function(e,t,n){e&amp;&amp;x.trackEditEvent(e),T.savingProject=!0,o.A.editPortfolio(T.portfolio).then((function(e){t||(T.portfolio=e.data,T.selectedPortfolio=e.data,r.M.commit("updatePortfolioInUserPortfolios",e.data))})).catch((function(e){console.log(e),T.activeModal=null;var t=e.response.data;405===e.response.status&amp;&amp;1007===t.code&amp;&amp;(T.subscriptionSettingsInfo=t,r.M.commit("setCurrentPlan",t.currentSubscriptionPlan),T.activeModal="SubscriptionSettingsModal")})).finally((function(){n||"SubscriptionSettingsModal"===T.activeModal||(T.activeModal=null),T.savingProject=!1,r.M.commit("updateSidePanel",{allowSave:!1})}))},setPortfolioGlobalSpacing:function(){T.savingProject=!0,o.A.setPortfolioGlobalSpacing(T.project).then((function(e){T.project=e.data.find((function(e){return e._id===T.project._id})),T.portfolioPages=e.data})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},setTemplateForPortfolio:function(){T.savingProject=!0,o.A.setTemplateForPortfolio(T.portfolio).then((function(e){T.portfolio=e.data,T.selectedPortfolio=e.data})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},updateNavItemsOrder:function(){var e=[];T.portfolioPages.forEach((function(t,n){return e.push({projectId:t._id,order:t.order})})),T.savingProject=!0,s.A.updatePortfolioPagesOrder(T.portfolio._id,e).then((function(e){})).catch((function(e){return console.log(e)})).finally((function(){x.updatePortfolio(),T.savingProject=!1,r.M.commit("updateSidePanel",{allowSave:!1})}))},updateCaseStudiesOrder:function(){T.savingProject=!0,s.A.updateCaseStudyPagesOrder(T.portfolio._id,T.caseStudyPages).then((function(e){x.getCaseStudyPages()})).catch((function(e){return console.log(e)})).finally((function(){T.savingProject=!1}))},setDefaultPagesForPortfolio:function(e){T.savingProject=!0,o.A.addDefaultPortfolioPages(e).then((function(e){T.portfolioPages=e.data.sort((function(e,t){return e.order-t.order}))})).catch((function(e){console.log(e)}))},getPortfolioTemplateSettings:function(){T.savingProject=!0,o.A.getPortfolioTemplateSettings(T.portfolio._id).then((function(e){T.portfolio.templateSettings=e.data})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},getPortfolioTemplateAndDesignSettings:function(){T.savingProject=!0,o.A.getPortfolio(T.portfolio._id).then((function(e){T.portfolio.templateSettings=e.data.templateSettings,T.portfolio.designSettings=e.data.designSettings,document.querySelector("body").style.backgroundColor=e.data.designSettings.colorStyles.background.color})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},getPortfolioSettings:function(){T.savingProject=!0,o.A.getPortfolioSettings(T.portfolio._id).then((function(e){T.portfolio.settings=e.data})).catch((function(e){console.log(e)})).finally((function(){T.savingProject=!1}))},switchProjectDraft:function(e){x.trackEditEvent("".concat(e.draft?"Publish":"Unpublish"," project")),s.A.setProjectDraft(e._id,!e.draft).then((function(t){!0===t.data&amp;&amp;x.getCaseStudyPages(),r.M.commit("showAlertMessage",{message:e.draft?"Your case study is now public":"Your case study is set to draft",interval:e.draft&amp;&amp;E.isCaseStudy?60:3}),r.M.commit("woopraTrack",{name:"case_study",properties:{type:"".concat(T.project.draft?"Publish":"Unpublish"," case study")}}),r.M.commit("matomoTrack",{category:"Case study",action:"".concat(T.project.draft?"Publish":"Unpublish"," case study")}),E.isCaseStudy&amp;&amp;(T.project.draft=!T.project.draft)})).catch((function(e){if(T.activeModal=null,e.response&amp;&amp;e.response.data){var t=e.response.data;405!==e.response.status||1001!==t.code&amp;&amp;1002!==t.code||(T.subscriptionSettingsInfo=t,T.currentSubscriptionPlan=t.currentSubscriptionPlan,T.activeModal="SubscriptionSettingsModal")}})).finally((function(){return T.selectedProject=null}))},deletePortfolioImage:function(e,t){T.savingProject=!0,o.A.deletePortfolioImage(T.portfolio._id,e).then((function(e){})).catch((function(e){})).finally((function(){T.savingProject=!1,t&amp;&amp;(T.activeModal=null)}))},updatePortfolioLogo:function(e){T.savingProject=!0,o.A.updatePortfolioLogo(T.portfolio.templateSettings.logo,T.portfolio._id).then((function(t){e&amp;&amp;x.trackEditEvent(e),T.portfolio.templateSettings.logo=t.data.templateSettings.logo})).catch((function(e){405===e.response.status&amp;&amp;(T.subscriptionSettingsInfo=e.response.data,T.currentSubscriptionPlan=e.response.data.currentSubscriptionPlan,T.activeModal="SubscriptionSettingsModal",T.portfolio.templateSettings.logo=T.sidePanelSettings.previousSettings)})).finally((function(){T.savingProject=!1,r.M.commit("navigateBetweenSidePanels",{mainPanel:f.vs.ROOT})}))},getLatestNotifications:(b=y(g().mark((function e(){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!T.user){e.next=3;break}return e.next=3,i.A.getAllNotificationForUser(T.user._id).then((function(e){T.notifications=e.data})).catch((function(e){console.log(e)}));case 3:case"end":return e.stop()}}),e)}))),function(){return b.apply(this,arguments)}),clickNotification:function(e,t){x.trackEditEvent("Click notification in dropdown"),t||i.A.setNotificationSeenBy(T.user._id,e.id).then((function(e){h.z.refreshData()})).catch((function(e){console.log(e)})),x.openReview(e)},setAllNotificationSeen:function(){x.trackEditEvent("Click notification in dropdown"),i.A.setNotificationSeenBy(T.user._id,null).then((function(e){T.notifications=e.data,h.z.refreshData()})).catch((function(e){console.log(e)}))},openReview:function(e){return y(g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.navigation){t.next=27;break}if("Upgrade"!==e.navigation){t.next=7;break}if("Free"!==T.currentSubscriptionPlan){t.next=5;break}return t.next=5,l.A.push({path:"/home/payment",state:{subscriptionData:{billingCycle:"monthly"}}});case 5:t.next=27;break;case 7:if("Account"!==e.navigation){t.next=11;break}window.location.href="/home/settings/account-settings",t.next=27;break;case 11:if("Referral"!==e.navigation){t.next=15;break}window.location.href="/home/settings/referrals",t.next=27;break;case 15:if("Review"!==e.navigation){t.next=21;break}return console.log("review"),t.next=19,x.handleReviewRedirect(e);case 19:t.next=27;break;case 21:if("Animations"!==e.navigation){t.next=26;break}return t.next=24,l.A.push({path:"/home/portfolios/".concat(T.portfolio.shortId,"/style/animation-settings")});case 24:t.next=27;break;case 26:window.location.href="/home/notifications";case 27:case"end":return t.stop()}}),t)})))()},handleReviewRedirect:function(e){return y(g().mark((function t(){var n,r,o;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"ReviewSubmitted"===e.additionalInfo.type?(n=window.location.origin+"/myreviews/"+e.additionalInfo.shortId+"?reviewer="+e.additionalInfo.fromUserId,window.open(n,"_blank").focus()):"FollowupSentToOwner"===e.additionalInfo.type?(r=window.location.origin+"/myreviews/"+e.additionalInfo.shortId+"?reviewer="+e.additionalInfo.fromUserId+"&amp;followup=true",window.open(r,"_blank").focus()):"FollowupSentToReviewer"===e.additionalInfo.type&amp;&amp;(o=window.location.origin+"/review/"+e.additionalInfo.shortId+"?followup=true",window.open(o,"_blank").focus());case 1:case"end":return t.stop()}}),t)})))()},handleCommonApiError:function(e){e.response&amp;&amp;405===e.response.status&amp;&amp;(T.subscriptionSettingsInfo=e.response.data,T.currentSubscriptionPlan=e.response.data.currentSubscriptionPlan,T.activeModal="SubscriptionSettingsModal")},trackPageView:function(e,t){(0,u.JR)({page_path:e,page_title:t,page_location:location.href})},trackPaywallEvent:function(e){try{(0,u.f0)("Paywall appeared",{location:e,event_label:"User: ".concat(T.user._id,", Portfolio: ").concat(T.portfolio?T.portfolio._id:"none")})}catch(e){console.log("Error while sending GEVENT: "+e)}},trackEditEvent:function(e,t){var n=T.sectionEditorSettings.pageToEdit?"".concat(T.sectionEditorSettings.pageToEdit.charAt(0).toUpperCase()+T.sectionEditorSettings.pageToEdit.slice(1)," page"):"Profile";(0,u.f0)(e,{event_category:(T.project&amp;&amp;T.project.type)!==f.Q8.CASE_STUDY?"".concat(n," editor"):"Project editor",event_label:t?"User: ".concat(T.user._id,", Portfolio: ").concat(T.portfolio?T.portfolio._id:"none",", ").concat(t):"User: ".concat(T.user._id,", Portfolio: ").concat(T.portfolio?T.portfolio._id:"none")}),(0,u.f0)("editor_action",{event_source:(T.project&amp;&amp;T.project.type)!==f.Q8.CASE_STUDY?"".concat(n," editor"):"Project editor",event_name:e,event_params:t?"User: ".concat(T.user._id,", Portfolio: ").concat(T.portfolio?T.portfolio._id:"none",", ").concat(t):"User: ".concat(T.user._id,", Portfolio: ").concat(T.portfolio?T.portfolio._id:"none")})},getAllAvalibleFonts:function(){return y(g().mark((function e(){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.A.getFonts("").then((function(e){T.fonts=e.data})).catch((function(e){console.log(e)}));case 2:case"end":return e.stop()}}),e)})))()}};function C(e,t){(0,u.JR)({page_path:e,page_title:t,page_location:location.href})}},62576:(e,t,n)=&gt;{"use strict";n.d(t,{$M:()=&gt;l,G_:()=&gt;c,OS:()=&gt;d,Rf:()=&gt;s,VB:()=&gt;p,rM:()=&gt;a,yg:()=&gt;u});var r=n(95818),o=n(36761),i=n(74256);function s(e,t){r.A.addSection(o.M.state.project._id,e).then((function(t){o.M.state.project=t.data,o.M.commit("selectSection",t.data.sections[e.index]),"Header"!==e.type&amp;&amp;"Stat"!==e.type&amp;&amp;"Testimonial"!==e.type||o.M.commit("updateNewSectionStyle",{position:e.index,type:e.type}),setTimeout((function(){o.M.commit("scrollToSection",e.index)}),10),o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Add section",sectionType:e.type}}),o.M.commit("matomoTrack",{category:"Case study",action:"Add section",name:e.type}))})).catch((function(e){})).finally((function(){f(),h(e.index,!0),o.M.state.activeModal=t||null}))}function a(e){var t=o.M.state.selectedSection?o.M.state.selectedSection.index+1:0;r.A.addSuggestionSection(o.M.state.project._id,t,e).then((function(n){o.M.state.project=n.data,o.M.commit("selectSection",n.data.sections[t]),o.M.commit("scrollToSection",{sectionIndex:t}),setTimeout((function(){o.M.commit("scrollToSection",{sectionIndex:t})}),10),o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Add section",sectionType:e}}),o.M.commit("matomoTrack",{category:"Case study",action:"Add section",name:e}))})).catch((function(e){})).finally((function(){f(),h(t,!0),o.M.state.activeModal=null}))}function l(e,t){o.M.commit("updateSavingState"),r.A.updateSection(o.M.state.project._id,e).then((function(t){o.M.commit("updateSavingState"),o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Edit section",sectionType:e.type}}),o.M.commit("matomoTrack",{category:"Case study",action:"Edit section",name:e.type}))})).catch((function(e){})).finally((function(){t&amp;&amp;"keepModalOpen"===t||(o.M.state.activeModal=t||null)}))}function c(e,t){r.A.archiveSection(e,t).then((function(e){o.M.state.project.sections[t].deletedAt=e.data.deletedAt,o.M.state.selectedSection=null,o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Archive section",sectionType:o.M.state.project.sections[t].type}}),o.M.commit("matomoTrack",{category:"Case study",action:"Archive section",name:o.M.state.project.sections[t].type}))})).catch((function(e){})).finally((function(){o.M.state.project.sections[t].deletedAt||o.M.commit("scrollToSection",{sectionIndex:t}),o.M.state.activeModal=null,h(t)}))}function u(e){r.A.reorderSections(o.M.state.project._id,e).then((function(e){o.M.state.project=e.data,o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Reorder sections"}}),o.M.commit("matomoTrack",{category:"Case study",action:"Reorder sections"}))})).catch((function(e){})).finally((function(){return o.M.state.activeModal=null}))}function d(e,t){(e||t)&amp;&amp;r.A.deleteProjectImage(o.M.state.project._id,e,t).then((function(e){o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Delete image from section",sectionType:o.M.state.selectedSection.type}}),o.M.commit("matomoTrack",{category:"Case study",action:"Delete image from section",name:o.M.state.selectedSection.type}))})).catch((function(e){}))}function p(e){r.A.deleteGalleryItem(o.M.state.project._id,o.M.state.selectedSection.index,e).then((function(t){o.M.commit("updateGalleryItems",t.data.galleryItems),o.M.state.project.sections[o.M.state.selectedSection.index].galleryItems=Object.assign([],t.data.galleryItems),o.M.commit("showAlertMessage",{type:"success",message:"Image successfully deleted."}),o.M.commit("scrollToItem",e),o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Delete gallery item",sectionType:"Gallery"}}),o.M.commit("matomoTrack",{category:"Case study",action:"Delete gallery item",name:"Gallery"}))})).catch((function(e){}))}function h(e,t){if(o.M.state.project){var n=!1,s=o.M.state.project.sections.filter((function(e){return e.type===i.iK.NAVIGATION&amp;&amp;!e.deletedAt}));if(0===s.length)return;if(s.reduce((function(r,i){var s=i.navigationItems;!t&amp;&amp;s.find((function(t){return t.sectionIndex===e}))?(o.M.state.selectedNavStep=s.findIndex((function(t){return t.sectionIndex===e})),o.M.state.selectedSection=i,o.M.commit("showAlertMessage",{type:"success",message:"Linked section ".concat(t?"changed":"deleted","."),interval:60}),s.find((function(t){return t.sectionIndex===e})).sectionIndex=null,n=!0):t&amp;&amp;s.findLast((function(e){return!!e.sectionIndex}))&amp;&amp;e&lt;=s.findLast((function(e){return!!e.sectionIndex})).sectionIndex&amp;&amp;(s.forEach((function(t){e&lt;=t.sectionIndex&amp;&amp;(t.sectionIndex=t.sectionIndex+1)})),n=!0)}),null),n)return a=s,o.M.commit("updateSavingState"),void r.A.updateSections(o.M.state.project._id,a).then((function(e){o.M.commit("updateSavingState"),o.M.getters.isCaseStudy&amp;&amp;(o.M.commit("woopraTrack",{name:"case_study",properties:{type:"Update all sections"}}),o.M.commit("matomoTrack",{category:"Case study",action:"Update all sections"}))})).catch((function(e){})).finally((function(){}))}var a}function f(){o.M.getters.isCaseStudy?o.M.commit("updateEditedCaseStudySectionsInCaseStudyPages"):o.M.commit("updateEditedPageSectionsInPortfolioPages")}},35166:(e,t,n)=&gt;{"use strict";n.d(t,{z:()=&gt;v});var r=n(36761),o=n(76647),i=n(45),s=n(97073),a=n(65498);function l(e){return l="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){p=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&amp;&amp;t.prototype instanceof b?t:b,s=Object.create(i.prototype),a=new P(r||[]);return o(s,"_invoke",{value:C(e,n,a)}),s}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var _={};u(_,s,(function(){return this}));var k=Object.getPrototypeOf,A=k&amp;&amp;k(k(N([])));A&amp;&amp;A!==n&amp;&amp;r.call(A,s)&amp;&amp;(_=A);var T=S.prototype=b.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,a){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&amp;&amp;"object"==l(d)&amp;&amp;r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,a)}))}a(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var o=f;return function(i,s){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw s;return{value:e,done:!0}}for(r.method=i,r.arg=s;;){var a=r.delegate;if(a){var l=O(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&amp;&amp;r.abrupt("return",r.arg);o=g;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?v:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&amp;&amp;(o=v,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&amp;&amp;t.iterator.return&amp;&amp;(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&amp;&amp;(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&amp;&amp;(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function I(e){var t={tryLoc:e[0]};1 in e&amp;&amp;(t.catchLoc=e[1]),2 in e&amp;&amp;(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o&lt;t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(l(t)+" is not iterable")}return w.prototype=S,o(T,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=u(S,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&amp;&amp;e.constructor;return!!t&amp;&amp;(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,u(e,c,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(x.prototype),u(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,o,i){void 0===i&amp;&amp;(i=Promise);var s=new x(d(e,n,r,o),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},E(T),u(T,c,"Generator"),u(T,s,(function(){return this})),u(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&amp;&amp;r.call(this,n)&amp;&amp;!isNaN(+n.slice(1))&amp;&amp;(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return a.type="throw",a.arg=t,n.next=r,o&amp;&amp;(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i&gt;=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc&lt;=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&amp;&amp;c){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0);if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev&lt;s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev&lt;s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n&gt;=0;--n){var o=this.tryEntries[n];if(o.tryLoc&lt;=this.prev&amp;&amp;r.call(o,"finallyLoc")&amp;&amp;this.prev&lt;o.finallyLoc){var i=o;break}}i&amp;&amp;("break"===e||"continue"===e)&amp;&amp;i.tryLoc&lt;=t&amp;&amp;t&lt;=i.finallyLoc&amp;&amp;(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&amp;&amp;t&amp;&amp;(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t&gt;=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&amp;&amp;(this.arg=e),y}},t}function h(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){h(i,r,o,s,a,"next",e)}function a(e){h(i,r,o,s,a,"throw",e)}s(void 0)}))}}var m,g,v={createUser:(g=f(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.A.createMyUser();case 3:return t=e.sent,r.M.state.user=t.data.user,e.next=7,this.getUserSettings();case 7:(0,s.f0)("New user login",{event_category:"Project editor",event_label:"User: ".concat(r.M.state.user._id)}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),e.t0.response&amp;&amp;409===e.t0.response.status&amp;&amp;window.location.reload();case 13:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(){return g.apply(this,arguments)}),getUser:(m=f(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.A.getMyUser();case 3:return t=e.sent,r.M.state.user=u(u({},t.data.user),{},{paymentMethods:t.data.userPaymentMethods}),r.M.state.emergencyModeSettings=t.data.emergencyModeSettings,t.data.user.checklistStatus&amp;&amp;(r.M.state.checklist=u(u({},r.M.state.checklist),{},{finished:t.data.user.checklistStatus.finished})),e.next=9,v.getUserSettings();case 9:v.setUserDataInSupportWidget(r.M.state.user.name,r.M.state.user.email),v.identifyWoopraUser(),e.next=19;break;case 13:if(e.prev=13,e.t0=e.catch(0),404!==e.t0.response.status){e.next=18;break}return e.next=18,v.createUser();case 18:403===e.t0.response.status&amp;&amp;(window.location.href="/logout");case 19:case"end":return e.stop()}}),e,null,[[0,13]])}))),function(){return m.apply(this,arguments)}),getUserSettings:function(){return f(p().mark((function e(){var t;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.A.getUserSettings(r.M.state.user._id);case 3:t=e.sent,r.M.state.userSettings=t.data,r.M.state.currentSubscriptionPlan=t.data.currentSubscriptionPlan,"Free"!==r.M.state.currentSubscriptionPlan&amp;&amp;r.M.state.userSettings.currentSubscription&amp;&amp;"past_due"===r.M.state.userSettings.currentSubscription.status&amp;&amp;(r.M.state.activeModal="CancelSubscriptionModal"),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log("failed to get user settings",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))()},deleteUserImage:function(e){r.M.state.savingProject=!0,e&amp;&amp;o.A.deleteUserImage(r.M.state.user._id,e).then((function(e){})).catch((function(e){})).finally((function(){r.M.state.savingProject=!1}))},updateUserInDrip:function(e){o.A.updateUserInDrip(r.M.state.user._id,e).then((function(e){})).catch((function(e){console.log(e)}))},refreshData:function(e){return f(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v.getUser();case 2:if(!e){t.next=5;break}return t.next=5,v.setUserAsReferred(e,r.M.state.user);case 5:return t.next=7,i.A.getPortfolios();case 7:return t.next=9,i.A.getAllCaseStudyPages();case 9:return t.next=11,i.A.getLatestNotifications();case 11:return t.next=13,i.A.getAllAvalibleFonts();case 13:case"end":return t.stop()}}),t)})))()},setUserDataInSupportWidget:function(e,t){window.fwSettings&amp;&amp;FreshworksWidget("identify","ticketForm",{name:e,email:t})},setUserAsReferred:function(e,t){return f(p().mark((function n(){var o;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,a.A.post("/api/referral/"+e,{user:t._id,email:t.email});case 3:o=n.sent,r.M.state.userSettings.referredData=o.data,n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.log("Failed to set user as referred");case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},identifyWoopraUser:function(){if(window.woopra&amp;&amp;(window.woopra.identify({id:r.M.state.user._id,email:r.M.state.user.email,name:r.M.state.user.name}),window.woopra.track("login",{url:location.href,title:document.title})),window._paq){var e=window._paq;e.push(["setUserId",r.M.state.user._id]),e.push(["trackPageView"]),e.push(["enableLinkTracking"]),e.push(["trackEvent","Log in",r.M.state.user.email,r.M.state.user.name,r.M.state.user._id])}}}},88623:(e,t,n)=&gt;{"use strict";n.d(t,{N:()=&gt;o});var r=n(74256),o={namespaced:!0,state:function(){return{isReviewMode:!1,displayUI:!0,receiver:!1,showReviewLoginModal:!1,reviewLoginModalState:r.rD.GUEST,showOverviewModal:!1,showGeneralOverview:!1,showTour:!1,showSubmitTooltip:!1,emptyReview:!1,filters:{showResolved:!1,activeFilter:r.cj.ALL_CATEGORIES},loginDetails:{email:null,name:null,jobTitle:null},review:{overview:{positiveAspects:null,negativeAspects:null},sectionReactions:[],reviewerDetails:null,submitted:null},reviews:[],reviewType:r.UT.PORTFOLIO}},mutations:{updateReview:function(e,t){t.sectionReactions.length&gt;0||null!==t.overview.positiveAspects||null!==t.overview.negativeAspects||(e.emptyReview=!0),e.review=t}},getters:{}}},61396:(e,t,n)=&gt;{"use strict";n.d(t,{K:()=&gt;f,w:()=&gt;h});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&amp;",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"&lt;",189:"_",190:"&gt;",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},i="undefined"!=typeof navigator&amp;&amp;/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&amp;&amp;/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a&lt;10;a++)r[48+a]=r[96+a]=String(a);for(a=1;a&lt;=24;a++)r[a+111]="F"+a;for(a=65;a&lt;=90;a++)r[a]=String.fromCharCode(a+32),o[a]=String.fromCharCode(a);for(var l in r)o.hasOwnProperty(l)||(o[l]=r[l]);var c=n(42845);const u="undefined"!=typeof navigator&amp;&amp;/Mac|iP(hone|[oa]d)/.test(navigator.platform);function d(e){let t,n,r,o,i=e.split(/-(?!$)/),s=i[i.length-1];"Space"==s&amp;&amp;(s=" ");for(let e=0;e&lt;i.length-1;e++){let s=i[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))r=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);u?o=!0:n=!0}}return t&amp;&amp;(s="Alt-"+s),n&amp;&amp;(s="Ctrl-"+s),o&amp;&amp;(s="Meta-"+s),r&amp;&amp;(s="Shift-"+s),s}function p(e,t,n=!0){return t.altKey&amp;&amp;(e="Alt-"+e),t.ctrlKey&amp;&amp;(e="Ctrl-"+e),t.metaKey&amp;&amp;(e="Meta-"+e),n&amp;&amp;t.shiftKey&amp;&amp;(e="Shift-"+e),e}function h(e){return new c.k_({props:{handleKeyDown:f(e)}})}function f(e){let t=function(e){let t=Object.create(null);for(let n in e)t[d(n)]=e[n];return t}(e);return function(e,n){let a,l=function(e){var t=!(i&amp;&amp;e.metaKey&amp;&amp;e.shiftKey&amp;&amp;!e.ctrlKey&amp;&amp;!e.altKey||s&amp;&amp;e.shiftKey&amp;&amp;e.key&amp;&amp;1==e.key.length||"Unidentified"==e.key)&amp;&amp;e.key||(e.shiftKey?o:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&amp;&amp;(t="Escape"),"Del"==t&amp;&amp;(t="Delete"),"Left"==t&amp;&amp;(t="ArrowLeft"),"Up"==t&amp;&amp;(t="ArrowUp"),"Right"==t&amp;&amp;(t="ArrowRight"),"Down"==t&amp;&amp;(t="ArrowDown"),t}(n),c=t[p(l,n)];if(c&amp;&amp;c(e.state,e.dispatch,e))return!0;if(1==l.length&amp;&amp;" "!=l){if(n.shiftKey){let r=t[p(l,n,!1)];if(r&amp;&amp;r(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||l.charCodeAt(0)&gt;127)&amp;&amp;(a=r[n.keyCode])&amp;&amp;a!=l){let r=t[p(a,n)];if(r&amp;&amp;r(e.state,e.dispatch,e))return!0}}return!1}}},58903:(e,t,n)=&gt;{"use strict";function r(e){this.content=e}n.d(t,{S4:()=&gt;J,ZF:()=&gt;le,FK:()=&gt;a,CU:()=&gt;d,sX:()=&gt;q,bP:()=&gt;L,u$:()=&gt;O,vI:()=&gt;p,Sj:()=&gt;Y,Ji:()=&gt;h}),r.prototype={constructor:r,find:function(e){for(var t=0;t&lt;this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var o=n&amp;&amp;n!=e?this.remove(n):this,i=o.find(e),s=o.content.slice();return-1==i?s.push(n||e,t):(s[i+1]=t,n&amp;&amp;(s[i]=n)),new r(s)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new r(n)},addToStart:function(e,t){return new r([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new r(n)},addBefore:function(e,t,n){var o=this.remove(t),i=o.content.slice(),s=o.find(e);return i.splice(-1==s?i.length:s,0,t,n),new r(i)},forEach:function(e){for(var t=0;t&lt;this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=r.from(e)).size?new r(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=r.from(e)).size?new r(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=r.from(e);for(var n=0;n&lt;e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length&gt;&gt;1}},r.from=function(e){if(e instanceof r)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new r(t)};const o=r;function i(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),s=t.child(r);if(o!=s){if(!o.sameMarkup(s))return n;if(o.isText&amp;&amp;o.text!=s.text){for(let e=0;o.text[e]==s.text[e];e++)n++;return n}if(o.content.size||s.content.size){let e=i(o.content,s.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function s(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};let a=e.child(--o),l=t.child(--i),c=a.nodeSize;if(a!=l){if(!a.sameMarkup(l))return{a:n,b:r};if(a.isText&amp;&amp;a.text!=l.text){let e=0,t=Math.min(a.text.length,l.text.length);for(;e&lt;t&amp;&amp;a.text[a.text.length-e-1]==l.text[l.text.length-e-1];)e++,n--,r--;return{a:n,b:r}}if(a.content.size||l.content.size){let e=s(a.content,l.content,n-1,r-1);if(e)return e}n-=c,r-=c}else n-=c,r-=c}}class a{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t&lt;e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,o){for(let i=0,s=0;s&lt;t;i++){let a=this.content[i],l=s+a.nodeSize;if(l&gt;e&amp;&amp;!1!==n(a,r+s,o||null,i)&amp;&amp;a.content.size){let o=s+1;a.nodesBetween(Math.max(0,e-o),Math.min(a.content.size,t-o),n,r+o)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let o="",i=!0;return this.nodesBetween(e,t,((s,a)=&gt;{let l=s.isText?s.text.slice(Math.max(e,a)-a,t-a):s.isLeaf?r?"function"==typeof r?r(s):r:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&amp;&amp;(s.isLeaf&amp;&amp;l||s.isTextblock)&amp;&amp;n&amp;&amp;(i?i=!1:o+=n),o+=l}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),o=0;for(t.isText&amp;&amp;t.sameMarkup(n)&amp;&amp;(r[r.length-1]=t.withText(t.text+n.text),o=1);o&lt;e.content.length;o++)r.push(e.content[o]);return new a(r,this.size+e.size)}cut(e,t=this.size){if(0==e&amp;&amp;t==this.size)return this;let n=[],r=0;if(t&gt;e)for(let o=0,i=0;i&lt;t;o++){let s=this.content[o],a=i+s.nodeSize;a&gt;e&amp;&amp;((i&lt;e||a&gt;t)&amp;&amp;(s=s.isText?s.cut(Math.max(0,e-i),Math.min(s.text.length,t-i)):s.cut(Math.max(0,e-i-1),Math.min(s.content.size,t-i-1))),n.push(s),r+=s.nodeSize),i=a}return new a(n,r)}cutByIndex(e,t){return e==t?a.empty:0==e&amp;&amp;t==this.content.length?this:new a(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new a(r,o)}addToStart(e){return new a([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new a(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t&lt;this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t&lt;this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return i(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return s(this,e,t,n)}findIndex(e,t=-1){if(0==e)return c(0,e);if(e==this.size)return c(this.content.length,e);if(e&gt;this.size||e&lt;0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=r+this.child(n).nodeSize;if(o&gt;=e)return o==e||t&gt;0?c(n+1,o):c(n,r);r=o}}toString(){return"&lt;"+this.toStringInner()+"&gt;"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=&gt;e.toJSON())):null}static fromJSON(e,t){if(!t)return a.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new a(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return a.empty;let t,n=0;for(let r=0;r&lt;e.length;r++){let o=e[r];n+=o.nodeSize,r&amp;&amp;o.isText&amp;&amp;e[r-1].sameMarkup(o)?(t||(t=e.slice(0,r)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&amp;&amp;t.push(o)}return new a(t||e,n)}static from(e){if(!e)return a.empty;if(e instanceof a)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new a([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}a.empty=new a([],0);const l={index:0,offset:0};function c(e,t){return l.index=e,l.offset=t,l}function u(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n&lt;e.length;n++)if(!u(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!u(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class d{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r&lt;e.length;r++){let o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&amp;&amp;o.type.rank&gt;this.type.rank&amp;&amp;(t||(t=e.slice(0,r)),t.push(this),n=!0),t&amp;&amp;t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t&lt;e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t&lt;e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&amp;&amp;u(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let r=n.create(t.attrs);return n.checkAttrs(r.attrs),r}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n&lt;e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&amp;&amp;0==e.length)return d.none;if(e instanceof d)return[e];let t=e.slice();return t.sort(((e,t)=&gt;e.type.rank-t.type.rank)),t}}d.none=[];class p extends Error{}class h{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=m(this.content,e+this.openStart,t);return n&amp;&amp;new h(n,this.openStart,this.openEnd)}removeBetween(e,t){return new h(f(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&amp;&amp;this.openStart==e.openStart&amp;&amp;this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart&gt;0&amp;&amp;(e.openStart=this.openStart),this.openEnd&gt;0&amp;&amp;(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return h.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new h(a.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let r=e.firstChild;r&amp;&amp;!r.isLeaf&amp;&amp;(t||!r.type.spec.isolating);r=r.firstChild)n++;for(let n=e.lastChild;n&amp;&amp;!n.isLeaf&amp;&amp;(t||!n.type.spec.isolating);n=n.lastChild)r++;return new h(e,n,r)}}function f(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:s,offset:a}=e.findIndex(n);if(o==t||i.isText){if(a!=n&amp;&amp;!e.child(s).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(f(i.content,t-o-1,n-o-1)))}function m(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),s=e.maybeChild(o);if(i==t||s.isText)return r&amp;&amp;!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let a=m(s.content,t-i-1,n);return a&amp;&amp;e.replaceChild(o,s.copy(a))}function g(e,t,n){if(n.openStart&gt;e.depth)throw new p("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new p("Inconsistent open depths");return v(e,t,n,0)}function v(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&amp;&amp;r&lt;e.depth-n.openStart){let s=v(e,t,n,r+1);return i.copy(i.content.replaceChild(o,s))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:o,end:s}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e&gt;=0;e--)r=t.node(e).copy(a.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return _(i,k(e,o,s,t,r))}{let r=e.parent,o=r.content;return _(r,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return _(i,A(e,t,r))}function y(e,t){if(!t.type.compatibleContent(e.type))throw new p("Cannot join "+t.type.name+" onto "+e.type.name)}function b(e,t,n){let r=e.node(n);return y(r,t.node(n)),r}function w(e,t){let n=t.length-1;n&gt;=0&amp;&amp;e.isText&amp;&amp;e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function S(e,t,n,r){let o=(t||e).node(n),i=0,s=t?t.index(n):o.childCount;e&amp;&amp;(i=e.index(n),e.depth&gt;n?i++:e.textOffset&amp;&amp;(w(e.nodeAfter,r),i++));for(let e=i;e&lt;s;e++)w(o.child(e),r);t&amp;&amp;t.depth==n&amp;&amp;t.textOffset&amp;&amp;w(t.nodeBefore,r)}function _(e,t){return e.type.checkContent(t),e.copy(t)}function k(e,t,n,r,o){let i=e.depth&gt;o&amp;&amp;b(e,t,o+1),s=r.depth&gt;o&amp;&amp;b(n,r,o+1),l=[];return S(null,e,o,l),i&amp;&amp;s&amp;&amp;t.index(o)==n.index(o)?(y(i,s),w(_(i,k(e,t,n,r,o+1)),l)):(i&amp;&amp;w(_(i,A(e,t,o+1)),l),S(t,n,o,l),s&amp;&amp;w(_(s,A(n,r,o+1)),l)),S(r,null,o,l),new a(l)}function A(e,t,n){let r=[];if(S(null,e,n,r),e.depth&gt;n){w(_(b(e,t,n+1),A(e,t,n+1)),r)}return S(t,null,n,r),new a(r)}h.empty=new h(a.empty,0,0);class T{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e&lt;0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let t=0;t&lt;e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return d.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let o=n.marks;for(var i=0;i&lt;o.length;i++)!1!==o[i].type.spec.inclusive||r&amp;&amp;o[i].isInSet(r.marks)||(o=o[i--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var o=0;o&lt;n.length;o++)!1!==n[o].type.spec.inclusive||r&amp;&amp;n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t&gt;0;t--)if(this.start(t)&lt;=e&amp;&amp;this.end(t)&gt;=e)return t;return 0}blockRange(e=this,t){if(e.pos&lt;this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n&gt;=0;n--)if(e.pos&lt;=this.end(n)&amp;&amp;(!t||t(this.node(n))))return new O(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos&gt;this.pos?e:this}min(e){return e.pos&lt;this.pos?e:this}toString(){let e="";for(let t=1;t&lt;=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t&gt;=0&amp;&amp;t&lt;=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,o=t;for(let t=e;;){let{index:e,offset:i}=t.content.findIndex(o),s=o-i;if(n.push(t,e,r+i),!s)break;if(t=t.child(e),t.isText)break;o=s-1,r+=i+1}return new T(t,n,o)}static resolveCached(e,t){let n=C.get(e);if(n)for(let e=0;e&lt;n.elts.length;e++){let r=n.elts[e];if(r.pos==t)return r}else C.set(e,n=new E);let r=n.elts[n.i]=T.resolve(e,t);return n.i=(n.i+1)%x,r}}class E{constructor(){this.elts=[],this.i=0}}const x=12,C=new WeakMap;class O{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const I=Object.create(null);class L{constructor(e,t,n,r=d.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||a.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&amp;&amp;this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&amp;&amp;this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&amp;&amp;u(this.attrs,t||e.defaultAttrs||I)&amp;&amp;d.sameSet(this.marks,n||d.none)}copy(e=null){return e==this.content?this:new L(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new L(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&amp;&amp;t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return h.empty;let r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),s=r.start(i),a=r.node(i).content.cut(r.pos-s,o.pos-s);return new h(a,r.depth-i,o.depth-i)}replace(e,t,n){return g(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n&lt;e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return T.resolveCached(this,e)}resolveNoCache(e){return T.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t&gt;e&amp;&amp;this.nodesBetween(e,t,(e=&gt;(n.isInSet(e.marks)&amp;&amp;(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&amp;&amp;(e+="("+this.content.toStringInner()+")"),N(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=a.empty,r=0,o=n.childCount){let i=this.contentMatchAt(e).matchFragment(n,r,o),s=i&amp;&amp;i.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=r;e&lt;o;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&amp;&amp;!this.type.allowsMarks(r))return!1;let o=this.contentMatchAt(e).matchType(n),i=o&amp;&amp;o.matchFragment(this.content,t);return!!i&amp;&amp;i.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=d.none;for(let t=0;t&lt;this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!d.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=&gt;e.type.name))}`);this.content.forEach((e=&gt;e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&amp;&amp;(e.content=this.content.toJSON()),this.marks.length&amp;&amp;(e.marks=this.marks.map((e=&gt;e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=a.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,r,n);return o.type.checkAttrs(o.attrs),o}}L.prototype.text=void 0;class P extends L{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):N(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new P(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new P(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&amp;&amp;t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&amp;&amp;this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function N(e,t){for(let n=e.length-1;n&gt;=0;n--)t=e[n].type.name+"("+t+")";return t}class D{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new R(e,t);if(null==n.next)return D.empty;let r=M(n);n.next&amp;&amp;n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return n($(e,0));function n(r){let o=[];r.forEach((t=&gt;{e[t].forEach((({term:t,to:n})=&gt;{if(!t)return;let r;for(let e=0;e&lt;o.length;e++)o[e][0]==t&amp;&amp;(r=o[e][1]);$(e,n).forEach((e=&gt;{r||o.push([t,r=[]]),-1==r.indexOf(e)&amp;&amp;r.push(e)}))}))}));let i=t[r.join(",")]=new D(r.indexOf(e.length-1)&gt;-1);for(let e=0;e&lt;o.length;e++){let r=o[e][1].sort(B);i.next.push({type:o[e][0],next:t[r.join(",")]||n(r)})}return i}}(function(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((e=&gt;e.to=t))}function i(e,t){if("choice"==e.type)return e.exprs.reduce(((e,n)=&gt;e.concat(i(n,t))),[]);if("seq"!=e.type){if("star"==e.type){let s=n();return r(t,s),o(i(e.expr,s),s),[r(s)]}if("plus"==e.type){let s=n();return o(i(e.expr,t),s),o(i(e.expr,s),s),[r(s)]}if("opt"==e.type)return[r(t)].concat(i(e.expr,t));if("range"==e.type){let s=t;for(let t=0;t&lt;e.min;t++){let t=n();o(i(e.expr,s),t),s=t}if(-1==e.max)o(i(e.expr,s),s);else for(let t=e.min;t&lt;e.max;t++){let t=n();r(s,t),o(i(e.expr,s),t),s=t}return[r(s)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let s=i(e.exprs[r],t);if(r==e.exprs.length-1)return s;o(s,t=n())}}}(r));return function(e,t){for(let n=0,r=[e];n&lt;r.length;n++){let e=r[n],o=!e.validEnd,i=[];for(let t=0;t&lt;e.next.length;t++){let{type:n,next:s}=e.next[t];i.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==r.indexOf(s)&amp;&amp;r.push(s)}o&amp;&amp;t.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}matchType(e){for(let t=0;t&lt;this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let o=t;r&amp;&amp;o&lt;n;o++)r=r.matchType(e.child(o).type);return r}get inlineContent(){return 0!=this.next.length&amp;&amp;this.next[0].type.isInline}get defaultType(){for(let e=0;e&lt;this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&amp;&amp;!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t&lt;this.next.length;t++)for(let n=0;n&lt;e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function o(i,s){let l=i.matchFragment(e,n);if(l&amp;&amp;(!t||l.validEnd))return a.from(s.map((e=&gt;e.createAndFill())));for(let e=0;e&lt;i.next.length;e++){let{type:t,next:n}=i.next[e];if(!t.isText&amp;&amp;!t.hasRequiredAttrs()&amp;&amp;-1==r.indexOf(n)){r.push(n);let e=o(n,s.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t&lt;this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),o=r.match;if(o.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e&lt;o.next.length;e++){let{type:i,next:s}=o.next[e];i.isLeaf||i.hasRequiredAttrs()||i.name in t||r.type&amp;&amp;!s.validEnd||(n.push({match:i.contentMatch,type:i,via:r}),t[i.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e&gt;=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r&lt;n.next.length;r++)-1==e.indexOf(n.next[r].next)&amp;&amp;t(n.next[r].next)}(this),e.map(((t,n)=&gt;{let r=n+(t.validEnd?"*":" ")+" ";for(let n=0;n&lt;t.next.length;n++)r+=(n?", ":"")+t.next[n].type.name+"-&gt;"+e.indexOf(t.next[n].next);return r})).join("\n")}}D.empty=new D(!0);class R{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&amp;&amp;this.tokens.pop(),""==this.tokens[0]&amp;&amp;this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&amp;&amp;(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function M(e){let t=[];do{t.push(F(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function F(e){let t=[];do{t.push(H(e))}while(e.next&amp;&amp;")"!=e.next&amp;&amp;"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function H(e){let t=function(e){if(e.eat("(")){let t=M(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let e in n){let r=n[e];r.isInGroup(t)&amp;&amp;o.push(r)}0==o.length&amp;&amp;e.err("No node type or group '"+t+"' found");return o}(e,e.next).map((t=&gt;(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&amp;&amp;e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=G(e,t)}return t}function j(e){/\D/.test(e.next)&amp;&amp;e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function G(e,t){let n=j(e),r=n;return e.eat(",")&amp;&amp;(r="}"!=e.next?j(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function B(e,t){return t-e}function $(e,t){let n=[];return function t(r){let o=e[r];if(1==o.length&amp;&amp;!o[0].term)return t(o[0].to);n.push(r);for(let e=0;e&lt;o.length;e++){let{term:r,to:i}=o[e];r||-1!=n.indexOf(i)||t(i)}}(t),n.sort(B)}function W(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function U(e,t){let n=Object.create(null);for(let r in e){let o=t&amp;&amp;t[r];if(void 0===o){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=t.default}n[r]=o}return n}function z(e,t,n,r){for(let r in t)if(!(r in e))throw new RangeError(`Unsupported attribute ${r} for ${n} of type ${r}`);for(let n in e){let r=e[n];r.validate&amp;&amp;r.validate(t[n])}}function V(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new K(e,r,t[r]);return n}class X{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=V(e,n.attrs),this.defaultAttrs=W(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&amp;&amp;this.inlineContent}get isLeaf(){return this.contentMatch==D.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)&gt;-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&amp;&amp;this.defaultAttrs?this.defaultAttrs:U(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new L(this,this.computeAttrs(e),a.from(t),d.setFrom(n))}createChecked(e=null,t,n){return t=a.from(t),this.checkContent(t),new L(this,this.computeAttrs(e),t,d.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=a.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),o=r&amp;&amp;r.fillBefore(a.empty,!0);return o?new L(this,e,t.append(o),d.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t&lt;e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){z(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)&gt;-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t&lt;e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n&lt;e.length;n++)this.allowsMarkType(e[n].type)?t&amp;&amp;t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:d.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,r)=&gt;n[e]=new X(e,t,r)));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class K{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let r=n.split("|");return n=&gt;{let o=null===n?"null":typeof n;if(r.indexOf(o)&lt;0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class q{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=V(e,r.attrs),this.excluded=null;let o=W(this.attrs);this.instance=o?new d(this,o):null}create(e=null){return!e&amp;&amp;this.instance?this.instance:new d(this,U(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach(((e,o)=&gt;n[e]=new q(e,r++,t,o))),n}removeFromSet(e){for(var t=0;t&lt;e.length;t++)e[t].type==this&amp;&amp;(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t&lt;e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){z(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)&gt;-1}}class Y{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=o.from(e.nodes),t.marks=o.from(e.marks||{}),this.nodes=X.compile(this.spec.nodes,this),this.marks=q.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw new RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],r=t.spec.content||"",o=t.spec.marks;if(t.contentMatch=n[r]||(n[r]=D.parse(r,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!t.isInline||!t.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=t}t.markSet="_"==o?null:o?Q(this,o.split(" ")):""!=o&amp;&amp;t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:Q(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof X))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new P(n,n.defaultAttrs,e,d.setFrom(t))}mark(e,t){return"string"==typeof e&amp;&amp;(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return L.fromJSON(this,e)}markFromJSON(e){return d.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Q(e,t){let n=[];for(let r=0;r&lt;t.length;r++){let o=t[r],i=e.marks[o],s=i;if(i)n.push(i);else for(let t in e.marks){let r=e.marks[t];("_"==o||r.spec.group&amp;&amp;r.spec.group.split(" ").indexOf(o)&gt;-1)&amp;&amp;n.push(s=r)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class J{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach((e=&gt;{if(function(e){return null!=e.tag}(e))this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)&lt;0&amp;&amp;n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=&gt;{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new oe(this,t,!1);return n.addAll(e,d.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new oe(this,t,!0);return n.addAll(e,d.none,t.from,t.to),h.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r&lt;this.tags.length;r++){let n=this.tags[r];if(ie(e,n.tag)&amp;&amp;(void 0===n.namespace||e.namespaceURI==n.namespace)&amp;&amp;(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let o=r?this.styles.indexOf(r)+1:0;o&lt;this.styles.length;o++){let r=this.styles[o],i=r.style;if(!(0!=i.indexOf(e)||r.context&amp;&amp;!n.matchesContext(r.context)||i.length&gt;e.length&amp;&amp;(61!=i.charCodeAt(e.length)||i.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r&lt;t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)&lt;n)break}t.splice(r,0,e)}for(let t in e.marks){let r=e.marks[t].spec.parseDOM;r&amp;&amp;r.forEach((e=&gt;{n(e=se(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&amp;&amp;r.forEach((e=&gt;{n(e=se(e)),e.node||e.ignore||e.mark||(e.node=t)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new J(e,J.schemaRules(e)))}}const Z={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ee={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},te={ol:!0,ul:!0};function ne(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&amp;&amp;"pre"==e.whitespace?3:-5&amp;n}class re{constructor(e,t,n,r,o,i){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=i,this.content=[],this.activeMarks=d.none,this.match=o||(4&amp;i?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(a.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&amp;this.options)){let e,t=this.content[this.content.length-1];if(t&amp;&amp;t.isText&amp;&amp;(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=a.from(this.content);return!e&amp;&amp;this.match&amp;&amp;(t=t.append(this.match.fillBefore(a.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&amp;&amp;!Z.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class oe{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let r,o=t.topNode,i=ne(null,t.preserveWhitespace,0)|(n?4:0);r=o?new re(o.type,o.attrs,d.none,!0,t.topMatch||o.type.contentMatch,i):new re(n?null:e.schema.topNodeType,null,d.none,!0,null,i),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&amp;&amp;this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top;if(2&amp;r.options||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(1&amp;r.options)n=2&amp;r.options?n.replace(/\r\n?/g,"\n"):n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&amp;&amp;this.open==this.nodes.length-1){let t=r.content[r.content.length-1],o=e.previousSibling;(!t||o&amp;&amp;"BR"==o.nodeName||t.isText&amp;&amp;/[ \t\r\n\u000c]$/.test(t.text))&amp;&amp;(n=n.slice(1))}n&amp;&amp;this.insertNode(this.parser.schema.text(n),t),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r,o=e.nodeName.toLowerCase();te.hasOwnProperty(o)&amp;&amp;this.parser.normalizeLists&amp;&amp;function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&amp;&amp;te.hasOwnProperty(e)&amp;&amp;n?(n.appendChild(t),t=n):"li"==e?n=t:e&amp;&amp;(n=null)}}(e);let i=this.options.ruleFromNode&amp;&amp;this.options.ruleFromNode(e)||(r=this.parser.matchTag(e,this,n));if(i?i.ignore:ee.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,t);else if(!i||i.skip||i.closeParent){i&amp;&amp;i.closeParent?this.open=Math.max(0,this.open-1):i&amp;&amp;i.skip.nodeType&amp;&amp;(e=i.skip);let n,r=this.top,s=this.needsBlock;if(Z.hasOwnProperty(o))r.content.length&amp;&amp;r.content[0].isInline&amp;&amp;this.open&amp;&amp;(this.open--,r=this.top),n=!0,r.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e,t);let a=i&amp;&amp;i.skip?t:this.readStyles(e,t);a&amp;&amp;this.addAll(e,a),n&amp;&amp;this.sync(r),this.needsBlock=s}else{let n=this.readStyles(e,t);n&amp;&amp;this.addElementByRule(e,i,n,!1===i.consuming?r:void 0)}}leafFallback(e,t){"BR"==e.nodeName&amp;&amp;this.top.type&amp;&amp;this.top.type.inlineContent&amp;&amp;this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&amp;&amp;this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t)}readStyles(e,t){let n=e.style;if(n&amp;&amp;n.length)for(let e=0;e&lt;this.parser.matchedStyles.length;e++){let r=this.parser.matchedStyles[e],o=n.getPropertyValue(r);if(o)for(let e;;){let n=this.parser.matchStyle(r,o,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter((e=&gt;!n.clearMark(e))):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1!==n.consuming)break;e=n}}return t}addElementByRule(e,t,n,r){let o,i;if(t.node)if(i=this.parser.schema.nodes[t.node],i.isLeaf)this.insertNode(i.create(t.attrs),n)||this.leafFallback(e,n);else{let e=this.enter(i,t.attrs||null,n,t.preserveWhitespace);e&amp;&amp;(o=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let s=this.top;if(i&amp;&amp;i.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=&gt;this.insertNode(e,n)));else{let r=e;"string"==typeof t.contentElement?r=e.querySelector(t.contentElement):"function"==typeof t.contentElement?r=t.contentElement(e):t.contentElement&amp;&amp;(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}o&amp;&amp;this.sync(s)&amp;&amp;this.open--}addAll(e,t,n,r){let o=n||0;for(let i=n?e.childNodes[n]:e.firstChild,s=null==r?null:e.childNodes[r];i!=s;i=i.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(i,t);this.findAtPoint(e,o)}findPlace(e,t){let n,r;for(let t=this.open;t&gt;=0;t--){let o=this.nodes[t],i=o.findWrapping(e);if(i&amp;&amp;(!n||n.length&gt;i.length)&amp;&amp;(n=i,r=o,!i.length))break;if(o.solid)break}if(!n)return null;this.sync(r);for(let e=0;e&lt;n.length;e++)t=this.enterInner(n[e],null,t,!1);return t}insertNode(e,t){if(e.isInline&amp;&amp;this.needsBlock&amp;&amp;!this.top.type){let e=this.textblockFromContext();e&amp;&amp;(t=this.enterInner(e,null,t))}let n=this.findPlace(e,t);if(n){this.closeExtra();let t=this.top;t.match&amp;&amp;(t.match=t.match.matchType(e.type));let r=d.none;for(let o of n.concat(e.marks))(t.type?t.type.allowsMarkType(o.type):ae(o.type,e.type))&amp;&amp;(r=o.addToSet(r));return t.content.push(e.mark(r)),!0}return!1}enter(e,t,n,r){let o=this.findPlace(e.create(t),n);return o&amp;&amp;(o=this.enterInner(e,t,n,!0,r)),o}enterInner(e,t,n,r=!1,o){this.closeExtra();let i=this.top;i.match=i.match&amp;&amp;i.match.matchType(e);let s=ne(e,o,i.options);4&amp;i.options&amp;&amp;0==i.content.length&amp;&amp;(s|=4);let a=d.none;return n=n.filter((t=&gt;!(i.type?i.type.allowsMarkType(t.type):ae(t.type,e))||(a=t.addToSet(a),!1))),this.nodes.push(new re(e,t,a,r,null,s)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t&gt;this.open){for(;t&gt;this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t&gt;=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t&gt;=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t&gt;=0;t--)e+=n[t].nodeSize;t&amp;&amp;e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n&lt;this.find.length;n++)this.find[n].node==e&amp;&amp;this.find[n].offset==t&amp;&amp;(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t&lt;this.find.length;t++)null==this.find[t].pos&amp;&amp;1==e.nodeType&amp;&amp;e.contains(this.find[t].node)&amp;&amp;(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&amp;&amp;this.find)for(let r=0;r&lt;this.find.length;r++)if(null==this.find[r].pos&amp;&amp;1==e.nodeType&amp;&amp;e.contains(this.find[r].node)){t.compareDocumentPosition(this.find[r].node)&amp;(n?2:4)&amp;&amp;(this.find[r].pos=this.currentPos)}}findInText(e){if(this.find)for(let t=0;t&lt;this.find.length;t++)this.find[t].node==e&amp;&amp;(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")&gt;-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!(this.isOpen||n&amp;&amp;n.parent.type!=this.nodes[0].type),o=-(n?n.depth+1:0)+(r?0:1),i=(e,s)=&gt;{for(;e&gt;=0;e--){let a=t[e];if(""==a){if(e==t.length-1||0==e)continue;for(;s&gt;=o;s--)if(i(e-1,s))return!0;return!1}{let e=s&gt;0||0==s&amp;&amp;r?this.nodes[s].type:n&amp;&amp;s&gt;=o?n.node(s-o).type:null;if(!e||e.name!=a&amp;&amp;!e.isInGroup(a))return!1;s--}}return!0};return i(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t&gt;=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&amp;&amp;n.isTextblock&amp;&amp;n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&amp;&amp;t.defaultAttrs)return t}}}function ie(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function se(e){let t={};for(let n in e)t[n]=e[n];return t}function ae(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],s=e=&gt;{i.push(e);for(let n=0;n&lt;e.edgeCount;n++){let{type:r,next:o}=e.edge(n);if(r==t)return!0;if(i.indexOf(o)&lt;0&amp;&amp;s(o))return!0}};if(s(o.contentMatch))return!0}}class le{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=ue(t).createDocumentFragment());let r=n,o=[];return e.forEach((e=&gt;{if(o.length||e.marks.length){let n=0,i=0;for(;n&lt;o.length&amp;&amp;i&lt;e.marks.length;){let t=e.marks[i];if(this.marks[t.type.name]){if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,i++}else i++}for(;n&lt;o.length;)r=o.pop()[1];for(;i&lt;e.marks.length;){let n=e.marks[i++],s=this.serializeMark(n,e.isInline,t);s&amp;&amp;(o.push([n,r]),r.appendChild(s.dom),r=s.contentDOM||s.dom)}}r.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:r}=he(ue(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r&gt;=0;r--){let o=this.serializeMark(e.marks[r],e.isInline,t);o&amp;&amp;((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&amp;&amp;he(ue(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return he(e,t,n,r)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new le(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=ce(e.nodes);return t.text||(t.text=e=&gt;e.text),t}static marksFromSchema(e){return ce(e.marks)}}function ce(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&amp;&amp;(t[n]=r)}return t}function ue(e){return e.document||window.document}const de=new WeakMap;function pe(e){let t=de.get(e);return void 0===t&amp;&amp;de.set(e,t=function(e){let t=null;function n(e){if(e&amp;&amp;"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t&lt;e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function he(e,t,n,r){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&amp;&amp;null!=t.dom.nodeType)return t;let o,i=t[0];if("string"!=typeof i)throw new RangeError("Invalid array passed to renderSpec");if(r&amp;&amp;(o=pe(r))&amp;&amp;o.indexOf(t)&gt;-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s,a=i.indexOf(" ");a&gt;0&amp;&amp;(n=i.slice(0,a),i=i.slice(a+1));let l=n?e.createElementNS(n,i):e.createElement(i),c=t[1],u=1;if(c&amp;&amp;"object"==typeof c&amp;&amp;null==c.nodeType&amp;&amp;!Array.isArray(c)){u=2;for(let e in c)if(null!=c[e]){let t=e.indexOf(" ");t&gt;0?l.setAttributeNS(e.slice(0,t),e.slice(t+1),c[e]):l.setAttribute(e,c[e])}}for(let o=u;o&lt;t.length;o++){let i=t[o];if(0===i){if(o&lt;t.length-1||o&gt;u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}{let{dom:t,contentDOM:o}=he(e,i,n,r);if(l.appendChild(t),o){if(s)throw new RangeError("Multiple content holes");s=o}}}return{dom:l,contentDOM:s}}},42845:(e,t,n)=&gt;{"use strict";n.d(t,{$t:()=&gt;k,LN:()=&gt;s,U3:()=&gt;u,hs:()=&gt;C,i5:()=&gt;f,k_:()=&gt;T,nh:()=&gt;p});var r=n(58903),o=n(38262);const i=Object.create(null);class s{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new a(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t&lt;e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=r.Ji.empty){let n=t.content.lastChild,o=null;for(let e=0;e&lt;t.openEnd;e++)o=n,n=n.lastChild;let i=e.steps.length,s=this.ranges;for(let a=0;a&lt;s.length;a++){let{$from:l,$to:c}=s[a],u=e.mapping.slice(i);e.replaceRange(u.map(l.pos),u.map(c.pos),a?r.Ji.empty:t),0==a&amp;&amp;v(e,i,(n?n.isInline:o&amp;&amp;o.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let o=0;o&lt;r.length;o++){let{$from:i,$to:s}=r[o],a=e.mapping.slice(n),l=a.map(i.pos),c=a.map(s.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),v(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new u(e):g(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r&gt;=0;r--){let o=t&lt;0?g(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):g(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(o)return o}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new f(e.node(0))}static atStart(e){return g(e,e,0,0,1)||new f(e)}static atEnd(e){return g(e,e,e.content.size,e.childCount,-1)||new f(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=i[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in i)throw new RangeError("Duplicate use of selection JSON ID "+e);return i[e]=t,t.prototype.jsonID=e,t}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}s.prototype.visible=!0;class a{constructor(e,t){this.$from=e,this.$to=t}}let l=!1;function c(e){l||e.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class u extends s{constructor(e,t=e){c(e),c(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return s.near(n);let r=e.resolve(t.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(e,t=r.Ji.empty){if(super.replace(e,t),t==r.Ji.empty){let t=this.$from.marksAcross(this.$to);t&amp;&amp;e.ensureMarks(t)}}eq(e){return e instanceof u&amp;&amp;e.anchor==this.anchor&amp;&amp;e.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&amp;&amp;!r||(n=r&gt;=0?1:-1),!t.parent.inlineContent){let e=s.findFrom(t,n,!0)||s.findFrom(t,-n,!0);if(!e)return s.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(s.findFrom(e,-n,!0)||s.findFrom(e,n,!0)).$anchor).pos&lt;t.pos!=r&lt;0)&amp;&amp;(e=t),new u(e,t)}}s.jsonID("text",u);class d{constructor(e,t){this.anchor=e,this.head=t}map(e){return new d(e.map(this.anchor),e.map(this.head))}resolve(e){return u.between(e.resolve(this.anchor),e.resolve(this.head))}}class p extends s{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),o=e.resolve(r);return n?s.near(o):new p(o)}content(){return new r.Ji(r.FK.from(this.node),0,0)}eq(e){return e instanceof p&amp;&amp;e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new h(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new p(e.resolve(t.anchor))}static create(e,t){return new p(e.resolve(t))}static isSelectable(e){return!e.isText&amp;&amp;!1!==e.type.spec.selectable}}p.prototype.visible=!1,s.jsonID("node",p);class h{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new d(n,n):new h(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&amp;&amp;p.isSelectable(n)?new p(t):s.near(t)}}class f extends s{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=r.Ji.empty){if(t==r.Ji.empty){e.delete(0,e.doc.content.size);let t=s.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new f(e)}map(e){return new f(e)}eq(e){return e instanceof f}getBookmark(){return m}}s.jsonID("all",f);const m={map(){return this},resolve:e=&gt;new f(e)};function g(e,t,n,r,o,i=!1){if(t.inlineContent)return u.create(e,n);for(let s=r-(o&gt;0?0:1);o&gt;0?s&lt;t.childCount:s&gt;=0;s+=o){let r=t.child(s);if(r.isAtom){if(!i&amp;&amp;p.isSelectable(r))return p.create(e,n-(o&lt;0?r.nodeSize:0))}else{let t=g(e,r,n+o,o&lt;0?r.childCount:0,o,i);if(t)return t}n+=r.nodeSize*o}return null}function v(e,t,n){let r=e.steps.length-1;if(r&lt;t)return;let i,a=e.steps[r];(a instanceof o.Ln||a instanceof o.Wg)&amp;&amp;(e.mapping.maps[r].forEach(((e,t,n,r)=&gt;{null==i&amp;&amp;(i=r)})),e.setSelection(s.near(e.doc.resolve(i),n)))}class y extends o.dL{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor&lt;this.steps.length&amp;&amp;(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&amp;this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&amp;this.updated)&gt;0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return r.CU.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&amp;this.updated)&gt;0}addStep(e,t){super.addStep(e,t),this.updated=-3&amp;this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&amp;&amp;(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r.CU.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&amp;&amp;(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,o)),this.selection.empty||this.setSelection(s.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&amp;this.updated)&gt;0}}function b(e,t){return t&amp;&amp;e?e.bind(t):e}class w{constructor(e,t,n){this.name=e,this.init=b(t.init,n),this.apply=b(t.apply,n)}}const S=[new w("doc",{init:e=&gt;e.doc||e.schema.topNodeType.createAndFill(),apply:e=&gt;e.doc}),new w("selection",{init:(e,t)=&gt;e.selection||s.atStart(t.doc),apply:e=&gt;e.selection}),new w("storedMarks",{init:e=&gt;e.storedMarks||null,apply:(e,t,n,r)=&gt;r.selection.$cursor?e.storedMarks:null}),new w("scrollToSelection",{init:()=&gt;0,apply:(e,t)=&gt;e.scrolledIntoView?t+1:t})];class _{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=S.slice(),t&amp;&amp;t.forEach((e=&gt;{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&amp;&amp;this.fields.push(new w(e.key,e.spec.state,e))}))}}class k{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n&lt;this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&amp;&amp;!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let o=!1;for(let i=0;i&lt;this.config.plugins.length;i++){let s=this.config.plugins[i];if(s.spec.appendTransaction){let a=r?r[i].n:0,l=r?r[i].state:this,c=a&lt;t.length&amp;&amp;s.spec.appendTransaction.call(s,a?t.slice(a):t,l,n);if(c&amp;&amp;n.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e&lt;this.config.plugins.length;e++)r.push(e&lt;i?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}r&amp;&amp;(r[i]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new k(this.config),n=this.config.fields;for(let r=0;r&lt;n.length;r++){let o=n[r];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new y(this)}static create(e){let t=new _(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new k(t);for(let r=0;r&lt;t.fields.length;r++)n[t.fields[r].name]=t.fields[r].init(e,n);return n}reconfigure(e){let t=new _(this.schema,e.plugins),n=t.fields,r=new k(t);for(let t=0;t&lt;n.length;t++){let o=n[t].name;r[o]=this.hasOwnProperty(o)?this[o]:n[t].init(e,r)}return r}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&amp;&amp;(t.storedMarks=this.storedMarks.map((e=&gt;e.toJSON()))),e&amp;&amp;"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],o=r.spec.state;o&amp;&amp;o.toJSON&amp;&amp;(t[n]=o.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let o=new _(e.schema,e.plugins),i=new k(o);return o.fields.forEach((o=&gt;{if("doc"==o.name)i.doc=r.bP.fromJSON(e.schema,t.doc);else if("selection"==o.name)i.selection=s.fromJSON(i.doc,t.selection);else if("storedMarks"==o.name)t.storedMarks&amp;&amp;(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let s=n[r],a=s.spec.state;if(s.key==o.name&amp;&amp;a&amp;&amp;a.fromJSON&amp;&amp;Object.prototype.hasOwnProperty.call(t,r))return void(i[o.name]=a.fromJSON.call(s,e,t[r],i))}i[o.name]=o.init(e,i)}})),i}}function A(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):"handleDOMEvents"==r&amp;&amp;(o=A(o,t,{})),n[r]=o}return n}class T{constructor(e){this.spec=e,this.props={},e.props&amp;&amp;A(e.props,this,this.props),this.key=e.key?e.key.key:x("plugin")}getState(e){return e[this.key]}}const E=Object.create(null);function x(e){return e in E?e+"$"+ ++E[e]:(E[e]=0,e+"$")}class C{constructor(e="key"){this.key=x(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},38262:(e,t,n)=&gt;{"use strict";n.d(t,{$L:()=&gt;P,Ln:()=&gt;v,N0:()=&gt;I,Um:()=&gt;L,Wg:()=&gt;y,X9:()=&gt;l,dL:()=&gt;z,jP:()=&gt;_,n9:()=&gt;C,oM:()=&gt;k,zy:()=&gt;x});var r=n(58903);const o=Math.pow(2,16);function i(e){return 65535&amp;e}class s{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&amp;this.delInfo)&gt;0}get deletedBefore(){return(5&amp;this.delInfo)&gt;0}get deletedAfter(){return(6&amp;this.delInfo)&gt;0}get deletedAcross(){return(4&amp;this.delInfo)&gt;0}}class a{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&amp;&amp;a.empty)return a.empty}recover(e){let t=0,n=i(e);if(!this.inverted)for(let e=0;e&lt;n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+function(e){return(e-(65535&amp;e))/o}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l&lt;this.ranges.length;l+=3){let c=this.ranges[l]-(this.inverted?r:0);if(c&gt;e)break;let u=this.ranges[l+i],d=this.ranges[l+a],p=c+u;if(e&lt;=p){let i=c+r+((u?e==c?-1:e==p?1:t:t)&lt;0?0:d);if(n)return i;let a=e==(t&lt;0?c:p)?null:l/3+(e-c)*o,h=e==c?2:e==p?1:4;return(t&lt;0?e!=c:e!=p)&amp;&amp;(h|=8),new s(i,h,a)}r+=d-u}return n?e+r:new s(e+r,0,null)}touches(e,t){let n=0,r=i(t),o=this.inverted?2:1,s=this.inverted?1:2;for(let t=0;t&lt;this.ranges.length;t+=3){let i=this.ranges[t]-(this.inverted?n:0);if(i&gt;e)break;let a=this.ranges[t+o];if(e&lt;=i+a&amp;&amp;t==3*r)return!0;n+=this.ranges[t+s]-a}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,o=0;r&lt;this.ranges.length;r+=3){let i=this.ranges[r],s=i-(this.inverted?o:0),a=i+(this.inverted?0:o),l=this.ranges[r+t],c=this.ranges[r+n];e(s,s+l,a,a+c),o+=c-l}}invert(){return new a(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?a.empty:new a(e&lt;0?[0,-e,0]:[0,0,e])}}a.empty=new a([]);class l{constructor(e=[],t,n=0,r=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=r}slice(e=0,t=this.maps.length){return new l(this.maps,this.mirror,e,t)}copy(){return new l(this.maps.slice(),this.mirror&amp;&amp;this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),null!=t&amp;&amp;this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,n=this.maps.length;t&lt;e.maps.length;t++){let r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&amp;&amp;r&lt;t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t&lt;this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this.maps.length+e.maps.length;t&gt;=0;t--){let r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&amp;&amp;r&gt;t?n-r-1:void 0)}}invert(){let e=new l;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n&lt;this.to;n++)e=this.maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let n=this.from;n&lt;this.to;n++){let o=this.maps[n].mapResult(e,t);if(null!=o.recover){let t=this.getMirror(n);if(null!=t&amp;&amp;t&gt;n&amp;&amp;t&lt;this.to){n=t,e=this.maps[t].recover(o.recover);continue}}r|=o.delInfo,e=o.pos}return n?e:new s(e,r,null)}}const c=Object.create(null);class u{getMap(){return a.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=c[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in c)throw new RangeError("Duplicate use of step JSON ID "+e);return c[e]=t,t.prototype.jsonID=e,t}}class d{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new d(e,null)}static fail(e){return new d(null,e)}static fromReplace(e,t,n,o){try{return d.ok(e.replace(t,n,o))}catch(e){if(e instanceof r.vI)return d.fail(e.message);throw e}}}function p(e,t,n){let o=[];for(let r=0;r&lt;e.childCount;r++){let i=e.child(r);i.content.size&amp;&amp;(i=i.copy(p(i.content,t,i))),i.isInline&amp;&amp;(i=t(i,n,r)),o.push(i)}return r.FK.fromArray(o)}class h extends u{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),o=n.node(n.sharedDepth(this.to)),i=new r.Ji(p(t.content,((e,t)=&gt;e.isAtom&amp;&amp;t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),o),t.openStart,t.openEnd);return d.fromReplace(e,this.from,this.to,i)}invert(){return new f(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&amp;&amp;n.deleted||t.pos&gt;=n.pos?null:new h(t.pos,n.pos,this.mark)}merge(e){return e instanceof h&amp;&amp;e.mark.eq(this.mark)&amp;&amp;this.from&lt;=e.to&amp;&amp;this.to&gt;=e.from?new h(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new h(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("addMark",h);class f extends u{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new r.Ji(p(t.content,(e=&gt;e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return d.fromReplace(e,this.from,this.to,n)}invert(){return new h(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&amp;&amp;n.deleted||t.pos&gt;=n.pos?null:new f(t.pos,n.pos,this.mark)}merge(e){return e instanceof f&amp;&amp;e.mark.eq(this.mark)&amp;&amp;this.from&lt;=e.to&amp;&amp;this.to&gt;=e.from?new f(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new f(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("removeMark",f);class m extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return d.fromReplace(e,this.pos,this.pos+1,new r.Ji(r.FK.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n&lt;t.marks.length;n++)if(!t.marks[n].isInSet(e))return new m(this.pos,t.marks[n]);return new m(this.pos,this.mark)}}return new g(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new m(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new m(t.pos,e.markFromJSON(t.mark))}}u.jsonID("addNodeMark",m);class g extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return d.fromReplace(e,this.pos,this.pos+1,new r.Ji(r.FK.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&amp;&amp;this.mark.isInSet(t.marks)?new m(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new g(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new g(t.pos,e.markFromJSON(t.mark))}}u.jsonID("removeNodeMark",g);class v extends u{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&amp;&amp;b(e,this.from,this.to)?d.fail("Structure replace would overwrite content"):d.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new a([this.from,this.to-this.from,this.slice.size])}invert(e){return new v(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&amp;&amp;n.deletedAcross?null:new v(t.pos,Math.max(t.pos,n.pos),this.slice)}merge(e){if(!(e instanceof v)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?r.Ji.empty:new r.Ji(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new v(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?r.Ji.empty:new r.Ji(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new v(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&amp;&amp;(e.slice=this.slice.toJSON()),this.structure&amp;&amp;(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new v(t.from,t.to,r.Ji.fromJSON(e,t.slice),!!t.structure)}}u.jsonID("replace",v);class y extends u{constructor(e,t,n,r,o,i,s=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=o,this.insert=i,this.structure=s}apply(e){if(this.structure&amp;&amp;(b(e,this.from,this.gapFrom)||b(e,this.gapTo,this.to)))return d.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return d.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?d.fromReplace(e,this.from,this.to,n):d.fail("Content does not fit in gap")}getMap(){return new a([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new y(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&amp;&amp;n.deletedAcross||r&lt;t.pos||o&gt;n.pos?null:new y(t.pos,n.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&amp;&amp;(e.slice=this.slice.toJSON()),this.structure&amp;&amp;(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new y(t.from,t.to,t.gapFrom,t.gapTo,r.Ji.fromJSON(e,t.slice),t.insert,!!t.structure)}}function b(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o&gt;0&amp;&amp;i&gt;0&amp;&amp;r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o&gt;0){let e=r.node(i).maybeChild(r.indexAfter(i));for(;o&gt;0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function w(e,t,n,o=n.contentMatch,i=!0){let s=e.doc.nodeAt(t),a=[],l=t+1;for(let t=0;t&lt;s.childCount;t++){let c=s.child(t),u=l+c.nodeSize,d=o.matchType(c.type);if(d){o=d;for(let t=0;t&lt;c.marks.length;t++)n.allowsMarkType(c.marks[t].type)||e.step(new f(l,u,c.marks[t]));if(i&amp;&amp;c.isText&amp;&amp;"pre"!=n.whitespace){let e,t,o=/\r?\n|\r/g;for(;e=o.exec(c.text);)t||(t=new r.Ji(r.FK.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),a.push(new v(l+e.index,l+e.index+e[0].length,t))}}else a.push(new v(l,u,r.Ji.empty));l=u}if(!o.validEnd){let t=o.fillBefore(r.FK.empty,!0);e.replace(l,l,new r.Ji(t,0,0))}for(let t=a.length-1;t&gt;=0;t--)e.step(a[t])}function S(e,t,n){return(0==t||e.canReplace(t,e.childCount))&amp;&amp;(n==e.childCount||e.canReplace(0,n))}function _(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let r=e.$from.node(n),o=e.$from.index(n),i=e.$to.indexAfter(n);if(n&lt;e.depth&amp;&amp;r.canReplace(o,i,t))return n;if(0==n||r.type.spec.isolating||!S(r,o,i))break}return null}function k(e,t,n=null,r=e){let o=function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;let s=i.length?i[0]:t;return n.canReplaceWith(r,o,s)?i:null}(e,t),i=o&amp;&amp;function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.child(r),s=t.contentMatch.findWrapping(i.type);if(!s)return null;let a=(s.length?s[s.length-1]:t).contentMatch;for(let e=r;a&amp;&amp;e&lt;o;e++)a=a.matchType(n.child(e).type);return a&amp;&amp;a.validEnd?s:null}(r,t);return i?o.map(A).concat({type:t,attrs:n}).concat(i.map(A)):null}function A(e){return{type:e,attrs:null}}function T(e,t,n,r){t.forEach(((o,i)=&gt;{if(o.isText){let s,a=/\r?\n|\r/g;for(;s=a.exec(o.text);){let o=e.mapping.slice(r).map(n+1+i+s.index);e.replaceWith(o,o+1,t.type.schema.linebreakReplacement.create())}}}))}function E(e,t,n,r){t.forEach(((o,i)=&gt;{if(o.type==o.type.schema.linebreakReplacement){let o=e.mapping.slice(r).map(n+1+i);e.replaceWith(o,o+1,t.type.schema.text("\n"))}}))}function x(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,s=r&amp;&amp;r[r.length-1]||o.parent;if(i&lt;0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let e=o.depth-1,t=n-2;e&gt;i;e--,t--){let n=o.node(e),i=o.index(e);if(n.type.spec.isolating)return!1;let s=n.content.cutByIndex(i,n.childCount),a=r&amp;&amp;r[t+1];a&amp;&amp;(s=s.replaceChild(0,a.type.create(a.attrs)));let l=r&amp;&amp;r[t]||n;if(!n.canReplace(i+1,n.childCount)||!l.type.validContent(s))return!1}let a=o.indexAfter(i),l=r&amp;&amp;r[0];return o.node(i).canReplaceWith(a,a,l?l.type:o.node(i+1).type)}function C(e,t){let n=e.resolve(t),r=n.index();return O(n.nodeBefore,n.nodeAfter)&amp;&amp;n.parent.canReplace(r,r+1)}function O(e,t){return!(!e||!t||e.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let o=0;o&lt;t.childCount;o++){let i=t.child(o),s=i.type==r?e.type.schema.nodes.text:i.type;if(n=n.matchType(s),!n)return!1;if(!e.type.allowsMarks(i.marks))return!1}return n.validEnd}(e,t))}function I(e,t,n=-1){let r=e.resolve(t);for(let e=r.depth;;e--){let o,i,s=r.index(e);if(e==r.depth?(o=r.nodeBefore,i=r.nodeAfter):n&gt;0?(o=r.node(e+1),s++,i=r.node(e).maybeChild(s)):(o=r.node(e).maybeChild(s-1),i=r.node(e+1)),o&amp;&amp;!o.isTextblock&amp;&amp;O(o,i)&amp;&amp;r.node(e).canReplace(s,s+1))return t;if(0==e)break;t=n&lt;0?r.before(e):r.after(e)}}function L(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let e=0;e&lt;n.openStart;e++)o=o.firstChild.content;for(let e=1;e&lt;=(0==n.openStart&amp;&amp;n.size?2:1);e++)for(let t=r.depth;t&gt;=0;t--){let n=t==r.depth?0:r.pos&lt;=(r.start(t+1)+r.end(t+1))/2?-1:1,i=r.index(t)+(n&gt;0?1:0),s=r.node(t),a=!1;if(1==e)a=s.canReplace(i,i,o);else{let e=s.contentMatchAt(i).findWrapping(o.firstChild.type);a=e&amp;&amp;s.canReplaceWith(i,i,e[0])}if(a)return 0==n?r.pos:n&lt;0?r.before(t+1):r.after(t+1)}return null}function P(e,t,n=t,o=r.Ji.empty){if(t==n&amp;&amp;!o.size)return null;let i=e.resolve(t),s=e.resolve(n);return N(i,s,o)?new v(t,n,o):new D(i,s,o).fit()}function N(e,t,n){return!n.openStart&amp;&amp;!n.openEnd&amp;&amp;e.start()==t.start()&amp;&amp;e.parent.canReplace(e.index(),t.index(),n.content)}u.jsonID("replaceAround",y);class D{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=r.FK.empty;for(let t=0;t&lt;=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t&gt;0;t--)this.placed=r.FK.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,o=this.close(e&lt;0?this.$to:n.doc.resolve(e));if(!o)return null;let i=this.placed,s=n.depth,a=o.depth;for(;s&amp;&amp;a&amp;&amp;1==i.childCount;)i=i.firstChild.content,s--,a--;let l=new r.Ji(i,s,a);return e&gt;-1?new y(n.pos,e,this.$to.pos,this.$to.end(),l,t):l.size||n.pos!=this.$to.pos?new v(n.pos,o.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n&lt;e;n++){let o=t.firstChild;if(t.childCount&gt;1&amp;&amp;(r=0),o.type.spec.isolating&amp;&amp;r&lt;=n){e=n;break}t=o.content}for(let t=1;t&lt;=2;t++)for(let n=1==t?e:this.unplaced.openStart;n&gt;=0;n--){let e,o=null;n?(o=F(this.unplaced.content,n-1).firstChild,e=o.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e&gt;=0;e--){let s,{type:a,match:l}=this.frontier[e],c=null;if(1==t&amp;&amp;(i?l.matchType(i.type)||(c=l.fillBefore(r.FK.from(i),!1)):o&amp;&amp;a.compatibleContent(o.type)))return{sliceDepth:n,frontierDepth:e,parent:o,inject:c};if(2==t&amp;&amp;i&amp;&amp;(s=l.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:o,wrap:s};if(o&amp;&amp;l.matchType(o.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,o=F(e,t);return!(!o.childCount||o.firstChild.isLeaf)&amp;&amp;(this.unplaced=new r.Ji(e,t+1,Math.max(n,o.size+t&gt;=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,o=F(e,t);if(o.childCount&lt;=1&amp;&amp;t&gt;0){let i=e.size-t&lt;=t+o.size;this.unplaced=new r.Ji(R(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new r.Ji(R(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:o,wrap:i}){for(;this.depth&gt;t;)this.closeFrontierNode();if(i)for(let e=0;e&lt;i.length;e++)this.openFrontierNode(i[e]);let s=this.unplaced,a=n?n.content:s.content,l=s.openStart-e,c=0,u=[],{match:d,type:p}=this.frontier[t];if(o){for(let e=0;e&lt;o.childCount;e++)u.push(o.child(e));d=d.matchFragment(o)}let h=a.size+e-(s.content.size-s.openEnd);for(;c&lt;a.childCount;){let e=a.child(c),t=d.matchType(e.type);if(!t)break;c++,(c&gt;1||0==l||e.content.size)&amp;&amp;(d=t,u.push(H(e.mark(p.allowedMarks(e.marks)),1==c?l:0,c==a.childCount?h:-1)))}let f=c==a.childCount;f||(h=-1),this.placed=M(this.placed,t,r.FK.from(u)),this.frontier[t].match=d,f&amp;&amp;h&lt;0&amp;&amp;n&amp;&amp;n.type==this.frontier[this.depth].type&amp;&amp;this.frontier.length&gt;1&amp;&amp;this.closeFrontierNode();for(let e=0,t=a;e&lt;h;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=f?0==e?r.Ji.empty:new r.Ji(R(s.content,e-1,1),e-1,h&lt;0?s.openEnd:e-1):new r.Ji(R(s.content,e,c),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!j(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&amp;&amp;(e=this.findCloseLevel(this.$to))&amp;&amp;e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n&gt;1&amp;&amp;r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t&gt;=0;t--){let{match:n,type:r}=this.frontier[t],o=t&lt;e.depth&amp;&amp;e.end(t+1)==e.pos+(e.depth-(t+1)),i=j(e,t,r,n,o);if(i){for(let n=t-1;n&gt;=0;n--){let{match:t,type:r}=this.frontier[n],o=j(e,n,r,t,!0);if(!o||o.childCount)continue e}return{depth:t,fit:i,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth&gt;t.depth;)this.closeFrontierNode();t.fit.childCount&amp;&amp;(this.placed=M(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n&lt;=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=M(this.placed,this.depth,r.FK.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(r.FK.empty,!0);e.childCount&amp;&amp;(this.placed=M(this.placed,this.frontier.length,e))}}function R(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(R(e.firstChild.content,t-1,n)))}function M(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(M(e.lastChild.content,t-1,n)))}function F(e,t){for(let n=0;n&lt;t;n++)e=e.firstChild.content;return e}function H(e,t,n){if(t&lt;=0)return e;let o=e.content;return t&gt;1&amp;&amp;(o=o.replaceChild(0,H(o.firstChild,t-1,1==o.childCount?n-1:0))),t&gt;0&amp;&amp;(o=e.type.contentMatch.fillBefore(o).append(o),n&lt;=0&amp;&amp;(o=o.append(e.type.contentMatch.matchFragment(o).fillBefore(r.FK.empty,!0)))),e.copy(o)}function j(e,t,n,r,o){let i=e.node(t),s=o?e.indexAfter(t):e.index(t);if(s==i.childCount&amp;&amp;!n.compatibleContent(i.type))return null;let a=r.fillBefore(i.content,!0,s);return a&amp;&amp;!function(e,t,n){for(let r=n;r&lt;t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,i.content,s)?a:null}function G(e,t,n,o,i){if(t&lt;n){let r=e.firstChild;e=e.replaceChild(0,r.copy(G(r.content,t+1,n,o,r)))}if(t&gt;o){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(r.FK.empty,!0))}return e}function B(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r&gt;=0;r--){let o=e.start(r);if(o&lt;e.pos-(e.depth-r)||t.end(r)&gt;t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==e.depth&amp;&amp;r==t.depth&amp;&amp;e.parent.inlineContent&amp;&amp;t.parent.inlineContent&amp;&amp;r&amp;&amp;t.start(r-1)==o-1)&amp;&amp;n.push(r)}return n}class $ extends u{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let o=t.type.create(n,null,t.marks);return d.fromReplace(e,this.pos,this.pos+1,new r.Ji(r.FK.from(o),0,t.isLeaf?0:1))}getMap(){return a.empty}invert(e){return new $(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new $(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new $(t.pos,t.attr,t.value)}}u.jsonID("attr",$);class W extends u{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return d.ok(n)}getMap(){return a.empty}invert(e){return new W(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new W(t.attr,t.value)}}u.jsonID("docAttr",W);let U=class extends Error{};U=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(U.prototype=Object.create(Error.prototype)).constructor=U,U.prototype.name="TransformError";class z{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new l}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new U(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length&gt;0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=r.Ji.empty){let o=P(this.doc,e,t,n);return o&amp;&amp;this.step(o),this}replaceWith(e,t,n){return this.replace(e,t,new r.Ji(r.FK.from(n),0,0))}delete(e,t){return this.replace(e,t,r.Ji.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,o){if(!o.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),s=e.doc.resolve(n);if(N(i,s,o))return e.step(new v(t,n,o));let a=B(i,e.doc.resolve(n));0==a[a.length-1]&amp;&amp;a.pop();let l=-(i.depth+1);a.unshift(l);for(let e=i.depth,t=i.pos-1;e&gt;0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;a.indexOf(e)&gt;-1?l=e:i.before(e)==t&amp;&amp;a.splice(1,0,-e)}let c=a.indexOf(l),u=[],d=o.openStart;for(let e=o.content,t=0;;t++){let n=e.firstChild;if(u.push(n),t==o.openStart)break;e=n.content}for(let e=d-1;e&gt;=0;e--){let t=u[e],n=(p=t.type).spec.defining||p.spec.definingForContent;if(n&amp;&amp;!t.sameMarkup(i.node(Math.abs(l)-1)))d=e;else if(n||!t.type.isTextblock)break}var p;for(let t=o.openStart;t&gt;=0;t--){let l=(t+d+1)%(o.openStart+1),p=u[l];if(p)for(let t=0;t&lt;a.length;t++){let u=a[(t+c)%a.length],d=!0;u&lt;0&amp;&amp;(d=!1,u=-u);let h=i.node(u-1),f=i.index(u-1);if(h.canReplaceWith(f,f,p.type,p.marks))return e.replace(i.before(u),d?s.after(u):n,new r.Ji(G(o.content,0,o.openStart,l),l,o.openEnd))}}let h=e.steps.length;for(let r=a.length-1;r&gt;=0&amp;&amp;(e.replace(t,n,o),!(e.steps.length&gt;h));r--){let e=a[r];e&lt;0||(t=i.before(e),n=s.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,o){if(!o.isInline&amp;&amp;t==n&amp;&amp;e.doc.resolve(t).parent.content.size){let r=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let e=r.depth-1;e&gt;=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t&gt;0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e&gt;=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t&lt;r.node(e).childCount)return null}return null}(e.doc,t,o.type);null!=r&amp;&amp;(t=n=r)}e.replaceRange(t,n,new r.Ji(r.FK.from(o),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=B(r,o);for(let t=0;t&lt;i.length;t++){let n=i[t],s=t==i.length-1;if(s&amp;&amp;0==n||r.node(n).type.contentMatch.validEnd)return e.delete(r.start(n),o.end(n));if(n&gt;0&amp;&amp;(s||r.node(n-1).canReplace(r.index(n-1),o.indexAfter(n-1))))return e.delete(r.before(n),o.after(n))}for(let i=1;i&lt;=r.depth&amp;&amp;i&lt;=o.depth;i++)if(t-r.start(i)==r.depth-i&amp;&amp;n&gt;r.end(i)&amp;&amp;o.end(i)-n!=o.depth-i&amp;&amp;r.start(i-1)==o.start(i-1)&amp;&amp;r.node(i-1).canReplace(r.index(i-1),o.index(i-1)))return e.delete(r.before(i),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:o,$to:i,depth:s}=t,a=o.before(s+1),l=i.after(s+1),c=a,u=l,d=r.FK.empty,p=0;for(let e=s,t=!1;e&gt;n;e--)t||o.index(e)&gt;0?(t=!0,d=r.FK.from(o.node(e).copy(d)),p++):c--;let h=r.FK.empty,f=0;for(let e=s,t=!1;e&gt;n;e--)t||i.after(e+1)&lt;i.end(e)?(t=!0,h=r.FK.from(i.node(e).copy(h)),f++):u++;e.step(new y(c,u,a,l,new r.Ji(d.append(h),p,f),d.size-p,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let o=null,{linebreakReplacement:i}=e.doc.type.schema,s=e.doc.resolve(t-n),a=s.node().type;if(i&amp;&amp;a.inlineContent){let e="pre"==a.whitespace,t=!!a.contentMatch.matchType(i);e&amp;&amp;!t?o=!1:!e&amp;&amp;t&amp;&amp;(o=!0)}let l=e.steps.length;if(!1===o){let r=e.doc.resolve(t+n);E(e,r.node(),r.before(),l)}a.inlineContent&amp;&amp;w(e,t+n-1,a,s.node().contentMatchAt(s.index()),null==o);let c=e.mapping.slice(l),u=c.map(t-n);if(e.step(new v(u,c.map(t+n,-1),r.Ji.empty,!0)),!0===o){let t=e.doc.resolve(u);T(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let o=r.FK.empty;for(let e=n.length-1;e&gt;=0;e--){if(o.size){let t=n[e].type.contentMatch.matchFragment(o);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}o=r.FK.from(n[e].type.create(n[e].attrs,o))}let i=t.start,s=t.end;e.step(new y(i,s,i,s,new r.Ji(o,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,o=null){return function(e,t,n,o,i){if(!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=&gt;{let a="function"==typeof i?i(t):i;if(t.isTextblock&amp;&amp;!t.hasMarkup(o,a)&amp;&amp;function(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(s).map(n),o)){let i=null;if(o.schema.linebreakReplacement){let e="pre"==o.whitespace,t=!!o.contentMatch.matchType(o.schema.linebreakReplacement);e&amp;&amp;!t?i=!1:!e&amp;&amp;t&amp;&amp;(i=!0)}!1===i&amp;&amp;E(e,t,n,s),w(e,e.mapping.slice(s).map(n,1),o,void 0,null===i);let l=e.mapping.slice(s),c=l.map(n,1),u=l.map(n+t.nodeSize,1);return e.step(new y(c,u,c+1,u-1,new r.Ji(r.FK.from(o.create(a,null,t.marks)),0,0),1,!0)),!0===i&amp;&amp;T(e,t,n,s),!1}}))}(this,e,t,n,o),this}setNodeMarkup(e,t,n=null,o){return function(e,t,n,o,i){let s=e.doc.nodeAt(t);if(!s)throw new RangeError("No node at given position");n||(n=s.type);let a=n.create(o,null,i||s.marks);if(s.isLeaf)return e.replaceWith(t,t+s.nodeSize,a);if(!n.validContent(s.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new y(t,t+s.nodeSize,t+1,t+s.nodeSize-1,new r.Ji(r.FK.from(a),0,0),1,!0))}(this,e,t,n,o),this}setNodeAttribute(e,t,n){return this.step(new $(e,t,n)),this}setDocAttribute(e,t){return this.step(new W(e,t)),this}addNodeMark(e,t){return this.step(new m(e,t)),this}removeNodeMark(e,t){if(!(t instanceof r.CU)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new g(e,t)),this}split(e,t=1,n){return function(e,t,n=1,o){let i=e.doc.resolve(t),s=r.FK.empty,a=r.FK.empty;for(let e=i.depth,t=i.depth-n,l=n-1;e&gt;t;e--,l--){s=r.FK.from(i.node(e).copy(s));let t=o&amp;&amp;o[l];a=r.FK.from(t?t.type.create(t.attrs,a):i.node(e).copy(a))}e.step(new v(t,t,new r.Ji(s.append(a),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let o,i,s=[],a=[];e.doc.nodesBetween(t,n,((e,l,c)=&gt;{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&amp;&amp;c.type.allowsMarkType(r.type)){let c=Math.max(l,t),d=Math.min(l+e.nodeSize,n),p=r.addToSet(u);for(let e=0;e&lt;u.length;e++)u[e].isInSet(p)||(o&amp;&amp;o.to==c&amp;&amp;o.mark.eq(u[e])?o.to=d:s.push(o=new f(c,d,u[e])));i&amp;&amp;i.to==c?i.to=d:a.push(i=new h(c,d,r))}})),s.forEach((t=&gt;e.step(t))),a.forEach((t=&gt;e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,o){let i=[],s=0;e.doc.nodesBetween(t,n,((e,a)=&gt;{if(!e.isInline)return;s++;let l=null;if(o instanceof r.sX){let t,n=e.marks;for(;t=o.isInSet(n);)(l||(l=[])).push(t),n=t.removeFromSet(n)}else o?o.isInSet(e.marks)&amp;&amp;(l=[o]):l=e.marks;if(l&amp;&amp;l.length){let r=Math.min(a+e.nodeSize,n);for(let e=0;e&lt;l.length;e++){let n,o=l[e];for(let e=0;e&lt;i.length;e++){let t=i[e];t.step==s-1&amp;&amp;o.eq(i[e].style)&amp;&amp;(n=t)}n?(n.to=r,n.step=s):i.push({style:o,from:Math.max(a,t),to:r,step:s})}}})),i.forEach((t=&gt;e.step(new f(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return w(this,e,t,n),this}}},1575:(e,t,n)=&gt;{"use strict";n.d(t,{Lz:()=&gt;gn,NZ:()=&gt;Bt,zF:()=&gt;Ut});var r=n(42845),o=n(58903),i=n(38262);const s=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},a=function(e){let t=e.assignedSlot||e.parentNode;return t&amp;&amp;11==t.nodeType?t.host:t};let l=null;const c=function(e,t,n){let r=l||(l=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},u=function(e,t,n,r){return n&amp;&amp;(p(e,t,n,r,-1)||p(e,t,n,r,1))},d=/^(img|br|input|textarea|hr)$/i;function p(e,t,n,r,o){for(;;){if(e==n&amp;&amp;t==r)return!0;if(t==(o&lt;0?0:h(e))){let n=e.parentNode;if(!n||1!=n.nodeType||f(e)||d.test(e.nodeName)||"false"==e.contentEditable)return!1;t=s(e)+(o&lt;0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o&lt;0?-1:0)]).contentEditable)return!1;t=o&lt;0?h(e):0}}}function h(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function f(e){let t;for(let n=e;n&amp;&amp;!(t=n.pmViewDesc);n=n.parentNode);return t&amp;&amp;t.node&amp;&amp;t.node.isBlock&amp;&amp;(t.dom==e||t.contentDOM==e)}const m=function(e){return e.focusNode&amp;&amp;u(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function g(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const v="undefined"!=typeof navigator?navigator:null,y="undefined"!=typeof document?document:null,b=v&amp;&amp;v.userAgent||"",w=/Edge\/(\d+)/.exec(b),S=/MSIE \d/.exec(b),_=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(b),k=!!(S||_||w),A=S?document.documentMode:_?+_[1]:w?+w[1]:0,T=!k&amp;&amp;/gecko\/(\d+)/i.test(b);T&amp;&amp;(/Firefox\/(\d+)/.exec(b)||[0,0])[1];const E=!k&amp;&amp;/Chrome\/(\d+)/.exec(b),x=!!E,C=E?+E[1]:0,O=!k&amp;&amp;!!v&amp;&amp;/Apple Computer/.test(v.vendor),I=O&amp;&amp;(/Mobile\/\w+/.test(b)||!!v&amp;&amp;v.maxTouchPoints&gt;2),L=I||!!v&amp;&amp;/Mac/.test(v.platform),P=!!v&amp;&amp;/Win/.test(v.platform),N=/Android \d/.test(b),D=!!y&amp;&amp;"webkitFontSmoothing"in y.documentElement.style,R=D?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function M(e){let t=e.defaultView&amp;&amp;e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function F(e,t){return"number"==typeof e?e:e[t]}function H(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function j(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let s=n||e.dom;s;s=a(s)){if(1!=s.nodeType)continue;let e=s,n=e==i.body,a=n?M(i):H(e),l=0,c=0;if(t.top&lt;a.top+F(r,"top")?c=-(a.top-t.top+F(o,"top")):t.bottom&gt;a.bottom-F(r,"bottom")&amp;&amp;(c=t.bottom-t.top&gt;a.bottom-a.top?t.top+F(o,"top")-a.top:t.bottom-a.bottom+F(o,"bottom")),t.left&lt;a.left+F(r,"left")?l=-(a.left-t.left+F(o,"left")):t.right&gt;a.right-F(r,"right")&amp;&amp;(l=t.right-a.right+F(o,"right")),l||c)if(n)i.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,r=e.scrollTop;c&amp;&amp;(e.scrollTop+=c),l&amp;&amp;(e.scrollLeft+=l);let o=e.scrollLeft-n,i=e.scrollTop-r;t={left:t.left-o,top:t.top-i,right:t.right-o,bottom:t.bottom-i}}if(n||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function G(e){let t=[],n=e.ownerDocument;for(let r=e;r&amp;&amp;(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=a(r));return t}function B(e,t){for(let n=0;n&lt;e.length;n++){let{dom:r,top:o,left:i}=e[n];r.scrollTop!=o+t&amp;&amp;(r.scrollTop=o+t),r.scrollLeft!=i&amp;&amp;(r.scrollLeft=i)}}let $=null;function W(e,t){let n,r,o,i,s=2e8,a=0,l=t.top,u=t.top;for(let d=e.firstChild,p=0;d;d=d.nextSibling,p++){let e;if(1==d.nodeType)e=d.getClientRects();else{if(3!=d.nodeType)continue;e=c(d).getClientRects()}for(let c=0;c&lt;e.length;c++){let h=e[c];if(h.top&lt;=l&amp;&amp;h.bottom&gt;=u){l=Math.max(h.bottom,l),u=Math.min(h.top,u);let e=h.left&gt;t.left?h.left-t.left:h.right&lt;t.left?t.left-h.right:0;if(e&lt;s){n=d,s=e,r=e&amp;&amp;3==n.nodeType?{left:h.right&lt;t.left?h.right:h.left,top:t.top}:t,1==d.nodeType&amp;&amp;e&amp;&amp;(a=p+(t.left&gt;=(h.left+h.right)/2?1:0));continue}}else h.top&gt;t.top&amp;&amp;!o&amp;&amp;h.left&lt;=t.left&amp;&amp;h.right&gt;=t.left&amp;&amp;(o=d,i={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&amp;&amp;(t.left&gt;=h.right&amp;&amp;t.top&gt;=h.top||t.left&gt;=h.left&amp;&amp;t.top&gt;=h.bottom)&amp;&amp;(a=p+1)}}return!n&amp;&amp;o&amp;&amp;(n=o,r=i,s=0),n&amp;&amp;3==n.nodeType?function(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o&lt;n;o++){r.setEnd(e,o+1),r.setStart(e,o);let n=K(r,1);if(n.top!=n.bottom&amp;&amp;U(t,n))return{node:e,offset:o+(t.left&gt;=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||s&amp;&amp;1==n.nodeType?{node:e,offset:a}:W(n,r)}function U(e,t){return e.left&gt;=t.left-1&amp;&amp;e.left&lt;=t.right+1&amp;&amp;e.top&gt;=t.top-1&amp;&amp;e.top&lt;=t.bottom+1}function z(e,t,n){let r=e.childNodes.length;if(r&amp;&amp;n.top&lt;n.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){let n=e.childNodes[i];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r&lt;e.length;r++){let o=e[r];if(U(t,o))return z(n,t,o)}}if((i=(i+1)%r)==o)break}return e}function V(e,t){let n,r=e.dom.ownerDocument,o=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(h(r.offsetNode),r.offset)}}catch(e){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(h(r.startContainer),r.startOffset)}}}(r,t.left,t.top);i&amp;&amp;({node:n,offset:o}=i);let s,l=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!l||!e.dom.contains(1!=l.nodeType?l.parentNode:l)){let n=e.dom.getBoundingClientRect();if(!U(t,n))return null;if(l=z(e.dom,t,n),!l)return null}if(O)for(let e=l;n&amp;&amp;e;e=a(e))e.draggable&amp;&amp;(n=void 0);if(l=function(e,t){let n=e.parentNode;return n&amp;&amp;/^li$/i.test(n.nodeName)&amp;&amp;t.left&lt;e.getBoundingClientRect().left?n:e}(l,t),n){if(T&amp;&amp;1==n.nodeType&amp;&amp;(o=Math.min(o,n.childNodes.length),o&lt;n.childNodes.length)){let e,r=n.childNodes[o];"IMG"==r.nodeName&amp;&amp;(e=r.getBoundingClientRect()).right&lt;=t.left&amp;&amp;e.bottom&gt;t.top&amp;&amp;o++}let r;D&amp;&amp;o&amp;&amp;1==n.nodeType&amp;&amp;1==(r=n.childNodes[o-1]).nodeType&amp;&amp;"false"==r.contentEditable&amp;&amp;r.getBoundingClientRect().top&gt;=t.top&amp;&amp;o--,n==e.dom&amp;&amp;o==n.childNodes.length-1&amp;&amp;1==n.lastChild.nodeType&amp;&amp;t.top&gt;n.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:0!=o&amp;&amp;1==n.nodeType&amp;&amp;"BR"==n.childNodes[o-1].nodeName||(s=function(e,t,n,r){let o=-1;for(let n=t,i=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0);if(!t)return null;if(1==t.dom.nodeType&amp;&amp;(t.node.isBlock&amp;&amp;t.parent||!t.contentDOM)){let e=t.dom.getBoundingClientRect();if(t.node.isBlock&amp;&amp;t.parent&amp;&amp;(!i&amp;&amp;e.left&gt;r.left||e.top&gt;r.top?o=t.posBefore:(!i&amp;&amp;e.right&lt;r.left||e.bottom&lt;r.top)&amp;&amp;(o=t.posAfter),i=!0),!t.contentDOM&amp;&amp;o&lt;0&amp;&amp;!t.node.isText)return(t.node.isBlock?r.top&lt;(e.top+e.bottom)/2:r.left&lt;(e.left+e.right)/2)?t.posBefore:t.posAfter}n=t.dom.parentNode}return o&gt;-1?o:e.docView.posFromDOM(t,n,-1)}(e,n,o,t))}null==s&amp;&amp;(s=function(e,t,n){let{node:r,offset:o}=W(t,n),i=-1;if(1==r.nodeType&amp;&amp;!r.firstChild){let e=r.getBoundingClientRect();i=e.left!=e.right&amp;&amp;n.left&gt;(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}(e,l,t));let c=e.docView.nearestDesc(l,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function X(e){return e.top&lt;e.bottom||e.left&lt;e.right}function K(e,t){let n=e.getClientRects();if(n.length){let e=n[t&lt;0?0:n.length-1];if(X(e))return e}return Array.prototype.find.call(n,X)||e.getBoundingClientRect()}const q=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Y(e,t,n){let{node:r,offset:o,atom:i}=e.docView.domFromPos(t,n&lt;0?-1:1),s=D||T;if(3==r.nodeType){if(!s||!q.test(r.nodeValue)&amp;&amp;(n&lt;0?o:o!=r.nodeValue.length)){let e=o,t=o,i=n&lt;0?1:-1;return n&lt;0&amp;&amp;!o?(t++,i=-1):n&gt;=0&amp;&amp;o==r.nodeValue.length?(e--,i=1):n&lt;0?e--:t++,Q(K(c(r,e,t),i),i&lt;0)}{let e=K(c(r,o,o),n);if(T&amp;&amp;o&amp;&amp;/\s/.test(r.nodeValue[o-1])&amp;&amp;o&lt;r.nodeValue.length){let t=K(c(r,o-1,o-1),-1);if(t.top==e.top){let n=K(c(r,o,o+1),-1);if(n.top!=e.top)return Q(n,n.left&lt;t.left)}}return e}}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(null==i&amp;&amp;o&amp;&amp;(n&lt;0||o==h(r))){let e=r.childNodes[o-1];if(1==e.nodeType)return J(e.getBoundingClientRect(),!1)}if(null==i&amp;&amp;o&lt;h(r)){let e=r.childNodes[o];if(1==e.nodeType)return J(e.getBoundingClientRect(),!0)}return J(r.getBoundingClientRect(),n&gt;=0)}if(null==i&amp;&amp;o&amp;&amp;(n&lt;0||o==h(r))){let e=r.childNodes[o-1],t=3==e.nodeType?c(e,h(e)-(s?0:1)):1!=e.nodeType||"BR"==e.nodeName&amp;&amp;e.nextSibling?null:e;if(t)return Q(K(t,1),!1)}if(null==i&amp;&amp;o&lt;h(r)){let e=r.childNodes[o];for(;e.pmViewDesc&amp;&amp;e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?c(e,0,s?0:1):1==e.nodeType?e:null:null;if(t)return Q(K(t,-1),!0)}return Q(K(3==r.nodeType?c(r):r,-n),n&gt;=0)}function Q(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function J(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Z(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&amp;&amp;e.updateState(t),o!=e.dom&amp;&amp;e.focus();try{return n()}finally{r!=t&amp;&amp;e.updateState(r),o!=e.dom&amp;&amp;o&amp;&amp;o.focus()}}const ee=/[\u0590-\u08ac]/;let te=null,ne=null,re=!1;function oe(e,t,n){return te==t&amp;&amp;ne==n?re:(te=t,ne=n,re="up"==n||"down"==n?function(e,t,n){let r=t.selection,o="up"==n?r.$from:r.$to;return Z(e,t,(()=&gt;{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=Y(e,o.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=c(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e&lt;t.length;e++){let o=t[e];if(o.bottom&gt;o.top+1&amp;&amp;("up"==n?r.top-o.top&gt;2*(o.bottom-r.top):o.bottom-r.bottom&gt;2*(r.bottom-o.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,s=o==r.parent.content.size,a=e.domSelection();return a?ee.test(r.parent.textContent)&amp;&amp;a.modify?Z(e,t,(()=&gt;{let{focusNode:t,focusOffset:o,anchorNode:i,anchorOffset:s}=e.domSelectionRange(),l=a.caretBidiLevel;a.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),p=u&amp;&amp;!c.contains(1==u.nodeType?u:u.parentNode)||t==u&amp;&amp;o==d;try{a.collapse(i,s),t&amp;&amp;(t!=i||o!=s)&amp;&amp;a.extend&amp;&amp;a.extend(t,o)}catch(e){}return null!=l&amp;&amp;(a.caretBidiLevel=l),p})):"left"==n||"backward"==n?i:s:r.pos==r.start()||r.pos==r.end()}(e,t,n))}class ie{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t&lt;this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&amp;&amp;(this.dom.pmViewDesc=void 0);for(let e=0;e&lt;this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&amp;&amp;this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n&lt;0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&amp;&amp;(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&amp;&amp;(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&amp;&amp;this.contentDOM)r=t&gt;s(this.contentDOM);else if(this.contentDOM&amp;&amp;this.contentDOM!=this.dom&amp;&amp;this.dom.contains(this.contentDOM))r=2&amp;e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&amp;&amp;t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n&gt;0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let o,i=this.getDesc(r);if(i&amp;&amp;(!t||i.node)){if(!n||!(o=i.nodeDOM)||(1==o.nodeType?o.contains(1==e.nodeType?e:e.parentNode):o==e))return i;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t&lt;this.children.length;t++){let r=this.children[t],o=n+r.size;if(n==e&amp;&amp;o!=n){for(;!r.border&amp;&amp;r.children.length;)r=r.children[0];return r}if(e&lt;o)return r.descAt(e-n-r.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let t=0;n&lt;this.children.length;n++){let o=this.children[n],i=t+o.size;if(i&gt;e||o instanceof pe){r=e-t;break}t=i}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let e;n&amp;&amp;!(e=this.children[n-1]).size&amp;&amp;e instanceof se&amp;&amp;e.side&gt;=0;n--);if(t&lt;=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&amp;&amp;e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&amp;&amp;t&amp;&amp;r&amp;&amp;!e.border&amp;&amp;!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?s(e.dom)+1:0}}{let e,r=!0;for(;e=n&lt;this.children.length?this.children[n]:null,e&amp;&amp;e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&amp;&amp;r&amp;&amp;!e.border&amp;&amp;!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?s(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,o=-1;for(let i=n,a=0;;a++){let n=this.children[a],l=i+n.size;if(-1==r&amp;&amp;e&lt;=l){let o=i+n.border;if(e&gt;=o&amp;&amp;t&lt;=l-n.border&amp;&amp;n.node&amp;&amp;n.contentDOM&amp;&amp;this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=i;for(let t=a;t&gt;0;t--){let n=this.children[t-1];if(n.size&amp;&amp;n.dom.parentNode==this.contentDOM&amp;&amp;!n.emptyChildAt(1)){r=s(n.dom)+1;break}e-=n.size}-1==r&amp;&amp;(r=0)}if(r&gt;-1&amp;&amp;(l&gt;t||a==this.children.length-1)){t=l;for(let e=a+1;e&lt;this.children.length;e++){let n=this.children[e];if(n.size&amp;&amp;n.dom.parentNode==this.contentDOM&amp;&amp;!n.emptyChildAt(-1)){o=s(n.dom);break}t+=n.size}-1==o&amp;&amp;(o=this.contentDOM.childNodes.length);break}i=l}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e&lt;0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let o=Math.min(e,t),i=Math.max(e,t);for(let s=0,a=0;s&lt;this.children.length;s++){let l=this.children[s],c=a+l.size;if(o&gt;a&amp;&amp;i&lt;c)return l.setSelection(e-a-l.border,t-a-l.border,n,r);a=c}let a=this.domFromPos(e,e?-1:1),l=t==e?a:this.domFromPos(t,t?-1:1),c=n.getSelection(),d=!1;if((T||O)&amp;&amp;e==t){let{node:e,offset:t}=a;if(3==e.nodeType){if(d=!(!t||"\n"!=e.nodeValue[t-1]),d&amp;&amp;t==e.nodeValue.length)for(let t,n=e;n;n=n.parentNode){if(t=n.nextSibling){"BR"==t.nodeName&amp;&amp;(a=l={node:t.parentNode,offset:s(t)+1});break}let e=n.pmViewDesc;if(e&amp;&amp;e.node&amp;&amp;e.node.isBlock)break}}else{let n=e.childNodes[t-1];d=n&amp;&amp;("BR"==n.nodeName||"false"==n.contentEditable)}}if(T&amp;&amp;c.focusNode&amp;&amp;c.focusNode!=l.node&amp;&amp;1==c.focusNode.nodeType){let e=c.focusNode.childNodes[c.focusOffset];e&amp;&amp;"false"==e.contentEditable&amp;&amp;(r=!0)}if(!(r||d&amp;&amp;O)&amp;&amp;u(a.node,a.offset,c.anchorNode,c.anchorOffset)&amp;&amp;u(l.node,l.offset,c.focusNode,c.focusOffset))return;let p=!1;if((c.extend||e==t)&amp;&amp;!d){c.collapse(a.node,a.offset);try{e!=t&amp;&amp;c.extend(l.node,l.offset),p=!0}catch(e){}}if(!p){if(e&gt;t){let e=a;a=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(a.node,a.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&amp;&amp;"selection"!=e.type}get contentLost(){return this.contentDOM&amp;&amp;this.contentDOM!=this.dom&amp;&amp;!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r&lt;this.children.length;r++){let o=this.children[r],i=n+o.size;if(n==i?e&lt;=i&amp;&amp;t&gt;=n:e&lt;i&amp;&amp;t&gt;n){let r=n+o.border,s=i-o.border;if(e&gt;=r&amp;&amp;t&lt;=s)return this.dirty=e==n||t==i?2:1,void(e!=r||t!=s||!o.contentLost&amp;&amp;o.dom.parentNode==this.contentDOM?o.markDirty(e-r,t-r):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=i}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty&lt;n&amp;&amp;(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class se extends ie{constructor(e,t,n,r){let o,i=t.type.toDOM;if("function"==typeof i&amp;&amp;(i=i(n,(()=&gt;o?o.parent?o.parent.posBeforeChild(o):void 0:r))),!t.type.spec.raw){if(1!=i.nodeType){let e=document.createElement("span");e.appendChild(i),i=e}i.contentEditable="false",i.classList.add("ProseMirror-widget")}super(e,[],i,null),this.widget=t,this.widget=t,o=this}matchesWidget(e){return 0==this.dirty&amp;&amp;e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&amp;&amp;t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class ae extends ie{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&amp;&amp;e.target.nodeValue==e.oldValue}}class le extends ie{constructor(e,t,n,r,o){super(e,[],n,r),this.mark=t,this.spec=o}static create(e,t,n,r){let i=r.nodeViews[t.type.name],s=i&amp;&amp;i(t,r,n);return s&amp;&amp;s.dom||(s=o.ZF.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new le(e,t,s.dom,s.contentDOM||s.dom,s)}parseRule(){return 3&amp;this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&amp;&amp;this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty&lt;this.dirty&amp;&amp;(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=le.create(this.parent,this.mark,!0,n),o=this.children,i=this.size;t&lt;i&amp;&amp;(o=Te(o,t,i,n)),e&gt;0&amp;&amp;(o=Te(o,0,e,n));for(let e=0;e&lt;o.length;e++)o[e].parent=r;return r.children=o,r}destroy(){this.spec.destroy&amp;&amp;this.spec.destroy(),super.destroy()}}class ce extends ie{constructor(e,t,n,r,o,i,s,a,l){super(e,[],o,i),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=s}static create(e,t,n,r,i,s){let a,l=i.nodeViews[t.type.name],c=l&amp;&amp;l(t,i,(()=&gt;a?a.parent?a.parent.posBeforeChild(a):void 0:s),n,r),u=c&amp;&amp;c.dom,d=c&amp;&amp;c.contentDOM;if(t.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(t.text);else if(!u){let e=o.ZF.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);({dom:u,contentDOM:d}=e)}d||t.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&amp;&amp;(u.draggable=!0));let p=u;return u=we(u,n,t),c?a=new he(e,t,n,r,u,d||null,p,c,i,s+1):t.isText?new de(e,t,n,r,u,p,i):new ce(e,t,n,r,u,d||null,p,i,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&amp;&amp;(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t&gt;=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=&gt;o.FK.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=&gt;this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&amp;&amp;e.eq(this.node)&amp;&amp;Se(t,this.outerDeco)&amp;&amp;n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,s=i&amp;&amp;i.pos&gt;-1?i:null,a=i&amp;&amp;i.pos&lt;0,l=new ke(this,s&amp;&amp;s.node,e);!function(e,t,n,r){let o=t.locals(e),i=0;if(0==o.length){for(let n=0;n&lt;e.childCount;n++){let s=e.child(n);r(s,o,t.forChild(i,s),n),i+=s.nodeSize}return}let s=0,a=[],l=null;for(let c=0;;){let u,d,p,h;for(;s&lt;o.length&amp;&amp;o[s].to==i;){let e=o[s++];e.widget&amp;&amp;(u?(d||(d=[u])).push(e):u=e)}if(u)if(d){d.sort(Ae);for(let e=0;e&lt;d.length;e++)n(d[e],c,!!l)}else n(u,c,!!l);if(l)h=-1,p=l,l=null;else{if(!(c&lt;e.childCount))break;h=c,p=e.child(c++)}for(let e=0;e&lt;a.length;e++)a[e].to&lt;=i&amp;&amp;a.splice(e--,1);for(;s&lt;o.length&amp;&amp;o[s].from&lt;=i&amp;&amp;o[s].to&gt;i;)a.push(o[s++]);let f=i+p.nodeSize;if(p.isText){let e=f;s&lt;o.length&amp;&amp;o[s].from&lt;e&amp;&amp;(e=o[s].from);for(let t=0;t&lt;a.length;t++)a[t].to&lt;e&amp;&amp;(e=a[t].to);e&lt;f&amp;&amp;(l=p.cut(e-i),p=p.cut(0,e-i),f=e,h=-1)}else for(;s&lt;o.length&amp;&amp;o[s].to&lt;f;)s++;r(p,p.isInline&amp;&amp;!p.isLeaf?a.filter((e=&gt;!e.inline)):a.slice(),t.forChild(i,p),h),i=f}}(this.node,this.innerDeco,((t,i,s)=&gt;{t.spec.marks?l.syncToMarks(t.spec.marks,n,e):t.type.side&gt;=0&amp;&amp;!s&amp;&amp;l.syncToMarks(i==this.node.childCount?o.CU.none:this.node.child(i).marks,n,e),l.placeWidget(t,e,r)}),((t,o,s,c)=&gt;{let u;l.syncToMarks(t.marks,n,e),l.findNodeMatch(t,o,s,c)||a&amp;&amp;e.state.selection.from&gt;r&amp;&amp;e.state.selection.to&lt;r+t.nodeSize&amp;&amp;(u=l.findIndexWithChild(i.node))&gt;-1&amp;&amp;l.updateNodeAt(t,o,s,u,e)||l.updateNextNode(t,o,s,e,c,r)||l.addNode(t,o,s,e,r),r+=t.nodeSize})),l.syncToMarks([],n,e),this.node.isTextblock&amp;&amp;l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&amp;&amp;(s&amp;&amp;this.protectLocalComposition(e,s),fe(this.contentDOM,this.children,e),I&amp;&amp;function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:o}=e.state.selection;if(!(e.state.selection instanceof r.U3)||n&lt;t||o&gt;t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,r=function(e,t,n,r){for(let o=0,i=0;o&lt;e.childCount&amp;&amp;i&lt;=r;){let s=e.child(o++),a=i;if(i+=s.nodeSize,!s.isText)continue;let l=s.text;for(;o&lt;e.childCount;){let t=e.child(o++);if(i+=t.nodeSize,!t.isText)break;l+=t.text}if(i&gt;=n){if(i&gt;=r&amp;&amp;l.slice(r-t.length-a,r-a)==t)return r-t.length;let e=a&lt;r?l.lastIndexOf(t,r-a-1):-1;if(e&gt;=0&amp;&amp;e+t.length+a&gt;=n)return a+e;if(n==r&amp;&amp;l.length&gt;=r+t.length-a&amp;&amp;l.slice(r-a,r-a+t.length)==t)return r}}return-1}(this.node.content,e,n-t,o-t);return r&lt;0?null:{node:i,pos:r,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&amp;&amp;(o.pmViewDesc=void 0)}let i=new ae(this,o,t,r);e.input.compositionNodes.push(i),this.children=Te(this.children,n,n+r.length,e,i)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&amp;&amp;(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&amp;&amp;this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(Se(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=ye(this.dom,this.nodeDOM,ve(this.outerDeco,this.node,t),ve(e,this.node,t)),this.dom!=n&amp;&amp;(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&amp;&amp;this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&amp;&amp;this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&amp;&amp;(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&amp;&amp;this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function ue(e,t,n,r,o){we(r,t,e);let i=new ce(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&amp;&amp;i.updateChildren(o,0),i}class de extends ce{constructor(e,t,n,r,o,i,s){super(e,t,n,r,o,null,i,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&amp;&amp;e!=this.dom&amp;&amp;!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&amp;&amp;!this.inParent()||!e.sameMarkup(this.node))&amp;&amp;(this.updateOuterDeco(t),0==this.dirty&amp;&amp;e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&amp;&amp;(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&amp;&amp;"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),o=document.createTextNode(r.text);return new de(this.parent,r,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&amp;&amp;t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class pe extends ie{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&amp;&amp;this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class he extends ce{constructor(e,t,n,r,o,i,s,a,l,c){super(e,t,n,r,o,i,s,l,c),this.spec=a}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update&amp;&amp;(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,t,n);return o&amp;&amp;this.updateInner(e,t,n,r),o}return!(!this.contentDOM&amp;&amp;!e.isLeaf)&amp;&amp;super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&amp;&amp;this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&amp;&amp;this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function fe(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i&lt;t.length;i++){let s=t[i],a=s.dom;if(a.parentNode==e){for(;a!=r;)r=_e(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(a,r);if(s instanceof le){let t=r?r.previousSibling:e.lastChild;fe(s.contentDOM,s.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=_e(r),o=!0;o&amp;&amp;n.trackWrites==e&amp;&amp;(n.trackWrites=null)}const me=function(e){e&amp;&amp;(this.nodeName=e)};me.prototype=Object.create(null);const ge=[new me];function ve(e,t,n){if(0==e.length)return ge;let r=n?ge[0]:new me,o=[r];for(let i=0;i&lt;e.length;i++){let s=e[i].type.attrs;if(s){s.nodeName&amp;&amp;o.push(r=new me(s.nodeName));for(let e in s){let i=s[e];null!=i&amp;&amp;(n&amp;&amp;1==o.length&amp;&amp;o.push(r=new me(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+i:"style"==e?r.style=(r.style?r.style+";":"")+i:"nodeName"!=e&amp;&amp;(r[e]=i))}}}return o}function ye(e,t,n,r){if(n==ge&amp;&amp;r==ge)return t;let o=t;for(let t=0;t&lt;r.length;t++){let i=r[t],s=n[t];if(t){let t;s&amp;&amp;s.nodeName==i.nodeName&amp;&amp;o!=e&amp;&amp;(t=o.parentNode)&amp;&amp;t.nodeName.toLowerCase()==i.nodeName||(t=document.createElement(i.nodeName),t.pmIsDeco=!0,t.appendChild(o),s=ge[0]),o=t}be(o,s||ge[0],i)}return o}function be(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&amp;&amp;"style"!=r&amp;&amp;"nodeName"!=r&amp;&amp;n[r]!=t[r]&amp;&amp;e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t&lt;r.length;t++)-1==o.indexOf(r[t])&amp;&amp;e.classList.remove(r[t]);for(let t=0;t&lt;o.length;t++)-1==r.indexOf(o[t])&amp;&amp;e.classList.add(o[t]);0==e.classList.length&amp;&amp;e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&amp;&amp;(e.style.cssText+=n.style)}}function we(e,t,n){return ye(e,e,ge,ve(t,n,1!=e.nodeType))}function Se(e,t){if(e.length!=t.length)return!1;for(let n=0;n&lt;e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function _e(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class ke{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,o=e.childCount,i=new Map,s=[];e:for(;o&gt;0;){let a;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof le)){a=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=a.node;if(l){if(l!=e.child(o-1))break;--o,i.set(a,o),s.push(a)}}return{index:o,matched:i,matches:s.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n&lt;t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let r=0,o=this.stack.length&gt;&gt;1,i=Math.min(o,e.length);for(;r&lt;i&amp;&amp;(r==o-1?this.top:this.stack[r+1&lt;&lt;1]).matchesMark(e[r])&amp;&amp;!1!==e[r].type.spec.spanning;)r++;for(;r&lt;o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o&lt;e.length;){this.stack.push(this.top,this.index+1);let r=-1;for(let t=this.index;t&lt;Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[o])&amp;&amp;!this.isLocked(n.dom)){r=t;break}}if(r&gt;-1)r&gt;this.index&amp;&amp;(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=le.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,r){let o,i=-1;if(r&gt;=this.preMatch.index&amp;&amp;(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&amp;&amp;o.matchesNode(e,t,n))i=this.top.children.indexOf(o,this.index);else for(let r=this.index,o=Math.min(this.top.children.length,r+5);r&lt;o;r++){let o=this.top.children[r];if(o.matchesNode(e,t,n)&amp;&amp;!this.preMatch.matched.has(o)){i=r;break}}return!(i&lt;0)&amp;&amp;(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,o){let i=this.top.children[r];return 3==i.dirty&amp;&amp;i.dom==i.contentDOM&amp;&amp;(i.dirty=2),!!i.update(e,t,n,o)&amp;&amp;(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e&lt;this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,o,i){for(let s=this.index;s&lt;this.top.children.length;s++){let a=this.top.children[s];if(a instanceof ce){let l=this.preMatch.matched.get(a);if(null!=l&amp;&amp;l!=o)return!1;let c,u=a.dom,d=this.isLocked(u)&amp;&amp;!(e.isText&amp;&amp;a.node&amp;&amp;a.node.isText&amp;&amp;a.nodeDOM.nodeValue==e.text&amp;&amp;3!=a.dirty&amp;&amp;Se(t,a.outerDeco));if(!d&amp;&amp;a.update(e,t,n,r))return this.destroyBetween(this.index,s),a.dom!=u&amp;&amp;(this.changed=!0),this.index++,!0;if(!d&amp;&amp;(c=this.recreateWrapper(a,e,t,n,r,i)))return this.destroyBetween(this.index,s),this.top.children[this.index]=c,c.contentDOM&amp;&amp;(c.dirty=2,c.updateChildren(r,i+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,o,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Se(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let s=ce.create(this.top,t,n,r,o,i);if(s.contentDOM){s.children=e.children,e.children=[];for(let e of s.children)e.parent=s}return e.destroy(),s}addNode(e,t,n,r,o){let i=ce.create(this.top,e,t,n,r,o);i.contentDOM&amp;&amp;i.updateChildren(r,o+1),this.top.children.splice(this.index++,0,i),this.changed=!0}placeWidget(e,t,n){let r=this.index&lt;this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&amp;&amp;r.widget.type.toDOM.parentNode){let r=new se(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof le;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof de)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&amp;&amp;/\s$/.test(e.node.text))&amp;&amp;((O||x)&amp;&amp;e&amp;&amp;"false"==e.dom.contentEditable&amp;&amp;this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&amp;&amp;this.index&lt;t.children.length&amp;&amp;t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&amp;&amp;(n.className="ProseMirror-separator",n.alt=""),"BR"==e&amp;&amp;(n.className="ProseMirror-trailingBreak");let r=new pe(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&amp;&amp;(e==this.lock||1==e.nodeType&amp;&amp;e.contains(this.lock.parentNode))}}function Ae(e,t){return e.type.side-t.type.side}function Te(e,t,n,r,o){let i=[];for(let s=0,a=0;s&lt;e.length;s++){let l=e[s],c=a,u=a+=l.size;c&gt;=n||u&lt;=t?i.push(l):(c&lt;t&amp;&amp;i.push(l.slice(0,t-c,r)),o&amp;&amp;(i.push(o),o=void 0),u&gt;n&amp;&amp;i.push(l.slice(n-c,l.size,r)))}return i}function Ee(e,t=null){let n=e.domSelectionRange(),o=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),a=i&amp;&amp;0==i.size,l=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(l&lt;0)return null;let c,u,d=o.resolve(l);if(m(n)){for(c=l;i&amp;&amp;!i.node;)i=i.parent;let e=i.node;if(i&amp;&amp;e.isAtom&amp;&amp;r.nh.isSelectable(e)&amp;&amp;i.parent&amp;&amp;(!e.isInline||!function(e,t,n){for(let r=0==t,o=t==h(e);r||o;){if(e==n)return!0;let t=s(e);if(!(e=e.parentNode))return!1;r=r&amp;&amp;0==t,o=o&amp;&amp;t==h(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;u=new r.nh(l==e?d:o.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&amp;&amp;n.rangeCount&gt;1){let t=l,r=l;for(let o=0;o&lt;n.rangeCount;o++){let i=n.getRangeAt(o);t=Math.min(t,e.docView.posFromDOM(i.startContainer,i.startOffset,1)),r=Math.max(r,e.docView.posFromDOM(i.endContainer,i.endOffset,-1))}if(t&lt;0)return null;[c,l]=r==e.state.selection.anchor?[r,t]:[t,r],d=o.resolve(l)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c&lt;0)return null}let p=o.resolve(c);if(!u){u=Re(e,p,d,"pointer"==t||e.state.selection.head&lt;d.pos&amp;&amp;!a?1:-1)}return u}function xe(e){return e.editable?e.hasFocus():Fe(e)&amp;&amp;document.activeElement&amp;&amp;document.activeElement.contains(e.dom)}function Ce(e,t=!1){let n=e.state.selection;if(Ne(e,n),xe(e)){if(!t&amp;&amp;e.input.mouseDown&amp;&amp;e.input.mouseDown.allowDefault&amp;&amp;x){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&amp;&amp;n.anchorNode&amp;&amp;u(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange();if(!t)return;let r=e.cursorWrapper.dom,o="IMG"==r.nodeName;o?n.setStart(r.parentNode,s(r)+1):n.setStart(r,0);n.collapse(!0),t.removeAllRanges(),t.addRange(n),!o&amp;&amp;!e.state.selection.visible&amp;&amp;k&amp;&amp;A&lt;=11&amp;&amp;(r.disabled=!0,r.disabled=!1)}(e);else{let o,i,{anchor:s,head:a}=n;!Oe||n instanceof r.U3||(n.$from.parent.inlineContent||(o=Ie(e,n.from)),n.empty||n.$from.parent.inlineContent||(i=Ie(e,n.to))),e.docView.setSelection(s,a,e.root,t),Oe&amp;&amp;(o&amp;&amp;Pe(o),i&amp;&amp;Pe(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&amp;&amp;function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=&gt;{n.anchorNode==r&amp;&amp;n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=&gt;{xe(e)&amp;&amp;!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Oe=O||x&amp;&amp;C&lt;63;function Ie(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),o=r&lt;n.childNodes.length?n.childNodes[r]:null,i=r?n.childNodes[r-1]:null;if(O&amp;&amp;o&amp;&amp;"false"==o.contentEditable)return Le(o);if(!(o&amp;&amp;"false"!=o.contentEditable||i&amp;&amp;"false"!=i.contentEditable)){if(o)return Le(o);if(i)return Le(i)}}function Le(e){return e.contentEditable="true",O&amp;&amp;e.draggable&amp;&amp;(e.draggable=!1,e.wasDraggable=!0),e}function Pe(e){e.contentEditable="false",e.wasDraggable&amp;&amp;(e.draggable=!0,e.wasDraggable=null)}function Ne(e,t){if(t instanceof r.nh){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&amp;&amp;(De(e),n&amp;&amp;n.selectNode(),e.lastSelectedViewDesc=n)}else De(e)}function De(e){e.lastSelectedViewDesc&amp;&amp;(e.lastSelectedViewDesc.parent&amp;&amp;e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Re(e,t,n,o){return e.someProp("createSelectionBetween",(r=&gt;r(e,t,n)))||r.U3.between(t,n,o)}function Me(e){return!(e.editable&amp;&amp;!e.hasFocus())&amp;&amp;Fe(e)}function Fe(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&amp;&amp;(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(e){return!1}}function He(e,t){let{$anchor:n,$head:o}=e.selection,i=t&gt;0?n.max(o):n.min(o),s=i.parent.inlineContent?i.depth?e.doc.resolve(t&gt;0?i.after():i.before()):null:i;return s&amp;&amp;r.LN.findFrom(s,t)}function je(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Ge(e,t,n){let o=e.state.selection;if(!(o instanceof r.U3)){if(o instanceof r.nh&amp;&amp;o.node.isInline)return je(e,new r.U3(t&gt;0?o.$to:o.$from));{let n=He(e.state,t);return!!n&amp;&amp;je(e,n)}}if(n.indexOf("s")&gt;-1){let{$head:n}=o,i=n.textOffset?null:t&lt;0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let s=e.state.doc.resolve(n.pos+i.nodeSize*(t&lt;0?-1:1));return je(e,new r.U3(o.$anchor,s))}if(!o.empty)return!1;if(e.endOfTextblock(t&gt;0?"forward":"backward")){let n=He(e.state,t);return!!(n&amp;&amp;n instanceof r.nh)&amp;&amp;je(e,n)}if(!(L&amp;&amp;n.indexOf("m")&gt;-1)){let n,i=o.$head,s=i.textOffset?null:t&lt;0?i.nodeBefore:i.nodeAfter;if(!s||s.isText)return!1;let a=t&lt;0?i.pos-s.nodeSize:i.pos;return!!(s.isAtom||(n=e.docView.descAt(a))&amp;&amp;!n.contentDOM)&amp;&amp;(r.nh.isSelectable(s)?je(e,new r.nh(t&lt;0?e.state.doc.resolve(i.pos-s.nodeSize):i)):!!D&amp;&amp;je(e,new r.U3(e.state.doc.resolve(t&lt;0?a:a+s.nodeSize))))}}function Be(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function $e(e,t){let n=e.pmViewDesc;return n&amp;&amp;0==n.size&amp;&amp;(t&lt;0||e.nextSibling||"BR"!=e.nodeName)}function We(e,t){return t&lt;0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;T&amp;&amp;1==n.nodeType&amp;&amp;r&lt;Be(n)&amp;&amp;$e(n.childNodes[r],-1)&amp;&amp;(a=!0);for(;;)if(r&gt;0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if($e(e,-1))o=n,i=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(Ue(n))break;{let t=n.previousSibling;for(;t&amp;&amp;$e(t,-1);)o=n.parentNode,i=s(t),t=t.previousSibling;if(t)n=t,r=Be(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?ze(e,n,r):o&amp;&amp;ze(e,o,i)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=Be(n);for(;;)if(r&lt;a){if(1!=n.nodeType)break;if(!$e(n.childNodes[r],1))break;o=n,i=++r}else{if(Ue(n))break;{let t=n.nextSibling;for(;t&amp;&amp;$e(t,1);)o=t.parentNode,i=s(t)+1,t=t.nextSibling;if(t)n=t,r=0,a=Be(n);else{if(n=n.parentNode,n==e.dom)break;r=a=0}}}o&amp;&amp;ze(e,o,i)}(e)}function Ue(e){let t=e.pmViewDesc;return t&amp;&amp;t.node&amp;&amp;t.node.isBlock}function ze(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&amp;&amp;t==e.childNodes.length&amp;&amp;!f(e);)t=s(e)+1,e=e.parentNode;for(;e&amp;&amp;t&lt;e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&amp;&amp;"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&amp;&amp;!t&amp;&amp;!f(e);)t=s(e),e=e.parentNode;for(;e&amp;&amp;t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&amp;&amp;"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&amp;&amp;(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(m(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&amp;&amp;r.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout((()=&gt;{e.state==o&amp;&amp;Ce(e)}),50)}function Ve(e,t){let n=e.state.doc.resolve(t);if(!x&amp;&amp;!P&amp;&amp;n.parent.inlineContent){let r=e.coordsAtPos(t);if(t&gt;n.start()){let n=e.coordsAtPos(t-1),o=(n.top+n.bottom)/2;if(o&gt;r.top&amp;&amp;o&lt;r.bottom&amp;&amp;Math.abs(n.left-r.left)&gt;1)return n.left&lt;r.left?"ltr":"rtl"}if(t&lt;n.end()){let n=e.coordsAtPos(t+1),o=(n.top+n.bottom)/2;if(o&gt;r.top&amp;&amp;o&lt;r.bottom&amp;&amp;Math.abs(n.left-r.left)&gt;1)return n.left&gt;r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function Xe(e,t,n){let o=e.state.selection;if(o instanceof r.U3&amp;&amp;!o.empty||n.indexOf("s")&gt;-1)return!1;if(L&amp;&amp;n.indexOf("m")&gt;-1)return!1;let{$from:i,$to:s}=o;if(!i.parent.inlineContent||e.endOfTextblock(t&lt;0?"up":"down")){let n=He(e.state,t);if(n&amp;&amp;n instanceof r.nh)return je(e,n)}if(!i.parent.inlineContent){let n=t&lt;0?i:s,a=o instanceof r.i5?r.LN.near(n,t):r.LN.findFrom(n,t);return!!a&amp;&amp;je(e,a)}return!1}function Ke(e,t){if(!(e.state.selection instanceof r.U3))return!0;let{$head:n,$anchor:o,empty:i}=e.state.selection;if(!n.sameParent(o))return!0;if(!i)return!1;if(e.endOfTextblock(t&gt;0?"forward":"backward"))return!0;let s=!n.textOffset&amp;&amp;(t&lt;0?n.nodeBefore:n.nodeAfter);if(s&amp;&amp;!s.isText){let r=e.state.tr;return t&lt;0?r.delete(n.pos-s.nodeSize,n.pos):r.delete(n.pos,n.pos+s.nodeSize),e.dispatch(r),!0}return!1}function qe(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Ye(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&amp;&amp;(t+="c"),e.metaKey&amp;&amp;(t+="m"),e.altKey&amp;&amp;(t+="a"),e.shiftKey&amp;&amp;(t+="s"),t}(t);if(8==n||L&amp;&amp;72==n&amp;&amp;"c"==r)return Ke(e,-1)||We(e,-1);if(46==n&amp;&amp;!t.shiftKey||L&amp;&amp;68==n&amp;&amp;"c"==r)return Ke(e,1)||We(e,1);if(13==n||27==n)return!0;if(37==n||L&amp;&amp;66==n&amp;&amp;"c"==r){let t=37==n?"ltr"==Ve(e,e.state.selection.from)?-1:1:-1;return Ge(e,t,r)||We(e,t)}if(39==n||L&amp;&amp;70==n&amp;&amp;"c"==r){let t=39==n?"ltr"==Ve(e,e.state.selection.from)?1:-1:1;return Ge(e,t,r)||We(e,t)}return 38==n||L&amp;&amp;80==n&amp;&amp;"c"==r?Xe(e,-1,r)||We(e,-1):40==n||L&amp;&amp;78==n&amp;&amp;"c"==r?function(e){if(!O||e.state.selection.$head.parentOffset&gt;0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&amp;&amp;1==t.nodeType&amp;&amp;0==n&amp;&amp;t.firstChild&amp;&amp;"false"==t.firstChild.contentEditable){let n=t.firstChild;qe(e,n,"true"),setTimeout((()=&gt;qe(e,n,"false")),20)}return!1}(e)||Xe(e,1,r)||We(e,1):r==(L?"m":"c")&amp;&amp;(66==n||73==n||89==n||90==n)}function Qe(e,t){e.someProp("transformCopied",(n=&gt;{t=n(t,e)}));let n=[],{content:r,openStart:i,openEnd:s}=t;for(;i&gt;1&amp;&amp;s&gt;1&amp;&amp;1==r.childCount&amp;&amp;1==r.firstChild.childCount;){i--,s--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||o.ZF.fromSchema(e.state.schema),l=at(),c=l.createElement("div");c.appendChild(a.serializeFragment(r,{document:l}));let u,d=c.firstChild,p=0;for(;d&amp;&amp;1==d.nodeType&amp;&amp;(u=it[d.nodeName.toLowerCase()]);){for(let e=u.length-1;e&gt;=0;e--){let t=l.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),p++}d=c.firstChild}return d&amp;&amp;1==d.nodeType&amp;&amp;d.setAttribute("data-pm-slice",`${i} ${s}${p?` -${p}`:""} ${JSON.stringify(n)}`),{dom:c,text:e.someProp("clipboardTextSerializer",(n=&gt;n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function Je(e,t,n,r,i){let s,a,l=i.parent.type.spec.code;if(!n&amp;&amp;!t)return null;let c=t&amp;&amp;(r||l||!n);if(c){if(e.someProp("transformPastedText",(n=&gt;{t=n(t,l||r,e)})),l)return t?new o.Ji(o.FK.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):o.Ji.empty;let n=e.someProp("clipboardTextParser",(n=&gt;n(t,i,r,e)));if(n)a=n;else{let n=i.marks(),{schema:r}=e.state,a=o.ZF.fromSchema(r);s=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=&gt;{let t=s.appendChild(document.createElement("p"));e&amp;&amp;t.appendChild(a.serializeNode(r.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=&gt;{n=t(n,e)})),s=function(e){let t=/^(\s*&lt;meta [^&gt;]*&gt;)*/.exec(e);t&amp;&amp;(e=e.slice(t[0].length));let n,r=at().createElement("div"),o=/&lt;([a-z][^&gt;\s]+)/i.exec(e);(n=o&amp;&amp;it[o[1].toLowerCase()])&amp;&amp;(e=n.map((e=&gt;"&lt;"+e+"&gt;")).join("")+e+n.map((e=&gt;"&lt;/"+e+"&gt;")).reverse().join(""));if(r.innerHTML=function(e){let t=window.trustedTypes;if(!t)return e;lt||(lt=t.createPolicy("ProseMirrorClipboard",{createHTML:e=&gt;e}));return lt.createHTML(e)}(e),n)for(let e=0;e&lt;n.length;e++)r=r.querySelector(n[e])||r;return r}(n),D&amp;&amp;function(e){let t=e.querySelectorAll(x?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n&lt;t.length;n++){let r=t[n];1==r.childNodes.length&amp;&amp;"Â&nbsp;"==r.textContent&amp;&amp;r.parentNode&amp;&amp;r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(s);let u=s&amp;&amp;s.querySelector("[data-pm-slice]"),d=u&amp;&amp;/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&amp;&amp;d[3])for(let e=+d[3];e&gt;0;e--){let e=s.firstChild;for(;e&amp;&amp;1!=e.nodeType;)e=e.nextSibling;if(!e)break;s=e}if(!a){let t=e.someProp("clipboardParser")||e.someProp("domParser")||o.S4.fromSchema(e.state.schema);a=t.parseSlice(s,{preserveWhitespace:!(!c&amp;&amp;!d),context:i,ruleFromNode:e=&gt;"BR"!=e.nodeName||e.nextSibling||!e.parentNode||Ze.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(d)a=function(e,t){if(!e.size)return e;let n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}let{content:i,openStart:s,openEnd:a}=e;for(let e=n.length-2;e&gt;=0;e-=2){let t=r.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;i=o.FK.from(t.create(n[e+1],i)),s++,a++}return new o.Ji(i,s,a)}(ot(a,+d[1],+d[2]),d[4]);else if(a=o.Ji.maxOpen(function(e,t){if(e.childCount&lt;2)return e;for(let n=t.depth;n&gt;=0;n--){let r,i=t.node(n).contentMatchAt(t.index(n)),s=[];if(e.forEach((e=&gt;{if(!s)return;let t,n=i.findWrapping(e.type);if(!n)return s=null;if(t=s.length&amp;&amp;r.length&amp;&amp;tt(n,r,e,s[s.length-1],0))s[s.length-1]=t;else{s.length&amp;&amp;(s[s.length-1]=nt(s[s.length-1],r.length));let t=et(e,n);s.push(t),i=i.matchType(t.type),r=n}})),s)return o.FK.from(s)}return e}(a.content,i),!0),a.openStart||a.openEnd){let e=0,t=0;for(let t=a.content.firstChild;e&lt;a.openStart&amp;&amp;!t.type.spec.isolating;e++,t=t.firstChild);for(let e=a.content.lastChild;t&lt;a.openEnd&amp;&amp;!e.type.spec.isolating;t++,e=e.lastChild);a=ot(a,e,t)}return e.someProp("transformPasted",(t=&gt;{a=t(a,e)})),a}const Ze=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function et(e,t,n=0){for(let r=t.length-1;r&gt;=n;r--)e=t[r].create(null,o.FK.from(e));return e}function tt(e,t,n,r,i){if(i&lt;e.length&amp;&amp;i&lt;t.length&amp;&amp;e[i]==t[i]){let s=tt(e,t,n,r.lastChild,i+1);if(s)return r.copy(r.content.replaceChild(r.childCount-1,s));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(o.FK.from(et(n,e,i+1))))}}function nt(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,nt(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(o.FK.empty,!0);return e.copy(n.append(r))}function rt(e,t,n,r,i,s){let a=t&lt;0?e.firstChild:e.lastChild,l=a.content;return e.childCount&gt;1&amp;&amp;(s=0),i&lt;r-1&amp;&amp;(l=rt(l,t,n,r,i+1,s)),i&gt;=n&amp;&amp;(l=t&lt;0?a.contentMatchAt(0).fillBefore(l,s&lt;=i).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(o.FK.empty,!0))),e.replaceChild(t&lt;0?0:e.childCount-1,a.copy(l))}function ot(e,t,n){return t&lt;e.openStart&amp;&amp;(e=new o.Ji(rt(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n&lt;e.openEnd&amp;&amp;(e=new o.Ji(rt(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const it={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let st=null;function at(){return st||(st=document.implementation.createHTMLDocument("title"))}let lt=null;const ct={},ut={},dt={touchstart:!0,touchmove:!0};class pt{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function ht(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function ft(e){e.someProp("handleDOMEvents",(t=&gt;{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=&gt;mt(e,t))}))}function mt(e,t){return e.someProp("handleDOMEvents",(n=&gt;{let r=n[t.type];return!!r&amp;&amp;(r(e,t)||t.defaultPrevented)}))}function gt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&amp;&amp;n.pmViewDesc.stopEvent(t))return!1;return!0}function vt(e){return{left:e.clientX,top:e.clientY}}function yt(e,t,n,r,o){if(-1==r)return!1;let i=e.state.doc.resolve(r);for(let r=i.depth+1;r&gt;0;r--)if(e.someProp(t,(t=&gt;r&gt;i.depth?t(e,n,i.nodeAfter,i.before(r),o,!0):t(e,n,i.node(r),i.before(r),o,!1))))return!0;return!1}function bt(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);"pointer"==n&amp;&amp;r.setMeta("pointer",!0),e.dispatch(r)}function wt(e,t,n,o,i){return yt(e,"handleClickOn",t,n,o)||e.someProp("handleClick",(n=&gt;n(e,t,o)))||(i?function(e,t){if(-1==t)return!1;let n,o,i=e.state.selection;i instanceof r.nh&amp;&amp;(n=i.node);let s=e.state.doc.resolve(t);for(let e=s.depth+1;e&gt;0;e--){let t=e&gt;s.depth?s.nodeAfter:s.node(e);if(r.nh.isSelectable(t)){o=n&amp;&amp;i.$from.depth&gt;0&amp;&amp;e&gt;=i.$from.depth&amp;&amp;s.before(i.$from.depth+1)==i.$from.pos?s.before(i.$from.depth):s.before(e);break}}return null!=o&amp;&amp;(bt(e,r.nh.create(e.state.doc,o),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),o=n.nodeAfter;return!!(o&amp;&amp;o.isAtom&amp;&amp;r.nh.isSelectable(o))&amp;&amp;(bt(e,new r.nh(n),"pointer"),!0)}(e,n))}function St(e,t,n,r){return yt(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(n=&gt;n(e,t,r)))}function _t(e,t,n,o){return yt(e,"handleTripleClickOn",t,n,o)||e.someProp("handleTripleClick",(n=&gt;n(e,t,o)))||function(e,t,n){if(0!=n.button)return!1;let o=e.state.doc;if(-1==t)return!!o.inlineContent&amp;&amp;(bt(e,r.U3.create(o,0,o.content.size),"pointer"),!0);let i=o.resolve(t);for(let t=i.depth+1;t&gt;0;t--){let n=t&gt;i.depth?i.nodeAfter:i.node(t),s=i.before(t);if(n.inlineContent)bt(e,r.U3.create(o,s+1,s+1+n.content.size),"pointer");else{if(!r.nh.isSelectable(n))continue;bt(e,r.nh.create(o,s),"pointer")}return!0}}(e,n,o)}function kt(e){return Lt(e)}ut.keydown=(e,t)=&gt;{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Et(e,n)&amp;&amp;(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!N||!x||13!=n.keyCode))if(229!=n.keyCode&amp;&amp;e.domObserver.forceFlush(),!I||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=&gt;t(e,n)))||Ye(e,n)?n.preventDefault():ht(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=&gt;{e.input.lastIOSEnter==t&amp;&amp;(e.someProp("handleKeyDown",(t=&gt;t(e,g(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},ut.keyup=(e,t)=&gt;{16==t.keyCode&amp;&amp;(e.input.shiftKey=!1)},ut.keypress=(e,t)=&gt;{let n=t;if(Et(e,n)||!n.charCode||n.ctrlKey&amp;&amp;!n.altKey||L&amp;&amp;n.metaKey)return;if(e.someProp("handleKeyPress",(t=&gt;t(e,n))))return void n.preventDefault();let o=e.state.selection;if(!(o instanceof r.U3&amp;&amp;o.$from.sameParent(o.$to))){let t=String.fromCharCode(n.charCode);/[\r\n]/.test(t)||e.someProp("handleTextInput",(n=&gt;n(e,o.$from.pos,o.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const At=L?"metaKey":"ctrlKey";ct.mousedown=(e,t)=&gt;{let n=t;e.input.shiftKey=n.shiftKey;let r=kt(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time&lt;500&amp;&amp;function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r&lt;100}(n,e.input.lastClick)&amp;&amp;!n[At]&amp;&amp;("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&amp;&amp;(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let s=e.posAtCoords(vt(n));s&amp;&amp;("singleClick"==i?(e.input.mouseDown&amp;&amp;e.input.mouseDown.done(),e.input.mouseDown=new Tt(e,s,n,!!r)):("doubleClick"==i?St:_t)(e,s.pos,s.inside,n)?n.preventDefault():ht(e,"pointer"))};class Tt{constructor(e,t,n,o){let i,s;if(this.view=e,this.pos=t,this.event=n,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[At],this.allowDefault=n.shiftKey,t.inside&gt;-1)i=e.state.doc.nodeAt(t.inside),s=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,s=n.depth?n.before():0}const a=o?null:n.target,l=a?e.docView.nearestDesc(a,!0):null;this.target=l&amp;&amp;1==l.dom.nodeType?l.dom:null;let{selection:c}=e.state;(0==n.button&amp;&amp;i.type.spec.draggable&amp;&amp;!1!==i.type.spec.selectable||c instanceof r.nh&amp;&amp;c.from&lt;=s&amp;&amp;c.to&gt;s)&amp;&amp;(this.mightDrag={node:i,pos:s,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!T||this.target.hasAttribute("contentEditable"))}),this.target&amp;&amp;this.mightDrag&amp;&amp;(this.mightDrag.addAttr||this.mightDrag.setUneditable)&amp;&amp;(this.view.domObserver.stop(),this.mightDrag.addAttr&amp;&amp;(this.target.draggable=!0),this.mightDrag.setUneditable&amp;&amp;setTimeout((()=&gt;{this.view.input.mouseDown==this&amp;&amp;this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),ht(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&amp;&amp;this.target&amp;&amp;(this.view.domObserver.stop(),this.mightDrag.addAttr&amp;&amp;this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&amp;&amp;this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&amp;&amp;setTimeout((()=&gt;Ce(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&amp;&amp;(t=this.view.posAtCoords(vt(e))),this.updateAllowDefault(e),this.allowDefault||!t?ht(this.view,"pointer"):wt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&amp;&amp;(this.flushed||O&amp;&amp;this.mightDrag&amp;&amp;!this.mightDrag.node.isAtom||x&amp;&amp;!this.view.state.selection.visible&amp;&amp;Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))&lt;=2)?(bt(this.view,r.LN.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ht(this.view,"pointer")}move(e){this.updateAllowDefault(e),ht(this.view,"pointer"),0==e.buttons&amp;&amp;this.done()}updateAllowDefault(e){!this.allowDefault&amp;&amp;(Math.abs(this.event.x-e.clientX)&gt;4||Math.abs(this.event.y-e.clientY)&gt;4)&amp;&amp;(this.allowDefault=!0)}}function Et(e,t){return!!e.composing||!!(O&amp;&amp;Math.abs(t.timeStamp-e.input.compositionEndedAt)&lt;500)&amp;&amp;(e.input.compositionEndedAt=-2e8,!0)}ct.touchstart=e=&gt;{e.input.lastTouch=Date.now(),kt(e),ht(e,"pointer")},ct.touchmove=e=&gt;{e.input.lastTouch=Date.now(),ht(e,"pointer")},ct.contextmenu=e=&gt;kt(e);const xt=N?5e3:-1;function Ct(e,t){clearTimeout(e.input.composingTimeout),t&gt;-1&amp;&amp;(e.input.composingTimeout=setTimeout((()=&gt;Lt(e)),t))}function Ot(e){for(e.composing&amp;&amp;(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length&gt;0;)e.input.compositionNodes.pop().markParentsDirty()}function It(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&amp;&amp;t)return e;if(1==e.nodeType&amp;&amp;t&gt;0){if("false"==e.contentEditable)return null;t=h(e=e.childNodes[t-1])}else{if(!e.parentNode||f(e))return null;t=s(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&amp;&amp;t&lt;e.nodeValue.length)return e;if(1==e.nodeType&amp;&amp;t&lt;e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||f(e))return null;t=s(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&amp;&amp;r&amp;&amp;n!=r){let t=r.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&amp;&amp;e.isText(n.nodeValue))return r}}return n||r}function Lt(e,t=!1){if(!(N&amp;&amp;e.domObserver.flushingSoon&gt;=0)){if(e.domObserver.forceFlush(),Ot(e),t||e.docView&amp;&amp;e.docView.dirty){let n=Ee(e);return n&amp;&amp;!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&amp;&amp;!t||e.state.selection.empty?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}ut.compositionstart=ut.compositionupdate=e=&gt;{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof r.U3&amp;&amp;(t.storedMarks||!n.textOffset&amp;&amp;n.parentOffset&amp;&amp;n.nodeBefore.marks.some((e=&gt;!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),Lt(e,!0),e.markCursor=null;else if(Lt(e,!t.selection.empty),T&amp;&amp;t.selection.empty&amp;&amp;n.parentOffset&amp;&amp;!n.textOffset&amp;&amp;n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&amp;&amp;1==n.nodeType&amp;&amp;0!=r;){let t=r&lt;0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&amp;&amp;n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}Ct(e,xt)},ut.compositionend=(e,t)=&gt;{e.composing&amp;&amp;(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&amp;&amp;Promise.resolve().then((()=&gt;e.domObserver.flush())),e.input.compositionID++,Ct(e,20))};const Pt=k&amp;&amp;A&lt;15||I&amp;&amp;R&lt;604;function Nt(e,t,n,r,i){let s=Je(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(t=&gt;t(e,i,s||o.Ji.empty))))return!0;if(!s)return!1;let a=function(e){return 0==e.openStart&amp;&amp;0==e.openEnd&amp;&amp;1==e.content.childCount?e.content.firstChild:null}(s),l=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(s);return e.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Dt(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ct.copy=ut.cut=(e,t)=&gt;{let n=t,r=e.state.selection,o="cut"==n.type;if(r.empty)return;let i=Pt?null:n.clipboardData,s=r.content(),{dom:a,text:l}=Qe(e,s);i?(n.preventDefault(),i.clearData(),i.setData("text/html",a.innerHTML),i.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout((()=&gt;{n.parentNode&amp;&amp;n.parentNode.removeChild(n),e.focus()}),50)}(e,a),o&amp;&amp;e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},ut.paste=(e,t)=&gt;{let n=t;if(e.composing&amp;&amp;!N)return;let r=Pt?null:n.clipboardData,o=e.input.shiftKey&amp;&amp;45!=e.input.lastKeyCode;r&amp;&amp;Nt(e,Dt(r),r.getData("text/html"),o,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=e.input.shiftKey&amp;&amp;45!=e.input.lastKeyCode;setTimeout((()=&gt;{e.focus(),r.parentNode&amp;&amp;r.parentNode.removeChild(r),n?Nt(e,r.value,null,o,t):Nt(e,r.textContent,r.innerHTML,o,t)}),50)}(e,n)};class Rt{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const Mt=L?"altKey":"ctrlKey";ct.dragstart=(e,t)=&gt;{let n=t,o=e.input.mouseDown;if(o&amp;&amp;o.done(),!n.dataTransfer)return;let i,s=e.state.selection,a=s.empty?null:e.posAtCoords(vt(n));if(a&amp;&amp;a.pos&gt;=s.from&amp;&amp;a.pos&lt;=(s instanceof r.nh?s.to-1:s.to));else if(o&amp;&amp;o.mightDrag)i=r.nh.create(e.state.doc,o.mightDrag.pos);else if(n.target&amp;&amp;1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&amp;&amp;t.node.type.spec.draggable&amp;&amp;t!=e.docView&amp;&amp;(i=r.nh.create(e.state.doc,t.posBefore))}let l=(i||e.state.selection).content(),{dom:c,text:u,slice:d}=Qe(e,l);(!n.dataTransfer.files.length||!x||C&gt;120)&amp;&amp;n.dataTransfer.clearData(),n.dataTransfer.setData(Pt?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",Pt||n.dataTransfer.setData("text/plain",u),e.dragging=new Rt(d,!n[Mt],i)},ct.dragend=e=&gt;{let t=e.dragging;window.setTimeout((()=&gt;{e.dragging==t&amp;&amp;(e.dragging=null)}),50)},ut.dragover=ut.dragenter=(e,t)=&gt;t.preventDefault(),ut.drop=(e,t)=&gt;{let n=t,s=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let a=e.posAtCoords(vt(n));if(!a)return;let l=e.state.doc.resolve(a.pos),c=s&amp;&amp;s.slice;c?e.someProp("transformPasted",(t=&gt;{c=t(c,e)})):c=Je(e,Dt(n.dataTransfer),Pt?null:n.dataTransfer.getData("text/html"),!1,l);let u=!(!s||n[Mt]);if(e.someProp("handleDrop",(t=&gt;t(e,n,c||o.Ji.empty,u))))return void n.preventDefault();if(!c)return;n.preventDefault();let d=c?(0,i.Um)(e.state.doc,l.pos,c):l.pos;null==d&amp;&amp;(d=l.pos);let p=e.state.tr;if(u){let{node:e}=s;e?e.replace(p):p.deleteSelection()}let h=p.mapping.map(d),f=0==c.openStart&amp;&amp;0==c.openEnd&amp;&amp;1==c.content.childCount,m=p.doc;if(f?p.replaceRangeWith(h,h,c.content.firstChild):p.replaceRange(h,h,c),p.doc.eq(m))return;let g=p.doc.resolve(h);if(f&amp;&amp;r.nh.isSelectable(c.content.firstChild)&amp;&amp;g.nodeAfter&amp;&amp;g.nodeAfter.sameMarkup(c.content.firstChild))p.setSelection(new r.nh(g));else{let t=p.mapping.map(d);p.mapping.maps[p.mapping.maps.length-1].forEach(((e,n,r,o)=&gt;t=o)),p.setSelection(Re(e,g,p.doc.resolve(t)))}e.focus(),e.dispatch(p.setMeta("uiEvent","drop"))},ct.focus=e=&gt;{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=&gt;{e.docView&amp;&amp;e.hasFocus()&amp;&amp;!e.domObserver.currentSelection.eq(e.domSelectionRange())&amp;&amp;Ce(e)}),20))},ct.blur=(e,t)=&gt;{let n=t;e.focused&amp;&amp;(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&amp;&amp;e.dom.contains(n.relatedTarget)&amp;&amp;e.domObserver.currentSelection.clear(),e.focused=!1)},ct.beforeinput=(e,t)=&gt;{if(x&amp;&amp;N&amp;&amp;"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=&gt;{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=&gt;t(e,g(8,"Backspace")))))return;let{$cursor:n}=e.state.selection;n&amp;&amp;n.pos&gt;0&amp;&amp;e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let e in ut)ct[e]=ut[e];function Ft(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Ht{constructor(e,t){this.toDOM=e,this.spec=t||Wt,this.side=this.spec.side||0}map(e,t,n,r){let{pos:o,deleted:i}=e.mapResult(t.from+r,this.side&lt;0?-1:1);return i?null:new Bt(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Ht&amp;&amp;(this.spec.key&amp;&amp;this.spec.key==e.spec.key||this.toDOM==e.toDOM&amp;&amp;Ft(this.spec,e.spec))}destroy(e){this.spec.destroy&amp;&amp;this.spec.destroy(e)}}class jt{constructor(e,t){this.attrs=e,this.spec=t||Wt}map(e,t,n,r){let o=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return o&gt;=i?null:new Bt(o,i,this)}valid(e,t){return t.from&lt;t.to}eq(e){return this==e||e instanceof jt&amp;&amp;Ft(this.attrs,e.attrs)&amp;&amp;Ft(this.spec,e.spec)}static is(e){return e.type instanceof jt}destroy(){}}class Gt{constructor(e,t){this.attrs=e,this.spec=t||Wt}map(e,t,n,r){let o=e.mapResult(t.from+r,1);if(o.deleted)return null;let i=e.mapResult(t.to+r,-1);return i.deleted||i.pos&lt;=o.pos?null:new Bt(o.pos-n,i.pos-n,this)}valid(e,t){let n,{index:r,offset:o}=e.content.findIndex(t.from);return o==t.from&amp;&amp;!(n=e.child(r)).isText&amp;&amp;o+n.nodeSize==t.to}eq(e){return this==e||e instanceof Gt&amp;&amp;Ft(this.attrs,e.attrs)&amp;&amp;Ft(this.spec,e.spec)}destroy(){}}class Bt{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Bt(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&amp;&amp;this.from+t==e.from&amp;&amp;this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new Bt(e,e,new Ht(t,n))}static inline(e,t,n,r){return new Bt(e,t,new jt(n,r))}static node(e,t,n,r){return new Bt(e,t,new Gt(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof jt}get widget(){return this.type instanceof Ht}}const $t=[],Wt={};class Ut{constructor(e,t){this.local=e.length?e:$t,this.children=t.length?t:$t}static create(e,t){return t.length?Yt(t,e,0,Wt):zt}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,o){for(let i=0;i&lt;this.local.length;i++){let s=this.local[i];s.from&lt;=t&amp;&amp;s.to&gt;=e&amp;&amp;(!o||o(s.spec))&amp;&amp;n.push(s.copy(s.from+r,s.to+r))}for(let i=0;i&lt;this.children.length;i+=3)if(this.children[i]&lt;t&amp;&amp;this.children[i+1]&gt;e){let s=this.children[i]+1;this.children[i+2].findInner(e-s,t-s,n,r+s,o)}}map(e,t,n){return this==zt||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Wt)}mapInner(e,t,n,r,o){let i;for(let s=0;s&lt;this.local.length;s++){let a=this.local[s].map(e,n,r);a&amp;&amp;a.type.valid(t,a)?(i||(i=[])).push(a):o.onRemove&amp;&amp;o.onRemove(this.local[s].spec)}return this.children.length?function(e,t,n,r,o,i,s){let a=e.slice();for(let e=0,t=i;e&lt;n.maps.length;e++){let r=0;n.maps[e].forEach(((e,n,o,i)=&gt;{let s=i-o-(n-e);for(let o=0;o&lt;a.length;o+=3){let i=a[o+1];if(i&lt;0||e&gt;i+t-r)continue;let l=a[o]+t-r;n&gt;=l?a[o+1]=e&lt;=l?-2:-1:e&gt;=t&amp;&amp;s&amp;&amp;(a[o]+=s,a[o+1]+=s)}r+=s})),t=n.maps[e].map(t,-1)}let l=!1;for(let t=0;t&lt;a.length;t+=3)if(a[t+1]&lt;0){if(-2==a[t+1]){l=!0,a[t+1]=-1;continue}let c=n.map(e[t]+i),u=c-o;if(u&lt;0||u&gt;=r.content.size){l=!0;continue}let d=n.map(e[t+1]+i,-1)-o,{index:p,offset:h}=r.content.findIndex(u),f=r.maybeChild(p);if(f&amp;&amp;h==u&amp;&amp;h+f.nodeSize==d){let r=a[t+2].mapInner(n,f,c+1,e[t]+i+1,s);r!=zt?(a[t]=u,a[t+1]=d,a[t+2]=r):(a[t+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,o,i,s){function a(e,t){for(let i=0;i&lt;e.local.length;i++){let a=e.local[i].map(r,o,t);a?n.push(a):s.onRemove&amp;&amp;s.onRemove(e.local[i].spec)}for(let n=0;n&lt;e.children.length;n+=3)a(e.children[n+2],e.children[n]+t+1)}for(let n=0;n&lt;e.length;n+=3)-1==e[n+1]&amp;&amp;a(e[n+2],t[n]+i+1);return n}(a,e,t,n,o,i,s),c=Yt(l,r,0,s);t=c.local;for(let e=0;e&lt;a.length;e+=3)a[e+1]&lt;0&amp;&amp;(a.splice(e,3),e-=3);for(let e=0,t=0;e&lt;c.children.length;e+=3){let n=c.children[e];for(;t&lt;a.length&amp;&amp;a[t]&lt;n;)t+=3;a.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new Ut(t.sort(Qt),a)}(this.children,i||[],e,t,n,r,o):i?new Ut(i.sort(Qt),$t):zt}add(e,t){return t.length?this==zt?Ut.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,o=0;e.forEach(((e,i)=&gt;{let s,a=i+n;if(s=Kt(t,e,a)){for(r||(r=this.children.slice());o&lt;r.length&amp;&amp;r[o]&lt;i;)o+=3;r[o]==i?r[o+2]=r[o+2].addInner(e,s,a+1):r.splice(o,0,i,i+e.nodeSize,Yt(s,e,a+1,Wt)),o+=3}}));let i=Xt(o?qt(t):t,-n);for(let t=0;t&lt;i.length;t++)i[t].type.valid(e,i[t])||i.splice(t--,1);return new Ut(i.length?this.local.concat(i).sort(Qt):this.local,r||this.children)}remove(e){return 0==e.length||this==zt?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let r=0;r&lt;n.length;r+=3){let o,i=n[r]+t,s=n[r+1]+t;for(let t,n=0;n&lt;e.length;n++)(t=e[n])&amp;&amp;t.from&gt;i&amp;&amp;t.to&lt;s&amp;&amp;(e[n]=null,(o||(o=[])).push(t));if(!o)continue;n==this.children&amp;&amp;(n=this.children.slice());let a=n[r+2].removeInner(o,i+1);a!=zt?n[r+2]=a:(n.splice(r,3),r-=3)}if(r.length)for(let n,o=0;o&lt;e.length;o++)if(n=e[o])for(let e=0;e&lt;r.length;e++)r[e].eq(n,t)&amp;&amp;(r==this.local&amp;&amp;(r=this.local.slice()),r.splice(e--,1));return n==this.children&amp;&amp;r==this.local?this:r.length||n.length?new Ut(r,n):zt}forChild(e,t){if(this==zt)return this;if(t.isLeaf)return Ut.empty;let n,r;for(let t=0;t&lt;this.children.length;t+=3)if(this.children[t]&gt;=e){this.children[t]==e&amp;&amp;(n=this.children[t+2]);break}let o=e+1,i=o+t.content.size;for(let e=0;e&lt;this.local.length;e++){let t=this.local[e];if(t.from&lt;i&amp;&amp;t.to&gt;o&amp;&amp;t.type instanceof jt){let e=Math.max(o,t.from)-o,n=Math.min(i,t.to)-o;e&lt;n&amp;&amp;(r||(r=[])).push(t.copy(e,n))}}if(r){let e=new Ut(r.sort(Qt),$t);return n?new Vt([e,n]):e}return n||zt}eq(e){if(this==e)return!0;if(!(e instanceof Ut)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t&lt;this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t&lt;this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return Jt(this.localsInner(e))}localsInner(e){if(this==zt)return $t;if(e.inlineContent||!this.local.some(jt.is))return this.local;let t=[];for(let e=0;e&lt;this.local.length;e++)this.local[e].type instanceof jt||t.push(this.local[e]);return t}forEachSet(e){e(this)}}Ut.empty=new Ut([],[]),Ut.removeOverlap=Jt;const zt=Ut.empty;class Vt{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=&gt;n.map(e,t,Wt)));return Vt.from(n)}forChild(e,t){if(t.isLeaf)return Ut.empty;let n=[];for(let r=0;r&lt;this.members.length;r++){let o=this.members[r].forChild(e,t);o!=zt&amp;&amp;(o instanceof Vt?n=n.concat(o.members):n.push(o))}return Vt.from(n)}eq(e){if(!(e instanceof Vt)||e.members.length!=this.members.length)return!1;for(let t=0;t&lt;this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r&lt;this.members.length;r++){let o=this.members[r].localsInner(e);if(o.length)if(t){n&amp;&amp;(t=t.slice(),n=!1);for(let e=0;e&lt;o.length;e++)t.push(o[e])}else t=o}return t?Jt(n?t:t.sort(Qt)):$t}static from(e){switch(e.length){case 0:return zt;case 1:return e[0];default:return new Vt(e.every((e=&gt;e instanceof Ut))?e:e.reduce(((e,t)=&gt;e.concat(t instanceof Ut?t:t.members)),[]))}}forEachSet(e){for(let t=0;t&lt;this.members.length;t++)this.members[t].forEachSet(e)}}function Xt(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r&lt;e.length;r++){let o=e[r];n.push(new Bt(o.from+t,o.to+t,o.type))}return n}function Kt(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,o=null;for(let t,i=0;i&lt;e.length;i++)(t=e[i])&amp;&amp;t.from&gt;n&amp;&amp;t.to&lt;r&amp;&amp;((o||(o=[])).push(t),e[i]=null);return o}function qt(e){let t=[];for(let n=0;n&lt;e.length;n++)null!=e[n]&amp;&amp;t.push(e[n]);return t}function Yt(e,t,n,r){let o=[],i=!1;t.forEach(((t,s)=&gt;{let a=Kt(e,t,s+n);if(a){i=!0;let e=Yt(a,t,n+s+1,r);e!=zt&amp;&amp;o.push(s,s+t.nodeSize,e)}}));let s=Xt(i?qt(e):e,-n).sort(Qt);for(let e=0;e&lt;s.length;e++)s[e].type.valid(t,s[e])||(r.onRemove&amp;&amp;r.onRemove(s[e].spec),s.splice(e--,1));return s.length||o.length?new Ut(s,o):zt}function Qt(e,t){return e.from-t.from||e.to-t.to}function Jt(e){let t=e;for(let n=0;n&lt;t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let o=n+1;o&lt;t.length;o++){let i=t[o];if(i.from!=r.from){i.from&lt;r.to&amp;&amp;(t==e&amp;&amp;(t=e.slice()),t[n]=r.copy(r.from,i.from),Zt(t,o,r.copy(i.from,r.to)));break}i.to!=r.to&amp;&amp;(t==e&amp;&amp;(t=e.slice()),t[o]=i.copy(i.from,r.to),Zt(t,o+1,i.copy(r.to,i.to)))}}return t}function Zt(e,t,n){for(;t&lt;e.length&amp;&amp;Qt(n,e[t])&gt;0;)t++;e.splice(t,0,n)}function en(e){let t=[];return e.someProp("decorations",(n=&gt;{let r=n(e.state);r&amp;&amp;r!=zt&amp;&amp;t.push(r)})),e.cursorWrapper&amp;&amp;t.push(Ut.create(e.state.doc,[e.cursorWrapper.deco])),Vt.from(t)}const tn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},nn=k&amp;&amp;A&lt;=11;class rn{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&amp;&amp;e.anchorOffset==this.anchorOffset&amp;&amp;e.focusNode==this.focusNode&amp;&amp;e.focusOffset==this.focusOffset}}class on{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new rn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&amp;&amp;new window.MutationObserver((e=&gt;{for(let t=0;t&lt;e.length;t++)this.queue.push(e[t]);k&amp;&amp;A&lt;=11&amp;&amp;e.some((e=&gt;"childList"==e.type&amp;&amp;e.removedNodes.length||"characterData"==e.type&amp;&amp;e.oldValue.length&gt;e.target.nodeValue.length))?this.flushSoon():this.flush()})),nn&amp;&amp;(this.onCharData=e=&gt;{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon&lt;0&amp;&amp;(this.flushingSoon=window.setTimeout((()=&gt;{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon&gt;-1&amp;&amp;(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&amp;&amp;(this.observer.takeRecords(),this.observer.observe(this.view.dom,tn)),this.onCharData&amp;&amp;this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t&lt;e.length;t++)this.queue.push(e[t]);window.setTimeout((()=&gt;this.flush()),20)}this.observer.disconnect()}this.onCharData&amp;&amp;this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=&gt;this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Me(this.view)){if(this.suppressingSelectionUpdates)return Ce(this.view);if(k&amp;&amp;A&lt;=11&amp;&amp;!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&amp;&amp;u(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let t=e.focusNode;t;t=a(t))n.add(t);for(let r=e.anchorNode;r;r=a(r))if(n.has(r)){t=r;break}let r=t&amp;&amp;this.view.docView.nearestDesc(t);return r&amp;&amp;r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon&gt;-1)return;let t=this.pendingRecords();t.length&amp;&amp;(this.queue=[]);let n=e.domSelectionRange(),o=!this.suppressingSelectionUpdates&amp;&amp;!this.currentSelection.eq(n)&amp;&amp;Me(e)&amp;&amp;!this.ignoreSelectionChange(n),i=-1,s=-1,a=!1,l=[];if(e.editable)for(let e=0;e&lt;t.length;e++){let n=this.registerMutation(t[e],l);n&amp;&amp;(i=i&lt;0?n.from:Math.min(n.from,i),s=s&lt;0?n.to:Math.max(n.to,s),n.typeOver&amp;&amp;(a=!0))}if(T&amp;&amp;l.length){let t=l.filter((e=&gt;"BR"==e.nodeName));if(2==t.length){let[e,n]=t;e.parentNode&amp;&amp;e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;!t||"LI"!=t.nodeName||n&amp;&amp;cn(e,n)==t||r.remove()}}}let c=null;i&lt;0&amp;&amp;o&amp;&amp;e.input.lastFocus&gt;Date.now()-200&amp;&amp;Math.max(e.input.lastTouch,e.input.lastClick.time)&lt;Date.now()-300&amp;&amp;m(n)&amp;&amp;(c=Ee(e))&amp;&amp;c.eq(r.LN.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Ce(e),this.currentSelection.set(n),e.scrollToSelection()):(i&gt;-1||o)&amp;&amp;(i&gt;-1&amp;&amp;(e.docView.markDirty(i,s),function(e){if(sn.has(e))return;if(sn.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=T,an)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),an=!0}}(e)),this.handleDOMChange(i,s,a,l),e.docView&amp;&amp;e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Ce(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)&gt;-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&amp;&amp;(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&amp;&amp;!e.oldValue&amp;&amp;!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n&lt;e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),3==r.nodeType&amp;&amp;(this.lastChangedTextNode=r)}if(n.contentDOM&amp;&amp;n.contentDOM!=n.dom&amp;&amp;!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,o=e.nextSibling;if(k&amp;&amp;A&lt;=11&amp;&amp;e.addedNodes.length)for(let t=0;t&lt;e.addedNodes.length;t++){let{previousSibling:n,nextSibling:i}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)&lt;0)&amp;&amp;(r=n),(!i||Array.prototype.indexOf.call(e.addedNodes,i)&lt;0)&amp;&amp;(o=i)}let i=r&amp;&amp;r.parentNode==e.target?s(r)+1:0,a=n.localPosFromDOM(e.target,i,-1),l=o&amp;&amp;o.parentNode==e.target?s(o):e.target.childNodes.length;return{from:a,to:n.localPosFromDOM(e.target,l,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let sn=new WeakMap,an=!1;function ln(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return u(s.node,s.offset,o,i)&amp;&amp;([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function cn(e,t){for(let n=t.parentNode;n&amp;&amp;n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&amp;&amp;t.node.isBlock)return n}return null}function un(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&amp;&amp;e.parentNode){if(O&amp;&amp;/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||O&amp;&amp;/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&amp;&amp;e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const dn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function pn(e,t,n,i,s){let a=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t&lt;0){let t=e.input.lastSelectionTime&gt;Date.now()-50?e.input.lastSelectionOrigin:null,n=Ee(e,t);if(n&amp;&amp;!e.state.selection.eq(n)){if(x&amp;&amp;N&amp;&amp;13===e.input.lastKeyCode&amp;&amp;Date.now()-100&lt;e.input.lastKeyCodeTime&amp;&amp;e.someProp("handleKeyDown",(t=&gt;t(e,g(13,"Enter")))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&amp;&amp;r.scrollIntoView(),a&amp;&amp;r.setMeta("composition",a),e.dispatch(r)}return}let l=e.state.doc.resolve(t),c=l.sharedDepth(n);t=l.before(c+1),n=e.state.doc.resolve(n).after(c+1);let u,d,p=e.state.selection,h=function(e,t,n){let r,{node:i,fromOffset:s,toOffset:a,from:l,to:c}=e.docView.parseRange(t,n),u=e.domSelectionRange(),d=u.anchorNode;if(d&amp;&amp;e.dom.contains(1==d.nodeType?d:d.parentNode)&amp;&amp;(r=[{node:d,offset:u.anchorOffset}],m(u)||r.push({node:u.focusNode,offset:u.focusOffset})),x&amp;&amp;8===e.input.lastKeyCode)for(let e=a;e&gt;s;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&amp;&amp;!n){a=e;break}if(!n||n.size)break}let p=e.state.doc,h=e.someProp("domParser")||o.S4.fromSchema(e.state.schema),f=p.resolve(l),g=null,v=h.parse(i,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:s,to:a,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:r,ruleFromNode:un,context:f});if(r&amp;&amp;null!=r[0].pos){let e=r[0].pos,t=r[1]&amp;&amp;r[1].pos;null==t&amp;&amp;(t=e),g={anchor:e+l,head:t+l}}return{doc:v,sel:g,from:l,to:c}}(e,t,n),f=e.state.doc,v=f.slice(h.from,h.to);8===e.input.lastKeyCode&amp;&amp;Date.now()-100&lt;e.input.lastKeyCodeTime?(u=e.state.selection.to,d="end"):(u=e.state.selection.from,d="start"),e.input.lastKeyCode=null;let y=function(e,t,n,r,o){let i=e.findDiffStart(t,n);if(null==i)return null;let{a:s,b:a}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==o){r-=s+Math.max(0,i-Math.min(s,a))-i}if(s&lt;i&amp;&amp;e.size&lt;t.size){let e=r&lt;=i&amp;&amp;r&gt;=s?i-r:0;i-=e,i&amp;&amp;i&lt;t.size&amp;&amp;mn(t.textBetween(i-1,i+1))&amp;&amp;(i+=e?1:-1),a=i+(a-s),s=i}else if(a&lt;i){let t=r&lt;=i&amp;&amp;r&gt;=a?i-r:0;i-=t,i&amp;&amp;i&lt;e.size&amp;&amp;mn(e.textBetween(i-1,i+1))&amp;&amp;(i+=t?1:-1),s=i+(s-a),a=i}return{start:i,endA:s,endB:a}}(v.content,h.doc.content,h.from,u,d);if(y&amp;&amp;e.input.domChangeCount++,(I&amp;&amp;e.input.lastIOSEnter&gt;Date.now()-225||N)&amp;&amp;s.some((e=&gt;1==e.nodeType&amp;&amp;!dn.test(e.nodeName)))&amp;&amp;(!y||y.endA&gt;=y.endB)&amp;&amp;e.someProp("handleKeyDown",(t=&gt;t(e,g(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!y){if(!(i&amp;&amp;p instanceof r.U3&amp;&amp;!p.empty&amp;&amp;p.$head.sameParent(p.$anchor))||e.composing||h.sel&amp;&amp;h.sel.anchor!=h.sel.head){if(h.sel){let t=hn(e,e.state.doc,h.sel);if(t&amp;&amp;!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);a&amp;&amp;n.setMeta("composition",a),e.dispatch(n)}}return}y={start:p.from,endA:p.to,endB:p.to}}e.state.selection.from&lt;e.state.selection.to&amp;&amp;y.start==y.endB&amp;&amp;e.state.selection instanceof r.U3&amp;&amp;(y.start&gt;e.state.selection.from&amp;&amp;y.start&lt;=e.state.selection.from+2&amp;&amp;e.state.selection.from&gt;=h.from?y.start=e.state.selection.from:y.endA&lt;e.state.selection.to&amp;&amp;y.endA&gt;=e.state.selection.to-2&amp;&amp;e.state.selection.to&lt;=h.to&amp;&amp;(y.endB+=e.state.selection.to-y.endA,y.endA=e.state.selection.to)),k&amp;&amp;A&lt;=11&amp;&amp;y.endB==y.start+1&amp;&amp;y.endA==y.start&amp;&amp;y.start&gt;h.from&amp;&amp;" Â&nbsp;"==h.doc.textBetween(y.start-h.from-1,y.start-h.from+1)&amp;&amp;(y.start--,y.endA--,y.endB--);let b,w=h.doc.resolveNoCache(y.start-h.from),S=h.doc.resolveNoCache(y.endB-h.from),_=f.resolve(y.start),T=w.sameParent(S)&amp;&amp;w.parent.inlineContent&amp;&amp;_.end()&gt;=y.endA;if((I&amp;&amp;e.input.lastIOSEnter&gt;Date.now()-225&amp;&amp;(!T||s.some((e=&gt;"DIV"==e.nodeName||"P"==e.nodeName)))||!T&amp;&amp;w.pos&lt;h.doc.content.size&amp;&amp;!w.sameParent(S)&amp;&amp;(b=r.LN.findFrom(h.doc.resolve(w.pos+1),1,!0))&amp;&amp;b.head==S.pos)&amp;&amp;e.someProp("handleKeyDown",(t=&gt;t(e,g(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor&gt;y.start&amp;&amp;function(e,t,n,r,o){if(n-t&lt;=o.pos-r.pos||fn(r,!0,!1)&lt;o.pos)return!1;let i=e.resolve(t);if(!r.parent.isTextblock){let e=i.nodeAfter;return null!=e&amp;&amp;n==t+e.nodeSize}if(i.parentOffset&lt;i.parent.content.size||!i.parent.isTextblock)return!1;let s=e.resolve(fn(i,!0,!0));return!(!s.parent.isTextblock||s.pos&gt;n||fn(s,!0,!1)&lt;n)&amp;&amp;r.parent.content.cut(r.parentOffset).eq(s.parent.content)}(f,y.start,y.endA,w,S)&amp;&amp;e.someProp("handleKeyDown",(t=&gt;t(e,g(8,"Backspace")))))return void(N&amp;&amp;x&amp;&amp;e.domObserver.suppressSelectionUpdates());x&amp;&amp;N&amp;&amp;y.endB==y.start&amp;&amp;(e.input.lastAndroidDelete=Date.now()),N&amp;&amp;!T&amp;&amp;w.start()!=S.start()&amp;&amp;0==S.parentOffset&amp;&amp;w.depth==S.depth&amp;&amp;h.sel&amp;&amp;h.sel.anchor==h.sel.head&amp;&amp;h.sel.head==y.endA&amp;&amp;(y.endB-=2,S=h.doc.resolveNoCache(y.endB-h.from),setTimeout((()=&gt;{e.someProp("handleKeyDown",(function(t){return t(e,g(13,"Enter"))}))}),20));let E,C,O,L=y.start,P=y.endA;if(T)if(w.pos==S.pos)k&amp;&amp;A&lt;=11&amp;&amp;0==w.parentOffset&amp;&amp;(e.domObserver.suppressSelectionUpdates(),setTimeout((()=&gt;Ce(e)),20)),E=e.state.tr.delete(L,P),C=f.resolve(y.start).marksAcross(f.resolve(y.endA));else if(y.endA==y.endB&amp;&amp;(O=function(e,t){let n,r,i,s=e.firstChild.marks,a=t.firstChild.marks,l=s,c=a;for(let e=0;e&lt;a.length;e++)l=a[e].removeFromSet(l);for(let e=0;e&lt;s.length;e++)c=s[e].removeFromSet(c);if(1==l.length&amp;&amp;0==c.length)r=l[0],n="add",i=e=&gt;e.mark(r.addToSet(e.marks));else{if(0!=l.length||1!=c.length)return null;r=c[0],n="remove",i=e=&gt;e.mark(r.removeFromSet(e.marks))}let u=[];for(let e=0;e&lt;t.childCount;e++)u.push(i(t.child(e)));if(o.FK.from(u).eq(e))return{mark:r,type:n}}(w.parent.content.cut(w.parentOffset,S.parentOffset),_.parent.content.cut(_.parentOffset,y.endA-_.start()))))E=e.state.tr,"add"==O.type?E.addMark(L,P,O.mark):E.removeMark(L,P,O.mark);else if(w.parent.child(w.index()).isText&amp;&amp;w.index()==S.index()-(S.textOffset?0:1)){let t=w.parent.textBetween(w.parentOffset,S.parentOffset);if(e.someProp("handleTextInput",(n=&gt;n(e,L,P,t))))return;E=e.state.tr.insertText(t,L,P)}if(E||(E=e.state.tr.replace(L,P,h.doc.slice(y.start-h.from,y.endB-h.from))),h.sel){let t=hn(e,E.doc,h.sel);t&amp;&amp;!(x&amp;&amp;N&amp;&amp;e.composing&amp;&amp;t.empty&amp;&amp;(y.start!=y.endB||e.input.lastAndroidDelete&lt;Date.now()-100)&amp;&amp;(t.head==L||t.head==E.mapping.map(P)-1)||k&amp;&amp;t.empty&amp;&amp;t.head==L)&amp;&amp;E.setSelection(t)}C&amp;&amp;E.ensureMarks(C),a&amp;&amp;E.setMeta("composition",a),e.dispatch(E.scrollIntoView())}function hn(e,t,n){return Math.max(n.anchor,n.head)&gt;t.content.size?null:Re(e,t.resolve(n.anchor),t.resolve(n.head))}function fn(e,t,n){let r=e.depth,o=t?e.end():e.pos;for(;r&gt;0&amp;&amp;(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&amp;&amp;!t.isLeaf;)t=t.firstChild,o++}return o}function mn(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t&gt;=56320&amp;&amp;t&lt;=57343&amp;&amp;n&gt;=55296&amp;&amp;n&lt;=56319}class gn{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new pt,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Sn),this.dispatch=this.dispatch.bind(this),this.dom=e&amp;&amp;e.mount||document.createElement("div"),e&amp;&amp;(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&amp;&amp;(this.mounted=!0)),this.editable=bn(this),yn(this),this.nodeViews=wn(this),this.docView=ue(this.state.doc,vn(this),en(this),this.dom,this),this.domObserver=new on(this,((e,t,n,r)=&gt;pn(this,e,t,n,r))),this.domObserver.start(),function(e){for(let t in ct){let n=ct[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=&gt;{!gt(e,t)||mt(e,t)||!e.editable&amp;&amp;t.type in ut||n(e,t)},dt[t]?{passive:!0}:void 0)}O&amp;&amp;e.dom.addEventListener("input",(()=&gt;null)),ft(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&amp;&amp;ft(this);let t=this._props;this._props=e,e.plugins&amp;&amp;(e.plugins.forEach(Sn),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,o=!1,i=!1;e.storedMarks&amp;&amp;this.composing&amp;&amp;(Ot(this),i=!0),this.state=e;let s=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(s||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=wn(this);(function(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r})(e,this.nodeViews)&amp;&amp;(this.nodeViews=e,o=!0)}(s||t.handleDOMEvents!=this._props.handleDOMEvents)&amp;&amp;ft(this),this.editable=bn(this),yn(this);let a=en(this),l=vn(this),c=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection&gt;r.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,l,a);!d&amp;&amp;e.selection.eq(r.selection)||(i=!0);let p="preserve"==c&amp;&amp;i&amp;&amp;null==this.dom.style.overflowAnchor&amp;&amp;function(e){let t,n,r=e.dom.getBoundingClientRect(),o=Math.max(0,r.top);for(let i=(r.left+r.right)/2,s=o+1;s&lt;Math.min(innerHeight,r.bottom);s+=5){let r=e.root.elementFromPoint(i,s);if(!r||r==e.dom||!e.dom.contains(r))continue;let a=r.getBoundingClientRect();if(a.top&gt;=o-20){t=r,n=a.top;break}}return{refDOM:t,refTop:n,stack:G(e.dom)}}(this);if(i){this.domObserver.stop();let t=d&amp;&amp;(k||x)&amp;&amp;!this.composing&amp;&amp;!r.selection.empty&amp;&amp;!e.selection.empty&amp;&amp;function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(d){let n=x?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&amp;&amp;(this.input.compositionNode=It(this)),!o&amp;&amp;this.docView.update(e.doc,l,a,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=ue(e.doc,l,a,this.dom,this)),n&amp;&amp;!this.trackWrites&amp;&amp;(t=!0)}t||!(this.input.mouseDown&amp;&amp;this.domObserver.currentSelection.eq(this.domSelectionRange())&amp;&amp;function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return u(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Ce(this,t):(Ne(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&amp;&amp;!r.doc.eq(e.doc)&amp;&amp;this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():p&amp;&amp;function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;B(n,0==r?0:r-t)}(p)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(e=&gt;e(this))));else if(this.state.selection instanceof r.nh){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&amp;&amp;j(this,t.getBoundingClientRect(),e)}else j(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&amp;&amp;e.destroy()}updatePluginViews(e){if(e&amp;&amp;e.plugins==this.state.plugins&amp;&amp;this.directPlugins==this.prevDirectPlugins)for(let t=0;t&lt;this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&amp;&amp;n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e&lt;this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&amp;&amp;this.pluginViews.push(t.spec.view(this))}for(let e=0;e&lt;this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&amp;&amp;this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,o=-1;if(this.state.doc.nodeAt(n.from)==n.node)o=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e&gt;0&amp;&amp;this.state.doc.nodeAt(e))==n.node&amp;&amp;(o=e)}this.dragging=new Rt(e.slice,e.move,o&lt;0?void 0:r.nh.create(this.state.doc,o))}someProp(e,t){let n,r=this._props&amp;&amp;this._props[e];if(null!=r&amp;&amp;(n=t?t(r):r))return n;for(let r=0;r&lt;this.directPlugins.length;r++){let o=this.directPlugins[r].props[e];if(null!=o&amp;&amp;(n=t?t(o):o))return n}let o=this.state.plugins;if(o)for(let r=0;r&lt;o.length;r++){let i=o[r].props[e];if(null!=i&amp;&amp;(n=t?t(i):i))return n}}hasFocus(){if(k){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&amp;&amp;this.dom!=e&amp;&amp;this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&amp;&amp;function(e){if(e.setActive)return e.setActive();if($)return e.focus($);let t=G(e);e.focus(null==$?{get preventScroll(){return $={preventScroll:!0},!0}}:void 0),$||($=!1,B(t,0))}(this.dom),Ce(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&amp;&amp;e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=&gt;e.ownerDocument.getSelection()),this._root=e;return e||document}updateRoot(){this._root=null}posAtCoords(e){return V(this,e)}coordsAtPos(e,t=1){return Y(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return oe(this,t||this.state,e)}pasteHTML(e,t){return Nt(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Nt(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&amp;&amp;(!function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],en(this),this),this.dom.textContent=""):this.dom.parentNode&amp;&amp;this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,l=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){mt(e,t)||!ct[t.type]||!e.editable&amp;&amp;t.type in ut||ct[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?O&amp;&amp;11===this.root.nodeType&amp;&amp;function(e){let t=e.activeElement;for(;t&amp;&amp;t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&amp;&amp;function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return ln(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?ln(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function vn(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=&gt;{if("function"==typeof n&amp;&amp;(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[Bt.node(0,e.state.doc.content.size,t)]}function yn(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Bt.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function bn(e){return!e.someProp("editable",(t=&gt;!1===t(e.state)))}function wn(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Sn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},596:(e,t,n)=&gt;{"use strict";n.d(t,{A:()=&gt;i});var r=n(20641);const o={};const i={name:"InlineSvg",inheritAttrs:!1,render(){return this.svgElSource?(0,r.h)("svg",Object.assign({},this.getSvgAttrs(this.svgElSource),(e=this.$attrs,Object.keys(e).reduce(((t,n)=&gt;(!1!==e[n]&amp;&amp;null!==e[n]&amp;&amp;void 0!==e[n]&amp;&amp;(t[n]=e[n]),t)),{})),{innerHTML:this.getSvgContent(this.svgElSource)})):null;var e},props:{src:{type:String,required:!0},title:{type:String},transformSource:{type:Function,default:e=&gt;e},keepDuringLoading:{type:Boolean,default:!0}},emits:["loaded","unloaded","error"],data:()=&gt;({svgElSource:null,request:void 0}),watch:{src(e){this.getSource(e)}},mounted(){this.getSource(this.src)},methods:{getSvgAttrs(e){let t={};const n=e.attributes;if(!n)return t;for(let e=n.length-1;e&gt;=0;e--)t[n[e].name]=n[e].value;return t},getSvgContent(e){return e=e.cloneNode(!0),e=this.transformSource(e),this.title&amp;&amp;function(e,t){const n=e.getElementsByTagName("title");if(n.length)n[0].textContent=t;else{const n=document.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=t,e.insertBefore(n,e.firstChild)}}(e,this.title),e.innerHTML},getSource(e){o[e]||(o[e]=this.download(e)),this.svgElSource&amp;&amp;o[e].getIsPending()&amp;&amp;!this.keepDuringLoading&amp;&amp;(this.svgElSource=null,this.$emit("unloaded")),o[e].then((e=&gt;{this.svgElSource=e,this.$nextTick((()=&gt;{this.$emit("loaded",this.$el)}))})).catch((t=&gt;{this.svgElSource&amp;&amp;(this.svgElSource=null,this.$emit("unloaded")),delete o[e],this.$emit("error",t)}))},download(e){return function(e){if(e.getIsPending)return e;let t=!0,n=e.then((e=&gt;(t=!1,e)),(e=&gt;{throw t=!1,e}));return n.getIsPending=function(){return t},n}(new Promise(((t,n)=&gt;{const r=new XMLHttpRequest;r.open("GET",e,!0),this.request=r,r.onload=()=&gt;{if(r.status&gt;=200&amp;&amp;r.status&lt;400)try{const e=new DOMParser;let o=e.parseFromString(r.responseText,"text/xml").getElementsByTagName("svg")[0];o?t(o):n(new Error('Loaded file is not valid SVG"'))}catch(e){n(e)}else n(new Error("Error loading SVG"))},r.onerror=n,r.send()})))}}}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.m=n,o.amdO={},o.n=e=&gt;{var t=e&amp;&amp;e.__esModule?()=&gt;e.default:()=&gt;e;return o.d(t,{a:t}),t},o.d=(e,t)=&gt;{for(var n in t)o.o(t,n)&amp;&amp;!o.o(e,n)&amp;&amp;Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=&gt;Promise.all(Object.keys(o.f).reduce(((t,n)=&gt;(o.f[n](e,t),t)),[])),o.u=e=&gt;(({1052:"domain-pages",1900:"design-panel",2789:"settings-panel",3132:"payment-pages",3681:"url-pages",3782:"template-selector-pages",4516:"account-settings-sub-pages",5991:"public-pages",6472:"settings",8239:"editor-pages",9884:"admin"}[e]||e)+"."+{283:"968176e070dea3342541",354:"46d83e641ea60e9bf806",432:"1a3b0103e0ed0ca108cd",961:"9675901369ce081fdb41",1052:"4f896b0c561e31e5047b",1305:"6b0b926ebc069c617738",1900:"2c60394deee2f18d9ae1",2021:"9025d830a1ba9825d69b",2789:"751227cb8150af96c323",3132:"412f679c88ff2d79d7a5",3354:"02511d8631cf992d6174",3387:"897ed8809a407d7dc32c",3681:"3dce26404136aefa705e",3782:"e681141f69c154c42cf8",3935:"466ace5de3e12e26243b",4020:"642a420829909fb2b30e",4181:"c9b650b762467bd11ed4",4239:"b06ba8a7c6281c095f8c",4516:"850ff8d5b55ef41e5637",5856:"4ad357aef66e5cd405f3",5991:"cdb48685ffd1edec83c4",6160:"1d6a068d6c93831a7106",6437:"77077697ef2de793d26a",6472:"b703ba1ba94c525e847e",6754:"2295e7d8691f4266d7db",7115:"a50301e3e219cc4158ac",7768:"0f95617e48b829ff60d9",7828:"3409d8b854e2c6ee73fb",7908:"313794368d2f72dcfc0d",7947:"5ce53e492093c84f7382",7953:"3c51c59f351e6e7b2bc1",8239:"90b4ff605597245be01e",8888:"862b9f0a168224ab6e5a",8959:"848a0b348fa0f4e17ffb",9036:"f0f8ad198e12c920a17c",9080:"2e5714072e90e7089496",9134:"c581a9ca7392c40ab143",9884:"cb13ee01a70fc54f6cb3"}[e]+".js"),o.miniCssF=e=&gt;e+"."+{283:"f7e08ee97bcf0d46630c",961:"230d63b77611965f18b3",1052:"a7fb3c2b40dbb27e8d71",1305:"07aa3fe969bb5682dfe1",1900:"6a8fb8f642a11656701d",2021:"fd7d62400b2384e9331a",2789:"b58569f76f5088c294be",3132:"9b005825f7ce046285a5",3354:"4d577fb13c45493e9d07",3681:"ab91b7f4eb2a6897b9e4",3782:"2ad781f76b30e206550a",3935:"22a3a1cbd1ae41ffbb17",4020:"723f490d53268896d49e",4239:"3654392330de7759fdf7",4516:"232dd849eac4c58a6967",5856:"2e34afd23b61ccea08b4",5991:"2c2f9024fc1cfe9790b3",6160:"87dd24d51299dfa98bc8",6472:"98b96d90509172690901",6754:"ac0fdb835f1235d911ed",7115:"9ed4d8fc6271a7844733",7768:"55121dd419fc874bf114",7828:"8eb2a5f03e789a5129b0",7947:"58eee0d107ae7bd5d72d",8239:"4121824f0f2c9c0fd7f0",8888:"7454266c530db85b0d97",8959:"a5205a0337653583cd9a",9080:"59a31c639bd289e0a4f3",9884:"d90ff72b9f3c07133231"}[e]+".css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=&gt;Object.prototype.hasOwnProperty.call(e,t),e={},t="folio:",o.l=(n,r,i,s)=&gt;{if(e[n])e[n].push(r);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u&lt;c.length;u++){var d=c[u];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+i){a=d;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&amp;&amp;a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+i),a.src=n),e[n]=[r];var p=(t,r)=&gt;{a.onerror=a.onload=null,clearTimeout(h);var o=e[n];if(delete e[n],a.parentNode&amp;&amp;a.parentNode.removeChild(a),o&amp;&amp;o.forEach((e=&gt;e(r))),t)return t(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),l&amp;&amp;document.head.appendChild(a)}},o.r=e=&gt;{"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/dist/",(()=&gt;{if("undefined"!=typeof document){var e=e=&gt;new Promise(((t,n)=&gt;{var r=o.miniCssF(e),i=o.p+r;if(((e,t)=&gt;{for(var n=document.getElementsByTagName("link"),r=0;r&lt;n.length;r++){var o=(s=n[r]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&amp;&amp;(o===e||o===t))return s}var i=document.getElementsByTagName("style");for(r=0;r&lt;i.length;r++){var s;if((o=(s=i[r]).getAttribute("data-href"))===e||o===t)return s}})(r,i))return t();((e,t,n,r,i)=&gt;{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",o.nc&amp;&amp;(s.nonce=o.nc),s.onerror=s.onload=n=&gt;{if(s.onerror=s.onload=null,"load"===n.type)r();else{var o=n&amp;&amp;n.type,a=n&amp;&amp;n.target&amp;&amp;n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=a,s.parentNode&amp;&amp;s.parentNode.removeChild(s),i(l)}},s.href=t,n?n.parentNode.insertBefore(s,n.nextSibling):document.head.appendChild(s)})(e,i,null,t,n)})),t={3023:0};o.f.miniCss=(n,r)=&gt;{t[n]?r.push(t[n]):0!==t[n]&amp;&amp;{283:1,961:1,1052:1,1305:1,1900:1,2021:1,2789:1,3132:1,3354:1,3681:1,3782:1,3935:1,4020:1,4239:1,4516:1,5856:1,5991:1,6160:1,6472:1,6754:1,7115:1,7768:1,7828:1,7947:1,8239:1,8888:1,8959:1,9080:1,9884:1}[n]&amp;&amp;r.push(t[n]=e(n).then((()=&gt;{t[n]=0}),(e=&gt;{throw delete t[n],e})))}}})(),(()=&gt;{var e={3023:0};o.f.j=(t,n)=&gt;{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,o)=&gt;r=e[t]=[n,o]));n.push(r[2]=i);var s=o.p+o.u(t),a=new Error;o.l(s,(n=&gt;{if(o.o(e,t)&amp;&amp;(0!==(r=e[t])&amp;&amp;(e[t]=void 0),r)){var i=n&amp;&amp;("load"===n.type?"missing":n.type),s=n&amp;&amp;n.target&amp;&amp;n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=&gt;{var r,i,[s,a,l]=n,c=0;if(s.some((t=&gt;0!==e[t]))){for(r in a)o.o(a,r)&amp;&amp;(o.m[r]=a[r]);if(l)l(o)}for(t&amp;&amp;t(n);c&lt;s.length;c++)i=s[c],o.o(e,i)&amp;&amp;e[i]&amp;&amp;e[i][0](),e[i]=0},n=self.webpackChunkfolio=self.webpackChunkfolio||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();o(19082)})();</pre></body></html>